Fix bug#9935
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ebe06da9
JB
12011-11-02 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4 Accept status with more than 9 shelves. (Bug#9935)
5 Reported by Colin D Bennett <colin@gibibit.com>.
6
4ee88440
MR
72011-11-01 Martin Rudalics <rudalics@gmx.at>
8
9 * help.el (with-help-window): Don't reference
10 temp-buffer-show-specifiers in doc-string.
11
08e1d82c
AS
122011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13
14 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15 menu-item.
16
84bd6e9e
VJL
172011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18
19 * whitespace.el: New version 13.2.2.
20 (whitespace-newline-mode): Disable properly. Reported by Sarah
21 <EmacsWiki>.
22
dba0634a
UJ
232011-10-30 Ulf Jasper <ulf.jasper@web.de>
24
25 * net/newst-treeview.el: Remove "Time-stamp".
26 (newsticker--group-manage-orphan-feeds): Do not call
27 newsticker--treeview-tree-update.
28 (newsticker-treeview-update, newsticker-treeview): Call
29 newsticker--treeview-tree-update if necessary.
30
3d8daefe
MR
312011-10-30 Martin Rudalics <rudalics@gmx.at>
32
33 * window.el (window-iso-combination-p, window-iso-combined-p)
34 (window-iso-combinations): Remove "iso-" infix. Suggested by
35 Chong Yidong.
36 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
37 (window-max-delta-1, window-resize, window--resize-siblings)
38 (window--resize-this-window, adjust-window-trailing-edge)
39 (split-window, balance-windows-1)
40 (shrink-window-if-larger-than-buffer):
41 * calendar/calendar.el (calendar-generate-window):
42 * help.el (resize-temp-buffer-window): Adjust callers
43 accordingly.
44
1bc4c3ae
SM
452011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
48 in place (bug#9907).
49 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
50 (eshell-rewrite-if-command, eshell-rewrite-for-command)
51 (eshell-structure-basic-command, eshell-rewrite-while-command)
52 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
53 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
54 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
55 (eshell-do-pipelines-synchronously, eshell-eval-command):
56 Use backquotes and prefer setq to set.
57 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
58 (eshell-macrop): Use functionp.
c1e2f5fa 59 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 60
30b65d9c
CY
612011-10-30 Chong Yidong <cyd@gnu.org>
62
63 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
64 instead of set-mark (Bug#9810).
65
2d197ffb
CY
662011-10-30 Chong Yidong <cyd@gnu.org>
67
68 * window.el (split-window-below, split-window-right): Rename from
69 split-window-above-each-other and split-window-side-by-side
70 respectively. All callers changed.
71 (split-window-sensibly, split-window-sensibly): Use them.
72 (split-window-keep-point): Doc fix.
73
74 * isearch.el: Add isearch-scroll property to split-window-below
75 and split-window-right.
76
77 * follow.el (follow-mode):
78 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
79 * progmodes/ada-xref.el (ada-gdb-application):
80 * emulation/vip.el (vip-buffer-in-two-windows):
81 * image-dired.el (image-dired-dired-with-window-configuration):
82 * dired-x.el (dired-do-find-marked-files):
83 * dired.el (dired-pop-to-buffer):
84 * bs.el (bs--show-with-configuration):
85 * vc/emerge.el (emerge-setup-windows):
86 * textmodes/two-column.el (2C-two-columns):
87 * textmodes/reftex-toc.el (reftex-toc):
88 * progmodes/gdb-mi.el (gdb-setup-windows):
89 * progmodes/fortran.el (fortran-window-create):
90 * net/newst-treeview.el (newsticker--treeview-window-init):
91 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
92 * emulation/tpu-edt.el (tpu-gold-map):
93 * emulation/crisp.el (crisp-mode-map):
94 * calendar/calendar.el (calendar-basic-setup): Callers changed.
95
38bb2ca8
CY
962011-10-29 Chong Yidong <cyd@gnu.org>
97
aa4de341
CY
98 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
99
e1eb5385
CY
100 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
101
5d2ece3c
CY
102 * textmodes/flyspell.el (flyspell-word): Fix char offset for
103 forged Ispell output (Bug#7904).
104
38bb2ca8
CY
105 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
106
d0af9f77
SM
1072011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * doc-view.el: Avoid ugly errors about not finding nil.
110 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
111 (doc-view-dvipdf-program, doc-view-unoconv-program)
112 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
113 Avoid nil or absolute file name as default value.
114 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
115
52bedd34
AM
1162011-10-28 Alan Mackenzie <acm@muc.de>
117
118 * progmodes/cc-defs.el (c-version). -> 5.32.2.
119
7e43cfa5
AM
1202011-10-28 Alan Mackenzie <acm@muc.de>
121
122 Amend the handling of c-beginning/end-of-defun in nested declaration
123 scopes.
124
52bedd34
AM
125 * progmodes/cc-vars.el (c-defun-tactic): Move here from
126 cc-langs.el. Change it to a defcustom.
7e43cfa5 127
52bedd34
AM
128 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
129 cc-vars.el.
7e43cfa5
AM
130 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
131
d0af9f77
SM
132 * progmodes/cc-engine.el (c-beginning-of-statement-1):
133 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 134
52bedd34
AM
135 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
136 Add parameter `inclusive' (to include enclosing braces in the
137 region).
7e43cfa5
AM
138 (c-widen-to-enclosing-decl-scope): New function.
139 (c-while-widening-to-decl-block): New macro.
140 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
141 outward for defun boundaries, and correspondingly change symbol
142 `respect-enclosure' to `go-outward'.
143 (c-declaration-limits): Change algorithm to report only the "innermost"
144 defun's boundaries.
145
1a2ce9ee
DD
1462011-10-28 Deniz Dogan <deniz@dogan.se>
147
148 * net/rcirc.el (rcirc-mode): Use hard newlines.
149
bc97a826
AM
1502011-10-28 Alan Mackenzie <acm@muc.de>
151
152 Amend to indent and fontify macros "which include their own semicolon"
153 correctly, using the "virtual semicolon" mechanism.
154
52bedd34 155 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 156
d0af9f77
SM
157 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
158 Recoded to scan one line at at time rather than having \n and \r
52bedd34 159 explicitly in c-stmt-delim-chars
bc97a826
AM
160 (for some modes, e.g. AWK).
161 (c-forward-label): Amend for virtual semicolons.
162 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
163
52bedd34
AM
164 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
165 of the new C macros.
bc97a826 166
52bedd34
AM
167 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
168 (c-vsemi-status-unknown-p-fn): move to earlier in the file.
bc97a826
AM
169 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
170 (c-opt-cpp-macro-define): Make into a full language variable.
171 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
172 AWK Mode (including \n, \r) removed, no longer needed.
173
d0af9f77
SM
174 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
175 Invoke c-make-macro-with-semi-re.
bc97a826 176
52bedd34
AM
177 * progmodes/cc-vars.el (c-macro-with-semi-re):
178 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
179 (c-make-macro-with-semi-re): New function
180
7a6c0941
SM
1812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * vc/log-edit.el: Fill empty field rather than adding new one.
184 (log-edit-add-field): New function.
185 (log-edit-insert-changelog): Use it.
186
b0c4cdcf
ML
1872011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
188
189 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
190
ee1f1da9
SM
1912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
194 (gdb--check-interpreter): New function.
195 (gdb): Use it.
196
51bc5f8b
GM
1972011-10-27 Glenn Morris <rgm@gnu.org>
198
416a2c45
GM
199 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
200 (least-positive-float, least-negative-float)
201 (least-positive-normalized-float, least-negative-normalized-float)
202 (float-epsilon, float-negative-epsilon):
203 Remove unnecessary declarations.
204
205 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
206 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
207 (least-positive-float, least-negative-float)
208 (least-positive-normalized-float, least-negative-normalized-float)
209 (float-epsilon, float-negative-epsilon): Add doc-strings,
210 based on those in cl.texi.
211
51bc5f8b
GM
212 * files.el (set-visited-file-name): If the major-mode changed,
213 reload the local variables. (Bug#9796)
214
15de15c6
CY
2152011-10-27 Chong Yidong <cyd@gnu.org>
216
217 * subr.el (change-major-mode-after-body-hook): New hook.
218 (run-mode-hooks): Run it.
219
ee1f1da9
SM
220 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
221 Use change-major-mode-before-body-hook.
15de15c6
CY
222
223 * simple.el (fundamental-mode):
224 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
225 change introducing fundamental-mode-hook.
226
5430d399
JB
2272011-10-26 Juanma Barranquero <lekktu@gmail.com>
228
a7ef684b 229 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
5430d399 230
ad74a69e
MA
2312011-10-26 Michael Albinus <michael.albinus@gmx.de>
232
233 * ido.el (ido-file-name-all-completions-1): Do not require
234 tramp.el explicitely. (Bug#7583)
235
71d4c2a5
SM
2362011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * progmodes/octave-mod.el:
239 * progmodes/octave-inf.el: Update maintainer.
240
b1f6fa26
CY
2412011-10-26 Chong Yidong <cyd@gnu.org>
242
243 * subr.el (with-wrapper-hook): Rewrite doc.
244
3f04efd6
MA
2452011-10-25 Michael Albinus <michael.albinus@gmx.de>
246
247 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 248 filenames "/method:foo:". (Bug#9793)
3f04efd6 249
410488d3
SM
2502011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
253 (bug#9865).
254
c1ebb47e
GM
2552011-10-24 Glenn Morris <rgm@gnu.org>
256
257 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
258
7f5c46c7
MA
2592011-10-24 Michael Albinus <michael.albinus@gmx.de>
260
261 * notifications.el: Add the requirement of a running D-Bus session
262 bus to the Commentary.
263
db2440b6
JL
2642011-10-24 Juri Linkov <juri@jurta.org>
265
266 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
267 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
268 (Bug#9364)
269
feecf435
JL
2702011-10-24 Juri Linkov <juri@jurta.org>
271
272 * info.el (Info-following-node-name-re): Add newline to the list
273 of allowed characters for leading space. (Bug#9824)
274
a3839de2
SM
2752011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
278 * progmodes/octave-mod.el (octave-help): Remove.
279
09388e76
MA
2802011-10-23 Michael Albinus <michael.albinus@gmx.de>
281
282 Sync with Tramp 2.2.3.
283
284 * net/tramp-cache.el (top): Pacify byte-compiler using
285 `init-file-user' and `site-run-file'.
286
287 * net/trampver.el: Update release number.
288
86c60681
CY
2892011-10-23 Chong Yidong <cyd@gnu.org>
290
291 * files.el (toggle-read-only): Remove obsolete comment about
292 version control.
293
294 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
295 for toggle-read-only. Note that this hasn't called vc-next-action
296 since 2008-05-02, though it wasn't documented at the time.
297
a3839de2
SM
298 * vc/ediff-init.el (ediff-toggle-read-only-function):
299 Use toggle-read-only.
86c60681 300
cd5495ff
AM
3012011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
302
303 Fix bug #9560, sporadic wrong indentation; improve instrumentation
304 of c-parse-state.
305
00b77525 306 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 307 correct faulty logical expression.
cd5495ff
AM
308 (c-parse-state-state, c-record-parse-state-state):
309 (c-replay-parse-state-state): New defvar/defuns.
310 (c-debug-parse-state): Use new functions.
311
42ee24ed
MR
3122011-10-22 Martin Rudalics <rudalics@gmx.at>
313
314 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 315 last fix. Use window-in-direction correctly.
42ee24ed 316
a7dee7e7
CY
3172011-10-21 Chong Yidong <cyd@gnu.org>
318
319 * progmodes/idlwave.el (idlwave-mode):
320 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
321 require-final-newline; that's done in prog-mode.
322 Suggested by Stefan Monnier.
a7dee7e7 323
e07b9a6d
MR
3242011-10-21 Martin Rudalics <rudalics@gmx.at>
325
326 * mouse.el (mouse-drag-window-above)
327 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
328 (mouse-drag-mode-line-1, mouse-drag-header-line)
329 (mouse-drag-vertical-line-rightward-window): Remove.
330 (mouse-drag-line): New function.
331 (mouse-drag-mode-line, mouse-drag-header-line)
332 (mouse-drag-vertical-line): Call mouse-drag-line.
333 * window.el (window-at-side-p, windows-at-side): New functions.
334
7e1361d9
UM
3352011-10-21 Ulrich Mueller <ulm@gentoo.org>
336
337 * tar-mode.el (tar-grind-file-mode):
338 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
339
30fcaf3a
CY
3402011-10-21 Chong Yidong <cyd@gnu.org>
341
342 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
343 * progmodes/vera-mode.el (vera-mode):
344 Use mode-require-final-newline.
30fcaf3a 345
516eddb0
GM
3462011-10-20 Glenn Morris <rgm@gnu.org>
347
348 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
349
10d5f513
CS
3502011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
351
352 * emulation/cua-base.el (cua-set-mark): Fix case of string.
353
ac6c8639
CY
3542011-10-20 Chong Yidong <cyd@gnu.org>
355
356 * emulation/cua-base.el (cua-mode):
357 * mail/footnote.el (footnote-mode):
358 * mail/mailabbrev.el (mail-abbrevs-mode):
359 * net/xesam.el (xesam-minor-mode):
360 * progmodes/bug-reference.el (bug-reference-mode):
361 * progmodes/cap-words.el (capitalized-words-mode):
362 * progmodes/compile.el (compilation-minor-mode)
363 (compilation-shell-minor-mode):
364 * progmodes/gud.el (gud-tooltip-mode):
365 * progmodes/hideif.el (hide-ifdef-mode):
366 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
367 * progmodes/subword.el (subword-mode):
368 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
369 * progmodes/which-func.el (which-function-mode):
370 * term/tvi970.el (tvi970-set-keypad-mode):
371 * term/vt100.el (vt100-wide-mode):
372 * textmodes/flyspell.el (flyspell-mode):
373 * textmodes/ispell.el (ispell-minor-mode):
374 * textmodes/nroff-mode.el (nroff-electric-mode):
375 * textmodes/paragraphs.el (use-hard-newlines):
376 * textmodes/refill.el (refill-mode):
377 * textmodes/reftex.el (reftex-mode):
378 * textmodes/rst.el (rst-minor-mode):
379 * textmodes/sgml-mode.el (html-autoview-mode)
380 (sgml-electric-tag-pair-mode):
381 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
382 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
383 * emulation/crisp.el (crisp-mode):
384 * emacs-lisp/eldoc.el (eldoc-mode):
385 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
386 minor mode behavior.
387
aa42ab43
JL
3882011-10-19 Juri Linkov <juri@jurta.org>
389
390 * descr-text.el (describe-char): Add #x2010 and #x2011 to
391 the list of hard-coded chars with escape-glyph face.
392
89400f1d
SM
3932011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
396
305c07f6
MA
3972011-10-19 Michael Albinus <michael.albinus@gmx.de>
398
399 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
400 running process.
401
13754b54
GM
4022011-10-19 Glenn Morris <rgm@gnu.org>
403
404 * vc/vc-bzr.el (vc-bzr-after-dir-status):
405 Ignore ignored files. (Bug#9726)
406
06e21633
CY
4072011-10-19 Chong Yidong <cyd@gnu.org>
408
409 Doc fix for minor modes, stating that an omitted argument enables
410 the mode unconditionally when called from Lisp.
411
412 * abbrev.el (abbrev-mode):
413 * allout.el (allout-mode):
414 * autoinsert.el (auto-insert-mode):
415 * autoarg.el (autoarg-mode, autoarg-kp-mode):
416 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
417 (global-auto-revert-mode):
418 * battery.el (display-battery-mode):
419 * composite.el (global-auto-composition-mode)
420 (auto-composition-mode):
421 * delsel.el (delete-selection-mode):
422 * desktop.el (desktop-save-mode):
423 * dired-x.el (dired-omit-mode):
424 * dirtrack.el (dirtrack-mode):
425 * doc-view.el (doc-view-minor-mode):
426 * double.el (double-mode):
427 * electric.el (electric-indent-mode, electric-pair-mode):
428 * emacs-lock.el (emacs-lock-mode):
429 * epa-hook.el (auto-encryption-mode):
430 * follow.el (follow-mode):
431 * font-core.el (font-lock-mode):
432 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
433 * help.el (temp-buffer-resize-mode):
434 * hilit-chg.el (highlight-changes-mode)
435 (highlight-changes-visible-mode):
436 * hi-lock.el (hi-lock-mode):
437 * hl-line.el (hl-line-mode, global-hl-line-mode):
438 * icomplete.el (icomplete-mode):
439 * ido.el (ido-everywhere):
440 * image-file.el (auto-image-file-mode):
441 * image-mode.el (image-minor-mode):
442 * iswitchb.el (iswitchb-mode):
443 * jka-cmpr-hook.el (auto-compression-mode):
444 * linum.el (linum-mode):
445 * longlines.el (longlines-mode):
446 * master.el (master-mode):
447 * mb-depth.el (minibuffer-depth-indicate-mode):
448 * menu-bar.el (menu-bar-mode):
449 * minibuf-eldef.el (minibuffer-electric-default-mode):
450 * mouse-sel.el (mouse-sel-mode):
451 * msb.el (msb-mode):
452 * mwheel.el (mouse-wheel-mode):
453 * outline.el (outline-minor-mode):
454 * paren.el (show-paren-mode):
455 * recentf.el (recentf-mode):
456 * reveal.el (reveal-mode, global-reveal-mode):
457 * rfn-eshadow.el (file-name-shadow-mode):
458 * ruler-mode.el (ruler-mode):
459 * savehist.el (savehist-mode):
460 * scroll-all.el (scroll-all-mode):
461 * scroll-bar.el (scroll-bar-mode):
462 * server.el (server-mode):
463 * shell.el (shell-dirtrack-mode):
464 * simple.el (auto-fill-mode, transient-mark-mode)
465 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
466 (line-number-mode, column-number-mode, size-indication-mode)
467 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
468 * strokes.el (strokes-mode):
469 * time.el (display-time-mode):
470 * t-mouse.el (gpm-mouse-mode):
471 * tool-bar.el (tool-bar-mode):
472 * tooltip.el (tooltip-mode):
473 * type-break.el (type-break-mode-line-message-mode)
474 (type-break-query-mode):
475 * view.el (view-mode):
476 * whitespace.el (whitespace-mode, whitespace-newline-mode)
477 (global-whitespace-mode, global-whitespace-newline-mode):
478 * xt-mouse.el (xterm-mouse-mode): Doc fix.
479
a3839de2
SM
480 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
481 Fix autogenerated docstring.
06e21633 482
5214e501
JL
4832011-10-19 Juri Linkov <juri@jurta.org>
484
485 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
486 by checking environment variables "DESKTOP_SESSION" and
487 "XDG_CURRENT_DESKTOP". (Bug#9779)
488
195f8db9
JL
4892011-10-19 Juri Linkov <juri@jurta.org>
490
491 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
492 (browse-url-chromium-program, browse-url-chromium-arguments):
493 New defcustoms.
494 (browse-url-default-browser): Check for `browse-url-chromium' and
495 call `browse-url-chromium-program'.
496 (browse-url-chromium): New command. (Bug#9779)
497
343a34ff
JB
4982011-10-18 Juanma Barranquero <lekktu@gmail.com>
499
500 * facemenu.el (list-colors-duplicates): On Windows, detect more
501 duplicates by assuming that only colors matching "^System" are
502 special "system colors". (Bug#9722)
503
6978a151
SM
5042011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
507 to distinguish the author from the committer.
508
6a80b297
MA
5092011-10-18 Michael Albinus <michael.albinus@gmx.de>
510
511 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
512
b31a5677
JK
5132011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
514
515 * international/mule.el (sgml-html-meta-auto-coding-function):
516 Add support for detecting encoding in HTML5 specified only as
517 <meta charset="UTF-8">. Implementation just makes http-equiv and
518 content-type parts from HTML4 encoding string optional. (Bug#9716)
519
80c6d77f
GM
5202011-10-18 Glenn Morris <rgm@gnu.org>
521
522 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
523
08b0fee8
CY
5242011-10-18 Chong Yidong <cyd@gnu.org>
525
526 * faces.el (cursor): Doc fix.
527
67e729a5
CY
5282011-10-17 Chong Yidong <cyd@gnu.org>
529
530 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
531
343a34ff 5322011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
533
534 * dirtrack.el (dirtrack): Support shell buffers with path
535 prefixes, e.g. tramp-based remote shells. (Bug#9647)
536
0bc06380
TZ
5372011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
538
539 * json.el: Bump version to 1.3 and note change in History.
540 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
541
8b79f3e0
SM
5422011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
543
5a7c536b
SM
544 * comint.el (comint-insert-input, comint-send-input)
545 (comint-get-old-input-default, comint-backward-matching-input)
546 (comint-next-prompt): Use nil instead of `input' for field property of
547 past user input (bug#114).
548
96a8a0df
SM
549 * minibuffer.el (completion--replace): Inherit surrounding properties
550 (bug#114).
551 (minibuffer-complete-and-exit): Use it.
552
8b79f3e0
SM
553 * comint.el (comint--table-subvert): Quote the all-completions output
554 (bug#9160).
555
b8f7ff0d
MR
5562011-10-17 Martin Rudalics <rudalics@gmx.at>
557
8b79f3e0 558 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 559
b8f7ff0d 560 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 561 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
562 entries and separate them from frame entries.
563
c235b555
GM
5642011-10-15 Glenn Morris <rgm@gnu.org>
565
566 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
567 Doc fixes.
568
6bbfa6e1
CY
5692011-10-15 Chong Yidong <cyd@stupidchicken.com>
570
8b79f3e0
SM
571 * net/network-stream.el (network-stream-open-starttls):
572 Improve detection of failure due to lack of TLS support.
ec5c990d 573
6bbfa6e1
CY
574 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
575 putting the input text in front and in bold.
576
98488977
SM
5772011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
578
3d1337be
SM
579 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
580
ee0b45e4
SM
581 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
582 empty buffer.
583
98488977
SM
584 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
585 unread-command-events rather than pushing yet-another event.
586
186f4720
EZ
5872011-10-14 Eli Zaretskii <eliz@gnu.org>
588
589 * mail/sendmail.el (sendmail-query-once): Improve the wording of
590 the explanation of the possible choices. Make the options passed
591 to completing-read shorter.
592
8b7a997c
AM
5932011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
594
595 * textmodes/flyspell.el (flyspell-large-region): Make sure
596 extended character mode is used if defined (Bug#1339).
597
12587bbb
EZ
5982011-10-13 Eli Zaretskii <eliz@gnu.org>
599
600 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
601 character info for LRE, LRO, RLE, and RLO characters by appending
602 an invisible PDF.
12587bbb 603
bad41229
SM
6042011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
607 even in case of error; add debug spec; simplify data flow.
608 (with-timeout-handler): Remove.
609
28dbc92f
MA
6102011-10-12 Michael Albinus <michael.albinus@gmx.de>
611
612 Fix Bug#6019, Bug#9315.
613
614 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
615 complete `buffer-file-name', the local file name part could look
616 remotely (for example on VMS).
617
618 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
619 `tramp-run-real-handler'.
620 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
621 already quoted by '"'.
622
623 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
624 Let `file-name-handler-alist' be nil, the local file name part
625 could look remotely (for example on VMS).
626
e1b0b23a
SM
6272011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
630 from here...
631 (flyspell-post-command-hook): ...to here.
632
a120bde9
SM
6332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
636 if not needed.
637 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
638 using completion. Protect against "slow" callers.
639 Remove the "message hack".
640
7ce7717b
JL
6412011-10-11 Juri Linkov <juri@jurta.org>
642
643 * isearch.el (isearch-lazy-highlight-word): New variable.
644 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
645 Use it. (Bug#9727)
646
c02ee9d6
GM
6472011-10-11 Glenn Morris <rgm@gnu.org>
648
649 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
650 like f90-previous-statement does.
651
93e616fd 6522011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
653
1f190e73 654 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
655 only in interactive use, to avoid error.
656
af7b6078
SM
6572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * minibuffer.el (completion-file-name-table): Fix last change,
660 i.e. ignore normal errors but not the other ones.
661
0563dae9
MR
6622011-10-10 Martin Rudalics <rudalics@gmx.at>
663
664 * window.el (special-display-buffer-names)
665 (special-display-regexps): Remove some remnants of earlier
666 changes from doc-strings.
366ca7f3
MR
667 (quit-windows-on): New function.
668
669 * vc/vc.el (vc-revert, vc-rollback):
670 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
671 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 672 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 673
49677495
MR
6742011-10-09 Martin Rudalics <rudalics@gmx.at>
675
676 * window.el (frame-auto-hide-function): Add version tag.
677 (Bug#9699)
678
56f2d1e1
MA
6792011-10-09 Michael Albinus <michael.albinus@gmx.de>
680
681 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
682 condition.
683
112a6592
LL
6842011-10-09 Leo Liu <sdl.web@gmail.com>
685
686 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
687 (Bug#9701)
688
0812589b
GM
6892011-10-08 Glenn Morris <rgm@gnu.org>
690
691 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
692 before the first code statement zero indent. (Bug#9690)
693
b2b0776e
CY
6942011-10-08 Chong Yidong <cyd@stupidchicken.com>
695
696 * simple.el (count-words-region): Always count in the region.
697 Report the number of lines and characters too.
698 (count-words): New command, which counts in the buffer if the
699 region is inactive, as count-words-region used to.
700 (count-words--message): New function. Handle plurals.
701 (count-lines-region): Make it an alias for count-words-region.
702
703 * bindings.el (esc-map): Replace count-lines-region with
704 count-words-region.
705
c557cd6b
MR
7062011-10-08 Martin Rudalics <rudalics@gmx.at>
707
708 * window.el (window--delete): Delete dedicated frame
709 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 710 (switch-to-buffer): Fix doc-string typo.
c557cd6b 711
61a57ef4 7122011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
713
714 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
715
c3833279
CY
7162011-10-07 Chong Yidong <cyd@stupidchicken.com>
717
718 * bindings.el ([M-left],[M-right]): Bind to left-word and
719 right-word respectively.
720
21ce8245
GM
7212011-10-07 Glenn Morris <rgm@gnu.org>
722
723 * cus-start.el (debug-on-quit): Fix custom type.
724
6d823bb2
LMI
7252011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
726
0181e193
LMI
727 * subr.el (define-key-after): Clarify that the function is not
728 useful for non-menu keymaps.
729
6d823bb2
LMI
730 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
731
8e3459ce 7322011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
733
21ce8245 734 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 735 in current minibuffer (Fix bug with recursive minibuffers).
736
a1c2d21e
CY
7372011-10-06 Chong Yidong <cyd@stupidchicken.com>
738
739 * progmodes/gdb-mi.el (gdb): Doc fix.
740
5a4cf282
MR
7412011-10-05 Martin Rudalics <rudalics@gmx.at>
742
743 * window.el (frame-auto-hide-function): New option replacing
744 frame-auto-delete. Suggested by Stefan Monnier.
745 (window--delete): Call frame-auto-hide-function instead of
746 investigating frame-auto-delete.
c96111ea
MR
747 (window-point-1, set-window-point-1): New functions.
748 (window-in-direction, record-window-buffer, window-state-get-1)
749 (display-buffer-record-window): Use window-point-1 instead of
750 window-point.
751 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 752
9854542e
SM
7532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
756
8943cfb0
GM
7572011-10-05 Glenn Morris <rgm@gnu.org>
758
759 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
760 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
761
647ab967
LL
7622011-10-05 Leo Liu <sdl.web@gmail.com>
763
764 * subr.el (read-char-choice): Fix argument to buffer-live-p which
765 works with buffer object.
766
3ddfbced
SM
7672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * mpc.el (mpc-tool-bar-map): Add labels.
770
bdfa5dd2
GM
7712011-10-04 Glenn Morris <rgm@gnu.org>
772
773 * calendar/holidays.el (calendar-check-holidays): Doc fix.
774
0e2070b5
MR
7752011-10-04 Martin Rudalics <rudalics@gmx.at>
776
777 * window.el (window--delete): New function.
778 (frame-auto-delete): Resuscitate option.
779 (bury-buffer, replace-buffer-in-windows)
780 (quit-window): Rewrite using window--delete.
781 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
782 Pass display-buffer-mark-dedicated to window--display-buffer-2
783 (Bug#9639).
784
3dc61a09
SM
7852011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
786
915a9b64
SM
787 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
788 returns a list (bug#9554). Add remote file name completion.
789 * comint.el (comint--table-subvert): Curry and get quote&unquote
790 functions as arguments.
791 (comint--complete-file-name-data): Adjust call accordingly.
792 * pcomplete.el (pcomplete--table-subvert): Remove.
793 (pcomplete-completions-at-point): Use comint--table-subvert instead.
794
3dc61a09
SM
795 * minibuffer.el (completion-table-case-fold): Use currying.
796 (completion--styles-type, completion--cycling-threshold-type):
797 New constants.
798 (completion-styles, completion-category-overrides)
799 (completion-cycle-threshold): Use them.
800 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
801 completion-table-case-fold.
802
8ea0a993
SB
8032011-10-03 Stephen Berman <stephen.berman@gmx.net>
804
805 * minibuffer.el (completion-category-overrides): Fix type of styles
806 and add more user friendly tags (bug#9660).
807
8c24b7f6
SM
8082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
809
810 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
811 (mule-input-method-string): New widget.
812 (default-input-method, language-info-custom-alist): Use it.
813
428fe61a
SM
8142011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
815
32c1fffd
SM
816 * pcomplete.el: Require comint.
817 (pcomplete--common-suffix): Remove.
818 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
819 (pcomplete--table-subvert): Sync with comint--table-subvert.
820 (pcomplete--entries): Use comint-completion-file-name-table.
821 * comint.el (comint-unquote-filename): Simplify.
822 (comint-completion-file-name-table): New function (bug#9616).
823 (comint--complete-file-name-data): Use it.
824
428fe61a
SM
825 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
826 (pcmpl-gnu-tar-buffer): Remove.
827 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
828 around. Make sure pcomplete-suffix-list is only changed temporarily.
829 Don't look inside the tar's file if it's too large.
428fe61a 830
04c52e2f
CY
8312011-10-01 Chong Yidong <cyd@stupidchicken.com>
832
ce3cefcc
CY
833 * cus-edit.el (custom-mode-map):
834 * epa.el (epa-key-list-mode-map):
835 * man.el (Man-mode-map):
836 * startup.el (splash-screen-keymap):
837 * simple.el (special-mode-map): Use scroll-up-command and
838 scroll-down-command.
839
840 * progmodes/idlw-help.el (idlwave-help-mode-map):
841 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
842 * net/newst-plainview.el (newsticker-mode-map):
843 * emulation/ws-mode.el (wordstar-mode-map):
844 * emulation/vi.el (vi-com-map):
845 * calc/calc-graph.el (calc-graph-show-dumb):
846 * term/sun.el (terminal-init-sun):
847 * term/ns-win.el (global-map):
848 * progmodes/grep.el (grep-mode-map):
849 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
850 * mail/rmail.el (rmail-mode-map):
851 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
852
04c52e2f
CY
853 * custom.el (custom-safe-themes, load-theme): Treat value of t for
854 custom-safe-themes as special.
855
79adf8c8
JD
8562011-10-01 Julien Danjou <julien@danjou.info>
857
858 * notifications.el (notifications-notify): Fix docstring.
859
63bd50d3
PS
8602011-10-01 Per Starbäck <per@starback.se>
861
862 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
863
199e4c7e
MR
8642011-09-30 Martin Rudalics <rudalics@gmx.at>
865
866 * startup.el (command-line-1): Fix last fix by inserting
867 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 868 (Bug#9605) and (Bug#9636)
199e4c7e 869
fe5f08dd
EZ
8702011-09-29 Eli Zaretskii <eliz@gnu.org>
871
872 * simple.el (line-move): If auto-hscroll-mode is disabled and the
873 window is hscrolled, move by logical lines. (Bug#9607)
874 (line-move-visual): Update the doc string to the above effect.
875
b5516bbd
MR
8762011-09-29 Martin Rudalics <rudalics@gmx.at>
877
ccee00c0
MR
878 * window.el (display-buffer-record-window): When WINDOW is the
879 selected window use `point' instead of `window-point'. (Bug#9626)
880
b5516bbd
MR
881 * startup.el (command-line-1): Use insert-before-markers when
882 inserting initial-scratch-message. (Bug#9605)
ccee00c0 883
b5516bbd
MR
884 * help.el (help-window): Remove variable.
885
52aa0014
GM
8862011-09-29 Glenn Morris <rgm@gnu.org>
887
888 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
889
df9a7357
JB
8902011-09-29 Juanma Barranquero <lekktu@gmail.com>
891
892 * descr-text.el (describe-char-categories): Accept category
893 descriptions more than one line long.
894
a8406c20
SM
8952011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
896
88d9610c
SM
897 * simple.el (delete-trailing-whitespace): Fix last change.
898
a5daf810
SM
899 * progmodes/perl-mode.el (perl-syntax-propertize-function):
900 Don't confuse "y => 3" as the beginning of a `y' operation.
901
a8406c20
SM
902 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
903 object has more than 4 slots (bug#9613).
904
a239d4e9
JB
9052011-09-28 Juanma Barranquero <lekktu@gmail.com>
906
907 * subr.el (with-output-to-temp-buffer):
908 * net/quickurl.el (quickurl, quickurl-browse-url):
909 Fix typos in docstrings.
910
693fbdb6
EZ
9112011-09-27 Eli Zaretskii <eliz@gnu.org>
912
913 * minibuffer.el (completion-styles)
914 (completion-category-overrides): Cross reference each other in doc
915 strings.
916
8b457e28
GM
9172011-09-27 Glenn Morris <rgm@gnu.org>
918
919 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
920 to split-string. (Bug#9606)
921
85a16208
LMI
9222011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
923
924 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
925 (bug#9615).
926
502f9ebd
CY
9272011-09-27 Chong Yidong <cyd@stupidchicken.com>
928
929 * emacs-lisp/package.el (list-packages): Fix echo area message.
930
7690bdea
LL
9312011-09-27 Leo Liu <sdl.web@gmail.com>
932
933 * ido.el (ido-read-internal): Accept cons cell HIST arg.
934
e2ee6f30
MA
9352011-09-25 Michael Albinus <michael.albinus@gmx.de>
936
937 * net/dbus.el (dbus-unregister-object): Don't release services for
938 registered signals. (Bug#9581)
939
f3f98342
TZ
9402011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
941
942 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
943 function that picks between cfengine 2 and 3 support
944 automatically. Update docs accordingly.
945
dd7aa8dd
KH
9462011-09-22 Kenichi Handa <handa@m17n.org>
947
948 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
949 ZERO.
950 (indian-itrans-v5-table-for-tamil): New variable.
951 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
952
3f2b07f8
KM
9532011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
954
955 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
956 that's true if the current command involved collapsing of text.
957 It's reset to false at the beginning of the next command.
958 (allout-post-command-business): Move the cursor to the beginning
959 of entry if the cursor is hidden and collapsing activity just
960 happened.
961
371d6a61
CY
9622011-09-24 Chong Yidong <cyd@stupidchicken.com>
963
964 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
965 tracking (Bug#9541).
966
2ac2721a
UJ
9672011-09-24 Ulf Jasper <ulf.jasper@web.de>
968
969 * net/newst-reader.el (newsticker-html-renderer)
970 (newsticker-show-news): Automatically
343a34ff
JB
971 load html rendering package if newsticker-html-renderer is set.
972 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
973 let-bound" and the error "Symbol's value as variable is void:
974 w3m-fill-column".
975
fac7ae53
MA
9762011-09-24 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
979 Release services only if they are defined. (Bug#9581)
980
e08b633b
RS
9812011-09-23 Richard Stallman <rms@gnu.org>
982
e488d29c
RS
983 * textmodes/paragraphs.el (forward-sentence): For backwards case,
984 distinguish start of paragraph from start of its text.
985
19c38752
RS
986 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
987
e08b633b
RS
988 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
989 (rmail-generate-viewer-buffer): Put that hook on view buffer.
990 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
991
0a39f27e
AS
9922011-09-23 Andreas Schwab <schwab@linux-m68k.org>
993
994 * international/mule-diag.el (mule-diag): Insert a newline after
995 each fontset description.
996
db4e950d
SM
9972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * simple.el (delete-trailing-whitespace):
1000 Document last change; simplify.
1001
eca3f3ea
PW
10022011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1003
d68e189a
PW
1004 * simple.el (delete-trailing-whitespace): Also delete
1005 extra newlines at the end of the buffer.
1006
eca3f3ea
PW
1007 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1008 (picture-newline): Use forward-line so as to ignore fields.
1009
01c157cc
SM
10102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * subr.el (with-wrapper-hook): Fix edebug spec.
1013
022de23e
LMI
10142011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1015
1016 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1017 (bug#4538).
1018
91683089
MA
10192011-09-23 Michael Albinus <michael.albinus@gmx.de>
1020
eca3f3ea
PW
1021 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1022 Fix nasty bug using wrong cached values.
91683089 1023
5bdd6fa4
AM
10242011-09-23 Alan Mackenzie <acm@muc.de>
1025
1026 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1027
97adfb97
CY
10282011-09-23 Chong Yidong <cyd@stupidchicken.com>
1029
1030 * window.el (pop-to-buffer): Ensure right window is selected if we
1031 chose another frame.
1032
d4ef2b50
EZ
10332011-09-22 Eli Zaretskii <eliz@gnu.org>
1034
1035 * simple.el (what-cursor-position): Use get-char-property-change
1036 and next-single-char-property-change, to be able to show display
1037 properties that come from overlays as well as text properties.
1038
72258fe5
CY
10392011-09-22 Chong Yidong <cyd@stupidchicken.com>
1040
1041 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1042
1043 * cmuscheme.el (run-scheme, switch-to-scheme):
1044 * cus-edit.el (customize-group, custom-buffer-create)
1045 (customize-browse):
1046 * info.el (info):
1047 * shell.el (shell):
1048 * mail/sendmail.el (mail):
1049 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1050
8f098516
RS
10512011-09-22 Richard Stallman <rms@gnu.org>
1052
1053 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1054 move back only to line beg, don't move back over blank lines.
1055
e74f1bb6
MA
10562011-09-22 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * files.el (copy-directory): Set directory attributes only in case
1059 they could be retrieved from the source directory. (Bug#9565)
1060
bfeef8b6
DK
10612011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1062
1063 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1064 (hs-find-block-beginning, hs-hide-level-recursive):
1065 Ignore strings as well as comments. (Bug#9502)
1066
7e423bb8
AS
10672011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1068
1069 * progmodes/sql.el (sql-comint-postgres):
1070 Convert port number to a string. (Bug#9566)
1071
b4d72fcf
MR
10722011-09-22 Martin Rudalics <rudalics@gmx.at>
1073
1074 * window.el (quit-window): Undedicate window when switching to
1075 previous buffer. Reported by Thierry Volpiatto
1076 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1077 (special-display-popup-frame): When popping up a new frame reset
1078 its previous buffers to nil. Simplify code.
b4d72fcf 1079
a7b88dc6
MA
10802011-09-21 Michael Albinus <michael.albinus@gmx.de>
1081
1082 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1083 and process filter, as done also in `shell-command'.
1084
cf4eacfd
MR
10852011-09-21 Martin Rudalics <rudalics@gmx.at>
1086
eca3f3ea
PW
1087 * window.el (set-window-buffer-start-and-point):
1088 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1089 Volpiatto <thierry.volpiatto@gmail.com>.
1090 (quit-window): Reword doc-string. Handle new format of
1091 quit-restore parameter. Don't delete window if it has a
1092 previous buffer we can show instead of the present one.
1093 (display-buffer-record-window): Rewrite using a new format for
1094 the quit-restore window parameter
1095 (special-display-popup-frame, display-buffer-same-window)
1096 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1097 (display-buffer-pop-up-window, display-buffer-use-some-window):
1098 Adapt symbol passed to display-buffer-record-window.
1099 * help.el (help-window-setup): Handle new format of quit-restore
1100 parameter.
1101
8d28cb95
SM
11022011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1103
94ab793f
SM
1104 * faces.el (face-list): Fix docstring (bug#9564).
1105
8d28cb95
SM
1106 * window.el (display-buffer--action-function-custom-type):
1107 Don't include internal functions in the Custom interface.
1108
3820edeb
JL
11092011-09-20 Juri Linkov <juri@jurta.org>
1110
1111 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1112 (Info-forward-node, Info-backward-node, Info-next-preorder)
1113 (Info-last-preorder): Use it. (Bug#9528)
1114
5147931d
JL
11152011-09-20 Juri Linkov <juri@jurta.org>
1116
1117 * info.el (Info-last-preorder): Visit last menu item only when
1118 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1119
cf499a1a
JD
11202011-09-20 Julien Danjou <julien@danjou.info>
1121
1122 * password-cache.el (password-cache-remove): Remove entries even if the
1123 value is nil, so that password with a nil value (negative caching) is
1124 possible to invalidate.
1125
f84e2fe2
LM
11262011-09-20 Lawrence Mitchell <wence@gmx.li>
1127
1128 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1129 all whitespace around breakpoint. (Bug#9553)
1130 (f90-find-breakpoint): Only break at whitespace inside a comment.
1131
78054a46
SM
11322011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * minibuffer.el (completion-file-name-table): Keep track of errors.
1135 (completion-table-with-predicate): Handle the case where pred1 is nil.
1136 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1137
345083b2
SM
11382011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1139
e24e27be
SM
1140 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1141 (debugger-return-value): Signal an error if the debugging context does
1142 not await any return value.
1143
345083b2
SM
1144 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1145 * image-mode.el (image-toggle-display-text)
1146 (image-toggle-display-image): Stay away from evil `intangible'.
1147
08d355e3
LL
11482011-09-19 Leo Liu <sdl.web@gmail.com>
1149
1150 * replace.el (occur-revert-arguments): Make it permanent-local.
1151 (occur-mode): Don't call font-lock-defontify.
1152
f01da43f
CY
11532011-09-19 Chong Yidong <cyd@stupidchicken.com>
1154
1155 * net/ldap.el (ldap-search-internal): Don't push empty search
1156 result (Bug#9508).
1157
b6072fa6
SM
11582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1161
443d6696
MA
11622011-09-19 Michael Albinus <michael.albinus@gmx.de>
1163
1164 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1165 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1166
7cc6e154
JL
11672011-09-18 Juri Linkov <juri@jurta.org>
1168
1169 * buff-menu.el (Buffer-menu-mode-map):
1170 * dired.el (dired-mode-map):
1171 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1172 (lisp-interaction-mode-map):
1173 * emacs-lisp/package.el (package-menu-mode-map):
1174 * epa.el (epa-key-list-mode-map):
1175 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1176 (menu-bar-options-menu):
1177 * outline.el (outline-mode-menu-bar-map):
1178 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1179 * vc/vc-dir.el (vc-dir-menu-map):
1180 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1181 Capitalize non-function content words in menu item strings.
1182
1183 * dired.el (dired-mode-map): Add menu item for
1184 `image-dired-dired-toggle-marked-thumbs'.
1185
80302a81
JL
11862011-09-18 Juri Linkov <juri@jurta.org>
1187
1188 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1189 to `isearch-case-fold-search' and restore its original value
1190 after the `isearch-mode' call.
1191
46c5cf66
JL
11922011-09-18 Juri Linkov <juri@jurta.org>
1193
1194 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1195 because `zgrep' returns 1 for successful matches (bug#9226).
1196
d18b513b
JL
11972011-09-18 Juri Linkov <juri@jurta.org>
1198
1199 * info.el (Info-extract-menu-node-name): Check the second match
1200 for empty string (second test-case of bug#9528).
1201 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1202 intermediate nodes to the history (first test-case of bug#9528).
1203
72753f87
JL
12042011-09-18 Juri Linkov <juri@jurta.org>
1205
1206 * info.el (Info-mode-syntax-table): New variable.
1207 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1208
c9384295
JL
12092011-09-18 Juri Linkov <juri@jurta.org>
1210
1211 * info.el (Info-file-supports-index-cookies): Increment
1212 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1213 one more line for long file names (bug#4142).
1214
d473dce8
CY
12152011-09-18 Chong Yidong <cyd@stupidchicken.com>
1216
1217 * newcomment.el (comment-normalize-vars): If prompting for
1218 comment-start, set comment-start-skip too (Bug#8424).
1219
2176854d
JB
12202011-09-18 Johan Bockgård <bojohan@gnu.org>
1221
1222 * icomplete.el: Fix previous fix of Bug#5849.
1223 (icomplete-mode): Don't set completion-show-inline-help.
1224 (icomplete-minibuffer-setup): Set completion-show-inline-help
1225 locally during icompletion.
1226
3aace4e4
CY
12272011-09-18 Chong Yidong <cyd@stupidchicken.com>
1228
c940224f
CY
1229 * woman.el (woman2-process-escapes): Don't delete unrecognized
1230 escapes (Bug#7843).
1231
3aace4e4
CY
1232 * files.el (inhibit-first-line-modes-regexps): Add image files.
1233 (hack-local-variables-prop-line): Return nil for malformed
1234 prop-lines (Bug#9044).
1235
710dec63
MA
12362011-09-18 Michael Albinus <michael.albinus@gmx.de>
1237
1238 * net/tramp.el (top): Don't require 'shell.
1239 (tramp-methods): Fix docstring.
1240 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1241 Return complete remote file name. Handle "smb" case.
1242 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1243 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1244
1245 * net/tramp-compat.el (top): Require 'shell.
1246
1247 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1248 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1249 `tramp-current-host'.
1250 (tramp-get-remote-tmpdir): Remove.
1251
1252 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1253 `tramp-tmpdir' entries.
1254 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1255 (tramp-smb-handle-file-attributes): Ignore errors.
1256 (tramp-smb-wait-for-output): Check also for process end.
1257
5d5ac8ec
LMI
12582011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1259
1260 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1261 when sending QUIT (bug#9312).
1262
8c0f49f0
CY
12632011-09-17 Chong Yidong <cyd@stupidchicken.com>
1264
1265 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1266 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1267 occur-mode-display-occurrence.
1268 (occur-edit-mode): Add usage message.
1269 (occur-cease-edit): New command.
1270 (occur-after-change-function): Use text properties to find the
1271 position of the prefix text.
1272 (occur-engine): Set stickiness of prefix text properties.
1273
8f1383f7
GM
12742011-09-17 Glenn Morris <rgm@gnu.org>
1275
1276 * progmodes/etags.el (complete-tag):
1277 Fix call to completion-in-region. (Bug#9526)
1278
744ba0e3
JL
12792011-09-17 Juri Linkov <juri@jurta.org>
1280
1281 * textmodes/ispell.el (ispell-word): Add to the error message
1282 the word, ispell program name and current dictionary (bug#9121).
1283 (ispell-tex-arg-end): Capitalize "error" in the error message.
1284
d9bbf400
AS
12852011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1286
1287 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1288 check. (Bug#4251)
1289
8da11505
JL
12902011-09-17 Juri Linkov <juri@jurta.org>
1291
1292 * window.el (window-safe-min-height, window-safe-min-width):
1293 Fix typos (followup to bug#9522).
1294
a91adc7e
SJ
12952011-09-17 Sven Joachim <svenjoac@gmx.de>
1296
1297 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1298
064f328a
EZ
12992011-09-16 Eli Zaretskii <eliz@gnu.org>
1300
1301 * simple.el (line-move): If goal-column is set, move by logical
1302 lines, not by display lines. (Bug#971)
1303 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1304 to reflect the above change.
1305
e69df516
SM
13062011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * image.el (imagemagick-register-types): Use regexp-opt.
1309
cbb0f9ab
CY
13102011-09-15 Chong Yidong <cyd@stupidchicken.com>
1311
1312 * window.el (display-buffer-base-action): Rename from
1313 display-buffer-default-action. Make default value empty.
1314 (display-buffer-overriding-action): Convert to defvar.
1315 (display-buffer-fallback-action): New var.
1316
25322144
CY
13172011-09-15 Chong Yidong <cyd@stupidchicken.com>
1318
1319 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1320 declaration.
1321 (package--add-to-archive-contents): If there is a duplicate entry
1322 with an older version, remove it.
1323 (package-menu-mark-delete, package-menu-mark-install)
1324 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1325 (package-menu-mark-obsolete-for-deletion):
1326 Use package-menu-get-status instead of a regexp search.
25322144
CY
1327 (package-menu-get-status): Use tabulated-list-entry.
1328 (package-menu-mark-upgrades): New command.
d770725a 1329 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1330 (package-menu-execute): Do installation before deletion.
1331 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1332 instead of checking major-mode.
1333 (package-menu--find-upgrades): New function.
1334
7520339c
LMI
13352011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1336
1337 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1338 passwords in the log buffer.
65a046c4
LMI
1339 (smtpmail-process-filter): Update the process marker so that the
1340 "broken by peer" status message is inserted in the right place.
7520339c 1341
d3c30954
SM
13422011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1343
3fe48822
SM
1344 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1345 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1346 bibtex-completion-at-point-function.
1347 (bibtex-completion-at-point-function): Use them.
1348
1b8b3954
SM
1349 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1350
d3c30954
SM
1351 * mpc.el (mpc-constraints-tag-lookup): New function.
1352 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1353 also to browser "album|playlist".
1354
72779976
JL
13552011-09-14 Juri Linkov <juri@jurta.org>
1356
1357 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1358 (isearch-edit-string): Use length of `isearch-string' when
1359 `isearch-fail-pos' returns nil.
1360 (isearch-message): Remove duplicate code and call
1361 `isearch-fail-pos' with arg `t'.
1362
a0bf2bcd
CY
13632011-09-14 Chong Yidong <cyd@stupidchicken.com>
1364
17bb0a2d
CY
1365 * replace.el (occur-mode-goto-occurrence): Don't force using other
1366 window (Bug#9499).
1367
a0bf2bcd
CY
1368 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1369
f678e0b6
MR
13702011-09-14 Martin Rudalics <rudalics@gmx.at>
1371
1372 * window.el (display-buffer-window): Remove.
1373 (display-buffer-record-window): Use help-setup window parameter
1374 instead of variable display-buffer-window.
1375 (display-buffer-function, special-display-buffer-names)
1376 (special-display-function): Mention help-setup parameter instead
1377 of display-buffer-window in doc-string.
d3c30954
SM
1378 * help.el (help-window-setup): New argument help-window.
1379 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1380 Reword some messages.
1381 (with-help-window): Pass window used for displaying the buffer
1382 to help-window-setup. Don't set display-buffer-window.
1383
8e39b2e8
GM
13842011-09-13 Glenn Morris <rgm@gnu.org>
1385
1386 * emacs-lisp/debug.el (debugger-make-xrefs):
1387 Preserve point. (Bug#9462)
1388
85e9c04b
CY
13892011-09-13 Chong Yidong <cyd@stupidchicken.com>
1390
1391 * window.el (window-deletable-p): Use next-frame.
1392
1b36ed6a
MR
13932011-09-13 Martin Rudalics <rudalics@gmx.at>
1394
1395 * window.el (window-auto-delete): Remove.
1396 (window-deletable-p): Remove argument FORCE. Don't deal with
1397 dedicatedness and previous buffers.
1398 (switch-to-prev-buffer): Don't delete window.
1399 (delete-windows-on): Delete a window's frame if and only if the
1400 window is dedicated.
1401 (replace-buffer-in-windows): Delete buffer's window or frame if
1402 and only if window is dedicated.
1403 (quit-window): Handle quit-restore as before last change.
4d61f28d 1404 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1405
ef8ef9fb
CY
14062011-09-13 Chong Yidong <cyd@stupidchicken.com>
1407
1408 * window.el (window-deletable-p): Never delete the last frame on a
1409 given terminal.
1410
b2cba41e
GM
14112011-09-13 Glenn Morris <rgm@gnu.org>
1412
1413 * help.el (describe-key-briefly): Copy previous standard-output change.
1414
51553db6 14152011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1416
1417 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1418
b7556719
GM
14192011-09-13 Glenn Morris <rgm@gnu.org>
1420
1421 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1422 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1423
64b51947
CY
14242011-09-12 Chong Yidong <cyd@stupidchicken.com>
1425
1426 * dired-aux.el (dired-mark-read-string): Don't return default
1427 value on empty input (Bug#9361).
1428 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1429 Omit initial minibuffer contents.
1430 (dired-do-chmod): Signal an error on empty input.
1431 (dired-mark-read-string): Don't return default on empty input.
1432
1433 * files.el (file-modes-symbolic-to-number): Doc fix.
1434
393a301e
SM
14352011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * international/mule-cmds.el (ucs-completions): Remove.
1438 (read-char-by-name): Use complete-with-action instead; add metadata.
1439
fa5660f9
CY
14402011-09-11 Chong Yidong <cyd@stupidchicken.com>
1441
1442 * window.el (display-buffer--action-function-custom-type)
1443 (display-buffer--action-custom-type): New vars.
1444 (display-buffer-alist, display-buffer-default-action)
1445 (display-buffer-overriding-action): Add defcustom types.
1446
4a592f66
CY
1447 * frame.el (delete-other-frames): Doc fix (Bug#276).
1448
73d56dbd
LMI
14492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1450
1451 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1452
37ac18a3
CY
14532011-09-11 Chong Yidong <cyd@stupidchicken.com>
1454
1455 Change modes that used same-window-* vars to use switch-to-buffer.
1456
1457 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1458 Use switch-to-buffer.
1459
1460 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1461 (customize-browse, custom-buffer-create-other-window):
1462 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1463
1464 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1465 (Info-prev, Info-up, Info-speedbar-goto-node)
1466 (info-display-manual): Use switch-to-buffer.
1467 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1468
1469 * mail/sendmail.el (mail): Use switch-to-buffer.
1470 (mail-recover): Use switch-to-buffer-other-window.
1471
1472 * cmuscheme.el (run-scheme, switch-to-scheme):
1473 * ielm.el (ielm):
1474 * shell.el (shell):
1475 * net/rlogin.el (rlogin):
1476 * net/telnet.el (telnet, rsh):
1477 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1478
10195bd6
AS
14792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1480
1481 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1482
b322f63a
LMI
14832011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1484
39d7fed6
LMI
1485 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1486 so don't mention it (bug#9301).
ba5a81f1 1487 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1488
ee0e9f11
LMI
1489 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1490 match `x', `w32' and `ns', like the manual says (bug#9029).
1491
0b1c89c1 1492 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1493 (process-kill-buffer-query-function): Mention the buffer name in
1494 the query.
0b1c89c1 1495
77549ea8
LMI
1496 * image-mode.el (image-next-line): The line parameter is mandatory
1497 (bug#9258).
1498
803ef892
LMI
1499 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1500 which can be useful (bug#9301).
1501
12980837
LMI
1502 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1503
91054f8f
LMI
1504 * subr.el (match-string): Mention that the current buffer should
1505 be the same as the search was done in (bug#9282).
1506
b322f63a
LMI
1507 * facemenu.el: Disable the remove-* commands if the mark isn't
1508 active (bug#9162).
1509
3199b96f
CY
15102011-09-10 Chong Yidong <cyd@stupidchicken.com>
1511
1512 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1513 of display-buffer.
1514 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1515
1516 * replace.el (occur-mode-goto-occurrence)
1517 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1518 and display-buffer.
1519
1520 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1521 display-buffer.
1522
1523 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1524 special-display and same-window variables.
1525 (mail-other-window): Use switch-to-buffer-other-window.
1526 (mail-other-frame): USe switch-to-buffer-other-frame.
1527
393a301e
SM
1528 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1529 Use display-buffer-other-frame.
3199b96f
CY
1530 (gdb-display-gdb-buffer): Use pop-to-buffer.
1531
1532 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1533
1534 * progmodes/python.el: Don't set same-window-buffer-names.
1535
1536 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1537
1538 * window.el (display-buffer-alist): Add *Python*.
1539
8319e0bf
CY
15402011-09-10 Chong Yidong <cyd@stupidchicken.com>
1541
1542 * window.el (display-buffer-alist): Add entry for buffers
1543 previously handled same-window-*.
1544 (display-buffer-alist, display-buffer-default-action)
1545 (display-buffer-overriding-action): Mark as risky.
1546 (display-buffer-alist): Document action function changes.
1547 (display-buffer--same-window-action)
1548 (display-buffer--other-frame-action): New variables.
1549 (switch-to-buffer, display-buffer-other-frame): Use them.
1550 (display-buffer): Rename reuse-frame entry to reusable-frames.
1551 (display-buffer-reuse-selected-window): Function deleted.
1552 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1553 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1554 (display-buffer-special): New function.
1555 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1556 display-buffer-reuse-or-pop-window. Split off special-display
1557 part into display-buffer-special.
1558 (display-buffer-use-some-window): Don't perform any special
1559 pop-up-frames handling.
1560 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1561 (display-buffer--maybe-same-window): Rename from
0d3ff375 1562 display-buffer-maybe-same-window.
8319e0bf 1563
919a69aa
CY
1564 * info.el: Don't set same-window-regexps.
1565 (info-setup): New function.
1566 (info-other-window, info): Call it.
1567
1568 * cus-edit.el: Don't set same-window-regexps.
1569 (customize-group): New argument.
1570 (customize-group-other-window): Use it.
1571 (customize-face, customize-face-other-window): Likewise.
1572 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1573
8319e0bf
CY
1574 * net/rlogin.el:
1575 * net/telnet.el:
1576 * progmodes/gud.el: Don't set same-window-regexps.
1577
1578 * cmuscheme.el:
1579 * ielm.el:
1580 * shell.el:
1581 * mail/sendmail.el:
1582 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1583
25173000
JL
15842011-09-10 Juri Linkov <juri@jurta.org>
1585
1586 * isearch.el (isearch-edit-string): Remove obsolete mention of
1587 `C-w' (`isearch-yank-word-or-char') from docstring.
1588 (isearch-query-replace): Fix typo in docstring (bug#9466).
1589
056e44ef
JL
15902011-09-10 Juri Linkov <juri@jurta.org>
1591
1592 * paren.el (show-paren-function): Don't show escaped parens.
1593 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1594
c3760c17
EZ
15952011-09-10 Eli Zaretskii <eliz@gnu.org>
1596
1597 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1598 (mm-default-file-encoding): Remove autoload forms, they are
1599 replaced with autoload cookies in mml.el and mm-encode.el.
1600 (mail-add-attachment): New command.
1601 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1602 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1603 the doc string.
1604 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1605
fece895e
RT
16062011-09-10 Reuben Thomas <rrt@sc3d.org>
1607
e69df516
SM
1608 * simple.el (count-words-region): Use buffer if there's no region
1609 (bug#9429).
fece895e 1610
5e68ce4a
JL
16112011-09-09 Juri Linkov <juri@jurta.org>
1612
1613 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1614 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1615 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1616
0a6b9622
AM
16172011-09-09 Alan Mackenzie <acm@muc.de>
1618
1619 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1620 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1621
14a29deb
EZ
16222011-09-09 Eli Zaretskii <eliz@gnu.org>
1623
1624 Fix for Savannah bug#9392.
1625 * simple.el (mail-encode-mml): New defvar.
1626
1627 * mail/rmail.el (mail-encode-mml): Add a defvar.
1628 (rmail-enable-mime-composing): Default to t.
1629 (rmail-forward): Use MIME method of forwarding only if both
1630 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1631 Set mail-encode-mml non-nil if the MIME method was used.
1632
1633 * mail/sendmail.el (mml-to-mime): Add autoload form.
1634 (mail-encode-mml): Add a defvar.
1635 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1636 to nil.
1637 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1638 message through mml-to-mime, and reset mail-encode-mml to nil.
1639
28c45130
GM
16402011-09-09 Glenn Morris <rgm@gnu.org>
1641
1642 * woman.el (woman-if-body): When processing an .el block,
1643 do not delete the next .el block as well. (Bug#9447)
69f4b618 1644 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1645
9b1c252e
MR
16462011-09-08 Martin Rudalics <rudalics@gmx.at>
1647
1648 * window.el (window-deletable-p): Make sure window is live before
1649 invoking window-prev-buffers.
1650
567457e3
LL
16512011-09-08 Leo Liu <sdl.web@gmail.com>
1652
1653 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1654
97f05794
JL
16552011-09-08 Juri Linkov <juri@jurta.org>
1656
1657 * progmodes/compile.el (compilation-environment): Make it
1658 a defcustom (bug#8340).
1659
8b0874b5
MR
16602011-09-08 Martin Rudalics <rudalics@gmx.at>
1661
1662 * window.el (frame-auto-delete): Rename to window-auto-delete.
1663 Make it control auto-deletion of windows and/or frames.
1664 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1665 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1666 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1667 Rewrite handling of case when window/frame can be deleted.
1668 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1669 argument t. (Bug#9456)
8b0874b5 1670
4feb6e73
CY
16712011-09-07 Chong Yidong <cyd@stupidchicken.com>
1672
1673 * help-mode.el (help-mode): Restore autoload.
1674
91ab9c13
JL
16752011-09-07 Juri Linkov <juri@jurta.org>
1676
1677 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1678 `compilation-environment'. Set buffer-local
1679 `compilation-environment' to `thisenv' later after (funcall mode).
1680 (Bug#8340)
1681
1682 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1683 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1684 instead of replacing its value. (Bug#8340)
1685
0527e251
JL
16862011-09-07 Juri Linkov <juri@jurta.org>
1687
1688 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1689 based on text properties put by `grep-filter' instead of matching
1690 escape sequences.
1691 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1692 to the value of `grep-error-screen-columns' (bug#9438).
1693
249f792c
JL
16942011-09-07 Juri Linkov <juri@jurta.org>
1695
1696 * simple.el (next-error-highlight, next-error-highlight-no-select):
1697 Doc fix (bug#9432).
1698
ff7271b9
OT
16992011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1700
1701 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1702 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1703
183fc730
LL
17042011-09-07 Leo Liu <sdl.web@gmail.com>
1705
1706 * net/rcirc.el (rcirc-mode): Conditionally initialize
1707 rcirc-input-ring.
1708
77694924
SM
17092011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * emacs-lisp/find-func.el (find-function-C-source): Only set
1712 find-function-C-source-directory after checking that we found a source
1713 file there (bug#9440).
1714
d809b8eb
AM
17152011-09-06 Alan Mackenzie <acm@muc.de>
1716
1717 * isearch.el (isearch-other-meta-char): Wherever a key list is
1718 unread, "unread" the prefix arg, too. This fixes bug #8901.
1719
453de99f
OG
17202011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1721
1722 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1723
90439906
JL
17242011-09-05 Juri Linkov <juri@jurta.org>
1725
1726 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1727
f62bd846
JL
17282011-09-05 Juri Linkov <juri@jurta.org>
1729
1730 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1731 keeping point where processing of grep matches begins, and
1732 continue to delete remaining escape sequences from the same point.
1733 (grep-filter): Make leading zero optional in "0?1;31m" because
1734 git-grep emits "\033[1;31m" escape sequences unlike expected
1735 "\033[01;31m" as GNU Grep does (bug#9408).
1736 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1737
045820ec
JL
17382011-09-05 Juri Linkov <juri@jurta.org>
1739
1740 * subr.el (y-or-n-p): Capitalize "yes".
1741
f5e29b9b
MA
17422011-09-04 Michael Albinus <michael.albinus@gmx.de>
1743
1744 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1745 `tramp-cache-unload-hook' where appropriate.
1746 (tramp-methods): Rename `tramp-remote-sh' to
1747 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1748 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1749
1750 * net/tramp-sh.el (top): Don't require 'shell.
1751 (tramp-methods): Add `tramp-remote-shell' and
1752 `tramp-remote-shell-args' entries.
1753 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1754 (tramp-sh-handle-shell-command): Remove.
1755 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1756 Use `tramp-remote-shell'.
1757
2784c434
CY
17582011-09-03 Chong Yidong <cyd@stupidchicken.com>
1759
393a301e 1760 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1761 (sendmail-query-once): Save directly to send-mail-function.
1762 Update message-send-mail-function too.
1763
1764 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1765
464cdf56
CS
17662011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1767
1768 * progmodes/python.el (python-mode-map): Use correct function to
1769 start python interpreter from menu-bar (as reported by Geert
1770 Kloosterman).
1771 (inferior-python-mode-map): Fix typo.
393a301e 1772 (python-shell-map): Remove.
464cdf56 1773
d37e5c87
DD
17742011-09-03 Deniz Dogan <deniz@dogan.se>
1775
1776 * net/rcirc.el (rcirc-print): Simplify code for
1777 rcirc-scroll-show-maximum-output. There is no need to walk
1778 through all windows to find the right one.
1779
f3ada0ee
CS
17802011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1781
1782 * help.el (help-return-method): Doc fix.
1783
1f3c99ca
MR
17842011-09-03 Martin Rudalics <rudalics@gmx.at>
1785
1786 * window.el (window-deletable-p): Don't return a non-nil value
1787 when there's a buffer that was shown in the window before.
1788 (Bug#9419)
393a301e
SM
1789 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1790 Set window's previous buffers to nil.
1f3c99ca 1791
a3cf097f
EZ
17922011-09-03 Eli Zaretskii <eliz@gnu.org>
1793
1794 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1795 newline before and after the tag line, so it doesn't interfere
1796 with determining the paragraph direction of bidirectional text.
1797
3d03de90
LL
17982011-09-03 Leo Liu <sdl.web@gmail.com>
1799
1800 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1801
c3313451
CY
18022011-09-02 Chong Yidong <cyd@stupidchicken.com>
1803
393a301e 1804 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1805 (pop-to-buffer): Change interactive spec. Pass second argument
1806 directly to display-buffer.
1807 (display-buffer): Fix interactive spec. Use functionp to
1808 distinguish between a function and a list of functions.
1809
1810 * abbrev.el (edit-abbrevs):
1811 * arc-mode.el (archive-extract):
1812 * autoinsert.el (auto-insert):
1813 * bookmark.el (bookmark-bmenu-list):
1814 * files.el (find-file):
1815 * view.el (view-buffer):
1816 * progmodes/compile.el (compilation-goto-locus):
1817 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1818
89894cd8
CY
18192011-09-02 Chong Yidong <cyd@stupidchicken.com>
1820
1821 * window.el (display-buffer-alist): Doc fix.
1822 (display-buffer): Add docstring. Don't treat
1823 display-buffer-default specially.
1824 (display-buffer-reuse-selected-window)
1825 (display-buffer-same-window, display-buffer-maybe-same-window)
1826 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1827 (display-buffer-pop-up-window)
1828 (display-buffer-reuse-or-pop-window)
1829 (display-buffer-use-some-window): New functions.
1830 (display-buffer-default-action): Use them.
393a301e 1831 (display-buffer-default): Delete.
89894cd8
CY
1832 (pop-to-buffer-1): Fix choice of actions.
1833
ae0bc9fb
SM
18342011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * minibuffer.el (completion--insert-strings): Don't get confused by
1837 completion entries that end with an LF char.
1838
e9d90883
EZ
18392011-09-01 Eli Zaretskii <eliz@gnu.org>
1840
1841 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1842
437014c8
CY
18432011-09-01 Chong Yidong <cyd@stupidchicken.com>
1844
1845 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1846 (display-buffer-same-window, display-buffer-other-window):
1847 New functions.
437014c8
CY
1848 (pop-to-buffer-1): New function. Use the above.
1849 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1850 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1851
1852 * view.el (view-buffer-other-window, view-buffer-other-frame):
1853 Just use pop-to-buffer.
1854
a5e063d5
TV
18552011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1856
1857 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1858
793d32bb
WH
18592011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1860
1861 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1862
d65e4c15
RS
18632011-08-31 Richard Stallman <rms@gnu.org>
1864
1865 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1866 of the separation of rmail-view-buffer from rmail-buffer.
1867 If you say no to "replace original", the decrypt is in the
1868 view buffer. If you say yes, the decrypt goes into the
1869 rmail buffer also.
1870
f818cd2a
MR
18712011-08-31 Martin Rudalics <rudalics@gmx.at>
1872
1873 * window.el (display-buffer-window): Rewrite doc-string.
1874 (display-buffer-record-window): New function.
1875 (display-buffer-macro-specifiers)
1876 (display-buffer-even-window-sizes, display-buffer-set-height)
1877 (display-buffer-set-width, display-buffer-in-window)
1878 (display-buffer-reuse-window, display-buffer-split-specifiers)
1879 (display-buffer-side-specifiers, display-buffer-split-window-1)
1880 (display-buffer-split-window, display-buffer-split-atom-window)
1881 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1882 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1883 (display-buffer-other-window-means-other-frame)
1884 (display-buffer-normalize-special)
1885 (display-buffer-normalize-default)
1886 (display-buffer-normalize-argument)
1887 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1888 (display-buffer-normalize-specifiers, display-buffer-frame)
1889 (display-buffer-same-window, display-buffer-same-frame)
1890 (display-buffer-other-window)
1891 (display-buffer-same-frame-other-window)
1892 (display-buffer-other-frame, pop-to-buffer-same-window)
1893 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1894 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1895 (switch-to-buffer-same-frame)
1896 (switch-to-buffer-other-window-same-frame)
1897 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1898 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1899 (display-buffer-alist-set): Remove.
1900 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1901 (special-display-regexps, special-display-function):
1902 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1903 parameter.
1904 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1905 (special-display-frame-alist, special-display-popup-frame)
1906 (same-window-buffer-names, same-window-regexps, same-window-p)
1907 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1908 (split-window-preferred-function, split-height-threshold)
1909 (split-width-threshold, window-splittable-p)
1910 (split-window-sensibly, window--try-to-split-window)
1911 (window--frame-usable-p, even-window-heights)
1912 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1913 (window--display-buffer-2, display-buffer-other-frame):
1914 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1915 (display-buffer-default, display-buffer-assq-regexp): New functions.
1916 (display-buffer-alist): Rewrite doc-string.
1917 (display-buffer-default-action)
1918 (display-buffer-overriding-action): New variables.
1919 (display-buffer, switch-to-buffer): Rewrite.
1920 (pop-to-buffer): Restore Emacs 23 behavior but use
1921 window-normalize-buffer-to-display.
1922 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1923 Restore Emacs 23 behavior but use
1924 window-normalize-buffer-to-switch-to.
1925 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1926 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1927 Rewrite using Emacs 23 options.
f818cd2a 1928
5bc3b51d
MA
19292011-08-31 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * net/tramp.el (tramp-root-regexp): Remove.
1932 (tramp-completion-file-name-regexp-unified)
1933 (tramp-completion-file-name-regexp-separate)
1934 (tramp-completion-file-name-regexp-url): Don't use leading volume
1935 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1936 (tramp-drop-volume-letter): Simplify definition.
1937 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1938
b1a4f8e1
SM
19392011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1942 (bug#9356).
1943
5664fa7b
RT
19442011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1945
b1a4f8e1 1946 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1947
9a45d6c3
JL
19482011-08-29 Juri Linkov <juri@jurta.org>
1949
1950 * isearch.el (isearch-done): Don't display message "Mark saved"
1951 when arg `edit' is non-nil to prevent its flicker in the echo area.
1952
fb87e0fb
CY
19532011-08-28 Chong Yidong <cyd@stupidchicken.com>
1954
1955 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1956 obsolete packages for deletion.
1957
09ac1c2a
CS
19582011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1959
1960 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1961 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1962 view-mode from help-mode.
1963 (help-xref-override-view-map): Remove.
1964 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1965 view-mode is not used anymore.
1966
7a1ff57f
CY
19672011-08-28 Chong Yidong <cyd@stupidchicken.com>
1968
1969 * server.el (server-port): Doc fix.
1970
b9696605
CY
1971 * cus-theme.el (custom-theme-choose-mode): Inherit from
1972 special-mode (Bug#9124).
1973 (custom-theme-choose-mode-map): Add special-mode to parent.
1974
ef8cdf8c
AM
19752011-08-28 Alan Mackenzie <acm@muc.de>
1976
1977 * progmodes/cc-fonts.el
1978 (c-make-font-lock-BO-decl-search-function): New function.
1979 (c-basic-matchers-after - "Fontify the clauses after various
1980 keywords"): Extract the three keyword lists for the 3 erroneous
1981 constructs from the list of four, and use the new function above
1982 in place of an old one.
1983
27de4e20
DD
19842011-08-28 Deniz Dogan <deniz@dogan.se>
1985
1986 * net/rcirc.el (rcirc-insert-prev-input)
1987 (rcirc-insert-next-input): Remove unused argument.
1988
356a3681
SM
19892011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1992
3fc9b218
AM
19932011-08-27 Alan Mackenzie <acm@muc.de>
1994
1995 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1996 handle function pointer parameters properly.
1997
538a061c
MR
19982011-08-27 Martin Rudalics <rudalics@gmx.at>
1999
2000 * window.el (display-buffer-reuse-window): Fix case where
2001 selected window was reused with non-nil OTHER-WINDOW argument.
2002 (Bug#9381)
2003
35b1c40c
DD
20042011-08-27 Deniz Dogan <deniz@dogan.se>
2005
2006 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2007 oftc's NickServ messages.
2008
2f6a3e79
GM
20092011-08-27 Glenn Morris <rgm@gnu.org>
2010
2011 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2012
7254299e
CY
20132011-08-26 Chong Yidong <cyd@stupidchicken.com>
2014
2015 * emacs-lisp/package.el (package-install): Call package-initialize
2016 if called interactively.
2017
f8ccf167
LL
20182011-08-26 Leo Liu <sdl.web@gmail.com>
2019
2020 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2021
3e8cd5ce
JL
20222011-08-25 Juri Linkov <juri@jurta.org>
2023
2024 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2025 `search-whitespace-regexp' (bug#9364).
2026
93eb7113
JL
20272011-08-25 Juri Linkov <juri@jurta.org>
2028
2029 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2030 `regexp-search-ring' to their global values to protect from
2031 updating by `read-from-minibuffer' (bug#9185).
2032
f65d1611
JL
20332011-08-25 Juri Linkov <juri@jurta.org>
2034
2035 * textmodes/ispell.el (ispell-command-loop): Add newline
2036 at the end of the "Use option `i'..." line.
2037
f1cf7a31
JL
20382011-08-25 Juri Linkov <juri@jurta.org>
2039
2040 * battery.el (display-battery-mode): If `battery-status-function'
2041 or `battery-mode-line-format' is nil, display the message and set
2042 `display-battery-mode' to nil (bug#9363).
2043
0c95fcf7
EZ
20442011-08-25 Eli Zaretskii <eliz@gnu.org>
2045
2046 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2047 bidi-string-mark-left-to-right; they are unnecessary now.
2048
a2ebe600
DD
20492011-08-25 Deniz Dogan <deniz@dogan.se>
2050
2051 * net/quickurl.el: Documentation typo fixes.
2052
e4ed06f1
CY
20532011-08-25 Chong Yidong <cyd@stupidchicken.com>
2054
2055 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2056
e5f1c99e
GM
20572011-08-25 Glenn Morris <rgm@gnu.org>
2058
b2948976
GM
2059 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2060
e5f1c99e
GM
2061 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2062 (smtpmail-via-smtp): Handle nil response from smtp.
2063
f22f4808
JL
20642011-08-24 Juri Linkov <juri@jurta.org>
2065
2066 * proced.el (proced-marked): Inherit from `error' instead of
2067 `font-lock-warning-face'.
2068
2069 * ibuffer.el (ibuffer-marked-face): Change default face from
2070 `font-lock-warning-face' to `warning'.
2071 (ibuffer-deletion-face): Change default face from
2072 `font-lock-type-face' to `error'.
2073
2074 * battery.el (battery-update): Use the face `error' instead of
2075 `font-lock-warning-face' (bug#6117).
2076
6a93965e
JL
20772011-08-24 Juri Linkov <juri@jurta.org>
2078
2079 * faces.el (success): Change face color from "Green3" to
2080 "ForestGreen" on light background (bug#9353).
2081
1ed43b09
CY
20822011-08-24 Chong Yidong <cyd@stupidchicken.com>
2083
5664fa7b
RT
2084 * window.el (quit-window): Rename from quit-restore-window.
2085 Use same arglist as old quit-window.
1ed43b09
CY
2086 (frame-auto-delete): Doc fix.
2087
2088 * view.el (view-mode-exit): Use quit-window.
2089
11dcdbb2
JL
20902011-08-24 Juri Linkov <juri@jurta.org>
2091
2092 * isearch.el (isearch-ring-adjust1): Start visiting previous
2093 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2094 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2095 for empty search string (when the last search string is reused
2096 automatically) to adjust the isearch ring to the last element and
2097 prepare the correct index for further M-p commands (bug#9185).
2098
de62b4df
KH
20992011-08-24 Kenichi Handa <handa@m17n.org>
2100
2101 * international/ucs-normalize.el: If decomposition property of
2102 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2103 nil.
2104 (nfd, nfkd): Likewise.
2105
963b492b
SM
21062011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2109 from process filters aren't reliably transmitted to the surrounding
2110 accept-process-output.
2111 (mpc-proc-check): New function.
2112 (mpc-proc-sync): Use it (bug#8293)
2113
93b6b5e1
SM
21142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2117 Add compatibility functions (bug#9313).
2118
bca633fb
EZ
21192011-08-23 Eli Zaretskii <eliz@gnu.org>
2120
b177498a
EZ
2121 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2122
bca633fb
EZ
2123 * international/uni-bidi.el: Regenerated.
2124
0902a04e
KH
21252011-08-23 Kenichi Handa <handa@m17n.org>
2126
2127 * international/charprop.el:
2128 * international/uni-bidi.el:
2129 * international/uni-category.el:
2130 * international/uni-combining.el:
2131 * international/uni-comment.el:
2132 * international/uni-decimal.el:
2133 * international/uni-decomposition.el:
2134 * international/uni-digit.el:
2135 * international/uni-lowercase.el:
2136 * international/uni-mirrored.el:
2137 * international/uni-name.el:
2138 * international/uni-numeric.el:
2139 * international/uni-old-name.el:
2140 * international/uni-titlecase.el:
2141 * international/uni-uppercase.el: Regenerate.
2142
3bbf23bc
MR
21432011-08-23 Martin Rudalics <rudalics@gmx.at>
2144
2145 * help.el (help-window-setup): Fix message displayed when other
2146 window is reused. (Bug#9341)
2147
b3fd59bd
SM
21482011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2149
1802e444
SM
2150 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2151 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2152
b3fd59bd
SM
2153 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2154 Mark obsolete.
2155 * shell.el (shell-parse-pcomplete-arguments): New function.
2156 (shell-completion-vars): Use it instead (bug#9160).
2157
4eb61348
SM
21582011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2159
867cab74
SM
2160 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2161 strings and comments (bug#9333).
2162
4eb61348
SM
2163 * emacs-lisp/debug.el (debug-arglist): New function.
2164 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2165 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2166
262a1439
JL
21672011-08-22 Juri Linkov <juri@jurta.org>
2168
56ee679c
JL
2169 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2170 Revert regexp that highlights output switches to its old
2171 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2172
262a1439
JL
2173 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2174 to check for empty output (bug#9226).
2175
f13f86fb
CY
21762011-08-22 Chong Yidong <cyd@stupidchicken.com>
2177
2178 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2179 symbol-constituent as the default, as that stops font-lock from
2180 working properly (Bug#8843).
2181
c65c9622
LMI
21822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2183
2184 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2185 `coding-system-for-*' around the process open call to avoid
2186 auth-source side effects.
e7f2c178 2187 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2188 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2189 probe hangs.
c65c9622 2190
23a8a5ab
CY
21912011-08-21 Chong Yidong <cyd@stupidchicken.com>
2192
ff98b2dd
CY
2193 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2194
23a8a5ab
CY
2195 * emacs-lisp/find-func.el (find-function-noselect): New arg
2196 lisp-only.
2197
2198 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2199 signal an error for built-in functions (Bug#6664).
2200
f5e3c598
LMI
22012011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2202
2203 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2204 (smtpmail-try-auth-methods): Use it.
2205
a3f2468a
CY
22062011-08-21 Chong Yidong <cyd@stupidchicken.com>
2207
2c34e8da
CY
2208 * font-lock.el (font-lock-fontify-region)
2209 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2210 (font-lock-default-unfontify-buffer)
2211 (font-lock-default-fontify-region)
2212 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2213
b3fd59bd
SM
2214 * progmodes/compile.el (compilation-error-properties):
2215 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2216 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2217 `ant' regexp.
ee31aabc 2218
a3f2468a
CY
2219 * net/browse-url.el (browse-url-firefox): Don't call
2220 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2221
8e999f70
GM
22222011-08-20 Glenn Morris <rgm@gnu.org>
2223
c21a496a
GM
2224 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2225
59ee0542
GM
2226 * tutorial.el (tutorial--default-keys): Update some default bindings.
2227
8e999f70
GM
2228 * files.el (hack-local-variables): Fully ignore case for "mode:".
2229
e3715033
AM
22302011-08-20 Alan Mackenzie <acm@muc.de>
2231
2232 Resolve invalid use of a regexp in regexp-opt.
2233
4d61f28d
JB
2234 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2235 detection for a java annotation.
e3715033 2236
4d61f28d 2237 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2238 detection for a java annotation.
2239
4d61f28d
JB
2240 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2241 handling for java.
e3715033
AM
2242 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2243
04ed2e9c
CY
22442011-08-20 Chong Yidong <cyd@stupidchicken.com>
2245
2246 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2247 (Bug#9274).
2248
826cee64
AM
22492011-08-20 Alan Mackenzie <acm@muc.de>
2250
2251 * Fontify CPP expressions correctly when starting in the middle of
2252 such a construct. Mainly for when jit-lock etc. starts a chunk
2253 here.
2254
2255 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2256 variable.
2257 (c-make-font-lock-search-form): new function, extracted from
2258 c-make-font-lock-search-function.
2259 (c-make-font-lock-search-function): Use the above function.
2260 (c-make-font-lock-context-search-function): New function.
2261 (c-cpp-matchers): Enhance the preprocessor expression case with
2262 the above function
2263 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2264 which takes an expression.
2265
2266 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2267
13009bd8
MR
22682011-08-20 Martin Rudalics <rudalics@gmx.at>
2269
2270 * window.el (display-buffer-reuse-window)
2271 (display-buffer-pop-up-window): Don't reuse or split a side
2272 window.
2273
9234ff7f
GM
22742011-08-19 Glenn Morris <rgm@gnu.org>
2275
2276 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2277 Downcase "Mode:". (Bug#9331)
9234ff7f 2278
f635daa1
CY
22792011-08-18 Chong Yidong <cyd@stupidchicken.com>
2280
2281 * international/characters.el: Add L and R categories.
2282
2283 * subr.el (bidi-string-mark-left-to-right): Rename from
2284 string-mark-left-to-right. Use category search.
2285
2286 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2287
bc987f8b
JL
22882011-08-18 Juri Linkov <juri@jurta.org>
2289
2290 * faces.el (error, warning, success): New faces with definitions
2291 copied from old default values of `font-lock-warning-face',
2292 `compilation-warning', `compilation-info' (bug#6117).
2293
2294 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2295
2296 * progmodes/compile.el (compilation-error): Inherit from `error'.
2297 (compilation-warning): Inherit from `warning'.
2298 (compilation-info): Inherit from `success'.
2299
2300 * dired.el (dired-marked): Inherit from `warning'.
2301 (dired-flagged): Inherit from `error'.
2302
57173b96
LMI
23032011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2304
3e79eb87
LMI
2305 * mail/smtpmail.el (auth-source): Require to avoid problems with
2306 binding variables (bug#9298). Also clean up some unused
2307 autoloads.
2308
b3fd59bd
SM
2309 * net/network-stream.el (network-stream-open-starttls):
2310 Support using starttls.el without using gnutls-cli.
57173b96 2311
02b404de
JL
23122011-08-17 Juri Linkov <juri@jurta.org>
2313
2314 * progmodes/grep.el (rgrep): Handle the case when
2315 `grep-find-command' is a cons cell (bug#9278).
2316
8c9177f2
MR
23172011-08-17 Martin Rudalics <rudalics@gmx.at>
2318
2319 * window.el (display-buffer-pop-up-frame): Run frame creation
2320 function with BUFFER current (as special-display-popup-frame
2321 does). Reported by Drew Adams.
2322
3644a0ab
DU
23232011-08-17 Daiki Ueno <ueno@unixuser.org>
2324
2325 * epa-mail.el: Simplify GnuPG group expansion using
2326 epg-expand-group.
2327 (epa-mail-group-alist, epa-mail-group-modtime)
2328 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2329 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2330 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2331 Remove.
2332
5e617bc2 23332011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2334
2335 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2336
9c4aeabf
AM
23372011-08-16 Alan Mackenzie <acm@muc.de>
2338
2339 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2340 Correct, to avoid the inside of macros.
2341
3a99bf64
RS
23422011-08-16 Richard Stallman <rms@gnu.org>
2343
04963aa8
RS
2344 * epa-mail.el: Handle GnuPG group definitions.
2345 (epa-mail-group-alist, epa-mail-group-modtime)
2346 (epa-mail-gnupg-conf-file): New variables.
2347 (epa-mail-parse-groups, epa-mail-sync-groups)
2348 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2349 (epa-mail-expand-recipients): New functions.
2350 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2351
177549d0
RS
2352 * mail/rmail.el (rmail-epa-decrypt): New command.
2353
fe38beef
RS
2354 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2355 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2356 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2357 (epa-decrypt-armor-in-region): Make error message clearer.
2358
934eacb9
SM
23592011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2362 and "a2b" to "ab" for `prefix'.
2363
d024fb4e
CY
23642011-08-14 Chong Yidong <cyd@stupidchicken.com>
2365
2366 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2367 filter groups.
de148fee
CY
2368 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2369 Fourquet (Bug#8804).
d024fb4e 2370
62f1ca49
JB
23712011-08-12 Juanma Barranquero <lekktu@gmail.com>
2372
2373 * startup.el (argi): Declare as global variable (bug#9275).
2374
9ccaaa4b
CY
23752011-08-12 Chong Yidong <cyd@stupidchicken.com>
2376
2377 * subr.el (string-mark-left-to-right): Search the entire string
2378 for RTL script, not just the terminating character. Doc fix.
2379
a3dae87a
SM
23802011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2381
6cd18349
SM
2382 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2383 New function.
2384 (js--regexp-literal, js-syntax-propertize-function): Remove.
2385 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2386 (js-mode-map): Don't rebind electric keys.
2387 (js-insert-and-indent): Remove.
2388 (js-mode): Setup electric-layout and electric-indent instead.
2389
a3dae87a
SM
2390 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2391
9d5cb631
DU
23922011-08-12 Daiki Ueno <ueno@unixuser.org>
2393
2394 * epa.el (epa-progress-callback-function): Fix the logic of
2395 displaying progress.
2396 * epa-file.el (epa-file-insert-file-contents): Make progress
2397 display more user-friendly.
2398 (epa-file-write-region): Ditto.
2399
3e26a4a2
CY
24002011-08-10 Chong Yidong <cyd@stupidchicken.com>
2401
2402 * subr.el (string-mark-left-to-right): New function.
2403
2404 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2405 Use string-mark-left-to-right.
2406 (list-buffers-noselect): Caller changed.
2407
a3dae87a
SM
2408 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2409 Use string-mark-left-to-right.
3e26a4a2
CY
2410 (tabulated-list-print): Recenter after moving point.
2411
ac8cf6e6
JL
24122011-08-10 Juri Linkov <juri@jurta.org>
2413
2414 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2415 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2416 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2417
8d96c9a4
CY
24182011-08-09 Chong Yidong <cyd@stupidchicken.com>
2419
2420 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2421 (Bug#7554).
2422
7be1c708 24232011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2424
2425 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2426 character. (Bug#6594)
2427
37e11a63
CY
24282011-08-08 Chong Yidong <cyd@stupidchicken.com>
2429
839dde57
CY
2430 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2431 (image-dired--with-db-file): New macro.
2432 (image-dired-write-tags, image-dired-remove-tag)
2433 (image-dired-create-gallery-lists, image-dired-write-comments)
2434 (image-dired-get-comment, image-dired-mark-tagged-files)
2435 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2436 (image-dired-gallery-generate): Use insert-file-contents.
2437
37e11a63
CY
2438 * time.el (display-time-world-list, display-time-world-display):
2439 * time-stamp.el (time-stamp-string):
2440 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2441 set-time-zone-rule (Bug#7337).
2442
0b4946c4
DU
24432011-08-08 Daiki Ueno <ueno@unixuser.org>
2444
2445 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2446 (epg-error-to-string, epg-errors-to-string): New function.
2447 (epg-wait-for-completion): Reverse errors list.
2448 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2449 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2450 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2451 (epg-sign-keys, epg-generate-key-from-file)
2452 (epg-generate-key-from-string): Format errors by using
2453 epg-errors-to-string (bug#9255).
2454 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2455
75bfc667
JL
24562011-08-07 Juri Linkov <juri@jurta.org>
2457
2458 * faces.el (list-faces-display): Remove extra angle bracket
2459 from `help-mode-map'.
2460
2461 * info.el (Info-history-toc-nodes): Doc fix.
2462
2463 * longlines.el (longlines-mode): Doc fix.
2464
673e08bb
SM
24652011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2466
4640dd88
SM
2467 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2468 of statements and in a few more cases (bug#9183).
2469
673e08bb
SM
2470 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2471 New functions.
2472 (cl-transform-lambda): Use them (bug#9239).
2473
89b3f019
MR
24742011-08-05 Martin Rudalics <rudalics@gmx.at>
2475
2476 * window.el (display-buffer-same-window)
2477 (display-buffer-same-frame, display-buffer-other-window)
2478 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2479 (pop-to-buffer-other-window)
2480 (pop-to-buffer-same-frame-other-window)
2481 (pop-to-buffer-other-frame): Make them defuns.
2482 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2483
640c8776
SM
24842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * subr.el (make-composed-keymap): Move from C. Change calling
2487 convention, and improve docstring to bring attention to a subtle point.
2488 * minibuffer.el (completing-read-default): Adjust accordingly.
2489
63648a95
MA
24902011-08-03 Michael Albinus <michael.albinus@gmx.de>
2491
2492 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2493 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2494
2495 * net/trampver.el: Update release number.
2496
b796c9b7
SM
24972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2500 "in" (bug#9190).
2501
2239d7d5
LMI
25022011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2503
e07dd7c3
LMI
2504 * mail/sendmail.el (sendmail-query-once): Restore the current
2505 buffer after querying (bug#9074).
2506
0e6a2bd7
LMI
2507 * dired.el (dired-flagged): Use different faces for marked and
2508 flagged files (bug#6117).
2509
ce887515
LMI
2510 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2511 (bug#4433).
2512
92f2affc
LMI
2513 * ido.el (ido-mode): Switch off the message if called
2514 non-interactively.
2515
57d5aff0
LMI
2516 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2517 before 587, since it appears that that's more likely to work for
2518 more people.
2519
98cd6c18
LMI
2520 * cus-edit.el (custom-file): When running under emacs -q, always
2521 refuse to save the customisations, even if the .emacs file doesn't
2522 exist.
2523
b96dec83
LMI
2524 * info.el: Remove the `Info-beginning-of-buffer' function
2525 (bug#8325).
2526
b796c9b7
SM
2527 * net/network-stream.el (network-stream-open-starttls):
2528 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2529
d90e2ea0
MR
25302011-08-01 Martin Rudalics <rudalics@gmx.at>
2531
2532 * window.el (display-buffer-in-window): Don't set dedicated status
2533 of window here (Bug#9215).
2534 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2535 (display-buffer-pop-up-side-window)
b796c9b7 2536 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2537
cca09170
SM
25382011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2541 before binding generated-autoload-file.
2542
027b979c
DD
25432011-08-01 Deniz Dogan <deniz@dogan.se>
2544
2545 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2546
3c7ee4f3
MA
25472011-07-30 Michael Albinus <michael.albinus@gmx.de>
2548
2549 Sync with Tramp 2.2.2.
2550
2551 * net/trampver.el: Update release number.
2552
2cc8e51a
JL
25532011-07-30 Juri Linkov <juri@jurta.org>
2554
2555 * dired-aux.el (dired-touch-initial): Remove function.
2556 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2557 current time, and `default' to the last modification time of the
2558 current marked file (bug#6887).
2559
a514d856
JM
25602011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2561
2562 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2563 numeric argument to read-number (bug#9163).
a514d856 2564
8a7eddd7
MA
25652011-07-27 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2568 connection process, it could be nil.
2569
1ddd96f5
LL
25702011-07-27 Leo Liu <sdl.web@gmail.com>
2571
2572 Simplify url handling in rcirc-mode.
2573
2574 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2575 (rcirc-browse-url-at-mouse): Remove.
2576 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2577
b248a85d
AM
25782011-07-26 Alan Mackenzie <acm@muc.de>
2579
2580 Fontify bitfield declarations properly.
2581
2582 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2583 (c-symbol-chars): Now exported as a lang variable.
2584 (c-not-primitive-type-keywords): New lang variable.
2585
2586 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2587 QT keyword "more" to prevent "more slots: ...." being spuriously
2588 parsed as a bitfield declaraion.
2589
b796c9b7
SM
2590 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2591 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2592 (c-punctuation-in): New function.
2593 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2594 declarations properly.
2595
68575ab0
UJ
25962011-07-26 Ulf Jasper <ulf.jasper@web.de>
2597
2598 * calendar/icalendar.el (icalendar--all-events): Take care of
2599 multiple vcalendars in a single file.
b796c9b7 2600 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2601
0f0a88b9
DD
26022011-07-25 Deniz Dogan <deniz@dogan.se>
2603
2604 * image.el (insert-image): Clarifying docstring.
2605
0b3f36df
MA
26062011-07-24 Michael Albinus <michael.albinus@gmx.de>
2607
2608 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2609 `tramp-send-command-and-check' if there is no error.
2610 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2611
a9901f61
AM
26122011-07-22 Alan Mackenzie <acm@muc.de>
2613
2614 Prevent cc-langs.elc being loaded at run time.
2615
2616 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2617 cc-langs.
2618
4d61f28d 2619 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2620 "(require 'cc-langs)". Quote a form so it will evaluate at
2621 (cc-mode's) compilation time.
2622
11d074b2
MA
26232011-07-22 Michael Albinus <michael.albinus@gmx.de>
2624
2625 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2626 loading. (Bug#9114)
2627
938b94c8
MR
26282011-07-21 Martin Rudalics <rudalics@gmx.at>
2629
2630 * window.el (display-buffer-pop-up-window)
2631 (display-buffer-pop-up-side-window)
2632 (display-buffer-in-side-window): Call display-buffer-set-height
2633 and display-buffer-set-width after setting the new window's
b796c9b7 2634 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2635
bfa4f190
SS
26362011-07-20 Sam Steingold <sds@gnu.org>
2637
2638 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2639 (etags-tags-included-tables): Call `convert-standard-filename' on
2640 the file names contained in TAGS so that windows Emacs can handle
2641 TAGS files created by cygwin ctags.
2642
8ca42262
LMI
26432011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2644
2645 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2646 which apparently didn't work.
2647
5db2afd2 26482011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2649
5db2afd2
RW
2650 * proced.el (proced-send-signal): For *Marked Processes* buffer
2651 put point at beginning of buffer.
2652
92e15d10
SB
26532011-07-19 Stephen Berman <stephen.berman@gmx.net>
2654
2655 * proced.el (proced-format): Make header lines align with the text
2656 (bug#1779).
2657
1bfd59e5
LMI
26582011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2659
2660 * view.el (view-buffer): Allow running in `special' modes if we're
2661 visiting a file (bug#8615).
2662
f5aae37c
MR
26632011-07-19 Martin Rudalics <rudalics@gmx.at>
2664
2665 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2666 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2667 New functions.
f5aae37c
MR
2668 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2669 more accurately.
2670
bf2c1571
AM
26712011-07-18 Alan Mackenzie <acm@muc.de>
2672
2673 Fontify declarators properly when, e.g., a jit-lock chunk begins
2674 inside a declaration.
2675
2676 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2677
b796c9b7
SM
2678 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2679 New function.
bf2c1571
AM
2680 (c-complex-decl-matchers): Insert reference to
2681 c-font-lock-enclosing-decls.
2682
2683 * progmodes/cc-engine.el (c-backward-single-comment):
2684 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2685 to nil around calls to (forward-comment -1).
2686
4e190b80
LMI
26872011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2688
12dc863d
LMI
2689 * image.el (put-image): Doc typo fix.
2690
a762e966
LMI
2691 * progmodes/etags.el (tags-search): Doc typo fix.
2692
4e190b80
LMI
2693 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2694 password if we get errors 550 to 554.
2695
f019fb21
LMI
26962011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2697
b796c9b7 2698 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2699
81746738
LMI
2700 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2701 indentation character (bug#6380).
2702
3ee3a1b5
LMI
2703 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2704
c82f64de
LMI
2705 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2706 to clarify what the problem is (bug#4291).
2707
f019fb21
LMI
2708 * simple.el (current-kill): Clarify what
2709 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2710 (auto-fill-mode): Document `auto-fill-function' in relation to
2711 `auto-fill-mode' (bug#2470).
f019fb21 2712
0794775d
LM
27132011-07-16 Lawrence Mitchell <wence@gmx.li>
2714
2715 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2716 method if slot is read-only (bug#9035).
2717
be39b8cc
MR
27182011-07-16 Martin Rudalics <rudalics@gmx.at>
2719
b796c9b7 2720 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2721 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2722 selected before, see discussion of (Bug#8615), (Bug#6954).
2723 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2724
6ccf7859
GM
27252011-07-15 Glenn Morris <rgm@gnu.org>
2726
2727 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2728 Respect help-form.
6ccf7859 2729
87e86684
LM
27302011-07-09 Lawrence Mitchell <wence@gmx.li>
2731
2732 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2733 (gnutls-negotiate): Use it.
2734
d6066239
LMI
27352011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2736
b796c9b7
SM
2737 * net/gnutls.el (gnutls-negotiate):
2738 Upcase `gnutls-algorithm-priority'.
d6066239 2739
bd23ebc0
GM
27402011-07-15 Glenn Morris <rgm@gnu.org>
2741
c65bca65
GM
2742 * jka-compr.el (jka-compr-verbose): Move from here...
2743 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2744 Add missing :version tag.
2745 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2746
478615cc
LMI
27472011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2748
7b41decb
LMI
2749 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2750 (gnutls-negotiate): Use it.
2751
dbc44fcd
LMI
2752 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2753
06789f97
LMI
2754 * info.el (Info-beginning-of-buffer): New command.
2755 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2756 announcing `b' as the key (bug#8325).
ab896c37 2757 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2758
c39da690
LMI
2759 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2760
3aa5f34b
LMI
2761 * international/mule-cmds.el
2762 (describe-specified-language-support): Make the error message
2763 clearer (bug#8905).
2764
4bf0979f
LMI
2765 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2766
478615cc
LMI
2767 * isearch.el (isearch-barrier): Add a doc string, since it's
2768 mentioned in a function doc string (bug#8678).
2769
75c68aa1
MR
27702011-07-15 Martin Rudalics <rudalics@gmx.at>
2771
2772 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2773 buffer argument (Bug#9083) and self-identifying label argument.
2774
a7c33da2
GM
27752011-07-15 Glenn Morris <rgm@gnu.org>
2776
2777 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2778
2f5c6024
LMI
27792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2780
2781 * man.el (Man-fontify-manpage): Fix message when formatting the
2782 man page (bug#7929).
2783
0bb23927 27842011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2785
2786 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2787 argument LRM; if non-nil, append an invisible LRM character to the
2788 buffer name.
2789 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2790 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2791 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2792 paragraph direction.
cce4b0a7 2793
621ef9ab
LMI
27942011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2795
d1583c48
LMI
2796 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2797 the man page name (bug#7929).
2798
6a57fb5f
LMI
2799 * image.el (put-image): Mention the `put-image' overlay property
2800 (bug#7834).
2801
d7956b14
LMI
2802 * scroll-bar.el (set-scroll-bar-mode): Mention that
2803 `scroll-bar-mode' lists the values (bug#7772).
2804
5b2d4a66
LMI
2805 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2806 command (bug#7729).
2807
7509a874
LMI
2808 * rect.el (apply-on-rectangle): Return the point after the last
2809 operation.
2810 (string-rectangle): Go to the point after the last operation
2811 (bug#7522).
2812
4fe74b19
LMI
2813 * printing.el (pr-toggle-region): Clarify the documentation
2814 slightly (bug#7493).
2815
b796c9b7
SM
2816 * time.el (display-time-update):
2817 Allow `display-time-mail-function' to return nil (bug#7158).
2818 Fix suggested by Detlev Zundel.
ab283561 2819
fc233c9d
LMI
2820 * vc/diff.el (diff): Clarify the order the file names are read
2821 (bug#7111).
2822
43f5740b
LMI
2823 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2824 the doc string (bug#7015).
2825
f2182a76
LMI
2826 * font-lock.el (font-lock-maximum-decoration): Mention what
2827 numeric levels mean (bug#6935).
2828
621ef9ab
LMI
2829 * startup.el (initial-buffer-choice): Don't mention the `none'
2830 selection, which is against policy.
2831
adc47434
MR
28322011-07-14 Martin Rudalics <rudalics@gmx.at>
2833
b796c9b7
SM
2834 * window.el (display-buffer-normalize-special):
2835 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2836
7e5bfb8f
EZ
28372011-07-14 Eli Zaretskii <eliz@gnu.org>
2838
2839 * subr.el (version<, version<=, version=): Mention "-CVS" and
2840 "-12345" alpha version numbers.
2841
27fa387a
CY
28422011-07-14 Chong Yidong <cyd@stupidchicken.com>
2843
2844 * bindings.el: Add advertised binding for set-mark-command
2845 (Bug#5772).
2846
8bdfa064
CY
28472011-07-14 Chong Yidong <cyd@stupidchicken.com>
2848
2849 * bindings.el (mode-line-other-buffer):
2850 * bookmark.el (bookmark-bmenu-2-window):
2851 * bs.el (bs-cycle-next, bs-cycle-previous):
2852 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2853 switch-to-buffer.
2854
2855 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2856 Delete.
8bdfa064 2857
5eba16a3
JB
28582011-07-14 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * follow.el (follow-debug-message, follow-redisplay):
2861 * jka-cmpr-hook.el (with-auto-compression-mode):
2862 Fix typos in docstrings.
2863
15853710
LMI
28642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2865
a28e4607
LMI
2866 * subr.el (with-silent-modifications): Clarify somewhat what the
2867 macro inhibits (bug#6525).
2868
15853710
LMI
2869 * simple.el (eval-expression): Note what it does if called
2870 interactively (bug#6495).
2871
bee0fcef
CY
28722011-07-13 Chong Yidong <cyd@stupidchicken.com>
2873
b796c9b7
SM
2874 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2875 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2876
2877 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2878 Remove switch-to-buffer.
2879
58274504
LMI
28802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2881
bd2fcc8d
LMI
2882 * files.el (make-directory): Clarify that an error will be raised
2883 if there's an error (bug#6397).
2884
0f04b32c
LMI
2885 * startup.el (initial-buffer-choice): Add `none' as a choice
2886 (bug#6234).
2887
465c5fc8
LMI
2888 * subr.el (add-hook): Clarify section about buffer-local hooks
2889 (bug#6218).
2890
58274504
LMI
2891 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2892
bead9a43
JB
28932011-07-13 Juanma Barranquero <lekktu@gmail.com>
2894
2895 * tabify.el (untabify): Preserve the current column so that point
2896 doesn't move (bug#6032).
2897
3af98a7b
LMI
28982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2899
b796c9b7
SM
2900 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2901 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2902
6240145a
GM
29032011-07-13 Glenn Morris <rgm@gnu.org>
2904
2905 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2906 (dired-insert-directory): Give a message the first time
2907 if ls is found not to support --dired.
2908
1d8c2ccc
LMI
29092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2910
2911 * simple.el (toggle-truncate-lines): Clarify what is toggled
2912 (bug#5580). Text by Drew Adams.
2913
5fc4038e
CY
29142011-07-13 Chong Yidong <cyd@stupidchicken.com>
2915
2916 * simple.el (blink-matching-open): Make the error message from the
2917 last change less verbose.
2918
bf6012e5
DN
29192011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2920
2921 * font-lock.el (font-lock-comment-face): Use the high contrast
2922 "yellow" color for font-lock-comment-face on low color terminals
2923 using a dark background color (bug#4221).
2924
343c3b5a
LMI
29252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2926
7e9505c5
LMI
2927 * dired.el (dired-insert-set-properties): Make the doc string
2928 reflect what it does now (bug#5325).
2929
c26fdcf5
LMI
2930 * simple.el (blink-matching-open): Say that we were unable to find
2931 the match within the limit, if we're limited (bug#5122).
2932
bb388cc5
LMI
2933 * international/mule-cmds.el (prefer-coding-system): Add an
2934 example (bug#4869).
2935
343c3b5a
LMI
2936 * progmodes/etags.el (tags-search): Document `file-list-form'
2937 (bug#4731).
2938
2a517d45
LM
29392011-07-13 Lawrence Mitchell <wence@gmx.li>
2940
2941 * net/browse-url.el (browse-url-default-browser)
2942 (browse-url-browser-function): Make the default browser choice a
2943 bit more logical (bug#4300). Also clean up the doc string.
2944
b6c78ef2
JB
29452011-07-13 Juanma Barranquero <lekktu@gmail.com>
2946
2947 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2948 binary endings (bug#4440).
2949
1c4dd947
LMI
29502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2951
a2014063
LMI
2952 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2953 which can be pretty annoying (bug#8971).
2954
9c9c2d88
LMI
2955 * jka-compr.el (jka-compr-verbose): New variable, and use
2956 throughout (bug#8971).
2957
1c4dd947
LMI
2958 * info.el (Info-find-file): Fall back on the installation
2959 directory if we can't find the info node anywhere else.
2960
a1c9f41b
SO
29612011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2962
2963 * vc/vc.el (vc-revert-file):
2964 Don't set file time-stamp in the past. (Bug#5181)
2965
536f3d36
LMI
29662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2967
7152b011
LMI
2968 * files.el (after-find-file): Give a better error message when
2969 trying to find a symlink that points to a file that doesn't exist
2970 (bug#4398).
2971
536f3d36
LMI
2972 * progmodes/cc-vars.el: Remove (probably) misleading comment
2973 (bug#4396).
2974
460c0fba
JB
29752011-07-12 Johan Bockgård <bojohan@gnu.org>
2976
2977 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2978
7a6bda45
CY
29792011-07-12 Chong Yidong <cyd@stupidchicken.com>
2980
2981 * mouse-sel.el: Hack restoring functionality, while keeping
2982 compatibility with 2010-07-03 changes to mouse selection.
2983 (mouse-sel-primary-overlay): New var.
2984 (mouse-sel-selection-alist): Use it.
2985 (mouse-sel-mode): Doc fix; remove points that are default features
2986 of mouse.el.
2987
c79598ef
JB
29882011-07-12 Johan Bockgård <bojohan@gnu.org>
2989
2990 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2991 Fix previous fix (bug#2490).
2992
ff8be6ef
RW
29932011-07-12 Roland Winkler <winkler@gnu.org>
2994
b796c9b7
SM
2995 * textmodes/bibtex.el (bibtex-initialize):
2996 Use pop-to-buffer-same-window.
ff8be6ef
RW
2997 (bibtex-search-entries): Fix interactive call.
2998
296ba3ee
LMI
29992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3000
f5242a02 3001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3002 Fontise bytecomp Error lines more correctly (bug#2490).
3003 Fix suggested by Johan Bockgård.
f5242a02 3004
296ba3ee
LMI
3005 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3006
3007 * dired-x.el (dired-guess-default): Use `delete-dups'.
3008
f69fd0d2
CY
30092011-07-12 Chong Yidong <cyd@stupidchicken.com>
3010
3011 * dired.el (dired-mark-prompt):
3012 * dired-aux.el (dired-read-shell-command): Doc fix.
3013
eab5dc07
LMI
30142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3015
b796c9b7
SM
3016 * mail/sendmail.el (sendmail-query-once):
3017 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3018 emacs -Q.
3019
3020 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3021
eab5dc07
LMI
3022 * cus-edit.el (custom-file): Take an optional no-error variable.
3023 (customize-save-variable): Set the variable, and give a warning if
3024 running under "emacs -q".
3025
a1e65d42
JB
30262011-07-11 Juanma Barranquero <lekktu@gmail.com>
3027
3028 * loadhist.el (unload-feature-special-hooks):
3029 Add `auto-coding-functions', `fill-nobreak-predicate' and
3030 `find-directory-functions' (bug#5327).
3031
1d52da10
LMI
30322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3033
be958f1d
LMI
3034 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3035
5bedb26c
LMI
3036 * cus-edit.el (custom-guess-name-alist): -alist variables should
3037 use the `alist' type (bug#3120). Suggested by Drew Adams.
3038
1d52da10
LMI
3039 * printing.el: Add documentation to all the `pr-toggle-' commands.
3040
481a51b6
LL
30412011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3042
3043 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3044 backends where it makes sense (bug#2623).
3045
dcc88d8a
LMI
30462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3047
c3de9feb
LMI
3048 * dired-x.el (dired-guess-default): Remove duplicate shell command
3049 entries (bug#2028).
8a93078b 3050 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3051 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3052
dcc88d8a
LMI
3053 * subr.el (remove-duplicates): New conveniency function.
3054
505e3645
LMI
30552011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3056
3057 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3058 (bug#1526).
3059
30602011-07-10 Martin Rudalics <rudalics@gmx.at>
3061
3062 * window.el (display-buffer-normalize-default): Don't invert
3063 meaning of even-window-heights. Reported by Eli Zaretskii
3064 <eliz@gnu.org>.
3065
455e4fa1
BR
30662011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3067
3068 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3069
8e0bc3e9
CY
30702011-07-10 Chong Yidong <cyd@stupidchicken.com>
3071
3072 * window.el (display-buffer): Fix arguments to
3073 display-buffer-reuse-window in last change.
3074
fa7c3228
CY
3075 * faces.el (link): Use a less saturated blue on light backgrounds.
3076
3077 * startup.el (fancy-startup-text, fancy-about-text)
3078 (fancy-startup-tail): Use font-lock faces, for background safety.
3079
c0a7f300
BN
30802011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3081
b796c9b7
SM
3082 * emulation/viper-cmd.el (viper-change-state-to-vi):
3083 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3084
4dc2a129
MR
30852011-07-09 Martin Rudalics <rudalics@gmx.at>
3086
3087 * window.el (display-buffer-default-specifiers): Remove.
3088 (display-buffer-macro-specifiers): Remove default specifiers.
3089 (display-buffer-alist): Default to nil.
b796c9b7 3090 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3091 (display-buffer-pop-up-window): Allow splitting internal
3092 windows. Check whether a live window was created.
3093 (display-buffer-other-window-means-other-frame)
3094 (display-buffer-normalize-arguments): Rename to
3095 display-buffer-normalize-argument and rewrite. Set the
3096 other-window specifier.
3097 (display-buffer-normalize-special): New function.
3098 (display-buffer-normalize-options): Rename to
3099 display-buffer-normalize-default and rewrite.
3100 (display-buffer-normalize-options-inhibit): Remove.
3101 (display-buffer-normalize-specifiers): Rewrite.
3102 (display-buffer): Process other-window specifier and call
3103 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3104 more faithfully.
b796c9b7 3105 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3106 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3107 (display-buffer-in-window, display-buffer-alist-set):
3108 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3109 <tassilo@member.fsf.org>.
3110
2d43b8c9
LL
31112011-07-09 Leo Liu <sdl.web@gmail.com>
3112
3113 * register.el (insert-register): Restore accidental change on
3114 2011-06-26. (Bug#9028)
3115
7f9b7c53
GM
31162011-07-09 Glenn Morris <rgm@gnu.org>
3117
3118 * subr.el (remq): Handle the empty list. (Bug#9024)
3119
f042cfd8
AS
31202011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3121
3122 * mail/sendmail.el (send-mail-function): No longer delay custom
3123 initialization.
3124 * custom.el (custom-initialize-delay): Doc fix.
3125
856b2f11
SM
31262011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3129
afae1d68
MA
31302011-07-08 Michael Albinus <michael.albinus@gmx.de>
3131
3132 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3133 human-friendly prompt.
3134
0757af94
SM
31352011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3138 provided by a particular plugin.
3139
d760b731
LMI
31402011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3141
3142 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3143 save customizations (with "emacs -Q"), just set the variable
3144 instead of erroring out.
3145
3146 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3147
cd79ce90
JL
31482011-07-08 Juri Linkov <juri@jurta.org>
3149
3150 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3151 (archive-zip-update-case): Use 7z if found by `executable-find'.
3152 The order of searching the available programs is the same as in
3153 `archive-zip-extract' (bug#8968).
3154
14cc04aa
CY
31552011-07-07 Chong Yidong <cyd@stupidchicken.com>
3156
3157 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3158 (menu-bar-options-menu): Tweak descriptions.
3159
0a1848ec
LMI
31602011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3161
3162 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3163 menu items into verb phrases (bug#1421). Also refill to fit under
3164 80 columns.
3165
f5bd0689
CY
31662011-07-07 Chong Yidong <cyd@stupidchicken.com>
3167
538e85c6
CY
3168 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3169 (Info-read-node-name): Doc fix (Bug#1084).
3170
f5bd0689
CY
3171 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3172 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3173 (end-of-sexp, beginning-of-sexp)
3174 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3175 (forward-symbol, forward-same-syntax, word-at-point)
3176 (sentence-at-point): Doc fix (Bug#1144).
3177
56ec5115
LMI
31782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3179
f3f8e37f
LMI
3180 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3181 should cover it (bug#1281).
3182
0757af94 3183 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3184
12b9eb35
LMI
3185 * net/network-stream.el (network-stream-open-starttls): If gnutls
3186 negotiation fails, then possibly try again with a non-encrypted
3187 connection (bug#9017).
3188
56ec5115
LMI
3189 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3190 be used.
3191
c2f9aec8
RS
31922011-07-07 Richard Stallman <rms@gnu.org>
3193
3194 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3195 property, and handle its changed format.
3196 Look for the correct line number.
3197 Use file's line contents (but not past first =) to find
3198 correct line in message.
3199
ef7b981d 32002011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3201
3202 * international/characters.el (build-unicode-category-table):
3203 Delete it.
0757af94 3204 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3205
0757af94 3206 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3207 to src/chartab.c.
3208 (get-char-code-property): Call unicode-property-table-internal to
3209 load a file. Call get-unicode-property-internal where necessary.
3210 (put-char-code-property): Call unicode-property-table-internal to
3211 load a file. Call put-unicode-property-internal where necessary.
3212 put-unicode-property-internal where necessary.
0757af94
SM
3213 (char-code-property-description):
3214 Call unicode-property-table-internal to load a file.
c805dec0
KH
3215
3216 * international/charprop.el:
3217 * international/uni-bidi.el:
3218 * international/uni-category.el:
3219 * international/uni-combining.el:
3220 * international/uni-comment.el:
3221 * international/uni-decimal.el:
3222 * international/uni-decomposition.el:
3223 * international/uni-digit.el:
3224 * international/uni-lowercase.el:
3225 * international/uni-mirrored.el:
3226 * international/uni-name.el:
3227 * international/uni-numeric.el:
3228 * international/uni-old-name.el:
3229 * international/uni-titlecase.el:
3230 * international/uni-uppercase.el: Regenerate.
3231
3232 * loadup.el: Load international/charprop.el before
3233 international/characters.
3234
e14b388a
CY
32352011-07-07 Chong Yidong <cyd@stupidchicken.com>
3236
3237 * window.el (next-buffer, previous-buffer): Signal an error if
3238 called from a minibuffer window.
3239
3240 * bindings.el: Revert 2011-07-04 change.
3241
354cf0ba
RS
32422011-07-06 Richard Stallman <rms@gnu.org>
3243
3244 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3245 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3246 Treat markers like ints.
3247 (rmail-mime-entity): Doc fix.
3248
a48868a7
LMI
32492011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250
4906cd3d
LMI
3251 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3252 defcustom again for backwards compatibility.
3253
e0457abe
LMI
3254 * simple.el (shell-command-on-region): Fill.
3255
d67f7e1f
LMI
3256 * dired-aux.el (dired-kill-line): Add a doc string.
3257
fe204702
LMI
3258 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3259 to "\\sw\\|\\s_" (bug#358).
3260
a48868a7
LMI
3261 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3262 (dired-unmark-backward): Ditto.
3263 (dired-flag-backup-files): Ditto.
3264
3265 * dired-x.el (dired-mark-sexp): Ditto.
3266
aa8a705c
RS
32672011-07-06 Richard Stallman <rms@gnu.org>
3268
3269 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3270 (rmail-mime-entity): New arg TRUNCATED.
3271 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3272 New functions.
3273 (rmail-mime-save): Warn if entity is truncated.
3274 (rmail-mime-toggle-hidden): Likewise, for showing.
3275 (rmail-mime-process-multipart): Record when an entity is truncated.
3276
a9a936b9
RS
3277 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3278 if ENTITY is a string.
3279
1f2b92cb
LMI
32802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3281
f4f73198 3282 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3283 of faces when `M-C-x'-ing their definitions (bug#8378).
3284 Also clean up the code slightly.
f4f73198 3285
12b16734
LMI
3286 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3287 because that makes the colours go away.
3288
f0691d22
LMI
3289 * mail/sendmail.el (send-mail-function): Change the default to
3290 `sendmail-query-once'.
9e87df06 3291 (sendmail-query-once): Add an autoload cookie.
f0691d22 3292
1f2b92cb
LMI
3293 * net/network-stream.el (network-stream-open-starttls): Try using
3294 a plain connection even if the server offered STARTTLS, and we
3295 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3296 capability. This should make smtpmail.el work in slightly more
3297 configurations.
3298
1cdd2a1b
MA
32992011-07-06 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3302 New defun.
3303 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3304
fbcc67e2
MM
33052011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3306
3307 * progmodes/sql.el: Version 3.0
0757af94 3308 (sql-product-alist): Add product :completion-object,
fbcc67e2 3309 :completion-column, and :statement attributes.
0757af94 3310 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3311 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3312 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3313 ansi keywords.
3314 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3315 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3316 (sql-oracle-show-reserved-words): New function for development.
3317 (sql-product-font-lock): Simplify for source code buffers.
3318 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3319 New functions.
3320 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3321 (sql-mode-map): Add statement movement functions.
3322 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3323 New variable.
fbcc67e2
MM
3324 (sql-statement-regexp, sql-beginning-of-statement)
3325 (sql-end-of-statement, sql-signum): New functions.
0757af94 3326 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3327 (sql-show-sqli-buffer): Bug fix.
3328 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3329 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3330 with sql-interactive-mode.
3331 (sql-save-connection): Save buffer local settings.
0757af94 3332 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3333 (sql-product-interactive): Bug fix.
3334 (sql-preoutput-hold): New variable.
3335 (sql-interactive-remove-continuation-prompt): Bug fixes.
3336 (sql-debug-redirect): New variable.
3337 (sql-str-literal): New function.
3338 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3339 Redesign.
fbcc67e2
MM
3340 (sql-oracle-save-settings, sql-oracle-restore-settings)
3341 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3342 (sql-completion-object, sql-completion-column)
3343 (sql-completion-sqlbuf): New variables.
3344 (sql-build-completions-1, sql-build-completions)
3345 (sql-try-completion): New functions.
3346 (sql-read-table-name): Use them.
3347 (sql-contains-names): New buffer local variable.
3348 (sql-list-all, sql-list-table): Use it.
3349 (sql-oracle-completion-types): New variable.
3350 (sql-oracle-completion-object, sql-sqlite-completion-object)
3351 (sql-postgres-completion-object): New functions.
3352
d4eaeab1
GM
33532011-07-06 Glenn Morris <rgm@gnu.org>
3354
3355 * window.el (pop-to-buffer): Doc fix.
3356
322b7dab 33572011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3358
3359 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3360
322b7dab 33612011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3362
322b7dab 3363 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3364
322b7dab 3365 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3366
605dd5bf
CY
33672011-07-05 Chong Yidong <cyd@stupidchicken.com>
3368
3369 * button.el (button): Inherit from link face. Suggested by Dan
3370 Nicolaescu.
3371
7dbfa719
SM
33722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3db614b0
SM
3374 * progmodes/gdb-mi.el: Fit in 80 columns.
3375 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3376 switch-to-buffer.
3377
7dbfa719
SM
3378 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3379 if imenu is simply not configured (bug#8941).
3380
919d884a
KM
33812011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3382
3383 * allout.el (allout-post-undo-hook): New allout outline-change
3384 event hook to signal undo activity.
3385 (allout-post-command-business): Run allout-post-undo-hook if an
3386 undo just occurred.
7dbfa719
SM
3387 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3388 * allout-widgets.el (allout-widgets-after-undo-function):
3389 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3390 in the vicinity of an undo.
3391 (allout-widgets-mode): Include allout-widgets-after-undo-function
3392 on the new allout-post-undo-hook.
3393
450a0f09
SM
33942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3397 Let define-derived-mode define it.
3398 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3399 cycles of abbrev-table inheritance (bug#8998).
3400
2de69e00
RW
34012011-07-05 Roland Winkler <winkler@gnu.org>
3402
3403 * textmodes/bibtex.el: Add support for biblatex.
3404 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3405 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3406 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3407 (bibtex-entry-alist, bibtex-field-alist): New variables.
3408 (bibtex-entry-field-alist): Obsolete alias for
3409 bibtex-BibTeX-entry-alist.
3410 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3411 (bibtex-set-dialect): New command.
3412 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3413 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3414 Bind via bibtex-set-dialect.
2de69e00
RW
3415 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3416 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3417 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3418 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3419 Define via bibtex-set-dialect.
450a0f09
SM
3420 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3421 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3422 (bibtex-vec-push, bibtex-vec-incr): New functions.
3423 (bibtex-format-entry, bibtex-field-list)
3424 (bibtex-print-help-message, bibtex-validate)
3425 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3426
2dcdbdd9
SM
34272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * progmodes/compile.el (compilation-goto-locus):
3430 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3431 * bs.el (bs-cycle-next, bs-cycle-previous):
3432 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3433 * bindings.el (mode-line-other-buffer):
3434 * autoinsert.el (auto-insert):
3435 * arc-mode.el (archive-extract):
3436 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3437
b27640fe
JB
34382011-07-05 Juanma Barranquero <lekktu@gmail.com>
3439
3440 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3441 Fix check of `emacs-lock-unlockable-modes'.
3442 Coerce true values of `emacs-lock--try-unlocking' to t.
3443
53bbe3ad
JB
34442011-07-05 Juanma Barranquero <lekktu@gmail.com>
3445
3446 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3447 * emacs-lock.el: New file.
3448
1d3cdbc7
JD
34492011-07-05 Julien Danjou <julien@danjou.info>
3450
3451 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3452 than `boundp' to check if face is set.
3453
9173deec
JB
34542011-07-05 Juanma Barranquero <lekktu@gmail.com>
3455
3456 * register.el (registerv-make):
3457 * window.el (window-min-height): Fix typos in docstrings.
3458
869795d6
JD
34592011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3460
9173deec 3461 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3462 Update doc string.
3463
b768cdcd
JB
34642011-07-04 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * server.el (server-execute): Catch quit and call
3467 `server-return-error' to pass the error back to emacsclient and
3468 close the connection (bug#8942).
3469
13aa217b
KM
34702011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3471
3472 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3473 insecure exception for current topic. Also note that auto-saves
3474 are handled differently.
3475
3476 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3477 State variables for tracking auto-save inhibition situation.
3478
3479 (allout-write-contents-hook-handler): Rename from
3480 'allout-write-file-hook-handler', and describe how it depends on
3481 write-contents-functions sensitivity to non-nil value to prevent
3482 file write.
3483
3484 (allout-auto-save-hook-handler): Remove. auto-save does not check
3485 this in individual buffers, only in the starting buffer, so this
3486 is not the right way for us to inhibit auto-save in a buffer
3487 according to its condition.
3488
3489 (allout-mode): Use new allout-write-contents-hook-handler, and
3490 only with write-contents-functions. Remove auto-save provisions -
3491 they're implemented elsewhere.
3492
3493 (allout-before-change-handler): If undo is in progress, note that
3494 for attention of allout-post-command-business.
3495
3496 (allout-post-command-business): If the command we're following was
3497 an undo, check for change in the status of encrypted items and
3498 adjust auto-save inhibitions accordingly.
3499
3500 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3501 according to whether there are or aren't any plain-text topics
3502 pending encryption.
3503
2dcdbdd9
SM
3504 (allout-inhibit-auto-save-info-for-decryption):
3505 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3506 there are plain-text topics pending encryption.
3507
3508 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3509 buffer-saved-size and some allout state to not inhibit auto-saves
3510 if there are no longer any plain-text topics pending encryption.
3511
0757af94
SM
3512 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3513 No longer provide for exemption of the current topic.
13aa217b 3514
ac89b32c
JL
35152011-07-04 Juri Linkov <juri@jurta.org>
3516
3517 Add 7z operations to delete and save changed members (bug#8968).
3518 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3519 New defcustoms.
3520 (archive-7z-write-file-member): New function.
3521 (archive-7z-summarize): Fix the number of dashes in the
3522 listing output.
3523
8fa39615
SM
35242011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3527 (bug#8958).
3528
2f11b3f1
CY
35292011-07-04 Chong Yidong <cyd@stupidchicken.com>
3530
d66fef2b
CY
3531 * bindings.el: Ignore next-buffer and previous-buffer in
3532 minibuffer-local-map.
3533
2f11b3f1
CY
3534 * font-lock.el (font-lock-builtin-face): Change light background
3535 color to dark slate blue (Bug#6693).
3536
f932a347
WD
35372011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3538
3539 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3540
c8af70e1
SM
35412011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3544 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3545 Add switch-to-buffer.
3546
f158badc
LMI
35472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3548
3549 * isearch.el (isearch-search-fun-function): Clarify further the
3550 meaning of the function returned.
3551
6d95bd46
MA
35522011-07-04 Michael Albinus <michael.albinus@gmx.de>
3553
3554 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3555
3556 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3557 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3558 Use it.
3559 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3560 `tramp-default-remote-path' does not exist.
3561 (tramp-send-command-and-read): New optional argument NOERROR.
3562 (tramp-open-connection-setup-interactive-shell)
3563 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3564 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3565 (tramp-process-sentinel): Flush also process' connection property.
3566 (tramp-sh-handle-start-file-process): Do not set process
3567 sentinel. It is done now ...
3568 (tramp-maybe-open-connection): ... here. (Bug#8929)
3569
909e6b67
MK
35702011-07-04 MON KEY <monkey@sandpframing.com>
3571
3572 * play/animate.el (animate-string): Doc fixes and allow changing
3573 the buffer name (bug#5417).
3574
35752011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3576
c8af70e1 3577 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3578
f34755dc
PE
35792011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3580
396cec72
PE
3581 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3582 This is simpler and helps future-proof the code.
3583 (timer-until): Use time-subtract and float-time.
08235028 3584 (timer--time-less-p): Use time-less-p.
f34755dc 3585
56e6cc31
JB
35862011-07-04 Juanma Barranquero <lekktu@gmail.com>
3587
3abb79e5
JB
3588 * type-break.el (timep): Use the value of `float-time' to avoid a
3589 byte-compiler warning.
3590
56e6cc31
JB
3591 * server.el (server-eval-and-print): Return any result, even nil.
3592
7b9430b4
PE
35932011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3594
3595 * type-break.el: Accept time formats that the builtins accept.
3596 (timep, type-break-time-difference): Accept any format that
3597 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3598 This is simpler and helps future-proof the code.
3599 (type-break-time-difference): Round rather than ignoring
3600 subseconds components.
3601
3034e9e7
LMI
36022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3603
3604 * info.el (Info-apropos-matches): Make non-interactive, since it
3605 doesn't seem to do anything useful as a command (bug#8829).
3606
1485f4c0
CY
36072011-07-03 Chong Yidong <cyd@stupidchicken.com>
3608
3609 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3610 Move from faces.el.
1485f4c0
CY
3611 (frame-default-terminal-background): New function.
3612
3613 * custom.el (custom-push-theme): Don't record faces in `changed'
3614 theme; this doesn't work correctly for per-frame face settings.
3615 (disable-theme): Use face-set-after-frame-default to reset faces.
3616 (custom--frame-color-default): New function.
3617
9fa3dd45
LMI
36182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3619
c8af70e1 3620 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3621 (bug#8769).
3622
6cbbc20c
KR
36232011-03-29 Kevin Ryde <user42@zip.com.au>
3624
3625 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3626 `perl-Test2' extend to match possible "fail #N" rep count
3627 (bug#8377).
3628
c7f98048
LMI
36292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3630
65676592
LMI
3631 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3632 `smtpmail-via-smtp' now returns the error instead of nil.
3633
c7f98048
LMI
3634 * isearch.el (isearch-search-fun-function): Clarify the doc string
3635 (bug#8101).
3636
56e6cc31 36372011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3638
3639 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3640 unnecessary spaces (bug#8987).
3641
2b216704
LMI
36422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3643
3644 * net/network-stream.el (open-network-stream): Use the
3645 :end-of-capability command thoughout.
3646
36472011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3648
3649 * net/network-stream.el (open-network-stream): Add the
3650 :end-of-capability command parameter, used by pop3.el.
3651
36adf6ce
LMI
36522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3653
1ca0da0e
LMI
3654 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3655
fc00f69c
LMI
3656 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3657 for list)" (bug#6475).
3658
28fd8759
LMI
3659 * files.el (file-expand-wildcards): Ignore non-readable
3660 sub-directories while trying to find matches instead of signalling
3661 an error (bug#6297).
3662
0dd8b6da
LMI
3663 * man.el (Man-reference-regexp): Allow matching possible
3664 word-wrapped references (bug#6289).
3665
ce1438d6
LMI
3666 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3667 for consistency with the other vc buffers (bug#6197).
3668 (vc-checkin): Ditto.
3669
3670 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3671
36adf6ce
LMI
3672 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3673
e83cc1f7
LMI
36742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3675
8a20ca4c
LMI
3676 * custom.el (defcustom): Clarify that :set is only used in the
3677 Customize user interface (bug#6089).
3678
83319045
LMI
3679 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3680 associated with a file, refuse to run instead of erroring out
3681 (bug#6084).
3682
a8392169
LMI
3683 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3684 the doc string, since it appears that using `fill-column' always
3685 controls the width (bug#7845).
3686
e83cc1f7
LMI
3687 * simple.el (shell-command-on-region): Say where the error output
3688 went if `shell-command-default-error-buffer' is set (bug#6857).
3689
e47ca23b
KM
36902011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3691
3692 * allout.el (allout-yank-processing): Adjust cursor position for
3693 backwards-deleted space.
3694
3695 (allout-rebullet-heading): Register changes with
3696 allout-exposure-changed-hook, so the modified topic is properly
3697 decorated.
3698
5cf56143
LMI
36992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3700
08549772
LMI
3701 * minibuffer.el (completion-in-region): Document PREDICATE
3702 (bug#7136).
3703
48e96771
LMI
3704 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3705 of keyword/argument pairs (bug#6904).
3706
c8af70e1
SM
3707 * replace.el (multi-occur):
3708 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3709
e17d05e2
LMI
37102011-07-02 Drew Adams <drew.adams@oracle.com>
3711
3712 * dired.el (dired-mark-if): Make the message about whether it's
3713 marking or unmarking clearer (bug#8523).
3714
063b0e45
LMI
37152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3716
3717 * disp-table.el (display-table-print-array): New function.
3718 (describe-display-table): Use it to print the vectors more pretty
3719 (Bug#8859).
3720
28545e04
MR
37212011-07-02 Martin Rudalics <rudalics@gmx.at>
3722
3723 * window.el (window-state-get-1): Don't assign clone numbers.
3724 Add clone-of item to list of window parameters.
3725 (window-state-put-2): Don't process clone numbers.
3726 (display-buffer-alist): Fix doc-string.
3727
3349e122
SM
37282011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * subr.el (remq): Don't allocate if it's not needed.
3731 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3732 (keymap--merge-bindings): New functions.
3733 (keymap-canonicalize): Use them to refine the canonicalization.
3734 * minibuffer.el (minibuffer-local-completion-map)
3735 (minibuffer-local-must-match-map): Move initialization from C.
3736 (minibuffer-local-filename-completion-map): Move initialization from C;
3737 don't inherit from anything here.
3738 (minibuffer-local-filename-must-match-map): Make obsolete.
3739 (completing-read-default): Use make-composed-keymap to combine
3740 minibuffer-local-filename-completion-map with either
3741 minibuffer-local-must-match-map or
3742 minibuffer-local-filename-completion-map.
3743
d224ac83
GM
37442011-07-01 Glenn Morris <rgm@gnu.org>
3745
3de63bf8
GM
3746 * type-break.el (type-break-time-sum): Use dolist.
3747
d224ac83
GM
3748 * textmodes/flyspell.el (flyspell-word-search-backward):
3749 Replace CL function.
3750
1a1e3f32
SM
37512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3752
fe3f64d5
SM
3753 * mouse.el (mouse--strip-first-event): New function.
3754 (function-key-map): Use it to map fringe clicks to normal clicks
3755 by default.
3756
eb604e34
SM
3757 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3758 (vc-bzr-revision-completion-table): Add support for annotate and date.
3759
1a1e3f32
SM
3760 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3761 inherit from parent.
3762
5bd35902
LMI
37632011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3764
ace6c69c 3765 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3766 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3767
191e2bed
LMI
3768 * dired.el (dired-mode): Fix up the doc string as suggested by
3769 Drew Adams (bug#8817).
3770
5bd35902
LMI
3771 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3772 cookie, since the manual says that it should be possible to add
3773 this function to `find-file-hook' (bug#8709).
3774
eee8207a
TZ
37752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3776
3777 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3778 here. Noted Ted Zlatanov as the maintainer.
3779 (cfengine-common-settings, cfengine-common-syntax): New functions
3780 to set up common things between `cfengine-mode' and
3781 `cfengine3-mode'.
3782 (cfengine3-mode): New mode.
3783 (cfengine3-defuns cfengine3-defuns-regex
3784 (cfengine3-class-selector-regex cfengine3-category-regex)
3785 (cfengine3-vartypes cfengine3-font-lock-keywords)
3786 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3787 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3788
36b148cf
MA
37892011-07-01 Michael Albinus <michael.albinus@gmx.de>
3790
3791 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3792
3793 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3794
0bf4ba9a
MR
37952011-07-01 Martin Rudalics <rudalics@gmx.at>
3796
3797 * window.el (same-window-buffer-names, same-window-regexps)
3798 (same-window-p, special-display-frame-alist)
3799 (special-display-popup-frame, special-display-function)
3800 (special-display-buffer-names, special-display-regexps)
3801 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3802 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3803 (split-window-preferred-function, split-height-threshold)
3804 (split-width-threshold, even-window-heights)
3805 (display-buffer-mark-dedicated, window-splittable-p)
3806 (split-window-sensibly, window-safely-shrinkable-p):
3807 Un-obsolete.
3808 (display-buffer): Don't spread args with function specifier
3809 because special-display-popup-frame won't like it.
3810
35837f51
PE
38112011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3812
d0672f86
PE
3813 Time-stamp simplifications and fixes.
3814 These improve accuracy slightly, and future-proof the code
3815 against some potential changes to current-time format.
3816
b9444d97
PE
3817 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3818 by using time-since and float-time.
3819
0ef923dc
PE
3820 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3821 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3822 + NNN microseconds".
3823
2f81380d
PE
3824 * type-break.el (type-break-time-sum): Rewrite using time-add.
3825
845b5c3e
PE
3826 * play/hanoi.el (hanoi-current-time-float): Remove.
3827 All uses replaced by float-time.
3828
ee6f1be0
PE
3829 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3830 This yields a more-accurate answer.
3831 (rng-time-to-float): Remove; no longer needed.
3832
fe955043
PE
3833 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3834
5777162a
PE
3835 * calendar/timeclock.el (timeclock-seconds-to-time):
3836 Defalias to seconds-to-time, since they're the same thing.
3837
3103f8b6 3838 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3839 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3840 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3841
0e61a35f
SM
38422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * window.el (bury-buffer): Don't iconify the only frame.
3845 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3846 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3847
ddd63a1e
CY
38482011-07-01 Chong Yidong <cyd@stupidchicken.com>
3849
0e61a35f
SM
3850 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3851 Add mouse-yank-primary.
ddd63a1e 3852
055f4923
TZ
38532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3854
3855 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3856
6a2fb145
SM
38572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3860 (find-library-name): Use it to find relative load names when provided
3861 absolute file name (bug#8803).
3862
fd4983f2
LMI
38632011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3864
887d14ad
LMI
3865 * textmodes/flyspell.el (flyspell-word): Consider words that
3866 differ only in case as potential doublons (bug#5687).
3867
c53dc7fc
LMI
3868 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3869 Remove two rather uninteresting debugging-like messages to make
3870 debbugs.el more silent.
3871
fd4983f2
LMI
3872 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3873 a password-like phrase.
3874
b14c0c55
AM
38752011-06-30 Mastake YAMATO <yamato@redhat.com>
3876
3877 * progmodes/cc-guess.el: New file.
3878
6a2fb145 3879 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3880
3881 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3882 derived from `c-basic-common-init'.
3883
3884 * progmodes/cc-mode.el (top-level): Require cc-guess.
3885 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3886
1fa280a3
LM
38872011-06-30 Lawrence Mitchell <wence@gmx.li>
3888
3889 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3890
e6597158
AM
38912011-06-30 Alan Mackenzie <acm@muc.de>
3892
1fa280a3
LM
3893 * progmodes/cc-engine.el (c-guess-continued-construct):
3894 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3895 lock is disabled. Name this case as "CASE G".
3896
68ba37fb
KM
38972011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3898
3899 * allout.el (allout-yank-processing): Fix injection of extra space
3900 between bullet and non-whitespace character in first topic when
3901 pasting, ensuring that the actual spacing in the pasted topic
3902 following the bullet char is preserved. This extra space was
3903 causing pasted encrypted topics to get a decrypted status even
3904 when the content was actually still encrypted. Now the decryption
3905 status from before the paste is preserved.
3906
3907 (allout-flag-region): Set all allout overlays so they evaporate
3908 when reduced to zero length (evanescent), to prevent overlay
3909 leakage.
3910
887a0b34
GM
39112011-06-30 Glenn Morris <rgm@gnu.org>
3912
94b9acce
GM
3913 * w32-fns.el (w32-charset-info-alist): Declare.
3914
1d9b46d4
GM
3915 * find-dired.el (find-grep-options): Simplify.
3916
cc232200
GM
3917 * term/ns-win.el (ns-set-resource): Declare.
3918
28e77c46
GM
3919 * ses.el (row, col): Declare dynamic variables honestly.
3920
887a0b34
GM
3921 * textmodes/reftex-parse.el (index-tags): Declare.
3922
658d8eb8
CY
39232011-06-30 Chong Yidong <cyd@stupidchicken.com>
3924
3925 * cus-edit.el (customize-push-and-save): New function.
3926
3927 * files.el (hack-local-variables-confirm): Use it.
3928
1fa280a3
LM
3929 * custom.el (load-theme): New arg NO-CONFIRM.
3930 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3931 (custom-enabled-themes): Doc fix.
3932
3933 * cus-theme.el (customize-create-theme)
3934 (custom-theme-merge-theme): Callers to load-theme changed.
3935
bb617717
LMI
39362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3937
d61bdd5d
LMI
3938 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3939 short URLs have at least one dot in them (bug #7614).
3940
bb617717
LMI
3941 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3942 nil, because using a pty is apparently too slow (bug #895).
3943
2f31f37a
LMI
39442011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3945
3946 * mail/sendmail.el (sendmail-query-once): New function.
3947 (sendmail-query-once-function): New variable.
3948
3076b24e
GM
39492011-06-29 Glenn Morris <rgm@gnu.org>
3950
faf2a174
GM
3951 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3952
3076b24e
GM
3953 * ses.el (top-level): Require cl when compiling.
3954 (ses-set-localvars): Fix error statement.
3955 Call it at compile time to silence a storm of warnings.
3956
5386012d
MR
39572011-06-29 Martin Rudalics <rudalics@gmx.at>
3958
3959 * window.el (normalize-live-buffer): Rename to
3960 window-normalize-buffer.
3961 (normalize-live-frame): Rename to window-normalize-frame.
3962 (normalize-any-window): Rename to window-normalize-any-window.
3963 (normalize-live-window): Rename to window-normalize-live-window.
3964 (make-window-atom): Rename to window-make-atom.
3965 (window-resize-reset): Rename to window--resize-reset.
3966 (window-resize-reset-1): Rename to window--resize-reset-1.
3967 (resize-mini-window): Rename to window--resize-mini-window.
3968 (resize-subwindows-skip-p): Rename to
3969 window--resize-subwindows-skip-p.
3970 (resize-subwindows-normal): Rename to
3971 window--resize-subwindows-normal.
3972 (resize-subwindows): Rename to window--resize-subwindows.
3973 (resize-other-windows): Rename to window--resize-siblings.
3974 (resize-this-window): Rename to window--resize-this-window.
3975 (resize-root-window): Rename to window--resize-root-window.
3976 (resize-root-window-vertically): Rename to
3977 window--resize-root-window-vertically.
3978 (normalize-buffer-to-display): Rename to
3979 window-normalize-buffer-to-display.
3980 (normalize-buffer-to-switch-to): Rename to
3981 window-normalize-buffer-to-switch-to.
3982 Correspondingly update all callers of the functions listed
3983 above.
3984 (display-buffer-alist, display-buffer-normalize-arguments)
3985 (display-buffer-normalize-options, display-buffer)
3986 (display-buffer-alist-set): Use "function" instead of
3987 "fun-with-args".
3988
1176868d
CY
39892011-06-28 Chong Yidong <cyd@stupidchicken.com>
3990
3991 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3992 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3993 debbugs.gnu.org. Mention acknowledgment email.
3994
20a7a65f
LMI
39952011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3996
3997 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3998 buffer multibyteness, since it shouldn't matter.
3999
5f45cca5
MR
40002011-06-28 Martin Rudalics <rudalics@gmx.at>
4001
4002 * window.el (display-buffer-in-side-window): Handle dedicated
4003 windows as in display-buffer-reuse-window.
4004 (display-buffer-normalize-alist): Use value of override
4005 specifier.
4006 (display-buffer-normalize-specifiers): Use value of
4007 other-window-means-other-frame specifier.
4008 (display-buffer-alist): Rewrite some texts in widgets.
4009 (display-buffer): Spread arguments when calling function
4010 specified by fun-with-args.
4011
ad85fe1f
DD
40122011-06-28 Deniz Dogan <deniz@dogan.se>
4013
1fa280a3
LM
4014 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4015 Unnest `let'.
da68c4c8 4016
ad85fe1f
DD
4017 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4018 selectors (Bug#5732).
ec49bd31 4019 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4020
a08cc025
JA
40212011-06-27 Jari Aalto <jari.aalto@cante.net>
4022
4023 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4024 (eshell-ls-date-format): New defcustom.
4025 (eshell-ls-file): Use it.
4026
e2b551c5
SM
40272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4030
8982b231
KY
40312011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4032
4033 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4034 (ange-ftp-make-tmp-name): New arg.
4035 (ange-ftp-file-local-copy): Use it.
4036
36c9fa27
J
40372011-06-27 Jambunathan K <kjambunathan@gmail.com>
4038
4039 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4040 no-conversion (Bug#8870).
4041
d68443dc
MR
40422011-06-27 Martin Rudalics <rudalics@gmx.at>
4043
4044 * window.el (window-right, window-left, window-child)
4045 (window-child-count, window-last-child)
4046 (window-iso-combination-p, walk-window-tree-1)
4047 (window-atom-check-1, window-tree-1, delete-window)
4048 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4049 new naming conventions - window-vchild, window-hchild,
4050 window-next and window-prev are now called window-top-child,
4051 window-left-child, window-next-sibling and window-prev-sibling
4052 respectively.
d615d6d2
MR
4053 (resize-window-reset): Rename to window-resize-reset.
4054 (resize-window-reset-1): Rename to window-resize-reset-1.
4055 (resize-window): Rename to window-resize.
4056 (window-min-height, window-min-width)
4057 (resize-mini-window, resize-this-window, resize-root-window)
4058 (resize-root-window-vertically, adjust-window-trailing-edge)
4059 (enlarge-window, shrink-window, maximize-window)
4060 (minimize-window, delete-window, quit-restore-window)
4061 (split-window, balance-windows, balance-windows-area-adjust)
4062 (balance-windows-area, window-state-put-2)
4063 (display-buffer-even-window-sizes, display-buffer-set-height)
4064 (display-buffer-set-width, set-window-text-height)
4065 (fit-window-to-buffer): Rename all "resize-window" prefixed
4066 calls to use the "window-resize" prefix convention.
4067 (display-buffer-alist): Fix symbol for label specifier.
4068 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4069 corresponding specifier.
4070 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4071
b6458526
VB
40722011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4073
4074 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4075 convention.
4076 (ses-call-printer): Does not pass an empty string to formatter when the
4077 cell is empty to keep from barking printer Calc math-format-value.
4078
d31fd9ac
RS
40792011-06-27 Richard Stallman <rms@gnu.org>
4080
43d5bf84
RS
4081 * battery.el (battery-mode-line-limit): New variable.
4082 (battery-update): Handle it.
4083
d31fd9ac
RS
4084 * mail/rmailmm.el (rmail-mime-process-multipart):
4085 Handle truncated messages.
4086
819a6054
GM
40872011-06-27 Glenn Morris <rgm@gnu.org>
4088
4089 * progmodes/flymake.el (flymake-err-line-patterns):
4090 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4091
cedc73f2
VB
40922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4093
819a6054 4094 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4095 (ses--clean-!, ses--clean-_): New functions.
4096 (ses-range): Add configurability of readout order, and conversion
4097 to Calc vector.
4098
5e5d49b6
VB
4099 * ses.el (ses-repair-cell-reference-all): New function.
4100 (ses-cell-symbol): Set macro as safe, so that it can be used in
4101 formulas.
4102
56e6cc31 4103 * ses.el: Update cycle detection algorithm.
90ca8b49 4104 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4105 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4106 (ses-set-localvars): New function.
4107 (ses-make-cell): Add property-list as a cell element.
4108 (ses-cell-property-get-fun, ses-cell-property-get)
4109 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4110 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4111 New functions.
90ca8b49
VB
4112 (ses-cell-property-set, ses-cell-property-pop)
4113 (ses-cell-property-get-handle): New macro.
4114 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4115 New aliases, used for code readability.
4116 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4117 cycle detection.
4118 (ses-self-reference-early-detection): New defcustom.
4119 (ses-formula-references): Robustify against self-refering cells.
4120 (ses-mode): Use ses-set-localvars.
4121 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4122 before lauching the update processing.
4123 (ses-initialize-Dijkstra-attempt): New function.
4124 (ses-recalculate-cell): Update for cycle detection based on
4125 Dijkstra algorithm.
4126
2bb63e81
VB
4127 * ses.el: Fix commenting and indenting convention.
4128
c9d29fb8
SM
41292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * bs.el (bs-cycle-next): Complete last change.
4132
d8e4b68b
JB
41332011-06-27 Drew Adams <drew.adams@oracle.com>
4134
4135 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4136
40098786
LMI
41372011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4138
c9d29fb8
SM
4139 * net/network-stream.el (network-stream-open-starttls):
4140 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4141 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4142
40098786
LMI
4143 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4144 to binary to possibly avoid line encoding issues on Windows (among
4145 other things).
4146
468d09d4
LMI
41472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4148
4149 * net/network-stream.el (open-network-stream): Return an :error
4150 saying what the problem was, if possible.
4151
4152 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4153 server.
4154
4155 * net/network-stream.el (network-stream-open-starttls): If we
4156 wanted to use STARTTLS, and the server offered it, but we weren't
4157 able to because we had no STARTTLS support, then close the connection.
4158 (open-network-stream): Return an :error element, if present.
4159
16f07dd7
CY
41602011-06-26 Chong Yidong <cyd@stupidchicken.com>
4161
88821ca0
CY
4162 * hl-line.el (hl-line-sticky-flag): Doc fix.
4163 (global-hl-line-sticky-flag): New option (Bug#8323).
4164 (global-hl-line-highlight): Obey it.
4165
16f07dd7
CY
4166 * vc/vc.el (vc-revert-show-diff): Default to t.
4167
6b5ccddf
KM
41682011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4169
c9d29fb8
SM
4170 * allout-widgets.el (allout-widgets-post-command-business):
4171 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4172 undecorated when an isearch is continued past, and isearch
4173 automatically collapses them. This leads to "widget leaks", where
4174 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4175 hidden widgets can slow down cursor travel, substantially.
4176 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4177 so we're doing without this nicety.
4178
4179 (allout-widgets-tally-string): Don't try to do a hash-table-count
4180 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4181 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4182 *Messages* when allout-widgets-maintain-tally is t.
4183
355f2e07
MR
41842011-06-26 Martin Rudalics <rudalics@gmx.at>
4185
4186 * window.el (display-buffer-normalize-argument): Rename to
4187 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4188 LABEL argument. Respect special-display-function when popping up
4189 a new frame. Fix code searching for a window showing the buffer
4190 on another frame.
c9d29fb8
SM
4191 (display-buffer-normalize-specifiers):
4192 Call display-buffer-normalize-arguments.
355f2e07
MR
4193 (display-buffer-in-window): Don't undedicate the window if its
4194 buffer remains the same.
4195 Reported by Drew Adams <drew.adams@oracle.com>.
4196 (display-buffer-alist): Add choice for same-window macro
4197 specfier.
4198 (display-buffer): Mention special meaning of LABEL argument in
4199 doc-string. Fix quoting. Don't pop up a new frame even as
4200 fallback.
4201
7ca8fc42
JB
42022011-06-26 Juanma Barranquero <lekktu@gmail.com>
4203
4204 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4205 avoid deleting the current window in some cases (bug#8911).
4206
bc312254
AS
42072011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4208
4209 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4210 (Bug#8934)
4211
2db18f3f
LMI
42122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4213
c9d29fb8
SM
4214 * net/network-stream.el (network-stream-open-starttls):
4215 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4216 (network-stream-open-tls): Ditto.
4217
6302e0d3
LL
42182011-06-26 Leo Liu <sdl.web@gmail.com>
4219
4220 * register.el (registerv): New struct.
4221 (registerv-make): New function.
c9d29fb8
SM
4222 (jump-to-register, describe-register-1, insert-register):
4223 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4224 struct. (Bug#8415)
4225
5fdd4046
CY
42262011-06-26 Chong Yidong <cyd@stupidchicken.com>
4227
2afef60a
CY
4228 * vc/vc.el (vc-revert-show-diff): New defcustom.
4229 (vc-diff-internal): New arg specifying diff buffer.
4230 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4231 reuse an existing *vc-diff* buffer (Bug#8927).
4232
5fdd4046
CY
4233 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4234
e93db24a
GM
42352011-06-26 Glenn Morris <rgm@gnu.org>
4236
4237 * progmodes/f90.el (f90-critical-indent): New option.
4238 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4239 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4240 (f90-mode): Doc fix.
4241 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4242 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4243 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4244 (f90-match-end): Handle block, critical.
4245
eefff499
GM
42462011-06-25 Glenn Morris <rgm@gnu.org>
4247
f6ba4cc9
GM
4248 * calendar/diary-lib.el (diary-included-files): Doc fix.
4249 (diary-include-files): New function, extracted from
4250 diary-include-other-diary-files and diary-mark-included-diary-files.
4251 (diary-include-other-diary-files, diary-mark-included-diary-files):
4252 Just call diary-include-files.
4253 (diary-mark-entries): Reset diary-included-files on first call.
4254
16712304
GM
4255 * calendar/diary-lib.el (diary-mark-entries)
4256 (diary-mark-included-diary-files):
4257 Visit included diary-files in temp buffers.
4258
5d8e0d43
GM
4259 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4260 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4261 (f90-start-block-re, f90-imenu-generic-expression)
4262 (f90-looking-at-program-block-start, f90-no-block-limit):
4263 Add support for submodules.
4264
ccf7a5d5
GM
4265 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4266 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4267
11fdef7d 42682011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4269
4270 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4271 buffer-file-type before setting its value, to avoid disastrous
eefff499 4272 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4273
74f53697
JB
42742011-06-25 Juanma Barranquero <lekktu@gmail.com>
4275
4276 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4277
4278 * ses.el (ses-unload-function):
4279 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4280
4281 * proced.el (proced-unload-function):
4282 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4283
18a4ce5e
AR
42842011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4285
4286 * server.el (server-create-window-system-frame): Add parameters arg.
4287 (server-process-filter): Doc fix. Handle frame-parameters.
4288
519d22cc
JB
42892011-06-25 Juanma Barranquero <lekktu@gmail.com>
4290
4291 Fix bug#8730, bug#8781.
4292
4293 * loadhist.el (unload--set-major-mode): New function.
4294 (unload-feature): Use it.
4295
4296 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4297 (python-unload-function): New function.
4298
c206f5b0
SM
42992011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4302
f9ad64f3
GS
43032011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4304
4305 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4306 the candidates list.
4307
7d0da90e
JB
43082011-06-24 Juanma Barranquero <lekktu@gmail.com>
4309
4310 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4311
14b4e83d
RS
43122011-06-23 Richard Stallman <rms@gnu.org>
4313
4314 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4315 (rmail-variables): Set next-error-move-function.
4316 (rmail-what-message): Take argument POS.
4317 (rmail-next-error-move): New function.
4318
273d2baf
SM
43192011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4322 messages for adjacent non-terminals.
4323
56c2cc9a
RS
43242011-06-23 Richard Stallman <rms@gnu.org>
4325
4326 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4327 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4328 (rmail-start-mail): Don't specify use of rmail-mail-return;
4329 that's done by mail-bury now.
4330 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4331
d59eb518
MA
43322011-06-23 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4335 SIZE is a number.
4336
02cfc6d6
MR
43372011-06-23 Martin Rudalics <rudalics@gmx.at>
4338
4339 * window.el (get-lru-window, get-mru-window)
4340 (get-largest-window): Never return a minibuffer window.
4341 (display-buffer-pop-up-window): Fix a bug that could lead to
4342 reusing the minibuffer window.
4343 (display-buffer): Pass original specifier argument to
4344 display-buffer-function instead of the normalized one.
4345 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4346
4e323265
LL
43472011-06-22 Leo Liu <sdl.web@gmail.com>
4348
4349 * minibuffer.el (completing-read-function)
4350 (completing-read-default): Move from minibuf.c
4351
7a70468f
RS
43522011-06-22 Richard Stallman <rms@gnu.org>
4353
50718fc2
RS
4354 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4355 to Rmail even if not started by a special Rmail command.
4356
7a70468f
RS
4357 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4358 Copy the buffer currently showing just one message.
4359
297dde5a
RW
43602011-06-22 Roland Winkler <winkler@gnu.org>
4361
4362 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4363 (bibtex-clean-entry): First delete the old key so that a
4364 customized algorithm for generating the new key does not get
4365 confused by the old key.
4366 (bibtex-url): Obey regexp of first step.
4367 (bibtex-search-entries): Do not use add-to-list with local
4368 list-var.
4369
97bb1093
LMI
43702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371
4372 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4373 stored a user name, then query for the password first, instead of
4374 waiting for SMTP to give an error message and the trying again.
4375
1c0f1a19
JD
43762011-06-22 Lawrence Mitchell <wence@gmx.li>
4377
4378 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4379 BUFFER in call-process.
4380
396f7c9d
LMI
43812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4382
4383 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4384 QUIT twice.
ddb7ffee
LMI
4385 (smtpmail-try-auth-methods): Require user name and password from
4386 auth-source.
396f7c9d 4387
8998d1b3
MR
43882011-06-22 Martin Rudalics <rudalics@gmx.at>
4389
4390 * window.el (display-buffer-default-specifiers)
4391 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4392 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4393 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4394
4395 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4396 (special-display-frame-alist, special-display-popup-frame):
4397 Remove duplicate declarations. These are now in window.el.
4398
4ea31e07
LMI
43992011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4400
c9d29fb8
SM
4401 * mail/smtpmail.el (smtpmail-via-smtp):
4402 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4403 server supports it. SMTP servers that support STARTTLS commonly
4404 require it.
4405
4406 * net/network-stream.el (network-stream-open-starttls): Support
4407 upgrading to STARTTLS always, even if we don't have built-in support.
4408 (open-network-stream): Add the :always-query-capabilies keyword.
4409
95f41d9a
LMI
4410 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4411 upgrades with `open-network-stream', and rely solely on
4412 auth-source for all credentials. Big changes throughout the file,
4413 but in particular:
c9d29fb8
SM
4414 (smtpmail-auth-credentials): Remove.
4415 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4416 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4417 MAIL FROM, too.
95f41d9a 4418
c9d29fb8
SM
4419 * net/network-stream.el (network-stream-open-starttls):
4420 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4421 STARTTLS.
4422 (auth-source): Require.
4423 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4424 (network-stream-certificate): Change cert-cert to cert and
4425 cert-key to key.
4ea31e07 4426
065ec2c7
MA
44272011-06-21 Michael Albinus <michael.albinus@gmx.de>
4428
4429 * net/tramp-cache.el (top): Don't load the persistency file when
4430 "emacs -Q" has been called.
4431
cd93b359
DR
44322011-06-21 Tim Harper <timcharper@gmail.com>
4433
d8e4b68b
JB
4434 * term/ns-win.el (ns-initialize-window-system):
4435 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4436 resource to NO as it is not yet supported by the NS port.
4437
ae9c0411
JB
44382011-06-21 Juanma Barranquero <lekktu@gmail.com>
4439
4440 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4441 (list-dynamic-libraries): ...not here.
4442
7f3f739f
LL
44432011-06-21 Leo Liu <sdl.web@gmail.com>
4444
4445 * subr.el (sha1): Implement sha1 using secure-hash.
4446
327c8fb1
MR
44472011-06-21 Martin Rudalics <rudalics@gmx.at>
4448
4449 * window.el (display-buffer-alist): In default value do not
4450 enforce searching a window on any but the selected frame.
4451 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4452 (display-buffer-select-window): Remove function.
4453 (display-buffer-in-window): When a window on another frame gets
4454 reused, do not select it any more but just raise its frame if
4455 necessary (Bug#8851) and (Bug#8856).
4456 (display-buffer-normalize-options): Handle pop-up-frames related
4457 options more faithfully.
4458 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4459 window if it is on another frame.
c9d29fb8
SM
4460 (display-buffer-alist, display-buffer-default-specifiers):
4461 Don't make new frame unsplittable by default.
9e9de014
MR
4462 (display-buffer-normalize-argument): Fix doc-string typo and use
4463 'same-frame-other-window instead of 'other-window when associating
4464 with display-buffer-macro-specifiers.
327c8fb1 4465
7cf3f556
VB
44662011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4467
4468 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4469 New functions.
4470 (5x5-mode-map, 5x5-mode-menu): Bind them.
4471 (5x5-draw-grid): Tweak the solver's rendering.
4472
60a406cf
SM
44732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4476 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4477
d8e4b68b 44782011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4479
4480 * menu-bar.el: Use function variable instead of switch-to-buffer.
4481 (menu-bar-select-buffer-function): New variable.
60a406cf 4482 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4483
478d6f95
SM
44842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4487 variable's status.
4488
ca530739
JD
44892011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4490
4491 * x-dnd.el (x-dnd-version-from-flags)
4492 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4493 and long as number (Bug#8899).
4494 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4495
bcd70d97
SM
44962011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4497
60a406cf 4498 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4499 (completion-try-completion, completion-all-completions): Compute the
4500 metadata argument if it's missing; make it optional (bug#8795).
4501
60a406cf 4502 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4503 (widget-complete): Use new :completion-function property.
4504 (widget-completions-at-point): New function.
4505 (default): Use :completion-function instead of :complete.
60a406cf
SM
4506 (widget-default-completions): Rename from widget-default-complete;
4507 Rewrite.
bcd70d97
SM
4508 (widget-string-complete, widget-file-complete, widget-color-complete):
4509 Remove functions.
4510 (file, symbol, function, variable, coding-system, color):
4511 * international/mule-cmds.el (default-input-method, charset)
4512 (language-info-custom-alist):
4513 * cus-edit.el (face): Use new property :completions.
4514
4515 * progmodes/pascal.el (pascal-completions-at-point): New function.
4516 (pascal-mode): Use it.
4517 (pascal-mode-map): Use completion-at-point.
4518 (pascal-toggle-completions): Make obsolete.
4519 (pascal-complete-word, pascal-show-completions):
4520 * progmodes/octave-mod.el (octave-complete-symbol):
4521 Redefine as obsolete alias.
4522 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4523 Signal absence of completion info for old Octave,
4524 (inferior-octave-complete): Redefine as obsolete alias.
4525 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4526 (meta-completions-at-point): Rename from meta-complete-symbol and
4527 adapt it for use on completion-at-point-functions.
4528 (meta-common-mode): Use it.
4529 (meta-looking-at-backward, meta-match-buffer): Remove.
4530 (meta-complete-symbol): Redefine as obsolete alias.
4531 (meta-common-mode-map): Use completion-at-point.
4532 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4533 (makefile-mode-map): Use completion-at-point.
4534 (makefile-completions-at-point): Rename from makefile-complete and
4535 adapt it for use on completion-at-point-functions.
4536 (makefile-mode): Use it.
4537 (makefile-complete): Redefine as obsolete alias.
4538
aebf69c8
DD
45392011-06-20 Deniz Dogan <deniz@dogan.se>
4540
4541 * net/rcirc.el: Delete trailing whitespaces once and for all.
4542
bfbbb27d
DC
45432011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4544
4545 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4546
d264a46b
CY
45472011-06-19 Chong Yidong <cyd@stupidchicken.com>
4548
4ca009e5
CY
4549 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4550
d264a46b
CY
4551 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4552
fbf5b3ce
MR
45532011-06-19 Martin Rudalics <rudalics@gmx.at>
4554
4555 * window.el (display-buffer-other-window-means-other-frame):
4556 Call display-buffer-normalize-alist.
4557 (display-buffer-normalize-specifiers-1): Rename to
4558 display-buffer-normalize-argument. New argument other-frame.
4559 Rewrite.
4560 (display-buffer-normalize-specifiers-2): Rename to
4561 display-buffer-normalize-options.
4562 (display-buffer-normalize-alist-1): New function.
4563 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4564 display-buffer-normalize-alist.
4565 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4566 (display-buffer-normalize-options-inhibit): New variable.
4567 (display-buffer-normalize-specifiers): Rewrite calling
4568 display-buffer-normalize-alist,
4569 display-buffer-normalize-argument, and
4570 display-buffer-normalize-options. Don't call the latter if
4571 display-buffer-normalize-options-inhibit is non-nil.
4572 (frame-auto-delete): New option.
4573 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4574 (window-list-no-nils, window-state-ignored-parameters)
4575 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4576 (window-state-put-1, window-state-put-2, window-state-put):
4577 New functions.
9a028c23
MR
4578 (display-buffer-normalize-options): Move special-display-p group
4579 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4580
6d10d800
CY
45812011-06-18 Chong Yidong <cyd@stupidchicken.com>
4582
6420d28b
CY
4583 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4584 groups (Bug#8776).
4585 (rx-submatch-n): New function.
4586 (rx): Document it.
4587
ddb8b596
CY
4588 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4589 (Bug#8768).
4590
4591 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4592
77080289
CY
4593 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4594
61dfb316
CY
4595 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4596 anytime existing face settings are present (Bug#8889).
4597
6d10d800
CY
4598 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4599 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4600 Remove unused argument.
4601
be3fb2b8
MR
46022011-06-18 Martin Rudalics <rudalics@gmx.at>
4603
bcd70d97
SM
4604 * window.el (display-buffer-default-specifiers):
4605 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4606 pop-up-window-min-width, and another reuse-window specifier
4607 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4608 (display-buffer-normalize-specifiers-2):
4609 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4610 pop-up-windows is unset. Add a reuse-window specifier for the
4611 case popping up a new window fails.
4612 (special-display-popup-frame): Remove double quoting.
28dec25a 4613 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4614
1c6d8c76
SM
46152011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4618 according to comint-completion-addsuffix.
4619
4620 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4621 (pcomplete-suffix-list): Mark as obsolete.
4622 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4623 pcomplete-seen in the closure.
4624 (pcomplete-comint-setup): Setup completion-at-point as well.
4625 (pcomplete--entries): New function.
4626 (pcomplete--env-regexp): New var.
4627 (pcomplete-entries): Rewrite to work with partial-completion and
4628 without relying on pcomplete-suffix-list.
4629 (pcomplete-pare-list): Remove, unused.
4630
25aef8b8
MR
46312011-06-17 Martin Rudalics <rudalics@gmx.at>
4632
4633 * window.el (display-buffer-alist): Set pop-up-window-min-height
4634 and pop-up-window-min-width in default value. Reported by
4635 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4636 other-window-means-other-frame.
4637 (display-buffer-macro-specifiers): Comment out entry for
4638 other-window specifier.
4639 (display-buffer-other-window-means-other-frame): New function.
4640 (display-buffer-normalize-specifiers-1): New arguments
4641 buffer-name and label. Treat other-window case specially.
4642 (display-buffer-normalize-specifiers-2): Treat other-window case
4643 specially.
4644 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4645 (display-buffer-normalize-specifiers):
4646 Call display-buffer-normalize-specifiers-3.
25aef8b8 4647
dbad4f69
MR
46482011-06-17 Martin Rudalics <rudalics@gmx.at>
4649
4650 * window.el (same-window-p): Fix two typos introduced when
4651 adding with-no-warnings.
d1067961
MR
4652 (display-buffer-normalize-specifiers-1): Don't check
4653 pop-up-frames for 'unset initialization.
4654 (display-buffer-normalize-specifiers-2): Major rewrite using
4655 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4656 (pop-up-frames, display-buffer-reuse-frames)
4657 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4658 Suggested by David Engster <deng@randomsample.de>.
4659 (even-window-heights): Initialize to 'unset.
4660 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4661 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4662 other window case.
dbad4f69 4663
9b9c9e3a
MR
46642011-06-16 Martin Rudalics <rudalics@gmx.at>
4665
bcd70d97
SM
4666 * window.el (display-buffer-normalize-specifiers-1):
4667 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4668 second argument of display-buffer (Bug#8865).
981d5c09
MR
4669 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4670 (switch-to-buffer-other-window-same-frame)
4671 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4672 Adams (Bug#8875).
9c2755e9
MR
4673 (display-buffer): Don't check noninteractive when calling
4674 display-buffer-pop-up-frame.
4675 (display-buffer-pop-up-frame): Never pop up a frame in
4676 noninteractive mode (Bug#8857).
67222e1d
MR
4677 (enlarge-window, shrink-window): Don't report an error when the
4678 window can't be resized as requested (Bug#8862).
9b9c9e3a 4679
2b75be67
SM
46802011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4681
9ffdd3ba
SM
4682 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4683
cb581a67
SM
4684 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4685
2b75be67
SM
4686 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4687
8c0e3589
AM
46882011-06-15 Alan Mackenzie <acm@muc.de>
4689
cb581a67
SM
4690 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4691 for declarators, disable knr checking to speed up for normal files.
4692 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4693
b96e6cde
LMI
46942011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4695
4bba86e6
LMI
4696 * net/network-stream.el (open-network-stream): Add the keyword
4697 :always-query-capabilities for the case where you want to force a
4698 `plain' network connection, but the protocol still requires the
4699 capabilitiy command (i.e., SMTP and EHLO).
4700
2b75be67 4701 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4702 consistency with other `-live-p' functions.
4703
efdcdbf8
SM
47042011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * window.el (same-window-buffer-names, same-window-regexps)
4707 (special-display-frame-alist, special-display-popup-frame)
4708 (special-display-function, special-display-buffer-names)
4709 (special-display-regexps, pop-up-frame-alist)
4710 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4711 (pop-up-windows, split-window-preferred-function)
4712 (split-height-threshold, split-width-threshold, even-window-heights)
4713 (display-buffer-mark-dedicated): Don't encourage the use of
4714 display-buffer-alist from Elisp code.
4715
c5cde042
DN
47162011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4717
4718 * progmodes/python.el (python-mode): Derive from prog-mode.
4719 * progmodes/ps-mode.el (ps-mode):
4720 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4721 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4722 * progmodes/ld-script.el (ld-script-mode): Likewise.
4723
baa1c9ab
MR
47242011-06-15 Martin Rudalics <rudalics@gmx.at>
4725
4726 * window.el (display-buffer-alist): Trim default value to avoid
4727 popping up a new frame (Bug#8857) or reusing an arbitrary window
4728 on another frame.
4729 (display-buffer): Do not fall back on popping up a new frame in
4730 batch mode (Bug#8857).
4731
c5dd5a51
CY
47322011-06-14 Chong Yidong <cyd@stupidchicken.com>
4733
4734 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4735 (custom-theme-summary): New function.
4736 (customize-themes): Use it.
4737
d647b7c4
GM
47382011-06-13 Glenn Morris <rgm@gnu.org>
4739
4740 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4741
9481c002
MR
47422011-06-13 Martin Rudalics <rudalics@gmx.at>
4743
357f93d2
MR
4744 * help.el (help-window): Remove variable.
4745 (help-window-point-marker, temp-buffer-max-height)
4746 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4747 (help-print-return-message): Don't set help-window.
4748 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4749 (help-window-setup-finish): Remove.
4750 (help-window-display-message, help-window-setup)
4751 (with-help-window): Major rewrite based on new
4752 display-buffer-window variable.
4753
4754 * help-mode.el (help-mode-finish): Remove help-window related
4755 code.
4756
4757 * view.el (view-exits-all-viewing-windows): Remove reference to
4758 view-return-to-alist in doc-string.
4759 (view-return-to-alist): Make obsolete.
4760 (view-buffer): Call pop-to-buffer-same-window and remove
4761 undo-window code.
4762 (view-buffer-other-window): Call pop-to-buffer-other-window and
4763 simplify code. Ignore second argument.
4764 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4765 simplify code. Ignore second argument.
4766 (view-return-to-alist-update): Make obsolete.
4767 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4768 Rewrite using quit-restore window parameters.
2b75be67
SM
4769 (view-mode-exit): Rename second argument to EXIT-ONLY.
4770 Rewrite using quit-restore-window.
357f93d2
MR
4771 (View-exit, View-exit-and-edit, View-leave, View-quit)
4772 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4773 appropriate arguments.
4774 (view-end-message): Use quit-restore window parameter.
4775
9481c002
MR
4776 * window.el (display-buffer-function): Rewrite doc-string.
4777 (display-buffer-window, display-buffer-alist): New variables.
4778 (display-buffer-split-specifiers)
4779 (display-buffer-side-specifiers)
4780 (display-buffer-macro-specifiers): New constants.
4781 (display-buffer-even-window-sizes, display-buffer-set-height)
4782 (display-buffer-set-width, display-buffer-select-window)
4783 (display-buffer-in-window, display-buffer-reuse-window)
4784 (display-buffer-split-window-1, display-buffer-split-window)
4785 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4786 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4787 (display-buffer-in-side-window, normalize-buffer-to-display)
4788 (display-buffer-normalize-specifiers-1)
4789 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4790 (display-buffer-normalize-specifiers, display-buffer-frame):
4791 New functions.
9481c002
MR
4792 (display-buffer): Major rewrite.
4793 (display-buffer-other-window, display-buffer-other-frame)
4794 (pop-to-buffer, switch-to-buffer-other-window)
4795 (switch-to-buffer-other-frame): Rewrite.
4796 (display-buffer-same-window, display-buffer-same-frame)
4797 (display-buffer-same-frame-other-window)
4798 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4799 (pop-to-buffer-other-window)
4800 (pop-to-buffer-same-frame-other-window)
4801 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4802 (switch-to-buffer-other-window-same-frame): New functions.
4803 (same-window-p, special-display-p): Rewrite disabling warnings.
4804 Make obsolete.
4805 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4806 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4807 Make obsolete
4808 (same-window-buffer-names, same-window-regexps)
4809 (special-display-frame-alist, special-display-popup-frame)
4810 (special-display-function, special-display-buffer-names)
4811 (special-display-regexps, pop-up-frame-alist)
4812 (pop-up-frame-function, split-window-preferred-function)
4813 (split-height-threshold, split-width-threshold)
4814 (even-window-heights): Make obsolete.
4815
9db51aca
GM
48162011-06-12 Glenn Morris <rgm@gnu.org>
4817
4818 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4819 Misc simplifications.
9db51aca 4820
39cffb44
MR
48212011-06-12 Martin Rudalics <rudalics@gmx.at>
4822
4823 * window.el (window-safely-shrinkable-p): Restore function which
4824 was inadvertently removed in change from 2011-06-11. Declare as
4825 obsolete.
4826
2b75be67
SM
4827 * calendar/calendar.el (calendar-generate-window):
4828 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4829 window-safely-shrinkable-p.
4830
a8955be7
GM
48312011-06-12 Glenn Morris <rgm@gnu.org>
4832
4833 * progmodes/fortran.el (fortran-mode-syntax-table):
4834 * progmodes/f90.el (f90-mode-syntax-table):
4835 Set % to punctuation. (Bug#8820)
4836 (f90-find-tag-default): Remove, no longer needed.
4837
f0d4059d
DC
48382011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4839
4840 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4841
1100a63c
CY
48422011-06-11 Chong Yidong <cyd@stupidchicken.com>
4843
4844 * image.el (image-animated-p): Return animation delay in seconds.
4845 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4846 (image-animate-timeout): Remove DELAY argument. Don't assume
4847 every subimage has the same delay; get it from image-animated-p.
4848 (image-animate): Caller changed.
4849
def722bf
MA
48502011-06-11 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4853 to ignored backtrace functions.
4854
0a2bb1a9
GM
48552011-06-11 Glenn Morris <rgm@gnu.org>
4856
4857 * calendar/appt.el (appt-disp-window-function): Doc fix.
4858 (appt-check): Handle overlapping appointments. (Bug#8337)
4859
6198ccd0
MR
48602011-06-11 Martin Rudalics <rudalics@gmx.at>
4861
4862 * window.el (window-tree-1, window-tree): New functions, moving
4863 the latter to window.el.
4864 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4865 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4866 (bw-refresh-edges): Remove.
4867 (balance-windows-1, balance-windows-2): New functions.
4868 (balance-windows): Rewrite in terms of window tree functions,
4869 balance-windows-1 and balance-windows-2.
4870 (bw-adjust-window): Remove.
4871 (balance-windows-area-adjust): New function with functionality of
4872 bw-adjust-window but using resize-window.
2b75be67
SM
4873 (set-window-text-height): Rewrite doc-string.
4874 Use normalize-live-window and resize-window.
4875 (enlarge-window-horizontally, shrink-window-horizontally):
4876 Rename argument to DELTA.
6198ccd0
MR
4877 (window-buffer-height): New function.
4878 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4879 Rewrite using new window resize routines.
2b75be67
SM
4880 (kill-buffer-and-window, mouse-autoselect-window-select):
4881 Use ignore-errors instead of condition-case.
6198ccd0
MR
4882 (quit-window): Call delete-frame instead of delete-windows-on
4883 for the only buffer on frame.
4884
9397e56f
MR
48852011-06-10 Martin Rudalics <rudalics@gmx.at>
4886
4887 * loadup.el (top-level): Load window before files for the sake
4888 of replace-buffer-in-windows.
4889
4890 * files.el (read-buffer-to-switch)
4891 (switch-to-buffer-other-window)
2b75be67
SM
4892 (switch-to-buffer-other-frame, display-buffer-other-frame):
4893 Move to window.el.
9397e56f
MR
4894
4895 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4896 (previous-buffer): Move to window.el.
4897
4898 * bindings.el (unbury-buffer): Move to window.el.
4899
4900 * window.el (delete-other-windows-vertically): Move after
4901 definition of delete-other-windows.
4902 (other-window, delete-windows-on, replace-buffer-in-windows):
4903 Move here from window.c.
4904 (record-window-buffer, unrecord-window-buffer)
4905 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4906 (switch-to-next-buffer): New functions.
4907 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4908 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4909 (previous-buffer): Move here from simple.el.
4910 Call switch-to-prev-buffer.
9397e56f
MR
4911 (bury-buffer): Move here from buffer.c. Switch to previous
4912 buffer when window cannot be deleted.
4913 (unbury-buffer): Move here from bindings.el.
4914 (ctl-x-map): Move binding for other-window from window.c to
4915 here.
4916 (read-buffer-to-switch, switch-to-buffer-other-window)
4917 (switch-to-buffer-other-frame): Move here from files.el.
4918 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4919 (switch-to-buffer): Move here from buffer.c.
4920 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4921
562dd5e9
MR
49222011-06-10 Martin Rudalics <rudalics@gmx.at>
4923
4924 * window.el (window-min-height, window-min-width): Move here
4925 from window.c. Add defcustoms and rewrite doc-strings.
4926 (resize-mini-window, resize-window): New functions.
4927 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4928 Move here from window.c.
4929 (maximize-window, minimize-window): New functions.
4930 (delete-window, delete-other-windows, split-window): Move here
4931 from window.c.
4932 (window-split-min-size): New function.
4933 (split-window-keep-point): Mention split-window-above-each-other
4934 instead of split-window-vertically.
2b75be67
SM
4935 (split-window-above-each-other, split-window-vertically):
4936 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4937 provide defalias for old definition.
4938 (split-window-side-by-side, split-window-horizontally): Rename
4939 split-window-horizontally to split-window-side-by-side and provide
4940 defalias for the old definition.
4941 (ctl-x-map): Move bindings for delete-window,
4942 delete-other-windows and enlarge-window here from window.c.
4943 Replace bindings for split-window-vertically and
4944 split-window-horizontally by bindings for
4945 split-window-above-each-other and split-window-side-by-side.
4946
4947 * cus-start.el (all): Remove entries for window-min-height and
4948 window-min-width. Add entries for window-splits and
4949 window-nest.
4950
f0da764a
GM
49512011-06-09 Glenn Morris <rgm@gnu.org>
4952
80675c21
GM
4953 * calendar/appt.el (appt-mode-line): New function.
4954 (appt-check, appt-disp-window): Use it.
4955
f0da764a
GM
4956 * files.el (hack-one-local-variable-eval-safep):
4957 Allow minor-modes with explicit +/-1 arguments.
4958
59f623b7
TZ
49592011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4960
4961 * term/xterm.el (xterm): Add defgroup.
4962 (xterm-extra-capabilities): Add defcustom to supply known xterm
4963 capabilities, skip querying them, or query them (default).
4964 (terminal-init-xterm): Use it.
4965 (terminal-init-xterm-modify-other-keys): New function to set up
4966 modifyOtherKeys support to simplify `terminal-init-xterm'.
4967
9aab8e0d
MR
49682011-06-09 Martin Rudalics <rudalics@gmx.at>
4969
4970 * window.el (resize-window-reset, resize-window-reset-1)
4971 (resize-subwindows-skip-p, resize-subwindows-normal)
4972 (resize-subwindows, resize-other-windows, resize-this-window)
4973 (resize-root-window, resize-root-window-vertically)
4974 (window-deletable-p, window-or-subwindow-p)
4975 (frame-root-window-p): New functions.
4976
e8b08aee
GM
49772011-06-09 Glenn Morris <rgm@gnu.org>
4978
4979 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4980 (ange-ftp-get-files): Use it.
4981
254c37a5
AK
49822011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4983
4984 * mail/sendmail.el (mail-recover-1, mail-recover):
4985 * files.el (recover-file, recover-session):
4986 Handle dired-listing-switches not being just a single short option.
4987
35d7dbd3
GM
49882011-06-09 Glenn Morris <rgm@gnu.org>
4989
4990 * calendar/appt.el (appt-display-message, appt-disp-window):
4991 Handle lists of appointments.
4992
387522b2
MR
49932011-06-08 Martin Rudalics <rudalics@gmx.at>
4994
2b75be67
SM
4995 * window.el (one-window-p): Move down in code.
4996 Rewrite doc-string.
4997 (window-current-scroll-bars): Rewrite doc-string.
4998 Normalize live window argument.
387522b2
MR
4999 (walk-windows, get-window-with-predicate, count-windows):
5000 Rewrite doc-string. Use window-list-1.
5001 (window-in-direction-2, window-in-direction, get-mru-window):
5002 New functions.
5003
d8e4b68b 50042011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5005
5006 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5007 Doc fix (Bug#8713).
5008
50092011-06-08 Chong Yidong <cyd@stupidchicken.com>
5010
5011 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5012
50132011-06-08 Juanma Barranquero <lekktu@gmail.com>
5014
5015 * loadhist.el (unload-feature-special-hooks):
5016 Add `comint-output-filter-functions'.
5017
0de12c52
IK
50182011-06-08 Ivan Kanis <gnu@kanis.fr>
5019
5020 * calendar/appt.el (appt-check): Move some initializations into the let.
5021
f3d1777e
MR
50222011-06-08 Martin Rudalics <rudalics@gmx.at>
5023
5024 * window.el (window-height): Defalias to window-total-height.
5025 (window-width): Defalias to window-body-width.
5026
18af70d0
CY
50272011-06-07 Chong Yidong <cyd@stupidchicken.com>
5028
5029 * image-mode.el (image-toggle-animation): New command.
5030 (image-mode-map): Bind it to RET.
5031 (image-mode): Update message.
5032 (image-toggle-display-image): Avoid a spurious cache flush.
5033 (image-transform-rotation): Doc fix.
5034 (image-transform-properties): Return quickly in the normal case.
5035 (image-animate-loop): Rename from image-animate-max-time.
5036
2b75be67 5037 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5038 (create-animated-image): Remove unnecessary function.
5039 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5040 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5041 (image-animate-timer): Use car-safe.
5042 (image-animate-timeout): Rename argument.
5043
190b47e6
MR
50442011-06-07 Martin Rudalics <rudalics@gmx.at>
5045
5046 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5047 window.c. Rename first argument to ALL-FRAMES.
5048 Rephrase doc-strings.
5049 (get-buffer-window-list): Rewrite using window-list-1.
5050 Rephrase doc-string.
a1511caf
MR
5051 (window-safe-min-height, window-safe-min-width): New constants.
5052 (window-size-ignore, window-min-size, window-min-size-1)
5053 (window-sizable, window-sizable-p, window-size-fixed-1)
5054 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5055 (window-max-delta-1, window-max-delta, window-resizable)
5056 (window-resizable-p, window-total-height, window-total-width)
5057 (window-body-width): New functions.
5058 (window-full-height-p, window-full-width-p): Rewrite using
5059 window-total-size.
5060 (window-body-height): Rewrite using window-body-size.
190b47e6 5061
85cc1f11
MR
50622011-06-06 Martin Rudalics <rudalics@gmx.at>
5063
5064 * window.el (window-right, window-left, window-child)
5065 (window-child-count, window-last-child, window-any-p)
5066 (normalize-live-buffer, normalize-live-frame)
5067 (normalize-any-window, normalize-live-window)
5068 (window-iso-combination-p, window-iso-combined-p)
5069 (window-iso-combinations)
5070 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5071 (windows-with-parameter, window-with-parameter)
5072 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5073 (window-atom-check, window-side-check, window-check):
5074 New functions.
85cc1f11
MR
5075 (ignore-window-parameters, window-sides, window-sides-vertical)
5076 (window-sides-slots): New variables.
5077 (window-size-fixed): Move down in code. Minor doc-string fix.
5078
e7156492
AS
50792011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 * comint.el (comint-dynamic-complete-as-filename)
5082 (comint-dynamic-complete-filename): Correctly call
5083 completion-in-region.
5084
7e821d0d
DD
50852011-06-05 Deniz Dogan <deniz@dogan.se>
5086
5087 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5088 in last change.
5089
ac09b8a1
DD
50902011-06-05 Deniz Dogan <deniz@dogan.se>
5091
5092 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5093 (rcirc): Use it to prompt for encryption.
5094
34699b85
RW
50952011-06-05 Roland Winkler <winkler@gnu.org>
5096
5097 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5098 (bibtex-search-entries): New command bound to C-c C-a.
5099 (bibtex-display-entries): New function.
5100
004dedd3
RW
51012011-06-05 Roland Winkler <winkler@gnu.org>
5102
5103 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5104 (bibtex-insert-kill): After yanking insert newline if necessary.
5105 (bibtex-initialize): Call bibtex-string-files-init only once.
5106 (bibtex-mode): Do not call easy-menu-add.
5107 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5108 (bibtex-yank): Set arg properly if nil.
5109
022fe7ce
RW
51102011-06-05 Roland Winkler <winkler@gnu.org>
5111
2b75be67
SM
5112 * textmodes/bibtex.el (bibtex-search-entry-globally):
5113 New variable.
022fe7ce
RW
5114 (bibtex-search-entry): Use it.
5115
b7c3692a
RW
51162011-06-05 Roland Winkler <winkler@gnu.org>
5117
5118 * textmodes/bibtex.el (bibtex-entry-format): New option
5119 sort-fields.
5120 (bibtex-format-entry, bibtex-reformat): Honor this option.
5121 (bibtex-parse-entry): Return fields in proper order.
5122
8eda563d
JB
51232011-06-05 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * doc-view.el (doc-view-remove-if): Move computation of result out
5126 of `dolist' to silence misleading lexical-binding warning.
5127
7dbe3dbc
CY
51282011-06-04 Chong Yidong <cyd@stupidchicken.com>
5129
5130 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5131 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5132
0c33dd17
MA
51332011-06-04 Michael Albinus <michael.albinus@gmx.de>
5134
5135 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5136 "SunOS 5.10".
5137
f8f91c2b
MA
51382011-06-04 Michael Albinus <michael.albinus@gmx.de>
5139
5140 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5141 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5142 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5143 (tramp-parse-putty):
5144 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5145 (tramp-completion-function-alist-ssh)
5146 (tramp-completion-function-alist-telnet)
5147 (tramp-completion-function-alist-su)
5148 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5149 cookie.
5150
5151 * net/tramp-ftp.el:
5152 * net/tramp-sh.el:
5153 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5154 load "tramp.el" `tramp-set-completion-function'.
5155
e17d9003
SM
51562011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * shell.el: Require and use pcomplete.
5159 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5160 (shell-completion-vars): Set pcomplete-default-completion-function.
5161
6c4cab03
DD
51622011-06-04 Deniz Dogan <deniz@dogan.se>
5163
5164 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5165 `memq' (Bug#8799).
5166
ea9fafe0
SM
51672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5168
5169 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5170
b3e945d3
JB
51712011-06-02 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5174 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5175 * vc/log-view.el (log-view-beginning-of-defun):
5176 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5177 (smerge-refine-forward, smerge-refine-chopup-region):
5178 Silence warning for unused `dotimes' counter variables.
5179
7d520089
SM
51802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * net/tramp.el (tramp-with-progress-reporter): Rename from
5183 with-progress-reporter. Use `declare'.
5184 * net/tramp-smb.el:
5185 * net/tramp-sh.el:
5186 * net/tramp-gvfs.el: Update all uses.
5187
a1c2400f
JB
51882011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5189
5190 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5191 buffer isn't killed before making it current.
5192
2403c841
SM
51932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 Silence various byte-compiler warnings.
5196 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5197 `access-type' and new obsolescence format.
5198 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5199 new format.
5200 (byte-compile-check-variable): New `access-type' argument.
5201 Only warn if the access-type is obsolete.
5202 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5203 (byte-compile-variable-set): Adjust callers.
5204 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5205 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5206 setting it as obsolete.
5207 * simple.el (minibuffer-completing-symbol):
5208 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5209 access as obsolete.
5210 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5211 obsolete yet.
5212 * international/quail.el (quail-mouse-choose-completion): Remove unused
5213 code referring to obsolete var.
5214 (quail-choose-completion-string): Remove.
5215 * server.el (server-clients-with, server-kill-buffer-query-function)
5216 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5217 * proced.el (proced-send-signal):
5218 * emacs-lisp/lisp.el (lisp-complete-symbol):
5219 Replace completion-annotate-function with completion-extra-properties.
5220
2462470b
SM
52212011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5222
fb5b2591
SM
5223 * simple.el (goto-line): Use read-number.
5224 (overriding-map-is-bound): Remove.
5225 (saved-overriding-map): Change default.
5226 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5227 Take the map as argument.
5228 (universal-argument, negative-argument, digit-argument): Use it.
5229 (restore-overriding-map): Adjust.
5230 (do-auto-fill): Use fill-forward-paragraph.
5231 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5232
fd6fa53f
SM
5233 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5234 (minibuffer-inactive-mode): New major mode.
5235 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5236 the *Messages* buffer" hack.
5237 (mouse-popup-menubar): Don't burp if the event is a normal key.
5238
2462470b
SM
5239 Miscellaneous tweaks.
5240 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5241 lexical scoping as in subr.el's dolist and dotimes.
5242 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5243 Silence compiler warning.
5244 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5245 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5246 * international/ccl.el (ccl-compile): Trivial simplification.
5247 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5248 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5249 `printflag' argument.
5250 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5251 Purecopy the whole obsolescence data.
5252
108bf785
LL
52532011-06-01 Leo Liu <sdl.web@gmail.com>
5254
5255 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5256 improve doc-string as suggested by Marco Pessotto
5257 <melmothx@gmail.com>.
5258 (rcirc-print): Fix last change.
5259
30a23501
SM
52602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * minibuffer.el (complete-with-action): Return nil for the metadata and
5263 boundaries of non-functional tables.
5264 (completion-table-dynamic): Return nil for the metadata.
5265 (completion-table-with-terminator): Add default case, using
5266 complete-with-action.
5267 (completion--metadata): New function.
5268 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5269 to try and avoid pathological performance problems.
5270 (completion--embedded-envvar-table): Return `category' metadata.
5271
bcd54f83
LMI
52722011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5273
5274 * subr.el (process-alive-p): New tiny convenience function.
5275
e227544d
SM
52762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5279 content but also its previous major mode.
5280
e8296fdc
HE
52812011-05-31 Helmut Eller <eller.helmut@gmail.com>
5282
4d61f28d 5283 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5284 *Backtrace* buffer when we exit with C-M-c.
5285
620c53a6
SM
52862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * minibuffer.el: Add metadata method to completion tables.
5289 (completion-category-overrides): New defcustom.
5290 (completion-metadata, completion--field-metadata)
5291 (completion-metadata-get, completion--styles)
5292 (completion--cycle-threshold): New functions.
5293 (completion-try-completion, completion-all-completions):
5294 Add `metadata' argument to choose completion-styles.
5295 (completion--do-completion): Use metadata to choose cycling.
5296 (completion-all-sorted-completions): Use metadata for sorting.
5297 Remove :completion-cycle-penalty which is not needed any more.
5298 (completion--try-word-completion): Add `metadata' argument.
5299 (minibuffer-completion-help): Check metadata for annotation function
5300 and sorting.
5301 (completion-file-name-table): Return `category' metadata.
5302 (minibuffer-completing-file-name): Make obsolete.
5303 * simple.el (minibuffer-completing-symbol): Make obsolete.
5304 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5305 completion-try-completion.
5306
1257e755
SM
53072011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5310
3767e706
LL
53112011-05-30 Leo Liu <sdl.web@gmail.com>
5312
5313 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5314 (rcirc-print): Decode all incoming messages (bug#8744).
5315 (rcirc-decode-coding-system): Allow value nil for automatic coding
5316 system detection.
3767e706 5317
d1a5d56a
GM
53182011-06-01 Glenn Morris <rgm@gnu.org>
5319
5320 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5321
e8cbec34
CY
53222011-05-29 Chong Yidong <cyd@stupidchicken.com>
5323
5324 * image.el (image-animate-max-time): Allow nil and t values.
5325 Default to nil.
5326 (create-animated-image): Doc fix.
5327 (image-animate-start): Remove second arg; just use
5328 image-animate-max-time.
5329 (image-animate-timeout): Doc fix. Args changed.
5330
5331 * image-mode.el (image-toggle-display-image): Ensure that the
5332 image spec passed to the animate timer is the same object as in
5333 the the buffer's display property (Bug#6981).
5334 (image-transform-properties): Doc fix.
5335
5336 * image.el (image-animate-max-time): Default to nil.
5337
159daf87
MR
53382011-05-29 Martin Rudalics <rudalics@gmx.at>
5339
5340 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5341 entire buffer list (Bug#8184).
5342
d66c4c7c
CY
53432011-05-29 Chong Yidong <cyd@stupidchicken.com>
5344
5345 * image.el (imagemagick-types-inhibit)
5346 (imagemagick-register-types): Doc fix.
5347
80aec780
DD
53482011-05-29 Deniz Dogan <deniz@dogan.se>
5349
5350 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5351 default.
5352
1dd3c2d9
CY
53532011-05-29 Chong Yidong <cyd@stupidchicken.com>
5354
5355 * select.el: Don't perform clipboard-manager saving in hooks;
5356 leave the hooks empty.
5357
60e56523
LL
53582011-05-28 Leo Liu <sdl.web@gmail.com>
5359
5360 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5361 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5362 (occur-edit-mode): New major mode (Bug#8463).
5363 (occur-after-change-function): New function.
5364 (occur-engine): Give Occur tags a read-only property.
5365
2b1e1a22
KR
53662011-05-28 Kevin Ryde <user42@zip.com.au>
5367
5368 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5369
5d344e88
CY
53702011-05-28 Chong Yidong <cyd@stupidchicken.com>
5371
8e6ca83d
CY
5372 * bindings.el (help-echo): Make the initial non-indicator dash
5373 empty on graphical terminals (Bug#7295).
5374
5d344e88
CY
5375 * files.el (auto-mode-alist): Move config rule after the
5376 in-stripping one (Bug#8547).
5377
bfbbace7
CY
5378 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5379
fbeba6e2
CY
5380 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5381 setting (Bug#8740).
5382
60ed8c72
AA
53832011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5384
4ac619f0
AA
5385 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5386 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5387 (Bug#8539).
60ed8c72 5388
23db196e
CY
53892011-05-28 Chong Yidong <cyd@stupidchicken.com>
5390
5391 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5392
5012f24c
DK
53932011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5394
5395 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5396 (hs-hide-block-at-point, hs-find-block-beginning)
5397 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5398 (Bug#8279).
5399
6a639b16
GM
54002011-05-28 Glenn Morris <rgm@gnu.org>
5401
5402 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5403
d43eaf2c
CY
54042011-05-28 Chong Yidong <cyd@stupidchicken.com>
5405
5199bde1
CY
5406 * help-fns.el (describe-function-1): If the function is a derived
5407 major mode, print the parent mode.
5408
d43eaf2c
CY
5409 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5410 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5411
423428a8
SM
54122011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5413
0ff8e1ba
SM
5414 * minibuffer.el (completion--capf-wrapper): Check applicability before
5415 retuning non-nil for non-exclusive completion data.
5416 * progmodes/etags.el (tags-completion-at-point-function):
5417 * info-look.el (info-lookup-completions-at-point): Mark as
5418 non-exclusive.
5419 (info-complete): Adjust accordingly.
5420
423428a8
SM
5421 * info-look.el: Convert to lexical-binding and completion-at-point.
5422 (info-lookup-completions-at-point): New function.
5423 (info-complete): Use it and completion-in-region.
5424
b74aa22b
DA
54252011-05-28 Drew Adams <drew.adams@oracle.com>
5426
5427 * isearch.el: Let M-e start with point at the first mismatched char.
5428 (isearch-fail-pos): New function.
5429 (isearch-edit-string): Use it.
5430
66e2e71d
DK
54312011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5432
5433 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5434
eb95d01d
TC
54352009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5436
5437 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5438 traversal functions for avl-trees.
5439 (avl-tree--stack): New struct.
5440 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5441 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5442 (avl-tree--do-enter): Add optional `updatefun' arg.
5443 Change return value.
eb95d01d 5444 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5445 (avl-tree--do-delete): Add `test' and `nilflag' args.
5446 Change return value.
eb95d01d
TC
5447 (avl-tree-member): Add optional `nilflag'
5448 (avl-tree-member-p): New function.
5449 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5450 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5451 (avl-tree-stack-empty-p): New functions.
5452
3769ddcf
TC
54532009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5454
5455 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5456 avl-tree--del-balance1 and make it work both ways.
5457 (avl-tree--del-balance2): Remove.
5458 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5459 make it work both ways.
5460 (avl-tree--enter-balance2): Remove.
5461 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5462 New macros.
5463 (avl-tree--mapc, avl-tree-map): Add direction argument.
5464
eb95d01d 54652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5466
5467 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5468
a9f737ee
CY
54692011-05-27 Chong Yidong <cyd@stupidchicken.com>
5470
5471 * select.el: Support clipboard managers with built-in function
5472 x-clipboard-manager-save, via delete-frame-functions and
5473 kill-emacs-hook.
5474 (xselect-convert-to-targets): Add MULTIPLE target to list.
5475 (xselect-convert-to-save-targets): New function.
5476
c92a1e54
KH
54772011-05-27 Kenichi Handa <handa@m17n.org>
5478
5479 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5480 let-binding rfc2047-encode-encoded-words to nil.
5481
e145f188
GM
54822011-05-27 Glenn Morris <rgm@gnu.org>
5483
5ec8a862
GM
5484 * mail/emacsbug.el: Don't require url-util.
5485
4b29d9fb
GM
5486 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5487
e145f188
GM
5488 * files.el (set-auto-mode):
5489 Also respect mode: entries at the end of the file. (Bug#8586)
5490
7d15102b
GM
54912011-05-26 Glenn Morris <rgm@gnu.org>
5492
98f593b8
GM
5493 * files.el (hack-local-variables-prop-line, hack-local-variables):
5494 Downcase mode names, as seems to be traditional.
27b48e63 5495 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5496
7d15102b
GM
5497 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5498 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5499
51d5b4ec
JD
55002011-05-25 Julien Danjou <julien@danjou.info>
5501
5502 * textmodes/rst.el (rst-define-level-faces): Do not define face
5503 symbol if it is already defined.
5504
91513f63
VB
55052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5506
5507 * play/5x5.el (5x5-new-game, 5x5-randomize):
5508 Reset 5x5-solver-output to nil when a new grid is cast.
5509 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5510 these debugging traces, as defmacro breaks the compiled code.
5511
4d90d6d0
DK
55122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5513
5514 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5515
e1b90ef6
LL
55162011-05-24 Leo Liu <sdl.web@gmail.com>
5517
5518 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5519 (vc-bzr-sha1): Adapt.
5520
d8e4b68b 5521 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5522
5523 * bindings.el: Provide sha1 feature.
5524
db0406bb 55252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5526
5527 * mail/sendmail.el: Require `rfc2047'.
5528 (mail-insert-from-field): Do not perform RFC2047 encoding.
5529 (mail-encode-header): New function.
5530 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5531 buffer to the return value of select-message-coding-system.
5532 Call mail-encode-header.
b8d747b9
KH
5533
5534 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5535
db0406bb 55362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5537
4d90d6d0
DK
5538 * mail/supercite.el (sc-default-cite-frame):
5539 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5540
eb8a5e9b
GM
55412011-05-24 Glenn Morris <rgm@gnu.org>
5542
f8630703
GM
5543 * progmodes/python.el (brm-menu): Declare.
5544
8831bbed
GM
5545 * emulation/viper.el (viper-set-hooks): Declare.
5546
eb8a5e9b
GM
5547 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5548 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5549 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5550 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5551 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5552 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5553
a2a25d24
SM
55542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 Add an :exit-function for completion-at-point.
5557
5558 * minibuffer.el (completion--done): New fun.
5559 (completion--do-completion): Use it. New arg `expect-exact'.
5560 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5561 since completion--do-completion does it for us now.
5562 (minibuffer-force-complete): Use completion--done and
5563 completion--replace. Handle sole-completion case with more care.
5564 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5565 (completion-extra-properties): New var.
5566 (completion-annotate-function): Make obsolete.
5567 (minibuffer-completion-help): Adjust accordingly.
5568 Use completion-list-insert-choice-function.
5569 (completion-at-point, completion-help-at-point):
5570 Bind completion-extra-properties.
5571 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5572 * simple.el (completion-list-insert-choice-function): New var.
5573 (completion-setup-function): Preserve it.
5574 (choose-completion): Pay attention to it, shuffle the code a bit.
5575 (choose-completion-string): New arg `insert-function'.
5576
5577 * textmodes/bibtex.el: Convert to lexical binding.
5578 (bibtex-mode-map): Use completion-at-point.
5579 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5580 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5581 (bibtex-complete): Define as obsolete alias.
5582 (bibtex-complete-internal): Remove.
5583 (bibtex-format-entry): Remove unused sub-group in regexp.
5584 * shell.el (shell--command-completion-data)
5585 (shell-environment-variable-completion):
5586 * pcomplete.el (pcomplete-completions-at-point):
5587 * comint.el (comint--complete-file-name-data): Use :exit-function
5588 instead of completion-table-with-terminator so it also works for
5589 choose-completion.
5590
e44e373d
SM
55912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5592
4f91a816
SM
5593 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5594
782fc819
SM
5595 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5596 (bug#8710).
5597
e44e373d
SM
5598 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5599
381987c3
KM
56002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5601
5602 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5603 customization variable and implement: If non-nil, auto-fill will
5604 be inhibited while on topic's header line.
5605
b776bc70
VB
56062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5607
5608 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5609 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5610 always have a solution in grid size = 5 cases.
5611 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5612 (5x5-solver-output, 5x5-log-buffer): New vars.
5613 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5614 Make these variables buffer local to achieve 5x5 multi-session-ness.
5615 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5616 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5617 (5x5-solve-suggest): New funs.
5618 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5619 randomize a grid so that we ensure that there is always a solution.
5620 (5x5-make-random-grid): Allow other movement than flipping.
5621
7de88b6e
KR
56222011-05-23 Kevin Ryde <user42@zip.com.au>
5623
5624 * emacs-lisp/advice.el (ad-read-advised-function):
5625 Use `function-called-at-point' as the default default, if it has
5626 advice and passes PREDICATE.
5627
b1ef1257
SM
56282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5629
bbca48fe
SM
5630 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5631 byte-compile-lambda if it's actually a lambda.
5632
b1ef1257
SM
5633 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5634 Fix function quoting. Use backquote better.
5635
92a9cc65
YS
56362011-05-22 Yuanle Song <sylecn@gmail.com>
5637
5638 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5639 matching (Bug#8516).
5640
f0fb8059
JA
56412011-01-22 Jari Aalto <jari.aalto@cante.net>
5642
5643 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5644 different face (Bug#8178).
5645
d5b44c93
CY
56462011-05-22 Chong Yidong <cyd@stupidchicken.com>
5647
5648 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5649 defface (Bug#8144).
5650
79106a44
SM
56512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5652
9c848d8a
SM
5653 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5654 funcall as well (bug#8712). Warn when performing those conversions.
5655 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5656
79106a44
SM
5657 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5658
88dfa756
GM
56592011-05-22 Glenn Morris <rgm@gnu.org>
5660
5661 * files.el (hack-local-variables-prop-line): Small simplifications.
5662 (hack-local-variables, hack-local-variables-prop-line):
5663 If MODE-ONLY, return the mode, rather than just `t'.
5664
b7cf2c79
SM
56652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5668
3f1a8558
GM
56692011-05-21 Glenn Morris <rgm@gnu.org>
5670
7e4ccca3
GM
5671 * files.el (hack-local-variables-prop-line, hack-local-variables):
5672 If only interested in the mode, don't bother doing the other stuff.
5673
637d46ca
GM
5674 * image-mode.el (image-after-revert-hook):
5675 Redraw all frames on which the image is visible. (Bug#8567)
5676
973d955b
GM
5677 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5678
3f1a8558
GM
5679 * wid-edit.el (widget-checklist-match-inline):
5680 Fix 2011-04-19 change. (Bug#8649)
5681
96479927
SM
56822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5683
1dcf791f
SM
5684 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5685 Also allow singlespace after single-letter capitals followed by a dot.
5686
96479927
SM
5687 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5688 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5689
35fd0881
N
56902011-05-20 Nix <nix@esperi.org.uk>
5691
5692 * files.el (basic-save-buffer-2):
5693 Fix handling of break-hardlink-on-save with non-existent files.
5694
82745640
DD
56952011-05-19 Deniz Dogan <deniz@dogan.se>
5696
5697 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5698 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5699
4a720484
GM
57002011-05-19 Glenn Morris <rgm@gnu.org>
5701
d1f21341
GM
5702 * progmodes/f90.el (f90-type-def-re):
5703 Handle "type, bind(c)". (Bug#8691)
5704
4a720484
GM
5705 * emacs-lisp/autoload.el (batch-update-autoloads):
5706 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5707
2fb0a219
MA
57082011-05-18 Michael Albinus <michael.albinus@gmx.de>
5709
5710 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5711 property for the correct connection in case of multihops.
5712
e565dd37
GM
57132011-05-18 Glenn Morris <rgm@gnu.org>
5714
c2571358 5715 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5716 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5717
e565dd37
GM
5718 Rationalize calendar handling of day and month abbrev-arrays.
5719 * calendar/calendar.el (calendar-customized-p): New function.
5720 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5721 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5722 Add :set function.
5723 (calendar-abbrev-length, calendar-day-abbrev-array)
5724 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5725 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5726 Elements may no longer be nil.
5727 (calendar-day-name, calendar-month-name):
5728 Update for changed nature of abbrev arrays.
5729 * calendar/diary-lib.el (diary-name-pattern):
5730 Update for changed nature of abbrev arrays.
5731 (diary-mark-entries-1): Update calendar-make-alist calls.
5732 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5733 * calendar/cal-html.el (cal-html-day-abbrev-array):
5734 Simply inherit from calendar-day-abbrev-array.
5735
1d99a745
SM
57362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * progmodes/grep.el (grep-mode): Disable default
5739 compilation-directory-matcher setting (bug#8684).
5740
7c1d9aa0
MA
57412011-05-17 Michael Albinus <michael.albinus@gmx.de>
5742
5743 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5744 instead of "head" and "tail". There were problems with SunOS 5.9,
5745 and it performs better.
5746
3952e9d8
GM
57472011-05-17 Glenn Morris <rgm@gnu.org>
5748
2dd12e7f
GM
5749 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5750
e4157b9c
GM
5751 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5752 Replace obsolete function.
5753
8e249bbd
GM
5754 * shell.el (pcomplete-parse-arguments-function): Declare.
5755
3952e9d8
GM
5756 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5757 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5758 (appt-check): Doc fixes.
5759 (appt-disp-window-function, appt-delete-window-function):
5760 Remove needless special case in custom :type.
5761 (appt-display-count): Default to 0, not nil.
5762 (appt-check): Reset appt-display-count to 0, not nil.
5763
c71a0d48 57642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5765
c71a0d48
GM
5766 * progmodes/python.el (python-font-lock-keywords):
5767 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5768
31d55be9
SM
57692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5772
3bfacb2f
KR
57732011-05-16 Kevin Ryde <user42@zip.com.au>
5774
5775 * info-look.el (makefile-automake-mode): New setups, looking in
5776 automake manual, then makefile-mode.
5777 (makefile-mode): Remove automake manual, have it just in
5778 makefile-automake-mode since there's various things different or
5779 not relevant to plain make.
5780 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5781 believe a hypothetical automake-mode would go to makefile-mode,
5782 not the other way around.
5783
c8e83751
CY
57842011-05-15 Chong Yidong <cyd@stupidchicken.com>
5785
5e9e35cd
CY
5786 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5787 hunk-end tags (Bug#8672).
5788
c8e83751
CY
5789 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5790 vc-annotate-show-diff-revision-at-line (Bug#8671).
5791
50b23e5a
GM
57922011-05-14 Glenn Morris <rgm@gnu.org>
5793
7210a739
GM
5794 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5795 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5796 (change-log-font-lock-keywords): Also handle multiple author lines
5797 with leading tabs. (Bug#8644)
7210a739 5798
4691905a
GM
5799 * calendar/appt.el (appt-check): Rename some local variables.
5800 Some simplification/reordering.
5801
50b23e5a
GM
5802 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5803 (feedmail-sendmail-f-doesnt-sell-me-out)
5804 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5805 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5806 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5807 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5808 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5809 (feedmail-binmail-gnulinuxish-template):
5810 Rename from feedmail-binmail-linuxish-template.
5811 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5812 Use insert-buffer-substring.
5813
215cda7c
BC
58142011-05-14 Bill Carpenter <bill@carpenter.org>
5815
5816 * mail/feedmail.el (feedmail-patch-level): Increase.
5817 (feedmail-debug): New custom group.
5818 (feedmail-confirm-outgoing-timeout)
5819 (feedmail-sendmail-f-doesnt-sell-me-out)
5820 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5821 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5822 (feedmail-sender-line, feedmail-from-line)
5823 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5824 (feedmail-spray-this-address)
215cda7c
BC
5825 (feedmail-spray-address-fiddle-plex-list)
5826 (feedmail-queue-use-send-time-for-date)
5827 (feedmail-queue-use-send-time-for-message-id)
5828 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5829 (feedmail-buffer-eating-function):
5830 Doc fixes.
5831 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5832 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5833 (feedmail-message-action-scroll-down): New functions.
5834 (feedmail-queue-directory, feedmail-queue-draft-directory):
5835 Use expand-file-name.
5836 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5837 Remove C-v help entry.
5838 (feedmail-queue-buffer-file-name): New variable.
5839 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5840 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5841 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5842 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5843 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5844 (feedmail-message-action-toggle-spray)
5845 (feedmail-run-the-queue-no-prompts)
5846 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5847 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5848 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5849 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5850 (feedmail-envelope-deducer, feedmail-fiddle-from)
5851 (feedmail-fiddle-sender, feedmail-default-date-generator)
5852 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5853 (feedmail-fiddle-spray-address)
5854 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5855 (feedmail-fiddle-list-of-fiddle-plexes)
5856 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5857 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5858 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5859 Change default. Doc fix.
5860 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5861 (feedmail-binmail-linuxish-template): New constant.
5862 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5863 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5864 (feedmail-send-it): Add debug call.
5865 Use feedmail-queue-buffer-file-name, and
5866 feedmail-send-it-immediately-wrapper.
5867 (feedmail-message-action-send): Add debug call.
5868 Use feedmail-send-it-immediately-wrapper.
5869 (feedmail-queue-express-to-queue): Add debug call.
5870 Run feedmail-queue-express-hook.
5871 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5872 (feedmail-message-action-help-blat):
5873 Rename from feedmail-queue-send-edit-prompt-help-first.
5874 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5875 Check line-endings. Handle errors better.
5876 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5877 Doc fix. Add debug call.
5878 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5879 Use feedmail-queue-send-edit-prompt-inner.
5880 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5881 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5882 from feedmail-queue-send-edit-prompt.
5883 (feedmail-queue-send-edit-prompt-help)
5884 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5885 (feedmail-tidy-up-slug): Add debug call.
5886 Respect feedmail-queue-slug-suspect-regexp.
5887 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5888 (feedmail-dump-message-to-queue): Add debug call.
5889 Expand queue-directory.
5890 (feedmail-dump-message-to-queue): Change message slightly.
5891 Use feedmail-say-chatter.
5892 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5893 (feedmail-send-it-immediately-wrapper): New function.
5894 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5895 Insert empty string rather than newline. Handle full-frame case.
5896 Use catch/throw. Use feedmail-say-chatter.
5897 (feedmail-fiddle-from): Try mail-host-address.
5898 (feedmail-default-message-id-generator): Doc fix.
5899 Bind system-time-locale. Handle missing end.
5900 (feedmail-fiddle-x-mailer): Add debug call.
5901 Handle feedmail-x-mailer-line being nil.
5902 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5903 Add debug call. Use buffer-substring-no-properties.
5904 (feedmail-say-debug, feedmail-say-chatter): New functions.
5905 (feedmail-find-eoh): Give an explicit error.
5906
42c7e61e
UJ
59072011-05-13 Ulf Jasper <ulf.jasper@web.de>
5908
c2571358 5909 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5910 family from helvetica to sans.
c2571358 5911 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5912 etc/images/newsticker.
5913
c2571358 5914 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5915 family from helvetica to sans.
5916
5917 * net/newst-plainview.el (newsticker-new-item-face)
5918 (newsticker-old-item-face, newsticker-immortal-item-face)
5919 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5920 (newsticker-statistics-face): Change default family from
42c7e61e 5921 helvetica to sans.
c2571358 5922 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5923 etc/images/newsticker.
5924
5925 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5926 (newsticker--process-auto-mark-filter-match): : Tell user about
5927 auto-marking.
5928
8497a297
DV
59292011-05-13 Didier Verna <didier@xemacs.org>
5930
5931 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5932 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5933 TODO entries.
8497a297
DV
5934 (lisp-lambda-list-keyword-parameter-indentation)
5935 (lisp-lambda-list-keyword-parameter-alignment)
5936 (lisp-lambda-list-keyword-alignment): New customizable user options.
5937 (lisp-indent-defun-method): Improve docstring.
5938 (extended-loop-p): Fix comment.
5939 (lisp-indent-lambda-list-keywords-regexp): New variable.
5940 (lisp-indent-lambda-list): New function.
5941 (lisp-indent-259): Use it.
5942 (lisp-indent-defmethod): Support for more than one
5943 method qualifier and properly indent methods lambda-lists.
5944 (defgeneric): Provide a missing common-lisp-indent-function property.
5945
f278f87f
SM
59462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5947
5948 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5949 bounds for the empty string (bug#8667).
5950
5233edd7
GM
59512011-05-13 Glenn Morris <rgm@gnu.org>
5952
5237a44f
GM
5953 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5954
8340026c 5955 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5956 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5957
5233edd7 5958 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5959 (appt-time-msg-list): Doc fix.
a5464014 5960 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5961
92d10796
AS
59622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5963
5964 * progmodes/ld-script.el (ld-script-keywords)
5965 (ld-script-builtins): Update keywords list.
5966
914a0ae1
SM
59672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5968
c89be45f
SM
5969 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5970
914a0ae1
SM
5971 * shell.el (shell-completion-vars): New function.
5972 (shell-mode):
5973 * simple.el (read-shell-command): Use it.
5974 (blink-matching-open): No need for " [...]" in minibuffer-message.
5975
98dc3df3
GM
59762011-05-12 Glenn Morris <rgm@gnu.org>
5977
5978 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5979 (appt-check): Simplify.
5980
d2fc7e3d 59812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5982
4d61f28d 5983 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5984 literal "/dev/null".
5985
d2fc7e3d 59862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5987
5988 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5989 Fix typo.
5990
d2fc7e3d 59912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5992
3f254caa
SM
5993 * progmodes/which-func.el (which-function):
5994 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5995 which might not be defined (Bug#8260).
5996
d45885f7
GM
59972011-05-12 Glenn Morris <rgm@gnu.org>
5998
5999 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6000 Let byte-compile-initial-macro-environment always take precedence.
6001
488086f4
SM
60022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * net/rcirc.el: Add support for SSL/TLS connections.
6005 (rcirc-server-alist): New field `encryption'.
6006 (rcirc): Check `encryption' settings.
6007 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6008 Merge make-local-variable into `set'.
6009 (rcirc--connection-open-p): New function.
6010 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6011 the process is not a network process (e.g. running gnutls-cli).
6012 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6013 Make rcirc-(en|de)code-coding-system local here.
6014 (rcirc-mode): Merge make-local-variable into `set'.
6015 (rcirc-parent-buffer): Make permanent buffer-local.
6016 (rcirc-multiline-minor-mode): Don't do it here.
6017 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6018 there's no server buffer.
6019
7d3b9d44
GM
60202011-05-11 Glenn Morris <rgm@gnu.org>
6021
f64049c6
GM
6022 * newcomment.el (comment-kill): Prefix "unused" local.
6023
93c9df73
GM
6024 * term/w32console.el (get-screen-color): Declare.
6025
7d3b9d44
GM
6026 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6027 Handle symbol elements of byte-compile-initial-macro-environment.
6028
9e2dd53f
LL
60292011-05-10 Leo Liu <sdl.web@gmail.com>
6030
488086f4
SM
6031 * bookmark.el (bookmark-bmenu-mode-map):
6032 Bind bookmark-bmenu-search to `/'.
8b340240 6033
9e2dd53f 6034 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6035 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6036 (Footnote-unicode): New function.
6037 (footnote-style-alist): Add unicode style to the list.
6038 (footnote-style): Doc fix.
9e2dd53f 6039
79b70037
GM
60402011-05-10 Jim Meyering <meyering@redhat.com>
6041
6042 Fix doubled-word typos.
6043 * international/quail.el (quail-insert-kbd-layout): and and -> and
6044 * kermit.el: and and -> and
6045 * net/ldap.el (ldap-search-internal): to to -> to
6046 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6047 * progmodes/js.el (js-mode): and and -> and
6048 * textmodes/artist.el (artist-move-to-xy): at at -> at
6049 (artist-draw-region-trim-line-endings): if if -> if
6050 And Safetyc -> Safety.
6051 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6052
b8f82dc1 60532011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6054 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6055
6056 * files.el (hack-one-local-variable-eval-safep):
6057 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6058
4f99f44b
GM
60592011-05-10 Glenn Morris <rgm@gnu.org>
6060
6061 * calendar/diary-lib.el (diary-list-entries-hook)
6062 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6063 (diary-nongregorian-marking-hook, diary-list-entries)
6064 (diary-include-other-diary-files, diary-mark-entries)
6065 (diary-mark-included-diary-files): Doc fixes.
6066
84f29e6b
JB
60672011-05-09 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * misc.el: Require tabulated-list.el during compilation.
6070
9bedd73a
CY
60712011-05-09 Chong Yidong <cyd@stupidchicken.com>
6072
488086f4
SM
6073 * progmodes/compile.el (compilation-start):
6074 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6075 (compilation-filter-hook): Doc fix.
6076
797c735c
DD
60772011-05-09 Deniz Dogan <deniz@dogan.se>
6078
6079 * wdired.el: Remove outdated installation comment. Fix usage
6080 comment.
6081
5f4b1dfe
JB
60822011-05-09 Juanma Barranquero <lekktu@gmail.com>
6083
6084 * misc.el: Implement new command `list-dynamic-libraries'.
6085 (list-dynamic-libraries--loaded-only-p): New variable.
6086 (list-dynamic-libraries--refresh): New function.
6087 (list-dynamic-libraries): New command.
6088
4c44026c
CY
60892011-05-09 Chong Yidong <cyd@stupidchicken.com>
6090
488086f4
SM
6091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6092 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6093 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6094 higher priority to avoid clobbering by gnu.
6095
027f966d
CY
60962011-05-08 Chong Yidong <cyd@stupidchicken.com>
6097
6098 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6099 if the face has existing theme settings (Bug#8454).
6100
085f5d7d
CY
61012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6102
488086f4
SM
6103 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6104 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6105
2a86a00c
RS
6106 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6107 special file names `.' and `..' (Bug#8259).
6108
d9c54a06
CY
61092011-05-08 Chong Yidong <cyd@stupidchicken.com>
6110
488086f4
SM
6111 * progmodes/grep.el (grep-mode-font-lock-keywords):
6112 Remove buffer-changing entries.
d9c54a06
CY
6113 (grep-filter): New function.
6114 (grep-mode): Add it to compilation-filter-hook.
6115
6116 * progmodes/compile.el (compilation-filter-hook)
6117 (compilation-filter-start): New defvars.
6118 (compilation-filter): Call compilation-filter-hook prior to
6119 updating the process mark.
6120
c4662635
SM
61212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6124
b0512a1d
EZ
61252011-05-07 Eli Zaretskii <eliz@gnu.org>
6126
605c9376
EZ
6127 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6128 mailclient-send-it even if window-system is nil. (Bug#8595)
6129
c4662635
SM
6130 * term/w32console.el (terminal-init-w32console):
6131 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6132 background-mode. (Bug#8597)
6133
d1dc2cc2
SM
61342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6137 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6138 New functions.
6139 (defgeneric, eieio--defmethod): Use them.
6140 (eieio-defgeneric): Remove.
6141 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6142
915d1300
GM
61432011-05-07 Glenn Morris <rgm@gnu.org>
6144
a3961c3e
GM
6145 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6146 Use let rather than let*.
6147 (timeclock-find-discrep): Remove unused local.
6148
314347b9
GM
6149 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6150
915d1300
GM
6151 * calendar/appt.el (appt-time-msg-list): Doc fix.
6152
275b59b0
NF
61532011-05-06 Noah Friedman <friedman@splode.com>
6154
6155 * apropos.el (apropos-print-doc): Only use
6156 emacs-lisp-docstring-fill-column when it is bound to an integer,
6157 per that variable's documentation.
6158
6c19f744
SM
61592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6162 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6163
60f884b2
GM
61642011-05-06 Glenn Morris <rgm@gnu.org>
6165
5006e634
GM
6166 * calendar/appt.el (appt-message-warning-time): Doc fix.
6167 (appt-warning-time-regexp): New option.
6168 (appt-make-list): Respect appt-message-warning-time.
6169
548d0a63
GM
6170 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6171 New options.
6172 (diary-add-to-list): Strip comments from the displayed string.
6173 (diary-mode): Set comment-start and comment-end.
6174
60f884b2
GM
6175 * vc/diff-mode.el (smerge-refine-subst): Declare.
6176 (diff-refine-hunk): Don't require smerge-mode when compiling.
6177
989681bb
JB
61782011-05-06 Juanma Barranquero <lekktu@gmail.com>
6179
6180 * simple.el (list-processes): Return nil as the docstring says.
6181
a6bc05e1
MA
61822011-05-05 Michael Albinus <michael.albinus@gmx.de>
6183
6184 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6185 to "".
6186 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6187 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6188 determining of binary transfer. (Bug#7383)
6189
23c22e9a
MA
61902011-05-05 Michael Albinus <michael.albinus@gmx.de>
6191
c4662635
SM
6192 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6193 Fix port computation bug. (Bug#8618)
23c22e9a 6194
0bff894f
GM
61952011-05-05 Glenn Morris <rgm@gnu.org>
6196
b8296902
GM
6197 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6198
1f522ce8
GM
6199 * simple.el (shell-dynamic-complete-functions)
6200 (comint-dynamic-complete-functions): Declare.
6201
cf5bee67
GM
6202 * net/network-stream.el (gnutls-negotiate):
6203 * simple.el (tabulated-list-print): Fix declarations.
6204
6205 * progmodes/gud.el (syntax-symbol, syntax-point):
6206 Remove unnecessary and incorrect declarations.
6207
0bff894f
GM
6208 * emacs-lisp/check-declare.el (check-declare-scan):
6209 Handle byte-compile-initial-macro-environment in bytecomp.el
6210
9869b3ae
SM
62112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 Fix earlier half-done eieio-defmethod change (bug#8338).
6214 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6215 Streamline and change calling convention.
6216 (defmethod): Adjust accordingly and simplify.
6217 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6218 new eieio--defmethod.
6219 (slot-boundp): Minor CSE simplification.
6220
9c1d5ac5
MZ
62212011-05-05 Milan Zamazal <pdm@zamazal.org>
6222
6223 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6224 (glasses-make-readable): Use glasses-separate-capital-groups.
6225
455c834e
JB
62262011-05-05 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6229 (warning-series): Doc fix.
6230 (display-warning): Don't try to create the buffer if we just found it.
6231
9ed7c8cb
CY
62322011-05-04 Chong Yidong <cyd@stupidchicken.com>
6233
6234 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6235 (autoload-find-generated-file): New function.
6236 (generate-file-autoloads): Bind generated-autoload-file to
6237 buffer-file-name.
9869b3ae
SM
6238 (update-file-autoloads, update-directory-autoloads):
6239 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6240 output file (Bug#7989).
6241 (batch-update-autoloads): Doc fix.
6242
0898ca10
JB
62432011-05-04 Juanma Barranquero <lekktu@gmail.com>
6244
6245 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6246
31dfb76c
GM
62472011-05-04 Glenn Morris <rgm@gnu.org>
6248
f330b642
GM
6249 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6250 function, so it follows changes in calendar-date-style.
6251 (diary-fancy-date-matcher): New function.
6252 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6253 (diary-fancy-font-lock-fontify-region-function):
6254 Use diary-fancy-date-pattern as a function.
6255
31dfb76c
GM
6256 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6257 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6258
48e79d6a
TZ
62592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6260
6261 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6262 instead of positional arguments. Allow :keylist and :crlfiles
6263 arguments.
6264 (open-gnutls-stream): Call it.
6265
6266 * net/network-stream.el (network-stream-open-starttls): Adjust to
6267 call `gnutls-negotiate' with :process and :hostname arguments.
6268
dd5a5ee0
SM
62692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6270
ef80fc09
SM
6271 * minibuffer.el (completion--message): New function.
6272 (completion--do-completion, minibuffer-complete)
6273 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6274 (completion--do-completion): Don't ignore completion-auto-help when in
6275 icomplete-mode.
6276
dd5a5ee0
SM
6277 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6278 internal encoding (e.g. tibetan zero is not whitespace).
6279 (global-whitespace-mode): Prefer save-current-buffer.
6280 (whitespace-trailing-regexp): Remove useless save-match-data.
6281 (whitespace-empty-at-bob-regexp): Minor simplification.
6282
b7d22a83
CY
62832011-05-03 Chong Yidong <cyd@stupidchicken.com>
6284
6285 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6286
5192af46
AM
62872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6288
6289 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6290 Use `concat' to create string for insertion.
5192af46 6291
5767d190
SM
62922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6295 Avoid open-line which runs post-self-insert-hook.
6296 (bibtex-fill-entry): Remove unused `end' var.
6297
bf242939
AM
62982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6299
5767d190
SM
6300 * textmodes/ispell.el (ispell-add-per-file-word-list):
6301 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6302
25666126
LL
63032011-05-03 Leo Liu <sdl.web@gmail.com>
6304
6305 * isearch.el (isearch-yank-pop): New command.
5767d190 6306 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6307 (isearch-forward): Mention it.
6308
52d3c2d0
SM
63092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6310
1bcace58
SM
6311 * simple.el (minibuffer-complete-shell-command): Remove.
6312 (minibuffer-local-shell-command-map): Use completion-at-point.
6313 (read-shell-command): Setup completion vars here instead.
6314 (read-expression-map): Bind TAB to symbol completion.
6315
52d3c2d0
SM
6316 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6317 error directly rather via storing it into `results'.
6318
35813471
LL
63192011-05-02 Leo Liu <sdl.web@gmail.com>
6320
6321 * vc/diff.el: Fix description.
6322
e793a940
LMI
63232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6324
6325 * server.el (server-eval-at): New function.
6326
8de66e05
LMI
63272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6328
6329 * net/network-stream.el (open-network-stream): Take a :nowait
6330 parameter and pass it on to `make-network-process'.
6331 (network-stream-open-plain): Ditto.
6332
dcb79f20
AS
63332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6334
6335 * faces.el (face-spec-set-match-display): Don't match toolkit
6336 options on terminal frames.
6337
14a7fbd8
SM
63382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6339
7eabc1be
SM
6340 * progmodes/pascal.el: Use lexical binding.
6341 (pascal-mode-map): Remove author preferences.
6342
14a7fbd8
SM
6343 * pcomplete.el (pcomplete-std-complete): Don't abuse
6344 completion-at-point.
6345
50f84510
JB
63462011-04-28 Juanma Barranquero <lekktu@gmail.com>
6347
6e087a44
JB
6348 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6349 removing code that has been dead since 1991 or so.
6350
50f84510
JB
6351 * startup.el (command-line): When warning about "_emacs", use a
6352 delayed warning to allow the user to filter it out.
6353
0ba690bd
DD
63542011-04-28 Deniz Dogan <deniz@dogan.se>
6355
6356 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6357 user has not joined.
6358
08abfaad
SM
63592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6362 aren't any completions at point.
6363
638f053a
JB
63642011-04-28 Juanma Barranquero <lekktu@gmail.com>
6365
6366 * subr.el (display-delayed-warnings): New function.
6367 (delayed-warnings-hook): New variable.
6368
8fff8daa
SM
63692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6370
08abfaad
SM
6371 * minibuffer.el (completion-at-point, completion-help-at-point):
6372 Don't presume that a given completion-at-point-function will always
6373 use the same calling convention.
6374
8fff8daa
SM
6375 * pcomplete.el (pcomplete-completions-at-point):
6376 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6377 pcomplete-seen is non-nil.
6378 (pcomplete-comint-setup): Also recognize the new comint/shell
6379 completion functions.
6380 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6381 pcomplete-seen is non-nil.
6382
841a1577 63832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6384
841a1577 6385 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6386 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6387 the first character in the entry. This allows for code to add its
211ec907
UJ
6388 own uid to the entry.
6389 (icalendar--convert-float-to-ical): Add export of
6390 `diary-float'-entries save for those with the optional DAY
6391 argument.
6392
2a782793
DC
63932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6394
6395 * subr.el (shell-quote-argument): Use alternate escaping strategy
6396 when we spot a variable reference in a string.
6397
0438ce91
DC
63982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6399
6400 * cus-start.el (all): Define customization for debug-on-event.
6401
841a1577 64022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6403
6404 * subr.el (shell-quote-argument): Escape correctly under Windows.
6405
d090ed6c
SM
64062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6409
bfd31217
MA
64102011-04-25 Michael Albinus <michael.albinus@gmx.de>
6411
d090ed6c
SM
6412 * net/tramp.el (tramp-process-actions): Add POS argument.
6413 Delete region between POS and (pos).
bfd31217 6414
d090ed6c
SM
6415 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6416 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6417 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6418
6419 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6420 position in `tramp-process-actions' call.
6421
6422 * net/trampver.el: Update release number.
6423
e92f3bd3
SM
64242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6425
850256b5
SM
6426 * custom.el (defcustom): Obey lexical-binding.
6427
e92f3bd3
SM
6428 Fix octave-inf completion problems reported by Alexander Klimov.
6429 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6430 Inherit from octave-mode-syntax-table.
6431 (inferior-octave-mode): Set info-lookup-mode.
6432 (inferior-octave-completion-at-point): New function.
6433 (inferior-octave-complete): Use it and completion-in-region.
6434 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6435 comint-filename-completion.
6436 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6437 symbol elements which shouldn't be word elements.
6438 (octave-font-lock-keywords, octave-beginning-of-defun)
6439 (octave-function-header-regexp): Adjust regexps accordingly.
6440 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6441
cd22b309
JB
64422011-04-25 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * net/gnutls.el (gnutls-errorp): Declare before first use.
6445
8b492194
TZ
64462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6447
6448 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6449 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6450 default trustfile exists before going to use it. Add missing
6451 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6452 Reported by Claudio Bley <claudio.bley@gmail.com>.
6453 (open-gnutls-stream): Add usage example.
6454
6455 * net/network-stream.el (network-stream-open-starttls): Give host
6456 parameter to `gnutls-negotiate'.
6457 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6458 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6459
841a1577 64602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6461
cd22b309
JB
6462 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6463 Use correct match group (bug#8438).
05842630 6464
3ba7869c
CY
64652011-04-24 Chong Yidong <cyd@stupidchicken.com>
6466
512e3ae1
CY
6467 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6468 (package-menu--generate): New arg specifying packages to show.
6469 (package-menu-refresh, package-menu-execute, list-packages):
6470 Callers changed.
6471 (package-show-package-list): New function, replacing deleted
6472 package--list-packages (renamed because it is non-internal).
6473
6474 * finder.el (finder-list-matches): Use package-show-package-list
6475 instead of deleted package--list-packages.
6476
e92f3bd3
SM
6477 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6478 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6479 (vc-annotate-mode-map): Bind it to RET.
6480
7031be6d
UR
64812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6482
6483 * progmodes/etags.el (next-file): Don't use set-buffer to change
6484 buffers (Bug#8478).
6485
4ef177aa
CY
64862011-04-24 Chong Yidong <cyd@stupidchicken.com>
6487
c8d173eb
CY
6488 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6489
4ef177aa
CY
6490 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6491 (apropos-accumulator): Doc fix.
6492 (apropos-function, apropos-macro, apropos-command)
6493 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6494 (apropos-plist): Add face property.
6495 (apropos-symbols-internal): Fix indentation.
6496 (apropos-print): Simplify help, and recognize apropos-multi-type.
6497 (apropos-print-doc): Use button-type-get to extract the button's
6498 face property. Fill docstring (Bug#8352).
6499
4ffd0d6b 65002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6501
6502 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6503
c6c32125 6504 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6505 (mpuz-mode-map): Use mapc.
c6c32125
JB
6506 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6507 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6508 Fix typos in docstrings.
6509
58d468b4
JB
6510 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6511 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6512
6470c3c6
JB
6513 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6514
4ffd0d6b 65152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6516
6517 * minibuffer.el (completion--do-completion): Avoid the "Next char
6518 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6519
3ad8bad0
CY
6520 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6521 mouse-2 into unread-command-events, it is interpreted correctly.
6522
71d73c9c 6523 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6524 (image-toggle-display): Doc fix.
71d73c9c 6525
841a1577 65262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6527
4ffd0d6b
GM
6528 * textmodes/page.el (what-page): Use line-number-at-pos to
6529 calculate line number (Bug#6825).
6e1dbaa9 6530
c2fb1b60
JB
65312011-04-22 Juanma Barranquero <lekktu@gmail.com>
6532
6533 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6534 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6535 Pass argument NO-DEFAULT to `find-tag-interactive'.
6536
e02f48d7
JB
65372011-04-22 Juanma Barranquero <lekktu@gmail.com>
6538
6539 Lexical-binding cleanup.
6540
6541 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6542 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6543 * progmodes/ada-prj.el (ada-prj-initialize-values)
6544 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6545 (ada-prj-show-value):
6546 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6547 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6548 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6549 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6550 * progmodes/bug-reference.el (bug-reference-push-button):
6551 * progmodes/fortran.el (fortran-line-length):
6552 * progmodes/glasses.el (glasses-change):
6553 * progmodes/octave-mod.el (octave-fill-paragraph):
6554 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6555 (python-pdbtrack-grub-for-buffer, python-sentinel):
6556 * progmodes/sql.el (sql-save-connection):
6557 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6558 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6559 Mark unused parameters.
6560
6561 * progmodes/compile.el (compilation--flush-directory-cache)
6562 (compilation--flush-parse, compile-internal): Mark unused parameters.
6563 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6564 (compilation-next-error-function): Remove unused variable `timestamp'.
6565
6566 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6567 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6568
6569 * progmodes/dcl-mode.el (dcl-end-of-command):
6570 Remove unused variable `start'.
6571 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6572 (dcl-option-value-basic, dcl-option-value-offset)
6573 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6574 Mark unused parameters.
6575 (dcl-save-local-variable): Remove unused variable `val'.
6576 (mode): Declare.
6577
6578 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6579 Mark unused parameters.
6580 (delphi-ignore-changes): Move before first use.
6581 (delphi-charset-token-at): Remove unused variable `start'.
6582 (delphi-else-start): Remove unused variable `if-count'.
6583 (delphi-comment-block-start, delphi-comment-block-end):
6584 Remove unused variable `kind'.
6585 (delphi-indent-line): Remove unused variable `new-point'.
6586
6587 * progmodes/ebrowse.el (ebrowse-files-list)
6588 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6589 Mark unused parameters. Don't quote `lambda'.
6590 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6591 Don't quote `lambda'.
6592 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6593 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6594 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6595 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6596 Use `ignore-errors'.
6597 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6598 (ebrowse-view/find-file-and-search-pattern)
6599 (ebrowse-view/find-member-declaration/definition):
6600 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6601 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6602 Rename parameter PREFIX-ARG to PREFIX.
6603 (ebrowse-tags-read-name): Remove unused variables `start' and
6604 `member-info'.
6605 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6606 to `tags-file'.
6607
6608 * progmodes/etags.el (local-find-tag-hook): Declare.
6609 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6610 Mark unused parameters.
6611
6612 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6613 (executable-interpret): Mark unused parameter.
6614
6615 * progmodes/flymake.el (flymake-process-sentinel)
6616 (flymake-after-change-function)
6617 (flymake-create-temp-with-folder-structure)
6618 (flymake-get-include-dirs-dot): Mark unused parameters.
6619 (flymake-safe-delete-directory): Remove unused variable `err'.
6620
6621 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6622 (speedbar-timer-fn, speedbar-line-text)
6623 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6624 (speedbar-center-buffer-smartly): Declare functions.
6625 (gdb-find-watch-expression): Remove unused variable `array'.
6626 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6627 (gdb-starting): Mark unused parameters.
6628 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6629 (gdb-table-string): Remove unused variable `res'.
6630 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6631 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6632 (gdb-display-buffer): Remove unused variable `cur-size'.
6633
6634 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6635 allow lexical-binding compilation.
6636 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6637 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6638 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6639 Mark unused parameters.
6640 (gud-gdb-marker-filter): Remove unused variable `match'.
6641 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6642 lambda expressions and funcall them, instead of using `fset'.
6643
6644 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6645 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6646
6647 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6648 variable `header-beg'; use `let'.
6649
6650 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6651 `restart', `last-sexp' and `at-do'.
6652
6653 * progmodes/js.el (js--debug): Mark unused parameter.
6654 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6655 (js--splice-into-items): Remove unused variable `item'.
6656 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6657
6658 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6659 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6660 (makefile-complete): Remove unused variable `try'.
6661 (makefile-fill-paragraph, makefile-match-function-end):
6662 Mark unused parameters.
6663
6664 * progmodes/octave-inf.el (inferior-octave-complete):
6665 Remove unused variable `proc'.
6666 (inferior-octave-output-digest): Mark unused parameter.
6667
6668 * progmodes/perl-mode.el (perl-calculate-indent):
6669 Remove unused variable `err'.
6670
6671 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6672 (prolog-indent-line): Mark unused parameters.
6673 (prolog-indent-line): Remove unused variable `beg'.
6674
6675 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6676 (reporter-dont-compact-list): Declare.
6677
6678 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6679 Remove unused variable `char'.
6680 (sh-debug): Mark unused parameter.
6681 (sh-get-indent-info): Remove unused variable `start'.
6682 (sh-calculate-indent): Remove unused variable `var'.
6683
6684 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6685 (simula-electric-keyword): Remove unused variable `null'.
6686 (simula-search-backward, simula-search-forward): Remove unused
6687 variables `begin' and `end'.
6688
6689 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6690 Remove unused variable `pos'.
6691 (vera-electric-tab, vera-comment-uncomment-region):
6692 Mark unused parameters.
6693 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6694
7ede3b65
CY
66952011-04-22 Chong Yidong <cyd@stupidchicken.com>
6696
6697 * emacs-lisp/package.el (package--builtins, package-alist)
6698 (package-load-descriptor, package-built-in-p, package-activate)
6699 (define-package, package-installed-p)
6700 (package-compute-transaction, package-buffer-info)
6701 (package--push): Doc fix. Distinguish more clearly between
6702 version strings and version lists.
6703
121656e9
JB
67042011-04-21 Juanma Barranquero <lekktu@gmail.com>
6705
6706 Lexical-binding cleanup.
6707
6708 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6709 (5x5-make-mutate-best):
6710 * play/fortune.el (fortune-in-buffer):
6711 * play/gomoku.el (gomoku-init-display):
6712 * play/solitaire.el (solitaire, solitaire-do-check):
6713 * play/tetris.el (tetris-default-update-speed-function):
6714 Mark unused parameters.
6715
6716 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6717 (bubbles--shift): Remove unused variable `char-org'.
6718 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6719 (bubbles--show-images): Remove unused variable `char'.
6720
6721 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6722 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6723 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6724 (decipher-analyze-buffer): Use ?\s.
6725 (decipher-make-checkpoint): Remove unused variable `mapping'.
6726
6727 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6728
6729 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6730 Remove unused variable `result'; use `let'.
6731
6732 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6733 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6734 (gametree-children-shown-p, gametree-compute-reduced-score):
6735 Use `ignore-errors'.
6736
6737 * play/handwrite.el (ps-lpr-switches): Declare.
6738 (handwrite): Remove unused variables `pmin' and `lastp'.
6739
6740 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6741
6742 * play/landmark.el (landmark-init-display)
6743 (landmark-update-naught-weights): Mark unused parameters.
6744 (landmark-y): Remove unused variable `noise'. Simplify.
6745 (landmark-human-plays): Remove unused variable `score'.
6746
6747 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6748 (mpuz-try-proposal): Remove unused variable `game'.
6749
6750 * play/zone.el (life-patterns): Declare.
6751
80f499c7
JB
67522011-04-20 Juanma Barranquero <lekktu@gmail.com>
6753
6754 * vc/vc.el (ediff-vc-internal): Declare function.
6755
024ff170
SM
67562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6757
c0a193ea
SM
6758 * shell.el: Use lexical-binding and std completion UI.
6759 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6760 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6761 comint-preoutput-filter-functions rather than on
6762 comint-output-filter-functions.
6763 (shell-command-completion, shell--command-completion-data)
6764 (shell-filename-completion, shell-environment-variable-completion)
6765 (shell-c-a-p-replace-by-expanded-directory): New functions.
6766 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6767 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6768 (shell-dynamic-complete-environment-variable): Use them.
6769 (shell-dynamic-complete-as-environment-variable)
6770 (shell-dynamic-complete-as-command): Remove.
6771 (shell-match-partial-variable): Match past point.
6772 * comint.el: Clean up use of completion-at-point-functions.
6773 (comint-completion-at-point): New function.
6774 (comint-mode): Use it completion-at-point-functions.
6775 (comint-dynamic-complete): Make it obsolete.
6776 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6777 (comint-c-a-p-replace-by-expanded-history): New function.
6778 (comint-dynamic-complete-functions)
6779 (comint-replace-by-expanded-history): Use it.
6780 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6781 termination strings. Try harder to avoid second try-completion.
6782 (completion-in-region-mode-map): Disable bindings that don't work yet.
6783
2dbaa080
SM
6784 * comint.el: Use lexical-binding. Require CL.
6785 (comint-dynamic-complete-functions): Use comint-filename-completion.
6786 (comint-completion-addsuffix): Tweak custom type.
6787 (comint-filename-completion, comint--common-suffix)
6788 (comint--common-quoted-suffix, comint--table-subvert)
6789 (comint--complete-file-name-data): New functions.
6790 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6791 (comint-dynamic-list-filename-completions): Use them.
6792 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6793
2dbaa080
SM
6794 * minibuffer.el (completion-in-region-mode):
6795 Keep completion-in-region-mode--predicate global.
6796 (completion-in-region--postch):
6797 Assume completion-in-region-mode--predicate is not null.
6798
c79a6f38
SM
6799 * progmodes/flymake.el (flymake-start-syntax-check-process):
6800 Obey `dir'. Simplify.
6801
024ff170
SM
6802 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6803 we're in VC after all.
6804
1c6c854e
CS
68052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6806
6807 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6808 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6809 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6810
bed7f140
SM
68112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6812
332e62ab
SM
6813 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6814 add sanity check.
6815
bed7f140
SM
6816 * obsolete/erc-hecomplete.el: Make obsolete.
6817 * obsolete/: Standardize obsolescence info in the header.
6818
f195c582
GM
68192011-04-20 Glenn Morris <rgm@gnu.org>
6820
6821 * calendar/solar.el (solar-horizontal-coordinates):
6822 Use the longitude argument rather than `calendar-longitude'.
6823 (solar-date-next-longitude): Remove unused locals.
6824
cb79b8c0
VJL
68252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6826
6827 * whitespace.el: New version 13.2.1.
6828
68292011-04-20 felix <EmacsWiki> (tiny change)
6830
d8e4b68b 6831 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6832 switching between major modes on a file.
6833
602ea69d
SM
68342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6837 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6838 multi-line comments as well.
6839
06b60517
JB
68402011-04-19 Juanma Barranquero <lekktu@gmail.com>
6841
6842 Lexical-binding cleanup.
6843
6844 * arc-mode.el (archive-mode-revert):
6845 * cmuscheme.el (scheme-interactively-start-process):
6846 * custom.el (custom-initialize-delay):
6847 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6848 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6849 * emacs-lock.el (emacs-lock-clear-sentinel):
6850 * ezimage.el (defezimage):
6851 * follow.el (follow-avoid-tail-recenter):
6852 * fringe.el (set-fringe-mode-1):
6853 * generic-x.el (bat-generic-mode-compile):
6854 * help-mode.el (help-info-variable, help-do-xref)
6855 (help-mode-revert-buffer):
6856 * help.el (view-emacs-todo):
6857 * iswitchb.el (iswitchb-completion-help):
6858 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6859 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6860 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6861 * locate.el (locate-update):
6862 * longlines.el (longlines-encode-region)
6863 (longlines-after-change-function):
6864 * outline.el (outline-isearch-open-invisible):
6865 * ps-def.el (declare-function, charset-dimension, char-width)
6866 (encode-char):
6867 * ps-mule.el (ps-mule-plot-string):
6868 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6869 (recentf-edit-list-select, recentf-edit-list-validate)
6870 (recentf-open-files-action):
6871 * rect.el (delete-whitespace-rectangle-line)
6872 (rectangle-number-line-callback):
6873 * register.el (window-configuration-to-register)
6874 (frame-configuration-to-register):
6875 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6876 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6877 (xselect-convert-to-targets, xselect-convert-to-delete)
6878 (xselect-convert-to-filename, xselect-convert-to-charpos)
6879 (xselect-convert-to-lineno, xselect-convert-to-colno)
6880 (xselect-convert-to-os, xselect-convert-to-host)
6881 (xselect-convert-to-user, xselect-convert-to-class)
6882 (xselect-convert-to-name, xselect-convert-to-integer)
6883 (xselect-convert-to-atom, xselect-convert-to-identity):
6884 * subr.el (declare, ignore, process-kill-without-query)
6885 (text-clone-maintain):
6886 * terminal.el (te-get-char, te-tic-sentinel):
6887 * tool-bar.el (tool-bar-make-keymap):
6888 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6889 * type-break.el (type-break-mode, type-break-noninteractive-query):
6890 * view.el (View-back-to-mark):
6891 * wid-browse.el (widget-browse-action, widget-browse-widget)
6892 (widget-browse-widgets, widget-browse-sexp):
6893 * widget.el (define-widget-keywords):
6894 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6895 Mark unused parameters.
6896
6897 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6898 (align-areas): Remove unused variable `look'.
6899 (align-region): Remove unused variables `real-end' and `pos-list'.
6900
6901 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6902
6903 * bindings.el (mode-line-modified, mode-line-remote):
6904 Mark unused parameters.
6905 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6906
6907 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6908 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6909
6910 * comint.el (comint-history-isearch-pop-state)
6911 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6912 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6913 (comint-substitute-in-file-name): Doc fix.
6914
6915 * completion.el (cmpl-statistics-block): Mark unused parameter.
6916 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6917 (save-completions-to-file, load-completions-from-file):
6918 Remove unused local variable `e'.
6919
6920 * composite.el (compose-chars): Remove unused variable `len'.
6921 (lgstring-insert-glyph): Remove unused variable `g'.
6922 (compose-glyph-string): Remove unused variables `ascent',
6923 `descent', `lbearing' and `rbearing'.
6924 (compose-glyph-string-relative): Remove unused variables
6925 `lbearing', `rbearing' and `wadjust'.
6926 (compose-gstring-for-graphic): Remove unused variables `header',
6927 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6928 (compose-gstring-for-terminal): Remove unused variables `header'
6929 and `nchars'. Use `let', not `let*'.
6930
6931 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6932 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6933 (Custom-buffer-done, custom-buffer-create-internal)
6934 (custom-browse-visibility-action, custom-browse-group-tag-action)
6935 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6936 (widget-magic-mouse-down-action, custom-toggle-parent)
6937 (custom-add-parent-links, custom-toggle-hide-variable)
6938 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6939 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6940 (custom-face-menu-create, custom-variable-menu-create, get)
6941 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6942 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6943 (customize-apropos): Remove unused variable `tests'.
6944 (custom-group-value-create): Remove unused variable `hidden-p'.
6945 (sort-fold-case): Declare.
6946
6947 * cus-theme.el (custom-reset-standard-faces-list)
6948 (custom-reset-standard-variables-list): Declare.
6949 (customize-create-theme, custom-theme-revert, custom-theme-write)
6950 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6951 Mark unused parameters.
6952
6953 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6954
6955 * delim-col.el (delimit-columns-max): Move defvar before first use.
6956
6957 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6958 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6959
6960 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6961 (auto-insert): Declare.
6962 (desktop-restore-file-buffer): Rename desktop-* parameters;
6963 mark unused ones.
6964 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6965 (desktop-buffer): Rename desktop-* parameters.
6966
6967 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6968 (dframe-reposition-frame-xemacs, dframe-help-echo)
6969 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6970 Mark unused parameters.
6971
6972 * dired-aux.el (backup-extract-version-start, overwrite-query)
6973 (overwrite-backup-query, rename-regexp-query)
6974 (rename-non-directory-query): Declare.
6975 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6976 (dired-add-entry): Remove unused variable `orig-file-name'.
6977 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6978 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6979 `dired-copy-preserve-time' directly.
6980 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6981 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6982
6983 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6984 (dired-virtual-revert, dired-make-relative-symlink):
6985 Mark unused parameters.
6986 (manual-program): Declare.
6987 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6988 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6989 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6990
6991 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6992
6993 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6994
6995 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6996 Declare.
6997
6998 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6999
7000 * electric.el (Electric-command-loop): Rename parameter
7001 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7002
7003 * expand.el (expand-in-literal): Remove unused variable `here'.
7004
7005 * facemenu.el (facemenu-add-new-color):
7006 Remove unused variable `docstring'.
7007
7008 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7009 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7010 (face-attr-construct): Mark unused parameter. Doc fix.
7011 (read-color): Remove unused variable `hex-string'.
7012
7013 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7014 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7015 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7016 (display-buffer-other-frame): Remove unused variable `old-window'.
7017 (kill-buffer-hook): Declare.
7018 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7019 Mark unused parameters.
7020 (after-find-file): Pass 1 to `auto-save-mode', not t.
7021
7022 * files-x.el (auto-insert): Declare.
7023 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7024
7025 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7026 variable `buf'. Mark unused parameter.
06b60517
JB
7027 (find-lisp-insert-directory): Mark unused parameter.
7028
7029 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7030 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7031 (format-common-tail): Remove, unused.
7032 (format-deannotate-region): Remove unused variable `loc'.
7033 (format-annotate-region): Remove unused variable `p'.
7034 (format-annotate-single-property-change): Remove unused variables
7035 `default' and `tail'.
7036
7037 * forms.el (read-file-filter): Declare.
7038 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7039
7040 * frame.el (frame-creation-function-alist): Mark unused parameter.
7041 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7042
7043 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7044 Remove unused parameters.
7045 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7046 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7047
7048 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7049 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7050 (hfy-prepare-tag-map): Mark unused parameters.
7051 (htmlfontify-buffer): Use `called-interactively-p'.
7052
7053 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7054 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7055 (ibuffer-do-occur): Mark unused parameters.
7056 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7057 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7058
7059 * ibuffer.el: Don't quote `lambda'.
7060 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7061 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7062 Mark unused parameters.
7063
7064 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7065 (ido-completing-read): Mark unused parameters.
7066 (ido-copy-current-word): Mark unused parameters;
7067 remove unused variable `name'.
7068 (ido-sort-merged-list): Remove unused parameter `dirs'.
7069
7070 * ielm.el (ielm-input-sender): Mark unused parameter.
7071 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7072 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7073 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7074 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7075 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7076
7077 * image-dired.el (image-dired-display-thumbs): Remove unused
7078 variables `curr-file' and `count'.
7079 (image-dired-remove-tag): Remove unused variable `start'.
7080 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7081 variable `curr-file'
7082 (image-dired-rotate-original): Remove unused variable `temp-file'.
7083 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7084 Remove unused variable `file'.
7085 (image-dired-gallery-generate): Remove unused variable `curr'.
7086 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7087
7088 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7089
7090 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7091
7092 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7093
7094 * isearch.el (minibuffer-history-symbol): Declare.
7095 (isearch-edit-string): Remove unused variable `err'.
7096 (isearch-message-prefix, isearch-message-suffix):
7097 Mark unused parameters.
7098
7099 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7100
7101 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7102
7103 * makesum.el (double-column): Remove unused variable `cnt'.
7104
7105 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7106 (ido-ignore-item-temp-list): Declare.
7107
7108 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7109 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7110 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7111 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7112 `mouse-col-delta'.
7113
7114 * mouse-sel.el (mouse-extend-internal):
7115 Remove unused variable `orig-window-frame'.
7116
7117 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7118 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7119 Move declarations before first use.
7120 (pcomplete-opt): Mark unused parameters; doc fix.
7121
7122 * proced.el (proced-revert): Mark unused parameter.
7123 (proced-send-signal): Remove unused variable `err'.
7124
7125 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7126 Rename parameter PREFIX-ARG to ARG.
7127 (ps-basic-plot-string, ps-basic-plot-whitespace):
7128 Mark unused parameters.
7129
7130 * replace.el (replace-count): Define.
7131 (occur-revert-function): Mark unused parameters.
7132 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7133 (isearch-case-fold-search, isearch-string): Declare.
7134 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7135 bind `case-fold-search'. Remove unused variables `beg' and `end',
7136 and simplify.
7137 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7138 COUNT and bind `replace-count'.
7139 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7140 to COUNT.
7141
7142 * savehist.el (print-readably, print-string-length): Declare.
7143
7144 * shadowfile.el (shadow-expand-cluster-in-file-name):
7145 Remove unused variable `cluster'.
7146 (shadow-copy-file): Remove unused variable `i'.
7147 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7148 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7149 (shadow-define-literal-group, shadow-define-regexp-group)
7150 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7151
7152 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7153 (shell): Use `called-interactively-p'.
7154 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7155
7156 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7157 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7158 (delete-backward-char): Remove unused variable `ocol'.
7159 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7160 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7161 (event-apply-hyper-modifier, event-apply-shift-modifier)
7162 (event-apply-control-modifier, event-apply-meta-modifier):
7163 Mark unused parameters.
7164 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7165 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7166
7167 * speedbar.el (speedbar-ignored-directory-expressions)
7168 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7169 (speedbar-find-file, speedbar-dir-follow)
7170 (speedbar-directory-buttons-follow, speedbar-tag-find)
7171 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7172 (speedbar-buffers-line-directory, speedbar-buffer-click):
7173 Mark unused parameters.
7174 (speedbar-tag-file): Remove unused variable `mode'.
7175 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7176
7177 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7178
7179 * talk.el (talk): Remove unused variable `display'.
7180
7181 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7182 (tar-write-region-annotate): Mark unused parameter.
7183
7184 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7185 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7186 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7187 warning by another.
7188
7189 * time-stamp.el (time-stamp-string-preprocess):
7190 Remove unused variable `require-padding'.
7191
7192 * tree-widget.el (widget-glyph-enable): Declare.
7193 (tree-widget-action): Mark unused parameter.
7194
7195 * w32-fns.el (x-get-selection): Mark unused parameter.
7196 (autoload-make-program, generated-autoload-file): Declare.
7197
7198 * wdired.el (wdired-revert): Mark unused parameters.
7199 (wdired-xcase-word): Remove unused variable `err'.
7200
7201 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7202 (whitespace-help-scroll): Remove unused variable `data-help'.
7203
7204 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7205 (widget-image-insert, widget-after-change, default)
7206 (widget-default-format-handler, widget-default-notify)
7207 (widget-default-prompt-value, widget-info-link-action)
7208 (widget-url-link-action, widget-function-link-action)
7209 (widget-variable-link-action, widget-file-link-action)
7210 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7211 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7212 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7213 (widget-insert-button-action, widget-delete-button-action, visibility)
7214 (widget-documentation-link-action, widget-documentation-string-action)
7215 (widget-const-prompt-value, widget-regexp-match, symbol)
7216 (widget-coding-system-prompt-value)
7217 (widget-key-sequence-value-to-external, sexp)
7218 (widget-sexp-value-to-internal, character, vector, cons)
7219 (widget-choice-prompt-value, widget-boolean-prompt-value)
7220 (widget-color--choose-action): Mark unused parameters.
7221 (widget-item-match-inline, widget-choice-match-inline)
7222 (widget-checklist-match, widget-checklist-match-inline)
7223 (widget-group-match): Rename parameter VALUES to VALS.
7224 (widget-field-value-set): Remove unused variable `size'.
7225 (widget-color-action): Remove unused variables `value' and `start'.
7226
7227 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7228 variable `dir'. Doc fix.
06b60517
JB
7229 (windmove-find-other-window): Don't pass it.
7230
7231 * window.el (count-windows): Mark unused parameter.
7232 (bw-adjust-window): Remove unused variable `err'.
7233
7234 * woman.el (woman-file-name): Remove unused variable `default'.
7235 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7236 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7237 (global-font-lock-mode): Declare.
7238 (woman-decode-region): Mark unused parameter.
7239 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7240
7241 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7242 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7243 (x-dnd-handle-moz-url): Remove unused variable `title'.
7244 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7245
7246 * xml.el (xml-parse-tag, xml-parse-attlist):
7247 Remove unused variable `pos'.
7248
bc4f7f3d
GM
72492011-04-19 Glenn Morris <rgm@gnu.org>
7250
7251 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7252 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7253 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7254 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7255 * calendar/cal-html.el (cal-html-insert-minical):
7256 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7257 (calendar-mark-date-pattern):
7258 Prefix "unused" locals.
7259
7260 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7261 optional argument `style'.
7262
7263 * calendar/appt.el (appt-make-list):
7264 * calendar/cal-china.el (calendar-chinese-date-string):
7265 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7266 (diary-hebrew-yahrzeit):
7267 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7268 * calendar/calendar.el (calendar-generate-window):
7269 * calendar/time-date.el (time-to-days):
7270 Remove unused local variables.
7271
16a43933
CY
72722011-04-18 Chong Yidong <cyd@stupidchicken.com>
7273
7274 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7275 glyphless-char-display table.
7276 (tabulated-list-glyphless-char-display): New var.
7277
7eed1860
SS
72782011-04-18 Sam Steingold <sds@gnu.org>
7279
7280 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7281 to acknowledgments.
7282
4d2d1ccd
GM
72832011-04-17 Glenn Morris <rgm@gnu.org>
7284
7285 * calendar/diary-lib.el (diary-sexp-entry):
7286 * calendar/holidays.el (holiday-sexp):
7287 Set debug-on-error rather than the removed stack-trace-on-error.
7288
239da61d
GM
72892011-04-16 Glenn Morris <rgm@gnu.org>
7290
7291 * progmodes/f90.el: Use lexical-binding.
7292 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7293
8b05752a
SM
72942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7295
daca8ba5
SM
7296 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7297 (mail-mode): Setup mailalias completion here instead.
7298 * mail/mailalias.el: Use lexical-binding.
7299 (pattern, mailalias-done): Declare dynamic.
7300 (mail-completion-at-point-function): New function, from mail-complete.
7301 (mail-complete): Use it.
7302 (mail-completion-expand): New function.
7303 (mail-get-names): Use it.
7304 (mail-directory, mail-directory-process, mail-directory-stream):
7305 Don't use `pattern' for lexically bound arg.
7306
6f542485
SM
7307 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7308
037e7c3f
SM
7309 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7310 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7311 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7312
8b05752a
SM
7313 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7314 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7315 (byte-interactive-p): Define them again, for use when inlining
7316 old code.
7317
49093f60
JB
73182011-04-15 Juanma Barranquero <lekktu@gmail.com>
7319
7320 * loadup.el: Use `string-to-number', not `string-to-int'.
7321
b5b8e7de
SM
73222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7325 gud-gdb-complete-command.
7326 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7327 (gud-gdb-completion-at-point): New function.
7328 (gud-gdb-completions): Remove.
7329
f42efeb5
MA
73302011-04-14 Michael Albinus <michael.albinus@gmx.de>
7331
49093f60
JB
7332 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7333 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7334 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7335 whether `executable-find' is bound.
f42efeb5
MA
7336
7337 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7338
e240cc21
SM
73392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * minibuffer.el (completion-in-region-mode-predicate)
7342 (completion-in-region-mode--predicate): New vars.
7343 (completion-in-region, completion-in-region--postch)
7344 (completion-in-region-mode): Use them.
7345 (completion--capf-wrapper): Also return the hook function.
7346 (completion-at-point, completion-help-at-point):
7347 Adjust and provide a predicate.
c2bd2ab0
SM
7348
7349 Preserve arg names for advice of subr and lexical functions (bug#8457).
7350 * help-fns.el (help-function-arglist): Consolidate the subr and
7351 new-byte-code cases. Add argument `preserve-names' to extract names
7352 from the docstring when needed.
7353 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7354 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7355 (ad-arglist): Use help-function-arglist's new arg.
7356 (ad-definition-type): Use cond.
7357
c183f693
JB
73582011-04-13 Juanma Barranquero <lekktu@gmail.com>
7359
06641a47
JB
7360 * autorevert.el (auto-revert-handler):
7361 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7362 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7363 Don't quote lambda.
7364
c183f693
JB
7365 * image-mode.el (image-transform-set-scale):
7366 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7367
1e3b6001
G
73682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369
7370 * net/network-stream.el (network-stream-open-starttls): Only do
7371 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7372 Upgrades via gnutls-cli are too slow to be done opportunistically.
7373
2d6af8dd
JB
73742011-04-12 Juanma Barranquero <lekktu@gmail.com>
7375
7376 * dframe.el (dframe-current-frame): Remove spurious quote.
7377
c0749a51
GM
73782011-04-12 Glenn Morris <rgm@gnu.org>
7379
088d0d61
GM
7380 * calendar/cal-tex.el (cal-tex-end-document):
7381 Try to automatically use latin1 input if needed.
7382
c0749a51
GM
7383 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7384 Don't try to cons a mark onto an empty element.
7385
5c90fde0
LL
73862011-04-11 Leo Liu <sdl.web@gmail.com>
7387
7388 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7389 buffers.
7390 (ido-kill-buffer-at-head): Support killing virtual buffers.
7391
369e974d
CY
73922011-04-10 Chong Yidong <cyd@stupidchicken.com>
7393
7394 * minibuffer.el (completion-show-inline-help): New var.
7395 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7396 (minibuffer-force-complete, minibuffer-complete-word):
7397 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7398
7399 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7400 to avoid interference from inline help (Bug#5849).
7401
37f1c930
LL
74022011-04-10 Leo Liu <sdl.web@gmail.com>
7403
099c39a4
JB
7404 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7405 Fix typo.
37f1c930 7406
a32d4040
CY
74072011-04-09 Chong Yidong <cyd@stupidchicken.com>
7408
7409 * image-mode.el (image-toggle-display-image): Signal an error if
7410 not in Image mode.
7411 (image-transform-mode, image-transform-resize)
7412 (image-transform-set-rotation): Doc fix.
daca8ba5 7413 (image-transform-set-resize): Delete.
a32d4040
CY
7414 (image-transform-set-scale, image-transform-fit-to-height)
7415 (image-transform-fit-to-width): Handle image-toggle-display-image
7416 and image-transform-resize directly.
7417
099c39a4 74182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7419
7420 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7421 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7422 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7423 (doc-view-mode-map): Add bindings for the new functions.
7424
099c39a4 74252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7426
4d61f28d 7427 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7428 Fix typo in docstring.
7429
3726838a
EZ
74302011-04-08 Eli Zaretskii <eliz@gnu.org>
7431
04f33f1e
EZ
7432 * files.el (file-size-human-readable): Produce one digit after
7433 decimal, like "ls -lh" does.
7434
7435 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7436 the file size representation.
7437
3726838a
EZ
7438 * simple.el (list-processes): If async subprocesses are not
7439 available, error out with a clear error message.
7440
cbb59342
CY
74412011-04-08 Chong Yidong <cyd@stupidchicken.com>
7442
7443 * help.el (help-form-show): New function, to be called from C.
7444 Put help-form output in a buffer named differently than *Help*.
7445
e3971c44
EZ
74462011-04-08 Eli Zaretskii <eliz@gnu.org>
7447
7448 * files.el (file-size-human-readable): New function.
7449
7450 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7451 computing the representation inline. Don't require `cl'.
7452
12544bbe
GM
74532011-04-08 Glenn Morris <rgm@gnu.org>
7454
a1de6c6a
GM
7455 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7456
3c4671f4
GM
7457 * net/browse-url.el (browse-url-firefox):
7458 Test system-type, not system-configuration.
7459
b605679c
GM
7460 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7461 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7462 Use log-edit-empty-buffer-p. (Bug#7598)
7463
56442f0c
GM
7464 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7465 (rlogin-mode-map): Initialize in the defvar.
7466 (rlogin): Use ignore-errors.
7467
12544bbe
GM
7468 * replace.el (occur-mode-map): Some fixes for menu items.
7469
eb237b0f
AH
74702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7471
7472 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7473
7d668f2c
CY
74742011-04-06 Chong Yidong <cyd@stupidchicken.com>
7475
e67a13ab
CY
7476 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7477 issuing unused warnings.
7478
7479 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7480 macro directly.
7481
7d668f2c
CY
7482 * simple.el: Lisp reimplement of list-processes. Based on an
7483 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7484 (process-menu-mode): New major mode.
7485 (list-processes--refresh, list-processes):
7486 (process-menu-visit-buffer): New functions.
7487
7488 * files.el (save-buffers-kill-emacs): Don't assume any return
7489 value of list-processes, which is undocumented anyway.
7490
a83ec3c9
CY
74912011-04-06 Chong Yidong <cyd@stupidchicken.com>
7492
7493 * emacs-lisp/tabulated-list.el: New file.
7494
e91a96fe
CY
7495 * emacs-lisp/package.el: Use Tabulated List mode.
7496 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7497 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7498 table format using Tabulated List mode variables.
7499 (package--push): New macro, replacing package-list-maybe-add.
7500 (package-menu--generate): Use package--push. Renamed from
7501 package--generate-package-list.
7502 (package-menu-refresh, list-packages): Use it.
daca8ba5 7503 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7504 Return insertion data instead of inserting it directly.
099c39a4
JB
7505 (package-menu-describe-package, package-menu-execute):
7506 Use tabulated-list-get-id.
e91a96fe
CY
7507 (package-menu-mark-delete, package-menu-mark-install)
7508 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7509 (package-menu-mark-obsolete-for-deletion):
7510 Use tabulated-list-put-tag.
e91a96fe
CY
7511 (package--list-packages, package-menu-revert)
7512 (package-menu-get-package, package-menu-get-version)
7513 (package-menu-sort-by-column): Functions deleted.
7514 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7515 (package-menu--status-predicate, package-menu--version-predicate)
7516 (package-menu--name-predicate)
7517 (package-menu--description-predicate): Handle arguments in the
7518 Tabulated List format.
7519 (package-list-packages-no-fetch): Call list-packages.
7520
3e214b50
JB
75212011-04-06 Juanma Barranquero <lekktu@gmail.com>
7522
7523 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7524 (after-find-file): Don't bind it.
3e214b50
JB
7525 (revert-buffer-in-progress-p): New variable.
7526 (revert-buffer): Bind it.
7527 Pass nil for `after-find-file-from-revert-buffer'.
7528
7529 * saveplace.el (save-place-find-file-hook): Use new variable
7530 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7531
3f0f1700
GM
75322011-04-06 Glenn Morris <rgm@gnu.org>
7533
c0274801
GM
7534 * Makefile.in (AUTOGEN_VCS): New variable.
7535 (autoloads): Use $AUTOGEN_VCS.
7536
3f0f1700
GM
7537 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7538 * calendar/calendar.el (calendar-mode-map):
7539 Check for toolkit scroll bars. (Bug#8305)
7540
41ea9e48
CY
75412011-04-05 Chong Yidong <cyd@stupidchicken.com>
7542
7543 * minibuffer.el (completion-in-region--postch)
7544 (completion-in-region-mode): Remove unnecessary messages.
7545
6194c800
JB
75462011-04-05 Juanma Barranquero <lekktu@gmail.com>
7547
33256f14
JB
7548 * font-lock.el (font-lock-refresh-defaults):
7549 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7550 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7551
6194c800
JB
7552 * info.el (Info-directory-list, Info-read-node-name-2)
7553 (Info-split-parameter-string): Doc fixes.
7554 (Info-virtual-nodes): Reflow docstring.
7555 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7556 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7557 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7558 Fix typos in docstrings.
7559 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7560 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7561 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7562 (Info-restore-desktop-buffer): Mark unused parameters.
7563 (Info-directory-find-file, Info-directory-find-node)
7564 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7565 (Info-virtual-index-find-node, Info-apropos-find-file)
7566 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7567 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7568 (Info-virtual-index): Remove unused local variable `nodename'.
7569
b87a8200 75702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7571
b87a8200
DD
7572 * net/rcirc.el: Update my e-mail address.
7573 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7574
3b2ff876
CY
75752011-04-05 Chong Yidong <cyd@stupidchicken.com>
7576
7577 * startup.el (command-line): Save the cursor's theme-face
7578 directly, instead of using face-override-spec.
7579
7580 * custom.el (load-theme): Minor optimization in assigning faces.
7581
8d17e7ca
JB
75822011-04-04 Juanma Barranquero <lekktu@gmail.com>
7583
7584 * help-fns.el (describe-variable): Complete all variables having
7585 documentation, including keywords.
7586 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7587
2fbc1934
JB
75882011-04-04 Juanma Barranquero <lekktu@gmail.com>
7589
7590 Convert to lexical-binding.
7591
7592 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7593 (bs--get-marked-string, bs--get-modified-string)
7594 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7595 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7596 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7597
7598 * ehelp.el (electric-help-execute-extended)
7599 (electric-help-ctrl-x-prefix):
7600 * hexl.el (hexl-revert-buffer-function):
7601 * linum.el (linum-after-change, linum-after-scroll):
7602 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7603
7604 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7605
74f50695
DU
76062011-04-04 Daiki Ueno <ueno@unixuser.org>
7607
7608 * epa-dired.el:
7609 * epa-mail.el:
7610 * epa-hook.el:
7611 * epa-file.el:
7612 * epa.el:
7613 * epg.el: Use lexical binding.
7614
c11325f7
CY
76152011-04-03 Chong Yidong <cyd@stupidchicken.com>
7616
0d9e9a12
CY
7617 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7618
c11325f7 7619 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7620 dictionary case for flyspell-mark-duplications-exceptions.
7621 Use regexp matching for languages.
c11325f7
CY
7622 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7623 default dictionary (Bug#7926).
7624
da91b5f2
CY
76252011-04-02 Chong Yidong <cyd@stupidchicken.com>
7626
099c39a4
JB
7627 * emacs-lisp/package.el (package--with-work-buffer):
7628 Recognize https URLs.
da91b5f2 7629
099c39a4
JB
7630 * net/network-stream.el: Move from gnus/proto-stream.el.
7631 Change prefix to network-stream throughout.
da91b5f2
CY
7632 (open-protocol-stream): Merge into open-network-stream, leaving
7633 open-protocol-stream as an alias. Handle nil BUFFER args.
7634
7635 * subr.el (open-network-stream): Move to net/network-stream.el.
7636
afa8e9f6
GM
76372011-04-02 Glenn Morris <rgm@gnu.org>
7638
1d2e369d
GM
7639 * find-dired.el (find-exec-terminator): New option.
7640 (find-ls-option): Test for -ls support.
7641 (find-ls-subdir-switches): Test for -b in find-ls-option.
7642 (find-dired, find-grep-dired): Doc fixes.
7643 (find-dired): Use find-exec-terminator.
7644
8abb7da8 7645 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7646 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7647 (find-name-arg): Remove purecopy.
8abb7da8 7648
f3ca7378
GM
7649 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7650 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7651 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7652 accordingly. Don't add the null-device if not needed.
7653
afa8e9f6
GM
7654 * files.el (save-some-buffers): Doc fix.
7655
35eae264
EZ
76562011-04-02 Eli Zaretskii <eliz@gnu.org>
7657
7658 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7659
26b51db5
JB
76602011-04-01 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7663 Use `dolist' rather than `mapcar'.
7664
7200d79c
SM
76652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7666
03408648 7667 Add lexical binding.
7200d79c 7668
03408648
SM
7669 * subr.el (apply-partially): Use new closures rather than CL.
7670 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7671 (dolist, dotimes): Use slightly different expansion for lexical code.
7672 (functionp): Move to C.
7673 (letrec): New macro.
7674 (with-wrapper-hook): Use it and apply-partially instead of CL.
7675 (eval-after-load): Preserve lexical-binding.
7676 (save-window-excursion, with-output-to-temp-buffer): Turn them
7677 into macros.
7200d79c 7678
03408648
SM
7679 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7680
7681 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7682 than the arglist.
7683 (help-add-fundoc-usage): Don't add `Not documented'.
7684 (help-function-arglist): Handle closures, subroutines, and new
7685 byte-code-functions.
7686 (help-make-usage): Remove leading underscores.
7687 (describe-function-1): Handle closures.
7688 (describe-variable): Use special-variable-p for completion.
7689
7690 * files.el (lexical-binding): Declare safe.
f488fb65 7691
03408648
SM
7692 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7693 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7694 (pcase): Add `let' pattern.
7695 Change memoization so it actually works.
7696 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7697 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7698 <let>: New case.
f488fb65 7699
03408648
SM
7700 * emacs-lisp/macroexp.el: Use lexical binding.
7701 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7702 Don't convert ' to #' without checking that it's indeed quoting
7703 a lambda.
7704
7705 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7706 Use eval-sexp-add-defvars.
03408648
SM
7707 (eval-sexp-add-defvars): New fun.
7708
7709 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7710
7711 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7712 Don't autoload.
7713 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7714 than the internal `byte-compile-lambda'.
7715 (defmethod): Don't hide code under quotes.
7716 (eieio-defmethod): New `code' argument.
7717
7718 * emacs-lisp/eieio-comp.el: Remove.
7719
7720 * emacs-lisp/edebug.el (edebug-eval-defun)
7721 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7722 (edebug-toggle): Avoid `eval'.
7723
7724 * emacs-lisp/disass.el (disassemble-internal): Handle new
7725 `closure' objects.
7726 (disassemble-1): Handle new byte codes.
7727
7728 * emacs-lisp/cl.el (pushnew): Silence warning.
7729
7730 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7731 (cl-byte-compile-throw): Remove.
7732 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7733
7734 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7735 closures.
7736
7737 * emacs-lisp/cconv.el: New file.
7738
7739 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7740 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7741 (byte-compile-initial-macro-environment):
7742 Handle declare-function here.
7743 (byte-compile--lexical-environment): New var.
7744 (byte-stack-ref, byte-stack-set, byte-discardN)
7745 (byte-discardN-preserve-tos): New lap codes.
7746 (byte-interactive-p): Don't use any more.
7747 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7748 New macros.
7749 (byte-compile-lapcode): Use them and handle new lap codes.
7750 (byte-compile-obsolete): Remove.
7751 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7752 (byte-compile-arglist-warn): Check late def of inlinable funs.
7753 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7754 since they should have been expanded by now.
7755 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7756 (byte-compile-from-buffer): Remove unused second arg.
7757 (byte-compile-preprocess): New function.
7758 (byte-compile-toplevel-file-form): New function to distinguish
7759 file-form calls from outside from file-form calls from hunk-handlers.
7760 (byte-compile-file-form): Simplify.
7761 (byte-compile-file-form-defsubst): Remove.
7762 (byte-compile-file-form-defmumble): Simplify now that
7763 byte-compile-lambda always returns a byte-code-function.
7764 (byte-compile): Preprocess.
7765 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7766 Remove, not used any more.
7767 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7768 (byte-compile-make-args-desc): New funs.
7769 (byte-compile-lambda): Handle lexical functions. Always return
7770 a byte-code-function.
7771 (byte-compile-reserved-constants): New var, to make up room for
7772 closed-over variables.
7773 (byte-compile-constants-vector): Obey it.
7774 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7775 (byte-compile-macroexpand-declare-function): New function.
7776 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7777 byte-code-functions.
7778 (byte-compile-form): Check obsolescence here.
7779 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7780 (byte-compile-variable-ref): Remove.
7781 (byte-compile-dynamic-variable-op): New fun.
7782 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7783 (byte-compile-variable-set): New funs.
7784 (byte-compile-discard): Add 2 args.
7785 (byte-compile-stack-ref, byte-compile-stack-set)
7786 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7787 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7788 macroexpand-all instead.
7789 (byte-compile-quote-form): Remove.
7790 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7791 (byte-compile-bind, byte-compile-unbind): New funs.
7792 (byte-compile-let): Handle let* and lexical binding.
7793 (byte-compile-let*): Remove.
7794 (byte-compile-catch, byte-compile-unwind-protect)
7795 (byte-compile-track-mouse, byte-compile-condition-case):
7796 Handle a new :fun-body form, used for lexical scoping.
7797 (byte-compile-save-window-excursion)
7798 (byte-compile-with-output-to-temp-buffer): Remove.
7799 (byte-compile-defun): Simplify.
7800 (byte-compile-stack-adjustment): New fun.
7801 (byte-compile-out): Use it.
7802 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7803
7804 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7805 handler any more.
7806
7807 * emacs-lisp/byte-opt.el: Use lexical binding.
7808 (byte-inline-lapcode): Remove (to bytecomp).
7809 (byte-compile-inline-expand): Pay attention to inlining to/from
7810 lexically bound code.
7811 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7812 any more.
7813 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7814 any more and don't call compiler-macros.
7815 (byte-compile-splice-in-already-compiled-code): Remove.
7816 (byte-code): Don't inline any more.
7817 (disassemble-offset): Receive `bytes' as argument rather than via
7818 dynamic scoping.
7819 (byte-compile-tag-number): Declare before first use.
7820 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7821 `return' even if make-spliceable.
7822 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7823 obsolete interactive-p.
7824 (byte-optimize-lapcode): Optimize new lap-codes.
7825 Don't trip up on new form of `byte-constant' lap code.
7826
7827 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7828
7829 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7830
7831 * custom.el (custom-initialize-default, custom-declare-variable):
7832 Use `defvar'.
7833
7834 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7835 New variables.
7836 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7837 (COMPILE_FIRST): Add macroexp and cconv.
7838 * makefile.w32-in: Mirror changes in Makefile.in.
7839
7840 * vc/cvs-status.el:
7841 * vc/diff-mode.el:
7842 * vc/log-edit.el:
7843 * vc/log-view.el:
7844 * vc/smerge-mode.el:
7845 * textmodes/bibtex-style.el:
7846 * textmodes/css.el:
7847 * startup.el:
7848 * uniquify.el:
da91b5f2
CY
7849 * minibuffer.el:
7850 * newcomment.el:
7851 * reveal.el:
7852 * server.el:
7853 * mpc.el:
7854 * emacs-lisp/smie.el:
7855 * doc-view.el:
7856 * dired.el:
03408648
SM
7857 * abbrev.el: Use lexical binding.
7858
0f0c1f27
EZ
78592011-04-01 Eli Zaretskii <eliz@gnu.org>
7860
7861 * info.el (info-display-manual): New function.
7862
c82b2579
SM
78632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7866
221ddf68
TH
78672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7868
7869 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7870 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7871
cba6e77e
GM
78722011-03-31 Glenn Morris <rgm@gnu.org>
7873
e040639f
GM
7874 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7875
cba6e77e
GM
7876 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7877
6d0f1c9e
CS
78782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7879
7880 * progmodes/python.el (python-default-interpreter)
7881 (python-python-command-args, python-jython-command-args)
7882 (python-which-shell, python-which-args, python-which-bufname)
7883 (python-file-queue, python-comint-output-filter-function)
7884 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7885 variables and functions.
7886
3e2d70fd
SM
78872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7890 (completion-in-region-mode): New minor mode.
7891 (completion-in-region): Use it.
7892 (completion-in-region--data, completion-in-region-mode-map): New vars.
7893 (completion-in-region--postch): New function.
7894 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7895 New vars.
7896 (completion--capf-wrapper): New function.
7897 (completion-at-point): Use it to track well-behavedness of
7898 hook functions.
7899 (completion-help-at-point): New command.
7900
f3e4086c
JM
79012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7902
7903 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7904 syntax class to search for whitespace on a single line
7905 (Message-ID: <4D938140.4030905@redhat.com>).
7906
eb7ffc14
LL
79072011-03-30 Leo Liu <sdl.web@gmail.com>
7908
7909 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7910 New commands.
7911 (edit-abbrevs-map): Bind them here.
7912 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7913
d806ab68
KM
79142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7915
7916 * allout.el (allout-hide-by-annotation, allout-flag-region):
7917 Reduce possibility of overlay leakage by making them volatile.
7918
7919 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7920 hash is not shared between buffers. Mode initialization is
7921 responsible for giving it a useful starting value.
7922 (allout-item-span): Reduce possibility of overlay leakage by
7923 making them volatile.
7924 (allout-widgets-count-buttons-in-region): Add diagnostic function
7925 for tracking down button overlay leaks.
7926
ea622834
LL
79272011-03-29 Leo Liu <sdl.web@gmail.com>
7928
7929 * ido.el (ido-read-internal): Use the default history var
7930 minibuffer-history if no HISTORY is specified.
7931
b62f8267
G
79322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7933
03408648
SM
7934 * net/imap.el (imap-shell-open, imap-process-connection-type):
7935 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7936 Kerberos, SSL, other subprocesses.
7937
947b6566
LL
79382011-03-28 Leo Liu <sdl.web@gmail.com>
7939
7940 * abbrev.el (abbrev-table-empty-p): New function.
7941 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7942 nonempty ones. (Bug#5937)
7943
5ffb62aa
JD
79442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7945
7946 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7947
7a097943
LL
79482011-03-27 Leo Liu <sdl.web@gmail.com>
7949
7950 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7951 for foreground and background colors.
7952 (ansi-color-make-color-map): Adapt.
7953
c5b40130
LL
79542011-03-25 Leo Liu <sdl.web@gmail.com>
7955
1f48f7d2
LL
7956 * midnight.el (midnight-time-float): Remove. Note it calculates
7957 the microsecond component incorrectly and seconds-to-time does the
7958 same job.
625897ec 7959 Remove redundant (require 'timer).
1f48f7d2 7960
c5b40130
LL
7961 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7962 (ido-completions): Remove unused arguments. (Bug#8329)
7963
d86d2721
SM
79642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * minibuffer.el (completion--flush-all-sorted-completions):
7967 Remove itself from hook.
7968 (completion-at-point): Let the functions perform the completion
7969 immediately and return nil or t.
7970 * comint.el (comint-dynamic-complete-functions): Now identical to
7971 completion-at-point-functions.
7972 (comint-dynamic-list-input-ring): Remove unused var `index'.
7973 (comint--match-partial-filename, comint--unquote&expand-filename):
7974 New funs, split from comint-match-partial-filename.
7975 (comint-dynamic-complete): Use completion-at-point.
7976 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7977
e8974c48
DA
79782011-03-24 Drew Adams <drew.adams@oracle.com>
7979
7980 * thingatpt.el: Support `defun'.
7981
def71b5e
LL
79822011-03-23 Leo Liu <sdl.web@gmail.com>
7983
cb5af48e
LL
7984 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7985
def71b5e
LL
7986 * help-mode.el (help-mode-finish): Tweak regexp.
7987
927c53e7
GM
79882011-03-23 Glenn Morris <rgm@gnu.org>
7989
18d05bed
GM
7990 * eshell/esh-opt.el (eshell-eval-using-options):
7991 Do not bind unused local variable `eshell-option-stub'.
7992
927c53e7
GM
7993 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7994
9d0da923
JB
79952011-03-22 Juanma Barranquero <lekktu@gmail.com>
7996
7997 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7998 keymap variable in `with-no-warnings' to avoid a warning when the
7999 keymap has been already `defconst'ed.
8000
4b978a67
LL
80012011-03-22 Leo Liu <sdl.web@gmail.com>
8002
8003 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8004 encode all chars in abbrevs; otherwise use emacs-mule or
8005 utf-8-emacs. (Bug#8308)
8006
5fd62452
JB
80072011-03-22 Juanma Barranquero <lekktu@gmail.com>
8008
0b1596c6
JB
8009 * simple.el (backward-delete-char-untabify):
8010 Avoid warning about using `delete-backward-char'.
8011
5fd62452
JB
8012 * image.el (image-type-file-name-regexps): Make it variable.
8013 `imagemagick-register-types' modifies it, and the user may want
8014 to add new extensions for known image types.
8015 (imagemagick-register-types): Throw error if not using ImageMagick.
8016
0b4e93f1
LL
80172011-03-22 Leo Liu <sdl.web@gmail.com>
8018
8019 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8020 located before rcirc-prompt-end-marker.
8021 (rcirc-complete): Error if point is not after rcirc prompt.
8022 Handle the case when table is nil.
9882e214 8023 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8024
fccee4ab
CY
80252011-03-22 Chong Yidong <cyd@stupidchicken.com>
8026
8027 * custom.el (custom--inhibit-theme-enable): Make it affect only
8028 custom-theme-set-variables and custom-theme-set-faces.
8029 (provide-theme): Ignore custom--inhibit-theme-enable.
8030 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8031 (custom-enabling-themes): Delete variable.
d86d2721
SM
8032 (enable-theme): Accept only loaded themes as arguments.
8033 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8034 (custom-enabled-themes): Forbid themes from setting this.
8035 Eliminate use of custom-enabling-themes.
8036 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8037
af896da6
LL
80382011-03-21 Leo Liu <sdl.web@gmail.com>
8039
8040 * ido.el (ido-read-internal): Add ido-selected to history instead
8041 of user input.
8042
78f64af0
SM
80432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * subr.el (deferred-action-list, deferred-action-function):
8046 Mark obsolete.
8047
b16ac1ec
LL
80482011-03-21 Leo Liu <sdl.web@gmail.com>
8049
810f7698
LL
8050 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8051 change on 2011-02-13 (bug#8309).
8052
b16ac1ec
LL
8053 * minibuffer.el (read-file-name-function): Change default value.
8054 (read-file-name--defaults): Rename from read-file-name-defaults.
8055 (read-file-name-default): Rename from read-file-name.
8056 (read-file-name): Call read-file-name-function.
8057
4e05e67e
GM
80582011-03-21 Glenn Morris <rgm@gnu.org>
8059
8060 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8061 Doc fixes.
8062
4359915b
CY
80632011-03-21 Chong Yidong <cyd@stupidchicken.com>
8064
8065 * cus-theme.el: Add missing provide statement.
8066 (customize-create-theme): Extract theme value correctly.
8067 (custom-theme-visit-theme): Autoload.
8068 (customize-create-theme): Prompt before inserting default faces.
8069
1fe275ee
JB
80702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8071
8072 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8073 units and musical notes.
8074
3ec03f7e
LL
80752011-03-20 Leo <sdl.web@gmail.com>
8076
8077 * ido.el (ido-read-internal): Use completing-read-default.
8078 (ido-completing-read): Fix compatibility with completing-read.
8079
7d476bde
CO
80802011-03-20 Christian Ohler <ohler@gnu.org>
8081
8082 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8083 (ert-delete-all-tests): Use `called-interactively-p' rather than
8084 `interactive-p'.
8085 (ert--make-xrefs-region): Respect END.
8086
fe0fb33e
CY
80872011-03-19 Chong Yidong <cyd@stupidchicken.com>
8088
ff854b0b
CY
8089 * dired-aux.el (dired-create-directory): Signal an error if the
8090 directory already exists (Bug#8246).
8091
fe0fb33e
CY
8092 * facemenu.el (list-colors-display): Call list-faces-display
8093 inside with-help-window.
8094 (list-colors-print): Use display property to align the final
8095 column, instead of checking window-width.
8096
576bce32
EZ
80972011-03-19 Eli Zaretskii <eliz@gnu.org>
8098
4d61f28d 8099 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8100 windows-nt systems.
8101 (emerge-protect-metachars): Quote correctly for ms-dos and
8102 windows-nt systems.
8103
89c41d68 81042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8105
8106 * info.el (info-initialize): Replace all uses of `:' with
8107 path-separator for compatibility with non-Unix systems.
8108 Cache quoting of path-separator. (Bug#8258)
8109
b14e3e21 81102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8111
8112 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8113 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8114 (mouse-avoidance-mode): Fix typos in docstrings.
8115
4525ce3e
CY
81162011-03-19 Chong Yidong <cyd@stupidchicken.com>
8117
8118 * startup.el (package-subdirectory-regexp): Move from package.el.
8119 Omit \\` and \\', and let callers add them.
8120
8121 * emacs-lisp/package.el (package-strip-version)
8122 (package-load-all-descriptors): Add \\` and \\' to
8123 package-subdirectory-regexp before using it.
8124 (package-untar-buffer): New arg DIR; ensure that file untars only
8125 into this expected directory. Remove superfluous delete-region.
8126 (package-unpack): Caller changed.
8127 (package-tar-file-info): Use package-subdirectory-regexp.
8128
a904a09a 81292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8130
a904a09a
SM
8131 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8132 diff-mode-shared-map (bug#8284).
8133 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8134
81352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8136
8137 * calendar/time-date.el (format-seconds): Use assoc instead of
8138 assoc-string, since assoc-string doesn't exist in XEmacs.
8139
171fc304
JB
81402011-03-17 Juanma Barranquero <lekktu@gmail.com>
8141
8142 * custom.el (custom-known-themes): Reflow docstring.
8143 (custom-theme-load-path): Fix typo in docstring.
8144 (load-theme): Fix typo in error message.
8145 (custom-available-themes, custom-variable-theme-value):
8146 Use `let', not `let*'.
8147
d71990a1
JB
81482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8149
8150 * calc/README: Mention inclusion of musical notes.
8151
8152 * calc/calc-units.el (calc-lu-quant): Rename from
8153 `calc-logunits-quantity'.
8154 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8155 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8156 (calc-db): Rename from `calc-dblevel'.
8157 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8158 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8159 (calc-np): Rename from `calc-nplevel'.
8160 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8161 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8162 (calc-lu-plus): Rename from `calc-logunits-add'.
8163 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8164 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8165 (calc-lu-minus): Rename from `calc-logunits-sub'.
8166 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8167 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8168 (calc-lu-times): Rename from `calc-logunits-mul'.
8169 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8170 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8171 (calc-lu-divide): Rename from `calc-logunits-div'.
8172 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8173 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8174
8175 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8176 functions being autoloaded.
8177
8178 * calc/calc.el (calc-lu-power-reference): Rename from
8179 `calc-logunits-power-reference'.
8180 (calc-lu-field-reference): Rename from
8181 `calc-logunits-field-reference'.
8182
8183 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8184
40c2934b
SM
81852011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * minibuffer.el (completion-all-sorted-completions):
8188 Use :completion-cycle-penalty text property if present.
8189
b0911414
KM
81902011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8191
8192 * allout.el (allout-yank-processing): Adjust for new rebulleting
8193 regime so bullet being yanked is used without prompting the user
8194 for a choice.
8195
8a05b668
JB
81962011-03-16 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * startup.el (command-line): Warn the user that _emacs is deprecated.
8199
5ba5fb81
JB
82002011-03-16 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8203 (delphi-verbose, delphi-comment-face, delphi-string-face)
8204 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8205 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8206 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8207 (delphi-new-comment-line, delphi-font-lock-defaults)
8208 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8209 Fix typos in docstrings.
8210
2dab465b
KM
82112011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8212
5ba5fb81 8213 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8214 Invert the roles of character and string values for INSTEAD, so a
8215 string is used for the more common case of a defaulting prompt.
8216
0adf5618
SM
82172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * progmodes/ruby-mode.el (ruby-backward-sexp):
8220 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8221 * play/gamegrid.el (gamegrid-make-face):
8222 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8223 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8224 * notifications.el (notifications-notify):
8225 * net/xesam.el (xesam-search-engines):
8226 * net/quickurl.el (quickurl-list-insert):
8227 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8228
d72700e5
CY
82292011-03-15 Chong Yidong <cyd@stupidchicken.com>
8230
8231 * startup.el (command-line): Update package subdirectory regexp.
8232
49c5410a
SM
82332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8234
c6eee9aa
SM
8235 * allout.el (allout-abbreviate-flattened-numbering)
8236 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8237
49c5410a
SM
8238 * subr.el (read-char-choice): Only show the cursor after the prompt,
8239 not after the answer.
8240
047b2bb9
KR
82412011-03-15 Kevin Ryde <user42@zip.com.au>
8242
8243 * help-fns.el (variable-at-point): Skip leading quotes, if any
8244 (bug#8253).
8245
0a57d256
SM
82462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8249 warning message.
8250
77c992bc
MA
82512011-03-14 Michael Albinus <michael.albinus@gmx.de>
8252
8253 * shell.el (shell): When called interactively, offer to change the
8254 shell file name on remote hosts.
8255
eebc475d
TZ
82562011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8257
8258 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8259 integration for LDAP parameters. The host, base, user or binddn,
8260 and secret tokens can be specified in a netrc file, for instance.
8261 This is optional because an `auth-source' parameter must be
8262 specified in the search attributes.
8263
9d05d1ba
JB
82642011-03-13 Juanma Barranquero <lekktu@gmail.com>
8265
8266 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8267
09d9db2c
GM
82682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8269
8270 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8271 into declaration. Remove redundant and harmful binding.
8272
82732011-03-12 Eli Zaretskii <eliz@gnu.org>
8274
8275 * files.el (file-ownership-preserved-p): Pass `integer' as an
8276 explicit 2nd argument to `file-attributes'. If the file's owner
8277 is the Administrators group on Windows, and the current user is
8278 Administrator, consider that a match.
8279
8280 * server.el (server-ensure-safe-dir): Consider server directory
8281 safe on MS-Windows if its owner is the Administrators group while
8282 the current Emacs user is Administrator. Use `=' to compare
8283 numerical UIDs, since they could be integers or floats.
8284
219bd536
JB
82852011-03-12 Juanma Barranquero <lekktu@gmail.com>
8286
8287 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8288
f3afd36b
MA
82892011-03-12 Michael Albinus <michael.albinus@gmx.de>
8290
8291 Sync with Tramp 2.2.1.
8292
8293 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8294
8295 * net/trampver.el: Update release number.
8296
3aaaa6f1
SM
82972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8298
94642599
SM
8299 * progmodes/compile.el (compilation--previous-directory): Fix up
8300 various nil/dead-marker mismatches (bug#8014).
8301 (compilation-directory-properties, compilation-error-properties):
8302 Don't call it at a position past the one we're about to change.
8303
3aaaa6f1
SM
8304 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8305 Disable obsolescence warnings in the file that declares it.
8306
14239447
KM
83072011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8308
099c39a4
JB
8309 * allout-widgets.el (allout-widgets-tally):
8310 Initialize allout-widgets-tally as a hash table rather than nil to
8311 prevent mode-line redisplay warnings. Also, clarify the module
8312 description and fix a comment typo.
14239447 8313
135e287c
JB
83142011-03-11 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * help-fns.el (describe-variable): Don't complete keywords.
8317 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8318
ffbf300e
CY
83192011-03-10 Chong Yidong <cyd@stupidchicken.com>
8320
ba08b241
CY
8321 * emacs-lisp/package.el (package-version-join): Impose a standard
8322 string representation for pre/alpha/beta version lists.
8323 (package-unpack-single): Standardize the directory name by passing
8324 it through package-version-join.
8325 (package-strip-rcs-id): Accept any version string that does not
8326 signal an error in version-to-list.
ffbf300e 8327
f346fd6b
MA
83282011-03-10 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * simple.el (delete-trailing-whitespace): Return nil for the
8331 benefit of `write-file-functions'.
8332
ccb55d27
GM
83332011-03-10 Glenn Morris <rgm@gnu.org>
8334
5ceaac0c
GM
8335 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8336
02da65ff
GM
8337 * vc/vc-git.el (vc-git-program): New option.
8338 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8339 (vc-git--call): Use it.
8340
b2f603cc
GM
8341 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8342
5772caab
GM
8343 * cus-edit.el (Custom-newline): If no button at point, look
8344 for a subgroup button at start-of-line. (Bug#2298)
8345
ccb55d27
GM
8346 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8347
ec6ecaed
JD
83482011-03-10 Julien Danjou <julien@danjou.info>
8349
8350 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8351 `cursor-type' is nil.
8352
9d5aa01d
JB
83532011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8354
8355 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8356
b6a5875b
KM
83572011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8358
8359 * allout.el Summary: Change so yank of distinctive-bullet items
8360 preserves the existing header prefix, rebulleting it if necessary,
8361 rather than replacing it. This is necessary for proper operation
8362 of cooperative addons like allout-widgets.
219bd536 8363 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8364 SOLICIT arg to INSTEAD, and interpret additionally a string value
8365 as alternate bullet to be used, instead of prompting the user for
8366 a bullet character.
8367
ee545c35
MA
83682011-03-09 Michael Albinus <michael.albinus@gmx.de>
8369
d86d2721
SM
8370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8371 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8372 `tramp-default-port'.
8373
c47971d7
DD
83742011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8375
8376 * net/rcirc.el (rcirc-handler-001): Remove useless
8377 with-rcirc-process-buffer.
8378 (rcirc-check-auth-status): Swap arguments to string-match.
8379
13522cb4
GM
83802011-03-09 Glenn Morris <rgm@gnu.org>
8381
0be6f4f1
GM
8382 * shell.el (shell-mode):
8383 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8384
13522cb4
GM
8385 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8386 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8387
515de2e3
CY
83882011-03-08 Chong Yidong <cyd@stupidchicken.com>
8389
8390 * emacs-lisp/package.el (package-refresh-contents)
8391 (package-menu-execute): Use condition-case-no-debug.
8392
b511b994
MA
83932011-03-08 Michael Albinus <michael.albinus@gmx.de>
8394
8395 * simple.el (shell-command-to-string): Use `process-file'.
8396
8397 * emacs-lisp/package.el (package-tar-file-info): Handle also
8398 remote files.
8399
d86d2721
SM
8400 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8401 Use `equal' for upload base check.
b511b994 8402
25bbfb31
AM
84032011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8404
8405 * textmodes/texinfo.el (texinfo-environments):
8406 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8407
be996521
GM
84082011-03-08 Glenn Morris <rgm@gnu.org>
8409
e9c8529f
GM
8410 * cus-start.el (cursor-in-non-selected-windows):
8411 Fix :set quoting oddness. (Bug#8192)
8412
be996521
GM
8413 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8414 in some setf expressions. (Bug#2159)
8415
2bb5649e
CY
84162011-03-08 Chong Yidong <cyd@stupidchicken.com>
8417
8418 * custom.el (custom-available-themes): Return themes in
8419 alphabetical order.
8420
33383987 8421See ChangeLog.15 for earlier changes.
e3d51b27
MR
8422
8423;; Local Variables:
8424;; coding: utf-8
e3d51b27
MR
8425;; End:
8426
33383987 8427 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8428
8429 This file is part of GNU Emacs.
8430
8431 GNU Emacs is free software: you can redistribute it and/or modify
8432 it under the terms of the GNU General Public License as published by
8433 the Free Software Foundation, either version 3 of the License, or
8434 (at your option) any later version.
8435
8436 GNU Emacs is distributed in the hope that it will be useful,
8437 but WITHOUT ANY WARRANTY; without even the implied warranty of
8438 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8439 GNU General Public License for more details.
8440
8441 You should have received a copy of the GNU General Public License
8442 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.