Fix more typos.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
40a8bdf6
JB
12011-11-11 Juanma Barranquero <lekktu@gmail.com>
2
3 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5
65bd19ff
SM
62011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * electric.el (electric-indent-post-self-insert-function): Make it
9 possible for a char to only indent in some circumstances.
10 (electric-indent-mode): Simplify.
11
54f9154c
MR
122011-11-11 Martin Rudalics <rudalics@gmx.at>
13
14 * window.el (windows-with-parameter): Remove unused function.
15 (windows-at-side): Rename to window-at-side-list.
16 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
17 (window-side-check, window-size-ignore, window-size-fixed-1)
18 (window-in-direction-2): Prefix with "window--".
19 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 20
68cbc58b
GM
212011-11-11 Glenn Morris <rgm@gnu.org>
22
23 * subr.el (eval-after-load): If FILE is already loaded,
24 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
25
b2621720
GM
262011-11-10 Glenn Morris <rgm@gnu.org>
27
9a4de110
GM
28 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
29 Call svn via vc-svn-command rather than vc-do-command.
30 (vc-svn-command): Add --non-interactive. (Bug#9993)
31 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
32
b2621720
GM
33 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
34 Add toggle-read-only. (Bug#7292)
35 * files.el (toggle-read-only): Mention that it should only
36 be used interactively. (Bug#10006)
37
1dce7193
SM
382011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
39
d9ac1a1e
SM
40 * progmodes/compile.el (compilation-error-regexp-alist-alist):
41 Adjust regexp for OCaml warnings.
42
0c325082
SM
43 * electric.el (electric-pair-post-self-insert-function): Let user
44 turn it off buffer-locally (bug#9932).
45
90132c14
SM
46 * progmodes/python.el (python-beginning-of-statement):
47 Rewrite (bug#2703).
48
1dce7193
SM
49 * progmodes/compile.el: Better handle TABs (bug#9749).
50 (compilation-internal-error-properties)
51 (compilation-next-error-function): Obey the target buffer's
52 compilation-error-screen-columns.
53
c4e7c63a
JB
542011-11-09 Juanma Barranquero <lekktu@gmail.com>
55
56 * progmodes/meta-mode.el: Remove obsolete comments.
57 (meta-right-comment-regexp, meta-ignore-comment-regexp):
58 Fix typos in docstrings.
59
2cffd681
MR
602011-11-09 Martin Rudalics <rudalics@gmx.at>
61
62 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 63 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
64 (window--resizable): New function. Make all callers of
65 window-resizable call window--resizable instead.
66 (window-resizable): Rewrite in terms of window--resizable.
67
0edcba87
GM
682011-11-08 Glenn Morris <rgm@gnu.org>
69
70 * progmodes/delphi.el (delphi-mode-syntax-table):
71 Let define-derived-mode define a proper syntax table. (Bug#9994)
72
4b0d61e3
SM
732011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * window.el: Stay away from defsubst.
76 (window-list-no-nils): Remove.
77 (window-state-get-1, window-state-get): Use backquote instead.
78
fcbcac2e 792011-11-08 thierry <thierry.volpiatto@gmail.com>
80
4b0d61e3 81 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 82 Fix incorrect use of default argument in `completing-read'.
83
e1c2c6f2
MR
842011-11-08 Martin Rudalics <rudalics@gmx.at>
85
86 * window.el (display-buffer-function, special-display-function):
87 Mention display-buffer-record-window but do not mention
88 help-setup parameter in doc-strings.
b3f4a882 89 (window-min-delta): Fix doc-string typo.
e1c2c6f2 90
105216ed
CY
912011-11-08 Chong Yidong <cyd@gnu.org>
92
93 * window.el (window-total-height, window-total-width): Doc fix.
94 (window-body-size): Move from C.
95 (window-body-height, window-body-width): Move to C.
96
0a9f9ab5
SM
972011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * window.el: Make special-display like display-buffer-alist (bug#9532).
100 (display-buffer--special-action): New function, morphed
101 from display-buffer--special.
102 (display-buffer): Use it to handle special-display-buffers at higher
103 priority (just after display-buffer-alist).
104 (display-buffer-fallback-action, display-buffer--other-frame-action)
105 (pop-to-buffer-same-window): Remove display-buffer--special.
106
a769dd15
GM
1072011-11-07 Glenn Morris <rgm@gnu.org>
108
109 * calendar/cal-menu.el (cal-menu-set-date-title):
110 Do nothing if not in a calendar. (Bug#9976)
111
05a61ee3
SM
1122011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * files.el (find-file): Always use selected-window.
115
be7f5545
MR
1162011-11-07 Martin Rudalics <rudalics@gmx.at>
117
118 * window.el (window-combinations): Make WINDOW argument
119 mandatory. Rewrite doc-string.
120 (walk-window-subtree, window-atom-check, window-min-delta)
121 (window-max-delta, window--resize-this-window)
122 (window--resize-root-window-vertically, window-tree)
123 (balance-windows, window-state-put): Rewrite doc-strings as to
124 not mention the term "subwindow".
125 (window--resize-subwindows-skip-p): Rename to
126 window--resize-child-windows-skip-p.
127 (window--resize-subwindows-normal): Rename to
128 window--resize-child-windows-normal.
129 (window--resize-subwindows): Rename to
130 window--resize-child-windows.
131 (window-or-subwindow-p): Rename to window--in-subtree-p.
132
3c6702ef
ML
1332011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
134
135 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
136 Ensure that mbox format messages end in two newlines (Bug#9974).
137
49745b39
CY
1382011-11-06 Chong Yidong <cyd@gnu.org>
139
140 * window.el (window-combination-p): Function deleted; its
141 side-effect is not used in any existing code.
142 (window-combinations, window-combined-p): Call window-*-child
143 directly.
144
24300f5f
CY
1452011-11-05 Chong Yidong <cyd@gnu.org>
146
147 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
148 (window-size-ignore, window-state-get): Callers changed.
149 (window-normalize-window): Rename from window-normalize-any-window.
150 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 151 (window-normalize-live-window): Delete.
447f16b8
CY
152 (window-combination-p, window-combined-p, window-combinations)
153 (walk-window-subtree, window-atom-root, window-min-size)
154 (window-sizable, window-sizable-p, window-size-fixed-p)
155 (window-min-delta, window-max-delta, window-resizable)
156 (window-resizable-p, window-full-height-p, window-full-width-p)
157 (window-current-scroll-bars, window-point-1, set-window-point-1)
158 (window-at-side-p, window-in-direction, window-resize)
159 (adjust-window-trailing-edge, maximize-window, minimize-window)
160 (window-deletable-p, delete-window, delete-other-windows)
161 (record-window-buffer, unrecord-window-buffer)
162 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
163 (quit-window, split-window, window-state-put)
164 (set-window-text-height, fit-window-to-buffer)
165 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 166
89bd5ee1
EZ
1672011-11-04 Eli Zaretskii <eliz@gnu.org>
168
53479029
EZ
169 * mail/rmail.el (rmail-simplified-subject): Decode subject with
170 rfc2047-decode-string.
171 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
172 warnings.
173
89bd5ee1
EZ
174 * window.el (window-body-height, window-body-width): Mention in
175 the doc string that the return values are in frame's canonical
176 units. (Bug#9949)
177
bd17fdee
AM
1782011-11-03 Alan Mackenzie <acm@muc.de>
179
180 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
181 change in cc-engine.el.
182
acc825c5
SM
1832011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * window.el (switch-to-buffer): Use `force-same-window' interactively.
186
1885e5b8
MR
1872011-11-02 Martin Rudalics <rudalics@gmx.at>
188
189 * window.el (quit-window): Call unrecord-window-buffer after
190 showing another buffer in the window. (Bug#9937)
acc825c5 191 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 192
ebe06da9
JB
1932011-11-02 Juanma Barranquero <lekktu@gmail.com>
194
195 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
196 Accept status with more than 9 shelves. (Bug#9935)
197 Reported by Colin D Bennett <colin@gibibit.com>.
198
4ee88440
MR
1992011-11-01 Martin Rudalics <rudalics@gmx.at>
200
201 * help.el (with-help-window): Don't reference
202 temp-buffer-show-specifiers in doc-string.
203
08e1d82c
AS
2042011-10-31 Andreas Schwab <schwab@linux-m68k.org>
205
206 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
207 menu-item.
208
84bd6e9e
VJL
2092011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
210
211 * whitespace.el: New version 13.2.2.
212 (whitespace-newline-mode): Disable properly. Reported by Sarah
213 <EmacsWiki>.
214
dba0634a
UJ
2152011-10-30 Ulf Jasper <ulf.jasper@web.de>
216
217 * net/newst-treeview.el: Remove "Time-stamp".
218 (newsticker--group-manage-orphan-feeds): Do not call
219 newsticker--treeview-tree-update.
db22a3c2
JB
220 (newsticker-treeview-update, newsticker-treeview):
221 Call newsticker--treeview-tree-update if necessary.
dba0634a 222
3d8daefe
MR
2232011-10-30 Martin Rudalics <rudalics@gmx.at>
224
225 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
226 (window-iso-combinations): Remove "iso-" infix.
227 Suggested by Chong Yidong.
3d8daefe
MR
228 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
229 (window-max-delta-1, window-resize, window--resize-siblings)
230 (window--resize-this-window, adjust-window-trailing-edge)
231 (split-window, balance-windows-1)
232 (shrink-window-if-larger-than-buffer):
233 * calendar/calendar.el (calendar-generate-window):
db22a3c2 234 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 235
1bc4c3ae
SM
2362011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
239 in place (bug#9907).
240 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
241 (eshell-rewrite-if-command, eshell-rewrite-for-command)
242 (eshell-structure-basic-command, eshell-rewrite-while-command)
243 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
244 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
245 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
246 (eshell-do-pipelines-synchronously, eshell-eval-command):
247 Use backquotes and prefer setq to set.
248 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
249 (eshell-macrop): Use functionp.
c1e2f5fa 250 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 251
30b65d9c
CY
2522011-10-30 Chong Yidong <cyd@gnu.org>
253
254 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
255 instead of set-mark (Bug#9810).
256
2d197ffb
CY
2572011-10-30 Chong Yidong <cyd@gnu.org>
258
259 * window.el (split-window-below, split-window-right): Rename from
260 split-window-above-each-other and split-window-side-by-side
261 respectively. All callers changed.
262 (split-window-sensibly, split-window-sensibly): Use them.
263 (split-window-keep-point): Doc fix.
264
265 * isearch.el: Add isearch-scroll property to split-window-below
266 and split-window-right.
267
268 * follow.el (follow-mode):
269 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
270 * progmodes/ada-xref.el (ada-gdb-application):
271 * emulation/vip.el (vip-buffer-in-two-windows):
272 * image-dired.el (image-dired-dired-with-window-configuration):
273 * dired-x.el (dired-do-find-marked-files):
274 * dired.el (dired-pop-to-buffer):
275 * bs.el (bs--show-with-configuration):
276 * vc/emerge.el (emerge-setup-windows):
277 * textmodes/two-column.el (2C-two-columns):
278 * textmodes/reftex-toc.el (reftex-toc):
279 * progmodes/gdb-mi.el (gdb-setup-windows):
280 * progmodes/fortran.el (fortran-window-create):
281 * net/newst-treeview.el (newsticker--treeview-window-init):
282 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
283 * emulation/tpu-edt.el (tpu-gold-map):
284 * emulation/crisp.el (crisp-mode-map):
285 * calendar/calendar.el (calendar-basic-setup): Callers changed.
286
38bb2ca8
CY
2872011-10-29 Chong Yidong <cyd@gnu.org>
288
aa4de341
CY
289 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
290
e1eb5385
CY
291 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
292
5d2ece3c
CY
293 * textmodes/flyspell.el (flyspell-word): Fix char offset for
294 forged Ispell output (Bug#7904).
295
38bb2ca8
CY
296 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
297
d0af9f77
SM
2982011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * doc-view.el: Avoid ugly errors about not finding nil.
301 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
302 (doc-view-dvipdf-program, doc-view-unoconv-program)
303 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
304 Avoid nil or absolute file name as default value.
305 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
306
52bedd34
AM
3072011-10-28 Alan Mackenzie <acm@muc.de>
308
db22a3c2 309 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 310
7e43cfa5
AM
3112011-10-28 Alan Mackenzie <acm@muc.de>
312
313 Amend the handling of c-beginning/end-of-defun in nested declaration
314 scopes.
315
52bedd34
AM
316 * progmodes/cc-vars.el (c-defun-tactic): Move here from
317 cc-langs.el. Change it to a defcustom.
7e43cfa5 318
52bedd34
AM
319 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
320 cc-vars.el.
7e43cfa5 321
d0af9f77
SM
322 * progmodes/cc-engine.el (c-beginning-of-statement-1):
323 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 324
52bedd34 325 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 326 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
327 (c-widen-to-enclosing-decl-scope): New function.
328 (c-while-widening-to-decl-block): New macro.
329 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
330 outward for defun boundaries, and correspondingly change symbol
331 `respect-enclosure' to `go-outward'.
332 (c-declaration-limits): Change algorithm to report only the "innermost"
333 defun's boundaries.
334
1a2ce9ee
DD
3352011-10-28 Deniz Dogan <deniz@dogan.se>
336
337 * net/rcirc.el (rcirc-mode): Use hard newlines.
338
bc97a826
AM
3392011-10-28 Alan Mackenzie <acm@muc.de>
340
341 Amend to indent and fontify macros "which include their own semicolon"
342 correctly, using the "virtual semicolon" mechanism.
343
52bedd34 344 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 345
d0af9f77 346 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
acc825c5 347 Recode to scan one line at at time rather than having \n and \r
52bedd34 348 explicitly in c-stmt-delim-chars
bc97a826
AM
349 (for some modes, e.g. AWK).
350 (c-forward-label): Amend for virtual semicolons.
351 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
352
52bedd34
AM
353 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
354 of the new C macros.
bc97a826 355
52bedd34 356 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
357 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
358 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
359 (c-opt-cpp-macro-define): Make into a full language variable.
360 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
361 AWK Mode (including \n, \r) removed, no longer needed.
362
d0af9f77
SM
363 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
364 Invoke c-make-macro-with-semi-re.
bc97a826 365
52bedd34
AM
366 * progmodes/cc-vars.el (c-macro-with-semi-re):
367 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
368 (c-make-macro-with-semi-re): New function
369
7a6c0941
SM
3702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * vc/log-edit.el: Fill empty field rather than adding new one.
373 (log-edit-add-field): New function.
374 (log-edit-insert-changelog): Use it.
375
b0c4cdcf
ML
3762011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
377
378 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
379
ee1f1da9
SM
3802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
383 (gdb--check-interpreter): New function.
384 (gdb): Use it.
385
51bc5f8b
GM
3862011-10-27 Glenn Morris <rgm@gnu.org>
387
416a2c45
GM
388 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
389 (least-positive-float, least-negative-float)
390 (least-positive-normalized-float, least-negative-normalized-float)
391 (float-epsilon, float-negative-epsilon):
392 Remove unnecessary declarations.
393
394 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
395 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
396 (least-positive-float, least-negative-float)
397 (least-positive-normalized-float, least-negative-normalized-float)
398 (float-epsilon, float-negative-epsilon): Add doc-strings,
399 based on those in cl.texi.
400
51bc5f8b
GM
401 * files.el (set-visited-file-name): If the major-mode changed,
402 reload the local variables. (Bug#9796)
403
15de15c6
CY
4042011-10-27 Chong Yidong <cyd@gnu.org>
405
406 * subr.el (change-major-mode-after-body-hook): New hook.
407 (run-mode-hooks): Run it.
408
ee1f1da9
SM
409 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
410 Use change-major-mode-before-body-hook.
15de15c6
CY
411
412 * simple.el (fundamental-mode):
413 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
414 change introducing fundamental-mode-hook.
415
5430d399
JB
4162011-10-26 Juanma Barranquero <lekktu@gmail.com>
417
acc825c5 418 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 419
ad74a69e
MA
4202011-10-26 Michael Albinus <michael.albinus@gmx.de>
421
422 * ido.el (ido-file-name-all-completions-1): Do not require
423 tramp.el explicitely. (Bug#7583)
424
71d4c2a5
SM
4252011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * progmodes/octave-mod.el:
428 * progmodes/octave-inf.el: Update maintainer.
429
b1f6fa26
CY
4302011-10-26 Chong Yidong <cyd@gnu.org>
431
432 * subr.el (with-wrapper-hook): Rewrite doc.
433
3f04efd6
MA
4342011-10-25 Michael Albinus <michael.albinus@gmx.de>
435
436 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 437 filenames "/method:foo:". (Bug#9793)
3f04efd6 438
410488d3
SM
4392011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
442 (bug#9865).
443
c1ebb47e
GM
4442011-10-24 Glenn Morris <rgm@gnu.org>
445
446 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
447
7f5c46c7
MA
4482011-10-24 Michael Albinus <michael.albinus@gmx.de>
449
450 * notifications.el: Add the requirement of a running D-Bus session
451 bus to the Commentary.
452
db2440b6
JL
4532011-10-24 Juri Linkov <juri@jurta.org>
454
455 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
456 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
457 (Bug#9364)
458
feecf435
JL
4592011-10-24 Juri Linkov <juri@jurta.org>
460
461 * info.el (Info-following-node-name-re): Add newline to the list
462 of allowed characters for leading space. (Bug#9824)
463
a3839de2
SM
4642011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
465
acc825c5
SM
466 * progmodes/octave-inf.el (inferior-octave-mode-map):
467 Fix C-c C-h binding.
a3839de2
SM
468 * progmodes/octave-mod.el (octave-help): Remove.
469
09388e76
MA
4702011-10-23 Michael Albinus <michael.albinus@gmx.de>
471
472 Sync with Tramp 2.2.3.
473
474 * net/tramp-cache.el (top): Pacify byte-compiler using
475 `init-file-user' and `site-run-file'.
476
477 * net/trampver.el: Update release number.
478
86c60681
CY
4792011-10-23 Chong Yidong <cyd@gnu.org>
480
481 * files.el (toggle-read-only): Remove obsolete comment about
482 version control.
483
484 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
485 for toggle-read-only. Note that this hasn't called vc-next-action
486 since 2008-05-02, though it wasn't documented at the time.
487
a3839de2
SM
488 * vc/ediff-init.el (ediff-toggle-read-only-function):
489 Use toggle-read-only.
86c60681 490
cd5495ff
AM
4912011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
492
493 Fix bug #9560, sporadic wrong indentation; improve instrumentation
494 of c-parse-state.
495
00b77525 496 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 497 correct faulty logical expression.
cd5495ff
AM
498 (c-parse-state-state, c-record-parse-state-state):
499 (c-replay-parse-state-state): New defvar/defuns.
500 (c-debug-parse-state): Use new functions.
501
42ee24ed
MR
5022011-10-22 Martin Rudalics <rudalics@gmx.at>
503
504 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 505 last fix. Use window-in-direction correctly.
42ee24ed 506
a7dee7e7
CY
5072011-10-21 Chong Yidong <cyd@gnu.org>
508
509 * progmodes/idlwave.el (idlwave-mode):
510 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
511 require-final-newline; that's done in prog-mode.
512 Suggested by Stefan Monnier.
a7dee7e7 513
e07b9a6d
MR
5142011-10-21 Martin Rudalics <rudalics@gmx.at>
515
516 * mouse.el (mouse-drag-window-above)
517 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
518 (mouse-drag-mode-line-1, mouse-drag-header-line)
519 (mouse-drag-vertical-line-rightward-window): Remove.
520 (mouse-drag-line): New function.
521 (mouse-drag-mode-line, mouse-drag-header-line)
522 (mouse-drag-vertical-line): Call mouse-drag-line.
523 * window.el (window-at-side-p, windows-at-side): New functions.
524
7e1361d9
UM
5252011-10-21 Ulrich Mueller <ulm@gentoo.org>
526
527 * tar-mode.el (tar-grind-file-mode):
528 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
529
30fcaf3a
CY
5302011-10-21 Chong Yidong <cyd@gnu.org>
531
532 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
533 * progmodes/vera-mode.el (vera-mode):
534 Use mode-require-final-newline.
30fcaf3a 535
516eddb0
GM
5362011-10-20 Glenn Morris <rgm@gnu.org>
537
db22a3c2 538 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 539
10d5f513
CS
5402011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
541
542 * emulation/cua-base.el (cua-set-mark): Fix case of string.
543
ac6c8639
CY
5442011-10-20 Chong Yidong <cyd@gnu.org>
545
546 * emulation/cua-base.el (cua-mode):
547 * mail/footnote.el (footnote-mode):
548 * mail/mailabbrev.el (mail-abbrevs-mode):
549 * net/xesam.el (xesam-minor-mode):
550 * progmodes/bug-reference.el (bug-reference-mode):
551 * progmodes/cap-words.el (capitalized-words-mode):
552 * progmodes/compile.el (compilation-minor-mode)
553 (compilation-shell-minor-mode):
554 * progmodes/gud.el (gud-tooltip-mode):
555 * progmodes/hideif.el (hide-ifdef-mode):
556 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
557 * progmodes/subword.el (subword-mode):
558 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
559 * progmodes/which-func.el (which-function-mode):
560 * term/tvi970.el (tvi970-set-keypad-mode):
561 * term/vt100.el (vt100-wide-mode):
562 * textmodes/flyspell.el (flyspell-mode):
563 * textmodes/ispell.el (ispell-minor-mode):
564 * textmodes/nroff-mode.el (nroff-electric-mode):
565 * textmodes/paragraphs.el (use-hard-newlines):
566 * textmodes/refill.el (refill-mode):
567 * textmodes/reftex.el (reftex-mode):
568 * textmodes/rst.el (rst-minor-mode):
569 * textmodes/sgml-mode.el (html-autoview-mode)
570 (sgml-electric-tag-pair-mode):
571 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
572 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
573 * emulation/crisp.el (crisp-mode):
574 * emacs-lisp/eldoc.el (eldoc-mode):
575 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
576 minor mode behavior.
577
aa42ab43
JL
5782011-10-19 Juri Linkov <juri@jurta.org>
579
580 * descr-text.el (describe-char): Add #x2010 and #x2011 to
581 the list of hard-coded chars with escape-glyph face.
582
89400f1d
SM
5832011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
586
305c07f6
MA
5872011-10-19 Michael Albinus <michael.albinus@gmx.de>
588
589 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
590 running process.
591
13754b54
GM
5922011-10-19 Glenn Morris <rgm@gnu.org>
593
594 * vc/vc-bzr.el (vc-bzr-after-dir-status):
595 Ignore ignored files. (Bug#9726)
596
06e21633
CY
5972011-10-19 Chong Yidong <cyd@gnu.org>
598
599 Doc fix for minor modes, stating that an omitted argument enables
600 the mode unconditionally when called from Lisp.
601
602 * abbrev.el (abbrev-mode):
603 * allout.el (allout-mode):
604 * autoinsert.el (auto-insert-mode):
605 * autoarg.el (autoarg-mode, autoarg-kp-mode):
606 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
607 (global-auto-revert-mode):
608 * battery.el (display-battery-mode):
609 * composite.el (global-auto-composition-mode)
610 (auto-composition-mode):
611 * delsel.el (delete-selection-mode):
612 * desktop.el (desktop-save-mode):
613 * dired-x.el (dired-omit-mode):
614 * dirtrack.el (dirtrack-mode):
615 * doc-view.el (doc-view-minor-mode):
616 * double.el (double-mode):
617 * electric.el (electric-indent-mode, electric-pair-mode):
618 * emacs-lock.el (emacs-lock-mode):
619 * epa-hook.el (auto-encryption-mode):
620 * follow.el (follow-mode):
621 * font-core.el (font-lock-mode):
622 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
623 * help.el (temp-buffer-resize-mode):
624 * hilit-chg.el (highlight-changes-mode)
625 (highlight-changes-visible-mode):
626 * hi-lock.el (hi-lock-mode):
627 * hl-line.el (hl-line-mode, global-hl-line-mode):
628 * icomplete.el (icomplete-mode):
629 * ido.el (ido-everywhere):
630 * image-file.el (auto-image-file-mode):
631 * image-mode.el (image-minor-mode):
632 * iswitchb.el (iswitchb-mode):
633 * jka-cmpr-hook.el (auto-compression-mode):
634 * linum.el (linum-mode):
635 * longlines.el (longlines-mode):
636 * master.el (master-mode):
637 * mb-depth.el (minibuffer-depth-indicate-mode):
638 * menu-bar.el (menu-bar-mode):
639 * minibuf-eldef.el (minibuffer-electric-default-mode):
640 * mouse-sel.el (mouse-sel-mode):
641 * msb.el (msb-mode):
642 * mwheel.el (mouse-wheel-mode):
643 * outline.el (outline-minor-mode):
644 * paren.el (show-paren-mode):
645 * recentf.el (recentf-mode):
646 * reveal.el (reveal-mode, global-reveal-mode):
647 * rfn-eshadow.el (file-name-shadow-mode):
648 * ruler-mode.el (ruler-mode):
649 * savehist.el (savehist-mode):
650 * scroll-all.el (scroll-all-mode):
651 * scroll-bar.el (scroll-bar-mode):
652 * server.el (server-mode):
653 * shell.el (shell-dirtrack-mode):
654 * simple.el (auto-fill-mode, transient-mark-mode)
655 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
656 (line-number-mode, column-number-mode, size-indication-mode)
657 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
658 * strokes.el (strokes-mode):
659 * time.el (display-time-mode):
660 * t-mouse.el (gpm-mouse-mode):
661 * tool-bar.el (tool-bar-mode):
662 * tooltip.el (tooltip-mode):
663 * type-break.el (type-break-mode-line-message-mode)
664 (type-break-query-mode):
665 * view.el (view-mode):
666 * whitespace.el (whitespace-mode, whitespace-newline-mode)
667 (global-whitespace-mode, global-whitespace-newline-mode):
668 * xt-mouse.el (xterm-mouse-mode): Doc fix.
669
a3839de2
SM
670 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
671 Fix autogenerated docstring.
06e21633 672
5214e501
JL
6732011-10-19 Juri Linkov <juri@jurta.org>
674
675 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
676 by checking environment variables "DESKTOP_SESSION" and
677 "XDG_CURRENT_DESKTOP". (Bug#9779)
678
195f8db9
JL
6792011-10-19 Juri Linkov <juri@jurta.org>
680
681 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
682 (browse-url-chromium-program, browse-url-chromium-arguments):
683 New defcustoms.
684 (browse-url-default-browser): Check for `browse-url-chromium' and
685 call `browse-url-chromium-program'.
686 (browse-url-chromium): New command. (Bug#9779)
687
343a34ff
JB
6882011-10-18 Juanma Barranquero <lekktu@gmail.com>
689
690 * facemenu.el (list-colors-duplicates): On Windows, detect more
691 duplicates by assuming that only colors matching "^System" are
692 special "system colors". (Bug#9722)
693
6978a151
SM
6942011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
697 to distinguish the author from the committer.
698
6a80b297
MA
6992011-10-18 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
702
b31a5677
JK
7032011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
704
705 * international/mule.el (sgml-html-meta-auto-coding-function):
706 Add support for detecting encoding in HTML5 specified only as
707 <meta charset="UTF-8">. Implementation just makes http-equiv and
708 content-type parts from HTML4 encoding string optional. (Bug#9716)
709
80c6d77f
GM
7102011-10-18 Glenn Morris <rgm@gnu.org>
711
712 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
713
08b0fee8
CY
7142011-10-18 Chong Yidong <cyd@gnu.org>
715
716 * faces.el (cursor): Doc fix.
717
67e729a5
CY
7182011-10-17 Chong Yidong <cyd@gnu.org>
719
720 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
721
343a34ff 7222011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
723
724 * dirtrack.el (dirtrack): Support shell buffers with path
725 prefixes, e.g. tramp-based remote shells. (Bug#9647)
726
0bc06380
TZ
7272011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
728
729 * json.el: Bump version to 1.3 and note change in History.
730 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
731
8b79f3e0
SM
7322011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
733
5a7c536b
SM
734 * comint.el (comint-insert-input, comint-send-input)
735 (comint-get-old-input-default, comint-backward-matching-input)
736 (comint-next-prompt): Use nil instead of `input' for field property of
737 past user input (bug#114).
738
96a8a0df
SM
739 * minibuffer.el (completion--replace): Inherit surrounding properties
740 (bug#114).
741 (minibuffer-complete-and-exit): Use it.
742
8b79f3e0
SM
743 * comint.el (comint--table-subvert): Quote the all-completions output
744 (bug#9160).
745
b8f7ff0d
MR
7462011-10-17 Martin Rudalics <rudalics@gmx.at>
747
8b79f3e0 748 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 749
b8f7ff0d 750 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 751 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
752 entries and separate them from frame entries.
753
c235b555
GM
7542011-10-15 Glenn Morris <rgm@gnu.org>
755
756 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
757 Doc fixes.
758
6bbfa6e1
CY
7592011-10-15 Chong Yidong <cyd@stupidchicken.com>
760
8b79f3e0
SM
761 * net/network-stream.el (network-stream-open-starttls):
762 Improve detection of failure due to lack of TLS support.
ec5c990d 763
6bbfa6e1
CY
764 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
765 putting the input text in front and in bold.
766
98488977
SM
7672011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
768
3d1337be
SM
769 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
770
ee0b45e4
SM
771 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
772 empty buffer.
773
98488977
SM
774 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
775 unread-command-events rather than pushing yet-another event.
776
186f4720
EZ
7772011-10-14 Eli Zaretskii <eliz@gnu.org>
778
779 * mail/sendmail.el (sendmail-query-once): Improve the wording of
780 the explanation of the possible choices. Make the options passed
781 to completing-read shorter.
782
8b7a997c
AM
7832011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
784
785 * textmodes/flyspell.el (flyspell-large-region): Make sure
786 extended character mode is used if defined (Bug#1339).
787
12587bbb
EZ
7882011-10-13 Eli Zaretskii <eliz@gnu.org>
789
790 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
791 character info for LRE, LRO, RLE, and RLO characters by appending
792 an invisible PDF.
12587bbb 793
bad41229
SM
7942011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
797 even in case of error; add debug spec; simplify data flow.
798 (with-timeout-handler): Remove.
799
28dbc92f
MA
8002011-10-12 Michael Albinus <michael.albinus@gmx.de>
801
802 Fix Bug#6019, Bug#9315.
803
804 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
805 complete `buffer-file-name', the local file name part could look
806 remotely (for example on VMS).
807
808 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
809 `tramp-run-real-handler'.
810 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
811 already quoted by '"'.
812
813 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
814 Let `file-name-handler-alist' be nil, the local file name part
815 could look remotely (for example on VMS).
816
e1b0b23a
SM
8172011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
820 from here...
821 (flyspell-post-command-hook): ...to here.
822
a120bde9
SM
8232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
826 if not needed.
827 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
828 using completion. Protect against "slow" callers.
829 Remove the "message hack".
830
7ce7717b
JL
8312011-10-11 Juri Linkov <juri@jurta.org>
832
833 * isearch.el (isearch-lazy-highlight-word): New variable.
834 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
835 Use it. (Bug#9727)
836
c02ee9d6
GM
8372011-10-11 Glenn Morris <rgm@gnu.org>
838
839 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
840 like f90-previous-statement does.
841
93e616fd 8422011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
843
1f190e73 844 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
845 only in interactive use, to avoid error.
846
af7b6078
SM
8472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * minibuffer.el (completion-file-name-table): Fix last change,
850 i.e. ignore normal errors but not the other ones.
851
0563dae9
MR
8522011-10-10 Martin Rudalics <rudalics@gmx.at>
853
854 * window.el (special-display-buffer-names)
855 (special-display-regexps): Remove some remnants of earlier
856 changes from doc-strings.
366ca7f3
MR
857 (quit-windows-on): New function.
858
859 * vc/vc.el (vc-revert, vc-rollback):
860 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
861 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 862 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 863
49677495
MR
8642011-10-09 Martin Rudalics <rudalics@gmx.at>
865
866 * window.el (frame-auto-hide-function): Add version tag.
867 (Bug#9699)
868
56f2d1e1
MA
8692011-10-09 Michael Albinus <michael.albinus@gmx.de>
870
871 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
872 condition.
873
112a6592
LL
8742011-10-09 Leo Liu <sdl.web@gmail.com>
875
876 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
877 (Bug#9701)
878
0812589b
GM
8792011-10-08 Glenn Morris <rgm@gnu.org>
880
881 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
882 before the first code statement zero indent. (Bug#9690)
883
b2b0776e
CY
8842011-10-08 Chong Yidong <cyd@stupidchicken.com>
885
886 * simple.el (count-words-region): Always count in the region.
887 Report the number of lines and characters too.
888 (count-words): New command, which counts in the buffer if the
889 region is inactive, as count-words-region used to.
890 (count-words--message): New function. Handle plurals.
891 (count-lines-region): Make it an alias for count-words-region.
892
893 * bindings.el (esc-map): Replace count-lines-region with
894 count-words-region.
895
c557cd6b
MR
8962011-10-08 Martin Rudalics <rudalics@gmx.at>
897
898 * window.el (window--delete): Delete dedicated frame
899 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 900 (switch-to-buffer): Fix doc-string typo.
c557cd6b 901
61a57ef4 9022011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
903
904 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
905
c3833279
CY
9062011-10-07 Chong Yidong <cyd@stupidchicken.com>
907
908 * bindings.el ([M-left],[M-right]): Bind to left-word and
909 right-word respectively.
910
21ce8245
GM
9112011-10-07 Glenn Morris <rgm@gnu.org>
912
913 * cus-start.el (debug-on-quit): Fix custom type.
914
6d823bb2
LMI
9152011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
916
0181e193
LMI
917 * subr.el (define-key-after): Clarify that the function is not
918 useful for non-menu keymaps.
919
6d823bb2
LMI
920 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
921
8e3459ce 9222011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
923
21ce8245 924 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 925 in current minibuffer (Fix bug with recursive minibuffers).
926
a1c2d21e
CY
9272011-10-06 Chong Yidong <cyd@stupidchicken.com>
928
929 * progmodes/gdb-mi.el (gdb): Doc fix.
930
5a4cf282
MR
9312011-10-05 Martin Rudalics <rudalics@gmx.at>
932
933 * window.el (frame-auto-hide-function): New option replacing
934 frame-auto-delete. Suggested by Stefan Monnier.
935 (window--delete): Call frame-auto-hide-function instead of
936 investigating frame-auto-delete.
c96111ea
MR
937 (window-point-1, set-window-point-1): New functions.
938 (window-in-direction, record-window-buffer, window-state-get-1)
939 (display-buffer-record-window): Use window-point-1 instead of
940 window-point.
941 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 942
9854542e
SM
9432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
946
8943cfb0
GM
9472011-10-05 Glenn Morris <rgm@gnu.org>
948
949 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
950 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
951
647ab967
LL
9522011-10-05 Leo Liu <sdl.web@gmail.com>
953
954 * subr.el (read-char-choice): Fix argument to buffer-live-p which
955 works with buffer object.
956
3ddfbced
SM
9572011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * mpc.el (mpc-tool-bar-map): Add labels.
960
bdfa5dd2
GM
9612011-10-04 Glenn Morris <rgm@gnu.org>
962
963 * calendar/holidays.el (calendar-check-holidays): Doc fix.
964
0e2070b5
MR
9652011-10-04 Martin Rudalics <rudalics@gmx.at>
966
967 * window.el (window--delete): New function.
968 (frame-auto-delete): Resuscitate option.
969 (bury-buffer, replace-buffer-in-windows)
970 (quit-window): Rewrite using window--delete.
971 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
972 Pass display-buffer-mark-dedicated to window--display-buffer-2
973 (Bug#9639).
974
3dc61a09
SM
9752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
976
915a9b64
SM
977 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
978 returns a list (bug#9554). Add remote file name completion.
979 * comint.el (comint--table-subvert): Curry and get quote&unquote
980 functions as arguments.
981 (comint--complete-file-name-data): Adjust call accordingly.
982 * pcomplete.el (pcomplete--table-subvert): Remove.
983 (pcomplete-completions-at-point): Use comint--table-subvert instead.
984
3dc61a09
SM
985 * minibuffer.el (completion-table-case-fold): Use currying.
986 (completion--styles-type, completion--cycling-threshold-type):
987 New constants.
988 (completion-styles, completion-category-overrides)
989 (completion-cycle-threshold): Use them.
990 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
991 completion-table-case-fold.
992
8ea0a993
SB
9932011-10-03 Stephen Berman <stephen.berman@gmx.net>
994
995 * minibuffer.el (completion-category-overrides): Fix type of styles
996 and add more user friendly tags (bug#9660).
997
8c24b7f6
SM
9982011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1001 (mule-input-method-string): New widget.
1002 (default-input-method, language-info-custom-alist): Use it.
1003
428fe61a
SM
10042011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1005
32c1fffd
SM
1006 * pcomplete.el: Require comint.
1007 (pcomplete--common-suffix): Remove.
1008 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1009 (pcomplete--table-subvert): Sync with comint--table-subvert.
1010 (pcomplete--entries): Use comint-completion-file-name-table.
1011 * comint.el (comint-unquote-filename): Simplify.
1012 (comint-completion-file-name-table): New function (bug#9616).
1013 (comint--complete-file-name-data): Use it.
1014
428fe61a
SM
1015 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1016 (pcmpl-gnu-tar-buffer): Remove.
1017 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1018 around. Make sure pcomplete-suffix-list is only changed temporarily.
1019 Don't look inside the tar's file if it's too large.
428fe61a 1020
04c52e2f
CY
10212011-10-01 Chong Yidong <cyd@stupidchicken.com>
1022
ce3cefcc
CY
1023 * cus-edit.el (custom-mode-map):
1024 * epa.el (epa-key-list-mode-map):
1025 * man.el (Man-mode-map):
1026 * startup.el (splash-screen-keymap):
1027 * simple.el (special-mode-map): Use scroll-up-command and
1028 scroll-down-command.
1029
1030 * progmodes/idlw-help.el (idlwave-help-mode-map):
1031 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1032 * net/newst-plainview.el (newsticker-mode-map):
1033 * emulation/ws-mode.el (wordstar-mode-map):
1034 * emulation/vi.el (vi-com-map):
1035 * calc/calc-graph.el (calc-graph-show-dumb):
1036 * term/sun.el (terminal-init-sun):
1037 * term/ns-win.el (global-map):
1038 * progmodes/grep.el (grep-mode-map):
1039 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1040 * mail/rmail.el (rmail-mode-map):
1041 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1042
04c52e2f
CY
1043 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1044 custom-safe-themes as special.
1045
79adf8c8
JD
10462011-10-01 Julien Danjou <julien@danjou.info>
1047
1048 * notifications.el (notifications-notify): Fix docstring.
1049
63bd50d3
PS
10502011-10-01 Per Starbäck <per@starback.se>
1051
1052 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1053
199e4c7e
MR
10542011-09-30 Martin Rudalics <rudalics@gmx.at>
1055
1056 * startup.el (command-line-1): Fix last fix by inserting
1057 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1058 (Bug#9605) and (Bug#9636)
199e4c7e 1059
fe5f08dd
EZ
10602011-09-29 Eli Zaretskii <eliz@gnu.org>
1061
1062 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1063 window is hscrolled, move by logical lines. (Bug#9607)
1064 (line-move-visual): Update the doc string to the above effect.
1065
b5516bbd
MR
10662011-09-29 Martin Rudalics <rudalics@gmx.at>
1067
ccee00c0
MR
1068 * window.el (display-buffer-record-window): When WINDOW is the
1069 selected window use `point' instead of `window-point'. (Bug#9626)
1070
b5516bbd
MR
1071 * startup.el (command-line-1): Use insert-before-markers when
1072 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1073
b5516bbd
MR
1074 * help.el (help-window): Remove variable.
1075
52aa0014
GM
10762011-09-29 Glenn Morris <rgm@gnu.org>
1077
1078 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1079
df9a7357
JB
10802011-09-29 Juanma Barranquero <lekktu@gmail.com>
1081
1082 * descr-text.el (describe-char-categories): Accept category
1083 descriptions more than one line long.
1084
a8406c20
SM
10852011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1086
88d9610c
SM
1087 * simple.el (delete-trailing-whitespace): Fix last change.
1088
a5daf810
SM
1089 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1090 Don't confuse "y => 3" as the beginning of a `y' operation.
1091
a8406c20
SM
1092 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1093 object has more than 4 slots (bug#9613).
1094
a239d4e9
JB
10952011-09-28 Juanma Barranquero <lekktu@gmail.com>
1096
1097 * subr.el (with-output-to-temp-buffer):
1098 * net/quickurl.el (quickurl, quickurl-browse-url):
1099 Fix typos in docstrings.
1100
693fbdb6
EZ
11012011-09-27 Eli Zaretskii <eliz@gnu.org>
1102
1103 * minibuffer.el (completion-styles)
1104 (completion-category-overrides): Cross reference each other in doc
1105 strings.
1106
8b457e28
GM
11072011-09-27 Glenn Morris <rgm@gnu.org>
1108
1109 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1110 to split-string. (Bug#9606)
1111
85a16208
LMI
11122011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1113
1114 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1115 (bug#9615).
1116
502f9ebd
CY
11172011-09-27 Chong Yidong <cyd@stupidchicken.com>
1118
1119 * emacs-lisp/package.el (list-packages): Fix echo area message.
1120
7690bdea
LL
11212011-09-27 Leo Liu <sdl.web@gmail.com>
1122
1123 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1124
e2ee6f30
MA
11252011-09-25 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/dbus.el (dbus-unregister-object): Don't release services for
1128 registered signals. (Bug#9581)
1129
f3f98342
TZ
11302011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1131
1132 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1133 function that picks between cfengine 2 and 3 support
1134 automatically. Update docs accordingly.
1135
dd7aa8dd
KH
11362011-09-22 Kenichi Handa <handa@m17n.org>
1137
1138 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1139 ZERO.
1140 (indian-itrans-v5-table-for-tamil): New variable.
1141 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1142
3f2b07f8
KM
11432011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1144
1145 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1146 that's true if the current command involved collapsing of text.
1147 It's reset to false at the beginning of the next command.
1148 (allout-post-command-business): Move the cursor to the beginning
1149 of entry if the cursor is hidden and collapsing activity just
1150 happened.
1151
371d6a61
CY
11522011-09-24 Chong Yidong <cyd@stupidchicken.com>
1153
1154 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1155 tracking (Bug#9541).
1156
2ac2721a
UJ
11572011-09-24 Ulf Jasper <ulf.jasper@web.de>
1158
1159 * net/newst-reader.el (newsticker-html-renderer)
1160 (newsticker-show-news): Automatically
343a34ff
JB
1161 load html rendering package if newsticker-html-renderer is set.
1162 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1163 let-bound" and the error "Symbol's value as variable is void:
1164 w3m-fill-column".
1165
fac7ae53
MA
11662011-09-24 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1169 Release services only if they are defined. (Bug#9581)
1170
e08b633b
RS
11712011-09-23 Richard Stallman <rms@gnu.org>
1172
e488d29c
RS
1173 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1174 distinguish start of paragraph from start of its text.
1175
19c38752
RS
1176 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1177
e08b633b
RS
1178 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1179 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1180 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1181
0a39f27e
AS
11822011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1183
1184 * international/mule-diag.el (mule-diag): Insert a newline after
1185 each fontset description.
1186
db4e950d
SM
11872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * simple.el (delete-trailing-whitespace):
1190 Document last change; simplify.
1191
eca3f3ea
PW
11922011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1193
d68e189a
PW
1194 * simple.el (delete-trailing-whitespace): Also delete
1195 extra newlines at the end of the buffer.
1196
eca3f3ea
PW
1197 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1198 (picture-newline): Use forward-line so as to ignore fields.
1199
01c157cc
SM
12002011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * subr.el (with-wrapper-hook): Fix edebug spec.
1203
022de23e
LMI
12042011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1205
1206 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1207 (bug#4538).
1208
91683089
MA
12092011-09-23 Michael Albinus <michael.albinus@gmx.de>
1210
eca3f3ea
PW
1211 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1212 Fix nasty bug using wrong cached values.
91683089 1213
5bdd6fa4
AM
12142011-09-23 Alan Mackenzie <acm@muc.de>
1215
1216 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1217
97adfb97
CY
12182011-09-23 Chong Yidong <cyd@stupidchicken.com>
1219
1220 * window.el (pop-to-buffer): Ensure right window is selected if we
1221 chose another frame.
1222
d4ef2b50
EZ
12232011-09-22 Eli Zaretskii <eliz@gnu.org>
1224
1225 * simple.el (what-cursor-position): Use get-char-property-change
1226 and next-single-char-property-change, to be able to show display
1227 properties that come from overlays as well as text properties.
1228
72258fe5
CY
12292011-09-22 Chong Yidong <cyd@stupidchicken.com>
1230
1231 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1232
1233 * cmuscheme.el (run-scheme, switch-to-scheme):
1234 * cus-edit.el (customize-group, custom-buffer-create)
1235 (customize-browse):
1236 * info.el (info):
1237 * shell.el (shell):
1238 * mail/sendmail.el (mail):
1239 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1240
8f098516
RS
12412011-09-22 Richard Stallman <rms@gnu.org>
1242
1243 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1244 move back only to line beg, don't move back over blank lines.
1245
e74f1bb6
MA
12462011-09-22 Michael Albinus <michael.albinus@gmx.de>
1247
1248 * files.el (copy-directory): Set directory attributes only in case
1249 they could be retrieved from the source directory. (Bug#9565)
1250
bfeef8b6
DK
12512011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1252
1253 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1254 (hs-find-block-beginning, hs-hide-level-recursive):
1255 Ignore strings as well as comments. (Bug#9502)
1256
7e423bb8
AS
12572011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1258
1259 * progmodes/sql.el (sql-comint-postgres):
1260 Convert port number to a string. (Bug#9566)
1261
b4d72fcf
MR
12622011-09-22 Martin Rudalics <rudalics@gmx.at>
1263
1264 * window.el (quit-window): Undedicate window when switching to
1265 previous buffer. Reported by Thierry Volpiatto
1266 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1267 (special-display-popup-frame): When popping up a new frame reset
1268 its previous buffers to nil. Simplify code.
b4d72fcf 1269
a7b88dc6
MA
12702011-09-21 Michael Albinus <michael.albinus@gmx.de>
1271
1272 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1273 and process filter, as done also in `shell-command'.
1274
cf4eacfd
MR
12752011-09-21 Martin Rudalics <rudalics@gmx.at>
1276
eca3f3ea
PW
1277 * window.el (set-window-buffer-start-and-point):
1278 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1279 Volpiatto <thierry.volpiatto@gmail.com>.
1280 (quit-window): Reword doc-string. Handle new format of
1281 quit-restore parameter. Don't delete window if it has a
1282 previous buffer we can show instead of the present one.
1283 (display-buffer-record-window): Rewrite using a new format for
1284 the quit-restore window parameter
1285 (special-display-popup-frame, display-buffer-same-window)
1286 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1287 (display-buffer-pop-up-window, display-buffer-use-some-window):
1288 Adapt symbol passed to display-buffer-record-window.
1289 * help.el (help-window-setup): Handle new format of quit-restore
1290 parameter.
1291
8d28cb95
SM
12922011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1293
94ab793f
SM
1294 * faces.el (face-list): Fix docstring (bug#9564).
1295
8d28cb95
SM
1296 * window.el (display-buffer--action-function-custom-type):
1297 Don't include internal functions in the Custom interface.
1298
3820edeb
JL
12992011-09-20 Juri Linkov <juri@jurta.org>
1300
1301 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1302 (Info-forward-node, Info-backward-node, Info-next-preorder)
1303 (Info-last-preorder): Use it. (Bug#9528)
1304
5147931d
JL
13052011-09-20 Juri Linkov <juri@jurta.org>
1306
1307 * info.el (Info-last-preorder): Visit last menu item only when
1308 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1309
cf499a1a
JD
13102011-09-20 Julien Danjou <julien@danjou.info>
1311
1312 * password-cache.el (password-cache-remove): Remove entries even if the
1313 value is nil, so that password with a nil value (negative caching) is
1314 possible to invalidate.
1315
f84e2fe2
LM
13162011-09-20 Lawrence Mitchell <wence@gmx.li>
1317
1318 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1319 all whitespace around breakpoint. (Bug#9553)
1320 (f90-find-breakpoint): Only break at whitespace inside a comment.
1321
78054a46
SM
13222011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * minibuffer.el (completion-file-name-table): Keep track of errors.
1325 (completion-table-with-predicate): Handle the case where pred1 is nil.
1326 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1327
345083b2
SM
13282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1329
e24e27be
SM
1330 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1331 (debugger-return-value): Signal an error if the debugging context does
1332 not await any return value.
1333
345083b2
SM
1334 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1335 * image-mode.el (image-toggle-display-text)
1336 (image-toggle-display-image): Stay away from evil `intangible'.
1337
08d355e3
LL
13382011-09-19 Leo Liu <sdl.web@gmail.com>
1339
1340 * replace.el (occur-revert-arguments): Make it permanent-local.
1341 (occur-mode): Don't call font-lock-defontify.
1342
f01da43f
CY
13432011-09-19 Chong Yidong <cyd@stupidchicken.com>
1344
1345 * net/ldap.el (ldap-search-internal): Don't push empty search
1346 result (Bug#9508).
1347
b6072fa6
SM
13482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1351
443d6696
MA
13522011-09-19 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1355 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1356
7cc6e154
JL
13572011-09-18 Juri Linkov <juri@jurta.org>
1358
1359 * buff-menu.el (Buffer-menu-mode-map):
1360 * dired.el (dired-mode-map):
1361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1362 (lisp-interaction-mode-map):
1363 * emacs-lisp/package.el (package-menu-mode-map):
1364 * epa.el (epa-key-list-mode-map):
1365 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1366 (menu-bar-options-menu):
1367 * outline.el (outline-mode-menu-bar-map):
1368 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1369 * vc/vc-dir.el (vc-dir-menu-map):
1370 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1371 Capitalize non-function content words in menu item strings.
1372
1373 * dired.el (dired-mode-map): Add menu item for
1374 `image-dired-dired-toggle-marked-thumbs'.
1375
80302a81
JL
13762011-09-18 Juri Linkov <juri@jurta.org>
1377
1378 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1379 to `isearch-case-fold-search' and restore its original value
1380 after the `isearch-mode' call.
1381
46c5cf66
JL
13822011-09-18 Juri Linkov <juri@jurta.org>
1383
1384 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1385 because `zgrep' returns 1 for successful matches (bug#9226).
1386
d18b513b
JL
13872011-09-18 Juri Linkov <juri@jurta.org>
1388
1389 * info.el (Info-extract-menu-node-name): Check the second match
1390 for empty string (second test-case of bug#9528).
1391 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1392 intermediate nodes to the history (first test-case of bug#9528).
1393
72753f87
JL
13942011-09-18 Juri Linkov <juri@jurta.org>
1395
1396 * info.el (Info-mode-syntax-table): New variable.
1397 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1398
c9384295
JL
13992011-09-18 Juri Linkov <juri@jurta.org>
1400
1401 * info.el (Info-file-supports-index-cookies): Increment
1402 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1403 one more line for long file names (bug#4142).
1404
d473dce8
CY
14052011-09-18 Chong Yidong <cyd@stupidchicken.com>
1406
1407 * newcomment.el (comment-normalize-vars): If prompting for
1408 comment-start, set comment-start-skip too (Bug#8424).
1409
2176854d
JB
14102011-09-18 Johan Bockgård <bojohan@gnu.org>
1411
1412 * icomplete.el: Fix previous fix of Bug#5849.
1413 (icomplete-mode): Don't set completion-show-inline-help.
1414 (icomplete-minibuffer-setup): Set completion-show-inline-help
1415 locally during icompletion.
1416
3aace4e4
CY
14172011-09-18 Chong Yidong <cyd@stupidchicken.com>
1418
c940224f
CY
1419 * woman.el (woman2-process-escapes): Don't delete unrecognized
1420 escapes (Bug#7843).
1421
3aace4e4
CY
1422 * files.el (inhibit-first-line-modes-regexps): Add image files.
1423 (hack-local-variables-prop-line): Return nil for malformed
1424 prop-lines (Bug#9044).
1425
710dec63
MA
14262011-09-18 Michael Albinus <michael.albinus@gmx.de>
1427
1428 * net/tramp.el (top): Don't require 'shell.
1429 (tramp-methods): Fix docstring.
1430 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1431 Return complete remote file name. Handle "smb" case.
1432 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1433 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1434
1435 * net/tramp-compat.el (top): Require 'shell.
1436
1437 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1438 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1439 `tramp-current-host'.
1440 (tramp-get-remote-tmpdir): Remove.
1441
1442 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1443 `tramp-tmpdir' entries.
1444 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1445 (tramp-smb-handle-file-attributes): Ignore errors.
1446 (tramp-smb-wait-for-output): Check also for process end.
1447
5d5ac8ec
LMI
14482011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1449
1450 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1451 when sending QUIT (bug#9312).
1452
8c0f49f0
CY
14532011-09-17 Chong Yidong <cyd@stupidchicken.com>
1454
1455 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1456 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1457 occur-mode-display-occurrence.
1458 (occur-edit-mode): Add usage message.
1459 (occur-cease-edit): New command.
1460 (occur-after-change-function): Use text properties to find the
1461 position of the prefix text.
1462 (occur-engine): Set stickiness of prefix text properties.
1463
8f1383f7
GM
14642011-09-17 Glenn Morris <rgm@gnu.org>
1465
1466 * progmodes/etags.el (complete-tag):
1467 Fix call to completion-in-region. (Bug#9526)
1468
744ba0e3
JL
14692011-09-17 Juri Linkov <juri@jurta.org>
1470
1471 * textmodes/ispell.el (ispell-word): Add to the error message
1472 the word, ispell program name and current dictionary (bug#9121).
1473 (ispell-tex-arg-end): Capitalize "error" in the error message.
1474
d9bbf400
AS
14752011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1476
1477 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1478 check. (Bug#4251)
1479
8da11505
JL
14802011-09-17 Juri Linkov <juri@jurta.org>
1481
1482 * window.el (window-safe-min-height, window-safe-min-width):
1483 Fix typos (followup to bug#9522).
1484
a91adc7e
SJ
14852011-09-17 Sven Joachim <svenjoac@gmx.de>
1486
1487 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1488
064f328a
EZ
14892011-09-16 Eli Zaretskii <eliz@gnu.org>
1490
1491 * simple.el (line-move): If goal-column is set, move by logical
1492 lines, not by display lines. (Bug#971)
1493 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1494 to reflect the above change.
1495
e69df516
SM
14962011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * image.el (imagemagick-register-types): Use regexp-opt.
1499
cbb0f9ab
CY
15002011-09-15 Chong Yidong <cyd@stupidchicken.com>
1501
1502 * window.el (display-buffer-base-action): Rename from
1503 display-buffer-default-action. Make default value empty.
1504 (display-buffer-overriding-action): Convert to defvar.
1505 (display-buffer-fallback-action): New var.
1506
25322144
CY
15072011-09-15 Chong Yidong <cyd@stupidchicken.com>
1508
1509 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1510 declaration.
1511 (package--add-to-archive-contents): If there is a duplicate entry
1512 with an older version, remove it.
1513 (package-menu-mark-delete, package-menu-mark-install)
1514 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1515 (package-menu-mark-obsolete-for-deletion):
1516 Use package-menu-get-status instead of a regexp search.
25322144
CY
1517 (package-menu-get-status): Use tabulated-list-entry.
1518 (package-menu-mark-upgrades): New command.
d770725a 1519 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1520 (package-menu-execute): Do installation before deletion.
1521 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1522 instead of checking major-mode.
1523 (package-menu--find-upgrades): New function.
1524
7520339c
LMI
15252011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1526
1527 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1528 passwords in the log buffer.
65a046c4
LMI
1529 (smtpmail-process-filter): Update the process marker so that the
1530 "broken by peer" status message is inserted in the right place.
7520339c 1531
d3c30954
SM
15322011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1533
3fe48822
SM
1534 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1535 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1536 bibtex-completion-at-point-function.
1537 (bibtex-completion-at-point-function): Use them.
1538
1b8b3954
SM
1539 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1540
d3c30954
SM
1541 * mpc.el (mpc-constraints-tag-lookup): New function.
1542 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1543 also to browser "album|playlist".
1544
72779976
JL
15452011-09-14 Juri Linkov <juri@jurta.org>
1546
1547 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1548 (isearch-edit-string): Use length of `isearch-string' when
1549 `isearch-fail-pos' returns nil.
1550 (isearch-message): Remove duplicate code and call
1551 `isearch-fail-pos' with arg `t'.
1552
a0bf2bcd
CY
15532011-09-14 Chong Yidong <cyd@stupidchicken.com>
1554
17bb0a2d
CY
1555 * replace.el (occur-mode-goto-occurrence): Don't force using other
1556 window (Bug#9499).
1557
a0bf2bcd
CY
1558 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1559
f678e0b6
MR
15602011-09-14 Martin Rudalics <rudalics@gmx.at>
1561
1562 * window.el (display-buffer-window): Remove.
1563 (display-buffer-record-window): Use help-setup window parameter
1564 instead of variable display-buffer-window.
1565 (display-buffer-function, special-display-buffer-names)
1566 (special-display-function): Mention help-setup parameter instead
1567 of display-buffer-window in doc-string.
d3c30954
SM
1568 * help.el (help-window-setup): New argument help-window.
1569 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1570 Reword some messages.
1571 (with-help-window): Pass window used for displaying the buffer
1572 to help-window-setup. Don't set display-buffer-window.
1573
8e39b2e8
GM
15742011-09-13 Glenn Morris <rgm@gnu.org>
1575
1576 * emacs-lisp/debug.el (debugger-make-xrefs):
1577 Preserve point. (Bug#9462)
1578
85e9c04b
CY
15792011-09-13 Chong Yidong <cyd@stupidchicken.com>
1580
1581 * window.el (window-deletable-p): Use next-frame.
1582
1b36ed6a
MR
15832011-09-13 Martin Rudalics <rudalics@gmx.at>
1584
1585 * window.el (window-auto-delete): Remove.
1586 (window-deletable-p): Remove argument FORCE. Don't deal with
1587 dedicatedness and previous buffers.
1588 (switch-to-prev-buffer): Don't delete window.
1589 (delete-windows-on): Delete a window's frame if and only if the
1590 window is dedicated.
1591 (replace-buffer-in-windows): Delete buffer's window or frame if
1592 and only if window is dedicated.
1593 (quit-window): Handle quit-restore as before last change.
4d61f28d 1594 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1595
ef8ef9fb
CY
15962011-09-13 Chong Yidong <cyd@stupidchicken.com>
1597
1598 * window.el (window-deletable-p): Never delete the last frame on a
1599 given terminal.
1600
b2cba41e
GM
16012011-09-13 Glenn Morris <rgm@gnu.org>
1602
1603 * help.el (describe-key-briefly): Copy previous standard-output change.
1604
51553db6 16052011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1606
1607 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1608
b7556719
GM
16092011-09-13 Glenn Morris <rgm@gnu.org>
1610
1611 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1612 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1613
64b51947
CY
16142011-09-12 Chong Yidong <cyd@stupidchicken.com>
1615
1616 * dired-aux.el (dired-mark-read-string): Don't return default
1617 value on empty input (Bug#9361).
1618 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1619 Omit initial minibuffer contents.
1620 (dired-do-chmod): Signal an error on empty input.
1621 (dired-mark-read-string): Don't return default on empty input.
1622
1623 * files.el (file-modes-symbolic-to-number): Doc fix.
1624
393a301e
SM
16252011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * international/mule-cmds.el (ucs-completions): Remove.
1628 (read-char-by-name): Use complete-with-action instead; add metadata.
1629
fa5660f9
CY
16302011-09-11 Chong Yidong <cyd@stupidchicken.com>
1631
1632 * window.el (display-buffer--action-function-custom-type)
1633 (display-buffer--action-custom-type): New vars.
1634 (display-buffer-alist, display-buffer-default-action)
1635 (display-buffer-overriding-action): Add defcustom types.
1636
4a592f66
CY
1637 * frame.el (delete-other-frames): Doc fix (Bug#276).
1638
73d56dbd
LMI
16392011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1640
1641 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1642
37ac18a3
CY
16432011-09-11 Chong Yidong <cyd@stupidchicken.com>
1644
1645 Change modes that used same-window-* vars to use switch-to-buffer.
1646
1647 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1648 Use switch-to-buffer.
1649
1650 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1651 (customize-browse, custom-buffer-create-other-window):
1652 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1653
1654 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1655 (Info-prev, Info-up, Info-speedbar-goto-node)
1656 (info-display-manual): Use switch-to-buffer.
1657 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1658
1659 * mail/sendmail.el (mail): Use switch-to-buffer.
1660 (mail-recover): Use switch-to-buffer-other-window.
1661
1662 * cmuscheme.el (run-scheme, switch-to-scheme):
1663 * ielm.el (ielm):
1664 * shell.el (shell):
1665 * net/rlogin.el (rlogin):
1666 * net/telnet.el (telnet, rsh):
1667 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1668
10195bd6
AS
16692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1670
1671 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1672
b322f63a
LMI
16732011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1674
39d7fed6
LMI
1675 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1676 so don't mention it (bug#9301).
ba5a81f1 1677 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1678
ee0e9f11
LMI
1679 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1680 match `x', `w32' and `ns', like the manual says (bug#9029).
1681
0b1c89c1 1682 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1683 (process-kill-buffer-query-function): Mention the buffer name in
1684 the query.
0b1c89c1 1685
77549ea8
LMI
1686 * image-mode.el (image-next-line): The line parameter is mandatory
1687 (bug#9258).
1688
803ef892
LMI
1689 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1690 which can be useful (bug#9301).
1691
12980837
LMI
1692 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1693
91054f8f
LMI
1694 * subr.el (match-string): Mention that the current buffer should
1695 be the same as the search was done in (bug#9282).
1696
b322f63a
LMI
1697 * facemenu.el: Disable the remove-* commands if the mark isn't
1698 active (bug#9162).
1699
3199b96f
CY
17002011-09-10 Chong Yidong <cyd@stupidchicken.com>
1701
1702 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1703 of display-buffer.
1704 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1705
1706 * replace.el (occur-mode-goto-occurrence)
1707 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1708 and display-buffer.
1709
1710 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1711 display-buffer.
1712
1713 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1714 special-display and same-window variables.
1715 (mail-other-window): Use switch-to-buffer-other-window.
1716 (mail-other-frame): USe switch-to-buffer-other-frame.
1717
393a301e
SM
1718 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1719 Use display-buffer-other-frame.
3199b96f
CY
1720 (gdb-display-gdb-buffer): Use pop-to-buffer.
1721
1722 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1723
1724 * progmodes/python.el: Don't set same-window-buffer-names.
1725
1726 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1727
1728 * window.el (display-buffer-alist): Add *Python*.
1729
8319e0bf
CY
17302011-09-10 Chong Yidong <cyd@stupidchicken.com>
1731
1732 * window.el (display-buffer-alist): Add entry for buffers
1733 previously handled same-window-*.
1734 (display-buffer-alist, display-buffer-default-action)
1735 (display-buffer-overriding-action): Mark as risky.
1736 (display-buffer-alist): Document action function changes.
1737 (display-buffer--same-window-action)
1738 (display-buffer--other-frame-action): New variables.
1739 (switch-to-buffer, display-buffer-other-frame): Use them.
1740 (display-buffer): Rename reuse-frame entry to reusable-frames.
1741 (display-buffer-reuse-selected-window): Function deleted.
1742 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1743 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1744 (display-buffer-special): New function.
1745 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1746 display-buffer-reuse-or-pop-window. Split off special-display
1747 part into display-buffer-special.
1748 (display-buffer-use-some-window): Don't perform any special
1749 pop-up-frames handling.
1750 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1751 (display-buffer--maybe-same-window): Rename from
0d3ff375 1752 display-buffer-maybe-same-window.
8319e0bf 1753
919a69aa
CY
1754 * info.el: Don't set same-window-regexps.
1755 (info-setup): New function.
1756 (info-other-window, info): Call it.
1757
1758 * cus-edit.el: Don't set same-window-regexps.
1759 (customize-group): New argument.
1760 (customize-group-other-window): Use it.
1761 (customize-face, customize-face-other-window): Likewise.
1762 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1763
8319e0bf
CY
1764 * net/rlogin.el:
1765 * net/telnet.el:
1766 * progmodes/gud.el: Don't set same-window-regexps.
1767
1768 * cmuscheme.el:
1769 * ielm.el:
1770 * shell.el:
1771 * mail/sendmail.el:
1772 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1773
25173000
JL
17742011-09-10 Juri Linkov <juri@jurta.org>
1775
1776 * isearch.el (isearch-edit-string): Remove obsolete mention of
1777 `C-w' (`isearch-yank-word-or-char') from docstring.
1778 (isearch-query-replace): Fix typo in docstring (bug#9466).
1779
056e44ef
JL
17802011-09-10 Juri Linkov <juri@jurta.org>
1781
1782 * paren.el (show-paren-function): Don't show escaped parens.
1783 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1784
c3760c17
EZ
17852011-09-10 Eli Zaretskii <eliz@gnu.org>
1786
1787 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1788 (mm-default-file-encoding): Remove autoload forms, they are
1789 replaced with autoload cookies in mml.el and mm-encode.el.
1790 (mail-add-attachment): New command.
1791 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1792 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1793 the doc string.
1794 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1795
fece895e
RT
17962011-09-10 Reuben Thomas <rrt@sc3d.org>
1797
e69df516
SM
1798 * simple.el (count-words-region): Use buffer if there's no region
1799 (bug#9429).
fece895e 1800
5e68ce4a
JL
18012011-09-09 Juri Linkov <juri@jurta.org>
1802
1803 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1804 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1805 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1806
0a6b9622
AM
18072011-09-09 Alan Mackenzie <acm@muc.de>
1808
1809 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1810 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1811
14a29deb
EZ
18122011-09-09 Eli Zaretskii <eliz@gnu.org>
1813
1814 Fix for Savannah bug#9392.
1815 * simple.el (mail-encode-mml): New defvar.
1816
1817 * mail/rmail.el (mail-encode-mml): Add a defvar.
1818 (rmail-enable-mime-composing): Default to t.
1819 (rmail-forward): Use MIME method of forwarding only if both
1820 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1821 Set mail-encode-mml non-nil if the MIME method was used.
1822
1823 * mail/sendmail.el (mml-to-mime): Add autoload form.
1824 (mail-encode-mml): Add a defvar.
1825 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1826 to nil.
1827 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1828 message through mml-to-mime, and reset mail-encode-mml to nil.
1829
28c45130
GM
18302011-09-09 Glenn Morris <rgm@gnu.org>
1831
1832 * woman.el (woman-if-body): When processing an .el block,
1833 do not delete the next .el block as well. (Bug#9447)
69f4b618 1834 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1835
9b1c252e
MR
18362011-09-08 Martin Rudalics <rudalics@gmx.at>
1837
1838 * window.el (window-deletable-p): Make sure window is live before
1839 invoking window-prev-buffers.
1840
567457e3
LL
18412011-09-08 Leo Liu <sdl.web@gmail.com>
1842
1843 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1844
97f05794
JL
18452011-09-08 Juri Linkov <juri@jurta.org>
1846
1847 * progmodes/compile.el (compilation-environment): Make it
1848 a defcustom (bug#8340).
1849
8b0874b5
MR
18502011-09-08 Martin Rudalics <rudalics@gmx.at>
1851
1852 * window.el (frame-auto-delete): Rename to window-auto-delete.
1853 Make it control auto-deletion of windows and/or frames.
1854 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1855 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1856 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1857 Rewrite handling of case when window/frame can be deleted.
1858 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1859 argument t. (Bug#9456)
8b0874b5 1860
4feb6e73
CY
18612011-09-07 Chong Yidong <cyd@stupidchicken.com>
1862
1863 * help-mode.el (help-mode): Restore autoload.
1864
91ab9c13
JL
18652011-09-07 Juri Linkov <juri@jurta.org>
1866
1867 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1868 `compilation-environment'. Set buffer-local
1869 `compilation-environment' to `thisenv' later after (funcall mode).
1870 (Bug#8340)
1871
1872 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1873 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1874 instead of replacing its value. (Bug#8340)
1875
0527e251
JL
18762011-09-07 Juri Linkov <juri@jurta.org>
1877
1878 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1879 based on text properties put by `grep-filter' instead of matching
1880 escape sequences.
1881 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1882 to the value of `grep-error-screen-columns' (bug#9438).
1883
249f792c
JL
18842011-09-07 Juri Linkov <juri@jurta.org>
1885
1886 * simple.el (next-error-highlight, next-error-highlight-no-select):
1887 Doc fix (bug#9432).
1888
ff7271b9
OT
18892011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1890
1891 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1892 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1893
183fc730
LL
18942011-09-07 Leo Liu <sdl.web@gmail.com>
1895
1896 * net/rcirc.el (rcirc-mode): Conditionally initialize
1897 rcirc-input-ring.
1898
77694924
SM
18992011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * emacs-lisp/find-func.el (find-function-C-source): Only set
1902 find-function-C-source-directory after checking that we found a source
1903 file there (bug#9440).
1904
d809b8eb
AM
19052011-09-06 Alan Mackenzie <acm@muc.de>
1906
1907 * isearch.el (isearch-other-meta-char): Wherever a key list is
1908 unread, "unread" the prefix arg, too. This fixes bug #8901.
1909
453de99f
OG
19102011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1911
1912 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1913
90439906
JL
19142011-09-05 Juri Linkov <juri@jurta.org>
1915
1916 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1917
f62bd846
JL
19182011-09-05 Juri Linkov <juri@jurta.org>
1919
1920 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1921 keeping point where processing of grep matches begins, and
1922 continue to delete remaining escape sequences from the same point.
1923 (grep-filter): Make leading zero optional in "0?1;31m" because
1924 git-grep emits "\033[1;31m" escape sequences unlike expected
1925 "\033[01;31m" as GNU Grep does (bug#9408).
1926 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1927
045820ec
JL
19282011-09-05 Juri Linkov <juri@jurta.org>
1929
1930 * subr.el (y-or-n-p): Capitalize "yes".
1931
f5e29b9b
MA
19322011-09-04 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1935 `tramp-cache-unload-hook' where appropriate.
1936 (tramp-methods): Rename `tramp-remote-sh' to
1937 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1938 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1939
1940 * net/tramp-sh.el (top): Don't require 'shell.
1941 (tramp-methods): Add `tramp-remote-shell' and
1942 `tramp-remote-shell-args' entries.
1943 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1944 (tramp-sh-handle-shell-command): Remove.
1945 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1946 Use `tramp-remote-shell'.
1947
2784c434
CY
19482011-09-03 Chong Yidong <cyd@stupidchicken.com>
1949
393a301e 1950 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1951 (sendmail-query-once): Save directly to send-mail-function.
1952 Update message-send-mail-function too.
1953
1954 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1955
464cdf56
CS
19562011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1957
1958 * progmodes/python.el (python-mode-map): Use correct function to
1959 start python interpreter from menu-bar (as reported by Geert
1960 Kloosterman).
1961 (inferior-python-mode-map): Fix typo.
393a301e 1962 (python-shell-map): Remove.
464cdf56 1963
d37e5c87
DD
19642011-09-03 Deniz Dogan <deniz@dogan.se>
1965
1966 * net/rcirc.el (rcirc-print): Simplify code for
1967 rcirc-scroll-show-maximum-output. There is no need to walk
1968 through all windows to find the right one.
1969
f3ada0ee
CS
19702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1971
1972 * help.el (help-return-method): Doc fix.
1973
1f3c99ca
MR
19742011-09-03 Martin Rudalics <rudalics@gmx.at>
1975
1976 * window.el (window-deletable-p): Don't return a non-nil value
1977 when there's a buffer that was shown in the window before.
1978 (Bug#9419)
393a301e
SM
1979 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1980 Set window's previous buffers to nil.
1f3c99ca 1981
a3cf097f
EZ
19822011-09-03 Eli Zaretskii <eliz@gnu.org>
1983
1984 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1985 newline before and after the tag line, so it doesn't interfere
1986 with determining the paragraph direction of bidirectional text.
1987
3d03de90
LL
19882011-09-03 Leo Liu <sdl.web@gmail.com>
1989
1990 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1991
c3313451
CY
19922011-09-02 Chong Yidong <cyd@stupidchicken.com>
1993
393a301e 1994 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1995 (pop-to-buffer): Change interactive spec. Pass second argument
1996 directly to display-buffer.
1997 (display-buffer): Fix interactive spec. Use functionp to
1998 distinguish between a function and a list of functions.
1999
2000 * abbrev.el (edit-abbrevs):
2001 * arc-mode.el (archive-extract):
2002 * autoinsert.el (auto-insert):
2003 * bookmark.el (bookmark-bmenu-list):
2004 * files.el (find-file):
2005 * view.el (view-buffer):
2006 * progmodes/compile.el (compilation-goto-locus):
2007 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2008
89894cd8
CY
20092011-09-02 Chong Yidong <cyd@stupidchicken.com>
2010
2011 * window.el (display-buffer-alist): Doc fix.
2012 (display-buffer): Add docstring. Don't treat
2013 display-buffer-default specially.
2014 (display-buffer-reuse-selected-window)
2015 (display-buffer-same-window, display-buffer-maybe-same-window)
2016 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2017 (display-buffer-pop-up-window)
2018 (display-buffer-reuse-or-pop-window)
2019 (display-buffer-use-some-window): New functions.
2020 (display-buffer-default-action): Use them.
393a301e 2021 (display-buffer-default): Delete.
89894cd8
CY
2022 (pop-to-buffer-1): Fix choice of actions.
2023
ae0bc9fb
SM
20242011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * minibuffer.el (completion--insert-strings): Don't get confused by
2027 completion entries that end with an LF char.
2028
e9d90883
EZ
20292011-09-01 Eli Zaretskii <eliz@gnu.org>
2030
2031 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2032
437014c8
CY
20332011-09-01 Chong Yidong <cyd@stupidchicken.com>
2034
2035 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2036 (display-buffer-same-window, display-buffer-other-window):
2037 New functions.
437014c8
CY
2038 (pop-to-buffer-1): New function. Use the above.
2039 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2040 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2041
2042 * view.el (view-buffer-other-window, view-buffer-other-frame):
2043 Just use pop-to-buffer.
2044
a5e063d5
TV
20452011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2046
2047 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2048
793d32bb
WH
20492011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2050
2051 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2052
d65e4c15
RS
20532011-08-31 Richard Stallman <rms@gnu.org>
2054
2055 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2056 of the separation of rmail-view-buffer from rmail-buffer.
2057 If you say no to "replace original", the decrypt is in the
2058 view buffer. If you say yes, the decrypt goes into the
2059 rmail buffer also.
2060
f818cd2a
MR
20612011-08-31 Martin Rudalics <rudalics@gmx.at>
2062
2063 * window.el (display-buffer-window): Rewrite doc-string.
2064 (display-buffer-record-window): New function.
2065 (display-buffer-macro-specifiers)
2066 (display-buffer-even-window-sizes, display-buffer-set-height)
2067 (display-buffer-set-width, display-buffer-in-window)
2068 (display-buffer-reuse-window, display-buffer-split-specifiers)
2069 (display-buffer-side-specifiers, display-buffer-split-window-1)
2070 (display-buffer-split-window, display-buffer-split-atom-window)
2071 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2072 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2073 (display-buffer-other-window-means-other-frame)
2074 (display-buffer-normalize-special)
2075 (display-buffer-normalize-default)
2076 (display-buffer-normalize-argument)
2077 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2078 (display-buffer-normalize-specifiers, display-buffer-frame)
2079 (display-buffer-same-window, display-buffer-same-frame)
2080 (display-buffer-other-window)
2081 (display-buffer-same-frame-other-window)
2082 (display-buffer-other-frame, pop-to-buffer-same-window)
2083 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2084 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2085 (switch-to-buffer-same-frame)
2086 (switch-to-buffer-other-window-same-frame)
2087 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2088 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2089 (display-buffer-alist-set): Remove.
2090 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2091 (special-display-regexps, special-display-function):
2092 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2093 parameter.
2094 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2095 (special-display-frame-alist, special-display-popup-frame)
2096 (same-window-buffer-names, same-window-regexps, same-window-p)
2097 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2098 (split-window-preferred-function, split-height-threshold)
2099 (split-width-threshold, window-splittable-p)
2100 (split-window-sensibly, window--try-to-split-window)
2101 (window--frame-usable-p, even-window-heights)
2102 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2103 (window--display-buffer-2, display-buffer-other-frame):
2104 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2105 (display-buffer-default, display-buffer-assq-regexp): New functions.
2106 (display-buffer-alist): Rewrite doc-string.
2107 (display-buffer-default-action)
2108 (display-buffer-overriding-action): New variables.
2109 (display-buffer, switch-to-buffer): Rewrite.
2110 (pop-to-buffer): Restore Emacs 23 behavior but use
2111 window-normalize-buffer-to-display.
2112 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2113 Restore Emacs 23 behavior but use
2114 window-normalize-buffer-to-switch-to.
2115 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2116 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2117 Rewrite using Emacs 23 options.
f818cd2a 2118
5bc3b51d
MA
21192011-08-31 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * net/tramp.el (tramp-root-regexp): Remove.
2122 (tramp-completion-file-name-regexp-unified)
2123 (tramp-completion-file-name-regexp-separate)
2124 (tramp-completion-file-name-regexp-url): Don't use leading volume
2125 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2126 (tramp-drop-volume-letter): Simplify definition.
2127 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2128
b1a4f8e1
SM
21292011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2132 (bug#9356).
2133
5664fa7b
RT
21342011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2135
b1a4f8e1 2136 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2137
9a45d6c3
JL
21382011-08-29 Juri Linkov <juri@jurta.org>
2139
2140 * isearch.el (isearch-done): Don't display message "Mark saved"
2141 when arg `edit' is non-nil to prevent its flicker in the echo area.
2142
fb87e0fb
CY
21432011-08-28 Chong Yidong <cyd@stupidchicken.com>
2144
2145 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2146 obsolete packages for deletion.
2147
09ac1c2a
CS
21482011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2149
2150 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2151 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2152 view-mode from help-mode.
2153 (help-xref-override-view-map): Remove.
2154 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2155 view-mode is not used anymore.
2156
7a1ff57f
CY
21572011-08-28 Chong Yidong <cyd@stupidchicken.com>
2158
2159 * server.el (server-port): Doc fix.
2160
b9696605
CY
2161 * cus-theme.el (custom-theme-choose-mode): Inherit from
2162 special-mode (Bug#9124).
2163 (custom-theme-choose-mode-map): Add special-mode to parent.
2164
ef8cdf8c
AM
21652011-08-28 Alan Mackenzie <acm@muc.de>
2166
2167 * progmodes/cc-fonts.el
2168 (c-make-font-lock-BO-decl-search-function): New function.
2169 (c-basic-matchers-after - "Fontify the clauses after various
2170 keywords"): Extract the three keyword lists for the 3 erroneous
2171 constructs from the list of four, and use the new function above
2172 in place of an old one.
2173
27de4e20
DD
21742011-08-28 Deniz Dogan <deniz@dogan.se>
2175
2176 * net/rcirc.el (rcirc-insert-prev-input)
2177 (rcirc-insert-next-input): Remove unused argument.
2178
356a3681
SM
21792011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2182
3fc9b218
AM
21832011-08-27 Alan Mackenzie <acm@muc.de>
2184
2185 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2186 handle function pointer parameters properly.
2187
538a061c
MR
21882011-08-27 Martin Rudalics <rudalics@gmx.at>
2189
2190 * window.el (display-buffer-reuse-window): Fix case where
2191 selected window was reused with non-nil OTHER-WINDOW argument.
2192 (Bug#9381)
2193
35b1c40c
DD
21942011-08-27 Deniz Dogan <deniz@dogan.se>
2195
2196 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2197 oftc's NickServ messages.
2198
2f6a3e79
GM
21992011-08-27 Glenn Morris <rgm@gnu.org>
2200
2201 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2202
7254299e
CY
22032011-08-26 Chong Yidong <cyd@stupidchicken.com>
2204
2205 * emacs-lisp/package.el (package-install): Call package-initialize
2206 if called interactively.
2207
f8ccf167
LL
22082011-08-26 Leo Liu <sdl.web@gmail.com>
2209
2210 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2211
3e8cd5ce
JL
22122011-08-25 Juri Linkov <juri@jurta.org>
2213
2214 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2215 `search-whitespace-regexp' (bug#9364).
2216
93eb7113
JL
22172011-08-25 Juri Linkov <juri@jurta.org>
2218
2219 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2220 `regexp-search-ring' to their global values to protect from
2221 updating by `read-from-minibuffer' (bug#9185).
2222
f65d1611
JL
22232011-08-25 Juri Linkov <juri@jurta.org>
2224
2225 * textmodes/ispell.el (ispell-command-loop): Add newline
2226 at the end of the "Use option `i'..." line.
2227
f1cf7a31
JL
22282011-08-25 Juri Linkov <juri@jurta.org>
2229
2230 * battery.el (display-battery-mode): If `battery-status-function'
2231 or `battery-mode-line-format' is nil, display the message and set
2232 `display-battery-mode' to nil (bug#9363).
2233
0c95fcf7
EZ
22342011-08-25 Eli Zaretskii <eliz@gnu.org>
2235
2236 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2237 bidi-string-mark-left-to-right; they are unnecessary now.
2238
a2ebe600
DD
22392011-08-25 Deniz Dogan <deniz@dogan.se>
2240
2241 * net/quickurl.el: Documentation typo fixes.
2242
e4ed06f1
CY
22432011-08-25 Chong Yidong <cyd@stupidchicken.com>
2244
2245 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2246
e5f1c99e
GM
22472011-08-25 Glenn Morris <rgm@gnu.org>
2248
b2948976
GM
2249 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2250
e5f1c99e
GM
2251 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2252 (smtpmail-via-smtp): Handle nil response from smtp.
2253
f22f4808
JL
22542011-08-24 Juri Linkov <juri@jurta.org>
2255
2256 * proced.el (proced-marked): Inherit from `error' instead of
2257 `font-lock-warning-face'.
2258
2259 * ibuffer.el (ibuffer-marked-face): Change default face from
2260 `font-lock-warning-face' to `warning'.
2261 (ibuffer-deletion-face): Change default face from
2262 `font-lock-type-face' to `error'.
2263
2264 * battery.el (battery-update): Use the face `error' instead of
2265 `font-lock-warning-face' (bug#6117).
2266
6a93965e
JL
22672011-08-24 Juri Linkov <juri@jurta.org>
2268
2269 * faces.el (success): Change face color from "Green3" to
2270 "ForestGreen" on light background (bug#9353).
2271
1ed43b09
CY
22722011-08-24 Chong Yidong <cyd@stupidchicken.com>
2273
5664fa7b
RT
2274 * window.el (quit-window): Rename from quit-restore-window.
2275 Use same arglist as old quit-window.
1ed43b09
CY
2276 (frame-auto-delete): Doc fix.
2277
2278 * view.el (view-mode-exit): Use quit-window.
2279
11dcdbb2
JL
22802011-08-24 Juri Linkov <juri@jurta.org>
2281
2282 * isearch.el (isearch-ring-adjust1): Start visiting previous
2283 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2284 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2285 for empty search string (when the last search string is reused
2286 automatically) to adjust the isearch ring to the last element and
2287 prepare the correct index for further M-p commands (bug#9185).
2288
de62b4df
KH
22892011-08-24 Kenichi Handa <handa@m17n.org>
2290
2291 * international/ucs-normalize.el: If decomposition property of
2292 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2293 nil.
2294 (nfd, nfkd): Likewise.
2295
963b492b
SM
22962011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2299 from process filters aren't reliably transmitted to the surrounding
2300 accept-process-output.
2301 (mpc-proc-check): New function.
2302 (mpc-proc-sync): Use it (bug#8293)
2303
93b6b5e1
SM
23042011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2307 Add compatibility functions (bug#9313).
2308
bca633fb
EZ
23092011-08-23 Eli Zaretskii <eliz@gnu.org>
2310
b177498a
EZ
2311 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2312
bca633fb
EZ
2313 * international/uni-bidi.el: Regenerated.
2314
0902a04e
KH
23152011-08-23 Kenichi Handa <handa@m17n.org>
2316
2317 * international/charprop.el:
2318 * international/uni-bidi.el:
2319 * international/uni-category.el:
2320 * international/uni-combining.el:
2321 * international/uni-comment.el:
2322 * international/uni-decimal.el:
2323 * international/uni-decomposition.el:
2324 * international/uni-digit.el:
2325 * international/uni-lowercase.el:
2326 * international/uni-mirrored.el:
2327 * international/uni-name.el:
2328 * international/uni-numeric.el:
2329 * international/uni-old-name.el:
2330 * international/uni-titlecase.el:
2331 * international/uni-uppercase.el: Regenerate.
2332
3bbf23bc
MR
23332011-08-23 Martin Rudalics <rudalics@gmx.at>
2334
2335 * help.el (help-window-setup): Fix message displayed when other
2336 window is reused. (Bug#9341)
2337
b3fd59bd
SM
23382011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2339
1802e444
SM
2340 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2341 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2342
b3fd59bd
SM
2343 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2344 Mark obsolete.
2345 * shell.el (shell-parse-pcomplete-arguments): New function.
2346 (shell-completion-vars): Use it instead (bug#9160).
2347
4eb61348
SM
23482011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2349
867cab74
SM
2350 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2351 strings and comments (bug#9333).
2352
4eb61348
SM
2353 * emacs-lisp/debug.el (debug-arglist): New function.
2354 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2355 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2356
262a1439
JL
23572011-08-22 Juri Linkov <juri@jurta.org>
2358
56ee679c
JL
2359 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2360 Revert regexp that highlights output switches to its old
2361 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2362
262a1439
JL
2363 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2364 to check for empty output (bug#9226).
2365
f13f86fb
CY
23662011-08-22 Chong Yidong <cyd@stupidchicken.com>
2367
2368 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2369 symbol-constituent as the default, as that stops font-lock from
2370 working properly (Bug#8843).
2371
c65c9622
LMI
23722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2373
2374 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2375 `coding-system-for-*' around the process open call to avoid
2376 auth-source side effects.
e7f2c178 2377 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2378 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2379 probe hangs.
c65c9622 2380
23a8a5ab
CY
23812011-08-21 Chong Yidong <cyd@stupidchicken.com>
2382
ff98b2dd
CY
2383 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2384
23a8a5ab
CY
2385 * emacs-lisp/find-func.el (find-function-noselect): New arg
2386 lisp-only.
2387
2388 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2389 signal an error for built-in functions (Bug#6664).
2390
f5e3c598
LMI
23912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2392
2393 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2394 (smtpmail-try-auth-methods): Use it.
2395
a3f2468a
CY
23962011-08-21 Chong Yidong <cyd@stupidchicken.com>
2397
2c34e8da
CY
2398 * font-lock.el (font-lock-fontify-region)
2399 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2400 (font-lock-default-unfontify-buffer)
2401 (font-lock-default-fontify-region)
2402 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2403
b3fd59bd
SM
2404 * progmodes/compile.el (compilation-error-properties):
2405 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2406 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2407 `ant' regexp.
ee31aabc 2408
a3f2468a
CY
2409 * net/browse-url.el (browse-url-firefox): Don't call
2410 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2411
8e999f70
GM
24122011-08-20 Glenn Morris <rgm@gnu.org>
2413
c21a496a
GM
2414 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2415
59ee0542
GM
2416 * tutorial.el (tutorial--default-keys): Update some default bindings.
2417
8e999f70
GM
2418 * files.el (hack-local-variables): Fully ignore case for "mode:".
2419
e3715033
AM
24202011-08-20 Alan Mackenzie <acm@muc.de>
2421
2422 Resolve invalid use of a regexp in regexp-opt.
2423
4d61f28d
JB
2424 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2425 detection for a java annotation.
e3715033 2426
4d61f28d 2427 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2428 detection for a java annotation.
2429
4d61f28d
JB
2430 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2431 handling for java.
e3715033
AM
2432 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2433
04ed2e9c
CY
24342011-08-20 Chong Yidong <cyd@stupidchicken.com>
2435
2436 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2437 (Bug#9274).
2438
826cee64
AM
24392011-08-20 Alan Mackenzie <acm@muc.de>
2440
2441 * Fontify CPP expressions correctly when starting in the middle of
2442 such a construct. Mainly for when jit-lock etc. starts a chunk
2443 here.
2444
2445 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2446 variable.
2447 (c-make-font-lock-search-form): new function, extracted from
2448 c-make-font-lock-search-function.
2449 (c-make-font-lock-search-function): Use the above function.
2450 (c-make-font-lock-context-search-function): New function.
2451 (c-cpp-matchers): Enhance the preprocessor expression case with
2452 the above function
2453 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2454 which takes an expression.
2455
2456 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2457
13009bd8
MR
24582011-08-20 Martin Rudalics <rudalics@gmx.at>
2459
2460 * window.el (display-buffer-reuse-window)
2461 (display-buffer-pop-up-window): Don't reuse or split a side
2462 window.
2463
9234ff7f
GM
24642011-08-19 Glenn Morris <rgm@gnu.org>
2465
2466 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2467 Downcase "Mode:". (Bug#9331)
9234ff7f 2468
f635daa1
CY
24692011-08-18 Chong Yidong <cyd@stupidchicken.com>
2470
2471 * international/characters.el: Add L and R categories.
2472
2473 * subr.el (bidi-string-mark-left-to-right): Rename from
2474 string-mark-left-to-right. Use category search.
2475
2476 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2477
bc987f8b
JL
24782011-08-18 Juri Linkov <juri@jurta.org>
2479
2480 * faces.el (error, warning, success): New faces with definitions
2481 copied from old default values of `font-lock-warning-face',
2482 `compilation-warning', `compilation-info' (bug#6117).
2483
2484 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2485
2486 * progmodes/compile.el (compilation-error): Inherit from `error'.
2487 (compilation-warning): Inherit from `warning'.
2488 (compilation-info): Inherit from `success'.
2489
2490 * dired.el (dired-marked): Inherit from `warning'.
2491 (dired-flagged): Inherit from `error'.
2492
57173b96
LMI
24932011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2494
3e79eb87
LMI
2495 * mail/smtpmail.el (auth-source): Require to avoid problems with
2496 binding variables (bug#9298). Also clean up some unused
2497 autoloads.
2498
b3fd59bd
SM
2499 * net/network-stream.el (network-stream-open-starttls):
2500 Support using starttls.el without using gnutls-cli.
57173b96 2501
02b404de
JL
25022011-08-17 Juri Linkov <juri@jurta.org>
2503
2504 * progmodes/grep.el (rgrep): Handle the case when
2505 `grep-find-command' is a cons cell (bug#9278).
2506
8c9177f2
MR
25072011-08-17 Martin Rudalics <rudalics@gmx.at>
2508
2509 * window.el (display-buffer-pop-up-frame): Run frame creation
2510 function with BUFFER current (as special-display-popup-frame
2511 does). Reported by Drew Adams.
2512
3644a0ab
DU
25132011-08-17 Daiki Ueno <ueno@unixuser.org>
2514
2515 * epa-mail.el: Simplify GnuPG group expansion using
2516 epg-expand-group.
2517 (epa-mail-group-alist, epa-mail-group-modtime)
2518 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2519 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2520 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2521 Remove.
2522
5e617bc2 25232011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2524
2525 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2526
9c4aeabf
AM
25272011-08-16 Alan Mackenzie <acm@muc.de>
2528
2529 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2530 Correct, to avoid the inside of macros.
2531
3a99bf64
RS
25322011-08-16 Richard Stallman <rms@gnu.org>
2533
04963aa8
RS
2534 * epa-mail.el: Handle GnuPG group definitions.
2535 (epa-mail-group-alist, epa-mail-group-modtime)
2536 (epa-mail-gnupg-conf-file): New variables.
2537 (epa-mail-parse-groups, epa-mail-sync-groups)
2538 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2539 (epa-mail-expand-recipients): New functions.
2540 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2541
177549d0
RS
2542 * mail/rmail.el (rmail-epa-decrypt): New command.
2543
fe38beef
RS
2544 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2545 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2546 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2547 (epa-decrypt-armor-in-region): Make error message clearer.
2548
934eacb9
SM
25492011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2552 and "a2b" to "ab" for `prefix'.
2553
d024fb4e
CY
25542011-08-14 Chong Yidong <cyd@stupidchicken.com>
2555
2556 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2557 filter groups.
de148fee
CY
2558 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2559 Fourquet (Bug#8804).
d024fb4e 2560
62f1ca49
JB
25612011-08-12 Juanma Barranquero <lekktu@gmail.com>
2562
2563 * startup.el (argi): Declare as global variable (bug#9275).
2564
9ccaaa4b
CY
25652011-08-12 Chong Yidong <cyd@stupidchicken.com>
2566
2567 * subr.el (string-mark-left-to-right): Search the entire string
2568 for RTL script, not just the terminating character. Doc fix.
2569
a3dae87a
SM
25702011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2571
6cd18349
SM
2572 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2573 New function.
2574 (js--regexp-literal, js-syntax-propertize-function): Remove.
2575 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2576 (js-mode-map): Don't rebind electric keys.
2577 (js-insert-and-indent): Remove.
2578 (js-mode): Setup electric-layout and electric-indent instead.
2579
a3dae87a
SM
2580 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2581
9d5cb631
DU
25822011-08-12 Daiki Ueno <ueno@unixuser.org>
2583
2584 * epa.el (epa-progress-callback-function): Fix the logic of
2585 displaying progress.
2586 * epa-file.el (epa-file-insert-file-contents): Make progress
2587 display more user-friendly.
2588 (epa-file-write-region): Ditto.
2589
3e26a4a2
CY
25902011-08-10 Chong Yidong <cyd@stupidchicken.com>
2591
2592 * subr.el (string-mark-left-to-right): New function.
2593
2594 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2595 Use string-mark-left-to-right.
2596 (list-buffers-noselect): Caller changed.
2597
a3dae87a
SM
2598 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2599 Use string-mark-left-to-right.
3e26a4a2
CY
2600 (tabulated-list-print): Recenter after moving point.
2601
ac8cf6e6
JL
26022011-08-10 Juri Linkov <juri@jurta.org>
2603
2604 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2605 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2606 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2607
8d96c9a4
CY
26082011-08-09 Chong Yidong <cyd@stupidchicken.com>
2609
2610 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2611 (Bug#7554).
2612
7be1c708 26132011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2614
2615 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2616 character. (Bug#6594)
2617
37e11a63
CY
26182011-08-08 Chong Yidong <cyd@stupidchicken.com>
2619
839dde57
CY
2620 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2621 (image-dired--with-db-file): New macro.
2622 (image-dired-write-tags, image-dired-remove-tag)
2623 (image-dired-create-gallery-lists, image-dired-write-comments)
2624 (image-dired-get-comment, image-dired-mark-tagged-files)
2625 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2626 (image-dired-gallery-generate): Use insert-file-contents.
2627
37e11a63
CY
2628 * time.el (display-time-world-list, display-time-world-display):
2629 * time-stamp.el (time-stamp-string):
2630 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2631 set-time-zone-rule (Bug#7337).
2632
0b4946c4
DU
26332011-08-08 Daiki Ueno <ueno@unixuser.org>
2634
2635 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2636 (epg-error-to-string, epg-errors-to-string): New function.
2637 (epg-wait-for-completion): Reverse errors list.
2638 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2639 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2640 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2641 (epg-sign-keys, epg-generate-key-from-file)
2642 (epg-generate-key-from-string): Format errors by using
2643 epg-errors-to-string (bug#9255).
2644 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2645
75bfc667
JL
26462011-08-07 Juri Linkov <juri@jurta.org>
2647
2648 * faces.el (list-faces-display): Remove extra angle bracket
2649 from `help-mode-map'.
2650
2651 * info.el (Info-history-toc-nodes): Doc fix.
2652
2653 * longlines.el (longlines-mode): Doc fix.
2654
673e08bb
SM
26552011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2656
4640dd88
SM
2657 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2658 of statements and in a few more cases (bug#9183).
2659
673e08bb
SM
2660 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2661 New functions.
2662 (cl-transform-lambda): Use them (bug#9239).
2663
89b3f019
MR
26642011-08-05 Martin Rudalics <rudalics@gmx.at>
2665
2666 * window.el (display-buffer-same-window)
2667 (display-buffer-same-frame, display-buffer-other-window)
2668 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2669 (pop-to-buffer-other-window)
2670 (pop-to-buffer-same-frame-other-window)
2671 (pop-to-buffer-other-frame): Make them defuns.
2672 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2673
640c8776
SM
26742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * subr.el (make-composed-keymap): Move from C. Change calling
2677 convention, and improve docstring to bring attention to a subtle point.
2678 * minibuffer.el (completing-read-default): Adjust accordingly.
2679
63648a95
MA
26802011-08-03 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2683 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2684
2685 * net/trampver.el: Update release number.
2686
b796c9b7
SM
26872011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2690 "in" (bug#9190).
2691
2239d7d5
LMI
26922011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2693
e07dd7c3
LMI
2694 * mail/sendmail.el (sendmail-query-once): Restore the current
2695 buffer after querying (bug#9074).
2696
0e6a2bd7
LMI
2697 * dired.el (dired-flagged): Use different faces for marked and
2698 flagged files (bug#6117).
2699
ce887515
LMI
2700 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2701 (bug#4433).
2702
92f2affc
LMI
2703 * ido.el (ido-mode): Switch off the message if called
2704 non-interactively.
2705
57d5aff0
LMI
2706 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2707 before 587, since it appears that that's more likely to work for
2708 more people.
2709
98cd6c18
LMI
2710 * cus-edit.el (custom-file): When running under emacs -q, always
2711 refuse to save the customisations, even if the .emacs file doesn't
2712 exist.
2713
b96dec83
LMI
2714 * info.el: Remove the `Info-beginning-of-buffer' function
2715 (bug#8325).
2716
b796c9b7
SM
2717 * net/network-stream.el (network-stream-open-starttls):
2718 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2719
d90e2ea0
MR
27202011-08-01 Martin Rudalics <rudalics@gmx.at>
2721
2722 * window.el (display-buffer-in-window): Don't set dedicated status
2723 of window here (Bug#9215).
2724 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2725 (display-buffer-pop-up-side-window)
b796c9b7 2726 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2727
cca09170
SM
27282011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2731 before binding generated-autoload-file.
2732
027b979c
DD
27332011-08-01 Deniz Dogan <deniz@dogan.se>
2734
2735 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2736
3c7ee4f3
MA
27372011-07-30 Michael Albinus <michael.albinus@gmx.de>
2738
2739 Sync with Tramp 2.2.2.
2740
2741 * net/trampver.el: Update release number.
2742
2cc8e51a
JL
27432011-07-30 Juri Linkov <juri@jurta.org>
2744
2745 * dired-aux.el (dired-touch-initial): Remove function.
2746 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2747 current time, and `default' to the last modification time of the
2748 current marked file (bug#6887).
2749
a514d856
JM
27502011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2751
2752 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2753 numeric argument to read-number (bug#9163).
a514d856 2754
8a7eddd7
MA
27552011-07-27 Michael Albinus <michael.albinus@gmx.de>
2756
2757 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2758 connection process, it could be nil.
2759
1ddd96f5
LL
27602011-07-27 Leo Liu <sdl.web@gmail.com>
2761
2762 Simplify url handling in rcirc-mode.
2763
2764 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2765 (rcirc-browse-url-at-mouse): Remove.
2766 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2767
b248a85d
AM
27682011-07-26 Alan Mackenzie <acm@muc.de>
2769
2770 Fontify bitfield declarations properly.
2771
2772 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2773 (c-symbol-chars): Now exported as a lang variable.
2774 (c-not-primitive-type-keywords): New lang variable.
2775
2776 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2777 QT keyword "more" to prevent "more slots: ...." being spuriously
2778 parsed as a bitfield declaraion.
2779
b796c9b7
SM
2780 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2781 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2782 (c-punctuation-in): New function.
2783 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2784 declarations properly.
2785
68575ab0
UJ
27862011-07-26 Ulf Jasper <ulf.jasper@web.de>
2787
2788 * calendar/icalendar.el (icalendar--all-events): Take care of
2789 multiple vcalendars in a single file.
b796c9b7 2790 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2791
0f0a88b9
DD
27922011-07-25 Deniz Dogan <deniz@dogan.se>
2793
2794 * image.el (insert-image): Clarifying docstring.
2795
0b3f36df
MA
27962011-07-24 Michael Albinus <michael.albinus@gmx.de>
2797
2798 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2799 `tramp-send-command-and-check' if there is no error.
2800 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2801
a9901f61
AM
28022011-07-22 Alan Mackenzie <acm@muc.de>
2803
2804 Prevent cc-langs.elc being loaded at run time.
2805
2806 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2807 cc-langs.
2808
4d61f28d 2809 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2810 "(require 'cc-langs)". Quote a form so it will evaluate at
2811 (cc-mode's) compilation time.
2812
11d074b2
MA
28132011-07-22 Michael Albinus <michael.albinus@gmx.de>
2814
2815 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2816 loading. (Bug#9114)
2817
938b94c8
MR
28182011-07-21 Martin Rudalics <rudalics@gmx.at>
2819
2820 * window.el (display-buffer-pop-up-window)
2821 (display-buffer-pop-up-side-window)
2822 (display-buffer-in-side-window): Call display-buffer-set-height
2823 and display-buffer-set-width after setting the new window's
b796c9b7 2824 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2825
bfa4f190
SS
28262011-07-20 Sam Steingold <sds@gnu.org>
2827
2828 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2829 (etags-tags-included-tables): Call `convert-standard-filename' on
2830 the file names contained in TAGS so that windows Emacs can handle
2831 TAGS files created by cygwin ctags.
2832
8ca42262
LMI
28332011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2834
2835 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2836 which apparently didn't work.
2837
5db2afd2 28382011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2839
5db2afd2
RW
2840 * proced.el (proced-send-signal): For *Marked Processes* buffer
2841 put point at beginning of buffer.
2842
92e15d10
SB
28432011-07-19 Stephen Berman <stephen.berman@gmx.net>
2844
2845 * proced.el (proced-format): Make header lines align with the text
2846 (bug#1779).
2847
1bfd59e5
LMI
28482011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2849
2850 * view.el (view-buffer): Allow running in `special' modes if we're
2851 visiting a file (bug#8615).
2852
f5aae37c
MR
28532011-07-19 Martin Rudalics <rudalics@gmx.at>
2854
2855 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2856 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2857 New functions.
f5aae37c
MR
2858 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2859 more accurately.
2860
bf2c1571
AM
28612011-07-18 Alan Mackenzie <acm@muc.de>
2862
2863 Fontify declarators properly when, e.g., a jit-lock chunk begins
2864 inside a declaration.
2865
2866 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2867
b796c9b7
SM
2868 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2869 New function.
bf2c1571
AM
2870 (c-complex-decl-matchers): Insert reference to
2871 c-font-lock-enclosing-decls.
2872
2873 * progmodes/cc-engine.el (c-backward-single-comment):
2874 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2875 to nil around calls to (forward-comment -1).
2876
4e190b80
LMI
28772011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2878
12dc863d
LMI
2879 * image.el (put-image): Doc typo fix.
2880
a762e966
LMI
2881 * progmodes/etags.el (tags-search): Doc typo fix.
2882
4e190b80
LMI
2883 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2884 password if we get errors 550 to 554.
2885
f019fb21
LMI
28862011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887
b796c9b7 2888 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2889
81746738
LMI
2890 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2891 indentation character (bug#6380).
2892
3ee3a1b5
LMI
2893 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2894
c82f64de
LMI
2895 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2896 to clarify what the problem is (bug#4291).
2897
f019fb21
LMI
2898 * simple.el (current-kill): Clarify what
2899 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2900 (auto-fill-mode): Document `auto-fill-function' in relation to
2901 `auto-fill-mode' (bug#2470).
f019fb21 2902
0794775d
LM
29032011-07-16 Lawrence Mitchell <wence@gmx.li>
2904
2905 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2906 method if slot is read-only (bug#9035).
2907
be39b8cc
MR
29082011-07-16 Martin Rudalics <rudalics@gmx.at>
2909
b796c9b7 2910 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2911 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2912 selected before, see discussion of (Bug#8615), (Bug#6954).
2913 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2914
6ccf7859
GM
29152011-07-15 Glenn Morris <rgm@gnu.org>
2916
2917 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2918 Respect help-form.
6ccf7859 2919
87e86684
LM
29202011-07-09 Lawrence Mitchell <wence@gmx.li>
2921
2922 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2923 (gnutls-negotiate): Use it.
2924
d6066239
LMI
29252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2926
b796c9b7
SM
2927 * net/gnutls.el (gnutls-negotiate):
2928 Upcase `gnutls-algorithm-priority'.
d6066239 2929
bd23ebc0
GM
29302011-07-15 Glenn Morris <rgm@gnu.org>
2931
c65bca65
GM
2932 * jka-compr.el (jka-compr-verbose): Move from here...
2933 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2934 Add missing :version tag.
2935 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2936
478615cc
LMI
29372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2938
7b41decb
LMI
2939 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2940 (gnutls-negotiate): Use it.
2941
dbc44fcd
LMI
2942 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2943
06789f97
LMI
2944 * info.el (Info-beginning-of-buffer): New command.
2945 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2946 announcing `b' as the key (bug#8325).
ab896c37 2947 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2948
c39da690
LMI
2949 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2950
3aa5f34b
LMI
2951 * international/mule-cmds.el
2952 (describe-specified-language-support): Make the error message
2953 clearer (bug#8905).
2954
4bf0979f
LMI
2955 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2956
478615cc
LMI
2957 * isearch.el (isearch-barrier): Add a doc string, since it's
2958 mentioned in a function doc string (bug#8678).
2959
75c68aa1
MR
29602011-07-15 Martin Rudalics <rudalics@gmx.at>
2961
2962 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2963 buffer argument (Bug#9083) and self-identifying label argument.
2964
a7c33da2
GM
29652011-07-15 Glenn Morris <rgm@gnu.org>
2966
2967 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2968
2f5c6024
LMI
29692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2970
2971 * man.el (Man-fontify-manpage): Fix message when formatting the
2972 man page (bug#7929).
2973
0bb23927 29742011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2975
2976 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2977 argument LRM; if non-nil, append an invisible LRM character to the
2978 buffer name.
2979 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2980 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2981 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2982 paragraph direction.
cce4b0a7 2983
621ef9ab
LMI
29842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2985
d1583c48
LMI
2986 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2987 the man page name (bug#7929).
2988
6a57fb5f
LMI
2989 * image.el (put-image): Mention the `put-image' overlay property
2990 (bug#7834).
2991
d7956b14
LMI
2992 * scroll-bar.el (set-scroll-bar-mode): Mention that
2993 `scroll-bar-mode' lists the values (bug#7772).
2994
5b2d4a66
LMI
2995 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2996 command (bug#7729).
2997
7509a874
LMI
2998 * rect.el (apply-on-rectangle): Return the point after the last
2999 operation.
3000 (string-rectangle): Go to the point after the last operation
3001 (bug#7522).
3002
4fe74b19
LMI
3003 * printing.el (pr-toggle-region): Clarify the documentation
3004 slightly (bug#7493).
3005
b796c9b7
SM
3006 * time.el (display-time-update):
3007 Allow `display-time-mail-function' to return nil (bug#7158).
3008 Fix suggested by Detlev Zundel.
ab283561 3009
fc233c9d
LMI
3010 * vc/diff.el (diff): Clarify the order the file names are read
3011 (bug#7111).
3012
43f5740b
LMI
3013 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3014 the doc string (bug#7015).
3015
f2182a76
LMI
3016 * font-lock.el (font-lock-maximum-decoration): Mention what
3017 numeric levels mean (bug#6935).
3018
621ef9ab
LMI
3019 * startup.el (initial-buffer-choice): Don't mention the `none'
3020 selection, which is against policy.
3021
adc47434
MR
30222011-07-14 Martin Rudalics <rudalics@gmx.at>
3023
b796c9b7
SM
3024 * window.el (display-buffer-normalize-special):
3025 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3026
7e5bfb8f
EZ
30272011-07-14 Eli Zaretskii <eliz@gnu.org>
3028
3029 * subr.el (version<, version<=, version=): Mention "-CVS" and
3030 "-12345" alpha version numbers.
3031
27fa387a
CY
30322011-07-14 Chong Yidong <cyd@stupidchicken.com>
3033
3034 * bindings.el: Add advertised binding for set-mark-command
3035 (Bug#5772).
3036
8bdfa064
CY
30372011-07-14 Chong Yidong <cyd@stupidchicken.com>
3038
3039 * bindings.el (mode-line-other-buffer):
3040 * bookmark.el (bookmark-bmenu-2-window):
3041 * bs.el (bs-cycle-next, bs-cycle-previous):
3042 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3043 switch-to-buffer.
3044
3045 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3046 Delete.
8bdfa064 3047
5eba16a3
JB
30482011-07-14 Juanma Barranquero <lekktu@gmail.com>
3049
3050 * follow.el (follow-debug-message, follow-redisplay):
3051 * jka-cmpr-hook.el (with-auto-compression-mode):
3052 Fix typos in docstrings.
3053
15853710
LMI
30542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3055
a28e4607
LMI
3056 * subr.el (with-silent-modifications): Clarify somewhat what the
3057 macro inhibits (bug#6525).
3058
15853710
LMI
3059 * simple.el (eval-expression): Note what it does if called
3060 interactively (bug#6495).
3061
bee0fcef
CY
30622011-07-13 Chong Yidong <cyd@stupidchicken.com>
3063
b796c9b7
SM
3064 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3065 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3066
3067 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3068 Remove switch-to-buffer.
3069
58274504
LMI
30702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3071
bd2fcc8d
LMI
3072 * files.el (make-directory): Clarify that an error will be raised
3073 if there's an error (bug#6397).
3074
0f04b32c
LMI
3075 * startup.el (initial-buffer-choice): Add `none' as a choice
3076 (bug#6234).
3077
465c5fc8
LMI
3078 * subr.el (add-hook): Clarify section about buffer-local hooks
3079 (bug#6218).
3080
58274504
LMI
3081 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3082
bead9a43
JB
30832011-07-13 Juanma Barranquero <lekktu@gmail.com>
3084
3085 * tabify.el (untabify): Preserve the current column so that point
3086 doesn't move (bug#6032).
3087
3af98a7b
LMI
30882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3089
b796c9b7
SM
3090 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3091 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3092
6240145a
GM
30932011-07-13 Glenn Morris <rgm@gnu.org>
3094
3095 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3096 (dired-insert-directory): Give a message the first time
3097 if ls is found not to support --dired.
3098
1d8c2ccc
LMI
30992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3100
3101 * simple.el (toggle-truncate-lines): Clarify what is toggled
3102 (bug#5580). Text by Drew Adams.
3103
5fc4038e
CY
31042011-07-13 Chong Yidong <cyd@stupidchicken.com>
3105
3106 * simple.el (blink-matching-open): Make the error message from the
3107 last change less verbose.
3108
bf6012e5
DN
31092011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3110
3111 * font-lock.el (font-lock-comment-face): Use the high contrast
3112 "yellow" color for font-lock-comment-face on low color terminals
3113 using a dark background color (bug#4221).
3114
343c3b5a
LMI
31152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3116
7e9505c5
LMI
3117 * dired.el (dired-insert-set-properties): Make the doc string
3118 reflect what it does now (bug#5325).
3119
c26fdcf5
LMI
3120 * simple.el (blink-matching-open): Say that we were unable to find
3121 the match within the limit, if we're limited (bug#5122).
3122
bb388cc5
LMI
3123 * international/mule-cmds.el (prefer-coding-system): Add an
3124 example (bug#4869).
3125
343c3b5a
LMI
3126 * progmodes/etags.el (tags-search): Document `file-list-form'
3127 (bug#4731).
3128
2a517d45
LM
31292011-07-13 Lawrence Mitchell <wence@gmx.li>
3130
3131 * net/browse-url.el (browse-url-default-browser)
3132 (browse-url-browser-function): Make the default browser choice a
3133 bit more logical (bug#4300). Also clean up the doc string.
3134
b6c78ef2
JB
31352011-07-13 Juanma Barranquero <lekktu@gmail.com>
3136
3137 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3138 binary endings (bug#4440).
3139
1c4dd947
LMI
31402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3141
a2014063
LMI
3142 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3143 which can be pretty annoying (bug#8971).
3144
9c9c2d88
LMI
3145 * jka-compr.el (jka-compr-verbose): New variable, and use
3146 throughout (bug#8971).
3147
1c4dd947
LMI
3148 * info.el (Info-find-file): Fall back on the installation
3149 directory if we can't find the info node anywhere else.
3150
a1c9f41b
SO
31512011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3152
3153 * vc/vc.el (vc-revert-file):
3154 Don't set file time-stamp in the past. (Bug#5181)
3155
536f3d36
LMI
31562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3157
7152b011
LMI
3158 * files.el (after-find-file): Give a better error message when
3159 trying to find a symlink that points to a file that doesn't exist
3160 (bug#4398).
3161
536f3d36
LMI
3162 * progmodes/cc-vars.el: Remove (probably) misleading comment
3163 (bug#4396).
3164
460c0fba
JB
31652011-07-12 Johan Bockgård <bojohan@gnu.org>
3166
3167 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3168
7a6bda45
CY
31692011-07-12 Chong Yidong <cyd@stupidchicken.com>
3170
3171 * mouse-sel.el: Hack restoring functionality, while keeping
3172 compatibility with 2010-07-03 changes to mouse selection.
3173 (mouse-sel-primary-overlay): New var.
3174 (mouse-sel-selection-alist): Use it.
3175 (mouse-sel-mode): Doc fix; remove points that are default features
3176 of mouse.el.
3177
c79598ef
JB
31782011-07-12 Johan Bockgård <bojohan@gnu.org>
3179
3180 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3181 Fix previous fix (bug#2490).
3182
ff8be6ef
RW
31832011-07-12 Roland Winkler <winkler@gnu.org>
3184
b796c9b7
SM
3185 * textmodes/bibtex.el (bibtex-initialize):
3186 Use pop-to-buffer-same-window.
ff8be6ef
RW
3187 (bibtex-search-entries): Fix interactive call.
3188
296ba3ee
LMI
31892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3190
f5242a02 3191 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3192 Fontise bytecomp Error lines more correctly (bug#2490).
3193 Fix suggested by Johan Bockgård.
f5242a02 3194
296ba3ee
LMI
3195 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3196
3197 * dired-x.el (dired-guess-default): Use `delete-dups'.
3198
f69fd0d2
CY
31992011-07-12 Chong Yidong <cyd@stupidchicken.com>
3200
3201 * dired.el (dired-mark-prompt):
3202 * dired-aux.el (dired-read-shell-command): Doc fix.
3203
eab5dc07
LMI
32042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3205
b796c9b7
SM
3206 * mail/sendmail.el (sendmail-query-once):
3207 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3208 emacs -Q.
3209
3210 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3211
eab5dc07
LMI
3212 * cus-edit.el (custom-file): Take an optional no-error variable.
3213 (customize-save-variable): Set the variable, and give a warning if
3214 running under "emacs -q".
3215
a1e65d42
JB
32162011-07-11 Juanma Barranquero <lekktu@gmail.com>
3217
3218 * loadhist.el (unload-feature-special-hooks):
3219 Add `auto-coding-functions', `fill-nobreak-predicate' and
3220 `find-directory-functions' (bug#5327).
3221
1d52da10
LMI
32222011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3223
be958f1d
LMI
3224 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3225
5bedb26c
LMI
3226 * cus-edit.el (custom-guess-name-alist): -alist variables should
3227 use the `alist' type (bug#3120). Suggested by Drew Adams.
3228
1d52da10
LMI
3229 * printing.el: Add documentation to all the `pr-toggle-' commands.
3230
481a51b6
LL
32312011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3232
3233 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3234 backends where it makes sense (bug#2623).
3235
dcc88d8a
LMI
32362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3237
c3de9feb
LMI
3238 * dired-x.el (dired-guess-default): Remove duplicate shell command
3239 entries (bug#2028).
8a93078b 3240 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3241 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3242
dcc88d8a
LMI
3243 * subr.el (remove-duplicates): New conveniency function.
3244
505e3645
LMI
32452011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3246
3247 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3248 (bug#1526).
3249
32502011-07-10 Martin Rudalics <rudalics@gmx.at>
3251
3252 * window.el (display-buffer-normalize-default): Don't invert
3253 meaning of even-window-heights. Reported by Eli Zaretskii
3254 <eliz@gnu.org>.
3255
455e4fa1
BR
32562011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3257
3258 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3259
8e0bc3e9
CY
32602011-07-10 Chong Yidong <cyd@stupidchicken.com>
3261
3262 * window.el (display-buffer): Fix arguments to
3263 display-buffer-reuse-window in last change.
3264
fa7c3228
CY
3265 * faces.el (link): Use a less saturated blue on light backgrounds.
3266
3267 * startup.el (fancy-startup-text, fancy-about-text)
3268 (fancy-startup-tail): Use font-lock faces, for background safety.
3269
c0a7f300
BN
32702011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3271
b796c9b7
SM
3272 * emulation/viper-cmd.el (viper-change-state-to-vi):
3273 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3274
4dc2a129
MR
32752011-07-09 Martin Rudalics <rudalics@gmx.at>
3276
3277 * window.el (display-buffer-default-specifiers): Remove.
3278 (display-buffer-macro-specifiers): Remove default specifiers.
3279 (display-buffer-alist): Default to nil.
b796c9b7 3280 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3281 (display-buffer-pop-up-window): Allow splitting internal
3282 windows. Check whether a live window was created.
3283 (display-buffer-other-window-means-other-frame)
3284 (display-buffer-normalize-arguments): Rename to
3285 display-buffer-normalize-argument and rewrite. Set the
3286 other-window specifier.
3287 (display-buffer-normalize-special): New function.
3288 (display-buffer-normalize-options): Rename to
3289 display-buffer-normalize-default and rewrite.
3290 (display-buffer-normalize-options-inhibit): Remove.
3291 (display-buffer-normalize-specifiers): Rewrite.
3292 (display-buffer): Process other-window specifier and call
3293 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3294 more faithfully.
b796c9b7 3295 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3296 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3297 (display-buffer-in-window, display-buffer-alist-set):
3298 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3299 <tassilo@member.fsf.org>.
3300
2d43b8c9
LL
33012011-07-09 Leo Liu <sdl.web@gmail.com>
3302
3303 * register.el (insert-register): Restore accidental change on
3304 2011-06-26. (Bug#9028)
3305
7f9b7c53
GM
33062011-07-09 Glenn Morris <rgm@gnu.org>
3307
3308 * subr.el (remq): Handle the empty list. (Bug#9024)
3309
f042cfd8
AS
33102011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3311
3312 * mail/sendmail.el (send-mail-function): No longer delay custom
3313 initialization.
3314 * custom.el (custom-initialize-delay): Doc fix.
3315
856b2f11
SM
33162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3319
afae1d68
MA
33202011-07-08 Michael Albinus <michael.albinus@gmx.de>
3321
3322 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3323 human-friendly prompt.
3324
0757af94
SM
33252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3328 provided by a particular plugin.
3329
d760b731
LMI
33302011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3331
3332 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3333 save customizations (with "emacs -Q"), just set the variable
3334 instead of erroring out.
3335
3336 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3337
cd79ce90
JL
33382011-07-08 Juri Linkov <juri@jurta.org>
3339
3340 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3341 (archive-zip-update-case): Use 7z if found by `executable-find'.
3342 The order of searching the available programs is the same as in
3343 `archive-zip-extract' (bug#8968).
3344
14cc04aa
CY
33452011-07-07 Chong Yidong <cyd@stupidchicken.com>
3346
3347 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3348 (menu-bar-options-menu): Tweak descriptions.
3349
0a1848ec
LMI
33502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3351
3352 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3353 menu items into verb phrases (bug#1421). Also refill to fit under
3354 80 columns.
3355
f5bd0689
CY
33562011-07-07 Chong Yidong <cyd@stupidchicken.com>
3357
538e85c6
CY
3358 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3359 (Info-read-node-name): Doc fix (Bug#1084).
3360
f5bd0689
CY
3361 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3362 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3363 (end-of-sexp, beginning-of-sexp)
3364 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3365 (forward-symbol, forward-same-syntax, word-at-point)
3366 (sentence-at-point): Doc fix (Bug#1144).
3367
56ec5115
LMI
33682011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3369
f3f8e37f
LMI
3370 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3371 should cover it (bug#1281).
3372
0757af94 3373 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3374
12b9eb35
LMI
3375 * net/network-stream.el (network-stream-open-starttls): If gnutls
3376 negotiation fails, then possibly try again with a non-encrypted
3377 connection (bug#9017).
3378
56ec5115
LMI
3379 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3380 be used.
3381
c2f9aec8
RS
33822011-07-07 Richard Stallman <rms@gnu.org>
3383
3384 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3385 property, and handle its changed format.
3386 Look for the correct line number.
3387 Use file's line contents (but not past first =) to find
3388 correct line in message.
3389
ef7b981d 33902011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3391
3392 * international/characters.el (build-unicode-category-table):
3393 Delete it.
0757af94 3394 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3395
0757af94 3396 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3397 to src/chartab.c.
3398 (get-char-code-property): Call unicode-property-table-internal to
3399 load a file. Call get-unicode-property-internal where necessary.
3400 (put-char-code-property): Call unicode-property-table-internal to
3401 load a file. Call put-unicode-property-internal where necessary.
3402 put-unicode-property-internal where necessary.
0757af94
SM
3403 (char-code-property-description):
3404 Call unicode-property-table-internal to load a file.
c805dec0
KH
3405
3406 * international/charprop.el:
3407 * international/uni-bidi.el:
3408 * international/uni-category.el:
3409 * international/uni-combining.el:
3410 * international/uni-comment.el:
3411 * international/uni-decimal.el:
3412 * international/uni-decomposition.el:
3413 * international/uni-digit.el:
3414 * international/uni-lowercase.el:
3415 * international/uni-mirrored.el:
3416 * international/uni-name.el:
3417 * international/uni-numeric.el:
3418 * international/uni-old-name.el:
3419 * international/uni-titlecase.el:
3420 * international/uni-uppercase.el: Regenerate.
3421
3422 * loadup.el: Load international/charprop.el before
3423 international/characters.
3424
e14b388a
CY
34252011-07-07 Chong Yidong <cyd@stupidchicken.com>
3426
3427 * window.el (next-buffer, previous-buffer): Signal an error if
3428 called from a minibuffer window.
3429
3430 * bindings.el: Revert 2011-07-04 change.
3431
354cf0ba
RS
34322011-07-06 Richard Stallman <rms@gnu.org>
3433
3434 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3435 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3436 Treat markers like ints.
3437 (rmail-mime-entity): Doc fix.
3438
a48868a7
LMI
34392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3440
4906cd3d
LMI
3441 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3442 defcustom again for backwards compatibility.
3443
e0457abe
LMI
3444 * simple.el (shell-command-on-region): Fill.
3445
d67f7e1f
LMI
3446 * dired-aux.el (dired-kill-line): Add a doc string.
3447
fe204702
LMI
3448 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3449 to "\\sw\\|\\s_" (bug#358).
3450
a48868a7
LMI
3451 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3452 (dired-unmark-backward): Ditto.
3453 (dired-flag-backup-files): Ditto.
3454
3455 * dired-x.el (dired-mark-sexp): Ditto.
3456
aa8a705c
RS
34572011-07-06 Richard Stallman <rms@gnu.org>
3458
3459 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3460 (rmail-mime-entity): New arg TRUNCATED.
3461 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3462 New functions.
3463 (rmail-mime-save): Warn if entity is truncated.
3464 (rmail-mime-toggle-hidden): Likewise, for showing.
3465 (rmail-mime-process-multipart): Record when an entity is truncated.
3466
a9a936b9
RS
3467 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3468 if ENTITY is a string.
3469
1f2b92cb
LMI
34702011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3471
f4f73198 3472 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3473 of faces when `M-C-x'-ing their definitions (bug#8378).
3474 Also clean up the code slightly.
f4f73198 3475
12b16734
LMI
3476 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3477 because that makes the colours go away.
3478
f0691d22
LMI
3479 * mail/sendmail.el (send-mail-function): Change the default to
3480 `sendmail-query-once'.
9e87df06 3481 (sendmail-query-once): Add an autoload cookie.
f0691d22 3482
1f2b92cb
LMI
3483 * net/network-stream.el (network-stream-open-starttls): Try using
3484 a plain connection even if the server offered STARTTLS, and we
3485 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3486 capability. This should make smtpmail.el work in slightly more
3487 configurations.
3488
1cdd2a1b
MA
34892011-07-06 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3492 New defun.
3493 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3494
fbcc67e2
MM
34952011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3496
3497 * progmodes/sql.el: Version 3.0
0757af94 3498 (sql-product-alist): Add product :completion-object,
fbcc67e2 3499 :completion-column, and :statement attributes.
0757af94 3500 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3501 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3502 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3503 ansi keywords.
3504 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3505 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3506 (sql-oracle-show-reserved-words): New function for development.
3507 (sql-product-font-lock): Simplify for source code buffers.
3508 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3509 New functions.
3510 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3511 (sql-mode-map): Add statement movement functions.
3512 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3513 New variable.
fbcc67e2
MM
3514 (sql-statement-regexp, sql-beginning-of-statement)
3515 (sql-end-of-statement, sql-signum): New functions.
0757af94 3516 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3517 (sql-show-sqli-buffer): Bug fix.
3518 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3519 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3520 with sql-interactive-mode.
3521 (sql-save-connection): Save buffer local settings.
0757af94 3522 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3523 (sql-product-interactive): Bug fix.
3524 (sql-preoutput-hold): New variable.
3525 (sql-interactive-remove-continuation-prompt): Bug fixes.
3526 (sql-debug-redirect): New variable.
3527 (sql-str-literal): New function.
3528 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3529 Redesign.
fbcc67e2
MM
3530 (sql-oracle-save-settings, sql-oracle-restore-settings)
3531 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3532 (sql-completion-object, sql-completion-column)
3533 (sql-completion-sqlbuf): New variables.
3534 (sql-build-completions-1, sql-build-completions)
3535 (sql-try-completion): New functions.
3536 (sql-read-table-name): Use them.
3537 (sql-contains-names): New buffer local variable.
3538 (sql-list-all, sql-list-table): Use it.
3539 (sql-oracle-completion-types): New variable.
3540 (sql-oracle-completion-object, sql-sqlite-completion-object)
3541 (sql-postgres-completion-object): New functions.
3542
d4eaeab1
GM
35432011-07-06 Glenn Morris <rgm@gnu.org>
3544
3545 * window.el (pop-to-buffer): Doc fix.
3546
322b7dab 35472011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3548
3549 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3550
322b7dab 35512011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3552
322b7dab 3553 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3554
322b7dab 3555 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3556
605dd5bf
CY
35572011-07-05 Chong Yidong <cyd@stupidchicken.com>
3558
3559 * button.el (button): Inherit from link face. Suggested by Dan
3560 Nicolaescu.
3561
7dbfa719
SM
35622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3db614b0
SM
3564 * progmodes/gdb-mi.el: Fit in 80 columns.
3565 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3566 switch-to-buffer.
3567
7dbfa719
SM
3568 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3569 if imenu is simply not configured (bug#8941).
3570
919d884a
KM
35712011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3572
3573 * allout.el (allout-post-undo-hook): New allout outline-change
3574 event hook to signal undo activity.
3575 (allout-post-command-business): Run allout-post-undo-hook if an
3576 undo just occurred.
7dbfa719
SM
3577 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3578 * allout-widgets.el (allout-widgets-after-undo-function):
3579 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3580 in the vicinity of an undo.
3581 (allout-widgets-mode): Include allout-widgets-after-undo-function
3582 on the new allout-post-undo-hook.
3583
450a0f09
SM
35842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3587 Let define-derived-mode define it.
3588 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3589 cycles of abbrev-table inheritance (bug#8998).
3590
2de69e00
RW
35912011-07-05 Roland Winkler <winkler@gnu.org>
3592
3593 * textmodes/bibtex.el: Add support for biblatex.
3594 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3595 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3596 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3597 (bibtex-entry-alist, bibtex-field-alist): New variables.
3598 (bibtex-entry-field-alist): Obsolete alias for
3599 bibtex-BibTeX-entry-alist.
3600 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3601 (bibtex-set-dialect): New command.
3602 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3603 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3604 Bind via bibtex-set-dialect.
2de69e00
RW
3605 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3606 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3607 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3608 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3609 Define via bibtex-set-dialect.
450a0f09
SM
3610 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3611 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3612 (bibtex-vec-push, bibtex-vec-incr): New functions.
3613 (bibtex-format-entry, bibtex-field-list)
3614 (bibtex-print-help-message, bibtex-validate)
3615 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3616
2dcdbdd9
SM
36172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * progmodes/compile.el (compilation-goto-locus):
3620 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3621 * bs.el (bs-cycle-next, bs-cycle-previous):
3622 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3623 * bindings.el (mode-line-other-buffer):
3624 * autoinsert.el (auto-insert):
3625 * arc-mode.el (archive-extract):
3626 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3627
b27640fe
JB
36282011-07-05 Juanma Barranquero <lekktu@gmail.com>
3629
3630 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3631 Fix check of `emacs-lock-unlockable-modes'.
3632 Coerce true values of `emacs-lock--try-unlocking' to t.
3633
53bbe3ad
JB
36342011-07-05 Juanma Barranquero <lekktu@gmail.com>
3635
3636 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3637 * emacs-lock.el: New file.
3638
1d3cdbc7
JD
36392011-07-05 Julien Danjou <julien@danjou.info>
3640
3641 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3642 than `boundp' to check if face is set.
3643
9173deec
JB
36442011-07-05 Juanma Barranquero <lekktu@gmail.com>
3645
3646 * register.el (registerv-make):
3647 * window.el (window-min-height): Fix typos in docstrings.
3648
869795d6
JD
36492011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3650
9173deec 3651 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3652 Update doc string.
3653
b768cdcd
JB
36542011-07-04 Juanma Barranquero <lekktu@gmail.com>
3655
3656 * server.el (server-execute): Catch quit and call
3657 `server-return-error' to pass the error back to emacsclient and
3658 close the connection (bug#8942).
3659
13aa217b
KM
36602011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3661
3662 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3663 insecure exception for current topic. Also note that auto-saves
3664 are handled differently.
3665
3666 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3667 State variables for tracking auto-save inhibition situation.
3668
3669 (allout-write-contents-hook-handler): Rename from
3670 'allout-write-file-hook-handler', and describe how it depends on
3671 write-contents-functions sensitivity to non-nil value to prevent
3672 file write.
3673
3674 (allout-auto-save-hook-handler): Remove. auto-save does not check
3675 this in individual buffers, only in the starting buffer, so this
3676 is not the right way for us to inhibit auto-save in a buffer
3677 according to its condition.
3678
3679 (allout-mode): Use new allout-write-contents-hook-handler, and
3680 only with write-contents-functions. Remove auto-save provisions -
3681 they're implemented elsewhere.
3682
3683 (allout-before-change-handler): If undo is in progress, note that
3684 for attention of allout-post-command-business.
3685
3686 (allout-post-command-business): If the command we're following was
3687 an undo, check for change in the status of encrypted items and
3688 adjust auto-save inhibitions accordingly.
3689
3690 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3691 according to whether there are or aren't any plain-text topics
3692 pending encryption.
3693
2dcdbdd9
SM
3694 (allout-inhibit-auto-save-info-for-decryption):
3695 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3696 there are plain-text topics pending encryption.
3697
3698 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3699 buffer-saved-size and some allout state to not inhibit auto-saves
3700 if there are no longer any plain-text topics pending encryption.
3701
0757af94
SM
3702 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3703 No longer provide for exemption of the current topic.
13aa217b 3704
ac89b32c
JL
37052011-07-04 Juri Linkov <juri@jurta.org>
3706
3707 Add 7z operations to delete and save changed members (bug#8968).
3708 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3709 New defcustoms.
3710 (archive-7z-write-file-member): New function.
3711 (archive-7z-summarize): Fix the number of dashes in the
3712 listing output.
3713
8fa39615
SM
37142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3717 (bug#8958).
3718
2f11b3f1
CY
37192011-07-04 Chong Yidong <cyd@stupidchicken.com>
3720
d66fef2b
CY
3721 * bindings.el: Ignore next-buffer and previous-buffer in
3722 minibuffer-local-map.
3723
2f11b3f1
CY
3724 * font-lock.el (font-lock-builtin-face): Change light background
3725 color to dark slate blue (Bug#6693).
3726
f932a347
WD
37272011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3728
3729 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3730
c8af70e1
SM
37312011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3734 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3735 Add switch-to-buffer.
3736
f158badc
LMI
37372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3738
3739 * isearch.el (isearch-search-fun-function): Clarify further the
3740 meaning of the function returned.
3741
6d95bd46
MA
37422011-07-04 Michael Albinus <michael.albinus@gmx.de>
3743
3744 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3745
3746 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3747 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3748 Use it.
3749 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3750 `tramp-default-remote-path' does not exist.
3751 (tramp-send-command-and-read): New optional argument NOERROR.
3752 (tramp-open-connection-setup-interactive-shell)
3753 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3754 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3755 (tramp-process-sentinel): Flush also process' connection property.
3756 (tramp-sh-handle-start-file-process): Do not set process
3757 sentinel. It is done now ...
3758 (tramp-maybe-open-connection): ... here. (Bug#8929)
3759
909e6b67
MK
37602011-07-04 MON KEY <monkey@sandpframing.com>
3761
3762 * play/animate.el (animate-string): Doc fixes and allow changing
3763 the buffer name (bug#5417).
3764
37652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3766
c8af70e1 3767 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3768
f34755dc
PE
37692011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3770
396cec72
PE
3771 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3772 This is simpler and helps future-proof the code.
3773 (timer-until): Use time-subtract and float-time.
08235028 3774 (timer--time-less-p): Use time-less-p.
f34755dc 3775
56e6cc31
JB
37762011-07-04 Juanma Barranquero <lekktu@gmail.com>
3777
3abb79e5
JB
3778 * type-break.el (timep): Use the value of `float-time' to avoid a
3779 byte-compiler warning.
3780
56e6cc31
JB
3781 * server.el (server-eval-and-print): Return any result, even nil.
3782
7b9430b4
PE
37832011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3784
3785 * type-break.el: Accept time formats that the builtins accept.
3786 (timep, type-break-time-difference): Accept any format that
3787 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3788 This is simpler and helps future-proof the code.
3789 (type-break-time-difference): Round rather than ignoring
3790 subseconds components.
3791
3034e9e7
LMI
37922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3793
3794 * info.el (Info-apropos-matches): Make non-interactive, since it
3795 doesn't seem to do anything useful as a command (bug#8829).
3796
1485f4c0
CY
37972011-07-03 Chong Yidong <cyd@stupidchicken.com>
3798
3799 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3800 Move from faces.el.
1485f4c0
CY
3801 (frame-default-terminal-background): New function.
3802
3803 * custom.el (custom-push-theme): Don't record faces in `changed'
3804 theme; this doesn't work correctly for per-frame face settings.
3805 (disable-theme): Use face-set-after-frame-default to reset faces.
3806 (custom--frame-color-default): New function.
3807
9fa3dd45
LMI
38082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3809
c8af70e1 3810 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3811 (bug#8769).
3812
6cbbc20c
KR
38132011-03-29 Kevin Ryde <user42@zip.com.au>
3814
3815 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3816 `perl-Test2' extend to match possible "fail #N" rep count
3817 (bug#8377).
3818
c7f98048
LMI
38192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3820
65676592
LMI
3821 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3822 `smtpmail-via-smtp' now returns the error instead of nil.
3823
c7f98048
LMI
3824 * isearch.el (isearch-search-fun-function): Clarify the doc string
3825 (bug#8101).
3826
56e6cc31 38272011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3828
3829 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3830 unnecessary spaces (bug#8987).
3831
2b216704
LMI
38322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3833
3834 * net/network-stream.el (open-network-stream): Use the
3835 :end-of-capability command thoughout.
3836
38372011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3838
3839 * net/network-stream.el (open-network-stream): Add the
3840 :end-of-capability command parameter, used by pop3.el.
3841
36adf6ce
LMI
38422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3843
1ca0da0e
LMI
3844 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3845
fc00f69c
LMI
3846 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3847 for list)" (bug#6475).
3848
28fd8759
LMI
3849 * files.el (file-expand-wildcards): Ignore non-readable
3850 sub-directories while trying to find matches instead of signalling
3851 an error (bug#6297).
3852
0dd8b6da
LMI
3853 * man.el (Man-reference-regexp): Allow matching possible
3854 word-wrapped references (bug#6289).
3855
ce1438d6
LMI
3856 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3857 for consistency with the other vc buffers (bug#6197).
3858 (vc-checkin): Ditto.
3859
3860 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3861
36adf6ce
LMI
3862 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3863
e83cc1f7
LMI
38642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3865
8a20ca4c
LMI
3866 * custom.el (defcustom): Clarify that :set is only used in the
3867 Customize user interface (bug#6089).
3868
83319045
LMI
3869 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3870 associated with a file, refuse to run instead of erroring out
3871 (bug#6084).
3872
a8392169
LMI
3873 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3874 the doc string, since it appears that using `fill-column' always
3875 controls the width (bug#7845).
3876
e83cc1f7
LMI
3877 * simple.el (shell-command-on-region): Say where the error output
3878 went if `shell-command-default-error-buffer' is set (bug#6857).
3879
e47ca23b
KM
38802011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3881
3882 * allout.el (allout-yank-processing): Adjust cursor position for
3883 backwards-deleted space.
3884
3885 (allout-rebullet-heading): Register changes with
3886 allout-exposure-changed-hook, so the modified topic is properly
3887 decorated.
3888
5cf56143
LMI
38892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3890
08549772
LMI
3891 * minibuffer.el (completion-in-region): Document PREDICATE
3892 (bug#7136).
3893
48e96771
LMI
3894 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3895 of keyword/argument pairs (bug#6904).
3896
c8af70e1
SM
3897 * replace.el (multi-occur):
3898 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3899
e17d05e2
LMI
39002011-07-02 Drew Adams <drew.adams@oracle.com>
3901
3902 * dired.el (dired-mark-if): Make the message about whether it's
3903 marking or unmarking clearer (bug#8523).
3904
063b0e45
LMI
39052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3906
3907 * disp-table.el (display-table-print-array): New function.
3908 (describe-display-table): Use it to print the vectors more pretty
3909 (Bug#8859).
3910
28545e04
MR
39112011-07-02 Martin Rudalics <rudalics@gmx.at>
3912
3913 * window.el (window-state-get-1): Don't assign clone numbers.
3914 Add clone-of item to list of window parameters.
3915 (window-state-put-2): Don't process clone numbers.
3916 (display-buffer-alist): Fix doc-string.
3917
3349e122
SM
39182011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * subr.el (remq): Don't allocate if it's not needed.
3921 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3922 (keymap--merge-bindings): New functions.
3923 (keymap-canonicalize): Use them to refine the canonicalization.
3924 * minibuffer.el (minibuffer-local-completion-map)
3925 (minibuffer-local-must-match-map): Move initialization from C.
3926 (minibuffer-local-filename-completion-map): Move initialization from C;
3927 don't inherit from anything here.
3928 (minibuffer-local-filename-must-match-map): Make obsolete.
3929 (completing-read-default): Use make-composed-keymap to combine
3930 minibuffer-local-filename-completion-map with either
3931 minibuffer-local-must-match-map or
3932 minibuffer-local-filename-completion-map.
3933
d224ac83
GM
39342011-07-01 Glenn Morris <rgm@gnu.org>
3935
3de63bf8
GM
3936 * type-break.el (type-break-time-sum): Use dolist.
3937
d224ac83
GM
3938 * textmodes/flyspell.el (flyspell-word-search-backward):
3939 Replace CL function.
3940
1a1e3f32
SM
39412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3942
fe3f64d5
SM
3943 * mouse.el (mouse--strip-first-event): New function.
3944 (function-key-map): Use it to map fringe clicks to normal clicks
3945 by default.
3946
eb604e34
SM
3947 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3948 (vc-bzr-revision-completion-table): Add support for annotate and date.
3949
1a1e3f32
SM
3950 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3951 inherit from parent.
3952
5bd35902
LMI
39532011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3954
ace6c69c 3955 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3956 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3957
191e2bed
LMI
3958 * dired.el (dired-mode): Fix up the doc string as suggested by
3959 Drew Adams (bug#8817).
3960
5bd35902
LMI
3961 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3962 cookie, since the manual says that it should be possible to add
3963 this function to `find-file-hook' (bug#8709).
3964
eee8207a
TZ
39652011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3966
3967 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3968 here. Noted Ted Zlatanov as the maintainer.
3969 (cfengine-common-settings, cfengine-common-syntax): New functions
3970 to set up common things between `cfengine-mode' and
3971 `cfengine3-mode'.
3972 (cfengine3-mode): New mode.
3973 (cfengine3-defuns cfengine3-defuns-regex
3974 (cfengine3-class-selector-regex cfengine3-category-regex)
3975 (cfengine3-vartypes cfengine3-font-lock-keywords)
3976 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3977 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3978
36b148cf
MA
39792011-07-01 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3982
3983 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3984
0bf4ba9a
MR
39852011-07-01 Martin Rudalics <rudalics@gmx.at>
3986
3987 * window.el (same-window-buffer-names, same-window-regexps)
3988 (same-window-p, special-display-frame-alist)
3989 (special-display-popup-frame, special-display-function)
3990 (special-display-buffer-names, special-display-regexps)
3991 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3992 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3993 (split-window-preferred-function, split-height-threshold)
3994 (split-width-threshold, even-window-heights)
3995 (display-buffer-mark-dedicated, window-splittable-p)
3996 (split-window-sensibly, window-safely-shrinkable-p):
3997 Un-obsolete.
3998 (display-buffer): Don't spread args with function specifier
3999 because special-display-popup-frame won't like it.
4000
35837f51
PE
40012011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4002
d0672f86
PE
4003 Time-stamp simplifications and fixes.
4004 These improve accuracy slightly, and future-proof the code
4005 against some potential changes to current-time format.
4006
b9444d97
PE
4007 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4008 by using time-since and float-time.
4009
0ef923dc
PE
4010 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4011 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4012 + NNN microseconds".
4013
2f81380d
PE
4014 * type-break.el (type-break-time-sum): Rewrite using time-add.
4015
845b5c3e
PE
4016 * play/hanoi.el (hanoi-current-time-float): Remove.
4017 All uses replaced by float-time.
4018
ee6f1be0
PE
4019 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4020 This yields a more-accurate answer.
4021 (rng-time-to-float): Remove; no longer needed.
4022
fe955043
PE
4023 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4024
5777162a
PE
4025 * calendar/timeclock.el (timeclock-seconds-to-time):
4026 Defalias to seconds-to-time, since they're the same thing.
4027
3103f8b6 4028 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4029 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4030 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4031
0e61a35f
SM
40322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * window.el (bury-buffer): Don't iconify the only frame.
4035 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4036 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4037
ddd63a1e
CY
40382011-07-01 Chong Yidong <cyd@stupidchicken.com>
4039
0e61a35f
SM
4040 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4041 Add mouse-yank-primary.
ddd63a1e 4042
055f4923
TZ
40432011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4044
4045 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4046
6a2fb145
SM
40472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4050 (find-library-name): Use it to find relative load names when provided
4051 absolute file name (bug#8803).
4052
fd4983f2
LMI
40532011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4054
887d14ad
LMI
4055 * textmodes/flyspell.el (flyspell-word): Consider words that
4056 differ only in case as potential doublons (bug#5687).
4057
c53dc7fc
LMI
4058 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4059 Remove two rather uninteresting debugging-like messages to make
4060 debbugs.el more silent.
4061
fd4983f2
LMI
4062 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4063 a password-like phrase.
4064
b14c0c55
AM
40652011-06-30 Mastake YAMATO <yamato@redhat.com>
4066
4067 * progmodes/cc-guess.el: New file.
4068
6a2fb145 4069 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4070
4071 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4072 derived from `c-basic-common-init'.
4073
4074 * progmodes/cc-mode.el (top-level): Require cc-guess.
4075 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4076
1fa280a3
LM
40772011-06-30 Lawrence Mitchell <wence@gmx.li>
4078
4079 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4080
e6597158
AM
40812011-06-30 Alan Mackenzie <acm@muc.de>
4082
1fa280a3
LM
4083 * progmodes/cc-engine.el (c-guess-continued-construct):
4084 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4085 lock is disabled. Name this case as "CASE G".
4086
68ba37fb
KM
40872011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4088
4089 * allout.el (allout-yank-processing): Fix injection of extra space
4090 between bullet and non-whitespace character in first topic when
4091 pasting, ensuring that the actual spacing in the pasted topic
4092 following the bullet char is preserved. This extra space was
4093 causing pasted encrypted topics to get a decrypted status even
4094 when the content was actually still encrypted. Now the decryption
4095 status from before the paste is preserved.
4096
4097 (allout-flag-region): Set all allout overlays so they evaporate
4098 when reduced to zero length (evanescent), to prevent overlay
4099 leakage.
4100
887a0b34
GM
41012011-06-30 Glenn Morris <rgm@gnu.org>
4102
94b9acce
GM
4103 * w32-fns.el (w32-charset-info-alist): Declare.
4104
1d9b46d4
GM
4105 * find-dired.el (find-grep-options): Simplify.
4106
cc232200
GM
4107 * term/ns-win.el (ns-set-resource): Declare.
4108
28e77c46
GM
4109 * ses.el (row, col): Declare dynamic variables honestly.
4110
887a0b34
GM
4111 * textmodes/reftex-parse.el (index-tags): Declare.
4112
658d8eb8
CY
41132011-06-30 Chong Yidong <cyd@stupidchicken.com>
4114
4115 * cus-edit.el (customize-push-and-save): New function.
4116
4117 * files.el (hack-local-variables-confirm): Use it.
4118
1fa280a3
LM
4119 * custom.el (load-theme): New arg NO-CONFIRM.
4120 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4121 (custom-enabled-themes): Doc fix.
4122
4123 * cus-theme.el (customize-create-theme)
4124 (custom-theme-merge-theme): Callers to load-theme changed.
4125
bb617717
LMI
41262011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4127
d61bdd5d
LMI
4128 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4129 short URLs have at least one dot in them (bug #7614).
4130
bb617717
LMI
4131 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4132 nil, because using a pty is apparently too slow (bug #895).
4133
2f31f37a
LMI
41342011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4135
4136 * mail/sendmail.el (sendmail-query-once): New function.
4137 (sendmail-query-once-function): New variable.
4138
3076b24e
GM
41392011-06-29 Glenn Morris <rgm@gnu.org>
4140
faf2a174
GM
4141 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4142
3076b24e
GM
4143 * ses.el (top-level): Require cl when compiling.
4144 (ses-set-localvars): Fix error statement.
4145 Call it at compile time to silence a storm of warnings.
4146
5386012d
MR
41472011-06-29 Martin Rudalics <rudalics@gmx.at>
4148
4149 * window.el (normalize-live-buffer): Rename to
4150 window-normalize-buffer.
4151 (normalize-live-frame): Rename to window-normalize-frame.
4152 (normalize-any-window): Rename to window-normalize-any-window.
4153 (normalize-live-window): Rename to window-normalize-live-window.
4154 (make-window-atom): Rename to window-make-atom.
4155 (window-resize-reset): Rename to window--resize-reset.
4156 (window-resize-reset-1): Rename to window--resize-reset-1.
4157 (resize-mini-window): Rename to window--resize-mini-window.
4158 (resize-subwindows-skip-p): Rename to
4159 window--resize-subwindows-skip-p.
4160 (resize-subwindows-normal): Rename to
4161 window--resize-subwindows-normal.
4162 (resize-subwindows): Rename to window--resize-subwindows.
4163 (resize-other-windows): Rename to window--resize-siblings.
4164 (resize-this-window): Rename to window--resize-this-window.
4165 (resize-root-window): Rename to window--resize-root-window.
4166 (resize-root-window-vertically): Rename to
4167 window--resize-root-window-vertically.
4168 (normalize-buffer-to-display): Rename to
4169 window-normalize-buffer-to-display.
4170 (normalize-buffer-to-switch-to): Rename to
4171 window-normalize-buffer-to-switch-to.
4172 Correspondingly update all callers of the functions listed
4173 above.
4174 (display-buffer-alist, display-buffer-normalize-arguments)
4175 (display-buffer-normalize-options, display-buffer)
4176 (display-buffer-alist-set): Use "function" instead of
4177 "fun-with-args".
4178
1176868d
CY
41792011-06-28 Chong Yidong <cyd@stupidchicken.com>
4180
4181 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4182 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4183 debbugs.gnu.org. Mention acknowledgment email.
4184
20a7a65f
LMI
41852011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4186
4187 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4188 buffer multibyteness, since it shouldn't matter.
4189
5f45cca5
MR
41902011-06-28 Martin Rudalics <rudalics@gmx.at>
4191
4192 * window.el (display-buffer-in-side-window): Handle dedicated
4193 windows as in display-buffer-reuse-window.
4194 (display-buffer-normalize-alist): Use value of override
4195 specifier.
4196 (display-buffer-normalize-specifiers): Use value of
4197 other-window-means-other-frame specifier.
4198 (display-buffer-alist): Rewrite some texts in widgets.
4199 (display-buffer): Spread arguments when calling function
4200 specified by fun-with-args.
4201
ad85fe1f
DD
42022011-06-28 Deniz Dogan <deniz@dogan.se>
4203
1fa280a3
LM
4204 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4205 Unnest `let'.
da68c4c8 4206
ad85fe1f
DD
4207 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4208 selectors (Bug#5732).
ec49bd31 4209 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4210
a08cc025
JA
42112011-06-27 Jari Aalto <jari.aalto@cante.net>
4212
4213 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4214 (eshell-ls-date-format): New defcustom.
4215 (eshell-ls-file): Use it.
4216
e2b551c5
SM
42172011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4220
8982b231
KY
42212011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4222
4223 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4224 (ange-ftp-make-tmp-name): New arg.
4225 (ange-ftp-file-local-copy): Use it.
4226
36c9fa27
J
42272011-06-27 Jambunathan K <kjambunathan@gmail.com>
4228
4229 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4230 no-conversion (Bug#8870).
4231
d68443dc
MR
42322011-06-27 Martin Rudalics <rudalics@gmx.at>
4233
4234 * window.el (window-right, window-left, window-child)
4235 (window-child-count, window-last-child)
4236 (window-iso-combination-p, walk-window-tree-1)
4237 (window-atom-check-1, window-tree-1, delete-window)
4238 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4239 new naming conventions - window-vchild, window-hchild,
4240 window-next and window-prev are now called window-top-child,
4241 window-left-child, window-next-sibling and window-prev-sibling
4242 respectively.
d615d6d2
MR
4243 (resize-window-reset): Rename to window-resize-reset.
4244 (resize-window-reset-1): Rename to window-resize-reset-1.
4245 (resize-window): Rename to window-resize.
4246 (window-min-height, window-min-width)
4247 (resize-mini-window, resize-this-window, resize-root-window)
4248 (resize-root-window-vertically, adjust-window-trailing-edge)
4249 (enlarge-window, shrink-window, maximize-window)
4250 (minimize-window, delete-window, quit-restore-window)
4251 (split-window, balance-windows, balance-windows-area-adjust)
4252 (balance-windows-area, window-state-put-2)
4253 (display-buffer-even-window-sizes, display-buffer-set-height)
4254 (display-buffer-set-width, set-window-text-height)
4255 (fit-window-to-buffer): Rename all "resize-window" prefixed
4256 calls to use the "window-resize" prefix convention.
4257 (display-buffer-alist): Fix symbol for label specifier.
4258 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4259 corresponding specifier.
4260 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4261
b6458526
VB
42622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4263
4264 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4265 convention.
4266 (ses-call-printer): Does not pass an empty string to formatter when the
4267 cell is empty to keep from barking printer Calc math-format-value.
4268
d31fd9ac
RS
42692011-06-27 Richard Stallman <rms@gnu.org>
4270
43d5bf84
RS
4271 * battery.el (battery-mode-line-limit): New variable.
4272 (battery-update): Handle it.
4273
d31fd9ac
RS
4274 * mail/rmailmm.el (rmail-mime-process-multipart):
4275 Handle truncated messages.
4276
819a6054
GM
42772011-06-27 Glenn Morris <rgm@gnu.org>
4278
4279 * progmodes/flymake.el (flymake-err-line-patterns):
4280 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4281
cedc73f2
VB
42822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4283
819a6054 4284 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4285 (ses--clean-!, ses--clean-_): New functions.
4286 (ses-range): Add configurability of readout order, and conversion
4287 to Calc vector.
4288
5e5d49b6
VB
4289 * ses.el (ses-repair-cell-reference-all): New function.
4290 (ses-cell-symbol): Set macro as safe, so that it can be used in
4291 formulas.
4292
56e6cc31 4293 * ses.el: Update cycle detection algorithm.
90ca8b49 4294 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4295 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4296 (ses-set-localvars): New function.
4297 (ses-make-cell): Add property-list as a cell element.
4298 (ses-cell-property-get-fun, ses-cell-property-get)
4299 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4300 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4301 New functions.
90ca8b49
VB
4302 (ses-cell-property-set, ses-cell-property-pop)
4303 (ses-cell-property-get-handle): New macro.
4304 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4305 New aliases, used for code readability.
4306 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4307 cycle detection.
4308 (ses-self-reference-early-detection): New defcustom.
4309 (ses-formula-references): Robustify against self-refering cells.
4310 (ses-mode): Use ses-set-localvars.
4311 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4312 before lauching the update processing.
4313 (ses-initialize-Dijkstra-attempt): New function.
4314 (ses-recalculate-cell): Update for cycle detection based on
4315 Dijkstra algorithm.
4316
2bb63e81
VB
4317 * ses.el: Fix commenting and indenting convention.
4318
c9d29fb8
SM
43192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * bs.el (bs-cycle-next): Complete last change.
4322
d8e4b68b
JB
43232011-06-27 Drew Adams <drew.adams@oracle.com>
4324
4325 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4326
40098786
LMI
43272011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4328
c9d29fb8
SM
4329 * net/network-stream.el (network-stream-open-starttls):
4330 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4331 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4332
40098786
LMI
4333 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4334 to binary to possibly avoid line encoding issues on Windows (among
4335 other things).
4336
468d09d4
LMI
43372011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4338
4339 * net/network-stream.el (open-network-stream): Return an :error
4340 saying what the problem was, if possible.
4341
4342 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4343 server.
4344
4345 * net/network-stream.el (network-stream-open-starttls): If we
4346 wanted to use STARTTLS, and the server offered it, but we weren't
4347 able to because we had no STARTTLS support, then close the connection.
4348 (open-network-stream): Return an :error element, if present.
4349
16f07dd7
CY
43502011-06-26 Chong Yidong <cyd@stupidchicken.com>
4351
88821ca0
CY
4352 * hl-line.el (hl-line-sticky-flag): Doc fix.
4353 (global-hl-line-sticky-flag): New option (Bug#8323).
4354 (global-hl-line-highlight): Obey it.
4355
16f07dd7
CY
4356 * vc/vc.el (vc-revert-show-diff): Default to t.
4357
6b5ccddf
KM
43582011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4359
c9d29fb8
SM
4360 * allout-widgets.el (allout-widgets-post-command-business):
4361 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4362 undecorated when an isearch is continued past, and isearch
4363 automatically collapses them. This leads to "widget leaks", where
4364 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4365 hidden widgets can slow down cursor travel, substantially.
4366 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4367 so we're doing without this nicety.
4368
4369 (allout-widgets-tally-string): Don't try to do a hash-table-count
4370 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4371 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4372 *Messages* when allout-widgets-maintain-tally is t.
4373
355f2e07
MR
43742011-06-26 Martin Rudalics <rudalics@gmx.at>
4375
4376 * window.el (display-buffer-normalize-argument): Rename to
4377 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4378 LABEL argument. Respect special-display-function when popping up
4379 a new frame. Fix code searching for a window showing the buffer
4380 on another frame.
c9d29fb8
SM
4381 (display-buffer-normalize-specifiers):
4382 Call display-buffer-normalize-arguments.
355f2e07
MR
4383 (display-buffer-in-window): Don't undedicate the window if its
4384 buffer remains the same.
4385 Reported by Drew Adams <drew.adams@oracle.com>.
4386 (display-buffer-alist): Add choice for same-window macro
4387 specfier.
4388 (display-buffer): Mention special meaning of LABEL argument in
4389 doc-string. Fix quoting. Don't pop up a new frame even as
4390 fallback.
4391
7ca8fc42
JB
43922011-06-26 Juanma Barranquero <lekktu@gmail.com>
4393
4394 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4395 avoid deleting the current window in some cases (bug#8911).
4396
bc312254
AS
43972011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4398
4399 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4400 (Bug#8934)
4401
2db18f3f
LMI
44022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4403
c9d29fb8
SM
4404 * net/network-stream.el (network-stream-open-starttls):
4405 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4406 (network-stream-open-tls): Ditto.
4407
6302e0d3
LL
44082011-06-26 Leo Liu <sdl.web@gmail.com>
4409
4410 * register.el (registerv): New struct.
4411 (registerv-make): New function.
c9d29fb8
SM
4412 (jump-to-register, describe-register-1, insert-register):
4413 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4414 struct. (Bug#8415)
4415
5fdd4046
CY
44162011-06-26 Chong Yidong <cyd@stupidchicken.com>
4417
2afef60a
CY
4418 * vc/vc.el (vc-revert-show-diff): New defcustom.
4419 (vc-diff-internal): New arg specifying diff buffer.
4420 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4421 reuse an existing *vc-diff* buffer (Bug#8927).
4422
5fdd4046
CY
4423 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4424
e93db24a
GM
44252011-06-26 Glenn Morris <rgm@gnu.org>
4426
4427 * progmodes/f90.el (f90-critical-indent): New option.
4428 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4429 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4430 (f90-mode): Doc fix.
4431 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4432 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4433 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4434 (f90-match-end): Handle block, critical.
4435
eefff499
GM
44362011-06-25 Glenn Morris <rgm@gnu.org>
4437
f6ba4cc9
GM
4438 * calendar/diary-lib.el (diary-included-files): Doc fix.
4439 (diary-include-files): New function, extracted from
4440 diary-include-other-diary-files and diary-mark-included-diary-files.
4441 (diary-include-other-diary-files, diary-mark-included-diary-files):
4442 Just call diary-include-files.
4443 (diary-mark-entries): Reset diary-included-files on first call.
4444
16712304
GM
4445 * calendar/diary-lib.el (diary-mark-entries)
4446 (diary-mark-included-diary-files):
4447 Visit included diary-files in temp buffers.
4448
5d8e0d43
GM
4449 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4450 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4451 (f90-start-block-re, f90-imenu-generic-expression)
4452 (f90-looking-at-program-block-start, f90-no-block-limit):
4453 Add support for submodules.
4454
ccf7a5d5
GM
4455 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4456 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4457
11fdef7d 44582011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4459
4460 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4461 buffer-file-type before setting its value, to avoid disastrous
eefff499 4462 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4463
74f53697
JB
44642011-06-25 Juanma Barranquero <lekktu@gmail.com>
4465
4466 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4467
4468 * ses.el (ses-unload-function):
4469 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4470
4471 * proced.el (proced-unload-function):
4472 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4473
18a4ce5e
AR
44742011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4475
4476 * server.el (server-create-window-system-frame): Add parameters arg.
4477 (server-process-filter): Doc fix. Handle frame-parameters.
4478
519d22cc
JB
44792011-06-25 Juanma Barranquero <lekktu@gmail.com>
4480
4481 Fix bug#8730, bug#8781.
4482
4483 * loadhist.el (unload--set-major-mode): New function.
4484 (unload-feature): Use it.
4485
4486 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4487 (python-unload-function): New function.
4488
c206f5b0
SM
44892011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4492
f9ad64f3
GS
44932011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4494
4495 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4496 the candidates list.
4497
7d0da90e
JB
44982011-06-24 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4501
14b4e83d
RS
45022011-06-23 Richard Stallman <rms@gnu.org>
4503
4504 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4505 (rmail-variables): Set next-error-move-function.
4506 (rmail-what-message): Take argument POS.
4507 (rmail-next-error-move): New function.
4508
273d2baf
SM
45092011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4512 messages for adjacent non-terminals.
4513
56c2cc9a
RS
45142011-06-23 Richard Stallman <rms@gnu.org>
4515
4516 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4517 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4518 (rmail-start-mail): Don't specify use of rmail-mail-return;
4519 that's done by mail-bury now.
4520 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4521
d59eb518
MA
45222011-06-23 Michael Albinus <michael.albinus@gmx.de>
4523
4524 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4525 SIZE is a number.
4526
02cfc6d6
MR
45272011-06-23 Martin Rudalics <rudalics@gmx.at>
4528
4529 * window.el (get-lru-window, get-mru-window)
4530 (get-largest-window): Never return a minibuffer window.
4531 (display-buffer-pop-up-window): Fix a bug that could lead to
4532 reusing the minibuffer window.
4533 (display-buffer): Pass original specifier argument to
4534 display-buffer-function instead of the normalized one.
4535 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4536
4e323265
LL
45372011-06-22 Leo Liu <sdl.web@gmail.com>
4538
4539 * minibuffer.el (completing-read-function)
4540 (completing-read-default): Move from minibuf.c
4541
7a70468f
RS
45422011-06-22 Richard Stallman <rms@gnu.org>
4543
50718fc2
RS
4544 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4545 to Rmail even if not started by a special Rmail command.
4546
7a70468f
RS
4547 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4548 Copy the buffer currently showing just one message.
4549
297dde5a
RW
45502011-06-22 Roland Winkler <winkler@gnu.org>
4551
4552 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4553 (bibtex-clean-entry): First delete the old key so that a
4554 customized algorithm for generating the new key does not get
4555 confused by the old key.
4556 (bibtex-url): Obey regexp of first step.
4557 (bibtex-search-entries): Do not use add-to-list with local
4558 list-var.
4559
97bb1093
LMI
45602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4561
4562 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4563 stored a user name, then query for the password first, instead of
4564 waiting for SMTP to give an error message and the trying again.
4565
1c0f1a19
JD
45662011-06-22 Lawrence Mitchell <wence@gmx.li>
4567
4568 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4569 BUFFER in call-process.
4570
396f7c9d
LMI
45712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4572
4573 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4574 QUIT twice.
ddb7ffee
LMI
4575 (smtpmail-try-auth-methods): Require user name and password from
4576 auth-source.
396f7c9d 4577
8998d1b3
MR
45782011-06-22 Martin Rudalics <rudalics@gmx.at>
4579
4580 * window.el (display-buffer-default-specifiers)
4581 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4582 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4583 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4584
4585 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4586 (special-display-frame-alist, special-display-popup-frame):
4587 Remove duplicate declarations. These are now in window.el.
4588
4ea31e07
LMI
45892011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4590
c9d29fb8
SM
4591 * mail/smtpmail.el (smtpmail-via-smtp):
4592 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4593 server supports it. SMTP servers that support STARTTLS commonly
4594 require it.
4595
4596 * net/network-stream.el (network-stream-open-starttls): Support
4597 upgrading to STARTTLS always, even if we don't have built-in support.
4598 (open-network-stream): Add the :always-query-capabilies keyword.
4599
95f41d9a
LMI
4600 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4601 upgrades with `open-network-stream', and rely solely on
4602 auth-source for all credentials. Big changes throughout the file,
4603 but in particular:
c9d29fb8
SM
4604 (smtpmail-auth-credentials): Remove.
4605 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4606 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4607 MAIL FROM, too.
95f41d9a 4608
c9d29fb8
SM
4609 * net/network-stream.el (network-stream-open-starttls):
4610 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4611 STARTTLS.
4612 (auth-source): Require.
4613 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4614 (network-stream-certificate): Change cert-cert to cert and
4615 cert-key to key.
4ea31e07 4616
065ec2c7
MA
46172011-06-21 Michael Albinus <michael.albinus@gmx.de>
4618
4619 * net/tramp-cache.el (top): Don't load the persistency file when
4620 "emacs -Q" has been called.
4621
cd93b359
DR
46222011-06-21 Tim Harper <timcharper@gmail.com>
4623
d8e4b68b
JB
4624 * term/ns-win.el (ns-initialize-window-system):
4625 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4626 resource to NO as it is not yet supported by the NS port.
4627
ae9c0411
JB
46282011-06-21 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4631 (list-dynamic-libraries): ...not here.
4632
7f3f739f
LL
46332011-06-21 Leo Liu <sdl.web@gmail.com>
4634
4635 * subr.el (sha1): Implement sha1 using secure-hash.
4636
327c8fb1
MR
46372011-06-21 Martin Rudalics <rudalics@gmx.at>
4638
4639 * window.el (display-buffer-alist): In default value do not
4640 enforce searching a window on any but the selected frame.
4641 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4642 (display-buffer-select-window): Remove function.
4643 (display-buffer-in-window): When a window on another frame gets
4644 reused, do not select it any more but just raise its frame if
4645 necessary (Bug#8851) and (Bug#8856).
4646 (display-buffer-normalize-options): Handle pop-up-frames related
4647 options more faithfully.
4648 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4649 window if it is on another frame.
c9d29fb8
SM
4650 (display-buffer-alist, display-buffer-default-specifiers):
4651 Don't make new frame unsplittable by default.
9e9de014
MR
4652 (display-buffer-normalize-argument): Fix doc-string typo and use
4653 'same-frame-other-window instead of 'other-window when associating
4654 with display-buffer-macro-specifiers.
327c8fb1 4655
7cf3f556
VB
46562011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4657
4658 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4659 New functions.
4660 (5x5-mode-map, 5x5-mode-menu): Bind them.
4661 (5x5-draw-grid): Tweak the solver's rendering.
4662
60a406cf
SM
46632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4666 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4667
d8e4b68b 46682011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4669
4670 * menu-bar.el: Use function variable instead of switch-to-buffer.
4671 (menu-bar-select-buffer-function): New variable.
60a406cf 4672 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4673
478d6f95
SM
46742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4677 variable's status.
4678
ca530739
JD
46792011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4680
4681 * x-dnd.el (x-dnd-version-from-flags)
4682 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4683 and long as number (Bug#8899).
4684 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4685
bcd70d97
SM
46862011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4687
60a406cf 4688 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4689 (completion-try-completion, completion-all-completions): Compute the
4690 metadata argument if it's missing; make it optional (bug#8795).
4691
60a406cf 4692 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4693 (widget-complete): Use new :completion-function property.
4694 (widget-completions-at-point): New function.
4695 (default): Use :completion-function instead of :complete.
60a406cf
SM
4696 (widget-default-completions): Rename from widget-default-complete;
4697 Rewrite.
bcd70d97
SM
4698 (widget-string-complete, widget-file-complete, widget-color-complete):
4699 Remove functions.
4700 (file, symbol, function, variable, coding-system, color):
4701 * international/mule-cmds.el (default-input-method, charset)
4702 (language-info-custom-alist):
4703 * cus-edit.el (face): Use new property :completions.
4704
4705 * progmodes/pascal.el (pascal-completions-at-point): New function.
4706 (pascal-mode): Use it.
4707 (pascal-mode-map): Use completion-at-point.
4708 (pascal-toggle-completions): Make obsolete.
4709 (pascal-complete-word, pascal-show-completions):
4710 * progmodes/octave-mod.el (octave-complete-symbol):
4711 Redefine as obsolete alias.
4712 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4713 Signal absence of completion info for old Octave,
4714 (inferior-octave-complete): Redefine as obsolete alias.
4715 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4716 (meta-completions-at-point): Rename from meta-complete-symbol and
4717 adapt it for use on completion-at-point-functions.
4718 (meta-common-mode): Use it.
4719 (meta-looking-at-backward, meta-match-buffer): Remove.
4720 (meta-complete-symbol): Redefine as obsolete alias.
4721 (meta-common-mode-map): Use completion-at-point.
4722 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4723 (makefile-mode-map): Use completion-at-point.
4724 (makefile-completions-at-point): Rename from makefile-complete and
4725 adapt it for use on completion-at-point-functions.
4726 (makefile-mode): Use it.
4727 (makefile-complete): Redefine as obsolete alias.
4728
aebf69c8
DD
47292011-06-20 Deniz Dogan <deniz@dogan.se>
4730
4731 * net/rcirc.el: Delete trailing whitespaces once and for all.
4732
bfbbb27d
DC
47332011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4734
4735 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4736
d264a46b
CY
47372011-06-19 Chong Yidong <cyd@stupidchicken.com>
4738
4ca009e5
CY
4739 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4740
d264a46b
CY
4741 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4742
fbf5b3ce
MR
47432011-06-19 Martin Rudalics <rudalics@gmx.at>
4744
4745 * window.el (display-buffer-other-window-means-other-frame):
4746 Call display-buffer-normalize-alist.
4747 (display-buffer-normalize-specifiers-1): Rename to
4748 display-buffer-normalize-argument. New argument other-frame.
4749 Rewrite.
4750 (display-buffer-normalize-specifiers-2): Rename to
4751 display-buffer-normalize-options.
4752 (display-buffer-normalize-alist-1): New function.
4753 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4754 display-buffer-normalize-alist.
4755 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4756 (display-buffer-normalize-options-inhibit): New variable.
4757 (display-buffer-normalize-specifiers): Rewrite calling
4758 display-buffer-normalize-alist,
4759 display-buffer-normalize-argument, and
4760 display-buffer-normalize-options. Don't call the latter if
4761 display-buffer-normalize-options-inhibit is non-nil.
4762 (frame-auto-delete): New option.
4763 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4764 (window-list-no-nils, window-state-ignored-parameters)
4765 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4766 (window-state-put-1, window-state-put-2, window-state-put):
4767 New functions.
9a028c23
MR
4768 (display-buffer-normalize-options): Move special-display-p group
4769 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4770
6d10d800
CY
47712011-06-18 Chong Yidong <cyd@stupidchicken.com>
4772
6420d28b
CY
4773 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4774 groups (Bug#8776).
4775 (rx-submatch-n): New function.
4776 (rx): Document it.
4777
ddb8b596
CY
4778 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4779 (Bug#8768).
4780
4781 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4782
77080289
CY
4783 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4784
61dfb316
CY
4785 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4786 anytime existing face settings are present (Bug#8889).
4787
6d10d800
CY
4788 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4789 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4790 Remove unused argument.
4791
be3fb2b8
MR
47922011-06-18 Martin Rudalics <rudalics@gmx.at>
4793
bcd70d97
SM
4794 * window.el (display-buffer-default-specifiers):
4795 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4796 pop-up-window-min-width, and another reuse-window specifier
4797 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4798 (display-buffer-normalize-specifiers-2):
4799 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4800 pop-up-windows is unset. Add a reuse-window specifier for the
4801 case popping up a new window fails.
4802 (special-display-popup-frame): Remove double quoting.
28dec25a 4803 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4804
1c6d8c76
SM
48052011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4808 according to comint-completion-addsuffix.
4809
4810 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4811 (pcomplete-suffix-list): Mark as obsolete.
4812 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4813 pcomplete-seen in the closure.
4814 (pcomplete-comint-setup): Setup completion-at-point as well.
4815 (pcomplete--entries): New function.
4816 (pcomplete--env-regexp): New var.
4817 (pcomplete-entries): Rewrite to work with partial-completion and
4818 without relying on pcomplete-suffix-list.
4819 (pcomplete-pare-list): Remove, unused.
4820
25aef8b8
MR
48212011-06-17 Martin Rudalics <rudalics@gmx.at>
4822
4823 * window.el (display-buffer-alist): Set pop-up-window-min-height
4824 and pop-up-window-min-width in default value. Reported by
4825 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4826 other-window-means-other-frame.
4827 (display-buffer-macro-specifiers): Comment out entry for
4828 other-window specifier.
4829 (display-buffer-other-window-means-other-frame): New function.
4830 (display-buffer-normalize-specifiers-1): New arguments
4831 buffer-name and label. Treat other-window case specially.
4832 (display-buffer-normalize-specifiers-2): Treat other-window case
4833 specially.
4834 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4835 (display-buffer-normalize-specifiers):
4836 Call display-buffer-normalize-specifiers-3.
25aef8b8 4837
dbad4f69
MR
48382011-06-17 Martin Rudalics <rudalics@gmx.at>
4839
4840 * window.el (same-window-p): Fix two typos introduced when
4841 adding with-no-warnings.
d1067961
MR
4842 (display-buffer-normalize-specifiers-1): Don't check
4843 pop-up-frames for 'unset initialization.
4844 (display-buffer-normalize-specifiers-2): Major rewrite using
4845 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4846 (pop-up-frames, display-buffer-reuse-frames)
4847 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4848 Suggested by David Engster <deng@randomsample.de>.
4849 (even-window-heights): Initialize to 'unset.
4850 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4851 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4852 other window case.
dbad4f69 4853
9b9c9e3a
MR
48542011-06-16 Martin Rudalics <rudalics@gmx.at>
4855
bcd70d97
SM
4856 * window.el (display-buffer-normalize-specifiers-1):
4857 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4858 second argument of display-buffer (Bug#8865).
981d5c09
MR
4859 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4860 (switch-to-buffer-other-window-same-frame)
4861 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4862 Adams (Bug#8875).
9c2755e9
MR
4863 (display-buffer): Don't check noninteractive when calling
4864 display-buffer-pop-up-frame.
4865 (display-buffer-pop-up-frame): Never pop up a frame in
4866 noninteractive mode (Bug#8857).
67222e1d
MR
4867 (enlarge-window, shrink-window): Don't report an error when the
4868 window can't be resized as requested (Bug#8862).
9b9c9e3a 4869
2b75be67
SM
48702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4871
9ffdd3ba
SM
4872 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4873
cb581a67
SM
4874 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4875
2b75be67
SM
4876 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4877
8c0e3589
AM
48782011-06-15 Alan Mackenzie <acm@muc.de>
4879
cb581a67
SM
4880 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4881 for declarators, disable knr checking to speed up for normal files.
4882 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4883
b96e6cde
LMI
48842011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4885
4bba86e6
LMI
4886 * net/network-stream.el (open-network-stream): Add the keyword
4887 :always-query-capabilities for the case where you want to force a
4888 `plain' network connection, but the protocol still requires the
4889 capabilitiy command (i.e., SMTP and EHLO).
4890
2b75be67 4891 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4892 consistency with other `-live-p' functions.
4893
efdcdbf8
SM
48942011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * window.el (same-window-buffer-names, same-window-regexps)
4897 (special-display-frame-alist, special-display-popup-frame)
4898 (special-display-function, special-display-buffer-names)
4899 (special-display-regexps, pop-up-frame-alist)
4900 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4901 (pop-up-windows, split-window-preferred-function)
4902 (split-height-threshold, split-width-threshold, even-window-heights)
4903 (display-buffer-mark-dedicated): Don't encourage the use of
4904 display-buffer-alist from Elisp code.
4905
c5cde042
DN
49062011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4907
4908 * progmodes/python.el (python-mode): Derive from prog-mode.
4909 * progmodes/ps-mode.el (ps-mode):
4910 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4911 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4912 * progmodes/ld-script.el (ld-script-mode): Likewise.
4913
baa1c9ab
MR
49142011-06-15 Martin Rudalics <rudalics@gmx.at>
4915
4916 * window.el (display-buffer-alist): Trim default value to avoid
4917 popping up a new frame (Bug#8857) or reusing an arbitrary window
4918 on another frame.
4919 (display-buffer): Do not fall back on popping up a new frame in
4920 batch mode (Bug#8857).
4921
c5dd5a51
CY
49222011-06-14 Chong Yidong <cyd@stupidchicken.com>
4923
4924 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4925 (custom-theme-summary): New function.
4926 (customize-themes): Use it.
4927
d647b7c4
GM
49282011-06-13 Glenn Morris <rgm@gnu.org>
4929
4930 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4931
9481c002
MR
49322011-06-13 Martin Rudalics <rudalics@gmx.at>
4933
357f93d2
MR
4934 * help.el (help-window): Remove variable.
4935 (help-window-point-marker, temp-buffer-max-height)
4936 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4937 (help-print-return-message): Don't set help-window.
4938 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4939 (help-window-setup-finish): Remove.
4940 (help-window-display-message, help-window-setup)
4941 (with-help-window): Major rewrite based on new
4942 display-buffer-window variable.
4943
4944 * help-mode.el (help-mode-finish): Remove help-window related
4945 code.
4946
4947 * view.el (view-exits-all-viewing-windows): Remove reference to
4948 view-return-to-alist in doc-string.
4949 (view-return-to-alist): Make obsolete.
4950 (view-buffer): Call pop-to-buffer-same-window and remove
4951 undo-window code.
4952 (view-buffer-other-window): Call pop-to-buffer-other-window and
4953 simplify code. Ignore second argument.
4954 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4955 simplify code. Ignore second argument.
4956 (view-return-to-alist-update): Make obsolete.
4957 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4958 Rewrite using quit-restore window parameters.
2b75be67
SM
4959 (view-mode-exit): Rename second argument to EXIT-ONLY.
4960 Rewrite using quit-restore-window.
357f93d2
MR
4961 (View-exit, View-exit-and-edit, View-leave, View-quit)
4962 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4963 appropriate arguments.
4964 (view-end-message): Use quit-restore window parameter.
4965
9481c002
MR
4966 * window.el (display-buffer-function): Rewrite doc-string.
4967 (display-buffer-window, display-buffer-alist): New variables.
4968 (display-buffer-split-specifiers)
4969 (display-buffer-side-specifiers)
4970 (display-buffer-macro-specifiers): New constants.
4971 (display-buffer-even-window-sizes, display-buffer-set-height)
4972 (display-buffer-set-width, display-buffer-select-window)
4973 (display-buffer-in-window, display-buffer-reuse-window)
4974 (display-buffer-split-window-1, display-buffer-split-window)
4975 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4976 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4977 (display-buffer-in-side-window, normalize-buffer-to-display)
4978 (display-buffer-normalize-specifiers-1)
4979 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4980 (display-buffer-normalize-specifiers, display-buffer-frame):
4981 New functions.
9481c002
MR
4982 (display-buffer): Major rewrite.
4983 (display-buffer-other-window, display-buffer-other-frame)
4984 (pop-to-buffer, switch-to-buffer-other-window)
4985 (switch-to-buffer-other-frame): Rewrite.
4986 (display-buffer-same-window, display-buffer-same-frame)
4987 (display-buffer-same-frame-other-window)
4988 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4989 (pop-to-buffer-other-window)
4990 (pop-to-buffer-same-frame-other-window)
4991 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4992 (switch-to-buffer-other-window-same-frame): New functions.
4993 (same-window-p, special-display-p): Rewrite disabling warnings.
4994 Make obsolete.
4995 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4996 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4997 Make obsolete
4998 (same-window-buffer-names, same-window-regexps)
4999 (special-display-frame-alist, special-display-popup-frame)
5000 (special-display-function, special-display-buffer-names)
5001 (special-display-regexps, pop-up-frame-alist)
5002 (pop-up-frame-function, split-window-preferred-function)
5003 (split-height-threshold, split-width-threshold)
5004 (even-window-heights): Make obsolete.
5005
9db51aca
GM
50062011-06-12 Glenn Morris <rgm@gnu.org>
5007
5008 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5009 Misc simplifications.
9db51aca 5010
39cffb44
MR
50112011-06-12 Martin Rudalics <rudalics@gmx.at>
5012
5013 * window.el (window-safely-shrinkable-p): Restore function which
5014 was inadvertently removed in change from 2011-06-11. Declare as
5015 obsolete.
5016
2b75be67
SM
5017 * calendar/calendar.el (calendar-generate-window):
5018 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5019 window-safely-shrinkable-p.
5020
a8955be7
GM
50212011-06-12 Glenn Morris <rgm@gnu.org>
5022
5023 * progmodes/fortran.el (fortran-mode-syntax-table):
5024 * progmodes/f90.el (f90-mode-syntax-table):
5025 Set % to punctuation. (Bug#8820)
5026 (f90-find-tag-default): Remove, no longer needed.
5027
f0d4059d
DC
50282011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5029
5030 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5031
1100a63c
CY
50322011-06-11 Chong Yidong <cyd@stupidchicken.com>
5033
5034 * image.el (image-animated-p): Return animation delay in seconds.
5035 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5036 (image-animate-timeout): Remove DELAY argument. Don't assume
5037 every subimage has the same delay; get it from image-animated-p.
5038 (image-animate): Caller changed.
5039
def722bf
MA
50402011-06-11 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5043 to ignored backtrace functions.
5044
0a2bb1a9
GM
50452011-06-11 Glenn Morris <rgm@gnu.org>
5046
5047 * calendar/appt.el (appt-disp-window-function): Doc fix.
5048 (appt-check): Handle overlapping appointments. (Bug#8337)
5049
6198ccd0
MR
50502011-06-11 Martin Rudalics <rudalics@gmx.at>
5051
5052 * window.el (window-tree-1, window-tree): New functions, moving
5053 the latter to window.el.
5054 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5055 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5056 (bw-refresh-edges): Remove.
5057 (balance-windows-1, balance-windows-2): New functions.
5058 (balance-windows): Rewrite in terms of window tree functions,
5059 balance-windows-1 and balance-windows-2.
5060 (bw-adjust-window): Remove.
5061 (balance-windows-area-adjust): New function with functionality of
5062 bw-adjust-window but using resize-window.
2b75be67
SM
5063 (set-window-text-height): Rewrite doc-string.
5064 Use normalize-live-window and resize-window.
5065 (enlarge-window-horizontally, shrink-window-horizontally):
5066 Rename argument to DELTA.
6198ccd0
MR
5067 (window-buffer-height): New function.
5068 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5069 Rewrite using new window resize routines.
2b75be67
SM
5070 (kill-buffer-and-window, mouse-autoselect-window-select):
5071 Use ignore-errors instead of condition-case.
6198ccd0
MR
5072 (quit-window): Call delete-frame instead of delete-windows-on
5073 for the only buffer on frame.
5074
9397e56f
MR
50752011-06-10 Martin Rudalics <rudalics@gmx.at>
5076
5077 * loadup.el (top-level): Load window before files for the sake
5078 of replace-buffer-in-windows.
5079
5080 * files.el (read-buffer-to-switch)
5081 (switch-to-buffer-other-window)
2b75be67
SM
5082 (switch-to-buffer-other-frame, display-buffer-other-frame):
5083 Move to window.el.
9397e56f
MR
5084
5085 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5086 (previous-buffer): Move to window.el.
5087
5088 * bindings.el (unbury-buffer): Move to window.el.
5089
5090 * window.el (delete-other-windows-vertically): Move after
5091 definition of delete-other-windows.
5092 (other-window, delete-windows-on, replace-buffer-in-windows):
5093 Move here from window.c.
5094 (record-window-buffer, unrecord-window-buffer)
5095 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5096 (switch-to-next-buffer): New functions.
5097 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5098 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5099 (previous-buffer): Move here from simple.el.
5100 Call switch-to-prev-buffer.
9397e56f
MR
5101 (bury-buffer): Move here from buffer.c. Switch to previous
5102 buffer when window cannot be deleted.
5103 (unbury-buffer): Move here from bindings.el.
5104 (ctl-x-map): Move binding for other-window from window.c to
5105 here.
5106 (read-buffer-to-switch, switch-to-buffer-other-window)
5107 (switch-to-buffer-other-frame): Move here from files.el.
5108 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5109 (switch-to-buffer): Move here from buffer.c.
5110 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5111
562dd5e9
MR
51122011-06-10 Martin Rudalics <rudalics@gmx.at>
5113
5114 * window.el (window-min-height, window-min-width): Move here
5115 from window.c. Add defcustoms and rewrite doc-strings.
5116 (resize-mini-window, resize-window): New functions.
5117 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5118 Move here from window.c.
5119 (maximize-window, minimize-window): New functions.
5120 (delete-window, delete-other-windows, split-window): Move here
5121 from window.c.
5122 (window-split-min-size): New function.
5123 (split-window-keep-point): Mention split-window-above-each-other
5124 instead of split-window-vertically.
2b75be67
SM
5125 (split-window-above-each-other, split-window-vertically):
5126 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5127 provide defalias for old definition.
5128 (split-window-side-by-side, split-window-horizontally): Rename
5129 split-window-horizontally to split-window-side-by-side and provide
5130 defalias for the old definition.
5131 (ctl-x-map): Move bindings for delete-window,
5132 delete-other-windows and enlarge-window here from window.c.
5133 Replace bindings for split-window-vertically and
5134 split-window-horizontally by bindings for
5135 split-window-above-each-other and split-window-side-by-side.
5136
5137 * cus-start.el (all): Remove entries for window-min-height and
5138 window-min-width. Add entries for window-splits and
5139 window-nest.
5140
f0da764a
GM
51412011-06-09 Glenn Morris <rgm@gnu.org>
5142
80675c21
GM
5143 * calendar/appt.el (appt-mode-line): New function.
5144 (appt-check, appt-disp-window): Use it.
5145
f0da764a
GM
5146 * files.el (hack-one-local-variable-eval-safep):
5147 Allow minor-modes with explicit +/-1 arguments.
5148
59f623b7
TZ
51492011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5150
5151 * term/xterm.el (xterm): Add defgroup.
5152 (xterm-extra-capabilities): Add defcustom to supply known xterm
5153 capabilities, skip querying them, or query them (default).
5154 (terminal-init-xterm): Use it.
5155 (terminal-init-xterm-modify-other-keys): New function to set up
5156 modifyOtherKeys support to simplify `terminal-init-xterm'.
5157
9aab8e0d
MR
51582011-06-09 Martin Rudalics <rudalics@gmx.at>
5159
5160 * window.el (resize-window-reset, resize-window-reset-1)
5161 (resize-subwindows-skip-p, resize-subwindows-normal)
5162 (resize-subwindows, resize-other-windows, resize-this-window)
5163 (resize-root-window, resize-root-window-vertically)
5164 (window-deletable-p, window-or-subwindow-p)
5165 (frame-root-window-p): New functions.
5166
e8b08aee
GM
51672011-06-09 Glenn Morris <rgm@gnu.org>
5168
5169 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5170 (ange-ftp-get-files): Use it.
5171
254c37a5
AK
51722011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5173
5174 * mail/sendmail.el (mail-recover-1, mail-recover):
5175 * files.el (recover-file, recover-session):
5176 Handle dired-listing-switches not being just a single short option.
5177
35d7dbd3
GM
51782011-06-09 Glenn Morris <rgm@gnu.org>
5179
5180 * calendar/appt.el (appt-display-message, appt-disp-window):
5181 Handle lists of appointments.
5182
387522b2
MR
51832011-06-08 Martin Rudalics <rudalics@gmx.at>
5184
2b75be67
SM
5185 * window.el (one-window-p): Move down in code.
5186 Rewrite doc-string.
5187 (window-current-scroll-bars): Rewrite doc-string.
5188 Normalize live window argument.
387522b2
MR
5189 (walk-windows, get-window-with-predicate, count-windows):
5190 Rewrite doc-string. Use window-list-1.
5191 (window-in-direction-2, window-in-direction, get-mru-window):
5192 New functions.
5193
d8e4b68b 51942011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5195
5196 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5197 Doc fix (Bug#8713).
5198
51992011-06-08 Chong Yidong <cyd@stupidchicken.com>
5200
5201 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5202
52032011-06-08 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * loadhist.el (unload-feature-special-hooks):
5206 Add `comint-output-filter-functions'.
5207
0de12c52
IK
52082011-06-08 Ivan Kanis <gnu@kanis.fr>
5209
5210 * calendar/appt.el (appt-check): Move some initializations into the let.
5211
f3d1777e
MR
52122011-06-08 Martin Rudalics <rudalics@gmx.at>
5213
5214 * window.el (window-height): Defalias to window-total-height.
5215 (window-width): Defalias to window-body-width.
5216
18af70d0
CY
52172011-06-07 Chong Yidong <cyd@stupidchicken.com>
5218
5219 * image-mode.el (image-toggle-animation): New command.
5220 (image-mode-map): Bind it to RET.
5221 (image-mode): Update message.
5222 (image-toggle-display-image): Avoid a spurious cache flush.
5223 (image-transform-rotation): Doc fix.
5224 (image-transform-properties): Return quickly in the normal case.
5225 (image-animate-loop): Rename from image-animate-max-time.
5226
2b75be67 5227 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5228 (create-animated-image): Remove unnecessary function.
5229 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5230 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5231 (image-animate-timer): Use car-safe.
5232 (image-animate-timeout): Rename argument.
5233
190b47e6
MR
52342011-06-07 Martin Rudalics <rudalics@gmx.at>
5235
5236 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5237 window.c. Rename first argument to ALL-FRAMES.
5238 Rephrase doc-strings.
5239 (get-buffer-window-list): Rewrite using window-list-1.
5240 Rephrase doc-string.
a1511caf
MR
5241 (window-safe-min-height, window-safe-min-width): New constants.
5242 (window-size-ignore, window-min-size, window-min-size-1)
5243 (window-sizable, window-sizable-p, window-size-fixed-1)
5244 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5245 (window-max-delta-1, window-max-delta, window-resizable)
5246 (window-resizable-p, window-total-height, window-total-width)
5247 (window-body-width): New functions.
5248 (window-full-height-p, window-full-width-p): Rewrite using
5249 window-total-size.
5250 (window-body-height): Rewrite using window-body-size.
190b47e6 5251
85cc1f11
MR
52522011-06-06 Martin Rudalics <rudalics@gmx.at>
5253
5254 * window.el (window-right, window-left, window-child)
5255 (window-child-count, window-last-child, window-any-p)
5256 (normalize-live-buffer, normalize-live-frame)
5257 (normalize-any-window, normalize-live-window)
5258 (window-iso-combination-p, window-iso-combined-p)
5259 (window-iso-combinations)
5260 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5261 (windows-with-parameter, window-with-parameter)
5262 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5263 (window-atom-check, window-side-check, window-check):
5264 New functions.
85cc1f11
MR
5265 (ignore-window-parameters, window-sides, window-sides-vertical)
5266 (window-sides-slots): New variables.
5267 (window-size-fixed): Move down in code. Minor doc-string fix.
5268
e7156492
AS
52692011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5270
5271 * comint.el (comint-dynamic-complete-as-filename)
5272 (comint-dynamic-complete-filename): Correctly call
5273 completion-in-region.
5274
7e821d0d
DD
52752011-06-05 Deniz Dogan <deniz@dogan.se>
5276
5277 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5278 in last change.
5279
ac09b8a1
DD
52802011-06-05 Deniz Dogan <deniz@dogan.se>
5281
5282 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5283 (rcirc): Use it to prompt for encryption.
5284
34699b85
RW
52852011-06-05 Roland Winkler <winkler@gnu.org>
5286
5287 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5288 (bibtex-search-entries): New command bound to C-c C-a.
5289 (bibtex-display-entries): New function.
5290
004dedd3
RW
52912011-06-05 Roland Winkler <winkler@gnu.org>
5292
5293 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5294 (bibtex-insert-kill): After yanking insert newline if necessary.
5295 (bibtex-initialize): Call bibtex-string-files-init only once.
5296 (bibtex-mode): Do not call easy-menu-add.
5297 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5298 (bibtex-yank): Set arg properly if nil.
5299
022fe7ce
RW
53002011-06-05 Roland Winkler <winkler@gnu.org>
5301
2b75be67
SM
5302 * textmodes/bibtex.el (bibtex-search-entry-globally):
5303 New variable.
022fe7ce
RW
5304 (bibtex-search-entry): Use it.
5305
b7c3692a
RW
53062011-06-05 Roland Winkler <winkler@gnu.org>
5307
5308 * textmodes/bibtex.el (bibtex-entry-format): New option
5309 sort-fields.
5310 (bibtex-format-entry, bibtex-reformat): Honor this option.
5311 (bibtex-parse-entry): Return fields in proper order.
5312
8eda563d
JB
53132011-06-05 Juanma Barranquero <lekktu@gmail.com>
5314
5315 * doc-view.el (doc-view-remove-if): Move computation of result out
5316 of `dolist' to silence misleading lexical-binding warning.
5317
7dbe3dbc
CY
53182011-06-04 Chong Yidong <cyd@stupidchicken.com>
5319
5320 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5321 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5322
0c33dd17
MA
53232011-06-04 Michael Albinus <michael.albinus@gmx.de>
5324
5325 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5326 "SunOS 5.10".
5327
f8f91c2b
MA
53282011-06-04 Michael Albinus <michael.albinus@gmx.de>
5329
5330 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5331 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5332 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5333 (tramp-parse-putty):
5334 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5335 (tramp-completion-function-alist-ssh)
5336 (tramp-completion-function-alist-telnet)
5337 (tramp-completion-function-alist-su)
5338 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5339 cookie.
5340
5341 * net/tramp-ftp.el:
5342 * net/tramp-sh.el:
5343 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5344 load "tramp.el" `tramp-set-completion-function'.
5345
e17d9003
SM
53462011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * shell.el: Require and use pcomplete.
5349 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5350 (shell-completion-vars): Set pcomplete-default-completion-function.
5351
6c4cab03
DD
53522011-06-04 Deniz Dogan <deniz@dogan.se>
5353
5354 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5355 `memq' (Bug#8799).
5356
ea9fafe0
SM
53572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5360
b3e945d3
JB
53612011-06-02 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5364 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5365 * vc/log-view.el (log-view-beginning-of-defun):
5366 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5367 (smerge-refine-forward, smerge-refine-chopup-region):
5368 Silence warning for unused `dotimes' counter variables.
5369
7d520089
SM
53702011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * net/tramp.el (tramp-with-progress-reporter): Rename from
5373 with-progress-reporter. Use `declare'.
5374 * net/tramp-smb.el:
5375 * net/tramp-sh.el:
5376 * net/tramp-gvfs.el: Update all uses.
5377
a1c2400f
JB
53782011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5379
5380 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5381 buffer isn't killed before making it current.
5382
2403c841
SM
53832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 Silence various byte-compiler warnings.
5386 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5387 `access-type' and new obsolescence format.
5388 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5389 new format.
5390 (byte-compile-check-variable): New `access-type' argument.
5391 Only warn if the access-type is obsolete.
5392 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5393 (byte-compile-variable-set): Adjust callers.
5394 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5395 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5396 setting it as obsolete.
5397 * simple.el (minibuffer-completing-symbol):
5398 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5399 access as obsolete.
5400 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5401 obsolete yet.
5402 * international/quail.el (quail-mouse-choose-completion): Remove unused
5403 code referring to obsolete var.
5404 (quail-choose-completion-string): Remove.
5405 * server.el (server-clients-with, server-kill-buffer-query-function)
5406 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5407 * proced.el (proced-send-signal):
5408 * emacs-lisp/lisp.el (lisp-complete-symbol):
5409 Replace completion-annotate-function with completion-extra-properties.
5410
2462470b
SM
54112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5412
fb5b2591
SM
5413 * simple.el (goto-line): Use read-number.
5414 (overriding-map-is-bound): Remove.
5415 (saved-overriding-map): Change default.
5416 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5417 Take the map as argument.
5418 (universal-argument, negative-argument, digit-argument): Use it.
5419 (restore-overriding-map): Adjust.
5420 (do-auto-fill): Use fill-forward-paragraph.
5421 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5422
fd6fa53f
SM
5423 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5424 (minibuffer-inactive-mode): New major mode.
5425 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5426 the *Messages* buffer" hack.
5427 (mouse-popup-menubar): Don't burp if the event is a normal key.
5428
2462470b
SM
5429 Miscellaneous tweaks.
5430 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5431 lexical scoping as in subr.el's dolist and dotimes.
5432 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5433 Silence compiler warning.
5434 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5435 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5436 * international/ccl.el (ccl-compile): Trivial simplification.
5437 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5438 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5439 `printflag' argument.
5440 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5441 Purecopy the whole obsolescence data.
5442
108bf785
LL
54432011-06-01 Leo Liu <sdl.web@gmail.com>
5444
5445 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5446 improve doc-string as suggested by Marco Pessotto
5447 <melmothx@gmail.com>.
5448 (rcirc-print): Fix last change.
5449
30a23501
SM
54502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * minibuffer.el (complete-with-action): Return nil for the metadata and
5453 boundaries of non-functional tables.
5454 (completion-table-dynamic): Return nil for the metadata.
5455 (completion-table-with-terminator): Add default case, using
5456 complete-with-action.
5457 (completion--metadata): New function.
5458 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5459 to try and avoid pathological performance problems.
5460 (completion--embedded-envvar-table): Return `category' metadata.
5461
bcd54f83
LMI
54622011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5463
5464 * subr.el (process-alive-p): New tiny convenience function.
5465
e227544d
SM
54662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5469 content but also its previous major mode.
5470
e8296fdc
HE
54712011-05-31 Helmut Eller <eller.helmut@gmail.com>
5472
4d61f28d 5473 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5474 *Backtrace* buffer when we exit with C-M-c.
5475
620c53a6
SM
54762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * minibuffer.el: Add metadata method to completion tables.
5479 (completion-category-overrides): New defcustom.
5480 (completion-metadata, completion--field-metadata)
5481 (completion-metadata-get, completion--styles)
5482 (completion--cycle-threshold): New functions.
5483 (completion-try-completion, completion-all-completions):
5484 Add `metadata' argument to choose completion-styles.
5485 (completion--do-completion): Use metadata to choose cycling.
5486 (completion-all-sorted-completions): Use metadata for sorting.
5487 Remove :completion-cycle-penalty which is not needed any more.
5488 (completion--try-word-completion): Add `metadata' argument.
5489 (minibuffer-completion-help): Check metadata for annotation function
5490 and sorting.
5491 (completion-file-name-table): Return `category' metadata.
5492 (minibuffer-completing-file-name): Make obsolete.
5493 * simple.el (minibuffer-completing-symbol): Make obsolete.
5494 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5495 completion-try-completion.
5496
1257e755
SM
54972011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5500
3767e706
LL
55012011-05-30 Leo Liu <sdl.web@gmail.com>
5502
5503 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5504 (rcirc-print): Decode all incoming messages (bug#8744).
5505 (rcirc-decode-coding-system): Allow value nil for automatic coding
5506 system detection.
3767e706 5507
d1a5d56a
GM
55082011-06-01 Glenn Morris <rgm@gnu.org>
5509
5510 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5511
e8cbec34
CY
55122011-05-29 Chong Yidong <cyd@stupidchicken.com>
5513
5514 * image.el (image-animate-max-time): Allow nil and t values.
5515 Default to nil.
5516 (create-animated-image): Doc fix.
5517 (image-animate-start): Remove second arg; just use
5518 image-animate-max-time.
5519 (image-animate-timeout): Doc fix. Args changed.
5520
5521 * image-mode.el (image-toggle-display-image): Ensure that the
5522 image spec passed to the animate timer is the same object as in
5523 the the buffer's display property (Bug#6981).
5524 (image-transform-properties): Doc fix.
5525
5526 * image.el (image-animate-max-time): Default to nil.
5527
159daf87
MR
55282011-05-29 Martin Rudalics <rudalics@gmx.at>
5529
5530 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5531 entire buffer list (Bug#8184).
5532
d66c4c7c
CY
55332011-05-29 Chong Yidong <cyd@stupidchicken.com>
5534
5535 * image.el (imagemagick-types-inhibit)
5536 (imagemagick-register-types): Doc fix.
5537
80aec780
DD
55382011-05-29 Deniz Dogan <deniz@dogan.se>
5539
5540 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5541 default.
5542
1dd3c2d9
CY
55432011-05-29 Chong Yidong <cyd@stupidchicken.com>
5544
5545 * select.el: Don't perform clipboard-manager saving in hooks;
5546 leave the hooks empty.
5547
60e56523
LL
55482011-05-28 Leo Liu <sdl.web@gmail.com>
5549
5550 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5551 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5552 (occur-edit-mode): New major mode (Bug#8463).
5553 (occur-after-change-function): New function.
5554 (occur-engine): Give Occur tags a read-only property.
5555
2b1e1a22
KR
55562011-05-28 Kevin Ryde <user42@zip.com.au>
5557
5558 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5559
5d344e88
CY
55602011-05-28 Chong Yidong <cyd@stupidchicken.com>
5561
8e6ca83d
CY
5562 * bindings.el (help-echo): Make the initial non-indicator dash
5563 empty on graphical terminals (Bug#7295).
5564
5d344e88
CY
5565 * files.el (auto-mode-alist): Move config rule after the
5566 in-stripping one (Bug#8547).
5567
bfbbace7
CY
5568 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5569
fbeba6e2
CY
5570 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5571 setting (Bug#8740).
5572
60ed8c72
AA
55732011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5574
4ac619f0
AA
5575 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5576 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5577 (Bug#8539).
60ed8c72 5578
23db196e
CY
55792011-05-28 Chong Yidong <cyd@stupidchicken.com>
5580
5581 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5582
5012f24c
DK
55832011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5584
5585 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5586 (hs-hide-block-at-point, hs-find-block-beginning)
5587 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5588 (Bug#8279).
5589
6a639b16
GM
55902011-05-28 Glenn Morris <rgm@gnu.org>
5591
5592 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5593
d43eaf2c
CY
55942011-05-28 Chong Yidong <cyd@stupidchicken.com>
5595
5199bde1
CY
5596 * help-fns.el (describe-function-1): If the function is a derived
5597 major mode, print the parent mode.
5598
d43eaf2c
CY
5599 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5600 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5601
423428a8
SM
56022011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5603
0ff8e1ba
SM
5604 * minibuffer.el (completion--capf-wrapper): Check applicability before
5605 retuning non-nil for non-exclusive completion data.
5606 * progmodes/etags.el (tags-completion-at-point-function):
5607 * info-look.el (info-lookup-completions-at-point): Mark as
5608 non-exclusive.
5609 (info-complete): Adjust accordingly.
5610
423428a8
SM
5611 * info-look.el: Convert to lexical-binding and completion-at-point.
5612 (info-lookup-completions-at-point): New function.
5613 (info-complete): Use it and completion-in-region.
5614
b74aa22b
DA
56152011-05-28 Drew Adams <drew.adams@oracle.com>
5616
5617 * isearch.el: Let M-e start with point at the first mismatched char.
5618 (isearch-fail-pos): New function.
5619 (isearch-edit-string): Use it.
5620
66e2e71d
DK
56212011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5622
5623 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5624
eb95d01d
TC
56252009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5626
5627 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5628 traversal functions for avl-trees.
5629 (avl-tree--stack): New struct.
5630 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5631 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5632 (avl-tree--do-enter): Add optional `updatefun' arg.
5633 Change return value.
eb95d01d 5634 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5635 (avl-tree--do-delete): Add `test' and `nilflag' args.
5636 Change return value.
eb95d01d
TC
5637 (avl-tree-member): Add optional `nilflag'
5638 (avl-tree-member-p): New function.
5639 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5640 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5641 (avl-tree-stack-empty-p): New functions.
5642
3769ddcf
TC
56432009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5644
5645 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5646 avl-tree--del-balance1 and make it work both ways.
5647 (avl-tree--del-balance2): Remove.
5648 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5649 make it work both ways.
5650 (avl-tree--enter-balance2): Remove.
5651 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5652 New macros.
5653 (avl-tree--mapc, avl-tree-map): Add direction argument.
5654
eb95d01d 56552011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5656
5657 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5658
a9f737ee
CY
56592011-05-27 Chong Yidong <cyd@stupidchicken.com>
5660
5661 * select.el: Support clipboard managers with built-in function
5662 x-clipboard-manager-save, via delete-frame-functions and
5663 kill-emacs-hook.
5664 (xselect-convert-to-targets): Add MULTIPLE target to list.
5665 (xselect-convert-to-save-targets): New function.
5666
c92a1e54
KH
56672011-05-27 Kenichi Handa <handa@m17n.org>
5668
5669 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5670 let-binding rfc2047-encode-encoded-words to nil.
5671
e145f188
GM
56722011-05-27 Glenn Morris <rgm@gnu.org>
5673
5ec8a862
GM
5674 * mail/emacsbug.el: Don't require url-util.
5675
4b29d9fb
GM
5676 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5677
e145f188
GM
5678 * files.el (set-auto-mode):
5679 Also respect mode: entries at the end of the file. (Bug#8586)
5680
7d15102b
GM
56812011-05-26 Glenn Morris <rgm@gnu.org>
5682
98f593b8
GM
5683 * files.el (hack-local-variables-prop-line, hack-local-variables):
5684 Downcase mode names, as seems to be traditional.
27b48e63 5685 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5686
7d15102b
GM
5687 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5688 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5689
51d5b4ec
JD
56902011-05-25 Julien Danjou <julien@danjou.info>
5691
5692 * textmodes/rst.el (rst-define-level-faces): Do not define face
5693 symbol if it is already defined.
5694
91513f63
VB
56952011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5696
5697 * play/5x5.el (5x5-new-game, 5x5-randomize):
5698 Reset 5x5-solver-output to nil when a new grid is cast.
5699 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5700 these debugging traces, as defmacro breaks the compiled code.
5701
4d90d6d0
DK
57022011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5703
5704 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5705
e1b90ef6
LL
57062011-05-24 Leo Liu <sdl.web@gmail.com>
5707
5708 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5709 (vc-bzr-sha1): Adapt.
5710
d8e4b68b 5711 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5712
5713 * bindings.el: Provide sha1 feature.
5714
db0406bb 57152011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5716
5717 * mail/sendmail.el: Require `rfc2047'.
5718 (mail-insert-from-field): Do not perform RFC2047 encoding.
5719 (mail-encode-header): New function.
5720 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5721 buffer to the return value of select-message-coding-system.
5722 Call mail-encode-header.
b8d747b9
KH
5723
5724 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5725
db0406bb 57262011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5727
4d90d6d0
DK
5728 * mail/supercite.el (sc-default-cite-frame):
5729 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5730
eb8a5e9b
GM
57312011-05-24 Glenn Morris <rgm@gnu.org>
5732
f8630703
GM
5733 * progmodes/python.el (brm-menu): Declare.
5734
8831bbed
GM
5735 * emulation/viper.el (viper-set-hooks): Declare.
5736
eb8a5e9b
GM
5737 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5738 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5739 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5740 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5741 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5742 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5743
a2a25d24
SM
57442011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 Add an :exit-function for completion-at-point.
5747
5748 * minibuffer.el (completion--done): New fun.
5749 (completion--do-completion): Use it. New arg `expect-exact'.
5750 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5751 since completion--do-completion does it for us now.
5752 (minibuffer-force-complete): Use completion--done and
5753 completion--replace. Handle sole-completion case with more care.
5754 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5755 (completion-extra-properties): New var.
5756 (completion-annotate-function): Make obsolete.
5757 (minibuffer-completion-help): Adjust accordingly.
5758 Use completion-list-insert-choice-function.
5759 (completion-at-point, completion-help-at-point):
5760 Bind completion-extra-properties.
5761 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5762 * simple.el (completion-list-insert-choice-function): New var.
5763 (completion-setup-function): Preserve it.
5764 (choose-completion): Pay attention to it, shuffle the code a bit.
5765 (choose-completion-string): New arg `insert-function'.
5766
5767 * textmodes/bibtex.el: Convert to lexical binding.
5768 (bibtex-mode-map): Use completion-at-point.
5769 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5770 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5771 (bibtex-complete): Define as obsolete alias.
5772 (bibtex-complete-internal): Remove.
5773 (bibtex-format-entry): Remove unused sub-group in regexp.
5774 * shell.el (shell--command-completion-data)
5775 (shell-environment-variable-completion):
5776 * pcomplete.el (pcomplete-completions-at-point):
5777 * comint.el (comint--complete-file-name-data): Use :exit-function
5778 instead of completion-table-with-terminator so it also works for
5779 choose-completion.
5780
e44e373d
SM
57812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5782
4f91a816
SM
5783 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5784
782fc819
SM
5785 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5786 (bug#8710).
5787
e44e373d
SM
5788 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5789
381987c3
KM
57902011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5791
5792 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5793 customization variable and implement: If non-nil, auto-fill will
5794 be inhibited while on topic's header line.
5795
b776bc70
VB
57962011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5797
5798 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5799 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5800 always have a solution in grid size = 5 cases.
5801 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5802 (5x5-solver-output, 5x5-log-buffer): New vars.
5803 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5804 Make these variables buffer local to achieve 5x5 multi-session-ness.
5805 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5806 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5807 (5x5-solve-suggest): New funs.
5808 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5809 randomize a grid so that we ensure that there is always a solution.
5810 (5x5-make-random-grid): Allow other movement than flipping.
5811
7de88b6e
KR
58122011-05-23 Kevin Ryde <user42@zip.com.au>
5813
5814 * emacs-lisp/advice.el (ad-read-advised-function):
5815 Use `function-called-at-point' as the default default, if it has
5816 advice and passes PREDICATE.
5817
b1ef1257
SM
58182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5819
bbca48fe
SM
5820 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5821 byte-compile-lambda if it's actually a lambda.
5822
b1ef1257
SM
5823 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5824 Fix function quoting. Use backquote better.
5825
92a9cc65
YS
58262011-05-22 Yuanle Song <sylecn@gmail.com>
5827
5828 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5829 matching (Bug#8516).
5830
f0fb8059
JA
58312011-01-22 Jari Aalto <jari.aalto@cante.net>
5832
5833 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5834 different face (Bug#8178).
5835
d5b44c93
CY
58362011-05-22 Chong Yidong <cyd@stupidchicken.com>
5837
5838 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5839 defface (Bug#8144).
5840
79106a44
SM
58412011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5842
9c848d8a
SM
5843 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5844 funcall as well (bug#8712). Warn when performing those conversions.
5845 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5846
79106a44
SM
5847 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5848
88dfa756
GM
58492011-05-22 Glenn Morris <rgm@gnu.org>
5850
5851 * files.el (hack-local-variables-prop-line): Small simplifications.
5852 (hack-local-variables, hack-local-variables-prop-line):
5853 If MODE-ONLY, return the mode, rather than just `t'.
5854
b7cf2c79
SM
58552011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5858
3f1a8558
GM
58592011-05-21 Glenn Morris <rgm@gnu.org>
5860
7e4ccca3
GM
5861 * files.el (hack-local-variables-prop-line, hack-local-variables):
5862 If only interested in the mode, don't bother doing the other stuff.
5863
637d46ca
GM
5864 * image-mode.el (image-after-revert-hook):
5865 Redraw all frames on which the image is visible. (Bug#8567)
5866
973d955b
GM
5867 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5868
3f1a8558
GM
5869 * wid-edit.el (widget-checklist-match-inline):
5870 Fix 2011-04-19 change. (Bug#8649)
5871
96479927
SM
58722011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5873
1dcf791f
SM
5874 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5875 Also allow singlespace after single-letter capitals followed by a dot.
5876
96479927
SM
5877 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5878 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5879
35fd0881
N
58802011-05-20 Nix <nix@esperi.org.uk>
5881
5882 * files.el (basic-save-buffer-2):
5883 Fix handling of break-hardlink-on-save with non-existent files.
5884
82745640
DD
58852011-05-19 Deniz Dogan <deniz@dogan.se>
5886
5887 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5888 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5889
4a720484
GM
58902011-05-19 Glenn Morris <rgm@gnu.org>
5891
d1f21341
GM
5892 * progmodes/f90.el (f90-type-def-re):
5893 Handle "type, bind(c)". (Bug#8691)
5894
4a720484
GM
5895 * emacs-lisp/autoload.el (batch-update-autoloads):
5896 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5897
2fb0a219
MA
58982011-05-18 Michael Albinus <michael.albinus@gmx.de>
5899
5900 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5901 property for the correct connection in case of multihops.
5902
e565dd37
GM
59032011-05-18 Glenn Morris <rgm@gnu.org>
5904
c2571358 5905 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5906 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5907
e565dd37
GM
5908 Rationalize calendar handling of day and month abbrev-arrays.
5909 * calendar/calendar.el (calendar-customized-p): New function.
5910 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5911 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5912 Add :set function.
5913 (calendar-abbrev-length, calendar-day-abbrev-array)
5914 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5915 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5916 Elements may no longer be nil.
5917 (calendar-day-name, calendar-month-name):
5918 Update for changed nature of abbrev arrays.
5919 * calendar/diary-lib.el (diary-name-pattern):
5920 Update for changed nature of abbrev arrays.
5921 (diary-mark-entries-1): Update calendar-make-alist calls.
5922 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5923 * calendar/cal-html.el (cal-html-day-abbrev-array):
5924 Simply inherit from calendar-day-abbrev-array.
5925
1d99a745
SM
59262011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * progmodes/grep.el (grep-mode): Disable default
5929 compilation-directory-matcher setting (bug#8684).
5930
7c1d9aa0
MA
59312011-05-17 Michael Albinus <michael.albinus@gmx.de>
5932
5933 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5934 instead of "head" and "tail". There were problems with SunOS 5.9,
5935 and it performs better.
5936
3952e9d8
GM
59372011-05-17 Glenn Morris <rgm@gnu.org>
5938
2dd12e7f
GM
5939 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5940
e4157b9c
GM
5941 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5942 Replace obsolete function.
5943
8e249bbd
GM
5944 * shell.el (pcomplete-parse-arguments-function): Declare.
5945
3952e9d8
GM
5946 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5947 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5948 (appt-check): Doc fixes.
5949 (appt-disp-window-function, appt-delete-window-function):
5950 Remove needless special case in custom :type.
5951 (appt-display-count): Default to 0, not nil.
5952 (appt-check): Reset appt-display-count to 0, not nil.
5953
c71a0d48 59542011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5955
c71a0d48
GM
5956 * progmodes/python.el (python-font-lock-keywords):
5957 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5958
31d55be9
SM
59592011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5962
3bfacb2f
KR
59632011-05-16 Kevin Ryde <user42@zip.com.au>
5964
5965 * info-look.el (makefile-automake-mode): New setups, looking in
5966 automake manual, then makefile-mode.
5967 (makefile-mode): Remove automake manual, have it just in
5968 makefile-automake-mode since there's various things different or
5969 not relevant to plain make.
5970 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5971 believe a hypothetical automake-mode would go to makefile-mode,
5972 not the other way around.
5973
c8e83751
CY
59742011-05-15 Chong Yidong <cyd@stupidchicken.com>
5975
5e9e35cd
CY
5976 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5977 hunk-end tags (Bug#8672).
5978
c8e83751
CY
5979 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5980 vc-annotate-show-diff-revision-at-line (Bug#8671).
5981
50b23e5a
GM
59822011-05-14 Glenn Morris <rgm@gnu.org>
5983
7210a739
GM
5984 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5985 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5986 (change-log-font-lock-keywords): Also handle multiple author lines
5987 with leading tabs. (Bug#8644)
7210a739 5988
4691905a
GM
5989 * calendar/appt.el (appt-check): Rename some local variables.
5990 Some simplification/reordering.
5991
50b23e5a
GM
5992 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5993 (feedmail-sendmail-f-doesnt-sell-me-out)
5994 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5995 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5996 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5997 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5998 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5999 (feedmail-binmail-gnulinuxish-template):
6000 Rename from feedmail-binmail-linuxish-template.
6001 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6002 Use insert-buffer-substring.
6003
215cda7c
BC
60042011-05-14 Bill Carpenter <bill@carpenter.org>
6005
6006 * mail/feedmail.el (feedmail-patch-level): Increase.
6007 (feedmail-debug): New custom group.
6008 (feedmail-confirm-outgoing-timeout)
6009 (feedmail-sendmail-f-doesnt-sell-me-out)
6010 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6011 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6012 (feedmail-sender-line, feedmail-from-line)
6013 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6014 (feedmail-spray-this-address)
215cda7c
BC
6015 (feedmail-spray-address-fiddle-plex-list)
6016 (feedmail-queue-use-send-time-for-date)
6017 (feedmail-queue-use-send-time-for-message-id)
6018 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6019 (feedmail-buffer-eating-function):
6020 Doc fixes.
6021 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6022 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6023 (feedmail-message-action-scroll-down): New functions.
6024 (feedmail-queue-directory, feedmail-queue-draft-directory):
6025 Use expand-file-name.
6026 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6027 Remove C-v help entry.
6028 (feedmail-queue-buffer-file-name): New variable.
6029 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6030 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6031 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6032 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6033 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6034 (feedmail-message-action-toggle-spray)
6035 (feedmail-run-the-queue-no-prompts)
6036 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6037 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6038 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6039 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6040 (feedmail-envelope-deducer, feedmail-fiddle-from)
6041 (feedmail-fiddle-sender, feedmail-default-date-generator)
6042 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6043 (feedmail-fiddle-spray-address)
6044 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6045 (feedmail-fiddle-list-of-fiddle-plexes)
6046 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6047 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6048 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6049 Change default. Doc fix.
6050 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6051 (feedmail-binmail-linuxish-template): New constant.
6052 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6053 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6054 (feedmail-send-it): Add debug call.
6055 Use feedmail-queue-buffer-file-name, and
6056 feedmail-send-it-immediately-wrapper.
6057 (feedmail-message-action-send): Add debug call.
6058 Use feedmail-send-it-immediately-wrapper.
6059 (feedmail-queue-express-to-queue): Add debug call.
6060 Run feedmail-queue-express-hook.
6061 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6062 (feedmail-message-action-help-blat):
6063 Rename from feedmail-queue-send-edit-prompt-help-first.
6064 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6065 Check line-endings. Handle errors better.
6066 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6067 Doc fix. Add debug call.
6068 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6069 Use feedmail-queue-send-edit-prompt-inner.
6070 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6071 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6072 from feedmail-queue-send-edit-prompt.
6073 (feedmail-queue-send-edit-prompt-help)
6074 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6075 (feedmail-tidy-up-slug): Add debug call.
6076 Respect feedmail-queue-slug-suspect-regexp.
6077 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6078 (feedmail-dump-message-to-queue): Add debug call.
6079 Expand queue-directory.
6080 (feedmail-dump-message-to-queue): Change message slightly.
6081 Use feedmail-say-chatter.
6082 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6083 (feedmail-send-it-immediately-wrapper): New function.
6084 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6085 Insert empty string rather than newline. Handle full-frame case.
6086 Use catch/throw. Use feedmail-say-chatter.
6087 (feedmail-fiddle-from): Try mail-host-address.
6088 (feedmail-default-message-id-generator): Doc fix.
6089 Bind system-time-locale. Handle missing end.
6090 (feedmail-fiddle-x-mailer): Add debug call.
6091 Handle feedmail-x-mailer-line being nil.
6092 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6093 Add debug call. Use buffer-substring-no-properties.
6094 (feedmail-say-debug, feedmail-say-chatter): New functions.
6095 (feedmail-find-eoh): Give an explicit error.
6096
42c7e61e
UJ
60972011-05-13 Ulf Jasper <ulf.jasper@web.de>
6098
c2571358 6099 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6100 family from helvetica to sans.
c2571358 6101 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6102 etc/images/newsticker.
6103
c2571358 6104 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6105 family from helvetica to sans.
6106
6107 * net/newst-plainview.el (newsticker-new-item-face)
6108 (newsticker-old-item-face, newsticker-immortal-item-face)
6109 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6110 (newsticker-statistics-face): Change default family from
42c7e61e 6111 helvetica to sans.
c2571358 6112 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6113 etc/images/newsticker.
6114
6115 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6116 (newsticker--process-auto-mark-filter-match): : Tell user about
6117 auto-marking.
6118
8497a297
DV
61192011-05-13 Didier Verna <didier@xemacs.org>
6120
6121 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6122 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6123 TODO entries.
8497a297
DV
6124 (lisp-lambda-list-keyword-parameter-indentation)
6125 (lisp-lambda-list-keyword-parameter-alignment)
6126 (lisp-lambda-list-keyword-alignment): New customizable user options.
6127 (lisp-indent-defun-method): Improve docstring.
6128 (extended-loop-p): Fix comment.
6129 (lisp-indent-lambda-list-keywords-regexp): New variable.
6130 (lisp-indent-lambda-list): New function.
6131 (lisp-indent-259): Use it.
6132 (lisp-indent-defmethod): Support for more than one
6133 method qualifier and properly indent methods lambda-lists.
6134 (defgeneric): Provide a missing common-lisp-indent-function property.
6135
f278f87f
SM
61362011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6139 bounds for the empty string (bug#8667).
6140
5233edd7
GM
61412011-05-13 Glenn Morris <rgm@gnu.org>
6142
5237a44f
GM
6143 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6144
8340026c 6145 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6146 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6147
5233edd7 6148 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6149 (appt-time-msg-list): Doc fix.
a5464014 6150 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6151
92d10796
AS
61522011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6153
6154 * progmodes/ld-script.el (ld-script-keywords)
6155 (ld-script-builtins): Update keywords list.
6156
914a0ae1
SM
61572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6158
c89be45f
SM
6159 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6160
914a0ae1
SM
6161 * shell.el (shell-completion-vars): New function.
6162 (shell-mode):
6163 * simple.el (read-shell-command): Use it.
6164 (blink-matching-open): No need for " [...]" in minibuffer-message.
6165
98dc3df3
GM
61662011-05-12 Glenn Morris <rgm@gnu.org>
6167
6168 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6169 (appt-check): Simplify.
6170
d2fc7e3d 61712011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6172
4d61f28d 6173 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6174 literal "/dev/null".
6175
d2fc7e3d 61762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6177
6178 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6179 Fix typo.
6180
d2fc7e3d 61812011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6182
3f254caa
SM
6183 * progmodes/which-func.el (which-function):
6184 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6185 which might not be defined (Bug#8260).
6186
d45885f7
GM
61872011-05-12 Glenn Morris <rgm@gnu.org>
6188
6189 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6190 Let byte-compile-initial-macro-environment always take precedence.
6191
488086f4
SM
61922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * net/rcirc.el: Add support for SSL/TLS connections.
6195 (rcirc-server-alist): New field `encryption'.
6196 (rcirc): Check `encryption' settings.
6197 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6198 Merge make-local-variable into `set'.
6199 (rcirc--connection-open-p): New function.
6200 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6201 the process is not a network process (e.g. running gnutls-cli).
6202 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6203 Make rcirc-(en|de)code-coding-system local here.
6204 (rcirc-mode): Merge make-local-variable into `set'.
6205 (rcirc-parent-buffer): Make permanent buffer-local.
6206 (rcirc-multiline-minor-mode): Don't do it here.
6207 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6208 there's no server buffer.
6209
7d3b9d44
GM
62102011-05-11 Glenn Morris <rgm@gnu.org>
6211
f64049c6
GM
6212 * newcomment.el (comment-kill): Prefix "unused" local.
6213
93c9df73
GM
6214 * term/w32console.el (get-screen-color): Declare.
6215
7d3b9d44
GM
6216 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6217 Handle symbol elements of byte-compile-initial-macro-environment.
6218
9e2dd53f
LL
62192011-05-10 Leo Liu <sdl.web@gmail.com>
6220
488086f4
SM
6221 * bookmark.el (bookmark-bmenu-mode-map):
6222 Bind bookmark-bmenu-search to `/'.
8b340240 6223
9e2dd53f 6224 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6225 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6226 (Footnote-unicode): New function.
6227 (footnote-style-alist): Add unicode style to the list.
6228 (footnote-style): Doc fix.
9e2dd53f 6229
79b70037
GM
62302011-05-10 Jim Meyering <meyering@redhat.com>
6231
6232 Fix doubled-word typos.
6233 * international/quail.el (quail-insert-kbd-layout): and and -> and
6234 * kermit.el: and and -> and
6235 * net/ldap.el (ldap-search-internal): to to -> to
6236 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6237 * progmodes/js.el (js-mode): and and -> and
6238 * textmodes/artist.el (artist-move-to-xy): at at -> at
6239 (artist-draw-region-trim-line-endings): if if -> if
6240 And Safetyc -> Safety.
6241 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6242
b8f82dc1 62432011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6244 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6245
6246 * files.el (hack-one-local-variable-eval-safep):
6247 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6248
4f99f44b
GM
62492011-05-10 Glenn Morris <rgm@gnu.org>
6250
6251 * calendar/diary-lib.el (diary-list-entries-hook)
6252 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6253 (diary-nongregorian-marking-hook, diary-list-entries)
6254 (diary-include-other-diary-files, diary-mark-entries)
6255 (diary-mark-included-diary-files): Doc fixes.
6256
84f29e6b
JB
62572011-05-09 Juanma Barranquero <lekktu@gmail.com>
6258
6259 * misc.el: Require tabulated-list.el during compilation.
6260
9bedd73a
CY
62612011-05-09 Chong Yidong <cyd@stupidchicken.com>
6262
488086f4
SM
6263 * progmodes/compile.el (compilation-start):
6264 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6265 (compilation-filter-hook): Doc fix.
6266
797c735c
DD
62672011-05-09 Deniz Dogan <deniz@dogan.se>
6268
6269 * wdired.el: Remove outdated installation comment. Fix usage
6270 comment.
6271
5f4b1dfe
JB
62722011-05-09 Juanma Barranquero <lekktu@gmail.com>
6273
6274 * misc.el: Implement new command `list-dynamic-libraries'.
6275 (list-dynamic-libraries--loaded-only-p): New variable.
6276 (list-dynamic-libraries--refresh): New function.
6277 (list-dynamic-libraries): New command.
6278
4c44026c
CY
62792011-05-09 Chong Yidong <cyd@stupidchicken.com>
6280
488086f4
SM
6281 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6282 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6283 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6284 higher priority to avoid clobbering by gnu.
6285
027f966d
CY
62862011-05-08 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6289 if the face has existing theme settings (Bug#8454).
6290
085f5d7d
CY
62912011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6292
488086f4
SM
6293 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6294 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6295
2a86a00c
RS
6296 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6297 special file names `.' and `..' (Bug#8259).
6298
d9c54a06
CY
62992011-05-08 Chong Yidong <cyd@stupidchicken.com>
6300
488086f4
SM
6301 * progmodes/grep.el (grep-mode-font-lock-keywords):
6302 Remove buffer-changing entries.
d9c54a06
CY
6303 (grep-filter): New function.
6304 (grep-mode): Add it to compilation-filter-hook.
6305
6306 * progmodes/compile.el (compilation-filter-hook)
6307 (compilation-filter-start): New defvars.
6308 (compilation-filter): Call compilation-filter-hook prior to
6309 updating the process mark.
6310
c4662635
SM
63112011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6314
b0512a1d
EZ
63152011-05-07 Eli Zaretskii <eliz@gnu.org>
6316
605c9376
EZ
6317 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6318 mailclient-send-it even if window-system is nil. (Bug#8595)
6319
c4662635
SM
6320 * term/w32console.el (terminal-init-w32console):
6321 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6322 background-mode. (Bug#8597)
6323
d1dc2cc2
SM
63242011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6327 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6328 New functions.
6329 (defgeneric, eieio--defmethod): Use them.
6330 (eieio-defgeneric): Remove.
6331 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6332
915d1300
GM
63332011-05-07 Glenn Morris <rgm@gnu.org>
6334
a3961c3e
GM
6335 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6336 Use let rather than let*.
6337 (timeclock-find-discrep): Remove unused local.
6338
314347b9
GM
6339 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6340
915d1300
GM
6341 * calendar/appt.el (appt-time-msg-list): Doc fix.
6342
275b59b0
NF
63432011-05-06 Noah Friedman <friedman@splode.com>
6344
6345 * apropos.el (apropos-print-doc): Only use
6346 emacs-lisp-docstring-fill-column when it is bound to an integer,
6347 per that variable's documentation.
6348
6c19f744
SM
63492011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6352 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6353
60f884b2
GM
63542011-05-06 Glenn Morris <rgm@gnu.org>
6355
5006e634
GM
6356 * calendar/appt.el (appt-message-warning-time): Doc fix.
6357 (appt-warning-time-regexp): New option.
6358 (appt-make-list): Respect appt-message-warning-time.
6359
548d0a63
GM
6360 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6361 New options.
6362 (diary-add-to-list): Strip comments from the displayed string.
6363 (diary-mode): Set comment-start and comment-end.
6364
60f884b2
GM
6365 * vc/diff-mode.el (smerge-refine-subst): Declare.
6366 (diff-refine-hunk): Don't require smerge-mode when compiling.
6367
989681bb
JB
63682011-05-06 Juanma Barranquero <lekktu@gmail.com>
6369
6370 * simple.el (list-processes): Return nil as the docstring says.
6371
a6bc05e1
MA
63722011-05-05 Michael Albinus <michael.albinus@gmx.de>
6373
6374 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6375 to "".
6376 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6377 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6378 determining of binary transfer. (Bug#7383)
6379
23c22e9a
MA
63802011-05-05 Michael Albinus <michael.albinus@gmx.de>
6381
c4662635
SM
6382 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6383 Fix port computation bug. (Bug#8618)
23c22e9a 6384
0bff894f
GM
63852011-05-05 Glenn Morris <rgm@gnu.org>
6386
b8296902
GM
6387 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6388
1f522ce8
GM
6389 * simple.el (shell-dynamic-complete-functions)
6390 (comint-dynamic-complete-functions): Declare.
6391
cf5bee67
GM
6392 * net/network-stream.el (gnutls-negotiate):
6393 * simple.el (tabulated-list-print): Fix declarations.
6394
6395 * progmodes/gud.el (syntax-symbol, syntax-point):
6396 Remove unnecessary and incorrect declarations.
6397
0bff894f
GM
6398 * emacs-lisp/check-declare.el (check-declare-scan):
6399 Handle byte-compile-initial-macro-environment in bytecomp.el
6400
9869b3ae
SM
64012011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 Fix earlier half-done eieio-defmethod change (bug#8338).
6404 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6405 Streamline and change calling convention.
6406 (defmethod): Adjust accordingly and simplify.
6407 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6408 new eieio--defmethod.
6409 (slot-boundp): Minor CSE simplification.
6410
9c1d5ac5
MZ
64112011-05-05 Milan Zamazal <pdm@zamazal.org>
6412
6413 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6414 (glasses-make-readable): Use glasses-separate-capital-groups.
6415
455c834e
JB
64162011-05-05 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6419 (warning-series): Doc fix.
6420 (display-warning): Don't try to create the buffer if we just found it.
6421
9ed7c8cb
CY
64222011-05-04 Chong Yidong <cyd@stupidchicken.com>
6423
6424 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6425 (autoload-find-generated-file): New function.
6426 (generate-file-autoloads): Bind generated-autoload-file to
6427 buffer-file-name.
9869b3ae
SM
6428 (update-file-autoloads, update-directory-autoloads):
6429 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6430 output file (Bug#7989).
6431 (batch-update-autoloads): Doc fix.
6432
0898ca10
JB
64332011-05-04 Juanma Barranquero <lekktu@gmail.com>
6434
6435 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6436
31dfb76c
GM
64372011-05-04 Glenn Morris <rgm@gnu.org>
6438
f330b642
GM
6439 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6440 function, so it follows changes in calendar-date-style.
6441 (diary-fancy-date-matcher): New function.
6442 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6443 (diary-fancy-font-lock-fontify-region-function):
6444 Use diary-fancy-date-pattern as a function.
6445
31dfb76c
GM
6446 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6447 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6448
48e79d6a
TZ
64492011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6450
6451 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6452 instead of positional arguments. Allow :keylist and :crlfiles
6453 arguments.
6454 (open-gnutls-stream): Call it.
6455
6456 * net/network-stream.el (network-stream-open-starttls): Adjust to
6457 call `gnutls-negotiate' with :process and :hostname arguments.
6458
dd5a5ee0
SM
64592011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6460
ef80fc09
SM
6461 * minibuffer.el (completion--message): New function.
6462 (completion--do-completion, minibuffer-complete)
6463 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6464 (completion--do-completion): Don't ignore completion-auto-help when in
6465 icomplete-mode.
6466
dd5a5ee0
SM
6467 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6468 internal encoding (e.g. tibetan zero is not whitespace).
6469 (global-whitespace-mode): Prefer save-current-buffer.
6470 (whitespace-trailing-regexp): Remove useless save-match-data.
6471 (whitespace-empty-at-bob-regexp): Minor simplification.
6472
b7d22a83
CY
64732011-05-03 Chong Yidong <cyd@stupidchicken.com>
6474
6475 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6476
5192af46
AM
64772011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6478
6479 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6480 Use `concat' to create string for insertion.
5192af46 6481
5767d190
SM
64822011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6485 Avoid open-line which runs post-self-insert-hook.
6486 (bibtex-fill-entry): Remove unused `end' var.
6487
bf242939
AM
64882011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6489
5767d190
SM
6490 * textmodes/ispell.el (ispell-add-per-file-word-list):
6491 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6492
25666126
LL
64932011-05-03 Leo Liu <sdl.web@gmail.com>
6494
6495 * isearch.el (isearch-yank-pop): New command.
5767d190 6496 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6497 (isearch-forward): Mention it.
6498
52d3c2d0
SM
64992011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6500
1bcace58
SM
6501 * simple.el (minibuffer-complete-shell-command): Remove.
6502 (minibuffer-local-shell-command-map): Use completion-at-point.
6503 (read-shell-command): Setup completion vars here instead.
6504 (read-expression-map): Bind TAB to symbol completion.
6505
52d3c2d0
SM
6506 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6507 error directly rather via storing it into `results'.
6508
35813471
LL
65092011-05-02 Leo Liu <sdl.web@gmail.com>
6510
6511 * vc/diff.el: Fix description.
6512
e793a940
LMI
65132011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6514
6515 * server.el (server-eval-at): New function.
6516
8de66e05
LMI
65172011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6518
6519 * net/network-stream.el (open-network-stream): Take a :nowait
6520 parameter and pass it on to `make-network-process'.
6521 (network-stream-open-plain): Ditto.
6522
dcb79f20
AS
65232011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6524
6525 * faces.el (face-spec-set-match-display): Don't match toolkit
6526 options on terminal frames.
6527
14a7fbd8
SM
65282011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6529
7eabc1be
SM
6530 * progmodes/pascal.el: Use lexical binding.
6531 (pascal-mode-map): Remove author preferences.
6532
14a7fbd8
SM
6533 * pcomplete.el (pcomplete-std-complete): Don't abuse
6534 completion-at-point.
6535
50f84510
JB
65362011-04-28 Juanma Barranquero <lekktu@gmail.com>
6537
6e087a44
JB
6538 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6539 removing code that has been dead since 1991 or so.
6540
50f84510
JB
6541 * startup.el (command-line): When warning about "_emacs", use a
6542 delayed warning to allow the user to filter it out.
6543
0ba690bd
DD
65442011-04-28 Deniz Dogan <deniz@dogan.se>
6545
6546 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6547 user has not joined.
6548
08abfaad
SM
65492011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6552 aren't any completions at point.
6553
638f053a
JB
65542011-04-28 Juanma Barranquero <lekktu@gmail.com>
6555
6556 * subr.el (display-delayed-warnings): New function.
6557 (delayed-warnings-hook): New variable.
6558
8fff8daa
SM
65592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6560
08abfaad
SM
6561 * minibuffer.el (completion-at-point, completion-help-at-point):
6562 Don't presume that a given completion-at-point-function will always
6563 use the same calling convention.
6564
8fff8daa
SM
6565 * pcomplete.el (pcomplete-completions-at-point):
6566 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6567 pcomplete-seen is non-nil.
6568 (pcomplete-comint-setup): Also recognize the new comint/shell
6569 completion functions.
6570 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6571 pcomplete-seen is non-nil.
6572
841a1577 65732011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6574
841a1577 6575 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6576 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6577 the first character in the entry. This allows for code to add its
211ec907
UJ
6578 own uid to the entry.
6579 (icalendar--convert-float-to-ical): Add export of
6580 `diary-float'-entries save for those with the optional DAY
6581 argument.
6582
2a782793
DC
65832011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6584
6585 * subr.el (shell-quote-argument): Use alternate escaping strategy
6586 when we spot a variable reference in a string.
6587
0438ce91
DC
65882011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6589
6590 * cus-start.el (all): Define customization for debug-on-event.
6591
841a1577 65922011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6593
6594 * subr.el (shell-quote-argument): Escape correctly under Windows.
6595
d090ed6c
SM
65962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6599
bfd31217
MA
66002011-04-25 Michael Albinus <michael.albinus@gmx.de>
6601
d090ed6c
SM
6602 * net/tramp.el (tramp-process-actions): Add POS argument.
6603 Delete region between POS and (pos).
bfd31217 6604
d090ed6c
SM
6605 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6606 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6607 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6608
6609 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6610 position in `tramp-process-actions' call.
6611
6612 * net/trampver.el: Update release number.
6613
e92f3bd3
SM
66142011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6615
850256b5
SM
6616 * custom.el (defcustom): Obey lexical-binding.
6617
e92f3bd3
SM
6618 Fix octave-inf completion problems reported by Alexander Klimov.
6619 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6620 Inherit from octave-mode-syntax-table.
6621 (inferior-octave-mode): Set info-lookup-mode.
6622 (inferior-octave-completion-at-point): New function.
6623 (inferior-octave-complete): Use it and completion-in-region.
6624 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6625 comint-filename-completion.
6626 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6627 symbol elements which shouldn't be word elements.
6628 (octave-font-lock-keywords, octave-beginning-of-defun)
6629 (octave-function-header-regexp): Adjust regexps accordingly.
6630 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6631
cd22b309
JB
66322011-04-25 Juanma Barranquero <lekktu@gmail.com>
6633
6634 * net/gnutls.el (gnutls-errorp): Declare before first use.
6635
8b492194
TZ
66362011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6637
6638 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6639 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6640 default trustfile exists before going to use it. Add missing
6641 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6642 Reported by Claudio Bley <claudio.bley@gmail.com>.
6643 (open-gnutls-stream): Add usage example.
6644
6645 * net/network-stream.el (network-stream-open-starttls): Give host
6646 parameter to `gnutls-negotiate'.
6647 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6648 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6649
841a1577 66502011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6651
cd22b309
JB
6652 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6653 Use correct match group (bug#8438).
05842630 6654
3ba7869c
CY
66552011-04-24 Chong Yidong <cyd@stupidchicken.com>
6656
512e3ae1
CY
6657 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6658 (package-menu--generate): New arg specifying packages to show.
6659 (package-menu-refresh, package-menu-execute, list-packages):
6660 Callers changed.
6661 (package-show-package-list): New function, replacing deleted
6662 package--list-packages (renamed because it is non-internal).
6663
6664 * finder.el (finder-list-matches): Use package-show-package-list
6665 instead of deleted package--list-packages.
6666
e92f3bd3
SM
6667 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6668 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6669 (vc-annotate-mode-map): Bind it to RET.
6670
7031be6d
UR
66712011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6672
6673 * progmodes/etags.el (next-file): Don't use set-buffer to change
6674 buffers (Bug#8478).
6675
4ef177aa
CY
66762011-04-24 Chong Yidong <cyd@stupidchicken.com>
6677
c8d173eb
CY
6678 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6679
4ef177aa
CY
6680 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6681 (apropos-accumulator): Doc fix.
6682 (apropos-function, apropos-macro, apropos-command)
6683 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6684 (apropos-plist): Add face property.
6685 (apropos-symbols-internal): Fix indentation.
6686 (apropos-print): Simplify help, and recognize apropos-multi-type.
6687 (apropos-print-doc): Use button-type-get to extract the button's
6688 face property. Fill docstring (Bug#8352).
6689
4ffd0d6b 66902011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6691
6692 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6693
c6c32125 6694 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6695 (mpuz-mode-map): Use mapc.
c6c32125
JB
6696 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6697 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6698 Fix typos in docstrings.
6699
58d468b4
JB
6700 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6701 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6702
6470c3c6
JB
6703 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6704
4ffd0d6b 67052011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6706
6707 * minibuffer.el (completion--do-completion): Avoid the "Next char
6708 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6709
3ad8bad0
CY
6710 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6711 mouse-2 into unread-command-events, it is interpreted correctly.
6712
71d73c9c 6713 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6714 (image-toggle-display): Doc fix.
71d73c9c 6715
841a1577 67162011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6717
4ffd0d6b
GM
6718 * textmodes/page.el (what-page): Use line-number-at-pos to
6719 calculate line number (Bug#6825).
6e1dbaa9 6720
c2fb1b60
JB
67212011-04-22 Juanma Barranquero <lekktu@gmail.com>
6722
6723 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6724 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6725 Pass argument NO-DEFAULT to `find-tag-interactive'.
6726
e02f48d7
JB
67272011-04-22 Juanma Barranquero <lekktu@gmail.com>
6728
6729 Lexical-binding cleanup.
6730
6731 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6732 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6733 * progmodes/ada-prj.el (ada-prj-initialize-values)
6734 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6735 (ada-prj-show-value):
6736 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6737 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6738 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6739 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6740 * progmodes/bug-reference.el (bug-reference-push-button):
6741 * progmodes/fortran.el (fortran-line-length):
6742 * progmodes/glasses.el (glasses-change):
6743 * progmodes/octave-mod.el (octave-fill-paragraph):
6744 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6745 (python-pdbtrack-grub-for-buffer, python-sentinel):
6746 * progmodes/sql.el (sql-save-connection):
6747 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6748 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6749 Mark unused parameters.
6750
6751 * progmodes/compile.el (compilation--flush-directory-cache)
6752 (compilation--flush-parse, compile-internal): Mark unused parameters.
6753 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6754 (compilation-next-error-function): Remove unused variable `timestamp'.
6755
6756 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6757 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6758
6759 * progmodes/dcl-mode.el (dcl-end-of-command):
6760 Remove unused variable `start'.
6761 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6762 (dcl-option-value-basic, dcl-option-value-offset)
6763 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6764 Mark unused parameters.
6765 (dcl-save-local-variable): Remove unused variable `val'.
6766 (mode): Declare.
6767
6768 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6769 Mark unused parameters.
6770 (delphi-ignore-changes): Move before first use.
6771 (delphi-charset-token-at): Remove unused variable `start'.
6772 (delphi-else-start): Remove unused variable `if-count'.
6773 (delphi-comment-block-start, delphi-comment-block-end):
6774 Remove unused variable `kind'.
6775 (delphi-indent-line): Remove unused variable `new-point'.
6776
6777 * progmodes/ebrowse.el (ebrowse-files-list)
6778 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6779 Mark unused parameters. Don't quote `lambda'.
6780 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6781 Don't quote `lambda'.
6782 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6783 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6784 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6785 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6786 Use `ignore-errors'.
6787 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6788 (ebrowse-view/find-file-and-search-pattern)
6789 (ebrowse-view/find-member-declaration/definition):
6790 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6791 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6792 Rename parameter PREFIX-ARG to PREFIX.
6793 (ebrowse-tags-read-name): Remove unused variables `start' and
6794 `member-info'.
6795 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6796 to `tags-file'.
6797
6798 * progmodes/etags.el (local-find-tag-hook): Declare.
6799 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6800 Mark unused parameters.
6801
6802 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6803 (executable-interpret): Mark unused parameter.
6804
6805 * progmodes/flymake.el (flymake-process-sentinel)
6806 (flymake-after-change-function)
6807 (flymake-create-temp-with-folder-structure)
6808 (flymake-get-include-dirs-dot): Mark unused parameters.
6809 (flymake-safe-delete-directory): Remove unused variable `err'.
6810
6811 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6812 (speedbar-timer-fn, speedbar-line-text)
6813 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6814 (speedbar-center-buffer-smartly): Declare functions.
6815 (gdb-find-watch-expression): Remove unused variable `array'.
6816 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6817 (gdb-starting): Mark unused parameters.
6818 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6819 (gdb-table-string): Remove unused variable `res'.
6820 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6821 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6822 (gdb-display-buffer): Remove unused variable `cur-size'.
6823
6824 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6825 allow lexical-binding compilation.
6826 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6827 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6828 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6829 Mark unused parameters.
6830 (gud-gdb-marker-filter): Remove unused variable `match'.
6831 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6832 lambda expressions and funcall them, instead of using `fset'.
6833
6834 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6835 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6836
6837 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6838 variable `header-beg'; use `let'.
6839
6840 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6841 `restart', `last-sexp' and `at-do'.
6842
6843 * progmodes/js.el (js--debug): Mark unused parameter.
6844 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6845 (js--splice-into-items): Remove unused variable `item'.
6846 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6847
6848 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6849 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6850 (makefile-complete): Remove unused variable `try'.
6851 (makefile-fill-paragraph, makefile-match-function-end):
6852 Mark unused parameters.
6853
6854 * progmodes/octave-inf.el (inferior-octave-complete):
6855 Remove unused variable `proc'.
6856 (inferior-octave-output-digest): Mark unused parameter.
6857
6858 * progmodes/perl-mode.el (perl-calculate-indent):
6859 Remove unused variable `err'.
6860
6861 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6862 (prolog-indent-line): Mark unused parameters.
6863 (prolog-indent-line): Remove unused variable `beg'.
6864
6865 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6866 (reporter-dont-compact-list): Declare.
6867
6868 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6869 Remove unused variable `char'.
6870 (sh-debug): Mark unused parameter.
6871 (sh-get-indent-info): Remove unused variable `start'.
6872 (sh-calculate-indent): Remove unused variable `var'.
6873
6874 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6875 (simula-electric-keyword): Remove unused variable `null'.
6876 (simula-search-backward, simula-search-forward): Remove unused
6877 variables `begin' and `end'.
6878
6879 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6880 Remove unused variable `pos'.
6881 (vera-electric-tab, vera-comment-uncomment-region):
6882 Mark unused parameters.
6883 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6884
7ede3b65
CY
68852011-04-22 Chong Yidong <cyd@stupidchicken.com>
6886
6887 * emacs-lisp/package.el (package--builtins, package-alist)
6888 (package-load-descriptor, package-built-in-p, package-activate)
6889 (define-package, package-installed-p)
6890 (package-compute-transaction, package-buffer-info)
6891 (package--push): Doc fix. Distinguish more clearly between
6892 version strings and version lists.
6893
121656e9
JB
68942011-04-21 Juanma Barranquero <lekktu@gmail.com>
6895
6896 Lexical-binding cleanup.
6897
6898 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6899 (5x5-make-mutate-best):
6900 * play/fortune.el (fortune-in-buffer):
6901 * play/gomoku.el (gomoku-init-display):
6902 * play/solitaire.el (solitaire, solitaire-do-check):
6903 * play/tetris.el (tetris-default-update-speed-function):
6904 Mark unused parameters.
6905
6906 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6907 (bubbles--shift): Remove unused variable `char-org'.
6908 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6909 (bubbles--show-images): Remove unused variable `char'.
6910
6911 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6912 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6913 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6914 (decipher-analyze-buffer): Use ?\s.
6915 (decipher-make-checkpoint): Remove unused variable `mapping'.
6916
6917 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6918
6919 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6920 Remove unused variable `result'; use `let'.
6921
6922 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6923 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6924 (gametree-children-shown-p, gametree-compute-reduced-score):
6925 Use `ignore-errors'.
6926
6927 * play/handwrite.el (ps-lpr-switches): Declare.
6928 (handwrite): Remove unused variables `pmin' and `lastp'.
6929
6930 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6931
6932 * play/landmark.el (landmark-init-display)
6933 (landmark-update-naught-weights): Mark unused parameters.
6934 (landmark-y): Remove unused variable `noise'. Simplify.
6935 (landmark-human-plays): Remove unused variable `score'.
6936
6937 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6938 (mpuz-try-proposal): Remove unused variable `game'.
6939
6940 * play/zone.el (life-patterns): Declare.
6941
80f499c7
JB
69422011-04-20 Juanma Barranquero <lekktu@gmail.com>
6943
6944 * vc/vc.el (ediff-vc-internal): Declare function.
6945
024ff170
SM
69462011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6947
c0a193ea
SM
6948 * shell.el: Use lexical-binding and std completion UI.
6949 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6950 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6951 comint-preoutput-filter-functions rather than on
6952 comint-output-filter-functions.
6953 (shell-command-completion, shell--command-completion-data)
6954 (shell-filename-completion, shell-environment-variable-completion)
6955 (shell-c-a-p-replace-by-expanded-directory): New functions.
6956 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6957 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6958 (shell-dynamic-complete-environment-variable): Use them.
6959 (shell-dynamic-complete-as-environment-variable)
6960 (shell-dynamic-complete-as-command): Remove.
6961 (shell-match-partial-variable): Match past point.
6962 * comint.el: Clean up use of completion-at-point-functions.
6963 (comint-completion-at-point): New function.
6964 (comint-mode): Use it completion-at-point-functions.
6965 (comint-dynamic-complete): Make it obsolete.
6966 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6967 (comint-c-a-p-replace-by-expanded-history): New function.
6968 (comint-dynamic-complete-functions)
6969 (comint-replace-by-expanded-history): Use it.
6970 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6971 termination strings. Try harder to avoid second try-completion.
6972 (completion-in-region-mode-map): Disable bindings that don't work yet.
6973
2dbaa080
SM
6974 * comint.el: Use lexical-binding. Require CL.
6975 (comint-dynamic-complete-functions): Use comint-filename-completion.
6976 (comint-completion-addsuffix): Tweak custom type.
6977 (comint-filename-completion, comint--common-suffix)
6978 (comint--common-quoted-suffix, comint--table-subvert)
6979 (comint--complete-file-name-data): New functions.
6980 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6981 (comint-dynamic-list-filename-completions): Use them.
6982 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6983
2dbaa080
SM
6984 * minibuffer.el (completion-in-region-mode):
6985 Keep completion-in-region-mode--predicate global.
6986 (completion-in-region--postch):
6987 Assume completion-in-region-mode--predicate is not null.
6988
c79a6f38
SM
6989 * progmodes/flymake.el (flymake-start-syntax-check-process):
6990 Obey `dir'. Simplify.
6991
024ff170
SM
6992 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6993 we're in VC after all.
6994
1c6c854e
CS
69952011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6996
6997 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6998 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6999 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7000
bed7f140
SM
70012011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7002
332e62ab
SM
7003 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7004 add sanity check.
7005
bed7f140
SM
7006 * obsolete/erc-hecomplete.el: Make obsolete.
7007 * obsolete/: Standardize obsolescence info in the header.
7008
f195c582
GM
70092011-04-20 Glenn Morris <rgm@gnu.org>
7010
7011 * calendar/solar.el (solar-horizontal-coordinates):
7012 Use the longitude argument rather than `calendar-longitude'.
7013 (solar-date-next-longitude): Remove unused locals.
7014
cb79b8c0
VJL
70152011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7016
7017 * whitespace.el: New version 13.2.1.
7018
70192011-04-20 felix <EmacsWiki> (tiny change)
7020
d8e4b68b 7021 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7022 switching between major modes on a file.
7023
602ea69d
SM
70242011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7027 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7028 multi-line comments as well.
7029
06b60517
JB
70302011-04-19 Juanma Barranquero <lekktu@gmail.com>
7031
7032 Lexical-binding cleanup.
7033
7034 * arc-mode.el (archive-mode-revert):
7035 * cmuscheme.el (scheme-interactively-start-process):
7036 * custom.el (custom-initialize-delay):
7037 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7038 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7039 * emacs-lock.el (emacs-lock-clear-sentinel):
7040 * ezimage.el (defezimage):
7041 * follow.el (follow-avoid-tail-recenter):
7042 * fringe.el (set-fringe-mode-1):
7043 * generic-x.el (bat-generic-mode-compile):
7044 * help-mode.el (help-info-variable, help-do-xref)
7045 (help-mode-revert-buffer):
7046 * help.el (view-emacs-todo):
7047 * iswitchb.el (iswitchb-completion-help):
7048 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7049 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7050 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7051 * locate.el (locate-update):
7052 * longlines.el (longlines-encode-region)
7053 (longlines-after-change-function):
7054 * outline.el (outline-isearch-open-invisible):
7055 * ps-def.el (declare-function, charset-dimension, char-width)
7056 (encode-char):
7057 * ps-mule.el (ps-mule-plot-string):
7058 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7059 (recentf-edit-list-select, recentf-edit-list-validate)
7060 (recentf-open-files-action):
7061 * rect.el (delete-whitespace-rectangle-line)
7062 (rectangle-number-line-callback):
7063 * register.el (window-configuration-to-register)
7064 (frame-configuration-to-register):
7065 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7066 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7067 (xselect-convert-to-targets, xselect-convert-to-delete)
7068 (xselect-convert-to-filename, xselect-convert-to-charpos)
7069 (xselect-convert-to-lineno, xselect-convert-to-colno)
7070 (xselect-convert-to-os, xselect-convert-to-host)
7071 (xselect-convert-to-user, xselect-convert-to-class)
7072 (xselect-convert-to-name, xselect-convert-to-integer)
7073 (xselect-convert-to-atom, xselect-convert-to-identity):
7074 * subr.el (declare, ignore, process-kill-without-query)
7075 (text-clone-maintain):
7076 * terminal.el (te-get-char, te-tic-sentinel):
7077 * tool-bar.el (tool-bar-make-keymap):
7078 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7079 * type-break.el (type-break-mode, type-break-noninteractive-query):
7080 * view.el (View-back-to-mark):
7081 * wid-browse.el (widget-browse-action, widget-browse-widget)
7082 (widget-browse-widgets, widget-browse-sexp):
7083 * widget.el (define-widget-keywords):
7084 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7085 Mark unused parameters.
7086
7087 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7088 (align-areas): Remove unused variable `look'.
7089 (align-region): Remove unused variables `real-end' and `pos-list'.
7090
7091 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7092
7093 * bindings.el (mode-line-modified, mode-line-remote):
7094 Mark unused parameters.
7095 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7096
7097 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7098 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7099
7100 * comint.el (comint-history-isearch-pop-state)
7101 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7102 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7103 (comint-substitute-in-file-name): Doc fix.
7104
7105 * completion.el (cmpl-statistics-block): Mark unused parameter.
7106 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7107 (save-completions-to-file, load-completions-from-file):
7108 Remove unused local variable `e'.
7109
7110 * composite.el (compose-chars): Remove unused variable `len'.
7111 (lgstring-insert-glyph): Remove unused variable `g'.
7112 (compose-glyph-string): Remove unused variables `ascent',
7113 `descent', `lbearing' and `rbearing'.
7114 (compose-glyph-string-relative): Remove unused variables
7115 `lbearing', `rbearing' and `wadjust'.
7116 (compose-gstring-for-graphic): Remove unused variables `header',
7117 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7118 (compose-gstring-for-terminal): Remove unused variables `header'
7119 and `nchars'. Use `let', not `let*'.
7120
7121 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7122 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7123 (Custom-buffer-done, custom-buffer-create-internal)
7124 (custom-browse-visibility-action, custom-browse-group-tag-action)
7125 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7126 (widget-magic-mouse-down-action, custom-toggle-parent)
7127 (custom-add-parent-links, custom-toggle-hide-variable)
7128 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7129 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7130 (custom-face-menu-create, custom-variable-menu-create, get)
7131 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7132 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7133 (customize-apropos): Remove unused variable `tests'.
7134 (custom-group-value-create): Remove unused variable `hidden-p'.
7135 (sort-fold-case): Declare.
7136
7137 * cus-theme.el (custom-reset-standard-faces-list)
7138 (custom-reset-standard-variables-list): Declare.
7139 (customize-create-theme, custom-theme-revert, custom-theme-write)
7140 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7141 Mark unused parameters.
7142
7143 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7144
7145 * delim-col.el (delimit-columns-max): Move defvar before first use.
7146
7147 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7148 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7149
7150 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7151 (auto-insert): Declare.
7152 (desktop-restore-file-buffer): Rename desktop-* parameters;
7153 mark unused ones.
7154 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7155 (desktop-buffer): Rename desktop-* parameters.
7156
7157 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7158 (dframe-reposition-frame-xemacs, dframe-help-echo)
7159 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7160 Mark unused parameters.
7161
7162 * dired-aux.el (backup-extract-version-start, overwrite-query)
7163 (overwrite-backup-query, rename-regexp-query)
7164 (rename-non-directory-query): Declare.
7165 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7166 (dired-add-entry): Remove unused variable `orig-file-name'.
7167 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7168 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7169 `dired-copy-preserve-time' directly.
7170 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7171 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7172
7173 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7174 (dired-virtual-revert, dired-make-relative-symlink):
7175 Mark unused parameters.
7176 (manual-program): Declare.
7177 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7178 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7179 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7180
7181 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7182
7183 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7184
7185 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7186 Declare.
7187
7188 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7189
7190 * electric.el (Electric-command-loop): Rename parameter
7191 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7192
7193 * expand.el (expand-in-literal): Remove unused variable `here'.
7194
7195 * facemenu.el (facemenu-add-new-color):
7196 Remove unused variable `docstring'.
7197
7198 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7199 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7200 (face-attr-construct): Mark unused parameter. Doc fix.
7201 (read-color): Remove unused variable `hex-string'.
7202
7203 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7204 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7205 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7206 (display-buffer-other-frame): Remove unused variable `old-window'.
7207 (kill-buffer-hook): Declare.
7208 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7209 Mark unused parameters.
7210 (after-find-file): Pass 1 to `auto-save-mode', not t.
7211
7212 * files-x.el (auto-insert): Declare.
7213 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7214
7215 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7216 variable `buf'. Mark unused parameter.
06b60517
JB
7217 (find-lisp-insert-directory): Mark unused parameter.
7218
7219 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7220 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7221 (format-common-tail): Remove, unused.
7222 (format-deannotate-region): Remove unused variable `loc'.
7223 (format-annotate-region): Remove unused variable `p'.
7224 (format-annotate-single-property-change): Remove unused variables
7225 `default' and `tail'.
7226
7227 * forms.el (read-file-filter): Declare.
7228 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7229
7230 * frame.el (frame-creation-function-alist): Mark unused parameter.
7231 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7232
7233 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7234 Remove unused parameters.
7235 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7236 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7237
7238 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7239 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7240 (hfy-prepare-tag-map): Mark unused parameters.
7241 (htmlfontify-buffer): Use `called-interactively-p'.
7242
7243 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7244 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7245 (ibuffer-do-occur): Mark unused parameters.
7246 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7247 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7248
7249 * ibuffer.el: Don't quote `lambda'.
7250 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7251 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7252 Mark unused parameters.
7253
7254 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7255 (ido-completing-read): Mark unused parameters.
7256 (ido-copy-current-word): Mark unused parameters;
7257 remove unused variable `name'.
7258 (ido-sort-merged-list): Remove unused parameter `dirs'.
7259
7260 * ielm.el (ielm-input-sender): Mark unused parameter.
7261 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7262 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7263 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7264 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7265 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7266
7267 * image-dired.el (image-dired-display-thumbs): Remove unused
7268 variables `curr-file' and `count'.
7269 (image-dired-remove-tag): Remove unused variable `start'.
7270 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7271 variable `curr-file'
7272 (image-dired-rotate-original): Remove unused variable `temp-file'.
7273 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7274 Remove unused variable `file'.
7275 (image-dired-gallery-generate): Remove unused variable `curr'.
7276 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7277
7278 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7279
7280 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7281
7282 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7283
7284 * isearch.el (minibuffer-history-symbol): Declare.
7285 (isearch-edit-string): Remove unused variable `err'.
7286 (isearch-message-prefix, isearch-message-suffix):
7287 Mark unused parameters.
7288
7289 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7290
7291 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7292
7293 * makesum.el (double-column): Remove unused variable `cnt'.
7294
7295 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7296 (ido-ignore-item-temp-list): Declare.
7297
7298 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7299 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7300 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7301 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7302 `mouse-col-delta'.
7303
7304 * mouse-sel.el (mouse-extend-internal):
7305 Remove unused variable `orig-window-frame'.
7306
7307 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7308 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7309 Move declarations before first use.
7310 (pcomplete-opt): Mark unused parameters; doc fix.
7311
7312 * proced.el (proced-revert): Mark unused parameter.
7313 (proced-send-signal): Remove unused variable `err'.
7314
7315 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7316 Rename parameter PREFIX-ARG to ARG.
7317 (ps-basic-plot-string, ps-basic-plot-whitespace):
7318 Mark unused parameters.
7319
7320 * replace.el (replace-count): Define.
7321 (occur-revert-function): Mark unused parameters.
7322 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7323 (isearch-case-fold-search, isearch-string): Declare.
7324 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7325 bind `case-fold-search'. Remove unused variables `beg' and `end',
7326 and simplify.
7327 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7328 COUNT and bind `replace-count'.
7329 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7330 to COUNT.
7331
7332 * savehist.el (print-readably, print-string-length): Declare.
7333
7334 * shadowfile.el (shadow-expand-cluster-in-file-name):
7335 Remove unused variable `cluster'.
7336 (shadow-copy-file): Remove unused variable `i'.
7337 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7338 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7339 (shadow-define-literal-group, shadow-define-regexp-group)
7340 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7341
7342 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7343 (shell): Use `called-interactively-p'.
7344 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7345
7346 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7347 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7348 (delete-backward-char): Remove unused variable `ocol'.
7349 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7350 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7351 (event-apply-hyper-modifier, event-apply-shift-modifier)
7352 (event-apply-control-modifier, event-apply-meta-modifier):
7353 Mark unused parameters.
7354 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7355 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7356
7357 * speedbar.el (speedbar-ignored-directory-expressions)
7358 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7359 (speedbar-find-file, speedbar-dir-follow)
7360 (speedbar-directory-buttons-follow, speedbar-tag-find)
7361 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7362 (speedbar-buffers-line-directory, speedbar-buffer-click):
7363 Mark unused parameters.
7364 (speedbar-tag-file): Remove unused variable `mode'.
7365 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7366
7367 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7368
7369 * talk.el (talk): Remove unused variable `display'.
7370
7371 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7372 (tar-write-region-annotate): Mark unused parameter.
7373
7374 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7375 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7376 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7377 warning by another.
7378
7379 * time-stamp.el (time-stamp-string-preprocess):
7380 Remove unused variable `require-padding'.
7381
7382 * tree-widget.el (widget-glyph-enable): Declare.
7383 (tree-widget-action): Mark unused parameter.
7384
7385 * w32-fns.el (x-get-selection): Mark unused parameter.
7386 (autoload-make-program, generated-autoload-file): Declare.
7387
7388 * wdired.el (wdired-revert): Mark unused parameters.
7389 (wdired-xcase-word): Remove unused variable `err'.
7390
7391 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7392 (whitespace-help-scroll): Remove unused variable `data-help'.
7393
7394 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7395 (widget-image-insert, widget-after-change, default)
7396 (widget-default-format-handler, widget-default-notify)
7397 (widget-default-prompt-value, widget-info-link-action)
7398 (widget-url-link-action, widget-function-link-action)
7399 (widget-variable-link-action, widget-file-link-action)
7400 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7401 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7402 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7403 (widget-insert-button-action, widget-delete-button-action, visibility)
7404 (widget-documentation-link-action, widget-documentation-string-action)
7405 (widget-const-prompt-value, widget-regexp-match, symbol)
7406 (widget-coding-system-prompt-value)
7407 (widget-key-sequence-value-to-external, sexp)
7408 (widget-sexp-value-to-internal, character, vector, cons)
7409 (widget-choice-prompt-value, widget-boolean-prompt-value)
7410 (widget-color--choose-action): Mark unused parameters.
7411 (widget-item-match-inline, widget-choice-match-inline)
7412 (widget-checklist-match, widget-checklist-match-inline)
7413 (widget-group-match): Rename parameter VALUES to VALS.
7414 (widget-field-value-set): Remove unused variable `size'.
7415 (widget-color-action): Remove unused variables `value' and `start'.
7416
7417 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7418 variable `dir'. Doc fix.
06b60517
JB
7419 (windmove-find-other-window): Don't pass it.
7420
7421 * window.el (count-windows): Mark unused parameter.
7422 (bw-adjust-window): Remove unused variable `err'.
7423
7424 * woman.el (woman-file-name): Remove unused variable `default'.
7425 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7426 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7427 (global-font-lock-mode): Declare.
7428 (woman-decode-region): Mark unused parameter.
7429 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7430
7431 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7432 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7433 (x-dnd-handle-moz-url): Remove unused variable `title'.
7434 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7435
7436 * xml.el (xml-parse-tag, xml-parse-attlist):
7437 Remove unused variable `pos'.
7438
bc4f7f3d
GM
74392011-04-19 Glenn Morris <rgm@gnu.org>
7440
7441 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7442 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7443 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7444 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7445 * calendar/cal-html.el (cal-html-insert-minical):
7446 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7447 (calendar-mark-date-pattern):
7448 Prefix "unused" locals.
7449
7450 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7451 optional argument `style'.
7452
7453 * calendar/appt.el (appt-make-list):
7454 * calendar/cal-china.el (calendar-chinese-date-string):
7455 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7456 (diary-hebrew-yahrzeit):
7457 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7458 * calendar/calendar.el (calendar-generate-window):
7459 * calendar/time-date.el (time-to-days):
7460 Remove unused local variables.
7461
16a43933
CY
74622011-04-18 Chong Yidong <cyd@stupidchicken.com>
7463
7464 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7465 glyphless-char-display table.
7466 (tabulated-list-glyphless-char-display): New var.
7467
7eed1860
SS
74682011-04-18 Sam Steingold <sds@gnu.org>
7469
7470 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7471 to acknowledgments.
7472
4d2d1ccd
GM
74732011-04-17 Glenn Morris <rgm@gnu.org>
7474
7475 * calendar/diary-lib.el (diary-sexp-entry):
7476 * calendar/holidays.el (holiday-sexp):
7477 Set debug-on-error rather than the removed stack-trace-on-error.
7478
239da61d
GM
74792011-04-16 Glenn Morris <rgm@gnu.org>
7480
7481 * progmodes/f90.el: Use lexical-binding.
7482 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7483
8b05752a
SM
74842011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7485
daca8ba5
SM
7486 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7487 (mail-mode): Setup mailalias completion here instead.
7488 * mail/mailalias.el: Use lexical-binding.
7489 (pattern, mailalias-done): Declare dynamic.
7490 (mail-completion-at-point-function): New function, from mail-complete.
7491 (mail-complete): Use it.
7492 (mail-completion-expand): New function.
7493 (mail-get-names): Use it.
7494 (mail-directory, mail-directory-process, mail-directory-stream):
7495 Don't use `pattern' for lexically bound arg.
7496
6f542485
SM
7497 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7498
037e7c3f
SM
7499 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7500 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7501 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7502
8b05752a
SM
7503 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7504 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7505 (byte-interactive-p): Define them again, for use when inlining
7506 old code.
7507
49093f60
JB
75082011-04-15 Juanma Barranquero <lekktu@gmail.com>
7509
7510 * loadup.el: Use `string-to-number', not `string-to-int'.
7511
b5b8e7de
SM
75122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7515 gud-gdb-complete-command.
7516 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7517 (gud-gdb-completion-at-point): New function.
7518 (gud-gdb-completions): Remove.
7519
f42efeb5
MA
75202011-04-14 Michael Albinus <michael.albinus@gmx.de>
7521
49093f60
JB
7522 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7523 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7524 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7525 whether `executable-find' is bound.
f42efeb5
MA
7526
7527 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7528
e240cc21
SM
75292011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * minibuffer.el (completion-in-region-mode-predicate)
7532 (completion-in-region-mode--predicate): New vars.
7533 (completion-in-region, completion-in-region--postch)
7534 (completion-in-region-mode): Use them.
7535 (completion--capf-wrapper): Also return the hook function.
7536 (completion-at-point, completion-help-at-point):
7537 Adjust and provide a predicate.
c2bd2ab0
SM
7538
7539 Preserve arg names for advice of subr and lexical functions (bug#8457).
7540 * help-fns.el (help-function-arglist): Consolidate the subr and
7541 new-byte-code cases. Add argument `preserve-names' to extract names
7542 from the docstring when needed.
7543 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7544 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7545 (ad-arglist): Use help-function-arglist's new arg.
7546 (ad-definition-type): Use cond.
7547
c183f693
JB
75482011-04-13 Juanma Barranquero <lekktu@gmail.com>
7549
06641a47
JB
7550 * autorevert.el (auto-revert-handler):
7551 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7552 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7553 Don't quote lambda.
7554
c183f693
JB
7555 * image-mode.el (image-transform-set-scale):
7556 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7557
1e3b6001
G
75582011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7559
7560 * net/network-stream.el (network-stream-open-starttls): Only do
7561 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7562 Upgrades via gnutls-cli are too slow to be done opportunistically.
7563
2d6af8dd
JB
75642011-04-12 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * dframe.el (dframe-current-frame): Remove spurious quote.
7567
c0749a51
GM
75682011-04-12 Glenn Morris <rgm@gnu.org>
7569
088d0d61
GM
7570 * calendar/cal-tex.el (cal-tex-end-document):
7571 Try to automatically use latin1 input if needed.
7572
c0749a51
GM
7573 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7574 Don't try to cons a mark onto an empty element.
7575
5c90fde0
LL
75762011-04-11 Leo Liu <sdl.web@gmail.com>
7577
7578 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7579 buffers.
7580 (ido-kill-buffer-at-head): Support killing virtual buffers.
7581
369e974d
CY
75822011-04-10 Chong Yidong <cyd@stupidchicken.com>
7583
7584 * minibuffer.el (completion-show-inline-help): New var.
7585 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7586 (minibuffer-force-complete, minibuffer-complete-word):
7587 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7588
7589 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7590 to avoid interference from inline help (Bug#5849).
7591
37f1c930
LL
75922011-04-10 Leo Liu <sdl.web@gmail.com>
7593
099c39a4
JB
7594 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7595 Fix typo.
37f1c930 7596
a32d4040
CY
75972011-04-09 Chong Yidong <cyd@stupidchicken.com>
7598
7599 * image-mode.el (image-toggle-display-image): Signal an error if
7600 not in Image mode.
7601 (image-transform-mode, image-transform-resize)
7602 (image-transform-set-rotation): Doc fix.
daca8ba5 7603 (image-transform-set-resize): Delete.
a32d4040
CY
7604 (image-transform-set-scale, image-transform-fit-to-height)
7605 (image-transform-fit-to-width): Handle image-toggle-display-image
7606 and image-transform-resize directly.
7607
099c39a4 76082011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7609
7610 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7611 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7612 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7613 (doc-view-mode-map): Add bindings for the new functions.
7614
099c39a4 76152011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7616
4d61f28d 7617 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7618 Fix typo in docstring.
7619
3726838a
EZ
76202011-04-08 Eli Zaretskii <eliz@gnu.org>
7621
04f33f1e
EZ
7622 * files.el (file-size-human-readable): Produce one digit after
7623 decimal, like "ls -lh" does.
7624
7625 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7626 the file size representation.
7627
3726838a
EZ
7628 * simple.el (list-processes): If async subprocesses are not
7629 available, error out with a clear error message.
7630
cbb59342
CY
76312011-04-08 Chong Yidong <cyd@stupidchicken.com>
7632
7633 * help.el (help-form-show): New function, to be called from C.
7634 Put help-form output in a buffer named differently than *Help*.
7635
e3971c44
EZ
76362011-04-08 Eli Zaretskii <eliz@gnu.org>
7637
7638 * files.el (file-size-human-readable): New function.
7639
7640 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7641 computing the representation inline. Don't require `cl'.
7642
12544bbe
GM
76432011-04-08 Glenn Morris <rgm@gnu.org>
7644
a1de6c6a
GM
7645 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7646
3c4671f4
GM
7647 * net/browse-url.el (browse-url-firefox):
7648 Test system-type, not system-configuration.
7649
b605679c
GM
7650 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7651 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7652 Use log-edit-empty-buffer-p. (Bug#7598)
7653
56442f0c
GM
7654 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7655 (rlogin-mode-map): Initialize in the defvar.
7656 (rlogin): Use ignore-errors.
7657
12544bbe
GM
7658 * replace.el (occur-mode-map): Some fixes for menu items.
7659
eb237b0f
AH
76602011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7661
7662 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7663
7d668f2c
CY
76642011-04-06 Chong Yidong <cyd@stupidchicken.com>
7665
e67a13ab
CY
7666 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7667 issuing unused warnings.
7668
7669 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7670 macro directly.
7671
7d668f2c
CY
7672 * simple.el: Lisp reimplement of list-processes. Based on an
7673 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7674 (process-menu-mode): New major mode.
7675 (list-processes--refresh, list-processes):
7676 (process-menu-visit-buffer): New functions.
7677
7678 * files.el (save-buffers-kill-emacs): Don't assume any return
7679 value of list-processes, which is undocumented anyway.
7680
a83ec3c9
CY
76812011-04-06 Chong Yidong <cyd@stupidchicken.com>
7682
7683 * emacs-lisp/tabulated-list.el: New file.
7684
e91a96fe
CY
7685 * emacs-lisp/package.el: Use Tabulated List mode.
7686 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7687 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7688 table format using Tabulated List mode variables.
7689 (package--push): New macro, replacing package-list-maybe-add.
7690 (package-menu--generate): Use package--push. Renamed from
7691 package--generate-package-list.
7692 (package-menu-refresh, list-packages): Use it.
daca8ba5 7693 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7694 Return insertion data instead of inserting it directly.
099c39a4
JB
7695 (package-menu-describe-package, package-menu-execute):
7696 Use tabulated-list-get-id.
e91a96fe
CY
7697 (package-menu-mark-delete, package-menu-mark-install)
7698 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7699 (package-menu-mark-obsolete-for-deletion):
7700 Use tabulated-list-put-tag.
e91a96fe
CY
7701 (package--list-packages, package-menu-revert)
7702 (package-menu-get-package, package-menu-get-version)
7703 (package-menu-sort-by-column): Functions deleted.
7704 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7705 (package-menu--status-predicate, package-menu--version-predicate)
7706 (package-menu--name-predicate)
7707 (package-menu--description-predicate): Handle arguments in the
7708 Tabulated List format.
7709 (package-list-packages-no-fetch): Call list-packages.
7710
3e214b50
JB
77112011-04-06 Juanma Barranquero <lekktu@gmail.com>
7712
7713 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7714 (after-find-file): Don't bind it.
3e214b50
JB
7715 (revert-buffer-in-progress-p): New variable.
7716 (revert-buffer): Bind it.
7717 Pass nil for `after-find-file-from-revert-buffer'.
7718
7719 * saveplace.el (save-place-find-file-hook): Use new variable
7720 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7721
3f0f1700
GM
77222011-04-06 Glenn Morris <rgm@gnu.org>
7723
c0274801
GM
7724 * Makefile.in (AUTOGEN_VCS): New variable.
7725 (autoloads): Use $AUTOGEN_VCS.
7726
3f0f1700
GM
7727 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7728 * calendar/calendar.el (calendar-mode-map):
7729 Check for toolkit scroll bars. (Bug#8305)
7730
41ea9e48
CY
77312011-04-05 Chong Yidong <cyd@stupidchicken.com>
7732
7733 * minibuffer.el (completion-in-region--postch)
7734 (completion-in-region-mode): Remove unnecessary messages.
7735
6194c800
JB
77362011-04-05 Juanma Barranquero <lekktu@gmail.com>
7737
33256f14
JB
7738 * font-lock.el (font-lock-refresh-defaults):
7739 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7740 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7741
6194c800
JB
7742 * info.el (Info-directory-list, Info-read-node-name-2)
7743 (Info-split-parameter-string): Doc fixes.
7744 (Info-virtual-nodes): Reflow docstring.
7745 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7746 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7747 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7748 Fix typos in docstrings.
7749 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7750 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7751 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7752 (Info-restore-desktop-buffer): Mark unused parameters.
7753 (Info-directory-find-file, Info-directory-find-node)
7754 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7755 (Info-virtual-index-find-node, Info-apropos-find-file)
7756 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7757 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7758 (Info-virtual-index): Remove unused local variable `nodename'.
7759
b87a8200 77602011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7761
b87a8200
DD
7762 * net/rcirc.el: Update my e-mail address.
7763 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7764
3b2ff876
CY
77652011-04-05 Chong Yidong <cyd@stupidchicken.com>
7766
7767 * startup.el (command-line): Save the cursor's theme-face
7768 directly, instead of using face-override-spec.
7769
7770 * custom.el (load-theme): Minor optimization in assigning faces.
7771
8d17e7ca
JB
77722011-04-04 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * help-fns.el (describe-variable): Complete all variables having
7775 documentation, including keywords.
7776 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7777
2fbc1934
JB
77782011-04-04 Juanma Barranquero <lekktu@gmail.com>
7779
7780 Convert to lexical-binding.
7781
7782 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7783 (bs--get-marked-string, bs--get-modified-string)
7784 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7785 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7786 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7787
7788 * ehelp.el (electric-help-execute-extended)
7789 (electric-help-ctrl-x-prefix):
7790 * hexl.el (hexl-revert-buffer-function):
7791 * linum.el (linum-after-change, linum-after-scroll):
7792 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7793
7794 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7795
74f50695
DU
77962011-04-04 Daiki Ueno <ueno@unixuser.org>
7797
7798 * epa-dired.el:
7799 * epa-mail.el:
7800 * epa-hook.el:
7801 * epa-file.el:
7802 * epa.el:
7803 * epg.el: Use lexical binding.
7804
c11325f7
CY
78052011-04-03 Chong Yidong <cyd@stupidchicken.com>
7806
0d9e9a12
CY
7807 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7808
c11325f7 7809 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7810 dictionary case for flyspell-mark-duplications-exceptions.
7811 Use regexp matching for languages.
c11325f7
CY
7812 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7813 default dictionary (Bug#7926).
7814
da91b5f2
CY
78152011-04-02 Chong Yidong <cyd@stupidchicken.com>
7816
099c39a4
JB
7817 * emacs-lisp/package.el (package--with-work-buffer):
7818 Recognize https URLs.
da91b5f2 7819
099c39a4
JB
7820 * net/network-stream.el: Move from gnus/proto-stream.el.
7821 Change prefix to network-stream throughout.
da91b5f2
CY
7822 (open-protocol-stream): Merge into open-network-stream, leaving
7823 open-protocol-stream as an alias. Handle nil BUFFER args.
7824
7825 * subr.el (open-network-stream): Move to net/network-stream.el.
7826
afa8e9f6
GM
78272011-04-02 Glenn Morris <rgm@gnu.org>
7828
1d2e369d
GM
7829 * find-dired.el (find-exec-terminator): New option.
7830 (find-ls-option): Test for -ls support.
7831 (find-ls-subdir-switches): Test for -b in find-ls-option.
7832 (find-dired, find-grep-dired): Doc fixes.
7833 (find-dired): Use find-exec-terminator.
7834
8abb7da8 7835 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7836 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7837 (find-name-arg): Remove purecopy.
8abb7da8 7838
f3ca7378
GM
7839 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7840 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7841 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7842 accordingly. Don't add the null-device if not needed.
7843
afa8e9f6
GM
7844 * files.el (save-some-buffers): Doc fix.
7845
35eae264
EZ
78462011-04-02 Eli Zaretskii <eliz@gnu.org>
7847
7848 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7849
26b51db5
JB
78502011-04-01 Juanma Barranquero <lekktu@gmail.com>
7851
7852 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7853 Use `dolist' rather than `mapcar'.
7854
7200d79c
SM
78552011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7856
03408648 7857 Add lexical binding.
7200d79c 7858
03408648
SM
7859 * subr.el (apply-partially): Use new closures rather than CL.
7860 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7861 (dolist, dotimes): Use slightly different expansion for lexical code.
7862 (functionp): Move to C.
7863 (letrec): New macro.
7864 (with-wrapper-hook): Use it and apply-partially instead of CL.
7865 (eval-after-load): Preserve lexical-binding.
7866 (save-window-excursion, with-output-to-temp-buffer): Turn them
7867 into macros.
7200d79c 7868
03408648
SM
7869 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7870
7871 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7872 than the arglist.
7873 (help-add-fundoc-usage): Don't add `Not documented'.
7874 (help-function-arglist): Handle closures, subroutines, and new
7875 byte-code-functions.
7876 (help-make-usage): Remove leading underscores.
7877 (describe-function-1): Handle closures.
7878 (describe-variable): Use special-variable-p for completion.
7879
7880 * files.el (lexical-binding): Declare safe.
f488fb65 7881
03408648
SM
7882 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7883 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7884 (pcase): Add `let' pattern.
7885 Change memoization so it actually works.
7886 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7887 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7888 <let>: New case.
f488fb65 7889
03408648
SM
7890 * emacs-lisp/macroexp.el: Use lexical binding.
7891 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7892 Don't convert ' to #' without checking that it's indeed quoting
7893 a lambda.
7894
7895 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7896 Use eval-sexp-add-defvars.
03408648
SM
7897 (eval-sexp-add-defvars): New fun.
7898
7899 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7900
7901 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7902 Don't autoload.
7903 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7904 than the internal `byte-compile-lambda'.
7905 (defmethod): Don't hide code under quotes.
7906 (eieio-defmethod): New `code' argument.
7907
7908 * emacs-lisp/eieio-comp.el: Remove.
7909
7910 * emacs-lisp/edebug.el (edebug-eval-defun)
7911 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7912 (edebug-toggle): Avoid `eval'.
7913
7914 * emacs-lisp/disass.el (disassemble-internal): Handle new
7915 `closure' objects.
7916 (disassemble-1): Handle new byte codes.
7917
7918 * emacs-lisp/cl.el (pushnew): Silence warning.
7919
7920 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7921 (cl-byte-compile-throw): Remove.
7922 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7923
7924 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7925 closures.
7926
7927 * emacs-lisp/cconv.el: New file.
7928
7929 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7930 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7931 (byte-compile-initial-macro-environment):
7932 Handle declare-function here.
7933 (byte-compile--lexical-environment): New var.
7934 (byte-stack-ref, byte-stack-set, byte-discardN)
7935 (byte-discardN-preserve-tos): New lap codes.
7936 (byte-interactive-p): Don't use any more.
7937 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7938 New macros.
7939 (byte-compile-lapcode): Use them and handle new lap codes.
7940 (byte-compile-obsolete): Remove.
7941 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7942 (byte-compile-arglist-warn): Check late def of inlinable funs.
7943 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7944 since they should have been expanded by now.
7945 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7946 (byte-compile-from-buffer): Remove unused second arg.
7947 (byte-compile-preprocess): New function.
7948 (byte-compile-toplevel-file-form): New function to distinguish
7949 file-form calls from outside from file-form calls from hunk-handlers.
7950 (byte-compile-file-form): Simplify.
7951 (byte-compile-file-form-defsubst): Remove.
7952 (byte-compile-file-form-defmumble): Simplify now that
7953 byte-compile-lambda always returns a byte-code-function.
7954 (byte-compile): Preprocess.
7955 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7956 Remove, not used any more.
7957 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7958 (byte-compile-make-args-desc): New funs.
7959 (byte-compile-lambda): Handle lexical functions. Always return
7960 a byte-code-function.
7961 (byte-compile-reserved-constants): New var, to make up room for
7962 closed-over variables.
7963 (byte-compile-constants-vector): Obey it.
7964 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7965 (byte-compile-macroexpand-declare-function): New function.
7966 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7967 byte-code-functions.
7968 (byte-compile-form): Check obsolescence here.
7969 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7970 (byte-compile-variable-ref): Remove.
7971 (byte-compile-dynamic-variable-op): New fun.
7972 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7973 (byte-compile-variable-set): New funs.
7974 (byte-compile-discard): Add 2 args.
7975 (byte-compile-stack-ref, byte-compile-stack-set)
7976 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7977 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7978 macroexpand-all instead.
7979 (byte-compile-quote-form): Remove.
7980 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7981 (byte-compile-bind, byte-compile-unbind): New funs.
7982 (byte-compile-let): Handle let* and lexical binding.
7983 (byte-compile-let*): Remove.
7984 (byte-compile-catch, byte-compile-unwind-protect)
7985 (byte-compile-track-mouse, byte-compile-condition-case):
7986 Handle a new :fun-body form, used for lexical scoping.
7987 (byte-compile-save-window-excursion)
7988 (byte-compile-with-output-to-temp-buffer): Remove.
7989 (byte-compile-defun): Simplify.
7990 (byte-compile-stack-adjustment): New fun.
7991 (byte-compile-out): Use it.
7992 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7993
7994 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7995 handler any more.
7996
7997 * emacs-lisp/byte-opt.el: Use lexical binding.
7998 (byte-inline-lapcode): Remove (to bytecomp).
7999 (byte-compile-inline-expand): Pay attention to inlining to/from
8000 lexically bound code.
8001 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8002 any more.
8003 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8004 any more and don't call compiler-macros.
8005 (byte-compile-splice-in-already-compiled-code): Remove.
8006 (byte-code): Don't inline any more.
8007 (disassemble-offset): Receive `bytes' as argument rather than via
8008 dynamic scoping.
8009 (byte-compile-tag-number): Declare before first use.
8010 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8011 `return' even if make-spliceable.
8012 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8013 obsolete interactive-p.
8014 (byte-optimize-lapcode): Optimize new lap-codes.
8015 Don't trip up on new form of `byte-constant' lap code.
8016
8017 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8018
8019 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8020
8021 * custom.el (custom-initialize-default, custom-declare-variable):
8022 Use `defvar'.
8023
8024 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8025 New variables.
8026 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8027 (COMPILE_FIRST): Add macroexp and cconv.
8028 * makefile.w32-in: Mirror changes in Makefile.in.
8029
8030 * vc/cvs-status.el:
8031 * vc/diff-mode.el:
8032 * vc/log-edit.el:
8033 * vc/log-view.el:
8034 * vc/smerge-mode.el:
8035 * textmodes/bibtex-style.el:
8036 * textmodes/css.el:
8037 * startup.el:
8038 * uniquify.el:
da91b5f2
CY
8039 * minibuffer.el:
8040 * newcomment.el:
8041 * reveal.el:
8042 * server.el:
8043 * mpc.el:
8044 * emacs-lisp/smie.el:
8045 * doc-view.el:
8046 * dired.el:
03408648
SM
8047 * abbrev.el: Use lexical binding.
8048
0f0c1f27
EZ
80492011-04-01 Eli Zaretskii <eliz@gnu.org>
8050
8051 * info.el (info-display-manual): New function.
8052
c82b2579
SM
80532011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8056
221ddf68
TH
80572011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8058
8059 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8060 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8061
cba6e77e
GM
80622011-03-31 Glenn Morris <rgm@gnu.org>
8063
e040639f
GM
8064 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8065
cba6e77e
GM
8066 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8067
6d0f1c9e
CS
80682011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8069
8070 * progmodes/python.el (python-default-interpreter)
8071 (python-python-command-args, python-jython-command-args)
8072 (python-which-shell, python-which-args, python-which-bufname)
8073 (python-file-queue, python-comint-output-filter-function)
8074 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8075 variables and functions.
8076
3e2d70fd
SM
80772011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8080 (completion-in-region-mode): New minor mode.
8081 (completion-in-region): Use it.
8082 (completion-in-region--data, completion-in-region-mode-map): New vars.
8083 (completion-in-region--postch): New function.
8084 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8085 New vars.
8086 (completion--capf-wrapper): New function.
8087 (completion-at-point): Use it to track well-behavedness of
8088 hook functions.
8089 (completion-help-at-point): New command.
8090
f3e4086c
JM
80912011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8092
8093 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8094 syntax class to search for whitespace on a single line
8095 (Message-ID: <4D938140.4030905@redhat.com>).
8096
eb7ffc14
LL
80972011-03-30 Leo Liu <sdl.web@gmail.com>
8098
8099 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8100 New commands.
8101 (edit-abbrevs-map): Bind them here.
8102 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8103
d806ab68
KM
81042011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8105
8106 * allout.el (allout-hide-by-annotation, allout-flag-region):
8107 Reduce possibility of overlay leakage by making them volatile.
8108
8109 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8110 hash is not shared between buffers. Mode initialization is
8111 responsible for giving it a useful starting value.
8112 (allout-item-span): Reduce possibility of overlay leakage by
8113 making them volatile.
8114 (allout-widgets-count-buttons-in-region): Add diagnostic function
8115 for tracking down button overlay leaks.
8116
ea622834
LL
81172011-03-29 Leo Liu <sdl.web@gmail.com>
8118
8119 * ido.el (ido-read-internal): Use the default history var
8120 minibuffer-history if no HISTORY is specified.
8121
b62f8267
G
81222011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8123
03408648
SM
8124 * net/imap.el (imap-shell-open, imap-process-connection-type):
8125 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8126 Kerberos, SSL, other subprocesses.
8127
947b6566
LL
81282011-03-28 Leo Liu <sdl.web@gmail.com>
8129
8130 * abbrev.el (abbrev-table-empty-p): New function.
8131 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8132 nonempty ones. (Bug#5937)
8133
5ffb62aa
JD
81342011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8135
8136 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8137
7a097943
LL
81382011-03-27 Leo Liu <sdl.web@gmail.com>
8139
8140 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8141 for foreground and background colors.
8142 (ansi-color-make-color-map): Adapt.
8143
c5b40130
LL
81442011-03-25 Leo Liu <sdl.web@gmail.com>
8145
1f48f7d2
LL
8146 * midnight.el (midnight-time-float): Remove. Note it calculates
8147 the microsecond component incorrectly and seconds-to-time does the
8148 same job.
625897ec 8149 Remove redundant (require 'timer).
1f48f7d2 8150
c5b40130
LL
8151 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8152 (ido-completions): Remove unused arguments. (Bug#8329)
8153
d86d2721
SM
81542011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * minibuffer.el (completion--flush-all-sorted-completions):
8157 Remove itself from hook.
8158 (completion-at-point): Let the functions perform the completion
8159 immediately and return nil or t.
8160 * comint.el (comint-dynamic-complete-functions): Now identical to
8161 completion-at-point-functions.
8162 (comint-dynamic-list-input-ring): Remove unused var `index'.
8163 (comint--match-partial-filename, comint--unquote&expand-filename):
8164 New funs, split from comint-match-partial-filename.
8165 (comint-dynamic-complete): Use completion-at-point.
8166 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8167
e8974c48
DA
81682011-03-24 Drew Adams <drew.adams@oracle.com>
8169
8170 * thingatpt.el: Support `defun'.
8171
def71b5e
LL
81722011-03-23 Leo Liu <sdl.web@gmail.com>
8173
cb5af48e
LL
8174 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8175
def71b5e
LL
8176 * help-mode.el (help-mode-finish): Tweak regexp.
8177
927c53e7
GM
81782011-03-23 Glenn Morris <rgm@gnu.org>
8179
18d05bed
GM
8180 * eshell/esh-opt.el (eshell-eval-using-options):
8181 Do not bind unused local variable `eshell-option-stub'.
8182
927c53e7
GM
8183 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8184
9d0da923
JB
81852011-03-22 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8188 keymap variable in `with-no-warnings' to avoid a warning when the
8189 keymap has been already `defconst'ed.
8190
4b978a67
LL
81912011-03-22 Leo Liu <sdl.web@gmail.com>
8192
8193 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8194 encode all chars in abbrevs; otherwise use emacs-mule or
8195 utf-8-emacs. (Bug#8308)
8196
5fd62452
JB
81972011-03-22 Juanma Barranquero <lekktu@gmail.com>
8198
0b1596c6
JB
8199 * simple.el (backward-delete-char-untabify):
8200 Avoid warning about using `delete-backward-char'.
8201
5fd62452
JB
8202 * image.el (image-type-file-name-regexps): Make it variable.
8203 `imagemagick-register-types' modifies it, and the user may want
8204 to add new extensions for known image types.
8205 (imagemagick-register-types): Throw error if not using ImageMagick.
8206
0b4e93f1
LL
82072011-03-22 Leo Liu <sdl.web@gmail.com>
8208
8209 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8210 located before rcirc-prompt-end-marker.
8211 (rcirc-complete): Error if point is not after rcirc prompt.
8212 Handle the case when table is nil.
9882e214 8213 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8214
fccee4ab
CY
82152011-03-22 Chong Yidong <cyd@stupidchicken.com>
8216
8217 * custom.el (custom--inhibit-theme-enable): Make it affect only
8218 custom-theme-set-variables and custom-theme-set-faces.
8219 (provide-theme): Ignore custom--inhibit-theme-enable.
8220 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8221 (custom-enabling-themes): Delete variable.
d86d2721
SM
8222 (enable-theme): Accept only loaded themes as arguments.
8223 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8224 (custom-enabled-themes): Forbid themes from setting this.
8225 Eliminate use of custom-enabling-themes.
8226 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8227
af896da6
LL
82282011-03-21 Leo Liu <sdl.web@gmail.com>
8229
8230 * ido.el (ido-read-internal): Add ido-selected to history instead
8231 of user input.
8232
78f64af0
SM
82332011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * subr.el (deferred-action-list, deferred-action-function):
8236 Mark obsolete.
8237
b16ac1ec
LL
82382011-03-21 Leo Liu <sdl.web@gmail.com>
8239
810f7698
LL
8240 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8241 change on 2011-02-13 (bug#8309).
8242
b16ac1ec
LL
8243 * minibuffer.el (read-file-name-function): Change default value.
8244 (read-file-name--defaults): Rename from read-file-name-defaults.
8245 (read-file-name-default): Rename from read-file-name.
8246 (read-file-name): Call read-file-name-function.
8247
4e05e67e
GM
82482011-03-21 Glenn Morris <rgm@gnu.org>
8249
8250 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8251 Doc fixes.
8252
4359915b
CY
82532011-03-21 Chong Yidong <cyd@stupidchicken.com>
8254
8255 * cus-theme.el: Add missing provide statement.
8256 (customize-create-theme): Extract theme value correctly.
8257 (custom-theme-visit-theme): Autoload.
8258 (customize-create-theme): Prompt before inserting default faces.
8259
1fe275ee
JB
82602011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8261
8262 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8263 units and musical notes.
8264
3ec03f7e
LL
82652011-03-20 Leo <sdl.web@gmail.com>
8266
8267 * ido.el (ido-read-internal): Use completing-read-default.
8268 (ido-completing-read): Fix compatibility with completing-read.
8269
7d476bde
CO
82702011-03-20 Christian Ohler <ohler@gnu.org>
8271
8272 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8273 (ert-delete-all-tests): Use `called-interactively-p' rather than
8274 `interactive-p'.
8275 (ert--make-xrefs-region): Respect END.
8276
fe0fb33e
CY
82772011-03-19 Chong Yidong <cyd@stupidchicken.com>
8278
ff854b0b
CY
8279 * dired-aux.el (dired-create-directory): Signal an error if the
8280 directory already exists (Bug#8246).
8281
fe0fb33e
CY
8282 * facemenu.el (list-colors-display): Call list-faces-display
8283 inside with-help-window.
8284 (list-colors-print): Use display property to align the final
8285 column, instead of checking window-width.
8286
576bce32
EZ
82872011-03-19 Eli Zaretskii <eliz@gnu.org>
8288
4d61f28d 8289 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8290 windows-nt systems.
8291 (emerge-protect-metachars): Quote correctly for ms-dos and
8292 windows-nt systems.
8293
89c41d68 82942011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8295
8296 * info.el (info-initialize): Replace all uses of `:' with
8297 path-separator for compatibility with non-Unix systems.
8298 Cache quoting of path-separator. (Bug#8258)
8299
b14e3e21 83002011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8301
8302 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8303 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8304 (mouse-avoidance-mode): Fix typos in docstrings.
8305
4525ce3e
CY
83062011-03-19 Chong Yidong <cyd@stupidchicken.com>
8307
8308 * startup.el (package-subdirectory-regexp): Move from package.el.
8309 Omit \\` and \\', and let callers add them.
8310
8311 * emacs-lisp/package.el (package-strip-version)
8312 (package-load-all-descriptors): Add \\` and \\' to
8313 package-subdirectory-regexp before using it.
8314 (package-untar-buffer): New arg DIR; ensure that file untars only
8315 into this expected directory. Remove superfluous delete-region.
8316 (package-unpack): Caller changed.
8317 (package-tar-file-info): Use package-subdirectory-regexp.
8318
a904a09a 83192011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8320
a904a09a
SM
8321 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8322 diff-mode-shared-map (bug#8284).
8323 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8324
83252011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
8327 * calendar/time-date.el (format-seconds): Use assoc instead of
8328 assoc-string, since assoc-string doesn't exist in XEmacs.
8329
171fc304
JB
83302011-03-17 Juanma Barranquero <lekktu@gmail.com>
8331
8332 * custom.el (custom-known-themes): Reflow docstring.
8333 (custom-theme-load-path): Fix typo in docstring.
8334 (load-theme): Fix typo in error message.
8335 (custom-available-themes, custom-variable-theme-value):
8336 Use `let', not `let*'.
8337
d71990a1
JB
83382011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8339
8340 * calc/README: Mention inclusion of musical notes.
8341
8342 * calc/calc-units.el (calc-lu-quant): Rename from
8343 `calc-logunits-quantity'.
8344 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8345 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8346 (calc-db): Rename from `calc-dblevel'.
8347 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8348 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8349 (calc-np): Rename from `calc-nplevel'.
8350 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8351 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8352 (calc-lu-plus): Rename from `calc-logunits-add'.
8353 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8354 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8355 (calc-lu-minus): Rename from `calc-logunits-sub'.
8356 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8357 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8358 (calc-lu-times): Rename from `calc-logunits-mul'.
8359 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8360 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8361 (calc-lu-divide): Rename from `calc-logunits-div'.
8362 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8363 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8364
8365 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8366 functions being autoloaded.
8367
8368 * calc/calc.el (calc-lu-power-reference): Rename from
8369 `calc-logunits-power-reference'.
8370 (calc-lu-field-reference): Rename from
8371 `calc-logunits-field-reference'.
8372
8373 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8374
40c2934b
SM
83752011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * minibuffer.el (completion-all-sorted-completions):
8378 Use :completion-cycle-penalty text property if present.
8379
b0911414
KM
83802011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8381
8382 * allout.el (allout-yank-processing): Adjust for new rebulleting
8383 regime so bullet being yanked is used without prompting the user
8384 for a choice.
8385
8a05b668
JB
83862011-03-16 Juanma Barranquero <lekktu@gmail.com>
8387
8388 * startup.el (command-line): Warn the user that _emacs is deprecated.
8389
5ba5fb81
JB
83902011-03-16 Juanma Barranquero <lekktu@gmail.com>
8391
8392 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8393 (delphi-verbose, delphi-comment-face, delphi-string-face)
8394 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8395 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8396 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8397 (delphi-new-comment-line, delphi-font-lock-defaults)
8398 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8399 Fix typos in docstrings.
8400
2dab465b
KM
84012011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8402
5ba5fb81 8403 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8404 Invert the roles of character and string values for INSTEAD, so a
8405 string is used for the more common case of a defaulting prompt.
8406
0adf5618
SM
84072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * progmodes/ruby-mode.el (ruby-backward-sexp):
8410 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8411 * play/gamegrid.el (gamegrid-make-face):
8412 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8413 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8414 * notifications.el (notifications-notify):
8415 * net/xesam.el (xesam-search-engines):
8416 * net/quickurl.el (quickurl-list-insert):
8417 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8418
d72700e5
CY
84192011-03-15 Chong Yidong <cyd@stupidchicken.com>
8420
8421 * startup.el (command-line): Update package subdirectory regexp.
8422
49c5410a
SM
84232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8424
c6eee9aa
SM
8425 * allout.el (allout-abbreviate-flattened-numbering)
8426 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8427
49c5410a
SM
8428 * subr.el (read-char-choice): Only show the cursor after the prompt,
8429 not after the answer.
8430
047b2bb9
KR
84312011-03-15 Kevin Ryde <user42@zip.com.au>
8432
8433 * help-fns.el (variable-at-point): Skip leading quotes, if any
8434 (bug#8253).
8435
0a57d256
SM
84362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8439 warning message.
8440
77c992bc
MA
84412011-03-14 Michael Albinus <michael.albinus@gmx.de>
8442
8443 * shell.el (shell): When called interactively, offer to change the
8444 shell file name on remote hosts.
8445
eebc475d
TZ
84462011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8447
8448 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8449 integration for LDAP parameters. The host, base, user or binddn,
8450 and secret tokens can be specified in a netrc file, for instance.
8451 This is optional because an `auth-source' parameter must be
8452 specified in the search attributes.
8453
9d05d1ba
JB
84542011-03-13 Juanma Barranquero <lekktu@gmail.com>
8455
8456 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8457
09d9db2c
GM
84582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8461 into declaration. Remove redundant and harmful binding.
8462
84632011-03-12 Eli Zaretskii <eliz@gnu.org>
8464
8465 * files.el (file-ownership-preserved-p): Pass `integer' as an
8466 explicit 2nd argument to `file-attributes'. If the file's owner
8467 is the Administrators group on Windows, and the current user is
8468 Administrator, consider that a match.
8469
8470 * server.el (server-ensure-safe-dir): Consider server directory
8471 safe on MS-Windows if its owner is the Administrators group while
8472 the current Emacs user is Administrator. Use `=' to compare
8473 numerical UIDs, since they could be integers or floats.
8474
219bd536
JB
84752011-03-12 Juanma Barranquero <lekktu@gmail.com>
8476
8477 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8478
f3afd36b
MA
84792011-03-12 Michael Albinus <michael.albinus@gmx.de>
8480
8481 Sync with Tramp 2.2.1.
8482
8483 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8484
8485 * net/trampver.el: Update release number.
8486
3aaaa6f1
SM
84872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8488
94642599
SM
8489 * progmodes/compile.el (compilation--previous-directory): Fix up
8490 various nil/dead-marker mismatches (bug#8014).
8491 (compilation-directory-properties, compilation-error-properties):
8492 Don't call it at a position past the one we're about to change.
8493
3aaaa6f1
SM
8494 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8495 Disable obsolescence warnings in the file that declares it.
8496
14239447
KM
84972011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8498
099c39a4
JB
8499 * allout-widgets.el (allout-widgets-tally):
8500 Initialize allout-widgets-tally as a hash table rather than nil to
8501 prevent mode-line redisplay warnings. Also, clarify the module
8502 description and fix a comment typo.
14239447 8503
135e287c
JB
85042011-03-11 Juanma Barranquero <lekktu@gmail.com>
8505
8506 * help-fns.el (describe-variable): Don't complete keywords.
8507 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8508
ffbf300e
CY
85092011-03-10 Chong Yidong <cyd@stupidchicken.com>
8510
ba08b241
CY
8511 * emacs-lisp/package.el (package-version-join): Impose a standard
8512 string representation for pre/alpha/beta version lists.
8513 (package-unpack-single): Standardize the directory name by passing
8514 it through package-version-join.
8515 (package-strip-rcs-id): Accept any version string that does not
8516 signal an error in version-to-list.
ffbf300e 8517
f346fd6b
MA
85182011-03-10 Michael Albinus <michael.albinus@gmx.de>
8519
8520 * simple.el (delete-trailing-whitespace): Return nil for the
8521 benefit of `write-file-functions'.
8522
ccb55d27
GM
85232011-03-10 Glenn Morris <rgm@gnu.org>
8524
5ceaac0c
GM
8525 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8526
02da65ff
GM
8527 * vc/vc-git.el (vc-git-program): New option.
8528 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8529 (vc-git--call): Use it.
8530
b2f603cc
GM
8531 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8532
5772caab
GM
8533 * cus-edit.el (Custom-newline): If no button at point, look
8534 for a subgroup button at start-of-line. (Bug#2298)
8535
ccb55d27
GM
8536 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8537
ec6ecaed
JD
85382011-03-10 Julien Danjou <julien@danjou.info>
8539
8540 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8541 `cursor-type' is nil.
8542
9d5aa01d
JB
85432011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8544
8545 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8546
b6a5875b
KM
85472011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8548
8549 * allout.el Summary: Change so yank of distinctive-bullet items
8550 preserves the existing header prefix, rebulleting it if necessary,
8551 rather than replacing it. This is necessary for proper operation
8552 of cooperative addons like allout-widgets.
219bd536 8553 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8554 SOLICIT arg to INSTEAD, and interpret additionally a string value
8555 as alternate bullet to be used, instead of prompting the user for
8556 a bullet character.
8557
ee545c35
MA
85582011-03-09 Michael Albinus <michael.albinus@gmx.de>
8559
d86d2721
SM
8560 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8561 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8562 `tramp-default-port'.
8563
c47971d7
DD
85642011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8565
8566 * net/rcirc.el (rcirc-handler-001): Remove useless
8567 with-rcirc-process-buffer.
8568 (rcirc-check-auth-status): Swap arguments to string-match.
8569
13522cb4
GM
85702011-03-09 Glenn Morris <rgm@gnu.org>
8571
0be6f4f1
GM
8572 * shell.el (shell-mode):
8573 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8574
13522cb4
GM
8575 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8576 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8577
515de2e3
CY
85782011-03-08 Chong Yidong <cyd@stupidchicken.com>
8579
8580 * emacs-lisp/package.el (package-refresh-contents)
8581 (package-menu-execute): Use condition-case-no-debug.
8582
b511b994
MA
85832011-03-08 Michael Albinus <michael.albinus@gmx.de>
8584
8585 * simple.el (shell-command-to-string): Use `process-file'.
8586
8587 * emacs-lisp/package.el (package-tar-file-info): Handle also
8588 remote files.
8589
d86d2721
SM
8590 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8591 Use `equal' for upload base check.
b511b994 8592
25bbfb31
AM
85932011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8594
8595 * textmodes/texinfo.el (texinfo-environments):
8596 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8597
be996521
GM
85982011-03-08 Glenn Morris <rgm@gnu.org>
8599
e9c8529f
GM
8600 * cus-start.el (cursor-in-non-selected-windows):
8601 Fix :set quoting oddness. (Bug#8192)
8602
be996521
GM
8603 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8604 in some setf expressions. (Bug#2159)
8605
2bb5649e
CY
86062011-03-08 Chong Yidong <cyd@stupidchicken.com>
8607
8608 * custom.el (custom-available-themes): Return themes in
8609 alphabetical order.
8610
33383987 8611See ChangeLog.15 for earlier changes.
e3d51b27
MR
8612
8613;; Local Variables:
8614;; coding: utf-8
e3d51b27
MR
8615;; End:
8616
33383987 8617 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8618
8619 This file is part of GNU Emacs.
8620
8621 GNU Emacs is free software: you can redistribute it and/or modify
8622 it under the terms of the GNU General Public License as published by
8623 the Free Software Foundation, either version 3 of the License, or
8624 (at your option) any later version.
8625
8626 GNU Emacs is distributed in the hope that it will be useful,
8627 but WITHOUT ANY WARRANTY; without even the implied warranty of
8628 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8629 GNU General Public License for more details.
8630
8631 You should have received a copy of the GNU General Public License
8632 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.