Merge.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
acc825c5
SM
12011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4
1885e5b8
MR
52011-11-02 Martin Rudalics <rudalics@gmx.at>
6
7 * window.el (quit-window): Call unrecord-window-buffer after
8 showing another buffer in the window. (Bug#9937)
acc825c5 9 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10
ebe06da9
JB
112011-11-02 Juanma Barranquero <lekktu@gmail.com>
12
13 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14 Accept status with more than 9 shelves. (Bug#9935)
15 Reported by Colin D Bennett <colin@gibibit.com>.
16
4ee88440
MR
172011-11-01 Martin Rudalics <rudalics@gmx.at>
18
19 * help.el (with-help-window): Don't reference
20 temp-buffer-show-specifiers in doc-string.
21
08e1d82c
AS
222011-10-31 Andreas Schwab <schwab@linux-m68k.org>
23
24 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
25 menu-item.
26
84bd6e9e
VJL
272011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
28
29 * whitespace.el: New version 13.2.2.
30 (whitespace-newline-mode): Disable properly. Reported by Sarah
31 <EmacsWiki>.
32
dba0634a
UJ
332011-10-30 Ulf Jasper <ulf.jasper@web.de>
34
35 * net/newst-treeview.el: Remove "Time-stamp".
36 (newsticker--group-manage-orphan-feeds): Do not call
37 newsticker--treeview-tree-update.
db22a3c2
JB
38 (newsticker-treeview-update, newsticker-treeview):
39 Call newsticker--treeview-tree-update if necessary.
dba0634a 40
3d8daefe
MR
412011-10-30 Martin Rudalics <rudalics@gmx.at>
42
43 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
44 (window-iso-combinations): Remove "iso-" infix.
45 Suggested by Chong Yidong.
3d8daefe
MR
46 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
47 (window-max-delta-1, window-resize, window--resize-siblings)
48 (window--resize-this-window, adjust-window-trailing-edge)
49 (split-window, balance-windows-1)
50 (shrink-window-if-larger-than-buffer):
51 * calendar/calendar.el (calendar-generate-window):
db22a3c2 52 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 53
1bc4c3ae
SM
542011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
57 in place (bug#9907).
58 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
59 (eshell-rewrite-if-command, eshell-rewrite-for-command)
60 (eshell-structure-basic-command, eshell-rewrite-while-command)
61 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
62 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
63 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
64 (eshell-do-pipelines-synchronously, eshell-eval-command):
65 Use backquotes and prefer setq to set.
66 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
67 (eshell-macrop): Use functionp.
c1e2f5fa 68 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 69
30b65d9c
CY
702011-10-30 Chong Yidong <cyd@gnu.org>
71
72 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
73 instead of set-mark (Bug#9810).
74
2d197ffb
CY
752011-10-30 Chong Yidong <cyd@gnu.org>
76
77 * window.el (split-window-below, split-window-right): Rename from
78 split-window-above-each-other and split-window-side-by-side
79 respectively. All callers changed.
80 (split-window-sensibly, split-window-sensibly): Use them.
81 (split-window-keep-point): Doc fix.
82
83 * isearch.el: Add isearch-scroll property to split-window-below
84 and split-window-right.
85
86 * follow.el (follow-mode):
87 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
88 * progmodes/ada-xref.el (ada-gdb-application):
89 * emulation/vip.el (vip-buffer-in-two-windows):
90 * image-dired.el (image-dired-dired-with-window-configuration):
91 * dired-x.el (dired-do-find-marked-files):
92 * dired.el (dired-pop-to-buffer):
93 * bs.el (bs--show-with-configuration):
94 * vc/emerge.el (emerge-setup-windows):
95 * textmodes/two-column.el (2C-two-columns):
96 * textmodes/reftex-toc.el (reftex-toc):
97 * progmodes/gdb-mi.el (gdb-setup-windows):
98 * progmodes/fortran.el (fortran-window-create):
99 * net/newst-treeview.el (newsticker--treeview-window-init):
100 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
101 * emulation/tpu-edt.el (tpu-gold-map):
102 * emulation/crisp.el (crisp-mode-map):
103 * calendar/calendar.el (calendar-basic-setup): Callers changed.
104
38bb2ca8
CY
1052011-10-29 Chong Yidong <cyd@gnu.org>
106
aa4de341
CY
107 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
108
e1eb5385
CY
109 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
110
5d2ece3c
CY
111 * textmodes/flyspell.el (flyspell-word): Fix char offset for
112 forged Ispell output (Bug#7904).
113
38bb2ca8
CY
114 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
115
d0af9f77
SM
1162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * doc-view.el: Avoid ugly errors about not finding nil.
119 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
120 (doc-view-dvipdf-program, doc-view-unoconv-program)
121 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
122 Avoid nil or absolute file name as default value.
123 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
124
52bedd34
AM
1252011-10-28 Alan Mackenzie <acm@muc.de>
126
db22a3c2 127 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 128
7e43cfa5
AM
1292011-10-28 Alan Mackenzie <acm@muc.de>
130
131 Amend the handling of c-beginning/end-of-defun in nested declaration
132 scopes.
133
52bedd34
AM
134 * progmodes/cc-vars.el (c-defun-tactic): Move here from
135 cc-langs.el. Change it to a defcustom.
7e43cfa5 136
52bedd34
AM
137 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
138 cc-vars.el.
7e43cfa5
AM
139 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
140
d0af9f77
SM
141 * progmodes/cc-engine.el (c-beginning-of-statement-1):
142 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 143
52bedd34 144 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 145 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
146 (c-widen-to-enclosing-decl-scope): New function.
147 (c-while-widening-to-decl-block): New macro.
148 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
149 outward for defun boundaries, and correspondingly change symbol
150 `respect-enclosure' to `go-outward'.
151 (c-declaration-limits): Change algorithm to report only the "innermost"
152 defun's boundaries.
153
1a2ce9ee
DD
1542011-10-28 Deniz Dogan <deniz@dogan.se>
155
156 * net/rcirc.el (rcirc-mode): Use hard newlines.
157
bc97a826
AM
1582011-10-28 Alan Mackenzie <acm@muc.de>
159
160 Amend to indent and fontify macros "which include their own semicolon"
161 correctly, using the "virtual semicolon" mechanism.
162
52bedd34 163 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 164
d0af9f77 165 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
acc825c5 166 Recode to scan one line at at time rather than having \n and \r
52bedd34 167 explicitly in c-stmt-delim-chars
bc97a826
AM
168 (for some modes, e.g. AWK).
169 (c-forward-label): Amend for virtual semicolons.
170 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
171
52bedd34
AM
172 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
173 of the new C macros.
bc97a826 174
52bedd34 175 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
176 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
177 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
178 (c-opt-cpp-macro-define): Make into a full language variable.
179 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
180 AWK Mode (including \n, \r) removed, no longer needed.
181
d0af9f77
SM
182 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
183 Invoke c-make-macro-with-semi-re.
bc97a826 184
52bedd34
AM
185 * progmodes/cc-vars.el (c-macro-with-semi-re):
186 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
187 (c-make-macro-with-semi-re): New function
188
7a6c0941
SM
1892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * vc/log-edit.el: Fill empty field rather than adding new one.
192 (log-edit-add-field): New function.
193 (log-edit-insert-changelog): Use it.
194
b0c4cdcf
ML
1952011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
196
197 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
198
ee1f1da9
SM
1992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
202 (gdb--check-interpreter): New function.
203 (gdb): Use it.
204
51bc5f8b
GM
2052011-10-27 Glenn Morris <rgm@gnu.org>
206
416a2c45
GM
207 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
208 (least-positive-float, least-negative-float)
209 (least-positive-normalized-float, least-negative-normalized-float)
210 (float-epsilon, float-negative-epsilon):
211 Remove unnecessary declarations.
212
213 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
214 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
215 (least-positive-float, least-negative-float)
216 (least-positive-normalized-float, least-negative-normalized-float)
217 (float-epsilon, float-negative-epsilon): Add doc-strings,
218 based on those in cl.texi.
219
51bc5f8b
GM
220 * files.el (set-visited-file-name): If the major-mode changed,
221 reload the local variables. (Bug#9796)
222
15de15c6
CY
2232011-10-27 Chong Yidong <cyd@gnu.org>
224
225 * subr.el (change-major-mode-after-body-hook): New hook.
226 (run-mode-hooks): Run it.
227
ee1f1da9
SM
228 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
229 Use change-major-mode-before-body-hook.
15de15c6
CY
230
231 * simple.el (fundamental-mode):
232 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
233 change introducing fundamental-mode-hook.
234
5430d399
JB
2352011-10-26 Juanma Barranquero <lekktu@gmail.com>
236
acc825c5 237 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 238
ad74a69e
MA
2392011-10-26 Michael Albinus <michael.albinus@gmx.de>
240
241 * ido.el (ido-file-name-all-completions-1): Do not require
242 tramp.el explicitely. (Bug#7583)
243
71d4c2a5
SM
2442011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * progmodes/octave-mod.el:
247 * progmodes/octave-inf.el: Update maintainer.
248
b1f6fa26
CY
2492011-10-26 Chong Yidong <cyd@gnu.org>
250
251 * subr.el (with-wrapper-hook): Rewrite doc.
252
3f04efd6
MA
2532011-10-25 Michael Albinus <michael.albinus@gmx.de>
254
255 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 256 filenames "/method:foo:". (Bug#9793)
3f04efd6 257
410488d3
SM
2582011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
261 (bug#9865).
262
c1ebb47e
GM
2632011-10-24 Glenn Morris <rgm@gnu.org>
264
265 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
266
7f5c46c7
MA
2672011-10-24 Michael Albinus <michael.albinus@gmx.de>
268
269 * notifications.el: Add the requirement of a running D-Bus session
270 bus to the Commentary.
271
db2440b6
JL
2722011-10-24 Juri Linkov <juri@jurta.org>
273
274 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
275 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
276 (Bug#9364)
277
feecf435
JL
2782011-10-24 Juri Linkov <juri@jurta.org>
279
280 * info.el (Info-following-node-name-re): Add newline to the list
281 of allowed characters for leading space. (Bug#9824)
282
a3839de2
SM
2832011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
284
acc825c5
SM
285 * progmodes/octave-inf.el (inferior-octave-mode-map):
286 Fix C-c C-h binding.
a3839de2
SM
287 * progmodes/octave-mod.el (octave-help): Remove.
288
09388e76
MA
2892011-10-23 Michael Albinus <michael.albinus@gmx.de>
290
291 Sync with Tramp 2.2.3.
292
293 * net/tramp-cache.el (top): Pacify byte-compiler using
294 `init-file-user' and `site-run-file'.
295
296 * net/trampver.el: Update release number.
297
86c60681
CY
2982011-10-23 Chong Yidong <cyd@gnu.org>
299
300 * files.el (toggle-read-only): Remove obsolete comment about
301 version control.
302
303 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
304 for toggle-read-only. Note that this hasn't called vc-next-action
305 since 2008-05-02, though it wasn't documented at the time.
306
a3839de2
SM
307 * vc/ediff-init.el (ediff-toggle-read-only-function):
308 Use toggle-read-only.
86c60681 309
cd5495ff
AM
3102011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
311
312 Fix bug #9560, sporadic wrong indentation; improve instrumentation
313 of c-parse-state.
314
00b77525 315 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 316 correct faulty logical expression.
cd5495ff
AM
317 (c-parse-state-state, c-record-parse-state-state):
318 (c-replay-parse-state-state): New defvar/defuns.
319 (c-debug-parse-state): Use new functions.
320
42ee24ed
MR
3212011-10-22 Martin Rudalics <rudalics@gmx.at>
322
323 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 324 last fix. Use window-in-direction correctly.
42ee24ed 325
a7dee7e7
CY
3262011-10-21 Chong Yidong <cyd@gnu.org>
327
328 * progmodes/idlwave.el (idlwave-mode):
329 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
330 require-final-newline; that's done in prog-mode.
331 Suggested by Stefan Monnier.
a7dee7e7 332
e07b9a6d
MR
3332011-10-21 Martin Rudalics <rudalics@gmx.at>
334
335 * mouse.el (mouse-drag-window-above)
336 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
337 (mouse-drag-mode-line-1, mouse-drag-header-line)
338 (mouse-drag-vertical-line-rightward-window): Remove.
339 (mouse-drag-line): New function.
340 (mouse-drag-mode-line, mouse-drag-header-line)
341 (mouse-drag-vertical-line): Call mouse-drag-line.
342 * window.el (window-at-side-p, windows-at-side): New functions.
343
7e1361d9
UM
3442011-10-21 Ulrich Mueller <ulm@gentoo.org>
345
346 * tar-mode.el (tar-grind-file-mode):
347 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
348
30fcaf3a
CY
3492011-10-21 Chong Yidong <cyd@gnu.org>
350
351 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
352 * progmodes/vera-mode.el (vera-mode):
353 Use mode-require-final-newline.
30fcaf3a 354
516eddb0
GM
3552011-10-20 Glenn Morris <rgm@gnu.org>
356
db22a3c2 357 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 358
10d5f513
CS
3592011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
360
361 * emulation/cua-base.el (cua-set-mark): Fix case of string.
362
ac6c8639
CY
3632011-10-20 Chong Yidong <cyd@gnu.org>
364
365 * emulation/cua-base.el (cua-mode):
366 * mail/footnote.el (footnote-mode):
367 * mail/mailabbrev.el (mail-abbrevs-mode):
368 * net/xesam.el (xesam-minor-mode):
369 * progmodes/bug-reference.el (bug-reference-mode):
370 * progmodes/cap-words.el (capitalized-words-mode):
371 * progmodes/compile.el (compilation-minor-mode)
372 (compilation-shell-minor-mode):
373 * progmodes/gud.el (gud-tooltip-mode):
374 * progmodes/hideif.el (hide-ifdef-mode):
375 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
376 * progmodes/subword.el (subword-mode):
377 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
378 * progmodes/which-func.el (which-function-mode):
379 * term/tvi970.el (tvi970-set-keypad-mode):
380 * term/vt100.el (vt100-wide-mode):
381 * textmodes/flyspell.el (flyspell-mode):
382 * textmodes/ispell.el (ispell-minor-mode):
383 * textmodes/nroff-mode.el (nroff-electric-mode):
384 * textmodes/paragraphs.el (use-hard-newlines):
385 * textmodes/refill.el (refill-mode):
386 * textmodes/reftex.el (reftex-mode):
387 * textmodes/rst.el (rst-minor-mode):
388 * textmodes/sgml-mode.el (html-autoview-mode)
389 (sgml-electric-tag-pair-mode):
390 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
391 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
392 * emulation/crisp.el (crisp-mode):
393 * emacs-lisp/eldoc.el (eldoc-mode):
394 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
395 minor mode behavior.
396
aa42ab43
JL
3972011-10-19 Juri Linkov <juri@jurta.org>
398
399 * descr-text.el (describe-char): Add #x2010 and #x2011 to
400 the list of hard-coded chars with escape-glyph face.
401
89400f1d
SM
4022011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
405
305c07f6
MA
4062011-10-19 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
409 running process.
410
13754b54
GM
4112011-10-19 Glenn Morris <rgm@gnu.org>
412
413 * vc/vc-bzr.el (vc-bzr-after-dir-status):
414 Ignore ignored files. (Bug#9726)
415
06e21633
CY
4162011-10-19 Chong Yidong <cyd@gnu.org>
417
418 Doc fix for minor modes, stating that an omitted argument enables
419 the mode unconditionally when called from Lisp.
420
421 * abbrev.el (abbrev-mode):
422 * allout.el (allout-mode):
423 * autoinsert.el (auto-insert-mode):
424 * autoarg.el (autoarg-mode, autoarg-kp-mode):
425 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
426 (global-auto-revert-mode):
427 * battery.el (display-battery-mode):
428 * composite.el (global-auto-composition-mode)
429 (auto-composition-mode):
430 * delsel.el (delete-selection-mode):
431 * desktop.el (desktop-save-mode):
432 * dired-x.el (dired-omit-mode):
433 * dirtrack.el (dirtrack-mode):
434 * doc-view.el (doc-view-minor-mode):
435 * double.el (double-mode):
436 * electric.el (electric-indent-mode, electric-pair-mode):
437 * emacs-lock.el (emacs-lock-mode):
438 * epa-hook.el (auto-encryption-mode):
439 * follow.el (follow-mode):
440 * font-core.el (font-lock-mode):
441 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
442 * help.el (temp-buffer-resize-mode):
443 * hilit-chg.el (highlight-changes-mode)
444 (highlight-changes-visible-mode):
445 * hi-lock.el (hi-lock-mode):
446 * hl-line.el (hl-line-mode, global-hl-line-mode):
447 * icomplete.el (icomplete-mode):
448 * ido.el (ido-everywhere):
449 * image-file.el (auto-image-file-mode):
450 * image-mode.el (image-minor-mode):
451 * iswitchb.el (iswitchb-mode):
452 * jka-cmpr-hook.el (auto-compression-mode):
453 * linum.el (linum-mode):
454 * longlines.el (longlines-mode):
455 * master.el (master-mode):
456 * mb-depth.el (minibuffer-depth-indicate-mode):
457 * menu-bar.el (menu-bar-mode):
458 * minibuf-eldef.el (minibuffer-electric-default-mode):
459 * mouse-sel.el (mouse-sel-mode):
460 * msb.el (msb-mode):
461 * mwheel.el (mouse-wheel-mode):
462 * outline.el (outline-minor-mode):
463 * paren.el (show-paren-mode):
464 * recentf.el (recentf-mode):
465 * reveal.el (reveal-mode, global-reveal-mode):
466 * rfn-eshadow.el (file-name-shadow-mode):
467 * ruler-mode.el (ruler-mode):
468 * savehist.el (savehist-mode):
469 * scroll-all.el (scroll-all-mode):
470 * scroll-bar.el (scroll-bar-mode):
471 * server.el (server-mode):
472 * shell.el (shell-dirtrack-mode):
473 * simple.el (auto-fill-mode, transient-mark-mode)
474 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
475 (line-number-mode, column-number-mode, size-indication-mode)
476 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
477 * strokes.el (strokes-mode):
478 * time.el (display-time-mode):
479 * t-mouse.el (gpm-mouse-mode):
480 * tool-bar.el (tool-bar-mode):
481 * tooltip.el (tooltip-mode):
482 * type-break.el (type-break-mode-line-message-mode)
483 (type-break-query-mode):
484 * view.el (view-mode):
485 * whitespace.el (whitespace-mode, whitespace-newline-mode)
486 (global-whitespace-mode, global-whitespace-newline-mode):
487 * xt-mouse.el (xterm-mouse-mode): Doc fix.
488
a3839de2
SM
489 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
490 Fix autogenerated docstring.
06e21633 491
5214e501
JL
4922011-10-19 Juri Linkov <juri@jurta.org>
493
494 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
495 by checking environment variables "DESKTOP_SESSION" and
496 "XDG_CURRENT_DESKTOP". (Bug#9779)
497
195f8db9
JL
4982011-10-19 Juri Linkov <juri@jurta.org>
499
500 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
501 (browse-url-chromium-program, browse-url-chromium-arguments):
502 New defcustoms.
503 (browse-url-default-browser): Check for `browse-url-chromium' and
504 call `browse-url-chromium-program'.
505 (browse-url-chromium): New command. (Bug#9779)
506
343a34ff
JB
5072011-10-18 Juanma Barranquero <lekktu@gmail.com>
508
509 * facemenu.el (list-colors-duplicates): On Windows, detect more
510 duplicates by assuming that only colors matching "^System" are
511 special "system colors". (Bug#9722)
512
6978a151
SM
5132011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
516 to distinguish the author from the committer.
517
6a80b297
MA
5182011-10-18 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
521
b31a5677
JK
5222011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
523
524 * international/mule.el (sgml-html-meta-auto-coding-function):
525 Add support for detecting encoding in HTML5 specified only as
526 <meta charset="UTF-8">. Implementation just makes http-equiv and
527 content-type parts from HTML4 encoding string optional. (Bug#9716)
528
80c6d77f
GM
5292011-10-18 Glenn Morris <rgm@gnu.org>
530
531 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
532
08b0fee8
CY
5332011-10-18 Chong Yidong <cyd@gnu.org>
534
535 * faces.el (cursor): Doc fix.
536
67e729a5
CY
5372011-10-17 Chong Yidong <cyd@gnu.org>
538
539 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
540
343a34ff 5412011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
542
543 * dirtrack.el (dirtrack): Support shell buffers with path
544 prefixes, e.g. tramp-based remote shells. (Bug#9647)
545
0bc06380
TZ
5462011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
547
548 * json.el: Bump version to 1.3 and note change in History.
549 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
550
8b79f3e0
SM
5512011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
552
5a7c536b
SM
553 * comint.el (comint-insert-input, comint-send-input)
554 (comint-get-old-input-default, comint-backward-matching-input)
555 (comint-next-prompt): Use nil instead of `input' for field property of
556 past user input (bug#114).
557
96a8a0df
SM
558 * minibuffer.el (completion--replace): Inherit surrounding properties
559 (bug#114).
560 (minibuffer-complete-and-exit): Use it.
561
8b79f3e0
SM
562 * comint.el (comint--table-subvert): Quote the all-completions output
563 (bug#9160).
564
b8f7ff0d
MR
5652011-10-17 Martin Rudalics <rudalics@gmx.at>
566
8b79f3e0 567 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 568
b8f7ff0d 569 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 570 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
571 entries and separate them from frame entries.
572
c235b555
GM
5732011-10-15 Glenn Morris <rgm@gnu.org>
574
575 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
576 Doc fixes.
577
6bbfa6e1
CY
5782011-10-15 Chong Yidong <cyd@stupidchicken.com>
579
8b79f3e0
SM
580 * net/network-stream.el (network-stream-open-starttls):
581 Improve detection of failure due to lack of TLS support.
ec5c990d 582
6bbfa6e1
CY
583 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
584 putting the input text in front and in bold.
585
98488977
SM
5862011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
587
3d1337be
SM
588 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
589
ee0b45e4
SM
590 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
591 empty buffer.
592
98488977
SM
593 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
594 unread-command-events rather than pushing yet-another event.
595
186f4720
EZ
5962011-10-14 Eli Zaretskii <eliz@gnu.org>
597
598 * mail/sendmail.el (sendmail-query-once): Improve the wording of
599 the explanation of the possible choices. Make the options passed
600 to completing-read shorter.
601
8b7a997c
AM
6022011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
603
604 * textmodes/flyspell.el (flyspell-large-region): Make sure
605 extended character mode is used if defined (Bug#1339).
606
12587bbb
EZ
6072011-10-13 Eli Zaretskii <eliz@gnu.org>
608
609 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
610 character info for LRE, LRO, RLE, and RLO characters by appending
611 an invisible PDF.
12587bbb 612
bad41229
SM
6132011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
616 even in case of error; add debug spec; simplify data flow.
617 (with-timeout-handler): Remove.
618
28dbc92f
MA
6192011-10-12 Michael Albinus <michael.albinus@gmx.de>
620
621 Fix Bug#6019, Bug#9315.
622
623 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
624 complete `buffer-file-name', the local file name part could look
625 remotely (for example on VMS).
626
627 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
628 `tramp-run-real-handler'.
629 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
630 already quoted by '"'.
631
632 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
633 Let `file-name-handler-alist' be nil, the local file name part
634 could look remotely (for example on VMS).
635
e1b0b23a
SM
6362011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
639 from here...
640 (flyspell-post-command-hook): ...to here.
641
a120bde9
SM
6422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
645 if not needed.
646 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
647 using completion. Protect against "slow" callers.
648 Remove the "message hack".
649
7ce7717b
JL
6502011-10-11 Juri Linkov <juri@jurta.org>
651
652 * isearch.el (isearch-lazy-highlight-word): New variable.
653 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
654 Use it. (Bug#9727)
655
c02ee9d6
GM
6562011-10-11 Glenn Morris <rgm@gnu.org>
657
658 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
659 like f90-previous-statement does.
660
93e616fd 6612011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
662
1f190e73 663 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
664 only in interactive use, to avoid error.
665
af7b6078
SM
6662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * minibuffer.el (completion-file-name-table): Fix last change,
669 i.e. ignore normal errors but not the other ones.
670
0563dae9
MR
6712011-10-10 Martin Rudalics <rudalics@gmx.at>
672
673 * window.el (special-display-buffer-names)
674 (special-display-regexps): Remove some remnants of earlier
675 changes from doc-strings.
366ca7f3
MR
676 (quit-windows-on): New function.
677
678 * vc/vc.el (vc-revert, vc-rollback):
679 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
680 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 681 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 682
49677495
MR
6832011-10-09 Martin Rudalics <rudalics@gmx.at>
684
685 * window.el (frame-auto-hide-function): Add version tag.
686 (Bug#9699)
687
56f2d1e1
MA
6882011-10-09 Michael Albinus <michael.albinus@gmx.de>
689
690 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
691 condition.
692
112a6592
LL
6932011-10-09 Leo Liu <sdl.web@gmail.com>
694
695 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
696 (Bug#9701)
697
0812589b
GM
6982011-10-08 Glenn Morris <rgm@gnu.org>
699
700 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
701 before the first code statement zero indent. (Bug#9690)
702
b2b0776e
CY
7032011-10-08 Chong Yidong <cyd@stupidchicken.com>
704
705 * simple.el (count-words-region): Always count in the region.
706 Report the number of lines and characters too.
707 (count-words): New command, which counts in the buffer if the
708 region is inactive, as count-words-region used to.
709 (count-words--message): New function. Handle plurals.
710 (count-lines-region): Make it an alias for count-words-region.
711
712 * bindings.el (esc-map): Replace count-lines-region with
713 count-words-region.
714
c557cd6b
MR
7152011-10-08 Martin Rudalics <rudalics@gmx.at>
716
717 * window.el (window--delete): Delete dedicated frame
718 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 719 (switch-to-buffer): Fix doc-string typo.
c557cd6b 720
61a57ef4 7212011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
722
723 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
724
c3833279
CY
7252011-10-07 Chong Yidong <cyd@stupidchicken.com>
726
727 * bindings.el ([M-left],[M-right]): Bind to left-word and
728 right-word respectively.
729
21ce8245
GM
7302011-10-07 Glenn Morris <rgm@gnu.org>
731
732 * cus-start.el (debug-on-quit): Fix custom type.
733
6d823bb2
LMI
7342011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
735
0181e193
LMI
736 * subr.el (define-key-after): Clarify that the function is not
737 useful for non-menu keymaps.
738
6d823bb2
LMI
739 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
740
8e3459ce 7412011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
742
21ce8245 743 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 744 in current minibuffer (Fix bug with recursive minibuffers).
745
a1c2d21e
CY
7462011-10-06 Chong Yidong <cyd@stupidchicken.com>
747
748 * progmodes/gdb-mi.el (gdb): Doc fix.
749
5a4cf282
MR
7502011-10-05 Martin Rudalics <rudalics@gmx.at>
751
752 * window.el (frame-auto-hide-function): New option replacing
753 frame-auto-delete. Suggested by Stefan Monnier.
754 (window--delete): Call frame-auto-hide-function instead of
755 investigating frame-auto-delete.
c96111ea
MR
756 (window-point-1, set-window-point-1): New functions.
757 (window-in-direction, record-window-buffer, window-state-get-1)
758 (display-buffer-record-window): Use window-point-1 instead of
759 window-point.
760 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 761
9854542e
SM
7622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
765
8943cfb0
GM
7662011-10-05 Glenn Morris <rgm@gnu.org>
767
768 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
769 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
770
647ab967
LL
7712011-10-05 Leo Liu <sdl.web@gmail.com>
772
773 * subr.el (read-char-choice): Fix argument to buffer-live-p which
774 works with buffer object.
775
3ddfbced
SM
7762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * mpc.el (mpc-tool-bar-map): Add labels.
779
bdfa5dd2
GM
7802011-10-04 Glenn Morris <rgm@gnu.org>
781
782 * calendar/holidays.el (calendar-check-holidays): Doc fix.
783
0e2070b5
MR
7842011-10-04 Martin Rudalics <rudalics@gmx.at>
785
786 * window.el (window--delete): New function.
787 (frame-auto-delete): Resuscitate option.
788 (bury-buffer, replace-buffer-in-windows)
789 (quit-window): Rewrite using window--delete.
790 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
791 Pass display-buffer-mark-dedicated to window--display-buffer-2
792 (Bug#9639).
793
3dc61a09
SM
7942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
795
915a9b64
SM
796 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
797 returns a list (bug#9554). Add remote file name completion.
798 * comint.el (comint--table-subvert): Curry and get quote&unquote
799 functions as arguments.
800 (comint--complete-file-name-data): Adjust call accordingly.
801 * pcomplete.el (pcomplete--table-subvert): Remove.
802 (pcomplete-completions-at-point): Use comint--table-subvert instead.
803
3dc61a09
SM
804 * minibuffer.el (completion-table-case-fold): Use currying.
805 (completion--styles-type, completion--cycling-threshold-type):
806 New constants.
807 (completion-styles, completion-category-overrides)
808 (completion-cycle-threshold): Use them.
809 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
810 completion-table-case-fold.
811
8ea0a993
SB
8122011-10-03 Stephen Berman <stephen.berman@gmx.net>
813
814 * minibuffer.el (completion-category-overrides): Fix type of styles
815 and add more user friendly tags (bug#9660).
816
8c24b7f6
SM
8172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
820 (mule-input-method-string): New widget.
821 (default-input-method, language-info-custom-alist): Use it.
822
428fe61a
SM
8232011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
824
32c1fffd
SM
825 * pcomplete.el: Require comint.
826 (pcomplete--common-suffix): Remove.
827 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
828 (pcomplete--table-subvert): Sync with comint--table-subvert.
829 (pcomplete--entries): Use comint-completion-file-name-table.
830 * comint.el (comint-unquote-filename): Simplify.
831 (comint-completion-file-name-table): New function (bug#9616).
832 (comint--complete-file-name-data): Use it.
833
428fe61a
SM
834 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
835 (pcmpl-gnu-tar-buffer): Remove.
836 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
837 around. Make sure pcomplete-suffix-list is only changed temporarily.
838 Don't look inside the tar's file if it's too large.
428fe61a 839
04c52e2f
CY
8402011-10-01 Chong Yidong <cyd@stupidchicken.com>
841
ce3cefcc
CY
842 * cus-edit.el (custom-mode-map):
843 * epa.el (epa-key-list-mode-map):
844 * man.el (Man-mode-map):
845 * startup.el (splash-screen-keymap):
846 * simple.el (special-mode-map): Use scroll-up-command and
847 scroll-down-command.
848
849 * progmodes/idlw-help.el (idlwave-help-mode-map):
850 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
851 * net/newst-plainview.el (newsticker-mode-map):
852 * emulation/ws-mode.el (wordstar-mode-map):
853 * emulation/vi.el (vi-com-map):
854 * calc/calc-graph.el (calc-graph-show-dumb):
855 * term/sun.el (terminal-init-sun):
856 * term/ns-win.el (global-map):
857 * progmodes/grep.el (grep-mode-map):
858 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
859 * mail/rmail.el (rmail-mode-map):
860 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
861
04c52e2f
CY
862 * custom.el (custom-safe-themes, load-theme): Treat value of t for
863 custom-safe-themes as special.
864
79adf8c8
JD
8652011-10-01 Julien Danjou <julien@danjou.info>
866
867 * notifications.el (notifications-notify): Fix docstring.
868
63bd50d3
PS
8692011-10-01 Per Starbäck <per@starback.se>
870
871 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
872
199e4c7e
MR
8732011-09-30 Martin Rudalics <rudalics@gmx.at>
874
875 * startup.el (command-line-1): Fix last fix by inserting
876 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 877 (Bug#9605) and (Bug#9636)
199e4c7e 878
fe5f08dd
EZ
8792011-09-29 Eli Zaretskii <eliz@gnu.org>
880
881 * simple.el (line-move): If auto-hscroll-mode is disabled and the
882 window is hscrolled, move by logical lines. (Bug#9607)
883 (line-move-visual): Update the doc string to the above effect.
884
b5516bbd
MR
8852011-09-29 Martin Rudalics <rudalics@gmx.at>
886
ccee00c0
MR
887 * window.el (display-buffer-record-window): When WINDOW is the
888 selected window use `point' instead of `window-point'. (Bug#9626)
889
b5516bbd
MR
890 * startup.el (command-line-1): Use insert-before-markers when
891 inserting initial-scratch-message. (Bug#9605)
ccee00c0 892
b5516bbd
MR
893 * help.el (help-window): Remove variable.
894
52aa0014
GM
8952011-09-29 Glenn Morris <rgm@gnu.org>
896
897 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
898
df9a7357
JB
8992011-09-29 Juanma Barranquero <lekktu@gmail.com>
900
901 * descr-text.el (describe-char-categories): Accept category
902 descriptions more than one line long.
903
a8406c20
SM
9042011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
905
88d9610c
SM
906 * simple.el (delete-trailing-whitespace): Fix last change.
907
a5daf810
SM
908 * progmodes/perl-mode.el (perl-syntax-propertize-function):
909 Don't confuse "y => 3" as the beginning of a `y' operation.
910
a8406c20
SM
911 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
912 object has more than 4 slots (bug#9613).
913
a239d4e9
JB
9142011-09-28 Juanma Barranquero <lekktu@gmail.com>
915
916 * subr.el (with-output-to-temp-buffer):
917 * net/quickurl.el (quickurl, quickurl-browse-url):
918 Fix typos in docstrings.
919
693fbdb6
EZ
9202011-09-27 Eli Zaretskii <eliz@gnu.org>
921
922 * minibuffer.el (completion-styles)
923 (completion-category-overrides): Cross reference each other in doc
924 strings.
925
8b457e28
GM
9262011-09-27 Glenn Morris <rgm@gnu.org>
927
928 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
929 to split-string. (Bug#9606)
930
85a16208
LMI
9312011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
932
933 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
934 (bug#9615).
935
502f9ebd
CY
9362011-09-27 Chong Yidong <cyd@stupidchicken.com>
937
938 * emacs-lisp/package.el (list-packages): Fix echo area message.
939
7690bdea
LL
9402011-09-27 Leo Liu <sdl.web@gmail.com>
941
942 * ido.el (ido-read-internal): Accept cons cell HIST arg.
943
e2ee6f30
MA
9442011-09-25 Michael Albinus <michael.albinus@gmx.de>
945
946 * net/dbus.el (dbus-unregister-object): Don't release services for
947 registered signals. (Bug#9581)
948
f3f98342
TZ
9492011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
950
951 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
952 function that picks between cfengine 2 and 3 support
953 automatically. Update docs accordingly.
954
dd7aa8dd
KH
9552011-09-22 Kenichi Handa <handa@m17n.org>
956
957 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
958 ZERO.
959 (indian-itrans-v5-table-for-tamil): New variable.
960 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
961
3f2b07f8
KM
9622011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
963
964 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
965 that's true if the current command involved collapsing of text.
966 It's reset to false at the beginning of the next command.
967 (allout-post-command-business): Move the cursor to the beginning
968 of entry if the cursor is hidden and collapsing activity just
969 happened.
970
371d6a61
CY
9712011-09-24 Chong Yidong <cyd@stupidchicken.com>
972
973 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
974 tracking (Bug#9541).
975
2ac2721a
UJ
9762011-09-24 Ulf Jasper <ulf.jasper@web.de>
977
978 * net/newst-reader.el (newsticker-html-renderer)
979 (newsticker-show-news): Automatically
343a34ff
JB
980 load html rendering package if newsticker-html-renderer is set.
981 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
982 let-bound" and the error "Symbol's value as variable is void:
983 w3m-fill-column".
984
fac7ae53
MA
9852011-09-24 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
988 Release services only if they are defined. (Bug#9581)
989
e08b633b
RS
9902011-09-23 Richard Stallman <rms@gnu.org>
991
e488d29c
RS
992 * textmodes/paragraphs.el (forward-sentence): For backwards case,
993 distinguish start of paragraph from start of its text.
994
19c38752
RS
995 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
996
e08b633b
RS
997 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
998 (rmail-generate-viewer-buffer): Put that hook on view buffer.
999 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1000
0a39f27e
AS
10012011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1002
1003 * international/mule-diag.el (mule-diag): Insert a newline after
1004 each fontset description.
1005
db4e950d
SM
10062011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * simple.el (delete-trailing-whitespace):
1009 Document last change; simplify.
1010
eca3f3ea
PW
10112011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1012
d68e189a
PW
1013 * simple.el (delete-trailing-whitespace): Also delete
1014 extra newlines at the end of the buffer.
1015
eca3f3ea
PW
1016 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1017 (picture-newline): Use forward-line so as to ignore fields.
1018
01c157cc
SM
10192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * subr.el (with-wrapper-hook): Fix edebug spec.
1022
022de23e
LMI
10232011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1024
1025 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1026 (bug#4538).
1027
91683089
MA
10282011-09-23 Michael Albinus <michael.albinus@gmx.de>
1029
eca3f3ea
PW
1030 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1031 Fix nasty bug using wrong cached values.
91683089 1032
5bdd6fa4
AM
10332011-09-23 Alan Mackenzie <acm@muc.de>
1034
1035 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1036
97adfb97
CY
10372011-09-23 Chong Yidong <cyd@stupidchicken.com>
1038
1039 * window.el (pop-to-buffer): Ensure right window is selected if we
1040 chose another frame.
1041
d4ef2b50
EZ
10422011-09-22 Eli Zaretskii <eliz@gnu.org>
1043
1044 * simple.el (what-cursor-position): Use get-char-property-change
1045 and next-single-char-property-change, to be able to show display
1046 properties that come from overlays as well as text properties.
1047
72258fe5
CY
10482011-09-22 Chong Yidong <cyd@stupidchicken.com>
1049
1050 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1051
1052 * cmuscheme.el (run-scheme, switch-to-scheme):
1053 * cus-edit.el (customize-group, custom-buffer-create)
1054 (customize-browse):
1055 * info.el (info):
1056 * shell.el (shell):
1057 * mail/sendmail.el (mail):
1058 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1059
8f098516
RS
10602011-09-22 Richard Stallman <rms@gnu.org>
1061
1062 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1063 move back only to line beg, don't move back over blank lines.
1064
e74f1bb6
MA
10652011-09-22 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * files.el (copy-directory): Set directory attributes only in case
1068 they could be retrieved from the source directory. (Bug#9565)
1069
bfeef8b6
DK
10702011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1071
1072 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1073 (hs-find-block-beginning, hs-hide-level-recursive):
1074 Ignore strings as well as comments. (Bug#9502)
1075
7e423bb8
AS
10762011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1077
1078 * progmodes/sql.el (sql-comint-postgres):
1079 Convert port number to a string. (Bug#9566)
1080
b4d72fcf
MR
10812011-09-22 Martin Rudalics <rudalics@gmx.at>
1082
1083 * window.el (quit-window): Undedicate window when switching to
1084 previous buffer. Reported by Thierry Volpiatto
1085 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1086 (special-display-popup-frame): When popping up a new frame reset
1087 its previous buffers to nil. Simplify code.
b4d72fcf 1088
a7b88dc6
MA
10892011-09-21 Michael Albinus <michael.albinus@gmx.de>
1090
1091 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1092 and process filter, as done also in `shell-command'.
1093
cf4eacfd
MR
10942011-09-21 Martin Rudalics <rudalics@gmx.at>
1095
eca3f3ea
PW
1096 * window.el (set-window-buffer-start-and-point):
1097 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1098 Volpiatto <thierry.volpiatto@gmail.com>.
1099 (quit-window): Reword doc-string. Handle new format of
1100 quit-restore parameter. Don't delete window if it has a
1101 previous buffer we can show instead of the present one.
1102 (display-buffer-record-window): Rewrite using a new format for
1103 the quit-restore window parameter
1104 (special-display-popup-frame, display-buffer-same-window)
1105 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1106 (display-buffer-pop-up-window, display-buffer-use-some-window):
1107 Adapt symbol passed to display-buffer-record-window.
1108 * help.el (help-window-setup): Handle new format of quit-restore
1109 parameter.
1110
8d28cb95
SM
11112011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1112
94ab793f
SM
1113 * faces.el (face-list): Fix docstring (bug#9564).
1114
8d28cb95
SM
1115 * window.el (display-buffer--action-function-custom-type):
1116 Don't include internal functions in the Custom interface.
1117
3820edeb
JL
11182011-09-20 Juri Linkov <juri@jurta.org>
1119
1120 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1121 (Info-forward-node, Info-backward-node, Info-next-preorder)
1122 (Info-last-preorder): Use it. (Bug#9528)
1123
5147931d
JL
11242011-09-20 Juri Linkov <juri@jurta.org>
1125
1126 * info.el (Info-last-preorder): Visit last menu item only when
1127 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1128
cf499a1a
JD
11292011-09-20 Julien Danjou <julien@danjou.info>
1130
1131 * password-cache.el (password-cache-remove): Remove entries even if the
1132 value is nil, so that password with a nil value (negative caching) is
1133 possible to invalidate.
1134
f84e2fe2
LM
11352011-09-20 Lawrence Mitchell <wence@gmx.li>
1136
1137 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1138 all whitespace around breakpoint. (Bug#9553)
1139 (f90-find-breakpoint): Only break at whitespace inside a comment.
1140
78054a46
SM
11412011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * minibuffer.el (completion-file-name-table): Keep track of errors.
1144 (completion-table-with-predicate): Handle the case where pred1 is nil.
1145 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1146
345083b2
SM
11472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1148
e24e27be
SM
1149 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1150 (debugger-return-value): Signal an error if the debugging context does
1151 not await any return value.
1152
345083b2
SM
1153 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1154 * image-mode.el (image-toggle-display-text)
1155 (image-toggle-display-image): Stay away from evil `intangible'.
1156
08d355e3
LL
11572011-09-19 Leo Liu <sdl.web@gmail.com>
1158
1159 * replace.el (occur-revert-arguments): Make it permanent-local.
1160 (occur-mode): Don't call font-lock-defontify.
1161
f01da43f
CY
11622011-09-19 Chong Yidong <cyd@stupidchicken.com>
1163
1164 * net/ldap.el (ldap-search-internal): Don't push empty search
1165 result (Bug#9508).
1166
b6072fa6
SM
11672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1170
443d6696
MA
11712011-09-19 Michael Albinus <michael.albinus@gmx.de>
1172
1173 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1174 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1175
7cc6e154
JL
11762011-09-18 Juri Linkov <juri@jurta.org>
1177
1178 * buff-menu.el (Buffer-menu-mode-map):
1179 * dired.el (dired-mode-map):
1180 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1181 (lisp-interaction-mode-map):
1182 * emacs-lisp/package.el (package-menu-mode-map):
1183 * epa.el (epa-key-list-mode-map):
1184 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1185 (menu-bar-options-menu):
1186 * outline.el (outline-mode-menu-bar-map):
1187 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1188 * vc/vc-dir.el (vc-dir-menu-map):
1189 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1190 Capitalize non-function content words in menu item strings.
1191
1192 * dired.el (dired-mode-map): Add menu item for
1193 `image-dired-dired-toggle-marked-thumbs'.
1194
80302a81
JL
11952011-09-18 Juri Linkov <juri@jurta.org>
1196
1197 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1198 to `isearch-case-fold-search' and restore its original value
1199 after the `isearch-mode' call.
1200
46c5cf66
JL
12012011-09-18 Juri Linkov <juri@jurta.org>
1202
1203 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1204 because `zgrep' returns 1 for successful matches (bug#9226).
1205
d18b513b
JL
12062011-09-18 Juri Linkov <juri@jurta.org>
1207
1208 * info.el (Info-extract-menu-node-name): Check the second match
1209 for empty string (second test-case of bug#9528).
1210 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1211 intermediate nodes to the history (first test-case of bug#9528).
1212
72753f87
JL
12132011-09-18 Juri Linkov <juri@jurta.org>
1214
1215 * info.el (Info-mode-syntax-table): New variable.
1216 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1217
c9384295
JL
12182011-09-18 Juri Linkov <juri@jurta.org>
1219
1220 * info.el (Info-file-supports-index-cookies): Increment
1221 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1222 one more line for long file names (bug#4142).
1223
d473dce8
CY
12242011-09-18 Chong Yidong <cyd@stupidchicken.com>
1225
1226 * newcomment.el (comment-normalize-vars): If prompting for
1227 comment-start, set comment-start-skip too (Bug#8424).
1228
2176854d
JB
12292011-09-18 Johan Bockgård <bojohan@gnu.org>
1230
1231 * icomplete.el: Fix previous fix of Bug#5849.
1232 (icomplete-mode): Don't set completion-show-inline-help.
1233 (icomplete-minibuffer-setup): Set completion-show-inline-help
1234 locally during icompletion.
1235
3aace4e4
CY
12362011-09-18 Chong Yidong <cyd@stupidchicken.com>
1237
c940224f
CY
1238 * woman.el (woman2-process-escapes): Don't delete unrecognized
1239 escapes (Bug#7843).
1240
3aace4e4
CY
1241 * files.el (inhibit-first-line-modes-regexps): Add image files.
1242 (hack-local-variables-prop-line): Return nil for malformed
1243 prop-lines (Bug#9044).
1244
710dec63
MA
12452011-09-18 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * net/tramp.el (top): Don't require 'shell.
1248 (tramp-methods): Fix docstring.
1249 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1250 Return complete remote file name. Handle "smb" case.
1251 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1252 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1253
1254 * net/tramp-compat.el (top): Require 'shell.
1255
1256 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1257 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1258 `tramp-current-host'.
1259 (tramp-get-remote-tmpdir): Remove.
1260
1261 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1262 `tramp-tmpdir' entries.
1263 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1264 (tramp-smb-handle-file-attributes): Ignore errors.
1265 (tramp-smb-wait-for-output): Check also for process end.
1266
5d5ac8ec
LMI
12672011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1268
1269 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1270 when sending QUIT (bug#9312).
1271
8c0f49f0
CY
12722011-09-17 Chong Yidong <cyd@stupidchicken.com>
1273
1274 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1275 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1276 occur-mode-display-occurrence.
1277 (occur-edit-mode): Add usage message.
1278 (occur-cease-edit): New command.
1279 (occur-after-change-function): Use text properties to find the
1280 position of the prefix text.
1281 (occur-engine): Set stickiness of prefix text properties.
1282
8f1383f7
GM
12832011-09-17 Glenn Morris <rgm@gnu.org>
1284
1285 * progmodes/etags.el (complete-tag):
1286 Fix call to completion-in-region. (Bug#9526)
1287
744ba0e3
JL
12882011-09-17 Juri Linkov <juri@jurta.org>
1289
1290 * textmodes/ispell.el (ispell-word): Add to the error message
1291 the word, ispell program name and current dictionary (bug#9121).
1292 (ispell-tex-arg-end): Capitalize "error" in the error message.
1293
d9bbf400
AS
12942011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1297 check. (Bug#4251)
1298
8da11505
JL
12992011-09-17 Juri Linkov <juri@jurta.org>
1300
1301 * window.el (window-safe-min-height, window-safe-min-width):
1302 Fix typos (followup to bug#9522).
1303
a91adc7e
SJ
13042011-09-17 Sven Joachim <svenjoac@gmx.de>
1305
1306 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1307
064f328a
EZ
13082011-09-16 Eli Zaretskii <eliz@gnu.org>
1309
1310 * simple.el (line-move): If goal-column is set, move by logical
1311 lines, not by display lines. (Bug#971)
1312 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1313 to reflect the above change.
1314
e69df516
SM
13152011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * image.el (imagemagick-register-types): Use regexp-opt.
1318
cbb0f9ab
CY
13192011-09-15 Chong Yidong <cyd@stupidchicken.com>
1320
1321 * window.el (display-buffer-base-action): Rename from
1322 display-buffer-default-action. Make default value empty.
1323 (display-buffer-overriding-action): Convert to defvar.
1324 (display-buffer-fallback-action): New var.
1325
25322144
CY
13262011-09-15 Chong Yidong <cyd@stupidchicken.com>
1327
1328 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1329 declaration.
1330 (package--add-to-archive-contents): If there is a duplicate entry
1331 with an older version, remove it.
1332 (package-menu-mark-delete, package-menu-mark-install)
1333 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1334 (package-menu-mark-obsolete-for-deletion):
1335 Use package-menu-get-status instead of a regexp search.
25322144
CY
1336 (package-menu-get-status): Use tabulated-list-entry.
1337 (package-menu-mark-upgrades): New command.
d770725a 1338 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1339 (package-menu-execute): Do installation before deletion.
1340 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1341 instead of checking major-mode.
1342 (package-menu--find-upgrades): New function.
1343
7520339c
LMI
13442011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1345
1346 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1347 passwords in the log buffer.
65a046c4
LMI
1348 (smtpmail-process-filter): Update the process marker so that the
1349 "broken by peer" status message is inserted in the right place.
7520339c 1350
d3c30954
SM
13512011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1352
3fe48822
SM
1353 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1354 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1355 bibtex-completion-at-point-function.
1356 (bibtex-completion-at-point-function): Use them.
1357
1b8b3954
SM
1358 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1359
d3c30954
SM
1360 * mpc.el (mpc-constraints-tag-lookup): New function.
1361 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1362 also to browser "album|playlist".
1363
72779976
JL
13642011-09-14 Juri Linkov <juri@jurta.org>
1365
1366 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1367 (isearch-edit-string): Use length of `isearch-string' when
1368 `isearch-fail-pos' returns nil.
1369 (isearch-message): Remove duplicate code and call
1370 `isearch-fail-pos' with arg `t'.
1371
a0bf2bcd
CY
13722011-09-14 Chong Yidong <cyd@stupidchicken.com>
1373
17bb0a2d
CY
1374 * replace.el (occur-mode-goto-occurrence): Don't force using other
1375 window (Bug#9499).
1376
a0bf2bcd
CY
1377 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1378
f678e0b6
MR
13792011-09-14 Martin Rudalics <rudalics@gmx.at>
1380
1381 * window.el (display-buffer-window): Remove.
1382 (display-buffer-record-window): Use help-setup window parameter
1383 instead of variable display-buffer-window.
1384 (display-buffer-function, special-display-buffer-names)
1385 (special-display-function): Mention help-setup parameter instead
1386 of display-buffer-window in doc-string.
d3c30954
SM
1387 * help.el (help-window-setup): New argument help-window.
1388 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1389 Reword some messages.
1390 (with-help-window): Pass window used for displaying the buffer
1391 to help-window-setup. Don't set display-buffer-window.
1392
8e39b2e8
GM
13932011-09-13 Glenn Morris <rgm@gnu.org>
1394
1395 * emacs-lisp/debug.el (debugger-make-xrefs):
1396 Preserve point. (Bug#9462)
1397
85e9c04b
CY
13982011-09-13 Chong Yidong <cyd@stupidchicken.com>
1399
1400 * window.el (window-deletable-p): Use next-frame.
1401
1b36ed6a
MR
14022011-09-13 Martin Rudalics <rudalics@gmx.at>
1403
1404 * window.el (window-auto-delete): Remove.
1405 (window-deletable-p): Remove argument FORCE. Don't deal with
1406 dedicatedness and previous buffers.
1407 (switch-to-prev-buffer): Don't delete window.
1408 (delete-windows-on): Delete a window's frame if and only if the
1409 window is dedicated.
1410 (replace-buffer-in-windows): Delete buffer's window or frame if
1411 and only if window is dedicated.
1412 (quit-window): Handle quit-restore as before last change.
4d61f28d 1413 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1414
ef8ef9fb
CY
14152011-09-13 Chong Yidong <cyd@stupidchicken.com>
1416
1417 * window.el (window-deletable-p): Never delete the last frame on a
1418 given terminal.
1419
b2cba41e
GM
14202011-09-13 Glenn Morris <rgm@gnu.org>
1421
1422 * help.el (describe-key-briefly): Copy previous standard-output change.
1423
51553db6 14242011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1425
1426 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1427
b7556719
GM
14282011-09-13 Glenn Morris <rgm@gnu.org>
1429
1430 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1431 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1432
64b51947
CY
14332011-09-12 Chong Yidong <cyd@stupidchicken.com>
1434
1435 * dired-aux.el (dired-mark-read-string): Don't return default
1436 value on empty input (Bug#9361).
1437 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1438 Omit initial minibuffer contents.
1439 (dired-do-chmod): Signal an error on empty input.
1440 (dired-mark-read-string): Don't return default on empty input.
1441
1442 * files.el (file-modes-symbolic-to-number): Doc fix.
1443
393a301e
SM
14442011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * international/mule-cmds.el (ucs-completions): Remove.
1447 (read-char-by-name): Use complete-with-action instead; add metadata.
1448
fa5660f9
CY
14492011-09-11 Chong Yidong <cyd@stupidchicken.com>
1450
1451 * window.el (display-buffer--action-function-custom-type)
1452 (display-buffer--action-custom-type): New vars.
1453 (display-buffer-alist, display-buffer-default-action)
1454 (display-buffer-overriding-action): Add defcustom types.
1455
4a592f66
CY
1456 * frame.el (delete-other-frames): Doc fix (Bug#276).
1457
73d56dbd
LMI
14582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1459
1460 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1461
37ac18a3
CY
14622011-09-11 Chong Yidong <cyd@stupidchicken.com>
1463
1464 Change modes that used same-window-* vars to use switch-to-buffer.
1465
1466 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1467 Use switch-to-buffer.
1468
1469 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1470 (customize-browse, custom-buffer-create-other-window):
1471 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1472
1473 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1474 (Info-prev, Info-up, Info-speedbar-goto-node)
1475 (info-display-manual): Use switch-to-buffer.
1476 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1477
1478 * mail/sendmail.el (mail): Use switch-to-buffer.
1479 (mail-recover): Use switch-to-buffer-other-window.
1480
1481 * cmuscheme.el (run-scheme, switch-to-scheme):
1482 * ielm.el (ielm):
1483 * shell.el (shell):
1484 * net/rlogin.el (rlogin):
1485 * net/telnet.el (telnet, rsh):
1486 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1487
10195bd6
AS
14882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1489
1490 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1491
b322f63a
LMI
14922011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1493
39d7fed6
LMI
1494 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1495 so don't mention it (bug#9301).
ba5a81f1 1496 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1497
ee0e9f11
LMI
1498 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1499 match `x', `w32' and `ns', like the manual says (bug#9029).
1500
0b1c89c1 1501 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1502 (process-kill-buffer-query-function): Mention the buffer name in
1503 the query.
0b1c89c1 1504
77549ea8
LMI
1505 * image-mode.el (image-next-line): The line parameter is mandatory
1506 (bug#9258).
1507
803ef892
LMI
1508 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1509 which can be useful (bug#9301).
1510
12980837
LMI
1511 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1512
91054f8f
LMI
1513 * subr.el (match-string): Mention that the current buffer should
1514 be the same as the search was done in (bug#9282).
1515
b322f63a
LMI
1516 * facemenu.el: Disable the remove-* commands if the mark isn't
1517 active (bug#9162).
1518
3199b96f
CY
15192011-09-10 Chong Yidong <cyd@stupidchicken.com>
1520
1521 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1522 of display-buffer.
1523 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1524
1525 * replace.el (occur-mode-goto-occurrence)
1526 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1527 and display-buffer.
1528
1529 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1530 display-buffer.
1531
1532 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1533 special-display and same-window variables.
1534 (mail-other-window): Use switch-to-buffer-other-window.
1535 (mail-other-frame): USe switch-to-buffer-other-frame.
1536
393a301e
SM
1537 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1538 Use display-buffer-other-frame.
3199b96f
CY
1539 (gdb-display-gdb-buffer): Use pop-to-buffer.
1540
1541 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1542
1543 * progmodes/python.el: Don't set same-window-buffer-names.
1544
1545 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1546
1547 * window.el (display-buffer-alist): Add *Python*.
1548
8319e0bf
CY
15492011-09-10 Chong Yidong <cyd@stupidchicken.com>
1550
1551 * window.el (display-buffer-alist): Add entry for buffers
1552 previously handled same-window-*.
1553 (display-buffer-alist, display-buffer-default-action)
1554 (display-buffer-overriding-action): Mark as risky.
1555 (display-buffer-alist): Document action function changes.
1556 (display-buffer--same-window-action)
1557 (display-buffer--other-frame-action): New variables.
1558 (switch-to-buffer, display-buffer-other-frame): Use them.
1559 (display-buffer): Rename reuse-frame entry to reusable-frames.
1560 (display-buffer-reuse-selected-window): Function deleted.
1561 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1562 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1563 (display-buffer-special): New function.
1564 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1565 display-buffer-reuse-or-pop-window. Split off special-display
1566 part into display-buffer-special.
1567 (display-buffer-use-some-window): Don't perform any special
1568 pop-up-frames handling.
1569 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1570 (display-buffer--maybe-same-window): Rename from
0d3ff375 1571 display-buffer-maybe-same-window.
8319e0bf 1572
919a69aa
CY
1573 * info.el: Don't set same-window-regexps.
1574 (info-setup): New function.
1575 (info-other-window, info): Call it.
1576
1577 * cus-edit.el: Don't set same-window-regexps.
1578 (customize-group): New argument.
1579 (customize-group-other-window): Use it.
1580 (customize-face, customize-face-other-window): Likewise.
1581 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1582
8319e0bf
CY
1583 * net/rlogin.el:
1584 * net/telnet.el:
1585 * progmodes/gud.el: Don't set same-window-regexps.
1586
1587 * cmuscheme.el:
1588 * ielm.el:
1589 * shell.el:
1590 * mail/sendmail.el:
1591 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1592
25173000
JL
15932011-09-10 Juri Linkov <juri@jurta.org>
1594
1595 * isearch.el (isearch-edit-string): Remove obsolete mention of
1596 `C-w' (`isearch-yank-word-or-char') from docstring.
1597 (isearch-query-replace): Fix typo in docstring (bug#9466).
1598
056e44ef
JL
15992011-09-10 Juri Linkov <juri@jurta.org>
1600
1601 * paren.el (show-paren-function): Don't show escaped parens.
1602 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1603
c3760c17
EZ
16042011-09-10 Eli Zaretskii <eliz@gnu.org>
1605
1606 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1607 (mm-default-file-encoding): Remove autoload forms, they are
1608 replaced with autoload cookies in mml.el and mm-encode.el.
1609 (mail-add-attachment): New command.
1610 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1611 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1612 the doc string.
1613 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1614
fece895e
RT
16152011-09-10 Reuben Thomas <rrt@sc3d.org>
1616
e69df516
SM
1617 * simple.el (count-words-region): Use buffer if there's no region
1618 (bug#9429).
fece895e 1619
5e68ce4a
JL
16202011-09-09 Juri Linkov <juri@jurta.org>
1621
1622 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1623 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1624 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1625
0a6b9622
AM
16262011-09-09 Alan Mackenzie <acm@muc.de>
1627
1628 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1629 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1630
14a29deb
EZ
16312011-09-09 Eli Zaretskii <eliz@gnu.org>
1632
1633 Fix for Savannah bug#9392.
1634 * simple.el (mail-encode-mml): New defvar.
1635
1636 * mail/rmail.el (mail-encode-mml): Add a defvar.
1637 (rmail-enable-mime-composing): Default to t.
1638 (rmail-forward): Use MIME method of forwarding only if both
1639 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1640 Set mail-encode-mml non-nil if the MIME method was used.
1641
1642 * mail/sendmail.el (mml-to-mime): Add autoload form.
1643 (mail-encode-mml): Add a defvar.
1644 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1645 to nil.
1646 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1647 message through mml-to-mime, and reset mail-encode-mml to nil.
1648
28c45130
GM
16492011-09-09 Glenn Morris <rgm@gnu.org>
1650
1651 * woman.el (woman-if-body): When processing an .el block,
1652 do not delete the next .el block as well. (Bug#9447)
69f4b618 1653 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1654
9b1c252e
MR
16552011-09-08 Martin Rudalics <rudalics@gmx.at>
1656
1657 * window.el (window-deletable-p): Make sure window is live before
1658 invoking window-prev-buffers.
1659
567457e3
LL
16602011-09-08 Leo Liu <sdl.web@gmail.com>
1661
1662 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1663
97f05794
JL
16642011-09-08 Juri Linkov <juri@jurta.org>
1665
1666 * progmodes/compile.el (compilation-environment): Make it
1667 a defcustom (bug#8340).
1668
8b0874b5
MR
16692011-09-08 Martin Rudalics <rudalics@gmx.at>
1670
1671 * window.el (frame-auto-delete): Rename to window-auto-delete.
1672 Make it control auto-deletion of windows and/or frames.
1673 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1674 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1675 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1676 Rewrite handling of case when window/frame can be deleted.
1677 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1678 argument t. (Bug#9456)
8b0874b5 1679
4feb6e73
CY
16802011-09-07 Chong Yidong <cyd@stupidchicken.com>
1681
1682 * help-mode.el (help-mode): Restore autoload.
1683
91ab9c13
JL
16842011-09-07 Juri Linkov <juri@jurta.org>
1685
1686 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1687 `compilation-environment'. Set buffer-local
1688 `compilation-environment' to `thisenv' later after (funcall mode).
1689 (Bug#8340)
1690
1691 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1692 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1693 instead of replacing its value. (Bug#8340)
1694
0527e251
JL
16952011-09-07 Juri Linkov <juri@jurta.org>
1696
1697 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1698 based on text properties put by `grep-filter' instead of matching
1699 escape sequences.
1700 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1701 to the value of `grep-error-screen-columns' (bug#9438).
1702
249f792c
JL
17032011-09-07 Juri Linkov <juri@jurta.org>
1704
1705 * simple.el (next-error-highlight, next-error-highlight-no-select):
1706 Doc fix (bug#9432).
1707
ff7271b9
OT
17082011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1709
1710 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1711 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1712
183fc730
LL
17132011-09-07 Leo Liu <sdl.web@gmail.com>
1714
1715 * net/rcirc.el (rcirc-mode): Conditionally initialize
1716 rcirc-input-ring.
1717
77694924
SM
17182011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emacs-lisp/find-func.el (find-function-C-source): Only set
1721 find-function-C-source-directory after checking that we found a source
1722 file there (bug#9440).
1723
d809b8eb
AM
17242011-09-06 Alan Mackenzie <acm@muc.de>
1725
1726 * isearch.el (isearch-other-meta-char): Wherever a key list is
1727 unread, "unread" the prefix arg, too. This fixes bug #8901.
1728
453de99f
OG
17292011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1730
1731 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1732
90439906
JL
17332011-09-05 Juri Linkov <juri@jurta.org>
1734
1735 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1736
f62bd846
JL
17372011-09-05 Juri Linkov <juri@jurta.org>
1738
1739 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1740 keeping point where processing of grep matches begins, and
1741 continue to delete remaining escape sequences from the same point.
1742 (grep-filter): Make leading zero optional in "0?1;31m" because
1743 git-grep emits "\033[1;31m" escape sequences unlike expected
1744 "\033[01;31m" as GNU Grep does (bug#9408).
1745 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1746
045820ec
JL
17472011-09-05 Juri Linkov <juri@jurta.org>
1748
1749 * subr.el (y-or-n-p): Capitalize "yes".
1750
f5e29b9b
MA
17512011-09-04 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1754 `tramp-cache-unload-hook' where appropriate.
1755 (tramp-methods): Rename `tramp-remote-sh' to
1756 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1757 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1758
1759 * net/tramp-sh.el (top): Don't require 'shell.
1760 (tramp-methods): Add `tramp-remote-shell' and
1761 `tramp-remote-shell-args' entries.
1762 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1763 (tramp-sh-handle-shell-command): Remove.
1764 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1765 Use `tramp-remote-shell'.
1766
2784c434
CY
17672011-09-03 Chong Yidong <cyd@stupidchicken.com>
1768
393a301e 1769 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1770 (sendmail-query-once): Save directly to send-mail-function.
1771 Update message-send-mail-function too.
1772
1773 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1774
464cdf56
CS
17752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1776
1777 * progmodes/python.el (python-mode-map): Use correct function to
1778 start python interpreter from menu-bar (as reported by Geert
1779 Kloosterman).
1780 (inferior-python-mode-map): Fix typo.
393a301e 1781 (python-shell-map): Remove.
464cdf56 1782
d37e5c87
DD
17832011-09-03 Deniz Dogan <deniz@dogan.se>
1784
1785 * net/rcirc.el (rcirc-print): Simplify code for
1786 rcirc-scroll-show-maximum-output. There is no need to walk
1787 through all windows to find the right one.
1788
f3ada0ee
CS
17892011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1790
1791 * help.el (help-return-method): Doc fix.
1792
1f3c99ca
MR
17932011-09-03 Martin Rudalics <rudalics@gmx.at>
1794
1795 * window.el (window-deletable-p): Don't return a non-nil value
1796 when there's a buffer that was shown in the window before.
1797 (Bug#9419)
393a301e
SM
1798 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1799 Set window's previous buffers to nil.
1f3c99ca 1800
a3cf097f
EZ
18012011-09-03 Eli Zaretskii <eliz@gnu.org>
1802
1803 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1804 newline before and after the tag line, so it doesn't interfere
1805 with determining the paragraph direction of bidirectional text.
1806
3d03de90
LL
18072011-09-03 Leo Liu <sdl.web@gmail.com>
1808
1809 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1810
c3313451
CY
18112011-09-02 Chong Yidong <cyd@stupidchicken.com>
1812
393a301e 1813 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1814 (pop-to-buffer): Change interactive spec. Pass second argument
1815 directly to display-buffer.
1816 (display-buffer): Fix interactive spec. Use functionp to
1817 distinguish between a function and a list of functions.
1818
1819 * abbrev.el (edit-abbrevs):
1820 * arc-mode.el (archive-extract):
1821 * autoinsert.el (auto-insert):
1822 * bookmark.el (bookmark-bmenu-list):
1823 * files.el (find-file):
1824 * view.el (view-buffer):
1825 * progmodes/compile.el (compilation-goto-locus):
1826 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1827
89894cd8
CY
18282011-09-02 Chong Yidong <cyd@stupidchicken.com>
1829
1830 * window.el (display-buffer-alist): Doc fix.
1831 (display-buffer): Add docstring. Don't treat
1832 display-buffer-default specially.
1833 (display-buffer-reuse-selected-window)
1834 (display-buffer-same-window, display-buffer-maybe-same-window)
1835 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1836 (display-buffer-pop-up-window)
1837 (display-buffer-reuse-or-pop-window)
1838 (display-buffer-use-some-window): New functions.
1839 (display-buffer-default-action): Use them.
393a301e 1840 (display-buffer-default): Delete.
89894cd8
CY
1841 (pop-to-buffer-1): Fix choice of actions.
1842
ae0bc9fb
SM
18432011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * minibuffer.el (completion--insert-strings): Don't get confused by
1846 completion entries that end with an LF char.
1847
e9d90883
EZ
18482011-09-01 Eli Zaretskii <eliz@gnu.org>
1849
1850 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1851
437014c8
CY
18522011-09-01 Chong Yidong <cyd@stupidchicken.com>
1853
1854 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1855 (display-buffer-same-window, display-buffer-other-window):
1856 New functions.
437014c8
CY
1857 (pop-to-buffer-1): New function. Use the above.
1858 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1859 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1860
1861 * view.el (view-buffer-other-window, view-buffer-other-frame):
1862 Just use pop-to-buffer.
1863
a5e063d5
TV
18642011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1865
1866 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1867
793d32bb
WH
18682011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1869
1870 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1871
d65e4c15
RS
18722011-08-31 Richard Stallman <rms@gnu.org>
1873
1874 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1875 of the separation of rmail-view-buffer from rmail-buffer.
1876 If you say no to "replace original", the decrypt is in the
1877 view buffer. If you say yes, the decrypt goes into the
1878 rmail buffer also.
1879
f818cd2a
MR
18802011-08-31 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (display-buffer-window): Rewrite doc-string.
1883 (display-buffer-record-window): New function.
1884 (display-buffer-macro-specifiers)
1885 (display-buffer-even-window-sizes, display-buffer-set-height)
1886 (display-buffer-set-width, display-buffer-in-window)
1887 (display-buffer-reuse-window, display-buffer-split-specifiers)
1888 (display-buffer-side-specifiers, display-buffer-split-window-1)
1889 (display-buffer-split-window, display-buffer-split-atom-window)
1890 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1891 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1892 (display-buffer-other-window-means-other-frame)
1893 (display-buffer-normalize-special)
1894 (display-buffer-normalize-default)
1895 (display-buffer-normalize-argument)
1896 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1897 (display-buffer-normalize-specifiers, display-buffer-frame)
1898 (display-buffer-same-window, display-buffer-same-frame)
1899 (display-buffer-other-window)
1900 (display-buffer-same-frame-other-window)
1901 (display-buffer-other-frame, pop-to-buffer-same-window)
1902 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1903 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1904 (switch-to-buffer-same-frame)
1905 (switch-to-buffer-other-window-same-frame)
1906 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1907 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1908 (display-buffer-alist-set): Remove.
1909 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1910 (special-display-regexps, special-display-function):
1911 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1912 parameter.
1913 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1914 (special-display-frame-alist, special-display-popup-frame)
1915 (same-window-buffer-names, same-window-regexps, same-window-p)
1916 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1917 (split-window-preferred-function, split-height-threshold)
1918 (split-width-threshold, window-splittable-p)
1919 (split-window-sensibly, window--try-to-split-window)
1920 (window--frame-usable-p, even-window-heights)
1921 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1922 (window--display-buffer-2, display-buffer-other-frame):
1923 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1924 (display-buffer-default, display-buffer-assq-regexp): New functions.
1925 (display-buffer-alist): Rewrite doc-string.
1926 (display-buffer-default-action)
1927 (display-buffer-overriding-action): New variables.
1928 (display-buffer, switch-to-buffer): Rewrite.
1929 (pop-to-buffer): Restore Emacs 23 behavior but use
1930 window-normalize-buffer-to-display.
1931 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1932 Restore Emacs 23 behavior but use
1933 window-normalize-buffer-to-switch-to.
1934 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1935 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1936 Rewrite using Emacs 23 options.
f818cd2a 1937
5bc3b51d
MA
19382011-08-31 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-root-regexp): Remove.
1941 (tramp-completion-file-name-regexp-unified)
1942 (tramp-completion-file-name-regexp-separate)
1943 (tramp-completion-file-name-regexp-url): Don't use leading volume
1944 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1945 (tramp-drop-volume-letter): Simplify definition.
1946 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1947
b1a4f8e1
SM
19482011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1951 (bug#9356).
1952
5664fa7b
RT
19532011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1954
b1a4f8e1 1955 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1956
9a45d6c3
JL
19572011-08-29 Juri Linkov <juri@jurta.org>
1958
1959 * isearch.el (isearch-done): Don't display message "Mark saved"
1960 when arg `edit' is non-nil to prevent its flicker in the echo area.
1961
fb87e0fb
CY
19622011-08-28 Chong Yidong <cyd@stupidchicken.com>
1963
1964 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1965 obsolete packages for deletion.
1966
09ac1c2a
CS
19672011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1968
1969 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1970 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1971 view-mode from help-mode.
1972 (help-xref-override-view-map): Remove.
1973 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1974 view-mode is not used anymore.
1975
7a1ff57f
CY
19762011-08-28 Chong Yidong <cyd@stupidchicken.com>
1977
1978 * server.el (server-port): Doc fix.
1979
b9696605
CY
1980 * cus-theme.el (custom-theme-choose-mode): Inherit from
1981 special-mode (Bug#9124).
1982 (custom-theme-choose-mode-map): Add special-mode to parent.
1983
ef8cdf8c
AM
19842011-08-28 Alan Mackenzie <acm@muc.de>
1985
1986 * progmodes/cc-fonts.el
1987 (c-make-font-lock-BO-decl-search-function): New function.
1988 (c-basic-matchers-after - "Fontify the clauses after various
1989 keywords"): Extract the three keyword lists for the 3 erroneous
1990 constructs from the list of four, and use the new function above
1991 in place of an old one.
1992
27de4e20
DD
19932011-08-28 Deniz Dogan <deniz@dogan.se>
1994
1995 * net/rcirc.el (rcirc-insert-prev-input)
1996 (rcirc-insert-next-input): Remove unused argument.
1997
356a3681
SM
19982011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2001
3fc9b218
AM
20022011-08-27 Alan Mackenzie <acm@muc.de>
2003
2004 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2005 handle function pointer parameters properly.
2006
538a061c
MR
20072011-08-27 Martin Rudalics <rudalics@gmx.at>
2008
2009 * window.el (display-buffer-reuse-window): Fix case where
2010 selected window was reused with non-nil OTHER-WINDOW argument.
2011 (Bug#9381)
2012
35b1c40c
DD
20132011-08-27 Deniz Dogan <deniz@dogan.se>
2014
2015 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2016 oftc's NickServ messages.
2017
2f6a3e79
GM
20182011-08-27 Glenn Morris <rgm@gnu.org>
2019
2020 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2021
7254299e
CY
20222011-08-26 Chong Yidong <cyd@stupidchicken.com>
2023
2024 * emacs-lisp/package.el (package-install): Call package-initialize
2025 if called interactively.
2026
f8ccf167
LL
20272011-08-26 Leo Liu <sdl.web@gmail.com>
2028
2029 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2030
3e8cd5ce
JL
20312011-08-25 Juri Linkov <juri@jurta.org>
2032
2033 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2034 `search-whitespace-regexp' (bug#9364).
2035
93eb7113
JL
20362011-08-25 Juri Linkov <juri@jurta.org>
2037
2038 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2039 `regexp-search-ring' to their global values to protect from
2040 updating by `read-from-minibuffer' (bug#9185).
2041
f65d1611
JL
20422011-08-25 Juri Linkov <juri@jurta.org>
2043
2044 * textmodes/ispell.el (ispell-command-loop): Add newline
2045 at the end of the "Use option `i'..." line.
2046
f1cf7a31
JL
20472011-08-25 Juri Linkov <juri@jurta.org>
2048
2049 * battery.el (display-battery-mode): If `battery-status-function'
2050 or `battery-mode-line-format' is nil, display the message and set
2051 `display-battery-mode' to nil (bug#9363).
2052
0c95fcf7
EZ
20532011-08-25 Eli Zaretskii <eliz@gnu.org>
2054
2055 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2056 bidi-string-mark-left-to-right; they are unnecessary now.
2057
a2ebe600
DD
20582011-08-25 Deniz Dogan <deniz@dogan.se>
2059
2060 * net/quickurl.el: Documentation typo fixes.
2061
e4ed06f1
CY
20622011-08-25 Chong Yidong <cyd@stupidchicken.com>
2063
2064 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2065
e5f1c99e
GM
20662011-08-25 Glenn Morris <rgm@gnu.org>
2067
b2948976
GM
2068 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2069
e5f1c99e
GM
2070 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2071 (smtpmail-via-smtp): Handle nil response from smtp.
2072
f22f4808
JL
20732011-08-24 Juri Linkov <juri@jurta.org>
2074
2075 * proced.el (proced-marked): Inherit from `error' instead of
2076 `font-lock-warning-face'.
2077
2078 * ibuffer.el (ibuffer-marked-face): Change default face from
2079 `font-lock-warning-face' to `warning'.
2080 (ibuffer-deletion-face): Change default face from
2081 `font-lock-type-face' to `error'.
2082
2083 * battery.el (battery-update): Use the face `error' instead of
2084 `font-lock-warning-face' (bug#6117).
2085
6a93965e
JL
20862011-08-24 Juri Linkov <juri@jurta.org>
2087
2088 * faces.el (success): Change face color from "Green3" to
2089 "ForestGreen" on light background (bug#9353).
2090
1ed43b09
CY
20912011-08-24 Chong Yidong <cyd@stupidchicken.com>
2092
5664fa7b
RT
2093 * window.el (quit-window): Rename from quit-restore-window.
2094 Use same arglist as old quit-window.
1ed43b09
CY
2095 (frame-auto-delete): Doc fix.
2096
2097 * view.el (view-mode-exit): Use quit-window.
2098
11dcdbb2
JL
20992011-08-24 Juri Linkov <juri@jurta.org>
2100
2101 * isearch.el (isearch-ring-adjust1): Start visiting previous
2102 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2103 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2104 for empty search string (when the last search string is reused
2105 automatically) to adjust the isearch ring to the last element and
2106 prepare the correct index for further M-p commands (bug#9185).
2107
de62b4df
KH
21082011-08-24 Kenichi Handa <handa@m17n.org>
2109
2110 * international/ucs-normalize.el: If decomposition property of
2111 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2112 nil.
2113 (nfd, nfkd): Likewise.
2114
963b492b
SM
21152011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2118 from process filters aren't reliably transmitted to the surrounding
2119 accept-process-output.
2120 (mpc-proc-check): New function.
2121 (mpc-proc-sync): Use it (bug#8293)
2122
93b6b5e1
SM
21232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2126 Add compatibility functions (bug#9313).
2127
bca633fb
EZ
21282011-08-23 Eli Zaretskii <eliz@gnu.org>
2129
b177498a
EZ
2130 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2131
bca633fb
EZ
2132 * international/uni-bidi.el: Regenerated.
2133
0902a04e
KH
21342011-08-23 Kenichi Handa <handa@m17n.org>
2135
2136 * international/charprop.el:
2137 * international/uni-bidi.el:
2138 * international/uni-category.el:
2139 * international/uni-combining.el:
2140 * international/uni-comment.el:
2141 * international/uni-decimal.el:
2142 * international/uni-decomposition.el:
2143 * international/uni-digit.el:
2144 * international/uni-lowercase.el:
2145 * international/uni-mirrored.el:
2146 * international/uni-name.el:
2147 * international/uni-numeric.el:
2148 * international/uni-old-name.el:
2149 * international/uni-titlecase.el:
2150 * international/uni-uppercase.el: Regenerate.
2151
3bbf23bc
MR
21522011-08-23 Martin Rudalics <rudalics@gmx.at>
2153
2154 * help.el (help-window-setup): Fix message displayed when other
2155 window is reused. (Bug#9341)
2156
b3fd59bd
SM
21572011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2158
1802e444
SM
2159 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2160 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2161
b3fd59bd
SM
2162 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2163 Mark obsolete.
2164 * shell.el (shell-parse-pcomplete-arguments): New function.
2165 (shell-completion-vars): Use it instead (bug#9160).
2166
4eb61348
SM
21672011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2168
867cab74
SM
2169 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2170 strings and comments (bug#9333).
2171
4eb61348
SM
2172 * emacs-lisp/debug.el (debug-arglist): New function.
2173 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2174 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2175
262a1439
JL
21762011-08-22 Juri Linkov <juri@jurta.org>
2177
56ee679c
JL
2178 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2179 Revert regexp that highlights output switches to its old
2180 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2181
262a1439
JL
2182 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2183 to check for empty output (bug#9226).
2184
f13f86fb
CY
21852011-08-22 Chong Yidong <cyd@stupidchicken.com>
2186
2187 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2188 symbol-constituent as the default, as that stops font-lock from
2189 working properly (Bug#8843).
2190
c65c9622
LMI
21912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2192
2193 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2194 `coding-system-for-*' around the process open call to avoid
2195 auth-source side effects.
e7f2c178 2196 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2197 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2198 probe hangs.
c65c9622 2199
23a8a5ab
CY
22002011-08-21 Chong Yidong <cyd@stupidchicken.com>
2201
ff98b2dd
CY
2202 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2203
23a8a5ab
CY
2204 * emacs-lisp/find-func.el (find-function-noselect): New arg
2205 lisp-only.
2206
2207 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2208 signal an error for built-in functions (Bug#6664).
2209
f5e3c598
LMI
22102011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2211
2212 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2213 (smtpmail-try-auth-methods): Use it.
2214
a3f2468a
CY
22152011-08-21 Chong Yidong <cyd@stupidchicken.com>
2216
2c34e8da
CY
2217 * font-lock.el (font-lock-fontify-region)
2218 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2219 (font-lock-default-unfontify-buffer)
2220 (font-lock-default-fontify-region)
2221 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2222
b3fd59bd
SM
2223 * progmodes/compile.el (compilation-error-properties):
2224 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2225 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2226 `ant' regexp.
ee31aabc 2227
a3f2468a
CY
2228 * net/browse-url.el (browse-url-firefox): Don't call
2229 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2230
8e999f70
GM
22312011-08-20 Glenn Morris <rgm@gnu.org>
2232
c21a496a
GM
2233 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2234
59ee0542
GM
2235 * tutorial.el (tutorial--default-keys): Update some default bindings.
2236
8e999f70
GM
2237 * files.el (hack-local-variables): Fully ignore case for "mode:".
2238
e3715033
AM
22392011-08-20 Alan Mackenzie <acm@muc.de>
2240
2241 Resolve invalid use of a regexp in regexp-opt.
2242
4d61f28d
JB
2243 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2244 detection for a java annotation.
e3715033 2245
4d61f28d 2246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2247 detection for a java annotation.
2248
4d61f28d
JB
2249 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2250 handling for java.
e3715033
AM
2251 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2252
04ed2e9c
CY
22532011-08-20 Chong Yidong <cyd@stupidchicken.com>
2254
2255 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2256 (Bug#9274).
2257
826cee64
AM
22582011-08-20 Alan Mackenzie <acm@muc.de>
2259
2260 * Fontify CPP expressions correctly when starting in the middle of
2261 such a construct. Mainly for when jit-lock etc. starts a chunk
2262 here.
2263
2264 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2265 variable.
2266 (c-make-font-lock-search-form): new function, extracted from
2267 c-make-font-lock-search-function.
2268 (c-make-font-lock-search-function): Use the above function.
2269 (c-make-font-lock-context-search-function): New function.
2270 (c-cpp-matchers): Enhance the preprocessor expression case with
2271 the above function
2272 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2273 which takes an expression.
2274
2275 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2276
13009bd8
MR
22772011-08-20 Martin Rudalics <rudalics@gmx.at>
2278
2279 * window.el (display-buffer-reuse-window)
2280 (display-buffer-pop-up-window): Don't reuse or split a side
2281 window.
2282
9234ff7f
GM
22832011-08-19 Glenn Morris <rgm@gnu.org>
2284
2285 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2286 Downcase "Mode:". (Bug#9331)
9234ff7f 2287
f635daa1
CY
22882011-08-18 Chong Yidong <cyd@stupidchicken.com>
2289
2290 * international/characters.el: Add L and R categories.
2291
2292 * subr.el (bidi-string-mark-left-to-right): Rename from
2293 string-mark-left-to-right. Use category search.
2294
2295 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2296
bc987f8b
JL
22972011-08-18 Juri Linkov <juri@jurta.org>
2298
2299 * faces.el (error, warning, success): New faces with definitions
2300 copied from old default values of `font-lock-warning-face',
2301 `compilation-warning', `compilation-info' (bug#6117).
2302
2303 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2304
2305 * progmodes/compile.el (compilation-error): Inherit from `error'.
2306 (compilation-warning): Inherit from `warning'.
2307 (compilation-info): Inherit from `success'.
2308
2309 * dired.el (dired-marked): Inherit from `warning'.
2310 (dired-flagged): Inherit from `error'.
2311
57173b96
LMI
23122011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2313
3e79eb87
LMI
2314 * mail/smtpmail.el (auth-source): Require to avoid problems with
2315 binding variables (bug#9298). Also clean up some unused
2316 autoloads.
2317
b3fd59bd
SM
2318 * net/network-stream.el (network-stream-open-starttls):
2319 Support using starttls.el without using gnutls-cli.
57173b96 2320
02b404de
JL
23212011-08-17 Juri Linkov <juri@jurta.org>
2322
2323 * progmodes/grep.el (rgrep): Handle the case when
2324 `grep-find-command' is a cons cell (bug#9278).
2325
8c9177f2
MR
23262011-08-17 Martin Rudalics <rudalics@gmx.at>
2327
2328 * window.el (display-buffer-pop-up-frame): Run frame creation
2329 function with BUFFER current (as special-display-popup-frame
2330 does). Reported by Drew Adams.
2331
3644a0ab
DU
23322011-08-17 Daiki Ueno <ueno@unixuser.org>
2333
2334 * epa-mail.el: Simplify GnuPG group expansion using
2335 epg-expand-group.
2336 (epa-mail-group-alist, epa-mail-group-modtime)
2337 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2338 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2339 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2340 Remove.
2341
5e617bc2 23422011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2343
2344 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2345
9c4aeabf
AM
23462011-08-16 Alan Mackenzie <acm@muc.de>
2347
2348 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2349 Correct, to avoid the inside of macros.
2350
3a99bf64
RS
23512011-08-16 Richard Stallman <rms@gnu.org>
2352
04963aa8
RS
2353 * epa-mail.el: Handle GnuPG group definitions.
2354 (epa-mail-group-alist, epa-mail-group-modtime)
2355 (epa-mail-gnupg-conf-file): New variables.
2356 (epa-mail-parse-groups, epa-mail-sync-groups)
2357 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2358 (epa-mail-expand-recipients): New functions.
2359 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2360
177549d0
RS
2361 * mail/rmail.el (rmail-epa-decrypt): New command.
2362
fe38beef
RS
2363 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2364 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2365 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2366 (epa-decrypt-armor-in-region): Make error message clearer.
2367
934eacb9
SM
23682011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2371 and "a2b" to "ab" for `prefix'.
2372
d024fb4e
CY
23732011-08-14 Chong Yidong <cyd@stupidchicken.com>
2374
2375 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2376 filter groups.
de148fee
CY
2377 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2378 Fourquet (Bug#8804).
d024fb4e 2379
62f1ca49
JB
23802011-08-12 Juanma Barranquero <lekktu@gmail.com>
2381
2382 * startup.el (argi): Declare as global variable (bug#9275).
2383
9ccaaa4b
CY
23842011-08-12 Chong Yidong <cyd@stupidchicken.com>
2385
2386 * subr.el (string-mark-left-to-right): Search the entire string
2387 for RTL script, not just the terminating character. Doc fix.
2388
a3dae87a
SM
23892011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2390
6cd18349
SM
2391 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2392 New function.
2393 (js--regexp-literal, js-syntax-propertize-function): Remove.
2394 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2395 (js-mode-map): Don't rebind electric keys.
2396 (js-insert-and-indent): Remove.
2397 (js-mode): Setup electric-layout and electric-indent instead.
2398
a3dae87a
SM
2399 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2400
9d5cb631
DU
24012011-08-12 Daiki Ueno <ueno@unixuser.org>
2402
2403 * epa.el (epa-progress-callback-function): Fix the logic of
2404 displaying progress.
2405 * epa-file.el (epa-file-insert-file-contents): Make progress
2406 display more user-friendly.
2407 (epa-file-write-region): Ditto.
2408
3e26a4a2
CY
24092011-08-10 Chong Yidong <cyd@stupidchicken.com>
2410
2411 * subr.el (string-mark-left-to-right): New function.
2412
2413 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2414 Use string-mark-left-to-right.
2415 (list-buffers-noselect): Caller changed.
2416
a3dae87a
SM
2417 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2418 Use string-mark-left-to-right.
3e26a4a2
CY
2419 (tabulated-list-print): Recenter after moving point.
2420
ac8cf6e6
JL
24212011-08-10 Juri Linkov <juri@jurta.org>
2422
2423 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2424 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2425 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2426
8d96c9a4
CY
24272011-08-09 Chong Yidong <cyd@stupidchicken.com>
2428
2429 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2430 (Bug#7554).
2431
7be1c708 24322011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2433
2434 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2435 character. (Bug#6594)
2436
37e11a63
CY
24372011-08-08 Chong Yidong <cyd@stupidchicken.com>
2438
839dde57
CY
2439 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2440 (image-dired--with-db-file): New macro.
2441 (image-dired-write-tags, image-dired-remove-tag)
2442 (image-dired-create-gallery-lists, image-dired-write-comments)
2443 (image-dired-get-comment, image-dired-mark-tagged-files)
2444 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2445 (image-dired-gallery-generate): Use insert-file-contents.
2446
37e11a63
CY
2447 * time.el (display-time-world-list, display-time-world-display):
2448 * time-stamp.el (time-stamp-string):
2449 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2450 set-time-zone-rule (Bug#7337).
2451
0b4946c4
DU
24522011-08-08 Daiki Ueno <ueno@unixuser.org>
2453
2454 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2455 (epg-error-to-string, epg-errors-to-string): New function.
2456 (epg-wait-for-completion): Reverse errors list.
2457 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2458 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2459 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2460 (epg-sign-keys, epg-generate-key-from-file)
2461 (epg-generate-key-from-string): Format errors by using
2462 epg-errors-to-string (bug#9255).
2463 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2464
75bfc667
JL
24652011-08-07 Juri Linkov <juri@jurta.org>
2466
2467 * faces.el (list-faces-display): Remove extra angle bracket
2468 from `help-mode-map'.
2469
2470 * info.el (Info-history-toc-nodes): Doc fix.
2471
2472 * longlines.el (longlines-mode): Doc fix.
2473
673e08bb
SM
24742011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2475
4640dd88
SM
2476 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2477 of statements and in a few more cases (bug#9183).
2478
673e08bb
SM
2479 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2480 New functions.
2481 (cl-transform-lambda): Use them (bug#9239).
2482
89b3f019
MR
24832011-08-05 Martin Rudalics <rudalics@gmx.at>
2484
2485 * window.el (display-buffer-same-window)
2486 (display-buffer-same-frame, display-buffer-other-window)
2487 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2488 (pop-to-buffer-other-window)
2489 (pop-to-buffer-same-frame-other-window)
2490 (pop-to-buffer-other-frame): Make them defuns.
2491 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2492
640c8776
SM
24932011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * subr.el (make-composed-keymap): Move from C. Change calling
2496 convention, and improve docstring to bring attention to a subtle point.
2497 * minibuffer.el (completing-read-default): Adjust accordingly.
2498
63648a95
MA
24992011-08-03 Michael Albinus <michael.albinus@gmx.de>
2500
2501 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2502 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2503
2504 * net/trampver.el: Update release number.
2505
b796c9b7
SM
25062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2509 "in" (bug#9190).
2510
2239d7d5
LMI
25112011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2512
e07dd7c3
LMI
2513 * mail/sendmail.el (sendmail-query-once): Restore the current
2514 buffer after querying (bug#9074).
2515
0e6a2bd7
LMI
2516 * dired.el (dired-flagged): Use different faces for marked and
2517 flagged files (bug#6117).
2518
ce887515
LMI
2519 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2520 (bug#4433).
2521
92f2affc
LMI
2522 * ido.el (ido-mode): Switch off the message if called
2523 non-interactively.
2524
57d5aff0
LMI
2525 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2526 before 587, since it appears that that's more likely to work for
2527 more people.
2528
98cd6c18
LMI
2529 * cus-edit.el (custom-file): When running under emacs -q, always
2530 refuse to save the customisations, even if the .emacs file doesn't
2531 exist.
2532
b96dec83
LMI
2533 * info.el: Remove the `Info-beginning-of-buffer' function
2534 (bug#8325).
2535
b796c9b7
SM
2536 * net/network-stream.el (network-stream-open-starttls):
2537 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2538
d90e2ea0
MR
25392011-08-01 Martin Rudalics <rudalics@gmx.at>
2540
2541 * window.el (display-buffer-in-window): Don't set dedicated status
2542 of window here (Bug#9215).
2543 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2544 (display-buffer-pop-up-side-window)
b796c9b7 2545 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2546
cca09170
SM
25472011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2550 before binding generated-autoload-file.
2551
027b979c
DD
25522011-08-01 Deniz Dogan <deniz@dogan.se>
2553
2554 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2555
3c7ee4f3
MA
25562011-07-30 Michael Albinus <michael.albinus@gmx.de>
2557
2558 Sync with Tramp 2.2.2.
2559
2560 * net/trampver.el: Update release number.
2561
2cc8e51a
JL
25622011-07-30 Juri Linkov <juri@jurta.org>
2563
2564 * dired-aux.el (dired-touch-initial): Remove function.
2565 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2566 current time, and `default' to the last modification time of the
2567 current marked file (bug#6887).
2568
a514d856
JM
25692011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2570
2571 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2572 numeric argument to read-number (bug#9163).
a514d856 2573
8a7eddd7
MA
25742011-07-27 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2577 connection process, it could be nil.
2578
1ddd96f5
LL
25792011-07-27 Leo Liu <sdl.web@gmail.com>
2580
2581 Simplify url handling in rcirc-mode.
2582
2583 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2584 (rcirc-browse-url-at-mouse): Remove.
2585 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2586
b248a85d
AM
25872011-07-26 Alan Mackenzie <acm@muc.de>
2588
2589 Fontify bitfield declarations properly.
2590
2591 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2592 (c-symbol-chars): Now exported as a lang variable.
2593 (c-not-primitive-type-keywords): New lang variable.
2594
2595 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2596 QT keyword "more" to prevent "more slots: ...." being spuriously
2597 parsed as a bitfield declaraion.
2598
b796c9b7
SM
2599 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2600 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2601 (c-punctuation-in): New function.
2602 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2603 declarations properly.
2604
68575ab0
UJ
26052011-07-26 Ulf Jasper <ulf.jasper@web.de>
2606
2607 * calendar/icalendar.el (icalendar--all-events): Take care of
2608 multiple vcalendars in a single file.
b796c9b7 2609 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2610
0f0a88b9
DD
26112011-07-25 Deniz Dogan <deniz@dogan.se>
2612
2613 * image.el (insert-image): Clarifying docstring.
2614
0b3f36df
MA
26152011-07-24 Michael Albinus <michael.albinus@gmx.de>
2616
2617 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2618 `tramp-send-command-and-check' if there is no error.
2619 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2620
a9901f61
AM
26212011-07-22 Alan Mackenzie <acm@muc.de>
2622
2623 Prevent cc-langs.elc being loaded at run time.
2624
2625 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2626 cc-langs.
2627
4d61f28d 2628 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2629 "(require 'cc-langs)". Quote a form so it will evaluate at
2630 (cc-mode's) compilation time.
2631
11d074b2
MA
26322011-07-22 Michael Albinus <michael.albinus@gmx.de>
2633
2634 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2635 loading. (Bug#9114)
2636
938b94c8
MR
26372011-07-21 Martin Rudalics <rudalics@gmx.at>
2638
2639 * window.el (display-buffer-pop-up-window)
2640 (display-buffer-pop-up-side-window)
2641 (display-buffer-in-side-window): Call display-buffer-set-height
2642 and display-buffer-set-width after setting the new window's
b796c9b7 2643 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2644
bfa4f190
SS
26452011-07-20 Sam Steingold <sds@gnu.org>
2646
2647 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2648 (etags-tags-included-tables): Call `convert-standard-filename' on
2649 the file names contained in TAGS so that windows Emacs can handle
2650 TAGS files created by cygwin ctags.
2651
8ca42262
LMI
26522011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2653
2654 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2655 which apparently didn't work.
2656
5db2afd2 26572011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2658
5db2afd2
RW
2659 * proced.el (proced-send-signal): For *Marked Processes* buffer
2660 put point at beginning of buffer.
2661
92e15d10
SB
26622011-07-19 Stephen Berman <stephen.berman@gmx.net>
2663
2664 * proced.el (proced-format): Make header lines align with the text
2665 (bug#1779).
2666
1bfd59e5
LMI
26672011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2668
2669 * view.el (view-buffer): Allow running in `special' modes if we're
2670 visiting a file (bug#8615).
2671
f5aae37c
MR
26722011-07-19 Martin Rudalics <rudalics@gmx.at>
2673
2674 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2675 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2676 New functions.
f5aae37c
MR
2677 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2678 more accurately.
2679
bf2c1571
AM
26802011-07-18 Alan Mackenzie <acm@muc.de>
2681
2682 Fontify declarators properly when, e.g., a jit-lock chunk begins
2683 inside a declaration.
2684
2685 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2686
b796c9b7
SM
2687 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2688 New function.
bf2c1571
AM
2689 (c-complex-decl-matchers): Insert reference to
2690 c-font-lock-enclosing-decls.
2691
2692 * progmodes/cc-engine.el (c-backward-single-comment):
2693 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2694 to nil around calls to (forward-comment -1).
2695
4e190b80
LMI
26962011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2697
12dc863d
LMI
2698 * image.el (put-image): Doc typo fix.
2699
a762e966
LMI
2700 * progmodes/etags.el (tags-search): Doc typo fix.
2701
4e190b80
LMI
2702 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2703 password if we get errors 550 to 554.
2704
f019fb21
LMI
27052011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2706
b796c9b7 2707 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2708
81746738
LMI
2709 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2710 indentation character (bug#6380).
2711
3ee3a1b5
LMI
2712 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2713
c82f64de
LMI
2714 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2715 to clarify what the problem is (bug#4291).
2716
f019fb21
LMI
2717 * simple.el (current-kill): Clarify what
2718 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2719 (auto-fill-mode): Document `auto-fill-function' in relation to
2720 `auto-fill-mode' (bug#2470).
f019fb21 2721
0794775d
LM
27222011-07-16 Lawrence Mitchell <wence@gmx.li>
2723
2724 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2725 method if slot is read-only (bug#9035).
2726
be39b8cc
MR
27272011-07-16 Martin Rudalics <rudalics@gmx.at>
2728
b796c9b7 2729 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2730 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2731 selected before, see discussion of (Bug#8615), (Bug#6954).
2732 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2733
6ccf7859
GM
27342011-07-15 Glenn Morris <rgm@gnu.org>
2735
2736 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2737 Respect help-form.
6ccf7859 2738
87e86684
LM
27392011-07-09 Lawrence Mitchell <wence@gmx.li>
2740
2741 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2742 (gnutls-negotiate): Use it.
2743
d6066239
LMI
27442011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2745
b796c9b7
SM
2746 * net/gnutls.el (gnutls-negotiate):
2747 Upcase `gnutls-algorithm-priority'.
d6066239 2748
bd23ebc0
GM
27492011-07-15 Glenn Morris <rgm@gnu.org>
2750
c65bca65
GM
2751 * jka-compr.el (jka-compr-verbose): Move from here...
2752 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2753 Add missing :version tag.
2754 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2755
478615cc
LMI
27562011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2757
7b41decb
LMI
2758 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2759 (gnutls-negotiate): Use it.
2760
dbc44fcd
LMI
2761 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2762
06789f97
LMI
2763 * info.el (Info-beginning-of-buffer): New command.
2764 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2765 announcing `b' as the key (bug#8325).
ab896c37 2766 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2767
c39da690
LMI
2768 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2769
3aa5f34b
LMI
2770 * international/mule-cmds.el
2771 (describe-specified-language-support): Make the error message
2772 clearer (bug#8905).
2773
4bf0979f
LMI
2774 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2775
478615cc
LMI
2776 * isearch.el (isearch-barrier): Add a doc string, since it's
2777 mentioned in a function doc string (bug#8678).
2778
75c68aa1
MR
27792011-07-15 Martin Rudalics <rudalics@gmx.at>
2780
2781 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2782 buffer argument (Bug#9083) and self-identifying label argument.
2783
a7c33da2
GM
27842011-07-15 Glenn Morris <rgm@gnu.org>
2785
2786 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2787
2f5c6024
LMI
27882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2789
2790 * man.el (Man-fontify-manpage): Fix message when formatting the
2791 man page (bug#7929).
2792
0bb23927 27932011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2794
2795 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2796 argument LRM; if non-nil, append an invisible LRM character to the
2797 buffer name.
2798 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2799 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2800 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2801 paragraph direction.
cce4b0a7 2802
621ef9ab
LMI
28032011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2804
d1583c48
LMI
2805 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2806 the man page name (bug#7929).
2807
6a57fb5f
LMI
2808 * image.el (put-image): Mention the `put-image' overlay property
2809 (bug#7834).
2810
d7956b14
LMI
2811 * scroll-bar.el (set-scroll-bar-mode): Mention that
2812 `scroll-bar-mode' lists the values (bug#7772).
2813
5b2d4a66
LMI
2814 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2815 command (bug#7729).
2816
7509a874
LMI
2817 * rect.el (apply-on-rectangle): Return the point after the last
2818 operation.
2819 (string-rectangle): Go to the point after the last operation
2820 (bug#7522).
2821
4fe74b19
LMI
2822 * printing.el (pr-toggle-region): Clarify the documentation
2823 slightly (bug#7493).
2824
b796c9b7
SM
2825 * time.el (display-time-update):
2826 Allow `display-time-mail-function' to return nil (bug#7158).
2827 Fix suggested by Detlev Zundel.
ab283561 2828
fc233c9d
LMI
2829 * vc/diff.el (diff): Clarify the order the file names are read
2830 (bug#7111).
2831
43f5740b
LMI
2832 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2833 the doc string (bug#7015).
2834
f2182a76
LMI
2835 * font-lock.el (font-lock-maximum-decoration): Mention what
2836 numeric levels mean (bug#6935).
2837
621ef9ab
LMI
2838 * startup.el (initial-buffer-choice): Don't mention the `none'
2839 selection, which is against policy.
2840
adc47434
MR
28412011-07-14 Martin Rudalics <rudalics@gmx.at>
2842
b796c9b7
SM
2843 * window.el (display-buffer-normalize-special):
2844 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2845
7e5bfb8f
EZ
28462011-07-14 Eli Zaretskii <eliz@gnu.org>
2847
2848 * subr.el (version<, version<=, version=): Mention "-CVS" and
2849 "-12345" alpha version numbers.
2850
27fa387a
CY
28512011-07-14 Chong Yidong <cyd@stupidchicken.com>
2852
2853 * bindings.el: Add advertised binding for set-mark-command
2854 (Bug#5772).
2855
8bdfa064
CY
28562011-07-14 Chong Yidong <cyd@stupidchicken.com>
2857
2858 * bindings.el (mode-line-other-buffer):
2859 * bookmark.el (bookmark-bmenu-2-window):
2860 * bs.el (bs-cycle-next, bs-cycle-previous):
2861 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2862 switch-to-buffer.
2863
2864 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2865 Delete.
8bdfa064 2866
5eba16a3
JB
28672011-07-14 Juanma Barranquero <lekktu@gmail.com>
2868
2869 * follow.el (follow-debug-message, follow-redisplay):
2870 * jka-cmpr-hook.el (with-auto-compression-mode):
2871 Fix typos in docstrings.
2872
15853710
LMI
28732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2874
a28e4607
LMI
2875 * subr.el (with-silent-modifications): Clarify somewhat what the
2876 macro inhibits (bug#6525).
2877
15853710
LMI
2878 * simple.el (eval-expression): Note what it does if called
2879 interactively (bug#6495).
2880
bee0fcef
CY
28812011-07-13 Chong Yidong <cyd@stupidchicken.com>
2882
b796c9b7
SM
2883 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2884 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2885
2886 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2887 Remove switch-to-buffer.
2888
58274504
LMI
28892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2890
bd2fcc8d
LMI
2891 * files.el (make-directory): Clarify that an error will be raised
2892 if there's an error (bug#6397).
2893
0f04b32c
LMI
2894 * startup.el (initial-buffer-choice): Add `none' as a choice
2895 (bug#6234).
2896
465c5fc8
LMI
2897 * subr.el (add-hook): Clarify section about buffer-local hooks
2898 (bug#6218).
2899
58274504
LMI
2900 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2901
bead9a43
JB
29022011-07-13 Juanma Barranquero <lekktu@gmail.com>
2903
2904 * tabify.el (untabify): Preserve the current column so that point
2905 doesn't move (bug#6032).
2906
3af98a7b
LMI
29072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2908
b796c9b7
SM
2909 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2910 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2911
6240145a
GM
29122011-07-13 Glenn Morris <rgm@gnu.org>
2913
2914 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2915 (dired-insert-directory): Give a message the first time
2916 if ls is found not to support --dired.
2917
1d8c2ccc
LMI
29182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2919
2920 * simple.el (toggle-truncate-lines): Clarify what is toggled
2921 (bug#5580). Text by Drew Adams.
2922
5fc4038e
CY
29232011-07-13 Chong Yidong <cyd@stupidchicken.com>
2924
2925 * simple.el (blink-matching-open): Make the error message from the
2926 last change less verbose.
2927
bf6012e5
DN
29282011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2929
2930 * font-lock.el (font-lock-comment-face): Use the high contrast
2931 "yellow" color for font-lock-comment-face on low color terminals
2932 using a dark background color (bug#4221).
2933
343c3b5a
LMI
29342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2935
7e9505c5
LMI
2936 * dired.el (dired-insert-set-properties): Make the doc string
2937 reflect what it does now (bug#5325).
2938
c26fdcf5
LMI
2939 * simple.el (blink-matching-open): Say that we were unable to find
2940 the match within the limit, if we're limited (bug#5122).
2941
bb388cc5
LMI
2942 * international/mule-cmds.el (prefer-coding-system): Add an
2943 example (bug#4869).
2944
343c3b5a
LMI
2945 * progmodes/etags.el (tags-search): Document `file-list-form'
2946 (bug#4731).
2947
2a517d45
LM
29482011-07-13 Lawrence Mitchell <wence@gmx.li>
2949
2950 * net/browse-url.el (browse-url-default-browser)
2951 (browse-url-browser-function): Make the default browser choice a
2952 bit more logical (bug#4300). Also clean up the doc string.
2953
b6c78ef2
JB
29542011-07-13 Juanma Barranquero <lekktu@gmail.com>
2955
2956 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2957 binary endings (bug#4440).
2958
1c4dd947
LMI
29592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2960
a2014063
LMI
2961 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2962 which can be pretty annoying (bug#8971).
2963
9c9c2d88
LMI
2964 * jka-compr.el (jka-compr-verbose): New variable, and use
2965 throughout (bug#8971).
2966
1c4dd947
LMI
2967 * info.el (Info-find-file): Fall back on the installation
2968 directory if we can't find the info node anywhere else.
2969
a1c9f41b
SO
29702011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2971
2972 * vc/vc.el (vc-revert-file):
2973 Don't set file time-stamp in the past. (Bug#5181)
2974
536f3d36
LMI
29752011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2976
7152b011
LMI
2977 * files.el (after-find-file): Give a better error message when
2978 trying to find a symlink that points to a file that doesn't exist
2979 (bug#4398).
2980
536f3d36
LMI
2981 * progmodes/cc-vars.el: Remove (probably) misleading comment
2982 (bug#4396).
2983
460c0fba
JB
29842011-07-12 Johan Bockgård <bojohan@gnu.org>
2985
2986 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2987
7a6bda45
CY
29882011-07-12 Chong Yidong <cyd@stupidchicken.com>
2989
2990 * mouse-sel.el: Hack restoring functionality, while keeping
2991 compatibility with 2010-07-03 changes to mouse selection.
2992 (mouse-sel-primary-overlay): New var.
2993 (mouse-sel-selection-alist): Use it.
2994 (mouse-sel-mode): Doc fix; remove points that are default features
2995 of mouse.el.
2996
c79598ef
JB
29972011-07-12 Johan Bockgård <bojohan@gnu.org>
2998
2999 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3000 Fix previous fix (bug#2490).
3001
ff8be6ef
RW
30022011-07-12 Roland Winkler <winkler@gnu.org>
3003
b796c9b7
SM
3004 * textmodes/bibtex.el (bibtex-initialize):
3005 Use pop-to-buffer-same-window.
ff8be6ef
RW
3006 (bibtex-search-entries): Fix interactive call.
3007
296ba3ee
LMI
30082011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3009
f5242a02 3010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3011 Fontise bytecomp Error lines more correctly (bug#2490).
3012 Fix suggested by Johan Bockgård.
f5242a02 3013
296ba3ee
LMI
3014 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3015
3016 * dired-x.el (dired-guess-default): Use `delete-dups'.
3017
f69fd0d2
CY
30182011-07-12 Chong Yidong <cyd@stupidchicken.com>
3019
3020 * dired.el (dired-mark-prompt):
3021 * dired-aux.el (dired-read-shell-command): Doc fix.
3022
eab5dc07
LMI
30232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3024
b796c9b7
SM
3025 * mail/sendmail.el (sendmail-query-once):
3026 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3027 emacs -Q.
3028
3029 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3030
eab5dc07
LMI
3031 * cus-edit.el (custom-file): Take an optional no-error variable.
3032 (customize-save-variable): Set the variable, and give a warning if
3033 running under "emacs -q".
3034
a1e65d42
JB
30352011-07-11 Juanma Barranquero <lekktu@gmail.com>
3036
3037 * loadhist.el (unload-feature-special-hooks):
3038 Add `auto-coding-functions', `fill-nobreak-predicate' and
3039 `find-directory-functions' (bug#5327).
3040
1d52da10
LMI
30412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3042
be958f1d
LMI
3043 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3044
5bedb26c
LMI
3045 * cus-edit.el (custom-guess-name-alist): -alist variables should
3046 use the `alist' type (bug#3120). Suggested by Drew Adams.
3047
1d52da10
LMI
3048 * printing.el: Add documentation to all the `pr-toggle-' commands.
3049
481a51b6
LL
30502011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3051
3052 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3053 backends where it makes sense (bug#2623).
3054
dcc88d8a
LMI
30552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3056
c3de9feb
LMI
3057 * dired-x.el (dired-guess-default): Remove duplicate shell command
3058 entries (bug#2028).
8a93078b 3059 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3060 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3061
dcc88d8a
LMI
3062 * subr.el (remove-duplicates): New conveniency function.
3063
505e3645
LMI
30642011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3065
3066 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3067 (bug#1526).
3068
30692011-07-10 Martin Rudalics <rudalics@gmx.at>
3070
3071 * window.el (display-buffer-normalize-default): Don't invert
3072 meaning of even-window-heights. Reported by Eli Zaretskii
3073 <eliz@gnu.org>.
3074
455e4fa1
BR
30752011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3076
3077 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3078
8e0bc3e9
CY
30792011-07-10 Chong Yidong <cyd@stupidchicken.com>
3080
3081 * window.el (display-buffer): Fix arguments to
3082 display-buffer-reuse-window in last change.
3083
fa7c3228
CY
3084 * faces.el (link): Use a less saturated blue on light backgrounds.
3085
3086 * startup.el (fancy-startup-text, fancy-about-text)
3087 (fancy-startup-tail): Use font-lock faces, for background safety.
3088
c0a7f300
BN
30892011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3090
b796c9b7
SM
3091 * emulation/viper-cmd.el (viper-change-state-to-vi):
3092 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3093
4dc2a129
MR
30942011-07-09 Martin Rudalics <rudalics@gmx.at>
3095
3096 * window.el (display-buffer-default-specifiers): Remove.
3097 (display-buffer-macro-specifiers): Remove default specifiers.
3098 (display-buffer-alist): Default to nil.
b796c9b7 3099 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3100 (display-buffer-pop-up-window): Allow splitting internal
3101 windows. Check whether a live window was created.
3102 (display-buffer-other-window-means-other-frame)
3103 (display-buffer-normalize-arguments): Rename to
3104 display-buffer-normalize-argument and rewrite. Set the
3105 other-window specifier.
3106 (display-buffer-normalize-special): New function.
3107 (display-buffer-normalize-options): Rename to
3108 display-buffer-normalize-default and rewrite.
3109 (display-buffer-normalize-options-inhibit): Remove.
3110 (display-buffer-normalize-specifiers): Rewrite.
3111 (display-buffer): Process other-window specifier and call
3112 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3113 more faithfully.
b796c9b7 3114 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3115 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3116 (display-buffer-in-window, display-buffer-alist-set):
3117 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3118 <tassilo@member.fsf.org>.
3119
2d43b8c9
LL
31202011-07-09 Leo Liu <sdl.web@gmail.com>
3121
3122 * register.el (insert-register): Restore accidental change on
3123 2011-06-26. (Bug#9028)
3124
7f9b7c53
GM
31252011-07-09 Glenn Morris <rgm@gnu.org>
3126
3127 * subr.el (remq): Handle the empty list. (Bug#9024)
3128
f042cfd8
AS
31292011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3130
3131 * mail/sendmail.el (send-mail-function): No longer delay custom
3132 initialization.
3133 * custom.el (custom-initialize-delay): Doc fix.
3134
856b2f11
SM
31352011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3138
afae1d68
MA
31392011-07-08 Michael Albinus <michael.albinus@gmx.de>
3140
3141 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3142 human-friendly prompt.
3143
0757af94
SM
31442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3147 provided by a particular plugin.
3148
d760b731
LMI
31492011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150
3151 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3152 save customizations (with "emacs -Q"), just set the variable
3153 instead of erroring out.
3154
3155 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3156
cd79ce90
JL
31572011-07-08 Juri Linkov <juri@jurta.org>
3158
3159 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3160 (archive-zip-update-case): Use 7z if found by `executable-find'.
3161 The order of searching the available programs is the same as in
3162 `archive-zip-extract' (bug#8968).
3163
14cc04aa
CY
31642011-07-07 Chong Yidong <cyd@stupidchicken.com>
3165
3166 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3167 (menu-bar-options-menu): Tweak descriptions.
3168
0a1848ec
LMI
31692011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3170
3171 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3172 menu items into verb phrases (bug#1421). Also refill to fit under
3173 80 columns.
3174
f5bd0689
CY
31752011-07-07 Chong Yidong <cyd@stupidchicken.com>
3176
538e85c6
CY
3177 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3178 (Info-read-node-name): Doc fix (Bug#1084).
3179
f5bd0689
CY
3180 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3181 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3182 (end-of-sexp, beginning-of-sexp)
3183 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3184 (forward-symbol, forward-same-syntax, word-at-point)
3185 (sentence-at-point): Doc fix (Bug#1144).
3186
56ec5115
LMI
31872011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3188
f3f8e37f
LMI
3189 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3190 should cover it (bug#1281).
3191
0757af94 3192 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3193
12b9eb35
LMI
3194 * net/network-stream.el (network-stream-open-starttls): If gnutls
3195 negotiation fails, then possibly try again with a non-encrypted
3196 connection (bug#9017).
3197
56ec5115
LMI
3198 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3199 be used.
3200
c2f9aec8
RS
32012011-07-07 Richard Stallman <rms@gnu.org>
3202
3203 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3204 property, and handle its changed format.
3205 Look for the correct line number.
3206 Use file's line contents (but not past first =) to find
3207 correct line in message.
3208
ef7b981d 32092011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3210
3211 * international/characters.el (build-unicode-category-table):
3212 Delete it.
0757af94 3213 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3214
0757af94 3215 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3216 to src/chartab.c.
3217 (get-char-code-property): Call unicode-property-table-internal to
3218 load a file. Call get-unicode-property-internal where necessary.
3219 (put-char-code-property): Call unicode-property-table-internal to
3220 load a file. Call put-unicode-property-internal where necessary.
3221 put-unicode-property-internal where necessary.
0757af94
SM
3222 (char-code-property-description):
3223 Call unicode-property-table-internal to load a file.
c805dec0
KH
3224
3225 * international/charprop.el:
3226 * international/uni-bidi.el:
3227 * international/uni-category.el:
3228 * international/uni-combining.el:
3229 * international/uni-comment.el:
3230 * international/uni-decimal.el:
3231 * international/uni-decomposition.el:
3232 * international/uni-digit.el:
3233 * international/uni-lowercase.el:
3234 * international/uni-mirrored.el:
3235 * international/uni-name.el:
3236 * international/uni-numeric.el:
3237 * international/uni-old-name.el:
3238 * international/uni-titlecase.el:
3239 * international/uni-uppercase.el: Regenerate.
3240
3241 * loadup.el: Load international/charprop.el before
3242 international/characters.
3243
e14b388a
CY
32442011-07-07 Chong Yidong <cyd@stupidchicken.com>
3245
3246 * window.el (next-buffer, previous-buffer): Signal an error if
3247 called from a minibuffer window.
3248
3249 * bindings.el: Revert 2011-07-04 change.
3250
354cf0ba
RS
32512011-07-06 Richard Stallman <rms@gnu.org>
3252
3253 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3254 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3255 Treat markers like ints.
3256 (rmail-mime-entity): Doc fix.
3257
a48868a7
LMI
32582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3259
4906cd3d
LMI
3260 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3261 defcustom again for backwards compatibility.
3262
e0457abe
LMI
3263 * simple.el (shell-command-on-region): Fill.
3264
d67f7e1f
LMI
3265 * dired-aux.el (dired-kill-line): Add a doc string.
3266
fe204702
LMI
3267 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3268 to "\\sw\\|\\s_" (bug#358).
3269
a48868a7
LMI
3270 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3271 (dired-unmark-backward): Ditto.
3272 (dired-flag-backup-files): Ditto.
3273
3274 * dired-x.el (dired-mark-sexp): Ditto.
3275
aa8a705c
RS
32762011-07-06 Richard Stallman <rms@gnu.org>
3277
3278 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3279 (rmail-mime-entity): New arg TRUNCATED.
3280 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3281 New functions.
3282 (rmail-mime-save): Warn if entity is truncated.
3283 (rmail-mime-toggle-hidden): Likewise, for showing.
3284 (rmail-mime-process-multipart): Record when an entity is truncated.
3285
a9a936b9
RS
3286 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3287 if ENTITY is a string.
3288
1f2b92cb
LMI
32892011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3290
f4f73198 3291 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3292 of faces when `M-C-x'-ing their definitions (bug#8378).
3293 Also clean up the code slightly.
f4f73198 3294
12b16734
LMI
3295 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3296 because that makes the colours go away.
3297
f0691d22
LMI
3298 * mail/sendmail.el (send-mail-function): Change the default to
3299 `sendmail-query-once'.
9e87df06 3300 (sendmail-query-once): Add an autoload cookie.
f0691d22 3301
1f2b92cb
LMI
3302 * net/network-stream.el (network-stream-open-starttls): Try using
3303 a plain connection even if the server offered STARTTLS, and we
3304 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3305 capability. This should make smtpmail.el work in slightly more
3306 configurations.
3307
1cdd2a1b
MA
33082011-07-06 Michael Albinus <michael.albinus@gmx.de>
3309
3310 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3311 New defun.
3312 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3313
fbcc67e2
MM
33142011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3315
3316 * progmodes/sql.el: Version 3.0
0757af94 3317 (sql-product-alist): Add product :completion-object,
fbcc67e2 3318 :completion-column, and :statement attributes.
0757af94 3319 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3320 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3321 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3322 ansi keywords.
3323 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3324 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3325 (sql-oracle-show-reserved-words): New function for development.
3326 (sql-product-font-lock): Simplify for source code buffers.
3327 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3328 New functions.
3329 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3330 (sql-mode-map): Add statement movement functions.
3331 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3332 New variable.
fbcc67e2
MM
3333 (sql-statement-regexp, sql-beginning-of-statement)
3334 (sql-end-of-statement, sql-signum): New functions.
0757af94 3335 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3336 (sql-show-sqli-buffer): Bug fix.
3337 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3338 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3339 with sql-interactive-mode.
3340 (sql-save-connection): Save buffer local settings.
0757af94 3341 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3342 (sql-product-interactive): Bug fix.
3343 (sql-preoutput-hold): New variable.
3344 (sql-interactive-remove-continuation-prompt): Bug fixes.
3345 (sql-debug-redirect): New variable.
3346 (sql-str-literal): New function.
3347 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3348 Redesign.
fbcc67e2
MM
3349 (sql-oracle-save-settings, sql-oracle-restore-settings)
3350 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3351 (sql-completion-object, sql-completion-column)
3352 (sql-completion-sqlbuf): New variables.
3353 (sql-build-completions-1, sql-build-completions)
3354 (sql-try-completion): New functions.
3355 (sql-read-table-name): Use them.
3356 (sql-contains-names): New buffer local variable.
3357 (sql-list-all, sql-list-table): Use it.
3358 (sql-oracle-completion-types): New variable.
3359 (sql-oracle-completion-object, sql-sqlite-completion-object)
3360 (sql-postgres-completion-object): New functions.
3361
d4eaeab1
GM
33622011-07-06 Glenn Morris <rgm@gnu.org>
3363
3364 * window.el (pop-to-buffer): Doc fix.
3365
322b7dab 33662011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3367
3368 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3369
322b7dab 33702011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3371
322b7dab 3372 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3373
322b7dab 3374 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3375
605dd5bf
CY
33762011-07-05 Chong Yidong <cyd@stupidchicken.com>
3377
3378 * button.el (button): Inherit from link face. Suggested by Dan
3379 Nicolaescu.
3380
7dbfa719
SM
33812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3db614b0
SM
3383 * progmodes/gdb-mi.el: Fit in 80 columns.
3384 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3385 switch-to-buffer.
3386
7dbfa719
SM
3387 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3388 if imenu is simply not configured (bug#8941).
3389
919d884a
KM
33902011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3391
3392 * allout.el (allout-post-undo-hook): New allout outline-change
3393 event hook to signal undo activity.
3394 (allout-post-command-business): Run allout-post-undo-hook if an
3395 undo just occurred.
7dbfa719
SM
3396 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3397 * allout-widgets.el (allout-widgets-after-undo-function):
3398 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3399 in the vicinity of an undo.
3400 (allout-widgets-mode): Include allout-widgets-after-undo-function
3401 on the new allout-post-undo-hook.
3402
450a0f09
SM
34032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3406 Let define-derived-mode define it.
3407 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3408 cycles of abbrev-table inheritance (bug#8998).
3409
2de69e00
RW
34102011-07-05 Roland Winkler <winkler@gnu.org>
3411
3412 * textmodes/bibtex.el: Add support for biblatex.
3413 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3414 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3415 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3416 (bibtex-entry-alist, bibtex-field-alist): New variables.
3417 (bibtex-entry-field-alist): Obsolete alias for
3418 bibtex-BibTeX-entry-alist.
3419 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3420 (bibtex-set-dialect): New command.
3421 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3422 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3423 Bind via bibtex-set-dialect.
2de69e00
RW
3424 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3425 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3426 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3427 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3428 Define via bibtex-set-dialect.
450a0f09
SM
3429 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3430 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3431 (bibtex-vec-push, bibtex-vec-incr): New functions.
3432 (bibtex-format-entry, bibtex-field-list)
3433 (bibtex-print-help-message, bibtex-validate)
3434 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3435
2dcdbdd9
SM
34362011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * progmodes/compile.el (compilation-goto-locus):
3439 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3440 * bs.el (bs-cycle-next, bs-cycle-previous):
3441 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3442 * bindings.el (mode-line-other-buffer):
3443 * autoinsert.el (auto-insert):
3444 * arc-mode.el (archive-extract):
3445 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3446
b27640fe
JB
34472011-07-05 Juanma Barranquero <lekktu@gmail.com>
3448
3449 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3450 Fix check of `emacs-lock-unlockable-modes'.
3451 Coerce true values of `emacs-lock--try-unlocking' to t.
3452
53bbe3ad
JB
34532011-07-05 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3456 * emacs-lock.el: New file.
3457
1d3cdbc7
JD
34582011-07-05 Julien Danjou <julien@danjou.info>
3459
3460 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3461 than `boundp' to check if face is set.
3462
9173deec
JB
34632011-07-05 Juanma Barranquero <lekktu@gmail.com>
3464
3465 * register.el (registerv-make):
3466 * window.el (window-min-height): Fix typos in docstrings.
3467
869795d6
JD
34682011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3469
9173deec 3470 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3471 Update doc string.
3472
b768cdcd
JB
34732011-07-04 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * server.el (server-execute): Catch quit and call
3476 `server-return-error' to pass the error back to emacsclient and
3477 close the connection (bug#8942).
3478
13aa217b
KM
34792011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3480
3481 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3482 insecure exception for current topic. Also note that auto-saves
3483 are handled differently.
3484
3485 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3486 State variables for tracking auto-save inhibition situation.
3487
3488 (allout-write-contents-hook-handler): Rename from
3489 'allout-write-file-hook-handler', and describe how it depends on
3490 write-contents-functions sensitivity to non-nil value to prevent
3491 file write.
3492
3493 (allout-auto-save-hook-handler): Remove. auto-save does not check
3494 this in individual buffers, only in the starting buffer, so this
3495 is not the right way for us to inhibit auto-save in a buffer
3496 according to its condition.
3497
3498 (allout-mode): Use new allout-write-contents-hook-handler, and
3499 only with write-contents-functions. Remove auto-save provisions -
3500 they're implemented elsewhere.
3501
3502 (allout-before-change-handler): If undo is in progress, note that
3503 for attention of allout-post-command-business.
3504
3505 (allout-post-command-business): If the command we're following was
3506 an undo, check for change in the status of encrypted items and
3507 adjust auto-save inhibitions accordingly.
3508
3509 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3510 according to whether there are or aren't any plain-text topics
3511 pending encryption.
3512
2dcdbdd9
SM
3513 (allout-inhibit-auto-save-info-for-decryption):
3514 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3515 there are plain-text topics pending encryption.
3516
3517 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3518 buffer-saved-size and some allout state to not inhibit auto-saves
3519 if there are no longer any plain-text topics pending encryption.
3520
0757af94
SM
3521 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3522 No longer provide for exemption of the current topic.
13aa217b 3523
ac89b32c
JL
35242011-07-04 Juri Linkov <juri@jurta.org>
3525
3526 Add 7z operations to delete and save changed members (bug#8968).
3527 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3528 New defcustoms.
3529 (archive-7z-write-file-member): New function.
3530 (archive-7z-summarize): Fix the number of dashes in the
3531 listing output.
3532
8fa39615
SM
35332011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3536 (bug#8958).
3537
2f11b3f1
CY
35382011-07-04 Chong Yidong <cyd@stupidchicken.com>
3539
d66fef2b
CY
3540 * bindings.el: Ignore next-buffer and previous-buffer in
3541 minibuffer-local-map.
3542
2f11b3f1
CY
3543 * font-lock.el (font-lock-builtin-face): Change light background
3544 color to dark slate blue (Bug#6693).
3545
f932a347
WD
35462011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3547
3548 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3549
c8af70e1
SM
35502011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3553 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3554 Add switch-to-buffer.
3555
f158badc
LMI
35562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3557
3558 * isearch.el (isearch-search-fun-function): Clarify further the
3559 meaning of the function returned.
3560
6d95bd46
MA
35612011-07-04 Michael Albinus <michael.albinus@gmx.de>
3562
3563 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3564
3565 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3566 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3567 Use it.
3568 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3569 `tramp-default-remote-path' does not exist.
3570 (tramp-send-command-and-read): New optional argument NOERROR.
3571 (tramp-open-connection-setup-interactive-shell)
3572 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3573 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3574 (tramp-process-sentinel): Flush also process' connection property.
3575 (tramp-sh-handle-start-file-process): Do not set process
3576 sentinel. It is done now ...
3577 (tramp-maybe-open-connection): ... here. (Bug#8929)
3578
909e6b67
MK
35792011-07-04 MON KEY <monkey@sandpframing.com>
3580
3581 * play/animate.el (animate-string): Doc fixes and allow changing
3582 the buffer name (bug#5417).
3583
35842011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
c8af70e1 3586 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3587
f34755dc
PE
35882011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3589
396cec72
PE
3590 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3591 This is simpler and helps future-proof the code.
3592 (timer-until): Use time-subtract and float-time.
08235028 3593 (timer--time-less-p): Use time-less-p.
f34755dc 3594
56e6cc31
JB
35952011-07-04 Juanma Barranquero <lekktu@gmail.com>
3596
3abb79e5
JB
3597 * type-break.el (timep): Use the value of `float-time' to avoid a
3598 byte-compiler warning.
3599
56e6cc31
JB
3600 * server.el (server-eval-and-print): Return any result, even nil.
3601
7b9430b4
PE
36022011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3603
3604 * type-break.el: Accept time formats that the builtins accept.
3605 (timep, type-break-time-difference): Accept any format that
3606 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3607 This is simpler and helps future-proof the code.
3608 (type-break-time-difference): Round rather than ignoring
3609 subseconds components.
3610
3034e9e7
LMI
36112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3612
3613 * info.el (Info-apropos-matches): Make non-interactive, since it
3614 doesn't seem to do anything useful as a command (bug#8829).
3615
1485f4c0
CY
36162011-07-03 Chong Yidong <cyd@stupidchicken.com>
3617
3618 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3619 Move from faces.el.
1485f4c0
CY
3620 (frame-default-terminal-background): New function.
3621
3622 * custom.el (custom-push-theme): Don't record faces in `changed'
3623 theme; this doesn't work correctly for per-frame face settings.
3624 (disable-theme): Use face-set-after-frame-default to reset faces.
3625 (custom--frame-color-default): New function.
3626
9fa3dd45
LMI
36272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3628
c8af70e1 3629 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3630 (bug#8769).
3631
6cbbc20c
KR
36322011-03-29 Kevin Ryde <user42@zip.com.au>
3633
3634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3635 `perl-Test2' extend to match possible "fail #N" rep count
3636 (bug#8377).
3637
c7f98048
LMI
36382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3639
65676592
LMI
3640 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3641 `smtpmail-via-smtp' now returns the error instead of nil.
3642
c7f98048
LMI
3643 * isearch.el (isearch-search-fun-function): Clarify the doc string
3644 (bug#8101).
3645
56e6cc31 36462011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3647
3648 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3649 unnecessary spaces (bug#8987).
3650
2b216704
LMI
36512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3652
3653 * net/network-stream.el (open-network-stream): Use the
3654 :end-of-capability command thoughout.
3655
36562011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3657
3658 * net/network-stream.el (open-network-stream): Add the
3659 :end-of-capability command parameter, used by pop3.el.
3660
36adf6ce
LMI
36612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3662
1ca0da0e
LMI
3663 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3664
fc00f69c
LMI
3665 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3666 for list)" (bug#6475).
3667
28fd8759
LMI
3668 * files.el (file-expand-wildcards): Ignore non-readable
3669 sub-directories while trying to find matches instead of signalling
3670 an error (bug#6297).
3671
0dd8b6da
LMI
3672 * man.el (Man-reference-regexp): Allow matching possible
3673 word-wrapped references (bug#6289).
3674
ce1438d6
LMI
3675 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3676 for consistency with the other vc buffers (bug#6197).
3677 (vc-checkin): Ditto.
3678
3679 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3680
36adf6ce
LMI
3681 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3682
e83cc1f7
LMI
36832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3684
8a20ca4c
LMI
3685 * custom.el (defcustom): Clarify that :set is only used in the
3686 Customize user interface (bug#6089).
3687
83319045
LMI
3688 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3689 associated with a file, refuse to run instead of erroring out
3690 (bug#6084).
3691
a8392169
LMI
3692 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3693 the doc string, since it appears that using `fill-column' always
3694 controls the width (bug#7845).
3695
e83cc1f7
LMI
3696 * simple.el (shell-command-on-region): Say where the error output
3697 went if `shell-command-default-error-buffer' is set (bug#6857).
3698
e47ca23b
KM
36992011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3700
3701 * allout.el (allout-yank-processing): Adjust cursor position for
3702 backwards-deleted space.
3703
3704 (allout-rebullet-heading): Register changes with
3705 allout-exposure-changed-hook, so the modified topic is properly
3706 decorated.
3707
5cf56143
LMI
37082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3709
08549772
LMI
3710 * minibuffer.el (completion-in-region): Document PREDICATE
3711 (bug#7136).
3712
48e96771
LMI
3713 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3714 of keyword/argument pairs (bug#6904).
3715
c8af70e1
SM
3716 * replace.el (multi-occur):
3717 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3718
e17d05e2
LMI
37192011-07-02 Drew Adams <drew.adams@oracle.com>
3720
3721 * dired.el (dired-mark-if): Make the message about whether it's
3722 marking or unmarking clearer (bug#8523).
3723
063b0e45
LMI
37242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3725
3726 * disp-table.el (display-table-print-array): New function.
3727 (describe-display-table): Use it to print the vectors more pretty
3728 (Bug#8859).
3729
28545e04
MR
37302011-07-02 Martin Rudalics <rudalics@gmx.at>
3731
3732 * window.el (window-state-get-1): Don't assign clone numbers.
3733 Add clone-of item to list of window parameters.
3734 (window-state-put-2): Don't process clone numbers.
3735 (display-buffer-alist): Fix doc-string.
3736
3349e122
SM
37372011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * subr.el (remq): Don't allocate if it's not needed.
3740 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3741 (keymap--merge-bindings): New functions.
3742 (keymap-canonicalize): Use them to refine the canonicalization.
3743 * minibuffer.el (minibuffer-local-completion-map)
3744 (minibuffer-local-must-match-map): Move initialization from C.
3745 (minibuffer-local-filename-completion-map): Move initialization from C;
3746 don't inherit from anything here.
3747 (minibuffer-local-filename-must-match-map): Make obsolete.
3748 (completing-read-default): Use make-composed-keymap to combine
3749 minibuffer-local-filename-completion-map with either
3750 minibuffer-local-must-match-map or
3751 minibuffer-local-filename-completion-map.
3752
d224ac83
GM
37532011-07-01 Glenn Morris <rgm@gnu.org>
3754
3de63bf8
GM
3755 * type-break.el (type-break-time-sum): Use dolist.
3756
d224ac83
GM
3757 * textmodes/flyspell.el (flyspell-word-search-backward):
3758 Replace CL function.
3759
1a1e3f32
SM
37602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3761
fe3f64d5
SM
3762 * mouse.el (mouse--strip-first-event): New function.
3763 (function-key-map): Use it to map fringe clicks to normal clicks
3764 by default.
3765
eb604e34
SM
3766 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3767 (vc-bzr-revision-completion-table): Add support for annotate and date.
3768
1a1e3f32
SM
3769 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3770 inherit from parent.
3771
5bd35902
LMI
37722011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3773
ace6c69c 3774 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3775 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3776
191e2bed
LMI
3777 * dired.el (dired-mode): Fix up the doc string as suggested by
3778 Drew Adams (bug#8817).
3779
5bd35902
LMI
3780 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3781 cookie, since the manual says that it should be possible to add
3782 this function to `find-file-hook' (bug#8709).
3783
eee8207a
TZ
37842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3785
3786 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3787 here. Noted Ted Zlatanov as the maintainer.
3788 (cfengine-common-settings, cfengine-common-syntax): New functions
3789 to set up common things between `cfengine-mode' and
3790 `cfengine3-mode'.
3791 (cfengine3-mode): New mode.
3792 (cfengine3-defuns cfengine3-defuns-regex
3793 (cfengine3-class-selector-regex cfengine3-category-regex)
3794 (cfengine3-vartypes cfengine3-font-lock-keywords)
3795 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3796 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3797
36b148cf
MA
37982011-07-01 Michael Albinus <michael.albinus@gmx.de>
3799
3800 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3801
3802 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3803
0bf4ba9a
MR
38042011-07-01 Martin Rudalics <rudalics@gmx.at>
3805
3806 * window.el (same-window-buffer-names, same-window-regexps)
3807 (same-window-p, special-display-frame-alist)
3808 (special-display-popup-frame, special-display-function)
3809 (special-display-buffer-names, special-display-regexps)
3810 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3811 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3812 (split-window-preferred-function, split-height-threshold)
3813 (split-width-threshold, even-window-heights)
3814 (display-buffer-mark-dedicated, window-splittable-p)
3815 (split-window-sensibly, window-safely-shrinkable-p):
3816 Un-obsolete.
3817 (display-buffer): Don't spread args with function specifier
3818 because special-display-popup-frame won't like it.
3819
35837f51
PE
38202011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3821
d0672f86
PE
3822 Time-stamp simplifications and fixes.
3823 These improve accuracy slightly, and future-proof the code
3824 against some potential changes to current-time format.
3825
b9444d97
PE
3826 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3827 by using time-since and float-time.
3828
0ef923dc
PE
3829 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3830 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3831 + NNN microseconds".
3832
2f81380d
PE
3833 * type-break.el (type-break-time-sum): Rewrite using time-add.
3834
845b5c3e
PE
3835 * play/hanoi.el (hanoi-current-time-float): Remove.
3836 All uses replaced by float-time.
3837
ee6f1be0
PE
3838 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3839 This yields a more-accurate answer.
3840 (rng-time-to-float): Remove; no longer needed.
3841
fe955043
PE
3842 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3843
5777162a
PE
3844 * calendar/timeclock.el (timeclock-seconds-to-time):
3845 Defalias to seconds-to-time, since they're the same thing.
3846
3103f8b6 3847 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3848 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3849 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3850
0e61a35f
SM
38512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * window.el (bury-buffer): Don't iconify the only frame.
3854 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3855 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3856
ddd63a1e
CY
38572011-07-01 Chong Yidong <cyd@stupidchicken.com>
3858
0e61a35f
SM
3859 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3860 Add mouse-yank-primary.
ddd63a1e 3861
055f4923
TZ
38622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3863
3864 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3865
6a2fb145
SM
38662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3869 (find-library-name): Use it to find relative load names when provided
3870 absolute file name (bug#8803).
3871
fd4983f2
LMI
38722011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3873
887d14ad
LMI
3874 * textmodes/flyspell.el (flyspell-word): Consider words that
3875 differ only in case as potential doublons (bug#5687).
3876
c53dc7fc
LMI
3877 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3878 Remove two rather uninteresting debugging-like messages to make
3879 debbugs.el more silent.
3880
fd4983f2
LMI
3881 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3882 a password-like phrase.
3883
b14c0c55
AM
38842011-06-30 Mastake YAMATO <yamato@redhat.com>
3885
3886 * progmodes/cc-guess.el: New file.
3887
6a2fb145 3888 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3889
3890 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3891 derived from `c-basic-common-init'.
3892
3893 * progmodes/cc-mode.el (top-level): Require cc-guess.
3894 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3895
1fa280a3
LM
38962011-06-30 Lawrence Mitchell <wence@gmx.li>
3897
3898 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3899
e6597158
AM
39002011-06-30 Alan Mackenzie <acm@muc.de>
3901
1fa280a3
LM
3902 * progmodes/cc-engine.el (c-guess-continued-construct):
3903 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3904 lock is disabled. Name this case as "CASE G".
3905
68ba37fb
KM
39062011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3907
3908 * allout.el (allout-yank-processing): Fix injection of extra space
3909 between bullet and non-whitespace character in first topic when
3910 pasting, ensuring that the actual spacing in the pasted topic
3911 following the bullet char is preserved. This extra space was
3912 causing pasted encrypted topics to get a decrypted status even
3913 when the content was actually still encrypted. Now the decryption
3914 status from before the paste is preserved.
3915
3916 (allout-flag-region): Set all allout overlays so they evaporate
3917 when reduced to zero length (evanescent), to prevent overlay
3918 leakage.
3919
887a0b34
GM
39202011-06-30 Glenn Morris <rgm@gnu.org>
3921
94b9acce
GM
3922 * w32-fns.el (w32-charset-info-alist): Declare.
3923
1d9b46d4
GM
3924 * find-dired.el (find-grep-options): Simplify.
3925
cc232200
GM
3926 * term/ns-win.el (ns-set-resource): Declare.
3927
28e77c46
GM
3928 * ses.el (row, col): Declare dynamic variables honestly.
3929
887a0b34
GM
3930 * textmodes/reftex-parse.el (index-tags): Declare.
3931
658d8eb8
CY
39322011-06-30 Chong Yidong <cyd@stupidchicken.com>
3933
3934 * cus-edit.el (customize-push-and-save): New function.
3935
3936 * files.el (hack-local-variables-confirm): Use it.
3937
1fa280a3
LM
3938 * custom.el (load-theme): New arg NO-CONFIRM.
3939 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3940 (custom-enabled-themes): Doc fix.
3941
3942 * cus-theme.el (customize-create-theme)
3943 (custom-theme-merge-theme): Callers to load-theme changed.
3944
bb617717
LMI
39452011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
d61bdd5d
LMI
3947 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3948 short URLs have at least one dot in them (bug #7614).
3949
bb617717
LMI
3950 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3951 nil, because using a pty is apparently too slow (bug #895).
3952
2f31f37a
LMI
39532011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3954
3955 * mail/sendmail.el (sendmail-query-once): New function.
3956 (sendmail-query-once-function): New variable.
3957
3076b24e
GM
39582011-06-29 Glenn Morris <rgm@gnu.org>
3959
faf2a174
GM
3960 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3961
3076b24e
GM
3962 * ses.el (top-level): Require cl when compiling.
3963 (ses-set-localvars): Fix error statement.
3964 Call it at compile time to silence a storm of warnings.
3965
5386012d
MR
39662011-06-29 Martin Rudalics <rudalics@gmx.at>
3967
3968 * window.el (normalize-live-buffer): Rename to
3969 window-normalize-buffer.
3970 (normalize-live-frame): Rename to window-normalize-frame.
3971 (normalize-any-window): Rename to window-normalize-any-window.
3972 (normalize-live-window): Rename to window-normalize-live-window.
3973 (make-window-atom): Rename to window-make-atom.
3974 (window-resize-reset): Rename to window--resize-reset.
3975 (window-resize-reset-1): Rename to window--resize-reset-1.
3976 (resize-mini-window): Rename to window--resize-mini-window.
3977 (resize-subwindows-skip-p): Rename to
3978 window--resize-subwindows-skip-p.
3979 (resize-subwindows-normal): Rename to
3980 window--resize-subwindows-normal.
3981 (resize-subwindows): Rename to window--resize-subwindows.
3982 (resize-other-windows): Rename to window--resize-siblings.
3983 (resize-this-window): Rename to window--resize-this-window.
3984 (resize-root-window): Rename to window--resize-root-window.
3985 (resize-root-window-vertically): Rename to
3986 window--resize-root-window-vertically.
3987 (normalize-buffer-to-display): Rename to
3988 window-normalize-buffer-to-display.
3989 (normalize-buffer-to-switch-to): Rename to
3990 window-normalize-buffer-to-switch-to.
3991 Correspondingly update all callers of the functions listed
3992 above.
3993 (display-buffer-alist, display-buffer-normalize-arguments)
3994 (display-buffer-normalize-options, display-buffer)
3995 (display-buffer-alist-set): Use "function" instead of
3996 "fun-with-args".
3997
1176868d
CY
39982011-06-28 Chong Yidong <cyd@stupidchicken.com>
3999
4000 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4001 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4002 debbugs.gnu.org. Mention acknowledgment email.
4003
20a7a65f
LMI
40042011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005
4006 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4007 buffer multibyteness, since it shouldn't matter.
4008
5f45cca5
MR
40092011-06-28 Martin Rudalics <rudalics@gmx.at>
4010
4011 * window.el (display-buffer-in-side-window): Handle dedicated
4012 windows as in display-buffer-reuse-window.
4013 (display-buffer-normalize-alist): Use value of override
4014 specifier.
4015 (display-buffer-normalize-specifiers): Use value of
4016 other-window-means-other-frame specifier.
4017 (display-buffer-alist): Rewrite some texts in widgets.
4018 (display-buffer): Spread arguments when calling function
4019 specified by fun-with-args.
4020
ad85fe1f
DD
40212011-06-28 Deniz Dogan <deniz@dogan.se>
4022
1fa280a3
LM
4023 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4024 Unnest `let'.
da68c4c8 4025
ad85fe1f
DD
4026 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4027 selectors (Bug#5732).
ec49bd31 4028 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4029
a08cc025
JA
40302011-06-27 Jari Aalto <jari.aalto@cante.net>
4031
4032 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4033 (eshell-ls-date-format): New defcustom.
4034 (eshell-ls-file): Use it.
4035
e2b551c5
SM
40362011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4039
8982b231
KY
40402011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4041
4042 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4043 (ange-ftp-make-tmp-name): New arg.
4044 (ange-ftp-file-local-copy): Use it.
4045
36c9fa27
J
40462011-06-27 Jambunathan K <kjambunathan@gmail.com>
4047
4048 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4049 no-conversion (Bug#8870).
4050
d68443dc
MR
40512011-06-27 Martin Rudalics <rudalics@gmx.at>
4052
4053 * window.el (window-right, window-left, window-child)
4054 (window-child-count, window-last-child)
4055 (window-iso-combination-p, walk-window-tree-1)
4056 (window-atom-check-1, window-tree-1, delete-window)
4057 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4058 new naming conventions - window-vchild, window-hchild,
4059 window-next and window-prev are now called window-top-child,
4060 window-left-child, window-next-sibling and window-prev-sibling
4061 respectively.
d615d6d2
MR
4062 (resize-window-reset): Rename to window-resize-reset.
4063 (resize-window-reset-1): Rename to window-resize-reset-1.
4064 (resize-window): Rename to window-resize.
4065 (window-min-height, window-min-width)
4066 (resize-mini-window, resize-this-window, resize-root-window)
4067 (resize-root-window-vertically, adjust-window-trailing-edge)
4068 (enlarge-window, shrink-window, maximize-window)
4069 (minimize-window, delete-window, quit-restore-window)
4070 (split-window, balance-windows, balance-windows-area-adjust)
4071 (balance-windows-area, window-state-put-2)
4072 (display-buffer-even-window-sizes, display-buffer-set-height)
4073 (display-buffer-set-width, set-window-text-height)
4074 (fit-window-to-buffer): Rename all "resize-window" prefixed
4075 calls to use the "window-resize" prefix convention.
4076 (display-buffer-alist): Fix symbol for label specifier.
4077 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4078 corresponding specifier.
4079 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4080
b6458526
VB
40812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4082
4083 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4084 convention.
4085 (ses-call-printer): Does not pass an empty string to formatter when the
4086 cell is empty to keep from barking printer Calc math-format-value.
4087
d31fd9ac
RS
40882011-06-27 Richard Stallman <rms@gnu.org>
4089
43d5bf84
RS
4090 * battery.el (battery-mode-line-limit): New variable.
4091 (battery-update): Handle it.
4092
d31fd9ac
RS
4093 * mail/rmailmm.el (rmail-mime-process-multipart):
4094 Handle truncated messages.
4095
819a6054
GM
40962011-06-27 Glenn Morris <rgm@gnu.org>
4097
4098 * progmodes/flymake.el (flymake-err-line-patterns):
4099 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4100
cedc73f2
VB
41012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4102
819a6054 4103 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4104 (ses--clean-!, ses--clean-_): New functions.
4105 (ses-range): Add configurability of readout order, and conversion
4106 to Calc vector.
4107
5e5d49b6
VB
4108 * ses.el (ses-repair-cell-reference-all): New function.
4109 (ses-cell-symbol): Set macro as safe, so that it can be used in
4110 formulas.
4111
56e6cc31 4112 * ses.el: Update cycle detection algorithm.
90ca8b49 4113 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4114 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4115 (ses-set-localvars): New function.
4116 (ses-make-cell): Add property-list as a cell element.
4117 (ses-cell-property-get-fun, ses-cell-property-get)
4118 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4119 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4120 New functions.
90ca8b49
VB
4121 (ses-cell-property-set, ses-cell-property-pop)
4122 (ses-cell-property-get-handle): New macro.
4123 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4124 New aliases, used for code readability.
4125 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4126 cycle detection.
4127 (ses-self-reference-early-detection): New defcustom.
4128 (ses-formula-references): Robustify against self-refering cells.
4129 (ses-mode): Use ses-set-localvars.
4130 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4131 before lauching the update processing.
4132 (ses-initialize-Dijkstra-attempt): New function.
4133 (ses-recalculate-cell): Update for cycle detection based on
4134 Dijkstra algorithm.
4135
2bb63e81
VB
4136 * ses.el: Fix commenting and indenting convention.
4137
c9d29fb8
SM
41382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * bs.el (bs-cycle-next): Complete last change.
4141
d8e4b68b
JB
41422011-06-27 Drew Adams <drew.adams@oracle.com>
4143
4144 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4145
40098786
LMI
41462011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147
c9d29fb8
SM
4148 * net/network-stream.el (network-stream-open-starttls):
4149 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4150 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4151
40098786
LMI
4152 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4153 to binary to possibly avoid line encoding issues on Windows (among
4154 other things).
4155
468d09d4
LMI
41562011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4157
4158 * net/network-stream.el (open-network-stream): Return an :error
4159 saying what the problem was, if possible.
4160
4161 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4162 server.
4163
4164 * net/network-stream.el (network-stream-open-starttls): If we
4165 wanted to use STARTTLS, and the server offered it, but we weren't
4166 able to because we had no STARTTLS support, then close the connection.
4167 (open-network-stream): Return an :error element, if present.
4168
16f07dd7
CY
41692011-06-26 Chong Yidong <cyd@stupidchicken.com>
4170
88821ca0
CY
4171 * hl-line.el (hl-line-sticky-flag): Doc fix.
4172 (global-hl-line-sticky-flag): New option (Bug#8323).
4173 (global-hl-line-highlight): Obey it.
4174
16f07dd7
CY
4175 * vc/vc.el (vc-revert-show-diff): Default to t.
4176
6b5ccddf
KM
41772011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4178
c9d29fb8
SM
4179 * allout-widgets.el (allout-widgets-post-command-business):
4180 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4181 undecorated when an isearch is continued past, and isearch
4182 automatically collapses them. This leads to "widget leaks", where
4183 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4184 hidden widgets can slow down cursor travel, substantially.
4185 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4186 so we're doing without this nicety.
4187
4188 (allout-widgets-tally-string): Don't try to do a hash-table-count
4189 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4190 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4191 *Messages* when allout-widgets-maintain-tally is t.
4192
355f2e07
MR
41932011-06-26 Martin Rudalics <rudalics@gmx.at>
4194
4195 * window.el (display-buffer-normalize-argument): Rename to
4196 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4197 LABEL argument. Respect special-display-function when popping up
4198 a new frame. Fix code searching for a window showing the buffer
4199 on another frame.
c9d29fb8
SM
4200 (display-buffer-normalize-specifiers):
4201 Call display-buffer-normalize-arguments.
355f2e07
MR
4202 (display-buffer-in-window): Don't undedicate the window if its
4203 buffer remains the same.
4204 Reported by Drew Adams <drew.adams@oracle.com>.
4205 (display-buffer-alist): Add choice for same-window macro
4206 specfier.
4207 (display-buffer): Mention special meaning of LABEL argument in
4208 doc-string. Fix quoting. Don't pop up a new frame even as
4209 fallback.
4210
7ca8fc42
JB
42112011-06-26 Juanma Barranquero <lekktu@gmail.com>
4212
4213 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4214 avoid deleting the current window in some cases (bug#8911).
4215
bc312254
AS
42162011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4217
4218 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4219 (Bug#8934)
4220
2db18f3f
LMI
42212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222
c9d29fb8
SM
4223 * net/network-stream.el (network-stream-open-starttls):
4224 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4225 (network-stream-open-tls): Ditto.
4226
6302e0d3
LL
42272011-06-26 Leo Liu <sdl.web@gmail.com>
4228
4229 * register.el (registerv): New struct.
4230 (registerv-make): New function.
c9d29fb8
SM
4231 (jump-to-register, describe-register-1, insert-register):
4232 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4233 struct. (Bug#8415)
4234
5fdd4046
CY
42352011-06-26 Chong Yidong <cyd@stupidchicken.com>
4236
2afef60a
CY
4237 * vc/vc.el (vc-revert-show-diff): New defcustom.
4238 (vc-diff-internal): New arg specifying diff buffer.
4239 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4240 reuse an existing *vc-diff* buffer (Bug#8927).
4241
5fdd4046
CY
4242 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4243
e93db24a
GM
42442011-06-26 Glenn Morris <rgm@gnu.org>
4245
4246 * progmodes/f90.el (f90-critical-indent): New option.
4247 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4248 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4249 (f90-mode): Doc fix.
4250 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4251 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4252 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4253 (f90-match-end): Handle block, critical.
4254
eefff499
GM
42552011-06-25 Glenn Morris <rgm@gnu.org>
4256
f6ba4cc9
GM
4257 * calendar/diary-lib.el (diary-included-files): Doc fix.
4258 (diary-include-files): New function, extracted from
4259 diary-include-other-diary-files and diary-mark-included-diary-files.
4260 (diary-include-other-diary-files, diary-mark-included-diary-files):
4261 Just call diary-include-files.
4262 (diary-mark-entries): Reset diary-included-files on first call.
4263
16712304
GM
4264 * calendar/diary-lib.el (diary-mark-entries)
4265 (diary-mark-included-diary-files):
4266 Visit included diary-files in temp buffers.
4267
5d8e0d43
GM
4268 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4269 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4270 (f90-start-block-re, f90-imenu-generic-expression)
4271 (f90-looking-at-program-block-start, f90-no-block-limit):
4272 Add support for submodules.
4273
ccf7a5d5
GM
4274 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4275 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4276
11fdef7d 42772011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4278
4279 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4280 buffer-file-type before setting its value, to avoid disastrous
eefff499 4281 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4282
74f53697
JB
42832011-06-25 Juanma Barranquero <lekktu@gmail.com>
4284
4285 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4286
4287 * ses.el (ses-unload-function):
4288 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4289
4290 * proced.el (proced-unload-function):
4291 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4292
18a4ce5e
AR
42932011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4294
4295 * server.el (server-create-window-system-frame): Add parameters arg.
4296 (server-process-filter): Doc fix. Handle frame-parameters.
4297
519d22cc
JB
42982011-06-25 Juanma Barranquero <lekktu@gmail.com>
4299
4300 Fix bug#8730, bug#8781.
4301
4302 * loadhist.el (unload--set-major-mode): New function.
4303 (unload-feature): Use it.
4304
4305 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4306 (python-unload-function): New function.
4307
c206f5b0
SM
43082011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4311
f9ad64f3
GS
43122011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4313
4314 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4315 the candidates list.
4316
7d0da90e
JB
43172011-06-24 Juanma Barranquero <lekktu@gmail.com>
4318
4319 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4320
14b4e83d
RS
43212011-06-23 Richard Stallman <rms@gnu.org>
4322
4323 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4324 (rmail-variables): Set next-error-move-function.
4325 (rmail-what-message): Take argument POS.
4326 (rmail-next-error-move): New function.
4327
273d2baf
SM
43282011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4331 messages for adjacent non-terminals.
4332
56c2cc9a
RS
43332011-06-23 Richard Stallman <rms@gnu.org>
4334
4335 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4336 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4337 (rmail-start-mail): Don't specify use of rmail-mail-return;
4338 that's done by mail-bury now.
4339 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4340
d59eb518
MA
43412011-06-23 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4344 SIZE is a number.
4345
02cfc6d6
MR
43462011-06-23 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (get-lru-window, get-mru-window)
4349 (get-largest-window): Never return a minibuffer window.
4350 (display-buffer-pop-up-window): Fix a bug that could lead to
4351 reusing the minibuffer window.
4352 (display-buffer): Pass original specifier argument to
4353 display-buffer-function instead of the normalized one.
4354 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4355
4e323265
LL
43562011-06-22 Leo Liu <sdl.web@gmail.com>
4357
4358 * minibuffer.el (completing-read-function)
4359 (completing-read-default): Move from minibuf.c
4360
7a70468f
RS
43612011-06-22 Richard Stallman <rms@gnu.org>
4362
50718fc2
RS
4363 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4364 to Rmail even if not started by a special Rmail command.
4365
7a70468f
RS
4366 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4367 Copy the buffer currently showing just one message.
4368
297dde5a
RW
43692011-06-22 Roland Winkler <winkler@gnu.org>
4370
4371 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4372 (bibtex-clean-entry): First delete the old key so that a
4373 customized algorithm for generating the new key does not get
4374 confused by the old key.
4375 (bibtex-url): Obey regexp of first step.
4376 (bibtex-search-entries): Do not use add-to-list with local
4377 list-var.
4378
97bb1093
LMI
43792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4380
4381 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4382 stored a user name, then query for the password first, instead of
4383 waiting for SMTP to give an error message and the trying again.
4384
1c0f1a19
JD
43852011-06-22 Lawrence Mitchell <wence@gmx.li>
4386
4387 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4388 BUFFER in call-process.
4389
396f7c9d
LMI
43902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4391
4392 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4393 QUIT twice.
ddb7ffee
LMI
4394 (smtpmail-try-auth-methods): Require user name and password from
4395 auth-source.
396f7c9d 4396
8998d1b3
MR
43972011-06-22 Martin Rudalics <rudalics@gmx.at>
4398
4399 * window.el (display-buffer-default-specifiers)
4400 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4401 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4402 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4403
4404 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4405 (special-display-frame-alist, special-display-popup-frame):
4406 Remove duplicate declarations. These are now in window.el.
4407
4ea31e07
LMI
44082011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4409
c9d29fb8
SM
4410 * mail/smtpmail.el (smtpmail-via-smtp):
4411 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4412 server supports it. SMTP servers that support STARTTLS commonly
4413 require it.
4414
4415 * net/network-stream.el (network-stream-open-starttls): Support
4416 upgrading to STARTTLS always, even if we don't have built-in support.
4417 (open-network-stream): Add the :always-query-capabilies keyword.
4418
95f41d9a
LMI
4419 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4420 upgrades with `open-network-stream', and rely solely on
4421 auth-source for all credentials. Big changes throughout the file,
4422 but in particular:
c9d29fb8
SM
4423 (smtpmail-auth-credentials): Remove.
4424 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4425 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4426 MAIL FROM, too.
95f41d9a 4427
c9d29fb8
SM
4428 * net/network-stream.el (network-stream-open-starttls):
4429 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4430 STARTTLS.
4431 (auth-source): Require.
4432 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4433 (network-stream-certificate): Change cert-cert to cert and
4434 cert-key to key.
4ea31e07 4435
065ec2c7
MA
44362011-06-21 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/tramp-cache.el (top): Don't load the persistency file when
4439 "emacs -Q" has been called.
4440
cd93b359
DR
44412011-06-21 Tim Harper <timcharper@gmail.com>
4442
d8e4b68b
JB
4443 * term/ns-win.el (ns-initialize-window-system):
4444 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4445 resource to NO as it is not yet supported by the NS port.
4446
ae9c0411
JB
44472011-06-21 Juanma Barranquero <lekktu@gmail.com>
4448
4449 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4450 (list-dynamic-libraries): ...not here.
4451
7f3f739f
LL
44522011-06-21 Leo Liu <sdl.web@gmail.com>
4453
4454 * subr.el (sha1): Implement sha1 using secure-hash.
4455
327c8fb1
MR
44562011-06-21 Martin Rudalics <rudalics@gmx.at>
4457
4458 * window.el (display-buffer-alist): In default value do not
4459 enforce searching a window on any but the selected frame.
4460 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4461 (display-buffer-select-window): Remove function.
4462 (display-buffer-in-window): When a window on another frame gets
4463 reused, do not select it any more but just raise its frame if
4464 necessary (Bug#8851) and (Bug#8856).
4465 (display-buffer-normalize-options): Handle pop-up-frames related
4466 options more faithfully.
4467 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4468 window if it is on another frame.
c9d29fb8
SM
4469 (display-buffer-alist, display-buffer-default-specifiers):
4470 Don't make new frame unsplittable by default.
9e9de014
MR
4471 (display-buffer-normalize-argument): Fix doc-string typo and use
4472 'same-frame-other-window instead of 'other-window when associating
4473 with display-buffer-macro-specifiers.
327c8fb1 4474
7cf3f556
VB
44752011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4476
4477 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4478 New functions.
4479 (5x5-mode-map, 5x5-mode-menu): Bind them.
4480 (5x5-draw-grid): Tweak the solver's rendering.
4481
60a406cf
SM
44822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4485 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4486
d8e4b68b 44872011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4488
4489 * menu-bar.el: Use function variable instead of switch-to-buffer.
4490 (menu-bar-select-buffer-function): New variable.
60a406cf 4491 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4492
478d6f95
SM
44932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4496 variable's status.
4497
ca530739
JD
44982011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4499
4500 * x-dnd.el (x-dnd-version-from-flags)
4501 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4502 and long as number (Bug#8899).
4503 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4504
bcd70d97
SM
45052011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4506
60a406cf 4507 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4508 (completion-try-completion, completion-all-completions): Compute the
4509 metadata argument if it's missing; make it optional (bug#8795).
4510
60a406cf 4511 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4512 (widget-complete): Use new :completion-function property.
4513 (widget-completions-at-point): New function.
4514 (default): Use :completion-function instead of :complete.
60a406cf
SM
4515 (widget-default-completions): Rename from widget-default-complete;
4516 Rewrite.
bcd70d97
SM
4517 (widget-string-complete, widget-file-complete, widget-color-complete):
4518 Remove functions.
4519 (file, symbol, function, variable, coding-system, color):
4520 * international/mule-cmds.el (default-input-method, charset)
4521 (language-info-custom-alist):
4522 * cus-edit.el (face): Use new property :completions.
4523
4524 * progmodes/pascal.el (pascal-completions-at-point): New function.
4525 (pascal-mode): Use it.
4526 (pascal-mode-map): Use completion-at-point.
4527 (pascal-toggle-completions): Make obsolete.
4528 (pascal-complete-word, pascal-show-completions):
4529 * progmodes/octave-mod.el (octave-complete-symbol):
4530 Redefine as obsolete alias.
4531 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4532 Signal absence of completion info for old Octave,
4533 (inferior-octave-complete): Redefine as obsolete alias.
4534 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4535 (meta-completions-at-point): Rename from meta-complete-symbol and
4536 adapt it for use on completion-at-point-functions.
4537 (meta-common-mode): Use it.
4538 (meta-looking-at-backward, meta-match-buffer): Remove.
4539 (meta-complete-symbol): Redefine as obsolete alias.
4540 (meta-common-mode-map): Use completion-at-point.
4541 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4542 (makefile-mode-map): Use completion-at-point.
4543 (makefile-completions-at-point): Rename from makefile-complete and
4544 adapt it for use on completion-at-point-functions.
4545 (makefile-mode): Use it.
4546 (makefile-complete): Redefine as obsolete alias.
4547
aebf69c8
DD
45482011-06-20 Deniz Dogan <deniz@dogan.se>
4549
4550 * net/rcirc.el: Delete trailing whitespaces once and for all.
4551
bfbbb27d
DC
45522011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4553
4554 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4555
d264a46b
CY
45562011-06-19 Chong Yidong <cyd@stupidchicken.com>
4557
4ca009e5
CY
4558 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4559
d264a46b
CY
4560 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4561
fbf5b3ce
MR
45622011-06-19 Martin Rudalics <rudalics@gmx.at>
4563
4564 * window.el (display-buffer-other-window-means-other-frame):
4565 Call display-buffer-normalize-alist.
4566 (display-buffer-normalize-specifiers-1): Rename to
4567 display-buffer-normalize-argument. New argument other-frame.
4568 Rewrite.
4569 (display-buffer-normalize-specifiers-2): Rename to
4570 display-buffer-normalize-options.
4571 (display-buffer-normalize-alist-1): New function.
4572 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4573 display-buffer-normalize-alist.
4574 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4575 (display-buffer-normalize-options-inhibit): New variable.
4576 (display-buffer-normalize-specifiers): Rewrite calling
4577 display-buffer-normalize-alist,
4578 display-buffer-normalize-argument, and
4579 display-buffer-normalize-options. Don't call the latter if
4580 display-buffer-normalize-options-inhibit is non-nil.
4581 (frame-auto-delete): New option.
4582 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4583 (window-list-no-nils, window-state-ignored-parameters)
4584 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4585 (window-state-put-1, window-state-put-2, window-state-put):
4586 New functions.
9a028c23
MR
4587 (display-buffer-normalize-options): Move special-display-p group
4588 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4589
6d10d800
CY
45902011-06-18 Chong Yidong <cyd@stupidchicken.com>
4591
6420d28b
CY
4592 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4593 groups (Bug#8776).
4594 (rx-submatch-n): New function.
4595 (rx): Document it.
4596
ddb8b596
CY
4597 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4598 (Bug#8768).
4599
4600 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4601
77080289
CY
4602 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4603
61dfb316
CY
4604 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4605 anytime existing face settings are present (Bug#8889).
4606
6d10d800
CY
4607 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4608 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4609 Remove unused argument.
4610
be3fb2b8
MR
46112011-06-18 Martin Rudalics <rudalics@gmx.at>
4612
bcd70d97
SM
4613 * window.el (display-buffer-default-specifiers):
4614 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4615 pop-up-window-min-width, and another reuse-window specifier
4616 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4617 (display-buffer-normalize-specifiers-2):
4618 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4619 pop-up-windows is unset. Add a reuse-window specifier for the
4620 case popping up a new window fails.
4621 (special-display-popup-frame): Remove double quoting.
28dec25a 4622 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4623
1c6d8c76
SM
46242011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4627 according to comint-completion-addsuffix.
4628
4629 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4630 (pcomplete-suffix-list): Mark as obsolete.
4631 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4632 pcomplete-seen in the closure.
4633 (pcomplete-comint-setup): Setup completion-at-point as well.
4634 (pcomplete--entries): New function.
4635 (pcomplete--env-regexp): New var.
4636 (pcomplete-entries): Rewrite to work with partial-completion and
4637 without relying on pcomplete-suffix-list.
4638 (pcomplete-pare-list): Remove, unused.
4639
25aef8b8
MR
46402011-06-17 Martin Rudalics <rudalics@gmx.at>
4641
4642 * window.el (display-buffer-alist): Set pop-up-window-min-height
4643 and pop-up-window-min-width in default value. Reported by
4644 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4645 other-window-means-other-frame.
4646 (display-buffer-macro-specifiers): Comment out entry for
4647 other-window specifier.
4648 (display-buffer-other-window-means-other-frame): New function.
4649 (display-buffer-normalize-specifiers-1): New arguments
4650 buffer-name and label. Treat other-window case specially.
4651 (display-buffer-normalize-specifiers-2): Treat other-window case
4652 specially.
4653 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4654 (display-buffer-normalize-specifiers):
4655 Call display-buffer-normalize-specifiers-3.
25aef8b8 4656
dbad4f69
MR
46572011-06-17 Martin Rudalics <rudalics@gmx.at>
4658
4659 * window.el (same-window-p): Fix two typos introduced when
4660 adding with-no-warnings.
d1067961
MR
4661 (display-buffer-normalize-specifiers-1): Don't check
4662 pop-up-frames for 'unset initialization.
4663 (display-buffer-normalize-specifiers-2): Major rewrite using
4664 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4665 (pop-up-frames, display-buffer-reuse-frames)
4666 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4667 Suggested by David Engster <deng@randomsample.de>.
4668 (even-window-heights): Initialize to 'unset.
4669 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4670 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4671 other window case.
dbad4f69 4672
9b9c9e3a
MR
46732011-06-16 Martin Rudalics <rudalics@gmx.at>
4674
bcd70d97
SM
4675 * window.el (display-buffer-normalize-specifiers-1):
4676 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4677 second argument of display-buffer (Bug#8865).
981d5c09
MR
4678 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4679 (switch-to-buffer-other-window-same-frame)
4680 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4681 Adams (Bug#8875).
9c2755e9
MR
4682 (display-buffer): Don't check noninteractive when calling
4683 display-buffer-pop-up-frame.
4684 (display-buffer-pop-up-frame): Never pop up a frame in
4685 noninteractive mode (Bug#8857).
67222e1d
MR
4686 (enlarge-window, shrink-window): Don't report an error when the
4687 window can't be resized as requested (Bug#8862).
9b9c9e3a 4688
2b75be67
SM
46892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4690
9ffdd3ba
SM
4691 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4692
cb581a67
SM
4693 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4694
2b75be67
SM
4695 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4696
8c0e3589
AM
46972011-06-15 Alan Mackenzie <acm@muc.de>
4698
cb581a67
SM
4699 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4700 for declarators, disable knr checking to speed up for normal files.
4701 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4702
b96e6cde
LMI
47032011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4704
4bba86e6
LMI
4705 * net/network-stream.el (open-network-stream): Add the keyword
4706 :always-query-capabilities for the case where you want to force a
4707 `plain' network connection, but the protocol still requires the
4708 capabilitiy command (i.e., SMTP and EHLO).
4709
2b75be67 4710 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4711 consistency with other `-live-p' functions.
4712
efdcdbf8
SM
47132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * window.el (same-window-buffer-names, same-window-regexps)
4716 (special-display-frame-alist, special-display-popup-frame)
4717 (special-display-function, special-display-buffer-names)
4718 (special-display-regexps, pop-up-frame-alist)
4719 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4720 (pop-up-windows, split-window-preferred-function)
4721 (split-height-threshold, split-width-threshold, even-window-heights)
4722 (display-buffer-mark-dedicated): Don't encourage the use of
4723 display-buffer-alist from Elisp code.
4724
c5cde042
DN
47252011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4726
4727 * progmodes/python.el (python-mode): Derive from prog-mode.
4728 * progmodes/ps-mode.el (ps-mode):
4729 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4730 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4731 * progmodes/ld-script.el (ld-script-mode): Likewise.
4732
baa1c9ab
MR
47332011-06-15 Martin Rudalics <rudalics@gmx.at>
4734
4735 * window.el (display-buffer-alist): Trim default value to avoid
4736 popping up a new frame (Bug#8857) or reusing an arbitrary window
4737 on another frame.
4738 (display-buffer): Do not fall back on popping up a new frame in
4739 batch mode (Bug#8857).
4740
c5dd5a51
CY
47412011-06-14 Chong Yidong <cyd@stupidchicken.com>
4742
4743 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4744 (custom-theme-summary): New function.
4745 (customize-themes): Use it.
4746
d647b7c4
GM
47472011-06-13 Glenn Morris <rgm@gnu.org>
4748
4749 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4750
9481c002
MR
47512011-06-13 Martin Rudalics <rudalics@gmx.at>
4752
357f93d2
MR
4753 * help.el (help-window): Remove variable.
4754 (help-window-point-marker, temp-buffer-max-height)
4755 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4756 (help-print-return-message): Don't set help-window.
4757 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4758 (help-window-setup-finish): Remove.
4759 (help-window-display-message, help-window-setup)
4760 (with-help-window): Major rewrite based on new
4761 display-buffer-window variable.
4762
4763 * help-mode.el (help-mode-finish): Remove help-window related
4764 code.
4765
4766 * view.el (view-exits-all-viewing-windows): Remove reference to
4767 view-return-to-alist in doc-string.
4768 (view-return-to-alist): Make obsolete.
4769 (view-buffer): Call pop-to-buffer-same-window and remove
4770 undo-window code.
4771 (view-buffer-other-window): Call pop-to-buffer-other-window and
4772 simplify code. Ignore second argument.
4773 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4774 simplify code. Ignore second argument.
4775 (view-return-to-alist-update): Make obsolete.
4776 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4777 Rewrite using quit-restore window parameters.
2b75be67
SM
4778 (view-mode-exit): Rename second argument to EXIT-ONLY.
4779 Rewrite using quit-restore-window.
357f93d2
MR
4780 (View-exit, View-exit-and-edit, View-leave, View-quit)
4781 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4782 appropriate arguments.
4783 (view-end-message): Use quit-restore window parameter.
4784
9481c002
MR
4785 * window.el (display-buffer-function): Rewrite doc-string.
4786 (display-buffer-window, display-buffer-alist): New variables.
4787 (display-buffer-split-specifiers)
4788 (display-buffer-side-specifiers)
4789 (display-buffer-macro-specifiers): New constants.
4790 (display-buffer-even-window-sizes, display-buffer-set-height)
4791 (display-buffer-set-width, display-buffer-select-window)
4792 (display-buffer-in-window, display-buffer-reuse-window)
4793 (display-buffer-split-window-1, display-buffer-split-window)
4794 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4795 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4796 (display-buffer-in-side-window, normalize-buffer-to-display)
4797 (display-buffer-normalize-specifiers-1)
4798 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4799 (display-buffer-normalize-specifiers, display-buffer-frame):
4800 New functions.
9481c002
MR
4801 (display-buffer): Major rewrite.
4802 (display-buffer-other-window, display-buffer-other-frame)
4803 (pop-to-buffer, switch-to-buffer-other-window)
4804 (switch-to-buffer-other-frame): Rewrite.
4805 (display-buffer-same-window, display-buffer-same-frame)
4806 (display-buffer-same-frame-other-window)
4807 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4808 (pop-to-buffer-other-window)
4809 (pop-to-buffer-same-frame-other-window)
4810 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4811 (switch-to-buffer-other-window-same-frame): New functions.
4812 (same-window-p, special-display-p): Rewrite disabling warnings.
4813 Make obsolete.
4814 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4815 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4816 Make obsolete
4817 (same-window-buffer-names, same-window-regexps)
4818 (special-display-frame-alist, special-display-popup-frame)
4819 (special-display-function, special-display-buffer-names)
4820 (special-display-regexps, pop-up-frame-alist)
4821 (pop-up-frame-function, split-window-preferred-function)
4822 (split-height-threshold, split-width-threshold)
4823 (even-window-heights): Make obsolete.
4824
9db51aca
GM
48252011-06-12 Glenn Morris <rgm@gnu.org>
4826
4827 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4828 Misc simplifications.
9db51aca 4829
39cffb44
MR
48302011-06-12 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (window-safely-shrinkable-p): Restore function which
4833 was inadvertently removed in change from 2011-06-11. Declare as
4834 obsolete.
4835
2b75be67
SM
4836 * calendar/calendar.el (calendar-generate-window):
4837 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4838 window-safely-shrinkable-p.
4839
a8955be7
GM
48402011-06-12 Glenn Morris <rgm@gnu.org>
4841
4842 * progmodes/fortran.el (fortran-mode-syntax-table):
4843 * progmodes/f90.el (f90-mode-syntax-table):
4844 Set % to punctuation. (Bug#8820)
4845 (f90-find-tag-default): Remove, no longer needed.
4846
f0d4059d
DC
48472011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4848
4849 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4850
1100a63c
CY
48512011-06-11 Chong Yidong <cyd@stupidchicken.com>
4852
4853 * image.el (image-animated-p): Return animation delay in seconds.
4854 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4855 (image-animate-timeout): Remove DELAY argument. Don't assume
4856 every subimage has the same delay; get it from image-animated-p.
4857 (image-animate): Caller changed.
4858
def722bf
MA
48592011-06-11 Michael Albinus <michael.albinus@gmx.de>
4860
4861 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4862 to ignored backtrace functions.
4863
0a2bb1a9
GM
48642011-06-11 Glenn Morris <rgm@gnu.org>
4865
4866 * calendar/appt.el (appt-disp-window-function): Doc fix.
4867 (appt-check): Handle overlapping appointments. (Bug#8337)
4868
6198ccd0
MR
48692011-06-11 Martin Rudalics <rudalics@gmx.at>
4870
4871 * window.el (window-tree-1, window-tree): New functions, moving
4872 the latter to window.el.
4873 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4874 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4875 (bw-refresh-edges): Remove.
4876 (balance-windows-1, balance-windows-2): New functions.
4877 (balance-windows): Rewrite in terms of window tree functions,
4878 balance-windows-1 and balance-windows-2.
4879 (bw-adjust-window): Remove.
4880 (balance-windows-area-adjust): New function with functionality of
4881 bw-adjust-window but using resize-window.
2b75be67
SM
4882 (set-window-text-height): Rewrite doc-string.
4883 Use normalize-live-window and resize-window.
4884 (enlarge-window-horizontally, shrink-window-horizontally):
4885 Rename argument to DELTA.
6198ccd0
MR
4886 (window-buffer-height): New function.
4887 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4888 Rewrite using new window resize routines.
2b75be67
SM
4889 (kill-buffer-and-window, mouse-autoselect-window-select):
4890 Use ignore-errors instead of condition-case.
6198ccd0
MR
4891 (quit-window): Call delete-frame instead of delete-windows-on
4892 for the only buffer on frame.
4893
9397e56f
MR
48942011-06-10 Martin Rudalics <rudalics@gmx.at>
4895
4896 * loadup.el (top-level): Load window before files for the sake
4897 of replace-buffer-in-windows.
4898
4899 * files.el (read-buffer-to-switch)
4900 (switch-to-buffer-other-window)
2b75be67
SM
4901 (switch-to-buffer-other-frame, display-buffer-other-frame):
4902 Move to window.el.
9397e56f
MR
4903
4904 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4905 (previous-buffer): Move to window.el.
4906
4907 * bindings.el (unbury-buffer): Move to window.el.
4908
4909 * window.el (delete-other-windows-vertically): Move after
4910 definition of delete-other-windows.
4911 (other-window, delete-windows-on, replace-buffer-in-windows):
4912 Move here from window.c.
4913 (record-window-buffer, unrecord-window-buffer)
4914 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4915 (switch-to-next-buffer): New functions.
4916 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4917 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4918 (previous-buffer): Move here from simple.el.
4919 Call switch-to-prev-buffer.
9397e56f
MR
4920 (bury-buffer): Move here from buffer.c. Switch to previous
4921 buffer when window cannot be deleted.
4922 (unbury-buffer): Move here from bindings.el.
4923 (ctl-x-map): Move binding for other-window from window.c to
4924 here.
4925 (read-buffer-to-switch, switch-to-buffer-other-window)
4926 (switch-to-buffer-other-frame): Move here from files.el.
4927 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4928 (switch-to-buffer): Move here from buffer.c.
4929 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4930
562dd5e9
MR
49312011-06-10 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (window-min-height, window-min-width): Move here
4934 from window.c. Add defcustoms and rewrite doc-strings.
4935 (resize-mini-window, resize-window): New functions.
4936 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4937 Move here from window.c.
4938 (maximize-window, minimize-window): New functions.
4939 (delete-window, delete-other-windows, split-window): Move here
4940 from window.c.
4941 (window-split-min-size): New function.
4942 (split-window-keep-point): Mention split-window-above-each-other
4943 instead of split-window-vertically.
2b75be67
SM
4944 (split-window-above-each-other, split-window-vertically):
4945 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4946 provide defalias for old definition.
4947 (split-window-side-by-side, split-window-horizontally): Rename
4948 split-window-horizontally to split-window-side-by-side and provide
4949 defalias for the old definition.
4950 (ctl-x-map): Move bindings for delete-window,
4951 delete-other-windows and enlarge-window here from window.c.
4952 Replace bindings for split-window-vertically and
4953 split-window-horizontally by bindings for
4954 split-window-above-each-other and split-window-side-by-side.
4955
4956 * cus-start.el (all): Remove entries for window-min-height and
4957 window-min-width. Add entries for window-splits and
4958 window-nest.
4959
f0da764a
GM
49602011-06-09 Glenn Morris <rgm@gnu.org>
4961
80675c21
GM
4962 * calendar/appt.el (appt-mode-line): New function.
4963 (appt-check, appt-disp-window): Use it.
4964
f0da764a
GM
4965 * files.el (hack-one-local-variable-eval-safep):
4966 Allow minor-modes with explicit +/-1 arguments.
4967
59f623b7
TZ
49682011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4969
4970 * term/xterm.el (xterm): Add defgroup.
4971 (xterm-extra-capabilities): Add defcustom to supply known xterm
4972 capabilities, skip querying them, or query them (default).
4973 (terminal-init-xterm): Use it.
4974 (terminal-init-xterm-modify-other-keys): New function to set up
4975 modifyOtherKeys support to simplify `terminal-init-xterm'.
4976
9aab8e0d
MR
49772011-06-09 Martin Rudalics <rudalics@gmx.at>
4978
4979 * window.el (resize-window-reset, resize-window-reset-1)
4980 (resize-subwindows-skip-p, resize-subwindows-normal)
4981 (resize-subwindows, resize-other-windows, resize-this-window)
4982 (resize-root-window, resize-root-window-vertically)
4983 (window-deletable-p, window-or-subwindow-p)
4984 (frame-root-window-p): New functions.
4985
e8b08aee
GM
49862011-06-09 Glenn Morris <rgm@gnu.org>
4987
4988 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4989 (ange-ftp-get-files): Use it.
4990
254c37a5
AK
49912011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4992
4993 * mail/sendmail.el (mail-recover-1, mail-recover):
4994 * files.el (recover-file, recover-session):
4995 Handle dired-listing-switches not being just a single short option.
4996
35d7dbd3
GM
49972011-06-09 Glenn Morris <rgm@gnu.org>
4998
4999 * calendar/appt.el (appt-display-message, appt-disp-window):
5000 Handle lists of appointments.
5001
387522b2
MR
50022011-06-08 Martin Rudalics <rudalics@gmx.at>
5003
2b75be67
SM
5004 * window.el (one-window-p): Move down in code.
5005 Rewrite doc-string.
5006 (window-current-scroll-bars): Rewrite doc-string.
5007 Normalize live window argument.
387522b2
MR
5008 (walk-windows, get-window-with-predicate, count-windows):
5009 Rewrite doc-string. Use window-list-1.
5010 (window-in-direction-2, window-in-direction, get-mru-window):
5011 New functions.
5012
d8e4b68b 50132011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5014
5015 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5016 Doc fix (Bug#8713).
5017
50182011-06-08 Chong Yidong <cyd@stupidchicken.com>
5019
5020 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5021
50222011-06-08 Juanma Barranquero <lekktu@gmail.com>
5023
5024 * loadhist.el (unload-feature-special-hooks):
5025 Add `comint-output-filter-functions'.
5026
0de12c52
IK
50272011-06-08 Ivan Kanis <gnu@kanis.fr>
5028
5029 * calendar/appt.el (appt-check): Move some initializations into the let.
5030
f3d1777e
MR
50312011-06-08 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (window-height): Defalias to window-total-height.
5034 (window-width): Defalias to window-body-width.
5035
18af70d0
CY
50362011-06-07 Chong Yidong <cyd@stupidchicken.com>
5037
5038 * image-mode.el (image-toggle-animation): New command.
5039 (image-mode-map): Bind it to RET.
5040 (image-mode): Update message.
5041 (image-toggle-display-image): Avoid a spurious cache flush.
5042 (image-transform-rotation): Doc fix.
5043 (image-transform-properties): Return quickly in the normal case.
5044 (image-animate-loop): Rename from image-animate-max-time.
5045
2b75be67 5046 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5047 (create-animated-image): Remove unnecessary function.
5048 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5049 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5050 (image-animate-timer): Use car-safe.
5051 (image-animate-timeout): Rename argument.
5052
190b47e6
MR
50532011-06-07 Martin Rudalics <rudalics@gmx.at>
5054
5055 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5056 window.c. Rename first argument to ALL-FRAMES.
5057 Rephrase doc-strings.
5058 (get-buffer-window-list): Rewrite using window-list-1.
5059 Rephrase doc-string.
a1511caf
MR
5060 (window-safe-min-height, window-safe-min-width): New constants.
5061 (window-size-ignore, window-min-size, window-min-size-1)
5062 (window-sizable, window-sizable-p, window-size-fixed-1)
5063 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5064 (window-max-delta-1, window-max-delta, window-resizable)
5065 (window-resizable-p, window-total-height, window-total-width)
5066 (window-body-width): New functions.
5067 (window-full-height-p, window-full-width-p): Rewrite using
5068 window-total-size.
5069 (window-body-height): Rewrite using window-body-size.
190b47e6 5070
85cc1f11
MR
50712011-06-06 Martin Rudalics <rudalics@gmx.at>
5072
5073 * window.el (window-right, window-left, window-child)
5074 (window-child-count, window-last-child, window-any-p)
5075 (normalize-live-buffer, normalize-live-frame)
5076 (normalize-any-window, normalize-live-window)
5077 (window-iso-combination-p, window-iso-combined-p)
5078 (window-iso-combinations)
5079 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5080 (windows-with-parameter, window-with-parameter)
5081 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5082 (window-atom-check, window-side-check, window-check):
5083 New functions.
85cc1f11
MR
5084 (ignore-window-parameters, window-sides, window-sides-vertical)
5085 (window-sides-slots): New variables.
5086 (window-size-fixed): Move down in code. Minor doc-string fix.
5087
e7156492
AS
50882011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5089
5090 * comint.el (comint-dynamic-complete-as-filename)
5091 (comint-dynamic-complete-filename): Correctly call
5092 completion-in-region.
5093
7e821d0d
DD
50942011-06-05 Deniz Dogan <deniz@dogan.se>
5095
5096 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5097 in last change.
5098
ac09b8a1
DD
50992011-06-05 Deniz Dogan <deniz@dogan.se>
5100
5101 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5102 (rcirc): Use it to prompt for encryption.
5103
34699b85
RW
51042011-06-05 Roland Winkler <winkler@gnu.org>
5105
5106 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5107 (bibtex-search-entries): New command bound to C-c C-a.
5108 (bibtex-display-entries): New function.
5109
004dedd3
RW
51102011-06-05 Roland Winkler <winkler@gnu.org>
5111
5112 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5113 (bibtex-insert-kill): After yanking insert newline if necessary.
5114 (bibtex-initialize): Call bibtex-string-files-init only once.
5115 (bibtex-mode): Do not call easy-menu-add.
5116 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5117 (bibtex-yank): Set arg properly if nil.
5118
022fe7ce
RW
51192011-06-05 Roland Winkler <winkler@gnu.org>
5120
2b75be67
SM
5121 * textmodes/bibtex.el (bibtex-search-entry-globally):
5122 New variable.
022fe7ce
RW
5123 (bibtex-search-entry): Use it.
5124
b7c3692a
RW
51252011-06-05 Roland Winkler <winkler@gnu.org>
5126
5127 * textmodes/bibtex.el (bibtex-entry-format): New option
5128 sort-fields.
5129 (bibtex-format-entry, bibtex-reformat): Honor this option.
5130 (bibtex-parse-entry): Return fields in proper order.
5131
8eda563d
JB
51322011-06-05 Juanma Barranquero <lekktu@gmail.com>
5133
5134 * doc-view.el (doc-view-remove-if): Move computation of result out
5135 of `dolist' to silence misleading lexical-binding warning.
5136
7dbe3dbc
CY
51372011-06-04 Chong Yidong <cyd@stupidchicken.com>
5138
5139 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5140 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5141
0c33dd17
MA
51422011-06-04 Michael Albinus <michael.albinus@gmx.de>
5143
5144 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5145 "SunOS 5.10".
5146
f8f91c2b
MA
51472011-06-04 Michael Albinus <michael.albinus@gmx.de>
5148
5149 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5150 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5151 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5152 (tramp-parse-putty):
5153 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5154 (tramp-completion-function-alist-ssh)
5155 (tramp-completion-function-alist-telnet)
5156 (tramp-completion-function-alist-su)
5157 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5158 cookie.
5159
5160 * net/tramp-ftp.el:
5161 * net/tramp-sh.el:
5162 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5163 load "tramp.el" `tramp-set-completion-function'.
5164
e17d9003
SM
51652011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * shell.el: Require and use pcomplete.
5168 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5169 (shell-completion-vars): Set pcomplete-default-completion-function.
5170
6c4cab03
DD
51712011-06-04 Deniz Dogan <deniz@dogan.se>
5172
5173 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5174 `memq' (Bug#8799).
5175
ea9fafe0
SM
51762011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5179
b3e945d3
JB
51802011-06-02 Juanma Barranquero <lekktu@gmail.com>
5181
5182 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5183 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5184 * vc/log-view.el (log-view-beginning-of-defun):
5185 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5186 (smerge-refine-forward, smerge-refine-chopup-region):
5187 Silence warning for unused `dotimes' counter variables.
5188
7d520089
SM
51892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * net/tramp.el (tramp-with-progress-reporter): Rename from
5192 with-progress-reporter. Use `declare'.
5193 * net/tramp-smb.el:
5194 * net/tramp-sh.el:
5195 * net/tramp-gvfs.el: Update all uses.
5196
a1c2400f
JB
51972011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5198
5199 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5200 buffer isn't killed before making it current.
5201
2403c841
SM
52022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 Silence various byte-compiler warnings.
5205 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5206 `access-type' and new obsolescence format.
5207 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5208 new format.
5209 (byte-compile-check-variable): New `access-type' argument.
5210 Only warn if the access-type is obsolete.
5211 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5212 (byte-compile-variable-set): Adjust callers.
5213 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5214 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5215 setting it as obsolete.
5216 * simple.el (minibuffer-completing-symbol):
5217 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5218 access as obsolete.
5219 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5220 obsolete yet.
5221 * international/quail.el (quail-mouse-choose-completion): Remove unused
5222 code referring to obsolete var.
5223 (quail-choose-completion-string): Remove.
5224 * server.el (server-clients-with, server-kill-buffer-query-function)
5225 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5226 * proced.el (proced-send-signal):
5227 * emacs-lisp/lisp.el (lisp-complete-symbol):
5228 Replace completion-annotate-function with completion-extra-properties.
5229
2462470b
SM
52302011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5231
fb5b2591
SM
5232 * simple.el (goto-line): Use read-number.
5233 (overriding-map-is-bound): Remove.
5234 (saved-overriding-map): Change default.
5235 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5236 Take the map as argument.
5237 (universal-argument, negative-argument, digit-argument): Use it.
5238 (restore-overriding-map): Adjust.
5239 (do-auto-fill): Use fill-forward-paragraph.
5240 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5241
fd6fa53f
SM
5242 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5243 (minibuffer-inactive-mode): New major mode.
5244 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5245 the *Messages* buffer" hack.
5246 (mouse-popup-menubar): Don't burp if the event is a normal key.
5247
2462470b
SM
5248 Miscellaneous tweaks.
5249 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5250 lexical scoping as in subr.el's dolist and dotimes.
5251 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5252 Silence compiler warning.
5253 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5254 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5255 * international/ccl.el (ccl-compile): Trivial simplification.
5256 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5257 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5258 `printflag' argument.
5259 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5260 Purecopy the whole obsolescence data.
5261
108bf785
LL
52622011-06-01 Leo Liu <sdl.web@gmail.com>
5263
5264 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5265 improve doc-string as suggested by Marco Pessotto
5266 <melmothx@gmail.com>.
5267 (rcirc-print): Fix last change.
5268
30a23501
SM
52692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * minibuffer.el (complete-with-action): Return nil for the metadata and
5272 boundaries of non-functional tables.
5273 (completion-table-dynamic): Return nil for the metadata.
5274 (completion-table-with-terminator): Add default case, using
5275 complete-with-action.
5276 (completion--metadata): New function.
5277 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5278 to try and avoid pathological performance problems.
5279 (completion--embedded-envvar-table): Return `category' metadata.
5280
bcd54f83
LMI
52812011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5282
5283 * subr.el (process-alive-p): New tiny convenience function.
5284
e227544d
SM
52852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5288 content but also its previous major mode.
5289
e8296fdc
HE
52902011-05-31 Helmut Eller <eller.helmut@gmail.com>
5291
4d61f28d 5292 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5293 *Backtrace* buffer when we exit with C-M-c.
5294
620c53a6
SM
52952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * minibuffer.el: Add metadata method to completion tables.
5298 (completion-category-overrides): New defcustom.
5299 (completion-metadata, completion--field-metadata)
5300 (completion-metadata-get, completion--styles)
5301 (completion--cycle-threshold): New functions.
5302 (completion-try-completion, completion-all-completions):
5303 Add `metadata' argument to choose completion-styles.
5304 (completion--do-completion): Use metadata to choose cycling.
5305 (completion-all-sorted-completions): Use metadata for sorting.
5306 Remove :completion-cycle-penalty which is not needed any more.
5307 (completion--try-word-completion): Add `metadata' argument.
5308 (minibuffer-completion-help): Check metadata for annotation function
5309 and sorting.
5310 (completion-file-name-table): Return `category' metadata.
5311 (minibuffer-completing-file-name): Make obsolete.
5312 * simple.el (minibuffer-completing-symbol): Make obsolete.
5313 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5314 completion-try-completion.
5315
1257e755
SM
53162011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5319
3767e706
LL
53202011-05-30 Leo Liu <sdl.web@gmail.com>
5321
5322 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5323 (rcirc-print): Decode all incoming messages (bug#8744).
5324 (rcirc-decode-coding-system): Allow value nil for automatic coding
5325 system detection.
3767e706 5326
d1a5d56a
GM
53272011-06-01 Glenn Morris <rgm@gnu.org>
5328
5329 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5330
e8cbec34
CY
53312011-05-29 Chong Yidong <cyd@stupidchicken.com>
5332
5333 * image.el (image-animate-max-time): Allow nil and t values.
5334 Default to nil.
5335 (create-animated-image): Doc fix.
5336 (image-animate-start): Remove second arg; just use
5337 image-animate-max-time.
5338 (image-animate-timeout): Doc fix. Args changed.
5339
5340 * image-mode.el (image-toggle-display-image): Ensure that the
5341 image spec passed to the animate timer is the same object as in
5342 the the buffer's display property (Bug#6981).
5343 (image-transform-properties): Doc fix.
5344
5345 * image.el (image-animate-max-time): Default to nil.
5346
159daf87
MR
53472011-05-29 Martin Rudalics <rudalics@gmx.at>
5348
5349 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5350 entire buffer list (Bug#8184).
5351
d66c4c7c
CY
53522011-05-29 Chong Yidong <cyd@stupidchicken.com>
5353
5354 * image.el (imagemagick-types-inhibit)
5355 (imagemagick-register-types): Doc fix.
5356
80aec780
DD
53572011-05-29 Deniz Dogan <deniz@dogan.se>
5358
5359 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5360 default.
5361
1dd3c2d9
CY
53622011-05-29 Chong Yidong <cyd@stupidchicken.com>
5363
5364 * select.el: Don't perform clipboard-manager saving in hooks;
5365 leave the hooks empty.
5366
60e56523
LL
53672011-05-28 Leo Liu <sdl.web@gmail.com>
5368
5369 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5370 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5371 (occur-edit-mode): New major mode (Bug#8463).
5372 (occur-after-change-function): New function.
5373 (occur-engine): Give Occur tags a read-only property.
5374
2b1e1a22
KR
53752011-05-28 Kevin Ryde <user42@zip.com.au>
5376
5377 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5378
5d344e88
CY
53792011-05-28 Chong Yidong <cyd@stupidchicken.com>
5380
8e6ca83d
CY
5381 * bindings.el (help-echo): Make the initial non-indicator dash
5382 empty on graphical terminals (Bug#7295).
5383
5d344e88
CY
5384 * files.el (auto-mode-alist): Move config rule after the
5385 in-stripping one (Bug#8547).
5386
bfbbace7
CY
5387 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5388
fbeba6e2
CY
5389 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5390 setting (Bug#8740).
5391
60ed8c72
AA
53922011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5393
4ac619f0
AA
5394 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5395 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5396 (Bug#8539).
60ed8c72 5397
23db196e
CY
53982011-05-28 Chong Yidong <cyd@stupidchicken.com>
5399
5400 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5401
5012f24c
DK
54022011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5403
5404 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5405 (hs-hide-block-at-point, hs-find-block-beginning)
5406 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5407 (Bug#8279).
5408
6a639b16
GM
54092011-05-28 Glenn Morris <rgm@gnu.org>
5410
5411 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5412
d43eaf2c
CY
54132011-05-28 Chong Yidong <cyd@stupidchicken.com>
5414
5199bde1
CY
5415 * help-fns.el (describe-function-1): If the function is a derived
5416 major mode, print the parent mode.
5417
d43eaf2c
CY
5418 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5419 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5420
423428a8
SM
54212011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5422
0ff8e1ba
SM
5423 * minibuffer.el (completion--capf-wrapper): Check applicability before
5424 retuning non-nil for non-exclusive completion data.
5425 * progmodes/etags.el (tags-completion-at-point-function):
5426 * info-look.el (info-lookup-completions-at-point): Mark as
5427 non-exclusive.
5428 (info-complete): Adjust accordingly.
5429
423428a8
SM
5430 * info-look.el: Convert to lexical-binding and completion-at-point.
5431 (info-lookup-completions-at-point): New function.
5432 (info-complete): Use it and completion-in-region.
5433
b74aa22b
DA
54342011-05-28 Drew Adams <drew.adams@oracle.com>
5435
5436 * isearch.el: Let M-e start with point at the first mismatched char.
5437 (isearch-fail-pos): New function.
5438 (isearch-edit-string): Use it.
5439
66e2e71d
DK
54402011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5441
5442 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5443
eb95d01d
TC
54442009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5445
5446 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5447 traversal functions for avl-trees.
5448 (avl-tree--stack): New struct.
5449 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5450 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5451 (avl-tree--do-enter): Add optional `updatefun' arg.
5452 Change return value.
eb95d01d 5453 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5454 (avl-tree--do-delete): Add `test' and `nilflag' args.
5455 Change return value.
eb95d01d
TC
5456 (avl-tree-member): Add optional `nilflag'
5457 (avl-tree-member-p): New function.
5458 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5459 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5460 (avl-tree-stack-empty-p): New functions.
5461
3769ddcf
TC
54622009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5463
5464 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5465 avl-tree--del-balance1 and make it work both ways.
5466 (avl-tree--del-balance2): Remove.
5467 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5468 make it work both ways.
5469 (avl-tree--enter-balance2): Remove.
5470 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5471 New macros.
5472 (avl-tree--mapc, avl-tree-map): Add direction argument.
5473
eb95d01d 54742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5475
5476 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5477
a9f737ee
CY
54782011-05-27 Chong Yidong <cyd@stupidchicken.com>
5479
5480 * select.el: Support clipboard managers with built-in function
5481 x-clipboard-manager-save, via delete-frame-functions and
5482 kill-emacs-hook.
5483 (xselect-convert-to-targets): Add MULTIPLE target to list.
5484 (xselect-convert-to-save-targets): New function.
5485
c92a1e54
KH
54862011-05-27 Kenichi Handa <handa@m17n.org>
5487
5488 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5489 let-binding rfc2047-encode-encoded-words to nil.
5490
e145f188
GM
54912011-05-27 Glenn Morris <rgm@gnu.org>
5492
5ec8a862
GM
5493 * mail/emacsbug.el: Don't require url-util.
5494
4b29d9fb
GM
5495 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5496
e145f188
GM
5497 * files.el (set-auto-mode):
5498 Also respect mode: entries at the end of the file. (Bug#8586)
5499
7d15102b
GM
55002011-05-26 Glenn Morris <rgm@gnu.org>
5501
98f593b8
GM
5502 * files.el (hack-local-variables-prop-line, hack-local-variables):
5503 Downcase mode names, as seems to be traditional.
27b48e63 5504 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5505
7d15102b
GM
5506 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5507 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5508
51d5b4ec
JD
55092011-05-25 Julien Danjou <julien@danjou.info>
5510
5511 * textmodes/rst.el (rst-define-level-faces): Do not define face
5512 symbol if it is already defined.
5513
91513f63
VB
55142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5515
5516 * play/5x5.el (5x5-new-game, 5x5-randomize):
5517 Reset 5x5-solver-output to nil when a new grid is cast.
5518 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5519 these debugging traces, as defmacro breaks the compiled code.
5520
4d90d6d0
DK
55212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5522
5523 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5524
e1b90ef6
LL
55252011-05-24 Leo Liu <sdl.web@gmail.com>
5526
5527 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5528 (vc-bzr-sha1): Adapt.
5529
d8e4b68b 5530 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5531
5532 * bindings.el: Provide sha1 feature.
5533
db0406bb 55342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5535
5536 * mail/sendmail.el: Require `rfc2047'.
5537 (mail-insert-from-field): Do not perform RFC2047 encoding.
5538 (mail-encode-header): New function.
5539 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5540 buffer to the return value of select-message-coding-system.
5541 Call mail-encode-header.
b8d747b9
KH
5542
5543 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5544
db0406bb 55452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5546
4d90d6d0
DK
5547 * mail/supercite.el (sc-default-cite-frame):
5548 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5549
eb8a5e9b
GM
55502011-05-24 Glenn Morris <rgm@gnu.org>
5551
f8630703
GM
5552 * progmodes/python.el (brm-menu): Declare.
5553
8831bbed
GM
5554 * emulation/viper.el (viper-set-hooks): Declare.
5555
eb8a5e9b
GM
5556 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5557 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5558 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5559 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5560 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5561 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5562
a2a25d24
SM
55632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 Add an :exit-function for completion-at-point.
5566
5567 * minibuffer.el (completion--done): New fun.
5568 (completion--do-completion): Use it. New arg `expect-exact'.
5569 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5570 since completion--do-completion does it for us now.
5571 (minibuffer-force-complete): Use completion--done and
5572 completion--replace. Handle sole-completion case with more care.
5573 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5574 (completion-extra-properties): New var.
5575 (completion-annotate-function): Make obsolete.
5576 (minibuffer-completion-help): Adjust accordingly.
5577 Use completion-list-insert-choice-function.
5578 (completion-at-point, completion-help-at-point):
5579 Bind completion-extra-properties.
5580 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5581 * simple.el (completion-list-insert-choice-function): New var.
5582 (completion-setup-function): Preserve it.
5583 (choose-completion): Pay attention to it, shuffle the code a bit.
5584 (choose-completion-string): New arg `insert-function'.
5585
5586 * textmodes/bibtex.el: Convert to lexical binding.
5587 (bibtex-mode-map): Use completion-at-point.
5588 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5589 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5590 (bibtex-complete): Define as obsolete alias.
5591 (bibtex-complete-internal): Remove.
5592 (bibtex-format-entry): Remove unused sub-group in regexp.
5593 * shell.el (shell--command-completion-data)
5594 (shell-environment-variable-completion):
5595 * pcomplete.el (pcomplete-completions-at-point):
5596 * comint.el (comint--complete-file-name-data): Use :exit-function
5597 instead of completion-table-with-terminator so it also works for
5598 choose-completion.
5599
e44e373d
SM
56002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5601
4f91a816
SM
5602 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5603
782fc819
SM
5604 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5605 (bug#8710).
5606
e44e373d
SM
5607 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5608
381987c3
KM
56092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5610
5611 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5612 customization variable and implement: If non-nil, auto-fill will
5613 be inhibited while on topic's header line.
5614
b776bc70
VB
56152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5616
5617 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5618 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5619 always have a solution in grid size = 5 cases.
5620 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5621 (5x5-solver-output, 5x5-log-buffer): New vars.
5622 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5623 Make these variables buffer local to achieve 5x5 multi-session-ness.
5624 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5625 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5626 (5x5-solve-suggest): New funs.
5627 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5628 randomize a grid so that we ensure that there is always a solution.
5629 (5x5-make-random-grid): Allow other movement than flipping.
5630
7de88b6e
KR
56312011-05-23 Kevin Ryde <user42@zip.com.au>
5632
5633 * emacs-lisp/advice.el (ad-read-advised-function):
5634 Use `function-called-at-point' as the default default, if it has
5635 advice and passes PREDICATE.
5636
b1ef1257
SM
56372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5638
bbca48fe
SM
5639 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5640 byte-compile-lambda if it's actually a lambda.
5641
b1ef1257
SM
5642 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5643 Fix function quoting. Use backquote better.
5644
92a9cc65
YS
56452011-05-22 Yuanle Song <sylecn@gmail.com>
5646
5647 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5648 matching (Bug#8516).
5649
f0fb8059
JA
56502011-01-22 Jari Aalto <jari.aalto@cante.net>
5651
5652 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5653 different face (Bug#8178).
5654
d5b44c93
CY
56552011-05-22 Chong Yidong <cyd@stupidchicken.com>
5656
5657 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5658 defface (Bug#8144).
5659
79106a44
SM
56602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5661
9c848d8a
SM
5662 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5663 funcall as well (bug#8712). Warn when performing those conversions.
5664 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5665
79106a44
SM
5666 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5667
88dfa756
GM
56682011-05-22 Glenn Morris <rgm@gnu.org>
5669
5670 * files.el (hack-local-variables-prop-line): Small simplifications.
5671 (hack-local-variables, hack-local-variables-prop-line):
5672 If MODE-ONLY, return the mode, rather than just `t'.
5673
b7cf2c79
SM
56742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5677
3f1a8558
GM
56782011-05-21 Glenn Morris <rgm@gnu.org>
5679
7e4ccca3
GM
5680 * files.el (hack-local-variables-prop-line, hack-local-variables):
5681 If only interested in the mode, don't bother doing the other stuff.
5682
637d46ca
GM
5683 * image-mode.el (image-after-revert-hook):
5684 Redraw all frames on which the image is visible. (Bug#8567)
5685
973d955b
GM
5686 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5687
3f1a8558
GM
5688 * wid-edit.el (widget-checklist-match-inline):
5689 Fix 2011-04-19 change. (Bug#8649)
5690
96479927
SM
56912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5692
1dcf791f
SM
5693 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5694 Also allow singlespace after single-letter capitals followed by a dot.
5695
96479927
SM
5696 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5697 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5698
35fd0881
N
56992011-05-20 Nix <nix@esperi.org.uk>
5700
5701 * files.el (basic-save-buffer-2):
5702 Fix handling of break-hardlink-on-save with non-existent files.
5703
82745640
DD
57042011-05-19 Deniz Dogan <deniz@dogan.se>
5705
5706 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5707 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5708
4a720484
GM
57092011-05-19 Glenn Morris <rgm@gnu.org>
5710
d1f21341
GM
5711 * progmodes/f90.el (f90-type-def-re):
5712 Handle "type, bind(c)". (Bug#8691)
5713
4a720484
GM
5714 * emacs-lisp/autoload.el (batch-update-autoloads):
5715 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5716
2fb0a219
MA
57172011-05-18 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5720 property for the correct connection in case of multihops.
5721
e565dd37
GM
57222011-05-18 Glenn Morris <rgm@gnu.org>
5723
c2571358 5724 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5725 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5726
e565dd37
GM
5727 Rationalize calendar handling of day and month abbrev-arrays.
5728 * calendar/calendar.el (calendar-customized-p): New function.
5729 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5730 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5731 Add :set function.
5732 (calendar-abbrev-length, calendar-day-abbrev-array)
5733 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5734 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5735 Elements may no longer be nil.
5736 (calendar-day-name, calendar-month-name):
5737 Update for changed nature of abbrev arrays.
5738 * calendar/diary-lib.el (diary-name-pattern):
5739 Update for changed nature of abbrev arrays.
5740 (diary-mark-entries-1): Update calendar-make-alist calls.
5741 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5742 * calendar/cal-html.el (cal-html-day-abbrev-array):
5743 Simply inherit from calendar-day-abbrev-array.
5744
1d99a745
SM
57452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * progmodes/grep.el (grep-mode): Disable default
5748 compilation-directory-matcher setting (bug#8684).
5749
7c1d9aa0
MA
57502011-05-17 Michael Albinus <michael.albinus@gmx.de>
5751
5752 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5753 instead of "head" and "tail". There were problems with SunOS 5.9,
5754 and it performs better.
5755
3952e9d8
GM
57562011-05-17 Glenn Morris <rgm@gnu.org>
5757
2dd12e7f
GM
5758 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5759
e4157b9c
GM
5760 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5761 Replace obsolete function.
5762
8e249bbd
GM
5763 * shell.el (pcomplete-parse-arguments-function): Declare.
5764
3952e9d8
GM
5765 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5766 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5767 (appt-check): Doc fixes.
5768 (appt-disp-window-function, appt-delete-window-function):
5769 Remove needless special case in custom :type.
5770 (appt-display-count): Default to 0, not nil.
5771 (appt-check): Reset appt-display-count to 0, not nil.
5772
c71a0d48 57732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5774
c71a0d48
GM
5775 * progmodes/python.el (python-font-lock-keywords):
5776 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5777
31d55be9
SM
57782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5781
3bfacb2f
KR
57822011-05-16 Kevin Ryde <user42@zip.com.au>
5783
5784 * info-look.el (makefile-automake-mode): New setups, looking in
5785 automake manual, then makefile-mode.
5786 (makefile-mode): Remove automake manual, have it just in
5787 makefile-automake-mode since there's various things different or
5788 not relevant to plain make.
5789 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5790 believe a hypothetical automake-mode would go to makefile-mode,
5791 not the other way around.
5792
c8e83751
CY
57932011-05-15 Chong Yidong <cyd@stupidchicken.com>
5794
5e9e35cd
CY
5795 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5796 hunk-end tags (Bug#8672).
5797
c8e83751
CY
5798 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5799 vc-annotate-show-diff-revision-at-line (Bug#8671).
5800
50b23e5a
GM
58012011-05-14 Glenn Morris <rgm@gnu.org>
5802
7210a739
GM
5803 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5804 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5805 (change-log-font-lock-keywords): Also handle multiple author lines
5806 with leading tabs. (Bug#8644)
7210a739 5807
4691905a
GM
5808 * calendar/appt.el (appt-check): Rename some local variables.
5809 Some simplification/reordering.
5810
50b23e5a
GM
5811 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5812 (feedmail-sendmail-f-doesnt-sell-me-out)
5813 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5814 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5815 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5816 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5817 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5818 (feedmail-binmail-gnulinuxish-template):
5819 Rename from feedmail-binmail-linuxish-template.
5820 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5821 Use insert-buffer-substring.
5822
215cda7c
BC
58232011-05-14 Bill Carpenter <bill@carpenter.org>
5824
5825 * mail/feedmail.el (feedmail-patch-level): Increase.
5826 (feedmail-debug): New custom group.
5827 (feedmail-confirm-outgoing-timeout)
5828 (feedmail-sendmail-f-doesnt-sell-me-out)
5829 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5830 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5831 (feedmail-sender-line, feedmail-from-line)
5832 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5833 (feedmail-spray-this-address)
215cda7c
BC
5834 (feedmail-spray-address-fiddle-plex-list)
5835 (feedmail-queue-use-send-time-for-date)
5836 (feedmail-queue-use-send-time-for-message-id)
5837 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5838 (feedmail-buffer-eating-function):
5839 Doc fixes.
5840 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5841 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5842 (feedmail-message-action-scroll-down): New functions.
5843 (feedmail-queue-directory, feedmail-queue-draft-directory):
5844 Use expand-file-name.
5845 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5846 Remove C-v help entry.
5847 (feedmail-queue-buffer-file-name): New variable.
5848 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5849 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5850 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5851 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5852 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5853 (feedmail-message-action-toggle-spray)
5854 (feedmail-run-the-queue-no-prompts)
5855 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5856 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5857 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5858 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5859 (feedmail-envelope-deducer, feedmail-fiddle-from)
5860 (feedmail-fiddle-sender, feedmail-default-date-generator)
5861 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5862 (feedmail-fiddle-spray-address)
5863 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5864 (feedmail-fiddle-list-of-fiddle-plexes)
5865 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5866 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5867 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5868 Change default. Doc fix.
5869 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5870 (feedmail-binmail-linuxish-template): New constant.
5871 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5872 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5873 (feedmail-send-it): Add debug call.
5874 Use feedmail-queue-buffer-file-name, and
5875 feedmail-send-it-immediately-wrapper.
5876 (feedmail-message-action-send): Add debug call.
5877 Use feedmail-send-it-immediately-wrapper.
5878 (feedmail-queue-express-to-queue): Add debug call.
5879 Run feedmail-queue-express-hook.
5880 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5881 (feedmail-message-action-help-blat):
5882 Rename from feedmail-queue-send-edit-prompt-help-first.
5883 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5884 Check line-endings. Handle errors better.
5885 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5886 Doc fix. Add debug call.
5887 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5888 Use feedmail-queue-send-edit-prompt-inner.
5889 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5890 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5891 from feedmail-queue-send-edit-prompt.
5892 (feedmail-queue-send-edit-prompt-help)
5893 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5894 (feedmail-tidy-up-slug): Add debug call.
5895 Respect feedmail-queue-slug-suspect-regexp.
5896 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5897 (feedmail-dump-message-to-queue): Add debug call.
5898 Expand queue-directory.
5899 (feedmail-dump-message-to-queue): Change message slightly.
5900 Use feedmail-say-chatter.
5901 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5902 (feedmail-send-it-immediately-wrapper): New function.
5903 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5904 Insert empty string rather than newline. Handle full-frame case.
5905 Use catch/throw. Use feedmail-say-chatter.
5906 (feedmail-fiddle-from): Try mail-host-address.
5907 (feedmail-default-message-id-generator): Doc fix.
5908 Bind system-time-locale. Handle missing end.
5909 (feedmail-fiddle-x-mailer): Add debug call.
5910 Handle feedmail-x-mailer-line being nil.
5911 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5912 Add debug call. Use buffer-substring-no-properties.
5913 (feedmail-say-debug, feedmail-say-chatter): New functions.
5914 (feedmail-find-eoh): Give an explicit error.
5915
42c7e61e
UJ
59162011-05-13 Ulf Jasper <ulf.jasper@web.de>
5917
c2571358 5918 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5919 family from helvetica to sans.
c2571358 5920 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5921 etc/images/newsticker.
5922
c2571358 5923 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5924 family from helvetica to sans.
5925
5926 * net/newst-plainview.el (newsticker-new-item-face)
5927 (newsticker-old-item-face, newsticker-immortal-item-face)
5928 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5929 (newsticker-statistics-face): Change default family from
42c7e61e 5930 helvetica to sans.
c2571358 5931 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5932 etc/images/newsticker.
5933
5934 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5935 (newsticker--process-auto-mark-filter-match): : Tell user about
5936 auto-marking.
5937
8497a297
DV
59382011-05-13 Didier Verna <didier@xemacs.org>
5939
5940 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5941 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5942 TODO entries.
8497a297
DV
5943 (lisp-lambda-list-keyword-parameter-indentation)
5944 (lisp-lambda-list-keyword-parameter-alignment)
5945 (lisp-lambda-list-keyword-alignment): New customizable user options.
5946 (lisp-indent-defun-method): Improve docstring.
5947 (extended-loop-p): Fix comment.
5948 (lisp-indent-lambda-list-keywords-regexp): New variable.
5949 (lisp-indent-lambda-list): New function.
5950 (lisp-indent-259): Use it.
5951 (lisp-indent-defmethod): Support for more than one
5952 method qualifier and properly indent methods lambda-lists.
5953 (defgeneric): Provide a missing common-lisp-indent-function property.
5954
f278f87f
SM
59552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5958 bounds for the empty string (bug#8667).
5959
5233edd7
GM
59602011-05-13 Glenn Morris <rgm@gnu.org>
5961
5237a44f
GM
5962 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5963
8340026c 5964 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5965 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5966
5233edd7 5967 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5968 (appt-time-msg-list): Doc fix.
a5464014 5969 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5970
92d10796
AS
59712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5972
5973 * progmodes/ld-script.el (ld-script-keywords)
5974 (ld-script-builtins): Update keywords list.
5975
914a0ae1
SM
59762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5977
c89be45f
SM
5978 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5979
914a0ae1
SM
5980 * shell.el (shell-completion-vars): New function.
5981 (shell-mode):
5982 * simple.el (read-shell-command): Use it.
5983 (blink-matching-open): No need for " [...]" in minibuffer-message.
5984
98dc3df3
GM
59852011-05-12 Glenn Morris <rgm@gnu.org>
5986
5987 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5988 (appt-check): Simplify.
5989
d2fc7e3d 59902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5991
4d61f28d 5992 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5993 literal "/dev/null".
5994
d2fc7e3d 59952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5996
5997 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5998 Fix typo.
5999
d2fc7e3d 60002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6001
3f254caa
SM
6002 * progmodes/which-func.el (which-function):
6003 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6004 which might not be defined (Bug#8260).
6005
d45885f7
GM
60062011-05-12 Glenn Morris <rgm@gnu.org>
6007
6008 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6009 Let byte-compile-initial-macro-environment always take precedence.
6010
488086f4
SM
60112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * net/rcirc.el: Add support for SSL/TLS connections.
6014 (rcirc-server-alist): New field `encryption'.
6015 (rcirc): Check `encryption' settings.
6016 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6017 Merge make-local-variable into `set'.
6018 (rcirc--connection-open-p): New function.
6019 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6020 the process is not a network process (e.g. running gnutls-cli).
6021 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6022 Make rcirc-(en|de)code-coding-system local here.
6023 (rcirc-mode): Merge make-local-variable into `set'.
6024 (rcirc-parent-buffer): Make permanent buffer-local.
6025 (rcirc-multiline-minor-mode): Don't do it here.
6026 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6027 there's no server buffer.
6028
7d3b9d44
GM
60292011-05-11 Glenn Morris <rgm@gnu.org>
6030
f64049c6
GM
6031 * newcomment.el (comment-kill): Prefix "unused" local.
6032
93c9df73
GM
6033 * term/w32console.el (get-screen-color): Declare.
6034
7d3b9d44
GM
6035 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6036 Handle symbol elements of byte-compile-initial-macro-environment.
6037
9e2dd53f
LL
60382011-05-10 Leo Liu <sdl.web@gmail.com>
6039
488086f4
SM
6040 * bookmark.el (bookmark-bmenu-mode-map):
6041 Bind bookmark-bmenu-search to `/'.
8b340240 6042
9e2dd53f 6043 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6044 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6045 (Footnote-unicode): New function.
6046 (footnote-style-alist): Add unicode style to the list.
6047 (footnote-style): Doc fix.
9e2dd53f 6048
79b70037
GM
60492011-05-10 Jim Meyering <meyering@redhat.com>
6050
6051 Fix doubled-word typos.
6052 * international/quail.el (quail-insert-kbd-layout): and and -> and
6053 * kermit.el: and and -> and
6054 * net/ldap.el (ldap-search-internal): to to -> to
6055 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6056 * progmodes/js.el (js-mode): and and -> and
6057 * textmodes/artist.el (artist-move-to-xy): at at -> at
6058 (artist-draw-region-trim-line-endings): if if -> if
6059 And Safetyc -> Safety.
6060 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6061
b8f82dc1 60622011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6063 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6064
6065 * files.el (hack-one-local-variable-eval-safep):
6066 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6067
4f99f44b
GM
60682011-05-10 Glenn Morris <rgm@gnu.org>
6069
6070 * calendar/diary-lib.el (diary-list-entries-hook)
6071 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6072 (diary-nongregorian-marking-hook, diary-list-entries)
6073 (diary-include-other-diary-files, diary-mark-entries)
6074 (diary-mark-included-diary-files): Doc fixes.
6075
84f29e6b
JB
60762011-05-09 Juanma Barranquero <lekktu@gmail.com>
6077
6078 * misc.el: Require tabulated-list.el during compilation.
6079
9bedd73a
CY
60802011-05-09 Chong Yidong <cyd@stupidchicken.com>
6081
488086f4
SM
6082 * progmodes/compile.el (compilation-start):
6083 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6084 (compilation-filter-hook): Doc fix.
6085
797c735c
DD
60862011-05-09 Deniz Dogan <deniz@dogan.se>
6087
6088 * wdired.el: Remove outdated installation comment. Fix usage
6089 comment.
6090
5f4b1dfe
JB
60912011-05-09 Juanma Barranquero <lekktu@gmail.com>
6092
6093 * misc.el: Implement new command `list-dynamic-libraries'.
6094 (list-dynamic-libraries--loaded-only-p): New variable.
6095 (list-dynamic-libraries--refresh): New function.
6096 (list-dynamic-libraries): New command.
6097
4c44026c
CY
60982011-05-09 Chong Yidong <cyd@stupidchicken.com>
6099
488086f4
SM
6100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6101 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6102 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6103 higher priority to avoid clobbering by gnu.
6104
027f966d
CY
61052011-05-08 Chong Yidong <cyd@stupidchicken.com>
6106
6107 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6108 if the face has existing theme settings (Bug#8454).
6109
085f5d7d
CY
61102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6111
488086f4
SM
6112 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6113 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6114
2a86a00c
RS
6115 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6116 special file names `.' and `..' (Bug#8259).
6117
d9c54a06
CY
61182011-05-08 Chong Yidong <cyd@stupidchicken.com>
6119
488086f4
SM
6120 * progmodes/grep.el (grep-mode-font-lock-keywords):
6121 Remove buffer-changing entries.
d9c54a06
CY
6122 (grep-filter): New function.
6123 (grep-mode): Add it to compilation-filter-hook.
6124
6125 * progmodes/compile.el (compilation-filter-hook)
6126 (compilation-filter-start): New defvars.
6127 (compilation-filter): Call compilation-filter-hook prior to
6128 updating the process mark.
6129
c4662635
SM
61302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6133
b0512a1d
EZ
61342011-05-07 Eli Zaretskii <eliz@gnu.org>
6135
605c9376
EZ
6136 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6137 mailclient-send-it even if window-system is nil. (Bug#8595)
6138
c4662635
SM
6139 * term/w32console.el (terminal-init-w32console):
6140 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6141 background-mode. (Bug#8597)
6142
d1dc2cc2
SM
61432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6146 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6147 New functions.
6148 (defgeneric, eieio--defmethod): Use them.
6149 (eieio-defgeneric): Remove.
6150 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6151
915d1300
GM
61522011-05-07 Glenn Morris <rgm@gnu.org>
6153
a3961c3e
GM
6154 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6155 Use let rather than let*.
6156 (timeclock-find-discrep): Remove unused local.
6157
314347b9
GM
6158 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6159
915d1300
GM
6160 * calendar/appt.el (appt-time-msg-list): Doc fix.
6161
275b59b0
NF
61622011-05-06 Noah Friedman <friedman@splode.com>
6163
6164 * apropos.el (apropos-print-doc): Only use
6165 emacs-lisp-docstring-fill-column when it is bound to an integer,
6166 per that variable's documentation.
6167
6c19f744
SM
61682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6171 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6172
60f884b2
GM
61732011-05-06 Glenn Morris <rgm@gnu.org>
6174
5006e634
GM
6175 * calendar/appt.el (appt-message-warning-time): Doc fix.
6176 (appt-warning-time-regexp): New option.
6177 (appt-make-list): Respect appt-message-warning-time.
6178
548d0a63
GM
6179 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6180 New options.
6181 (diary-add-to-list): Strip comments from the displayed string.
6182 (diary-mode): Set comment-start and comment-end.
6183
60f884b2
GM
6184 * vc/diff-mode.el (smerge-refine-subst): Declare.
6185 (diff-refine-hunk): Don't require smerge-mode when compiling.
6186
989681bb
JB
61872011-05-06 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * simple.el (list-processes): Return nil as the docstring says.
6190
a6bc05e1
MA
61912011-05-05 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6194 to "".
6195 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6196 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6197 determining of binary transfer. (Bug#7383)
6198
23c22e9a
MA
61992011-05-05 Michael Albinus <michael.albinus@gmx.de>
6200
c4662635
SM
6201 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6202 Fix port computation bug. (Bug#8618)
23c22e9a 6203
0bff894f
GM
62042011-05-05 Glenn Morris <rgm@gnu.org>
6205
b8296902
GM
6206 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6207
1f522ce8
GM
6208 * simple.el (shell-dynamic-complete-functions)
6209 (comint-dynamic-complete-functions): Declare.
6210
cf5bee67
GM
6211 * net/network-stream.el (gnutls-negotiate):
6212 * simple.el (tabulated-list-print): Fix declarations.
6213
6214 * progmodes/gud.el (syntax-symbol, syntax-point):
6215 Remove unnecessary and incorrect declarations.
6216
0bff894f
GM
6217 * emacs-lisp/check-declare.el (check-declare-scan):
6218 Handle byte-compile-initial-macro-environment in bytecomp.el
6219
9869b3ae
SM
62202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 Fix earlier half-done eieio-defmethod change (bug#8338).
6223 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6224 Streamline and change calling convention.
6225 (defmethod): Adjust accordingly and simplify.
6226 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6227 new eieio--defmethod.
6228 (slot-boundp): Minor CSE simplification.
6229
9c1d5ac5
MZ
62302011-05-05 Milan Zamazal <pdm@zamazal.org>
6231
6232 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6233 (glasses-make-readable): Use glasses-separate-capital-groups.
6234
455c834e
JB
62352011-05-05 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6238 (warning-series): Doc fix.
6239 (display-warning): Don't try to create the buffer if we just found it.
6240
9ed7c8cb
CY
62412011-05-04 Chong Yidong <cyd@stupidchicken.com>
6242
6243 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6244 (autoload-find-generated-file): New function.
6245 (generate-file-autoloads): Bind generated-autoload-file to
6246 buffer-file-name.
9869b3ae
SM
6247 (update-file-autoloads, update-directory-autoloads):
6248 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6249 output file (Bug#7989).
6250 (batch-update-autoloads): Doc fix.
6251
0898ca10
JB
62522011-05-04 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6255
31dfb76c
GM
62562011-05-04 Glenn Morris <rgm@gnu.org>
6257
f330b642
GM
6258 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6259 function, so it follows changes in calendar-date-style.
6260 (diary-fancy-date-matcher): New function.
6261 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6262 (diary-fancy-font-lock-fontify-region-function):
6263 Use diary-fancy-date-pattern as a function.
6264
31dfb76c
GM
6265 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6266 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6267
48e79d6a
TZ
62682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6269
6270 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6271 instead of positional arguments. Allow :keylist and :crlfiles
6272 arguments.
6273 (open-gnutls-stream): Call it.
6274
6275 * net/network-stream.el (network-stream-open-starttls): Adjust to
6276 call `gnutls-negotiate' with :process and :hostname arguments.
6277
dd5a5ee0
SM
62782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6279
ef80fc09
SM
6280 * minibuffer.el (completion--message): New function.
6281 (completion--do-completion, minibuffer-complete)
6282 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6283 (completion--do-completion): Don't ignore completion-auto-help when in
6284 icomplete-mode.
6285
dd5a5ee0
SM
6286 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6287 internal encoding (e.g. tibetan zero is not whitespace).
6288 (global-whitespace-mode): Prefer save-current-buffer.
6289 (whitespace-trailing-regexp): Remove useless save-match-data.
6290 (whitespace-empty-at-bob-regexp): Minor simplification.
6291
b7d22a83
CY
62922011-05-03 Chong Yidong <cyd@stupidchicken.com>
6293
6294 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6295
5192af46
AM
62962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6297
6298 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6299 Use `concat' to create string for insertion.
5192af46 6300
5767d190
SM
63012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6304 Avoid open-line which runs post-self-insert-hook.
6305 (bibtex-fill-entry): Remove unused `end' var.
6306
bf242939
AM
63072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6308
5767d190
SM
6309 * textmodes/ispell.el (ispell-add-per-file-word-list):
6310 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6311
25666126
LL
63122011-05-03 Leo Liu <sdl.web@gmail.com>
6313
6314 * isearch.el (isearch-yank-pop): New command.
5767d190 6315 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6316 (isearch-forward): Mention it.
6317
52d3c2d0
SM
63182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6319
1bcace58
SM
6320 * simple.el (minibuffer-complete-shell-command): Remove.
6321 (minibuffer-local-shell-command-map): Use completion-at-point.
6322 (read-shell-command): Setup completion vars here instead.
6323 (read-expression-map): Bind TAB to symbol completion.
6324
52d3c2d0
SM
6325 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6326 error directly rather via storing it into `results'.
6327
35813471
LL
63282011-05-02 Leo Liu <sdl.web@gmail.com>
6329
6330 * vc/diff.el: Fix description.
6331
e793a940
LMI
63322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6333
6334 * server.el (server-eval-at): New function.
6335
8de66e05
LMI
63362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6337
6338 * net/network-stream.el (open-network-stream): Take a :nowait
6339 parameter and pass it on to `make-network-process'.
6340 (network-stream-open-plain): Ditto.
6341
dcb79f20
AS
63422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6343
6344 * faces.el (face-spec-set-match-display): Don't match toolkit
6345 options on terminal frames.
6346
14a7fbd8
SM
63472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6348
7eabc1be
SM
6349 * progmodes/pascal.el: Use lexical binding.
6350 (pascal-mode-map): Remove author preferences.
6351
14a7fbd8
SM
6352 * pcomplete.el (pcomplete-std-complete): Don't abuse
6353 completion-at-point.
6354
50f84510
JB
63552011-04-28 Juanma Barranquero <lekktu@gmail.com>
6356
6e087a44
JB
6357 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6358 removing code that has been dead since 1991 or so.
6359
50f84510
JB
6360 * startup.el (command-line): When warning about "_emacs", use a
6361 delayed warning to allow the user to filter it out.
6362
0ba690bd
DD
63632011-04-28 Deniz Dogan <deniz@dogan.se>
6364
6365 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6366 user has not joined.
6367
08abfaad
SM
63682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6371 aren't any completions at point.
6372
638f053a
JB
63732011-04-28 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * subr.el (display-delayed-warnings): New function.
6376 (delayed-warnings-hook): New variable.
6377
8fff8daa
SM
63782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6379
08abfaad
SM
6380 * minibuffer.el (completion-at-point, completion-help-at-point):
6381 Don't presume that a given completion-at-point-function will always
6382 use the same calling convention.
6383
8fff8daa
SM
6384 * pcomplete.el (pcomplete-completions-at-point):
6385 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6386 pcomplete-seen is non-nil.
6387 (pcomplete-comint-setup): Also recognize the new comint/shell
6388 completion functions.
6389 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6390 pcomplete-seen is non-nil.
6391
841a1577 63922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6393
841a1577 6394 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6395 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6396 the first character in the entry. This allows for code to add its
211ec907
UJ
6397 own uid to the entry.
6398 (icalendar--convert-float-to-ical): Add export of
6399 `diary-float'-entries save for those with the optional DAY
6400 argument.
6401
2a782793
DC
64022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6403
6404 * subr.el (shell-quote-argument): Use alternate escaping strategy
6405 when we spot a variable reference in a string.
6406
0438ce91
DC
64072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6408
6409 * cus-start.el (all): Define customization for debug-on-event.
6410
841a1577 64112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6412
6413 * subr.el (shell-quote-argument): Escape correctly under Windows.
6414
d090ed6c
SM
64152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6418
bfd31217
MA
64192011-04-25 Michael Albinus <michael.albinus@gmx.de>
6420
d090ed6c
SM
6421 * net/tramp.el (tramp-process-actions): Add POS argument.
6422 Delete region between POS and (pos).
bfd31217 6423
d090ed6c
SM
6424 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6425 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6426 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6427
6428 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6429 position in `tramp-process-actions' call.
6430
6431 * net/trampver.el: Update release number.
6432
e92f3bd3
SM
64332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6434
850256b5
SM
6435 * custom.el (defcustom): Obey lexical-binding.
6436
e92f3bd3
SM
6437 Fix octave-inf completion problems reported by Alexander Klimov.
6438 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6439 Inherit from octave-mode-syntax-table.
6440 (inferior-octave-mode): Set info-lookup-mode.
6441 (inferior-octave-completion-at-point): New function.
6442 (inferior-octave-complete): Use it and completion-in-region.
6443 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6444 comint-filename-completion.
6445 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6446 symbol elements which shouldn't be word elements.
6447 (octave-font-lock-keywords, octave-beginning-of-defun)
6448 (octave-function-header-regexp): Adjust regexps accordingly.
6449 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6450
cd22b309
JB
64512011-04-25 Juanma Barranquero <lekktu@gmail.com>
6452
6453 * net/gnutls.el (gnutls-errorp): Declare before first use.
6454
8b492194
TZ
64552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6456
6457 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6458 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6459 default trustfile exists before going to use it. Add missing
6460 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6461 Reported by Claudio Bley <claudio.bley@gmail.com>.
6462 (open-gnutls-stream): Add usage example.
6463
6464 * net/network-stream.el (network-stream-open-starttls): Give host
6465 parameter to `gnutls-negotiate'.
6466 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6467 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6468
841a1577 64692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6470
cd22b309
JB
6471 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6472 Use correct match group (bug#8438).
05842630 6473
3ba7869c
CY
64742011-04-24 Chong Yidong <cyd@stupidchicken.com>
6475
512e3ae1
CY
6476 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6477 (package-menu--generate): New arg specifying packages to show.
6478 (package-menu-refresh, package-menu-execute, list-packages):
6479 Callers changed.
6480 (package-show-package-list): New function, replacing deleted
6481 package--list-packages (renamed because it is non-internal).
6482
6483 * finder.el (finder-list-matches): Use package-show-package-list
6484 instead of deleted package--list-packages.
6485
e92f3bd3
SM
6486 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6487 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6488 (vc-annotate-mode-map): Bind it to RET.
6489
7031be6d
UR
64902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6491
6492 * progmodes/etags.el (next-file): Don't use set-buffer to change
6493 buffers (Bug#8478).
6494
4ef177aa
CY
64952011-04-24 Chong Yidong <cyd@stupidchicken.com>
6496
c8d173eb
CY
6497 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6498
4ef177aa
CY
6499 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6500 (apropos-accumulator): Doc fix.
6501 (apropos-function, apropos-macro, apropos-command)
6502 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6503 (apropos-plist): Add face property.
6504 (apropos-symbols-internal): Fix indentation.
6505 (apropos-print): Simplify help, and recognize apropos-multi-type.
6506 (apropos-print-doc): Use button-type-get to extract the button's
6507 face property. Fill docstring (Bug#8352).
6508
4ffd0d6b 65092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6510
6511 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6512
c6c32125 6513 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6514 (mpuz-mode-map): Use mapc.
c6c32125
JB
6515 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6516 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6517 Fix typos in docstrings.
6518
58d468b4
JB
6519 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6520 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6521
6470c3c6
JB
6522 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6523
4ffd0d6b 65242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6525
6526 * minibuffer.el (completion--do-completion): Avoid the "Next char
6527 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6528
3ad8bad0
CY
6529 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6530 mouse-2 into unread-command-events, it is interpreted correctly.
6531
71d73c9c 6532 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6533 (image-toggle-display): Doc fix.
71d73c9c 6534
841a1577 65352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6536
4ffd0d6b
GM
6537 * textmodes/page.el (what-page): Use line-number-at-pos to
6538 calculate line number (Bug#6825).
6e1dbaa9 6539
c2fb1b60
JB
65402011-04-22 Juanma Barranquero <lekktu@gmail.com>
6541
6542 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6543 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6544 Pass argument NO-DEFAULT to `find-tag-interactive'.
6545
e02f48d7
JB
65462011-04-22 Juanma Barranquero <lekktu@gmail.com>
6547
6548 Lexical-binding cleanup.
6549
6550 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6551 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6552 * progmodes/ada-prj.el (ada-prj-initialize-values)
6553 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6554 (ada-prj-show-value):
6555 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6556 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6557 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6558 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6559 * progmodes/bug-reference.el (bug-reference-push-button):
6560 * progmodes/fortran.el (fortran-line-length):
6561 * progmodes/glasses.el (glasses-change):
6562 * progmodes/octave-mod.el (octave-fill-paragraph):
6563 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6564 (python-pdbtrack-grub-for-buffer, python-sentinel):
6565 * progmodes/sql.el (sql-save-connection):
6566 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6567 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6568 Mark unused parameters.
6569
6570 * progmodes/compile.el (compilation--flush-directory-cache)
6571 (compilation--flush-parse, compile-internal): Mark unused parameters.
6572 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6573 (compilation-next-error-function): Remove unused variable `timestamp'.
6574
6575 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6576 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6577
6578 * progmodes/dcl-mode.el (dcl-end-of-command):
6579 Remove unused variable `start'.
6580 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6581 (dcl-option-value-basic, dcl-option-value-offset)
6582 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6583 Mark unused parameters.
6584 (dcl-save-local-variable): Remove unused variable `val'.
6585 (mode): Declare.
6586
6587 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6588 Mark unused parameters.
6589 (delphi-ignore-changes): Move before first use.
6590 (delphi-charset-token-at): Remove unused variable `start'.
6591 (delphi-else-start): Remove unused variable `if-count'.
6592 (delphi-comment-block-start, delphi-comment-block-end):
6593 Remove unused variable `kind'.
6594 (delphi-indent-line): Remove unused variable `new-point'.
6595
6596 * progmodes/ebrowse.el (ebrowse-files-list)
6597 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6598 Mark unused parameters. Don't quote `lambda'.
6599 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6600 Don't quote `lambda'.
6601 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6602 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6603 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6604 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6605 Use `ignore-errors'.
6606 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6607 (ebrowse-view/find-file-and-search-pattern)
6608 (ebrowse-view/find-member-declaration/definition):
6609 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6610 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6611 Rename parameter PREFIX-ARG to PREFIX.
6612 (ebrowse-tags-read-name): Remove unused variables `start' and
6613 `member-info'.
6614 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6615 to `tags-file'.
6616
6617 * progmodes/etags.el (local-find-tag-hook): Declare.
6618 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6619 Mark unused parameters.
6620
6621 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6622 (executable-interpret): Mark unused parameter.
6623
6624 * progmodes/flymake.el (flymake-process-sentinel)
6625 (flymake-after-change-function)
6626 (flymake-create-temp-with-folder-structure)
6627 (flymake-get-include-dirs-dot): Mark unused parameters.
6628 (flymake-safe-delete-directory): Remove unused variable `err'.
6629
6630 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6631 (speedbar-timer-fn, speedbar-line-text)
6632 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6633 (speedbar-center-buffer-smartly): Declare functions.
6634 (gdb-find-watch-expression): Remove unused variable `array'.
6635 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6636 (gdb-starting): Mark unused parameters.
6637 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6638 (gdb-table-string): Remove unused variable `res'.
6639 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6640 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6641 (gdb-display-buffer): Remove unused variable `cur-size'.
6642
6643 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6644 allow lexical-binding compilation.
6645 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6646 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6647 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6648 Mark unused parameters.
6649 (gud-gdb-marker-filter): Remove unused variable `match'.
6650 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6651 lambda expressions and funcall them, instead of using `fset'.
6652
6653 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6654 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6655
6656 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6657 variable `header-beg'; use `let'.
6658
6659 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6660 `restart', `last-sexp' and `at-do'.
6661
6662 * progmodes/js.el (js--debug): Mark unused parameter.
6663 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6664 (js--splice-into-items): Remove unused variable `item'.
6665 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6666
6667 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6668 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6669 (makefile-complete): Remove unused variable `try'.
6670 (makefile-fill-paragraph, makefile-match-function-end):
6671 Mark unused parameters.
6672
6673 * progmodes/octave-inf.el (inferior-octave-complete):
6674 Remove unused variable `proc'.
6675 (inferior-octave-output-digest): Mark unused parameter.
6676
6677 * progmodes/perl-mode.el (perl-calculate-indent):
6678 Remove unused variable `err'.
6679
6680 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6681 (prolog-indent-line): Mark unused parameters.
6682 (prolog-indent-line): Remove unused variable `beg'.
6683
6684 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6685 (reporter-dont-compact-list): Declare.
6686
6687 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6688 Remove unused variable `char'.
6689 (sh-debug): Mark unused parameter.
6690 (sh-get-indent-info): Remove unused variable `start'.
6691 (sh-calculate-indent): Remove unused variable `var'.
6692
6693 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6694 (simula-electric-keyword): Remove unused variable `null'.
6695 (simula-search-backward, simula-search-forward): Remove unused
6696 variables `begin' and `end'.
6697
6698 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6699 Remove unused variable `pos'.
6700 (vera-electric-tab, vera-comment-uncomment-region):
6701 Mark unused parameters.
6702 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6703
7ede3b65
CY
67042011-04-22 Chong Yidong <cyd@stupidchicken.com>
6705
6706 * emacs-lisp/package.el (package--builtins, package-alist)
6707 (package-load-descriptor, package-built-in-p, package-activate)
6708 (define-package, package-installed-p)
6709 (package-compute-transaction, package-buffer-info)
6710 (package--push): Doc fix. Distinguish more clearly between
6711 version strings and version lists.
6712
121656e9
JB
67132011-04-21 Juanma Barranquero <lekktu@gmail.com>
6714
6715 Lexical-binding cleanup.
6716
6717 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6718 (5x5-make-mutate-best):
6719 * play/fortune.el (fortune-in-buffer):
6720 * play/gomoku.el (gomoku-init-display):
6721 * play/solitaire.el (solitaire, solitaire-do-check):
6722 * play/tetris.el (tetris-default-update-speed-function):
6723 Mark unused parameters.
6724
6725 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6726 (bubbles--shift): Remove unused variable `char-org'.
6727 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6728 (bubbles--show-images): Remove unused variable `char'.
6729
6730 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6731 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6732 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6733 (decipher-analyze-buffer): Use ?\s.
6734 (decipher-make-checkpoint): Remove unused variable `mapping'.
6735
6736 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6737
6738 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6739 Remove unused variable `result'; use `let'.
6740
6741 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6742 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6743 (gametree-children-shown-p, gametree-compute-reduced-score):
6744 Use `ignore-errors'.
6745
6746 * play/handwrite.el (ps-lpr-switches): Declare.
6747 (handwrite): Remove unused variables `pmin' and `lastp'.
6748
6749 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6750
6751 * play/landmark.el (landmark-init-display)
6752 (landmark-update-naught-weights): Mark unused parameters.
6753 (landmark-y): Remove unused variable `noise'. Simplify.
6754 (landmark-human-plays): Remove unused variable `score'.
6755
6756 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6757 (mpuz-try-proposal): Remove unused variable `game'.
6758
6759 * play/zone.el (life-patterns): Declare.
6760
80f499c7
JB
67612011-04-20 Juanma Barranquero <lekktu@gmail.com>
6762
6763 * vc/vc.el (ediff-vc-internal): Declare function.
6764
024ff170
SM
67652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6766
c0a193ea
SM
6767 * shell.el: Use lexical-binding and std completion UI.
6768 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6769 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6770 comint-preoutput-filter-functions rather than on
6771 comint-output-filter-functions.
6772 (shell-command-completion, shell--command-completion-data)
6773 (shell-filename-completion, shell-environment-variable-completion)
6774 (shell-c-a-p-replace-by-expanded-directory): New functions.
6775 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6776 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6777 (shell-dynamic-complete-environment-variable): Use them.
6778 (shell-dynamic-complete-as-environment-variable)
6779 (shell-dynamic-complete-as-command): Remove.
6780 (shell-match-partial-variable): Match past point.
6781 * comint.el: Clean up use of completion-at-point-functions.
6782 (comint-completion-at-point): New function.
6783 (comint-mode): Use it completion-at-point-functions.
6784 (comint-dynamic-complete): Make it obsolete.
6785 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6786 (comint-c-a-p-replace-by-expanded-history): New function.
6787 (comint-dynamic-complete-functions)
6788 (comint-replace-by-expanded-history): Use it.
6789 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6790 termination strings. Try harder to avoid second try-completion.
6791 (completion-in-region-mode-map): Disable bindings that don't work yet.
6792
2dbaa080
SM
6793 * comint.el: Use lexical-binding. Require CL.
6794 (comint-dynamic-complete-functions): Use comint-filename-completion.
6795 (comint-completion-addsuffix): Tweak custom type.
6796 (comint-filename-completion, comint--common-suffix)
6797 (comint--common-quoted-suffix, comint--table-subvert)
6798 (comint--complete-file-name-data): New functions.
6799 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6800 (comint-dynamic-list-filename-completions): Use them.
6801 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6802
2dbaa080
SM
6803 * minibuffer.el (completion-in-region-mode):
6804 Keep completion-in-region-mode--predicate global.
6805 (completion-in-region--postch):
6806 Assume completion-in-region-mode--predicate is not null.
6807
c79a6f38
SM
6808 * progmodes/flymake.el (flymake-start-syntax-check-process):
6809 Obey `dir'. Simplify.
6810
024ff170
SM
6811 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6812 we're in VC after all.
6813
1c6c854e
CS
68142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6815
6816 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6817 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6818 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6819
bed7f140
SM
68202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6821
332e62ab
SM
6822 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6823 add sanity check.
6824
bed7f140
SM
6825 * obsolete/erc-hecomplete.el: Make obsolete.
6826 * obsolete/: Standardize obsolescence info in the header.
6827
f195c582
GM
68282011-04-20 Glenn Morris <rgm@gnu.org>
6829
6830 * calendar/solar.el (solar-horizontal-coordinates):
6831 Use the longitude argument rather than `calendar-longitude'.
6832 (solar-date-next-longitude): Remove unused locals.
6833
cb79b8c0
VJL
68342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6835
6836 * whitespace.el: New version 13.2.1.
6837
68382011-04-20 felix <EmacsWiki> (tiny change)
6839
d8e4b68b 6840 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6841 switching between major modes on a file.
6842
602ea69d
SM
68432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6846 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6847 multi-line comments as well.
6848
06b60517
JB
68492011-04-19 Juanma Barranquero <lekktu@gmail.com>
6850
6851 Lexical-binding cleanup.
6852
6853 * arc-mode.el (archive-mode-revert):
6854 * cmuscheme.el (scheme-interactively-start-process):
6855 * custom.el (custom-initialize-delay):
6856 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6857 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6858 * emacs-lock.el (emacs-lock-clear-sentinel):
6859 * ezimage.el (defezimage):
6860 * follow.el (follow-avoid-tail-recenter):
6861 * fringe.el (set-fringe-mode-1):
6862 * generic-x.el (bat-generic-mode-compile):
6863 * help-mode.el (help-info-variable, help-do-xref)
6864 (help-mode-revert-buffer):
6865 * help.el (view-emacs-todo):
6866 * iswitchb.el (iswitchb-completion-help):
6867 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6868 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6869 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6870 * locate.el (locate-update):
6871 * longlines.el (longlines-encode-region)
6872 (longlines-after-change-function):
6873 * outline.el (outline-isearch-open-invisible):
6874 * ps-def.el (declare-function, charset-dimension, char-width)
6875 (encode-char):
6876 * ps-mule.el (ps-mule-plot-string):
6877 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6878 (recentf-edit-list-select, recentf-edit-list-validate)
6879 (recentf-open-files-action):
6880 * rect.el (delete-whitespace-rectangle-line)
6881 (rectangle-number-line-callback):
6882 * register.el (window-configuration-to-register)
6883 (frame-configuration-to-register):
6884 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6885 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6886 (xselect-convert-to-targets, xselect-convert-to-delete)
6887 (xselect-convert-to-filename, xselect-convert-to-charpos)
6888 (xselect-convert-to-lineno, xselect-convert-to-colno)
6889 (xselect-convert-to-os, xselect-convert-to-host)
6890 (xselect-convert-to-user, xselect-convert-to-class)
6891 (xselect-convert-to-name, xselect-convert-to-integer)
6892 (xselect-convert-to-atom, xselect-convert-to-identity):
6893 * subr.el (declare, ignore, process-kill-without-query)
6894 (text-clone-maintain):
6895 * terminal.el (te-get-char, te-tic-sentinel):
6896 * tool-bar.el (tool-bar-make-keymap):
6897 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6898 * type-break.el (type-break-mode, type-break-noninteractive-query):
6899 * view.el (View-back-to-mark):
6900 * wid-browse.el (widget-browse-action, widget-browse-widget)
6901 (widget-browse-widgets, widget-browse-sexp):
6902 * widget.el (define-widget-keywords):
6903 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6904 Mark unused parameters.
6905
6906 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6907 (align-areas): Remove unused variable `look'.
6908 (align-region): Remove unused variables `real-end' and `pos-list'.
6909
6910 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6911
6912 * bindings.el (mode-line-modified, mode-line-remote):
6913 Mark unused parameters.
6914 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6915
6916 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6917 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6918
6919 * comint.el (comint-history-isearch-pop-state)
6920 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6921 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6922 (comint-substitute-in-file-name): Doc fix.
6923
6924 * completion.el (cmpl-statistics-block): Mark unused parameter.
6925 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6926 (save-completions-to-file, load-completions-from-file):
6927 Remove unused local variable `e'.
6928
6929 * composite.el (compose-chars): Remove unused variable `len'.
6930 (lgstring-insert-glyph): Remove unused variable `g'.
6931 (compose-glyph-string): Remove unused variables `ascent',
6932 `descent', `lbearing' and `rbearing'.
6933 (compose-glyph-string-relative): Remove unused variables
6934 `lbearing', `rbearing' and `wadjust'.
6935 (compose-gstring-for-graphic): Remove unused variables `header',
6936 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6937 (compose-gstring-for-terminal): Remove unused variables `header'
6938 and `nchars'. Use `let', not `let*'.
6939
6940 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6941 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6942 (Custom-buffer-done, custom-buffer-create-internal)
6943 (custom-browse-visibility-action, custom-browse-group-tag-action)
6944 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6945 (widget-magic-mouse-down-action, custom-toggle-parent)
6946 (custom-add-parent-links, custom-toggle-hide-variable)
6947 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6948 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6949 (custom-face-menu-create, custom-variable-menu-create, get)
6950 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6951 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6952 (customize-apropos): Remove unused variable `tests'.
6953 (custom-group-value-create): Remove unused variable `hidden-p'.
6954 (sort-fold-case): Declare.
6955
6956 * cus-theme.el (custom-reset-standard-faces-list)
6957 (custom-reset-standard-variables-list): Declare.
6958 (customize-create-theme, custom-theme-revert, custom-theme-write)
6959 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6960 Mark unused parameters.
6961
6962 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6963
6964 * delim-col.el (delimit-columns-max): Move defvar before first use.
6965
6966 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6967 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6968
6969 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6970 (auto-insert): Declare.
6971 (desktop-restore-file-buffer): Rename desktop-* parameters;
6972 mark unused ones.
6973 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6974 (desktop-buffer): Rename desktop-* parameters.
6975
6976 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6977 (dframe-reposition-frame-xemacs, dframe-help-echo)
6978 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6979 Mark unused parameters.
6980
6981 * dired-aux.el (backup-extract-version-start, overwrite-query)
6982 (overwrite-backup-query, rename-regexp-query)
6983 (rename-non-directory-query): Declare.
6984 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6985 (dired-add-entry): Remove unused variable `orig-file-name'.
6986 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6987 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6988 `dired-copy-preserve-time' directly.
6989 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6990 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6991
6992 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6993 (dired-virtual-revert, dired-make-relative-symlink):
6994 Mark unused parameters.
6995 (manual-program): Declare.
6996 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6997 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6998 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6999
7000 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7001
7002 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7003
7004 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7005 Declare.
7006
7007 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7008
7009 * electric.el (Electric-command-loop): Rename parameter
7010 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7011
7012 * expand.el (expand-in-literal): Remove unused variable `here'.
7013
7014 * facemenu.el (facemenu-add-new-color):
7015 Remove unused variable `docstring'.
7016
7017 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7018 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7019 (face-attr-construct): Mark unused parameter. Doc fix.
7020 (read-color): Remove unused variable `hex-string'.
7021
7022 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7023 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7024 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7025 (display-buffer-other-frame): Remove unused variable `old-window'.
7026 (kill-buffer-hook): Declare.
7027 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7028 Mark unused parameters.
7029 (after-find-file): Pass 1 to `auto-save-mode', not t.
7030
7031 * files-x.el (auto-insert): Declare.
7032 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7033
7034 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7035 variable `buf'. Mark unused parameter.
06b60517
JB
7036 (find-lisp-insert-directory): Mark unused parameter.
7037
7038 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7039 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7040 (format-common-tail): Remove, unused.
7041 (format-deannotate-region): Remove unused variable `loc'.
7042 (format-annotate-region): Remove unused variable `p'.
7043 (format-annotate-single-property-change): Remove unused variables
7044 `default' and `tail'.
7045
7046 * forms.el (read-file-filter): Declare.
7047 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7048
7049 * frame.el (frame-creation-function-alist): Mark unused parameter.
7050 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7051
7052 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7053 Remove unused parameters.
7054 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7055 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7056
7057 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7058 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7059 (hfy-prepare-tag-map): Mark unused parameters.
7060 (htmlfontify-buffer): Use `called-interactively-p'.
7061
7062 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7063 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7064 (ibuffer-do-occur): Mark unused parameters.
7065 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7066 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7067
7068 * ibuffer.el: Don't quote `lambda'.
7069 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7070 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7071 Mark unused parameters.
7072
7073 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7074 (ido-completing-read): Mark unused parameters.
7075 (ido-copy-current-word): Mark unused parameters;
7076 remove unused variable `name'.
7077 (ido-sort-merged-list): Remove unused parameter `dirs'.
7078
7079 * ielm.el (ielm-input-sender): Mark unused parameter.
7080 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7081 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7082 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7083 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7084 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7085
7086 * image-dired.el (image-dired-display-thumbs): Remove unused
7087 variables `curr-file' and `count'.
7088 (image-dired-remove-tag): Remove unused variable `start'.
7089 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7090 variable `curr-file'
7091 (image-dired-rotate-original): Remove unused variable `temp-file'.
7092 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7093 Remove unused variable `file'.
7094 (image-dired-gallery-generate): Remove unused variable `curr'.
7095 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7096
7097 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7098
7099 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7100
7101 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7102
7103 * isearch.el (minibuffer-history-symbol): Declare.
7104 (isearch-edit-string): Remove unused variable `err'.
7105 (isearch-message-prefix, isearch-message-suffix):
7106 Mark unused parameters.
7107
7108 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7109
7110 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7111
7112 * makesum.el (double-column): Remove unused variable `cnt'.
7113
7114 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7115 (ido-ignore-item-temp-list): Declare.
7116
7117 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7118 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7119 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7120 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7121 `mouse-col-delta'.
7122
7123 * mouse-sel.el (mouse-extend-internal):
7124 Remove unused variable `orig-window-frame'.
7125
7126 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7127 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7128 Move declarations before first use.
7129 (pcomplete-opt): Mark unused parameters; doc fix.
7130
7131 * proced.el (proced-revert): Mark unused parameter.
7132 (proced-send-signal): Remove unused variable `err'.
7133
7134 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7135 Rename parameter PREFIX-ARG to ARG.
7136 (ps-basic-plot-string, ps-basic-plot-whitespace):
7137 Mark unused parameters.
7138
7139 * replace.el (replace-count): Define.
7140 (occur-revert-function): Mark unused parameters.
7141 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7142 (isearch-case-fold-search, isearch-string): Declare.
7143 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7144 bind `case-fold-search'. Remove unused variables `beg' and `end',
7145 and simplify.
7146 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7147 COUNT and bind `replace-count'.
7148 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7149 to COUNT.
7150
7151 * savehist.el (print-readably, print-string-length): Declare.
7152
7153 * shadowfile.el (shadow-expand-cluster-in-file-name):
7154 Remove unused variable `cluster'.
7155 (shadow-copy-file): Remove unused variable `i'.
7156 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7157 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7158 (shadow-define-literal-group, shadow-define-regexp-group)
7159 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7160
7161 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7162 (shell): Use `called-interactively-p'.
7163 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7164
7165 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7166 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7167 (delete-backward-char): Remove unused variable `ocol'.
7168 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7169 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7170 (event-apply-hyper-modifier, event-apply-shift-modifier)
7171 (event-apply-control-modifier, event-apply-meta-modifier):
7172 Mark unused parameters.
7173 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7174 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7175
7176 * speedbar.el (speedbar-ignored-directory-expressions)
7177 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7178 (speedbar-find-file, speedbar-dir-follow)
7179 (speedbar-directory-buttons-follow, speedbar-tag-find)
7180 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7181 (speedbar-buffers-line-directory, speedbar-buffer-click):
7182 Mark unused parameters.
7183 (speedbar-tag-file): Remove unused variable `mode'.
7184 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7185
7186 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7187
7188 * talk.el (talk): Remove unused variable `display'.
7189
7190 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7191 (tar-write-region-annotate): Mark unused parameter.
7192
7193 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7194 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7195 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7196 warning by another.
7197
7198 * time-stamp.el (time-stamp-string-preprocess):
7199 Remove unused variable `require-padding'.
7200
7201 * tree-widget.el (widget-glyph-enable): Declare.
7202 (tree-widget-action): Mark unused parameter.
7203
7204 * w32-fns.el (x-get-selection): Mark unused parameter.
7205 (autoload-make-program, generated-autoload-file): Declare.
7206
7207 * wdired.el (wdired-revert): Mark unused parameters.
7208 (wdired-xcase-word): Remove unused variable `err'.
7209
7210 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7211 (whitespace-help-scroll): Remove unused variable `data-help'.
7212
7213 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7214 (widget-image-insert, widget-after-change, default)
7215 (widget-default-format-handler, widget-default-notify)
7216 (widget-default-prompt-value, widget-info-link-action)
7217 (widget-url-link-action, widget-function-link-action)
7218 (widget-variable-link-action, widget-file-link-action)
7219 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7220 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7221 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7222 (widget-insert-button-action, widget-delete-button-action, visibility)
7223 (widget-documentation-link-action, widget-documentation-string-action)
7224 (widget-const-prompt-value, widget-regexp-match, symbol)
7225 (widget-coding-system-prompt-value)
7226 (widget-key-sequence-value-to-external, sexp)
7227 (widget-sexp-value-to-internal, character, vector, cons)
7228 (widget-choice-prompt-value, widget-boolean-prompt-value)
7229 (widget-color--choose-action): Mark unused parameters.
7230 (widget-item-match-inline, widget-choice-match-inline)
7231 (widget-checklist-match, widget-checklist-match-inline)
7232 (widget-group-match): Rename parameter VALUES to VALS.
7233 (widget-field-value-set): Remove unused variable `size'.
7234 (widget-color-action): Remove unused variables `value' and `start'.
7235
7236 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7237 variable `dir'. Doc fix.
06b60517
JB
7238 (windmove-find-other-window): Don't pass it.
7239
7240 * window.el (count-windows): Mark unused parameter.
7241 (bw-adjust-window): Remove unused variable `err'.
7242
7243 * woman.el (woman-file-name): Remove unused variable `default'.
7244 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7245 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7246 (global-font-lock-mode): Declare.
7247 (woman-decode-region): Mark unused parameter.
7248 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7249
7250 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7251 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7252 (x-dnd-handle-moz-url): Remove unused variable `title'.
7253 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7254
7255 * xml.el (xml-parse-tag, xml-parse-attlist):
7256 Remove unused variable `pos'.
7257
bc4f7f3d
GM
72582011-04-19 Glenn Morris <rgm@gnu.org>
7259
7260 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7261 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7262 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7263 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7264 * calendar/cal-html.el (cal-html-insert-minical):
7265 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7266 (calendar-mark-date-pattern):
7267 Prefix "unused" locals.
7268
7269 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7270 optional argument `style'.
7271
7272 * calendar/appt.el (appt-make-list):
7273 * calendar/cal-china.el (calendar-chinese-date-string):
7274 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7275 (diary-hebrew-yahrzeit):
7276 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7277 * calendar/calendar.el (calendar-generate-window):
7278 * calendar/time-date.el (time-to-days):
7279 Remove unused local variables.
7280
16a43933
CY
72812011-04-18 Chong Yidong <cyd@stupidchicken.com>
7282
7283 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7284 glyphless-char-display table.
7285 (tabulated-list-glyphless-char-display): New var.
7286
7eed1860
SS
72872011-04-18 Sam Steingold <sds@gnu.org>
7288
7289 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7290 to acknowledgments.
7291
4d2d1ccd
GM
72922011-04-17 Glenn Morris <rgm@gnu.org>
7293
7294 * calendar/diary-lib.el (diary-sexp-entry):
7295 * calendar/holidays.el (holiday-sexp):
7296 Set debug-on-error rather than the removed stack-trace-on-error.
7297
239da61d
GM
72982011-04-16 Glenn Morris <rgm@gnu.org>
7299
7300 * progmodes/f90.el: Use lexical-binding.
7301 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7302
8b05752a
SM
73032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7304
daca8ba5
SM
7305 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7306 (mail-mode): Setup mailalias completion here instead.
7307 * mail/mailalias.el: Use lexical-binding.
7308 (pattern, mailalias-done): Declare dynamic.
7309 (mail-completion-at-point-function): New function, from mail-complete.
7310 (mail-complete): Use it.
7311 (mail-completion-expand): New function.
7312 (mail-get-names): Use it.
7313 (mail-directory, mail-directory-process, mail-directory-stream):
7314 Don't use `pattern' for lexically bound arg.
7315
6f542485
SM
7316 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7317
037e7c3f
SM
7318 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7319 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7320 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7321
8b05752a
SM
7322 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7323 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7324 (byte-interactive-p): Define them again, for use when inlining
7325 old code.
7326
49093f60
JB
73272011-04-15 Juanma Barranquero <lekktu@gmail.com>
7328
7329 * loadup.el: Use `string-to-number', not `string-to-int'.
7330
b5b8e7de
SM
73312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7334 gud-gdb-complete-command.
7335 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7336 (gud-gdb-completion-at-point): New function.
7337 (gud-gdb-completions): Remove.
7338
f42efeb5
MA
73392011-04-14 Michael Albinus <michael.albinus@gmx.de>
7340
49093f60
JB
7341 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7342 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7343 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7344 whether `executable-find' is bound.
f42efeb5
MA
7345
7346 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7347
e240cc21
SM
73482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * minibuffer.el (completion-in-region-mode-predicate)
7351 (completion-in-region-mode--predicate): New vars.
7352 (completion-in-region, completion-in-region--postch)
7353 (completion-in-region-mode): Use them.
7354 (completion--capf-wrapper): Also return the hook function.
7355 (completion-at-point, completion-help-at-point):
7356 Adjust and provide a predicate.
c2bd2ab0
SM
7357
7358 Preserve arg names for advice of subr and lexical functions (bug#8457).
7359 * help-fns.el (help-function-arglist): Consolidate the subr and
7360 new-byte-code cases. Add argument `preserve-names' to extract names
7361 from the docstring when needed.
7362 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7363 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7364 (ad-arglist): Use help-function-arglist's new arg.
7365 (ad-definition-type): Use cond.
7366
c183f693
JB
73672011-04-13 Juanma Barranquero <lekktu@gmail.com>
7368
06641a47
JB
7369 * autorevert.el (auto-revert-handler):
7370 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7371 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7372 Don't quote lambda.
7373
c183f693
JB
7374 * image-mode.el (image-transform-set-scale):
7375 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7376
1e3b6001
G
73772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7378
7379 * net/network-stream.el (network-stream-open-starttls): Only do
7380 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7381 Upgrades via gnutls-cli are too slow to be done opportunistically.
7382
2d6af8dd
JB
73832011-04-12 Juanma Barranquero <lekktu@gmail.com>
7384
7385 * dframe.el (dframe-current-frame): Remove spurious quote.
7386
c0749a51
GM
73872011-04-12 Glenn Morris <rgm@gnu.org>
7388
088d0d61
GM
7389 * calendar/cal-tex.el (cal-tex-end-document):
7390 Try to automatically use latin1 input if needed.
7391
c0749a51
GM
7392 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7393 Don't try to cons a mark onto an empty element.
7394
5c90fde0
LL
73952011-04-11 Leo Liu <sdl.web@gmail.com>
7396
7397 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7398 buffers.
7399 (ido-kill-buffer-at-head): Support killing virtual buffers.
7400
369e974d
CY
74012011-04-10 Chong Yidong <cyd@stupidchicken.com>
7402
7403 * minibuffer.el (completion-show-inline-help): New var.
7404 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7405 (minibuffer-force-complete, minibuffer-complete-word):
7406 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7407
7408 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7409 to avoid interference from inline help (Bug#5849).
7410
37f1c930
LL
74112011-04-10 Leo Liu <sdl.web@gmail.com>
7412
099c39a4
JB
7413 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7414 Fix typo.
37f1c930 7415
a32d4040
CY
74162011-04-09 Chong Yidong <cyd@stupidchicken.com>
7417
7418 * image-mode.el (image-toggle-display-image): Signal an error if
7419 not in Image mode.
7420 (image-transform-mode, image-transform-resize)
7421 (image-transform-set-rotation): Doc fix.
daca8ba5 7422 (image-transform-set-resize): Delete.
a32d4040
CY
7423 (image-transform-set-scale, image-transform-fit-to-height)
7424 (image-transform-fit-to-width): Handle image-toggle-display-image
7425 and image-transform-resize directly.
7426
099c39a4 74272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7428
7429 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7430 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7431 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7432 (doc-view-mode-map): Add bindings for the new functions.
7433
099c39a4 74342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7435
4d61f28d 7436 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7437 Fix typo in docstring.
7438
3726838a
EZ
74392011-04-08 Eli Zaretskii <eliz@gnu.org>
7440
04f33f1e
EZ
7441 * files.el (file-size-human-readable): Produce one digit after
7442 decimal, like "ls -lh" does.
7443
7444 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7445 the file size representation.
7446
3726838a
EZ
7447 * simple.el (list-processes): If async subprocesses are not
7448 available, error out with a clear error message.
7449
cbb59342
CY
74502011-04-08 Chong Yidong <cyd@stupidchicken.com>
7451
7452 * help.el (help-form-show): New function, to be called from C.
7453 Put help-form output in a buffer named differently than *Help*.
7454
e3971c44
EZ
74552011-04-08 Eli Zaretskii <eliz@gnu.org>
7456
7457 * files.el (file-size-human-readable): New function.
7458
7459 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7460 computing the representation inline. Don't require `cl'.
7461
12544bbe
GM
74622011-04-08 Glenn Morris <rgm@gnu.org>
7463
a1de6c6a
GM
7464 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7465
3c4671f4
GM
7466 * net/browse-url.el (browse-url-firefox):
7467 Test system-type, not system-configuration.
7468
b605679c
GM
7469 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7470 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7471 Use log-edit-empty-buffer-p. (Bug#7598)
7472
56442f0c
GM
7473 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7474 (rlogin-mode-map): Initialize in the defvar.
7475 (rlogin): Use ignore-errors.
7476
12544bbe
GM
7477 * replace.el (occur-mode-map): Some fixes for menu items.
7478
eb237b0f
AH
74792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7480
7481 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7482
7d668f2c
CY
74832011-04-06 Chong Yidong <cyd@stupidchicken.com>
7484
e67a13ab
CY
7485 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7486 issuing unused warnings.
7487
7488 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7489 macro directly.
7490
7d668f2c
CY
7491 * simple.el: Lisp reimplement of list-processes. Based on an
7492 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7493 (process-menu-mode): New major mode.
7494 (list-processes--refresh, list-processes):
7495 (process-menu-visit-buffer): New functions.
7496
7497 * files.el (save-buffers-kill-emacs): Don't assume any return
7498 value of list-processes, which is undocumented anyway.
7499
a83ec3c9
CY
75002011-04-06 Chong Yidong <cyd@stupidchicken.com>
7501
7502 * emacs-lisp/tabulated-list.el: New file.
7503
e91a96fe
CY
7504 * emacs-lisp/package.el: Use Tabulated List mode.
7505 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7506 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7507 table format using Tabulated List mode variables.
7508 (package--push): New macro, replacing package-list-maybe-add.
7509 (package-menu--generate): Use package--push. Renamed from
7510 package--generate-package-list.
7511 (package-menu-refresh, list-packages): Use it.
daca8ba5 7512 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7513 Return insertion data instead of inserting it directly.
099c39a4
JB
7514 (package-menu-describe-package, package-menu-execute):
7515 Use tabulated-list-get-id.
e91a96fe
CY
7516 (package-menu-mark-delete, package-menu-mark-install)
7517 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7518 (package-menu-mark-obsolete-for-deletion):
7519 Use tabulated-list-put-tag.
e91a96fe
CY
7520 (package--list-packages, package-menu-revert)
7521 (package-menu-get-package, package-menu-get-version)
7522 (package-menu-sort-by-column): Functions deleted.
7523 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7524 (package-menu--status-predicate, package-menu--version-predicate)
7525 (package-menu--name-predicate)
7526 (package-menu--description-predicate): Handle arguments in the
7527 Tabulated List format.
7528 (package-list-packages-no-fetch): Call list-packages.
7529
3e214b50
JB
75302011-04-06 Juanma Barranquero <lekktu@gmail.com>
7531
7532 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7533 (after-find-file): Don't bind it.
3e214b50
JB
7534 (revert-buffer-in-progress-p): New variable.
7535 (revert-buffer): Bind it.
7536 Pass nil for `after-find-file-from-revert-buffer'.
7537
7538 * saveplace.el (save-place-find-file-hook): Use new variable
7539 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7540
3f0f1700
GM
75412011-04-06 Glenn Morris <rgm@gnu.org>
7542
c0274801
GM
7543 * Makefile.in (AUTOGEN_VCS): New variable.
7544 (autoloads): Use $AUTOGEN_VCS.
7545
3f0f1700
GM
7546 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7547 * calendar/calendar.el (calendar-mode-map):
7548 Check for toolkit scroll bars. (Bug#8305)
7549
41ea9e48
CY
75502011-04-05 Chong Yidong <cyd@stupidchicken.com>
7551
7552 * minibuffer.el (completion-in-region--postch)
7553 (completion-in-region-mode): Remove unnecessary messages.
7554
6194c800
JB
75552011-04-05 Juanma Barranquero <lekktu@gmail.com>
7556
33256f14
JB
7557 * font-lock.el (font-lock-refresh-defaults):
7558 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7559 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7560
6194c800
JB
7561 * info.el (Info-directory-list, Info-read-node-name-2)
7562 (Info-split-parameter-string): Doc fixes.
7563 (Info-virtual-nodes): Reflow docstring.
7564 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7565 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7566 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7567 Fix typos in docstrings.
7568 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7569 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7570 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7571 (Info-restore-desktop-buffer): Mark unused parameters.
7572 (Info-directory-find-file, Info-directory-find-node)
7573 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7574 (Info-virtual-index-find-node, Info-apropos-find-file)
7575 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7576 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7577 (Info-virtual-index): Remove unused local variable `nodename'.
7578
b87a8200 75792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7580
b87a8200
DD
7581 * net/rcirc.el: Update my e-mail address.
7582 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7583
3b2ff876
CY
75842011-04-05 Chong Yidong <cyd@stupidchicken.com>
7585
7586 * startup.el (command-line): Save the cursor's theme-face
7587 directly, instead of using face-override-spec.
7588
7589 * custom.el (load-theme): Minor optimization in assigning faces.
7590
8d17e7ca
JB
75912011-04-04 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * help-fns.el (describe-variable): Complete all variables having
7594 documentation, including keywords.
7595 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7596
2fbc1934
JB
75972011-04-04 Juanma Barranquero <lekktu@gmail.com>
7598
7599 Convert to lexical-binding.
7600
7601 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7602 (bs--get-marked-string, bs--get-modified-string)
7603 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7604 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7605 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7606
7607 * ehelp.el (electric-help-execute-extended)
7608 (electric-help-ctrl-x-prefix):
7609 * hexl.el (hexl-revert-buffer-function):
7610 * linum.el (linum-after-change, linum-after-scroll):
7611 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7612
7613 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7614
74f50695
DU
76152011-04-04 Daiki Ueno <ueno@unixuser.org>
7616
7617 * epa-dired.el:
7618 * epa-mail.el:
7619 * epa-hook.el:
7620 * epa-file.el:
7621 * epa.el:
7622 * epg.el: Use lexical binding.
7623
c11325f7
CY
76242011-04-03 Chong Yidong <cyd@stupidchicken.com>
7625
0d9e9a12
CY
7626 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7627
c11325f7 7628 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7629 dictionary case for flyspell-mark-duplications-exceptions.
7630 Use regexp matching for languages.
c11325f7
CY
7631 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7632 default dictionary (Bug#7926).
7633
da91b5f2
CY
76342011-04-02 Chong Yidong <cyd@stupidchicken.com>
7635
099c39a4
JB
7636 * emacs-lisp/package.el (package--with-work-buffer):
7637 Recognize https URLs.
da91b5f2 7638
099c39a4
JB
7639 * net/network-stream.el: Move from gnus/proto-stream.el.
7640 Change prefix to network-stream throughout.
da91b5f2
CY
7641 (open-protocol-stream): Merge into open-network-stream, leaving
7642 open-protocol-stream as an alias. Handle nil BUFFER args.
7643
7644 * subr.el (open-network-stream): Move to net/network-stream.el.
7645
afa8e9f6
GM
76462011-04-02 Glenn Morris <rgm@gnu.org>
7647
1d2e369d
GM
7648 * find-dired.el (find-exec-terminator): New option.
7649 (find-ls-option): Test for -ls support.
7650 (find-ls-subdir-switches): Test for -b in find-ls-option.
7651 (find-dired, find-grep-dired): Doc fixes.
7652 (find-dired): Use find-exec-terminator.
7653
8abb7da8 7654 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7655 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7656 (find-name-arg): Remove purecopy.
8abb7da8 7657
f3ca7378
GM
7658 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7659 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7660 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7661 accordingly. Don't add the null-device if not needed.
7662
afa8e9f6
GM
7663 * files.el (save-some-buffers): Doc fix.
7664
35eae264
EZ
76652011-04-02 Eli Zaretskii <eliz@gnu.org>
7666
7667 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7668
26b51db5
JB
76692011-04-01 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7672 Use `dolist' rather than `mapcar'.
7673
7200d79c
SM
76742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7675
03408648 7676 Add lexical binding.
7200d79c 7677
03408648
SM
7678 * subr.el (apply-partially): Use new closures rather than CL.
7679 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7680 (dolist, dotimes): Use slightly different expansion for lexical code.
7681 (functionp): Move to C.
7682 (letrec): New macro.
7683 (with-wrapper-hook): Use it and apply-partially instead of CL.
7684 (eval-after-load): Preserve lexical-binding.
7685 (save-window-excursion, with-output-to-temp-buffer): Turn them
7686 into macros.
7200d79c 7687
03408648
SM
7688 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7689
7690 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7691 than the arglist.
7692 (help-add-fundoc-usage): Don't add `Not documented'.
7693 (help-function-arglist): Handle closures, subroutines, and new
7694 byte-code-functions.
7695 (help-make-usage): Remove leading underscores.
7696 (describe-function-1): Handle closures.
7697 (describe-variable): Use special-variable-p for completion.
7698
7699 * files.el (lexical-binding): Declare safe.
f488fb65 7700
03408648
SM
7701 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7702 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7703 (pcase): Add `let' pattern.
7704 Change memoization so it actually works.
7705 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7706 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7707 <let>: New case.
f488fb65 7708
03408648
SM
7709 * emacs-lisp/macroexp.el: Use lexical binding.
7710 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7711 Don't convert ' to #' without checking that it's indeed quoting
7712 a lambda.
7713
7714 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7715 Use eval-sexp-add-defvars.
03408648
SM
7716 (eval-sexp-add-defvars): New fun.
7717
7718 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7719
7720 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7721 Don't autoload.
7722 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7723 than the internal `byte-compile-lambda'.
7724 (defmethod): Don't hide code under quotes.
7725 (eieio-defmethod): New `code' argument.
7726
7727 * emacs-lisp/eieio-comp.el: Remove.
7728
7729 * emacs-lisp/edebug.el (edebug-eval-defun)
7730 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7731 (edebug-toggle): Avoid `eval'.
7732
7733 * emacs-lisp/disass.el (disassemble-internal): Handle new
7734 `closure' objects.
7735 (disassemble-1): Handle new byte codes.
7736
7737 * emacs-lisp/cl.el (pushnew): Silence warning.
7738
7739 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7740 (cl-byte-compile-throw): Remove.
7741 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7742
7743 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7744 closures.
7745
7746 * emacs-lisp/cconv.el: New file.
7747
7748 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7749 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7750 (byte-compile-initial-macro-environment):
7751 Handle declare-function here.
7752 (byte-compile--lexical-environment): New var.
7753 (byte-stack-ref, byte-stack-set, byte-discardN)
7754 (byte-discardN-preserve-tos): New lap codes.
7755 (byte-interactive-p): Don't use any more.
7756 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7757 New macros.
7758 (byte-compile-lapcode): Use them and handle new lap codes.
7759 (byte-compile-obsolete): Remove.
7760 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7761 (byte-compile-arglist-warn): Check late def of inlinable funs.
7762 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7763 since they should have been expanded by now.
7764 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7765 (byte-compile-from-buffer): Remove unused second arg.
7766 (byte-compile-preprocess): New function.
7767 (byte-compile-toplevel-file-form): New function to distinguish
7768 file-form calls from outside from file-form calls from hunk-handlers.
7769 (byte-compile-file-form): Simplify.
7770 (byte-compile-file-form-defsubst): Remove.
7771 (byte-compile-file-form-defmumble): Simplify now that
7772 byte-compile-lambda always returns a byte-code-function.
7773 (byte-compile): Preprocess.
7774 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7775 Remove, not used any more.
7776 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7777 (byte-compile-make-args-desc): New funs.
7778 (byte-compile-lambda): Handle lexical functions. Always return
7779 a byte-code-function.
7780 (byte-compile-reserved-constants): New var, to make up room for
7781 closed-over variables.
7782 (byte-compile-constants-vector): Obey it.
7783 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7784 (byte-compile-macroexpand-declare-function): New function.
7785 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7786 byte-code-functions.
7787 (byte-compile-form): Check obsolescence here.
7788 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7789 (byte-compile-variable-ref): Remove.
7790 (byte-compile-dynamic-variable-op): New fun.
7791 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7792 (byte-compile-variable-set): New funs.
7793 (byte-compile-discard): Add 2 args.
7794 (byte-compile-stack-ref, byte-compile-stack-set)
7795 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7796 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7797 macroexpand-all instead.
7798 (byte-compile-quote-form): Remove.
7799 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7800 (byte-compile-bind, byte-compile-unbind): New funs.
7801 (byte-compile-let): Handle let* and lexical binding.
7802 (byte-compile-let*): Remove.
7803 (byte-compile-catch, byte-compile-unwind-protect)
7804 (byte-compile-track-mouse, byte-compile-condition-case):
7805 Handle a new :fun-body form, used for lexical scoping.
7806 (byte-compile-save-window-excursion)
7807 (byte-compile-with-output-to-temp-buffer): Remove.
7808 (byte-compile-defun): Simplify.
7809 (byte-compile-stack-adjustment): New fun.
7810 (byte-compile-out): Use it.
7811 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7812
7813 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7814 handler any more.
7815
7816 * emacs-lisp/byte-opt.el: Use lexical binding.
7817 (byte-inline-lapcode): Remove (to bytecomp).
7818 (byte-compile-inline-expand): Pay attention to inlining to/from
7819 lexically bound code.
7820 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7821 any more.
7822 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7823 any more and don't call compiler-macros.
7824 (byte-compile-splice-in-already-compiled-code): Remove.
7825 (byte-code): Don't inline any more.
7826 (disassemble-offset): Receive `bytes' as argument rather than via
7827 dynamic scoping.
7828 (byte-compile-tag-number): Declare before first use.
7829 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7830 `return' even if make-spliceable.
7831 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7832 obsolete interactive-p.
7833 (byte-optimize-lapcode): Optimize new lap-codes.
7834 Don't trip up on new form of `byte-constant' lap code.
7835
7836 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7837
7838 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7839
7840 * custom.el (custom-initialize-default, custom-declare-variable):
7841 Use `defvar'.
7842
7843 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7844 New variables.
7845 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7846 (COMPILE_FIRST): Add macroexp and cconv.
7847 * makefile.w32-in: Mirror changes in Makefile.in.
7848
7849 * vc/cvs-status.el:
7850 * vc/diff-mode.el:
7851 * vc/log-edit.el:
7852 * vc/log-view.el:
7853 * vc/smerge-mode.el:
7854 * textmodes/bibtex-style.el:
7855 * textmodes/css.el:
7856 * startup.el:
7857 * uniquify.el:
da91b5f2
CY
7858 * minibuffer.el:
7859 * newcomment.el:
7860 * reveal.el:
7861 * server.el:
7862 * mpc.el:
7863 * emacs-lisp/smie.el:
7864 * doc-view.el:
7865 * dired.el:
03408648
SM
7866 * abbrev.el: Use lexical binding.
7867
0f0c1f27
EZ
78682011-04-01 Eli Zaretskii <eliz@gnu.org>
7869
7870 * info.el (info-display-manual): New function.
7871
c82b2579
SM
78722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7875
221ddf68
TH
78762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7877
7878 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7879 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7880
cba6e77e
GM
78812011-03-31 Glenn Morris <rgm@gnu.org>
7882
e040639f
GM
7883 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7884
cba6e77e
GM
7885 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7886
6d0f1c9e
CS
78872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7888
7889 * progmodes/python.el (python-default-interpreter)
7890 (python-python-command-args, python-jython-command-args)
7891 (python-which-shell, python-which-args, python-which-bufname)
7892 (python-file-queue, python-comint-output-filter-function)
7893 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7894 variables and functions.
7895
3e2d70fd
SM
78962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7899 (completion-in-region-mode): New minor mode.
7900 (completion-in-region): Use it.
7901 (completion-in-region--data, completion-in-region-mode-map): New vars.
7902 (completion-in-region--postch): New function.
7903 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7904 New vars.
7905 (completion--capf-wrapper): New function.
7906 (completion-at-point): Use it to track well-behavedness of
7907 hook functions.
7908 (completion-help-at-point): New command.
7909
f3e4086c
JM
79102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7911
7912 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7913 syntax class to search for whitespace on a single line
7914 (Message-ID: <4D938140.4030905@redhat.com>).
7915
eb7ffc14
LL
79162011-03-30 Leo Liu <sdl.web@gmail.com>
7917
7918 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7919 New commands.
7920 (edit-abbrevs-map): Bind them here.
7921 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7922
d806ab68
KM
79232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7924
7925 * allout.el (allout-hide-by-annotation, allout-flag-region):
7926 Reduce possibility of overlay leakage by making them volatile.
7927
7928 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7929 hash is not shared between buffers. Mode initialization is
7930 responsible for giving it a useful starting value.
7931 (allout-item-span): Reduce possibility of overlay leakage by
7932 making them volatile.
7933 (allout-widgets-count-buttons-in-region): Add diagnostic function
7934 for tracking down button overlay leaks.
7935
ea622834
LL
79362011-03-29 Leo Liu <sdl.web@gmail.com>
7937
7938 * ido.el (ido-read-internal): Use the default history var
7939 minibuffer-history if no HISTORY is specified.
7940
b62f8267
G
79412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7942
03408648
SM
7943 * net/imap.el (imap-shell-open, imap-process-connection-type):
7944 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7945 Kerberos, SSL, other subprocesses.
7946
947b6566
LL
79472011-03-28 Leo Liu <sdl.web@gmail.com>
7948
7949 * abbrev.el (abbrev-table-empty-p): New function.
7950 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7951 nonempty ones. (Bug#5937)
7952
5ffb62aa
JD
79532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7954
7955 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7956
7a097943
LL
79572011-03-27 Leo Liu <sdl.web@gmail.com>
7958
7959 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7960 for foreground and background colors.
7961 (ansi-color-make-color-map): Adapt.
7962
c5b40130
LL
79632011-03-25 Leo Liu <sdl.web@gmail.com>
7964
1f48f7d2
LL
7965 * midnight.el (midnight-time-float): Remove. Note it calculates
7966 the microsecond component incorrectly and seconds-to-time does the
7967 same job.
625897ec 7968 Remove redundant (require 'timer).
1f48f7d2 7969
c5b40130
LL
7970 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7971 (ido-completions): Remove unused arguments. (Bug#8329)
7972
d86d2721
SM
79732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7975 * minibuffer.el (completion--flush-all-sorted-completions):
7976 Remove itself from hook.
7977 (completion-at-point): Let the functions perform the completion
7978 immediately and return nil or t.
7979 * comint.el (comint-dynamic-complete-functions): Now identical to
7980 completion-at-point-functions.
7981 (comint-dynamic-list-input-ring): Remove unused var `index'.
7982 (comint--match-partial-filename, comint--unquote&expand-filename):
7983 New funs, split from comint-match-partial-filename.
7984 (comint-dynamic-complete): Use completion-at-point.
7985 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7986
e8974c48
DA
79872011-03-24 Drew Adams <drew.adams@oracle.com>
7988
7989 * thingatpt.el: Support `defun'.
7990
def71b5e
LL
79912011-03-23 Leo Liu <sdl.web@gmail.com>
7992
cb5af48e
LL
7993 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7994
def71b5e
LL
7995 * help-mode.el (help-mode-finish): Tweak regexp.
7996
927c53e7
GM
79972011-03-23 Glenn Morris <rgm@gnu.org>
7998
18d05bed
GM
7999 * eshell/esh-opt.el (eshell-eval-using-options):
8000 Do not bind unused local variable `eshell-option-stub'.
8001
927c53e7
GM
8002 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8003
9d0da923
JB
80042011-03-22 Juanma Barranquero <lekktu@gmail.com>
8005
8006 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8007 keymap variable in `with-no-warnings' to avoid a warning when the
8008 keymap has been already `defconst'ed.
8009
4b978a67
LL
80102011-03-22 Leo Liu <sdl.web@gmail.com>
8011
8012 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8013 encode all chars in abbrevs; otherwise use emacs-mule or
8014 utf-8-emacs. (Bug#8308)
8015
5fd62452
JB
80162011-03-22 Juanma Barranquero <lekktu@gmail.com>
8017
0b1596c6
JB
8018 * simple.el (backward-delete-char-untabify):
8019 Avoid warning about using `delete-backward-char'.
8020
5fd62452
JB
8021 * image.el (image-type-file-name-regexps): Make it variable.
8022 `imagemagick-register-types' modifies it, and the user may want
8023 to add new extensions for known image types.
8024 (imagemagick-register-types): Throw error if not using ImageMagick.
8025
0b4e93f1
LL
80262011-03-22 Leo Liu <sdl.web@gmail.com>
8027
8028 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8029 located before rcirc-prompt-end-marker.
8030 (rcirc-complete): Error if point is not after rcirc prompt.
8031 Handle the case when table is nil.
9882e214 8032 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8033
fccee4ab
CY
80342011-03-22 Chong Yidong <cyd@stupidchicken.com>
8035
8036 * custom.el (custom--inhibit-theme-enable): Make it affect only
8037 custom-theme-set-variables and custom-theme-set-faces.
8038 (provide-theme): Ignore custom--inhibit-theme-enable.
8039 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8040 (custom-enabling-themes): Delete variable.
d86d2721
SM
8041 (enable-theme): Accept only loaded themes as arguments.
8042 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8043 (custom-enabled-themes): Forbid themes from setting this.
8044 Eliminate use of custom-enabling-themes.
8045 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8046
af896da6
LL
80472011-03-21 Leo Liu <sdl.web@gmail.com>
8048
8049 * ido.el (ido-read-internal): Add ido-selected to history instead
8050 of user input.
8051
78f64af0
SM
80522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * subr.el (deferred-action-list, deferred-action-function):
8055 Mark obsolete.
8056
b16ac1ec
LL
80572011-03-21 Leo Liu <sdl.web@gmail.com>
8058
810f7698
LL
8059 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8060 change on 2011-02-13 (bug#8309).
8061
b16ac1ec
LL
8062 * minibuffer.el (read-file-name-function): Change default value.
8063 (read-file-name--defaults): Rename from read-file-name-defaults.
8064 (read-file-name-default): Rename from read-file-name.
8065 (read-file-name): Call read-file-name-function.
8066
4e05e67e
GM
80672011-03-21 Glenn Morris <rgm@gnu.org>
8068
8069 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8070 Doc fixes.
8071
4359915b
CY
80722011-03-21 Chong Yidong <cyd@stupidchicken.com>
8073
8074 * cus-theme.el: Add missing provide statement.
8075 (customize-create-theme): Extract theme value correctly.
8076 (custom-theme-visit-theme): Autoload.
8077 (customize-create-theme): Prompt before inserting default faces.
8078
1fe275ee
JB
80792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8080
8081 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8082 units and musical notes.
8083
3ec03f7e
LL
80842011-03-20 Leo <sdl.web@gmail.com>
8085
8086 * ido.el (ido-read-internal): Use completing-read-default.
8087 (ido-completing-read): Fix compatibility with completing-read.
8088
7d476bde
CO
80892011-03-20 Christian Ohler <ohler@gnu.org>
8090
8091 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8092 (ert-delete-all-tests): Use `called-interactively-p' rather than
8093 `interactive-p'.
8094 (ert--make-xrefs-region): Respect END.
8095
fe0fb33e
CY
80962011-03-19 Chong Yidong <cyd@stupidchicken.com>
8097
ff854b0b
CY
8098 * dired-aux.el (dired-create-directory): Signal an error if the
8099 directory already exists (Bug#8246).
8100
fe0fb33e
CY
8101 * facemenu.el (list-colors-display): Call list-faces-display
8102 inside with-help-window.
8103 (list-colors-print): Use display property to align the final
8104 column, instead of checking window-width.
8105
576bce32
EZ
81062011-03-19 Eli Zaretskii <eliz@gnu.org>
8107
4d61f28d 8108 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8109 windows-nt systems.
8110 (emerge-protect-metachars): Quote correctly for ms-dos and
8111 windows-nt systems.
8112
89c41d68 81132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8114
8115 * info.el (info-initialize): Replace all uses of `:' with
8116 path-separator for compatibility with non-Unix systems.
8117 Cache quoting of path-separator. (Bug#8258)
8118
b14e3e21 81192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8120
8121 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8122 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8123 (mouse-avoidance-mode): Fix typos in docstrings.
8124
4525ce3e
CY
81252011-03-19 Chong Yidong <cyd@stupidchicken.com>
8126
8127 * startup.el (package-subdirectory-regexp): Move from package.el.
8128 Omit \\` and \\', and let callers add them.
8129
8130 * emacs-lisp/package.el (package-strip-version)
8131 (package-load-all-descriptors): Add \\` and \\' to
8132 package-subdirectory-regexp before using it.
8133 (package-untar-buffer): New arg DIR; ensure that file untars only
8134 into this expected directory. Remove superfluous delete-region.
8135 (package-unpack): Caller changed.
8136 (package-tar-file-info): Use package-subdirectory-regexp.
8137
a904a09a 81382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8139
a904a09a
SM
8140 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8141 diff-mode-shared-map (bug#8284).
8142 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8143
81442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145
8146 * calendar/time-date.el (format-seconds): Use assoc instead of
8147 assoc-string, since assoc-string doesn't exist in XEmacs.
8148
171fc304
JB
81492011-03-17 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * custom.el (custom-known-themes): Reflow docstring.
8152 (custom-theme-load-path): Fix typo in docstring.
8153 (load-theme): Fix typo in error message.
8154 (custom-available-themes, custom-variable-theme-value):
8155 Use `let', not `let*'.
8156
d71990a1
JB
81572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8158
8159 * calc/README: Mention inclusion of musical notes.
8160
8161 * calc/calc-units.el (calc-lu-quant): Rename from
8162 `calc-logunits-quantity'.
8163 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8164 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8165 (calc-db): Rename from `calc-dblevel'.
8166 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8167 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8168 (calc-np): Rename from `calc-nplevel'.
8169 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8170 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8171 (calc-lu-plus): Rename from `calc-logunits-add'.
8172 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8173 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8174 (calc-lu-minus): Rename from `calc-logunits-sub'.
8175 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8176 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8177 (calc-lu-times): Rename from `calc-logunits-mul'.
8178 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8179 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8180 (calc-lu-divide): Rename from `calc-logunits-div'.
8181 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8182 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8183
8184 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8185 functions being autoloaded.
8186
8187 * calc/calc.el (calc-lu-power-reference): Rename from
8188 `calc-logunits-power-reference'.
8189 (calc-lu-field-reference): Rename from
8190 `calc-logunits-field-reference'.
8191
8192 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8193
40c2934b
SM
81942011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * minibuffer.el (completion-all-sorted-completions):
8197 Use :completion-cycle-penalty text property if present.
8198
b0911414
KM
81992011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8200
8201 * allout.el (allout-yank-processing): Adjust for new rebulleting
8202 regime so bullet being yanked is used without prompting the user
8203 for a choice.
8204
8a05b668
JB
82052011-03-16 Juanma Barranquero <lekktu@gmail.com>
8206
8207 * startup.el (command-line): Warn the user that _emacs is deprecated.
8208
5ba5fb81
JB
82092011-03-16 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8212 (delphi-verbose, delphi-comment-face, delphi-string-face)
8213 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8214 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8215 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8216 (delphi-new-comment-line, delphi-font-lock-defaults)
8217 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8218 Fix typos in docstrings.
8219
2dab465b
KM
82202011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8221
5ba5fb81 8222 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8223 Invert the roles of character and string values for INSTEAD, so a
8224 string is used for the more common case of a defaulting prompt.
8225
0adf5618
SM
82262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * progmodes/ruby-mode.el (ruby-backward-sexp):
8229 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8230 * play/gamegrid.el (gamegrid-make-face):
8231 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8232 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8233 * notifications.el (notifications-notify):
8234 * net/xesam.el (xesam-search-engines):
8235 * net/quickurl.el (quickurl-list-insert):
8236 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8237
d72700e5
CY
82382011-03-15 Chong Yidong <cyd@stupidchicken.com>
8239
8240 * startup.el (command-line): Update package subdirectory regexp.
8241
49c5410a
SM
82422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8243
c6eee9aa
SM
8244 * allout.el (allout-abbreviate-flattened-numbering)
8245 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8246
49c5410a
SM
8247 * subr.el (read-char-choice): Only show the cursor after the prompt,
8248 not after the answer.
8249
047b2bb9
KR
82502011-03-15 Kevin Ryde <user42@zip.com.au>
8251
8252 * help-fns.el (variable-at-point): Skip leading quotes, if any
8253 (bug#8253).
8254
0a57d256
SM
82552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8258 warning message.
8259
77c992bc
MA
82602011-03-14 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * shell.el (shell): When called interactively, offer to change the
8263 shell file name on remote hosts.
8264
eebc475d
TZ
82652011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8266
8267 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8268 integration for LDAP parameters. The host, base, user or binddn,
8269 and secret tokens can be specified in a netrc file, for instance.
8270 This is optional because an `auth-source' parameter must be
8271 specified in the search attributes.
8272
9d05d1ba
JB
82732011-03-13 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8276
09d9db2c
GM
82772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8280 into declaration. Remove redundant and harmful binding.
8281
82822011-03-12 Eli Zaretskii <eliz@gnu.org>
8283
8284 * files.el (file-ownership-preserved-p): Pass `integer' as an
8285 explicit 2nd argument to `file-attributes'. If the file's owner
8286 is the Administrators group on Windows, and the current user is
8287 Administrator, consider that a match.
8288
8289 * server.el (server-ensure-safe-dir): Consider server directory
8290 safe on MS-Windows if its owner is the Administrators group while
8291 the current Emacs user is Administrator. Use `=' to compare
8292 numerical UIDs, since they could be integers or floats.
8293
219bd536
JB
82942011-03-12 Juanma Barranquero <lekktu@gmail.com>
8295
8296 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8297
f3afd36b
MA
82982011-03-12 Michael Albinus <michael.albinus@gmx.de>
8299
8300 Sync with Tramp 2.2.1.
8301
8302 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8303
8304 * net/trampver.el: Update release number.
8305
3aaaa6f1
SM
83062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8307
94642599
SM
8308 * progmodes/compile.el (compilation--previous-directory): Fix up
8309 various nil/dead-marker mismatches (bug#8014).
8310 (compilation-directory-properties, compilation-error-properties):
8311 Don't call it at a position past the one we're about to change.
8312
3aaaa6f1
SM
8313 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8314 Disable obsolescence warnings in the file that declares it.
8315
14239447
KM
83162011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8317
099c39a4
JB
8318 * allout-widgets.el (allout-widgets-tally):
8319 Initialize allout-widgets-tally as a hash table rather than nil to
8320 prevent mode-line redisplay warnings. Also, clarify the module
8321 description and fix a comment typo.
14239447 8322
135e287c
JB
83232011-03-11 Juanma Barranquero <lekktu@gmail.com>
8324
8325 * help-fns.el (describe-variable): Don't complete keywords.
8326 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8327
ffbf300e
CY
83282011-03-10 Chong Yidong <cyd@stupidchicken.com>
8329
ba08b241
CY
8330 * emacs-lisp/package.el (package-version-join): Impose a standard
8331 string representation for pre/alpha/beta version lists.
8332 (package-unpack-single): Standardize the directory name by passing
8333 it through package-version-join.
8334 (package-strip-rcs-id): Accept any version string that does not
8335 signal an error in version-to-list.
ffbf300e 8336
f346fd6b
MA
83372011-03-10 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * simple.el (delete-trailing-whitespace): Return nil for the
8340 benefit of `write-file-functions'.
8341
ccb55d27
GM
83422011-03-10 Glenn Morris <rgm@gnu.org>
8343
5ceaac0c
GM
8344 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8345
02da65ff
GM
8346 * vc/vc-git.el (vc-git-program): New option.
8347 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8348 (vc-git--call): Use it.
8349
b2f603cc
GM
8350 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8351
5772caab
GM
8352 * cus-edit.el (Custom-newline): If no button at point, look
8353 for a subgroup button at start-of-line. (Bug#2298)
8354
ccb55d27
GM
8355 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8356
ec6ecaed
JD
83572011-03-10 Julien Danjou <julien@danjou.info>
8358
8359 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8360 `cursor-type' is nil.
8361
9d5aa01d
JB
83622011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8363
8364 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8365
b6a5875b
KM
83662011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8367
8368 * allout.el Summary: Change so yank of distinctive-bullet items
8369 preserves the existing header prefix, rebulleting it if necessary,
8370 rather than replacing it. This is necessary for proper operation
8371 of cooperative addons like allout-widgets.
219bd536 8372 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8373 SOLICIT arg to INSTEAD, and interpret additionally a string value
8374 as alternate bullet to be used, instead of prompting the user for
8375 a bullet character.
8376
ee545c35
MA
83772011-03-09 Michael Albinus <michael.albinus@gmx.de>
8378
d86d2721
SM
8379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8380 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8381 `tramp-default-port'.
8382
c47971d7
DD
83832011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8384
8385 * net/rcirc.el (rcirc-handler-001): Remove useless
8386 with-rcirc-process-buffer.
8387 (rcirc-check-auth-status): Swap arguments to string-match.
8388
13522cb4
GM
83892011-03-09 Glenn Morris <rgm@gnu.org>
8390
0be6f4f1
GM
8391 * shell.el (shell-mode):
8392 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8393
13522cb4
GM
8394 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8395 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8396
515de2e3
CY
83972011-03-08 Chong Yidong <cyd@stupidchicken.com>
8398
8399 * emacs-lisp/package.el (package-refresh-contents)
8400 (package-menu-execute): Use condition-case-no-debug.
8401
b511b994
MA
84022011-03-08 Michael Albinus <michael.albinus@gmx.de>
8403
8404 * simple.el (shell-command-to-string): Use `process-file'.
8405
8406 * emacs-lisp/package.el (package-tar-file-info): Handle also
8407 remote files.
8408
d86d2721
SM
8409 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8410 Use `equal' for upload base check.
b511b994 8411
25bbfb31
AM
84122011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8413
8414 * textmodes/texinfo.el (texinfo-environments):
8415 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8416
be996521
GM
84172011-03-08 Glenn Morris <rgm@gnu.org>
8418
e9c8529f
GM
8419 * cus-start.el (cursor-in-non-selected-windows):
8420 Fix :set quoting oddness. (Bug#8192)
8421
be996521
GM
8422 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8423 in some setf expressions. (Bug#2159)
8424
2bb5649e
CY
84252011-03-08 Chong Yidong <cyd@stupidchicken.com>
8426
8427 * custom.el (custom-available-themes): Return themes in
8428 alphabetical order.
8429
33383987 8430See ChangeLog.15 for earlier changes.
e3d51b27
MR
8431
8432;; Local Variables:
8433;; coding: utf-8
e3d51b27
MR
8434;; End:
8435
33383987 8436 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8437
8438 This file is part of GNU Emacs.
8439
8440 GNU Emacs is free software: you can redistribute it and/or modify
8441 it under the terms of the GNU General Public License as published by
8442 the Free Software Foundation, either version 3 of the License, or
8443 (at your option) any later version.
8444
8445 GNU Emacs is distributed in the hope that it will be useful,
8446 but WITHOUT ANY WARRANTY; without even the implied warranty of
8447 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8448 GNU General Public License for more details.
8449
8450 You should have received a copy of the GNU General Public License
8451 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.