In quit-window call unrecord-window-buffer later. (Bug#9937)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1885e5b8
MR
12011-11-02 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (quit-window): Call unrecord-window-buffer after
4 showing another buffer in the window. (Bug#9937)
5 (bury-buffer): Call switch-to-prev-buffer with second argument
6 'bury.
7
ebe06da9
JB
82011-11-02 Juanma Barranquero <lekktu@gmail.com>
9
10 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11 Accept status with more than 9 shelves. (Bug#9935)
12 Reported by Colin D Bennett <colin@gibibit.com>.
13
4ee88440
MR
142011-11-01 Martin Rudalics <rudalics@gmx.at>
15
16 * help.el (with-help-window): Don't reference
17 temp-buffer-show-specifiers in doc-string.
18
08e1d82c
AS
192011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20
21 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
22 menu-item.
23
84bd6e9e
VJL
242011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25
26 * whitespace.el: New version 13.2.2.
27 (whitespace-newline-mode): Disable properly. Reported by Sarah
28 <EmacsWiki>.
29
dba0634a
UJ
302011-10-30 Ulf Jasper <ulf.jasper@web.de>
31
32 * net/newst-treeview.el: Remove "Time-stamp".
33 (newsticker--group-manage-orphan-feeds): Do not call
34 newsticker--treeview-tree-update.
db22a3c2
JB
35 (newsticker-treeview-update, newsticker-treeview):
36 Call newsticker--treeview-tree-update if necessary.
dba0634a 37
3d8daefe
MR
382011-10-30 Martin Rudalics <rudalics@gmx.at>
39
40 * window.el (window-iso-combination-p, window-iso-combined-p)
41 (window-iso-combinations): Remove "iso-" infix. Suggested by
42 Chong Yidong.
43 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
44 (window-max-delta-1, window-resize, window--resize-siblings)
45 (window--resize-this-window, adjust-window-trailing-edge)
46 (split-window, balance-windows-1)
47 (shrink-window-if-larger-than-buffer):
48 * calendar/calendar.el (calendar-generate-window):
db22a3c2 49 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 50
1bc4c3ae
SM
512011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
54 in place (bug#9907).
55 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
56 (eshell-rewrite-if-command, eshell-rewrite-for-command)
57 (eshell-structure-basic-command, eshell-rewrite-while-command)
58 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
59 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
60 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
61 (eshell-do-pipelines-synchronously, eshell-eval-command):
62 Use backquotes and prefer setq to set.
63 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
64 (eshell-macrop): Use functionp.
c1e2f5fa 65 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 66
30b65d9c
CY
672011-10-30 Chong Yidong <cyd@gnu.org>
68
69 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
70 instead of set-mark (Bug#9810).
71
2d197ffb
CY
722011-10-30 Chong Yidong <cyd@gnu.org>
73
74 * window.el (split-window-below, split-window-right): Rename from
75 split-window-above-each-other and split-window-side-by-side
76 respectively. All callers changed.
77 (split-window-sensibly, split-window-sensibly): Use them.
78 (split-window-keep-point): Doc fix.
79
80 * isearch.el: Add isearch-scroll property to split-window-below
81 and split-window-right.
82
83 * follow.el (follow-mode):
84 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
85 * progmodes/ada-xref.el (ada-gdb-application):
86 * emulation/vip.el (vip-buffer-in-two-windows):
87 * image-dired.el (image-dired-dired-with-window-configuration):
88 * dired-x.el (dired-do-find-marked-files):
89 * dired.el (dired-pop-to-buffer):
90 * bs.el (bs--show-with-configuration):
91 * vc/emerge.el (emerge-setup-windows):
92 * textmodes/two-column.el (2C-two-columns):
93 * textmodes/reftex-toc.el (reftex-toc):
94 * progmodes/gdb-mi.el (gdb-setup-windows):
95 * progmodes/fortran.el (fortran-window-create):
96 * net/newst-treeview.el (newsticker--treeview-window-init):
97 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
98 * emulation/tpu-edt.el (tpu-gold-map):
99 * emulation/crisp.el (crisp-mode-map):
100 * calendar/calendar.el (calendar-basic-setup): Callers changed.
101
38bb2ca8
CY
1022011-10-29 Chong Yidong <cyd@gnu.org>
103
aa4de341
CY
104 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
105
e1eb5385
CY
106 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
107
5d2ece3c
CY
108 * textmodes/flyspell.el (flyspell-word): Fix char offset for
109 forged Ispell output (Bug#7904).
110
38bb2ca8
CY
111 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
112
d0af9f77
SM
1132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * doc-view.el: Avoid ugly errors about not finding nil.
116 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
117 (doc-view-dvipdf-program, doc-view-unoconv-program)
118 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
119 Avoid nil or absolute file name as default value.
120 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
121
52bedd34
AM
1222011-10-28 Alan Mackenzie <acm@muc.de>
123
db22a3c2 124 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 125
7e43cfa5
AM
1262011-10-28 Alan Mackenzie <acm@muc.de>
127
128 Amend the handling of c-beginning/end-of-defun in nested declaration
129 scopes.
130
52bedd34
AM
131 * progmodes/cc-vars.el (c-defun-tactic): Move here from
132 cc-langs.el. Change it to a defcustom.
7e43cfa5 133
52bedd34
AM
134 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
135 cc-vars.el.
7e43cfa5
AM
136 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
137
d0af9f77
SM
138 * progmodes/cc-engine.el (c-beginning-of-statement-1):
139 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 140
52bedd34
AM
141 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
142 Add parameter `inclusive' (to include enclosing braces in the
143 region).
7e43cfa5
AM
144 (c-widen-to-enclosing-decl-scope): New function.
145 (c-while-widening-to-decl-block): New macro.
146 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
147 outward for defun boundaries, and correspondingly change symbol
148 `respect-enclosure' to `go-outward'.
149 (c-declaration-limits): Change algorithm to report only the "innermost"
150 defun's boundaries.
151
1a2ce9ee
DD
1522011-10-28 Deniz Dogan <deniz@dogan.se>
153
154 * net/rcirc.el (rcirc-mode): Use hard newlines.
155
bc97a826
AM
1562011-10-28 Alan Mackenzie <acm@muc.de>
157
158 Amend to indent and fontify macros "which include their own semicolon"
159 correctly, using the "virtual semicolon" mechanism.
160
52bedd34 161 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 162
d0af9f77
SM
163 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
164 Recoded to scan one line at at time rather than having \n and \r
52bedd34 165 explicitly in c-stmt-delim-chars
bc97a826
AM
166 (for some modes, e.g. AWK).
167 (c-forward-label): Amend for virtual semicolons.
168 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
169
52bedd34
AM
170 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
171 of the new C macros.
bc97a826 172
52bedd34
AM
173 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
174 (c-vsemi-status-unknown-p-fn): move to earlier in the file.
bc97a826
AM
175 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
176 (c-opt-cpp-macro-define): Make into a full language variable.
177 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
178 AWK Mode (including \n, \r) removed, no longer needed.
179
d0af9f77
SM
180 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
181 Invoke c-make-macro-with-semi-re.
bc97a826 182
52bedd34
AM
183 * progmodes/cc-vars.el (c-macro-with-semi-re):
184 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
185 (c-make-macro-with-semi-re): New function
186
7a6c0941
SM
1872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * vc/log-edit.el: Fill empty field rather than adding new one.
190 (log-edit-add-field): New function.
191 (log-edit-insert-changelog): Use it.
192
b0c4cdcf
ML
1932011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
194
195 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
196
ee1f1da9
SM
1972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
200 (gdb--check-interpreter): New function.
201 (gdb): Use it.
202
51bc5f8b
GM
2032011-10-27 Glenn Morris <rgm@gnu.org>
204
416a2c45
GM
205 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
206 (least-positive-float, least-negative-float)
207 (least-positive-normalized-float, least-negative-normalized-float)
208 (float-epsilon, float-negative-epsilon):
209 Remove unnecessary declarations.
210
211 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
212 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
213 (least-positive-float, least-negative-float)
214 (least-positive-normalized-float, least-negative-normalized-float)
215 (float-epsilon, float-negative-epsilon): Add doc-strings,
216 based on those in cl.texi.
217
51bc5f8b
GM
218 * files.el (set-visited-file-name): If the major-mode changed,
219 reload the local variables. (Bug#9796)
220
15de15c6
CY
2212011-10-27 Chong Yidong <cyd@gnu.org>
222
223 * subr.el (change-major-mode-after-body-hook): New hook.
224 (run-mode-hooks): Run it.
225
ee1f1da9
SM
226 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
227 Use change-major-mode-before-body-hook.
15de15c6
CY
228
229 * simple.el (fundamental-mode):
230 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
231 change introducing fundamental-mode-hook.
232
5430d399
JB
2332011-10-26 Juanma Barranquero <lekktu@gmail.com>
234
a7ef684b 235 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
5430d399 236
ad74a69e
MA
2372011-10-26 Michael Albinus <michael.albinus@gmx.de>
238
239 * ido.el (ido-file-name-all-completions-1): Do not require
240 tramp.el explicitely. (Bug#7583)
241
71d4c2a5
SM
2422011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * progmodes/octave-mod.el:
245 * progmodes/octave-inf.el: Update maintainer.
246
b1f6fa26
CY
2472011-10-26 Chong Yidong <cyd@gnu.org>
248
249 * subr.el (with-wrapper-hook): Rewrite doc.
250
3f04efd6
MA
2512011-10-25 Michael Albinus <michael.albinus@gmx.de>
252
253 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 254 filenames "/method:foo:". (Bug#9793)
3f04efd6 255
410488d3
SM
2562011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
259 (bug#9865).
260
c1ebb47e
GM
2612011-10-24 Glenn Morris <rgm@gnu.org>
262
263 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
264
7f5c46c7
MA
2652011-10-24 Michael Albinus <michael.albinus@gmx.de>
266
267 * notifications.el: Add the requirement of a running D-Bus session
268 bus to the Commentary.
269
db2440b6
JL
2702011-10-24 Juri Linkov <juri@jurta.org>
271
272 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
273 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
274 (Bug#9364)
275
feecf435
JL
2762011-10-24 Juri Linkov <juri@jurta.org>
277
278 * info.el (Info-following-node-name-re): Add newline to the list
279 of allowed characters for leading space. (Bug#9824)
280
a3839de2
SM
2812011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
284 * progmodes/octave-mod.el (octave-help): Remove.
285
09388e76
MA
2862011-10-23 Michael Albinus <michael.albinus@gmx.de>
287
288 Sync with Tramp 2.2.3.
289
290 * net/tramp-cache.el (top): Pacify byte-compiler using
291 `init-file-user' and `site-run-file'.
292
293 * net/trampver.el: Update release number.
294
86c60681
CY
2952011-10-23 Chong Yidong <cyd@gnu.org>
296
297 * files.el (toggle-read-only): Remove obsolete comment about
298 version control.
299
300 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
301 for toggle-read-only. Note that this hasn't called vc-next-action
302 since 2008-05-02, though it wasn't documented at the time.
303
a3839de2
SM
304 * vc/ediff-init.el (ediff-toggle-read-only-function):
305 Use toggle-read-only.
86c60681 306
cd5495ff
AM
3072011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
308
309 Fix bug #9560, sporadic wrong indentation; improve instrumentation
310 of c-parse-state.
311
00b77525 312 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 313 correct faulty logical expression.
cd5495ff
AM
314 (c-parse-state-state, c-record-parse-state-state):
315 (c-replay-parse-state-state): New defvar/defuns.
316 (c-debug-parse-state): Use new functions.
317
42ee24ed
MR
3182011-10-22 Martin Rudalics <rudalics@gmx.at>
319
320 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 321 last fix. Use window-in-direction correctly.
42ee24ed 322
a7dee7e7
CY
3232011-10-21 Chong Yidong <cyd@gnu.org>
324
325 * progmodes/idlwave.el (idlwave-mode):
326 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
327 require-final-newline; that's done in prog-mode.
328 Suggested by Stefan Monnier.
a7dee7e7 329
e07b9a6d
MR
3302011-10-21 Martin Rudalics <rudalics@gmx.at>
331
332 * mouse.el (mouse-drag-window-above)
333 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
334 (mouse-drag-mode-line-1, mouse-drag-header-line)
335 (mouse-drag-vertical-line-rightward-window): Remove.
336 (mouse-drag-line): New function.
337 (mouse-drag-mode-line, mouse-drag-header-line)
338 (mouse-drag-vertical-line): Call mouse-drag-line.
339 * window.el (window-at-side-p, windows-at-side): New functions.
340
7e1361d9
UM
3412011-10-21 Ulrich Mueller <ulm@gentoo.org>
342
343 * tar-mode.el (tar-grind-file-mode):
344 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
345
30fcaf3a
CY
3462011-10-21 Chong Yidong <cyd@gnu.org>
347
348 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
349 * progmodes/vera-mode.el (vera-mode):
350 Use mode-require-final-newline.
30fcaf3a 351
516eddb0
GM
3522011-10-20 Glenn Morris <rgm@gnu.org>
353
db22a3c2 354 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 355
10d5f513
CS
3562011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
357
358 * emulation/cua-base.el (cua-set-mark): Fix case of string.
359
ac6c8639
CY
3602011-10-20 Chong Yidong <cyd@gnu.org>
361
362 * emulation/cua-base.el (cua-mode):
363 * mail/footnote.el (footnote-mode):
364 * mail/mailabbrev.el (mail-abbrevs-mode):
365 * net/xesam.el (xesam-minor-mode):
366 * progmodes/bug-reference.el (bug-reference-mode):
367 * progmodes/cap-words.el (capitalized-words-mode):
368 * progmodes/compile.el (compilation-minor-mode)
369 (compilation-shell-minor-mode):
370 * progmodes/gud.el (gud-tooltip-mode):
371 * progmodes/hideif.el (hide-ifdef-mode):
372 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
373 * progmodes/subword.el (subword-mode):
374 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
375 * progmodes/which-func.el (which-function-mode):
376 * term/tvi970.el (tvi970-set-keypad-mode):
377 * term/vt100.el (vt100-wide-mode):
378 * textmodes/flyspell.el (flyspell-mode):
379 * textmodes/ispell.el (ispell-minor-mode):
380 * textmodes/nroff-mode.el (nroff-electric-mode):
381 * textmodes/paragraphs.el (use-hard-newlines):
382 * textmodes/refill.el (refill-mode):
383 * textmodes/reftex.el (reftex-mode):
384 * textmodes/rst.el (rst-minor-mode):
385 * textmodes/sgml-mode.el (html-autoview-mode)
386 (sgml-electric-tag-pair-mode):
387 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
388 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
389 * emulation/crisp.el (crisp-mode):
390 * emacs-lisp/eldoc.el (eldoc-mode):
391 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
392 minor mode behavior.
393
aa42ab43
JL
3942011-10-19 Juri Linkov <juri@jurta.org>
395
396 * descr-text.el (describe-char): Add #x2010 and #x2011 to
397 the list of hard-coded chars with escape-glyph face.
398
89400f1d
SM
3992011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
402
305c07f6
MA
4032011-10-19 Michael Albinus <michael.albinus@gmx.de>
404
405 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
406 running process.
407
13754b54
GM
4082011-10-19 Glenn Morris <rgm@gnu.org>
409
410 * vc/vc-bzr.el (vc-bzr-after-dir-status):
411 Ignore ignored files. (Bug#9726)
412
06e21633
CY
4132011-10-19 Chong Yidong <cyd@gnu.org>
414
415 Doc fix for minor modes, stating that an omitted argument enables
416 the mode unconditionally when called from Lisp.
417
418 * abbrev.el (abbrev-mode):
419 * allout.el (allout-mode):
420 * autoinsert.el (auto-insert-mode):
421 * autoarg.el (autoarg-mode, autoarg-kp-mode):
422 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
423 (global-auto-revert-mode):
424 * battery.el (display-battery-mode):
425 * composite.el (global-auto-composition-mode)
426 (auto-composition-mode):
427 * delsel.el (delete-selection-mode):
428 * desktop.el (desktop-save-mode):
429 * dired-x.el (dired-omit-mode):
430 * dirtrack.el (dirtrack-mode):
431 * doc-view.el (doc-view-minor-mode):
432 * double.el (double-mode):
433 * electric.el (electric-indent-mode, electric-pair-mode):
434 * emacs-lock.el (emacs-lock-mode):
435 * epa-hook.el (auto-encryption-mode):
436 * follow.el (follow-mode):
437 * font-core.el (font-lock-mode):
438 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
439 * help.el (temp-buffer-resize-mode):
440 * hilit-chg.el (highlight-changes-mode)
441 (highlight-changes-visible-mode):
442 * hi-lock.el (hi-lock-mode):
443 * hl-line.el (hl-line-mode, global-hl-line-mode):
444 * icomplete.el (icomplete-mode):
445 * ido.el (ido-everywhere):
446 * image-file.el (auto-image-file-mode):
447 * image-mode.el (image-minor-mode):
448 * iswitchb.el (iswitchb-mode):
449 * jka-cmpr-hook.el (auto-compression-mode):
450 * linum.el (linum-mode):
451 * longlines.el (longlines-mode):
452 * master.el (master-mode):
453 * mb-depth.el (minibuffer-depth-indicate-mode):
454 * menu-bar.el (menu-bar-mode):
455 * minibuf-eldef.el (minibuffer-electric-default-mode):
456 * mouse-sel.el (mouse-sel-mode):
457 * msb.el (msb-mode):
458 * mwheel.el (mouse-wheel-mode):
459 * outline.el (outline-minor-mode):
460 * paren.el (show-paren-mode):
461 * recentf.el (recentf-mode):
462 * reveal.el (reveal-mode, global-reveal-mode):
463 * rfn-eshadow.el (file-name-shadow-mode):
464 * ruler-mode.el (ruler-mode):
465 * savehist.el (savehist-mode):
466 * scroll-all.el (scroll-all-mode):
467 * scroll-bar.el (scroll-bar-mode):
468 * server.el (server-mode):
469 * shell.el (shell-dirtrack-mode):
470 * simple.el (auto-fill-mode, transient-mark-mode)
471 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
472 (line-number-mode, column-number-mode, size-indication-mode)
473 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
474 * strokes.el (strokes-mode):
475 * time.el (display-time-mode):
476 * t-mouse.el (gpm-mouse-mode):
477 * tool-bar.el (tool-bar-mode):
478 * tooltip.el (tooltip-mode):
479 * type-break.el (type-break-mode-line-message-mode)
480 (type-break-query-mode):
481 * view.el (view-mode):
482 * whitespace.el (whitespace-mode, whitespace-newline-mode)
483 (global-whitespace-mode, global-whitespace-newline-mode):
484 * xt-mouse.el (xterm-mouse-mode): Doc fix.
485
a3839de2
SM
486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
487 Fix autogenerated docstring.
06e21633 488
5214e501
JL
4892011-10-19 Juri Linkov <juri@jurta.org>
490
491 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
492 by checking environment variables "DESKTOP_SESSION" and
493 "XDG_CURRENT_DESKTOP". (Bug#9779)
494
195f8db9
JL
4952011-10-19 Juri Linkov <juri@jurta.org>
496
497 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
498 (browse-url-chromium-program, browse-url-chromium-arguments):
499 New defcustoms.
500 (browse-url-default-browser): Check for `browse-url-chromium' and
501 call `browse-url-chromium-program'.
502 (browse-url-chromium): New command. (Bug#9779)
503
343a34ff
JB
5042011-10-18 Juanma Barranquero <lekktu@gmail.com>
505
506 * facemenu.el (list-colors-duplicates): On Windows, detect more
507 duplicates by assuming that only colors matching "^System" are
508 special "system colors". (Bug#9722)
509
6978a151
SM
5102011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
513 to distinguish the author from the committer.
514
6a80b297
MA
5152011-10-18 Michael Albinus <michael.albinus@gmx.de>
516
517 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
518
b31a5677
JK
5192011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
520
521 * international/mule.el (sgml-html-meta-auto-coding-function):
522 Add support for detecting encoding in HTML5 specified only as
523 <meta charset="UTF-8">. Implementation just makes http-equiv and
524 content-type parts from HTML4 encoding string optional. (Bug#9716)
525
80c6d77f
GM
5262011-10-18 Glenn Morris <rgm@gnu.org>
527
528 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
529
08b0fee8
CY
5302011-10-18 Chong Yidong <cyd@gnu.org>
531
532 * faces.el (cursor): Doc fix.
533
67e729a5
CY
5342011-10-17 Chong Yidong <cyd@gnu.org>
535
536 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
537
343a34ff 5382011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
539
540 * dirtrack.el (dirtrack): Support shell buffers with path
541 prefixes, e.g. tramp-based remote shells. (Bug#9647)
542
0bc06380
TZ
5432011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
544
545 * json.el: Bump version to 1.3 and note change in History.
546 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
547
8b79f3e0
SM
5482011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
549
5a7c536b
SM
550 * comint.el (comint-insert-input, comint-send-input)
551 (comint-get-old-input-default, comint-backward-matching-input)
552 (comint-next-prompt): Use nil instead of `input' for field property of
553 past user input (bug#114).
554
96a8a0df
SM
555 * minibuffer.el (completion--replace): Inherit surrounding properties
556 (bug#114).
557 (minibuffer-complete-and-exit): Use it.
558
8b79f3e0
SM
559 * comint.el (comint--table-subvert): Quote the all-completions output
560 (bug#9160).
561
b8f7ff0d
MR
5622011-10-17 Martin Rudalics <rudalics@gmx.at>
563
8b79f3e0 564 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 565
b8f7ff0d 566 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 567 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
568 entries and separate them from frame entries.
569
c235b555
GM
5702011-10-15 Glenn Morris <rgm@gnu.org>
571
572 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
573 Doc fixes.
574
6bbfa6e1
CY
5752011-10-15 Chong Yidong <cyd@stupidchicken.com>
576
8b79f3e0
SM
577 * net/network-stream.el (network-stream-open-starttls):
578 Improve detection of failure due to lack of TLS support.
ec5c990d 579
6bbfa6e1
CY
580 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
581 putting the input text in front and in bold.
582
98488977
SM
5832011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
584
3d1337be
SM
585 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
586
ee0b45e4
SM
587 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
588 empty buffer.
589
98488977
SM
590 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
591 unread-command-events rather than pushing yet-another event.
592
186f4720
EZ
5932011-10-14 Eli Zaretskii <eliz@gnu.org>
594
595 * mail/sendmail.el (sendmail-query-once): Improve the wording of
596 the explanation of the possible choices. Make the options passed
597 to completing-read shorter.
598
8b7a997c
AM
5992011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
600
601 * textmodes/flyspell.el (flyspell-large-region): Make sure
602 extended character mode is used if defined (Bug#1339).
603
12587bbb
EZ
6042011-10-13 Eli Zaretskii <eliz@gnu.org>
605
606 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
607 character info for LRE, LRO, RLE, and RLO characters by appending
608 an invisible PDF.
12587bbb 609
bad41229
SM
6102011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
613 even in case of error; add debug spec; simplify data flow.
614 (with-timeout-handler): Remove.
615
28dbc92f
MA
6162011-10-12 Michael Albinus <michael.albinus@gmx.de>
617
618 Fix Bug#6019, Bug#9315.
619
620 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
621 complete `buffer-file-name', the local file name part could look
622 remotely (for example on VMS).
623
624 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
625 `tramp-run-real-handler'.
626 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
627 already quoted by '"'.
628
629 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
630 Let `file-name-handler-alist' be nil, the local file name part
631 could look remotely (for example on VMS).
632
e1b0b23a
SM
6332011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
636 from here...
637 (flyspell-post-command-hook): ...to here.
638
a120bde9
SM
6392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
642 if not needed.
643 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
644 using completion. Protect against "slow" callers.
645 Remove the "message hack".
646
7ce7717b
JL
6472011-10-11 Juri Linkov <juri@jurta.org>
648
649 * isearch.el (isearch-lazy-highlight-word): New variable.
650 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
651 Use it. (Bug#9727)
652
c02ee9d6
GM
6532011-10-11 Glenn Morris <rgm@gnu.org>
654
655 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
656 like f90-previous-statement does.
657
93e616fd 6582011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
659
1f190e73 660 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
661 only in interactive use, to avoid error.
662
af7b6078
SM
6632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * minibuffer.el (completion-file-name-table): Fix last change,
666 i.e. ignore normal errors but not the other ones.
667
0563dae9
MR
6682011-10-10 Martin Rudalics <rudalics@gmx.at>
669
670 * window.el (special-display-buffer-names)
671 (special-display-regexps): Remove some remnants of earlier
672 changes from doc-strings.
366ca7f3
MR
673 (quit-windows-on): New function.
674
675 * vc/vc.el (vc-revert, vc-rollback):
676 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
677 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 678 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 679
49677495
MR
6802011-10-09 Martin Rudalics <rudalics@gmx.at>
681
682 * window.el (frame-auto-hide-function): Add version tag.
683 (Bug#9699)
684
56f2d1e1
MA
6852011-10-09 Michael Albinus <michael.albinus@gmx.de>
686
687 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
688 condition.
689
112a6592
LL
6902011-10-09 Leo Liu <sdl.web@gmail.com>
691
692 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
693 (Bug#9701)
694
0812589b
GM
6952011-10-08 Glenn Morris <rgm@gnu.org>
696
697 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
698 before the first code statement zero indent. (Bug#9690)
699
b2b0776e
CY
7002011-10-08 Chong Yidong <cyd@stupidchicken.com>
701
702 * simple.el (count-words-region): Always count in the region.
703 Report the number of lines and characters too.
704 (count-words): New command, which counts in the buffer if the
705 region is inactive, as count-words-region used to.
706 (count-words--message): New function. Handle plurals.
707 (count-lines-region): Make it an alias for count-words-region.
708
709 * bindings.el (esc-map): Replace count-lines-region with
710 count-words-region.
711
c557cd6b
MR
7122011-10-08 Martin Rudalics <rudalics@gmx.at>
713
714 * window.el (window--delete): Delete dedicated frame
715 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 716 (switch-to-buffer): Fix doc-string typo.
c557cd6b 717
61a57ef4 7182011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
719
720 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
721
c3833279
CY
7222011-10-07 Chong Yidong <cyd@stupidchicken.com>
723
724 * bindings.el ([M-left],[M-right]): Bind to left-word and
725 right-word respectively.
726
21ce8245
GM
7272011-10-07 Glenn Morris <rgm@gnu.org>
728
729 * cus-start.el (debug-on-quit): Fix custom type.
730
6d823bb2
LMI
7312011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
732
0181e193
LMI
733 * subr.el (define-key-after): Clarify that the function is not
734 useful for non-menu keymaps.
735
6d823bb2
LMI
736 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
737
8e3459ce 7382011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
739
21ce8245 740 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 741 in current minibuffer (Fix bug with recursive minibuffers).
742
a1c2d21e
CY
7432011-10-06 Chong Yidong <cyd@stupidchicken.com>
744
745 * progmodes/gdb-mi.el (gdb): Doc fix.
746
5a4cf282
MR
7472011-10-05 Martin Rudalics <rudalics@gmx.at>
748
749 * window.el (frame-auto-hide-function): New option replacing
750 frame-auto-delete. Suggested by Stefan Monnier.
751 (window--delete): Call frame-auto-hide-function instead of
752 investigating frame-auto-delete.
c96111ea
MR
753 (window-point-1, set-window-point-1): New functions.
754 (window-in-direction, record-window-buffer, window-state-get-1)
755 (display-buffer-record-window): Use window-point-1 instead of
756 window-point.
757 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 758
9854542e
SM
7592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
762
8943cfb0
GM
7632011-10-05 Glenn Morris <rgm@gnu.org>
764
765 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
766 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
767
647ab967
LL
7682011-10-05 Leo Liu <sdl.web@gmail.com>
769
770 * subr.el (read-char-choice): Fix argument to buffer-live-p which
771 works with buffer object.
772
3ddfbced
SM
7732011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * mpc.el (mpc-tool-bar-map): Add labels.
776
bdfa5dd2
GM
7772011-10-04 Glenn Morris <rgm@gnu.org>
778
779 * calendar/holidays.el (calendar-check-holidays): Doc fix.
780
0e2070b5
MR
7812011-10-04 Martin Rudalics <rudalics@gmx.at>
782
783 * window.el (window--delete): New function.
784 (frame-auto-delete): Resuscitate option.
785 (bury-buffer, replace-buffer-in-windows)
786 (quit-window): Rewrite using window--delete.
787 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
788 Pass display-buffer-mark-dedicated to window--display-buffer-2
789 (Bug#9639).
790
3dc61a09
SM
7912011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
792
915a9b64
SM
793 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
794 returns a list (bug#9554). Add remote file name completion.
795 * comint.el (comint--table-subvert): Curry and get quote&unquote
796 functions as arguments.
797 (comint--complete-file-name-data): Adjust call accordingly.
798 * pcomplete.el (pcomplete--table-subvert): Remove.
799 (pcomplete-completions-at-point): Use comint--table-subvert instead.
800
3dc61a09
SM
801 * minibuffer.el (completion-table-case-fold): Use currying.
802 (completion--styles-type, completion--cycling-threshold-type):
803 New constants.
804 (completion-styles, completion-category-overrides)
805 (completion-cycle-threshold): Use them.
806 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
807 completion-table-case-fold.
808
8ea0a993
SB
8092011-10-03 Stephen Berman <stephen.berman@gmx.net>
810
811 * minibuffer.el (completion-category-overrides): Fix type of styles
812 and add more user friendly tags (bug#9660).
813
8c24b7f6
SM
8142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
817 (mule-input-method-string): New widget.
818 (default-input-method, language-info-custom-alist): Use it.
819
428fe61a
SM
8202011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
821
32c1fffd
SM
822 * pcomplete.el: Require comint.
823 (pcomplete--common-suffix): Remove.
824 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
825 (pcomplete--table-subvert): Sync with comint--table-subvert.
826 (pcomplete--entries): Use comint-completion-file-name-table.
827 * comint.el (comint-unquote-filename): Simplify.
828 (comint-completion-file-name-table): New function (bug#9616).
829 (comint--complete-file-name-data): Use it.
830
428fe61a
SM
831 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
832 (pcmpl-gnu-tar-buffer): Remove.
833 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
834 around. Make sure pcomplete-suffix-list is only changed temporarily.
835 Don't look inside the tar's file if it's too large.
428fe61a 836
04c52e2f
CY
8372011-10-01 Chong Yidong <cyd@stupidchicken.com>
838
ce3cefcc
CY
839 * cus-edit.el (custom-mode-map):
840 * epa.el (epa-key-list-mode-map):
841 * man.el (Man-mode-map):
842 * startup.el (splash-screen-keymap):
843 * simple.el (special-mode-map): Use scroll-up-command and
844 scroll-down-command.
845
846 * progmodes/idlw-help.el (idlwave-help-mode-map):
847 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
848 * net/newst-plainview.el (newsticker-mode-map):
849 * emulation/ws-mode.el (wordstar-mode-map):
850 * emulation/vi.el (vi-com-map):
851 * calc/calc-graph.el (calc-graph-show-dumb):
852 * term/sun.el (terminal-init-sun):
853 * term/ns-win.el (global-map):
854 * progmodes/grep.el (grep-mode-map):
855 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
856 * mail/rmail.el (rmail-mode-map):
857 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
858
04c52e2f
CY
859 * custom.el (custom-safe-themes, load-theme): Treat value of t for
860 custom-safe-themes as special.
861
79adf8c8
JD
8622011-10-01 Julien Danjou <julien@danjou.info>
863
864 * notifications.el (notifications-notify): Fix docstring.
865
63bd50d3
PS
8662011-10-01 Per Starbäck <per@starback.se>
867
868 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
869
199e4c7e
MR
8702011-09-30 Martin Rudalics <rudalics@gmx.at>
871
872 * startup.el (command-line-1): Fix last fix by inserting
873 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 874 (Bug#9605) and (Bug#9636)
199e4c7e 875
fe5f08dd
EZ
8762011-09-29 Eli Zaretskii <eliz@gnu.org>
877
878 * simple.el (line-move): If auto-hscroll-mode is disabled and the
879 window is hscrolled, move by logical lines. (Bug#9607)
880 (line-move-visual): Update the doc string to the above effect.
881
b5516bbd
MR
8822011-09-29 Martin Rudalics <rudalics@gmx.at>
883
ccee00c0
MR
884 * window.el (display-buffer-record-window): When WINDOW is the
885 selected window use `point' instead of `window-point'. (Bug#9626)
886
b5516bbd
MR
887 * startup.el (command-line-1): Use insert-before-markers when
888 inserting initial-scratch-message. (Bug#9605)
ccee00c0 889
b5516bbd
MR
890 * help.el (help-window): Remove variable.
891
52aa0014
GM
8922011-09-29 Glenn Morris <rgm@gnu.org>
893
894 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
895
df9a7357
JB
8962011-09-29 Juanma Barranquero <lekktu@gmail.com>
897
898 * descr-text.el (describe-char-categories): Accept category
899 descriptions more than one line long.
900
a8406c20
SM
9012011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
902
88d9610c
SM
903 * simple.el (delete-trailing-whitespace): Fix last change.
904
a5daf810
SM
905 * progmodes/perl-mode.el (perl-syntax-propertize-function):
906 Don't confuse "y => 3" as the beginning of a `y' operation.
907
a8406c20
SM
908 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
909 object has more than 4 slots (bug#9613).
910
a239d4e9
JB
9112011-09-28 Juanma Barranquero <lekktu@gmail.com>
912
913 * subr.el (with-output-to-temp-buffer):
914 * net/quickurl.el (quickurl, quickurl-browse-url):
915 Fix typos in docstrings.
916
693fbdb6
EZ
9172011-09-27 Eli Zaretskii <eliz@gnu.org>
918
919 * minibuffer.el (completion-styles)
920 (completion-category-overrides): Cross reference each other in doc
921 strings.
922
8b457e28
GM
9232011-09-27 Glenn Morris <rgm@gnu.org>
924
925 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
926 to split-string. (Bug#9606)
927
85a16208
LMI
9282011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
929
930 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
931 (bug#9615).
932
502f9ebd
CY
9332011-09-27 Chong Yidong <cyd@stupidchicken.com>
934
935 * emacs-lisp/package.el (list-packages): Fix echo area message.
936
7690bdea
LL
9372011-09-27 Leo Liu <sdl.web@gmail.com>
938
939 * ido.el (ido-read-internal): Accept cons cell HIST arg.
940
e2ee6f30
MA
9412011-09-25 Michael Albinus <michael.albinus@gmx.de>
942
943 * net/dbus.el (dbus-unregister-object): Don't release services for
944 registered signals. (Bug#9581)
945
f3f98342
TZ
9462011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
947
948 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
949 function that picks between cfengine 2 and 3 support
950 automatically. Update docs accordingly.
951
dd7aa8dd
KH
9522011-09-22 Kenichi Handa <handa@m17n.org>
953
954 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
955 ZERO.
956 (indian-itrans-v5-table-for-tamil): New variable.
957 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
958
3f2b07f8
KM
9592011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
960
961 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
962 that's true if the current command involved collapsing of text.
963 It's reset to false at the beginning of the next command.
964 (allout-post-command-business): Move the cursor to the beginning
965 of entry if the cursor is hidden and collapsing activity just
966 happened.
967
371d6a61
CY
9682011-09-24 Chong Yidong <cyd@stupidchicken.com>
969
970 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
971 tracking (Bug#9541).
972
2ac2721a
UJ
9732011-09-24 Ulf Jasper <ulf.jasper@web.de>
974
975 * net/newst-reader.el (newsticker-html-renderer)
976 (newsticker-show-news): Automatically
343a34ff
JB
977 load html rendering package if newsticker-html-renderer is set.
978 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
979 let-bound" and the error "Symbol's value as variable is void:
980 w3m-fill-column".
981
fac7ae53
MA
9822011-09-24 Michael Albinus <michael.albinus@gmx.de>
983
984 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
985 Release services only if they are defined. (Bug#9581)
986
e08b633b
RS
9872011-09-23 Richard Stallman <rms@gnu.org>
988
e488d29c
RS
989 * textmodes/paragraphs.el (forward-sentence): For backwards case,
990 distinguish start of paragraph from start of its text.
991
19c38752
RS
992 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
993
e08b633b
RS
994 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
995 (rmail-generate-viewer-buffer): Put that hook on view buffer.
996 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
997
0a39f27e
AS
9982011-09-23 Andreas Schwab <schwab@linux-m68k.org>
999
1000 * international/mule-diag.el (mule-diag): Insert a newline after
1001 each fontset description.
1002
db4e950d
SM
10032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * simple.el (delete-trailing-whitespace):
1006 Document last change; simplify.
1007
eca3f3ea
PW
10082011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1009
d68e189a
PW
1010 * simple.el (delete-trailing-whitespace): Also delete
1011 extra newlines at the end of the buffer.
1012
eca3f3ea
PW
1013 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1014 (picture-newline): Use forward-line so as to ignore fields.
1015
01c157cc
SM
10162011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * subr.el (with-wrapper-hook): Fix edebug spec.
1019
022de23e
LMI
10202011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1021
1022 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1023 (bug#4538).
1024
91683089
MA
10252011-09-23 Michael Albinus <michael.albinus@gmx.de>
1026
eca3f3ea
PW
1027 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1028 Fix nasty bug using wrong cached values.
91683089 1029
5bdd6fa4
AM
10302011-09-23 Alan Mackenzie <acm@muc.de>
1031
1032 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1033
97adfb97
CY
10342011-09-23 Chong Yidong <cyd@stupidchicken.com>
1035
1036 * window.el (pop-to-buffer): Ensure right window is selected if we
1037 chose another frame.
1038
d4ef2b50
EZ
10392011-09-22 Eli Zaretskii <eliz@gnu.org>
1040
1041 * simple.el (what-cursor-position): Use get-char-property-change
1042 and next-single-char-property-change, to be able to show display
1043 properties that come from overlays as well as text properties.
1044
72258fe5
CY
10452011-09-22 Chong Yidong <cyd@stupidchicken.com>
1046
1047 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1048
1049 * cmuscheme.el (run-scheme, switch-to-scheme):
1050 * cus-edit.el (customize-group, custom-buffer-create)
1051 (customize-browse):
1052 * info.el (info):
1053 * shell.el (shell):
1054 * mail/sendmail.el (mail):
1055 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1056
8f098516
RS
10572011-09-22 Richard Stallman <rms@gnu.org>
1058
1059 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1060 move back only to line beg, don't move back over blank lines.
1061
e74f1bb6
MA
10622011-09-22 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * files.el (copy-directory): Set directory attributes only in case
1065 they could be retrieved from the source directory. (Bug#9565)
1066
bfeef8b6
DK
10672011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1068
1069 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1070 (hs-find-block-beginning, hs-hide-level-recursive):
1071 Ignore strings as well as comments. (Bug#9502)
1072
7e423bb8
AS
10732011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1074
1075 * progmodes/sql.el (sql-comint-postgres):
1076 Convert port number to a string. (Bug#9566)
1077
b4d72fcf
MR
10782011-09-22 Martin Rudalics <rudalics@gmx.at>
1079
1080 * window.el (quit-window): Undedicate window when switching to
1081 previous buffer. Reported by Thierry Volpiatto
1082 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1083 (special-display-popup-frame): When popping up a new frame reset
1084 its previous buffers to nil. Simplify code.
b4d72fcf 1085
a7b88dc6
MA
10862011-09-21 Michael Albinus <michael.albinus@gmx.de>
1087
1088 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1089 and process filter, as done also in `shell-command'.
1090
cf4eacfd
MR
10912011-09-21 Martin Rudalics <rudalics@gmx.at>
1092
eca3f3ea
PW
1093 * window.el (set-window-buffer-start-and-point):
1094 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1095 Volpiatto <thierry.volpiatto@gmail.com>.
1096 (quit-window): Reword doc-string. Handle new format of
1097 quit-restore parameter. Don't delete window if it has a
1098 previous buffer we can show instead of the present one.
1099 (display-buffer-record-window): Rewrite using a new format for
1100 the quit-restore window parameter
1101 (special-display-popup-frame, display-buffer-same-window)
1102 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1103 (display-buffer-pop-up-window, display-buffer-use-some-window):
1104 Adapt symbol passed to display-buffer-record-window.
1105 * help.el (help-window-setup): Handle new format of quit-restore
1106 parameter.
1107
8d28cb95
SM
11082011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1109
94ab793f
SM
1110 * faces.el (face-list): Fix docstring (bug#9564).
1111
8d28cb95
SM
1112 * window.el (display-buffer--action-function-custom-type):
1113 Don't include internal functions in the Custom interface.
1114
3820edeb
JL
11152011-09-20 Juri Linkov <juri@jurta.org>
1116
1117 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1118 (Info-forward-node, Info-backward-node, Info-next-preorder)
1119 (Info-last-preorder): Use it. (Bug#9528)
1120
5147931d
JL
11212011-09-20 Juri Linkov <juri@jurta.org>
1122
1123 * info.el (Info-last-preorder): Visit last menu item only when
1124 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1125
cf499a1a
JD
11262011-09-20 Julien Danjou <julien@danjou.info>
1127
1128 * password-cache.el (password-cache-remove): Remove entries even if the
1129 value is nil, so that password with a nil value (negative caching) is
1130 possible to invalidate.
1131
f84e2fe2
LM
11322011-09-20 Lawrence Mitchell <wence@gmx.li>
1133
1134 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1135 all whitespace around breakpoint. (Bug#9553)
1136 (f90-find-breakpoint): Only break at whitespace inside a comment.
1137
78054a46
SM
11382011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 * minibuffer.el (completion-file-name-table): Keep track of errors.
1141 (completion-table-with-predicate): Handle the case where pred1 is nil.
1142 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1143
345083b2
SM
11442011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1145
e24e27be
SM
1146 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1147 (debugger-return-value): Signal an error if the debugging context does
1148 not await any return value.
1149
345083b2
SM
1150 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1151 * image-mode.el (image-toggle-display-text)
1152 (image-toggle-display-image): Stay away from evil `intangible'.
1153
08d355e3
LL
11542011-09-19 Leo Liu <sdl.web@gmail.com>
1155
1156 * replace.el (occur-revert-arguments): Make it permanent-local.
1157 (occur-mode): Don't call font-lock-defontify.
1158
f01da43f
CY
11592011-09-19 Chong Yidong <cyd@stupidchicken.com>
1160
1161 * net/ldap.el (ldap-search-internal): Don't push empty search
1162 result (Bug#9508).
1163
b6072fa6
SM
11642011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1167
443d6696
MA
11682011-09-19 Michael Albinus <michael.albinus@gmx.de>
1169
1170 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1171 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1172
7cc6e154
JL
11732011-09-18 Juri Linkov <juri@jurta.org>
1174
1175 * buff-menu.el (Buffer-menu-mode-map):
1176 * dired.el (dired-mode-map):
1177 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1178 (lisp-interaction-mode-map):
1179 * emacs-lisp/package.el (package-menu-mode-map):
1180 * epa.el (epa-key-list-mode-map):
1181 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1182 (menu-bar-options-menu):
1183 * outline.el (outline-mode-menu-bar-map):
1184 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1185 * vc/vc-dir.el (vc-dir-menu-map):
1186 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1187 Capitalize non-function content words in menu item strings.
1188
1189 * dired.el (dired-mode-map): Add menu item for
1190 `image-dired-dired-toggle-marked-thumbs'.
1191
80302a81
JL
11922011-09-18 Juri Linkov <juri@jurta.org>
1193
1194 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1195 to `isearch-case-fold-search' and restore its original value
1196 after the `isearch-mode' call.
1197
46c5cf66
JL
11982011-09-18 Juri Linkov <juri@jurta.org>
1199
1200 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1201 because `zgrep' returns 1 for successful matches (bug#9226).
1202
d18b513b
JL
12032011-09-18 Juri Linkov <juri@jurta.org>
1204
1205 * info.el (Info-extract-menu-node-name): Check the second match
1206 for empty string (second test-case of bug#9528).
1207 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1208 intermediate nodes to the history (first test-case of bug#9528).
1209
72753f87
JL
12102011-09-18 Juri Linkov <juri@jurta.org>
1211
1212 * info.el (Info-mode-syntax-table): New variable.
1213 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1214
c9384295
JL
12152011-09-18 Juri Linkov <juri@jurta.org>
1216
1217 * info.el (Info-file-supports-index-cookies): Increment
1218 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1219 one more line for long file names (bug#4142).
1220
d473dce8
CY
12212011-09-18 Chong Yidong <cyd@stupidchicken.com>
1222
1223 * newcomment.el (comment-normalize-vars): If prompting for
1224 comment-start, set comment-start-skip too (Bug#8424).
1225
2176854d
JB
12262011-09-18 Johan Bockgård <bojohan@gnu.org>
1227
1228 * icomplete.el: Fix previous fix of Bug#5849.
1229 (icomplete-mode): Don't set completion-show-inline-help.
1230 (icomplete-minibuffer-setup): Set completion-show-inline-help
1231 locally during icompletion.
1232
3aace4e4
CY
12332011-09-18 Chong Yidong <cyd@stupidchicken.com>
1234
c940224f
CY
1235 * woman.el (woman2-process-escapes): Don't delete unrecognized
1236 escapes (Bug#7843).
1237
3aace4e4
CY
1238 * files.el (inhibit-first-line-modes-regexps): Add image files.
1239 (hack-local-variables-prop-line): Return nil for malformed
1240 prop-lines (Bug#9044).
1241
710dec63
MA
12422011-09-18 Michael Albinus <michael.albinus@gmx.de>
1243
1244 * net/tramp.el (top): Don't require 'shell.
1245 (tramp-methods): Fix docstring.
1246 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1247 Return complete remote file name. Handle "smb" case.
1248 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1249 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1250
1251 * net/tramp-compat.el (top): Require 'shell.
1252
1253 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1254 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1255 `tramp-current-host'.
1256 (tramp-get-remote-tmpdir): Remove.
1257
1258 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1259 `tramp-tmpdir' entries.
1260 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1261 (tramp-smb-handle-file-attributes): Ignore errors.
1262 (tramp-smb-wait-for-output): Check also for process end.
1263
5d5ac8ec
LMI
12642011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1265
1266 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1267 when sending QUIT (bug#9312).
1268
8c0f49f0
CY
12692011-09-17 Chong Yidong <cyd@stupidchicken.com>
1270
1271 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1272 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1273 occur-mode-display-occurrence.
1274 (occur-edit-mode): Add usage message.
1275 (occur-cease-edit): New command.
1276 (occur-after-change-function): Use text properties to find the
1277 position of the prefix text.
1278 (occur-engine): Set stickiness of prefix text properties.
1279
8f1383f7
GM
12802011-09-17 Glenn Morris <rgm@gnu.org>
1281
1282 * progmodes/etags.el (complete-tag):
1283 Fix call to completion-in-region. (Bug#9526)
1284
744ba0e3
JL
12852011-09-17 Juri Linkov <juri@jurta.org>
1286
1287 * textmodes/ispell.el (ispell-word): Add to the error message
1288 the word, ispell program name and current dictionary (bug#9121).
1289 (ispell-tex-arg-end): Capitalize "error" in the error message.
1290
d9bbf400
AS
12912011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1292
1293 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1294 check. (Bug#4251)
1295
8da11505
JL
12962011-09-17 Juri Linkov <juri@jurta.org>
1297
1298 * window.el (window-safe-min-height, window-safe-min-width):
1299 Fix typos (followup to bug#9522).
1300
a91adc7e
SJ
13012011-09-17 Sven Joachim <svenjoac@gmx.de>
1302
1303 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1304
064f328a
EZ
13052011-09-16 Eli Zaretskii <eliz@gnu.org>
1306
1307 * simple.el (line-move): If goal-column is set, move by logical
1308 lines, not by display lines. (Bug#971)
1309 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1310 to reflect the above change.
1311
e69df516
SM
13122011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * image.el (imagemagick-register-types): Use regexp-opt.
1315
cbb0f9ab
CY
13162011-09-15 Chong Yidong <cyd@stupidchicken.com>
1317
1318 * window.el (display-buffer-base-action): Rename from
1319 display-buffer-default-action. Make default value empty.
1320 (display-buffer-overriding-action): Convert to defvar.
1321 (display-buffer-fallback-action): New var.
1322
25322144
CY
13232011-09-15 Chong Yidong <cyd@stupidchicken.com>
1324
1325 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1326 declaration.
1327 (package--add-to-archive-contents): If there is a duplicate entry
1328 with an older version, remove it.
1329 (package-menu-mark-delete, package-menu-mark-install)
1330 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1331 (package-menu-mark-obsolete-for-deletion):
1332 Use package-menu-get-status instead of a regexp search.
25322144
CY
1333 (package-menu-get-status): Use tabulated-list-entry.
1334 (package-menu-mark-upgrades): New command.
d770725a 1335 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1336 (package-menu-execute): Do installation before deletion.
1337 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1338 instead of checking major-mode.
1339 (package-menu--find-upgrades): New function.
1340
7520339c
LMI
13412011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1342
1343 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1344 passwords in the log buffer.
65a046c4
LMI
1345 (smtpmail-process-filter): Update the process marker so that the
1346 "broken by peer" status message is inserted in the right place.
7520339c 1347
d3c30954
SM
13482011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1349
3fe48822
SM
1350 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1351 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1352 bibtex-completion-at-point-function.
1353 (bibtex-completion-at-point-function): Use them.
1354
1b8b3954
SM
1355 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1356
d3c30954
SM
1357 * mpc.el (mpc-constraints-tag-lookup): New function.
1358 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1359 also to browser "album|playlist".
1360
72779976
JL
13612011-09-14 Juri Linkov <juri@jurta.org>
1362
1363 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1364 (isearch-edit-string): Use length of `isearch-string' when
1365 `isearch-fail-pos' returns nil.
1366 (isearch-message): Remove duplicate code and call
1367 `isearch-fail-pos' with arg `t'.
1368
a0bf2bcd
CY
13692011-09-14 Chong Yidong <cyd@stupidchicken.com>
1370
17bb0a2d
CY
1371 * replace.el (occur-mode-goto-occurrence): Don't force using other
1372 window (Bug#9499).
1373
a0bf2bcd
CY
1374 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1375
f678e0b6
MR
13762011-09-14 Martin Rudalics <rudalics@gmx.at>
1377
1378 * window.el (display-buffer-window): Remove.
1379 (display-buffer-record-window): Use help-setup window parameter
1380 instead of variable display-buffer-window.
1381 (display-buffer-function, special-display-buffer-names)
1382 (special-display-function): Mention help-setup parameter instead
1383 of display-buffer-window in doc-string.
d3c30954
SM
1384 * help.el (help-window-setup): New argument help-window.
1385 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1386 Reword some messages.
1387 (with-help-window): Pass window used for displaying the buffer
1388 to help-window-setup. Don't set display-buffer-window.
1389
8e39b2e8
GM
13902011-09-13 Glenn Morris <rgm@gnu.org>
1391
1392 * emacs-lisp/debug.el (debugger-make-xrefs):
1393 Preserve point. (Bug#9462)
1394
85e9c04b
CY
13952011-09-13 Chong Yidong <cyd@stupidchicken.com>
1396
1397 * window.el (window-deletable-p): Use next-frame.
1398
1b36ed6a
MR
13992011-09-13 Martin Rudalics <rudalics@gmx.at>
1400
1401 * window.el (window-auto-delete): Remove.
1402 (window-deletable-p): Remove argument FORCE. Don't deal with
1403 dedicatedness and previous buffers.
1404 (switch-to-prev-buffer): Don't delete window.
1405 (delete-windows-on): Delete a window's frame if and only if the
1406 window is dedicated.
1407 (replace-buffer-in-windows): Delete buffer's window or frame if
1408 and only if window is dedicated.
1409 (quit-window): Handle quit-restore as before last change.
4d61f28d 1410 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1411
ef8ef9fb
CY
14122011-09-13 Chong Yidong <cyd@stupidchicken.com>
1413
1414 * window.el (window-deletable-p): Never delete the last frame on a
1415 given terminal.
1416
b2cba41e
GM
14172011-09-13 Glenn Morris <rgm@gnu.org>
1418
1419 * help.el (describe-key-briefly): Copy previous standard-output change.
1420
51553db6 14212011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1422
1423 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1424
b7556719
GM
14252011-09-13 Glenn Morris <rgm@gnu.org>
1426
1427 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1428 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1429
64b51947
CY
14302011-09-12 Chong Yidong <cyd@stupidchicken.com>
1431
1432 * dired-aux.el (dired-mark-read-string): Don't return default
1433 value on empty input (Bug#9361).
1434 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1435 Omit initial minibuffer contents.
1436 (dired-do-chmod): Signal an error on empty input.
1437 (dired-mark-read-string): Don't return default on empty input.
1438
1439 * files.el (file-modes-symbolic-to-number): Doc fix.
1440
393a301e
SM
14412011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * international/mule-cmds.el (ucs-completions): Remove.
1444 (read-char-by-name): Use complete-with-action instead; add metadata.
1445
fa5660f9
CY
14462011-09-11 Chong Yidong <cyd@stupidchicken.com>
1447
1448 * window.el (display-buffer--action-function-custom-type)
1449 (display-buffer--action-custom-type): New vars.
1450 (display-buffer-alist, display-buffer-default-action)
1451 (display-buffer-overriding-action): Add defcustom types.
1452
4a592f66
CY
1453 * frame.el (delete-other-frames): Doc fix (Bug#276).
1454
73d56dbd
LMI
14552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1456
1457 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1458
37ac18a3
CY
14592011-09-11 Chong Yidong <cyd@stupidchicken.com>
1460
1461 Change modes that used same-window-* vars to use switch-to-buffer.
1462
1463 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1464 Use switch-to-buffer.
1465
1466 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1467 (customize-browse, custom-buffer-create-other-window):
1468 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1469
1470 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1471 (Info-prev, Info-up, Info-speedbar-goto-node)
1472 (info-display-manual): Use switch-to-buffer.
1473 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1474
1475 * mail/sendmail.el (mail): Use switch-to-buffer.
1476 (mail-recover): Use switch-to-buffer-other-window.
1477
1478 * cmuscheme.el (run-scheme, switch-to-scheme):
1479 * ielm.el (ielm):
1480 * shell.el (shell):
1481 * net/rlogin.el (rlogin):
1482 * net/telnet.el (telnet, rsh):
1483 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1484
10195bd6
AS
14852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1486
1487 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1488
b322f63a
LMI
14892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1490
39d7fed6
LMI
1491 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1492 so don't mention it (bug#9301).
ba5a81f1 1493 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1494
ee0e9f11
LMI
1495 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1496 match `x', `w32' and `ns', like the manual says (bug#9029).
1497
0b1c89c1 1498 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1499 (process-kill-buffer-query-function): Mention the buffer name in
1500 the query.
0b1c89c1 1501
77549ea8
LMI
1502 * image-mode.el (image-next-line): The line parameter is mandatory
1503 (bug#9258).
1504
803ef892
LMI
1505 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1506 which can be useful (bug#9301).
1507
12980837
LMI
1508 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1509
91054f8f
LMI
1510 * subr.el (match-string): Mention that the current buffer should
1511 be the same as the search was done in (bug#9282).
1512
b322f63a
LMI
1513 * facemenu.el: Disable the remove-* commands if the mark isn't
1514 active (bug#9162).
1515
3199b96f
CY
15162011-09-10 Chong Yidong <cyd@stupidchicken.com>
1517
1518 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1519 of display-buffer.
1520 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1521
1522 * replace.el (occur-mode-goto-occurrence)
1523 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1524 and display-buffer.
1525
1526 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1527 display-buffer.
1528
1529 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1530 special-display and same-window variables.
1531 (mail-other-window): Use switch-to-buffer-other-window.
1532 (mail-other-frame): USe switch-to-buffer-other-frame.
1533
393a301e
SM
1534 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1535 Use display-buffer-other-frame.
3199b96f
CY
1536 (gdb-display-gdb-buffer): Use pop-to-buffer.
1537
1538 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1539
1540 * progmodes/python.el: Don't set same-window-buffer-names.
1541
1542 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1543
1544 * window.el (display-buffer-alist): Add *Python*.
1545
8319e0bf
CY
15462011-09-10 Chong Yidong <cyd@stupidchicken.com>
1547
1548 * window.el (display-buffer-alist): Add entry for buffers
1549 previously handled same-window-*.
1550 (display-buffer-alist, display-buffer-default-action)
1551 (display-buffer-overriding-action): Mark as risky.
1552 (display-buffer-alist): Document action function changes.
1553 (display-buffer--same-window-action)
1554 (display-buffer--other-frame-action): New variables.
1555 (switch-to-buffer, display-buffer-other-frame): Use them.
1556 (display-buffer): Rename reuse-frame entry to reusable-frames.
1557 (display-buffer-reuse-selected-window): Function deleted.
1558 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1559 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1560 (display-buffer-special): New function.
1561 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1562 display-buffer-reuse-or-pop-window. Split off special-display
1563 part into display-buffer-special.
1564 (display-buffer-use-some-window): Don't perform any special
1565 pop-up-frames handling.
1566 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1567 (display-buffer--maybe-same-window): Rename from
0d3ff375 1568 display-buffer-maybe-same-window.
8319e0bf 1569
919a69aa
CY
1570 * info.el: Don't set same-window-regexps.
1571 (info-setup): New function.
1572 (info-other-window, info): Call it.
1573
1574 * cus-edit.el: Don't set same-window-regexps.
1575 (customize-group): New argument.
1576 (customize-group-other-window): Use it.
1577 (customize-face, customize-face-other-window): Likewise.
1578 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1579
8319e0bf
CY
1580 * net/rlogin.el:
1581 * net/telnet.el:
1582 * progmodes/gud.el: Don't set same-window-regexps.
1583
1584 * cmuscheme.el:
1585 * ielm.el:
1586 * shell.el:
1587 * mail/sendmail.el:
1588 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1589
25173000
JL
15902011-09-10 Juri Linkov <juri@jurta.org>
1591
1592 * isearch.el (isearch-edit-string): Remove obsolete mention of
1593 `C-w' (`isearch-yank-word-or-char') from docstring.
1594 (isearch-query-replace): Fix typo in docstring (bug#9466).
1595
056e44ef
JL
15962011-09-10 Juri Linkov <juri@jurta.org>
1597
1598 * paren.el (show-paren-function): Don't show escaped parens.
1599 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1600
c3760c17
EZ
16012011-09-10 Eli Zaretskii <eliz@gnu.org>
1602
1603 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1604 (mm-default-file-encoding): Remove autoload forms, they are
1605 replaced with autoload cookies in mml.el and mm-encode.el.
1606 (mail-add-attachment): New command.
1607 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1608 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1609 the doc string.
1610 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1611
fece895e
RT
16122011-09-10 Reuben Thomas <rrt@sc3d.org>
1613
e69df516
SM
1614 * simple.el (count-words-region): Use buffer if there's no region
1615 (bug#9429).
fece895e 1616
5e68ce4a
JL
16172011-09-09 Juri Linkov <juri@jurta.org>
1618
1619 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1620 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1621 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1622
0a6b9622
AM
16232011-09-09 Alan Mackenzie <acm@muc.de>
1624
1625 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1626 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1627
14a29deb
EZ
16282011-09-09 Eli Zaretskii <eliz@gnu.org>
1629
1630 Fix for Savannah bug#9392.
1631 * simple.el (mail-encode-mml): New defvar.
1632
1633 * mail/rmail.el (mail-encode-mml): Add a defvar.
1634 (rmail-enable-mime-composing): Default to t.
1635 (rmail-forward): Use MIME method of forwarding only if both
1636 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1637 Set mail-encode-mml non-nil if the MIME method was used.
1638
1639 * mail/sendmail.el (mml-to-mime): Add autoload form.
1640 (mail-encode-mml): Add a defvar.
1641 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1642 to nil.
1643 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1644 message through mml-to-mime, and reset mail-encode-mml to nil.
1645
28c45130
GM
16462011-09-09 Glenn Morris <rgm@gnu.org>
1647
1648 * woman.el (woman-if-body): When processing an .el block,
1649 do not delete the next .el block as well. (Bug#9447)
69f4b618 1650 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1651
9b1c252e
MR
16522011-09-08 Martin Rudalics <rudalics@gmx.at>
1653
1654 * window.el (window-deletable-p): Make sure window is live before
1655 invoking window-prev-buffers.
1656
567457e3
LL
16572011-09-08 Leo Liu <sdl.web@gmail.com>
1658
1659 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1660
97f05794
JL
16612011-09-08 Juri Linkov <juri@jurta.org>
1662
1663 * progmodes/compile.el (compilation-environment): Make it
1664 a defcustom (bug#8340).
1665
8b0874b5
MR
16662011-09-08 Martin Rudalics <rudalics@gmx.at>
1667
1668 * window.el (frame-auto-delete): Rename to window-auto-delete.
1669 Make it control auto-deletion of windows and/or frames.
1670 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1671 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1672 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1673 Rewrite handling of case when window/frame can be deleted.
1674 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1675 argument t. (Bug#9456)
8b0874b5 1676
4feb6e73
CY
16772011-09-07 Chong Yidong <cyd@stupidchicken.com>
1678
1679 * help-mode.el (help-mode): Restore autoload.
1680
91ab9c13
JL
16812011-09-07 Juri Linkov <juri@jurta.org>
1682
1683 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1684 `compilation-environment'. Set buffer-local
1685 `compilation-environment' to `thisenv' later after (funcall mode).
1686 (Bug#8340)
1687
1688 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1689 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1690 instead of replacing its value. (Bug#8340)
1691
0527e251
JL
16922011-09-07 Juri Linkov <juri@jurta.org>
1693
1694 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1695 based on text properties put by `grep-filter' instead of matching
1696 escape sequences.
1697 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1698 to the value of `grep-error-screen-columns' (bug#9438).
1699
249f792c
JL
17002011-09-07 Juri Linkov <juri@jurta.org>
1701
1702 * simple.el (next-error-highlight, next-error-highlight-no-select):
1703 Doc fix (bug#9432).
1704
ff7271b9
OT
17052011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1706
1707 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1708 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1709
183fc730
LL
17102011-09-07 Leo Liu <sdl.web@gmail.com>
1711
1712 * net/rcirc.el (rcirc-mode): Conditionally initialize
1713 rcirc-input-ring.
1714
77694924
SM
17152011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * emacs-lisp/find-func.el (find-function-C-source): Only set
1718 find-function-C-source-directory after checking that we found a source
1719 file there (bug#9440).
1720
d809b8eb
AM
17212011-09-06 Alan Mackenzie <acm@muc.de>
1722
1723 * isearch.el (isearch-other-meta-char): Wherever a key list is
1724 unread, "unread" the prefix arg, too. This fixes bug #8901.
1725
453de99f
OG
17262011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1727
1728 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1729
90439906
JL
17302011-09-05 Juri Linkov <juri@jurta.org>
1731
1732 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1733
f62bd846
JL
17342011-09-05 Juri Linkov <juri@jurta.org>
1735
1736 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1737 keeping point where processing of grep matches begins, and
1738 continue to delete remaining escape sequences from the same point.
1739 (grep-filter): Make leading zero optional in "0?1;31m" because
1740 git-grep emits "\033[1;31m" escape sequences unlike expected
1741 "\033[01;31m" as GNU Grep does (bug#9408).
1742 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1743
045820ec
JL
17442011-09-05 Juri Linkov <juri@jurta.org>
1745
1746 * subr.el (y-or-n-p): Capitalize "yes".
1747
f5e29b9b
MA
17482011-09-04 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1751 `tramp-cache-unload-hook' where appropriate.
1752 (tramp-methods): Rename `tramp-remote-sh' to
1753 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1754 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1755
1756 * net/tramp-sh.el (top): Don't require 'shell.
1757 (tramp-methods): Add `tramp-remote-shell' and
1758 `tramp-remote-shell-args' entries.
1759 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1760 (tramp-sh-handle-shell-command): Remove.
1761 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1762 Use `tramp-remote-shell'.
1763
2784c434
CY
17642011-09-03 Chong Yidong <cyd@stupidchicken.com>
1765
393a301e 1766 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1767 (sendmail-query-once): Save directly to send-mail-function.
1768 Update message-send-mail-function too.
1769
1770 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1771
464cdf56
CS
17722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1773
1774 * progmodes/python.el (python-mode-map): Use correct function to
1775 start python interpreter from menu-bar (as reported by Geert
1776 Kloosterman).
1777 (inferior-python-mode-map): Fix typo.
393a301e 1778 (python-shell-map): Remove.
464cdf56 1779
d37e5c87
DD
17802011-09-03 Deniz Dogan <deniz@dogan.se>
1781
1782 * net/rcirc.el (rcirc-print): Simplify code for
1783 rcirc-scroll-show-maximum-output. There is no need to walk
1784 through all windows to find the right one.
1785
f3ada0ee
CS
17862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1787
1788 * help.el (help-return-method): Doc fix.
1789
1f3c99ca
MR
17902011-09-03 Martin Rudalics <rudalics@gmx.at>
1791
1792 * window.el (window-deletable-p): Don't return a non-nil value
1793 when there's a buffer that was shown in the window before.
1794 (Bug#9419)
393a301e
SM
1795 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1796 Set window's previous buffers to nil.
1f3c99ca 1797
a3cf097f
EZ
17982011-09-03 Eli Zaretskii <eliz@gnu.org>
1799
1800 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1801 newline before and after the tag line, so it doesn't interfere
1802 with determining the paragraph direction of bidirectional text.
1803
3d03de90
LL
18042011-09-03 Leo Liu <sdl.web@gmail.com>
1805
1806 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1807
c3313451
CY
18082011-09-02 Chong Yidong <cyd@stupidchicken.com>
1809
393a301e 1810 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1811 (pop-to-buffer): Change interactive spec. Pass second argument
1812 directly to display-buffer.
1813 (display-buffer): Fix interactive spec. Use functionp to
1814 distinguish between a function and a list of functions.
1815
1816 * abbrev.el (edit-abbrevs):
1817 * arc-mode.el (archive-extract):
1818 * autoinsert.el (auto-insert):
1819 * bookmark.el (bookmark-bmenu-list):
1820 * files.el (find-file):
1821 * view.el (view-buffer):
1822 * progmodes/compile.el (compilation-goto-locus):
1823 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1824
89894cd8
CY
18252011-09-02 Chong Yidong <cyd@stupidchicken.com>
1826
1827 * window.el (display-buffer-alist): Doc fix.
1828 (display-buffer): Add docstring. Don't treat
1829 display-buffer-default specially.
1830 (display-buffer-reuse-selected-window)
1831 (display-buffer-same-window, display-buffer-maybe-same-window)
1832 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1833 (display-buffer-pop-up-window)
1834 (display-buffer-reuse-or-pop-window)
1835 (display-buffer-use-some-window): New functions.
1836 (display-buffer-default-action): Use them.
393a301e 1837 (display-buffer-default): Delete.
89894cd8
CY
1838 (pop-to-buffer-1): Fix choice of actions.
1839
ae0bc9fb
SM
18402011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * minibuffer.el (completion--insert-strings): Don't get confused by
1843 completion entries that end with an LF char.
1844
e9d90883
EZ
18452011-09-01 Eli Zaretskii <eliz@gnu.org>
1846
1847 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1848
437014c8
CY
18492011-09-01 Chong Yidong <cyd@stupidchicken.com>
1850
1851 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1852 (display-buffer-same-window, display-buffer-other-window):
1853 New functions.
437014c8
CY
1854 (pop-to-buffer-1): New function. Use the above.
1855 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1856 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1857
1858 * view.el (view-buffer-other-window, view-buffer-other-frame):
1859 Just use pop-to-buffer.
1860
a5e063d5
TV
18612011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1862
1863 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1864
793d32bb
WH
18652011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1866
1867 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1868
d65e4c15
RS
18692011-08-31 Richard Stallman <rms@gnu.org>
1870
1871 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1872 of the separation of rmail-view-buffer from rmail-buffer.
1873 If you say no to "replace original", the decrypt is in the
1874 view buffer. If you say yes, the decrypt goes into the
1875 rmail buffer also.
1876
f818cd2a
MR
18772011-08-31 Martin Rudalics <rudalics@gmx.at>
1878
1879 * window.el (display-buffer-window): Rewrite doc-string.
1880 (display-buffer-record-window): New function.
1881 (display-buffer-macro-specifiers)
1882 (display-buffer-even-window-sizes, display-buffer-set-height)
1883 (display-buffer-set-width, display-buffer-in-window)
1884 (display-buffer-reuse-window, display-buffer-split-specifiers)
1885 (display-buffer-side-specifiers, display-buffer-split-window-1)
1886 (display-buffer-split-window, display-buffer-split-atom-window)
1887 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1888 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1889 (display-buffer-other-window-means-other-frame)
1890 (display-buffer-normalize-special)
1891 (display-buffer-normalize-default)
1892 (display-buffer-normalize-argument)
1893 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1894 (display-buffer-normalize-specifiers, display-buffer-frame)
1895 (display-buffer-same-window, display-buffer-same-frame)
1896 (display-buffer-other-window)
1897 (display-buffer-same-frame-other-window)
1898 (display-buffer-other-frame, pop-to-buffer-same-window)
1899 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1900 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1901 (switch-to-buffer-same-frame)
1902 (switch-to-buffer-other-window-same-frame)
1903 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1904 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1905 (display-buffer-alist-set): Remove.
1906 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1907 (special-display-regexps, special-display-function):
1908 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1909 parameter.
1910 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1911 (special-display-frame-alist, special-display-popup-frame)
1912 (same-window-buffer-names, same-window-regexps, same-window-p)
1913 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1914 (split-window-preferred-function, split-height-threshold)
1915 (split-width-threshold, window-splittable-p)
1916 (split-window-sensibly, window--try-to-split-window)
1917 (window--frame-usable-p, even-window-heights)
1918 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1919 (window--display-buffer-2, display-buffer-other-frame):
1920 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1921 (display-buffer-default, display-buffer-assq-regexp): New functions.
1922 (display-buffer-alist): Rewrite doc-string.
1923 (display-buffer-default-action)
1924 (display-buffer-overriding-action): New variables.
1925 (display-buffer, switch-to-buffer): Rewrite.
1926 (pop-to-buffer): Restore Emacs 23 behavior but use
1927 window-normalize-buffer-to-display.
1928 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1929 Restore Emacs 23 behavior but use
1930 window-normalize-buffer-to-switch-to.
1931 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1932 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1933 Rewrite using Emacs 23 options.
f818cd2a 1934
5bc3b51d
MA
19352011-08-31 Michael Albinus <michael.albinus@gmx.de>
1936
1937 * net/tramp.el (tramp-root-regexp): Remove.
1938 (tramp-completion-file-name-regexp-unified)
1939 (tramp-completion-file-name-regexp-separate)
1940 (tramp-completion-file-name-regexp-url): Don't use leading volume
1941 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1942 (tramp-drop-volume-letter): Simplify definition.
1943 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1944
b1a4f8e1
SM
19452011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1948 (bug#9356).
1949
5664fa7b
RT
19502011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1951
b1a4f8e1 1952 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1953
9a45d6c3
JL
19542011-08-29 Juri Linkov <juri@jurta.org>
1955
1956 * isearch.el (isearch-done): Don't display message "Mark saved"
1957 when arg `edit' is non-nil to prevent its flicker in the echo area.
1958
fb87e0fb
CY
19592011-08-28 Chong Yidong <cyd@stupidchicken.com>
1960
1961 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1962 obsolete packages for deletion.
1963
09ac1c2a
CS
19642011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1965
1966 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1967 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1968 view-mode from help-mode.
1969 (help-xref-override-view-map): Remove.
1970 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1971 view-mode is not used anymore.
1972
7a1ff57f
CY
19732011-08-28 Chong Yidong <cyd@stupidchicken.com>
1974
1975 * server.el (server-port): Doc fix.
1976
b9696605
CY
1977 * cus-theme.el (custom-theme-choose-mode): Inherit from
1978 special-mode (Bug#9124).
1979 (custom-theme-choose-mode-map): Add special-mode to parent.
1980
ef8cdf8c
AM
19812011-08-28 Alan Mackenzie <acm@muc.de>
1982
1983 * progmodes/cc-fonts.el
1984 (c-make-font-lock-BO-decl-search-function): New function.
1985 (c-basic-matchers-after - "Fontify the clauses after various
1986 keywords"): Extract the three keyword lists for the 3 erroneous
1987 constructs from the list of four, and use the new function above
1988 in place of an old one.
1989
27de4e20
DD
19902011-08-28 Deniz Dogan <deniz@dogan.se>
1991
1992 * net/rcirc.el (rcirc-insert-prev-input)
1993 (rcirc-insert-next-input): Remove unused argument.
1994
356a3681
SM
19952011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1998
3fc9b218
AM
19992011-08-27 Alan Mackenzie <acm@muc.de>
2000
2001 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2002 handle function pointer parameters properly.
2003
538a061c
MR
20042011-08-27 Martin Rudalics <rudalics@gmx.at>
2005
2006 * window.el (display-buffer-reuse-window): Fix case where
2007 selected window was reused with non-nil OTHER-WINDOW argument.
2008 (Bug#9381)
2009
35b1c40c
DD
20102011-08-27 Deniz Dogan <deniz@dogan.se>
2011
2012 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2013 oftc's NickServ messages.
2014
2f6a3e79
GM
20152011-08-27 Glenn Morris <rgm@gnu.org>
2016
2017 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2018
7254299e
CY
20192011-08-26 Chong Yidong <cyd@stupidchicken.com>
2020
2021 * emacs-lisp/package.el (package-install): Call package-initialize
2022 if called interactively.
2023
f8ccf167
LL
20242011-08-26 Leo Liu <sdl.web@gmail.com>
2025
2026 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2027
3e8cd5ce
JL
20282011-08-25 Juri Linkov <juri@jurta.org>
2029
2030 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2031 `search-whitespace-regexp' (bug#9364).
2032
93eb7113
JL
20332011-08-25 Juri Linkov <juri@jurta.org>
2034
2035 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2036 `regexp-search-ring' to their global values to protect from
2037 updating by `read-from-minibuffer' (bug#9185).
2038
f65d1611
JL
20392011-08-25 Juri Linkov <juri@jurta.org>
2040
2041 * textmodes/ispell.el (ispell-command-loop): Add newline
2042 at the end of the "Use option `i'..." line.
2043
f1cf7a31
JL
20442011-08-25 Juri Linkov <juri@jurta.org>
2045
2046 * battery.el (display-battery-mode): If `battery-status-function'
2047 or `battery-mode-line-format' is nil, display the message and set
2048 `display-battery-mode' to nil (bug#9363).
2049
0c95fcf7
EZ
20502011-08-25 Eli Zaretskii <eliz@gnu.org>
2051
2052 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2053 bidi-string-mark-left-to-right; they are unnecessary now.
2054
a2ebe600
DD
20552011-08-25 Deniz Dogan <deniz@dogan.se>
2056
2057 * net/quickurl.el: Documentation typo fixes.
2058
e4ed06f1
CY
20592011-08-25 Chong Yidong <cyd@stupidchicken.com>
2060
2061 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2062
e5f1c99e
GM
20632011-08-25 Glenn Morris <rgm@gnu.org>
2064
b2948976
GM
2065 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2066
e5f1c99e
GM
2067 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2068 (smtpmail-via-smtp): Handle nil response from smtp.
2069
f22f4808
JL
20702011-08-24 Juri Linkov <juri@jurta.org>
2071
2072 * proced.el (proced-marked): Inherit from `error' instead of
2073 `font-lock-warning-face'.
2074
2075 * ibuffer.el (ibuffer-marked-face): Change default face from
2076 `font-lock-warning-face' to `warning'.
2077 (ibuffer-deletion-face): Change default face from
2078 `font-lock-type-face' to `error'.
2079
2080 * battery.el (battery-update): Use the face `error' instead of
2081 `font-lock-warning-face' (bug#6117).
2082
6a93965e
JL
20832011-08-24 Juri Linkov <juri@jurta.org>
2084
2085 * faces.el (success): Change face color from "Green3" to
2086 "ForestGreen" on light background (bug#9353).
2087
1ed43b09
CY
20882011-08-24 Chong Yidong <cyd@stupidchicken.com>
2089
5664fa7b
RT
2090 * window.el (quit-window): Rename from quit-restore-window.
2091 Use same arglist as old quit-window.
1ed43b09
CY
2092 (frame-auto-delete): Doc fix.
2093
2094 * view.el (view-mode-exit): Use quit-window.
2095
11dcdbb2
JL
20962011-08-24 Juri Linkov <juri@jurta.org>
2097
2098 * isearch.el (isearch-ring-adjust1): Start visiting previous
2099 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2100 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2101 for empty search string (when the last search string is reused
2102 automatically) to adjust the isearch ring to the last element and
2103 prepare the correct index for further M-p commands (bug#9185).
2104
de62b4df
KH
21052011-08-24 Kenichi Handa <handa@m17n.org>
2106
2107 * international/ucs-normalize.el: If decomposition property of
2108 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2109 nil.
2110 (nfd, nfkd): Likewise.
2111
963b492b
SM
21122011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2115 from process filters aren't reliably transmitted to the surrounding
2116 accept-process-output.
2117 (mpc-proc-check): New function.
2118 (mpc-proc-sync): Use it (bug#8293)
2119
93b6b5e1
SM
21202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2121
2122 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2123 Add compatibility functions (bug#9313).
2124
bca633fb
EZ
21252011-08-23 Eli Zaretskii <eliz@gnu.org>
2126
b177498a
EZ
2127 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2128
bca633fb
EZ
2129 * international/uni-bidi.el: Regenerated.
2130
0902a04e
KH
21312011-08-23 Kenichi Handa <handa@m17n.org>
2132
2133 * international/charprop.el:
2134 * international/uni-bidi.el:
2135 * international/uni-category.el:
2136 * international/uni-combining.el:
2137 * international/uni-comment.el:
2138 * international/uni-decimal.el:
2139 * international/uni-decomposition.el:
2140 * international/uni-digit.el:
2141 * international/uni-lowercase.el:
2142 * international/uni-mirrored.el:
2143 * international/uni-name.el:
2144 * international/uni-numeric.el:
2145 * international/uni-old-name.el:
2146 * international/uni-titlecase.el:
2147 * international/uni-uppercase.el: Regenerate.
2148
3bbf23bc
MR
21492011-08-23 Martin Rudalics <rudalics@gmx.at>
2150
2151 * help.el (help-window-setup): Fix message displayed when other
2152 window is reused. (Bug#9341)
2153
b3fd59bd
SM
21542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2155
1802e444
SM
2156 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2157 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2158
b3fd59bd
SM
2159 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2160 Mark obsolete.
2161 * shell.el (shell-parse-pcomplete-arguments): New function.
2162 (shell-completion-vars): Use it instead (bug#9160).
2163
4eb61348
SM
21642011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2165
867cab74
SM
2166 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2167 strings and comments (bug#9333).
2168
4eb61348
SM
2169 * emacs-lisp/debug.el (debug-arglist): New function.
2170 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2171 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2172
262a1439
JL
21732011-08-22 Juri Linkov <juri@jurta.org>
2174
56ee679c
JL
2175 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2176 Revert regexp that highlights output switches to its old
2177 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2178
262a1439
JL
2179 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2180 to check for empty output (bug#9226).
2181
f13f86fb
CY
21822011-08-22 Chong Yidong <cyd@stupidchicken.com>
2183
2184 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2185 symbol-constituent as the default, as that stops font-lock from
2186 working properly (Bug#8843).
2187
c65c9622
LMI
21882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2189
2190 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2191 `coding-system-for-*' around the process open call to avoid
2192 auth-source side effects.
e7f2c178 2193 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2194 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2195 probe hangs.
c65c9622 2196
23a8a5ab
CY
21972011-08-21 Chong Yidong <cyd@stupidchicken.com>
2198
ff98b2dd
CY
2199 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2200
23a8a5ab
CY
2201 * emacs-lisp/find-func.el (find-function-noselect): New arg
2202 lisp-only.
2203
2204 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2205 signal an error for built-in functions (Bug#6664).
2206
f5e3c598
LMI
22072011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2208
2209 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2210 (smtpmail-try-auth-methods): Use it.
2211
a3f2468a
CY
22122011-08-21 Chong Yidong <cyd@stupidchicken.com>
2213
2c34e8da
CY
2214 * font-lock.el (font-lock-fontify-region)
2215 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2216 (font-lock-default-unfontify-buffer)
2217 (font-lock-default-fontify-region)
2218 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2219
b3fd59bd
SM
2220 * progmodes/compile.el (compilation-error-properties):
2221 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2222 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2223 `ant' regexp.
ee31aabc 2224
a3f2468a
CY
2225 * net/browse-url.el (browse-url-firefox): Don't call
2226 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2227
8e999f70
GM
22282011-08-20 Glenn Morris <rgm@gnu.org>
2229
c21a496a
GM
2230 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2231
59ee0542
GM
2232 * tutorial.el (tutorial--default-keys): Update some default bindings.
2233
8e999f70
GM
2234 * files.el (hack-local-variables): Fully ignore case for "mode:".
2235
e3715033
AM
22362011-08-20 Alan Mackenzie <acm@muc.de>
2237
2238 Resolve invalid use of a regexp in regexp-opt.
2239
4d61f28d
JB
2240 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2241 detection for a java annotation.
e3715033 2242
4d61f28d 2243 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2244 detection for a java annotation.
2245
4d61f28d
JB
2246 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2247 handling for java.
e3715033
AM
2248 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2249
04ed2e9c
CY
22502011-08-20 Chong Yidong <cyd@stupidchicken.com>
2251
2252 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2253 (Bug#9274).
2254
826cee64
AM
22552011-08-20 Alan Mackenzie <acm@muc.de>
2256
2257 * Fontify CPP expressions correctly when starting in the middle of
2258 such a construct. Mainly for when jit-lock etc. starts a chunk
2259 here.
2260
2261 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2262 variable.
2263 (c-make-font-lock-search-form): new function, extracted from
2264 c-make-font-lock-search-function.
2265 (c-make-font-lock-search-function): Use the above function.
2266 (c-make-font-lock-context-search-function): New function.
2267 (c-cpp-matchers): Enhance the preprocessor expression case with
2268 the above function
2269 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2270 which takes an expression.
2271
2272 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2273
13009bd8
MR
22742011-08-20 Martin Rudalics <rudalics@gmx.at>
2275
2276 * window.el (display-buffer-reuse-window)
2277 (display-buffer-pop-up-window): Don't reuse or split a side
2278 window.
2279
9234ff7f
GM
22802011-08-19 Glenn Morris <rgm@gnu.org>
2281
2282 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2283 Downcase "Mode:". (Bug#9331)
9234ff7f 2284
f635daa1
CY
22852011-08-18 Chong Yidong <cyd@stupidchicken.com>
2286
2287 * international/characters.el: Add L and R categories.
2288
2289 * subr.el (bidi-string-mark-left-to-right): Rename from
2290 string-mark-left-to-right. Use category search.
2291
2292 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2293
bc987f8b
JL
22942011-08-18 Juri Linkov <juri@jurta.org>
2295
2296 * faces.el (error, warning, success): New faces with definitions
2297 copied from old default values of `font-lock-warning-face',
2298 `compilation-warning', `compilation-info' (bug#6117).
2299
2300 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2301
2302 * progmodes/compile.el (compilation-error): Inherit from `error'.
2303 (compilation-warning): Inherit from `warning'.
2304 (compilation-info): Inherit from `success'.
2305
2306 * dired.el (dired-marked): Inherit from `warning'.
2307 (dired-flagged): Inherit from `error'.
2308
57173b96
LMI
23092011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2310
3e79eb87
LMI
2311 * mail/smtpmail.el (auth-source): Require to avoid problems with
2312 binding variables (bug#9298). Also clean up some unused
2313 autoloads.
2314
b3fd59bd
SM
2315 * net/network-stream.el (network-stream-open-starttls):
2316 Support using starttls.el without using gnutls-cli.
57173b96 2317
02b404de
JL
23182011-08-17 Juri Linkov <juri@jurta.org>
2319
2320 * progmodes/grep.el (rgrep): Handle the case when
2321 `grep-find-command' is a cons cell (bug#9278).
2322
8c9177f2
MR
23232011-08-17 Martin Rudalics <rudalics@gmx.at>
2324
2325 * window.el (display-buffer-pop-up-frame): Run frame creation
2326 function with BUFFER current (as special-display-popup-frame
2327 does). Reported by Drew Adams.
2328
3644a0ab
DU
23292011-08-17 Daiki Ueno <ueno@unixuser.org>
2330
2331 * epa-mail.el: Simplify GnuPG group expansion using
2332 epg-expand-group.
2333 (epa-mail-group-alist, epa-mail-group-modtime)
2334 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2335 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2336 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2337 Remove.
2338
5e617bc2 23392011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2340
2341 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2342
9c4aeabf
AM
23432011-08-16 Alan Mackenzie <acm@muc.de>
2344
2345 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2346 Correct, to avoid the inside of macros.
2347
3a99bf64
RS
23482011-08-16 Richard Stallman <rms@gnu.org>
2349
04963aa8
RS
2350 * epa-mail.el: Handle GnuPG group definitions.
2351 (epa-mail-group-alist, epa-mail-group-modtime)
2352 (epa-mail-gnupg-conf-file): New variables.
2353 (epa-mail-parse-groups, epa-mail-sync-groups)
2354 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2355 (epa-mail-expand-recipients): New functions.
2356 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2357
177549d0
RS
2358 * mail/rmail.el (rmail-epa-decrypt): New command.
2359
fe38beef
RS
2360 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2361 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2362 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2363 (epa-decrypt-armor-in-region): Make error message clearer.
2364
934eacb9
SM
23652011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2368 and "a2b" to "ab" for `prefix'.
2369
d024fb4e
CY
23702011-08-14 Chong Yidong <cyd@stupidchicken.com>
2371
2372 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2373 filter groups.
de148fee
CY
2374 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2375 Fourquet (Bug#8804).
d024fb4e 2376
62f1ca49
JB
23772011-08-12 Juanma Barranquero <lekktu@gmail.com>
2378
2379 * startup.el (argi): Declare as global variable (bug#9275).
2380
9ccaaa4b
CY
23812011-08-12 Chong Yidong <cyd@stupidchicken.com>
2382
2383 * subr.el (string-mark-left-to-right): Search the entire string
2384 for RTL script, not just the terminating character. Doc fix.
2385
a3dae87a
SM
23862011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2387
6cd18349
SM
2388 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2389 New function.
2390 (js--regexp-literal, js-syntax-propertize-function): Remove.
2391 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2392 (js-mode-map): Don't rebind electric keys.
2393 (js-insert-and-indent): Remove.
2394 (js-mode): Setup electric-layout and electric-indent instead.
2395
a3dae87a
SM
2396 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2397
9d5cb631
DU
23982011-08-12 Daiki Ueno <ueno@unixuser.org>
2399
2400 * epa.el (epa-progress-callback-function): Fix the logic of
2401 displaying progress.
2402 * epa-file.el (epa-file-insert-file-contents): Make progress
2403 display more user-friendly.
2404 (epa-file-write-region): Ditto.
2405
3e26a4a2
CY
24062011-08-10 Chong Yidong <cyd@stupidchicken.com>
2407
2408 * subr.el (string-mark-left-to-right): New function.
2409
2410 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2411 Use string-mark-left-to-right.
2412 (list-buffers-noselect): Caller changed.
2413
a3dae87a
SM
2414 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2415 Use string-mark-left-to-right.
3e26a4a2
CY
2416 (tabulated-list-print): Recenter after moving point.
2417
ac8cf6e6
JL
24182011-08-10 Juri Linkov <juri@jurta.org>
2419
2420 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2421 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2422 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2423
8d96c9a4
CY
24242011-08-09 Chong Yidong <cyd@stupidchicken.com>
2425
2426 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2427 (Bug#7554).
2428
7be1c708 24292011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2430
2431 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2432 character. (Bug#6594)
2433
37e11a63
CY
24342011-08-08 Chong Yidong <cyd@stupidchicken.com>
2435
839dde57
CY
2436 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2437 (image-dired--with-db-file): New macro.
2438 (image-dired-write-tags, image-dired-remove-tag)
2439 (image-dired-create-gallery-lists, image-dired-write-comments)
2440 (image-dired-get-comment, image-dired-mark-tagged-files)
2441 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2442 (image-dired-gallery-generate): Use insert-file-contents.
2443
37e11a63
CY
2444 * time.el (display-time-world-list, display-time-world-display):
2445 * time-stamp.el (time-stamp-string):
2446 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2447 set-time-zone-rule (Bug#7337).
2448
0b4946c4
DU
24492011-08-08 Daiki Ueno <ueno@unixuser.org>
2450
2451 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2452 (epg-error-to-string, epg-errors-to-string): New function.
2453 (epg-wait-for-completion): Reverse errors list.
2454 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2455 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2456 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2457 (epg-sign-keys, epg-generate-key-from-file)
2458 (epg-generate-key-from-string): Format errors by using
2459 epg-errors-to-string (bug#9255).
2460 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2461
75bfc667
JL
24622011-08-07 Juri Linkov <juri@jurta.org>
2463
2464 * faces.el (list-faces-display): Remove extra angle bracket
2465 from `help-mode-map'.
2466
2467 * info.el (Info-history-toc-nodes): Doc fix.
2468
2469 * longlines.el (longlines-mode): Doc fix.
2470
673e08bb
SM
24712011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2472
4640dd88
SM
2473 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2474 of statements and in a few more cases (bug#9183).
2475
673e08bb
SM
2476 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2477 New functions.
2478 (cl-transform-lambda): Use them (bug#9239).
2479
89b3f019
MR
24802011-08-05 Martin Rudalics <rudalics@gmx.at>
2481
2482 * window.el (display-buffer-same-window)
2483 (display-buffer-same-frame, display-buffer-other-window)
2484 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2485 (pop-to-buffer-other-window)
2486 (pop-to-buffer-same-frame-other-window)
2487 (pop-to-buffer-other-frame): Make them defuns.
2488 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2489
640c8776
SM
24902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * subr.el (make-composed-keymap): Move from C. Change calling
2493 convention, and improve docstring to bring attention to a subtle point.
2494 * minibuffer.el (completing-read-default): Adjust accordingly.
2495
63648a95
MA
24962011-08-03 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2499 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2500
2501 * net/trampver.el: Update release number.
2502
b796c9b7
SM
25032011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2506 "in" (bug#9190).
2507
2239d7d5
LMI
25082011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2509
e07dd7c3
LMI
2510 * mail/sendmail.el (sendmail-query-once): Restore the current
2511 buffer after querying (bug#9074).
2512
0e6a2bd7
LMI
2513 * dired.el (dired-flagged): Use different faces for marked and
2514 flagged files (bug#6117).
2515
ce887515
LMI
2516 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2517 (bug#4433).
2518
92f2affc
LMI
2519 * ido.el (ido-mode): Switch off the message if called
2520 non-interactively.
2521
57d5aff0
LMI
2522 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2523 before 587, since it appears that that's more likely to work for
2524 more people.
2525
98cd6c18
LMI
2526 * cus-edit.el (custom-file): When running under emacs -q, always
2527 refuse to save the customisations, even if the .emacs file doesn't
2528 exist.
2529
b96dec83
LMI
2530 * info.el: Remove the `Info-beginning-of-buffer' function
2531 (bug#8325).
2532
b796c9b7
SM
2533 * net/network-stream.el (network-stream-open-starttls):
2534 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2535
d90e2ea0
MR
25362011-08-01 Martin Rudalics <rudalics@gmx.at>
2537
2538 * window.el (display-buffer-in-window): Don't set dedicated status
2539 of window here (Bug#9215).
2540 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2541 (display-buffer-pop-up-side-window)
b796c9b7 2542 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2543
cca09170
SM
25442011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2547 before binding generated-autoload-file.
2548
027b979c
DD
25492011-08-01 Deniz Dogan <deniz@dogan.se>
2550
2551 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2552
3c7ee4f3
MA
25532011-07-30 Michael Albinus <michael.albinus@gmx.de>
2554
2555 Sync with Tramp 2.2.2.
2556
2557 * net/trampver.el: Update release number.
2558
2cc8e51a
JL
25592011-07-30 Juri Linkov <juri@jurta.org>
2560
2561 * dired-aux.el (dired-touch-initial): Remove function.
2562 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2563 current time, and `default' to the last modification time of the
2564 current marked file (bug#6887).
2565
a514d856
JM
25662011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2567
2568 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2569 numeric argument to read-number (bug#9163).
a514d856 2570
8a7eddd7
MA
25712011-07-27 Michael Albinus <michael.albinus@gmx.de>
2572
2573 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2574 connection process, it could be nil.
2575
1ddd96f5
LL
25762011-07-27 Leo Liu <sdl.web@gmail.com>
2577
2578 Simplify url handling in rcirc-mode.
2579
2580 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2581 (rcirc-browse-url-at-mouse): Remove.
2582 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2583
b248a85d
AM
25842011-07-26 Alan Mackenzie <acm@muc.de>
2585
2586 Fontify bitfield declarations properly.
2587
2588 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2589 (c-symbol-chars): Now exported as a lang variable.
2590 (c-not-primitive-type-keywords): New lang variable.
2591
2592 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2593 QT keyword "more" to prevent "more slots: ...." being spuriously
2594 parsed as a bitfield declaraion.
2595
b796c9b7
SM
2596 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2597 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2598 (c-punctuation-in): New function.
2599 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2600 declarations properly.
2601
68575ab0
UJ
26022011-07-26 Ulf Jasper <ulf.jasper@web.de>
2603
2604 * calendar/icalendar.el (icalendar--all-events): Take care of
2605 multiple vcalendars in a single file.
b796c9b7 2606 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2607
0f0a88b9
DD
26082011-07-25 Deniz Dogan <deniz@dogan.se>
2609
2610 * image.el (insert-image): Clarifying docstring.
2611
0b3f36df
MA
26122011-07-24 Michael Albinus <michael.albinus@gmx.de>
2613
2614 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2615 `tramp-send-command-and-check' if there is no error.
2616 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2617
a9901f61
AM
26182011-07-22 Alan Mackenzie <acm@muc.de>
2619
2620 Prevent cc-langs.elc being loaded at run time.
2621
2622 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2623 cc-langs.
2624
4d61f28d 2625 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2626 "(require 'cc-langs)". Quote a form so it will evaluate at
2627 (cc-mode's) compilation time.
2628
11d074b2
MA
26292011-07-22 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2632 loading. (Bug#9114)
2633
938b94c8
MR
26342011-07-21 Martin Rudalics <rudalics@gmx.at>
2635
2636 * window.el (display-buffer-pop-up-window)
2637 (display-buffer-pop-up-side-window)
2638 (display-buffer-in-side-window): Call display-buffer-set-height
2639 and display-buffer-set-width after setting the new window's
b796c9b7 2640 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2641
bfa4f190
SS
26422011-07-20 Sam Steingold <sds@gnu.org>
2643
2644 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2645 (etags-tags-included-tables): Call `convert-standard-filename' on
2646 the file names contained in TAGS so that windows Emacs can handle
2647 TAGS files created by cygwin ctags.
2648
8ca42262
LMI
26492011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2650
2651 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2652 which apparently didn't work.
2653
5db2afd2 26542011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2655
5db2afd2
RW
2656 * proced.el (proced-send-signal): For *Marked Processes* buffer
2657 put point at beginning of buffer.
2658
92e15d10
SB
26592011-07-19 Stephen Berman <stephen.berman@gmx.net>
2660
2661 * proced.el (proced-format): Make header lines align with the text
2662 (bug#1779).
2663
1bfd59e5
LMI
26642011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2665
2666 * view.el (view-buffer): Allow running in `special' modes if we're
2667 visiting a file (bug#8615).
2668
f5aae37c
MR
26692011-07-19 Martin Rudalics <rudalics@gmx.at>
2670
2671 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2672 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2673 New functions.
f5aae37c
MR
2674 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2675 more accurately.
2676
bf2c1571
AM
26772011-07-18 Alan Mackenzie <acm@muc.de>
2678
2679 Fontify declarators properly when, e.g., a jit-lock chunk begins
2680 inside a declaration.
2681
2682 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2683
b796c9b7
SM
2684 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2685 New function.
bf2c1571
AM
2686 (c-complex-decl-matchers): Insert reference to
2687 c-font-lock-enclosing-decls.
2688
2689 * progmodes/cc-engine.el (c-backward-single-comment):
2690 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2691 to nil around calls to (forward-comment -1).
2692
4e190b80
LMI
26932011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2694
12dc863d
LMI
2695 * image.el (put-image): Doc typo fix.
2696
a762e966
LMI
2697 * progmodes/etags.el (tags-search): Doc typo fix.
2698
4e190b80
LMI
2699 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2700 password if we get errors 550 to 554.
2701
f019fb21
LMI
27022011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2703
b796c9b7 2704 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2705
81746738
LMI
2706 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2707 indentation character (bug#6380).
2708
3ee3a1b5
LMI
2709 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2710
c82f64de
LMI
2711 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2712 to clarify what the problem is (bug#4291).
2713
f019fb21
LMI
2714 * simple.el (current-kill): Clarify what
2715 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2716 (auto-fill-mode): Document `auto-fill-function' in relation to
2717 `auto-fill-mode' (bug#2470).
f019fb21 2718
0794775d
LM
27192011-07-16 Lawrence Mitchell <wence@gmx.li>
2720
2721 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2722 method if slot is read-only (bug#9035).
2723
be39b8cc
MR
27242011-07-16 Martin Rudalics <rudalics@gmx.at>
2725
b796c9b7 2726 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2727 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2728 selected before, see discussion of (Bug#8615), (Bug#6954).
2729 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2730
6ccf7859
GM
27312011-07-15 Glenn Morris <rgm@gnu.org>
2732
2733 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2734 Respect help-form.
6ccf7859 2735
87e86684
LM
27362011-07-09 Lawrence Mitchell <wence@gmx.li>
2737
2738 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2739 (gnutls-negotiate): Use it.
2740
d6066239
LMI
27412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2742
b796c9b7
SM
2743 * net/gnutls.el (gnutls-negotiate):
2744 Upcase `gnutls-algorithm-priority'.
d6066239 2745
bd23ebc0
GM
27462011-07-15 Glenn Morris <rgm@gnu.org>
2747
c65bca65
GM
2748 * jka-compr.el (jka-compr-verbose): Move from here...
2749 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2750 Add missing :version tag.
2751 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2752
478615cc
LMI
27532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2754
7b41decb
LMI
2755 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2756 (gnutls-negotiate): Use it.
2757
dbc44fcd
LMI
2758 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2759
06789f97
LMI
2760 * info.el (Info-beginning-of-buffer): New command.
2761 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2762 announcing `b' as the key (bug#8325).
ab896c37 2763 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2764
c39da690
LMI
2765 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2766
3aa5f34b
LMI
2767 * international/mule-cmds.el
2768 (describe-specified-language-support): Make the error message
2769 clearer (bug#8905).
2770
4bf0979f
LMI
2771 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2772
478615cc
LMI
2773 * isearch.el (isearch-barrier): Add a doc string, since it's
2774 mentioned in a function doc string (bug#8678).
2775
75c68aa1
MR
27762011-07-15 Martin Rudalics <rudalics@gmx.at>
2777
2778 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2779 buffer argument (Bug#9083) and self-identifying label argument.
2780
a7c33da2
GM
27812011-07-15 Glenn Morris <rgm@gnu.org>
2782
2783 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2784
2f5c6024
LMI
27852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786
2787 * man.el (Man-fontify-manpage): Fix message when formatting the
2788 man page (bug#7929).
2789
0bb23927 27902011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2791
2792 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2793 argument LRM; if non-nil, append an invisible LRM character to the
2794 buffer name.
2795 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2796 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2797 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2798 paragraph direction.
cce4b0a7 2799
621ef9ab
LMI
28002011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2801
d1583c48
LMI
2802 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2803 the man page name (bug#7929).
2804
6a57fb5f
LMI
2805 * image.el (put-image): Mention the `put-image' overlay property
2806 (bug#7834).
2807
d7956b14
LMI
2808 * scroll-bar.el (set-scroll-bar-mode): Mention that
2809 `scroll-bar-mode' lists the values (bug#7772).
2810
5b2d4a66
LMI
2811 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2812 command (bug#7729).
2813
7509a874
LMI
2814 * rect.el (apply-on-rectangle): Return the point after the last
2815 operation.
2816 (string-rectangle): Go to the point after the last operation
2817 (bug#7522).
2818
4fe74b19
LMI
2819 * printing.el (pr-toggle-region): Clarify the documentation
2820 slightly (bug#7493).
2821
b796c9b7
SM
2822 * time.el (display-time-update):
2823 Allow `display-time-mail-function' to return nil (bug#7158).
2824 Fix suggested by Detlev Zundel.
ab283561 2825
fc233c9d
LMI
2826 * vc/diff.el (diff): Clarify the order the file names are read
2827 (bug#7111).
2828
43f5740b
LMI
2829 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2830 the doc string (bug#7015).
2831
f2182a76
LMI
2832 * font-lock.el (font-lock-maximum-decoration): Mention what
2833 numeric levels mean (bug#6935).
2834
621ef9ab
LMI
2835 * startup.el (initial-buffer-choice): Don't mention the `none'
2836 selection, which is against policy.
2837
adc47434
MR
28382011-07-14 Martin Rudalics <rudalics@gmx.at>
2839
b796c9b7
SM
2840 * window.el (display-buffer-normalize-special):
2841 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2842
7e5bfb8f
EZ
28432011-07-14 Eli Zaretskii <eliz@gnu.org>
2844
2845 * subr.el (version<, version<=, version=): Mention "-CVS" and
2846 "-12345" alpha version numbers.
2847
27fa387a
CY
28482011-07-14 Chong Yidong <cyd@stupidchicken.com>
2849
2850 * bindings.el: Add advertised binding for set-mark-command
2851 (Bug#5772).
2852
8bdfa064
CY
28532011-07-14 Chong Yidong <cyd@stupidchicken.com>
2854
2855 * bindings.el (mode-line-other-buffer):
2856 * bookmark.el (bookmark-bmenu-2-window):
2857 * bs.el (bs-cycle-next, bs-cycle-previous):
2858 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2859 switch-to-buffer.
2860
2861 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2862 Delete.
8bdfa064 2863
5eba16a3
JB
28642011-07-14 Juanma Barranquero <lekktu@gmail.com>
2865
2866 * follow.el (follow-debug-message, follow-redisplay):
2867 * jka-cmpr-hook.el (with-auto-compression-mode):
2868 Fix typos in docstrings.
2869
15853710
LMI
28702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2871
a28e4607
LMI
2872 * subr.el (with-silent-modifications): Clarify somewhat what the
2873 macro inhibits (bug#6525).
2874
15853710
LMI
2875 * simple.el (eval-expression): Note what it does if called
2876 interactively (bug#6495).
2877
bee0fcef
CY
28782011-07-13 Chong Yidong <cyd@stupidchicken.com>
2879
b796c9b7
SM
2880 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2881 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2882
2883 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2884 Remove switch-to-buffer.
2885
58274504
LMI
28862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887
bd2fcc8d
LMI
2888 * files.el (make-directory): Clarify that an error will be raised
2889 if there's an error (bug#6397).
2890
0f04b32c
LMI
2891 * startup.el (initial-buffer-choice): Add `none' as a choice
2892 (bug#6234).
2893
465c5fc8
LMI
2894 * subr.el (add-hook): Clarify section about buffer-local hooks
2895 (bug#6218).
2896
58274504
LMI
2897 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2898
bead9a43
JB
28992011-07-13 Juanma Barranquero <lekktu@gmail.com>
2900
2901 * tabify.el (untabify): Preserve the current column so that point
2902 doesn't move (bug#6032).
2903
3af98a7b
LMI
29042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2905
b796c9b7
SM
2906 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2907 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2908
6240145a
GM
29092011-07-13 Glenn Morris <rgm@gnu.org>
2910
2911 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2912 (dired-insert-directory): Give a message the first time
2913 if ls is found not to support --dired.
2914
1d8c2ccc
LMI
29152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2916
2917 * simple.el (toggle-truncate-lines): Clarify what is toggled
2918 (bug#5580). Text by Drew Adams.
2919
5fc4038e
CY
29202011-07-13 Chong Yidong <cyd@stupidchicken.com>
2921
2922 * simple.el (blink-matching-open): Make the error message from the
2923 last change less verbose.
2924
bf6012e5
DN
29252011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2926
2927 * font-lock.el (font-lock-comment-face): Use the high contrast
2928 "yellow" color for font-lock-comment-face on low color terminals
2929 using a dark background color (bug#4221).
2930
343c3b5a
LMI
29312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2932
7e9505c5
LMI
2933 * dired.el (dired-insert-set-properties): Make the doc string
2934 reflect what it does now (bug#5325).
2935
c26fdcf5
LMI
2936 * simple.el (blink-matching-open): Say that we were unable to find
2937 the match within the limit, if we're limited (bug#5122).
2938
bb388cc5
LMI
2939 * international/mule-cmds.el (prefer-coding-system): Add an
2940 example (bug#4869).
2941
343c3b5a
LMI
2942 * progmodes/etags.el (tags-search): Document `file-list-form'
2943 (bug#4731).
2944
2a517d45
LM
29452011-07-13 Lawrence Mitchell <wence@gmx.li>
2946
2947 * net/browse-url.el (browse-url-default-browser)
2948 (browse-url-browser-function): Make the default browser choice a
2949 bit more logical (bug#4300). Also clean up the doc string.
2950
b6c78ef2
JB
29512011-07-13 Juanma Barranquero <lekktu@gmail.com>
2952
2953 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2954 binary endings (bug#4440).
2955
1c4dd947
LMI
29562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2957
a2014063
LMI
2958 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2959 which can be pretty annoying (bug#8971).
2960
9c9c2d88
LMI
2961 * jka-compr.el (jka-compr-verbose): New variable, and use
2962 throughout (bug#8971).
2963
1c4dd947
LMI
2964 * info.el (Info-find-file): Fall back on the installation
2965 directory if we can't find the info node anywhere else.
2966
a1c9f41b
SO
29672011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2968
2969 * vc/vc.el (vc-revert-file):
2970 Don't set file time-stamp in the past. (Bug#5181)
2971
536f3d36
LMI
29722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2973
7152b011
LMI
2974 * files.el (after-find-file): Give a better error message when
2975 trying to find a symlink that points to a file that doesn't exist
2976 (bug#4398).
2977
536f3d36
LMI
2978 * progmodes/cc-vars.el: Remove (probably) misleading comment
2979 (bug#4396).
2980
460c0fba
JB
29812011-07-12 Johan Bockgård <bojohan@gnu.org>
2982
2983 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2984
7a6bda45
CY
29852011-07-12 Chong Yidong <cyd@stupidchicken.com>
2986
2987 * mouse-sel.el: Hack restoring functionality, while keeping
2988 compatibility with 2010-07-03 changes to mouse selection.
2989 (mouse-sel-primary-overlay): New var.
2990 (mouse-sel-selection-alist): Use it.
2991 (mouse-sel-mode): Doc fix; remove points that are default features
2992 of mouse.el.
2993
c79598ef
JB
29942011-07-12 Johan Bockgård <bojohan@gnu.org>
2995
2996 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2997 Fix previous fix (bug#2490).
2998
ff8be6ef
RW
29992011-07-12 Roland Winkler <winkler@gnu.org>
3000
b796c9b7
SM
3001 * textmodes/bibtex.el (bibtex-initialize):
3002 Use pop-to-buffer-same-window.
ff8be6ef
RW
3003 (bibtex-search-entries): Fix interactive call.
3004
296ba3ee
LMI
30052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3006
f5242a02 3007 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3008 Fontise bytecomp Error lines more correctly (bug#2490).
3009 Fix suggested by Johan Bockgård.
f5242a02 3010
296ba3ee
LMI
3011 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3012
3013 * dired-x.el (dired-guess-default): Use `delete-dups'.
3014
f69fd0d2
CY
30152011-07-12 Chong Yidong <cyd@stupidchicken.com>
3016
3017 * dired.el (dired-mark-prompt):
3018 * dired-aux.el (dired-read-shell-command): Doc fix.
3019
eab5dc07
LMI
30202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3021
b796c9b7
SM
3022 * mail/sendmail.el (sendmail-query-once):
3023 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3024 emacs -Q.
3025
3026 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3027
eab5dc07
LMI
3028 * cus-edit.el (custom-file): Take an optional no-error variable.
3029 (customize-save-variable): Set the variable, and give a warning if
3030 running under "emacs -q".
3031
a1e65d42
JB
30322011-07-11 Juanma Barranquero <lekktu@gmail.com>
3033
3034 * loadhist.el (unload-feature-special-hooks):
3035 Add `auto-coding-functions', `fill-nobreak-predicate' and
3036 `find-directory-functions' (bug#5327).
3037
1d52da10
LMI
30382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3039
be958f1d
LMI
3040 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3041
5bedb26c
LMI
3042 * cus-edit.el (custom-guess-name-alist): -alist variables should
3043 use the `alist' type (bug#3120). Suggested by Drew Adams.
3044
1d52da10
LMI
3045 * printing.el: Add documentation to all the `pr-toggle-' commands.
3046
481a51b6
LL
30472011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3048
3049 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3050 backends where it makes sense (bug#2623).
3051
dcc88d8a
LMI
30522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3053
c3de9feb
LMI
3054 * dired-x.el (dired-guess-default): Remove duplicate shell command
3055 entries (bug#2028).
8a93078b 3056 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3057 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3058
dcc88d8a
LMI
3059 * subr.el (remove-duplicates): New conveniency function.
3060
505e3645
LMI
30612011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3062
3063 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3064 (bug#1526).
3065
30662011-07-10 Martin Rudalics <rudalics@gmx.at>
3067
3068 * window.el (display-buffer-normalize-default): Don't invert
3069 meaning of even-window-heights. Reported by Eli Zaretskii
3070 <eliz@gnu.org>.
3071
455e4fa1
BR
30722011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3073
3074 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3075
8e0bc3e9
CY
30762011-07-10 Chong Yidong <cyd@stupidchicken.com>
3077
3078 * window.el (display-buffer): Fix arguments to
3079 display-buffer-reuse-window in last change.
3080
fa7c3228
CY
3081 * faces.el (link): Use a less saturated blue on light backgrounds.
3082
3083 * startup.el (fancy-startup-text, fancy-about-text)
3084 (fancy-startup-tail): Use font-lock faces, for background safety.
3085
c0a7f300
BN
30862011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3087
b796c9b7
SM
3088 * emulation/viper-cmd.el (viper-change-state-to-vi):
3089 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3090
4dc2a129
MR
30912011-07-09 Martin Rudalics <rudalics@gmx.at>
3092
3093 * window.el (display-buffer-default-specifiers): Remove.
3094 (display-buffer-macro-specifiers): Remove default specifiers.
3095 (display-buffer-alist): Default to nil.
b796c9b7 3096 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3097 (display-buffer-pop-up-window): Allow splitting internal
3098 windows. Check whether a live window was created.
3099 (display-buffer-other-window-means-other-frame)
3100 (display-buffer-normalize-arguments): Rename to
3101 display-buffer-normalize-argument and rewrite. Set the
3102 other-window specifier.
3103 (display-buffer-normalize-special): New function.
3104 (display-buffer-normalize-options): Rename to
3105 display-buffer-normalize-default and rewrite.
3106 (display-buffer-normalize-options-inhibit): Remove.
3107 (display-buffer-normalize-specifiers): Rewrite.
3108 (display-buffer): Process other-window specifier and call
3109 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3110 more faithfully.
b796c9b7 3111 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3112 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3113 (display-buffer-in-window, display-buffer-alist-set):
3114 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3115 <tassilo@member.fsf.org>.
3116
2d43b8c9
LL
31172011-07-09 Leo Liu <sdl.web@gmail.com>
3118
3119 * register.el (insert-register): Restore accidental change on
3120 2011-06-26. (Bug#9028)
3121
7f9b7c53
GM
31222011-07-09 Glenn Morris <rgm@gnu.org>
3123
3124 * subr.el (remq): Handle the empty list. (Bug#9024)
3125
f042cfd8
AS
31262011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3127
3128 * mail/sendmail.el (send-mail-function): No longer delay custom
3129 initialization.
3130 * custom.el (custom-initialize-delay): Doc fix.
3131
856b2f11
SM
31322011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3135
afae1d68
MA
31362011-07-08 Michael Albinus <michael.albinus@gmx.de>
3137
3138 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3139 human-friendly prompt.
3140
0757af94
SM
31412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3144 provided by a particular plugin.
3145
d760b731
LMI
31462011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3147
3148 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3149 save customizations (with "emacs -Q"), just set the variable
3150 instead of erroring out.
3151
3152 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3153
cd79ce90
JL
31542011-07-08 Juri Linkov <juri@jurta.org>
3155
3156 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3157 (archive-zip-update-case): Use 7z if found by `executable-find'.
3158 The order of searching the available programs is the same as in
3159 `archive-zip-extract' (bug#8968).
3160
14cc04aa
CY
31612011-07-07 Chong Yidong <cyd@stupidchicken.com>
3162
3163 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3164 (menu-bar-options-menu): Tweak descriptions.
3165
0a1848ec
LMI
31662011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3167
3168 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3169 menu items into verb phrases (bug#1421). Also refill to fit under
3170 80 columns.
3171
f5bd0689
CY
31722011-07-07 Chong Yidong <cyd@stupidchicken.com>
3173
538e85c6
CY
3174 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3175 (Info-read-node-name): Doc fix (Bug#1084).
3176
f5bd0689
CY
3177 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3178 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3179 (end-of-sexp, beginning-of-sexp)
3180 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3181 (forward-symbol, forward-same-syntax, word-at-point)
3182 (sentence-at-point): Doc fix (Bug#1144).
3183
56ec5115
LMI
31842011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3185
f3f8e37f
LMI
3186 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3187 should cover it (bug#1281).
3188
0757af94 3189 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3190
12b9eb35
LMI
3191 * net/network-stream.el (network-stream-open-starttls): If gnutls
3192 negotiation fails, then possibly try again with a non-encrypted
3193 connection (bug#9017).
3194
56ec5115
LMI
3195 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3196 be used.
3197
c2f9aec8
RS
31982011-07-07 Richard Stallman <rms@gnu.org>
3199
3200 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3201 property, and handle its changed format.
3202 Look for the correct line number.
3203 Use file's line contents (but not past first =) to find
3204 correct line in message.
3205
ef7b981d 32062011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3207
3208 * international/characters.el (build-unicode-category-table):
3209 Delete it.
0757af94 3210 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3211
0757af94 3212 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3213 to src/chartab.c.
3214 (get-char-code-property): Call unicode-property-table-internal to
3215 load a file. Call get-unicode-property-internal where necessary.
3216 (put-char-code-property): Call unicode-property-table-internal to
3217 load a file. Call put-unicode-property-internal where necessary.
3218 put-unicode-property-internal where necessary.
0757af94
SM
3219 (char-code-property-description):
3220 Call unicode-property-table-internal to load a file.
c805dec0
KH
3221
3222 * international/charprop.el:
3223 * international/uni-bidi.el:
3224 * international/uni-category.el:
3225 * international/uni-combining.el:
3226 * international/uni-comment.el:
3227 * international/uni-decimal.el:
3228 * international/uni-decomposition.el:
3229 * international/uni-digit.el:
3230 * international/uni-lowercase.el:
3231 * international/uni-mirrored.el:
3232 * international/uni-name.el:
3233 * international/uni-numeric.el:
3234 * international/uni-old-name.el:
3235 * international/uni-titlecase.el:
3236 * international/uni-uppercase.el: Regenerate.
3237
3238 * loadup.el: Load international/charprop.el before
3239 international/characters.
3240
e14b388a
CY
32412011-07-07 Chong Yidong <cyd@stupidchicken.com>
3242
3243 * window.el (next-buffer, previous-buffer): Signal an error if
3244 called from a minibuffer window.
3245
3246 * bindings.el: Revert 2011-07-04 change.
3247
354cf0ba
RS
32482011-07-06 Richard Stallman <rms@gnu.org>
3249
3250 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3251 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3252 Treat markers like ints.
3253 (rmail-mime-entity): Doc fix.
3254
a48868a7
LMI
32552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3256
4906cd3d
LMI
3257 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3258 defcustom again for backwards compatibility.
3259
e0457abe
LMI
3260 * simple.el (shell-command-on-region): Fill.
3261
d67f7e1f
LMI
3262 * dired-aux.el (dired-kill-line): Add a doc string.
3263
fe204702
LMI
3264 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3265 to "\\sw\\|\\s_" (bug#358).
3266
a48868a7
LMI
3267 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3268 (dired-unmark-backward): Ditto.
3269 (dired-flag-backup-files): Ditto.
3270
3271 * dired-x.el (dired-mark-sexp): Ditto.
3272
aa8a705c
RS
32732011-07-06 Richard Stallman <rms@gnu.org>
3274
3275 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3276 (rmail-mime-entity): New arg TRUNCATED.
3277 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3278 New functions.
3279 (rmail-mime-save): Warn if entity is truncated.
3280 (rmail-mime-toggle-hidden): Likewise, for showing.
3281 (rmail-mime-process-multipart): Record when an entity is truncated.
3282
a9a936b9
RS
3283 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3284 if ENTITY is a string.
3285
1f2b92cb
LMI
32862011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3287
f4f73198 3288 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3289 of faces when `M-C-x'-ing their definitions (bug#8378).
3290 Also clean up the code slightly.
f4f73198 3291
12b16734
LMI
3292 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3293 because that makes the colours go away.
3294
f0691d22
LMI
3295 * mail/sendmail.el (send-mail-function): Change the default to
3296 `sendmail-query-once'.
9e87df06 3297 (sendmail-query-once): Add an autoload cookie.
f0691d22 3298
1f2b92cb
LMI
3299 * net/network-stream.el (network-stream-open-starttls): Try using
3300 a plain connection even if the server offered STARTTLS, and we
3301 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3302 capability. This should make smtpmail.el work in slightly more
3303 configurations.
3304
1cdd2a1b
MA
33052011-07-06 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3308 New defun.
3309 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3310
fbcc67e2
MM
33112011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3312
3313 * progmodes/sql.el: Version 3.0
0757af94 3314 (sql-product-alist): Add product :completion-object,
fbcc67e2 3315 :completion-column, and :statement attributes.
0757af94 3316 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3317 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3318 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3319 ansi keywords.
3320 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3321 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3322 (sql-oracle-show-reserved-words): New function for development.
3323 (sql-product-font-lock): Simplify for source code buffers.
3324 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3325 New functions.
3326 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3327 (sql-mode-map): Add statement movement functions.
3328 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3329 New variable.
fbcc67e2
MM
3330 (sql-statement-regexp, sql-beginning-of-statement)
3331 (sql-end-of-statement, sql-signum): New functions.
0757af94 3332 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3333 (sql-show-sqli-buffer): Bug fix.
3334 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3335 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3336 with sql-interactive-mode.
3337 (sql-save-connection): Save buffer local settings.
0757af94 3338 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3339 (sql-product-interactive): Bug fix.
3340 (sql-preoutput-hold): New variable.
3341 (sql-interactive-remove-continuation-prompt): Bug fixes.
3342 (sql-debug-redirect): New variable.
3343 (sql-str-literal): New function.
3344 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3345 Redesign.
fbcc67e2
MM
3346 (sql-oracle-save-settings, sql-oracle-restore-settings)
3347 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3348 (sql-completion-object, sql-completion-column)
3349 (sql-completion-sqlbuf): New variables.
3350 (sql-build-completions-1, sql-build-completions)
3351 (sql-try-completion): New functions.
3352 (sql-read-table-name): Use them.
3353 (sql-contains-names): New buffer local variable.
3354 (sql-list-all, sql-list-table): Use it.
3355 (sql-oracle-completion-types): New variable.
3356 (sql-oracle-completion-object, sql-sqlite-completion-object)
3357 (sql-postgres-completion-object): New functions.
3358
d4eaeab1
GM
33592011-07-06 Glenn Morris <rgm@gnu.org>
3360
3361 * window.el (pop-to-buffer): Doc fix.
3362
322b7dab 33632011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3364
3365 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3366
322b7dab 33672011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3368
322b7dab 3369 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3370
322b7dab 3371 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3372
605dd5bf
CY
33732011-07-05 Chong Yidong <cyd@stupidchicken.com>
3374
3375 * button.el (button): Inherit from link face. Suggested by Dan
3376 Nicolaescu.
3377
7dbfa719
SM
33782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3db614b0
SM
3380 * progmodes/gdb-mi.el: Fit in 80 columns.
3381 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3382 switch-to-buffer.
3383
7dbfa719
SM
3384 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3385 if imenu is simply not configured (bug#8941).
3386
919d884a
KM
33872011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3388
3389 * allout.el (allout-post-undo-hook): New allout outline-change
3390 event hook to signal undo activity.
3391 (allout-post-command-business): Run allout-post-undo-hook if an
3392 undo just occurred.
7dbfa719
SM
3393 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3394 * allout-widgets.el (allout-widgets-after-undo-function):
3395 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3396 in the vicinity of an undo.
3397 (allout-widgets-mode): Include allout-widgets-after-undo-function
3398 on the new allout-post-undo-hook.
3399
450a0f09
SM
34002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3403 Let define-derived-mode define it.
3404 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3405 cycles of abbrev-table inheritance (bug#8998).
3406
2de69e00
RW
34072011-07-05 Roland Winkler <winkler@gnu.org>
3408
3409 * textmodes/bibtex.el: Add support for biblatex.
3410 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3411 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3412 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3413 (bibtex-entry-alist, bibtex-field-alist): New variables.
3414 (bibtex-entry-field-alist): Obsolete alias for
3415 bibtex-BibTeX-entry-alist.
3416 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3417 (bibtex-set-dialect): New command.
3418 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3419 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3420 Bind via bibtex-set-dialect.
2de69e00
RW
3421 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3422 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3423 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3424 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3425 Define via bibtex-set-dialect.
450a0f09
SM
3426 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3427 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3428 (bibtex-vec-push, bibtex-vec-incr): New functions.
3429 (bibtex-format-entry, bibtex-field-list)
3430 (bibtex-print-help-message, bibtex-validate)
3431 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3432
2dcdbdd9
SM
34332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3434
3435 * progmodes/compile.el (compilation-goto-locus):
3436 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3437 * bs.el (bs-cycle-next, bs-cycle-previous):
3438 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3439 * bindings.el (mode-line-other-buffer):
3440 * autoinsert.el (auto-insert):
3441 * arc-mode.el (archive-extract):
3442 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3443
b27640fe
JB
34442011-07-05 Juanma Barranquero <lekktu@gmail.com>
3445
3446 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3447 Fix check of `emacs-lock-unlockable-modes'.
3448 Coerce true values of `emacs-lock--try-unlocking' to t.
3449
53bbe3ad
JB
34502011-07-05 Juanma Barranquero <lekktu@gmail.com>
3451
3452 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3453 * emacs-lock.el: New file.
3454
1d3cdbc7
JD
34552011-07-05 Julien Danjou <julien@danjou.info>
3456
3457 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3458 than `boundp' to check if face is set.
3459
9173deec
JB
34602011-07-05 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * register.el (registerv-make):
3463 * window.el (window-min-height): Fix typos in docstrings.
3464
869795d6
JD
34652011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3466
9173deec 3467 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3468 Update doc string.
3469
b768cdcd
JB
34702011-07-04 Juanma Barranquero <lekktu@gmail.com>
3471
3472 * server.el (server-execute): Catch quit and call
3473 `server-return-error' to pass the error back to emacsclient and
3474 close the connection (bug#8942).
3475
13aa217b
KM
34762011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3477
3478 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3479 insecure exception for current topic. Also note that auto-saves
3480 are handled differently.
3481
3482 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3483 State variables for tracking auto-save inhibition situation.
3484
3485 (allout-write-contents-hook-handler): Rename from
3486 'allout-write-file-hook-handler', and describe how it depends on
3487 write-contents-functions sensitivity to non-nil value to prevent
3488 file write.
3489
3490 (allout-auto-save-hook-handler): Remove. auto-save does not check
3491 this in individual buffers, only in the starting buffer, so this
3492 is not the right way for us to inhibit auto-save in a buffer
3493 according to its condition.
3494
3495 (allout-mode): Use new allout-write-contents-hook-handler, and
3496 only with write-contents-functions. Remove auto-save provisions -
3497 they're implemented elsewhere.
3498
3499 (allout-before-change-handler): If undo is in progress, note that
3500 for attention of allout-post-command-business.
3501
3502 (allout-post-command-business): If the command we're following was
3503 an undo, check for change in the status of encrypted items and
3504 adjust auto-save inhibitions accordingly.
3505
3506 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3507 according to whether there are or aren't any plain-text topics
3508 pending encryption.
3509
2dcdbdd9
SM
3510 (allout-inhibit-auto-save-info-for-decryption):
3511 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3512 there are plain-text topics pending encryption.
3513
3514 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3515 buffer-saved-size and some allout state to not inhibit auto-saves
3516 if there are no longer any plain-text topics pending encryption.
3517
0757af94
SM
3518 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3519 No longer provide for exemption of the current topic.
13aa217b 3520
ac89b32c
JL
35212011-07-04 Juri Linkov <juri@jurta.org>
3522
3523 Add 7z operations to delete and save changed members (bug#8968).
3524 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3525 New defcustoms.
3526 (archive-7z-write-file-member): New function.
3527 (archive-7z-summarize): Fix the number of dashes in the
3528 listing output.
3529
8fa39615
SM
35302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3533 (bug#8958).
3534
2f11b3f1
CY
35352011-07-04 Chong Yidong <cyd@stupidchicken.com>
3536
d66fef2b
CY
3537 * bindings.el: Ignore next-buffer and previous-buffer in
3538 minibuffer-local-map.
3539
2f11b3f1
CY
3540 * font-lock.el (font-lock-builtin-face): Change light background
3541 color to dark slate blue (Bug#6693).
3542
f932a347
WD
35432011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3544
3545 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3546
c8af70e1
SM
35472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3551 Add switch-to-buffer.
3552
f158badc
LMI
35532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3554
3555 * isearch.el (isearch-search-fun-function): Clarify further the
3556 meaning of the function returned.
3557
6d95bd46
MA
35582011-07-04 Michael Albinus <michael.albinus@gmx.de>
3559
3560 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3561
3562 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3563 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3564 Use it.
3565 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3566 `tramp-default-remote-path' does not exist.
3567 (tramp-send-command-and-read): New optional argument NOERROR.
3568 (tramp-open-connection-setup-interactive-shell)
3569 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3570 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3571 (tramp-process-sentinel): Flush also process' connection property.
3572 (tramp-sh-handle-start-file-process): Do not set process
3573 sentinel. It is done now ...
3574 (tramp-maybe-open-connection): ... here. (Bug#8929)
3575
909e6b67
MK
35762011-07-04 MON KEY <monkey@sandpframing.com>
3577
3578 * play/animate.el (animate-string): Doc fixes and allow changing
3579 the buffer name (bug#5417).
3580
35812011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3582
c8af70e1 3583 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3584
f34755dc
PE
35852011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3586
396cec72
PE
3587 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3588 This is simpler and helps future-proof the code.
3589 (timer-until): Use time-subtract and float-time.
08235028 3590 (timer--time-less-p): Use time-less-p.
f34755dc 3591
56e6cc31
JB
35922011-07-04 Juanma Barranquero <lekktu@gmail.com>
3593
3abb79e5
JB
3594 * type-break.el (timep): Use the value of `float-time' to avoid a
3595 byte-compiler warning.
3596
56e6cc31
JB
3597 * server.el (server-eval-and-print): Return any result, even nil.
3598
7b9430b4
PE
35992011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3600
3601 * type-break.el: Accept time formats that the builtins accept.
3602 (timep, type-break-time-difference): Accept any format that
3603 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3604 This is simpler and helps future-proof the code.
3605 (type-break-time-difference): Round rather than ignoring
3606 subseconds components.
3607
3034e9e7
LMI
36082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3609
3610 * info.el (Info-apropos-matches): Make non-interactive, since it
3611 doesn't seem to do anything useful as a command (bug#8829).
3612
1485f4c0
CY
36132011-07-03 Chong Yidong <cyd@stupidchicken.com>
3614
3615 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3616 Move from faces.el.
1485f4c0
CY
3617 (frame-default-terminal-background): New function.
3618
3619 * custom.el (custom-push-theme): Don't record faces in `changed'
3620 theme; this doesn't work correctly for per-frame face settings.
3621 (disable-theme): Use face-set-after-frame-default to reset faces.
3622 (custom--frame-color-default): New function.
3623
9fa3dd45
LMI
36242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3625
c8af70e1 3626 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3627 (bug#8769).
3628
6cbbc20c
KR
36292011-03-29 Kevin Ryde <user42@zip.com.au>
3630
3631 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3632 `perl-Test2' extend to match possible "fail #N" rep count
3633 (bug#8377).
3634
c7f98048
LMI
36352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3636
65676592
LMI
3637 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3638 `smtpmail-via-smtp' now returns the error instead of nil.
3639
c7f98048
LMI
3640 * isearch.el (isearch-search-fun-function): Clarify the doc string
3641 (bug#8101).
3642
56e6cc31 36432011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3644
3645 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3646 unnecessary spaces (bug#8987).
3647
2b216704
LMI
36482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3649
3650 * net/network-stream.el (open-network-stream): Use the
3651 :end-of-capability command thoughout.
3652
36532011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3654
3655 * net/network-stream.el (open-network-stream): Add the
3656 :end-of-capability command parameter, used by pop3.el.
3657
36adf6ce
LMI
36582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3659
1ca0da0e
LMI
3660 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3661
fc00f69c
LMI
3662 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3663 for list)" (bug#6475).
3664
28fd8759
LMI
3665 * files.el (file-expand-wildcards): Ignore non-readable
3666 sub-directories while trying to find matches instead of signalling
3667 an error (bug#6297).
3668
0dd8b6da
LMI
3669 * man.el (Man-reference-regexp): Allow matching possible
3670 word-wrapped references (bug#6289).
3671
ce1438d6
LMI
3672 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3673 for consistency with the other vc buffers (bug#6197).
3674 (vc-checkin): Ditto.
3675
3676 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3677
36adf6ce
LMI
3678 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3679
e83cc1f7
LMI
36802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3681
8a20ca4c
LMI
3682 * custom.el (defcustom): Clarify that :set is only used in the
3683 Customize user interface (bug#6089).
3684
83319045
LMI
3685 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3686 associated with a file, refuse to run instead of erroring out
3687 (bug#6084).
3688
a8392169
LMI
3689 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3690 the doc string, since it appears that using `fill-column' always
3691 controls the width (bug#7845).
3692
e83cc1f7
LMI
3693 * simple.el (shell-command-on-region): Say where the error output
3694 went if `shell-command-default-error-buffer' is set (bug#6857).
3695
e47ca23b
KM
36962011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3697
3698 * allout.el (allout-yank-processing): Adjust cursor position for
3699 backwards-deleted space.
3700
3701 (allout-rebullet-heading): Register changes with
3702 allout-exposure-changed-hook, so the modified topic is properly
3703 decorated.
3704
5cf56143
LMI
37052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3706
08549772
LMI
3707 * minibuffer.el (completion-in-region): Document PREDICATE
3708 (bug#7136).
3709
48e96771
LMI
3710 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3711 of keyword/argument pairs (bug#6904).
3712
c8af70e1
SM
3713 * replace.el (multi-occur):
3714 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3715
e17d05e2
LMI
37162011-07-02 Drew Adams <drew.adams@oracle.com>
3717
3718 * dired.el (dired-mark-if): Make the message about whether it's
3719 marking or unmarking clearer (bug#8523).
3720
063b0e45
LMI
37212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3722
3723 * disp-table.el (display-table-print-array): New function.
3724 (describe-display-table): Use it to print the vectors more pretty
3725 (Bug#8859).
3726
28545e04
MR
37272011-07-02 Martin Rudalics <rudalics@gmx.at>
3728
3729 * window.el (window-state-get-1): Don't assign clone numbers.
3730 Add clone-of item to list of window parameters.
3731 (window-state-put-2): Don't process clone numbers.
3732 (display-buffer-alist): Fix doc-string.
3733
3349e122
SM
37342011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3735
3736 * subr.el (remq): Don't allocate if it's not needed.
3737 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3738 (keymap--merge-bindings): New functions.
3739 (keymap-canonicalize): Use them to refine the canonicalization.
3740 * minibuffer.el (minibuffer-local-completion-map)
3741 (minibuffer-local-must-match-map): Move initialization from C.
3742 (minibuffer-local-filename-completion-map): Move initialization from C;
3743 don't inherit from anything here.
3744 (minibuffer-local-filename-must-match-map): Make obsolete.
3745 (completing-read-default): Use make-composed-keymap to combine
3746 minibuffer-local-filename-completion-map with either
3747 minibuffer-local-must-match-map or
3748 minibuffer-local-filename-completion-map.
3749
d224ac83
GM
37502011-07-01 Glenn Morris <rgm@gnu.org>
3751
3de63bf8
GM
3752 * type-break.el (type-break-time-sum): Use dolist.
3753
d224ac83
GM
3754 * textmodes/flyspell.el (flyspell-word-search-backward):
3755 Replace CL function.
3756
1a1e3f32
SM
37572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3758
fe3f64d5
SM
3759 * mouse.el (mouse--strip-first-event): New function.
3760 (function-key-map): Use it to map fringe clicks to normal clicks
3761 by default.
3762
eb604e34
SM
3763 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3764 (vc-bzr-revision-completion-table): Add support for annotate and date.
3765
1a1e3f32
SM
3766 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3767 inherit from parent.
3768
5bd35902
LMI
37692011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3770
ace6c69c 3771 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3772 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3773
191e2bed
LMI
3774 * dired.el (dired-mode): Fix up the doc string as suggested by
3775 Drew Adams (bug#8817).
3776
5bd35902
LMI
3777 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3778 cookie, since the manual says that it should be possible to add
3779 this function to `find-file-hook' (bug#8709).
3780
eee8207a
TZ
37812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3782
3783 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3784 here. Noted Ted Zlatanov as the maintainer.
3785 (cfengine-common-settings, cfengine-common-syntax): New functions
3786 to set up common things between `cfengine-mode' and
3787 `cfengine3-mode'.
3788 (cfengine3-mode): New mode.
3789 (cfengine3-defuns cfengine3-defuns-regex
3790 (cfengine3-class-selector-regex cfengine3-category-regex)
3791 (cfengine3-vartypes cfengine3-font-lock-keywords)
3792 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3793 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3794
36b148cf
MA
37952011-07-01 Michael Albinus <michael.albinus@gmx.de>
3796
3797 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3798
3799 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3800
0bf4ba9a
MR
38012011-07-01 Martin Rudalics <rudalics@gmx.at>
3802
3803 * window.el (same-window-buffer-names, same-window-regexps)
3804 (same-window-p, special-display-frame-alist)
3805 (special-display-popup-frame, special-display-function)
3806 (special-display-buffer-names, special-display-regexps)
3807 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3808 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3809 (split-window-preferred-function, split-height-threshold)
3810 (split-width-threshold, even-window-heights)
3811 (display-buffer-mark-dedicated, window-splittable-p)
3812 (split-window-sensibly, window-safely-shrinkable-p):
3813 Un-obsolete.
3814 (display-buffer): Don't spread args with function specifier
3815 because special-display-popup-frame won't like it.
3816
35837f51
PE
38172011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3818
d0672f86
PE
3819 Time-stamp simplifications and fixes.
3820 These improve accuracy slightly, and future-proof the code
3821 against some potential changes to current-time format.
3822
b9444d97
PE
3823 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3824 by using time-since and float-time.
3825
0ef923dc
PE
3826 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3827 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3828 + NNN microseconds".
3829
2f81380d
PE
3830 * type-break.el (type-break-time-sum): Rewrite using time-add.
3831
845b5c3e
PE
3832 * play/hanoi.el (hanoi-current-time-float): Remove.
3833 All uses replaced by float-time.
3834
ee6f1be0
PE
3835 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3836 This yields a more-accurate answer.
3837 (rng-time-to-float): Remove; no longer needed.
3838
fe955043
PE
3839 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3840
5777162a
PE
3841 * calendar/timeclock.el (timeclock-seconds-to-time):
3842 Defalias to seconds-to-time, since they're the same thing.
3843
3103f8b6 3844 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3845 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3846 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3847
0e61a35f
SM
38482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * window.el (bury-buffer): Don't iconify the only frame.
3851 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3852 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3853
ddd63a1e
CY
38542011-07-01 Chong Yidong <cyd@stupidchicken.com>
3855
0e61a35f
SM
3856 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3857 Add mouse-yank-primary.
ddd63a1e 3858
055f4923
TZ
38592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3860
3861 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3862
6a2fb145
SM
38632011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3866 (find-library-name): Use it to find relative load names when provided
3867 absolute file name (bug#8803).
3868
fd4983f2
LMI
38692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3870
887d14ad
LMI
3871 * textmodes/flyspell.el (flyspell-word): Consider words that
3872 differ only in case as potential doublons (bug#5687).
3873
c53dc7fc
LMI
3874 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3875 Remove two rather uninteresting debugging-like messages to make
3876 debbugs.el more silent.
3877
fd4983f2
LMI
3878 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3879 a password-like phrase.
3880
b14c0c55
AM
38812011-06-30 Mastake YAMATO <yamato@redhat.com>
3882
3883 * progmodes/cc-guess.el: New file.
3884
6a2fb145 3885 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3886
3887 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3888 derived from `c-basic-common-init'.
3889
3890 * progmodes/cc-mode.el (top-level): Require cc-guess.
3891 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3892
1fa280a3
LM
38932011-06-30 Lawrence Mitchell <wence@gmx.li>
3894
3895 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3896
e6597158
AM
38972011-06-30 Alan Mackenzie <acm@muc.de>
3898
1fa280a3
LM
3899 * progmodes/cc-engine.el (c-guess-continued-construct):
3900 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3901 lock is disabled. Name this case as "CASE G".
3902
68ba37fb
KM
39032011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3904
3905 * allout.el (allout-yank-processing): Fix injection of extra space
3906 between bullet and non-whitespace character in first topic when
3907 pasting, ensuring that the actual spacing in the pasted topic
3908 following the bullet char is preserved. This extra space was
3909 causing pasted encrypted topics to get a decrypted status even
3910 when the content was actually still encrypted. Now the decryption
3911 status from before the paste is preserved.
3912
3913 (allout-flag-region): Set all allout overlays so they evaporate
3914 when reduced to zero length (evanescent), to prevent overlay
3915 leakage.
3916
887a0b34
GM
39172011-06-30 Glenn Morris <rgm@gnu.org>
3918
94b9acce
GM
3919 * w32-fns.el (w32-charset-info-alist): Declare.
3920
1d9b46d4
GM
3921 * find-dired.el (find-grep-options): Simplify.
3922
cc232200
GM
3923 * term/ns-win.el (ns-set-resource): Declare.
3924
28e77c46
GM
3925 * ses.el (row, col): Declare dynamic variables honestly.
3926
887a0b34
GM
3927 * textmodes/reftex-parse.el (index-tags): Declare.
3928
658d8eb8
CY
39292011-06-30 Chong Yidong <cyd@stupidchicken.com>
3930
3931 * cus-edit.el (customize-push-and-save): New function.
3932
3933 * files.el (hack-local-variables-confirm): Use it.
3934
1fa280a3
LM
3935 * custom.el (load-theme): New arg NO-CONFIRM.
3936 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3937 (custom-enabled-themes): Doc fix.
3938
3939 * cus-theme.el (customize-create-theme)
3940 (custom-theme-merge-theme): Callers to load-theme changed.
3941
bb617717
LMI
39422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3943
d61bdd5d
LMI
3944 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3945 short URLs have at least one dot in them (bug #7614).
3946
bb617717
LMI
3947 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3948 nil, because using a pty is apparently too slow (bug #895).
3949
2f31f37a
LMI
39502011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3951
3952 * mail/sendmail.el (sendmail-query-once): New function.
3953 (sendmail-query-once-function): New variable.
3954
3076b24e
GM
39552011-06-29 Glenn Morris <rgm@gnu.org>
3956
faf2a174
GM
3957 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3958
3076b24e
GM
3959 * ses.el (top-level): Require cl when compiling.
3960 (ses-set-localvars): Fix error statement.
3961 Call it at compile time to silence a storm of warnings.
3962
5386012d
MR
39632011-06-29 Martin Rudalics <rudalics@gmx.at>
3964
3965 * window.el (normalize-live-buffer): Rename to
3966 window-normalize-buffer.
3967 (normalize-live-frame): Rename to window-normalize-frame.
3968 (normalize-any-window): Rename to window-normalize-any-window.
3969 (normalize-live-window): Rename to window-normalize-live-window.
3970 (make-window-atom): Rename to window-make-atom.
3971 (window-resize-reset): Rename to window--resize-reset.
3972 (window-resize-reset-1): Rename to window--resize-reset-1.
3973 (resize-mini-window): Rename to window--resize-mini-window.
3974 (resize-subwindows-skip-p): Rename to
3975 window--resize-subwindows-skip-p.
3976 (resize-subwindows-normal): Rename to
3977 window--resize-subwindows-normal.
3978 (resize-subwindows): Rename to window--resize-subwindows.
3979 (resize-other-windows): Rename to window--resize-siblings.
3980 (resize-this-window): Rename to window--resize-this-window.
3981 (resize-root-window): Rename to window--resize-root-window.
3982 (resize-root-window-vertically): Rename to
3983 window--resize-root-window-vertically.
3984 (normalize-buffer-to-display): Rename to
3985 window-normalize-buffer-to-display.
3986 (normalize-buffer-to-switch-to): Rename to
3987 window-normalize-buffer-to-switch-to.
3988 Correspondingly update all callers of the functions listed
3989 above.
3990 (display-buffer-alist, display-buffer-normalize-arguments)
3991 (display-buffer-normalize-options, display-buffer)
3992 (display-buffer-alist-set): Use "function" instead of
3993 "fun-with-args".
3994
1176868d
CY
39952011-06-28 Chong Yidong <cyd@stupidchicken.com>
3996
3997 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3998 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3999 debbugs.gnu.org. Mention acknowledgment email.
4000
20a7a65f
LMI
40012011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4002
4003 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4004 buffer multibyteness, since it shouldn't matter.
4005
5f45cca5
MR
40062011-06-28 Martin Rudalics <rudalics@gmx.at>
4007
4008 * window.el (display-buffer-in-side-window): Handle dedicated
4009 windows as in display-buffer-reuse-window.
4010 (display-buffer-normalize-alist): Use value of override
4011 specifier.
4012 (display-buffer-normalize-specifiers): Use value of
4013 other-window-means-other-frame specifier.
4014 (display-buffer-alist): Rewrite some texts in widgets.
4015 (display-buffer): Spread arguments when calling function
4016 specified by fun-with-args.
4017
ad85fe1f
DD
40182011-06-28 Deniz Dogan <deniz@dogan.se>
4019
1fa280a3
LM
4020 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4021 Unnest `let'.
da68c4c8 4022
ad85fe1f
DD
4023 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4024 selectors (Bug#5732).
ec49bd31 4025 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4026
a08cc025
JA
40272011-06-27 Jari Aalto <jari.aalto@cante.net>
4028
4029 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4030 (eshell-ls-date-format): New defcustom.
4031 (eshell-ls-file): Use it.
4032
e2b551c5
SM
40332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4036
8982b231
KY
40372011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4038
4039 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4040 (ange-ftp-make-tmp-name): New arg.
4041 (ange-ftp-file-local-copy): Use it.
4042
36c9fa27
J
40432011-06-27 Jambunathan K <kjambunathan@gmail.com>
4044
4045 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4046 no-conversion (Bug#8870).
4047
d68443dc
MR
40482011-06-27 Martin Rudalics <rudalics@gmx.at>
4049
4050 * window.el (window-right, window-left, window-child)
4051 (window-child-count, window-last-child)
4052 (window-iso-combination-p, walk-window-tree-1)
4053 (window-atom-check-1, window-tree-1, delete-window)
4054 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4055 new naming conventions - window-vchild, window-hchild,
4056 window-next and window-prev are now called window-top-child,
4057 window-left-child, window-next-sibling and window-prev-sibling
4058 respectively.
d615d6d2
MR
4059 (resize-window-reset): Rename to window-resize-reset.
4060 (resize-window-reset-1): Rename to window-resize-reset-1.
4061 (resize-window): Rename to window-resize.
4062 (window-min-height, window-min-width)
4063 (resize-mini-window, resize-this-window, resize-root-window)
4064 (resize-root-window-vertically, adjust-window-trailing-edge)
4065 (enlarge-window, shrink-window, maximize-window)
4066 (minimize-window, delete-window, quit-restore-window)
4067 (split-window, balance-windows, balance-windows-area-adjust)
4068 (balance-windows-area, window-state-put-2)
4069 (display-buffer-even-window-sizes, display-buffer-set-height)
4070 (display-buffer-set-width, set-window-text-height)
4071 (fit-window-to-buffer): Rename all "resize-window" prefixed
4072 calls to use the "window-resize" prefix convention.
4073 (display-buffer-alist): Fix symbol for label specifier.
4074 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4075 corresponding specifier.
4076 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4077
b6458526
VB
40782011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4079
4080 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4081 convention.
4082 (ses-call-printer): Does not pass an empty string to formatter when the
4083 cell is empty to keep from barking printer Calc math-format-value.
4084
d31fd9ac
RS
40852011-06-27 Richard Stallman <rms@gnu.org>
4086
43d5bf84
RS
4087 * battery.el (battery-mode-line-limit): New variable.
4088 (battery-update): Handle it.
4089
d31fd9ac
RS
4090 * mail/rmailmm.el (rmail-mime-process-multipart):
4091 Handle truncated messages.
4092
819a6054
GM
40932011-06-27 Glenn Morris <rgm@gnu.org>
4094
4095 * progmodes/flymake.el (flymake-err-line-patterns):
4096 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4097
cedc73f2
VB
40982011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4099
819a6054 4100 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4101 (ses--clean-!, ses--clean-_): New functions.
4102 (ses-range): Add configurability of readout order, and conversion
4103 to Calc vector.
4104
5e5d49b6
VB
4105 * ses.el (ses-repair-cell-reference-all): New function.
4106 (ses-cell-symbol): Set macro as safe, so that it can be used in
4107 formulas.
4108
56e6cc31 4109 * ses.el: Update cycle detection algorithm.
90ca8b49 4110 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4111 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4112 (ses-set-localvars): New function.
4113 (ses-make-cell): Add property-list as a cell element.
4114 (ses-cell-property-get-fun, ses-cell-property-get)
4115 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4116 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4117 New functions.
90ca8b49
VB
4118 (ses-cell-property-set, ses-cell-property-pop)
4119 (ses-cell-property-get-handle): New macro.
4120 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4121 New aliases, used for code readability.
4122 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4123 cycle detection.
4124 (ses-self-reference-early-detection): New defcustom.
4125 (ses-formula-references): Robustify against self-refering cells.
4126 (ses-mode): Use ses-set-localvars.
4127 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4128 before lauching the update processing.
4129 (ses-initialize-Dijkstra-attempt): New function.
4130 (ses-recalculate-cell): Update for cycle detection based on
4131 Dijkstra algorithm.
4132
2bb63e81
VB
4133 * ses.el: Fix commenting and indenting convention.
4134
c9d29fb8
SM
41352011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * bs.el (bs-cycle-next): Complete last change.
4138
d8e4b68b
JB
41392011-06-27 Drew Adams <drew.adams@oracle.com>
4140
4141 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4142
40098786
LMI
41432011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4144
c9d29fb8
SM
4145 * net/network-stream.el (network-stream-open-starttls):
4146 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4147 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4148
40098786
LMI
4149 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4150 to binary to possibly avoid line encoding issues on Windows (among
4151 other things).
4152
468d09d4
LMI
41532011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4154
4155 * net/network-stream.el (open-network-stream): Return an :error
4156 saying what the problem was, if possible.
4157
4158 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4159 server.
4160
4161 * net/network-stream.el (network-stream-open-starttls): If we
4162 wanted to use STARTTLS, and the server offered it, but we weren't
4163 able to because we had no STARTTLS support, then close the connection.
4164 (open-network-stream): Return an :error element, if present.
4165
16f07dd7
CY
41662011-06-26 Chong Yidong <cyd@stupidchicken.com>
4167
88821ca0
CY
4168 * hl-line.el (hl-line-sticky-flag): Doc fix.
4169 (global-hl-line-sticky-flag): New option (Bug#8323).
4170 (global-hl-line-highlight): Obey it.
4171
16f07dd7
CY
4172 * vc/vc.el (vc-revert-show-diff): Default to t.
4173
6b5ccddf
KM
41742011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4175
c9d29fb8
SM
4176 * allout-widgets.el (allout-widgets-post-command-business):
4177 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4178 undecorated when an isearch is continued past, and isearch
4179 automatically collapses them. This leads to "widget leaks", where
4180 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4181 hidden widgets can slow down cursor travel, substantially.
4182 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4183 so we're doing without this nicety.
4184
4185 (allout-widgets-tally-string): Don't try to do a hash-table-count
4186 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4187 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4188 *Messages* when allout-widgets-maintain-tally is t.
4189
355f2e07
MR
41902011-06-26 Martin Rudalics <rudalics@gmx.at>
4191
4192 * window.el (display-buffer-normalize-argument): Rename to
4193 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4194 LABEL argument. Respect special-display-function when popping up
4195 a new frame. Fix code searching for a window showing the buffer
4196 on another frame.
c9d29fb8
SM
4197 (display-buffer-normalize-specifiers):
4198 Call display-buffer-normalize-arguments.
355f2e07
MR
4199 (display-buffer-in-window): Don't undedicate the window if its
4200 buffer remains the same.
4201 Reported by Drew Adams <drew.adams@oracle.com>.
4202 (display-buffer-alist): Add choice for same-window macro
4203 specfier.
4204 (display-buffer): Mention special meaning of LABEL argument in
4205 doc-string. Fix quoting. Don't pop up a new frame even as
4206 fallback.
4207
7ca8fc42
JB
42082011-06-26 Juanma Barranquero <lekktu@gmail.com>
4209
4210 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4211 avoid deleting the current window in some cases (bug#8911).
4212
bc312254
AS
42132011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4214
4215 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4216 (Bug#8934)
4217
2db18f3f
LMI
42182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4219
c9d29fb8
SM
4220 * net/network-stream.el (network-stream-open-starttls):
4221 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4222 (network-stream-open-tls): Ditto.
4223
6302e0d3
LL
42242011-06-26 Leo Liu <sdl.web@gmail.com>
4225
4226 * register.el (registerv): New struct.
4227 (registerv-make): New function.
c9d29fb8
SM
4228 (jump-to-register, describe-register-1, insert-register):
4229 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4230 struct. (Bug#8415)
4231
5fdd4046
CY
42322011-06-26 Chong Yidong <cyd@stupidchicken.com>
4233
2afef60a
CY
4234 * vc/vc.el (vc-revert-show-diff): New defcustom.
4235 (vc-diff-internal): New arg specifying diff buffer.
4236 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4237 reuse an existing *vc-diff* buffer (Bug#8927).
4238
5fdd4046
CY
4239 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4240
e93db24a
GM
42412011-06-26 Glenn Morris <rgm@gnu.org>
4242
4243 * progmodes/f90.el (f90-critical-indent): New option.
4244 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4245 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4246 (f90-mode): Doc fix.
4247 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4248 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4249 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4250 (f90-match-end): Handle block, critical.
4251
eefff499
GM
42522011-06-25 Glenn Morris <rgm@gnu.org>
4253
f6ba4cc9
GM
4254 * calendar/diary-lib.el (diary-included-files): Doc fix.
4255 (diary-include-files): New function, extracted from
4256 diary-include-other-diary-files and diary-mark-included-diary-files.
4257 (diary-include-other-diary-files, diary-mark-included-diary-files):
4258 Just call diary-include-files.
4259 (diary-mark-entries): Reset diary-included-files on first call.
4260
16712304
GM
4261 * calendar/diary-lib.el (diary-mark-entries)
4262 (diary-mark-included-diary-files):
4263 Visit included diary-files in temp buffers.
4264
5d8e0d43
GM
4265 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4266 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4267 (f90-start-block-re, f90-imenu-generic-expression)
4268 (f90-looking-at-program-block-start, f90-no-block-limit):
4269 Add support for submodules.
4270
ccf7a5d5
GM
4271 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4272 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4273
11fdef7d 42742011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4275
4276 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4277 buffer-file-type before setting its value, to avoid disastrous
eefff499 4278 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4279
74f53697
JB
42802011-06-25 Juanma Barranquero <lekktu@gmail.com>
4281
4282 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4283
4284 * ses.el (ses-unload-function):
4285 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4286
4287 * proced.el (proced-unload-function):
4288 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4289
18a4ce5e
AR
42902011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4291
4292 * server.el (server-create-window-system-frame): Add parameters arg.
4293 (server-process-filter): Doc fix. Handle frame-parameters.
4294
519d22cc
JB
42952011-06-25 Juanma Barranquero <lekktu@gmail.com>
4296
4297 Fix bug#8730, bug#8781.
4298
4299 * loadhist.el (unload--set-major-mode): New function.
4300 (unload-feature): Use it.
4301
4302 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4303 (python-unload-function): New function.
4304
c206f5b0
SM
43052011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4308
f9ad64f3
GS
43092011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4310
4311 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4312 the candidates list.
4313
7d0da90e
JB
43142011-06-24 Juanma Barranquero <lekktu@gmail.com>
4315
4316 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4317
14b4e83d
RS
43182011-06-23 Richard Stallman <rms@gnu.org>
4319
4320 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4321 (rmail-variables): Set next-error-move-function.
4322 (rmail-what-message): Take argument POS.
4323 (rmail-next-error-move): New function.
4324
273d2baf
SM
43252011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4328 messages for adjacent non-terminals.
4329
56c2cc9a
RS
43302011-06-23 Richard Stallman <rms@gnu.org>
4331
4332 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4333 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4334 (rmail-start-mail): Don't specify use of rmail-mail-return;
4335 that's done by mail-bury now.
4336 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4337
d59eb518
MA
43382011-06-23 Michael Albinus <michael.albinus@gmx.de>
4339
4340 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4341 SIZE is a number.
4342
02cfc6d6
MR
43432011-06-23 Martin Rudalics <rudalics@gmx.at>
4344
4345 * window.el (get-lru-window, get-mru-window)
4346 (get-largest-window): Never return a minibuffer window.
4347 (display-buffer-pop-up-window): Fix a bug that could lead to
4348 reusing the minibuffer window.
4349 (display-buffer): Pass original specifier argument to
4350 display-buffer-function instead of the normalized one.
4351 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4352
4e323265
LL
43532011-06-22 Leo Liu <sdl.web@gmail.com>
4354
4355 * minibuffer.el (completing-read-function)
4356 (completing-read-default): Move from minibuf.c
4357
7a70468f
RS
43582011-06-22 Richard Stallman <rms@gnu.org>
4359
50718fc2
RS
4360 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4361 to Rmail even if not started by a special Rmail command.
4362
7a70468f
RS
4363 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4364 Copy the buffer currently showing just one message.
4365
297dde5a
RW
43662011-06-22 Roland Winkler <winkler@gnu.org>
4367
4368 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4369 (bibtex-clean-entry): First delete the old key so that a
4370 customized algorithm for generating the new key does not get
4371 confused by the old key.
4372 (bibtex-url): Obey regexp of first step.
4373 (bibtex-search-entries): Do not use add-to-list with local
4374 list-var.
4375
97bb1093
LMI
43762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4377
4378 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4379 stored a user name, then query for the password first, instead of
4380 waiting for SMTP to give an error message and the trying again.
4381
1c0f1a19
JD
43822011-06-22 Lawrence Mitchell <wence@gmx.li>
4383
4384 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4385 BUFFER in call-process.
4386
396f7c9d
LMI
43872011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4388
4389 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4390 QUIT twice.
ddb7ffee
LMI
4391 (smtpmail-try-auth-methods): Require user name and password from
4392 auth-source.
396f7c9d 4393
8998d1b3
MR
43942011-06-22 Martin Rudalics <rudalics@gmx.at>
4395
4396 * window.el (display-buffer-default-specifiers)
4397 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4398 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4399 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4400
4401 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4402 (special-display-frame-alist, special-display-popup-frame):
4403 Remove duplicate declarations. These are now in window.el.
4404
4ea31e07
LMI
44052011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4406
c9d29fb8
SM
4407 * mail/smtpmail.el (smtpmail-via-smtp):
4408 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4409 server supports it. SMTP servers that support STARTTLS commonly
4410 require it.
4411
4412 * net/network-stream.el (network-stream-open-starttls): Support
4413 upgrading to STARTTLS always, even if we don't have built-in support.
4414 (open-network-stream): Add the :always-query-capabilies keyword.
4415
95f41d9a
LMI
4416 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4417 upgrades with `open-network-stream', and rely solely on
4418 auth-source for all credentials. Big changes throughout the file,
4419 but in particular:
c9d29fb8
SM
4420 (smtpmail-auth-credentials): Remove.
4421 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4422 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4423 MAIL FROM, too.
95f41d9a 4424
c9d29fb8
SM
4425 * net/network-stream.el (network-stream-open-starttls):
4426 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4427 STARTTLS.
4428 (auth-source): Require.
4429 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4430 (network-stream-certificate): Change cert-cert to cert and
4431 cert-key to key.
4ea31e07 4432
065ec2c7
MA
44332011-06-21 Michael Albinus <michael.albinus@gmx.de>
4434
4435 * net/tramp-cache.el (top): Don't load the persistency file when
4436 "emacs -Q" has been called.
4437
cd93b359
DR
44382011-06-21 Tim Harper <timcharper@gmail.com>
4439
d8e4b68b
JB
4440 * term/ns-win.el (ns-initialize-window-system):
4441 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4442 resource to NO as it is not yet supported by the NS port.
4443
ae9c0411
JB
44442011-06-21 Juanma Barranquero <lekktu@gmail.com>
4445
4446 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4447 (list-dynamic-libraries): ...not here.
4448
7f3f739f
LL
44492011-06-21 Leo Liu <sdl.web@gmail.com>
4450
4451 * subr.el (sha1): Implement sha1 using secure-hash.
4452
327c8fb1
MR
44532011-06-21 Martin Rudalics <rudalics@gmx.at>
4454
4455 * window.el (display-buffer-alist): In default value do not
4456 enforce searching a window on any but the selected frame.
4457 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4458 (display-buffer-select-window): Remove function.
4459 (display-buffer-in-window): When a window on another frame gets
4460 reused, do not select it any more but just raise its frame if
4461 necessary (Bug#8851) and (Bug#8856).
4462 (display-buffer-normalize-options): Handle pop-up-frames related
4463 options more faithfully.
4464 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4465 window if it is on another frame.
c9d29fb8
SM
4466 (display-buffer-alist, display-buffer-default-specifiers):
4467 Don't make new frame unsplittable by default.
9e9de014
MR
4468 (display-buffer-normalize-argument): Fix doc-string typo and use
4469 'same-frame-other-window instead of 'other-window when associating
4470 with display-buffer-macro-specifiers.
327c8fb1 4471
7cf3f556
VB
44722011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4473
4474 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4475 New functions.
4476 (5x5-mode-map, 5x5-mode-menu): Bind them.
4477 (5x5-draw-grid): Tweak the solver's rendering.
4478
60a406cf
SM
44792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4482 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4483
d8e4b68b 44842011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4485
4486 * menu-bar.el: Use function variable instead of switch-to-buffer.
4487 (menu-bar-select-buffer-function): New variable.
60a406cf 4488 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4489
478d6f95
SM
44902011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4493 variable's status.
4494
ca530739
JD
44952011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4496
4497 * x-dnd.el (x-dnd-version-from-flags)
4498 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4499 and long as number (Bug#8899).
4500 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4501
bcd70d97
SM
45022011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4503
60a406cf 4504 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4505 (completion-try-completion, completion-all-completions): Compute the
4506 metadata argument if it's missing; make it optional (bug#8795).
4507
60a406cf 4508 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4509 (widget-complete): Use new :completion-function property.
4510 (widget-completions-at-point): New function.
4511 (default): Use :completion-function instead of :complete.
60a406cf
SM
4512 (widget-default-completions): Rename from widget-default-complete;
4513 Rewrite.
bcd70d97
SM
4514 (widget-string-complete, widget-file-complete, widget-color-complete):
4515 Remove functions.
4516 (file, symbol, function, variable, coding-system, color):
4517 * international/mule-cmds.el (default-input-method, charset)
4518 (language-info-custom-alist):
4519 * cus-edit.el (face): Use new property :completions.
4520
4521 * progmodes/pascal.el (pascal-completions-at-point): New function.
4522 (pascal-mode): Use it.
4523 (pascal-mode-map): Use completion-at-point.
4524 (pascal-toggle-completions): Make obsolete.
4525 (pascal-complete-word, pascal-show-completions):
4526 * progmodes/octave-mod.el (octave-complete-symbol):
4527 Redefine as obsolete alias.
4528 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4529 Signal absence of completion info for old Octave,
4530 (inferior-octave-complete): Redefine as obsolete alias.
4531 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4532 (meta-completions-at-point): Rename from meta-complete-symbol and
4533 adapt it for use on completion-at-point-functions.
4534 (meta-common-mode): Use it.
4535 (meta-looking-at-backward, meta-match-buffer): Remove.
4536 (meta-complete-symbol): Redefine as obsolete alias.
4537 (meta-common-mode-map): Use completion-at-point.
4538 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4539 (makefile-mode-map): Use completion-at-point.
4540 (makefile-completions-at-point): Rename from makefile-complete and
4541 adapt it for use on completion-at-point-functions.
4542 (makefile-mode): Use it.
4543 (makefile-complete): Redefine as obsolete alias.
4544
aebf69c8
DD
45452011-06-20 Deniz Dogan <deniz@dogan.se>
4546
4547 * net/rcirc.el: Delete trailing whitespaces once and for all.
4548
bfbbb27d
DC
45492011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4550
4551 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4552
d264a46b
CY
45532011-06-19 Chong Yidong <cyd@stupidchicken.com>
4554
4ca009e5
CY
4555 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4556
d264a46b
CY
4557 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4558
fbf5b3ce
MR
45592011-06-19 Martin Rudalics <rudalics@gmx.at>
4560
4561 * window.el (display-buffer-other-window-means-other-frame):
4562 Call display-buffer-normalize-alist.
4563 (display-buffer-normalize-specifiers-1): Rename to
4564 display-buffer-normalize-argument. New argument other-frame.
4565 Rewrite.
4566 (display-buffer-normalize-specifiers-2): Rename to
4567 display-buffer-normalize-options.
4568 (display-buffer-normalize-alist-1): New function.
4569 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4570 display-buffer-normalize-alist.
4571 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4572 (display-buffer-normalize-options-inhibit): New variable.
4573 (display-buffer-normalize-specifiers): Rewrite calling
4574 display-buffer-normalize-alist,
4575 display-buffer-normalize-argument, and
4576 display-buffer-normalize-options. Don't call the latter if
4577 display-buffer-normalize-options-inhibit is non-nil.
4578 (frame-auto-delete): New option.
4579 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4580 (window-list-no-nils, window-state-ignored-parameters)
4581 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4582 (window-state-put-1, window-state-put-2, window-state-put):
4583 New functions.
9a028c23
MR
4584 (display-buffer-normalize-options): Move special-display-p group
4585 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4586
6d10d800
CY
45872011-06-18 Chong Yidong <cyd@stupidchicken.com>
4588
6420d28b
CY
4589 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4590 groups (Bug#8776).
4591 (rx-submatch-n): New function.
4592 (rx): Document it.
4593
ddb8b596
CY
4594 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4595 (Bug#8768).
4596
4597 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4598
77080289
CY
4599 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4600
61dfb316
CY
4601 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4602 anytime existing face settings are present (Bug#8889).
4603
6d10d800
CY
4604 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4605 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4606 Remove unused argument.
4607
be3fb2b8
MR
46082011-06-18 Martin Rudalics <rudalics@gmx.at>
4609
bcd70d97
SM
4610 * window.el (display-buffer-default-specifiers):
4611 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4612 pop-up-window-min-width, and another reuse-window specifier
4613 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4614 (display-buffer-normalize-specifiers-2):
4615 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4616 pop-up-windows is unset. Add a reuse-window specifier for the
4617 case popping up a new window fails.
4618 (special-display-popup-frame): Remove double quoting.
28dec25a 4619 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4620
1c6d8c76
SM
46212011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4624 according to comint-completion-addsuffix.
4625
4626 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4627 (pcomplete-suffix-list): Mark as obsolete.
4628 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4629 pcomplete-seen in the closure.
4630 (pcomplete-comint-setup): Setup completion-at-point as well.
4631 (pcomplete--entries): New function.
4632 (pcomplete--env-regexp): New var.
4633 (pcomplete-entries): Rewrite to work with partial-completion and
4634 without relying on pcomplete-suffix-list.
4635 (pcomplete-pare-list): Remove, unused.
4636
25aef8b8
MR
46372011-06-17 Martin Rudalics <rudalics@gmx.at>
4638
4639 * window.el (display-buffer-alist): Set pop-up-window-min-height
4640 and pop-up-window-min-width in default value. Reported by
4641 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4642 other-window-means-other-frame.
4643 (display-buffer-macro-specifiers): Comment out entry for
4644 other-window specifier.
4645 (display-buffer-other-window-means-other-frame): New function.
4646 (display-buffer-normalize-specifiers-1): New arguments
4647 buffer-name and label. Treat other-window case specially.
4648 (display-buffer-normalize-specifiers-2): Treat other-window case
4649 specially.
4650 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4651 (display-buffer-normalize-specifiers):
4652 Call display-buffer-normalize-specifiers-3.
25aef8b8 4653
dbad4f69
MR
46542011-06-17 Martin Rudalics <rudalics@gmx.at>
4655
4656 * window.el (same-window-p): Fix two typos introduced when
4657 adding with-no-warnings.
d1067961
MR
4658 (display-buffer-normalize-specifiers-1): Don't check
4659 pop-up-frames for 'unset initialization.
4660 (display-buffer-normalize-specifiers-2): Major rewrite using
4661 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4662 (pop-up-frames, display-buffer-reuse-frames)
4663 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4664 Suggested by David Engster <deng@randomsample.de>.
4665 (even-window-heights): Initialize to 'unset.
4666 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4667 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4668 other window case.
dbad4f69 4669
9b9c9e3a
MR
46702011-06-16 Martin Rudalics <rudalics@gmx.at>
4671
bcd70d97
SM
4672 * window.el (display-buffer-normalize-specifiers-1):
4673 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4674 second argument of display-buffer (Bug#8865).
981d5c09
MR
4675 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4676 (switch-to-buffer-other-window-same-frame)
4677 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4678 Adams (Bug#8875).
9c2755e9
MR
4679 (display-buffer): Don't check noninteractive when calling
4680 display-buffer-pop-up-frame.
4681 (display-buffer-pop-up-frame): Never pop up a frame in
4682 noninteractive mode (Bug#8857).
67222e1d
MR
4683 (enlarge-window, shrink-window): Don't report an error when the
4684 window can't be resized as requested (Bug#8862).
9b9c9e3a 4685
2b75be67
SM
46862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4687
9ffdd3ba
SM
4688 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4689
cb581a67
SM
4690 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4691
2b75be67
SM
4692 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4693
8c0e3589
AM
46942011-06-15 Alan Mackenzie <acm@muc.de>
4695
cb581a67
SM
4696 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4697 for declarators, disable knr checking to speed up for normal files.
4698 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4699
b96e6cde
LMI
47002011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4701
4bba86e6
LMI
4702 * net/network-stream.el (open-network-stream): Add the keyword
4703 :always-query-capabilities for the case where you want to force a
4704 `plain' network connection, but the protocol still requires the
4705 capabilitiy command (i.e., SMTP and EHLO).
4706
2b75be67 4707 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4708 consistency with other `-live-p' functions.
4709
efdcdbf8
SM
47102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * window.el (same-window-buffer-names, same-window-regexps)
4713 (special-display-frame-alist, special-display-popup-frame)
4714 (special-display-function, special-display-buffer-names)
4715 (special-display-regexps, pop-up-frame-alist)
4716 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4717 (pop-up-windows, split-window-preferred-function)
4718 (split-height-threshold, split-width-threshold, even-window-heights)
4719 (display-buffer-mark-dedicated): Don't encourage the use of
4720 display-buffer-alist from Elisp code.
4721
c5cde042
DN
47222011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4723
4724 * progmodes/python.el (python-mode): Derive from prog-mode.
4725 * progmodes/ps-mode.el (ps-mode):
4726 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4727 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4728 * progmodes/ld-script.el (ld-script-mode): Likewise.
4729
baa1c9ab
MR
47302011-06-15 Martin Rudalics <rudalics@gmx.at>
4731
4732 * window.el (display-buffer-alist): Trim default value to avoid
4733 popping up a new frame (Bug#8857) or reusing an arbitrary window
4734 on another frame.
4735 (display-buffer): Do not fall back on popping up a new frame in
4736 batch mode (Bug#8857).
4737
c5dd5a51
CY
47382011-06-14 Chong Yidong <cyd@stupidchicken.com>
4739
4740 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4741 (custom-theme-summary): New function.
4742 (customize-themes): Use it.
4743
d647b7c4
GM
47442011-06-13 Glenn Morris <rgm@gnu.org>
4745
4746 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4747
9481c002
MR
47482011-06-13 Martin Rudalics <rudalics@gmx.at>
4749
357f93d2
MR
4750 * help.el (help-window): Remove variable.
4751 (help-window-point-marker, temp-buffer-max-height)
4752 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4753 (help-print-return-message): Don't set help-window.
4754 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4755 (help-window-setup-finish): Remove.
4756 (help-window-display-message, help-window-setup)
4757 (with-help-window): Major rewrite based on new
4758 display-buffer-window variable.
4759
4760 * help-mode.el (help-mode-finish): Remove help-window related
4761 code.
4762
4763 * view.el (view-exits-all-viewing-windows): Remove reference to
4764 view-return-to-alist in doc-string.
4765 (view-return-to-alist): Make obsolete.
4766 (view-buffer): Call pop-to-buffer-same-window and remove
4767 undo-window code.
4768 (view-buffer-other-window): Call pop-to-buffer-other-window and
4769 simplify code. Ignore second argument.
4770 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4771 simplify code. Ignore second argument.
4772 (view-return-to-alist-update): Make obsolete.
4773 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4774 Rewrite using quit-restore window parameters.
2b75be67
SM
4775 (view-mode-exit): Rename second argument to EXIT-ONLY.
4776 Rewrite using quit-restore-window.
357f93d2
MR
4777 (View-exit, View-exit-and-edit, View-leave, View-quit)
4778 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4779 appropriate arguments.
4780 (view-end-message): Use quit-restore window parameter.
4781
9481c002
MR
4782 * window.el (display-buffer-function): Rewrite doc-string.
4783 (display-buffer-window, display-buffer-alist): New variables.
4784 (display-buffer-split-specifiers)
4785 (display-buffer-side-specifiers)
4786 (display-buffer-macro-specifiers): New constants.
4787 (display-buffer-even-window-sizes, display-buffer-set-height)
4788 (display-buffer-set-width, display-buffer-select-window)
4789 (display-buffer-in-window, display-buffer-reuse-window)
4790 (display-buffer-split-window-1, display-buffer-split-window)
4791 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4792 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4793 (display-buffer-in-side-window, normalize-buffer-to-display)
4794 (display-buffer-normalize-specifiers-1)
4795 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4796 (display-buffer-normalize-specifiers, display-buffer-frame):
4797 New functions.
9481c002
MR
4798 (display-buffer): Major rewrite.
4799 (display-buffer-other-window, display-buffer-other-frame)
4800 (pop-to-buffer, switch-to-buffer-other-window)
4801 (switch-to-buffer-other-frame): Rewrite.
4802 (display-buffer-same-window, display-buffer-same-frame)
4803 (display-buffer-same-frame-other-window)
4804 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4805 (pop-to-buffer-other-window)
4806 (pop-to-buffer-same-frame-other-window)
4807 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4808 (switch-to-buffer-other-window-same-frame): New functions.
4809 (same-window-p, special-display-p): Rewrite disabling warnings.
4810 Make obsolete.
4811 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4812 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4813 Make obsolete
4814 (same-window-buffer-names, same-window-regexps)
4815 (special-display-frame-alist, special-display-popup-frame)
4816 (special-display-function, special-display-buffer-names)
4817 (special-display-regexps, pop-up-frame-alist)
4818 (pop-up-frame-function, split-window-preferred-function)
4819 (split-height-threshold, split-width-threshold)
4820 (even-window-heights): Make obsolete.
4821
9db51aca
GM
48222011-06-12 Glenn Morris <rgm@gnu.org>
4823
4824 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4825 Misc simplifications.
9db51aca 4826
39cffb44
MR
48272011-06-12 Martin Rudalics <rudalics@gmx.at>
4828
4829 * window.el (window-safely-shrinkable-p): Restore function which
4830 was inadvertently removed in change from 2011-06-11. Declare as
4831 obsolete.
4832
2b75be67
SM
4833 * calendar/calendar.el (calendar-generate-window):
4834 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4835 window-safely-shrinkable-p.
4836
a8955be7
GM
48372011-06-12 Glenn Morris <rgm@gnu.org>
4838
4839 * progmodes/fortran.el (fortran-mode-syntax-table):
4840 * progmodes/f90.el (f90-mode-syntax-table):
4841 Set % to punctuation. (Bug#8820)
4842 (f90-find-tag-default): Remove, no longer needed.
4843
f0d4059d
DC
48442011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4845
4846 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4847
1100a63c
CY
48482011-06-11 Chong Yidong <cyd@stupidchicken.com>
4849
4850 * image.el (image-animated-p): Return animation delay in seconds.
4851 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4852 (image-animate-timeout): Remove DELAY argument. Don't assume
4853 every subimage has the same delay; get it from image-animated-p.
4854 (image-animate): Caller changed.
4855
def722bf
MA
48562011-06-11 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4859 to ignored backtrace functions.
4860
0a2bb1a9
GM
48612011-06-11 Glenn Morris <rgm@gnu.org>
4862
4863 * calendar/appt.el (appt-disp-window-function): Doc fix.
4864 (appt-check): Handle overlapping appointments. (Bug#8337)
4865
6198ccd0
MR
48662011-06-11 Martin Rudalics <rudalics@gmx.at>
4867
4868 * window.el (window-tree-1, window-tree): New functions, moving
4869 the latter to window.el.
4870 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4871 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4872 (bw-refresh-edges): Remove.
4873 (balance-windows-1, balance-windows-2): New functions.
4874 (balance-windows): Rewrite in terms of window tree functions,
4875 balance-windows-1 and balance-windows-2.
4876 (bw-adjust-window): Remove.
4877 (balance-windows-area-adjust): New function with functionality of
4878 bw-adjust-window but using resize-window.
2b75be67
SM
4879 (set-window-text-height): Rewrite doc-string.
4880 Use normalize-live-window and resize-window.
4881 (enlarge-window-horizontally, shrink-window-horizontally):
4882 Rename argument to DELTA.
6198ccd0
MR
4883 (window-buffer-height): New function.
4884 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4885 Rewrite using new window resize routines.
2b75be67
SM
4886 (kill-buffer-and-window, mouse-autoselect-window-select):
4887 Use ignore-errors instead of condition-case.
6198ccd0
MR
4888 (quit-window): Call delete-frame instead of delete-windows-on
4889 for the only buffer on frame.
4890
9397e56f
MR
48912011-06-10 Martin Rudalics <rudalics@gmx.at>
4892
4893 * loadup.el (top-level): Load window before files for the sake
4894 of replace-buffer-in-windows.
4895
4896 * files.el (read-buffer-to-switch)
4897 (switch-to-buffer-other-window)
2b75be67
SM
4898 (switch-to-buffer-other-frame, display-buffer-other-frame):
4899 Move to window.el.
9397e56f
MR
4900
4901 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4902 (previous-buffer): Move to window.el.
4903
4904 * bindings.el (unbury-buffer): Move to window.el.
4905
4906 * window.el (delete-other-windows-vertically): Move after
4907 definition of delete-other-windows.
4908 (other-window, delete-windows-on, replace-buffer-in-windows):
4909 Move here from window.c.
4910 (record-window-buffer, unrecord-window-buffer)
4911 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4912 (switch-to-next-buffer): New functions.
4913 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4914 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4915 (previous-buffer): Move here from simple.el.
4916 Call switch-to-prev-buffer.
9397e56f
MR
4917 (bury-buffer): Move here from buffer.c. Switch to previous
4918 buffer when window cannot be deleted.
4919 (unbury-buffer): Move here from bindings.el.
4920 (ctl-x-map): Move binding for other-window from window.c to
4921 here.
4922 (read-buffer-to-switch, switch-to-buffer-other-window)
4923 (switch-to-buffer-other-frame): Move here from files.el.
4924 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4925 (switch-to-buffer): Move here from buffer.c.
4926 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4927
562dd5e9
MR
49282011-06-10 Martin Rudalics <rudalics@gmx.at>
4929
4930 * window.el (window-min-height, window-min-width): Move here
4931 from window.c. Add defcustoms and rewrite doc-strings.
4932 (resize-mini-window, resize-window): New functions.
4933 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4934 Move here from window.c.
4935 (maximize-window, minimize-window): New functions.
4936 (delete-window, delete-other-windows, split-window): Move here
4937 from window.c.
4938 (window-split-min-size): New function.
4939 (split-window-keep-point): Mention split-window-above-each-other
4940 instead of split-window-vertically.
2b75be67
SM
4941 (split-window-above-each-other, split-window-vertically):
4942 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4943 provide defalias for old definition.
4944 (split-window-side-by-side, split-window-horizontally): Rename
4945 split-window-horizontally to split-window-side-by-side and provide
4946 defalias for the old definition.
4947 (ctl-x-map): Move bindings for delete-window,
4948 delete-other-windows and enlarge-window here from window.c.
4949 Replace bindings for split-window-vertically and
4950 split-window-horizontally by bindings for
4951 split-window-above-each-other and split-window-side-by-side.
4952
4953 * cus-start.el (all): Remove entries for window-min-height and
4954 window-min-width. Add entries for window-splits and
4955 window-nest.
4956
f0da764a
GM
49572011-06-09 Glenn Morris <rgm@gnu.org>
4958
80675c21
GM
4959 * calendar/appt.el (appt-mode-line): New function.
4960 (appt-check, appt-disp-window): Use it.
4961
f0da764a
GM
4962 * files.el (hack-one-local-variable-eval-safep):
4963 Allow minor-modes with explicit +/-1 arguments.
4964
59f623b7
TZ
49652011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4966
4967 * term/xterm.el (xterm): Add defgroup.
4968 (xterm-extra-capabilities): Add defcustom to supply known xterm
4969 capabilities, skip querying them, or query them (default).
4970 (terminal-init-xterm): Use it.
4971 (terminal-init-xterm-modify-other-keys): New function to set up
4972 modifyOtherKeys support to simplify `terminal-init-xterm'.
4973
9aab8e0d
MR
49742011-06-09 Martin Rudalics <rudalics@gmx.at>
4975
4976 * window.el (resize-window-reset, resize-window-reset-1)
4977 (resize-subwindows-skip-p, resize-subwindows-normal)
4978 (resize-subwindows, resize-other-windows, resize-this-window)
4979 (resize-root-window, resize-root-window-vertically)
4980 (window-deletable-p, window-or-subwindow-p)
4981 (frame-root-window-p): New functions.
4982
e8b08aee
GM
49832011-06-09 Glenn Morris <rgm@gnu.org>
4984
4985 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4986 (ange-ftp-get-files): Use it.
4987
254c37a5
AK
49882011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4989
4990 * mail/sendmail.el (mail-recover-1, mail-recover):
4991 * files.el (recover-file, recover-session):
4992 Handle dired-listing-switches not being just a single short option.
4993
35d7dbd3
GM
49942011-06-09 Glenn Morris <rgm@gnu.org>
4995
4996 * calendar/appt.el (appt-display-message, appt-disp-window):
4997 Handle lists of appointments.
4998
387522b2
MR
49992011-06-08 Martin Rudalics <rudalics@gmx.at>
5000
2b75be67
SM
5001 * window.el (one-window-p): Move down in code.
5002 Rewrite doc-string.
5003 (window-current-scroll-bars): Rewrite doc-string.
5004 Normalize live window argument.
387522b2
MR
5005 (walk-windows, get-window-with-predicate, count-windows):
5006 Rewrite doc-string. Use window-list-1.
5007 (window-in-direction-2, window-in-direction, get-mru-window):
5008 New functions.
5009
d8e4b68b 50102011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5011
5012 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5013 Doc fix (Bug#8713).
5014
50152011-06-08 Chong Yidong <cyd@stupidchicken.com>
5016
5017 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5018
50192011-06-08 Juanma Barranquero <lekktu@gmail.com>
5020
5021 * loadhist.el (unload-feature-special-hooks):
5022 Add `comint-output-filter-functions'.
5023
0de12c52
IK
50242011-06-08 Ivan Kanis <gnu@kanis.fr>
5025
5026 * calendar/appt.el (appt-check): Move some initializations into the let.
5027
f3d1777e
MR
50282011-06-08 Martin Rudalics <rudalics@gmx.at>
5029
5030 * window.el (window-height): Defalias to window-total-height.
5031 (window-width): Defalias to window-body-width.
5032
18af70d0
CY
50332011-06-07 Chong Yidong <cyd@stupidchicken.com>
5034
5035 * image-mode.el (image-toggle-animation): New command.
5036 (image-mode-map): Bind it to RET.
5037 (image-mode): Update message.
5038 (image-toggle-display-image): Avoid a spurious cache flush.
5039 (image-transform-rotation): Doc fix.
5040 (image-transform-properties): Return quickly in the normal case.
5041 (image-animate-loop): Rename from image-animate-max-time.
5042
2b75be67 5043 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5044 (create-animated-image): Remove unnecessary function.
5045 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5046 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5047 (image-animate-timer): Use car-safe.
5048 (image-animate-timeout): Rename argument.
5049
190b47e6
MR
50502011-06-07 Martin Rudalics <rudalics@gmx.at>
5051
5052 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5053 window.c. Rename first argument to ALL-FRAMES.
5054 Rephrase doc-strings.
5055 (get-buffer-window-list): Rewrite using window-list-1.
5056 Rephrase doc-string.
a1511caf
MR
5057 (window-safe-min-height, window-safe-min-width): New constants.
5058 (window-size-ignore, window-min-size, window-min-size-1)
5059 (window-sizable, window-sizable-p, window-size-fixed-1)
5060 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5061 (window-max-delta-1, window-max-delta, window-resizable)
5062 (window-resizable-p, window-total-height, window-total-width)
5063 (window-body-width): New functions.
5064 (window-full-height-p, window-full-width-p): Rewrite using
5065 window-total-size.
5066 (window-body-height): Rewrite using window-body-size.
190b47e6 5067
85cc1f11
MR
50682011-06-06 Martin Rudalics <rudalics@gmx.at>
5069
5070 * window.el (window-right, window-left, window-child)
5071 (window-child-count, window-last-child, window-any-p)
5072 (normalize-live-buffer, normalize-live-frame)
5073 (normalize-any-window, normalize-live-window)
5074 (window-iso-combination-p, window-iso-combined-p)
5075 (window-iso-combinations)
5076 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5077 (windows-with-parameter, window-with-parameter)
5078 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5079 (window-atom-check, window-side-check, window-check):
5080 New functions.
85cc1f11
MR
5081 (ignore-window-parameters, window-sides, window-sides-vertical)
5082 (window-sides-slots): New variables.
5083 (window-size-fixed): Move down in code. Minor doc-string fix.
5084
e7156492
AS
50852011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5086
5087 * comint.el (comint-dynamic-complete-as-filename)
5088 (comint-dynamic-complete-filename): Correctly call
5089 completion-in-region.
5090
7e821d0d
DD
50912011-06-05 Deniz Dogan <deniz@dogan.se>
5092
5093 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5094 in last change.
5095
ac09b8a1
DD
50962011-06-05 Deniz Dogan <deniz@dogan.se>
5097
5098 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5099 (rcirc): Use it to prompt for encryption.
5100
34699b85
RW
51012011-06-05 Roland Winkler <winkler@gnu.org>
5102
5103 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5104 (bibtex-search-entries): New command bound to C-c C-a.
5105 (bibtex-display-entries): New function.
5106
004dedd3
RW
51072011-06-05 Roland Winkler <winkler@gnu.org>
5108
5109 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5110 (bibtex-insert-kill): After yanking insert newline if necessary.
5111 (bibtex-initialize): Call bibtex-string-files-init only once.
5112 (bibtex-mode): Do not call easy-menu-add.
5113 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5114 (bibtex-yank): Set arg properly if nil.
5115
022fe7ce
RW
51162011-06-05 Roland Winkler <winkler@gnu.org>
5117
2b75be67
SM
5118 * textmodes/bibtex.el (bibtex-search-entry-globally):
5119 New variable.
022fe7ce
RW
5120 (bibtex-search-entry): Use it.
5121
b7c3692a
RW
51222011-06-05 Roland Winkler <winkler@gnu.org>
5123
5124 * textmodes/bibtex.el (bibtex-entry-format): New option
5125 sort-fields.
5126 (bibtex-format-entry, bibtex-reformat): Honor this option.
5127 (bibtex-parse-entry): Return fields in proper order.
5128
8eda563d
JB
51292011-06-05 Juanma Barranquero <lekktu@gmail.com>
5130
5131 * doc-view.el (doc-view-remove-if): Move computation of result out
5132 of `dolist' to silence misleading lexical-binding warning.
5133
7dbe3dbc
CY
51342011-06-04 Chong Yidong <cyd@stupidchicken.com>
5135
5136 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5137 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5138
0c33dd17
MA
51392011-06-04 Michael Albinus <michael.albinus@gmx.de>
5140
5141 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5142 "SunOS 5.10".
5143
f8f91c2b
MA
51442011-06-04 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5147 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5148 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5149 (tramp-parse-putty):
5150 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5151 (tramp-completion-function-alist-ssh)
5152 (tramp-completion-function-alist-telnet)
5153 (tramp-completion-function-alist-su)
5154 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5155 cookie.
5156
5157 * net/tramp-ftp.el:
5158 * net/tramp-sh.el:
5159 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5160 load "tramp.el" `tramp-set-completion-function'.
5161
e17d9003
SM
51622011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5163
5164 * shell.el: Require and use pcomplete.
5165 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5166 (shell-completion-vars): Set pcomplete-default-completion-function.
5167
6c4cab03
DD
51682011-06-04 Deniz Dogan <deniz@dogan.se>
5169
5170 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5171 `memq' (Bug#8799).
5172
ea9fafe0
SM
51732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5176
b3e945d3
JB
51772011-06-02 Juanma Barranquero <lekktu@gmail.com>
5178
5179 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5180 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5181 * vc/log-view.el (log-view-beginning-of-defun):
5182 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5183 (smerge-refine-forward, smerge-refine-chopup-region):
5184 Silence warning for unused `dotimes' counter variables.
5185
7d520089
SM
51862011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * net/tramp.el (tramp-with-progress-reporter): Rename from
5189 with-progress-reporter. Use `declare'.
5190 * net/tramp-smb.el:
5191 * net/tramp-sh.el:
5192 * net/tramp-gvfs.el: Update all uses.
5193
a1c2400f
JB
51942011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5195
5196 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5197 buffer isn't killed before making it current.
5198
2403c841
SM
51992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 Silence various byte-compiler warnings.
5202 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5203 `access-type' and new obsolescence format.
5204 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5205 new format.
5206 (byte-compile-check-variable): New `access-type' argument.
5207 Only warn if the access-type is obsolete.
5208 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5209 (byte-compile-variable-set): Adjust callers.
5210 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5211 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5212 setting it as obsolete.
5213 * simple.el (minibuffer-completing-symbol):
5214 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5215 access as obsolete.
5216 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5217 obsolete yet.
5218 * international/quail.el (quail-mouse-choose-completion): Remove unused
5219 code referring to obsolete var.
5220 (quail-choose-completion-string): Remove.
5221 * server.el (server-clients-with, server-kill-buffer-query-function)
5222 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5223 * proced.el (proced-send-signal):
5224 * emacs-lisp/lisp.el (lisp-complete-symbol):
5225 Replace completion-annotate-function with completion-extra-properties.
5226
2462470b
SM
52272011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5228
fb5b2591
SM
5229 * simple.el (goto-line): Use read-number.
5230 (overriding-map-is-bound): Remove.
5231 (saved-overriding-map): Change default.
5232 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5233 Take the map as argument.
5234 (universal-argument, negative-argument, digit-argument): Use it.
5235 (restore-overriding-map): Adjust.
5236 (do-auto-fill): Use fill-forward-paragraph.
5237 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5238
fd6fa53f
SM
5239 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5240 (minibuffer-inactive-mode): New major mode.
5241 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5242 the *Messages* buffer" hack.
5243 (mouse-popup-menubar): Don't burp if the event is a normal key.
5244
2462470b
SM
5245 Miscellaneous tweaks.
5246 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5247 lexical scoping as in subr.el's dolist and dotimes.
5248 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5249 Silence compiler warning.
5250 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5251 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5252 * international/ccl.el (ccl-compile): Trivial simplification.
5253 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5254 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5255 `printflag' argument.
5256 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5257 Purecopy the whole obsolescence data.
5258
108bf785
LL
52592011-06-01 Leo Liu <sdl.web@gmail.com>
5260
5261 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5262 improve doc-string as suggested by Marco Pessotto
5263 <melmothx@gmail.com>.
5264 (rcirc-print): Fix last change.
5265
30a23501
SM
52662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * minibuffer.el (complete-with-action): Return nil for the metadata and
5269 boundaries of non-functional tables.
5270 (completion-table-dynamic): Return nil for the metadata.
5271 (completion-table-with-terminator): Add default case, using
5272 complete-with-action.
5273 (completion--metadata): New function.
5274 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5275 to try and avoid pathological performance problems.
5276 (completion--embedded-envvar-table): Return `category' metadata.
5277
bcd54f83
LMI
52782011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5279
5280 * subr.el (process-alive-p): New tiny convenience function.
5281
e227544d
SM
52822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5285 content but also its previous major mode.
5286
e8296fdc
HE
52872011-05-31 Helmut Eller <eller.helmut@gmail.com>
5288
4d61f28d 5289 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5290 *Backtrace* buffer when we exit with C-M-c.
5291
620c53a6
SM
52922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * minibuffer.el: Add metadata method to completion tables.
5295 (completion-category-overrides): New defcustom.
5296 (completion-metadata, completion--field-metadata)
5297 (completion-metadata-get, completion--styles)
5298 (completion--cycle-threshold): New functions.
5299 (completion-try-completion, completion-all-completions):
5300 Add `metadata' argument to choose completion-styles.
5301 (completion--do-completion): Use metadata to choose cycling.
5302 (completion-all-sorted-completions): Use metadata for sorting.
5303 Remove :completion-cycle-penalty which is not needed any more.
5304 (completion--try-word-completion): Add `metadata' argument.
5305 (minibuffer-completion-help): Check metadata for annotation function
5306 and sorting.
5307 (completion-file-name-table): Return `category' metadata.
5308 (minibuffer-completing-file-name): Make obsolete.
5309 * simple.el (minibuffer-completing-symbol): Make obsolete.
5310 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5311 completion-try-completion.
5312
1257e755
SM
53132011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5316
3767e706
LL
53172011-05-30 Leo Liu <sdl.web@gmail.com>
5318
5319 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5320 (rcirc-print): Decode all incoming messages (bug#8744).
5321 (rcirc-decode-coding-system): Allow value nil for automatic coding
5322 system detection.
3767e706 5323
d1a5d56a
GM
53242011-06-01 Glenn Morris <rgm@gnu.org>
5325
5326 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5327
e8cbec34
CY
53282011-05-29 Chong Yidong <cyd@stupidchicken.com>
5329
5330 * image.el (image-animate-max-time): Allow nil and t values.
5331 Default to nil.
5332 (create-animated-image): Doc fix.
5333 (image-animate-start): Remove second arg; just use
5334 image-animate-max-time.
5335 (image-animate-timeout): Doc fix. Args changed.
5336
5337 * image-mode.el (image-toggle-display-image): Ensure that the
5338 image spec passed to the animate timer is the same object as in
5339 the the buffer's display property (Bug#6981).
5340 (image-transform-properties): Doc fix.
5341
5342 * image.el (image-animate-max-time): Default to nil.
5343
159daf87
MR
53442011-05-29 Martin Rudalics <rudalics@gmx.at>
5345
5346 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5347 entire buffer list (Bug#8184).
5348
d66c4c7c
CY
53492011-05-29 Chong Yidong <cyd@stupidchicken.com>
5350
5351 * image.el (imagemagick-types-inhibit)
5352 (imagemagick-register-types): Doc fix.
5353
80aec780
DD
53542011-05-29 Deniz Dogan <deniz@dogan.se>
5355
5356 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5357 default.
5358
1dd3c2d9
CY
53592011-05-29 Chong Yidong <cyd@stupidchicken.com>
5360
5361 * select.el: Don't perform clipboard-manager saving in hooks;
5362 leave the hooks empty.
5363
60e56523
LL
53642011-05-28 Leo Liu <sdl.web@gmail.com>
5365
5366 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5367 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5368 (occur-edit-mode): New major mode (Bug#8463).
5369 (occur-after-change-function): New function.
5370 (occur-engine): Give Occur tags a read-only property.
5371
2b1e1a22
KR
53722011-05-28 Kevin Ryde <user42@zip.com.au>
5373
5374 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5375
5d344e88
CY
53762011-05-28 Chong Yidong <cyd@stupidchicken.com>
5377
8e6ca83d
CY
5378 * bindings.el (help-echo): Make the initial non-indicator dash
5379 empty on graphical terminals (Bug#7295).
5380
5d344e88
CY
5381 * files.el (auto-mode-alist): Move config rule after the
5382 in-stripping one (Bug#8547).
5383
bfbbace7
CY
5384 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5385
fbeba6e2
CY
5386 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5387 setting (Bug#8740).
5388
60ed8c72
AA
53892011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5390
4ac619f0
AA
5391 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5392 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5393 (Bug#8539).
60ed8c72 5394
23db196e
CY
53952011-05-28 Chong Yidong <cyd@stupidchicken.com>
5396
5397 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5398
5012f24c
DK
53992011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5400
5401 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5402 (hs-hide-block-at-point, hs-find-block-beginning)
5403 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5404 (Bug#8279).
5405
6a639b16
GM
54062011-05-28 Glenn Morris <rgm@gnu.org>
5407
5408 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5409
d43eaf2c
CY
54102011-05-28 Chong Yidong <cyd@stupidchicken.com>
5411
5199bde1
CY
5412 * help-fns.el (describe-function-1): If the function is a derived
5413 major mode, print the parent mode.
5414
d43eaf2c
CY
5415 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5416 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5417
423428a8
SM
54182011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5419
0ff8e1ba
SM
5420 * minibuffer.el (completion--capf-wrapper): Check applicability before
5421 retuning non-nil for non-exclusive completion data.
5422 * progmodes/etags.el (tags-completion-at-point-function):
5423 * info-look.el (info-lookup-completions-at-point): Mark as
5424 non-exclusive.
5425 (info-complete): Adjust accordingly.
5426
423428a8
SM
5427 * info-look.el: Convert to lexical-binding and completion-at-point.
5428 (info-lookup-completions-at-point): New function.
5429 (info-complete): Use it and completion-in-region.
5430
b74aa22b
DA
54312011-05-28 Drew Adams <drew.adams@oracle.com>
5432
5433 * isearch.el: Let M-e start with point at the first mismatched char.
5434 (isearch-fail-pos): New function.
5435 (isearch-edit-string): Use it.
5436
66e2e71d
DK
54372011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5438
5439 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5440
eb95d01d
TC
54412009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5442
5443 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5444 traversal functions for avl-trees.
5445 (avl-tree--stack): New struct.
5446 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5447 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5448 (avl-tree--do-enter): Add optional `updatefun' arg.
5449 Change return value.
eb95d01d 5450 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5451 (avl-tree--do-delete): Add `test' and `nilflag' args.
5452 Change return value.
eb95d01d
TC
5453 (avl-tree-member): Add optional `nilflag'
5454 (avl-tree-member-p): New function.
5455 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5456 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5457 (avl-tree-stack-empty-p): New functions.
5458
3769ddcf
TC
54592009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5460
5461 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5462 avl-tree--del-balance1 and make it work both ways.
5463 (avl-tree--del-balance2): Remove.
5464 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5465 make it work both ways.
5466 (avl-tree--enter-balance2): Remove.
5467 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5468 New macros.
5469 (avl-tree--mapc, avl-tree-map): Add direction argument.
5470
eb95d01d 54712011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5472
5473 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5474
a9f737ee
CY
54752011-05-27 Chong Yidong <cyd@stupidchicken.com>
5476
5477 * select.el: Support clipboard managers with built-in function
5478 x-clipboard-manager-save, via delete-frame-functions and
5479 kill-emacs-hook.
5480 (xselect-convert-to-targets): Add MULTIPLE target to list.
5481 (xselect-convert-to-save-targets): New function.
5482
c92a1e54
KH
54832011-05-27 Kenichi Handa <handa@m17n.org>
5484
5485 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5486 let-binding rfc2047-encode-encoded-words to nil.
5487
e145f188
GM
54882011-05-27 Glenn Morris <rgm@gnu.org>
5489
5ec8a862
GM
5490 * mail/emacsbug.el: Don't require url-util.
5491
4b29d9fb
GM
5492 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5493
e145f188
GM
5494 * files.el (set-auto-mode):
5495 Also respect mode: entries at the end of the file. (Bug#8586)
5496
7d15102b
GM
54972011-05-26 Glenn Morris <rgm@gnu.org>
5498
98f593b8
GM
5499 * files.el (hack-local-variables-prop-line, hack-local-variables):
5500 Downcase mode names, as seems to be traditional.
27b48e63 5501 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5502
7d15102b
GM
5503 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5504 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5505
51d5b4ec
JD
55062011-05-25 Julien Danjou <julien@danjou.info>
5507
5508 * textmodes/rst.el (rst-define-level-faces): Do not define face
5509 symbol if it is already defined.
5510
91513f63
VB
55112011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5512
5513 * play/5x5.el (5x5-new-game, 5x5-randomize):
5514 Reset 5x5-solver-output to nil when a new grid is cast.
5515 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5516 these debugging traces, as defmacro breaks the compiled code.
5517
4d90d6d0
DK
55182011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5519
5520 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5521
e1b90ef6
LL
55222011-05-24 Leo Liu <sdl.web@gmail.com>
5523
5524 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5525 (vc-bzr-sha1): Adapt.
5526
d8e4b68b 5527 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5528
5529 * bindings.el: Provide sha1 feature.
5530
db0406bb 55312011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5532
5533 * mail/sendmail.el: Require `rfc2047'.
5534 (mail-insert-from-field): Do not perform RFC2047 encoding.
5535 (mail-encode-header): New function.
5536 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5537 buffer to the return value of select-message-coding-system.
5538 Call mail-encode-header.
b8d747b9
KH
5539
5540 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5541
db0406bb 55422011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5543
4d90d6d0
DK
5544 * mail/supercite.el (sc-default-cite-frame):
5545 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5546
eb8a5e9b
GM
55472011-05-24 Glenn Morris <rgm@gnu.org>
5548
f8630703
GM
5549 * progmodes/python.el (brm-menu): Declare.
5550
8831bbed
GM
5551 * emulation/viper.el (viper-set-hooks): Declare.
5552
eb8a5e9b
GM
5553 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5554 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5555 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5556 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5557 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5558 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5559
a2a25d24
SM
55602011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 Add an :exit-function for completion-at-point.
5563
5564 * minibuffer.el (completion--done): New fun.
5565 (completion--do-completion): Use it. New arg `expect-exact'.
5566 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5567 since completion--do-completion does it for us now.
5568 (minibuffer-force-complete): Use completion--done and
5569 completion--replace. Handle sole-completion case with more care.
5570 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5571 (completion-extra-properties): New var.
5572 (completion-annotate-function): Make obsolete.
5573 (minibuffer-completion-help): Adjust accordingly.
5574 Use completion-list-insert-choice-function.
5575 (completion-at-point, completion-help-at-point):
5576 Bind completion-extra-properties.
5577 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5578 * simple.el (completion-list-insert-choice-function): New var.
5579 (completion-setup-function): Preserve it.
5580 (choose-completion): Pay attention to it, shuffle the code a bit.
5581 (choose-completion-string): New arg `insert-function'.
5582
5583 * textmodes/bibtex.el: Convert to lexical binding.
5584 (bibtex-mode-map): Use completion-at-point.
5585 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5586 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5587 (bibtex-complete): Define as obsolete alias.
5588 (bibtex-complete-internal): Remove.
5589 (bibtex-format-entry): Remove unused sub-group in regexp.
5590 * shell.el (shell--command-completion-data)
5591 (shell-environment-variable-completion):
5592 * pcomplete.el (pcomplete-completions-at-point):
5593 * comint.el (comint--complete-file-name-data): Use :exit-function
5594 instead of completion-table-with-terminator so it also works for
5595 choose-completion.
5596
e44e373d
SM
55972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5598
4f91a816
SM
5599 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5600
782fc819
SM
5601 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5602 (bug#8710).
5603
e44e373d
SM
5604 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5605
381987c3
KM
56062011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5607
5608 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5609 customization variable and implement: If non-nil, auto-fill will
5610 be inhibited while on topic's header line.
5611
b776bc70
VB
56122011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5613
5614 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5615 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5616 always have a solution in grid size = 5 cases.
5617 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5618 (5x5-solver-output, 5x5-log-buffer): New vars.
5619 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5620 Make these variables buffer local to achieve 5x5 multi-session-ness.
5621 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5622 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5623 (5x5-solve-suggest): New funs.
5624 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5625 randomize a grid so that we ensure that there is always a solution.
5626 (5x5-make-random-grid): Allow other movement than flipping.
5627
7de88b6e
KR
56282011-05-23 Kevin Ryde <user42@zip.com.au>
5629
5630 * emacs-lisp/advice.el (ad-read-advised-function):
5631 Use `function-called-at-point' as the default default, if it has
5632 advice and passes PREDICATE.
5633
b1ef1257
SM
56342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5635
bbca48fe
SM
5636 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5637 byte-compile-lambda if it's actually a lambda.
5638
b1ef1257
SM
5639 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5640 Fix function quoting. Use backquote better.
5641
92a9cc65
YS
56422011-05-22 Yuanle Song <sylecn@gmail.com>
5643
5644 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5645 matching (Bug#8516).
5646
f0fb8059
JA
56472011-01-22 Jari Aalto <jari.aalto@cante.net>
5648
5649 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5650 different face (Bug#8178).
5651
d5b44c93
CY
56522011-05-22 Chong Yidong <cyd@stupidchicken.com>
5653
5654 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5655 defface (Bug#8144).
5656
79106a44
SM
56572011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5658
9c848d8a
SM
5659 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5660 funcall as well (bug#8712). Warn when performing those conversions.
5661 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5662
79106a44
SM
5663 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5664
88dfa756
GM
56652011-05-22 Glenn Morris <rgm@gnu.org>
5666
5667 * files.el (hack-local-variables-prop-line): Small simplifications.
5668 (hack-local-variables, hack-local-variables-prop-line):
5669 If MODE-ONLY, return the mode, rather than just `t'.
5670
b7cf2c79
SM
56712011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5674
3f1a8558
GM
56752011-05-21 Glenn Morris <rgm@gnu.org>
5676
7e4ccca3
GM
5677 * files.el (hack-local-variables-prop-line, hack-local-variables):
5678 If only interested in the mode, don't bother doing the other stuff.
5679
637d46ca
GM
5680 * image-mode.el (image-after-revert-hook):
5681 Redraw all frames on which the image is visible. (Bug#8567)
5682
973d955b
GM
5683 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5684
3f1a8558
GM
5685 * wid-edit.el (widget-checklist-match-inline):
5686 Fix 2011-04-19 change. (Bug#8649)
5687
96479927
SM
56882011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5689
1dcf791f
SM
5690 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5691 Also allow singlespace after single-letter capitals followed by a dot.
5692
96479927
SM
5693 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5694 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5695
35fd0881
N
56962011-05-20 Nix <nix@esperi.org.uk>
5697
5698 * files.el (basic-save-buffer-2):
5699 Fix handling of break-hardlink-on-save with non-existent files.
5700
82745640
DD
57012011-05-19 Deniz Dogan <deniz@dogan.se>
5702
5703 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5704 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5705
4a720484
GM
57062011-05-19 Glenn Morris <rgm@gnu.org>
5707
d1f21341
GM
5708 * progmodes/f90.el (f90-type-def-re):
5709 Handle "type, bind(c)". (Bug#8691)
5710
4a720484
GM
5711 * emacs-lisp/autoload.el (batch-update-autoloads):
5712 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5713
2fb0a219
MA
57142011-05-18 Michael Albinus <michael.albinus@gmx.de>
5715
5716 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5717 property for the correct connection in case of multihops.
5718
e565dd37
GM
57192011-05-18 Glenn Morris <rgm@gnu.org>
5720
c2571358 5721 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5722 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5723
e565dd37
GM
5724 Rationalize calendar handling of day and month abbrev-arrays.
5725 * calendar/calendar.el (calendar-customized-p): New function.
5726 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5727 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5728 Add :set function.
5729 (calendar-abbrev-length, calendar-day-abbrev-array)
5730 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5731 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5732 Elements may no longer be nil.
5733 (calendar-day-name, calendar-month-name):
5734 Update for changed nature of abbrev arrays.
5735 * calendar/diary-lib.el (diary-name-pattern):
5736 Update for changed nature of abbrev arrays.
5737 (diary-mark-entries-1): Update calendar-make-alist calls.
5738 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5739 * calendar/cal-html.el (cal-html-day-abbrev-array):
5740 Simply inherit from calendar-day-abbrev-array.
5741
1d99a745
SM
57422011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * progmodes/grep.el (grep-mode): Disable default
5745 compilation-directory-matcher setting (bug#8684).
5746
7c1d9aa0
MA
57472011-05-17 Michael Albinus <michael.albinus@gmx.de>
5748
5749 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5750 instead of "head" and "tail". There were problems with SunOS 5.9,
5751 and it performs better.
5752
3952e9d8
GM
57532011-05-17 Glenn Morris <rgm@gnu.org>
5754
2dd12e7f
GM
5755 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5756
e4157b9c
GM
5757 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5758 Replace obsolete function.
5759
8e249bbd
GM
5760 * shell.el (pcomplete-parse-arguments-function): Declare.
5761
3952e9d8
GM
5762 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5763 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5764 (appt-check): Doc fixes.
5765 (appt-disp-window-function, appt-delete-window-function):
5766 Remove needless special case in custom :type.
5767 (appt-display-count): Default to 0, not nil.
5768 (appt-check): Reset appt-display-count to 0, not nil.
5769
c71a0d48 57702011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5771
c71a0d48
GM
5772 * progmodes/python.el (python-font-lock-keywords):
5773 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5774
31d55be9
SM
57752011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5778
3bfacb2f
KR
57792011-05-16 Kevin Ryde <user42@zip.com.au>
5780
5781 * info-look.el (makefile-automake-mode): New setups, looking in
5782 automake manual, then makefile-mode.
5783 (makefile-mode): Remove automake manual, have it just in
5784 makefile-automake-mode since there's various things different or
5785 not relevant to plain make.
5786 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5787 believe a hypothetical automake-mode would go to makefile-mode,
5788 not the other way around.
5789
c8e83751
CY
57902011-05-15 Chong Yidong <cyd@stupidchicken.com>
5791
5e9e35cd
CY
5792 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5793 hunk-end tags (Bug#8672).
5794
c8e83751
CY
5795 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5796 vc-annotate-show-diff-revision-at-line (Bug#8671).
5797
50b23e5a
GM
57982011-05-14 Glenn Morris <rgm@gnu.org>
5799
7210a739
GM
5800 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5801 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5802 (change-log-font-lock-keywords): Also handle multiple author lines
5803 with leading tabs. (Bug#8644)
7210a739 5804
4691905a
GM
5805 * calendar/appt.el (appt-check): Rename some local variables.
5806 Some simplification/reordering.
5807
50b23e5a
GM
5808 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5809 (feedmail-sendmail-f-doesnt-sell-me-out)
5810 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5811 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5812 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5813 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5814 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5815 (feedmail-binmail-gnulinuxish-template):
5816 Rename from feedmail-binmail-linuxish-template.
5817 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5818 Use insert-buffer-substring.
5819
215cda7c
BC
58202011-05-14 Bill Carpenter <bill@carpenter.org>
5821
5822 * mail/feedmail.el (feedmail-patch-level): Increase.
5823 (feedmail-debug): New custom group.
5824 (feedmail-confirm-outgoing-timeout)
5825 (feedmail-sendmail-f-doesnt-sell-me-out)
5826 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5827 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5828 (feedmail-sender-line, feedmail-from-line)
5829 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5830 (feedmail-spray-this-address)
215cda7c
BC
5831 (feedmail-spray-address-fiddle-plex-list)
5832 (feedmail-queue-use-send-time-for-date)
5833 (feedmail-queue-use-send-time-for-message-id)
5834 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5835 (feedmail-buffer-eating-function):
5836 Doc fixes.
5837 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5838 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5839 (feedmail-message-action-scroll-down): New functions.
5840 (feedmail-queue-directory, feedmail-queue-draft-directory):
5841 Use expand-file-name.
5842 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5843 Remove C-v help entry.
5844 (feedmail-queue-buffer-file-name): New variable.
5845 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5846 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5847 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5848 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5849 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5850 (feedmail-message-action-toggle-spray)
5851 (feedmail-run-the-queue-no-prompts)
5852 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5853 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5854 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5855 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5856 (feedmail-envelope-deducer, feedmail-fiddle-from)
5857 (feedmail-fiddle-sender, feedmail-default-date-generator)
5858 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5859 (feedmail-fiddle-spray-address)
5860 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5861 (feedmail-fiddle-list-of-fiddle-plexes)
5862 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5863 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5864 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5865 Change default. Doc fix.
5866 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5867 (feedmail-binmail-linuxish-template): New constant.
5868 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5869 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5870 (feedmail-send-it): Add debug call.
5871 Use feedmail-queue-buffer-file-name, and
5872 feedmail-send-it-immediately-wrapper.
5873 (feedmail-message-action-send): Add debug call.
5874 Use feedmail-send-it-immediately-wrapper.
5875 (feedmail-queue-express-to-queue): Add debug call.
5876 Run feedmail-queue-express-hook.
5877 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5878 (feedmail-message-action-help-blat):
5879 Rename from feedmail-queue-send-edit-prompt-help-first.
5880 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5881 Check line-endings. Handle errors better.
5882 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5883 Doc fix. Add debug call.
5884 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5885 Use feedmail-queue-send-edit-prompt-inner.
5886 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5887 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5888 from feedmail-queue-send-edit-prompt.
5889 (feedmail-queue-send-edit-prompt-help)
5890 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5891 (feedmail-tidy-up-slug): Add debug call.
5892 Respect feedmail-queue-slug-suspect-regexp.
5893 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5894 (feedmail-dump-message-to-queue): Add debug call.
5895 Expand queue-directory.
5896 (feedmail-dump-message-to-queue): Change message slightly.
5897 Use feedmail-say-chatter.
5898 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5899 (feedmail-send-it-immediately-wrapper): New function.
5900 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5901 Insert empty string rather than newline. Handle full-frame case.
5902 Use catch/throw. Use feedmail-say-chatter.
5903 (feedmail-fiddle-from): Try mail-host-address.
5904 (feedmail-default-message-id-generator): Doc fix.
5905 Bind system-time-locale. Handle missing end.
5906 (feedmail-fiddle-x-mailer): Add debug call.
5907 Handle feedmail-x-mailer-line being nil.
5908 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5909 Add debug call. Use buffer-substring-no-properties.
5910 (feedmail-say-debug, feedmail-say-chatter): New functions.
5911 (feedmail-find-eoh): Give an explicit error.
5912
42c7e61e
UJ
59132011-05-13 Ulf Jasper <ulf.jasper@web.de>
5914
c2571358 5915 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5916 family from helvetica to sans.
c2571358 5917 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5918 etc/images/newsticker.
5919
c2571358 5920 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5921 family from helvetica to sans.
5922
5923 * net/newst-plainview.el (newsticker-new-item-face)
5924 (newsticker-old-item-face, newsticker-immortal-item-face)
5925 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5926 (newsticker-statistics-face): Change default family from
42c7e61e 5927 helvetica to sans.
c2571358 5928 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5929 etc/images/newsticker.
5930
5931 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5932 (newsticker--process-auto-mark-filter-match): : Tell user about
5933 auto-marking.
5934
8497a297
DV
59352011-05-13 Didier Verna <didier@xemacs.org>
5936
5937 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5938 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5939 TODO entries.
8497a297
DV
5940 (lisp-lambda-list-keyword-parameter-indentation)
5941 (lisp-lambda-list-keyword-parameter-alignment)
5942 (lisp-lambda-list-keyword-alignment): New customizable user options.
5943 (lisp-indent-defun-method): Improve docstring.
5944 (extended-loop-p): Fix comment.
5945 (lisp-indent-lambda-list-keywords-regexp): New variable.
5946 (lisp-indent-lambda-list): New function.
5947 (lisp-indent-259): Use it.
5948 (lisp-indent-defmethod): Support for more than one
5949 method qualifier and properly indent methods lambda-lists.
5950 (defgeneric): Provide a missing common-lisp-indent-function property.
5951
f278f87f
SM
59522011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5955 bounds for the empty string (bug#8667).
5956
5233edd7
GM
59572011-05-13 Glenn Morris <rgm@gnu.org>
5958
5237a44f
GM
5959 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5960
8340026c 5961 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5962 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5963
5233edd7 5964 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5965 (appt-time-msg-list): Doc fix.
a5464014 5966 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5967
92d10796
AS
59682011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5969
5970 * progmodes/ld-script.el (ld-script-keywords)
5971 (ld-script-builtins): Update keywords list.
5972
914a0ae1
SM
59732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5974
c89be45f
SM
5975 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5976
914a0ae1
SM
5977 * shell.el (shell-completion-vars): New function.
5978 (shell-mode):
5979 * simple.el (read-shell-command): Use it.
5980 (blink-matching-open): No need for " [...]" in minibuffer-message.
5981
98dc3df3
GM
59822011-05-12 Glenn Morris <rgm@gnu.org>
5983
5984 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5985 (appt-check): Simplify.
5986
d2fc7e3d 59872011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5988
4d61f28d 5989 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5990 literal "/dev/null".
5991
d2fc7e3d 59922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5993
5994 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5995 Fix typo.
5996
d2fc7e3d 59972011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5998
3f254caa
SM
5999 * progmodes/which-func.el (which-function):
6000 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6001 which might not be defined (Bug#8260).
6002
d45885f7
GM
60032011-05-12 Glenn Morris <rgm@gnu.org>
6004
6005 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6006 Let byte-compile-initial-macro-environment always take precedence.
6007
488086f4
SM
60082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * net/rcirc.el: Add support for SSL/TLS connections.
6011 (rcirc-server-alist): New field `encryption'.
6012 (rcirc): Check `encryption' settings.
6013 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6014 Merge make-local-variable into `set'.
6015 (rcirc--connection-open-p): New function.
6016 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6017 the process is not a network process (e.g. running gnutls-cli).
6018 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6019 Make rcirc-(en|de)code-coding-system local here.
6020 (rcirc-mode): Merge make-local-variable into `set'.
6021 (rcirc-parent-buffer): Make permanent buffer-local.
6022 (rcirc-multiline-minor-mode): Don't do it here.
6023 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6024 there's no server buffer.
6025
7d3b9d44
GM
60262011-05-11 Glenn Morris <rgm@gnu.org>
6027
f64049c6
GM
6028 * newcomment.el (comment-kill): Prefix "unused" local.
6029
93c9df73
GM
6030 * term/w32console.el (get-screen-color): Declare.
6031
7d3b9d44
GM
6032 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6033 Handle symbol elements of byte-compile-initial-macro-environment.
6034
9e2dd53f
LL
60352011-05-10 Leo Liu <sdl.web@gmail.com>
6036
488086f4
SM
6037 * bookmark.el (bookmark-bmenu-mode-map):
6038 Bind bookmark-bmenu-search to `/'.
8b340240 6039
9e2dd53f 6040 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6041 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6042 (Footnote-unicode): New function.
6043 (footnote-style-alist): Add unicode style to the list.
6044 (footnote-style): Doc fix.
9e2dd53f 6045
79b70037
GM
60462011-05-10 Jim Meyering <meyering@redhat.com>
6047
6048 Fix doubled-word typos.
6049 * international/quail.el (quail-insert-kbd-layout): and and -> and
6050 * kermit.el: and and -> and
6051 * net/ldap.el (ldap-search-internal): to to -> to
6052 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6053 * progmodes/js.el (js-mode): and and -> and
6054 * textmodes/artist.el (artist-move-to-xy): at at -> at
6055 (artist-draw-region-trim-line-endings): if if -> if
6056 And Safetyc -> Safety.
6057 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6058
b8f82dc1 60592011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6060 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6061
6062 * files.el (hack-one-local-variable-eval-safep):
6063 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6064
4f99f44b
GM
60652011-05-10 Glenn Morris <rgm@gnu.org>
6066
6067 * calendar/diary-lib.el (diary-list-entries-hook)
6068 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6069 (diary-nongregorian-marking-hook, diary-list-entries)
6070 (diary-include-other-diary-files, diary-mark-entries)
6071 (diary-mark-included-diary-files): Doc fixes.
6072
84f29e6b
JB
60732011-05-09 Juanma Barranquero <lekktu@gmail.com>
6074
6075 * misc.el: Require tabulated-list.el during compilation.
6076
9bedd73a
CY
60772011-05-09 Chong Yidong <cyd@stupidchicken.com>
6078
488086f4
SM
6079 * progmodes/compile.el (compilation-start):
6080 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6081 (compilation-filter-hook): Doc fix.
6082
797c735c
DD
60832011-05-09 Deniz Dogan <deniz@dogan.se>
6084
6085 * wdired.el: Remove outdated installation comment. Fix usage
6086 comment.
6087
5f4b1dfe
JB
60882011-05-09 Juanma Barranquero <lekktu@gmail.com>
6089
6090 * misc.el: Implement new command `list-dynamic-libraries'.
6091 (list-dynamic-libraries--loaded-only-p): New variable.
6092 (list-dynamic-libraries--refresh): New function.
6093 (list-dynamic-libraries): New command.
6094
4c44026c
CY
60952011-05-09 Chong Yidong <cyd@stupidchicken.com>
6096
488086f4
SM
6097 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6098 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6099 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6100 higher priority to avoid clobbering by gnu.
6101
027f966d
CY
61022011-05-08 Chong Yidong <cyd@stupidchicken.com>
6103
6104 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6105 if the face has existing theme settings (Bug#8454).
6106
085f5d7d
CY
61072011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6108
488086f4
SM
6109 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6110 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6111
2a86a00c
RS
6112 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6113 special file names `.' and `..' (Bug#8259).
6114
d9c54a06
CY
61152011-05-08 Chong Yidong <cyd@stupidchicken.com>
6116
488086f4
SM
6117 * progmodes/grep.el (grep-mode-font-lock-keywords):
6118 Remove buffer-changing entries.
d9c54a06
CY
6119 (grep-filter): New function.
6120 (grep-mode): Add it to compilation-filter-hook.
6121
6122 * progmodes/compile.el (compilation-filter-hook)
6123 (compilation-filter-start): New defvars.
6124 (compilation-filter): Call compilation-filter-hook prior to
6125 updating the process mark.
6126
c4662635
SM
61272011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6130
b0512a1d
EZ
61312011-05-07 Eli Zaretskii <eliz@gnu.org>
6132
605c9376
EZ
6133 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6134 mailclient-send-it even if window-system is nil. (Bug#8595)
6135
c4662635
SM
6136 * term/w32console.el (terminal-init-w32console):
6137 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6138 background-mode. (Bug#8597)
6139
d1dc2cc2
SM
61402011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6143 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6144 New functions.
6145 (defgeneric, eieio--defmethod): Use them.
6146 (eieio-defgeneric): Remove.
6147 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6148
915d1300
GM
61492011-05-07 Glenn Morris <rgm@gnu.org>
6150
a3961c3e
GM
6151 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6152 Use let rather than let*.
6153 (timeclock-find-discrep): Remove unused local.
6154
314347b9
GM
6155 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6156
915d1300
GM
6157 * calendar/appt.el (appt-time-msg-list): Doc fix.
6158
275b59b0
NF
61592011-05-06 Noah Friedman <friedman@splode.com>
6160
6161 * apropos.el (apropos-print-doc): Only use
6162 emacs-lisp-docstring-fill-column when it is bound to an integer,
6163 per that variable's documentation.
6164
6c19f744
SM
61652011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6168 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6169
60f884b2
GM
61702011-05-06 Glenn Morris <rgm@gnu.org>
6171
5006e634
GM
6172 * calendar/appt.el (appt-message-warning-time): Doc fix.
6173 (appt-warning-time-regexp): New option.
6174 (appt-make-list): Respect appt-message-warning-time.
6175
548d0a63
GM
6176 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6177 New options.
6178 (diary-add-to-list): Strip comments from the displayed string.
6179 (diary-mode): Set comment-start and comment-end.
6180
60f884b2
GM
6181 * vc/diff-mode.el (smerge-refine-subst): Declare.
6182 (diff-refine-hunk): Don't require smerge-mode when compiling.
6183
989681bb
JB
61842011-05-06 Juanma Barranquero <lekktu@gmail.com>
6185
6186 * simple.el (list-processes): Return nil as the docstring says.
6187
a6bc05e1
MA
61882011-05-05 Michael Albinus <michael.albinus@gmx.de>
6189
6190 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6191 to "".
6192 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6193 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6194 determining of binary transfer. (Bug#7383)
6195
23c22e9a
MA
61962011-05-05 Michael Albinus <michael.albinus@gmx.de>
6197
c4662635
SM
6198 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6199 Fix port computation bug. (Bug#8618)
23c22e9a 6200
0bff894f
GM
62012011-05-05 Glenn Morris <rgm@gnu.org>
6202
b8296902
GM
6203 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6204
1f522ce8
GM
6205 * simple.el (shell-dynamic-complete-functions)
6206 (comint-dynamic-complete-functions): Declare.
6207
cf5bee67
GM
6208 * net/network-stream.el (gnutls-negotiate):
6209 * simple.el (tabulated-list-print): Fix declarations.
6210
6211 * progmodes/gud.el (syntax-symbol, syntax-point):
6212 Remove unnecessary and incorrect declarations.
6213
0bff894f
GM
6214 * emacs-lisp/check-declare.el (check-declare-scan):
6215 Handle byte-compile-initial-macro-environment in bytecomp.el
6216
9869b3ae
SM
62172011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 Fix earlier half-done eieio-defmethod change (bug#8338).
6220 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6221 Streamline and change calling convention.
6222 (defmethod): Adjust accordingly and simplify.
6223 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6224 new eieio--defmethod.
6225 (slot-boundp): Minor CSE simplification.
6226
9c1d5ac5
MZ
62272011-05-05 Milan Zamazal <pdm@zamazal.org>
6228
6229 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6230 (glasses-make-readable): Use glasses-separate-capital-groups.
6231
455c834e
JB
62322011-05-05 Juanma Barranquero <lekktu@gmail.com>
6233
6234 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6235 (warning-series): Doc fix.
6236 (display-warning): Don't try to create the buffer if we just found it.
6237
9ed7c8cb
CY
62382011-05-04 Chong Yidong <cyd@stupidchicken.com>
6239
6240 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6241 (autoload-find-generated-file): New function.
6242 (generate-file-autoloads): Bind generated-autoload-file to
6243 buffer-file-name.
9869b3ae
SM
6244 (update-file-autoloads, update-directory-autoloads):
6245 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6246 output file (Bug#7989).
6247 (batch-update-autoloads): Doc fix.
6248
0898ca10
JB
62492011-05-04 Juanma Barranquero <lekktu@gmail.com>
6250
6251 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6252
31dfb76c
GM
62532011-05-04 Glenn Morris <rgm@gnu.org>
6254
f330b642
GM
6255 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6256 function, so it follows changes in calendar-date-style.
6257 (diary-fancy-date-matcher): New function.
6258 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6259 (diary-fancy-font-lock-fontify-region-function):
6260 Use diary-fancy-date-pattern as a function.
6261
31dfb76c
GM
6262 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6263 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6264
48e79d6a
TZ
62652011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6266
6267 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6268 instead of positional arguments. Allow :keylist and :crlfiles
6269 arguments.
6270 (open-gnutls-stream): Call it.
6271
6272 * net/network-stream.el (network-stream-open-starttls): Adjust to
6273 call `gnutls-negotiate' with :process and :hostname arguments.
6274
dd5a5ee0
SM
62752011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6276
ef80fc09
SM
6277 * minibuffer.el (completion--message): New function.
6278 (completion--do-completion, minibuffer-complete)
6279 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6280 (completion--do-completion): Don't ignore completion-auto-help when in
6281 icomplete-mode.
6282
dd5a5ee0
SM
6283 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6284 internal encoding (e.g. tibetan zero is not whitespace).
6285 (global-whitespace-mode): Prefer save-current-buffer.
6286 (whitespace-trailing-regexp): Remove useless save-match-data.
6287 (whitespace-empty-at-bob-regexp): Minor simplification.
6288
b7d22a83
CY
62892011-05-03 Chong Yidong <cyd@stupidchicken.com>
6290
6291 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6292
5192af46
AM
62932011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6294
6295 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6296 Use `concat' to create string for insertion.
5192af46 6297
5767d190
SM
62982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6301 Avoid open-line which runs post-self-insert-hook.
6302 (bibtex-fill-entry): Remove unused `end' var.
6303
bf242939
AM
63042011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6305
5767d190
SM
6306 * textmodes/ispell.el (ispell-add-per-file-word-list):
6307 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6308
25666126
LL
63092011-05-03 Leo Liu <sdl.web@gmail.com>
6310
6311 * isearch.el (isearch-yank-pop): New command.
5767d190 6312 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6313 (isearch-forward): Mention it.
6314
52d3c2d0
SM
63152011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6316
1bcace58
SM
6317 * simple.el (minibuffer-complete-shell-command): Remove.
6318 (minibuffer-local-shell-command-map): Use completion-at-point.
6319 (read-shell-command): Setup completion vars here instead.
6320 (read-expression-map): Bind TAB to symbol completion.
6321
52d3c2d0
SM
6322 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6323 error directly rather via storing it into `results'.
6324
35813471
LL
63252011-05-02 Leo Liu <sdl.web@gmail.com>
6326
6327 * vc/diff.el: Fix description.
6328
e793a940
LMI
63292011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6330
6331 * server.el (server-eval-at): New function.
6332
8de66e05
LMI
63332011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6334
6335 * net/network-stream.el (open-network-stream): Take a :nowait
6336 parameter and pass it on to `make-network-process'.
6337 (network-stream-open-plain): Ditto.
6338
dcb79f20
AS
63392011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6340
6341 * faces.el (face-spec-set-match-display): Don't match toolkit
6342 options on terminal frames.
6343
14a7fbd8
SM
63442011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6345
7eabc1be
SM
6346 * progmodes/pascal.el: Use lexical binding.
6347 (pascal-mode-map): Remove author preferences.
6348
14a7fbd8
SM
6349 * pcomplete.el (pcomplete-std-complete): Don't abuse
6350 completion-at-point.
6351
50f84510
JB
63522011-04-28 Juanma Barranquero <lekktu@gmail.com>
6353
6e087a44
JB
6354 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6355 removing code that has been dead since 1991 or so.
6356
50f84510
JB
6357 * startup.el (command-line): When warning about "_emacs", use a
6358 delayed warning to allow the user to filter it out.
6359
0ba690bd
DD
63602011-04-28 Deniz Dogan <deniz@dogan.se>
6361
6362 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6363 user has not joined.
6364
08abfaad
SM
63652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6368 aren't any completions at point.
6369
638f053a
JB
63702011-04-28 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * subr.el (display-delayed-warnings): New function.
6373 (delayed-warnings-hook): New variable.
6374
8fff8daa
SM
63752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6376
08abfaad
SM
6377 * minibuffer.el (completion-at-point, completion-help-at-point):
6378 Don't presume that a given completion-at-point-function will always
6379 use the same calling convention.
6380
8fff8daa
SM
6381 * pcomplete.el (pcomplete-completions-at-point):
6382 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6383 pcomplete-seen is non-nil.
6384 (pcomplete-comint-setup): Also recognize the new comint/shell
6385 completion functions.
6386 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6387 pcomplete-seen is non-nil.
6388
841a1577 63892011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6390
841a1577 6391 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6392 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6393 the first character in the entry. This allows for code to add its
211ec907
UJ
6394 own uid to the entry.
6395 (icalendar--convert-float-to-ical): Add export of
6396 `diary-float'-entries save for those with the optional DAY
6397 argument.
6398
2a782793
DC
63992011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6400
6401 * subr.el (shell-quote-argument): Use alternate escaping strategy
6402 when we spot a variable reference in a string.
6403
0438ce91
DC
64042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6405
6406 * cus-start.el (all): Define customization for debug-on-event.
6407
841a1577 64082011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6409
6410 * subr.el (shell-quote-argument): Escape correctly under Windows.
6411
d090ed6c
SM
64122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6415
bfd31217
MA
64162011-04-25 Michael Albinus <michael.albinus@gmx.de>
6417
d090ed6c
SM
6418 * net/tramp.el (tramp-process-actions): Add POS argument.
6419 Delete region between POS and (pos).
bfd31217 6420
d090ed6c
SM
6421 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6422 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6423 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6424
6425 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6426 position in `tramp-process-actions' call.
6427
6428 * net/trampver.el: Update release number.
6429
e92f3bd3
SM
64302011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6431
850256b5
SM
6432 * custom.el (defcustom): Obey lexical-binding.
6433
e92f3bd3
SM
6434 Fix octave-inf completion problems reported by Alexander Klimov.
6435 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6436 Inherit from octave-mode-syntax-table.
6437 (inferior-octave-mode): Set info-lookup-mode.
6438 (inferior-octave-completion-at-point): New function.
6439 (inferior-octave-complete): Use it and completion-in-region.
6440 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6441 comint-filename-completion.
6442 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6443 symbol elements which shouldn't be word elements.
6444 (octave-font-lock-keywords, octave-beginning-of-defun)
6445 (octave-function-header-regexp): Adjust regexps accordingly.
6446 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6447
cd22b309
JB
64482011-04-25 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * net/gnutls.el (gnutls-errorp): Declare before first use.
6451
8b492194
TZ
64522011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6453
6454 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6455 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6456 default trustfile exists before going to use it. Add missing
6457 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6458 Reported by Claudio Bley <claudio.bley@gmail.com>.
6459 (open-gnutls-stream): Add usage example.
6460
6461 * net/network-stream.el (network-stream-open-starttls): Give host
6462 parameter to `gnutls-negotiate'.
6463 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6464 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6465
841a1577 64662011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6467
cd22b309
JB
6468 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6469 Use correct match group (bug#8438).
05842630 6470
3ba7869c
CY
64712011-04-24 Chong Yidong <cyd@stupidchicken.com>
6472
512e3ae1
CY
6473 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6474 (package-menu--generate): New arg specifying packages to show.
6475 (package-menu-refresh, package-menu-execute, list-packages):
6476 Callers changed.
6477 (package-show-package-list): New function, replacing deleted
6478 package--list-packages (renamed because it is non-internal).
6479
6480 * finder.el (finder-list-matches): Use package-show-package-list
6481 instead of deleted package--list-packages.
6482
e92f3bd3
SM
6483 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6484 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6485 (vc-annotate-mode-map): Bind it to RET.
6486
7031be6d
UR
64872011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6488
6489 * progmodes/etags.el (next-file): Don't use set-buffer to change
6490 buffers (Bug#8478).
6491
4ef177aa
CY
64922011-04-24 Chong Yidong <cyd@stupidchicken.com>
6493
c8d173eb
CY
6494 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6495
4ef177aa
CY
6496 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6497 (apropos-accumulator): Doc fix.
6498 (apropos-function, apropos-macro, apropos-command)
6499 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6500 (apropos-plist): Add face property.
6501 (apropos-symbols-internal): Fix indentation.
6502 (apropos-print): Simplify help, and recognize apropos-multi-type.
6503 (apropos-print-doc): Use button-type-get to extract the button's
6504 face property. Fill docstring (Bug#8352).
6505
4ffd0d6b 65062011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6507
6508 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6509
c6c32125 6510 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6511 (mpuz-mode-map): Use mapc.
c6c32125
JB
6512 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6513 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6514 Fix typos in docstrings.
6515
58d468b4
JB
6516 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6517 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6518
6470c3c6
JB
6519 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6520
4ffd0d6b 65212011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6522
6523 * minibuffer.el (completion--do-completion): Avoid the "Next char
6524 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6525
3ad8bad0
CY
6526 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6527 mouse-2 into unread-command-events, it is interpreted correctly.
6528
71d73c9c 6529 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6530 (image-toggle-display): Doc fix.
71d73c9c 6531
841a1577 65322011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6533
4ffd0d6b
GM
6534 * textmodes/page.el (what-page): Use line-number-at-pos to
6535 calculate line number (Bug#6825).
6e1dbaa9 6536
c2fb1b60
JB
65372011-04-22 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6540 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6541 Pass argument NO-DEFAULT to `find-tag-interactive'.
6542
e02f48d7
JB
65432011-04-22 Juanma Barranquero <lekktu@gmail.com>
6544
6545 Lexical-binding cleanup.
6546
6547 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6548 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6549 * progmodes/ada-prj.el (ada-prj-initialize-values)
6550 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6551 (ada-prj-show-value):
6552 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6553 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6554 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6555 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6556 * progmodes/bug-reference.el (bug-reference-push-button):
6557 * progmodes/fortran.el (fortran-line-length):
6558 * progmodes/glasses.el (glasses-change):
6559 * progmodes/octave-mod.el (octave-fill-paragraph):
6560 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6561 (python-pdbtrack-grub-for-buffer, python-sentinel):
6562 * progmodes/sql.el (sql-save-connection):
6563 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6564 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6565 Mark unused parameters.
6566
6567 * progmodes/compile.el (compilation--flush-directory-cache)
6568 (compilation--flush-parse, compile-internal): Mark unused parameters.
6569 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6570 (compilation-next-error-function): Remove unused variable `timestamp'.
6571
6572 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6573 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6574
6575 * progmodes/dcl-mode.el (dcl-end-of-command):
6576 Remove unused variable `start'.
6577 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6578 (dcl-option-value-basic, dcl-option-value-offset)
6579 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6580 Mark unused parameters.
6581 (dcl-save-local-variable): Remove unused variable `val'.
6582 (mode): Declare.
6583
6584 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6585 Mark unused parameters.
6586 (delphi-ignore-changes): Move before first use.
6587 (delphi-charset-token-at): Remove unused variable `start'.
6588 (delphi-else-start): Remove unused variable `if-count'.
6589 (delphi-comment-block-start, delphi-comment-block-end):
6590 Remove unused variable `kind'.
6591 (delphi-indent-line): Remove unused variable `new-point'.
6592
6593 * progmodes/ebrowse.el (ebrowse-files-list)
6594 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6595 Mark unused parameters. Don't quote `lambda'.
6596 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6597 Don't quote `lambda'.
6598 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6599 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6600 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6601 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6602 Use `ignore-errors'.
6603 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6604 (ebrowse-view/find-file-and-search-pattern)
6605 (ebrowse-view/find-member-declaration/definition):
6606 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6607 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6608 Rename parameter PREFIX-ARG to PREFIX.
6609 (ebrowse-tags-read-name): Remove unused variables `start' and
6610 `member-info'.
6611 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6612 to `tags-file'.
6613
6614 * progmodes/etags.el (local-find-tag-hook): Declare.
6615 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6616 Mark unused parameters.
6617
6618 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6619 (executable-interpret): Mark unused parameter.
6620
6621 * progmodes/flymake.el (flymake-process-sentinel)
6622 (flymake-after-change-function)
6623 (flymake-create-temp-with-folder-structure)
6624 (flymake-get-include-dirs-dot): Mark unused parameters.
6625 (flymake-safe-delete-directory): Remove unused variable `err'.
6626
6627 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6628 (speedbar-timer-fn, speedbar-line-text)
6629 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6630 (speedbar-center-buffer-smartly): Declare functions.
6631 (gdb-find-watch-expression): Remove unused variable `array'.
6632 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6633 (gdb-starting): Mark unused parameters.
6634 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6635 (gdb-table-string): Remove unused variable `res'.
6636 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6637 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6638 (gdb-display-buffer): Remove unused variable `cur-size'.
6639
6640 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6641 allow lexical-binding compilation.
6642 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6643 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6644 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6645 Mark unused parameters.
6646 (gud-gdb-marker-filter): Remove unused variable `match'.
6647 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6648 lambda expressions and funcall them, instead of using `fset'.
6649
6650 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6651 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6652
6653 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6654 variable `header-beg'; use `let'.
6655
6656 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6657 `restart', `last-sexp' and `at-do'.
6658
6659 * progmodes/js.el (js--debug): Mark unused parameter.
6660 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6661 (js--splice-into-items): Remove unused variable `item'.
6662 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6663
6664 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6665 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6666 (makefile-complete): Remove unused variable `try'.
6667 (makefile-fill-paragraph, makefile-match-function-end):
6668 Mark unused parameters.
6669
6670 * progmodes/octave-inf.el (inferior-octave-complete):
6671 Remove unused variable `proc'.
6672 (inferior-octave-output-digest): Mark unused parameter.
6673
6674 * progmodes/perl-mode.el (perl-calculate-indent):
6675 Remove unused variable `err'.
6676
6677 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6678 (prolog-indent-line): Mark unused parameters.
6679 (prolog-indent-line): Remove unused variable `beg'.
6680
6681 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6682 (reporter-dont-compact-list): Declare.
6683
6684 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6685 Remove unused variable `char'.
6686 (sh-debug): Mark unused parameter.
6687 (sh-get-indent-info): Remove unused variable `start'.
6688 (sh-calculate-indent): Remove unused variable `var'.
6689
6690 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6691 (simula-electric-keyword): Remove unused variable `null'.
6692 (simula-search-backward, simula-search-forward): Remove unused
6693 variables `begin' and `end'.
6694
6695 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6696 Remove unused variable `pos'.
6697 (vera-electric-tab, vera-comment-uncomment-region):
6698 Mark unused parameters.
6699 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6700
7ede3b65
CY
67012011-04-22 Chong Yidong <cyd@stupidchicken.com>
6702
6703 * emacs-lisp/package.el (package--builtins, package-alist)
6704 (package-load-descriptor, package-built-in-p, package-activate)
6705 (define-package, package-installed-p)
6706 (package-compute-transaction, package-buffer-info)
6707 (package--push): Doc fix. Distinguish more clearly between
6708 version strings and version lists.
6709
121656e9
JB
67102011-04-21 Juanma Barranquero <lekktu@gmail.com>
6711
6712 Lexical-binding cleanup.
6713
6714 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6715 (5x5-make-mutate-best):
6716 * play/fortune.el (fortune-in-buffer):
6717 * play/gomoku.el (gomoku-init-display):
6718 * play/solitaire.el (solitaire, solitaire-do-check):
6719 * play/tetris.el (tetris-default-update-speed-function):
6720 Mark unused parameters.
6721
6722 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6723 (bubbles--shift): Remove unused variable `char-org'.
6724 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6725 (bubbles--show-images): Remove unused variable `char'.
6726
6727 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6728 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6729 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6730 (decipher-analyze-buffer): Use ?\s.
6731 (decipher-make-checkpoint): Remove unused variable `mapping'.
6732
6733 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6734
6735 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6736 Remove unused variable `result'; use `let'.
6737
6738 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6739 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6740 (gametree-children-shown-p, gametree-compute-reduced-score):
6741 Use `ignore-errors'.
6742
6743 * play/handwrite.el (ps-lpr-switches): Declare.
6744 (handwrite): Remove unused variables `pmin' and `lastp'.
6745
6746 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6747
6748 * play/landmark.el (landmark-init-display)
6749 (landmark-update-naught-weights): Mark unused parameters.
6750 (landmark-y): Remove unused variable `noise'. Simplify.
6751 (landmark-human-plays): Remove unused variable `score'.
6752
6753 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6754 (mpuz-try-proposal): Remove unused variable `game'.
6755
6756 * play/zone.el (life-patterns): Declare.
6757
80f499c7
JB
67582011-04-20 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * vc/vc.el (ediff-vc-internal): Declare function.
6761
024ff170
SM
67622011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6763
c0a193ea
SM
6764 * shell.el: Use lexical-binding and std completion UI.
6765 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6766 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6767 comint-preoutput-filter-functions rather than on
6768 comint-output-filter-functions.
6769 (shell-command-completion, shell--command-completion-data)
6770 (shell-filename-completion, shell-environment-variable-completion)
6771 (shell-c-a-p-replace-by-expanded-directory): New functions.
6772 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6773 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6774 (shell-dynamic-complete-environment-variable): Use them.
6775 (shell-dynamic-complete-as-environment-variable)
6776 (shell-dynamic-complete-as-command): Remove.
6777 (shell-match-partial-variable): Match past point.
6778 * comint.el: Clean up use of completion-at-point-functions.
6779 (comint-completion-at-point): New function.
6780 (comint-mode): Use it completion-at-point-functions.
6781 (comint-dynamic-complete): Make it obsolete.
6782 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6783 (comint-c-a-p-replace-by-expanded-history): New function.
6784 (comint-dynamic-complete-functions)
6785 (comint-replace-by-expanded-history): Use it.
6786 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6787 termination strings. Try harder to avoid second try-completion.
6788 (completion-in-region-mode-map): Disable bindings that don't work yet.
6789
2dbaa080
SM
6790 * comint.el: Use lexical-binding. Require CL.
6791 (comint-dynamic-complete-functions): Use comint-filename-completion.
6792 (comint-completion-addsuffix): Tweak custom type.
6793 (comint-filename-completion, comint--common-suffix)
6794 (comint--common-quoted-suffix, comint--table-subvert)
6795 (comint--complete-file-name-data): New functions.
6796 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6797 (comint-dynamic-list-filename-completions): Use them.
6798 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6799
2dbaa080
SM
6800 * minibuffer.el (completion-in-region-mode):
6801 Keep completion-in-region-mode--predicate global.
6802 (completion-in-region--postch):
6803 Assume completion-in-region-mode--predicate is not null.
6804
c79a6f38
SM
6805 * progmodes/flymake.el (flymake-start-syntax-check-process):
6806 Obey `dir'. Simplify.
6807
024ff170
SM
6808 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6809 we're in VC after all.
6810
1c6c854e
CS
68112011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6812
6813 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6814 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6815 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6816
bed7f140
SM
68172011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6818
332e62ab
SM
6819 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6820 add sanity check.
6821
bed7f140
SM
6822 * obsolete/erc-hecomplete.el: Make obsolete.
6823 * obsolete/: Standardize obsolescence info in the header.
6824
f195c582
GM
68252011-04-20 Glenn Morris <rgm@gnu.org>
6826
6827 * calendar/solar.el (solar-horizontal-coordinates):
6828 Use the longitude argument rather than `calendar-longitude'.
6829 (solar-date-next-longitude): Remove unused locals.
6830
cb79b8c0
VJL
68312011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6832
6833 * whitespace.el: New version 13.2.1.
6834
68352011-04-20 felix <EmacsWiki> (tiny change)
6836
d8e4b68b 6837 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6838 switching between major modes on a file.
6839
602ea69d
SM
68402011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6843 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6844 multi-line comments as well.
6845
06b60517
JB
68462011-04-19 Juanma Barranquero <lekktu@gmail.com>
6847
6848 Lexical-binding cleanup.
6849
6850 * arc-mode.el (archive-mode-revert):
6851 * cmuscheme.el (scheme-interactively-start-process):
6852 * custom.el (custom-initialize-delay):
6853 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6854 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6855 * emacs-lock.el (emacs-lock-clear-sentinel):
6856 * ezimage.el (defezimage):
6857 * follow.el (follow-avoid-tail-recenter):
6858 * fringe.el (set-fringe-mode-1):
6859 * generic-x.el (bat-generic-mode-compile):
6860 * help-mode.el (help-info-variable, help-do-xref)
6861 (help-mode-revert-buffer):
6862 * help.el (view-emacs-todo):
6863 * iswitchb.el (iswitchb-completion-help):
6864 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6865 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6866 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6867 * locate.el (locate-update):
6868 * longlines.el (longlines-encode-region)
6869 (longlines-after-change-function):
6870 * outline.el (outline-isearch-open-invisible):
6871 * ps-def.el (declare-function, charset-dimension, char-width)
6872 (encode-char):
6873 * ps-mule.el (ps-mule-plot-string):
6874 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6875 (recentf-edit-list-select, recentf-edit-list-validate)
6876 (recentf-open-files-action):
6877 * rect.el (delete-whitespace-rectangle-line)
6878 (rectangle-number-line-callback):
6879 * register.el (window-configuration-to-register)
6880 (frame-configuration-to-register):
6881 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6882 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6883 (xselect-convert-to-targets, xselect-convert-to-delete)
6884 (xselect-convert-to-filename, xselect-convert-to-charpos)
6885 (xselect-convert-to-lineno, xselect-convert-to-colno)
6886 (xselect-convert-to-os, xselect-convert-to-host)
6887 (xselect-convert-to-user, xselect-convert-to-class)
6888 (xselect-convert-to-name, xselect-convert-to-integer)
6889 (xselect-convert-to-atom, xselect-convert-to-identity):
6890 * subr.el (declare, ignore, process-kill-without-query)
6891 (text-clone-maintain):
6892 * terminal.el (te-get-char, te-tic-sentinel):
6893 * tool-bar.el (tool-bar-make-keymap):
6894 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6895 * type-break.el (type-break-mode, type-break-noninteractive-query):
6896 * view.el (View-back-to-mark):
6897 * wid-browse.el (widget-browse-action, widget-browse-widget)
6898 (widget-browse-widgets, widget-browse-sexp):
6899 * widget.el (define-widget-keywords):
6900 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6901 Mark unused parameters.
6902
6903 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6904 (align-areas): Remove unused variable `look'.
6905 (align-region): Remove unused variables `real-end' and `pos-list'.
6906
6907 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6908
6909 * bindings.el (mode-line-modified, mode-line-remote):
6910 Mark unused parameters.
6911 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6912
6913 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6914 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6915
6916 * comint.el (comint-history-isearch-pop-state)
6917 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6918 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6919 (comint-substitute-in-file-name): Doc fix.
6920
6921 * completion.el (cmpl-statistics-block): Mark unused parameter.
6922 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6923 (save-completions-to-file, load-completions-from-file):
6924 Remove unused local variable `e'.
6925
6926 * composite.el (compose-chars): Remove unused variable `len'.
6927 (lgstring-insert-glyph): Remove unused variable `g'.
6928 (compose-glyph-string): Remove unused variables `ascent',
6929 `descent', `lbearing' and `rbearing'.
6930 (compose-glyph-string-relative): Remove unused variables
6931 `lbearing', `rbearing' and `wadjust'.
6932 (compose-gstring-for-graphic): Remove unused variables `header',
6933 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6934 (compose-gstring-for-terminal): Remove unused variables `header'
6935 and `nchars'. Use `let', not `let*'.
6936
6937 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6938 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6939 (Custom-buffer-done, custom-buffer-create-internal)
6940 (custom-browse-visibility-action, custom-browse-group-tag-action)
6941 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6942 (widget-magic-mouse-down-action, custom-toggle-parent)
6943 (custom-add-parent-links, custom-toggle-hide-variable)
6944 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6945 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6946 (custom-face-menu-create, custom-variable-menu-create, get)
6947 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6948 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6949 (customize-apropos): Remove unused variable `tests'.
6950 (custom-group-value-create): Remove unused variable `hidden-p'.
6951 (sort-fold-case): Declare.
6952
6953 * cus-theme.el (custom-reset-standard-faces-list)
6954 (custom-reset-standard-variables-list): Declare.
6955 (customize-create-theme, custom-theme-revert, custom-theme-write)
6956 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6957 Mark unused parameters.
6958
6959 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6960
6961 * delim-col.el (delimit-columns-max): Move defvar before first use.
6962
6963 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6964 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6965
6966 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6967 (auto-insert): Declare.
6968 (desktop-restore-file-buffer): Rename desktop-* parameters;
6969 mark unused ones.
6970 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6971 (desktop-buffer): Rename desktop-* parameters.
6972
6973 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6974 (dframe-reposition-frame-xemacs, dframe-help-echo)
6975 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6976 Mark unused parameters.
6977
6978 * dired-aux.el (backup-extract-version-start, overwrite-query)
6979 (overwrite-backup-query, rename-regexp-query)
6980 (rename-non-directory-query): Declare.
6981 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6982 (dired-add-entry): Remove unused variable `orig-file-name'.
6983 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6984 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6985 `dired-copy-preserve-time' directly.
6986 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6987 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6988
6989 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6990 (dired-virtual-revert, dired-make-relative-symlink):
6991 Mark unused parameters.
6992 (manual-program): Declare.
6993 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6994 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6995 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6996
6997 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6998
6999 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7000
7001 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7002 Declare.
7003
7004 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7005
7006 * electric.el (Electric-command-loop): Rename parameter
7007 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7008
7009 * expand.el (expand-in-literal): Remove unused variable `here'.
7010
7011 * facemenu.el (facemenu-add-new-color):
7012 Remove unused variable `docstring'.
7013
7014 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7015 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7016 (face-attr-construct): Mark unused parameter. Doc fix.
7017 (read-color): Remove unused variable `hex-string'.
7018
7019 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7020 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7021 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7022 (display-buffer-other-frame): Remove unused variable `old-window'.
7023 (kill-buffer-hook): Declare.
7024 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7025 Mark unused parameters.
7026 (after-find-file): Pass 1 to `auto-save-mode', not t.
7027
7028 * files-x.el (auto-insert): Declare.
7029 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7030
7031 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7032 variable `buf'. Mark unused parameter.
06b60517
JB
7033 (find-lisp-insert-directory): Mark unused parameter.
7034
7035 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7036 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7037 (format-common-tail): Remove, unused.
7038 (format-deannotate-region): Remove unused variable `loc'.
7039 (format-annotate-region): Remove unused variable `p'.
7040 (format-annotate-single-property-change): Remove unused variables
7041 `default' and `tail'.
7042
7043 * forms.el (read-file-filter): Declare.
7044 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7045
7046 * frame.el (frame-creation-function-alist): Mark unused parameter.
7047 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7048
7049 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7050 Remove unused parameters.
7051 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7052 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7053
7054 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7055 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7056 (hfy-prepare-tag-map): Mark unused parameters.
7057 (htmlfontify-buffer): Use `called-interactively-p'.
7058
7059 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7060 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7061 (ibuffer-do-occur): Mark unused parameters.
7062 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7063 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7064
7065 * ibuffer.el: Don't quote `lambda'.
7066 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7067 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7068 Mark unused parameters.
7069
7070 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7071 (ido-completing-read): Mark unused parameters.
7072 (ido-copy-current-word): Mark unused parameters;
7073 remove unused variable `name'.
7074 (ido-sort-merged-list): Remove unused parameter `dirs'.
7075
7076 * ielm.el (ielm-input-sender): Mark unused parameter.
7077 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7078 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7079 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7080 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7081 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7082
7083 * image-dired.el (image-dired-display-thumbs): Remove unused
7084 variables `curr-file' and `count'.
7085 (image-dired-remove-tag): Remove unused variable `start'.
7086 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7087 variable `curr-file'
7088 (image-dired-rotate-original): Remove unused variable `temp-file'.
7089 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7090 Remove unused variable `file'.
7091 (image-dired-gallery-generate): Remove unused variable `curr'.
7092 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7093
7094 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7095
7096 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7097
7098 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7099
7100 * isearch.el (minibuffer-history-symbol): Declare.
7101 (isearch-edit-string): Remove unused variable `err'.
7102 (isearch-message-prefix, isearch-message-suffix):
7103 Mark unused parameters.
7104
7105 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7106
7107 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7108
7109 * makesum.el (double-column): Remove unused variable `cnt'.
7110
7111 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7112 (ido-ignore-item-temp-list): Declare.
7113
7114 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7115 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7116 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7117 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7118 `mouse-col-delta'.
7119
7120 * mouse-sel.el (mouse-extend-internal):
7121 Remove unused variable `orig-window-frame'.
7122
7123 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7124 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7125 Move declarations before first use.
7126 (pcomplete-opt): Mark unused parameters; doc fix.
7127
7128 * proced.el (proced-revert): Mark unused parameter.
7129 (proced-send-signal): Remove unused variable `err'.
7130
7131 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7132 Rename parameter PREFIX-ARG to ARG.
7133 (ps-basic-plot-string, ps-basic-plot-whitespace):
7134 Mark unused parameters.
7135
7136 * replace.el (replace-count): Define.
7137 (occur-revert-function): Mark unused parameters.
7138 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7139 (isearch-case-fold-search, isearch-string): Declare.
7140 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7141 bind `case-fold-search'. Remove unused variables `beg' and `end',
7142 and simplify.
7143 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7144 COUNT and bind `replace-count'.
7145 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7146 to COUNT.
7147
7148 * savehist.el (print-readably, print-string-length): Declare.
7149
7150 * shadowfile.el (shadow-expand-cluster-in-file-name):
7151 Remove unused variable `cluster'.
7152 (shadow-copy-file): Remove unused variable `i'.
7153 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7154 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7155 (shadow-define-literal-group, shadow-define-regexp-group)
7156 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7157
7158 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7159 (shell): Use `called-interactively-p'.
7160 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7161
7162 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7163 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7164 (delete-backward-char): Remove unused variable `ocol'.
7165 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7166 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7167 (event-apply-hyper-modifier, event-apply-shift-modifier)
7168 (event-apply-control-modifier, event-apply-meta-modifier):
7169 Mark unused parameters.
7170 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7171 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7172
7173 * speedbar.el (speedbar-ignored-directory-expressions)
7174 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7175 (speedbar-find-file, speedbar-dir-follow)
7176 (speedbar-directory-buttons-follow, speedbar-tag-find)
7177 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7178 (speedbar-buffers-line-directory, speedbar-buffer-click):
7179 Mark unused parameters.
7180 (speedbar-tag-file): Remove unused variable `mode'.
7181 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7182
7183 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7184
7185 * talk.el (talk): Remove unused variable `display'.
7186
7187 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7188 (tar-write-region-annotate): Mark unused parameter.
7189
7190 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7191 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7192 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7193 warning by another.
7194
7195 * time-stamp.el (time-stamp-string-preprocess):
7196 Remove unused variable `require-padding'.
7197
7198 * tree-widget.el (widget-glyph-enable): Declare.
7199 (tree-widget-action): Mark unused parameter.
7200
7201 * w32-fns.el (x-get-selection): Mark unused parameter.
7202 (autoload-make-program, generated-autoload-file): Declare.
7203
7204 * wdired.el (wdired-revert): Mark unused parameters.
7205 (wdired-xcase-word): Remove unused variable `err'.
7206
7207 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7208 (whitespace-help-scroll): Remove unused variable `data-help'.
7209
7210 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7211 (widget-image-insert, widget-after-change, default)
7212 (widget-default-format-handler, widget-default-notify)
7213 (widget-default-prompt-value, widget-info-link-action)
7214 (widget-url-link-action, widget-function-link-action)
7215 (widget-variable-link-action, widget-file-link-action)
7216 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7217 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7218 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7219 (widget-insert-button-action, widget-delete-button-action, visibility)
7220 (widget-documentation-link-action, widget-documentation-string-action)
7221 (widget-const-prompt-value, widget-regexp-match, symbol)
7222 (widget-coding-system-prompt-value)
7223 (widget-key-sequence-value-to-external, sexp)
7224 (widget-sexp-value-to-internal, character, vector, cons)
7225 (widget-choice-prompt-value, widget-boolean-prompt-value)
7226 (widget-color--choose-action): Mark unused parameters.
7227 (widget-item-match-inline, widget-choice-match-inline)
7228 (widget-checklist-match, widget-checklist-match-inline)
7229 (widget-group-match): Rename parameter VALUES to VALS.
7230 (widget-field-value-set): Remove unused variable `size'.
7231 (widget-color-action): Remove unused variables `value' and `start'.
7232
7233 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7234 variable `dir'. Doc fix.
06b60517
JB
7235 (windmove-find-other-window): Don't pass it.
7236
7237 * window.el (count-windows): Mark unused parameter.
7238 (bw-adjust-window): Remove unused variable `err'.
7239
7240 * woman.el (woman-file-name): Remove unused variable `default'.
7241 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7242 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7243 (global-font-lock-mode): Declare.
7244 (woman-decode-region): Mark unused parameter.
7245 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7246
7247 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7248 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7249 (x-dnd-handle-moz-url): Remove unused variable `title'.
7250 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7251
7252 * xml.el (xml-parse-tag, xml-parse-attlist):
7253 Remove unused variable `pos'.
7254
bc4f7f3d
GM
72552011-04-19 Glenn Morris <rgm@gnu.org>
7256
7257 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7258 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7259 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7260 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7261 * calendar/cal-html.el (cal-html-insert-minical):
7262 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7263 (calendar-mark-date-pattern):
7264 Prefix "unused" locals.
7265
7266 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7267 optional argument `style'.
7268
7269 * calendar/appt.el (appt-make-list):
7270 * calendar/cal-china.el (calendar-chinese-date-string):
7271 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7272 (diary-hebrew-yahrzeit):
7273 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7274 * calendar/calendar.el (calendar-generate-window):
7275 * calendar/time-date.el (time-to-days):
7276 Remove unused local variables.
7277
16a43933
CY
72782011-04-18 Chong Yidong <cyd@stupidchicken.com>
7279
7280 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7281 glyphless-char-display table.
7282 (tabulated-list-glyphless-char-display): New var.
7283
7eed1860
SS
72842011-04-18 Sam Steingold <sds@gnu.org>
7285
7286 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7287 to acknowledgments.
7288
4d2d1ccd
GM
72892011-04-17 Glenn Morris <rgm@gnu.org>
7290
7291 * calendar/diary-lib.el (diary-sexp-entry):
7292 * calendar/holidays.el (holiday-sexp):
7293 Set debug-on-error rather than the removed stack-trace-on-error.
7294
239da61d
GM
72952011-04-16 Glenn Morris <rgm@gnu.org>
7296
7297 * progmodes/f90.el: Use lexical-binding.
7298 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7299
8b05752a
SM
73002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7301
daca8ba5
SM
7302 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7303 (mail-mode): Setup mailalias completion here instead.
7304 * mail/mailalias.el: Use lexical-binding.
7305 (pattern, mailalias-done): Declare dynamic.
7306 (mail-completion-at-point-function): New function, from mail-complete.
7307 (mail-complete): Use it.
7308 (mail-completion-expand): New function.
7309 (mail-get-names): Use it.
7310 (mail-directory, mail-directory-process, mail-directory-stream):
7311 Don't use `pattern' for lexically bound arg.
7312
6f542485
SM
7313 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7314
037e7c3f
SM
7315 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7316 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7317 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7318
8b05752a
SM
7319 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7320 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7321 (byte-interactive-p): Define them again, for use when inlining
7322 old code.
7323
49093f60
JB
73242011-04-15 Juanma Barranquero <lekktu@gmail.com>
7325
7326 * loadup.el: Use `string-to-number', not `string-to-int'.
7327
b5b8e7de
SM
73282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7331 gud-gdb-complete-command.
7332 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7333 (gud-gdb-completion-at-point): New function.
7334 (gud-gdb-completions): Remove.
7335
f42efeb5
MA
73362011-04-14 Michael Albinus <michael.albinus@gmx.de>
7337
49093f60
JB
7338 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7339 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7340 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7341 whether `executable-find' is bound.
f42efeb5
MA
7342
7343 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7344
e240cc21
SM
73452011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * minibuffer.el (completion-in-region-mode-predicate)
7348 (completion-in-region-mode--predicate): New vars.
7349 (completion-in-region, completion-in-region--postch)
7350 (completion-in-region-mode): Use them.
7351 (completion--capf-wrapper): Also return the hook function.
7352 (completion-at-point, completion-help-at-point):
7353 Adjust and provide a predicate.
c2bd2ab0
SM
7354
7355 Preserve arg names for advice of subr and lexical functions (bug#8457).
7356 * help-fns.el (help-function-arglist): Consolidate the subr and
7357 new-byte-code cases. Add argument `preserve-names' to extract names
7358 from the docstring when needed.
7359 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7360 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7361 (ad-arglist): Use help-function-arglist's new arg.
7362 (ad-definition-type): Use cond.
7363
c183f693
JB
73642011-04-13 Juanma Barranquero <lekktu@gmail.com>
7365
06641a47
JB
7366 * autorevert.el (auto-revert-handler):
7367 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7368 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7369 Don't quote lambda.
7370
c183f693
JB
7371 * image-mode.el (image-transform-set-scale):
7372 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7373
1e3b6001
G
73742011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375
7376 * net/network-stream.el (network-stream-open-starttls): Only do
7377 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7378 Upgrades via gnutls-cli are too slow to be done opportunistically.
7379
2d6af8dd
JB
73802011-04-12 Juanma Barranquero <lekktu@gmail.com>
7381
7382 * dframe.el (dframe-current-frame): Remove spurious quote.
7383
c0749a51
GM
73842011-04-12 Glenn Morris <rgm@gnu.org>
7385
088d0d61
GM
7386 * calendar/cal-tex.el (cal-tex-end-document):
7387 Try to automatically use latin1 input if needed.
7388
c0749a51
GM
7389 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7390 Don't try to cons a mark onto an empty element.
7391
5c90fde0
LL
73922011-04-11 Leo Liu <sdl.web@gmail.com>
7393
7394 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7395 buffers.
7396 (ido-kill-buffer-at-head): Support killing virtual buffers.
7397
369e974d
CY
73982011-04-10 Chong Yidong <cyd@stupidchicken.com>
7399
7400 * minibuffer.el (completion-show-inline-help): New var.
7401 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7402 (minibuffer-force-complete, minibuffer-complete-word):
7403 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7404
7405 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7406 to avoid interference from inline help (Bug#5849).
7407
37f1c930
LL
74082011-04-10 Leo Liu <sdl.web@gmail.com>
7409
099c39a4
JB
7410 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7411 Fix typo.
37f1c930 7412
a32d4040
CY
74132011-04-09 Chong Yidong <cyd@stupidchicken.com>
7414
7415 * image-mode.el (image-toggle-display-image): Signal an error if
7416 not in Image mode.
7417 (image-transform-mode, image-transform-resize)
7418 (image-transform-set-rotation): Doc fix.
daca8ba5 7419 (image-transform-set-resize): Delete.
a32d4040
CY
7420 (image-transform-set-scale, image-transform-fit-to-height)
7421 (image-transform-fit-to-width): Handle image-toggle-display-image
7422 and image-transform-resize directly.
7423
099c39a4 74242011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7425
7426 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7427 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7428 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7429 (doc-view-mode-map): Add bindings for the new functions.
7430
099c39a4 74312011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7432
4d61f28d 7433 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7434 Fix typo in docstring.
7435
3726838a
EZ
74362011-04-08 Eli Zaretskii <eliz@gnu.org>
7437
04f33f1e
EZ
7438 * files.el (file-size-human-readable): Produce one digit after
7439 decimal, like "ls -lh" does.
7440
7441 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7442 the file size representation.
7443
3726838a
EZ
7444 * simple.el (list-processes): If async subprocesses are not
7445 available, error out with a clear error message.
7446
cbb59342
CY
74472011-04-08 Chong Yidong <cyd@stupidchicken.com>
7448
7449 * help.el (help-form-show): New function, to be called from C.
7450 Put help-form output in a buffer named differently than *Help*.
7451
e3971c44
EZ
74522011-04-08 Eli Zaretskii <eliz@gnu.org>
7453
7454 * files.el (file-size-human-readable): New function.
7455
7456 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7457 computing the representation inline. Don't require `cl'.
7458
12544bbe
GM
74592011-04-08 Glenn Morris <rgm@gnu.org>
7460
a1de6c6a
GM
7461 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7462
3c4671f4
GM
7463 * net/browse-url.el (browse-url-firefox):
7464 Test system-type, not system-configuration.
7465
b605679c
GM
7466 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7467 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7468 Use log-edit-empty-buffer-p. (Bug#7598)
7469
56442f0c
GM
7470 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7471 (rlogin-mode-map): Initialize in the defvar.
7472 (rlogin): Use ignore-errors.
7473
12544bbe
GM
7474 * replace.el (occur-mode-map): Some fixes for menu items.
7475
eb237b0f
AH
74762011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7477
7478 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7479
7d668f2c
CY
74802011-04-06 Chong Yidong <cyd@stupidchicken.com>
7481
e67a13ab
CY
7482 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7483 issuing unused warnings.
7484
7485 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7486 macro directly.
7487
7d668f2c
CY
7488 * simple.el: Lisp reimplement of list-processes. Based on an
7489 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7490 (process-menu-mode): New major mode.
7491 (list-processes--refresh, list-processes):
7492 (process-menu-visit-buffer): New functions.
7493
7494 * files.el (save-buffers-kill-emacs): Don't assume any return
7495 value of list-processes, which is undocumented anyway.
7496
a83ec3c9
CY
74972011-04-06 Chong Yidong <cyd@stupidchicken.com>
7498
7499 * emacs-lisp/tabulated-list.el: New file.
7500
e91a96fe
CY
7501 * emacs-lisp/package.el: Use Tabulated List mode.
7502 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7503 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7504 table format using Tabulated List mode variables.
7505 (package--push): New macro, replacing package-list-maybe-add.
7506 (package-menu--generate): Use package--push. Renamed from
7507 package--generate-package-list.
7508 (package-menu-refresh, list-packages): Use it.
daca8ba5 7509 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7510 Return insertion data instead of inserting it directly.
099c39a4
JB
7511 (package-menu-describe-package, package-menu-execute):
7512 Use tabulated-list-get-id.
e91a96fe
CY
7513 (package-menu-mark-delete, package-menu-mark-install)
7514 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7515 (package-menu-mark-obsolete-for-deletion):
7516 Use tabulated-list-put-tag.
e91a96fe
CY
7517 (package--list-packages, package-menu-revert)
7518 (package-menu-get-package, package-menu-get-version)
7519 (package-menu-sort-by-column): Functions deleted.
7520 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7521 (package-menu--status-predicate, package-menu--version-predicate)
7522 (package-menu--name-predicate)
7523 (package-menu--description-predicate): Handle arguments in the
7524 Tabulated List format.
7525 (package-list-packages-no-fetch): Call list-packages.
7526
3e214b50
JB
75272011-04-06 Juanma Barranquero <lekktu@gmail.com>
7528
7529 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7530 (after-find-file): Don't bind it.
3e214b50
JB
7531 (revert-buffer-in-progress-p): New variable.
7532 (revert-buffer): Bind it.
7533 Pass nil for `after-find-file-from-revert-buffer'.
7534
7535 * saveplace.el (save-place-find-file-hook): Use new variable
7536 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7537
3f0f1700
GM
75382011-04-06 Glenn Morris <rgm@gnu.org>
7539
c0274801
GM
7540 * Makefile.in (AUTOGEN_VCS): New variable.
7541 (autoloads): Use $AUTOGEN_VCS.
7542
3f0f1700
GM
7543 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7544 * calendar/calendar.el (calendar-mode-map):
7545 Check for toolkit scroll bars. (Bug#8305)
7546
41ea9e48
CY
75472011-04-05 Chong Yidong <cyd@stupidchicken.com>
7548
7549 * minibuffer.el (completion-in-region--postch)
7550 (completion-in-region-mode): Remove unnecessary messages.
7551
6194c800
JB
75522011-04-05 Juanma Barranquero <lekktu@gmail.com>
7553
33256f14
JB
7554 * font-lock.el (font-lock-refresh-defaults):
7555 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7556 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7557
6194c800
JB
7558 * info.el (Info-directory-list, Info-read-node-name-2)
7559 (Info-split-parameter-string): Doc fixes.
7560 (Info-virtual-nodes): Reflow docstring.
7561 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7562 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7563 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7564 Fix typos in docstrings.
7565 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7566 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7567 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7568 (Info-restore-desktop-buffer): Mark unused parameters.
7569 (Info-directory-find-file, Info-directory-find-node)
7570 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7571 (Info-virtual-index-find-node, Info-apropos-find-file)
7572 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7573 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7574 (Info-virtual-index): Remove unused local variable `nodename'.
7575
b87a8200 75762011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7577
b87a8200
DD
7578 * net/rcirc.el: Update my e-mail address.
7579 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7580
3b2ff876
CY
75812011-04-05 Chong Yidong <cyd@stupidchicken.com>
7582
7583 * startup.el (command-line): Save the cursor's theme-face
7584 directly, instead of using face-override-spec.
7585
7586 * custom.el (load-theme): Minor optimization in assigning faces.
7587
8d17e7ca
JB
75882011-04-04 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * help-fns.el (describe-variable): Complete all variables having
7591 documentation, including keywords.
7592 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7593
2fbc1934
JB
75942011-04-04 Juanma Barranquero <lekktu@gmail.com>
7595
7596 Convert to lexical-binding.
7597
7598 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7599 (bs--get-marked-string, bs--get-modified-string)
7600 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7601 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7602 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7603
7604 * ehelp.el (electric-help-execute-extended)
7605 (electric-help-ctrl-x-prefix):
7606 * hexl.el (hexl-revert-buffer-function):
7607 * linum.el (linum-after-change, linum-after-scroll):
7608 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7609
7610 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7611
74f50695
DU
76122011-04-04 Daiki Ueno <ueno@unixuser.org>
7613
7614 * epa-dired.el:
7615 * epa-mail.el:
7616 * epa-hook.el:
7617 * epa-file.el:
7618 * epa.el:
7619 * epg.el: Use lexical binding.
7620
c11325f7
CY
76212011-04-03 Chong Yidong <cyd@stupidchicken.com>
7622
0d9e9a12
CY
7623 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7624
c11325f7 7625 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7626 dictionary case for flyspell-mark-duplications-exceptions.
7627 Use regexp matching for languages.
c11325f7
CY
7628 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7629 default dictionary (Bug#7926).
7630
da91b5f2
CY
76312011-04-02 Chong Yidong <cyd@stupidchicken.com>
7632
099c39a4
JB
7633 * emacs-lisp/package.el (package--with-work-buffer):
7634 Recognize https URLs.
da91b5f2 7635
099c39a4
JB
7636 * net/network-stream.el: Move from gnus/proto-stream.el.
7637 Change prefix to network-stream throughout.
da91b5f2
CY
7638 (open-protocol-stream): Merge into open-network-stream, leaving
7639 open-protocol-stream as an alias. Handle nil BUFFER args.
7640
7641 * subr.el (open-network-stream): Move to net/network-stream.el.
7642
afa8e9f6
GM
76432011-04-02 Glenn Morris <rgm@gnu.org>
7644
1d2e369d
GM
7645 * find-dired.el (find-exec-terminator): New option.
7646 (find-ls-option): Test for -ls support.
7647 (find-ls-subdir-switches): Test for -b in find-ls-option.
7648 (find-dired, find-grep-dired): Doc fixes.
7649 (find-dired): Use find-exec-terminator.
7650
8abb7da8 7651 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7652 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7653 (find-name-arg): Remove purecopy.
8abb7da8 7654
f3ca7378
GM
7655 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7656 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7657 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7658 accordingly. Don't add the null-device if not needed.
7659
afa8e9f6
GM
7660 * files.el (save-some-buffers): Doc fix.
7661
35eae264
EZ
76622011-04-02 Eli Zaretskii <eliz@gnu.org>
7663
7664 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7665
26b51db5
JB
76662011-04-01 Juanma Barranquero <lekktu@gmail.com>
7667
7668 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7669 Use `dolist' rather than `mapcar'.
7670
7200d79c
SM
76712011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7672
03408648 7673 Add lexical binding.
7200d79c 7674
03408648
SM
7675 * subr.el (apply-partially): Use new closures rather than CL.
7676 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7677 (dolist, dotimes): Use slightly different expansion for lexical code.
7678 (functionp): Move to C.
7679 (letrec): New macro.
7680 (with-wrapper-hook): Use it and apply-partially instead of CL.
7681 (eval-after-load): Preserve lexical-binding.
7682 (save-window-excursion, with-output-to-temp-buffer): Turn them
7683 into macros.
7200d79c 7684
03408648
SM
7685 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7686
7687 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7688 than the arglist.
7689 (help-add-fundoc-usage): Don't add `Not documented'.
7690 (help-function-arglist): Handle closures, subroutines, and new
7691 byte-code-functions.
7692 (help-make-usage): Remove leading underscores.
7693 (describe-function-1): Handle closures.
7694 (describe-variable): Use special-variable-p for completion.
7695
7696 * files.el (lexical-binding): Declare safe.
f488fb65 7697
03408648
SM
7698 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7699 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7700 (pcase): Add `let' pattern.
7701 Change memoization so it actually works.
7702 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7703 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7704 <let>: New case.
f488fb65 7705
03408648
SM
7706 * emacs-lisp/macroexp.el: Use lexical binding.
7707 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7708 Don't convert ' to #' without checking that it's indeed quoting
7709 a lambda.
7710
7711 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7712 Use eval-sexp-add-defvars.
03408648
SM
7713 (eval-sexp-add-defvars): New fun.
7714
7715 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7716
7717 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7718 Don't autoload.
7719 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7720 than the internal `byte-compile-lambda'.
7721 (defmethod): Don't hide code under quotes.
7722 (eieio-defmethod): New `code' argument.
7723
7724 * emacs-lisp/eieio-comp.el: Remove.
7725
7726 * emacs-lisp/edebug.el (edebug-eval-defun)
7727 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7728 (edebug-toggle): Avoid `eval'.
7729
7730 * emacs-lisp/disass.el (disassemble-internal): Handle new
7731 `closure' objects.
7732 (disassemble-1): Handle new byte codes.
7733
7734 * emacs-lisp/cl.el (pushnew): Silence warning.
7735
7736 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7737 (cl-byte-compile-throw): Remove.
7738 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7739
7740 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7741 closures.
7742
7743 * emacs-lisp/cconv.el: New file.
7744
7745 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7746 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7747 (byte-compile-initial-macro-environment):
7748 Handle declare-function here.
7749 (byte-compile--lexical-environment): New var.
7750 (byte-stack-ref, byte-stack-set, byte-discardN)
7751 (byte-discardN-preserve-tos): New lap codes.
7752 (byte-interactive-p): Don't use any more.
7753 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7754 New macros.
7755 (byte-compile-lapcode): Use them and handle new lap codes.
7756 (byte-compile-obsolete): Remove.
7757 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7758 (byte-compile-arglist-warn): Check late def of inlinable funs.
7759 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7760 since they should have been expanded by now.
7761 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7762 (byte-compile-from-buffer): Remove unused second arg.
7763 (byte-compile-preprocess): New function.
7764 (byte-compile-toplevel-file-form): New function to distinguish
7765 file-form calls from outside from file-form calls from hunk-handlers.
7766 (byte-compile-file-form): Simplify.
7767 (byte-compile-file-form-defsubst): Remove.
7768 (byte-compile-file-form-defmumble): Simplify now that
7769 byte-compile-lambda always returns a byte-code-function.
7770 (byte-compile): Preprocess.
7771 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7772 Remove, not used any more.
7773 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7774 (byte-compile-make-args-desc): New funs.
7775 (byte-compile-lambda): Handle lexical functions. Always return
7776 a byte-code-function.
7777 (byte-compile-reserved-constants): New var, to make up room for
7778 closed-over variables.
7779 (byte-compile-constants-vector): Obey it.
7780 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7781 (byte-compile-macroexpand-declare-function): New function.
7782 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7783 byte-code-functions.
7784 (byte-compile-form): Check obsolescence here.
7785 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7786 (byte-compile-variable-ref): Remove.
7787 (byte-compile-dynamic-variable-op): New fun.
7788 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7789 (byte-compile-variable-set): New funs.
7790 (byte-compile-discard): Add 2 args.
7791 (byte-compile-stack-ref, byte-compile-stack-set)
7792 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7793 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7794 macroexpand-all instead.
7795 (byte-compile-quote-form): Remove.
7796 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7797 (byte-compile-bind, byte-compile-unbind): New funs.
7798 (byte-compile-let): Handle let* and lexical binding.
7799 (byte-compile-let*): Remove.
7800 (byte-compile-catch, byte-compile-unwind-protect)
7801 (byte-compile-track-mouse, byte-compile-condition-case):
7802 Handle a new :fun-body form, used for lexical scoping.
7803 (byte-compile-save-window-excursion)
7804 (byte-compile-with-output-to-temp-buffer): Remove.
7805 (byte-compile-defun): Simplify.
7806 (byte-compile-stack-adjustment): New fun.
7807 (byte-compile-out): Use it.
7808 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7809
7810 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7811 handler any more.
7812
7813 * emacs-lisp/byte-opt.el: Use lexical binding.
7814 (byte-inline-lapcode): Remove (to bytecomp).
7815 (byte-compile-inline-expand): Pay attention to inlining to/from
7816 lexically bound code.
7817 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7818 any more.
7819 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7820 any more and don't call compiler-macros.
7821 (byte-compile-splice-in-already-compiled-code): Remove.
7822 (byte-code): Don't inline any more.
7823 (disassemble-offset): Receive `bytes' as argument rather than via
7824 dynamic scoping.
7825 (byte-compile-tag-number): Declare before first use.
7826 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7827 `return' even if make-spliceable.
7828 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7829 obsolete interactive-p.
7830 (byte-optimize-lapcode): Optimize new lap-codes.
7831 Don't trip up on new form of `byte-constant' lap code.
7832
7833 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7834
7835 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7836
7837 * custom.el (custom-initialize-default, custom-declare-variable):
7838 Use `defvar'.
7839
7840 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7841 New variables.
7842 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7843 (COMPILE_FIRST): Add macroexp and cconv.
7844 * makefile.w32-in: Mirror changes in Makefile.in.
7845
7846 * vc/cvs-status.el:
7847 * vc/diff-mode.el:
7848 * vc/log-edit.el:
7849 * vc/log-view.el:
7850 * vc/smerge-mode.el:
7851 * textmodes/bibtex-style.el:
7852 * textmodes/css.el:
7853 * startup.el:
7854 * uniquify.el:
da91b5f2
CY
7855 * minibuffer.el:
7856 * newcomment.el:
7857 * reveal.el:
7858 * server.el:
7859 * mpc.el:
7860 * emacs-lisp/smie.el:
7861 * doc-view.el:
7862 * dired.el:
03408648
SM
7863 * abbrev.el: Use lexical binding.
7864
0f0c1f27
EZ
78652011-04-01 Eli Zaretskii <eliz@gnu.org>
7866
7867 * info.el (info-display-manual): New function.
7868
c82b2579
SM
78692011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7872
221ddf68
TH
78732011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7874
7875 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7876 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7877
cba6e77e
GM
78782011-03-31 Glenn Morris <rgm@gnu.org>
7879
e040639f
GM
7880 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7881
cba6e77e
GM
7882 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7883
6d0f1c9e
CS
78842011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7885
7886 * progmodes/python.el (python-default-interpreter)
7887 (python-python-command-args, python-jython-command-args)
7888 (python-which-shell, python-which-args, python-which-bufname)
7889 (python-file-queue, python-comint-output-filter-function)
7890 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7891 variables and functions.
7892
3e2d70fd
SM
78932011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7896 (completion-in-region-mode): New minor mode.
7897 (completion-in-region): Use it.
7898 (completion-in-region--data, completion-in-region-mode-map): New vars.
7899 (completion-in-region--postch): New function.
7900 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7901 New vars.
7902 (completion--capf-wrapper): New function.
7903 (completion-at-point): Use it to track well-behavedness of
7904 hook functions.
7905 (completion-help-at-point): New command.
7906
f3e4086c
JM
79072011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7908
7909 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7910 syntax class to search for whitespace on a single line
7911 (Message-ID: <4D938140.4030905@redhat.com>).
7912
eb7ffc14
LL
79132011-03-30 Leo Liu <sdl.web@gmail.com>
7914
7915 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7916 New commands.
7917 (edit-abbrevs-map): Bind them here.
7918 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7919
d806ab68
KM
79202011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7921
7922 * allout.el (allout-hide-by-annotation, allout-flag-region):
7923 Reduce possibility of overlay leakage by making them volatile.
7924
7925 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7926 hash is not shared between buffers. Mode initialization is
7927 responsible for giving it a useful starting value.
7928 (allout-item-span): Reduce possibility of overlay leakage by
7929 making them volatile.
7930 (allout-widgets-count-buttons-in-region): Add diagnostic function
7931 for tracking down button overlay leaks.
7932
ea622834
LL
79332011-03-29 Leo Liu <sdl.web@gmail.com>
7934
7935 * ido.el (ido-read-internal): Use the default history var
7936 minibuffer-history if no HISTORY is specified.
7937
b62f8267
G
79382011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7939
03408648
SM
7940 * net/imap.el (imap-shell-open, imap-process-connection-type):
7941 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7942 Kerberos, SSL, other subprocesses.
7943
947b6566
LL
79442011-03-28 Leo Liu <sdl.web@gmail.com>
7945
7946 * abbrev.el (abbrev-table-empty-p): New function.
7947 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7948 nonempty ones. (Bug#5937)
7949
5ffb62aa
JD
79502011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7951
7952 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7953
7a097943
LL
79542011-03-27 Leo Liu <sdl.web@gmail.com>
7955
7956 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7957 for foreground and background colors.
7958 (ansi-color-make-color-map): Adapt.
7959
c5b40130
LL
79602011-03-25 Leo Liu <sdl.web@gmail.com>
7961
1f48f7d2
LL
7962 * midnight.el (midnight-time-float): Remove. Note it calculates
7963 the microsecond component incorrectly and seconds-to-time does the
7964 same job.
625897ec 7965 Remove redundant (require 'timer).
1f48f7d2 7966
c5b40130
LL
7967 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7968 (ido-completions): Remove unused arguments. (Bug#8329)
7969
d86d2721
SM
79702011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * minibuffer.el (completion--flush-all-sorted-completions):
7973 Remove itself from hook.
7974 (completion-at-point): Let the functions perform the completion
7975 immediately and return nil or t.
7976 * comint.el (comint-dynamic-complete-functions): Now identical to
7977 completion-at-point-functions.
7978 (comint-dynamic-list-input-ring): Remove unused var `index'.
7979 (comint--match-partial-filename, comint--unquote&expand-filename):
7980 New funs, split from comint-match-partial-filename.
7981 (comint-dynamic-complete): Use completion-at-point.
7982 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7983
e8974c48
DA
79842011-03-24 Drew Adams <drew.adams@oracle.com>
7985
7986 * thingatpt.el: Support `defun'.
7987
def71b5e
LL
79882011-03-23 Leo Liu <sdl.web@gmail.com>
7989
cb5af48e
LL
7990 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7991
def71b5e
LL
7992 * help-mode.el (help-mode-finish): Tweak regexp.
7993
927c53e7
GM
79942011-03-23 Glenn Morris <rgm@gnu.org>
7995
18d05bed
GM
7996 * eshell/esh-opt.el (eshell-eval-using-options):
7997 Do not bind unused local variable `eshell-option-stub'.
7998
927c53e7
GM
7999 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8000
9d0da923
JB
80012011-03-22 Juanma Barranquero <lekktu@gmail.com>
8002
8003 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8004 keymap variable in `with-no-warnings' to avoid a warning when the
8005 keymap has been already `defconst'ed.
8006
4b978a67
LL
80072011-03-22 Leo Liu <sdl.web@gmail.com>
8008
8009 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8010 encode all chars in abbrevs; otherwise use emacs-mule or
8011 utf-8-emacs. (Bug#8308)
8012
5fd62452
JB
80132011-03-22 Juanma Barranquero <lekktu@gmail.com>
8014
0b1596c6
JB
8015 * simple.el (backward-delete-char-untabify):
8016 Avoid warning about using `delete-backward-char'.
8017
5fd62452
JB
8018 * image.el (image-type-file-name-regexps): Make it variable.
8019 `imagemagick-register-types' modifies it, and the user may want
8020 to add new extensions for known image types.
8021 (imagemagick-register-types): Throw error if not using ImageMagick.
8022
0b4e93f1
LL
80232011-03-22 Leo Liu <sdl.web@gmail.com>
8024
8025 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8026 located before rcirc-prompt-end-marker.
8027 (rcirc-complete): Error if point is not after rcirc prompt.
8028 Handle the case when table is nil.
9882e214 8029 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8030
fccee4ab
CY
80312011-03-22 Chong Yidong <cyd@stupidchicken.com>
8032
8033 * custom.el (custom--inhibit-theme-enable): Make it affect only
8034 custom-theme-set-variables and custom-theme-set-faces.
8035 (provide-theme): Ignore custom--inhibit-theme-enable.
8036 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8037 (custom-enabling-themes): Delete variable.
d86d2721
SM
8038 (enable-theme): Accept only loaded themes as arguments.
8039 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8040 (custom-enabled-themes): Forbid themes from setting this.
8041 Eliminate use of custom-enabling-themes.
8042 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8043
af896da6
LL
80442011-03-21 Leo Liu <sdl.web@gmail.com>
8045
8046 * ido.el (ido-read-internal): Add ido-selected to history instead
8047 of user input.
8048
78f64af0
SM
80492011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 * subr.el (deferred-action-list, deferred-action-function):
8052 Mark obsolete.
8053
b16ac1ec
LL
80542011-03-21 Leo Liu <sdl.web@gmail.com>
8055
810f7698
LL
8056 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8057 change on 2011-02-13 (bug#8309).
8058
b16ac1ec
LL
8059 * minibuffer.el (read-file-name-function): Change default value.
8060 (read-file-name--defaults): Rename from read-file-name-defaults.
8061 (read-file-name-default): Rename from read-file-name.
8062 (read-file-name): Call read-file-name-function.
8063
4e05e67e
GM
80642011-03-21 Glenn Morris <rgm@gnu.org>
8065
8066 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8067 Doc fixes.
8068
4359915b
CY
80692011-03-21 Chong Yidong <cyd@stupidchicken.com>
8070
8071 * cus-theme.el: Add missing provide statement.
8072 (customize-create-theme): Extract theme value correctly.
8073 (custom-theme-visit-theme): Autoload.
8074 (customize-create-theme): Prompt before inserting default faces.
8075
1fe275ee
JB
80762011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8077
8078 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8079 units and musical notes.
8080
3ec03f7e
LL
80812011-03-20 Leo <sdl.web@gmail.com>
8082
8083 * ido.el (ido-read-internal): Use completing-read-default.
8084 (ido-completing-read): Fix compatibility with completing-read.
8085
7d476bde
CO
80862011-03-20 Christian Ohler <ohler@gnu.org>
8087
8088 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8089 (ert-delete-all-tests): Use `called-interactively-p' rather than
8090 `interactive-p'.
8091 (ert--make-xrefs-region): Respect END.
8092
fe0fb33e
CY
80932011-03-19 Chong Yidong <cyd@stupidchicken.com>
8094
ff854b0b
CY
8095 * dired-aux.el (dired-create-directory): Signal an error if the
8096 directory already exists (Bug#8246).
8097
fe0fb33e
CY
8098 * facemenu.el (list-colors-display): Call list-faces-display
8099 inside with-help-window.
8100 (list-colors-print): Use display property to align the final
8101 column, instead of checking window-width.
8102
576bce32
EZ
81032011-03-19 Eli Zaretskii <eliz@gnu.org>
8104
4d61f28d 8105 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8106 windows-nt systems.
8107 (emerge-protect-metachars): Quote correctly for ms-dos and
8108 windows-nt systems.
8109
89c41d68 81102011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8111
8112 * info.el (info-initialize): Replace all uses of `:' with
8113 path-separator for compatibility with non-Unix systems.
8114 Cache quoting of path-separator. (Bug#8258)
8115
b14e3e21 81162011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8117
8118 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8119 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8120 (mouse-avoidance-mode): Fix typos in docstrings.
8121
4525ce3e
CY
81222011-03-19 Chong Yidong <cyd@stupidchicken.com>
8123
8124 * startup.el (package-subdirectory-regexp): Move from package.el.
8125 Omit \\` and \\', and let callers add them.
8126
8127 * emacs-lisp/package.el (package-strip-version)
8128 (package-load-all-descriptors): Add \\` and \\' to
8129 package-subdirectory-regexp before using it.
8130 (package-untar-buffer): New arg DIR; ensure that file untars only
8131 into this expected directory. Remove superfluous delete-region.
8132 (package-unpack): Caller changed.
8133 (package-tar-file-info): Use package-subdirectory-regexp.
8134
a904a09a 81352011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8136
a904a09a
SM
8137 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8138 diff-mode-shared-map (bug#8284).
8139 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8140
81412011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * calendar/time-date.el (format-seconds): Use assoc instead of
8144 assoc-string, since assoc-string doesn't exist in XEmacs.
8145
171fc304
JB
81462011-03-17 Juanma Barranquero <lekktu@gmail.com>
8147
8148 * custom.el (custom-known-themes): Reflow docstring.
8149 (custom-theme-load-path): Fix typo in docstring.
8150 (load-theme): Fix typo in error message.
8151 (custom-available-themes, custom-variable-theme-value):
8152 Use `let', not `let*'.
8153
d71990a1
JB
81542011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8155
8156 * calc/README: Mention inclusion of musical notes.
8157
8158 * calc/calc-units.el (calc-lu-quant): Rename from
8159 `calc-logunits-quantity'.
8160 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8161 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8162 (calc-db): Rename from `calc-dblevel'.
8163 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8164 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8165 (calc-np): Rename from `calc-nplevel'.
8166 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8167 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8168 (calc-lu-plus): Rename from `calc-logunits-add'.
8169 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8170 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8171 (calc-lu-minus): Rename from `calc-logunits-sub'.
8172 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8173 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8174 (calc-lu-times): Rename from `calc-logunits-mul'.
8175 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8176 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8177 (calc-lu-divide): Rename from `calc-logunits-div'.
8178 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8179 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8180
8181 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8182 functions being autoloaded.
8183
8184 * calc/calc.el (calc-lu-power-reference): Rename from
8185 `calc-logunits-power-reference'.
8186 (calc-lu-field-reference): Rename from
8187 `calc-logunits-field-reference'.
8188
8189 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8190
40c2934b
SM
81912011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * minibuffer.el (completion-all-sorted-completions):
8194 Use :completion-cycle-penalty text property if present.
8195
b0911414
KM
81962011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8197
8198 * allout.el (allout-yank-processing): Adjust for new rebulleting
8199 regime so bullet being yanked is used without prompting the user
8200 for a choice.
8201
8a05b668
JB
82022011-03-16 Juanma Barranquero <lekktu@gmail.com>
8203
8204 * startup.el (command-line): Warn the user that _emacs is deprecated.
8205
5ba5fb81
JB
82062011-03-16 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8209 (delphi-verbose, delphi-comment-face, delphi-string-face)
8210 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8211 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8212 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8213 (delphi-new-comment-line, delphi-font-lock-defaults)
8214 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8215 Fix typos in docstrings.
8216
2dab465b
KM
82172011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8218
5ba5fb81 8219 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8220 Invert the roles of character and string values for INSTEAD, so a
8221 string is used for the more common case of a defaulting prompt.
8222
0adf5618
SM
82232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * progmodes/ruby-mode.el (ruby-backward-sexp):
8226 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8227 * play/gamegrid.el (gamegrid-make-face):
8228 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8229 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8230 * notifications.el (notifications-notify):
8231 * net/xesam.el (xesam-search-engines):
8232 * net/quickurl.el (quickurl-list-insert):
8233 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8234
d72700e5
CY
82352011-03-15 Chong Yidong <cyd@stupidchicken.com>
8236
8237 * startup.el (command-line): Update package subdirectory regexp.
8238
49c5410a
SM
82392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8240
c6eee9aa
SM
8241 * allout.el (allout-abbreviate-flattened-numbering)
8242 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8243
49c5410a
SM
8244 * subr.el (read-char-choice): Only show the cursor after the prompt,
8245 not after the answer.
8246
047b2bb9
KR
82472011-03-15 Kevin Ryde <user42@zip.com.au>
8248
8249 * help-fns.el (variable-at-point): Skip leading quotes, if any
8250 (bug#8253).
8251
0a57d256
SM
82522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8255 warning message.
8256
77c992bc
MA
82572011-03-14 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * shell.el (shell): When called interactively, offer to change the
8260 shell file name on remote hosts.
8261
eebc475d
TZ
82622011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8263
8264 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8265 integration for LDAP parameters. The host, base, user or binddn,
8266 and secret tokens can be specified in a netrc file, for instance.
8267 This is optional because an `auth-source' parameter must be
8268 specified in the search attributes.
8269
9d05d1ba
JB
82702011-03-13 Juanma Barranquero <lekktu@gmail.com>
8271
8272 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8273
09d9db2c
GM
82742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8277 into declaration. Remove redundant and harmful binding.
8278
82792011-03-12 Eli Zaretskii <eliz@gnu.org>
8280
8281 * files.el (file-ownership-preserved-p): Pass `integer' as an
8282 explicit 2nd argument to `file-attributes'. If the file's owner
8283 is the Administrators group on Windows, and the current user is
8284 Administrator, consider that a match.
8285
8286 * server.el (server-ensure-safe-dir): Consider server directory
8287 safe on MS-Windows if its owner is the Administrators group while
8288 the current Emacs user is Administrator. Use `=' to compare
8289 numerical UIDs, since they could be integers or floats.
8290
219bd536
JB
82912011-03-12 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8294
f3afd36b
MA
82952011-03-12 Michael Albinus <michael.albinus@gmx.de>
8296
8297 Sync with Tramp 2.2.1.
8298
8299 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8300
8301 * net/trampver.el: Update release number.
8302
3aaaa6f1
SM
83032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8304
94642599
SM
8305 * progmodes/compile.el (compilation--previous-directory): Fix up
8306 various nil/dead-marker mismatches (bug#8014).
8307 (compilation-directory-properties, compilation-error-properties):
8308 Don't call it at a position past the one we're about to change.
8309
3aaaa6f1
SM
8310 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8311 Disable obsolescence warnings in the file that declares it.
8312
14239447
KM
83132011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8314
099c39a4
JB
8315 * allout-widgets.el (allout-widgets-tally):
8316 Initialize allout-widgets-tally as a hash table rather than nil to
8317 prevent mode-line redisplay warnings. Also, clarify the module
8318 description and fix a comment typo.
14239447 8319
135e287c
JB
83202011-03-11 Juanma Barranquero <lekktu@gmail.com>
8321
8322 * help-fns.el (describe-variable): Don't complete keywords.
8323 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8324
ffbf300e
CY
83252011-03-10 Chong Yidong <cyd@stupidchicken.com>
8326
ba08b241
CY
8327 * emacs-lisp/package.el (package-version-join): Impose a standard
8328 string representation for pre/alpha/beta version lists.
8329 (package-unpack-single): Standardize the directory name by passing
8330 it through package-version-join.
8331 (package-strip-rcs-id): Accept any version string that does not
8332 signal an error in version-to-list.
ffbf300e 8333
f346fd6b
MA
83342011-03-10 Michael Albinus <michael.albinus@gmx.de>
8335
8336 * simple.el (delete-trailing-whitespace): Return nil for the
8337 benefit of `write-file-functions'.
8338
ccb55d27
GM
83392011-03-10 Glenn Morris <rgm@gnu.org>
8340
5ceaac0c
GM
8341 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8342
02da65ff
GM
8343 * vc/vc-git.el (vc-git-program): New option.
8344 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8345 (vc-git--call): Use it.
8346
b2f603cc
GM
8347 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8348
5772caab
GM
8349 * cus-edit.el (Custom-newline): If no button at point, look
8350 for a subgroup button at start-of-line. (Bug#2298)
8351
ccb55d27
GM
8352 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8353
ec6ecaed
JD
83542011-03-10 Julien Danjou <julien@danjou.info>
8355
8356 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8357 `cursor-type' is nil.
8358
9d5aa01d
JB
83592011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8360
8361 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8362
b6a5875b
KM
83632011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8364
8365 * allout.el Summary: Change so yank of distinctive-bullet items
8366 preserves the existing header prefix, rebulleting it if necessary,
8367 rather than replacing it. This is necessary for proper operation
8368 of cooperative addons like allout-widgets.
219bd536 8369 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8370 SOLICIT arg to INSTEAD, and interpret additionally a string value
8371 as alternate bullet to be used, instead of prompting the user for
8372 a bullet character.
8373
ee545c35
MA
83742011-03-09 Michael Albinus <michael.albinus@gmx.de>
8375
d86d2721
SM
8376 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8377 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8378 `tramp-default-port'.
8379
c47971d7
DD
83802011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8381
8382 * net/rcirc.el (rcirc-handler-001): Remove useless
8383 with-rcirc-process-buffer.
8384 (rcirc-check-auth-status): Swap arguments to string-match.
8385
13522cb4
GM
83862011-03-09 Glenn Morris <rgm@gnu.org>
8387
0be6f4f1
GM
8388 * shell.el (shell-mode):
8389 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8390
13522cb4
GM
8391 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8392 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8393
515de2e3
CY
83942011-03-08 Chong Yidong <cyd@stupidchicken.com>
8395
8396 * emacs-lisp/package.el (package-refresh-contents)
8397 (package-menu-execute): Use condition-case-no-debug.
8398
b511b994
MA
83992011-03-08 Michael Albinus <michael.albinus@gmx.de>
8400
8401 * simple.el (shell-command-to-string): Use `process-file'.
8402
8403 * emacs-lisp/package.el (package-tar-file-info): Handle also
8404 remote files.
8405
d86d2721
SM
8406 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8407 Use `equal' for upload base check.
b511b994 8408
25bbfb31
AM
84092011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8410
8411 * textmodes/texinfo.el (texinfo-environments):
8412 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8413
be996521
GM
84142011-03-08 Glenn Morris <rgm@gnu.org>
8415
e9c8529f
GM
8416 * cus-start.el (cursor-in-non-selected-windows):
8417 Fix :set quoting oddness. (Bug#8192)
8418
be996521
GM
8419 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8420 in some setf expressions. (Bug#2159)
8421
2bb5649e
CY
84222011-03-08 Chong Yidong <cyd@stupidchicken.com>
8423
8424 * custom.el (custom-available-themes): Return themes in
8425 alphabetical order.
8426
33383987 8427See ChangeLog.15 for earlier changes.
e3d51b27
MR
8428
8429;; Local Variables:
8430;; coding: utf-8
e3d51b27
MR
8431;; End:
8432
33383987 8433 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8434
8435 This file is part of GNU Emacs.
8436
8437 GNU Emacs is free software: you can redistribute it and/or modify
8438 it under the terms of the GNU General Public License as published by
8439 the Free Software Foundation, either version 3 of the License, or
8440 (at your option) any later version.
8441
8442 GNU Emacs is distributed in the hope that it will be useful,
8443 but WITHOUT ANY WARRANTY; without even the implied warranty of
8444 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8445 GNU General Public License for more details.
8446
8447 You should have received a copy of the GNU General Public License
8448 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.