Spelling fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
71e027ac
GM
12011-11-14 Glenn Morris <rgm@gnu.org>
2
56632ce4
GM
3 * progmodes/executable.el
4 (executable-make-buffer-file-executable-if-script-p):
5 Handle file-modes returning nil.
6
40500957
GM
7 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8 message - not necessary, and causes problems. (Bug#9831)
9
071c2340
GM
10 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11
d3cfca60
GM
12 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13
71e027ac
GM
14 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17
89d61221
MR
182011-11-12 Martin Rudalics <rudalics@gmx.at>
19
20 * window.el (window-resize, delete-window): Use window-splits
21 variable instead of function.
22 (window-state-get-1, window-state-put-2, window-state-put):
23 Don't deal with windows' splits status.
24
98282f6f
GM
252011-11-12 Glenn Morris <rgm@gnu.org>
26
27 * apropos.el (apropos-do-all, apropos-library, apropos-value)
28 (apropos-documentation): Doc fixes.
29
40a8bdf6
JB
302011-11-11 Juanma Barranquero <lekktu@gmail.com>
31
32 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
33 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
34
65bd19ff
SM
352011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * electric.el (electric-indent-post-self-insert-function): Make it
38 possible for a char to only indent in some circumstances.
39 (electric-indent-mode): Simplify.
40
54f9154c
MR
412011-11-11 Martin Rudalics <rudalics@gmx.at>
42
43 * window.el (windows-with-parameter): Remove unused function.
44 (windows-at-side): Rename to window-at-side-list.
45 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
46 (window-side-check, window-size-ignore, window-size-fixed-1)
47 (window-in-direction-2): Prefix with "window--".
48 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 49
68cbc58b
GM
502011-11-11 Glenn Morris <rgm@gnu.org>
51
52 * subr.el (eval-after-load): If FILE is already loaded,
53 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
54
b2621720
GM
552011-11-10 Glenn Morris <rgm@gnu.org>
56
9a4de110
GM
57 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
58 Call svn via vc-svn-command rather than vc-do-command.
59 (vc-svn-command): Add --non-interactive. (Bug#9993)
60 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
61
b2621720
GM
62 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
63 Add toggle-read-only. (Bug#7292)
64 * files.el (toggle-read-only): Mention that it should only
65 be used interactively. (Bug#10006)
66
1dce7193
SM
672011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
68
d9ac1a1e
SM
69 * progmodes/compile.el (compilation-error-regexp-alist-alist):
70 Adjust regexp for OCaml warnings.
71
0c325082
SM
72 * electric.el (electric-pair-post-self-insert-function): Let user
73 turn it off buffer-locally (bug#9932).
74
90132c14
SM
75 * progmodes/python.el (python-beginning-of-statement):
76 Rewrite (bug#2703).
77
1dce7193
SM
78 * progmodes/compile.el: Better handle TABs (bug#9749).
79 (compilation-internal-error-properties)
80 (compilation-next-error-function): Obey the target buffer's
81 compilation-error-screen-columns.
82
c4e7c63a
JB
832011-11-09 Juanma Barranquero <lekktu@gmail.com>
84
85 * progmodes/meta-mode.el: Remove obsolete comments.
86 (meta-right-comment-regexp, meta-ignore-comment-regexp):
87 Fix typos in docstrings.
88
2cffd681
MR
892011-11-09 Martin Rudalics <rudalics@gmx.at>
90
91 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 92 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
93 (window--resizable): New function. Make all callers of
94 window-resizable call window--resizable instead.
95 (window-resizable): Rewrite in terms of window--resizable.
96
0edcba87
GM
972011-11-08 Glenn Morris <rgm@gnu.org>
98
99 * progmodes/delphi.el (delphi-mode-syntax-table):
100 Let define-derived-mode define a proper syntax table. (Bug#9994)
101
4b0d61e3
SM
1022011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * window.el: Stay away from defsubst.
105 (window-list-no-nils): Remove.
106 (window-state-get-1, window-state-get): Use backquote instead.
107
fcbcac2e 1082011-11-08 thierry <thierry.volpiatto@gmail.com>
109
4b0d61e3 110 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 111 Fix incorrect use of default argument in `completing-read'.
112
e1c2c6f2
MR
1132011-11-08 Martin Rudalics <rudalics@gmx.at>
114
115 * window.el (display-buffer-function, special-display-function):
116 Mention display-buffer-record-window but do not mention
117 help-setup parameter in doc-strings.
b3f4a882 118 (window-min-delta): Fix doc-string typo.
e1c2c6f2 119
105216ed
CY
1202011-11-08 Chong Yidong <cyd@gnu.org>
121
122 * window.el (window-total-height, window-total-width): Doc fix.
123 (window-body-size): Move from C.
124 (window-body-height, window-body-width): Move to C.
125
0a9f9ab5
SM
1262011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * window.el: Make special-display like display-buffer-alist (bug#9532).
129 (display-buffer--special-action): New function, morphed
130 from display-buffer--special.
131 (display-buffer): Use it to handle special-display-buffers at higher
132 priority (just after display-buffer-alist).
133 (display-buffer-fallback-action, display-buffer--other-frame-action)
134 (pop-to-buffer-same-window): Remove display-buffer--special.
135
a769dd15
GM
1362011-11-07 Glenn Morris <rgm@gnu.org>
137
138 * calendar/cal-menu.el (cal-menu-set-date-title):
139 Do nothing if not in a calendar. (Bug#9976)
140
05a61ee3
SM
1412011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * files.el (find-file): Always use selected-window.
144
be7f5545
MR
1452011-11-07 Martin Rudalics <rudalics@gmx.at>
146
147 * window.el (window-combinations): Make WINDOW argument
148 mandatory. Rewrite doc-string.
149 (walk-window-subtree, window-atom-check, window-min-delta)
150 (window-max-delta, window--resize-this-window)
151 (window--resize-root-window-vertically, window-tree)
152 (balance-windows, window-state-put): Rewrite doc-strings as to
153 not mention the term "subwindow".
154 (window--resize-subwindows-skip-p): Rename to
155 window--resize-child-windows-skip-p.
156 (window--resize-subwindows-normal): Rename to
157 window--resize-child-windows-normal.
158 (window--resize-subwindows): Rename to
159 window--resize-child-windows.
160 (window-or-subwindow-p): Rename to window--in-subtree-p.
161
3c6702ef
ML
1622011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
163
164 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
165 Ensure that mbox format messages end in two newlines (Bug#9974).
166
49745b39
CY
1672011-11-06 Chong Yidong <cyd@gnu.org>
168
169 * window.el (window-combination-p): Function deleted; its
170 side-effect is not used in any existing code.
171 (window-combinations, window-combined-p): Call window-*-child
172 directly.
173
24300f5f
CY
1742011-11-05 Chong Yidong <cyd@gnu.org>
175
176 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
177 (window-size-ignore, window-state-get): Callers changed.
178 (window-normalize-window): Rename from window-normalize-any-window.
179 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 180 (window-normalize-live-window): Delete.
447f16b8
CY
181 (window-combination-p, window-combined-p, window-combinations)
182 (walk-window-subtree, window-atom-root, window-min-size)
183 (window-sizable, window-sizable-p, window-size-fixed-p)
184 (window-min-delta, window-max-delta, window-resizable)
185 (window-resizable-p, window-full-height-p, window-full-width-p)
186 (window-current-scroll-bars, window-point-1, set-window-point-1)
187 (window-at-side-p, window-in-direction, window-resize)
188 (adjust-window-trailing-edge, maximize-window, minimize-window)
189 (window-deletable-p, delete-window, delete-other-windows)
190 (record-window-buffer, unrecord-window-buffer)
191 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
192 (quit-window, split-window, window-state-put)
193 (set-window-text-height, fit-window-to-buffer)
194 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 195
89bd5ee1
EZ
1962011-11-04 Eli Zaretskii <eliz@gnu.org>
197
53479029
EZ
198 * mail/rmail.el (rmail-simplified-subject): Decode subject with
199 rfc2047-decode-string.
200 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
201 warnings.
202
89bd5ee1
EZ
203 * window.el (window-body-height, window-body-width): Mention in
204 the doc string that the return values are in frame's canonical
205 units. (Bug#9949)
206
bd17fdee
AM
2072011-11-03 Alan Mackenzie <acm@muc.de>
208
209 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
210 change in cc-engine.el.
211
acc825c5
SM
2122011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * window.el (switch-to-buffer): Use `force-same-window' interactively.
215
1885e5b8
MR
2162011-11-02 Martin Rudalics <rudalics@gmx.at>
217
218 * window.el (quit-window): Call unrecord-window-buffer after
219 showing another buffer in the window. (Bug#9937)
acc825c5 220 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 221
ebe06da9
JB
2222011-11-02 Juanma Barranquero <lekktu@gmail.com>
223
224 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
225 Accept status with more than 9 shelves. (Bug#9935)
226 Reported by Colin D Bennett <colin@gibibit.com>.
227
4ee88440
MR
2282011-11-01 Martin Rudalics <rudalics@gmx.at>
229
230 * help.el (with-help-window): Don't reference
231 temp-buffer-show-specifiers in doc-string.
232
08e1d82c
AS
2332011-10-31 Andreas Schwab <schwab@linux-m68k.org>
234
235 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
236 menu-item.
237
84bd6e9e
VJL
2382011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
239
240 * whitespace.el: New version 13.2.2.
241 (whitespace-newline-mode): Disable properly. Reported by Sarah
242 <EmacsWiki>.
243
dba0634a
UJ
2442011-10-30 Ulf Jasper <ulf.jasper@web.de>
245
246 * net/newst-treeview.el: Remove "Time-stamp".
247 (newsticker--group-manage-orphan-feeds): Do not call
248 newsticker--treeview-tree-update.
db22a3c2
JB
249 (newsticker-treeview-update, newsticker-treeview):
250 Call newsticker--treeview-tree-update if necessary.
dba0634a 251
3d8daefe
MR
2522011-10-30 Martin Rudalics <rudalics@gmx.at>
253
254 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
255 (window-iso-combinations): Remove "iso-" infix.
256 Suggested by Chong Yidong.
3d8daefe
MR
257 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
258 (window-max-delta-1, window-resize, window--resize-siblings)
259 (window--resize-this-window, adjust-window-trailing-edge)
260 (split-window, balance-windows-1)
261 (shrink-window-if-larger-than-buffer):
262 * calendar/calendar.el (calendar-generate-window):
db22a3c2 263 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 264
1bc4c3ae
SM
2652011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
268 in place (bug#9907).
269 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
270 (eshell-rewrite-if-command, eshell-rewrite-for-command)
271 (eshell-structure-basic-command, eshell-rewrite-while-command)
272 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
273 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
274 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
275 (eshell-do-pipelines-synchronously, eshell-eval-command):
276 Use backquotes and prefer setq to set.
277 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
278 (eshell-macrop): Use functionp.
c1e2f5fa 279 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 280
30b65d9c
CY
2812011-10-30 Chong Yidong <cyd@gnu.org>
282
283 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
284 instead of set-mark (Bug#9810).
285
2d197ffb
CY
2862011-10-30 Chong Yidong <cyd@gnu.org>
287
288 * window.el (split-window-below, split-window-right): Rename from
289 split-window-above-each-other and split-window-side-by-side
290 respectively. All callers changed.
291 (split-window-sensibly, split-window-sensibly): Use them.
292 (split-window-keep-point): Doc fix.
293
294 * isearch.el: Add isearch-scroll property to split-window-below
295 and split-window-right.
296
297 * follow.el (follow-mode):
298 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
299 * progmodes/ada-xref.el (ada-gdb-application):
300 * emulation/vip.el (vip-buffer-in-two-windows):
301 * image-dired.el (image-dired-dired-with-window-configuration):
302 * dired-x.el (dired-do-find-marked-files):
303 * dired.el (dired-pop-to-buffer):
304 * bs.el (bs--show-with-configuration):
305 * vc/emerge.el (emerge-setup-windows):
306 * textmodes/two-column.el (2C-two-columns):
307 * textmodes/reftex-toc.el (reftex-toc):
308 * progmodes/gdb-mi.el (gdb-setup-windows):
309 * progmodes/fortran.el (fortran-window-create):
310 * net/newst-treeview.el (newsticker--treeview-window-init):
311 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
312 * emulation/tpu-edt.el (tpu-gold-map):
313 * emulation/crisp.el (crisp-mode-map):
314 * calendar/calendar.el (calendar-basic-setup): Callers changed.
315
38bb2ca8
CY
3162011-10-29 Chong Yidong <cyd@gnu.org>
317
aa4de341
CY
318 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
319
e1eb5385
CY
320 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
321
5d2ece3c
CY
322 * textmodes/flyspell.el (flyspell-word): Fix char offset for
323 forged Ispell output (Bug#7904).
324
38bb2ca8
CY
325 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
326
d0af9f77
SM
3272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * doc-view.el: Avoid ugly errors about not finding nil.
330 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
331 (doc-view-dvipdf-program, doc-view-unoconv-program)
332 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
333 Avoid nil or absolute file name as default value.
334 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
335
52bedd34
AM
3362011-10-28 Alan Mackenzie <acm@muc.de>
337
db22a3c2 338 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 339
7e43cfa5
AM
3402011-10-28 Alan Mackenzie <acm@muc.de>
341
342 Amend the handling of c-beginning/end-of-defun in nested declaration
343 scopes.
344
52bedd34
AM
345 * progmodes/cc-vars.el (c-defun-tactic): Move here from
346 cc-langs.el. Change it to a defcustom.
7e43cfa5 347
52bedd34
AM
348 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
349 cc-vars.el.
7e43cfa5 350
d0af9f77
SM
351 * progmodes/cc-engine.el (c-beginning-of-statement-1):
352 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 353
52bedd34 354 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 355 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
356 (c-widen-to-enclosing-decl-scope): New function.
357 (c-while-widening-to-decl-block): New macro.
358 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
359 outward for defun boundaries, and correspondingly change symbol
360 `respect-enclosure' to `go-outward'.
361 (c-declaration-limits): Change algorithm to report only the "innermost"
362 defun's boundaries.
363
1a2ce9ee
DD
3642011-10-28 Deniz Dogan <deniz@dogan.se>
365
366 * net/rcirc.el (rcirc-mode): Use hard newlines.
367
bc97a826
AM
3682011-10-28 Alan Mackenzie <acm@muc.de>
369
370 Amend to indent and fontify macros "which include their own semicolon"
371 correctly, using the "virtual semicolon" mechanism.
372
52bedd34 373 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 374
d0af9f77 375 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
acc825c5 376 Recode to scan one line at at time rather than having \n and \r
52bedd34 377 explicitly in c-stmt-delim-chars
bc97a826
AM
378 (for some modes, e.g. AWK).
379 (c-forward-label): Amend for virtual semicolons.
380 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
381
52bedd34
AM
382 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
383 of the new C macros.
bc97a826 384
52bedd34 385 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
386 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
387 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
388 (c-opt-cpp-macro-define): Make into a full language variable.
389 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
390 AWK Mode (including \n, \r) removed, no longer needed.
391
d0af9f77
SM
392 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
393 Invoke c-make-macro-with-semi-re.
bc97a826 394
52bedd34
AM
395 * progmodes/cc-vars.el (c-macro-with-semi-re):
396 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
397 (c-make-macro-with-semi-re): New function
398
7a6c0941
SM
3992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * vc/log-edit.el: Fill empty field rather than adding new one.
402 (log-edit-add-field): New function.
403 (log-edit-insert-changelog): Use it.
404
b0c4cdcf
ML
4052011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
406
407 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
408
ee1f1da9
SM
4092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
412 (gdb--check-interpreter): New function.
413 (gdb): Use it.
414
51bc5f8b
GM
4152011-10-27 Glenn Morris <rgm@gnu.org>
416
416a2c45
GM
417 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
418 (least-positive-float, least-negative-float)
419 (least-positive-normalized-float, least-negative-normalized-float)
420 (float-epsilon, float-negative-epsilon):
421 Remove unnecessary declarations.
422
423 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
424 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
425 (least-positive-float, least-negative-float)
426 (least-positive-normalized-float, least-negative-normalized-float)
427 (float-epsilon, float-negative-epsilon): Add doc-strings,
428 based on those in cl.texi.
429
51bc5f8b
GM
430 * files.el (set-visited-file-name): If the major-mode changed,
431 reload the local variables. (Bug#9796)
432
15de15c6
CY
4332011-10-27 Chong Yidong <cyd@gnu.org>
434
435 * subr.el (change-major-mode-after-body-hook): New hook.
436 (run-mode-hooks): Run it.
437
ee1f1da9
SM
438 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
439 Use change-major-mode-before-body-hook.
15de15c6
CY
440
441 * simple.el (fundamental-mode):
442 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
443 change introducing fundamental-mode-hook.
444
5430d399
JB
4452011-10-26 Juanma Barranquero <lekktu@gmail.com>
446
acc825c5 447 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 448
ad74a69e
MA
4492011-10-26 Michael Albinus <michael.albinus@gmx.de>
450
451 * ido.el (ido-file-name-all-completions-1): Do not require
452 tramp.el explicitely. (Bug#7583)
453
71d4c2a5
SM
4542011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * progmodes/octave-mod.el:
457 * progmodes/octave-inf.el: Update maintainer.
458
b1f6fa26
CY
4592011-10-26 Chong Yidong <cyd@gnu.org>
460
461 * subr.el (with-wrapper-hook): Rewrite doc.
462
3f04efd6
MA
4632011-10-25 Michael Albinus <michael.albinus@gmx.de>
464
465 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 466 filenames "/method:foo:". (Bug#9793)
3f04efd6 467
410488d3
SM
4682011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
471 (bug#9865).
472
c1ebb47e
GM
4732011-10-24 Glenn Morris <rgm@gnu.org>
474
475 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
476
7f5c46c7
MA
4772011-10-24 Michael Albinus <michael.albinus@gmx.de>
478
479 * notifications.el: Add the requirement of a running D-Bus session
480 bus to the Commentary.
481
db2440b6
JL
4822011-10-24 Juri Linkov <juri@jurta.org>
483
484 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
485 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
486 (Bug#9364)
487
feecf435
JL
4882011-10-24 Juri Linkov <juri@jurta.org>
489
490 * info.el (Info-following-node-name-re): Add newline to the list
491 of allowed characters for leading space. (Bug#9824)
492
a3839de2
SM
4932011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
494
acc825c5
SM
495 * progmodes/octave-inf.el (inferior-octave-mode-map):
496 Fix C-c C-h binding.
a3839de2
SM
497 * progmodes/octave-mod.el (octave-help): Remove.
498
09388e76
MA
4992011-10-23 Michael Albinus <michael.albinus@gmx.de>
500
501 Sync with Tramp 2.2.3.
502
503 * net/tramp-cache.el (top): Pacify byte-compiler using
504 `init-file-user' and `site-run-file'.
505
506 * net/trampver.el: Update release number.
507
86c60681
CY
5082011-10-23 Chong Yidong <cyd@gnu.org>
509
510 * files.el (toggle-read-only): Remove obsolete comment about
511 version control.
512
513 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
514 for toggle-read-only. Note that this hasn't called vc-next-action
515 since 2008-05-02, though it wasn't documented at the time.
516
a3839de2
SM
517 * vc/ediff-init.el (ediff-toggle-read-only-function):
518 Use toggle-read-only.
86c60681 519
cd5495ff
AM
5202011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
521
522 Fix bug #9560, sporadic wrong indentation; improve instrumentation
523 of c-parse-state.
524
00b77525 525 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 526 correct faulty logical expression.
cd5495ff
AM
527 (c-parse-state-state, c-record-parse-state-state):
528 (c-replay-parse-state-state): New defvar/defuns.
529 (c-debug-parse-state): Use new functions.
530
42ee24ed
MR
5312011-10-22 Martin Rudalics <rudalics@gmx.at>
532
533 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 534 last fix. Use window-in-direction correctly.
42ee24ed 535
a7dee7e7
CY
5362011-10-21 Chong Yidong <cyd@gnu.org>
537
538 * progmodes/idlwave.el (idlwave-mode):
539 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
540 require-final-newline; that's done in prog-mode.
541 Suggested by Stefan Monnier.
a7dee7e7 542
e07b9a6d
MR
5432011-10-21 Martin Rudalics <rudalics@gmx.at>
544
545 * mouse.el (mouse-drag-window-above)
546 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
547 (mouse-drag-mode-line-1, mouse-drag-header-line)
548 (mouse-drag-vertical-line-rightward-window): Remove.
549 (mouse-drag-line): New function.
550 (mouse-drag-mode-line, mouse-drag-header-line)
551 (mouse-drag-vertical-line): Call mouse-drag-line.
552 * window.el (window-at-side-p, windows-at-side): New functions.
553
7e1361d9
UM
5542011-10-21 Ulrich Mueller <ulm@gentoo.org>
555
556 * tar-mode.el (tar-grind-file-mode):
557 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
558
30fcaf3a
CY
5592011-10-21 Chong Yidong <cyd@gnu.org>
560
561 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
562 * progmodes/vera-mode.el (vera-mode):
563 Use mode-require-final-newline.
30fcaf3a 564
516eddb0
GM
5652011-10-20 Glenn Morris <rgm@gnu.org>
566
db22a3c2 567 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 568
10d5f513
CS
5692011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
570
571 * emulation/cua-base.el (cua-set-mark): Fix case of string.
572
ac6c8639
CY
5732011-10-20 Chong Yidong <cyd@gnu.org>
574
575 * emulation/cua-base.el (cua-mode):
576 * mail/footnote.el (footnote-mode):
577 * mail/mailabbrev.el (mail-abbrevs-mode):
578 * net/xesam.el (xesam-minor-mode):
579 * progmodes/bug-reference.el (bug-reference-mode):
580 * progmodes/cap-words.el (capitalized-words-mode):
581 * progmodes/compile.el (compilation-minor-mode)
582 (compilation-shell-minor-mode):
583 * progmodes/gud.el (gud-tooltip-mode):
584 * progmodes/hideif.el (hide-ifdef-mode):
585 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
586 * progmodes/subword.el (subword-mode):
587 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
588 * progmodes/which-func.el (which-function-mode):
589 * term/tvi970.el (tvi970-set-keypad-mode):
590 * term/vt100.el (vt100-wide-mode):
591 * textmodes/flyspell.el (flyspell-mode):
592 * textmodes/ispell.el (ispell-minor-mode):
593 * textmodes/nroff-mode.el (nroff-electric-mode):
594 * textmodes/paragraphs.el (use-hard-newlines):
595 * textmodes/refill.el (refill-mode):
596 * textmodes/reftex.el (reftex-mode):
597 * textmodes/rst.el (rst-minor-mode):
598 * textmodes/sgml-mode.el (html-autoview-mode)
599 (sgml-electric-tag-pair-mode):
600 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
601 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
602 * emulation/crisp.el (crisp-mode):
603 * emacs-lisp/eldoc.el (eldoc-mode):
604 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
605 minor mode behavior.
606
aa42ab43
JL
6072011-10-19 Juri Linkov <juri@jurta.org>
608
609 * descr-text.el (describe-char): Add #x2010 and #x2011 to
610 the list of hard-coded chars with escape-glyph face.
611
89400f1d
SM
6122011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
615
305c07f6
MA
6162011-10-19 Michael Albinus <michael.albinus@gmx.de>
617
618 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
619 running process.
620
13754b54
GM
6212011-10-19 Glenn Morris <rgm@gnu.org>
622
623 * vc/vc-bzr.el (vc-bzr-after-dir-status):
624 Ignore ignored files. (Bug#9726)
625
06e21633
CY
6262011-10-19 Chong Yidong <cyd@gnu.org>
627
628 Doc fix for minor modes, stating that an omitted argument enables
629 the mode unconditionally when called from Lisp.
630
631 * abbrev.el (abbrev-mode):
632 * allout.el (allout-mode):
633 * autoinsert.el (auto-insert-mode):
634 * autoarg.el (autoarg-mode, autoarg-kp-mode):
635 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
636 (global-auto-revert-mode):
637 * battery.el (display-battery-mode):
638 * composite.el (global-auto-composition-mode)
639 (auto-composition-mode):
640 * delsel.el (delete-selection-mode):
641 * desktop.el (desktop-save-mode):
642 * dired-x.el (dired-omit-mode):
643 * dirtrack.el (dirtrack-mode):
644 * doc-view.el (doc-view-minor-mode):
645 * double.el (double-mode):
646 * electric.el (electric-indent-mode, electric-pair-mode):
647 * emacs-lock.el (emacs-lock-mode):
648 * epa-hook.el (auto-encryption-mode):
649 * follow.el (follow-mode):
650 * font-core.el (font-lock-mode):
651 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
652 * help.el (temp-buffer-resize-mode):
653 * hilit-chg.el (highlight-changes-mode)
654 (highlight-changes-visible-mode):
655 * hi-lock.el (hi-lock-mode):
656 * hl-line.el (hl-line-mode, global-hl-line-mode):
657 * icomplete.el (icomplete-mode):
658 * ido.el (ido-everywhere):
659 * image-file.el (auto-image-file-mode):
660 * image-mode.el (image-minor-mode):
661 * iswitchb.el (iswitchb-mode):
662 * jka-cmpr-hook.el (auto-compression-mode):
663 * linum.el (linum-mode):
664 * longlines.el (longlines-mode):
665 * master.el (master-mode):
666 * mb-depth.el (minibuffer-depth-indicate-mode):
667 * menu-bar.el (menu-bar-mode):
668 * minibuf-eldef.el (minibuffer-electric-default-mode):
669 * mouse-sel.el (mouse-sel-mode):
670 * msb.el (msb-mode):
671 * mwheel.el (mouse-wheel-mode):
672 * outline.el (outline-minor-mode):
673 * paren.el (show-paren-mode):
674 * recentf.el (recentf-mode):
675 * reveal.el (reveal-mode, global-reveal-mode):
676 * rfn-eshadow.el (file-name-shadow-mode):
677 * ruler-mode.el (ruler-mode):
678 * savehist.el (savehist-mode):
679 * scroll-all.el (scroll-all-mode):
680 * scroll-bar.el (scroll-bar-mode):
681 * server.el (server-mode):
682 * shell.el (shell-dirtrack-mode):
683 * simple.el (auto-fill-mode, transient-mark-mode)
684 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
685 (line-number-mode, column-number-mode, size-indication-mode)
686 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
687 * strokes.el (strokes-mode):
688 * time.el (display-time-mode):
689 * t-mouse.el (gpm-mouse-mode):
690 * tool-bar.el (tool-bar-mode):
691 * tooltip.el (tooltip-mode):
692 * type-break.el (type-break-mode-line-message-mode)
693 (type-break-query-mode):
694 * view.el (view-mode):
695 * whitespace.el (whitespace-mode, whitespace-newline-mode)
696 (global-whitespace-mode, global-whitespace-newline-mode):
697 * xt-mouse.el (xterm-mouse-mode): Doc fix.
698
a3839de2
SM
699 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
700 Fix autogenerated docstring.
06e21633 701
5214e501
JL
7022011-10-19 Juri Linkov <juri@jurta.org>
703
704 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
705 by checking environment variables "DESKTOP_SESSION" and
706 "XDG_CURRENT_DESKTOP". (Bug#9779)
707
195f8db9
JL
7082011-10-19 Juri Linkov <juri@jurta.org>
709
710 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
711 (browse-url-chromium-program, browse-url-chromium-arguments):
712 New defcustoms.
713 (browse-url-default-browser): Check for `browse-url-chromium' and
714 call `browse-url-chromium-program'.
715 (browse-url-chromium): New command. (Bug#9779)
716
343a34ff
JB
7172011-10-18 Juanma Barranquero <lekktu@gmail.com>
718
719 * facemenu.el (list-colors-duplicates): On Windows, detect more
720 duplicates by assuming that only colors matching "^System" are
721 special "system colors". (Bug#9722)
722
6978a151
SM
7232011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
726 to distinguish the author from the committer.
727
6a80b297
MA
7282011-10-18 Michael Albinus <michael.albinus@gmx.de>
729
730 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
731
b31a5677
JK
7322011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
733
734 * international/mule.el (sgml-html-meta-auto-coding-function):
735 Add support for detecting encoding in HTML5 specified only as
736 <meta charset="UTF-8">. Implementation just makes http-equiv and
737 content-type parts from HTML4 encoding string optional. (Bug#9716)
738
80c6d77f
GM
7392011-10-18 Glenn Morris <rgm@gnu.org>
740
741 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
742
08b0fee8
CY
7432011-10-18 Chong Yidong <cyd@gnu.org>
744
745 * faces.el (cursor): Doc fix.
746
67e729a5
CY
7472011-10-17 Chong Yidong <cyd@gnu.org>
748
749 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
750
343a34ff 7512011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
752
753 * dirtrack.el (dirtrack): Support shell buffers with path
754 prefixes, e.g. tramp-based remote shells. (Bug#9647)
755
0bc06380
TZ
7562011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
757
758 * json.el: Bump version to 1.3 and note change in History.
759 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
760
8b79f3e0
SM
7612011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
762
5a7c536b
SM
763 * comint.el (comint-insert-input, comint-send-input)
764 (comint-get-old-input-default, comint-backward-matching-input)
765 (comint-next-prompt): Use nil instead of `input' for field property of
766 past user input (bug#114).
767
96a8a0df
SM
768 * minibuffer.el (completion--replace): Inherit surrounding properties
769 (bug#114).
770 (minibuffer-complete-and-exit): Use it.
771
8b79f3e0
SM
772 * comint.el (comint--table-subvert): Quote the all-completions output
773 (bug#9160).
774
b8f7ff0d
MR
7752011-10-17 Martin Rudalics <rudalics@gmx.at>
776
8b79f3e0 777 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 778
b8f7ff0d 779 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 780 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
781 entries and separate them from frame entries.
782
c235b555
GM
7832011-10-15 Glenn Morris <rgm@gnu.org>
784
785 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
786 Doc fixes.
787
6bbfa6e1
CY
7882011-10-15 Chong Yidong <cyd@stupidchicken.com>
789
8b79f3e0
SM
790 * net/network-stream.el (network-stream-open-starttls):
791 Improve detection of failure due to lack of TLS support.
ec5c990d 792
6bbfa6e1
CY
793 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
794 putting the input text in front and in bold.
795
98488977
SM
7962011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
797
3d1337be
SM
798 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
799
ee0b45e4
SM
800 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
801 empty buffer.
802
98488977
SM
803 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
804 unread-command-events rather than pushing yet-another event.
805
186f4720
EZ
8062011-10-14 Eli Zaretskii <eliz@gnu.org>
807
808 * mail/sendmail.el (sendmail-query-once): Improve the wording of
809 the explanation of the possible choices. Make the options passed
810 to completing-read shorter.
811
8b7a997c
AM
8122011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
813
814 * textmodes/flyspell.el (flyspell-large-region): Make sure
815 extended character mode is used if defined (Bug#1339).
816
12587bbb
EZ
8172011-10-13 Eli Zaretskii <eliz@gnu.org>
818
819 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
820 character info for LRE, LRO, RLE, and RLO characters by appending
821 an invisible PDF.
12587bbb 822
bad41229
SM
8232011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
826 even in case of error; add debug spec; simplify data flow.
827 (with-timeout-handler): Remove.
828
28dbc92f
MA
8292011-10-12 Michael Albinus <michael.albinus@gmx.de>
830
831 Fix Bug#6019, Bug#9315.
832
833 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
834 complete `buffer-file-name', the local file name part could look
835 remotely (for example on VMS).
836
837 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
838 `tramp-run-real-handler'.
839 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
840 already quoted by '"'.
841
842 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
843 Let `file-name-handler-alist' be nil, the local file name part
844 could look remotely (for example on VMS).
845
e1b0b23a
SM
8462011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
849 from here...
850 (flyspell-post-command-hook): ...to here.
851
a120bde9
SM
8522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
855 if not needed.
856 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
857 using completion. Protect against "slow" callers.
858 Remove the "message hack".
859
7ce7717b
JL
8602011-10-11 Juri Linkov <juri@jurta.org>
861
862 * isearch.el (isearch-lazy-highlight-word): New variable.
863 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
864 Use it. (Bug#9727)
865
c02ee9d6
GM
8662011-10-11 Glenn Morris <rgm@gnu.org>
867
868 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
869 like f90-previous-statement does.
870
93e616fd 8712011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
872
1f190e73 873 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
874 only in interactive use, to avoid error.
875
af7b6078
SM
8762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * minibuffer.el (completion-file-name-table): Fix last change,
879 i.e. ignore normal errors but not the other ones.
880
0563dae9
MR
8812011-10-10 Martin Rudalics <rudalics@gmx.at>
882
883 * window.el (special-display-buffer-names)
884 (special-display-regexps): Remove some remnants of earlier
885 changes from doc-strings.
366ca7f3
MR
886 (quit-windows-on): New function.
887
888 * vc/vc.el (vc-revert, vc-rollback):
889 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
890 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 891 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 892
49677495
MR
8932011-10-09 Martin Rudalics <rudalics@gmx.at>
894
895 * window.el (frame-auto-hide-function): Add version tag.
896 (Bug#9699)
897
56f2d1e1
MA
8982011-10-09 Michael Albinus <michael.albinus@gmx.de>
899
900 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
901 condition.
902
112a6592
LL
9032011-10-09 Leo Liu <sdl.web@gmail.com>
904
905 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
906 (Bug#9701)
907
0812589b
GM
9082011-10-08 Glenn Morris <rgm@gnu.org>
909
910 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
911 before the first code statement zero indent. (Bug#9690)
912
b2b0776e
CY
9132011-10-08 Chong Yidong <cyd@stupidchicken.com>
914
915 * simple.el (count-words-region): Always count in the region.
916 Report the number of lines and characters too.
917 (count-words): New command, which counts in the buffer if the
918 region is inactive, as count-words-region used to.
919 (count-words--message): New function. Handle plurals.
920 (count-lines-region): Make it an alias for count-words-region.
921
922 * bindings.el (esc-map): Replace count-lines-region with
923 count-words-region.
924
c557cd6b
MR
9252011-10-08 Martin Rudalics <rudalics@gmx.at>
926
927 * window.el (window--delete): Delete dedicated frame
928 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 929 (switch-to-buffer): Fix doc-string typo.
c557cd6b 930
61a57ef4 9312011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
932
933 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
934
c3833279
CY
9352011-10-07 Chong Yidong <cyd@stupidchicken.com>
936
937 * bindings.el ([M-left],[M-right]): Bind to left-word and
938 right-word respectively.
939
21ce8245
GM
9402011-10-07 Glenn Morris <rgm@gnu.org>
941
942 * cus-start.el (debug-on-quit): Fix custom type.
943
6d823bb2
LMI
9442011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
945
0181e193
LMI
946 * subr.el (define-key-after): Clarify that the function is not
947 useful for non-menu keymaps.
948
6d823bb2
LMI
949 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
950
8e3459ce 9512011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
952
21ce8245 953 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 954 in current minibuffer (Fix bug with recursive minibuffers).
955
a1c2d21e
CY
9562011-10-06 Chong Yidong <cyd@stupidchicken.com>
957
958 * progmodes/gdb-mi.el (gdb): Doc fix.
959
5a4cf282
MR
9602011-10-05 Martin Rudalics <rudalics@gmx.at>
961
962 * window.el (frame-auto-hide-function): New option replacing
963 frame-auto-delete. Suggested by Stefan Monnier.
964 (window--delete): Call frame-auto-hide-function instead of
965 investigating frame-auto-delete.
c96111ea
MR
966 (window-point-1, set-window-point-1): New functions.
967 (window-in-direction, record-window-buffer, window-state-get-1)
968 (display-buffer-record-window): Use window-point-1 instead of
969 window-point.
970 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 971
9854542e
SM
9722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
975
8943cfb0
GM
9762011-10-05 Glenn Morris <rgm@gnu.org>
977
978 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
979 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
980
647ab967
LL
9812011-10-05 Leo Liu <sdl.web@gmail.com>
982
983 * subr.el (read-char-choice): Fix argument to buffer-live-p which
984 works with buffer object.
985
3ddfbced
SM
9862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * mpc.el (mpc-tool-bar-map): Add labels.
989
bdfa5dd2
GM
9902011-10-04 Glenn Morris <rgm@gnu.org>
991
992 * calendar/holidays.el (calendar-check-holidays): Doc fix.
993
0e2070b5
MR
9942011-10-04 Martin Rudalics <rudalics@gmx.at>
995
996 * window.el (window--delete): New function.
997 (frame-auto-delete): Resuscitate option.
998 (bury-buffer, replace-buffer-in-windows)
999 (quit-window): Rewrite using window--delete.
1000 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1001 Pass display-buffer-mark-dedicated to window--display-buffer-2
1002 (Bug#9639).
1003
3dc61a09
SM
10042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1005
915a9b64
SM
1006 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1007 returns a list (bug#9554). Add remote file name completion.
1008 * comint.el (comint--table-subvert): Curry and get quote&unquote
1009 functions as arguments.
1010 (comint--complete-file-name-data): Adjust call accordingly.
1011 * pcomplete.el (pcomplete--table-subvert): Remove.
1012 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1013
3dc61a09
SM
1014 * minibuffer.el (completion-table-case-fold): Use currying.
1015 (completion--styles-type, completion--cycling-threshold-type):
1016 New constants.
1017 (completion-styles, completion-category-overrides)
1018 (completion-cycle-threshold): Use them.
1019 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1020 completion-table-case-fold.
1021
8ea0a993
SB
10222011-10-03 Stephen Berman <stephen.berman@gmx.net>
1023
1024 * minibuffer.el (completion-category-overrides): Fix type of styles
1025 and add more user friendly tags (bug#9660).
1026
8c24b7f6
SM
10272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1030 (mule-input-method-string): New widget.
1031 (default-input-method, language-info-custom-alist): Use it.
1032
428fe61a
SM
10332011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1034
32c1fffd
SM
1035 * pcomplete.el: Require comint.
1036 (pcomplete--common-suffix): Remove.
1037 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1038 (pcomplete--table-subvert): Sync with comint--table-subvert.
1039 (pcomplete--entries): Use comint-completion-file-name-table.
1040 * comint.el (comint-unquote-filename): Simplify.
1041 (comint-completion-file-name-table): New function (bug#9616).
1042 (comint--complete-file-name-data): Use it.
1043
428fe61a
SM
1044 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1045 (pcmpl-gnu-tar-buffer): Remove.
1046 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1047 around. Make sure pcomplete-suffix-list is only changed temporarily.
1048 Don't look inside the tar's file if it's too large.
428fe61a 1049
04c52e2f
CY
10502011-10-01 Chong Yidong <cyd@stupidchicken.com>
1051
ce3cefcc
CY
1052 * cus-edit.el (custom-mode-map):
1053 * epa.el (epa-key-list-mode-map):
1054 * man.el (Man-mode-map):
1055 * startup.el (splash-screen-keymap):
1056 * simple.el (special-mode-map): Use scroll-up-command and
1057 scroll-down-command.
1058
1059 * progmodes/idlw-help.el (idlwave-help-mode-map):
1060 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1061 * net/newst-plainview.el (newsticker-mode-map):
1062 * emulation/ws-mode.el (wordstar-mode-map):
1063 * emulation/vi.el (vi-com-map):
1064 * calc/calc-graph.el (calc-graph-show-dumb):
1065 * term/sun.el (terminal-init-sun):
1066 * term/ns-win.el (global-map):
1067 * progmodes/grep.el (grep-mode-map):
1068 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1069 * mail/rmail.el (rmail-mode-map):
1070 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1071
04c52e2f
CY
1072 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1073 custom-safe-themes as special.
1074
79adf8c8
JD
10752011-10-01 Julien Danjou <julien@danjou.info>
1076
1077 * notifications.el (notifications-notify): Fix docstring.
1078
63bd50d3
PS
10792011-10-01 Per Starbäck <per@starback.se>
1080
1081 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1082
199e4c7e
MR
10832011-09-30 Martin Rudalics <rudalics@gmx.at>
1084
1085 * startup.el (command-line-1): Fix last fix by inserting
1086 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1087 (Bug#9605) and (Bug#9636)
199e4c7e 1088
fe5f08dd
EZ
10892011-09-29 Eli Zaretskii <eliz@gnu.org>
1090
1091 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1092 window is hscrolled, move by logical lines. (Bug#9607)
1093 (line-move-visual): Update the doc string to the above effect.
1094
b5516bbd
MR
10952011-09-29 Martin Rudalics <rudalics@gmx.at>
1096
ccee00c0
MR
1097 * window.el (display-buffer-record-window): When WINDOW is the
1098 selected window use `point' instead of `window-point'. (Bug#9626)
1099
b5516bbd
MR
1100 * startup.el (command-line-1): Use insert-before-markers when
1101 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1102
b5516bbd
MR
1103 * help.el (help-window): Remove variable.
1104
52aa0014
GM
11052011-09-29 Glenn Morris <rgm@gnu.org>
1106
1107 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1108
df9a7357
JB
11092011-09-29 Juanma Barranquero <lekktu@gmail.com>
1110
1111 * descr-text.el (describe-char-categories): Accept category
1112 descriptions more than one line long.
1113
a8406c20
SM
11142011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1115
88d9610c
SM
1116 * simple.el (delete-trailing-whitespace): Fix last change.
1117
a5daf810
SM
1118 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1119 Don't confuse "y => 3" as the beginning of a `y' operation.
1120
a8406c20
SM
1121 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1122 object has more than 4 slots (bug#9613).
1123
a239d4e9
JB
11242011-09-28 Juanma Barranquero <lekktu@gmail.com>
1125
1126 * subr.el (with-output-to-temp-buffer):
1127 * net/quickurl.el (quickurl, quickurl-browse-url):
1128 Fix typos in docstrings.
1129
693fbdb6
EZ
11302011-09-27 Eli Zaretskii <eliz@gnu.org>
1131
1132 * minibuffer.el (completion-styles)
1133 (completion-category-overrides): Cross reference each other in doc
1134 strings.
1135
8b457e28
GM
11362011-09-27 Glenn Morris <rgm@gnu.org>
1137
1138 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1139 to split-string. (Bug#9606)
1140
85a16208
LMI
11412011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1142
1143 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1144 (bug#9615).
1145
502f9ebd
CY
11462011-09-27 Chong Yidong <cyd@stupidchicken.com>
1147
1148 * emacs-lisp/package.el (list-packages): Fix echo area message.
1149
7690bdea
LL
11502011-09-27 Leo Liu <sdl.web@gmail.com>
1151
1152 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1153
e2ee6f30
MA
11542011-09-25 Michael Albinus <michael.albinus@gmx.de>
1155
1156 * net/dbus.el (dbus-unregister-object): Don't release services for
1157 registered signals. (Bug#9581)
1158
f3f98342
TZ
11592011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1160
1161 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1162 function that picks between cfengine 2 and 3 support
1163 automatically. Update docs accordingly.
1164
dd7aa8dd
KH
11652011-09-22 Kenichi Handa <handa@m17n.org>
1166
1167 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1168 ZERO.
1169 (indian-itrans-v5-table-for-tamil): New variable.
1170 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1171
3f2b07f8
KM
11722011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1173
1174 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1175 that's true if the current command involved collapsing of text.
1176 It's reset to false at the beginning of the next command.
1177 (allout-post-command-business): Move the cursor to the beginning
1178 of entry if the cursor is hidden and collapsing activity just
1179 happened.
1180
371d6a61
CY
11812011-09-24 Chong Yidong <cyd@stupidchicken.com>
1182
1183 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1184 tracking (Bug#9541).
1185
2ac2721a
UJ
11862011-09-24 Ulf Jasper <ulf.jasper@web.de>
1187
1188 * net/newst-reader.el (newsticker-html-renderer)
1189 (newsticker-show-news): Automatically
343a34ff
JB
1190 load html rendering package if newsticker-html-renderer is set.
1191 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1192 let-bound" and the error "Symbol's value as variable is void:
1193 w3m-fill-column".
1194
fac7ae53
MA
11952011-09-24 Michael Albinus <michael.albinus@gmx.de>
1196
1197 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1198 Release services only if they are defined. (Bug#9581)
1199
e08b633b
RS
12002011-09-23 Richard Stallman <rms@gnu.org>
1201
e488d29c
RS
1202 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1203 distinguish start of paragraph from start of its text.
1204
19c38752
RS
1205 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1206
e08b633b
RS
1207 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1208 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1209 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1210
0a39f27e
AS
12112011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1212
1213 * international/mule-diag.el (mule-diag): Insert a newline after
1214 each fontset description.
1215
db4e950d
SM
12162011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * simple.el (delete-trailing-whitespace):
1219 Document last change; simplify.
1220
eca3f3ea
PW
12212011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1222
d68e189a
PW
1223 * simple.el (delete-trailing-whitespace): Also delete
1224 extra newlines at the end of the buffer.
1225
eca3f3ea
PW
1226 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1227 (picture-newline): Use forward-line so as to ignore fields.
1228
01c157cc
SM
12292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * subr.el (with-wrapper-hook): Fix edebug spec.
1232
022de23e
LMI
12332011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1234
1235 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1236 (bug#4538).
1237
91683089
MA
12382011-09-23 Michael Albinus <michael.albinus@gmx.de>
1239
eca3f3ea
PW
1240 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1241 Fix nasty bug using wrong cached values.
91683089 1242
5bdd6fa4
AM
12432011-09-23 Alan Mackenzie <acm@muc.de>
1244
1245 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1246
97adfb97
CY
12472011-09-23 Chong Yidong <cyd@stupidchicken.com>
1248
1249 * window.el (pop-to-buffer): Ensure right window is selected if we
1250 chose another frame.
1251
d4ef2b50
EZ
12522011-09-22 Eli Zaretskii <eliz@gnu.org>
1253
1254 * simple.el (what-cursor-position): Use get-char-property-change
1255 and next-single-char-property-change, to be able to show display
1256 properties that come from overlays as well as text properties.
1257
72258fe5
CY
12582011-09-22 Chong Yidong <cyd@stupidchicken.com>
1259
1260 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1261
1262 * cmuscheme.el (run-scheme, switch-to-scheme):
1263 * cus-edit.el (customize-group, custom-buffer-create)
1264 (customize-browse):
1265 * info.el (info):
1266 * shell.el (shell):
1267 * mail/sendmail.el (mail):
1268 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1269
8f098516
RS
12702011-09-22 Richard Stallman <rms@gnu.org>
1271
1272 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1273 move back only to line beg, don't move back over blank lines.
1274
e74f1bb6
MA
12752011-09-22 Michael Albinus <michael.albinus@gmx.de>
1276
1277 * files.el (copy-directory): Set directory attributes only in case
1278 they could be retrieved from the source directory. (Bug#9565)
1279
bfeef8b6
DK
12802011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1281
1282 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1283 (hs-find-block-beginning, hs-hide-level-recursive):
1284 Ignore strings as well as comments. (Bug#9502)
1285
7e423bb8
AS
12862011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1287
1288 * progmodes/sql.el (sql-comint-postgres):
1289 Convert port number to a string. (Bug#9566)
1290
b4d72fcf
MR
12912011-09-22 Martin Rudalics <rudalics@gmx.at>
1292
1293 * window.el (quit-window): Undedicate window when switching to
1294 previous buffer. Reported by Thierry Volpiatto
1295 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1296 (special-display-popup-frame): When popping up a new frame reset
1297 its previous buffers to nil. Simplify code.
b4d72fcf 1298
a7b88dc6
MA
12992011-09-21 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1302 and process filter, as done also in `shell-command'.
1303
cf4eacfd
MR
13042011-09-21 Martin Rudalics <rudalics@gmx.at>
1305
eca3f3ea
PW
1306 * window.el (set-window-buffer-start-and-point):
1307 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1308 Volpiatto <thierry.volpiatto@gmail.com>.
1309 (quit-window): Reword doc-string. Handle new format of
1310 quit-restore parameter. Don't delete window if it has a
1311 previous buffer we can show instead of the present one.
1312 (display-buffer-record-window): Rewrite using a new format for
1313 the quit-restore window parameter
1314 (special-display-popup-frame, display-buffer-same-window)
1315 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1316 (display-buffer-pop-up-window, display-buffer-use-some-window):
1317 Adapt symbol passed to display-buffer-record-window.
1318 * help.el (help-window-setup): Handle new format of quit-restore
1319 parameter.
1320
8d28cb95
SM
13212011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1322
94ab793f
SM
1323 * faces.el (face-list): Fix docstring (bug#9564).
1324
8d28cb95
SM
1325 * window.el (display-buffer--action-function-custom-type):
1326 Don't include internal functions in the Custom interface.
1327
3820edeb
JL
13282011-09-20 Juri Linkov <juri@jurta.org>
1329
1330 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1331 (Info-forward-node, Info-backward-node, Info-next-preorder)
1332 (Info-last-preorder): Use it. (Bug#9528)
1333
5147931d
JL
13342011-09-20 Juri Linkov <juri@jurta.org>
1335
1336 * info.el (Info-last-preorder): Visit last menu item only when
1337 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1338
cf499a1a
JD
13392011-09-20 Julien Danjou <julien@danjou.info>
1340
1341 * password-cache.el (password-cache-remove): Remove entries even if the
1342 value is nil, so that password with a nil value (negative caching) is
1343 possible to invalidate.
1344
f84e2fe2
LM
13452011-09-20 Lawrence Mitchell <wence@gmx.li>
1346
1347 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1348 all whitespace around breakpoint. (Bug#9553)
1349 (f90-find-breakpoint): Only break at whitespace inside a comment.
1350
78054a46
SM
13512011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * minibuffer.el (completion-file-name-table): Keep track of errors.
1354 (completion-table-with-predicate): Handle the case where pred1 is nil.
1355 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1356
345083b2
SM
13572011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1358
e24e27be
SM
1359 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1360 (debugger-return-value): Signal an error if the debugging context does
1361 not await any return value.
1362
345083b2
SM
1363 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1364 * image-mode.el (image-toggle-display-text)
1365 (image-toggle-display-image): Stay away from evil `intangible'.
1366
08d355e3
LL
13672011-09-19 Leo Liu <sdl.web@gmail.com>
1368
1369 * replace.el (occur-revert-arguments): Make it permanent-local.
1370 (occur-mode): Don't call font-lock-defontify.
1371
f01da43f
CY
13722011-09-19 Chong Yidong <cyd@stupidchicken.com>
1373
1374 * net/ldap.el (ldap-search-internal): Don't push empty search
1375 result (Bug#9508).
1376
b6072fa6
SM
13772011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1380
443d6696
MA
13812011-09-19 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1384 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1385
7cc6e154
JL
13862011-09-18 Juri Linkov <juri@jurta.org>
1387
1388 * buff-menu.el (Buffer-menu-mode-map):
1389 * dired.el (dired-mode-map):
1390 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1391 (lisp-interaction-mode-map):
1392 * emacs-lisp/package.el (package-menu-mode-map):
1393 * epa.el (epa-key-list-mode-map):
1394 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1395 (menu-bar-options-menu):
1396 * outline.el (outline-mode-menu-bar-map):
1397 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1398 * vc/vc-dir.el (vc-dir-menu-map):
1399 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1400 Capitalize non-function content words in menu item strings.
1401
1402 * dired.el (dired-mode-map): Add menu item for
1403 `image-dired-dired-toggle-marked-thumbs'.
1404
80302a81
JL
14052011-09-18 Juri Linkov <juri@jurta.org>
1406
1407 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1408 to `isearch-case-fold-search' and restore its original value
1409 after the `isearch-mode' call.
1410
46c5cf66
JL
14112011-09-18 Juri Linkov <juri@jurta.org>
1412
1413 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1414 because `zgrep' returns 1 for successful matches (bug#9226).
1415
d18b513b
JL
14162011-09-18 Juri Linkov <juri@jurta.org>
1417
1418 * info.el (Info-extract-menu-node-name): Check the second match
1419 for empty string (second test-case of bug#9528).
1420 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1421 intermediate nodes to the history (first test-case of bug#9528).
1422
72753f87
JL
14232011-09-18 Juri Linkov <juri@jurta.org>
1424
1425 * info.el (Info-mode-syntax-table): New variable.
1426 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1427
c9384295
JL
14282011-09-18 Juri Linkov <juri@jurta.org>
1429
1430 * info.el (Info-file-supports-index-cookies): Increment
1431 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1432 one more line for long file names (bug#4142).
1433
d473dce8
CY
14342011-09-18 Chong Yidong <cyd@stupidchicken.com>
1435
1436 * newcomment.el (comment-normalize-vars): If prompting for
1437 comment-start, set comment-start-skip too (Bug#8424).
1438
2176854d
JB
14392011-09-18 Johan Bockgård <bojohan@gnu.org>
1440
1441 * icomplete.el: Fix previous fix of Bug#5849.
1442 (icomplete-mode): Don't set completion-show-inline-help.
1443 (icomplete-minibuffer-setup): Set completion-show-inline-help
1444 locally during icompletion.
1445
3aace4e4
CY
14462011-09-18 Chong Yidong <cyd@stupidchicken.com>
1447
c940224f
CY
1448 * woman.el (woman2-process-escapes): Don't delete unrecognized
1449 escapes (Bug#7843).
1450
3aace4e4
CY
1451 * files.el (inhibit-first-line-modes-regexps): Add image files.
1452 (hack-local-variables-prop-line): Return nil for malformed
1453 prop-lines (Bug#9044).
1454
710dec63
MA
14552011-09-18 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * net/tramp.el (top): Don't require 'shell.
1458 (tramp-methods): Fix docstring.
1459 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1460 Return complete remote file name. Handle "smb" case.
1461 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1462 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1463
1464 * net/tramp-compat.el (top): Require 'shell.
1465
1466 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1467 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1468 `tramp-current-host'.
1469 (tramp-get-remote-tmpdir): Remove.
1470
1471 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1472 `tramp-tmpdir' entries.
1473 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1474 (tramp-smb-handle-file-attributes): Ignore errors.
1475 (tramp-smb-wait-for-output): Check also for process end.
1476
5d5ac8ec
LMI
14772011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1478
1479 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1480 when sending QUIT (bug#9312).
1481
8c0f49f0
CY
14822011-09-17 Chong Yidong <cyd@stupidchicken.com>
1483
1484 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1485 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1486 occur-mode-display-occurrence.
1487 (occur-edit-mode): Add usage message.
1488 (occur-cease-edit): New command.
1489 (occur-after-change-function): Use text properties to find the
1490 position of the prefix text.
1491 (occur-engine): Set stickiness of prefix text properties.
1492
8f1383f7
GM
14932011-09-17 Glenn Morris <rgm@gnu.org>
1494
1495 * progmodes/etags.el (complete-tag):
1496 Fix call to completion-in-region. (Bug#9526)
1497
744ba0e3
JL
14982011-09-17 Juri Linkov <juri@jurta.org>
1499
1500 * textmodes/ispell.el (ispell-word): Add to the error message
1501 the word, ispell program name and current dictionary (bug#9121).
1502 (ispell-tex-arg-end): Capitalize "error" in the error message.
1503
d9bbf400
AS
15042011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1505
1506 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1507 check. (Bug#4251)
1508
8da11505
JL
15092011-09-17 Juri Linkov <juri@jurta.org>
1510
1511 * window.el (window-safe-min-height, window-safe-min-width):
1512 Fix typos (followup to bug#9522).
1513
a91adc7e
SJ
15142011-09-17 Sven Joachim <svenjoac@gmx.de>
1515
1516 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1517
064f328a
EZ
15182011-09-16 Eli Zaretskii <eliz@gnu.org>
1519
1520 * simple.el (line-move): If goal-column is set, move by logical
1521 lines, not by display lines. (Bug#971)
1522 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1523 to reflect the above change.
1524
e69df516
SM
15252011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * image.el (imagemagick-register-types): Use regexp-opt.
1528
cbb0f9ab
CY
15292011-09-15 Chong Yidong <cyd@stupidchicken.com>
1530
1531 * window.el (display-buffer-base-action): Rename from
1532 display-buffer-default-action. Make default value empty.
1533 (display-buffer-overriding-action): Convert to defvar.
1534 (display-buffer-fallback-action): New var.
1535
25322144
CY
15362011-09-15 Chong Yidong <cyd@stupidchicken.com>
1537
1538 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1539 declaration.
1540 (package--add-to-archive-contents): If there is a duplicate entry
1541 with an older version, remove it.
1542 (package-menu-mark-delete, package-menu-mark-install)
1543 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1544 (package-menu-mark-obsolete-for-deletion):
1545 Use package-menu-get-status instead of a regexp search.
25322144
CY
1546 (package-menu-get-status): Use tabulated-list-entry.
1547 (package-menu-mark-upgrades): New command.
d770725a 1548 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1549 (package-menu-execute): Do installation before deletion.
1550 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1551 instead of checking major-mode.
1552 (package-menu--find-upgrades): New function.
1553
7520339c
LMI
15542011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1555
1556 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1557 passwords in the log buffer.
65a046c4
LMI
1558 (smtpmail-process-filter): Update the process marker so that the
1559 "broken by peer" status message is inserted in the right place.
7520339c 1560
d3c30954
SM
15612011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1562
3fe48822
SM
1563 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1564 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1565 bibtex-completion-at-point-function.
1566 (bibtex-completion-at-point-function): Use them.
1567
1b8b3954
SM
1568 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1569
d3c30954
SM
1570 * mpc.el (mpc-constraints-tag-lookup): New function.
1571 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1572 also to browser "album|playlist".
1573
72779976
JL
15742011-09-14 Juri Linkov <juri@jurta.org>
1575
1576 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1577 (isearch-edit-string): Use length of `isearch-string' when
1578 `isearch-fail-pos' returns nil.
1579 (isearch-message): Remove duplicate code and call
1580 `isearch-fail-pos' with arg `t'.
1581
a0bf2bcd
CY
15822011-09-14 Chong Yidong <cyd@stupidchicken.com>
1583
17bb0a2d
CY
1584 * replace.el (occur-mode-goto-occurrence): Don't force using other
1585 window (Bug#9499).
1586
a0bf2bcd
CY
1587 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1588
f678e0b6
MR
15892011-09-14 Martin Rudalics <rudalics@gmx.at>
1590
1591 * window.el (display-buffer-window): Remove.
1592 (display-buffer-record-window): Use help-setup window parameter
1593 instead of variable display-buffer-window.
1594 (display-buffer-function, special-display-buffer-names)
1595 (special-display-function): Mention help-setup parameter instead
1596 of display-buffer-window in doc-string.
d3c30954
SM
1597 * help.el (help-window-setup): New argument help-window.
1598 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1599 Reword some messages.
1600 (with-help-window): Pass window used for displaying the buffer
1601 to help-window-setup. Don't set display-buffer-window.
1602
8e39b2e8
GM
16032011-09-13 Glenn Morris <rgm@gnu.org>
1604
1605 * emacs-lisp/debug.el (debugger-make-xrefs):
1606 Preserve point. (Bug#9462)
1607
85e9c04b
CY
16082011-09-13 Chong Yidong <cyd@stupidchicken.com>
1609
1610 * window.el (window-deletable-p): Use next-frame.
1611
1b36ed6a
MR
16122011-09-13 Martin Rudalics <rudalics@gmx.at>
1613
1614 * window.el (window-auto-delete): Remove.
1615 (window-deletable-p): Remove argument FORCE. Don't deal with
1616 dedicatedness and previous buffers.
1617 (switch-to-prev-buffer): Don't delete window.
1618 (delete-windows-on): Delete a window's frame if and only if the
1619 window is dedicated.
1620 (replace-buffer-in-windows): Delete buffer's window or frame if
1621 and only if window is dedicated.
1622 (quit-window): Handle quit-restore as before last change.
4d61f28d 1623 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1624
ef8ef9fb
CY
16252011-09-13 Chong Yidong <cyd@stupidchicken.com>
1626
1627 * window.el (window-deletable-p): Never delete the last frame on a
1628 given terminal.
1629
b2cba41e
GM
16302011-09-13 Glenn Morris <rgm@gnu.org>
1631
1632 * help.el (describe-key-briefly): Copy previous standard-output change.
1633
51553db6 16342011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1635
1636 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1637
b7556719
GM
16382011-09-13 Glenn Morris <rgm@gnu.org>
1639
1640 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1641 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1642
64b51947
CY
16432011-09-12 Chong Yidong <cyd@stupidchicken.com>
1644
1645 * dired-aux.el (dired-mark-read-string): Don't return default
1646 value on empty input (Bug#9361).
1647 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1648 Omit initial minibuffer contents.
1649 (dired-do-chmod): Signal an error on empty input.
1650 (dired-mark-read-string): Don't return default on empty input.
1651
1652 * files.el (file-modes-symbolic-to-number): Doc fix.
1653
393a301e
SM
16542011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * international/mule-cmds.el (ucs-completions): Remove.
1657 (read-char-by-name): Use complete-with-action instead; add metadata.
1658
fa5660f9
CY
16592011-09-11 Chong Yidong <cyd@stupidchicken.com>
1660
1661 * window.el (display-buffer--action-function-custom-type)
1662 (display-buffer--action-custom-type): New vars.
1663 (display-buffer-alist, display-buffer-default-action)
1664 (display-buffer-overriding-action): Add defcustom types.
1665
4a592f66
CY
1666 * frame.el (delete-other-frames): Doc fix (Bug#276).
1667
73d56dbd
LMI
16682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1669
1670 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1671
37ac18a3
CY
16722011-09-11 Chong Yidong <cyd@stupidchicken.com>
1673
1674 Change modes that used same-window-* vars to use switch-to-buffer.
1675
1676 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1677 Use switch-to-buffer.
1678
1679 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1680 (customize-browse, custom-buffer-create-other-window):
1681 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1682
1683 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1684 (Info-prev, Info-up, Info-speedbar-goto-node)
1685 (info-display-manual): Use switch-to-buffer.
1686 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1687
1688 * mail/sendmail.el (mail): Use switch-to-buffer.
1689 (mail-recover): Use switch-to-buffer-other-window.
1690
1691 * cmuscheme.el (run-scheme, switch-to-scheme):
1692 * ielm.el (ielm):
1693 * shell.el (shell):
1694 * net/rlogin.el (rlogin):
1695 * net/telnet.el (telnet, rsh):
1696 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1697
10195bd6
AS
16982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1701
b322f63a
LMI
17022011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1703
39d7fed6
LMI
1704 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1705 so don't mention it (bug#9301).
ba5a81f1 1706 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1707
ee0e9f11
LMI
1708 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1709 match `x', `w32' and `ns', like the manual says (bug#9029).
1710
0b1c89c1 1711 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1712 (process-kill-buffer-query-function): Mention the buffer name in
1713 the query.
0b1c89c1 1714
77549ea8
LMI
1715 * image-mode.el (image-next-line): The line parameter is mandatory
1716 (bug#9258).
1717
803ef892
LMI
1718 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1719 which can be useful (bug#9301).
1720
12980837
LMI
1721 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1722
91054f8f
LMI
1723 * subr.el (match-string): Mention that the current buffer should
1724 be the same as the search was done in (bug#9282).
1725
b322f63a
LMI
1726 * facemenu.el: Disable the remove-* commands if the mark isn't
1727 active (bug#9162).
1728
3199b96f
CY
17292011-09-10 Chong Yidong <cyd@stupidchicken.com>
1730
1731 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1732 of display-buffer.
1733 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1734
1735 * replace.el (occur-mode-goto-occurrence)
1736 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1737 and display-buffer.
1738
1739 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1740 display-buffer.
1741
1742 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1743 special-display and same-window variables.
1744 (mail-other-window): Use switch-to-buffer-other-window.
1745 (mail-other-frame): USe switch-to-buffer-other-frame.
1746
393a301e
SM
1747 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1748 Use display-buffer-other-frame.
3199b96f
CY
1749 (gdb-display-gdb-buffer): Use pop-to-buffer.
1750
1751 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1752
1753 * progmodes/python.el: Don't set same-window-buffer-names.
1754
1755 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1756
1757 * window.el (display-buffer-alist): Add *Python*.
1758
8319e0bf
CY
17592011-09-10 Chong Yidong <cyd@stupidchicken.com>
1760
1761 * window.el (display-buffer-alist): Add entry for buffers
1762 previously handled same-window-*.
1763 (display-buffer-alist, display-buffer-default-action)
1764 (display-buffer-overriding-action): Mark as risky.
1765 (display-buffer-alist): Document action function changes.
1766 (display-buffer--same-window-action)
1767 (display-buffer--other-frame-action): New variables.
1768 (switch-to-buffer, display-buffer-other-frame): Use them.
1769 (display-buffer): Rename reuse-frame entry to reusable-frames.
1770 (display-buffer-reuse-selected-window): Function deleted.
1771 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1772 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1773 (display-buffer-special): New function.
1774 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1775 display-buffer-reuse-or-pop-window. Split off special-display
1776 part into display-buffer-special.
1777 (display-buffer-use-some-window): Don't perform any special
1778 pop-up-frames handling.
1779 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1780 (display-buffer--maybe-same-window): Rename from
0d3ff375 1781 display-buffer-maybe-same-window.
8319e0bf 1782
919a69aa
CY
1783 * info.el: Don't set same-window-regexps.
1784 (info-setup): New function.
1785 (info-other-window, info): Call it.
1786
1787 * cus-edit.el: Don't set same-window-regexps.
1788 (customize-group): New argument.
1789 (customize-group-other-window): Use it.
1790 (customize-face, customize-face-other-window): Likewise.
1791 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1792
8319e0bf
CY
1793 * net/rlogin.el:
1794 * net/telnet.el:
1795 * progmodes/gud.el: Don't set same-window-regexps.
1796
1797 * cmuscheme.el:
1798 * ielm.el:
1799 * shell.el:
1800 * mail/sendmail.el:
1801 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1802
25173000
JL
18032011-09-10 Juri Linkov <juri@jurta.org>
1804
1805 * isearch.el (isearch-edit-string): Remove obsolete mention of
1806 `C-w' (`isearch-yank-word-or-char') from docstring.
1807 (isearch-query-replace): Fix typo in docstring (bug#9466).
1808
056e44ef
JL
18092011-09-10 Juri Linkov <juri@jurta.org>
1810
1811 * paren.el (show-paren-function): Don't show escaped parens.
1812 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1813
c3760c17
EZ
18142011-09-10 Eli Zaretskii <eliz@gnu.org>
1815
1816 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1817 (mm-default-file-encoding): Remove autoload forms, they are
1818 replaced with autoload cookies in mml.el and mm-encode.el.
1819 (mail-add-attachment): New command.
1820 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1821 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1822 the doc string.
1823 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1824
fece895e
RT
18252011-09-10 Reuben Thomas <rrt@sc3d.org>
1826
e69df516
SM
1827 * simple.el (count-words-region): Use buffer if there's no region
1828 (bug#9429).
fece895e 1829
5e68ce4a
JL
18302011-09-09 Juri Linkov <juri@jurta.org>
1831
1832 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1833 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1834 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1835
0a6b9622
AM
18362011-09-09 Alan Mackenzie <acm@muc.de>
1837
1838 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1839 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1840
14a29deb
EZ
18412011-09-09 Eli Zaretskii <eliz@gnu.org>
1842
1843 Fix for Savannah bug#9392.
1844 * simple.el (mail-encode-mml): New defvar.
1845
1846 * mail/rmail.el (mail-encode-mml): Add a defvar.
1847 (rmail-enable-mime-composing): Default to t.
1848 (rmail-forward): Use MIME method of forwarding only if both
1849 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1850 Set mail-encode-mml non-nil if the MIME method was used.
1851
1852 * mail/sendmail.el (mml-to-mime): Add autoload form.
1853 (mail-encode-mml): Add a defvar.
1854 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1855 to nil.
1856 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1857 message through mml-to-mime, and reset mail-encode-mml to nil.
1858
28c45130
GM
18592011-09-09 Glenn Morris <rgm@gnu.org>
1860
1861 * woman.el (woman-if-body): When processing an .el block,
1862 do not delete the next .el block as well. (Bug#9447)
69f4b618 1863 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1864
9b1c252e
MR
18652011-09-08 Martin Rudalics <rudalics@gmx.at>
1866
1867 * window.el (window-deletable-p): Make sure window is live before
1868 invoking window-prev-buffers.
1869
567457e3
LL
18702011-09-08 Leo Liu <sdl.web@gmail.com>
1871
1872 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1873
97f05794
JL
18742011-09-08 Juri Linkov <juri@jurta.org>
1875
1876 * progmodes/compile.el (compilation-environment): Make it
1877 a defcustom (bug#8340).
1878
8b0874b5
MR
18792011-09-08 Martin Rudalics <rudalics@gmx.at>
1880
1881 * window.el (frame-auto-delete): Rename to window-auto-delete.
1882 Make it control auto-deletion of windows and/or frames.
1883 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1884 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1885 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1886 Rewrite handling of case when window/frame can be deleted.
1887 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1888 argument t. (Bug#9456)
8b0874b5 1889
4feb6e73
CY
18902011-09-07 Chong Yidong <cyd@stupidchicken.com>
1891
1892 * help-mode.el (help-mode): Restore autoload.
1893
91ab9c13
JL
18942011-09-07 Juri Linkov <juri@jurta.org>
1895
1896 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1897 `compilation-environment'. Set buffer-local
1898 `compilation-environment' to `thisenv' later after (funcall mode).
1899 (Bug#8340)
1900
1901 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1902 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1903 instead of replacing its value. (Bug#8340)
1904
0527e251
JL
19052011-09-07 Juri Linkov <juri@jurta.org>
1906
1907 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1908 based on text properties put by `grep-filter' instead of matching
1909 escape sequences.
1910 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1911 to the value of `grep-error-screen-columns' (bug#9438).
1912
249f792c
JL
19132011-09-07 Juri Linkov <juri@jurta.org>
1914
1915 * simple.el (next-error-highlight, next-error-highlight-no-select):
1916 Doc fix (bug#9432).
1917
ff7271b9
OT
19182011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1919
1920 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1921 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1922
183fc730
LL
19232011-09-07 Leo Liu <sdl.web@gmail.com>
1924
1925 * net/rcirc.el (rcirc-mode): Conditionally initialize
1926 rcirc-input-ring.
1927
77694924
SM
19282011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * emacs-lisp/find-func.el (find-function-C-source): Only set
1931 find-function-C-source-directory after checking that we found a source
1932 file there (bug#9440).
1933
d809b8eb
AM
19342011-09-06 Alan Mackenzie <acm@muc.de>
1935
1936 * isearch.el (isearch-other-meta-char): Wherever a key list is
1937 unread, "unread" the prefix arg, too. This fixes bug #8901.
1938
453de99f
OG
19392011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1940
1941 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1942
90439906
JL
19432011-09-05 Juri Linkov <juri@jurta.org>
1944
1945 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1946
f62bd846
JL
19472011-09-05 Juri Linkov <juri@jurta.org>
1948
1949 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1950 keeping point where processing of grep matches begins, and
1951 continue to delete remaining escape sequences from the same point.
1952 (grep-filter): Make leading zero optional in "0?1;31m" because
1953 git-grep emits "\033[1;31m" escape sequences unlike expected
1954 "\033[01;31m" as GNU Grep does (bug#9408).
1955 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1956
045820ec
JL
19572011-09-05 Juri Linkov <juri@jurta.org>
1958
1959 * subr.el (y-or-n-p): Capitalize "yes".
1960
f5e29b9b
MA
19612011-09-04 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1964 `tramp-cache-unload-hook' where appropriate.
1965 (tramp-methods): Rename `tramp-remote-sh' to
1966 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1967 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1968
1969 * net/tramp-sh.el (top): Don't require 'shell.
1970 (tramp-methods): Add `tramp-remote-shell' and
1971 `tramp-remote-shell-args' entries.
1972 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1973 (tramp-sh-handle-shell-command): Remove.
1974 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1975 Use `tramp-remote-shell'.
1976
2784c434
CY
19772011-09-03 Chong Yidong <cyd@stupidchicken.com>
1978
393a301e 1979 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1980 (sendmail-query-once): Save directly to send-mail-function.
1981 Update message-send-mail-function too.
1982
1983 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1984
464cdf56
CS
19852011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1986
1987 * progmodes/python.el (python-mode-map): Use correct function to
1988 start python interpreter from menu-bar (as reported by Geert
1989 Kloosterman).
1990 (inferior-python-mode-map): Fix typo.
393a301e 1991 (python-shell-map): Remove.
464cdf56 1992
d37e5c87
DD
19932011-09-03 Deniz Dogan <deniz@dogan.se>
1994
1995 * net/rcirc.el (rcirc-print): Simplify code for
1996 rcirc-scroll-show-maximum-output. There is no need to walk
1997 through all windows to find the right one.
1998
f3ada0ee
CS
19992011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2000
2001 * help.el (help-return-method): Doc fix.
2002
1f3c99ca
MR
20032011-09-03 Martin Rudalics <rudalics@gmx.at>
2004
2005 * window.el (window-deletable-p): Don't return a non-nil value
2006 when there's a buffer that was shown in the window before.
2007 (Bug#9419)
393a301e
SM
2008 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2009 Set window's previous buffers to nil.
1f3c99ca 2010
a3cf097f
EZ
20112011-09-03 Eli Zaretskii <eliz@gnu.org>
2012
2013 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2014 newline before and after the tag line, so it doesn't interfere
2015 with determining the paragraph direction of bidirectional text.
2016
3d03de90
LL
20172011-09-03 Leo Liu <sdl.web@gmail.com>
2018
2019 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2020
c3313451
CY
20212011-09-02 Chong Yidong <cyd@stupidchicken.com>
2022
393a301e 2023 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2024 (pop-to-buffer): Change interactive spec. Pass second argument
2025 directly to display-buffer.
2026 (display-buffer): Fix interactive spec. Use functionp to
2027 distinguish between a function and a list of functions.
2028
2029 * abbrev.el (edit-abbrevs):
2030 * arc-mode.el (archive-extract):
2031 * autoinsert.el (auto-insert):
2032 * bookmark.el (bookmark-bmenu-list):
2033 * files.el (find-file):
2034 * view.el (view-buffer):
2035 * progmodes/compile.el (compilation-goto-locus):
2036 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2037
89894cd8
CY
20382011-09-02 Chong Yidong <cyd@stupidchicken.com>
2039
2040 * window.el (display-buffer-alist): Doc fix.
2041 (display-buffer): Add docstring. Don't treat
2042 display-buffer-default specially.
2043 (display-buffer-reuse-selected-window)
2044 (display-buffer-same-window, display-buffer-maybe-same-window)
2045 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2046 (display-buffer-pop-up-window)
2047 (display-buffer-reuse-or-pop-window)
2048 (display-buffer-use-some-window): New functions.
2049 (display-buffer-default-action): Use them.
393a301e 2050 (display-buffer-default): Delete.
89894cd8
CY
2051 (pop-to-buffer-1): Fix choice of actions.
2052
ae0bc9fb
SM
20532011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * minibuffer.el (completion--insert-strings): Don't get confused by
2056 completion entries that end with an LF char.
2057
e9d90883
EZ
20582011-09-01 Eli Zaretskii <eliz@gnu.org>
2059
2060 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2061
437014c8
CY
20622011-09-01 Chong Yidong <cyd@stupidchicken.com>
2063
2064 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2065 (display-buffer-same-window, display-buffer-other-window):
2066 New functions.
437014c8
CY
2067 (pop-to-buffer-1): New function. Use the above.
2068 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2069 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2070
2071 * view.el (view-buffer-other-window, view-buffer-other-frame):
2072 Just use pop-to-buffer.
2073
a5e063d5
TV
20742011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2075
2076 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2077
793d32bb
WH
20782011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2079
2080 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2081
d65e4c15
RS
20822011-08-31 Richard Stallman <rms@gnu.org>
2083
2084 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2085 of the separation of rmail-view-buffer from rmail-buffer.
2086 If you say no to "replace original", the decrypt is in the
2087 view buffer. If you say yes, the decrypt goes into the
2088 rmail buffer also.
2089
f818cd2a
MR
20902011-08-31 Martin Rudalics <rudalics@gmx.at>
2091
2092 * window.el (display-buffer-window): Rewrite doc-string.
2093 (display-buffer-record-window): New function.
2094 (display-buffer-macro-specifiers)
2095 (display-buffer-even-window-sizes, display-buffer-set-height)
2096 (display-buffer-set-width, display-buffer-in-window)
2097 (display-buffer-reuse-window, display-buffer-split-specifiers)
2098 (display-buffer-side-specifiers, display-buffer-split-window-1)
2099 (display-buffer-split-window, display-buffer-split-atom-window)
2100 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2101 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2102 (display-buffer-other-window-means-other-frame)
2103 (display-buffer-normalize-special)
2104 (display-buffer-normalize-default)
2105 (display-buffer-normalize-argument)
2106 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2107 (display-buffer-normalize-specifiers, display-buffer-frame)
2108 (display-buffer-same-window, display-buffer-same-frame)
2109 (display-buffer-other-window)
2110 (display-buffer-same-frame-other-window)
2111 (display-buffer-other-frame, pop-to-buffer-same-window)
2112 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2113 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2114 (switch-to-buffer-same-frame)
2115 (switch-to-buffer-other-window-same-frame)
2116 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2117 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2118 (display-buffer-alist-set): Remove.
2119 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2120 (special-display-regexps, special-display-function):
2121 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2122 parameter.
2123 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2124 (special-display-frame-alist, special-display-popup-frame)
2125 (same-window-buffer-names, same-window-regexps, same-window-p)
2126 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2127 (split-window-preferred-function, split-height-threshold)
2128 (split-width-threshold, window-splittable-p)
2129 (split-window-sensibly, window--try-to-split-window)
2130 (window--frame-usable-p, even-window-heights)
2131 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2132 (window--display-buffer-2, display-buffer-other-frame):
2133 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2134 (display-buffer-default, display-buffer-assq-regexp): New functions.
2135 (display-buffer-alist): Rewrite doc-string.
2136 (display-buffer-default-action)
2137 (display-buffer-overriding-action): New variables.
2138 (display-buffer, switch-to-buffer): Rewrite.
2139 (pop-to-buffer): Restore Emacs 23 behavior but use
2140 window-normalize-buffer-to-display.
2141 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2142 Restore Emacs 23 behavior but use
2143 window-normalize-buffer-to-switch-to.
2144 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2145 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2146 Rewrite using Emacs 23 options.
f818cd2a 2147
5bc3b51d
MA
21482011-08-31 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * net/tramp.el (tramp-root-regexp): Remove.
2151 (tramp-completion-file-name-regexp-unified)
2152 (tramp-completion-file-name-regexp-separate)
2153 (tramp-completion-file-name-regexp-url): Don't use leading volume
2154 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2155 (tramp-drop-volume-letter): Simplify definition.
2156 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2157
b1a4f8e1
SM
21582011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2161 (bug#9356).
2162
5664fa7b
RT
21632011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2164
b1a4f8e1 2165 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2166
9a45d6c3
JL
21672011-08-29 Juri Linkov <juri@jurta.org>
2168
2169 * isearch.el (isearch-done): Don't display message "Mark saved"
2170 when arg `edit' is non-nil to prevent its flicker in the echo area.
2171
fb87e0fb
CY
21722011-08-28 Chong Yidong <cyd@stupidchicken.com>
2173
2174 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2175 obsolete packages for deletion.
2176
09ac1c2a
CS
21772011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2178
2179 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2180 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2181 view-mode from help-mode.
2182 (help-xref-override-view-map): Remove.
2183 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2184 view-mode is not used anymore.
2185
7a1ff57f
CY
21862011-08-28 Chong Yidong <cyd@stupidchicken.com>
2187
2188 * server.el (server-port): Doc fix.
2189
b9696605
CY
2190 * cus-theme.el (custom-theme-choose-mode): Inherit from
2191 special-mode (Bug#9124).
2192 (custom-theme-choose-mode-map): Add special-mode to parent.
2193
ef8cdf8c
AM
21942011-08-28 Alan Mackenzie <acm@muc.de>
2195
2196 * progmodes/cc-fonts.el
2197 (c-make-font-lock-BO-decl-search-function): New function.
2198 (c-basic-matchers-after - "Fontify the clauses after various
2199 keywords"): Extract the three keyword lists for the 3 erroneous
2200 constructs from the list of four, and use the new function above
2201 in place of an old one.
2202
27de4e20
DD
22032011-08-28 Deniz Dogan <deniz@dogan.se>
2204
2205 * net/rcirc.el (rcirc-insert-prev-input)
2206 (rcirc-insert-next-input): Remove unused argument.
2207
356a3681
SM
22082011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2211
3fc9b218
AM
22122011-08-27 Alan Mackenzie <acm@muc.de>
2213
2214 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2215 handle function pointer parameters properly.
2216
538a061c
MR
22172011-08-27 Martin Rudalics <rudalics@gmx.at>
2218
2219 * window.el (display-buffer-reuse-window): Fix case where
2220 selected window was reused with non-nil OTHER-WINDOW argument.
2221 (Bug#9381)
2222
35b1c40c
DD
22232011-08-27 Deniz Dogan <deniz@dogan.se>
2224
2225 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2226 oftc's NickServ messages.
2227
2f6a3e79
GM
22282011-08-27 Glenn Morris <rgm@gnu.org>
2229
2230 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2231
7254299e
CY
22322011-08-26 Chong Yidong <cyd@stupidchicken.com>
2233
2234 * emacs-lisp/package.el (package-install): Call package-initialize
2235 if called interactively.
2236
f8ccf167
LL
22372011-08-26 Leo Liu <sdl.web@gmail.com>
2238
2239 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2240
3e8cd5ce
JL
22412011-08-25 Juri Linkov <juri@jurta.org>
2242
2243 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2244 `search-whitespace-regexp' (bug#9364).
2245
93eb7113
JL
22462011-08-25 Juri Linkov <juri@jurta.org>
2247
2248 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2249 `regexp-search-ring' to their global values to protect from
2250 updating by `read-from-minibuffer' (bug#9185).
2251
f65d1611
JL
22522011-08-25 Juri Linkov <juri@jurta.org>
2253
2254 * textmodes/ispell.el (ispell-command-loop): Add newline
2255 at the end of the "Use option `i'..." line.
2256
f1cf7a31
JL
22572011-08-25 Juri Linkov <juri@jurta.org>
2258
2259 * battery.el (display-battery-mode): If `battery-status-function'
2260 or `battery-mode-line-format' is nil, display the message and set
2261 `display-battery-mode' to nil (bug#9363).
2262
0c95fcf7
EZ
22632011-08-25 Eli Zaretskii <eliz@gnu.org>
2264
2265 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2266 bidi-string-mark-left-to-right; they are unnecessary now.
2267
a2ebe600
DD
22682011-08-25 Deniz Dogan <deniz@dogan.se>
2269
2270 * net/quickurl.el: Documentation typo fixes.
2271
e4ed06f1
CY
22722011-08-25 Chong Yidong <cyd@stupidchicken.com>
2273
2274 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2275
e5f1c99e
GM
22762011-08-25 Glenn Morris <rgm@gnu.org>
2277
b2948976
GM
2278 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2279
e5f1c99e
GM
2280 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2281 (smtpmail-via-smtp): Handle nil response from smtp.
2282
f22f4808
JL
22832011-08-24 Juri Linkov <juri@jurta.org>
2284
2285 * proced.el (proced-marked): Inherit from `error' instead of
2286 `font-lock-warning-face'.
2287
2288 * ibuffer.el (ibuffer-marked-face): Change default face from
2289 `font-lock-warning-face' to `warning'.
2290 (ibuffer-deletion-face): Change default face from
2291 `font-lock-type-face' to `error'.
2292
2293 * battery.el (battery-update): Use the face `error' instead of
2294 `font-lock-warning-face' (bug#6117).
2295
6a93965e
JL
22962011-08-24 Juri Linkov <juri@jurta.org>
2297
2298 * faces.el (success): Change face color from "Green3" to
2299 "ForestGreen" on light background (bug#9353).
2300
1ed43b09
CY
23012011-08-24 Chong Yidong <cyd@stupidchicken.com>
2302
5664fa7b
RT
2303 * window.el (quit-window): Rename from quit-restore-window.
2304 Use same arglist as old quit-window.
1ed43b09
CY
2305 (frame-auto-delete): Doc fix.
2306
2307 * view.el (view-mode-exit): Use quit-window.
2308
11dcdbb2
JL
23092011-08-24 Juri Linkov <juri@jurta.org>
2310
2311 * isearch.el (isearch-ring-adjust1): Start visiting previous
2312 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2313 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2314 for empty search string (when the last search string is reused
2315 automatically) to adjust the isearch ring to the last element and
2316 prepare the correct index for further M-p commands (bug#9185).
2317
de62b4df
KH
23182011-08-24 Kenichi Handa <handa@m17n.org>
2319
2320 * international/ucs-normalize.el: If decomposition property of
2321 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2322 nil.
2323 (nfd, nfkd): Likewise.
2324
963b492b
SM
23252011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2328 from process filters aren't reliably transmitted to the surrounding
2329 accept-process-output.
2330 (mpc-proc-check): New function.
2331 (mpc-proc-sync): Use it (bug#8293)
2332
93b6b5e1
SM
23332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2336 Add compatibility functions (bug#9313).
2337
bca633fb
EZ
23382011-08-23 Eli Zaretskii <eliz@gnu.org>
2339
b177498a
EZ
2340 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2341
bca633fb
EZ
2342 * international/uni-bidi.el: Regenerated.
2343
0902a04e
KH
23442011-08-23 Kenichi Handa <handa@m17n.org>
2345
2346 * international/charprop.el:
2347 * international/uni-bidi.el:
2348 * international/uni-category.el:
2349 * international/uni-combining.el:
2350 * international/uni-comment.el:
2351 * international/uni-decimal.el:
2352 * international/uni-decomposition.el:
2353 * international/uni-digit.el:
2354 * international/uni-lowercase.el:
2355 * international/uni-mirrored.el:
2356 * international/uni-name.el:
2357 * international/uni-numeric.el:
2358 * international/uni-old-name.el:
2359 * international/uni-titlecase.el:
2360 * international/uni-uppercase.el: Regenerate.
2361
3bbf23bc
MR
23622011-08-23 Martin Rudalics <rudalics@gmx.at>
2363
2364 * help.el (help-window-setup): Fix message displayed when other
2365 window is reused. (Bug#9341)
2366
b3fd59bd
SM
23672011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2368
1802e444
SM
2369 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2370 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2371
b3fd59bd
SM
2372 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2373 Mark obsolete.
2374 * shell.el (shell-parse-pcomplete-arguments): New function.
2375 (shell-completion-vars): Use it instead (bug#9160).
2376
4eb61348
SM
23772011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2378
867cab74
SM
2379 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2380 strings and comments (bug#9333).
2381
4eb61348
SM
2382 * emacs-lisp/debug.el (debug-arglist): New function.
2383 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2384 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2385
262a1439
JL
23862011-08-22 Juri Linkov <juri@jurta.org>
2387
56ee679c
JL
2388 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2389 Revert regexp that highlights output switches to its old
2390 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2391
262a1439
JL
2392 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2393 to check for empty output (bug#9226).
2394
f13f86fb
CY
23952011-08-22 Chong Yidong <cyd@stupidchicken.com>
2396
2397 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2398 symbol-constituent as the default, as that stops font-lock from
2399 working properly (Bug#8843).
2400
c65c9622
LMI
24012011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2402
2403 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2404 `coding-system-for-*' around the process open call to avoid
2405 auth-source side effects.
e7f2c178 2406 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2407 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2408 probe hangs.
c65c9622 2409
23a8a5ab
CY
24102011-08-21 Chong Yidong <cyd@stupidchicken.com>
2411
ff98b2dd
CY
2412 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2413
23a8a5ab
CY
2414 * emacs-lisp/find-func.el (find-function-noselect): New arg
2415 lisp-only.
2416
2417 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2418 signal an error for built-in functions (Bug#6664).
2419
f5e3c598
LMI
24202011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2421
2422 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2423 (smtpmail-try-auth-methods): Use it.
2424
a3f2468a
CY
24252011-08-21 Chong Yidong <cyd@stupidchicken.com>
2426
2c34e8da
CY
2427 * font-lock.el (font-lock-fontify-region)
2428 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2429 (font-lock-default-unfontify-buffer)
2430 (font-lock-default-fontify-region)
2431 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2432
b3fd59bd
SM
2433 * progmodes/compile.el (compilation-error-properties):
2434 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2435 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2436 `ant' regexp.
ee31aabc 2437
a3f2468a
CY
2438 * net/browse-url.el (browse-url-firefox): Don't call
2439 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2440
8e999f70
GM
24412011-08-20 Glenn Morris <rgm@gnu.org>
2442
c21a496a
GM
2443 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2444
59ee0542
GM
2445 * tutorial.el (tutorial--default-keys): Update some default bindings.
2446
8e999f70
GM
2447 * files.el (hack-local-variables): Fully ignore case for "mode:".
2448
e3715033
AM
24492011-08-20 Alan Mackenzie <acm@muc.de>
2450
2451 Resolve invalid use of a regexp in regexp-opt.
2452
4d61f28d
JB
2453 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2454 detection for a java annotation.
e3715033 2455
4d61f28d 2456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2457 detection for a java annotation.
2458
4d61f28d
JB
2459 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2460 handling for java.
e3715033
AM
2461 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2462
04ed2e9c
CY
24632011-08-20 Chong Yidong <cyd@stupidchicken.com>
2464
2465 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2466 (Bug#9274).
2467
826cee64
AM
24682011-08-20 Alan Mackenzie <acm@muc.de>
2469
2470 * Fontify CPP expressions correctly when starting in the middle of
2471 such a construct. Mainly for when jit-lock etc. starts a chunk
2472 here.
2473
2474 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2475 variable.
2476 (c-make-font-lock-search-form): new function, extracted from
2477 c-make-font-lock-search-function.
2478 (c-make-font-lock-search-function): Use the above function.
2479 (c-make-font-lock-context-search-function): New function.
2480 (c-cpp-matchers): Enhance the preprocessor expression case with
2481 the above function
2482 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2483 which takes an expression.
2484
2485 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2486
13009bd8
MR
24872011-08-20 Martin Rudalics <rudalics@gmx.at>
2488
2489 * window.el (display-buffer-reuse-window)
2490 (display-buffer-pop-up-window): Don't reuse or split a side
2491 window.
2492
9234ff7f
GM
24932011-08-19 Glenn Morris <rgm@gnu.org>
2494
2495 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2496 Downcase "Mode:". (Bug#9331)
9234ff7f 2497
f635daa1
CY
24982011-08-18 Chong Yidong <cyd@stupidchicken.com>
2499
2500 * international/characters.el: Add L and R categories.
2501
2502 * subr.el (bidi-string-mark-left-to-right): Rename from
2503 string-mark-left-to-right. Use category search.
2504
2505 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2506
bc987f8b
JL
25072011-08-18 Juri Linkov <juri@jurta.org>
2508
2509 * faces.el (error, warning, success): New faces with definitions
2510 copied from old default values of `font-lock-warning-face',
2511 `compilation-warning', `compilation-info' (bug#6117).
2512
2513 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2514
2515 * progmodes/compile.el (compilation-error): Inherit from `error'.
2516 (compilation-warning): Inherit from `warning'.
2517 (compilation-info): Inherit from `success'.
2518
2519 * dired.el (dired-marked): Inherit from `warning'.
2520 (dired-flagged): Inherit from `error'.
2521
57173b96
LMI
25222011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2523
3e79eb87
LMI
2524 * mail/smtpmail.el (auth-source): Require to avoid problems with
2525 binding variables (bug#9298). Also clean up some unused
2526 autoloads.
2527
b3fd59bd
SM
2528 * net/network-stream.el (network-stream-open-starttls):
2529 Support using starttls.el without using gnutls-cli.
57173b96 2530
02b404de
JL
25312011-08-17 Juri Linkov <juri@jurta.org>
2532
2533 * progmodes/grep.el (rgrep): Handle the case when
2534 `grep-find-command' is a cons cell (bug#9278).
2535
8c9177f2
MR
25362011-08-17 Martin Rudalics <rudalics@gmx.at>
2537
2538 * window.el (display-buffer-pop-up-frame): Run frame creation
2539 function with BUFFER current (as special-display-popup-frame
2540 does). Reported by Drew Adams.
2541
3644a0ab
DU
25422011-08-17 Daiki Ueno <ueno@unixuser.org>
2543
2544 * epa-mail.el: Simplify GnuPG group expansion using
2545 epg-expand-group.
2546 (epa-mail-group-alist, epa-mail-group-modtime)
2547 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2548 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2549 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2550 Remove.
2551
5e617bc2 25522011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2553
2554 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2555
9c4aeabf
AM
25562011-08-16 Alan Mackenzie <acm@muc.de>
2557
2558 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2559 Correct, to avoid the inside of macros.
2560
3a99bf64
RS
25612011-08-16 Richard Stallman <rms@gnu.org>
2562
04963aa8
RS
2563 * epa-mail.el: Handle GnuPG group definitions.
2564 (epa-mail-group-alist, epa-mail-group-modtime)
2565 (epa-mail-gnupg-conf-file): New variables.
2566 (epa-mail-parse-groups, epa-mail-sync-groups)
2567 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2568 (epa-mail-expand-recipients): New functions.
2569 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2570
177549d0
RS
2571 * mail/rmail.el (rmail-epa-decrypt): New command.
2572
fe38beef
RS
2573 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2574 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2575 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2576 (epa-decrypt-armor-in-region): Make error message clearer.
2577
934eacb9
SM
25782011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2581 and "a2b" to "ab" for `prefix'.
2582
d024fb4e
CY
25832011-08-14 Chong Yidong <cyd@stupidchicken.com>
2584
2585 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2586 filter groups.
de148fee
CY
2587 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2588 Fourquet (Bug#8804).
d024fb4e 2589
62f1ca49
JB
25902011-08-12 Juanma Barranquero <lekktu@gmail.com>
2591
2592 * startup.el (argi): Declare as global variable (bug#9275).
2593
9ccaaa4b
CY
25942011-08-12 Chong Yidong <cyd@stupidchicken.com>
2595
2596 * subr.el (string-mark-left-to-right): Search the entire string
2597 for RTL script, not just the terminating character. Doc fix.
2598
a3dae87a
SM
25992011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2600
6cd18349
SM
2601 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2602 New function.
2603 (js--regexp-literal, js-syntax-propertize-function): Remove.
2604 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2605 (js-mode-map): Don't rebind electric keys.
2606 (js-insert-and-indent): Remove.
2607 (js-mode): Setup electric-layout and electric-indent instead.
2608
a3dae87a
SM
2609 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2610
9d5cb631
DU
26112011-08-12 Daiki Ueno <ueno@unixuser.org>
2612
2613 * epa.el (epa-progress-callback-function): Fix the logic of
2614 displaying progress.
2615 * epa-file.el (epa-file-insert-file-contents): Make progress
2616 display more user-friendly.
2617 (epa-file-write-region): Ditto.
2618
3e26a4a2
CY
26192011-08-10 Chong Yidong <cyd@stupidchicken.com>
2620
2621 * subr.el (string-mark-left-to-right): New function.
2622
2623 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2624 Use string-mark-left-to-right.
2625 (list-buffers-noselect): Caller changed.
2626
a3dae87a
SM
2627 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2628 Use string-mark-left-to-right.
3e26a4a2
CY
2629 (tabulated-list-print): Recenter after moving point.
2630
ac8cf6e6
JL
26312011-08-10 Juri Linkov <juri@jurta.org>
2632
2633 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2634 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2635 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2636
8d96c9a4
CY
26372011-08-09 Chong Yidong <cyd@stupidchicken.com>
2638
2639 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2640 (Bug#7554).
2641
7be1c708 26422011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2643
2644 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2645 character. (Bug#6594)
2646
37e11a63
CY
26472011-08-08 Chong Yidong <cyd@stupidchicken.com>
2648
839dde57
CY
2649 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2650 (image-dired--with-db-file): New macro.
2651 (image-dired-write-tags, image-dired-remove-tag)
2652 (image-dired-create-gallery-lists, image-dired-write-comments)
2653 (image-dired-get-comment, image-dired-mark-tagged-files)
2654 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2655 (image-dired-gallery-generate): Use insert-file-contents.
2656
37e11a63
CY
2657 * time.el (display-time-world-list, display-time-world-display):
2658 * time-stamp.el (time-stamp-string):
2659 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2660 set-time-zone-rule (Bug#7337).
2661
0b4946c4
DU
26622011-08-08 Daiki Ueno <ueno@unixuser.org>
2663
2664 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2665 (epg-error-to-string, epg-errors-to-string): New function.
2666 (epg-wait-for-completion): Reverse errors list.
2667 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2668 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2669 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2670 (epg-sign-keys, epg-generate-key-from-file)
2671 (epg-generate-key-from-string): Format errors by using
2672 epg-errors-to-string (bug#9255).
2673 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2674
75bfc667
JL
26752011-08-07 Juri Linkov <juri@jurta.org>
2676
2677 * faces.el (list-faces-display): Remove extra angle bracket
2678 from `help-mode-map'.
2679
2680 * info.el (Info-history-toc-nodes): Doc fix.
2681
2682 * longlines.el (longlines-mode): Doc fix.
2683
673e08bb
SM
26842011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2685
4640dd88
SM
2686 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2687 of statements and in a few more cases (bug#9183).
2688
673e08bb
SM
2689 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2690 New functions.
2691 (cl-transform-lambda): Use them (bug#9239).
2692
89b3f019
MR
26932011-08-05 Martin Rudalics <rudalics@gmx.at>
2694
2695 * window.el (display-buffer-same-window)
2696 (display-buffer-same-frame, display-buffer-other-window)
2697 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2698 (pop-to-buffer-other-window)
2699 (pop-to-buffer-same-frame-other-window)
2700 (pop-to-buffer-other-frame): Make them defuns.
2701 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2702
640c8776
SM
27032011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * subr.el (make-composed-keymap): Move from C. Change calling
2706 convention, and improve docstring to bring attention to a subtle point.
2707 * minibuffer.el (completing-read-default): Adjust accordingly.
2708
63648a95
MA
27092011-08-03 Michael Albinus <michael.albinus@gmx.de>
2710
2711 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2712 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2713
2714 * net/trampver.el: Update release number.
2715
b796c9b7
SM
27162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2719 "in" (bug#9190).
2720
2239d7d5
LMI
27212011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2722
e07dd7c3
LMI
2723 * mail/sendmail.el (sendmail-query-once): Restore the current
2724 buffer after querying (bug#9074).
2725
0e6a2bd7
LMI
2726 * dired.el (dired-flagged): Use different faces for marked and
2727 flagged files (bug#6117).
2728
ce887515
LMI
2729 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2730 (bug#4433).
2731
92f2affc
LMI
2732 * ido.el (ido-mode): Switch off the message if called
2733 non-interactively.
2734
57d5aff0
LMI
2735 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2736 before 587, since it appears that that's more likely to work for
2737 more people.
2738
98cd6c18
LMI
2739 * cus-edit.el (custom-file): When running under emacs -q, always
2740 refuse to save the customisations, even if the .emacs file doesn't
2741 exist.
2742
b96dec83
LMI
2743 * info.el: Remove the `Info-beginning-of-buffer' function
2744 (bug#8325).
2745
b796c9b7
SM
2746 * net/network-stream.el (network-stream-open-starttls):
2747 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2748
d90e2ea0
MR
27492011-08-01 Martin Rudalics <rudalics@gmx.at>
2750
2751 * window.el (display-buffer-in-window): Don't set dedicated status
2752 of window here (Bug#9215).
2753 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2754 (display-buffer-pop-up-side-window)
b796c9b7 2755 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2756
cca09170
SM
27572011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2760 before binding generated-autoload-file.
2761
027b979c
DD
27622011-08-01 Deniz Dogan <deniz@dogan.se>
2763
2764 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2765
3c7ee4f3
MA
27662011-07-30 Michael Albinus <michael.albinus@gmx.de>
2767
2768 Sync with Tramp 2.2.2.
2769
2770 * net/trampver.el: Update release number.
2771
2cc8e51a
JL
27722011-07-30 Juri Linkov <juri@jurta.org>
2773
2774 * dired-aux.el (dired-touch-initial): Remove function.
2775 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2776 current time, and `default' to the last modification time of the
2777 current marked file (bug#6887).
2778
a514d856
JM
27792011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2780
2781 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2782 numeric argument to read-number (bug#9163).
a514d856 2783
8a7eddd7
MA
27842011-07-27 Michael Albinus <michael.albinus@gmx.de>
2785
2786 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2787 connection process, it could be nil.
2788
1ddd96f5
LL
27892011-07-27 Leo Liu <sdl.web@gmail.com>
2790
2791 Simplify url handling in rcirc-mode.
2792
2793 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2794 (rcirc-browse-url-at-mouse): Remove.
2795 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2796
b248a85d
AM
27972011-07-26 Alan Mackenzie <acm@muc.de>
2798
2799 Fontify bitfield declarations properly.
2800
2801 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2802 (c-symbol-chars): Now exported as a lang variable.
2803 (c-not-primitive-type-keywords): New lang variable.
2804
2805 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2806 QT keyword "more" to prevent "more slots: ...." being spuriously
2807 parsed as a bitfield declaraion.
2808
b796c9b7
SM
2809 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2810 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2811 (c-punctuation-in): New function.
2812 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2813 declarations properly.
2814
68575ab0
UJ
28152011-07-26 Ulf Jasper <ulf.jasper@web.de>
2816
2817 * calendar/icalendar.el (icalendar--all-events): Take care of
2818 multiple vcalendars in a single file.
b796c9b7 2819 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2820
0f0a88b9
DD
28212011-07-25 Deniz Dogan <deniz@dogan.se>
2822
2823 * image.el (insert-image): Clarifying docstring.
2824
0b3f36df
MA
28252011-07-24 Michael Albinus <michael.albinus@gmx.de>
2826
2827 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2828 `tramp-send-command-and-check' if there is no error.
2829 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2830
a9901f61
AM
28312011-07-22 Alan Mackenzie <acm@muc.de>
2832
2833 Prevent cc-langs.elc being loaded at run time.
2834
2835 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2836 cc-langs.
2837
4d61f28d 2838 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2839 "(require 'cc-langs)". Quote a form so it will evaluate at
2840 (cc-mode's) compilation time.
2841
11d074b2
MA
28422011-07-22 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2845 loading. (Bug#9114)
2846
938b94c8
MR
28472011-07-21 Martin Rudalics <rudalics@gmx.at>
2848
2849 * window.el (display-buffer-pop-up-window)
2850 (display-buffer-pop-up-side-window)
2851 (display-buffer-in-side-window): Call display-buffer-set-height
2852 and display-buffer-set-width after setting the new window's
b796c9b7 2853 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2854
bfa4f190
SS
28552011-07-20 Sam Steingold <sds@gnu.org>
2856
2857 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2858 (etags-tags-included-tables): Call `convert-standard-filename' on
2859 the file names contained in TAGS so that windows Emacs can handle
2860 TAGS files created by cygwin ctags.
2861
8ca42262
LMI
28622011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2863
2864 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2865 which apparently didn't work.
2866
5db2afd2 28672011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2868
5db2afd2
RW
2869 * proced.el (proced-send-signal): For *Marked Processes* buffer
2870 put point at beginning of buffer.
2871
92e15d10
SB
28722011-07-19 Stephen Berman <stephen.berman@gmx.net>
2873
2874 * proced.el (proced-format): Make header lines align with the text
2875 (bug#1779).
2876
1bfd59e5
LMI
28772011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2878
2879 * view.el (view-buffer): Allow running in `special' modes if we're
2880 visiting a file (bug#8615).
2881
f5aae37c
MR
28822011-07-19 Martin Rudalics <rudalics@gmx.at>
2883
2884 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2885 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2886 New functions.
f5aae37c
MR
2887 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2888 more accurately.
2889
bf2c1571
AM
28902011-07-18 Alan Mackenzie <acm@muc.de>
2891
2892 Fontify declarators properly when, e.g., a jit-lock chunk begins
2893 inside a declaration.
2894
2895 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2896
b796c9b7
SM
2897 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2898 New function.
bf2c1571
AM
2899 (c-complex-decl-matchers): Insert reference to
2900 c-font-lock-enclosing-decls.
2901
2902 * progmodes/cc-engine.el (c-backward-single-comment):
2903 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2904 to nil around calls to (forward-comment -1).
2905
4e190b80
LMI
29062011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2907
12dc863d
LMI
2908 * image.el (put-image): Doc typo fix.
2909
a762e966
LMI
2910 * progmodes/etags.el (tags-search): Doc typo fix.
2911
4e190b80
LMI
2912 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2913 password if we get errors 550 to 554.
2914
f019fb21
LMI
29152011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2916
b796c9b7 2917 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2918
81746738
LMI
2919 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2920 indentation character (bug#6380).
2921
3ee3a1b5
LMI
2922 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2923
c82f64de
LMI
2924 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2925 to clarify what the problem is (bug#4291).
2926
f019fb21
LMI
2927 * simple.el (current-kill): Clarify what
2928 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2929 (auto-fill-mode): Document `auto-fill-function' in relation to
2930 `auto-fill-mode' (bug#2470).
f019fb21 2931
0794775d
LM
29322011-07-16 Lawrence Mitchell <wence@gmx.li>
2933
2934 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2935 method if slot is read-only (bug#9035).
2936
be39b8cc
MR
29372011-07-16 Martin Rudalics <rudalics@gmx.at>
2938
b796c9b7 2939 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2940 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2941 selected before, see discussion of (Bug#8615), (Bug#6954).
2942 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2943
6ccf7859
GM
29442011-07-15 Glenn Morris <rgm@gnu.org>
2945
2946 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2947 Respect help-form.
6ccf7859 2948
87e86684
LM
29492011-07-09 Lawrence Mitchell <wence@gmx.li>
2950
2951 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2952 (gnutls-negotiate): Use it.
2953
d6066239
LMI
29542011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2955
b796c9b7
SM
2956 * net/gnutls.el (gnutls-negotiate):
2957 Upcase `gnutls-algorithm-priority'.
d6066239 2958
bd23ebc0
GM
29592011-07-15 Glenn Morris <rgm@gnu.org>
2960
c65bca65
GM
2961 * jka-compr.el (jka-compr-verbose): Move from here...
2962 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2963 Add missing :version tag.
2964 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2965
478615cc
LMI
29662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2967
7b41decb
LMI
2968 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2969 (gnutls-negotiate): Use it.
2970
dbc44fcd
LMI
2971 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2972
06789f97
LMI
2973 * info.el (Info-beginning-of-buffer): New command.
2974 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2975 announcing `b' as the key (bug#8325).
ab896c37 2976 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2977
c39da690
LMI
2978 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2979
3aa5f34b
LMI
2980 * international/mule-cmds.el
2981 (describe-specified-language-support): Make the error message
2982 clearer (bug#8905).
2983
4bf0979f
LMI
2984 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2985
478615cc
LMI
2986 * isearch.el (isearch-barrier): Add a doc string, since it's
2987 mentioned in a function doc string (bug#8678).
2988
75c68aa1
MR
29892011-07-15 Martin Rudalics <rudalics@gmx.at>
2990
2991 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2992 buffer argument (Bug#9083) and self-identifying label argument.
2993
a7c33da2
GM
29942011-07-15 Glenn Morris <rgm@gnu.org>
2995
2996 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2997
2f5c6024
LMI
29982011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2999
3000 * man.el (Man-fontify-manpage): Fix message when formatting the
3001 man page (bug#7929).
3002
0bb23927 30032011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3004
3005 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3006 argument LRM; if non-nil, append an invisible LRM character to the
3007 buffer name.
3008 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3009 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3010 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3011 paragraph direction.
cce4b0a7 3012
621ef9ab
LMI
30132011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3014
d1583c48
LMI
3015 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3016 the man page name (bug#7929).
3017
6a57fb5f
LMI
3018 * image.el (put-image): Mention the `put-image' overlay property
3019 (bug#7834).
3020
d7956b14
LMI
3021 * scroll-bar.el (set-scroll-bar-mode): Mention that
3022 `scroll-bar-mode' lists the values (bug#7772).
3023
5b2d4a66
LMI
3024 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3025 command (bug#7729).
3026
7509a874
LMI
3027 * rect.el (apply-on-rectangle): Return the point after the last
3028 operation.
3029 (string-rectangle): Go to the point after the last operation
3030 (bug#7522).
3031
4fe74b19
LMI
3032 * printing.el (pr-toggle-region): Clarify the documentation
3033 slightly (bug#7493).
3034
b796c9b7
SM
3035 * time.el (display-time-update):
3036 Allow `display-time-mail-function' to return nil (bug#7158).
3037 Fix suggested by Detlev Zundel.
ab283561 3038
fc233c9d
LMI
3039 * vc/diff.el (diff): Clarify the order the file names are read
3040 (bug#7111).
3041
43f5740b
LMI
3042 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3043 the doc string (bug#7015).
3044
f2182a76
LMI
3045 * font-lock.el (font-lock-maximum-decoration): Mention what
3046 numeric levels mean (bug#6935).
3047
621ef9ab
LMI
3048 * startup.el (initial-buffer-choice): Don't mention the `none'
3049 selection, which is against policy.
3050
adc47434
MR
30512011-07-14 Martin Rudalics <rudalics@gmx.at>
3052
b796c9b7
SM
3053 * window.el (display-buffer-normalize-special):
3054 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3055
7e5bfb8f
EZ
30562011-07-14 Eli Zaretskii <eliz@gnu.org>
3057
3058 * subr.el (version<, version<=, version=): Mention "-CVS" and
3059 "-12345" alpha version numbers.
3060
27fa387a
CY
30612011-07-14 Chong Yidong <cyd@stupidchicken.com>
3062
3063 * bindings.el: Add advertised binding for set-mark-command
3064 (Bug#5772).
3065
8bdfa064
CY
30662011-07-14 Chong Yidong <cyd@stupidchicken.com>
3067
3068 * bindings.el (mode-line-other-buffer):
3069 * bookmark.el (bookmark-bmenu-2-window):
3070 * bs.el (bs-cycle-next, bs-cycle-previous):
3071 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3072 switch-to-buffer.
3073
3074 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3075 Delete.
8bdfa064 3076
5eba16a3
JB
30772011-07-14 Juanma Barranquero <lekktu@gmail.com>
3078
3079 * follow.el (follow-debug-message, follow-redisplay):
3080 * jka-cmpr-hook.el (with-auto-compression-mode):
3081 Fix typos in docstrings.
3082
15853710
LMI
30832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3084
a28e4607
LMI
3085 * subr.el (with-silent-modifications): Clarify somewhat what the
3086 macro inhibits (bug#6525).
3087
15853710
LMI
3088 * simple.el (eval-expression): Note what it does if called
3089 interactively (bug#6495).
3090
bee0fcef
CY
30912011-07-13 Chong Yidong <cyd@stupidchicken.com>
3092
b796c9b7
SM
3093 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3094 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3095
3096 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3097 Remove switch-to-buffer.
3098
58274504
LMI
30992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3100
bd2fcc8d
LMI
3101 * files.el (make-directory): Clarify that an error will be raised
3102 if there's an error (bug#6397).
3103
0f04b32c
LMI
3104 * startup.el (initial-buffer-choice): Add `none' as a choice
3105 (bug#6234).
3106
465c5fc8
LMI
3107 * subr.el (add-hook): Clarify section about buffer-local hooks
3108 (bug#6218).
3109
58274504
LMI
3110 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3111
bead9a43
JB
31122011-07-13 Juanma Barranquero <lekktu@gmail.com>
3113
3114 * tabify.el (untabify): Preserve the current column so that point
3115 doesn't move (bug#6032).
3116
3af98a7b
LMI
31172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3118
b796c9b7
SM
3119 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3120 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3121
6240145a
GM
31222011-07-13 Glenn Morris <rgm@gnu.org>
3123
3124 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3125 (dired-insert-directory): Give a message the first time
3126 if ls is found not to support --dired.
3127
1d8c2ccc
LMI
31282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3129
3130 * simple.el (toggle-truncate-lines): Clarify what is toggled
3131 (bug#5580). Text by Drew Adams.
3132
5fc4038e
CY
31332011-07-13 Chong Yidong <cyd@stupidchicken.com>
3134
3135 * simple.el (blink-matching-open): Make the error message from the
3136 last change less verbose.
3137
bf6012e5
DN
31382011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3139
3140 * font-lock.el (font-lock-comment-face): Use the high contrast
3141 "yellow" color for font-lock-comment-face on low color terminals
3142 using a dark background color (bug#4221).
3143
343c3b5a
LMI
31442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3145
7e9505c5
LMI
3146 * dired.el (dired-insert-set-properties): Make the doc string
3147 reflect what it does now (bug#5325).
3148
c26fdcf5
LMI
3149 * simple.el (blink-matching-open): Say that we were unable to find
3150 the match within the limit, if we're limited (bug#5122).
3151
bb388cc5
LMI
3152 * international/mule-cmds.el (prefer-coding-system): Add an
3153 example (bug#4869).
3154
343c3b5a
LMI
3155 * progmodes/etags.el (tags-search): Document `file-list-form'
3156 (bug#4731).
3157
2a517d45
LM
31582011-07-13 Lawrence Mitchell <wence@gmx.li>
3159
3160 * net/browse-url.el (browse-url-default-browser)
3161 (browse-url-browser-function): Make the default browser choice a
3162 bit more logical (bug#4300). Also clean up the doc string.
3163
b6c78ef2
JB
31642011-07-13 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3167 binary endings (bug#4440).
3168
1c4dd947
LMI
31692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3170
a2014063
LMI
3171 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3172 which can be pretty annoying (bug#8971).
3173
9c9c2d88
LMI
3174 * jka-compr.el (jka-compr-verbose): New variable, and use
3175 throughout (bug#8971).
3176
1c4dd947
LMI
3177 * info.el (Info-find-file): Fall back on the installation
3178 directory if we can't find the info node anywhere else.
3179
a1c9f41b
SO
31802011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3181
3182 * vc/vc.el (vc-revert-file):
3183 Don't set file time-stamp in the past. (Bug#5181)
3184
536f3d36
LMI
31852011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3186
7152b011
LMI
3187 * files.el (after-find-file): Give a better error message when
3188 trying to find a symlink that points to a file that doesn't exist
3189 (bug#4398).
3190
536f3d36
LMI
3191 * progmodes/cc-vars.el: Remove (probably) misleading comment
3192 (bug#4396).
3193
460c0fba
JB
31942011-07-12 Johan Bockgård <bojohan@gnu.org>
3195
3196 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3197
7a6bda45
CY
31982011-07-12 Chong Yidong <cyd@stupidchicken.com>
3199
3200 * mouse-sel.el: Hack restoring functionality, while keeping
3201 compatibility with 2010-07-03 changes to mouse selection.
3202 (mouse-sel-primary-overlay): New var.
3203 (mouse-sel-selection-alist): Use it.
3204 (mouse-sel-mode): Doc fix; remove points that are default features
3205 of mouse.el.
3206
c79598ef
JB
32072011-07-12 Johan Bockgård <bojohan@gnu.org>
3208
3209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3210 Fix previous fix (bug#2490).
3211
ff8be6ef
RW
32122011-07-12 Roland Winkler <winkler@gnu.org>
3213
b796c9b7
SM
3214 * textmodes/bibtex.el (bibtex-initialize):
3215 Use pop-to-buffer-same-window.
ff8be6ef
RW
3216 (bibtex-search-entries): Fix interactive call.
3217
296ba3ee
LMI
32182011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3219
f5242a02 3220 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3221 Fontise bytecomp Error lines more correctly (bug#2490).
3222 Fix suggested by Johan Bockgård.
f5242a02 3223
296ba3ee
LMI
3224 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3225
3226 * dired-x.el (dired-guess-default): Use `delete-dups'.
3227
f69fd0d2
CY
32282011-07-12 Chong Yidong <cyd@stupidchicken.com>
3229
3230 * dired.el (dired-mark-prompt):
3231 * dired-aux.el (dired-read-shell-command): Doc fix.
3232
eab5dc07
LMI
32332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3234
b796c9b7
SM
3235 * mail/sendmail.el (sendmail-query-once):
3236 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3237 emacs -Q.
3238
3239 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3240
eab5dc07
LMI
3241 * cus-edit.el (custom-file): Take an optional no-error variable.
3242 (customize-save-variable): Set the variable, and give a warning if
3243 running under "emacs -q".
3244
a1e65d42
JB
32452011-07-11 Juanma Barranquero <lekktu@gmail.com>
3246
3247 * loadhist.el (unload-feature-special-hooks):
3248 Add `auto-coding-functions', `fill-nobreak-predicate' and
3249 `find-directory-functions' (bug#5327).
3250
1d52da10
LMI
32512011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3252
be958f1d
LMI
3253 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3254
5bedb26c
LMI
3255 * cus-edit.el (custom-guess-name-alist): -alist variables should
3256 use the `alist' type (bug#3120). Suggested by Drew Adams.
3257
1d52da10
LMI
3258 * printing.el: Add documentation to all the `pr-toggle-' commands.
3259
481a51b6
LL
32602011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3261
3262 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3263 backends where it makes sense (bug#2623).
3264
dcc88d8a
LMI
32652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3266
c3de9feb
LMI
3267 * dired-x.el (dired-guess-default): Remove duplicate shell command
3268 entries (bug#2028).
8a93078b 3269 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3270 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3271
dcc88d8a
LMI
3272 * subr.el (remove-duplicates): New conveniency function.
3273
505e3645
LMI
32742011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3275
3276 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3277 (bug#1526).
3278
32792011-07-10 Martin Rudalics <rudalics@gmx.at>
3280
3281 * window.el (display-buffer-normalize-default): Don't invert
3282 meaning of even-window-heights. Reported by Eli Zaretskii
3283 <eliz@gnu.org>.
3284
455e4fa1
BR
32852011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3286
3287 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3288
8e0bc3e9
CY
32892011-07-10 Chong Yidong <cyd@stupidchicken.com>
3290
3291 * window.el (display-buffer): Fix arguments to
3292 display-buffer-reuse-window in last change.
3293
fa7c3228
CY
3294 * faces.el (link): Use a less saturated blue on light backgrounds.
3295
3296 * startup.el (fancy-startup-text, fancy-about-text)
3297 (fancy-startup-tail): Use font-lock faces, for background safety.
3298
c0a7f300
BN
32992011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3300
b796c9b7
SM
3301 * emulation/viper-cmd.el (viper-change-state-to-vi):
3302 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3303
4dc2a129
MR
33042011-07-09 Martin Rudalics <rudalics@gmx.at>
3305
3306 * window.el (display-buffer-default-specifiers): Remove.
3307 (display-buffer-macro-specifiers): Remove default specifiers.
3308 (display-buffer-alist): Default to nil.
b796c9b7 3309 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3310 (display-buffer-pop-up-window): Allow splitting internal
3311 windows. Check whether a live window was created.
3312 (display-buffer-other-window-means-other-frame)
3313 (display-buffer-normalize-arguments): Rename to
3314 display-buffer-normalize-argument and rewrite. Set the
3315 other-window specifier.
3316 (display-buffer-normalize-special): New function.
3317 (display-buffer-normalize-options): Rename to
3318 display-buffer-normalize-default and rewrite.
3319 (display-buffer-normalize-options-inhibit): Remove.
3320 (display-buffer-normalize-specifiers): Rewrite.
3321 (display-buffer): Process other-window specifier and call
3322 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3323 more faithfully.
b796c9b7 3324 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3325 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3326 (display-buffer-in-window, display-buffer-alist-set):
3327 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3328 <tassilo@member.fsf.org>.
3329
2d43b8c9
LL
33302011-07-09 Leo Liu <sdl.web@gmail.com>
3331
3332 * register.el (insert-register): Restore accidental change on
3333 2011-06-26. (Bug#9028)
3334
7f9b7c53
GM
33352011-07-09 Glenn Morris <rgm@gnu.org>
3336
3337 * subr.el (remq): Handle the empty list. (Bug#9024)
3338
f042cfd8
AS
33392011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3340
3341 * mail/sendmail.el (send-mail-function): No longer delay custom
3342 initialization.
3343 * custom.el (custom-initialize-delay): Doc fix.
3344
856b2f11
SM
33452011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3348
afae1d68
MA
33492011-07-08 Michael Albinus <michael.albinus@gmx.de>
3350
3351 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3352 human-friendly prompt.
3353
0757af94
SM
33542011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3357 provided by a particular plugin.
3358
d760b731
LMI
33592011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3360
3361 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3362 save customizations (with "emacs -Q"), just set the variable
3363 instead of erroring out.
3364
3365 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3366
cd79ce90
JL
33672011-07-08 Juri Linkov <juri@jurta.org>
3368
3369 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3370 (archive-zip-update-case): Use 7z if found by `executable-find'.
3371 The order of searching the available programs is the same as in
3372 `archive-zip-extract' (bug#8968).
3373
14cc04aa
CY
33742011-07-07 Chong Yidong <cyd@stupidchicken.com>
3375
3376 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3377 (menu-bar-options-menu): Tweak descriptions.
3378
0a1848ec
LMI
33792011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3380
3381 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3382 menu items into verb phrases (bug#1421). Also refill to fit under
3383 80 columns.
3384
f5bd0689
CY
33852011-07-07 Chong Yidong <cyd@stupidchicken.com>
3386
538e85c6
CY
3387 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3388 (Info-read-node-name): Doc fix (Bug#1084).
3389
f5bd0689
CY
3390 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3391 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3392 (end-of-sexp, beginning-of-sexp)
3393 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3394 (forward-symbol, forward-same-syntax, word-at-point)
3395 (sentence-at-point): Doc fix (Bug#1144).
3396
56ec5115
LMI
33972011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3398
f3f8e37f
LMI
3399 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3400 should cover it (bug#1281).
3401
0757af94 3402 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3403
12b9eb35
LMI
3404 * net/network-stream.el (network-stream-open-starttls): If gnutls
3405 negotiation fails, then possibly try again with a non-encrypted
3406 connection (bug#9017).
3407
56ec5115
LMI
3408 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3409 be used.
3410
c2f9aec8
RS
34112011-07-07 Richard Stallman <rms@gnu.org>
3412
3413 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3414 property, and handle its changed format.
3415 Look for the correct line number.
3416 Use file's line contents (but not past first =) to find
3417 correct line in message.
3418
ef7b981d 34192011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3420
3421 * international/characters.el (build-unicode-category-table):
3422 Delete it.
0757af94 3423 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3424
0757af94 3425 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3426 to src/chartab.c.
3427 (get-char-code-property): Call unicode-property-table-internal to
3428 load a file. Call get-unicode-property-internal where necessary.
3429 (put-char-code-property): Call unicode-property-table-internal to
3430 load a file. Call put-unicode-property-internal where necessary.
3431 put-unicode-property-internal where necessary.
0757af94
SM
3432 (char-code-property-description):
3433 Call unicode-property-table-internal to load a file.
c805dec0
KH
3434
3435 * international/charprop.el:
3436 * international/uni-bidi.el:
3437 * international/uni-category.el:
3438 * international/uni-combining.el:
3439 * international/uni-comment.el:
3440 * international/uni-decimal.el:
3441 * international/uni-decomposition.el:
3442 * international/uni-digit.el:
3443 * international/uni-lowercase.el:
3444 * international/uni-mirrored.el:
3445 * international/uni-name.el:
3446 * international/uni-numeric.el:
3447 * international/uni-old-name.el:
3448 * international/uni-titlecase.el:
3449 * international/uni-uppercase.el: Regenerate.
3450
3451 * loadup.el: Load international/charprop.el before
3452 international/characters.
3453
e14b388a
CY
34542011-07-07 Chong Yidong <cyd@stupidchicken.com>
3455
3456 * window.el (next-buffer, previous-buffer): Signal an error if
3457 called from a minibuffer window.
3458
3459 * bindings.el: Revert 2011-07-04 change.
3460
354cf0ba
RS
34612011-07-06 Richard Stallman <rms@gnu.org>
3462
3463 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3464 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3465 Treat markers like ints.
3466 (rmail-mime-entity): Doc fix.
3467
a48868a7
LMI
34682011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3469
4906cd3d
LMI
3470 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3471 defcustom again for backwards compatibility.
3472
e0457abe
LMI
3473 * simple.el (shell-command-on-region): Fill.
3474
d67f7e1f
LMI
3475 * dired-aux.el (dired-kill-line): Add a doc string.
3476
fe204702
LMI
3477 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3478 to "\\sw\\|\\s_" (bug#358).
3479
a48868a7
LMI
3480 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3481 (dired-unmark-backward): Ditto.
3482 (dired-flag-backup-files): Ditto.
3483
3484 * dired-x.el (dired-mark-sexp): Ditto.
3485
aa8a705c
RS
34862011-07-06 Richard Stallman <rms@gnu.org>
3487
3488 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3489 (rmail-mime-entity): New arg TRUNCATED.
3490 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3491 New functions.
3492 (rmail-mime-save): Warn if entity is truncated.
3493 (rmail-mime-toggle-hidden): Likewise, for showing.
3494 (rmail-mime-process-multipart): Record when an entity is truncated.
3495
a9a936b9
RS
3496 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3497 if ENTITY is a string.
3498
1f2b92cb
LMI
34992011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3500
f4f73198 3501 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3502 of faces when `M-C-x'-ing their definitions (bug#8378).
3503 Also clean up the code slightly.
f4f73198 3504
12b16734
LMI
3505 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3506 because that makes the colours go away.
3507
f0691d22
LMI
3508 * mail/sendmail.el (send-mail-function): Change the default to
3509 `sendmail-query-once'.
9e87df06 3510 (sendmail-query-once): Add an autoload cookie.
f0691d22 3511
1f2b92cb
LMI
3512 * net/network-stream.el (network-stream-open-starttls): Try using
3513 a plain connection even if the server offered STARTTLS, and we
3514 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3515 capability. This should make smtpmail.el work in slightly more
3516 configurations.
3517
1cdd2a1b
MA
35182011-07-06 Michael Albinus <michael.albinus@gmx.de>
3519
3520 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3521 New defun.
3522 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3523
fbcc67e2
MM
35242011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3525
3526 * progmodes/sql.el: Version 3.0
0757af94 3527 (sql-product-alist): Add product :completion-object,
fbcc67e2 3528 :completion-column, and :statement attributes.
0757af94 3529 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3530 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3531 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3532 ansi keywords.
3533 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3534 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3535 (sql-oracle-show-reserved-words): New function for development.
3536 (sql-product-font-lock): Simplify for source code buffers.
3537 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3538 New functions.
3539 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3540 (sql-mode-map): Add statement movement functions.
3541 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3542 New variable.
fbcc67e2
MM
3543 (sql-statement-regexp, sql-beginning-of-statement)
3544 (sql-end-of-statement, sql-signum): New functions.
0757af94 3545 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3546 (sql-show-sqli-buffer): Bug fix.
3547 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3548 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3549 with sql-interactive-mode.
3550 (sql-save-connection): Save buffer local settings.
0757af94 3551 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3552 (sql-product-interactive): Bug fix.
3553 (sql-preoutput-hold): New variable.
3554 (sql-interactive-remove-continuation-prompt): Bug fixes.
3555 (sql-debug-redirect): New variable.
3556 (sql-str-literal): New function.
3557 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3558 Redesign.
fbcc67e2
MM
3559 (sql-oracle-save-settings, sql-oracle-restore-settings)
3560 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3561 (sql-completion-object, sql-completion-column)
3562 (sql-completion-sqlbuf): New variables.
3563 (sql-build-completions-1, sql-build-completions)
3564 (sql-try-completion): New functions.
3565 (sql-read-table-name): Use them.
3566 (sql-contains-names): New buffer local variable.
3567 (sql-list-all, sql-list-table): Use it.
3568 (sql-oracle-completion-types): New variable.
3569 (sql-oracle-completion-object, sql-sqlite-completion-object)
3570 (sql-postgres-completion-object): New functions.
3571
d4eaeab1
GM
35722011-07-06 Glenn Morris <rgm@gnu.org>
3573
3574 * window.el (pop-to-buffer): Doc fix.
3575
322b7dab 35762011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3577
3578 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3579
322b7dab 35802011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3581
322b7dab 3582 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3583
322b7dab 3584 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3585
605dd5bf
CY
35862011-07-05 Chong Yidong <cyd@stupidchicken.com>
3587
3588 * button.el (button): Inherit from link face. Suggested by Dan
3589 Nicolaescu.
3590
7dbfa719
SM
35912011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3db614b0
SM
3593 * progmodes/gdb-mi.el: Fit in 80 columns.
3594 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3595 switch-to-buffer.
3596
7dbfa719
SM
3597 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3598 if imenu is simply not configured (bug#8941).
3599
919d884a
KM
36002011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3601
3602 * allout.el (allout-post-undo-hook): New allout outline-change
3603 event hook to signal undo activity.
3604 (allout-post-command-business): Run allout-post-undo-hook if an
3605 undo just occurred.
7dbfa719
SM
3606 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3607 * allout-widgets.el (allout-widgets-after-undo-function):
3608 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3609 in the vicinity of an undo.
3610 (allout-widgets-mode): Include allout-widgets-after-undo-function
3611 on the new allout-post-undo-hook.
3612
450a0f09
SM
36132011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3616 Let define-derived-mode define it.
3617 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3618 cycles of abbrev-table inheritance (bug#8998).
3619
2de69e00
RW
36202011-07-05 Roland Winkler <winkler@gnu.org>
3621
3622 * textmodes/bibtex.el: Add support for biblatex.
3623 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3624 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3625 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3626 (bibtex-entry-alist, bibtex-field-alist): New variables.
3627 (bibtex-entry-field-alist): Obsolete alias for
3628 bibtex-BibTeX-entry-alist.
3629 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3630 (bibtex-set-dialect): New command.
3631 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3632 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3633 Bind via bibtex-set-dialect.
2de69e00
RW
3634 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3635 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3636 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3637 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3638 Define via bibtex-set-dialect.
450a0f09
SM
3639 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3640 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3641 (bibtex-vec-push, bibtex-vec-incr): New functions.
3642 (bibtex-format-entry, bibtex-field-list)
3643 (bibtex-print-help-message, bibtex-validate)
3644 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3645
2dcdbdd9
SM
36462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * progmodes/compile.el (compilation-goto-locus):
3649 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3650 * bs.el (bs-cycle-next, bs-cycle-previous):
3651 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3652 * bindings.el (mode-line-other-buffer):
3653 * autoinsert.el (auto-insert):
3654 * arc-mode.el (archive-extract):
3655 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3656
b27640fe
JB
36572011-07-05 Juanma Barranquero <lekktu@gmail.com>
3658
3659 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3660 Fix check of `emacs-lock-unlockable-modes'.
3661 Coerce true values of `emacs-lock--try-unlocking' to t.
3662
53bbe3ad
JB
36632011-07-05 Juanma Barranquero <lekktu@gmail.com>
3664
3665 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3666 * emacs-lock.el: New file.
3667
1d3cdbc7
JD
36682011-07-05 Julien Danjou <julien@danjou.info>
3669
3670 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3671 than `boundp' to check if face is set.
3672
9173deec
JB
36732011-07-05 Juanma Barranquero <lekktu@gmail.com>
3674
3675 * register.el (registerv-make):
3676 * window.el (window-min-height): Fix typos in docstrings.
3677
869795d6
JD
36782011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3679
9173deec 3680 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3681 Update doc string.
3682
b768cdcd
JB
36832011-07-04 Juanma Barranquero <lekktu@gmail.com>
3684
3685 * server.el (server-execute): Catch quit and call
3686 `server-return-error' to pass the error back to emacsclient and
3687 close the connection (bug#8942).
3688
13aa217b
KM
36892011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3690
3691 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3692 insecure exception for current topic. Also note that auto-saves
3693 are handled differently.
3694
3695 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3696 State variables for tracking auto-save inhibition situation.
3697
3698 (allout-write-contents-hook-handler): Rename from
3699 'allout-write-file-hook-handler', and describe how it depends on
3700 write-contents-functions sensitivity to non-nil value to prevent
3701 file write.
3702
3703 (allout-auto-save-hook-handler): Remove. auto-save does not check
3704 this in individual buffers, only in the starting buffer, so this
3705 is not the right way for us to inhibit auto-save in a buffer
3706 according to its condition.
3707
3708 (allout-mode): Use new allout-write-contents-hook-handler, and
3709 only with write-contents-functions. Remove auto-save provisions -
3710 they're implemented elsewhere.
3711
3712 (allout-before-change-handler): If undo is in progress, note that
3713 for attention of allout-post-command-business.
3714
3715 (allout-post-command-business): If the command we're following was
3716 an undo, check for change in the status of encrypted items and
3717 adjust auto-save inhibitions accordingly.
3718
3719 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3720 according to whether there are or aren't any plain-text topics
3721 pending encryption.
3722
2dcdbdd9
SM
3723 (allout-inhibit-auto-save-info-for-decryption):
3724 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3725 there are plain-text topics pending encryption.
3726
3727 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3728 buffer-saved-size and some allout state to not inhibit auto-saves
3729 if there are no longer any plain-text topics pending encryption.
3730
0757af94
SM
3731 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3732 No longer provide for exemption of the current topic.
13aa217b 3733
ac89b32c
JL
37342011-07-04 Juri Linkov <juri@jurta.org>
3735
3736 Add 7z operations to delete and save changed members (bug#8968).
3737 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3738 New defcustoms.
3739 (archive-7z-write-file-member): New function.
3740 (archive-7z-summarize): Fix the number of dashes in the
3741 listing output.
3742
8fa39615
SM
37432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3746 (bug#8958).
3747
2f11b3f1
CY
37482011-07-04 Chong Yidong <cyd@stupidchicken.com>
3749
d66fef2b
CY
3750 * bindings.el: Ignore next-buffer and previous-buffer in
3751 minibuffer-local-map.
3752
2f11b3f1
CY
3753 * font-lock.el (font-lock-builtin-face): Change light background
3754 color to dark slate blue (Bug#6693).
3755
f932a347
WD
37562011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3757
3758 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3759
c8af70e1
SM
37602011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3763 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3764 Add switch-to-buffer.
3765
f158badc
LMI
37662011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3767
3768 * isearch.el (isearch-search-fun-function): Clarify further the
3769 meaning of the function returned.
3770
6d95bd46
MA
37712011-07-04 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3774
3775 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3776 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3777 Use it.
3778 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3779 `tramp-default-remote-path' does not exist.
3780 (tramp-send-command-and-read): New optional argument NOERROR.
3781 (tramp-open-connection-setup-interactive-shell)
3782 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3783 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3784 (tramp-process-sentinel): Flush also process' connection property.
3785 (tramp-sh-handle-start-file-process): Do not set process
3786 sentinel. It is done now ...
3787 (tramp-maybe-open-connection): ... here. (Bug#8929)
3788
909e6b67
MK
37892011-07-04 MON KEY <monkey@sandpframing.com>
3790
3791 * play/animate.el (animate-string): Doc fixes and allow changing
3792 the buffer name (bug#5417).
3793
37942011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3795
c8af70e1 3796 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3797
f34755dc
PE
37982011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3799
396cec72
PE
3800 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3801 This is simpler and helps future-proof the code.
3802 (timer-until): Use time-subtract and float-time.
08235028 3803 (timer--time-less-p): Use time-less-p.
f34755dc 3804
56e6cc31
JB
38052011-07-04 Juanma Barranquero <lekktu@gmail.com>
3806
3abb79e5
JB
3807 * type-break.el (timep): Use the value of `float-time' to avoid a
3808 byte-compiler warning.
3809
56e6cc31
JB
3810 * server.el (server-eval-and-print): Return any result, even nil.
3811
7b9430b4
PE
38122011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3813
3814 * type-break.el: Accept time formats that the builtins accept.
3815 (timep, type-break-time-difference): Accept any format that
3816 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3817 This is simpler and helps future-proof the code.
3818 (type-break-time-difference): Round rather than ignoring
3819 subseconds components.
3820
3034e9e7
LMI
38212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3822
3823 * info.el (Info-apropos-matches): Make non-interactive, since it
3824 doesn't seem to do anything useful as a command (bug#8829).
3825
1485f4c0
CY
38262011-07-03 Chong Yidong <cyd@stupidchicken.com>
3827
3828 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3829 Move from faces.el.
1485f4c0
CY
3830 (frame-default-terminal-background): New function.
3831
3832 * custom.el (custom-push-theme): Don't record faces in `changed'
3833 theme; this doesn't work correctly for per-frame face settings.
3834 (disable-theme): Use face-set-after-frame-default to reset faces.
3835 (custom--frame-color-default): New function.
3836
9fa3dd45
LMI
38372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3838
c8af70e1 3839 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3840 (bug#8769).
3841
6cbbc20c
KR
38422011-03-29 Kevin Ryde <user42@zip.com.au>
3843
3844 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3845 `perl-Test2' extend to match possible "fail #N" rep count
3846 (bug#8377).
3847
c7f98048
LMI
38482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3849
65676592
LMI
3850 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3851 `smtpmail-via-smtp' now returns the error instead of nil.
3852
c7f98048
LMI
3853 * isearch.el (isearch-search-fun-function): Clarify the doc string
3854 (bug#8101).
3855
56e6cc31 38562011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3857
3858 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3859 unnecessary spaces (bug#8987).
3860
2b216704
LMI
38612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3862
3863 * net/network-stream.el (open-network-stream): Use the
3864 :end-of-capability command thoughout.
3865
38662011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3867
3868 * net/network-stream.el (open-network-stream): Add the
3869 :end-of-capability command parameter, used by pop3.el.
3870
36adf6ce
LMI
38712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3872
1ca0da0e
LMI
3873 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3874
fc00f69c
LMI
3875 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3876 for list)" (bug#6475).
3877
28fd8759 3878 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 3879 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
3880 an error (bug#6297).
3881
0dd8b6da
LMI
3882 * man.el (Man-reference-regexp): Allow matching possible
3883 word-wrapped references (bug#6289).
3884
ce1438d6
LMI
3885 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3886 for consistency with the other vc buffers (bug#6197).
3887 (vc-checkin): Ditto.
3888
3889 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3890
36adf6ce
LMI
3891 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3892
e83cc1f7
LMI
38932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3894
8a20ca4c
LMI
3895 * custom.el (defcustom): Clarify that :set is only used in the
3896 Customize user interface (bug#6089).
3897
83319045
LMI
3898 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3899 associated with a file, refuse to run instead of erroring out
3900 (bug#6084).
3901
a8392169
LMI
3902 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3903 the doc string, since it appears that using `fill-column' always
3904 controls the width (bug#7845).
3905
e83cc1f7
LMI
3906 * simple.el (shell-command-on-region): Say where the error output
3907 went if `shell-command-default-error-buffer' is set (bug#6857).
3908
e47ca23b
KM
39092011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3910
3911 * allout.el (allout-yank-processing): Adjust cursor position for
3912 backwards-deleted space.
3913
3914 (allout-rebullet-heading): Register changes with
3915 allout-exposure-changed-hook, so the modified topic is properly
3916 decorated.
3917
5cf56143
LMI
39182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3919
08549772
LMI
3920 * minibuffer.el (completion-in-region): Document PREDICATE
3921 (bug#7136).
3922
48e96771
LMI
3923 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3924 of keyword/argument pairs (bug#6904).
3925
c8af70e1
SM
3926 * replace.el (multi-occur):
3927 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3928
e17d05e2
LMI
39292011-07-02 Drew Adams <drew.adams@oracle.com>
3930
3931 * dired.el (dired-mark-if): Make the message about whether it's
3932 marking or unmarking clearer (bug#8523).
3933
063b0e45
LMI
39342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3935
3936 * disp-table.el (display-table-print-array): New function.
3937 (describe-display-table): Use it to print the vectors more pretty
3938 (Bug#8859).
3939
28545e04
MR
39402011-07-02 Martin Rudalics <rudalics@gmx.at>
3941
3942 * window.el (window-state-get-1): Don't assign clone numbers.
3943 Add clone-of item to list of window parameters.
3944 (window-state-put-2): Don't process clone numbers.
3945 (display-buffer-alist): Fix doc-string.
3946
3349e122
SM
39472011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * subr.el (remq): Don't allocate if it's not needed.
3950 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3951 (keymap--merge-bindings): New functions.
3952 (keymap-canonicalize): Use them to refine the canonicalization.
3953 * minibuffer.el (minibuffer-local-completion-map)
3954 (minibuffer-local-must-match-map): Move initialization from C.
3955 (minibuffer-local-filename-completion-map): Move initialization from C;
3956 don't inherit from anything here.
3957 (minibuffer-local-filename-must-match-map): Make obsolete.
3958 (completing-read-default): Use make-composed-keymap to combine
3959 minibuffer-local-filename-completion-map with either
3960 minibuffer-local-must-match-map or
3961 minibuffer-local-filename-completion-map.
3962
d224ac83
GM
39632011-07-01 Glenn Morris <rgm@gnu.org>
3964
3de63bf8
GM
3965 * type-break.el (type-break-time-sum): Use dolist.
3966
d224ac83
GM
3967 * textmodes/flyspell.el (flyspell-word-search-backward):
3968 Replace CL function.
3969
1a1e3f32
SM
39702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3971
fe3f64d5
SM
3972 * mouse.el (mouse--strip-first-event): New function.
3973 (function-key-map): Use it to map fringe clicks to normal clicks
3974 by default.
3975
eb604e34
SM
3976 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3977 (vc-bzr-revision-completion-table): Add support for annotate and date.
3978
1a1e3f32
SM
3979 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3980 inherit from parent.
3981
5bd35902
LMI
39822011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3983
ace6c69c 3984 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3985 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3986
191e2bed
LMI
3987 * dired.el (dired-mode): Fix up the doc string as suggested by
3988 Drew Adams (bug#8817).
3989
5bd35902
LMI
3990 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3991 cookie, since the manual says that it should be possible to add
3992 this function to `find-file-hook' (bug#8709).
3993
eee8207a
TZ
39942011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3995
3996 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3997 here. Noted Ted Zlatanov as the maintainer.
3998 (cfengine-common-settings, cfengine-common-syntax): New functions
3999 to set up common things between `cfengine-mode' and
4000 `cfengine3-mode'.
4001 (cfengine3-mode): New mode.
4002 (cfengine3-defuns cfengine3-defuns-regex
4003 (cfengine3-class-selector-regex cfengine3-category-regex)
4004 (cfengine3-vartypes cfengine3-font-lock-keywords)
4005 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4006 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4007
36b148cf
MA
40082011-07-01 Michael Albinus <michael.albinus@gmx.de>
4009
4010 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4011
4012 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4013
0bf4ba9a
MR
40142011-07-01 Martin Rudalics <rudalics@gmx.at>
4015
4016 * window.el (same-window-buffer-names, same-window-regexps)
4017 (same-window-p, special-display-frame-alist)
4018 (special-display-popup-frame, special-display-function)
4019 (special-display-buffer-names, special-display-regexps)
4020 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4021 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4022 (split-window-preferred-function, split-height-threshold)
4023 (split-width-threshold, even-window-heights)
4024 (display-buffer-mark-dedicated, window-splittable-p)
4025 (split-window-sensibly, window-safely-shrinkable-p):
4026 Un-obsolete.
4027 (display-buffer): Don't spread args with function specifier
4028 because special-display-popup-frame won't like it.
4029
35837f51
PE
40302011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4031
d0672f86
PE
4032 Time-stamp simplifications and fixes.
4033 These improve accuracy slightly, and future-proof the code
4034 against some potential changes to current-time format.
4035
b9444d97
PE
4036 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4037 by using time-since and float-time.
4038
0ef923dc
PE
4039 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4040 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4041 + NNN microseconds".
4042
2f81380d
PE
4043 * type-break.el (type-break-time-sum): Rewrite using time-add.
4044
845b5c3e
PE
4045 * play/hanoi.el (hanoi-current-time-float): Remove.
4046 All uses replaced by float-time.
4047
ee6f1be0
PE
4048 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4049 This yields a more-accurate answer.
4050 (rng-time-to-float): Remove; no longer needed.
4051
fe955043
PE
4052 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4053
5777162a
PE
4054 * calendar/timeclock.el (timeclock-seconds-to-time):
4055 Defalias to seconds-to-time, since they're the same thing.
4056
3103f8b6 4057 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4058 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4059 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4060
0e61a35f
SM
40612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * window.el (bury-buffer): Don't iconify the only frame.
4064 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4065 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4066
ddd63a1e
CY
40672011-07-01 Chong Yidong <cyd@stupidchicken.com>
4068
0e61a35f
SM
4069 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4070 Add mouse-yank-primary.
ddd63a1e 4071
055f4923
TZ
40722011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4073
4074 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4075
6a2fb145
SM
40762011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4079 (find-library-name): Use it to find relative load names when provided
4080 absolute file name (bug#8803).
4081
fd4983f2
LMI
40822011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4083
887d14ad
LMI
4084 * textmodes/flyspell.el (flyspell-word): Consider words that
4085 differ only in case as potential doublons (bug#5687).
4086
c53dc7fc
LMI
4087 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4088 Remove two rather uninteresting debugging-like messages to make
4089 debbugs.el more silent.
4090
fd4983f2
LMI
4091 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4092 a password-like phrase.
4093
b14c0c55
AM
40942011-06-30 Mastake YAMATO <yamato@redhat.com>
4095
4096 * progmodes/cc-guess.el: New file.
4097
6a2fb145 4098 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4099
4100 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4101 derived from `c-basic-common-init'.
4102
4103 * progmodes/cc-mode.el (top-level): Require cc-guess.
4104 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4105
1fa280a3
LM
41062011-06-30 Lawrence Mitchell <wence@gmx.li>
4107
4108 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4109
e6597158
AM
41102011-06-30 Alan Mackenzie <acm@muc.de>
4111
1fa280a3
LM
4112 * progmodes/cc-engine.el (c-guess-continued-construct):
4113 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4114 lock is disabled. Name this case as "CASE G".
4115
68ba37fb
KM
41162011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4117
4118 * allout.el (allout-yank-processing): Fix injection of extra space
4119 between bullet and non-whitespace character in first topic when
4120 pasting, ensuring that the actual spacing in the pasted topic
4121 following the bullet char is preserved. This extra space was
4122 causing pasted encrypted topics to get a decrypted status even
4123 when the content was actually still encrypted. Now the decryption
4124 status from before the paste is preserved.
4125
4126 (allout-flag-region): Set all allout overlays so they evaporate
4127 when reduced to zero length (evanescent), to prevent overlay
4128 leakage.
4129
887a0b34
GM
41302011-06-30 Glenn Morris <rgm@gnu.org>
4131
94b9acce
GM
4132 * w32-fns.el (w32-charset-info-alist): Declare.
4133
1d9b46d4
GM
4134 * find-dired.el (find-grep-options): Simplify.
4135
cc232200
GM
4136 * term/ns-win.el (ns-set-resource): Declare.
4137
28e77c46
GM
4138 * ses.el (row, col): Declare dynamic variables honestly.
4139
887a0b34
GM
4140 * textmodes/reftex-parse.el (index-tags): Declare.
4141
658d8eb8
CY
41422011-06-30 Chong Yidong <cyd@stupidchicken.com>
4143
4144 * cus-edit.el (customize-push-and-save): New function.
4145
4146 * files.el (hack-local-variables-confirm): Use it.
4147
1fa280a3
LM
4148 * custom.el (load-theme): New arg NO-CONFIRM.
4149 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4150 (custom-enabled-themes): Doc fix.
4151
4152 * cus-theme.el (customize-create-theme)
4153 (custom-theme-merge-theme): Callers to load-theme changed.
4154
bb617717
LMI
41552011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4156
d61bdd5d
LMI
4157 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4158 short URLs have at least one dot in them (bug #7614).
4159
bb617717
LMI
4160 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4161 nil, because using a pty is apparently too slow (bug #895).
4162
2f31f37a
LMI
41632011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4164
4165 * mail/sendmail.el (sendmail-query-once): New function.
4166 (sendmail-query-once-function): New variable.
4167
3076b24e
GM
41682011-06-29 Glenn Morris <rgm@gnu.org>
4169
faf2a174
GM
4170 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4171
3076b24e
GM
4172 * ses.el (top-level): Require cl when compiling.
4173 (ses-set-localvars): Fix error statement.
4174 Call it at compile time to silence a storm of warnings.
4175
5386012d
MR
41762011-06-29 Martin Rudalics <rudalics@gmx.at>
4177
4178 * window.el (normalize-live-buffer): Rename to
4179 window-normalize-buffer.
4180 (normalize-live-frame): Rename to window-normalize-frame.
4181 (normalize-any-window): Rename to window-normalize-any-window.
4182 (normalize-live-window): Rename to window-normalize-live-window.
4183 (make-window-atom): Rename to window-make-atom.
4184 (window-resize-reset): Rename to window--resize-reset.
4185 (window-resize-reset-1): Rename to window--resize-reset-1.
4186 (resize-mini-window): Rename to window--resize-mini-window.
4187 (resize-subwindows-skip-p): Rename to
4188 window--resize-subwindows-skip-p.
4189 (resize-subwindows-normal): Rename to
4190 window--resize-subwindows-normal.
4191 (resize-subwindows): Rename to window--resize-subwindows.
4192 (resize-other-windows): Rename to window--resize-siblings.
4193 (resize-this-window): Rename to window--resize-this-window.
4194 (resize-root-window): Rename to window--resize-root-window.
4195 (resize-root-window-vertically): Rename to
4196 window--resize-root-window-vertically.
4197 (normalize-buffer-to-display): Rename to
4198 window-normalize-buffer-to-display.
4199 (normalize-buffer-to-switch-to): Rename to
4200 window-normalize-buffer-to-switch-to.
4201 Correspondingly update all callers of the functions listed
4202 above.
4203 (display-buffer-alist, display-buffer-normalize-arguments)
4204 (display-buffer-normalize-options, display-buffer)
4205 (display-buffer-alist-set): Use "function" instead of
4206 "fun-with-args".
4207
1176868d
CY
42082011-06-28 Chong Yidong <cyd@stupidchicken.com>
4209
4210 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4211 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4212 debbugs.gnu.org. Mention acknowledgment email.
4213
20a7a65f
LMI
42142011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4215
4216 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4217 buffer multibyteness, since it shouldn't matter.
4218
5f45cca5
MR
42192011-06-28 Martin Rudalics <rudalics@gmx.at>
4220
4221 * window.el (display-buffer-in-side-window): Handle dedicated
4222 windows as in display-buffer-reuse-window.
4223 (display-buffer-normalize-alist): Use value of override
4224 specifier.
4225 (display-buffer-normalize-specifiers): Use value of
4226 other-window-means-other-frame specifier.
4227 (display-buffer-alist): Rewrite some texts in widgets.
4228 (display-buffer): Spread arguments when calling function
4229 specified by fun-with-args.
4230
ad85fe1f
DD
42312011-06-28 Deniz Dogan <deniz@dogan.se>
4232
1fa280a3
LM
4233 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4234 Unnest `let'.
da68c4c8 4235
ad85fe1f
DD
4236 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4237 selectors (Bug#5732).
ec49bd31 4238 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4239
a08cc025
JA
42402011-06-27 Jari Aalto <jari.aalto@cante.net>
4241
4242 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4243 (eshell-ls-date-format): New defcustom.
4244 (eshell-ls-file): Use it.
4245
e2b551c5
SM
42462011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4249
8982b231
KY
42502011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4251
4252 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4253 (ange-ftp-make-tmp-name): New arg.
4254 (ange-ftp-file-local-copy): Use it.
4255
36c9fa27
J
42562011-06-27 Jambunathan K <kjambunathan@gmail.com>
4257
4258 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4259 no-conversion (Bug#8870).
4260
d68443dc
MR
42612011-06-27 Martin Rudalics <rudalics@gmx.at>
4262
4263 * window.el (window-right, window-left, window-child)
4264 (window-child-count, window-last-child)
4265 (window-iso-combination-p, walk-window-tree-1)
4266 (window-atom-check-1, window-tree-1, delete-window)
4267 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4268 new naming conventions - window-vchild, window-hchild,
4269 window-next and window-prev are now called window-top-child,
4270 window-left-child, window-next-sibling and window-prev-sibling
4271 respectively.
d615d6d2
MR
4272 (resize-window-reset): Rename to window-resize-reset.
4273 (resize-window-reset-1): Rename to window-resize-reset-1.
4274 (resize-window): Rename to window-resize.
4275 (window-min-height, window-min-width)
4276 (resize-mini-window, resize-this-window, resize-root-window)
4277 (resize-root-window-vertically, adjust-window-trailing-edge)
4278 (enlarge-window, shrink-window, maximize-window)
4279 (minimize-window, delete-window, quit-restore-window)
4280 (split-window, balance-windows, balance-windows-area-adjust)
4281 (balance-windows-area, window-state-put-2)
4282 (display-buffer-even-window-sizes, display-buffer-set-height)
4283 (display-buffer-set-width, set-window-text-height)
4284 (fit-window-to-buffer): Rename all "resize-window" prefixed
4285 calls to use the "window-resize" prefix convention.
4286 (display-buffer-alist): Fix symbol for label specifier.
4287 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4288 corresponding specifier.
4289 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4290
b6458526
VB
42912011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4292
4293 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4294 convention.
4295 (ses-call-printer): Does not pass an empty string to formatter when the
4296 cell is empty to keep from barking printer Calc math-format-value.
4297
d31fd9ac
RS
42982011-06-27 Richard Stallman <rms@gnu.org>
4299
43d5bf84
RS
4300 * battery.el (battery-mode-line-limit): New variable.
4301 (battery-update): Handle it.
4302
d31fd9ac
RS
4303 * mail/rmailmm.el (rmail-mime-process-multipart):
4304 Handle truncated messages.
4305
819a6054
GM
43062011-06-27 Glenn Morris <rgm@gnu.org>
4307
4308 * progmodes/flymake.el (flymake-err-line-patterns):
4309 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4310
cedc73f2
VB
43112011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4312
819a6054 4313 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4314 (ses--clean-!, ses--clean-_): New functions.
4315 (ses-range): Add configurability of readout order, and conversion
4316 to Calc vector.
4317
5e5d49b6
VB
4318 * ses.el (ses-repair-cell-reference-all): New function.
4319 (ses-cell-symbol): Set macro as safe, so that it can be used in
4320 formulas.
4321
56e6cc31 4322 * ses.el: Update cycle detection algorithm.
90ca8b49 4323 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4324 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4325 (ses-set-localvars): New function.
4326 (ses-make-cell): Add property-list as a cell element.
4327 (ses-cell-property-get-fun, ses-cell-property-get)
4328 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4329 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4330 New functions.
90ca8b49
VB
4331 (ses-cell-property-set, ses-cell-property-pop)
4332 (ses-cell-property-get-handle): New macro.
4333 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4334 New aliases, used for code readability.
4335 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4336 cycle detection.
4337 (ses-self-reference-early-detection): New defcustom.
4338 (ses-formula-references): Robustify against self-refering cells.
4339 (ses-mode): Use ses-set-localvars.
4340 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4341 before lauching the update processing.
4342 (ses-initialize-Dijkstra-attempt): New function.
4343 (ses-recalculate-cell): Update for cycle detection based on
4344 Dijkstra algorithm.
4345
2bb63e81
VB
4346 * ses.el: Fix commenting and indenting convention.
4347
c9d29fb8
SM
43482011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * bs.el (bs-cycle-next): Complete last change.
4351
d8e4b68b
JB
43522011-06-27 Drew Adams <drew.adams@oracle.com>
4353
4354 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4355
40098786
LMI
43562011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4357
c9d29fb8
SM
4358 * net/network-stream.el (network-stream-open-starttls):
4359 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4360 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4361
40098786
LMI
4362 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4363 to binary to possibly avoid line encoding issues on Windows (among
4364 other things).
4365
468d09d4
LMI
43662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4367
4368 * net/network-stream.el (open-network-stream): Return an :error
4369 saying what the problem was, if possible.
4370
4371 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4372 server.
4373
4374 * net/network-stream.el (network-stream-open-starttls): If we
4375 wanted to use STARTTLS, and the server offered it, but we weren't
4376 able to because we had no STARTTLS support, then close the connection.
4377 (open-network-stream): Return an :error element, if present.
4378
16f07dd7
CY
43792011-06-26 Chong Yidong <cyd@stupidchicken.com>
4380
88821ca0
CY
4381 * hl-line.el (hl-line-sticky-flag): Doc fix.
4382 (global-hl-line-sticky-flag): New option (Bug#8323).
4383 (global-hl-line-highlight): Obey it.
4384
16f07dd7
CY
4385 * vc/vc.el (vc-revert-show-diff): Default to t.
4386
6b5ccddf
KM
43872011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4388
c9d29fb8
SM
4389 * allout-widgets.el (allout-widgets-post-command-business):
4390 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4391 undecorated when an isearch is continued past, and isearch
4392 automatically collapses them. This leads to "widget leaks", where
4393 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4394 hidden widgets can slow down cursor travel, substantially.
4395 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4396 so we're doing without this nicety.
4397
4398 (allout-widgets-tally-string): Don't try to do a hash-table-count
4399 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4400 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4401 *Messages* when allout-widgets-maintain-tally is t.
4402
355f2e07
MR
44032011-06-26 Martin Rudalics <rudalics@gmx.at>
4404
4405 * window.el (display-buffer-normalize-argument): Rename to
4406 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4407 LABEL argument. Respect special-display-function when popping up
4408 a new frame. Fix code searching for a window showing the buffer
4409 on another frame.
c9d29fb8
SM
4410 (display-buffer-normalize-specifiers):
4411 Call display-buffer-normalize-arguments.
355f2e07
MR
4412 (display-buffer-in-window): Don't undedicate the window if its
4413 buffer remains the same.
4414 Reported by Drew Adams <drew.adams@oracle.com>.
4415 (display-buffer-alist): Add choice for same-window macro
4416 specfier.
4417 (display-buffer): Mention special meaning of LABEL argument in
4418 doc-string. Fix quoting. Don't pop up a new frame even as
4419 fallback.
4420
7ca8fc42
JB
44212011-06-26 Juanma Barranquero <lekktu@gmail.com>
4422
4423 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4424 avoid deleting the current window in some cases (bug#8911).
4425
bc312254
AS
44262011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4427
4428 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4429 (Bug#8934)
4430
2db18f3f
LMI
44312011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4432
c9d29fb8
SM
4433 * net/network-stream.el (network-stream-open-starttls):
4434 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4435 (network-stream-open-tls): Ditto.
4436
6302e0d3
LL
44372011-06-26 Leo Liu <sdl.web@gmail.com>
4438
4439 * register.el (registerv): New struct.
4440 (registerv-make): New function.
c9d29fb8
SM
4441 (jump-to-register, describe-register-1, insert-register):
4442 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4443 struct. (Bug#8415)
4444
5fdd4046
CY
44452011-06-26 Chong Yidong <cyd@stupidchicken.com>
4446
2afef60a
CY
4447 * vc/vc.el (vc-revert-show-diff): New defcustom.
4448 (vc-diff-internal): New arg specifying diff buffer.
4449 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4450 reuse an existing *vc-diff* buffer (Bug#8927).
4451
5fdd4046
CY
4452 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4453
e93db24a
GM
44542011-06-26 Glenn Morris <rgm@gnu.org>
4455
4456 * progmodes/f90.el (f90-critical-indent): New option.
4457 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4458 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4459 (f90-mode): Doc fix.
4460 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4461 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4462 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4463 (f90-match-end): Handle block, critical.
4464
eefff499
GM
44652011-06-25 Glenn Morris <rgm@gnu.org>
4466
f6ba4cc9
GM
4467 * calendar/diary-lib.el (diary-included-files): Doc fix.
4468 (diary-include-files): New function, extracted from
4469 diary-include-other-diary-files and diary-mark-included-diary-files.
4470 (diary-include-other-diary-files, diary-mark-included-diary-files):
4471 Just call diary-include-files.
4472 (diary-mark-entries): Reset diary-included-files on first call.
4473
16712304
GM
4474 * calendar/diary-lib.el (diary-mark-entries)
4475 (diary-mark-included-diary-files):
4476 Visit included diary-files in temp buffers.
4477
5d8e0d43
GM
4478 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4479 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4480 (f90-start-block-re, f90-imenu-generic-expression)
4481 (f90-looking-at-program-block-start, f90-no-block-limit):
4482 Add support for submodules.
4483
ccf7a5d5
GM
4484 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4485 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4486
11fdef7d 44872011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4488
4489 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4490 buffer-file-type before setting its value, to avoid disastrous
eefff499 4491 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4492
74f53697
JB
44932011-06-25 Juanma Barranquero <lekktu@gmail.com>
4494
4495 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4496
4497 * ses.el (ses-unload-function):
4498 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4499
4500 * proced.el (proced-unload-function):
4501 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4502
18a4ce5e
AR
45032011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4504
4505 * server.el (server-create-window-system-frame): Add parameters arg.
4506 (server-process-filter): Doc fix. Handle frame-parameters.
4507
519d22cc
JB
45082011-06-25 Juanma Barranquero <lekktu@gmail.com>
4509
4510 Fix bug#8730, bug#8781.
4511
4512 * loadhist.el (unload--set-major-mode): New function.
4513 (unload-feature): Use it.
4514
4515 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4516 (python-unload-function): New function.
4517
c206f5b0
SM
45182011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4521
f9ad64f3
GS
45222011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4523
4524 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4525 the candidates list.
4526
7d0da90e
JB
45272011-06-24 Juanma Barranquero <lekktu@gmail.com>
4528
4529 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4530
14b4e83d
RS
45312011-06-23 Richard Stallman <rms@gnu.org>
4532
4533 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4534 (rmail-variables): Set next-error-move-function.
4535 (rmail-what-message): Take argument POS.
4536 (rmail-next-error-move): New function.
4537
273d2baf
SM
45382011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4541 messages for adjacent non-terminals.
4542
56c2cc9a
RS
45432011-06-23 Richard Stallman <rms@gnu.org>
4544
4545 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4546 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4547 (rmail-start-mail): Don't specify use of rmail-mail-return;
4548 that's done by mail-bury now.
4549 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4550
d59eb518
MA
45512011-06-23 Michael Albinus <michael.albinus@gmx.de>
4552
4553 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4554 SIZE is a number.
4555
02cfc6d6
MR
45562011-06-23 Martin Rudalics <rudalics@gmx.at>
4557
4558 * window.el (get-lru-window, get-mru-window)
4559 (get-largest-window): Never return a minibuffer window.
4560 (display-buffer-pop-up-window): Fix a bug that could lead to
4561 reusing the minibuffer window.
4562 (display-buffer): Pass original specifier argument to
4563 display-buffer-function instead of the normalized one.
4564 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4565
4e323265
LL
45662011-06-22 Leo Liu <sdl.web@gmail.com>
4567
4568 * minibuffer.el (completing-read-function)
4569 (completing-read-default): Move from minibuf.c
4570
7a70468f
RS
45712011-06-22 Richard Stallman <rms@gnu.org>
4572
50718fc2
RS
4573 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4574 to Rmail even if not started by a special Rmail command.
4575
7a70468f
RS
4576 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4577 Copy the buffer currently showing just one message.
4578
297dde5a
RW
45792011-06-22 Roland Winkler <winkler@gnu.org>
4580
4581 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4582 (bibtex-clean-entry): First delete the old key so that a
4583 customized algorithm for generating the new key does not get
4584 confused by the old key.
4585 (bibtex-url): Obey regexp of first step.
4586 (bibtex-search-entries): Do not use add-to-list with local
4587 list-var.
4588
97bb1093
LMI
45892011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4590
4591 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4592 stored a user name, then query for the password first, instead of
4593 waiting for SMTP to give an error message and the trying again.
4594
1c0f1a19
JD
45952011-06-22 Lawrence Mitchell <wence@gmx.li>
4596
4597 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4598 BUFFER in call-process.
4599
396f7c9d
LMI
46002011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4601
4602 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4603 QUIT twice.
ddb7ffee
LMI
4604 (smtpmail-try-auth-methods): Require user name and password from
4605 auth-source.
396f7c9d 4606
8998d1b3
MR
46072011-06-22 Martin Rudalics <rudalics@gmx.at>
4608
4609 * window.el (display-buffer-default-specifiers)
4610 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4611 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4612 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4613
4614 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4615 (special-display-frame-alist, special-display-popup-frame):
4616 Remove duplicate declarations. These are now in window.el.
4617
4ea31e07
LMI
46182011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4619
c9d29fb8
SM
4620 * mail/smtpmail.el (smtpmail-via-smtp):
4621 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4622 server supports it. SMTP servers that support STARTTLS commonly
4623 require it.
4624
4625 * net/network-stream.el (network-stream-open-starttls): Support
4626 upgrading to STARTTLS always, even if we don't have built-in support.
4627 (open-network-stream): Add the :always-query-capabilies keyword.
4628
95f41d9a
LMI
4629 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4630 upgrades with `open-network-stream', and rely solely on
4631 auth-source for all credentials. Big changes throughout the file,
4632 but in particular:
c9d29fb8
SM
4633 (smtpmail-auth-credentials): Remove.
4634 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4635 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4636 MAIL FROM, too.
95f41d9a 4637
c9d29fb8
SM
4638 * net/network-stream.el (network-stream-open-starttls):
4639 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4640 STARTTLS.
4641 (auth-source): Require.
4642 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4643 (network-stream-certificate): Change cert-cert to cert and
4644 cert-key to key.
4ea31e07 4645
065ec2c7
MA
46462011-06-21 Michael Albinus <michael.albinus@gmx.de>
4647
4648 * net/tramp-cache.el (top): Don't load the persistency file when
4649 "emacs -Q" has been called.
4650
cd93b359
DR
46512011-06-21 Tim Harper <timcharper@gmail.com>
4652
d8e4b68b
JB
4653 * term/ns-win.el (ns-initialize-window-system):
4654 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4655 resource to NO as it is not yet supported by the NS port.
4656
ae9c0411
JB
46572011-06-21 Juanma Barranquero <lekktu@gmail.com>
4658
4659 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4660 (list-dynamic-libraries): ...not here.
4661
7f3f739f
LL
46622011-06-21 Leo Liu <sdl.web@gmail.com>
4663
4664 * subr.el (sha1): Implement sha1 using secure-hash.
4665
327c8fb1
MR
46662011-06-21 Martin Rudalics <rudalics@gmx.at>
4667
4668 * window.el (display-buffer-alist): In default value do not
4669 enforce searching a window on any but the selected frame.
4670 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4671 (display-buffer-select-window): Remove function.
4672 (display-buffer-in-window): When a window on another frame gets
4673 reused, do not select it any more but just raise its frame if
4674 necessary (Bug#8851) and (Bug#8856).
4675 (display-buffer-normalize-options): Handle pop-up-frames related
4676 options more faithfully.
4677 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4678 window if it is on another frame.
c9d29fb8
SM
4679 (display-buffer-alist, display-buffer-default-specifiers):
4680 Don't make new frame unsplittable by default.
9e9de014
MR
4681 (display-buffer-normalize-argument): Fix doc-string typo and use
4682 'same-frame-other-window instead of 'other-window when associating
4683 with display-buffer-macro-specifiers.
327c8fb1 4684
7cf3f556
VB
46852011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4686
4687 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4688 New functions.
4689 (5x5-mode-map, 5x5-mode-menu): Bind them.
4690 (5x5-draw-grid): Tweak the solver's rendering.
4691
60a406cf
SM
46922011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4695 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4696
d8e4b68b 46972011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4698
4699 * menu-bar.el: Use function variable instead of switch-to-buffer.
4700 (menu-bar-select-buffer-function): New variable.
60a406cf 4701 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4702
478d6f95
SM
47032011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4704
4705 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4706 variable's status.
4707
ca530739
JD
47082011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4709
4710 * x-dnd.el (x-dnd-version-from-flags)
4711 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4712 and long as number (Bug#8899).
4713 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4714
bcd70d97
SM
47152011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4716
60a406cf 4717 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4718 (completion-try-completion, completion-all-completions): Compute the
4719 metadata argument if it's missing; make it optional (bug#8795).
4720
60a406cf 4721 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4722 (widget-complete): Use new :completion-function property.
4723 (widget-completions-at-point): New function.
4724 (default): Use :completion-function instead of :complete.
60a406cf
SM
4725 (widget-default-completions): Rename from widget-default-complete;
4726 Rewrite.
bcd70d97
SM
4727 (widget-string-complete, widget-file-complete, widget-color-complete):
4728 Remove functions.
4729 (file, symbol, function, variable, coding-system, color):
4730 * international/mule-cmds.el (default-input-method, charset)
4731 (language-info-custom-alist):
4732 * cus-edit.el (face): Use new property :completions.
4733
4734 * progmodes/pascal.el (pascal-completions-at-point): New function.
4735 (pascal-mode): Use it.
4736 (pascal-mode-map): Use completion-at-point.
4737 (pascal-toggle-completions): Make obsolete.
4738 (pascal-complete-word, pascal-show-completions):
4739 * progmodes/octave-mod.el (octave-complete-symbol):
4740 Redefine as obsolete alias.
4741 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4742 Signal absence of completion info for old Octave,
4743 (inferior-octave-complete): Redefine as obsolete alias.
4744 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4745 (meta-completions-at-point): Rename from meta-complete-symbol and
4746 adapt it for use on completion-at-point-functions.
4747 (meta-common-mode): Use it.
4748 (meta-looking-at-backward, meta-match-buffer): Remove.
4749 (meta-complete-symbol): Redefine as obsolete alias.
4750 (meta-common-mode-map): Use completion-at-point.
4751 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4752 (makefile-mode-map): Use completion-at-point.
4753 (makefile-completions-at-point): Rename from makefile-complete and
4754 adapt it for use on completion-at-point-functions.
4755 (makefile-mode): Use it.
4756 (makefile-complete): Redefine as obsolete alias.
4757
aebf69c8
DD
47582011-06-20 Deniz Dogan <deniz@dogan.se>
4759
4760 * net/rcirc.el: Delete trailing whitespaces once and for all.
4761
bfbbb27d
DC
47622011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4763
4764 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4765
d264a46b
CY
47662011-06-19 Chong Yidong <cyd@stupidchicken.com>
4767
4ca009e5
CY
4768 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4769
d264a46b
CY
4770 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4771
fbf5b3ce
MR
47722011-06-19 Martin Rudalics <rudalics@gmx.at>
4773
4774 * window.el (display-buffer-other-window-means-other-frame):
4775 Call display-buffer-normalize-alist.
4776 (display-buffer-normalize-specifiers-1): Rename to
4777 display-buffer-normalize-argument. New argument other-frame.
4778 Rewrite.
4779 (display-buffer-normalize-specifiers-2): Rename to
4780 display-buffer-normalize-options.
4781 (display-buffer-normalize-alist-1): New function.
4782 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4783 display-buffer-normalize-alist.
4784 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4785 (display-buffer-normalize-options-inhibit): New variable.
4786 (display-buffer-normalize-specifiers): Rewrite calling
4787 display-buffer-normalize-alist,
4788 display-buffer-normalize-argument, and
4789 display-buffer-normalize-options. Don't call the latter if
4790 display-buffer-normalize-options-inhibit is non-nil.
4791 (frame-auto-delete): New option.
4792 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4793 (window-list-no-nils, window-state-ignored-parameters)
4794 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4795 (window-state-put-1, window-state-put-2, window-state-put):
4796 New functions.
9a028c23
MR
4797 (display-buffer-normalize-options): Move special-display-p group
4798 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4799
6d10d800
CY
48002011-06-18 Chong Yidong <cyd@stupidchicken.com>
4801
6420d28b
CY
4802 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4803 groups (Bug#8776).
4804 (rx-submatch-n): New function.
4805 (rx): Document it.
4806
ddb8b596
CY
4807 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4808 (Bug#8768).
4809
4810 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4811
77080289
CY
4812 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4813
61dfb316
CY
4814 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4815 anytime existing face settings are present (Bug#8889).
4816
6d10d800
CY
4817 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4818 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4819 Remove unused argument.
4820
be3fb2b8
MR
48212011-06-18 Martin Rudalics <rudalics@gmx.at>
4822
bcd70d97
SM
4823 * window.el (display-buffer-default-specifiers):
4824 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4825 pop-up-window-min-width, and another reuse-window specifier
4826 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4827 (display-buffer-normalize-specifiers-2):
4828 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4829 pop-up-windows is unset. Add a reuse-window specifier for the
4830 case popping up a new window fails.
4831 (special-display-popup-frame): Remove double quoting.
28dec25a 4832 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4833
1c6d8c76
SM
48342011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4837 according to comint-completion-addsuffix.
4838
4839 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4840 (pcomplete-suffix-list): Mark as obsolete.
4841 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4842 pcomplete-seen in the closure.
4843 (pcomplete-comint-setup): Setup completion-at-point as well.
4844 (pcomplete--entries): New function.
4845 (pcomplete--env-regexp): New var.
4846 (pcomplete-entries): Rewrite to work with partial-completion and
4847 without relying on pcomplete-suffix-list.
4848 (pcomplete-pare-list): Remove, unused.
4849
25aef8b8
MR
48502011-06-17 Martin Rudalics <rudalics@gmx.at>
4851
4852 * window.el (display-buffer-alist): Set pop-up-window-min-height
4853 and pop-up-window-min-width in default value. Reported by
4854 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4855 other-window-means-other-frame.
4856 (display-buffer-macro-specifiers): Comment out entry for
4857 other-window specifier.
4858 (display-buffer-other-window-means-other-frame): New function.
4859 (display-buffer-normalize-specifiers-1): New arguments
4860 buffer-name and label. Treat other-window case specially.
4861 (display-buffer-normalize-specifiers-2): Treat other-window case
4862 specially.
4863 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4864 (display-buffer-normalize-specifiers):
4865 Call display-buffer-normalize-specifiers-3.
25aef8b8 4866
dbad4f69
MR
48672011-06-17 Martin Rudalics <rudalics@gmx.at>
4868
4869 * window.el (same-window-p): Fix two typos introduced when
4870 adding with-no-warnings.
d1067961
MR
4871 (display-buffer-normalize-specifiers-1): Don't check
4872 pop-up-frames for 'unset initialization.
4873 (display-buffer-normalize-specifiers-2): Major rewrite using
4874 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4875 (pop-up-frames, display-buffer-reuse-frames)
4876 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4877 Suggested by David Engster <deng@randomsample.de>.
4878 (even-window-heights): Initialize to 'unset.
4879 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4880 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4881 other window case.
dbad4f69 4882
9b9c9e3a
MR
48832011-06-16 Martin Rudalics <rudalics@gmx.at>
4884
bcd70d97
SM
4885 * window.el (display-buffer-normalize-specifiers-1):
4886 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4887 second argument of display-buffer (Bug#8865).
981d5c09
MR
4888 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4889 (switch-to-buffer-other-window-same-frame)
4890 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4891 Adams (Bug#8875).
9c2755e9
MR
4892 (display-buffer): Don't check noninteractive when calling
4893 display-buffer-pop-up-frame.
4894 (display-buffer-pop-up-frame): Never pop up a frame in
4895 noninteractive mode (Bug#8857).
67222e1d
MR
4896 (enlarge-window, shrink-window): Don't report an error when the
4897 window can't be resized as requested (Bug#8862).
9b9c9e3a 4898
2b75be67
SM
48992011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4900
9ffdd3ba
SM
4901 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4902
cb581a67
SM
4903 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4904
2b75be67
SM
4905 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4906
8c0e3589
AM
49072011-06-15 Alan Mackenzie <acm@muc.de>
4908
cb581a67
SM
4909 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4910 for declarators, disable knr checking to speed up for normal files.
4911 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4912
b96e6cde
LMI
49132011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4914
4bba86e6
LMI
4915 * net/network-stream.el (open-network-stream): Add the keyword
4916 :always-query-capabilities for the case where you want to force a
4917 `plain' network connection, but the protocol still requires the
4918 capabilitiy command (i.e., SMTP and EHLO).
4919
2b75be67 4920 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4921 consistency with other `-live-p' functions.
4922
efdcdbf8
SM
49232011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * window.el (same-window-buffer-names, same-window-regexps)
4926 (special-display-frame-alist, special-display-popup-frame)
4927 (special-display-function, special-display-buffer-names)
4928 (special-display-regexps, pop-up-frame-alist)
4929 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4930 (pop-up-windows, split-window-preferred-function)
4931 (split-height-threshold, split-width-threshold, even-window-heights)
4932 (display-buffer-mark-dedicated): Don't encourage the use of
4933 display-buffer-alist from Elisp code.
4934
c5cde042
DN
49352011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4936
4937 * progmodes/python.el (python-mode): Derive from prog-mode.
4938 * progmodes/ps-mode.el (ps-mode):
4939 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4940 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4941 * progmodes/ld-script.el (ld-script-mode): Likewise.
4942
baa1c9ab
MR
49432011-06-15 Martin Rudalics <rudalics@gmx.at>
4944
4945 * window.el (display-buffer-alist): Trim default value to avoid
4946 popping up a new frame (Bug#8857) or reusing an arbitrary window
4947 on another frame.
4948 (display-buffer): Do not fall back on popping up a new frame in
4949 batch mode (Bug#8857).
4950
c5dd5a51
CY
49512011-06-14 Chong Yidong <cyd@stupidchicken.com>
4952
4953 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4954 (custom-theme-summary): New function.
4955 (customize-themes): Use it.
4956
d647b7c4
GM
49572011-06-13 Glenn Morris <rgm@gnu.org>
4958
4959 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4960
9481c002
MR
49612011-06-13 Martin Rudalics <rudalics@gmx.at>
4962
357f93d2
MR
4963 * help.el (help-window): Remove variable.
4964 (help-window-point-marker, temp-buffer-max-height)
4965 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4966 (help-print-return-message): Don't set help-window.
4967 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4968 (help-window-setup-finish): Remove.
4969 (help-window-display-message, help-window-setup)
4970 (with-help-window): Major rewrite based on new
4971 display-buffer-window variable.
4972
4973 * help-mode.el (help-mode-finish): Remove help-window related
4974 code.
4975
4976 * view.el (view-exits-all-viewing-windows): Remove reference to
4977 view-return-to-alist in doc-string.
4978 (view-return-to-alist): Make obsolete.
4979 (view-buffer): Call pop-to-buffer-same-window and remove
4980 undo-window code.
4981 (view-buffer-other-window): Call pop-to-buffer-other-window and
4982 simplify code. Ignore second argument.
4983 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4984 simplify code. Ignore second argument.
4985 (view-return-to-alist-update): Make obsolete.
4986 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4987 Rewrite using quit-restore window parameters.
2b75be67
SM
4988 (view-mode-exit): Rename second argument to EXIT-ONLY.
4989 Rewrite using quit-restore-window.
357f93d2
MR
4990 (View-exit, View-exit-and-edit, View-leave, View-quit)
4991 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4992 appropriate arguments.
4993 (view-end-message): Use quit-restore window parameter.
4994
9481c002
MR
4995 * window.el (display-buffer-function): Rewrite doc-string.
4996 (display-buffer-window, display-buffer-alist): New variables.
4997 (display-buffer-split-specifiers)
4998 (display-buffer-side-specifiers)
4999 (display-buffer-macro-specifiers): New constants.
5000 (display-buffer-even-window-sizes, display-buffer-set-height)
5001 (display-buffer-set-width, display-buffer-select-window)
5002 (display-buffer-in-window, display-buffer-reuse-window)
5003 (display-buffer-split-window-1, display-buffer-split-window)
5004 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5005 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5006 (display-buffer-in-side-window, normalize-buffer-to-display)
5007 (display-buffer-normalize-specifiers-1)
5008 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5009 (display-buffer-normalize-specifiers, display-buffer-frame):
5010 New functions.
9481c002
MR
5011 (display-buffer): Major rewrite.
5012 (display-buffer-other-window, display-buffer-other-frame)
5013 (pop-to-buffer, switch-to-buffer-other-window)
5014 (switch-to-buffer-other-frame): Rewrite.
5015 (display-buffer-same-window, display-buffer-same-frame)
5016 (display-buffer-same-frame-other-window)
5017 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5018 (pop-to-buffer-other-window)
5019 (pop-to-buffer-same-frame-other-window)
5020 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5021 (switch-to-buffer-other-window-same-frame): New functions.
5022 (same-window-p, special-display-p): Rewrite disabling warnings.
5023 Make obsolete.
5024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5025 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5026 Make obsolete
5027 (same-window-buffer-names, same-window-regexps)
5028 (special-display-frame-alist, special-display-popup-frame)
5029 (special-display-function, special-display-buffer-names)
5030 (special-display-regexps, pop-up-frame-alist)
5031 (pop-up-frame-function, split-window-preferred-function)
5032 (split-height-threshold, split-width-threshold)
5033 (even-window-heights): Make obsolete.
5034
9db51aca
GM
50352011-06-12 Glenn Morris <rgm@gnu.org>
5036
5037 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5038 Misc simplifications.
9db51aca 5039
39cffb44
MR
50402011-06-12 Martin Rudalics <rudalics@gmx.at>
5041
5042 * window.el (window-safely-shrinkable-p): Restore function which
5043 was inadvertently removed in change from 2011-06-11. Declare as
5044 obsolete.
5045
2b75be67
SM
5046 * calendar/calendar.el (calendar-generate-window):
5047 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5048 window-safely-shrinkable-p.
5049
a8955be7
GM
50502011-06-12 Glenn Morris <rgm@gnu.org>
5051
5052 * progmodes/fortran.el (fortran-mode-syntax-table):
5053 * progmodes/f90.el (f90-mode-syntax-table):
5054 Set % to punctuation. (Bug#8820)
5055 (f90-find-tag-default): Remove, no longer needed.
5056
f0d4059d
DC
50572011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5058
5059 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5060
1100a63c
CY
50612011-06-11 Chong Yidong <cyd@stupidchicken.com>
5062
5063 * image.el (image-animated-p): Return animation delay in seconds.
5064 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5065 (image-animate-timeout): Remove DELAY argument. Don't assume
5066 every subimage has the same delay; get it from image-animated-p.
5067 (image-animate): Caller changed.
5068
def722bf
MA
50692011-06-11 Michael Albinus <michael.albinus@gmx.de>
5070
5071 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5072 to ignored backtrace functions.
5073
0a2bb1a9
GM
50742011-06-11 Glenn Morris <rgm@gnu.org>
5075
5076 * calendar/appt.el (appt-disp-window-function): Doc fix.
5077 (appt-check): Handle overlapping appointments. (Bug#8337)
5078
6198ccd0
MR
50792011-06-11 Martin Rudalics <rudalics@gmx.at>
5080
5081 * window.el (window-tree-1, window-tree): New functions, moving
5082 the latter to window.el.
5083 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5084 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5085 (bw-refresh-edges): Remove.
5086 (balance-windows-1, balance-windows-2): New functions.
5087 (balance-windows): Rewrite in terms of window tree functions,
5088 balance-windows-1 and balance-windows-2.
5089 (bw-adjust-window): Remove.
5090 (balance-windows-area-adjust): New function with functionality of
5091 bw-adjust-window but using resize-window.
2b75be67
SM
5092 (set-window-text-height): Rewrite doc-string.
5093 Use normalize-live-window and resize-window.
5094 (enlarge-window-horizontally, shrink-window-horizontally):
5095 Rename argument to DELTA.
6198ccd0
MR
5096 (window-buffer-height): New function.
5097 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5098 Rewrite using new window resize routines.
2b75be67
SM
5099 (kill-buffer-and-window, mouse-autoselect-window-select):
5100 Use ignore-errors instead of condition-case.
6198ccd0
MR
5101 (quit-window): Call delete-frame instead of delete-windows-on
5102 for the only buffer on frame.
5103
9397e56f
MR
51042011-06-10 Martin Rudalics <rudalics@gmx.at>
5105
5106 * loadup.el (top-level): Load window before files for the sake
5107 of replace-buffer-in-windows.
5108
5109 * files.el (read-buffer-to-switch)
5110 (switch-to-buffer-other-window)
2b75be67
SM
5111 (switch-to-buffer-other-frame, display-buffer-other-frame):
5112 Move to window.el.
9397e56f
MR
5113
5114 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5115 (previous-buffer): Move to window.el.
5116
5117 * bindings.el (unbury-buffer): Move to window.el.
5118
5119 * window.el (delete-other-windows-vertically): Move after
5120 definition of delete-other-windows.
5121 (other-window, delete-windows-on, replace-buffer-in-windows):
5122 Move here from window.c.
5123 (record-window-buffer, unrecord-window-buffer)
5124 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5125 (switch-to-next-buffer): New functions.
5126 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5127 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5128 (previous-buffer): Move here from simple.el.
5129 Call switch-to-prev-buffer.
9397e56f
MR
5130 (bury-buffer): Move here from buffer.c. Switch to previous
5131 buffer when window cannot be deleted.
5132 (unbury-buffer): Move here from bindings.el.
5133 (ctl-x-map): Move binding for other-window from window.c to
5134 here.
5135 (read-buffer-to-switch, switch-to-buffer-other-window)
5136 (switch-to-buffer-other-frame): Move here from files.el.
5137 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5138 (switch-to-buffer): Move here from buffer.c.
5139 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5140
562dd5e9
MR
51412011-06-10 Martin Rudalics <rudalics@gmx.at>
5142
5143 * window.el (window-min-height, window-min-width): Move here
5144 from window.c. Add defcustoms and rewrite doc-strings.
5145 (resize-mini-window, resize-window): New functions.
5146 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5147 Move here from window.c.
5148 (maximize-window, minimize-window): New functions.
5149 (delete-window, delete-other-windows, split-window): Move here
5150 from window.c.
5151 (window-split-min-size): New function.
5152 (split-window-keep-point): Mention split-window-above-each-other
5153 instead of split-window-vertically.
2b75be67
SM
5154 (split-window-above-each-other, split-window-vertically):
5155 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5156 provide defalias for old definition.
5157 (split-window-side-by-side, split-window-horizontally): Rename
5158 split-window-horizontally to split-window-side-by-side and provide
5159 defalias for the old definition.
5160 (ctl-x-map): Move bindings for delete-window,
5161 delete-other-windows and enlarge-window here from window.c.
5162 Replace bindings for split-window-vertically and
5163 split-window-horizontally by bindings for
5164 split-window-above-each-other and split-window-side-by-side.
5165
5166 * cus-start.el (all): Remove entries for window-min-height and
5167 window-min-width. Add entries for window-splits and
5168 window-nest.
5169
f0da764a
GM
51702011-06-09 Glenn Morris <rgm@gnu.org>
5171
80675c21
GM
5172 * calendar/appt.el (appt-mode-line): New function.
5173 (appt-check, appt-disp-window): Use it.
5174
f0da764a
GM
5175 * files.el (hack-one-local-variable-eval-safep):
5176 Allow minor-modes with explicit +/-1 arguments.
5177
59f623b7
TZ
51782011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5179
5180 * term/xterm.el (xterm): Add defgroup.
5181 (xterm-extra-capabilities): Add defcustom to supply known xterm
5182 capabilities, skip querying them, or query them (default).
5183 (terminal-init-xterm): Use it.
5184 (terminal-init-xterm-modify-other-keys): New function to set up
5185 modifyOtherKeys support to simplify `terminal-init-xterm'.
5186
9aab8e0d
MR
51872011-06-09 Martin Rudalics <rudalics@gmx.at>
5188
5189 * window.el (resize-window-reset, resize-window-reset-1)
5190 (resize-subwindows-skip-p, resize-subwindows-normal)
5191 (resize-subwindows, resize-other-windows, resize-this-window)
5192 (resize-root-window, resize-root-window-vertically)
5193 (window-deletable-p, window-or-subwindow-p)
5194 (frame-root-window-p): New functions.
5195
e8b08aee
GM
51962011-06-09 Glenn Morris <rgm@gnu.org>
5197
5198 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5199 (ange-ftp-get-files): Use it.
5200
254c37a5
AK
52012011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5202
5203 * mail/sendmail.el (mail-recover-1, mail-recover):
5204 * files.el (recover-file, recover-session):
5205 Handle dired-listing-switches not being just a single short option.
5206
35d7dbd3
GM
52072011-06-09 Glenn Morris <rgm@gnu.org>
5208
5209 * calendar/appt.el (appt-display-message, appt-disp-window):
5210 Handle lists of appointments.
5211
387522b2
MR
52122011-06-08 Martin Rudalics <rudalics@gmx.at>
5213
2b75be67
SM
5214 * window.el (one-window-p): Move down in code.
5215 Rewrite doc-string.
5216 (window-current-scroll-bars): Rewrite doc-string.
5217 Normalize live window argument.
387522b2
MR
5218 (walk-windows, get-window-with-predicate, count-windows):
5219 Rewrite doc-string. Use window-list-1.
5220 (window-in-direction-2, window-in-direction, get-mru-window):
5221 New functions.
5222
d8e4b68b 52232011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5224
5225 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5226 Doc fix (Bug#8713).
5227
52282011-06-08 Chong Yidong <cyd@stupidchicken.com>
5229
5230 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5231
52322011-06-08 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * loadhist.el (unload-feature-special-hooks):
5235 Add `comint-output-filter-functions'.
5236
0de12c52
IK
52372011-06-08 Ivan Kanis <gnu@kanis.fr>
5238
5239 * calendar/appt.el (appt-check): Move some initializations into the let.
5240
f3d1777e
MR
52412011-06-08 Martin Rudalics <rudalics@gmx.at>
5242
5243 * window.el (window-height): Defalias to window-total-height.
5244 (window-width): Defalias to window-body-width.
5245
18af70d0
CY
52462011-06-07 Chong Yidong <cyd@stupidchicken.com>
5247
5248 * image-mode.el (image-toggle-animation): New command.
5249 (image-mode-map): Bind it to RET.
5250 (image-mode): Update message.
5251 (image-toggle-display-image): Avoid a spurious cache flush.
5252 (image-transform-rotation): Doc fix.
5253 (image-transform-properties): Return quickly in the normal case.
5254 (image-animate-loop): Rename from image-animate-max-time.
5255
2b75be67 5256 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5257 (create-animated-image): Remove unnecessary function.
5258 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5259 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5260 (image-animate-timer): Use car-safe.
5261 (image-animate-timeout): Rename argument.
5262
190b47e6
MR
52632011-06-07 Martin Rudalics <rudalics@gmx.at>
5264
5265 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5266 window.c. Rename first argument to ALL-FRAMES.
5267 Rephrase doc-strings.
5268 (get-buffer-window-list): Rewrite using window-list-1.
5269 Rephrase doc-string.
a1511caf
MR
5270 (window-safe-min-height, window-safe-min-width): New constants.
5271 (window-size-ignore, window-min-size, window-min-size-1)
5272 (window-sizable, window-sizable-p, window-size-fixed-1)
5273 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5274 (window-max-delta-1, window-max-delta, window-resizable)
5275 (window-resizable-p, window-total-height, window-total-width)
5276 (window-body-width): New functions.
5277 (window-full-height-p, window-full-width-p): Rewrite using
5278 window-total-size.
5279 (window-body-height): Rewrite using window-body-size.
190b47e6 5280
85cc1f11
MR
52812011-06-06 Martin Rudalics <rudalics@gmx.at>
5282
5283 * window.el (window-right, window-left, window-child)
5284 (window-child-count, window-last-child, window-any-p)
5285 (normalize-live-buffer, normalize-live-frame)
5286 (normalize-any-window, normalize-live-window)
5287 (window-iso-combination-p, window-iso-combined-p)
5288 (window-iso-combinations)
5289 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5290 (windows-with-parameter, window-with-parameter)
5291 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5292 (window-atom-check, window-side-check, window-check):
5293 New functions.
85cc1f11
MR
5294 (ignore-window-parameters, window-sides, window-sides-vertical)
5295 (window-sides-slots): New variables.
5296 (window-size-fixed): Move down in code. Minor doc-string fix.
5297
e7156492
AS
52982011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5299
5300 * comint.el (comint-dynamic-complete-as-filename)
5301 (comint-dynamic-complete-filename): Correctly call
5302 completion-in-region.
5303
7e821d0d
DD
53042011-06-05 Deniz Dogan <deniz@dogan.se>
5305
5306 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5307 in last change.
5308
ac09b8a1
DD
53092011-06-05 Deniz Dogan <deniz@dogan.se>
5310
5311 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5312 (rcirc): Use it to prompt for encryption.
5313
34699b85
RW
53142011-06-05 Roland Winkler <winkler@gnu.org>
5315
5316 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5317 (bibtex-search-entries): New command bound to C-c C-a.
5318 (bibtex-display-entries): New function.
5319
004dedd3
RW
53202011-06-05 Roland Winkler <winkler@gnu.org>
5321
5322 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5323 (bibtex-insert-kill): After yanking insert newline if necessary.
5324 (bibtex-initialize): Call bibtex-string-files-init only once.
5325 (bibtex-mode): Do not call easy-menu-add.
5326 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5327 (bibtex-yank): Set arg properly if nil.
5328
022fe7ce
RW
53292011-06-05 Roland Winkler <winkler@gnu.org>
5330
2b75be67
SM
5331 * textmodes/bibtex.el (bibtex-search-entry-globally):
5332 New variable.
022fe7ce
RW
5333 (bibtex-search-entry): Use it.
5334
b7c3692a
RW
53352011-06-05 Roland Winkler <winkler@gnu.org>
5336
5337 * textmodes/bibtex.el (bibtex-entry-format): New option
5338 sort-fields.
5339 (bibtex-format-entry, bibtex-reformat): Honor this option.
5340 (bibtex-parse-entry): Return fields in proper order.
5341
8eda563d
JB
53422011-06-05 Juanma Barranquero <lekktu@gmail.com>
5343
5344 * doc-view.el (doc-view-remove-if): Move computation of result out
5345 of `dolist' to silence misleading lexical-binding warning.
5346
7dbe3dbc
CY
53472011-06-04 Chong Yidong <cyd@stupidchicken.com>
5348
5349 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5350 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5351
0c33dd17
MA
53522011-06-04 Michael Albinus <michael.albinus@gmx.de>
5353
5354 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5355 "SunOS 5.10".
5356
f8f91c2b
MA
53572011-06-04 Michael Albinus <michael.albinus@gmx.de>
5358
5359 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5360 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5361 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5362 (tramp-parse-putty):
5363 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5364 (tramp-completion-function-alist-ssh)
5365 (tramp-completion-function-alist-telnet)
5366 (tramp-completion-function-alist-su)
5367 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5368 cookie.
5369
5370 * net/tramp-ftp.el:
5371 * net/tramp-sh.el:
5372 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5373 load "tramp.el" `tramp-set-completion-function'.
5374
e17d9003
SM
53752011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * shell.el: Require and use pcomplete.
5378 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5379 (shell-completion-vars): Set pcomplete-default-completion-function.
5380
6c4cab03
DD
53812011-06-04 Deniz Dogan <deniz@dogan.se>
5382
5383 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5384 `memq' (Bug#8799).
5385
ea9fafe0
SM
53862011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5389
b3e945d3
JB
53902011-06-02 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5393 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5394 * vc/log-view.el (log-view-beginning-of-defun):
5395 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5396 (smerge-refine-forward, smerge-refine-chopup-region):
5397 Silence warning for unused `dotimes' counter variables.
5398
7d520089
SM
53992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * net/tramp.el (tramp-with-progress-reporter): Rename from
5402 with-progress-reporter. Use `declare'.
5403 * net/tramp-smb.el:
5404 * net/tramp-sh.el:
5405 * net/tramp-gvfs.el: Update all uses.
5406
a1c2400f
JB
54072011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5408
5409 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5410 buffer isn't killed before making it current.
5411
2403c841
SM
54122011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 Silence various byte-compiler warnings.
5415 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5416 `access-type' and new obsolescence format.
5417 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5418 new format.
5419 (byte-compile-check-variable): New `access-type' argument.
5420 Only warn if the access-type is obsolete.
5421 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5422 (byte-compile-variable-set): Adjust callers.
5423 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5424 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5425 setting it as obsolete.
5426 * simple.el (minibuffer-completing-symbol):
5427 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5428 access as obsolete.
5429 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5430 obsolete yet.
5431 * international/quail.el (quail-mouse-choose-completion): Remove unused
5432 code referring to obsolete var.
5433 (quail-choose-completion-string): Remove.
5434 * server.el (server-clients-with, server-kill-buffer-query-function)
5435 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5436 * proced.el (proced-send-signal):
5437 * emacs-lisp/lisp.el (lisp-complete-symbol):
5438 Replace completion-annotate-function with completion-extra-properties.
5439
2462470b
SM
54402011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5441
fb5b2591
SM
5442 * simple.el (goto-line): Use read-number.
5443 (overriding-map-is-bound): Remove.
5444 (saved-overriding-map): Change default.
5445 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5446 Take the map as argument.
5447 (universal-argument, negative-argument, digit-argument): Use it.
5448 (restore-overriding-map): Adjust.
5449 (do-auto-fill): Use fill-forward-paragraph.
5450 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5451
fd6fa53f
SM
5452 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5453 (minibuffer-inactive-mode): New major mode.
5454 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5455 the *Messages* buffer" hack.
5456 (mouse-popup-menubar): Don't burp if the event is a normal key.
5457
2462470b
SM
5458 Miscellaneous tweaks.
5459 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5460 lexical scoping as in subr.el's dolist and dotimes.
5461 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5462 Silence compiler warning.
5463 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5464 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5465 * international/ccl.el (ccl-compile): Trivial simplification.
5466 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5467 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5468 `printflag' argument.
5469 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5470 Purecopy the whole obsolescence data.
5471
108bf785
LL
54722011-06-01 Leo Liu <sdl.web@gmail.com>
5473
5474 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5475 improve doc-string as suggested by Marco Pessotto
5476 <melmothx@gmail.com>.
5477 (rcirc-print): Fix last change.
5478
30a23501
SM
54792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5480
5481 * minibuffer.el (complete-with-action): Return nil for the metadata and
5482 boundaries of non-functional tables.
5483 (completion-table-dynamic): Return nil for the metadata.
5484 (completion-table-with-terminator): Add default case, using
5485 complete-with-action.
5486 (completion--metadata): New function.
5487 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5488 to try and avoid pathological performance problems.
5489 (completion--embedded-envvar-table): Return `category' metadata.
5490
bcd54f83
LMI
54912011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5492
5493 * subr.el (process-alive-p): New tiny convenience function.
5494
e227544d
SM
54952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5498 content but also its previous major mode.
5499
e8296fdc
HE
55002011-05-31 Helmut Eller <eller.helmut@gmail.com>
5501
4d61f28d 5502 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5503 *Backtrace* buffer when we exit with C-M-c.
5504
620c53a6
SM
55052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * minibuffer.el: Add metadata method to completion tables.
5508 (completion-category-overrides): New defcustom.
5509 (completion-metadata, completion--field-metadata)
5510 (completion-metadata-get, completion--styles)
5511 (completion--cycle-threshold): New functions.
5512 (completion-try-completion, completion-all-completions):
5513 Add `metadata' argument to choose completion-styles.
5514 (completion--do-completion): Use metadata to choose cycling.
5515 (completion-all-sorted-completions): Use metadata for sorting.
5516 Remove :completion-cycle-penalty which is not needed any more.
5517 (completion--try-word-completion): Add `metadata' argument.
5518 (minibuffer-completion-help): Check metadata for annotation function
5519 and sorting.
5520 (completion-file-name-table): Return `category' metadata.
5521 (minibuffer-completing-file-name): Make obsolete.
5522 * simple.el (minibuffer-completing-symbol): Make obsolete.
5523 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5524 completion-try-completion.
5525
1257e755
SM
55262011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5529
3767e706
LL
55302011-05-30 Leo Liu <sdl.web@gmail.com>
5531
5532 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5533 (rcirc-print): Decode all incoming messages (bug#8744).
5534 (rcirc-decode-coding-system): Allow value nil for automatic coding
5535 system detection.
3767e706 5536
d1a5d56a
GM
55372011-06-01 Glenn Morris <rgm@gnu.org>
5538
5539 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5540
e8cbec34
CY
55412011-05-29 Chong Yidong <cyd@stupidchicken.com>
5542
5543 * image.el (image-animate-max-time): Allow nil and t values.
5544 Default to nil.
5545 (create-animated-image): Doc fix.
5546 (image-animate-start): Remove second arg; just use
5547 image-animate-max-time.
5548 (image-animate-timeout): Doc fix. Args changed.
5549
5550 * image-mode.el (image-toggle-display-image): Ensure that the
5551 image spec passed to the animate timer is the same object as in
5552 the the buffer's display property (Bug#6981).
5553 (image-transform-properties): Doc fix.
5554
5555 * image.el (image-animate-max-time): Default to nil.
5556
159daf87
MR
55572011-05-29 Martin Rudalics <rudalics@gmx.at>
5558
5559 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5560 entire buffer list (Bug#8184).
5561
d66c4c7c
CY
55622011-05-29 Chong Yidong <cyd@stupidchicken.com>
5563
5564 * image.el (imagemagick-types-inhibit)
5565 (imagemagick-register-types): Doc fix.
5566
80aec780
DD
55672011-05-29 Deniz Dogan <deniz@dogan.se>
5568
5569 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5570 default.
5571
1dd3c2d9
CY
55722011-05-29 Chong Yidong <cyd@stupidchicken.com>
5573
5574 * select.el: Don't perform clipboard-manager saving in hooks;
5575 leave the hooks empty.
5576
60e56523
LL
55772011-05-28 Leo Liu <sdl.web@gmail.com>
5578
5579 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5580 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5581 (occur-edit-mode): New major mode (Bug#8463).
5582 (occur-after-change-function): New function.
5583 (occur-engine): Give Occur tags a read-only property.
5584
2b1e1a22
KR
55852011-05-28 Kevin Ryde <user42@zip.com.au>
5586
5587 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5588
5d344e88
CY
55892011-05-28 Chong Yidong <cyd@stupidchicken.com>
5590
8e6ca83d
CY
5591 * bindings.el (help-echo): Make the initial non-indicator dash
5592 empty on graphical terminals (Bug#7295).
5593
5d344e88
CY
5594 * files.el (auto-mode-alist): Move config rule after the
5595 in-stripping one (Bug#8547).
5596
bfbbace7
CY
5597 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5598
fbeba6e2
CY
5599 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5600 setting (Bug#8740).
5601
60ed8c72
AA
56022011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5603
4ac619f0
AA
5604 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5605 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5606 (Bug#8539).
60ed8c72 5607
23db196e
CY
56082011-05-28 Chong Yidong <cyd@stupidchicken.com>
5609
5610 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5611
5012f24c
DK
56122011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5613
5614 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5615 (hs-hide-block-at-point, hs-find-block-beginning)
5616 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5617 (Bug#8279).
5618
6a639b16
GM
56192011-05-28 Glenn Morris <rgm@gnu.org>
5620
5621 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5622
d43eaf2c
CY
56232011-05-28 Chong Yidong <cyd@stupidchicken.com>
5624
5199bde1
CY
5625 * help-fns.el (describe-function-1): If the function is a derived
5626 major mode, print the parent mode.
5627
d43eaf2c
CY
5628 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5629 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5630
423428a8
SM
56312011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5632
0ff8e1ba
SM
5633 * minibuffer.el (completion--capf-wrapper): Check applicability before
5634 retuning non-nil for non-exclusive completion data.
5635 * progmodes/etags.el (tags-completion-at-point-function):
5636 * info-look.el (info-lookup-completions-at-point): Mark as
5637 non-exclusive.
5638 (info-complete): Adjust accordingly.
5639
423428a8
SM
5640 * info-look.el: Convert to lexical-binding and completion-at-point.
5641 (info-lookup-completions-at-point): New function.
5642 (info-complete): Use it and completion-in-region.
5643
b74aa22b
DA
56442011-05-28 Drew Adams <drew.adams@oracle.com>
5645
5646 * isearch.el: Let M-e start with point at the first mismatched char.
5647 (isearch-fail-pos): New function.
5648 (isearch-edit-string): Use it.
5649
66e2e71d
DK
56502011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5651
5652 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5653
eb95d01d
TC
56542009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5655
5656 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5657 traversal functions for avl-trees.
5658 (avl-tree--stack): New struct.
5659 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5660 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5661 (avl-tree--do-enter): Add optional `updatefun' arg.
5662 Change return value.
eb95d01d 5663 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5664 (avl-tree--do-delete): Add `test' and `nilflag' args.
5665 Change return value.
eb95d01d
TC
5666 (avl-tree-member): Add optional `nilflag'
5667 (avl-tree-member-p): New function.
5668 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5669 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5670 (avl-tree-stack-empty-p): New functions.
5671
3769ddcf
TC
56722009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5673
5674 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5675 avl-tree--del-balance1 and make it work both ways.
5676 (avl-tree--del-balance2): Remove.
5677 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5678 make it work both ways.
5679 (avl-tree--enter-balance2): Remove.
5680 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5681 New macros.
5682 (avl-tree--mapc, avl-tree-map): Add direction argument.
5683
eb95d01d 56842011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5685
5686 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5687
a9f737ee
CY
56882011-05-27 Chong Yidong <cyd@stupidchicken.com>
5689
5690 * select.el: Support clipboard managers with built-in function
5691 x-clipboard-manager-save, via delete-frame-functions and
5692 kill-emacs-hook.
5693 (xselect-convert-to-targets): Add MULTIPLE target to list.
5694 (xselect-convert-to-save-targets): New function.
5695
c92a1e54
KH
56962011-05-27 Kenichi Handa <handa@m17n.org>
5697
5698 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5699 let-binding rfc2047-encode-encoded-words to nil.
5700
e145f188
GM
57012011-05-27 Glenn Morris <rgm@gnu.org>
5702
5ec8a862
GM
5703 * mail/emacsbug.el: Don't require url-util.
5704
4b29d9fb
GM
5705 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5706
e145f188
GM
5707 * files.el (set-auto-mode):
5708 Also respect mode: entries at the end of the file. (Bug#8586)
5709
7d15102b
GM
57102011-05-26 Glenn Morris <rgm@gnu.org>
5711
98f593b8
GM
5712 * files.el (hack-local-variables-prop-line, hack-local-variables):
5713 Downcase mode names, as seems to be traditional.
27b48e63 5714 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5715
7d15102b
GM
5716 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5717 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5718
51d5b4ec
JD
57192011-05-25 Julien Danjou <julien@danjou.info>
5720
5721 * textmodes/rst.el (rst-define-level-faces): Do not define face
5722 symbol if it is already defined.
5723
91513f63
VB
57242011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5725
5726 * play/5x5.el (5x5-new-game, 5x5-randomize):
5727 Reset 5x5-solver-output to nil when a new grid is cast.
5728 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5729 these debugging traces, as defmacro breaks the compiled code.
5730
4d90d6d0
DK
57312011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5732
5733 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5734
e1b90ef6
LL
57352011-05-24 Leo Liu <sdl.web@gmail.com>
5736
5737 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5738 (vc-bzr-sha1): Adapt.
5739
d8e4b68b 5740 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5741
5742 * bindings.el: Provide sha1 feature.
5743
db0406bb 57442011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5745
5746 * mail/sendmail.el: Require `rfc2047'.
5747 (mail-insert-from-field): Do not perform RFC2047 encoding.
5748 (mail-encode-header): New function.
5749 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5750 buffer to the return value of select-message-coding-system.
5751 Call mail-encode-header.
b8d747b9
KH
5752
5753 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5754
db0406bb 57552011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5756
4d90d6d0
DK
5757 * mail/supercite.el (sc-default-cite-frame):
5758 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5759
eb8a5e9b
GM
57602011-05-24 Glenn Morris <rgm@gnu.org>
5761
f8630703
GM
5762 * progmodes/python.el (brm-menu): Declare.
5763
8831bbed
GM
5764 * emulation/viper.el (viper-set-hooks): Declare.
5765
eb8a5e9b
GM
5766 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5767 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5768 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5769 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5770 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5771 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5772
a2a25d24
SM
57732011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 Add an :exit-function for completion-at-point.
5776
5777 * minibuffer.el (completion--done): New fun.
5778 (completion--do-completion): Use it. New arg `expect-exact'.
5779 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5780 since completion--do-completion does it for us now.
5781 (minibuffer-force-complete): Use completion--done and
5782 completion--replace. Handle sole-completion case with more care.
5783 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5784 (completion-extra-properties): New var.
5785 (completion-annotate-function): Make obsolete.
5786 (minibuffer-completion-help): Adjust accordingly.
5787 Use completion-list-insert-choice-function.
5788 (completion-at-point, completion-help-at-point):
5789 Bind completion-extra-properties.
5790 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5791 * simple.el (completion-list-insert-choice-function): New var.
5792 (completion-setup-function): Preserve it.
5793 (choose-completion): Pay attention to it, shuffle the code a bit.
5794 (choose-completion-string): New arg `insert-function'.
5795
5796 * textmodes/bibtex.el: Convert to lexical binding.
5797 (bibtex-mode-map): Use completion-at-point.
5798 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5799 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5800 (bibtex-complete): Define as obsolete alias.
5801 (bibtex-complete-internal): Remove.
5802 (bibtex-format-entry): Remove unused sub-group in regexp.
5803 * shell.el (shell--command-completion-data)
5804 (shell-environment-variable-completion):
5805 * pcomplete.el (pcomplete-completions-at-point):
5806 * comint.el (comint--complete-file-name-data): Use :exit-function
5807 instead of completion-table-with-terminator so it also works for
5808 choose-completion.
5809
e44e373d
SM
58102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5811
4f91a816
SM
5812 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5813
782fc819
SM
5814 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5815 (bug#8710).
5816
e44e373d
SM
5817 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5818
381987c3
KM
58192011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5820
5821 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5822 customization variable and implement: If non-nil, auto-fill will
5823 be inhibited while on topic's header line.
5824
b776bc70
VB
58252011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5826
5827 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5828 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5829 always have a solution in grid size = 5 cases.
5830 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5831 (5x5-solver-output, 5x5-log-buffer): New vars.
5832 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5833 Make these variables buffer local to achieve 5x5 multi-session-ness.
5834 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5835 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5836 (5x5-solve-suggest): New funs.
5837 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5838 randomize a grid so that we ensure that there is always a solution.
5839 (5x5-make-random-grid): Allow other movement than flipping.
5840
7de88b6e
KR
58412011-05-23 Kevin Ryde <user42@zip.com.au>
5842
5843 * emacs-lisp/advice.el (ad-read-advised-function):
5844 Use `function-called-at-point' as the default default, if it has
5845 advice and passes PREDICATE.
5846
b1ef1257
SM
58472011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5848
bbca48fe
SM
5849 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5850 byte-compile-lambda if it's actually a lambda.
5851
b1ef1257
SM
5852 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5853 Fix function quoting. Use backquote better.
5854
92a9cc65
YS
58552011-05-22 Yuanle Song <sylecn@gmail.com>
5856
5857 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5858 matching (Bug#8516).
5859
f0fb8059
JA
58602011-01-22 Jari Aalto <jari.aalto@cante.net>
5861
5862 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5863 different face (Bug#8178).
5864
d5b44c93
CY
58652011-05-22 Chong Yidong <cyd@stupidchicken.com>
5866
5867 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5868 defface (Bug#8144).
5869
79106a44
SM
58702011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5871
9c848d8a
SM
5872 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5873 funcall as well (bug#8712). Warn when performing those conversions.
5874 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5875
79106a44
SM
5876 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5877
88dfa756
GM
58782011-05-22 Glenn Morris <rgm@gnu.org>
5879
5880 * files.el (hack-local-variables-prop-line): Small simplifications.
5881 (hack-local-variables, hack-local-variables-prop-line):
5882 If MODE-ONLY, return the mode, rather than just `t'.
5883
b7cf2c79
SM
58842011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5887
3f1a8558
GM
58882011-05-21 Glenn Morris <rgm@gnu.org>
5889
7e4ccca3
GM
5890 * files.el (hack-local-variables-prop-line, hack-local-variables):
5891 If only interested in the mode, don't bother doing the other stuff.
5892
637d46ca
GM
5893 * image-mode.el (image-after-revert-hook):
5894 Redraw all frames on which the image is visible. (Bug#8567)
5895
973d955b
GM
5896 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5897
3f1a8558
GM
5898 * wid-edit.el (widget-checklist-match-inline):
5899 Fix 2011-04-19 change. (Bug#8649)
5900
96479927
SM
59012011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5902
1dcf791f
SM
5903 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5904 Also allow singlespace after single-letter capitals followed by a dot.
5905
96479927
SM
5906 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5907 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5908
35fd0881
N
59092011-05-20 Nix <nix@esperi.org.uk>
5910
5911 * files.el (basic-save-buffer-2):
5912 Fix handling of break-hardlink-on-save with non-existent files.
5913
82745640
DD
59142011-05-19 Deniz Dogan <deniz@dogan.se>
5915
5916 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5917 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5918
4a720484
GM
59192011-05-19 Glenn Morris <rgm@gnu.org>
5920
d1f21341
GM
5921 * progmodes/f90.el (f90-type-def-re):
5922 Handle "type, bind(c)". (Bug#8691)
5923
4a720484
GM
5924 * emacs-lisp/autoload.el (batch-update-autoloads):
5925 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5926
2fb0a219
MA
59272011-05-18 Michael Albinus <michael.albinus@gmx.de>
5928
5929 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5930 property for the correct connection in case of multihops.
5931
e565dd37
GM
59322011-05-18 Glenn Morris <rgm@gnu.org>
5933
c2571358 5934 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5935 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5936
e565dd37
GM
5937 Rationalize calendar handling of day and month abbrev-arrays.
5938 * calendar/calendar.el (calendar-customized-p): New function.
5939 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5940 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5941 Add :set function.
5942 (calendar-abbrev-length, calendar-day-abbrev-array)
5943 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5944 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5945 Elements may no longer be nil.
5946 (calendar-day-name, calendar-month-name):
5947 Update for changed nature of abbrev arrays.
5948 * calendar/diary-lib.el (diary-name-pattern):
5949 Update for changed nature of abbrev arrays.
5950 (diary-mark-entries-1): Update calendar-make-alist calls.
5951 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5952 * calendar/cal-html.el (cal-html-day-abbrev-array):
5953 Simply inherit from calendar-day-abbrev-array.
5954
1d99a745
SM
59552011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * progmodes/grep.el (grep-mode): Disable default
5958 compilation-directory-matcher setting (bug#8684).
5959
7c1d9aa0
MA
59602011-05-17 Michael Albinus <michael.albinus@gmx.de>
5961
5962 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5963 instead of "head" and "tail". There were problems with SunOS 5.9,
5964 and it performs better.
5965
3952e9d8
GM
59662011-05-17 Glenn Morris <rgm@gnu.org>
5967
2dd12e7f
GM
5968 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5969
e4157b9c
GM
5970 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5971 Replace obsolete function.
5972
8e249bbd
GM
5973 * shell.el (pcomplete-parse-arguments-function): Declare.
5974
3952e9d8
GM
5975 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5976 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5977 (appt-check): Doc fixes.
5978 (appt-disp-window-function, appt-delete-window-function):
5979 Remove needless special case in custom :type.
5980 (appt-display-count): Default to 0, not nil.
5981 (appt-check): Reset appt-display-count to 0, not nil.
5982
c71a0d48 59832011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5984
c71a0d48
GM
5985 * progmodes/python.el (python-font-lock-keywords):
5986 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5987
31d55be9
SM
59882011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5991
3bfacb2f
KR
59922011-05-16 Kevin Ryde <user42@zip.com.au>
5993
5994 * info-look.el (makefile-automake-mode): New setups, looking in
5995 automake manual, then makefile-mode.
5996 (makefile-mode): Remove automake manual, have it just in
5997 makefile-automake-mode since there's various things different or
5998 not relevant to plain make.
5999 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6000 believe a hypothetical automake-mode would go to makefile-mode,
6001 not the other way around.
6002
c8e83751
CY
60032011-05-15 Chong Yidong <cyd@stupidchicken.com>
6004
5e9e35cd
CY
6005 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6006 hunk-end tags (Bug#8672).
6007
c8e83751
CY
6008 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6009 vc-annotate-show-diff-revision-at-line (Bug#8671).
6010
50b23e5a
GM
60112011-05-14 Glenn Morris <rgm@gnu.org>
6012
7210a739
GM
6013 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6014 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6015 (change-log-font-lock-keywords): Also handle multiple author lines
6016 with leading tabs. (Bug#8644)
7210a739 6017
4691905a
GM
6018 * calendar/appt.el (appt-check): Rename some local variables.
6019 Some simplification/reordering.
6020
50b23e5a
GM
6021 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6022 (feedmail-sendmail-f-doesnt-sell-me-out)
6023 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6024 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6025 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6026 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6027 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6028 (feedmail-binmail-gnulinuxish-template):
6029 Rename from feedmail-binmail-linuxish-template.
6030 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6031 Use insert-buffer-substring.
6032
215cda7c
BC
60332011-05-14 Bill Carpenter <bill@carpenter.org>
6034
6035 * mail/feedmail.el (feedmail-patch-level): Increase.
6036 (feedmail-debug): New custom group.
6037 (feedmail-confirm-outgoing-timeout)
6038 (feedmail-sendmail-f-doesnt-sell-me-out)
6039 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6040 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6041 (feedmail-sender-line, feedmail-from-line)
6042 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6043 (feedmail-spray-this-address)
215cda7c
BC
6044 (feedmail-spray-address-fiddle-plex-list)
6045 (feedmail-queue-use-send-time-for-date)
6046 (feedmail-queue-use-send-time-for-message-id)
6047 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6048 (feedmail-buffer-eating-function):
6049 Doc fixes.
6050 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6051 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6052 (feedmail-message-action-scroll-down): New functions.
6053 (feedmail-queue-directory, feedmail-queue-draft-directory):
6054 Use expand-file-name.
6055 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6056 Remove C-v help entry.
6057 (feedmail-queue-buffer-file-name): New variable.
6058 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6059 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6060 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6061 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6062 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6063 (feedmail-message-action-toggle-spray)
6064 (feedmail-run-the-queue-no-prompts)
6065 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6066 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6067 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6068 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6069 (feedmail-envelope-deducer, feedmail-fiddle-from)
6070 (feedmail-fiddle-sender, feedmail-default-date-generator)
6071 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6072 (feedmail-fiddle-spray-address)
6073 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6074 (feedmail-fiddle-list-of-fiddle-plexes)
6075 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6076 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6077 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6078 Change default. Doc fix.
6079 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6080 (feedmail-binmail-linuxish-template): New constant.
6081 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6082 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6083 (feedmail-send-it): Add debug call.
6084 Use feedmail-queue-buffer-file-name, and
6085 feedmail-send-it-immediately-wrapper.
6086 (feedmail-message-action-send): Add debug call.
6087 Use feedmail-send-it-immediately-wrapper.
6088 (feedmail-queue-express-to-queue): Add debug call.
6089 Run feedmail-queue-express-hook.
6090 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6091 (feedmail-message-action-help-blat):
6092 Rename from feedmail-queue-send-edit-prompt-help-first.
6093 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6094 Check line-endings. Handle errors better.
6095 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6096 Doc fix. Add debug call.
6097 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6098 Use feedmail-queue-send-edit-prompt-inner.
6099 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6100 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6101 from feedmail-queue-send-edit-prompt.
6102 (feedmail-queue-send-edit-prompt-help)
6103 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6104 (feedmail-tidy-up-slug): Add debug call.
6105 Respect feedmail-queue-slug-suspect-regexp.
6106 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6107 (feedmail-dump-message-to-queue): Add debug call.
6108 Expand queue-directory.
6109 (feedmail-dump-message-to-queue): Change message slightly.
6110 Use feedmail-say-chatter.
6111 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6112 (feedmail-send-it-immediately-wrapper): New function.
6113 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6114 Insert empty string rather than newline. Handle full-frame case.
6115 Use catch/throw. Use feedmail-say-chatter.
6116 (feedmail-fiddle-from): Try mail-host-address.
6117 (feedmail-default-message-id-generator): Doc fix.
6118 Bind system-time-locale. Handle missing end.
6119 (feedmail-fiddle-x-mailer): Add debug call.
6120 Handle feedmail-x-mailer-line being nil.
6121 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6122 Add debug call. Use buffer-substring-no-properties.
6123 (feedmail-say-debug, feedmail-say-chatter): New functions.
6124 (feedmail-find-eoh): Give an explicit error.
6125
42c7e61e
UJ
61262011-05-13 Ulf Jasper <ulf.jasper@web.de>
6127
c2571358 6128 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6129 family from helvetica to sans.
c2571358 6130 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6131 etc/images/newsticker.
6132
c2571358 6133 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6134 family from helvetica to sans.
6135
6136 * net/newst-plainview.el (newsticker-new-item-face)
6137 (newsticker-old-item-face, newsticker-immortal-item-face)
6138 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6139 (newsticker-statistics-face): Change default family from
42c7e61e 6140 helvetica to sans.
c2571358 6141 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6142 etc/images/newsticker.
6143
6144 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6145 (newsticker--process-auto-mark-filter-match): : Tell user about
6146 auto-marking.
6147
8497a297
DV
61482011-05-13 Didier Verna <didier@xemacs.org>
6149
6150 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6151 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6152 TODO entries.
8497a297
DV
6153 (lisp-lambda-list-keyword-parameter-indentation)
6154 (lisp-lambda-list-keyword-parameter-alignment)
6155 (lisp-lambda-list-keyword-alignment): New customizable user options.
6156 (lisp-indent-defun-method): Improve docstring.
6157 (extended-loop-p): Fix comment.
6158 (lisp-indent-lambda-list-keywords-regexp): New variable.
6159 (lisp-indent-lambda-list): New function.
6160 (lisp-indent-259): Use it.
6161 (lisp-indent-defmethod): Support for more than one
6162 method qualifier and properly indent methods lambda-lists.
6163 (defgeneric): Provide a missing common-lisp-indent-function property.
6164
f278f87f
SM
61652011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6168 bounds for the empty string (bug#8667).
6169
5233edd7
GM
61702011-05-13 Glenn Morris <rgm@gnu.org>
6171
5237a44f
GM
6172 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6173
8340026c 6174 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6175 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6176
5233edd7 6177 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6178 (appt-time-msg-list): Doc fix.
a5464014 6179 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6180
92d10796
AS
61812011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6182
6183 * progmodes/ld-script.el (ld-script-keywords)
6184 (ld-script-builtins): Update keywords list.
6185
914a0ae1
SM
61862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6187
c89be45f
SM
6188 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6189
914a0ae1
SM
6190 * shell.el (shell-completion-vars): New function.
6191 (shell-mode):
6192 * simple.el (read-shell-command): Use it.
6193 (blink-matching-open): No need for " [...]" in minibuffer-message.
6194
98dc3df3
GM
61952011-05-12 Glenn Morris <rgm@gnu.org>
6196
6197 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6198 (appt-check): Simplify.
6199
d2fc7e3d 62002011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6201
4d61f28d 6202 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6203 literal "/dev/null".
6204
d2fc7e3d 62052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6206
6207 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6208 Fix typo.
6209
d2fc7e3d 62102011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6211
3f254caa
SM
6212 * progmodes/which-func.el (which-function):
6213 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6214 which might not be defined (Bug#8260).
6215
d45885f7
GM
62162011-05-12 Glenn Morris <rgm@gnu.org>
6217
6218 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6219 Let byte-compile-initial-macro-environment always take precedence.
6220
488086f4
SM
62212011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * net/rcirc.el: Add support for SSL/TLS connections.
6224 (rcirc-server-alist): New field `encryption'.
6225 (rcirc): Check `encryption' settings.
6226 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6227 Merge make-local-variable into `set'.
6228 (rcirc--connection-open-p): New function.
6229 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6230 the process is not a network process (e.g. running gnutls-cli).
6231 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6232 Make rcirc-(en|de)code-coding-system local here.
6233 (rcirc-mode): Merge make-local-variable into `set'.
6234 (rcirc-parent-buffer): Make permanent buffer-local.
6235 (rcirc-multiline-minor-mode): Don't do it here.
6236 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6237 there's no server buffer.
6238
7d3b9d44
GM
62392011-05-11 Glenn Morris <rgm@gnu.org>
6240
f64049c6
GM
6241 * newcomment.el (comment-kill): Prefix "unused" local.
6242
93c9df73
GM
6243 * term/w32console.el (get-screen-color): Declare.
6244
7d3b9d44
GM
6245 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6246 Handle symbol elements of byte-compile-initial-macro-environment.
6247
9e2dd53f
LL
62482011-05-10 Leo Liu <sdl.web@gmail.com>
6249
488086f4
SM
6250 * bookmark.el (bookmark-bmenu-mode-map):
6251 Bind bookmark-bmenu-search to `/'.
8b340240 6252
9e2dd53f 6253 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6254 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6255 (Footnote-unicode): New function.
6256 (footnote-style-alist): Add unicode style to the list.
6257 (footnote-style): Doc fix.
9e2dd53f 6258
79b70037
GM
62592011-05-10 Jim Meyering <meyering@redhat.com>
6260
6261 Fix doubled-word typos.
6262 * international/quail.el (quail-insert-kbd-layout): and and -> and
6263 * kermit.el: and and -> and
6264 * net/ldap.el (ldap-search-internal): to to -> to
6265 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6266 * progmodes/js.el (js-mode): and and -> and
6267 * textmodes/artist.el (artist-move-to-xy): at at -> at
6268 (artist-draw-region-trim-line-endings): if if -> if
6269 And Safetyc -> Safety.
6270 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6271
b8f82dc1 62722011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6273 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6274
6275 * files.el (hack-one-local-variable-eval-safep):
6276 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6277
4f99f44b
GM
62782011-05-10 Glenn Morris <rgm@gnu.org>
6279
6280 * calendar/diary-lib.el (diary-list-entries-hook)
6281 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6282 (diary-nongregorian-marking-hook, diary-list-entries)
6283 (diary-include-other-diary-files, diary-mark-entries)
6284 (diary-mark-included-diary-files): Doc fixes.
6285
84f29e6b
JB
62862011-05-09 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * misc.el: Require tabulated-list.el during compilation.
6289
9bedd73a
CY
62902011-05-09 Chong Yidong <cyd@stupidchicken.com>
6291
488086f4
SM
6292 * progmodes/compile.el (compilation-start):
6293 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6294 (compilation-filter-hook): Doc fix.
6295
797c735c
DD
62962011-05-09 Deniz Dogan <deniz@dogan.se>
6297
6298 * wdired.el: Remove outdated installation comment. Fix usage
6299 comment.
6300
5f4b1dfe
JB
63012011-05-09 Juanma Barranquero <lekktu@gmail.com>
6302
6303 * misc.el: Implement new command `list-dynamic-libraries'.
6304 (list-dynamic-libraries--loaded-only-p): New variable.
6305 (list-dynamic-libraries--refresh): New function.
6306 (list-dynamic-libraries): New command.
6307
4c44026c
CY
63082011-05-09 Chong Yidong <cyd@stupidchicken.com>
6309
488086f4
SM
6310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6311 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6312 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6313 higher priority to avoid clobbering by gnu.
6314
027f966d
CY
63152011-05-08 Chong Yidong <cyd@stupidchicken.com>
6316
6317 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6318 if the face has existing theme settings (Bug#8454).
6319
085f5d7d
CY
63202011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6321
488086f4
SM
6322 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6323 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6324
2a86a00c
RS
6325 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6326 special file names `.' and `..' (Bug#8259).
6327
d9c54a06
CY
63282011-05-08 Chong Yidong <cyd@stupidchicken.com>
6329
488086f4
SM
6330 * progmodes/grep.el (grep-mode-font-lock-keywords):
6331 Remove buffer-changing entries.
d9c54a06
CY
6332 (grep-filter): New function.
6333 (grep-mode): Add it to compilation-filter-hook.
6334
6335 * progmodes/compile.el (compilation-filter-hook)
6336 (compilation-filter-start): New defvars.
6337 (compilation-filter): Call compilation-filter-hook prior to
6338 updating the process mark.
6339
c4662635
SM
63402011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6343
b0512a1d
EZ
63442011-05-07 Eli Zaretskii <eliz@gnu.org>
6345
605c9376
EZ
6346 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6347 mailclient-send-it even if window-system is nil. (Bug#8595)
6348
c4662635
SM
6349 * term/w32console.el (terminal-init-w32console):
6350 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6351 background-mode. (Bug#8597)
6352
d1dc2cc2
SM
63532011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6356 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6357 New functions.
6358 (defgeneric, eieio--defmethod): Use them.
6359 (eieio-defgeneric): Remove.
6360 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6361
915d1300
GM
63622011-05-07 Glenn Morris <rgm@gnu.org>
6363
a3961c3e
GM
6364 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6365 Use let rather than let*.
6366 (timeclock-find-discrep): Remove unused local.
6367
314347b9
GM
6368 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6369
915d1300
GM
6370 * calendar/appt.el (appt-time-msg-list): Doc fix.
6371
275b59b0
NF
63722011-05-06 Noah Friedman <friedman@splode.com>
6373
6374 * apropos.el (apropos-print-doc): Only use
6375 emacs-lisp-docstring-fill-column when it is bound to an integer,
6376 per that variable's documentation.
6377
6c19f744
SM
63782011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6381 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6382
60f884b2
GM
63832011-05-06 Glenn Morris <rgm@gnu.org>
6384
5006e634
GM
6385 * calendar/appt.el (appt-message-warning-time): Doc fix.
6386 (appt-warning-time-regexp): New option.
6387 (appt-make-list): Respect appt-message-warning-time.
6388
548d0a63
GM
6389 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6390 New options.
6391 (diary-add-to-list): Strip comments from the displayed string.
6392 (diary-mode): Set comment-start and comment-end.
6393
60f884b2
GM
6394 * vc/diff-mode.el (smerge-refine-subst): Declare.
6395 (diff-refine-hunk): Don't require smerge-mode when compiling.
6396
989681bb
JB
63972011-05-06 Juanma Barranquero <lekktu@gmail.com>
6398
6399 * simple.el (list-processes): Return nil as the docstring says.
6400
a6bc05e1
MA
64012011-05-05 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6404 to "".
6405 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6406 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6407 determining of binary transfer. (Bug#7383)
6408
23c22e9a
MA
64092011-05-05 Michael Albinus <michael.albinus@gmx.de>
6410
c4662635
SM
6411 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6412 Fix port computation bug. (Bug#8618)
23c22e9a 6413
0bff894f
GM
64142011-05-05 Glenn Morris <rgm@gnu.org>
6415
b8296902
GM
6416 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6417
1f522ce8
GM
6418 * simple.el (shell-dynamic-complete-functions)
6419 (comint-dynamic-complete-functions): Declare.
6420
cf5bee67
GM
6421 * net/network-stream.el (gnutls-negotiate):
6422 * simple.el (tabulated-list-print): Fix declarations.
6423
6424 * progmodes/gud.el (syntax-symbol, syntax-point):
6425 Remove unnecessary and incorrect declarations.
6426
0bff894f
GM
6427 * emacs-lisp/check-declare.el (check-declare-scan):
6428 Handle byte-compile-initial-macro-environment in bytecomp.el
6429
9869b3ae
SM
64302011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 Fix earlier half-done eieio-defmethod change (bug#8338).
6433 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6434 Streamline and change calling convention.
6435 (defmethod): Adjust accordingly and simplify.
6436 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6437 new eieio--defmethod.
6438 (slot-boundp): Minor CSE simplification.
6439
9c1d5ac5
MZ
64402011-05-05 Milan Zamazal <pdm@zamazal.org>
6441
6442 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6443 (glasses-make-readable): Use glasses-separate-capital-groups.
6444
455c834e
JB
64452011-05-05 Juanma Barranquero <lekktu@gmail.com>
6446
6447 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6448 (warning-series): Doc fix.
6449 (display-warning): Don't try to create the buffer if we just found it.
6450
9ed7c8cb
CY
64512011-05-04 Chong Yidong <cyd@stupidchicken.com>
6452
6453 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6454 (autoload-find-generated-file): New function.
6455 (generate-file-autoloads): Bind generated-autoload-file to
6456 buffer-file-name.
9869b3ae
SM
6457 (update-file-autoloads, update-directory-autoloads):
6458 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6459 output file (Bug#7989).
6460 (batch-update-autoloads): Doc fix.
6461
0898ca10
JB
64622011-05-04 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6465
31dfb76c
GM
64662011-05-04 Glenn Morris <rgm@gnu.org>
6467
f330b642
GM
6468 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6469 function, so it follows changes in calendar-date-style.
6470 (diary-fancy-date-matcher): New function.
6471 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6472 (diary-fancy-font-lock-fontify-region-function):
6473 Use diary-fancy-date-pattern as a function.
6474
31dfb76c
GM
6475 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6476 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6477
48e79d6a
TZ
64782011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6479
6480 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6481 instead of positional arguments. Allow :keylist and :crlfiles
6482 arguments.
6483 (open-gnutls-stream): Call it.
6484
6485 * net/network-stream.el (network-stream-open-starttls): Adjust to
6486 call `gnutls-negotiate' with :process and :hostname arguments.
6487
dd5a5ee0
SM
64882011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6489
ef80fc09
SM
6490 * minibuffer.el (completion--message): New function.
6491 (completion--do-completion, minibuffer-complete)
6492 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6493 (completion--do-completion): Don't ignore completion-auto-help when in
6494 icomplete-mode.
6495
dd5a5ee0
SM
6496 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6497 internal encoding (e.g. tibetan zero is not whitespace).
6498 (global-whitespace-mode): Prefer save-current-buffer.
6499 (whitespace-trailing-regexp): Remove useless save-match-data.
6500 (whitespace-empty-at-bob-regexp): Minor simplification.
6501
b7d22a83
CY
65022011-05-03 Chong Yidong <cyd@stupidchicken.com>
6503
6504 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6505
5192af46
AM
65062011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6507
6508 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6509 Use `concat' to create string for insertion.
5192af46 6510
5767d190
SM
65112011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6514 Avoid open-line which runs post-self-insert-hook.
6515 (bibtex-fill-entry): Remove unused `end' var.
6516
bf242939
AM
65172011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6518
5767d190
SM
6519 * textmodes/ispell.el (ispell-add-per-file-word-list):
6520 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6521
25666126
LL
65222011-05-03 Leo Liu <sdl.web@gmail.com>
6523
6524 * isearch.el (isearch-yank-pop): New command.
5767d190 6525 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6526 (isearch-forward): Mention it.
6527
52d3c2d0
SM
65282011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6529
1bcace58
SM
6530 * simple.el (minibuffer-complete-shell-command): Remove.
6531 (minibuffer-local-shell-command-map): Use completion-at-point.
6532 (read-shell-command): Setup completion vars here instead.
6533 (read-expression-map): Bind TAB to symbol completion.
6534
52d3c2d0
SM
6535 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6536 error directly rather via storing it into `results'.
6537
35813471
LL
65382011-05-02 Leo Liu <sdl.web@gmail.com>
6539
6540 * vc/diff.el: Fix description.
6541
e793a940
LMI
65422011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6543
6544 * server.el (server-eval-at): New function.
6545
8de66e05
LMI
65462011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6547
6548 * net/network-stream.el (open-network-stream): Take a :nowait
6549 parameter and pass it on to `make-network-process'.
6550 (network-stream-open-plain): Ditto.
6551
dcb79f20
AS
65522011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6553
6554 * faces.el (face-spec-set-match-display): Don't match toolkit
6555 options on terminal frames.
6556
14a7fbd8
SM
65572011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6558
7eabc1be
SM
6559 * progmodes/pascal.el: Use lexical binding.
6560 (pascal-mode-map): Remove author preferences.
6561
14a7fbd8
SM
6562 * pcomplete.el (pcomplete-std-complete): Don't abuse
6563 completion-at-point.
6564
50f84510
JB
65652011-04-28 Juanma Barranquero <lekktu@gmail.com>
6566
6e087a44
JB
6567 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6568 removing code that has been dead since 1991 or so.
6569
50f84510
JB
6570 * startup.el (command-line): When warning about "_emacs", use a
6571 delayed warning to allow the user to filter it out.
6572
0ba690bd
DD
65732011-04-28 Deniz Dogan <deniz@dogan.se>
6574
6575 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6576 user has not joined.
6577
08abfaad
SM
65782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6581 aren't any completions at point.
6582
638f053a
JB
65832011-04-28 Juanma Barranquero <lekktu@gmail.com>
6584
6585 * subr.el (display-delayed-warnings): New function.
6586 (delayed-warnings-hook): New variable.
6587
8fff8daa
SM
65882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6589
08abfaad
SM
6590 * minibuffer.el (completion-at-point, completion-help-at-point):
6591 Don't presume that a given completion-at-point-function will always
6592 use the same calling convention.
6593
8fff8daa
SM
6594 * pcomplete.el (pcomplete-completions-at-point):
6595 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6596 pcomplete-seen is non-nil.
6597 (pcomplete-comint-setup): Also recognize the new comint/shell
6598 completion functions.
6599 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6600 pcomplete-seen is non-nil.
6601
841a1577 66022011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6603
841a1577 6604 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6605 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6606 the first character in the entry. This allows for code to add its
211ec907
UJ
6607 own uid to the entry.
6608 (icalendar--convert-float-to-ical): Add export of
6609 `diary-float'-entries save for those with the optional DAY
6610 argument.
6611
2a782793
DC
66122011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6613
6614 * subr.el (shell-quote-argument): Use alternate escaping strategy
6615 when we spot a variable reference in a string.
6616
0438ce91
DC
66172011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6618
6619 * cus-start.el (all): Define customization for debug-on-event.
6620
841a1577 66212011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6622
6623 * subr.el (shell-quote-argument): Escape correctly under Windows.
6624
d090ed6c
SM
66252011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6628
bfd31217
MA
66292011-04-25 Michael Albinus <michael.albinus@gmx.de>
6630
d090ed6c
SM
6631 * net/tramp.el (tramp-process-actions): Add POS argument.
6632 Delete region between POS and (pos).
bfd31217 6633
d090ed6c
SM
6634 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6635 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6636 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6637
6638 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6639 position in `tramp-process-actions' call.
6640
6641 * net/trampver.el: Update release number.
6642
e92f3bd3
SM
66432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6644
850256b5
SM
6645 * custom.el (defcustom): Obey lexical-binding.
6646
e92f3bd3
SM
6647 Fix octave-inf completion problems reported by Alexander Klimov.
6648 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6649 Inherit from octave-mode-syntax-table.
6650 (inferior-octave-mode): Set info-lookup-mode.
6651 (inferior-octave-completion-at-point): New function.
6652 (inferior-octave-complete): Use it and completion-in-region.
6653 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6654 comint-filename-completion.
6655 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6656 symbol elements which shouldn't be word elements.
6657 (octave-font-lock-keywords, octave-beginning-of-defun)
6658 (octave-function-header-regexp): Adjust regexps accordingly.
6659 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6660
cd22b309
JB
66612011-04-25 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * net/gnutls.el (gnutls-errorp): Declare before first use.
6664
8b492194
TZ
66652011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6666
6667 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6668 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6669 default trustfile exists before going to use it. Add missing
6670 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6671 Reported by Claudio Bley <claudio.bley@gmail.com>.
6672 (open-gnutls-stream): Add usage example.
6673
6674 * net/network-stream.el (network-stream-open-starttls): Give host
6675 parameter to `gnutls-negotiate'.
6676 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6677 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6678
841a1577 66792011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6680
cd22b309
JB
6681 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6682 Use correct match group (bug#8438).
05842630 6683
3ba7869c
CY
66842011-04-24 Chong Yidong <cyd@stupidchicken.com>
6685
512e3ae1
CY
6686 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6687 (package-menu--generate): New arg specifying packages to show.
6688 (package-menu-refresh, package-menu-execute, list-packages):
6689 Callers changed.
6690 (package-show-package-list): New function, replacing deleted
6691 package--list-packages (renamed because it is non-internal).
6692
6693 * finder.el (finder-list-matches): Use package-show-package-list
6694 instead of deleted package--list-packages.
6695
e92f3bd3
SM
6696 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6697 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6698 (vc-annotate-mode-map): Bind it to RET.
6699
7031be6d
UR
67002011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6701
6702 * progmodes/etags.el (next-file): Don't use set-buffer to change
6703 buffers (Bug#8478).
6704
4ef177aa
CY
67052011-04-24 Chong Yidong <cyd@stupidchicken.com>
6706
c8d173eb
CY
6707 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6708
4ef177aa
CY
6709 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6710 (apropos-accumulator): Doc fix.
6711 (apropos-function, apropos-macro, apropos-command)
6712 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6713 (apropos-plist): Add face property.
6714 (apropos-symbols-internal): Fix indentation.
6715 (apropos-print): Simplify help, and recognize apropos-multi-type.
6716 (apropos-print-doc): Use button-type-get to extract the button's
6717 face property. Fill docstring (Bug#8352).
6718
4ffd0d6b 67192011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6720
6721 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6722
c6c32125 6723 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6724 (mpuz-mode-map): Use mapc.
c6c32125
JB
6725 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6726 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6727 Fix typos in docstrings.
6728
58d468b4
JB
6729 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6730 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6731
6470c3c6
JB
6732 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6733
4ffd0d6b 67342011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6735
6736 * minibuffer.el (completion--do-completion): Avoid the "Next char
6737 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6738
3ad8bad0
CY
6739 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6740 mouse-2 into unread-command-events, it is interpreted correctly.
6741
71d73c9c 6742 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6743 (image-toggle-display): Doc fix.
71d73c9c 6744
841a1577 67452011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6746
4ffd0d6b
GM
6747 * textmodes/page.el (what-page): Use line-number-at-pos to
6748 calculate line number (Bug#6825).
6e1dbaa9 6749
c2fb1b60
JB
67502011-04-22 Juanma Barranquero <lekktu@gmail.com>
6751
6752 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6753 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6754 Pass argument NO-DEFAULT to `find-tag-interactive'.
6755
e02f48d7
JB
67562011-04-22 Juanma Barranquero <lekktu@gmail.com>
6757
6758 Lexical-binding cleanup.
6759
6760 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6761 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6762 * progmodes/ada-prj.el (ada-prj-initialize-values)
6763 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6764 (ada-prj-show-value):
6765 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6766 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6767 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6768 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6769 * progmodes/bug-reference.el (bug-reference-push-button):
6770 * progmodes/fortran.el (fortran-line-length):
6771 * progmodes/glasses.el (glasses-change):
6772 * progmodes/octave-mod.el (octave-fill-paragraph):
6773 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6774 (python-pdbtrack-grub-for-buffer, python-sentinel):
6775 * progmodes/sql.el (sql-save-connection):
6776 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6777 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6778 Mark unused parameters.
6779
6780 * progmodes/compile.el (compilation--flush-directory-cache)
6781 (compilation--flush-parse, compile-internal): Mark unused parameters.
6782 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6783 (compilation-next-error-function): Remove unused variable `timestamp'.
6784
6785 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6786 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6787
6788 * progmodes/dcl-mode.el (dcl-end-of-command):
6789 Remove unused variable `start'.
6790 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6791 (dcl-option-value-basic, dcl-option-value-offset)
6792 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6793 Mark unused parameters.
6794 (dcl-save-local-variable): Remove unused variable `val'.
6795 (mode): Declare.
6796
6797 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6798 Mark unused parameters.
6799 (delphi-ignore-changes): Move before first use.
6800 (delphi-charset-token-at): Remove unused variable `start'.
6801 (delphi-else-start): Remove unused variable `if-count'.
6802 (delphi-comment-block-start, delphi-comment-block-end):
6803 Remove unused variable `kind'.
6804 (delphi-indent-line): Remove unused variable `new-point'.
6805
6806 * progmodes/ebrowse.el (ebrowse-files-list)
6807 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6808 Mark unused parameters. Don't quote `lambda'.
6809 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6810 Don't quote `lambda'.
6811 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6812 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6813 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6814 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6815 Use `ignore-errors'.
6816 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6817 (ebrowse-view/find-file-and-search-pattern)
6818 (ebrowse-view/find-member-declaration/definition):
6819 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6820 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6821 Rename parameter PREFIX-ARG to PREFIX.
6822 (ebrowse-tags-read-name): Remove unused variables `start' and
6823 `member-info'.
6824 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6825 to `tags-file'.
6826
6827 * progmodes/etags.el (local-find-tag-hook): Declare.
6828 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6829 Mark unused parameters.
6830
6831 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6832 (executable-interpret): Mark unused parameter.
6833
6834 * progmodes/flymake.el (flymake-process-sentinel)
6835 (flymake-after-change-function)
6836 (flymake-create-temp-with-folder-structure)
6837 (flymake-get-include-dirs-dot): Mark unused parameters.
6838 (flymake-safe-delete-directory): Remove unused variable `err'.
6839
6840 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6841 (speedbar-timer-fn, speedbar-line-text)
6842 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6843 (speedbar-center-buffer-smartly): Declare functions.
6844 (gdb-find-watch-expression): Remove unused variable `array'.
6845 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6846 (gdb-starting): Mark unused parameters.
6847 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6848 (gdb-table-string): Remove unused variable `res'.
6849 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6850 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6851 (gdb-display-buffer): Remove unused variable `cur-size'.
6852
6853 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6854 allow lexical-binding compilation.
6855 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6856 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6857 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6858 Mark unused parameters.
6859 (gud-gdb-marker-filter): Remove unused variable `match'.
6860 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6861 lambda expressions and funcall them, instead of using `fset'.
6862
6863 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6864 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6865
6866 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6867 variable `header-beg'; use `let'.
6868
6869 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6870 `restart', `last-sexp' and `at-do'.
6871
6872 * progmodes/js.el (js--debug): Mark unused parameter.
6873 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6874 (js--splice-into-items): Remove unused variable `item'.
6875 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6876
6877 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6878 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6879 (makefile-complete): Remove unused variable `try'.
6880 (makefile-fill-paragraph, makefile-match-function-end):
6881 Mark unused parameters.
6882
6883 * progmodes/octave-inf.el (inferior-octave-complete):
6884 Remove unused variable `proc'.
6885 (inferior-octave-output-digest): Mark unused parameter.
6886
6887 * progmodes/perl-mode.el (perl-calculate-indent):
6888 Remove unused variable `err'.
6889
6890 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6891 (prolog-indent-line): Mark unused parameters.
6892 (prolog-indent-line): Remove unused variable `beg'.
6893
6894 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6895 (reporter-dont-compact-list): Declare.
6896
6897 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6898 Remove unused variable `char'.
6899 (sh-debug): Mark unused parameter.
6900 (sh-get-indent-info): Remove unused variable `start'.
6901 (sh-calculate-indent): Remove unused variable `var'.
6902
6903 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6904 (simula-electric-keyword): Remove unused variable `null'.
6905 (simula-search-backward, simula-search-forward): Remove unused
6906 variables `begin' and `end'.
6907
6908 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6909 Remove unused variable `pos'.
6910 (vera-electric-tab, vera-comment-uncomment-region):
6911 Mark unused parameters.
6912 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6913
7ede3b65
CY
69142011-04-22 Chong Yidong <cyd@stupidchicken.com>
6915
6916 * emacs-lisp/package.el (package--builtins, package-alist)
6917 (package-load-descriptor, package-built-in-p, package-activate)
6918 (define-package, package-installed-p)
6919 (package-compute-transaction, package-buffer-info)
6920 (package--push): Doc fix. Distinguish more clearly between
6921 version strings and version lists.
6922
121656e9
JB
69232011-04-21 Juanma Barranquero <lekktu@gmail.com>
6924
6925 Lexical-binding cleanup.
6926
6927 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6928 (5x5-make-mutate-best):
6929 * play/fortune.el (fortune-in-buffer):
6930 * play/gomoku.el (gomoku-init-display):
6931 * play/solitaire.el (solitaire, solitaire-do-check):
6932 * play/tetris.el (tetris-default-update-speed-function):
6933 Mark unused parameters.
6934
6935 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6936 (bubbles--shift): Remove unused variable `char-org'.
6937 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6938 (bubbles--show-images): Remove unused variable `char'.
6939
6940 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6941 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6942 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6943 (decipher-analyze-buffer): Use ?\s.
6944 (decipher-make-checkpoint): Remove unused variable `mapping'.
6945
6946 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6947
6948 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6949 Remove unused variable `result'; use `let'.
6950
6951 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6952 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6953 (gametree-children-shown-p, gametree-compute-reduced-score):
6954 Use `ignore-errors'.
6955
6956 * play/handwrite.el (ps-lpr-switches): Declare.
6957 (handwrite): Remove unused variables `pmin' and `lastp'.
6958
6959 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6960
6961 * play/landmark.el (landmark-init-display)
6962 (landmark-update-naught-weights): Mark unused parameters.
6963 (landmark-y): Remove unused variable `noise'. Simplify.
6964 (landmark-human-plays): Remove unused variable `score'.
6965
6966 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6967 (mpuz-try-proposal): Remove unused variable `game'.
6968
6969 * play/zone.el (life-patterns): Declare.
6970
80f499c7
JB
69712011-04-20 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * vc/vc.el (ediff-vc-internal): Declare function.
6974
024ff170
SM
69752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6976
c0a193ea
SM
6977 * shell.el: Use lexical-binding and std completion UI.
6978 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6979 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6980 comint-preoutput-filter-functions rather than on
6981 comint-output-filter-functions.
6982 (shell-command-completion, shell--command-completion-data)
6983 (shell-filename-completion, shell-environment-variable-completion)
6984 (shell-c-a-p-replace-by-expanded-directory): New functions.
6985 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6986 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6987 (shell-dynamic-complete-environment-variable): Use them.
6988 (shell-dynamic-complete-as-environment-variable)
6989 (shell-dynamic-complete-as-command): Remove.
6990 (shell-match-partial-variable): Match past point.
6991 * comint.el: Clean up use of completion-at-point-functions.
6992 (comint-completion-at-point): New function.
6993 (comint-mode): Use it completion-at-point-functions.
6994 (comint-dynamic-complete): Make it obsolete.
6995 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6996 (comint-c-a-p-replace-by-expanded-history): New function.
6997 (comint-dynamic-complete-functions)
6998 (comint-replace-by-expanded-history): Use it.
6999 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7000 termination strings. Try harder to avoid second try-completion.
7001 (completion-in-region-mode-map): Disable bindings that don't work yet.
7002
2dbaa080
SM
7003 * comint.el: Use lexical-binding. Require CL.
7004 (comint-dynamic-complete-functions): Use comint-filename-completion.
7005 (comint-completion-addsuffix): Tweak custom type.
7006 (comint-filename-completion, comint--common-suffix)
7007 (comint--common-quoted-suffix, comint--table-subvert)
7008 (comint--complete-file-name-data): New functions.
7009 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7010 (comint-dynamic-list-filename-completions): Use them.
7011 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7012
2dbaa080
SM
7013 * minibuffer.el (completion-in-region-mode):
7014 Keep completion-in-region-mode--predicate global.
7015 (completion-in-region--postch):
7016 Assume completion-in-region-mode--predicate is not null.
7017
c79a6f38
SM
7018 * progmodes/flymake.el (flymake-start-syntax-check-process):
7019 Obey `dir'. Simplify.
7020
024ff170
SM
7021 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7022 we're in VC after all.
7023
1c6c854e
CS
70242011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7025
7026 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7027 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7028 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7029
bed7f140
SM
70302011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7031
332e62ab
SM
7032 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7033 add sanity check.
7034
bed7f140
SM
7035 * obsolete/erc-hecomplete.el: Make obsolete.
7036 * obsolete/: Standardize obsolescence info in the header.
7037
f195c582
GM
70382011-04-20 Glenn Morris <rgm@gnu.org>
7039
7040 * calendar/solar.el (solar-horizontal-coordinates):
7041 Use the longitude argument rather than `calendar-longitude'.
7042 (solar-date-next-longitude): Remove unused locals.
7043
cb79b8c0
VJL
70442011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7045
7046 * whitespace.el: New version 13.2.1.
7047
70482011-04-20 felix <EmacsWiki> (tiny change)
7049
d8e4b68b 7050 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7051 switching between major modes on a file.
7052
602ea69d
SM
70532011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7056 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7057 multi-line comments as well.
7058
06b60517
JB
70592011-04-19 Juanma Barranquero <lekktu@gmail.com>
7060
7061 Lexical-binding cleanup.
7062
7063 * arc-mode.el (archive-mode-revert):
7064 * cmuscheme.el (scheme-interactively-start-process):
7065 * custom.el (custom-initialize-delay):
7066 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7067 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7068 * emacs-lock.el (emacs-lock-clear-sentinel):
7069 * ezimage.el (defezimage):
7070 * follow.el (follow-avoid-tail-recenter):
7071 * fringe.el (set-fringe-mode-1):
7072 * generic-x.el (bat-generic-mode-compile):
7073 * help-mode.el (help-info-variable, help-do-xref)
7074 (help-mode-revert-buffer):
7075 * help.el (view-emacs-todo):
7076 * iswitchb.el (iswitchb-completion-help):
7077 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7078 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7079 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7080 * locate.el (locate-update):
7081 * longlines.el (longlines-encode-region)
7082 (longlines-after-change-function):
7083 * outline.el (outline-isearch-open-invisible):
7084 * ps-def.el (declare-function, charset-dimension, char-width)
7085 (encode-char):
7086 * ps-mule.el (ps-mule-plot-string):
7087 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7088 (recentf-edit-list-select, recentf-edit-list-validate)
7089 (recentf-open-files-action):
7090 * rect.el (delete-whitespace-rectangle-line)
7091 (rectangle-number-line-callback):
7092 * register.el (window-configuration-to-register)
7093 (frame-configuration-to-register):
7094 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7095 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7096 (xselect-convert-to-targets, xselect-convert-to-delete)
7097 (xselect-convert-to-filename, xselect-convert-to-charpos)
7098 (xselect-convert-to-lineno, xselect-convert-to-colno)
7099 (xselect-convert-to-os, xselect-convert-to-host)
7100 (xselect-convert-to-user, xselect-convert-to-class)
7101 (xselect-convert-to-name, xselect-convert-to-integer)
7102 (xselect-convert-to-atom, xselect-convert-to-identity):
7103 * subr.el (declare, ignore, process-kill-without-query)
7104 (text-clone-maintain):
7105 * terminal.el (te-get-char, te-tic-sentinel):
7106 * tool-bar.el (tool-bar-make-keymap):
7107 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7108 * type-break.el (type-break-mode, type-break-noninteractive-query):
7109 * view.el (View-back-to-mark):
7110 * wid-browse.el (widget-browse-action, widget-browse-widget)
7111 (widget-browse-widgets, widget-browse-sexp):
7112 * widget.el (define-widget-keywords):
7113 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7114 Mark unused parameters.
7115
7116 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7117 (align-areas): Remove unused variable `look'.
7118 (align-region): Remove unused variables `real-end' and `pos-list'.
7119
7120 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7121
7122 * bindings.el (mode-line-modified, mode-line-remote):
7123 Mark unused parameters.
7124 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7125
7126 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7127 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7128
7129 * comint.el (comint-history-isearch-pop-state)
7130 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7131 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7132 (comint-substitute-in-file-name): Doc fix.
7133
7134 * completion.el (cmpl-statistics-block): Mark unused parameter.
7135 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7136 (save-completions-to-file, load-completions-from-file):
7137 Remove unused local variable `e'.
7138
7139 * composite.el (compose-chars): Remove unused variable `len'.
7140 (lgstring-insert-glyph): Remove unused variable `g'.
7141 (compose-glyph-string): Remove unused variables `ascent',
7142 `descent', `lbearing' and `rbearing'.
7143 (compose-glyph-string-relative): Remove unused variables
7144 `lbearing', `rbearing' and `wadjust'.
7145 (compose-gstring-for-graphic): Remove unused variables `header',
7146 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7147 (compose-gstring-for-terminal): Remove unused variables `header'
7148 and `nchars'. Use `let', not `let*'.
7149
7150 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7151 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7152 (Custom-buffer-done, custom-buffer-create-internal)
7153 (custom-browse-visibility-action, custom-browse-group-tag-action)
7154 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7155 (widget-magic-mouse-down-action, custom-toggle-parent)
7156 (custom-add-parent-links, custom-toggle-hide-variable)
7157 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7158 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7159 (custom-face-menu-create, custom-variable-menu-create, get)
7160 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7161 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7162 (customize-apropos): Remove unused variable `tests'.
7163 (custom-group-value-create): Remove unused variable `hidden-p'.
7164 (sort-fold-case): Declare.
7165
7166 * cus-theme.el (custom-reset-standard-faces-list)
7167 (custom-reset-standard-variables-list): Declare.
7168 (customize-create-theme, custom-theme-revert, custom-theme-write)
7169 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7170 Mark unused parameters.
7171
7172 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7173
7174 * delim-col.el (delimit-columns-max): Move defvar before first use.
7175
7176 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7177 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7178
7179 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7180 (auto-insert): Declare.
7181 (desktop-restore-file-buffer): Rename desktop-* parameters;
7182 mark unused ones.
7183 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7184 (desktop-buffer): Rename desktop-* parameters.
7185
7186 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7187 (dframe-reposition-frame-xemacs, dframe-help-echo)
7188 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7189 Mark unused parameters.
7190
7191 * dired-aux.el (backup-extract-version-start, overwrite-query)
7192 (overwrite-backup-query, rename-regexp-query)
7193 (rename-non-directory-query): Declare.
7194 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7195 (dired-add-entry): Remove unused variable `orig-file-name'.
7196 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7197 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7198 `dired-copy-preserve-time' directly.
7199 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7200 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7201
7202 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7203 (dired-virtual-revert, dired-make-relative-symlink):
7204 Mark unused parameters.
7205 (manual-program): Declare.
7206 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7207 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7208 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7209
7210 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7211
7212 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7213
7214 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7215 Declare.
7216
7217 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7218
7219 * electric.el (Electric-command-loop): Rename parameter
7220 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7221
7222 * expand.el (expand-in-literal): Remove unused variable `here'.
7223
7224 * facemenu.el (facemenu-add-new-color):
7225 Remove unused variable `docstring'.
7226
7227 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7228 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7229 (face-attr-construct): Mark unused parameter. Doc fix.
7230 (read-color): Remove unused variable `hex-string'.
7231
7232 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7233 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7234 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7235 (display-buffer-other-frame): Remove unused variable `old-window'.
7236 (kill-buffer-hook): Declare.
7237 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7238 Mark unused parameters.
7239 (after-find-file): Pass 1 to `auto-save-mode', not t.
7240
7241 * files-x.el (auto-insert): Declare.
7242 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7243
7244 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7245 variable `buf'. Mark unused parameter.
06b60517
JB
7246 (find-lisp-insert-directory): Mark unused parameter.
7247
7248 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7249 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7250 (format-common-tail): Remove, unused.
7251 (format-deannotate-region): Remove unused variable `loc'.
7252 (format-annotate-region): Remove unused variable `p'.
7253 (format-annotate-single-property-change): Remove unused variables
7254 `default' and `tail'.
7255
7256 * forms.el (read-file-filter): Declare.
7257 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7258
7259 * frame.el (frame-creation-function-alist): Mark unused parameter.
7260 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7261
7262 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7263 Remove unused parameters.
7264 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7265 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7266
7267 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7268 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7269 (hfy-prepare-tag-map): Mark unused parameters.
7270 (htmlfontify-buffer): Use `called-interactively-p'.
7271
7272 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7273 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7274 (ibuffer-do-occur): Mark unused parameters.
7275 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7276 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7277
7278 * ibuffer.el: Don't quote `lambda'.
7279 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7280 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7281 Mark unused parameters.
7282
7283 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7284 (ido-completing-read): Mark unused parameters.
7285 (ido-copy-current-word): Mark unused parameters;
7286 remove unused variable `name'.
7287 (ido-sort-merged-list): Remove unused parameter `dirs'.
7288
7289 * ielm.el (ielm-input-sender): Mark unused parameter.
7290 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7291 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7292 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7293 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7294 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7295
7296 * image-dired.el (image-dired-display-thumbs): Remove unused
7297 variables `curr-file' and `count'.
7298 (image-dired-remove-tag): Remove unused variable `start'.
7299 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7300 variable `curr-file'
7301 (image-dired-rotate-original): Remove unused variable `temp-file'.
7302 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7303 Remove unused variable `file'.
7304 (image-dired-gallery-generate): Remove unused variable `curr'.
7305 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7306
7307 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7308
7309 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7310
7311 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7312
7313 * isearch.el (minibuffer-history-symbol): Declare.
7314 (isearch-edit-string): Remove unused variable `err'.
7315 (isearch-message-prefix, isearch-message-suffix):
7316 Mark unused parameters.
7317
7318 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7319
7320 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7321
7322 * makesum.el (double-column): Remove unused variable `cnt'.
7323
7324 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7325 (ido-ignore-item-temp-list): Declare.
7326
7327 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7328 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7329 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7330 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7331 `mouse-col-delta'.
7332
7333 * mouse-sel.el (mouse-extend-internal):
7334 Remove unused variable `orig-window-frame'.
7335
7336 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7337 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7338 Move declarations before first use.
7339 (pcomplete-opt): Mark unused parameters; doc fix.
7340
7341 * proced.el (proced-revert): Mark unused parameter.
7342 (proced-send-signal): Remove unused variable `err'.
7343
7344 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7345 Rename parameter PREFIX-ARG to ARG.
7346 (ps-basic-plot-string, ps-basic-plot-whitespace):
7347 Mark unused parameters.
7348
7349 * replace.el (replace-count): Define.
7350 (occur-revert-function): Mark unused parameters.
7351 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7352 (isearch-case-fold-search, isearch-string): Declare.
7353 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7354 bind `case-fold-search'. Remove unused variables `beg' and `end',
7355 and simplify.
7356 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7357 COUNT and bind `replace-count'.
7358 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7359 to COUNT.
7360
7361 * savehist.el (print-readably, print-string-length): Declare.
7362
7363 * shadowfile.el (shadow-expand-cluster-in-file-name):
7364 Remove unused variable `cluster'.
7365 (shadow-copy-file): Remove unused variable `i'.
7366 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7367 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7368 (shadow-define-literal-group, shadow-define-regexp-group)
7369 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7370
7371 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7372 (shell): Use `called-interactively-p'.
7373 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7374
7375 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7376 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7377 (delete-backward-char): Remove unused variable `ocol'.
7378 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7379 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7380 (event-apply-hyper-modifier, event-apply-shift-modifier)
7381 (event-apply-control-modifier, event-apply-meta-modifier):
7382 Mark unused parameters.
7383 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7384 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7385
7386 * speedbar.el (speedbar-ignored-directory-expressions)
7387 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7388 (speedbar-find-file, speedbar-dir-follow)
7389 (speedbar-directory-buttons-follow, speedbar-tag-find)
7390 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7391 (speedbar-buffers-line-directory, speedbar-buffer-click):
7392 Mark unused parameters.
7393 (speedbar-tag-file): Remove unused variable `mode'.
7394 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7395
7396 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7397
7398 * talk.el (talk): Remove unused variable `display'.
7399
7400 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7401 (tar-write-region-annotate): Mark unused parameter.
7402
7403 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7404 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7405 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7406 warning by another.
7407
7408 * time-stamp.el (time-stamp-string-preprocess):
7409 Remove unused variable `require-padding'.
7410
7411 * tree-widget.el (widget-glyph-enable): Declare.
7412 (tree-widget-action): Mark unused parameter.
7413
7414 * w32-fns.el (x-get-selection): Mark unused parameter.
7415 (autoload-make-program, generated-autoload-file): Declare.
7416
7417 * wdired.el (wdired-revert): Mark unused parameters.
7418 (wdired-xcase-word): Remove unused variable `err'.
7419
7420 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7421 (whitespace-help-scroll): Remove unused variable `data-help'.
7422
7423 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7424 (widget-image-insert, widget-after-change, default)
7425 (widget-default-format-handler, widget-default-notify)
7426 (widget-default-prompt-value, widget-info-link-action)
7427 (widget-url-link-action, widget-function-link-action)
7428 (widget-variable-link-action, widget-file-link-action)
7429 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7430 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7431 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7432 (widget-insert-button-action, widget-delete-button-action, visibility)
7433 (widget-documentation-link-action, widget-documentation-string-action)
7434 (widget-const-prompt-value, widget-regexp-match, symbol)
7435 (widget-coding-system-prompt-value)
7436 (widget-key-sequence-value-to-external, sexp)
7437 (widget-sexp-value-to-internal, character, vector, cons)
7438 (widget-choice-prompt-value, widget-boolean-prompt-value)
7439 (widget-color--choose-action): Mark unused parameters.
7440 (widget-item-match-inline, widget-choice-match-inline)
7441 (widget-checklist-match, widget-checklist-match-inline)
7442 (widget-group-match): Rename parameter VALUES to VALS.
7443 (widget-field-value-set): Remove unused variable `size'.
7444 (widget-color-action): Remove unused variables `value' and `start'.
7445
7446 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7447 variable `dir'. Doc fix.
06b60517
JB
7448 (windmove-find-other-window): Don't pass it.
7449
7450 * window.el (count-windows): Mark unused parameter.
7451 (bw-adjust-window): Remove unused variable `err'.
7452
7453 * woman.el (woman-file-name): Remove unused variable `default'.
7454 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7455 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7456 (global-font-lock-mode): Declare.
7457 (woman-decode-region): Mark unused parameter.
7458 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7459
7460 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7461 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7462 (x-dnd-handle-moz-url): Remove unused variable `title'.
7463 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7464
7465 * xml.el (xml-parse-tag, xml-parse-attlist):
7466 Remove unused variable `pos'.
7467
bc4f7f3d
GM
74682011-04-19 Glenn Morris <rgm@gnu.org>
7469
7470 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7471 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7472 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7473 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7474 * calendar/cal-html.el (cal-html-insert-minical):
7475 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7476 (calendar-mark-date-pattern):
7477 Prefix "unused" locals.
7478
7479 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7480 optional argument `style'.
7481
7482 * calendar/appt.el (appt-make-list):
7483 * calendar/cal-china.el (calendar-chinese-date-string):
7484 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7485 (diary-hebrew-yahrzeit):
7486 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7487 * calendar/calendar.el (calendar-generate-window):
7488 * calendar/time-date.el (time-to-days):
7489 Remove unused local variables.
7490
16a43933
CY
74912011-04-18 Chong Yidong <cyd@stupidchicken.com>
7492
7493 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7494 glyphless-char-display table.
7495 (tabulated-list-glyphless-char-display): New var.
7496
7eed1860
SS
74972011-04-18 Sam Steingold <sds@gnu.org>
7498
7499 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7500 to acknowledgments.
7501
4d2d1ccd
GM
75022011-04-17 Glenn Morris <rgm@gnu.org>
7503
7504 * calendar/diary-lib.el (diary-sexp-entry):
7505 * calendar/holidays.el (holiday-sexp):
7506 Set debug-on-error rather than the removed stack-trace-on-error.
7507
239da61d
GM
75082011-04-16 Glenn Morris <rgm@gnu.org>
7509
7510 * progmodes/f90.el: Use lexical-binding.
7511 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7512
8b05752a
SM
75132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7514
daca8ba5
SM
7515 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7516 (mail-mode): Setup mailalias completion here instead.
7517 * mail/mailalias.el: Use lexical-binding.
7518 (pattern, mailalias-done): Declare dynamic.
7519 (mail-completion-at-point-function): New function, from mail-complete.
7520 (mail-complete): Use it.
7521 (mail-completion-expand): New function.
7522 (mail-get-names): Use it.
7523 (mail-directory, mail-directory-process, mail-directory-stream):
7524 Don't use `pattern' for lexically bound arg.
7525
6f542485
SM
7526 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7527
037e7c3f
SM
7528 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7529 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7530 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7531
8b05752a
SM
7532 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7533 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7534 (byte-interactive-p): Define them again, for use when inlining
7535 old code.
7536
49093f60
JB
75372011-04-15 Juanma Barranquero <lekktu@gmail.com>
7538
7539 * loadup.el: Use `string-to-number', not `string-to-int'.
7540
b5b8e7de
SM
75412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7544 gud-gdb-complete-command.
7545 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7546 (gud-gdb-completion-at-point): New function.
7547 (gud-gdb-completions): Remove.
7548
f42efeb5
MA
75492011-04-14 Michael Albinus <michael.albinus@gmx.de>
7550
49093f60
JB
7551 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7552 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7553 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7554 whether `executable-find' is bound.
f42efeb5
MA
7555
7556 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7557
e240cc21
SM
75582011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * minibuffer.el (completion-in-region-mode-predicate)
7561 (completion-in-region-mode--predicate): New vars.
7562 (completion-in-region, completion-in-region--postch)
7563 (completion-in-region-mode): Use them.
7564 (completion--capf-wrapper): Also return the hook function.
7565 (completion-at-point, completion-help-at-point):
7566 Adjust and provide a predicate.
c2bd2ab0
SM
7567
7568 Preserve arg names for advice of subr and lexical functions (bug#8457).
7569 * help-fns.el (help-function-arglist): Consolidate the subr and
7570 new-byte-code cases. Add argument `preserve-names' to extract names
7571 from the docstring when needed.
7572 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7573 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7574 (ad-arglist): Use help-function-arglist's new arg.
7575 (ad-definition-type): Use cond.
7576
c183f693
JB
75772011-04-13 Juanma Barranquero <lekktu@gmail.com>
7578
06641a47
JB
7579 * autorevert.el (auto-revert-handler):
7580 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7581 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7582 Don't quote lambda.
7583
c183f693
JB
7584 * image-mode.el (image-transform-set-scale):
7585 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7586
1e3b6001
G
75872011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588
7589 * net/network-stream.el (network-stream-open-starttls): Only do
7590 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7591 Upgrades via gnutls-cli are too slow to be done opportunistically.
7592
2d6af8dd
JB
75932011-04-12 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * dframe.el (dframe-current-frame): Remove spurious quote.
7596
c0749a51
GM
75972011-04-12 Glenn Morris <rgm@gnu.org>
7598
088d0d61
GM
7599 * calendar/cal-tex.el (cal-tex-end-document):
7600 Try to automatically use latin1 input if needed.
7601
c0749a51
GM
7602 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7603 Don't try to cons a mark onto an empty element.
7604
5c90fde0
LL
76052011-04-11 Leo Liu <sdl.web@gmail.com>
7606
7607 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7608 buffers.
7609 (ido-kill-buffer-at-head): Support killing virtual buffers.
7610
369e974d
CY
76112011-04-10 Chong Yidong <cyd@stupidchicken.com>
7612
7613 * minibuffer.el (completion-show-inline-help): New var.
7614 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7615 (minibuffer-force-complete, minibuffer-complete-word):
7616 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7617
7618 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7619 to avoid interference from inline help (Bug#5849).
7620
37f1c930
LL
76212011-04-10 Leo Liu <sdl.web@gmail.com>
7622
099c39a4
JB
7623 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7624 Fix typo.
37f1c930 7625
a32d4040
CY
76262011-04-09 Chong Yidong <cyd@stupidchicken.com>
7627
7628 * image-mode.el (image-toggle-display-image): Signal an error if
7629 not in Image mode.
7630 (image-transform-mode, image-transform-resize)
7631 (image-transform-set-rotation): Doc fix.
daca8ba5 7632 (image-transform-set-resize): Delete.
a32d4040
CY
7633 (image-transform-set-scale, image-transform-fit-to-height)
7634 (image-transform-fit-to-width): Handle image-toggle-display-image
7635 and image-transform-resize directly.
7636
099c39a4 76372011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7638
7639 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7640 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7641 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7642 (doc-view-mode-map): Add bindings for the new functions.
7643
099c39a4 76442011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7645
4d61f28d 7646 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7647 Fix typo in docstring.
7648
3726838a
EZ
76492011-04-08 Eli Zaretskii <eliz@gnu.org>
7650
04f33f1e
EZ
7651 * files.el (file-size-human-readable): Produce one digit after
7652 decimal, like "ls -lh" does.
7653
7654 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7655 the file size representation.
7656
3726838a
EZ
7657 * simple.el (list-processes): If async subprocesses are not
7658 available, error out with a clear error message.
7659
cbb59342
CY
76602011-04-08 Chong Yidong <cyd@stupidchicken.com>
7661
7662 * help.el (help-form-show): New function, to be called from C.
7663 Put help-form output in a buffer named differently than *Help*.
7664
e3971c44
EZ
76652011-04-08 Eli Zaretskii <eliz@gnu.org>
7666
7667 * files.el (file-size-human-readable): New function.
7668
7669 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7670 computing the representation inline. Don't require `cl'.
7671
12544bbe
GM
76722011-04-08 Glenn Morris <rgm@gnu.org>
7673
a1de6c6a
GM
7674 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7675
3c4671f4
GM
7676 * net/browse-url.el (browse-url-firefox):
7677 Test system-type, not system-configuration.
7678
b605679c
GM
7679 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7680 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7681 Use log-edit-empty-buffer-p. (Bug#7598)
7682
56442f0c
GM
7683 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7684 (rlogin-mode-map): Initialize in the defvar.
7685 (rlogin): Use ignore-errors.
7686
12544bbe
GM
7687 * replace.el (occur-mode-map): Some fixes for menu items.
7688
eb237b0f
AH
76892011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7690
7691 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7692
7d668f2c
CY
76932011-04-06 Chong Yidong <cyd@stupidchicken.com>
7694
e67a13ab
CY
7695 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7696 issuing unused warnings.
7697
7698 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7699 macro directly.
7700
7d668f2c
CY
7701 * simple.el: Lisp reimplement of list-processes. Based on an
7702 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7703 (process-menu-mode): New major mode.
7704 (list-processes--refresh, list-processes):
7705 (process-menu-visit-buffer): New functions.
7706
7707 * files.el (save-buffers-kill-emacs): Don't assume any return
7708 value of list-processes, which is undocumented anyway.
7709
a83ec3c9
CY
77102011-04-06 Chong Yidong <cyd@stupidchicken.com>
7711
7712 * emacs-lisp/tabulated-list.el: New file.
7713
e91a96fe
CY
7714 * emacs-lisp/package.el: Use Tabulated List mode.
7715 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7716 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7717 table format using Tabulated List mode variables.
7718 (package--push): New macro, replacing package-list-maybe-add.
7719 (package-menu--generate): Use package--push. Renamed from
7720 package--generate-package-list.
7721 (package-menu-refresh, list-packages): Use it.
daca8ba5 7722 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7723 Return insertion data instead of inserting it directly.
099c39a4
JB
7724 (package-menu-describe-package, package-menu-execute):
7725 Use tabulated-list-get-id.
e91a96fe
CY
7726 (package-menu-mark-delete, package-menu-mark-install)
7727 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7728 (package-menu-mark-obsolete-for-deletion):
7729 Use tabulated-list-put-tag.
e91a96fe
CY
7730 (package--list-packages, package-menu-revert)
7731 (package-menu-get-package, package-menu-get-version)
7732 (package-menu-sort-by-column): Functions deleted.
7733 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7734 (package-menu--status-predicate, package-menu--version-predicate)
7735 (package-menu--name-predicate)
7736 (package-menu--description-predicate): Handle arguments in the
7737 Tabulated List format.
7738 (package-list-packages-no-fetch): Call list-packages.
7739
3e214b50
JB
77402011-04-06 Juanma Barranquero <lekktu@gmail.com>
7741
7742 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7743 (after-find-file): Don't bind it.
3e214b50
JB
7744 (revert-buffer-in-progress-p): New variable.
7745 (revert-buffer): Bind it.
7746 Pass nil for `after-find-file-from-revert-buffer'.
7747
7748 * saveplace.el (save-place-find-file-hook): Use new variable
7749 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7750
3f0f1700
GM
77512011-04-06 Glenn Morris <rgm@gnu.org>
7752
c0274801
GM
7753 * Makefile.in (AUTOGEN_VCS): New variable.
7754 (autoloads): Use $AUTOGEN_VCS.
7755
3f0f1700
GM
7756 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7757 * calendar/calendar.el (calendar-mode-map):
7758 Check for toolkit scroll bars. (Bug#8305)
7759
41ea9e48
CY
77602011-04-05 Chong Yidong <cyd@stupidchicken.com>
7761
7762 * minibuffer.el (completion-in-region--postch)
7763 (completion-in-region-mode): Remove unnecessary messages.
7764
6194c800
JB
77652011-04-05 Juanma Barranquero <lekktu@gmail.com>
7766
33256f14
JB
7767 * font-lock.el (font-lock-refresh-defaults):
7768 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7769 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7770
6194c800
JB
7771 * info.el (Info-directory-list, Info-read-node-name-2)
7772 (Info-split-parameter-string): Doc fixes.
7773 (Info-virtual-nodes): Reflow docstring.
7774 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7775 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7776 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7777 Fix typos in docstrings.
7778 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7779 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7780 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7781 (Info-restore-desktop-buffer): Mark unused parameters.
7782 (Info-directory-find-file, Info-directory-find-node)
7783 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7784 (Info-virtual-index-find-node, Info-apropos-find-file)
7785 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7786 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7787 (Info-virtual-index): Remove unused local variable `nodename'.
7788
b87a8200 77892011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7790
b87a8200
DD
7791 * net/rcirc.el: Update my e-mail address.
7792 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7793
3b2ff876
CY
77942011-04-05 Chong Yidong <cyd@stupidchicken.com>
7795
7796 * startup.el (command-line): Save the cursor's theme-face
7797 directly, instead of using face-override-spec.
7798
7799 * custom.el (load-theme): Minor optimization in assigning faces.
7800
8d17e7ca
JB
78012011-04-04 Juanma Barranquero <lekktu@gmail.com>
7802
7803 * help-fns.el (describe-variable): Complete all variables having
7804 documentation, including keywords.
7805 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7806
2fbc1934
JB
78072011-04-04 Juanma Barranquero <lekktu@gmail.com>
7808
7809 Convert to lexical-binding.
7810
7811 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7812 (bs--get-marked-string, bs--get-modified-string)
7813 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7814 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7815 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7816
7817 * ehelp.el (electric-help-execute-extended)
7818 (electric-help-ctrl-x-prefix):
7819 * hexl.el (hexl-revert-buffer-function):
7820 * linum.el (linum-after-change, linum-after-scroll):
7821 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7822
7823 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7824
74f50695
DU
78252011-04-04 Daiki Ueno <ueno@unixuser.org>
7826
7827 * epa-dired.el:
7828 * epa-mail.el:
7829 * epa-hook.el:
7830 * epa-file.el:
7831 * epa.el:
7832 * epg.el: Use lexical binding.
7833
c11325f7
CY
78342011-04-03 Chong Yidong <cyd@stupidchicken.com>
7835
0d9e9a12
CY
7836 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7837
c11325f7 7838 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7839 dictionary case for flyspell-mark-duplications-exceptions.
7840 Use regexp matching for languages.
c11325f7
CY
7841 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7842 default dictionary (Bug#7926).
7843
da91b5f2
CY
78442011-04-02 Chong Yidong <cyd@stupidchicken.com>
7845
099c39a4
JB
7846 * emacs-lisp/package.el (package--with-work-buffer):
7847 Recognize https URLs.
da91b5f2 7848
099c39a4
JB
7849 * net/network-stream.el: Move from gnus/proto-stream.el.
7850 Change prefix to network-stream throughout.
da91b5f2
CY
7851 (open-protocol-stream): Merge into open-network-stream, leaving
7852 open-protocol-stream as an alias. Handle nil BUFFER args.
7853
7854 * subr.el (open-network-stream): Move to net/network-stream.el.
7855
afa8e9f6
GM
78562011-04-02 Glenn Morris <rgm@gnu.org>
7857
1d2e369d
GM
7858 * find-dired.el (find-exec-terminator): New option.
7859 (find-ls-option): Test for -ls support.
7860 (find-ls-subdir-switches): Test for -b in find-ls-option.
7861 (find-dired, find-grep-dired): Doc fixes.
7862 (find-dired): Use find-exec-terminator.
7863
8abb7da8 7864 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7865 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7866 (find-name-arg): Remove purecopy.
8abb7da8 7867
f3ca7378
GM
7868 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7869 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7870 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7871 accordingly. Don't add the null-device if not needed.
7872
afa8e9f6
GM
7873 * files.el (save-some-buffers): Doc fix.
7874
35eae264
EZ
78752011-04-02 Eli Zaretskii <eliz@gnu.org>
7876
7877 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7878
26b51db5
JB
78792011-04-01 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7882 Use `dolist' rather than `mapcar'.
7883
7200d79c
SM
78842011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7885
03408648 7886 Add lexical binding.
7200d79c 7887
03408648
SM
7888 * subr.el (apply-partially): Use new closures rather than CL.
7889 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7890 (dolist, dotimes): Use slightly different expansion for lexical code.
7891 (functionp): Move to C.
7892 (letrec): New macro.
7893 (with-wrapper-hook): Use it and apply-partially instead of CL.
7894 (eval-after-load): Preserve lexical-binding.
7895 (save-window-excursion, with-output-to-temp-buffer): Turn them
7896 into macros.
7200d79c 7897
03408648
SM
7898 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7899
7900 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7901 than the arglist.
7902 (help-add-fundoc-usage): Don't add `Not documented'.
7903 (help-function-arglist): Handle closures, subroutines, and new
7904 byte-code-functions.
7905 (help-make-usage): Remove leading underscores.
7906 (describe-function-1): Handle closures.
7907 (describe-variable): Use special-variable-p for completion.
7908
7909 * files.el (lexical-binding): Declare safe.
f488fb65 7910
03408648
SM
7911 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7912 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7913 (pcase): Add `let' pattern.
7914 Change memoization so it actually works.
7915 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7916 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7917 <let>: New case.
f488fb65 7918
03408648
SM
7919 * emacs-lisp/macroexp.el: Use lexical binding.
7920 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7921 Don't convert ' to #' without checking that it's indeed quoting
7922 a lambda.
7923
7924 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7925 Use eval-sexp-add-defvars.
03408648
SM
7926 (eval-sexp-add-defvars): New fun.
7927
7928 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7929
7930 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7931 Don't autoload.
7932 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7933 than the internal `byte-compile-lambda'.
7934 (defmethod): Don't hide code under quotes.
7935 (eieio-defmethod): New `code' argument.
7936
7937 * emacs-lisp/eieio-comp.el: Remove.
7938
7939 * emacs-lisp/edebug.el (edebug-eval-defun)
7940 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7941 (edebug-toggle): Avoid `eval'.
7942
7943 * emacs-lisp/disass.el (disassemble-internal): Handle new
7944 `closure' objects.
7945 (disassemble-1): Handle new byte codes.
7946
7947 * emacs-lisp/cl.el (pushnew): Silence warning.
7948
7949 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7950 (cl-byte-compile-throw): Remove.
7951 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7952
7953 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7954 closures.
7955
7956 * emacs-lisp/cconv.el: New file.
7957
7958 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7959 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7960 (byte-compile-initial-macro-environment):
7961 Handle declare-function here.
7962 (byte-compile--lexical-environment): New var.
7963 (byte-stack-ref, byte-stack-set, byte-discardN)
7964 (byte-discardN-preserve-tos): New lap codes.
7965 (byte-interactive-p): Don't use any more.
7966 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7967 New macros.
7968 (byte-compile-lapcode): Use them and handle new lap codes.
7969 (byte-compile-obsolete): Remove.
7970 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7971 (byte-compile-arglist-warn): Check late def of inlinable funs.
7972 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7973 since they should have been expanded by now.
7974 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7975 (byte-compile-from-buffer): Remove unused second arg.
7976 (byte-compile-preprocess): New function.
7977 (byte-compile-toplevel-file-form): New function to distinguish
7978 file-form calls from outside from file-form calls from hunk-handlers.
7979 (byte-compile-file-form): Simplify.
7980 (byte-compile-file-form-defsubst): Remove.
7981 (byte-compile-file-form-defmumble): Simplify now that
7982 byte-compile-lambda always returns a byte-code-function.
7983 (byte-compile): Preprocess.
7984 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7985 Remove, not used any more.
7986 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7987 (byte-compile-make-args-desc): New funs.
7988 (byte-compile-lambda): Handle lexical functions. Always return
7989 a byte-code-function.
7990 (byte-compile-reserved-constants): New var, to make up room for
7991 closed-over variables.
7992 (byte-compile-constants-vector): Obey it.
7993 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7994 (byte-compile-macroexpand-declare-function): New function.
7995 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7996 byte-code-functions.
7997 (byte-compile-form): Check obsolescence here.
7998 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7999 (byte-compile-variable-ref): Remove.
8000 (byte-compile-dynamic-variable-op): New fun.
8001 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8002 (byte-compile-variable-set): New funs.
8003 (byte-compile-discard): Add 2 args.
8004 (byte-compile-stack-ref, byte-compile-stack-set)
8005 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8006 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8007 macroexpand-all instead.
8008 (byte-compile-quote-form): Remove.
8009 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8010 (byte-compile-bind, byte-compile-unbind): New funs.
8011 (byte-compile-let): Handle let* and lexical binding.
8012 (byte-compile-let*): Remove.
8013 (byte-compile-catch, byte-compile-unwind-protect)
8014 (byte-compile-track-mouse, byte-compile-condition-case):
8015 Handle a new :fun-body form, used for lexical scoping.
8016 (byte-compile-save-window-excursion)
8017 (byte-compile-with-output-to-temp-buffer): Remove.
8018 (byte-compile-defun): Simplify.
8019 (byte-compile-stack-adjustment): New fun.
8020 (byte-compile-out): Use it.
8021 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8022
8023 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8024 handler any more.
8025
8026 * emacs-lisp/byte-opt.el: Use lexical binding.
8027 (byte-inline-lapcode): Remove (to bytecomp).
8028 (byte-compile-inline-expand): Pay attention to inlining to/from
8029 lexically bound code.
8030 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8031 any more.
8032 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8033 any more and don't call compiler-macros.
8034 (byte-compile-splice-in-already-compiled-code): Remove.
8035 (byte-code): Don't inline any more.
8036 (disassemble-offset): Receive `bytes' as argument rather than via
8037 dynamic scoping.
8038 (byte-compile-tag-number): Declare before first use.
8039 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8040 `return' even if make-spliceable.
8041 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8042 obsolete interactive-p.
8043 (byte-optimize-lapcode): Optimize new lap-codes.
8044 Don't trip up on new form of `byte-constant' lap code.
8045
8046 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8047
8048 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8049
8050 * custom.el (custom-initialize-default, custom-declare-variable):
8051 Use `defvar'.
8052
8053 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8054 New variables.
8055 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8056 (COMPILE_FIRST): Add macroexp and cconv.
8057 * makefile.w32-in: Mirror changes in Makefile.in.
8058
8059 * vc/cvs-status.el:
8060 * vc/diff-mode.el:
8061 * vc/log-edit.el:
8062 * vc/log-view.el:
8063 * vc/smerge-mode.el:
8064 * textmodes/bibtex-style.el:
8065 * textmodes/css.el:
8066 * startup.el:
8067 * uniquify.el:
da91b5f2
CY
8068 * minibuffer.el:
8069 * newcomment.el:
8070 * reveal.el:
8071 * server.el:
8072 * mpc.el:
8073 * emacs-lisp/smie.el:
8074 * doc-view.el:
8075 * dired.el:
03408648
SM
8076 * abbrev.el: Use lexical binding.
8077
0f0c1f27
EZ
80782011-04-01 Eli Zaretskii <eliz@gnu.org>
8079
8080 * info.el (info-display-manual): New function.
8081
c82b2579
SM
80822011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8085
221ddf68
TH
80862011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8087
8088 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8089 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8090
cba6e77e
GM
80912011-03-31 Glenn Morris <rgm@gnu.org>
8092
e040639f
GM
8093 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8094
cba6e77e
GM
8095 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8096
6d0f1c9e
CS
80972011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8098
8099 * progmodes/python.el (python-default-interpreter)
8100 (python-python-command-args, python-jython-command-args)
8101 (python-which-shell, python-which-args, python-which-bufname)
8102 (python-file-queue, python-comint-output-filter-function)
8103 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8104 variables and functions.
8105
3e2d70fd
SM
81062011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8107
8108 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8109 (completion-in-region-mode): New minor mode.
8110 (completion-in-region): Use it.
8111 (completion-in-region--data, completion-in-region-mode-map): New vars.
8112 (completion-in-region--postch): New function.
8113 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8114 New vars.
8115 (completion--capf-wrapper): New function.
8116 (completion-at-point): Use it to track well-behavedness of
8117 hook functions.
8118 (completion-help-at-point): New command.
8119
f3e4086c
JM
81202011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8121
8122 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8123 syntax class to search for whitespace on a single line
8124 (Message-ID: <4D938140.4030905@redhat.com>).
8125
eb7ffc14
LL
81262011-03-30 Leo Liu <sdl.web@gmail.com>
8127
8128 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8129 New commands.
8130 (edit-abbrevs-map): Bind them here.
8131 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8132
d806ab68
KM
81332011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8134
8135 * allout.el (allout-hide-by-annotation, allout-flag-region):
8136 Reduce possibility of overlay leakage by making them volatile.
8137
8138 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8139 hash is not shared between buffers. Mode initialization is
8140 responsible for giving it a useful starting value.
8141 (allout-item-span): Reduce possibility of overlay leakage by
8142 making them volatile.
8143 (allout-widgets-count-buttons-in-region): Add diagnostic function
8144 for tracking down button overlay leaks.
8145
ea622834
LL
81462011-03-29 Leo Liu <sdl.web@gmail.com>
8147
8148 * ido.el (ido-read-internal): Use the default history var
8149 minibuffer-history if no HISTORY is specified.
8150
b62f8267
G
81512011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8152
03408648
SM
8153 * net/imap.el (imap-shell-open, imap-process-connection-type):
8154 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8155 Kerberos, SSL, other subprocesses.
8156
947b6566
LL
81572011-03-28 Leo Liu <sdl.web@gmail.com>
8158
8159 * abbrev.el (abbrev-table-empty-p): New function.
8160 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8161 nonempty ones. (Bug#5937)
8162
5ffb62aa
JD
81632011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8164
8165 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8166
7a097943
LL
81672011-03-27 Leo Liu <sdl.web@gmail.com>
8168
8169 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8170 for foreground and background colors.
8171 (ansi-color-make-color-map): Adapt.
8172
c5b40130
LL
81732011-03-25 Leo Liu <sdl.web@gmail.com>
8174
1f48f7d2
LL
8175 * midnight.el (midnight-time-float): Remove. Note it calculates
8176 the microsecond component incorrectly and seconds-to-time does the
8177 same job.
625897ec 8178 Remove redundant (require 'timer).
1f48f7d2 8179
c5b40130
LL
8180 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8181 (ido-completions): Remove unused arguments. (Bug#8329)
8182
d86d2721
SM
81832011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * minibuffer.el (completion--flush-all-sorted-completions):
8186 Remove itself from hook.
8187 (completion-at-point): Let the functions perform the completion
8188 immediately and return nil or t.
8189 * comint.el (comint-dynamic-complete-functions): Now identical to
8190 completion-at-point-functions.
8191 (comint-dynamic-list-input-ring): Remove unused var `index'.
8192 (comint--match-partial-filename, comint--unquote&expand-filename):
8193 New funs, split from comint-match-partial-filename.
8194 (comint-dynamic-complete): Use completion-at-point.
8195 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8196
e8974c48
DA
81972011-03-24 Drew Adams <drew.adams@oracle.com>
8198
8199 * thingatpt.el: Support `defun'.
8200
def71b5e
LL
82012011-03-23 Leo Liu <sdl.web@gmail.com>
8202
cb5af48e
LL
8203 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8204
def71b5e
LL
8205 * help-mode.el (help-mode-finish): Tweak regexp.
8206
927c53e7
GM
82072011-03-23 Glenn Morris <rgm@gnu.org>
8208
18d05bed
GM
8209 * eshell/esh-opt.el (eshell-eval-using-options):
8210 Do not bind unused local variable `eshell-option-stub'.
8211
927c53e7
GM
8212 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8213
9d0da923
JB
82142011-03-22 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8217 keymap variable in `with-no-warnings' to avoid a warning when the
8218 keymap has been already `defconst'ed.
8219
4b978a67
LL
82202011-03-22 Leo Liu <sdl.web@gmail.com>
8221
8222 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8223 encode all chars in abbrevs; otherwise use emacs-mule or
8224 utf-8-emacs. (Bug#8308)
8225
5fd62452
JB
82262011-03-22 Juanma Barranquero <lekktu@gmail.com>
8227
0b1596c6
JB
8228 * simple.el (backward-delete-char-untabify):
8229 Avoid warning about using `delete-backward-char'.
8230
5fd62452
JB
8231 * image.el (image-type-file-name-regexps): Make it variable.
8232 `imagemagick-register-types' modifies it, and the user may want
8233 to add new extensions for known image types.
8234 (imagemagick-register-types): Throw error if not using ImageMagick.
8235
0b4e93f1
LL
82362011-03-22 Leo Liu <sdl.web@gmail.com>
8237
8238 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8239 located before rcirc-prompt-end-marker.
8240 (rcirc-complete): Error if point is not after rcirc prompt.
8241 Handle the case when table is nil.
9882e214 8242 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8243
fccee4ab
CY
82442011-03-22 Chong Yidong <cyd@stupidchicken.com>
8245
8246 * custom.el (custom--inhibit-theme-enable): Make it affect only
8247 custom-theme-set-variables and custom-theme-set-faces.
8248 (provide-theme): Ignore custom--inhibit-theme-enable.
8249 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8250 (custom-enabling-themes): Delete variable.
d86d2721
SM
8251 (enable-theme): Accept only loaded themes as arguments.
8252 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8253 (custom-enabled-themes): Forbid themes from setting this.
8254 Eliminate use of custom-enabling-themes.
8255 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8256
af896da6
LL
82572011-03-21 Leo Liu <sdl.web@gmail.com>
8258
8259 * ido.el (ido-read-internal): Add ido-selected to history instead
8260 of user input.
8261
78f64af0
SM
82622011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * subr.el (deferred-action-list, deferred-action-function):
8265 Mark obsolete.
8266
b16ac1ec
LL
82672011-03-21 Leo Liu <sdl.web@gmail.com>
8268
810f7698
LL
8269 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8270 change on 2011-02-13 (bug#8309).
8271
b16ac1ec
LL
8272 * minibuffer.el (read-file-name-function): Change default value.
8273 (read-file-name--defaults): Rename from read-file-name-defaults.
8274 (read-file-name-default): Rename from read-file-name.
8275 (read-file-name): Call read-file-name-function.
8276
4e05e67e
GM
82772011-03-21 Glenn Morris <rgm@gnu.org>
8278
8279 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8280 Doc fixes.
8281
4359915b
CY
82822011-03-21 Chong Yidong <cyd@stupidchicken.com>
8283
8284 * cus-theme.el: Add missing provide statement.
8285 (customize-create-theme): Extract theme value correctly.
8286 (custom-theme-visit-theme): Autoload.
8287 (customize-create-theme): Prompt before inserting default faces.
8288
1fe275ee
JB
82892011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8290
8291 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8292 units and musical notes.
8293
3ec03f7e
LL
82942011-03-20 Leo <sdl.web@gmail.com>
8295
8296 * ido.el (ido-read-internal): Use completing-read-default.
8297 (ido-completing-read): Fix compatibility with completing-read.
8298
7d476bde
CO
82992011-03-20 Christian Ohler <ohler@gnu.org>
8300
8301 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8302 (ert-delete-all-tests): Use `called-interactively-p' rather than
8303 `interactive-p'.
8304 (ert--make-xrefs-region): Respect END.
8305
fe0fb33e
CY
83062011-03-19 Chong Yidong <cyd@stupidchicken.com>
8307
ff854b0b
CY
8308 * dired-aux.el (dired-create-directory): Signal an error if the
8309 directory already exists (Bug#8246).
8310
fe0fb33e
CY
8311 * facemenu.el (list-colors-display): Call list-faces-display
8312 inside with-help-window.
8313 (list-colors-print): Use display property to align the final
8314 column, instead of checking window-width.
8315
576bce32
EZ
83162011-03-19 Eli Zaretskii <eliz@gnu.org>
8317
4d61f28d 8318 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8319 windows-nt systems.
8320 (emerge-protect-metachars): Quote correctly for ms-dos and
8321 windows-nt systems.
8322
89c41d68 83232011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8324
8325 * info.el (info-initialize): Replace all uses of `:' with
8326 path-separator for compatibility with non-Unix systems.
8327 Cache quoting of path-separator. (Bug#8258)
8328
b14e3e21 83292011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8330
8331 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8332 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8333 (mouse-avoidance-mode): Fix typos in docstrings.
8334
4525ce3e
CY
83352011-03-19 Chong Yidong <cyd@stupidchicken.com>
8336
8337 * startup.el (package-subdirectory-regexp): Move from package.el.
8338 Omit \\` and \\', and let callers add them.
8339
8340 * emacs-lisp/package.el (package-strip-version)
8341 (package-load-all-descriptors): Add \\` and \\' to
8342 package-subdirectory-regexp before using it.
8343 (package-untar-buffer): New arg DIR; ensure that file untars only
8344 into this expected directory. Remove superfluous delete-region.
8345 (package-unpack): Caller changed.
8346 (package-tar-file-info): Use package-subdirectory-regexp.
8347
a904a09a 83482011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8349
a904a09a
SM
8350 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8351 diff-mode-shared-map (bug#8284).
8352 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8353
83542011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355
8356 * calendar/time-date.el (format-seconds): Use assoc instead of
8357 assoc-string, since assoc-string doesn't exist in XEmacs.
8358
171fc304
JB
83592011-03-17 Juanma Barranquero <lekktu@gmail.com>
8360
8361 * custom.el (custom-known-themes): Reflow docstring.
8362 (custom-theme-load-path): Fix typo in docstring.
8363 (load-theme): Fix typo in error message.
8364 (custom-available-themes, custom-variable-theme-value):
8365 Use `let', not `let*'.
8366
d71990a1
JB
83672011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8368
8369 * calc/README: Mention inclusion of musical notes.
8370
8371 * calc/calc-units.el (calc-lu-quant): Rename from
8372 `calc-logunits-quantity'.
8373 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8374 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8375 (calc-db): Rename from `calc-dblevel'.
8376 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8377 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8378 (calc-np): Rename from `calc-nplevel'.
8379 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8380 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8381 (calc-lu-plus): Rename from `calc-logunits-add'.
8382 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8383 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8384 (calc-lu-minus): Rename from `calc-logunits-sub'.
8385 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8386 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8387 (calc-lu-times): Rename from `calc-logunits-mul'.
8388 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8389 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8390 (calc-lu-divide): Rename from `calc-logunits-div'.
8391 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8392 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8393
8394 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8395 functions being autoloaded.
8396
8397 * calc/calc.el (calc-lu-power-reference): Rename from
8398 `calc-logunits-power-reference'.
8399 (calc-lu-field-reference): Rename from
8400 `calc-logunits-field-reference'.
8401
8402 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8403
40c2934b
SM
84042011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * minibuffer.el (completion-all-sorted-completions):
8407 Use :completion-cycle-penalty text property if present.
8408
b0911414
KM
84092011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8410
8411 * allout.el (allout-yank-processing): Adjust for new rebulleting
8412 regime so bullet being yanked is used without prompting the user
8413 for a choice.
8414
8a05b668
JB
84152011-03-16 Juanma Barranquero <lekktu@gmail.com>
8416
8417 * startup.el (command-line): Warn the user that _emacs is deprecated.
8418
5ba5fb81
JB
84192011-03-16 Juanma Barranquero <lekktu@gmail.com>
8420
8421 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8422 (delphi-verbose, delphi-comment-face, delphi-string-face)
8423 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8424 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8425 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8426 (delphi-new-comment-line, delphi-font-lock-defaults)
8427 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8428 Fix typos in docstrings.
8429
2dab465b
KM
84302011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8431
5ba5fb81 8432 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8433 Invert the roles of character and string values for INSTEAD, so a
8434 string is used for the more common case of a defaulting prompt.
8435
0adf5618
SM
84362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * progmodes/ruby-mode.el (ruby-backward-sexp):
8439 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8440 * play/gamegrid.el (gamegrid-make-face):
8441 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8442 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8443 * notifications.el (notifications-notify):
8444 * net/xesam.el (xesam-search-engines):
8445 * net/quickurl.el (quickurl-list-insert):
8446 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8447
d72700e5
CY
84482011-03-15 Chong Yidong <cyd@stupidchicken.com>
8449
8450 * startup.el (command-line): Update package subdirectory regexp.
8451
49c5410a
SM
84522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8453
c6eee9aa
SM
8454 * allout.el (allout-abbreviate-flattened-numbering)
8455 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8456
49c5410a
SM
8457 * subr.el (read-char-choice): Only show the cursor after the prompt,
8458 not after the answer.
8459
047b2bb9
KR
84602011-03-15 Kevin Ryde <user42@zip.com.au>
8461
8462 * help-fns.el (variable-at-point): Skip leading quotes, if any
8463 (bug#8253).
8464
0a57d256
SM
84652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8468 warning message.
8469
77c992bc
MA
84702011-03-14 Michael Albinus <michael.albinus@gmx.de>
8471
8472 * shell.el (shell): When called interactively, offer to change the
8473 shell file name on remote hosts.
8474
eebc475d
TZ
84752011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8476
8477 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8478 integration for LDAP parameters. The host, base, user or binddn,
8479 and secret tokens can be specified in a netrc file, for instance.
8480 This is optional because an `auth-source' parameter must be
8481 specified in the search attributes.
8482
9d05d1ba
JB
84832011-03-13 Juanma Barranquero <lekktu@gmail.com>
8484
8485 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8486
09d9db2c
GM
84872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8490 into declaration. Remove redundant and harmful binding.
8491
84922011-03-12 Eli Zaretskii <eliz@gnu.org>
8493
8494 * files.el (file-ownership-preserved-p): Pass `integer' as an
8495 explicit 2nd argument to `file-attributes'. If the file's owner
8496 is the Administrators group on Windows, and the current user is
8497 Administrator, consider that a match.
8498
8499 * server.el (server-ensure-safe-dir): Consider server directory
8500 safe on MS-Windows if its owner is the Administrators group while
8501 the current Emacs user is Administrator. Use `=' to compare
8502 numerical UIDs, since they could be integers or floats.
8503
219bd536
JB
85042011-03-12 Juanma Barranquero <lekktu@gmail.com>
8505
8506 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8507
f3afd36b
MA
85082011-03-12 Michael Albinus <michael.albinus@gmx.de>
8509
8510 Sync with Tramp 2.2.1.
8511
8512 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8513
8514 * net/trampver.el: Update release number.
8515
3aaaa6f1
SM
85162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8517
94642599
SM
8518 * progmodes/compile.el (compilation--previous-directory): Fix up
8519 various nil/dead-marker mismatches (bug#8014).
8520 (compilation-directory-properties, compilation-error-properties):
8521 Don't call it at a position past the one we're about to change.
8522
3aaaa6f1
SM
8523 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8524 Disable obsolescence warnings in the file that declares it.
8525
14239447
KM
85262011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8527
099c39a4
JB
8528 * allout-widgets.el (allout-widgets-tally):
8529 Initialize allout-widgets-tally as a hash table rather than nil to
8530 prevent mode-line redisplay warnings. Also, clarify the module
8531 description and fix a comment typo.
14239447 8532
135e287c
JB
85332011-03-11 Juanma Barranquero <lekktu@gmail.com>
8534
8535 * help-fns.el (describe-variable): Don't complete keywords.
8536 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8537
ffbf300e
CY
85382011-03-10 Chong Yidong <cyd@stupidchicken.com>
8539
ba08b241
CY
8540 * emacs-lisp/package.el (package-version-join): Impose a standard
8541 string representation for pre/alpha/beta version lists.
8542 (package-unpack-single): Standardize the directory name by passing
8543 it through package-version-join.
8544 (package-strip-rcs-id): Accept any version string that does not
8545 signal an error in version-to-list.
ffbf300e 8546
f346fd6b
MA
85472011-03-10 Michael Albinus <michael.albinus@gmx.de>
8548
8549 * simple.el (delete-trailing-whitespace): Return nil for the
8550 benefit of `write-file-functions'.
8551
ccb55d27
GM
85522011-03-10 Glenn Morris <rgm@gnu.org>
8553
5ceaac0c
GM
8554 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8555
02da65ff
GM
8556 * vc/vc-git.el (vc-git-program): New option.
8557 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8558 (vc-git--call): Use it.
8559
b2f603cc
GM
8560 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8561
5772caab
GM
8562 * cus-edit.el (Custom-newline): If no button at point, look
8563 for a subgroup button at start-of-line. (Bug#2298)
8564
ccb55d27
GM
8565 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8566
ec6ecaed
JD
85672011-03-10 Julien Danjou <julien@danjou.info>
8568
8569 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8570 `cursor-type' is nil.
8571
9d5aa01d
JB
85722011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8573
8574 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8575
b6a5875b
KM
85762011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8577
8578 * allout.el Summary: Change so yank of distinctive-bullet items
8579 preserves the existing header prefix, rebulleting it if necessary,
8580 rather than replacing it. This is necessary for proper operation
8581 of cooperative addons like allout-widgets.
219bd536 8582 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8583 SOLICIT arg to INSTEAD, and interpret additionally a string value
8584 as alternate bullet to be used, instead of prompting the user for
8585 a bullet character.
8586
ee545c35
MA
85872011-03-09 Michael Albinus <michael.albinus@gmx.de>
8588
d86d2721
SM
8589 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8590 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8591 `tramp-default-port'.
8592
c47971d7
DD
85932011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8594
8595 * net/rcirc.el (rcirc-handler-001): Remove useless
8596 with-rcirc-process-buffer.
8597 (rcirc-check-auth-status): Swap arguments to string-match.
8598
13522cb4
GM
85992011-03-09 Glenn Morris <rgm@gnu.org>
8600
0be6f4f1
GM
8601 * shell.el (shell-mode):
8602 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8603
13522cb4
GM
8604 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8605 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8606
515de2e3
CY
86072011-03-08 Chong Yidong <cyd@stupidchicken.com>
8608
8609 * emacs-lisp/package.el (package-refresh-contents)
8610 (package-menu-execute): Use condition-case-no-debug.
8611
b511b994
MA
86122011-03-08 Michael Albinus <michael.albinus@gmx.de>
8613
8614 * simple.el (shell-command-to-string): Use `process-file'.
8615
8616 * emacs-lisp/package.el (package-tar-file-info): Handle also
8617 remote files.
8618
d86d2721
SM
8619 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8620 Use `equal' for upload base check.
b511b994 8621
25bbfb31
AM
86222011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8623
8624 * textmodes/texinfo.el (texinfo-environments):
8625 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8626
be996521
GM
86272011-03-08 Glenn Morris <rgm@gnu.org>
8628
e9c8529f
GM
8629 * cus-start.el (cursor-in-non-selected-windows):
8630 Fix :set quoting oddness. (Bug#8192)
8631
be996521
GM
8632 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8633 in some setf expressions. (Bug#2159)
8634
2bb5649e
CY
86352011-03-08 Chong Yidong <cyd@stupidchicken.com>
8636
8637 * custom.el (custom-available-themes): Return themes in
8638 alphabetical order.
8639
33383987 8640See ChangeLog.15 for earlier changes.
e3d51b27
MR
8641
8642;; Local Variables:
8643;; coding: utf-8
e3d51b27
MR
8644;; End:
8645
33383987 8646 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8647
8648 This file is part of GNU Emacs.
8649
8650 GNU Emacs is free software: you can redistribute it and/or modify
8651 it under the terms of the GNU General Public License as published by
8652 the Free Software Foundation, either version 3 of the License, or
8653 (at your option) any later version.
8654
8655 GNU Emacs is distributed in the hope that it will be useful,
8656 but WITHOUT ANY WARRANTY; without even the implied warranty of
8657 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8658 GNU General Public License for more details.
8659
8660 You should have received a copy of the GNU General Public License
8661 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.