Add details about emacsclient -c and -t on MS-Windows.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c0ea195d
GM
12012-04-02 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/authors.el (authors-aliases): Another addition.
4
5ca64e00
MA
52012-04-02 Michael Albinus <michael.albinus@gmx.de>
6
7 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10
42ee526b
CY
112012-04-01 Chong Yidong <cyd@gnu.org>
12
13 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14 Handle root directory properly.
15 (copy-directory): Caller changed.
16
17 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
18 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
19
0b021094
GM
202012-03-31 Glenn Morris <rgm@gnu.org>
21
40f86458
GM
22 * term/xterm.el (xterm-extra-capabilities): Doc fix.
23
7019c177
GM
24 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
25
a1daddd6
GM
26 * calendar/calendar.el (calendar-window-list)
27 (calendar-hide-window): Restore. (Bug#11140)
28 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
29
0b021094
GM
30 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
31
40311efc
TV
322012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
33
34 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
35 Check if file is a symlink (Bug#10489).
36
37 * files.el (copy-directory): Likewise.
38
5319014e
CY
392012-03-30 Chong Yidong <cyd@gnu.org>
40
41 * image.el (imagemagick-types-inhibit)
42 (imagemagick-register-types): Doc fix.
43
935d1290
AM
442012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
45
46 * ispell.el (ispell-get-extended-character-mode): Disable
47 extended-char-mode for hunspell. hunspell does not support it and
48 treats ~word as ordinary words in pipe mode.
49
61c6e8fd
GM
502012-03-30 Glenn Morris <rgm@gnu.org>
51
52 * tutorial.el (help-with-tutorial): Ensure local variables don't
53 happen to make the buffer read-only. (Bug#11127)
54
81fdff00
SM
552012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
58 (perl-calculate-indent): Return `noindent' in strings.
59
6e7a6ec0
SS
602012-03-28 Sam Steingold <sds@gnu.org>
61
62 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
63 instead of the broken adhockery which does not prevent calendar
64 buffers from being displayed at random after exit.
65 (calendar-window-list, calendar-hide-window): Remove the broken
66 adhockery.
67
fee88ca0
GM
682012-03-28 Glenn Morris <rgm@gnu.org>
69
70 * replace.el (query-replace-map): Doc fix.
71
38de3354
AS
722012-03-28 Andreas Schwab <schwab@linux-m68k.org>
73
74 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
75 contents. (Bug#11109)
76
b973155e
SM
772012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
80 (bug#11077).
81 (avl-tree--check, avl-tree--check-node): New funs.
82
dcb6e7b3
MR
832012-03-27 Martin Rudalics <rudalics@gmx.at>
84
85 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
86 (switch-to-prev-buffer, switch-to-next-buffer):
87 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
88 showing a buffer already is done on the same frame.
89
b4fa35fa
GM
902012-03-27 Glenn Morris <rgm@gnu.org>
91
92 * startup.el (mail-host-address): Doc fix.
93
f9210e18
SM
942012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
97 than 197 variables.
98
c0bf7753
AF
992012-03-26 Ami Fischman <ami@fischman.org>
100
101 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
102
33da7b16
GM
1032012-03-26 Glenn Morris <rgm@gnu.org>
104
02243d9d
GM
105 * files.el (save-buffers-kill-emacs): Doc fix.
106
33da7b16
GM
107 * startup.el (normal-top-level, command-line, command-line-1):
108 Give them doc strings.
109
e5a69fd0
EZ
1102012-03-25 Eli Zaretskii <eliz@gnu.org>
111
112 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 113 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 114
9a69676a
CY
1152012-03-25 Chong Yidong <cyd@gnu.org>
116
4125cb8b
CY
117 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
118 theme if it was previously enabled before (Bug#11031).
119
dd470960
CY
120 * cus-theme.el (custom-theme-write-faces): Retrieve current face
121 spec with custom-face-get-current-spec if its :shown-value is not
122 determined yet (Bug#9337).
4125cb8b 123 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 124
9a69676a
CY
125 * button.el (button-at): Minor addition to docstring.
126
6e7e90fa
SL
1272012-03-24 Simon Leinen <simon.leinen@gmail.com>
128
129 * vc/vc.el (vc-merge): Fix a prompt.
130
f06e2758
CY
1312012-03-24 Chong Yidong <cyd@gnu.org>
132
133 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
134 point (Bug#9623).
135
6e7e90fa
SL
136 * button.el (button-at): Minor addition to docstring.
137
b9d0879b
SM
1382012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * newcomment.el (comment-choose-indent): No space after BOL.
141
e71cebb3
SS
1422012-03-22 Sam Steingold <sds@gnu.org>
143
144 * window.el (switch-to-prev-buffer): Revert last patch because the
145 bug turned out to be an advertised feature (Elisp manual 28.14).
146
335aff35
GM
1472012-03-22 Glenn Morris <rgm@gnu.org>
148
149 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
150 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
151
c676576a
LMI
1522012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
153
154 * net/network-stream.el (network-stream-open-starttls): Make error
155 message under Windows be less misleading.
156
126f3d39
LW
1572012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
158
159 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
160 understands (bug#9942).
161
64fee311
CY
1622012-03-22 Chong Yidong <cyd@gnu.org>
163
164 * simple.el (end-of-visible-line): Handle return value of
165 next-single-property-change properly (Bug#9371).
166
a640d29a
KH
1672012-03-22 Kenichi Handa <handa@m17n.org>
168
169 * international/quail.el (quail-insert-kbd-layout): Fix previous
170 change. To avoid unwanted bidi reordering, use
171 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
172
39675016
DG
1732012-03-21 Dmitry Gutov <dgutov@yandex.ru>
174
175 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
176 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
177 (ruby-beginning-of-indent): Be more careful with the difference
178 between word-boundary and symbol boundary.
179 (ruby-mode-syntax-table): Make : a symbol constituent.
180
0a6934fc 1812012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 182
3d008e4f
SM
183 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
184
0a6934fc
SM
1852012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
186
af67c9d7
SM
187 * progmodes/etags.el (tags-completion-at-point-function):
188 Improve last fix.
189
1acad97c
SM
190 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
191
e298b5da
SS
1922012-03-21 Sam Steingold <sds@gnu.org>
193
194 * progmodes/etags.el (tags-completion-at-point-function):
195 Avoid the error when point is inside the pattern.
196
91d82a70
JY
1972012-03-21 John Yates <john@yates-sheets.org> (tiny change)
198
199 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
200 line (Bug#10855).
201
69188b79
CY
2022012-03-21 Drew Adams <drew.adams@oracle.com>
203
204 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
205
99fc91fe
AK
2062012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
207
208 * ido.el (ido-set-current-directory, ido-read-internal)
209 (ido-choose-completion-string, ido-completion-help): Handle nil
210 value of ido-completion-buffer (Bug#11008).
211
087bbb4c
SS
2122012-03-21 Sam Steingold <sds@gnu.org>
213
214 * window.el (switch-to-prev-buffer): Do not switch to a visible
215 window previous buffer, just like with the frame previous buffers.
216
fb5b8aca
CY
2172012-03-21 Chong Yidong <cyd@gnu.org>
218
219 * faces.el (make-face, make-empty-face, copy-face):
220 * face-remap.el (face-remap-add-relative, face-remap-set-base):
221 Doc fixes.
222
dc9924b8
SM
2232012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * wid-edit.el (widget-complete-field): Remove (bug#11051).
226 (widget-complete): Remove broken use of it.
227
f0bcceb9
CY
2282012-03-20 Chong Yidong <cyd@gnu.org>
229
dc9924b8
SM
230 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
231 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
232 characters.
233
ee52ebf3
TH
2342012-03-20 Tassilo Horn <tassilo@member.fsf.org>
235
236 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
237 to draw rectangles, not squares. (Regression introduced by revno
238 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
239
4c5779ab
CY
2402012-03-18 Chong Yidong <cyd@gnu.org>
241
242 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
243 it is not yet defined (for temacs).
244
15360934
LL
2452012-03-18 Leo Liu <sdl.web@gmail.com>
246
dc9924b8 247 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 248
d9a8eb66
EZ
2492012-03-17 Eli Zaretskii <eliz@gnu.org>
250
251 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
252 (ispell-choices-win-default-height, ispell-silently-savep)
253 (ispell-dictionary-alist, ispell-encoding8-command)
254 (ispell-check-version, ispell-aspell-find-dictionary)
255 (ispell-valid-dictionary-list, ispell-words-keyword)
256 (ispell-get-word, ispell-internal-change-dictionary)
257 (ispell-region, ispell-skip-region-list)
258 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
259 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
260 (ispell-message-text-end, ispell-message)
261 (ispell-buffer-local-parsing): Doc fix.
262
f02ff80d
J
2632012-03-13 Jambunathan K <kjambunathan@gmail.com>
264
265 * htmlfontify.el: Add support for code block fontification for ODT
266 export (Bug #9914).
267 (hfy-optimisations): Define new option
268 `body-text-only'
269 (hfy-fontify-buffer): Honor above setting.
270 (hfy-begin-span, hfy-end-span): New routines factored out form
271 `hfy-fontify-buffer'.
272 (hfy-begin-span-handler, hfy-end-span-handler): New variables
273 that permit insertion of custom tags.
274 (hfy-fontify-buffer): Use above handlers.
275 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
276 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 277 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
278 over multiple runs. This is made possible by having the caller let
279 bind a special variable `hfy-user-sheet-assoc'.
280 (htmlfontify-string): New defun.
281 (hfy-compile-face-map): Make sure that the last char in the
282 buffer is correctly fontified.
283 (hfy-face-resolve-face): Whitespace only change.
284
9ac7a13f
EZ
2852012-03-17 Eli Zaretskii <eliz@gnu.org>
286
287 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
288 message more clear.
289
e2b5bdd7
LL
2902012-03-16 Leo Liu <sdl.web@gmail.com>
291
292 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
293
2e492df3
AM
2942012-03-16 Alan Mackenzie <acm@muc.de>
295
296 Further optimise the handling of large macros.
297
298 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
299 limit to a call of `c-literal-limits'.
300 (c-determine-+ve-limit): New function.
dc9924b8
SM
301 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
302 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
303 In CASE 5B, restrict a search limit to 500.
304 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
305
306 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
307 Restrict macro bounds to +-500 from after-change's BEG END.
308
50e94f0c
LL
3092012-03-16 Leo Liu <sdl.web@gmail.com>
310
311 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
312
6f09f6ed
AH
3132012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
314
315 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 316 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 317
c7e73d51
GM
3182012-03-16 Glenn Morris <rgm@gnu.org>
319
da986230
GM
320 * view.el (view-buffer, view-buffer-other-window)
321 (view-buffer-other-frame): Doc fixes re special mode-class.
322
0835f01e
GM
323 * subr.el (eval-after-load): If named feature is provided not from
324 a file, run after-load forms. (Bug#10946)
325
c7e73d51
GM
326 * calendar/calendar.el (calendar-insert-at-column):
327 Handle non-unit-width characters a bit better. (Bug#10978)
328
3f2eafd1
CY
3292012-03-15 Chong Yidong <cyd@gnu.org>
330
331 * emacs-lisp/ring.el (ring-extend): New function.
332 (ring-insert+extend): Extend the ring correctly (Bug#11019).
333
334 * comint.el (comint-read-input-ring)
335 (comint-add-to-input-history): Grow comint-input-ring lazily.
336
103af3fe
SM
3372012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
338
663b1677
SM
339 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
340 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
341
103af3fe
SM
342 * imenu.el: Fix multiple inheritance breakage (bug#9199).
343 (imenu-add-to-menubar): Don't add a redundant index.
344 (imenu-update-menubar): Handle a dynamically composed keymap.
345
899cb7cb
KY
3462012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
347
348 * mail/sendmail.el (mail-encode-header):
349 Bind rfc2047-encode-encoded-words to nil.
350
3809f91d
GM
3512012-03-13 Glenn Morris <rgm@gnu.org>
352
353 * calendar/calendar.el (calendar-string-spread):
354 Handle non-unit-width characters a bit better. (Bug#10978)
355
9e345a01
LL
3562012-03-13 Leo Liu <sdl.web@gmail.com>
357
358 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
359 directory and file as argument (Bug#10822).
360
4a07df36
KS
3612012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
362
363 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
364 For dynamically generated code, follow $PC.
365 (gdb-disassembly-handler-custom): Handle no function name case.
366
4aaa9356
TL
3672012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
368
369 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
370 * emulation/ws-mode.el (ws-query-replace):
371 * sort.el (sort-regexp-fields):
372 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
373
225979da
SM
3742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * dabbrev.el: Fix cycle completion order (bug#10963).
377 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
378 (dabbrev-completion): Don't use an obarray; provide
379 a cycle-sort-function.
380
e2f1fdab
LL
3812012-03-12 Leo Liu <sdl.web@gmail.com>
382
dc9924b8 383 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
384 (kill-do-not-save-duplicates): Doc fix.
385
b19490ed
SM
3862012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * dabbrev.el: Fix cycle completion (bug#10963).
389 Use lexical binding and wrap to 80 columns.
390 (dabbrev-completion): Delay computing the list of completions.
391
4b05d722
KH
3922012-03-12 Kenichi Handa <handa@m17n.org>
393
394 * international/quail.el (quail-insert-kbd-layout): Surround each
395 row by LRO and PDF instead of inserting many LRMs. Pad the left
396 and right of each non-spacing marks. Insert invisible space
397 between lower and upper characters to prevent composition.
398
dbbc2e69
SM
3992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * minibuffer.el (minibuffer-complete): Don't get confused when the
402 function is run twice via different commands (bug#10958).
403 (complete-with-action): Fix docstring.
404
292112ed
CY
4052012-03-12 Chong Yidong <cyd@gnu.org>
406
5d1ac394
CY
407 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
408 (nxml-completion-at-point-function): New function.
409 (nxml-mode): Use it.
410 (nxml-bind-meta-tab-to-complete-flag): Default to t.
411
292112ed
CY
412 * emacs-lisp/package.el (package-unpack, package-unpack-single):
413 Load generated autoloads file before byte compiling (Bug#10970).
414 (package--make-autoloads-and-compile): New helper fun.
415
4098f8f7
CS
4162012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
417
418 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
419
8f754691
MA
4202012-03-11 Michael Albinus <michael.albinus@gmx.de>
421
422 * autorevert.el (auto-revert-handler): Ensure, that
423 file-readable-p is applied only for local files or in
424 auto-revert-tail-mode.
425
e29ab36b
AS
4262012-03-11 Andreas Schwab <schwab@linux-m68k.org>
427
dbbc2e69
SM
428 * server.el (server-eval-at): Handle non-tcp connections.
429 Decode result string.
ad0bf5b6 430
e29ab36b
AS
431 * server.el (server-msg-size): New constant.
432 (server-reply-print): New function.
433 (server-eval-and-print): Use it.
434 (server-eval-at): Use server-quote-arg and server-unquote-arg.
435 Handle -print-nonl.
436
de5939ba
CS
4372012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
438
439 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
440 (Bug#10987).
441
0c93eabf
CY
4422012-03-11 Chong Yidong <cyd@gnu.org>
443
397a688f
CY
444 * simple.el (goto-line): Doc fix (Bug#9938).
445
2cc775f9
CY
446 * subr.el (save-window-excursion): Doc fix (Bug#9979).
447
0c93eabf
CY
448 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
449 when finished (Bug#10963).
450
c491fa41
MR
4512012-03-11 Martin Rudalics <rudalics@gmx.at>
452
453 * window.el (split-window-below): Fix bug in case where
454 split-window-keep-point is nil (Bug#10971).
455
300e8fa5
JL
4562012-03-11 Juri Linkov <juri@jurta.org>
457
458 * replace.el (replace-highlight): Set isearch-word to nil
459 unconditionally. (Bug#10887)
460
dbf6c5a1
EZ
4612012-03-10 Eli Zaretskii <eliz@gnu.org>
462
463 * net/mairix.el (mairix-replace-invalid-chars): Rename from
464 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 465 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
466 (mairix-widget-create-query): Add usage information about mairix
467 search forms: negating words, searching for substrings, etc.
468
b9e501de
JP
4692012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
470
471 * international/fontset.el (font-encoding-alist): Add an entry for
472 ksx1001 (Bug#5667).
473
92795c91
RS
4742012-03-10 Richard Stallman <rms@gnu.org>
475
1694e6c1
RS
476 * mail/sendmail.el (mail-encode-header):
477 Set rfc2047-encode-encoded-words.
478
607e8555
RS
479 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
480
de3bc99a
RS
481 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
482 view buffer means not swapped.
483 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
484 (rmail-write-region-annotate): Error if real text has disappeared.
485
92795c91
RS
486 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
487
699bd04e
CY
4882012-03-10 Chong Yidong <cyd@gnu.org>
489
490 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
491 * emulation/cua-base.el (cua--init-keymaps):
492 Add delete-forward-char to remappings (Bug#9666).
699bd04e 493
570a1714
MR
4942012-03-10 Martin Rudalics <rudalics@gmx.at>
495
dbbc2e69
SM
496 * speedbar.el (speedbar-unhighlight-one-tag-line):
497 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 498
82dcf4e4
CY
4992012-03-10 Chong Yidong <cyd@gnu.org>
500
7a2c7ca7
CY
501 * minibuffer.el (completion-in-region, completion-help-at-point):
502 Give the completion field overlay a high priority (Bug#6830).
503
82dcf4e4
CY
504 * dired.el (dired-goto-file): Recognize absolute file name
505 listings (Bug#7126).
506 (dired-goto-file-1): New helper function.
507 (dired-toggle-read-only): Inhibit warnings.
508
052e28ac
MA
5092012-03-09 Michael Albinus <michael.albinus@gmx.de>
510
511 * net/dbus.el: (dbus-property-handler): Return empty array if
512 there are no properties.
513
95d5e396
LL
5142012-03-09 Leo Liu <sdl.web@gmail.com>
515
516 * savehist.el (savehist-printable): Stricter check for string
517 value (Bug#10937).
518
3f018d6d
EZ
5192012-03-09 Eli Zaretskii <eliz@gnu.org>
520
dbbc2e69
SM
521 * mail/smtpmail.el (smtpmail-send-it):
522 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
523 valid mbox format.
524
f7fd3d79
GM
5252012-03-09 Glenn Morris <rgm@gnu.org>
526
527 * files.el (dir-locals-find-file):
528 Don't check result is regular, readable.
529 (dir-locals-read-from-file): Demote errors.
530
6ff6e72f
EZ
5312012-03-08 Eli Zaretskii <eliz@gnu.org>
532
dbbc2e69
SM
533 * international/quail.el (quail-insert-kbd-layout):
534 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
535 layout cell, to prevent their reordering by bidi display engine.
536 For details, see the discussion in
537 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
538
9cec7834
AM
5392012-03-08 Alan Mackenzie <acm@muc.de>
540
541 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
542 the starting position; make it extend the marked region when
543 invoked repeatedly - all under appropriate circumstances.
544 Fixes bugs #5525, #10906.
545
9a40b8d4
GM
5462012-03-08 Glenn Morris <rgm@gnu.org>
547
548 * files.el (locate-dominating-file, dir-locals-find-file):
549 Undo 2012-03-06 change.
550
7a08ed35
EZ
5512012-03-07 Eli Zaretskii <eliz@gnu.org>
552
dbbc2e69
SM
553 * international/quail.el (quail-help):
554 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
555 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
556 for the reason.
557
5aca4f71 5582012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
559
560 Avoid superfluous registering of signals. (Bug#10807)
561
562 * notifications.el (notifications-on-action-object)
563 (notifications-on-close-object): New defvars.
564 (notifications-on-action-signal, notifications-on-closed-signal):
565 Unregister the signal if not needed any longer.
566 (notifications-notify): Register `notifications-action-signal' or
567 `notifications-closed-signal', if :on-action or :on-close has been
568 passed as argument.
569
78e8b10a
CY
5702012-03-07 Chong Yidong <cyd@gnu.org>
571
572 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
573 non-X platforms.
574
69481eb8
GM
5752012-03-06 Glenn Morris <rgm@gnu.org>
576
577 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
578 (x-disown-selection-internal, x-get-selection-internal):
579 Doc fix (add arglist signatures). (Bug#10783)
580
133b8e11
KS
5812012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
582
583 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
584 Handle breakpoints with no "type".
585
99a83064
GM
5862012-03-06 Glenn Morris <rgm@gnu.org>
587
588 * files.el (locate-dominating-file): Add optional predicate argument.
589 (dir-locals-find-file): Make use of above change.
590
17798e78
TTN
5912012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
592
593 * info.el (Info-insert-dir): Also try "dir.gz".
594
eb182446
GM
5952012-03-06 Glenn Morris <rgm@gnu.org>
596
8f2114ee
GM
597 * files.el (dir-locals-find-file):
598 Ignore non-readable or non-regular files. (Bug#10928)
599
eb182446
GM
600 * files.el (locate-dominating-file): Doc fix.
601
24679323
AS
6022012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
603
604 * calendar/calendar.el (calendar-set-mode-line):
605 `getenv' returns a string. (Bug#10951)
606
01d972a9
LL
6072012-03-05 Leo Liu <sdl.web@gmail.com>
608
109aa8a9
LL
609 * simple.el (backward-delete-char-untabify): Constrain point to
610 field (Bug#10939).
611
01d972a9
LL
612 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
613
10607bea
CY
6142012-03-05 Chong Yidong <cyd@gnu.org>
615
616 * simple.el (count-words): If called from Lisp, return the word
617 count, for symmetry with `count-lines'. Arglist changed.
618 (count-words--message): Args changed. Consolidate counting code
619 from count-words and count-words-region.
620 (count-words-region): Caller changed.
621 (count-lines-region): Make it an obsolete alias.
622
5dd11cfe
TH
6232012-03-04 Tassilo Horn <tassilo@member.fsf.org>
624
625 * saveplace.el (save-place-to-alist)
626 (save-place-ignore-files-regexp): Allow value nil to disable this
627 feature.
628
c349f4e6
CY
6292012-03-04 Chong Yidong <cyd@gnu.org>
630
631 * faces.el (face-spec-reset-face): For the default face, reset the
632 attributes to default values (Bug#10748).
633
e627be4c
LMI
6342012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
635
636 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
637 previous patch: Check `message-send-mail-function', and not the
638 default function (bug#10897).
639
ebeabff4
MA
6402012-03-04 Michael Albinus <michael.albinus@gmx.de>
641
a41a6cf4
MA
642 * notifications.el (notifications-on-action-signal)
643 (notifications-on-closed-signal): Check for unique service name of
644 incoming event. Fix error in removing entry.
ebeabff4 645 (top): Register for signals with wildcard service name.
a41a6cf4 646 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 647
c1ca42b4
CY
6482012-03-04 Chong Yidong <cyd@gnu.org>
649
dc9924b8 650 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 651
ea16568d
GM
6522012-03-04 Glenn Morris <rgm@gnu.org>
653
654 * abbrev.el (copy-abbrev-table, abbrev-table-p)
655 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
656 (expand-abbrev, define-abbrev-table): Doc fixes.
657
fbae4637
LMI
6582012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
659
660 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
661 `message-default-send-mail-function' and not `send-mail-function'
662 when doing the prompting for `sendmail-query-once' before sending
663 in Message buffers (bug#10897).
664
a1e7225c
LMI
665 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
666 This is inconsistent with all the other stream functions, which leave
667 the setting up to the higher levels (if so wanted) (bug#10931).
668
56d093a9
AM
6692012-03-02 Alan Mackenzie <acm@muc.de>
670
671 Depessimize the handling of very large macros.
672
673 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
674 (c-macro-cache-syntactic): New variables to implement a one
675 element macro cache.
676 (c-invalidate-macro-cache): New function.
677 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
678 Adapt to use the new cache.
679 (c-state-safe-place): Use better the cache of safe positions.
680 (c-state-semi-nonlit-pos-cache)
681 (c-state-semi-nonlit-pos-cache-limit):
682 New variables for...
683 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
684 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
685 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
686 Use c-state-semi-safe-place.
56d093a9 687
dbbc2e69
SM
688 * progmodes/cc-langs.el (c-get-state-before-change-functions):
689 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 690
817e5c3d
MA
6912012-03-02 Michael Albinus <michael.albinus@gmx.de>
692
dbbc2e69
SM
693 * jka-compr.el (jka-compr-call-process):
694 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
695 not remote.
696
a032a702
MA
6972012-03-01 Michael Albinus <michael.albinus@gmx.de>
698
699 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
700 access of FILE2, if FILE1 does not exist.
701
99a54f21
MA
702 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
703 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
704
705 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
706 Add "PAGER=" to `process-environment'.
707
f6561e1f
MM
7082012-03-01 Michael R. Mauger <mmaug@yahoo.com>
709
710 * progmodes/sql.el: Bug fix
711 (sql-get-login-ext): Save login values in globals.
712 (sql-get-login): Use new version of `sql-get-login-ext'.
713 (sql-interactive-mode): Set global `sql-connection' to nil.
714 (sql-connect): Set global values for connection.
715 (sql-product-interactive): Save global values as buffer local.
716
2d44d9cc
LL
7172012-02-29 Leo Liu <sdl.web@gmail.com>
718
719 * abbrev.el (define-abbrevs): Reset sys to nil.
720
96b49301 7212012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
722
bf7f9bc5
JB
723 * files.el (file-equal-p): Rename from `files-equal-p'.
724 Return nil when one or both files don't exist.
96b49301 725 (file-subdir-of-p): Now only top directory must exists,
726 return nil if it doesn't.
bf7f9bc5
JB
727 (copy-directory): No need to test with `file-subdir-of-p' after
728 creating dir.
729 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
730 to `file-equal-p'.
96b49301 731
44e97401
GM
7322012-02-28 Glenn Morris <rgm@gnu.org>
733
734 * shell.el (shell-mode):
735 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
736 * play/landmark.el (landmark-font-lock-face-O):
737 * play/handwrite.el (handwrite):
738 * play/gomoku.el (gomoku-O):
739 * net/browse-url.el (browse-url-browser-display):
740 * international/mule.el (define-charset):
741 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
742 * filesets.el (filesets-find-file-delay):
743 * eshell/em-xtra.el (eshell-xtra):
744 * eshell/em-unix.el (eshell-grep):
745 * emulation/viper.el (viper-mode):
746 * emacs-lisp/regexp-opt.el (regexp-opt-group):
747 * emacs-lisp/easymenu.el (easy-menu-define):
748 * calendar/timeclock.el (timeclock-use-display-time):
749 * bs.el (bs-mode):
750 * bookmark.el (bookmark-save-flag):
751 Doc fix (standardize possessive apostrophe usage).
752
c98c6276
CY
7532012-02-27 Chong Yidong <cyd@gnu.org>
754
bf7f9bc5
JB
755 * emulation/viper-cmd.el (viper-intercept-ESC-key):
756 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 757
c98c6276
CY
758 * font-lock.el (font-lock-specified-p): Rename from
759 font-lock-spec-present. Callers changed.
760
9c62cd04 7612012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 762
bf7f9bc5
JB
763 * emacs-lisp/package.el (package-compute-transaction):
764 Handle holding a package version to t in package-load-list.
8ac9e529 765
530739c9
MA
7662012-02-26 Michael Albinus <michael.albinus@gmx.de>
767
768 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
769 (tramp-get-inode, tramp-get-device): Use cached values.
770
487915d7
AM
7712012-02-26 Alan Mackenzie <acm@muc.de>
772
773 Check there is a font-lock specification before doing initial
774 fontification.
775
776 * font-core.el (font-lock-mode): Move the conditional from
777 :after-hook to font-lock-initial-fontify.
778 (font-lock-default-function): Move the check for a specification
779 to font-lock-spec-present.
780
dc9924b8 781 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
782 (font-lock-spec-present): New function.
783
4fd96557
JB
7842012-02-26 Jim Blandy <jimb@red-bean.com>
785
786 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
787 (gdb-send): Apply it to the operand of the '-interpreter-exec
788 console' command, so that we can pass arguments with (say) quotes
789 in them. Store exact string sent in gdb-debug-log (Bug#10765).
790
9a4888c0
CY
7912012-02-26 Chong Yidong <cyd@gnu.org>
792
07498861
CY
793 * help-fns.el (describe-function-1): Clarify description of
794 remapping (Bug#10844).
795
9a4888c0
CY
796 * files.el (files-equal-p): Doc fix.
797 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
798 and quit the loop once a mismatch is found.
799
ea8fb88d
JB
8002012-02-25 Juanma Barranquero <lekktu@gmail.com>
801
802 * bs.el (bs--show-with-configuration): Don't throw an error
803 if the window cannot be split; otherwise, subsequent calls to
804 bs-show fail, restoring a stale window config. (Bug#10882)
805
525795c1
JD
8062012-02-25 Jan Djärv <jan.h.d@swipnet.se>
807
808 * term/ns-win.el (global-map): Bind ns-drag-file to
809 ns-find-file (Bug#5855, Bug#10050).
810
f008086f
AS
8112012-02-25 Andreas Schwab <schwab@linux-m68k.org>
812
813 * calendar/parse-time.el (parse-time-string): Allow extractor to
814 return nil.
815
a3fcfa99
MA
8162012-02-25 Michael Albinus <michael.albinus@gmx.de>
817
91027d08
JB
818 * net/tramp.el (tramp-file-name-for-operation):
819 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
820
821 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
822 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
823 Add COPY-CONTENTS argument.
a3fcfa99 824
67b0de11
CY
8252012-02-25 Chong Yidong <cyd@gnu.org>
826
827 Add custom groups for VC backends, for consistency with vc-bzr.
828
829 * vc/vc-arch.el (vc-arch):
830 * vc/vc-cvs.el (vc-cvs):
831 * vc/vc-git.el (vc-git):
832 * vc/vc-hg.el (vc-hg):
833 * vc/vc-mtn.el (vc-mtn):
834 * vc/vc-rcs.el (vc-rcs):
835 * vc/vc-sccs.el (vc-sccs):
836 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
837 All relevant defcustoms reassigned.
838
3c9dfce6
CY
8392012-02-25 Chong Yidong <cyd@gnu.org>
840
1339bf43
CY
841 * newcomment.el (comment-styles): Add autoload (Bug#10868).
842
3c9dfce6
CY
843 * term/x-win.el (x-initialize-window-system): Reduce default for
844 x-selection-timeout to 5 seconds (Bug#8869).
845
53a46cd0 8462012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 847
53a46cd0 848 * files.el (file-subdir-of-p): Fix typo.
14a8a663 849
25b2e303 8502012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
851
ec70a47d
GM
852 * files.el (files-equal-p, file-subdir-of-p): New functions.
853 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 854 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
855 * dired-aux.el (dired-copy-file-recursive): Same.
856 (dired-create-files): Modify destination when source is equal to
857 dest when copying files.
53a46cd0 858 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 859
914260cd
MA
8602012-02-24 Michael Albinus <michael.albinus@gmx.de>
861
862 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
863 (Bug#10874)
864
2cb228f7
AM
8652012-02-23 Alan Mackenzie <acm@muc.de>
866
867 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
868 parameter "after-hook:" to allow the expansion to run code after
869 the execution of the mode hooks.
870
871 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 872 from font-lock-mode-internal.
2cb228f7 873
91027d08 874 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
875 :after-hook.
876
8f0fde21
SM
8772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
878
3e88618b
SM
879 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
880 (completion--cache-all-sorted-completions): New function.
881 (completion-all-sorted-completions): Use it.
882 (completion--do-completion, minibuffer-force-complete):
883 Use it to re-instate the flush hook.
884
8f0fde21
SM
885 * icomplete.el (icomplete-completions): Replace last fix with a better
886 one (bug#10850).
887
8e911f6f
DG
8882012-02-23 Dmitry Gutov <dgutov@yandex.ru>
889
890 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
891 when it might call us back infinitely (bug#10797).
892
49fe4321
GM
8932012-02-23 Glenn Morris <rgm@gnu.org>
894
895 * minibuffer.el (completion-category-overrides): Doc fix.
896
b291b572
SM
8972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * minibuffer.el (completion-table-with-context): Fix inf-loop.
900 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
901
31a9ef2e
GM
9022012-02-23 Glenn Morris <rgm@gnu.org>
903
5e6e6794 904 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
905 (authors-obsolete-files-regexps, authors-ignored-files)
906 (authors-ambiguous-files, authors-renamed-files-alist):
907 Add more entries.
908
0bd1e074
JL
9092012-02-23 Juri Linkov <juri@jurta.org>
910
911 * isearch.el (isearch-occur): Sync interactive spec with occur's
912 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
913
b617673c
JL
914 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
915
19e9789e
JL
9162012-02-22 Juri Linkov <juri@jurta.org>
917
918 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
919 (ucs-insert): Doc fix. Check for hex digits in the string.
920 Don't display `nil' in the error message. (Bug#10857)
921
f41ce09d
AM
9222012-02-22 Alan Mackenzie <acm@muc.de>
923
7a71b18d 924 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 925
ac2eceee
GM
9262012-02-22 Glenn Morris <rgm@gnu.org>
927
928 * ffap.el (ffap-c-path):
929 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
930
abd1f678
CY
9312012-02-22 Chong Yidong <cyd@gnu.org>
932
933 * custom.el (load-theme): Doc fix.
934
f25aef2e
GM
9352012-02-22 Glenn Morris <rgm@gnu.org>
936
937 * dired-x.el (dired-guess-shell-alist-default):
938 Remove escape sequences from nroff output. (Bug#172)
939
5f8dc2ca
GM
9402012-02-21 Glenn Morris <rgm@gnu.org>
941
6ff86ec4
GM
942 * vc/emerge.el (emerge-defvar-local):
943 Set `permanent-local' property rather than unused `preserved'.
944
be3223a3 945 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
946 (picture-mode-map): Use it. (Bug#10860)
947 (picture-mode): Doc fix.
948
3fe58f4f
JB
9492012-02-21 Juanma Barranquero <lekktu@gmail.com>
950
951 * newcomment.el (uncomment-region-default): Remove unused binding.
952
f9a998c3
GM
9532012-02-21 Glenn Morris <rgm@gnu.org>
954
955 * textmodes/picture.el (picture-motion, picture-motion-reverse)
956 (picture-self-insert, picture-tab-chars): Doc fix.
957 (picture-mode-map): Fix C-a, C-e.
958
c6029348
GM
9592012-02-20 Glenn Morris <rgm@gnu.org>
960
961 * emacs-lisp/authors.el (authors-aliases): Add another entry.
962
ab1ce9d7
LL
9632012-02-20 Leo Liu <sdl.web@gmail.com>
964
965 * icomplete.el (icomplete-completions): Check FROM arg before
966 passing to substring (Bug#10850).
967
0fd40f89
CY
9682012-02-19 Chong Yidong <cyd@gnu.org>
969
970 * comint.el: Require ansi-color.
971 (comint-output-filter-functions): Add ansi-color-process-output.
972
973 * ansi-color.el: Don't set comint-output-filter-functions; it is
974 now in the initial value defined in comint.el.
975 (ansi-color-apply-face-function): New variable.
976 (ansi-color-apply-on-region): Use it.
977 (ansi-color-apply-overlay-face): New function.
978
979 * shell.el (shell): No need to require ansi-color.
980 (shell-mode): Use ansi-color-apply-face-function to highlight
981 color escapes using font-lock-face property (Bug#10835).
982
20af2394
CY
9832012-02-19 Chong Yidong <cyd@gnu.org>
984
985 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
986 mode-line formats (Bug#10839).
987
e23a3fbe
GM
9882012-02-18 Glenn Morris <rgm@gnu.org>
989
b474519e
GM
990 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
991
992 * mail/undigest.el (unforward-rmail-message): Doc fix.
993
e23a3fbe
GM
994 * saveplace.el (save-place-ignore-files-regexp): Add :version.
995
57939ff4
EZ
9962012-02-18 Eli Zaretskii <eliz@gnu.org>
997
998 * international/characters.el (script-list): Sync with the latest
999 Unicode Character Database.
1000
0c23686e
AS
10012012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1002
1003 * international/titdic-cnv.el: Remove duplicate coding tag.
1004 * language/cham.el: Likewise.
1005 * language/tai-viet.el: Likewise.
1006
6818b449
GM
10072012-02-18 Glenn Morris <rgm@gnu.org>
1008
1009 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1010 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1011 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1012 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1013 * calendar/holidays.el (holiday-bahai-holidays)
1014 (calendar-holidays, list-holidays):
1015 Use utf-8 Bahá'í in doc-strings, menus, etc.
1016
0311a3fc
TH
10172012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1018
1019 * saveplace.el (save-place-ignore-files-regexp): New variable
1020 allowing for excluding files from saving their location of point.
1021 The default value matches the temporary commit message editing
1022 files from Git, SVN, Bazaar, and Mercurial.
1023 (save-place-to-alist): Use it.
1024
eb864a71
LM
10252012-02-17 Lawrence Mitchell <wence@gmx.li>
1026 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * newcomment.el (uncomment-region-default): Don't leave extra space
1029 when an arg is provided (bug#8150).
1030
ee0ce425
TZ
10312012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1032
eb864a71 1033 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1034
95ddf442
GM
10352012-02-17 Glenn Morris <rgm@gnu.org>
1036
1037 * net/socks.el: Require network-stream. (Bug#10599)
1038
48dd1e39 10392012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1040
1041 * international/charprop.el:
1042 * international/uni-name.el:
1043 * international/uni-old-name.el:
1044 * international/uni-comment.el: Regenerate.
1045
d68cd087
GM
10462012-02-16 Glenn Morris <rgm@gnu.org>
1047
1048 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1049 Interactively in calendar buffer, give an error if not on a date.
1050
13932042
GM
10512012-02-15 Glenn Morris <rgm@gnu.org>
1052
1053 * shell.el (shell-delimiter-argument-list):
1054 Revert 2011-02-17 change. (Bug#8027)
1055
c3a70e2b
CY
10562012-02-15 Chong Yidong <cyd@gnu.org>
1057
60236b0d
CY
1058 * minibuffer.el (completion-at-point-functions): Doc fix.
1059
c3a70e2b
CY
1060 * custom.el (defcustom): Doc fix; note use of defvar.
1061
9f26dc24
GM
10622012-02-15 Glenn Morris <rgm@gnu.org>
1063
1064 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1065 Doc fixes.
1066
6546b134
GM
10672012-02-14 Glenn Morris <rgm@gnu.org>
1068
1069 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1070
d29b2b4c
LI
10712012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1072
1073 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1074 way the ports list is computed.
835bdcba
LI
1075 (smtpmail-query-smtp-server): Prompt the user for a port number if
1076 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1077
08dcdbc9
TZ
10782012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1079
1080 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1081
2605051a
GM
10822012-02-13 Glenn Morris <rgm@gnu.org>
1083
1084 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1085
7ee99f32
TZ
10862012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1087
1088 * net/gnutls.el (gnutls-trustfiles): New variable.
1089 (gnutls-negotiate): Use it.
1090
5f0af64f
LI
10912012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1092
1093 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1094 does its stuff if Gnus is running.
1095
c14fcc95
AM
10962012-02-13 Alan Mackenzie <acm@muc.de>
1097
1098 Fix a loop in c-set-fl-decl-start.
1099
7a71b18d 1100 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1101 c-backward-syntactic-ws actually moves backwards.
1102
142b4d90
LL
11032012-02-13 Leo Liu <sdl.web@gmail.com>
1104
1105 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1106 beginning so that all \C-o chars are removed.
1107
fa9958a6
TZ
11082012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1109
dc9924b8 1110 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1111
0bc5886a
AM
11122012-02-12 Alan Mackenzie <acm@muc.de>
1113
1114 Fix infinite loop with long macros.
1115 * cc-engine.el (c-state-safe-place): Handle macros properly.
1116
d4bd55e7
CY
11172012-02-12 Chong Yidong <cyd@gnu.org>
1118
1119 * window.el (display-buffer): Doc fix (Bug#10785).
1120
66f3fe22
GM
11212012-02-12 Glenn Morris <rgm@gnu.org>
1122
bd7da63e
GM
1123 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1124 (x-disown-selection-internal, x-get-selection-internal):
1125 Sync docs with the xselect.c versions.
1126
66f3fe22
GM
1127 * allout-widgets.el: Add missing license notice.
1128
3e0d2fa7
GM
11292012-02-11 Glenn Morris <rgm@gnu.org>
1130
cfecdf09
GM
1131 * select.el (x-get-selection-internal, x-own-selection-internal)
1132 (x-disown-selection-internal):
1133 * x-dnd.el (x-get-selection-internal): Update declarations.
1134
6d216d7f
GM
1135 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1136
2bed3f04
GM
1137 * window.el (window-sides-slots):
1138 * tool-bar.el (tool-bar-position):
1139 * term/xterm.el (xterm-extra-capabilities):
1140 * ses.el (ses-self-reference-early-detection):
1141 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1142 (verilog-auto-wire-type)
1143 (verilog-auto-delete-trailing-whitespace)
1144 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1145 (verilog-auto-tieoff-declaration):
1146 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1147 (sql-oracle-statement-starters, sql-oracle-scan-on):
1148 * progmodes/prolog.el (prolog-align-comments-flag)
1149 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1150 (prolog-left-indent-regexp, prolog-paren-indent-p)
1151 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1152 (prolog-types, prolog-mode-specificators)
1153 (prolog-determinism-specificators, prolog-directives)
1154 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1155 (prolog-electric-dot-flag)
1156 (prolog-electric-dot-full-predicate-template)
1157 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1158 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1159 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1160 (prolog-program-switches, prolog-prompt-regexp)
1161 (prolog-debug-on-string, prolog-debug-off-string)
1162 (prolog-trace-on-string, prolog-trace-off-string)
1163 (prolog-zip-on-string, prolog-zip-off-string)
1164 (prolog-use-standard-consult-compile-method-flag)
1165 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1166 (prolog-imenu-max-lines, prolog-info-predicate-index)
1167 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1168 (prolog-char-quote-workaround):
1169 * progmodes/cc-vars.el (c-defun-tactic):
1170 * net/tramp.el (tramp-encoding-command-interactive)
1171 (tramp-local-end-of-line):
1172 * net/soap-client.el (soap-client):
1173 * net/netrc.el (netrc-file):
1174 * net/gnutls.el (gnutls):
1175 * minibuffer.el (completion-category-overrides)
1176 (completion-cycle-threshold)
1177 (completion-pcm-complete-word-inserts-delimiters):
1178 * man.el (Man-name-local-regexp):
1179 * mail/feedmail.el (feedmail-display-full-frame):
1180 * international/characters.el (glyphless-char-display-control):
1181 * eshell/em-ls.el (eshell-ls-date-format):
1182 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1183 (lisp-lambda-list-keyword-parameter-indentation)
1184 (lisp-lambda-list-keyword-parameter-alignment):
1185 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1186 * dired-x.el (dired-omit-verbose):
1187 * cus-theme.el (custom-theme-allow-multiple-selections):
1188 * calc/calc.el (calc-highlight-selections-with-faces)
1189 (calc-lu-field-reference, calc-lu-power-reference)
1190 (calc-note-threshold):
1191 * battery.el (battery-mode-line-limit):
1192 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1193 (archive-7z-update):
1194 * allout.el (allout-prefixed-keybindings)
1195 (allout-unprefixed-keybindings)
1196 (allout-inhibit-auto-fill-on-headline)
1197 (allout-flattened-numbering-abbreviation):
1198 * allout-widgets.el (allout-widgets-auto-activation)
1199 (allout-widgets-icons-dark-subdir)
1200 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1201 (allout-widgets-theme-dark-background)
1202 (allout-widgets-theme-light-background)
1203 (allout-widgets-item-image-properties-emacs)
1204 (allout-widgets-item-image-properties-xemacs)
1205 (allout-widgets-run-unit-tests-on-load)
1206 (allout-widgets-time-decoration-activity)
1207 (allout-widgets-hook-error-post-time)
1208 (allout-widgets-track-decoration):
1209 Add missing :version tags to new defcustoms and defgroups.
1210
5fec1b8e
GM
1211 * progmodes/sql.el (sql-ansi-statement-starters)
1212 (sql-oracle-statement-starters): Add custom type.
1213
3e0d2fa7
GM
1214 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1215 (prolog-system-version): Give it a type.
1216
90b671e2
EZ
12172012-02-11 Eli Zaretskii <eliz@gnu.org>
1218
1219 * term/pc-win.el (x-select-text, x-selection-owner-p)
1220 (x-own-selection-internal, x-disown-selection-internal)
1221 (x-get-selection-internal): Sync doc strings and argument lists
1222 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1223
5eac0c02
LL
12242012-02-11 Leo Liu <sdl.web@gmail.com>
1225
1226 * progmodes/python.el (python-end-of-statement): Fix infinite
1227 loop. (Bug#10788)
1228
f82cb659
GM
12292012-02-10 Glenn Morris <rgm@gnu.org>
1230
1231 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1232 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1233
cc26d239
LI
12342012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1235
1236 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1237 about SMTP before checking the From header.
1238
91027d08 1239 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1240 into own function for reuse by emacsbug.el.
1241
1be3ca5a
LL
12422012-02-10 Leo Liu <sdl.web@gmail.com>
1243
1244 * subr.el (condition-case-unless-debug): Rename from
1245 condition-case-no-debug. All callers changed.
1246 (with-demoted-errors): Fix caller.
1247
1248 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1249 * nxml/rng-valid.el (rng-do-some-validation):
1250 * emacs-lisp/package.el (package-refresh-contents)
1251 (package-menu-execute):
1252 * desktop.el (desktop-create-buffer):
91027d08 1253 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1254
b011fbfe
GM
12552012-02-10 Glenn Morris <rgm@gnu.org>
1256
b2096d72
GM
1257 * textmodes/bibtex.el:
1258 Add missing :version tags for new/changed defcustoms.
1259
b011fbfe
GM
1260 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1261
4c7e65bf
LI
12622012-02-09 Lars Ingebrigtsen <larsi@rusty>
1263
1264 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1265 (smtpmail-via-smtp): Use it, or fall back on the From address.
1266 (smtpmail-send-it): Ditto.
1267
f3934f6f
SM
12682012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1271 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1272 (byte-compile-tmp-var): New const.
1273 (byte-compile-defvar): Use it to minimize .elc size.
1274 Just use `defvar' rather than simulate it (bug#10761).
1275
a075a2c5
GM
12762012-02-09 Glenn Morris <rgm@gnu.org>
1277
cf3aa21b
GM
1278 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1279
354998cd
GM
1280 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1281 Add :version tags.
1282
dc9924b8
SM
1283 * progmodes/compile.el (compilation-error-screen-columns)
1284 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1285
dab3703d
GM
1286 * vc/log-view.el (log-view-toggle-entry-display):
1287 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1288
3f88cd72
GM
1289 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1290 (report-emacs-bug-can-use-xdg-email):
1291 (report-emacs-bug-insert-to-mailer): Doc fixes.
1292 (report-emacs-bug): Message fix.
1293
d95b247d
GM
1294 * net/browse-url.el (browse-url-can-use-xdg-open)
1295 (browse-url-xdg-open): Doc fixes.
1296
a075a2c5
GM
1297 * electric.el (electric-indent-mode, electric-pair-mode)
1298 (electric-layout-rules, electric-layout-mode): Doc fixes.
1299 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1300
ffb6157e
MR
13012012-02-08 Martin Rudalics <rudalics@gmx.at>
1302
1303 * server.el (server-unselect-display): Don't inadvertently kill
1304 the current buffer. (Bug#10729)
1305
e1ac4066
GM
13062012-02-08 Glenn Morris <rgm@gnu.org>
1307
34e8a2da
GM
1308 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1309 (sql-list-table): Doc fixes.
1310
b4ac6e8c
GM
1311 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1312 Comment out (does nothing).
1313
e1ac4066
GM
1314 * completion.el (dynamic-completion-mode):
1315 * dirtrack.el (dirtrack-debug-mode):
1316 * electric.el (electric-layout-mode):
1317 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1318 * face-remap.el (text-scale-mode, buffer-face-mode):
1319 * iimage.el (iimage-mode):
1320 * image-mode.el (image-transform-mode):
1321 * minibuffer.el (completion-in-region-mode):
1322 * scroll-lock.el (scroll-lock-mode):
1323 * simple.el (next-error-follow-minor-mode):
1324 * tar-mode.el (tar-subfile-mode):
1325 * tooltip.el (tooltip-mode):
1326 * vcursor.el (vcursor-use-vcursor-map):
1327 * wid-browse.el (widget-minor-mode):
1328 * emulation/tpu-edt.el (tpu-edt-mode):
1329 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1330 * international/iso-ascii.el (iso-ascii-mode):
1331 * language/thai-util.el (thai-word-mode):
1332 * mail/supercite.el (sc-minor-mode):
1333 * net/goto-addr.el (goto-address-mode):
1334 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1335 * progmodes/cwarn.el (cwarn-mode):
1336 * progmodes/flymake.el (flymake-mode):
1337 * progmodes/glasses.el (glasses-mode):
1338 * progmodes/hideshow.el (hs-minor-mode):
1339 * progmodes/pascal.el (pascal-outline-mode):
1340 * textmodes/enriched.el (enriched-mode):
1341 * vc/smerge-mode.el (smerge-mode):
1342 Doc fixes (minor mode argument).
1343
5e0d957f
EZ
13442012-02-07 Eli Zaretskii <eliz@gnu.org>
1345
1346 * ls-lisp.el (ls-lisp-sanitize): New function.
1347 (ls-lisp-insert-directory): Use it to fix or remove any elements
1348 in file-alist with missing attributes. (Bug#4673)
1349
98d7371e
AM
13502012-02-07 Alan Mackenzie <acm@muc.de>
1351
1352 Fix spurious recognition of c-in-knr-argdecl.
1353
1354 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1355 putative K&R region.
1356
667ced3a
AM
13572012-02-07 Alan Mackenzie <acm@muc.de>
1358
eb864a71
LM
1359 * progmodes/cc-engine.el (c-forward-objc-directive):
1360 Prevent looping in "#pragma mark @implementation".
667ced3a 1361
5b77774d
MA
13622012-02-07 Michael Albinus <michael.albinus@gmx.de>
1363
1364 * notifications.el (notifications-on-closed-signal): Make `reason'
1365 optional. (Bug#10744)
1366
af008560
GM
13672012-02-07 Glenn Morris <rgm@gnu.org>
1368
60d47423
GM
1369 * emacs-lisp/easy-mmode.el (define-minor-mode):
1370 Doc fixes for the macro and the mode it defines.
1371
dd605cc4
GM
1372 * image.el (imagemagick-types-inhibit): Doc fix.
1373
af008560
GM
1374 * cus-start.el (imagemagick-render-type): Add it.
1375
5cc59a37
LI
13762012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1377
1378 * progmodes/cc-mode.el
1379 (c-standard-font-lock-fontify-region-function): Set the default at
1380 load time, too, so that `font-lock-fontify-buffer' can be called
1381 without setting up the entire mode first. This fixes a bug in
1382 `mm-inline-text' with C MIME parts.
1383
9a6dd747
CY
13842012-02-06 Chong Yidong <cyd@gnu.org>
1385
2d16b285
CY
1386 * simple.el (list-processes--refresh): Delete exited processes
1387 (Bug#8094).
1388
171e9b6e
CY
1389 * comint.el (comint-next-prompt): next-single-char-property-change
1390 and prev-single-char-property-change never return nil (Bug#8657).
1391
9a6dd747
CY
1392 * custom.el (defcustom): Doc fix (Bug#9711).
1393
aa4589a7
CY
13942012-02-05 Chong Yidong <cyd@gnu.org>
1395
5c2a252f
CY
1396 * cus-edit.el (custom-variable-reset-backup): Quote the value
1397 before storing it in the customized-value property (Bug#6712).
4aab9006 1398 (custom-display): Add a customization type tag.
983b9602 1399 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1400
aa4589a7
CY
1401 * wid-edit.el (widget-field-value-get): New optional arg to
1402 suppress trailing whitespace truncation.
1403 (character): Use it (Bug#2689).
1404
1ff980ae
AS
14052012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1406
1407 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1408 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1409
03988c98
CY
14102012-02-05 Chong Yidong <cyd@gnu.org>
1411
eeb6cc88
CY
1412 * cus-edit.el (custom-variable-value-create): For mismatched
1413 types, show the current value (Bug#7600).
1414
03988c98
CY
1415 * custom.el (defcustom): Doc fix.
1416
f8cdeef0
GM
14172012-02-05 Glenn Morris <rgm@gnu.org>
1418
1419 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1420
0696d255
JB
14212012-02-05 Juanma Barranquero <lekktu@gmail.com>
1422
1423 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1424 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1425 (pp-last-sexp): Use `looking-at-p'.
1426
34c99998
GM
14272012-02-04 Glenn Morris <rgm@gnu.org>
1428
8f05da42
GM
1429 * files.el (revert-buffer):
1430 Doc fix (mention revert-buffer-in-progress-p).
1431
f160676e
GM
1432 * emacs-lisp/ert-x.el (ert-simulate-command):
1433 Check deferred-action-list (which is obsolete) is bound.
1434
c7291ad9
GM
1435 * subr.el (with-wrapper-hook): Doc fixes.
1436
34c99998
GM
1437 * simple.el (filter-buffer-substring-functions)
1438 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1439
6283a7d3
LL
14402012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1441
1442 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1443 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1444
e96e3013
LL
14452012-02-04 Leo Liu <sdl.web@gmail.com>
1446
1447 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1448
8ded50f2
GM
14492012-02-04 Glenn Morris <rgm@gnu.org>
1450
82ff1d13
GM
1451 * image.el (image-extension-data): Add obsolete alias.
1452
987a0a16
GM
1453 * isearch.el (isearch-update): Doc fix.
1454
ea32ef46
GM
1455 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1456
8ded50f2
GM
1457 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1458
eea14f31
GM
14592012-02-03 Glenn Morris <rgm@gnu.org>
1460
1461 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1462 (image-animate-timeout): Doc fix.
1463
1464 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1465
12f381b7
GM
14662012-02-02 Glenn Morris <rgm@gnu.org>
1467
953cebf5
GM
1468 * server.el (server-auth-dir): Doc fix.
1469 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1470
12f381b7
GM
1471 * subr.el (run-mode-hooks): Doc fix.
1472
953a8c3b
JL
14732012-02-02 Juri Linkov <juri@jurta.org>
1474
1475 * image-mode.el (image-toggle-display-image): Remove tautological
1476 `major-mode' from the `derived-mode-p' test.
1477
c5d3843c
KH
14782012-02-02 Kenichi Handa <handa@m17n.org>
1479
9f6e692e 1480 * composite.el (compose-region): Cancel previous change.
c5d3843c 1481
159462d4 14822012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1483
1484 * composite.el (compose-region, compose-string): Signal error for
1485 a null string component (Bug#6988).
1486
9f562668
CY
14872012-02-01 Chong Yidong <cyd@gnu.org>
1488
e2cef717
CY
1489 * view.el (view-buffer-other-window, view-buffer-other-frame):
1490 Handle special modes like view-buffer (Bug#10650).
1491 (view-buffer): Simplify.
1492
9f562668
CY
1493 * frame.el (set-frame-font): Tweak meaning of third argument.
1494
9f6e692e
JB
1495 * dynamic-setting.el (font-setting-change-default-font):
1496 Use set-frame-font (Bug#9982).
9f562668 1497
781acb9f
GM
14982012-02-01 Glenn Morris <rgm@gnu.org>
1499
6035be52
GM
1500 * progmodes/compile.el (compilation-internal-error-properties):
1501 Respect compilation-first-column in the "*compilation*" buffer.
1502
781acb9f
GM
1503 * emacs-lisp/easy-mmode.el (define-minor-mode):
1504 Relax :variable's test for a named function.
1505
abbceb00
AM
15062012-01-31 Alan Mackenzie <acm@muc.de>
1507
1508 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1509 off by one error.
1510
fce3fdeb
CY
15112012-01-31 Chong Yidong <cyd@gnu.org>
1512
1513 * frame.el (set-frame-font): New arg ALL-FRAMES.
1514
1515 * menu-bar.el (menu-set-font): Use set-frame-font.
1516
1517 * faces.el (face-spec-reset-face): Don't apply unspecified
1518 attribute values to the default face.
1519
47893581
JB
15202012-01-31 Juanma Barranquero <lekktu@gmail.com>
1521
1522 * progmodes/cwarn.el (cwarn): Remove dead link.
1523 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1524 Remove * from defcustom docstrings.
1525 (turn-on-cwarn-mode): Make obsolete.
1526 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1527 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1528
e58e988a
GM
15292012-01-31 Glenn Morris <rgm@gnu.org>
1530
60dc2671 1531 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1532 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1533 Allow named functions to be used as the cdr of :variable.
e58e988a 1534
7a3f511d
GM
15352012-01-30 Glenn Morris <rgm@gnu.org>
1536
1537 * emacs-lisp/authors.el (authors-fixed-entries):
1538 Remove reference to deleted file rnewspost.el.
1539
cb882333
JB
15402012-01-29 Juanma Barranquero <lekktu@gmail.com>
1541
1542 * window.el (window-with-parameter): Remove unused variable `windows'.
1543 (window--side-check): Remove unused variable `code'.
1544 (window--resize-siblings): Remove unused variable `first'.
1545 (adjust-window-trailing-edge): Remove unused variable `failed'.
1546 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1547 Use `let', not `let*'.
1548 (balance-windows-2): Remove unused variable `found'.
1549 (window--state-put-2): Remove unused variable `splits'.
1550 (window-state-put): Remove unused variable `selected'.
1551 (same-window-p): Use `string-match-p'.
1552 (display-buffer-assq-regexp): Remove unused variable `value'.
1553 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1554 Mark argument ALIST as ignored.
1555 (pop-to-buffer): Remove unused variable `old-window'.
1556
907201af
EZ
15572012-01-29 Eli Zaretskii <eliz@gnu.org>
1558
1559 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1560 and .lzma compressed files.
1561
ea162670
CY
15622012-01-29 Chong Yidong <cyd@gnu.org>
1563
5b95ee8a
CY
1564 * frame.el (window-system-default-frame-alist): Doc fix.
1565
ea162670
CY
1566 * dynamic-setting.el (font-setting-change-default-font): Don't
1567 change the default face if SET-FONT argument is non-nil (Bug#9982).
1568
d6e6f4b1
SB
15692012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1570
1571 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1572
0f29fa41 15732012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1574
1575 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1576 breakpoints in files outside current directory (Bug#6098).
1577
db174434
CY
15782012-01-29 Chong Yidong <cyd@gnu.org>
1579
6b25e4e2
SE
1580 * progmodes/python.el: Require ansi-color at top-level.
1581
6df6ae42
JB
1582 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1583 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1584 (lisp-mode-abbrev-table): Add doc.
1585 (lisp-mode-variables): Don't set local-abbrev-table.
1586 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1587
e70ee681
RW
15882012-01-28 Roland Winkler <winkler@gnu.org>
1589
1590 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1591
ace88aa2
RW
15922012-01-28 Roland Winkler <winkler@gnu.org>
1593
1594 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1595 (bibtex-set-dialect): Use it. Either set global values of
1596 dialect-dependent variables or bind these variables buffer-locally
1597 (Bug#10254).
1598 (bibtex-mode): Call bibtex-set-dialect via
1599 hack-local-variables-hook.
eb864a71
LM
1600 (bibtex-dialect): Update docstring.
1601 Add safe-local-variable predicate.
ace88aa2
RW
1602 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1603 bibtex-set-dialect.
1604 (bibtex-mode-map): Define menu for each dialect.
1605 (bibtex-entry): Fix docstring.
1606
93376c5b
CY
16072012-01-28 Chong Yidong <cyd@gnu.org>
1608
1609 * eshell/esh-arg.el (eshell-quote-argument): New function.
1610
1611 * eshell/esh-ext.el (eshell-invoke-batch-file):
1612 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1613 first arg to eshell-parse-command (Bug#10523).
1614
4372494f
DA
16152012-01-28 Drew Adams <drew.adams@oracle.com>
1616
1617 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1618 `default-directory' is non-nil.
1619
4d4ec1f8
EZ
16202012-01-28 Eli Zaretskii <eliz@gnu.org>
1621
1622 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1623 line that displays system-configuration-options. (Bug#9924)
1624
7c188927
DA
16252012-01-28 Drew Adams <drew.adams@oracle.com>
1626
1627 * descr-text.el (describe-char): Show information about POS, in
1628 addition to information about the character at POS. Improve and
1629 update the doc string. Change "code point" to "code point in
1630 charset", to avoid confusion with the character's Unicode code
1631 point shown above that. (Bug#10129)
1632
e0da685a
EZ
16332012-01-28 Eli Zaretskii <eliz@gnu.org>
1634
1635 * descr-text.el (describe-char): Show the raw character, not only
1636 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1637 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1638 for the reasons.
1639
70550acf
PH
16402012-01-28 Phil Hagelberg <phil@hagelb.org>
1641
eb864a71
LM
1642 * emacs-lisp/package.el (package-install):
1643 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1644
0ce8e868
CY
16452012-01-28 Chong Yidong <cyd@gnu.org>
1646
cb882333
JB
1647 * emacs-lisp/package.el (package-maybe-load-descriptor):
1648 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1649 (package-maybe-load-descriptor): Use it.
1650 (package-download-transaction): Fully load required packages
1651 inside the loop, so that `require' calls work (Bug#10593).
1652 (package-install): No need to call package-initialize now.
1653
2e7f3bea
CY
16542012-01-28 Chong Yidong <cyd@gnu.org>
1655
6e9bad14
CY
1656 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1657
f823b8ca
CY
1658 * tooltip.el (tooltip-mode): Doc fix.
1659 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1660
2680c309
CY
1661 * frame.el (set-cursor-color): Doc fix (Bug#352).
1662
d7a9e63b
CY
1663 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1664 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1665
2e7f3bea
CY
1666 * cus-edit.el (custom-buffer-create-internal): Fix search button
1667 action (Bug#10542).
2ae01800 1668 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1669
fc4f7a23
EW
16702012-01-27 Eduard Wiebe <usenet@pusto.de>
1671
1672 * dired.el (dired-mark-files-regexp):
1673 Include any subdirectory components. (Bug#10445)
1674
7dd37071
ML
16752012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1676
1677 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1678 Handle [host]:port syntax. (Bug#10533)
1679
a268160b
AH
16802012-01-27 Alex Harsanyi <harsanyi@mac.com>
1681
1682 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1683
e43273ef
GM
16842012-01-26 Glenn Morris <rgm@gnu.org>
1685
1686 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1687 * term.el (term-raw-escape-map): Use Control-X-prefix.
1688 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1689
1edf595d
MR
16902012-01-25 Martin Rudalics <rudalics@gmx.at>
1691
1692 * window.el (window-state-get, window--state-get-1): Don't deal
1693 with fixed-sizeness of windows. Simplify code.
1694
fa8eafef
JC
16952012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1696
6df6ae42
JB
1697 * window.el (window--state-get-1, window--state-put-2):
1698 Don't save and restore the mark.
fa8eafef 1699
0b21c100
CY
17002012-01-25 Chong Yidong <cyd@gnu.org>
1701
1702 * custom.el (custom-variable-p): Doc fix.
1703
5ae1a6c8
GM
17042012-01-25 Glenn Morris <rgm@gnu.org>
1705
40047858
GM
1706 * dired.el (dired-goto-file): Handle some of the more common
1707 characters that `ls -b' escapes. (Bug#10596)
1708
5ddce96c
GM
1709 * progmodes/compile.el (compilation-next-error-function):
1710 Respect compilation-first-column in the "*compilation*" buffer.
1711 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1712
5ae1a6c8
GM
1713 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1714
b559f1a9
GM
17152012-01-24 Glenn Morris <rgm@gnu.org>
1716
1717 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1718
6725d21a
JD
17192012-01-24 Julien Danjou <julien@danjou.info>
1720
1721 * color.el (color-rgb-to-hsl): Fix value computing.
1722 (color-hue-to-rgb): New function.
1723 (color-hsl-to-rgb): New function.
1724 (color-clamp, color-saturate-hsl, color-saturate-name)
1725 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1726 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1727
70df4bbe
GM
17282012-01-24 Glenn Morris <rgm@gnu.org>
1729
1730 * vc/vc-rcs.el (vc-rcs-create-tag):
1731 * vc/vc-sccs.el (vc-sccs-create-tag):
1732 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1733
802a2ae2
ML
17342012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1735
1736 * eshell/esh-util.el (eshell-read-hosts-file):
1737 Skip comment lines. (Bug#10549)
1738
d7128bb1
ML
1739 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1740
d1a5c3b4
JB
17412012-01-23 Juanma Barranquero <lekktu@gmail.com>
1742
2724d9c7
JB
1743 * subr.el (display-delayed-warnings): Doc fix.
1744 (collapse-delayed-warnings): New function to collapse identical
1745 adjacent warnings.
1746 (delayed-warnings-hook): Add it.
d1a5c3b4 1747
a5509865
MA
17482012-01-22 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1751
1752 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1753 properties, when "login-as" is set.
1754
1755 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1756 (tramp-default-user-alist): Don't add "pscp".
1757 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1758 property "login-as", if set. (Bug#10530)
1759
cc6d5805
MA
17602012-01-21 Michael Albinus <michael.albinus@gmx.de>
1761
1762 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1763 "plink1" and "psftp". (Bug#10530)
1764
17652012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1766
1767 * international/mule-cmds.el (prefer-coding-system): Show a
1768 warning message if the default value of file-name-coding-system
1769 was not changed.
1770
f0960428
JC
17712012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1772
cb882333
JB
1773 * windmove.el (windmove-reference-loc):
1774 Fix windmove-reference-loc miscalculation.
f0960428 1775
dd6f2a63
JB
17762012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1777
1778 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1779 default unit.
1780
7b447e9b
GM
17812012-01-21 Glenn Morris <rgm@gnu.org>
1782
117a9ea1
GM
1783 * international/mule.el (auto-coding-alist): Add .tbz.
1784
7b447e9b
GM
1785 * files.el (local-enable-local-variables): Doc fix.
1786 (inhibit-local-variables-regexps): Rename from
1787 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1788 Doc fix. Add some extensions from auto-coding-alist.
1789 (inhibit-local-variables-suffixes):
1790 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1791 (inhibit-local-variables-p):
1792 New function, extracted from set-auto-mode-1.
1793 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1794 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1795 (hack-local-variables): Doc fix. Make the mode-only case
1796 respect enable-local-variables and friends.
1797 Respect inhibit-local-variables-regexps for file-locals, but
1798 not for directory-locals.
1799 (set-visited-file-name):
1800 Take account of inhibit-local-variables-regexps.
1801 Whether it applies may change as the file name is changed.
1802 * jka-cmpr-hook.el (jka-compr-install):
1803 * jka-compr.el (jka-compr-uninstall):
1804 Update for inhibit-first-line-modes-suffixes name change.
1805
dd6e3cdd
MR
18062012-01-20 Martin Rudalics <rudalics@gmx.at>
1807
1808 * help-macro.el (make-help-screen): Temporarily restore original
1809 binding for minor-mode-map-alist (Bug#10454).
1810
0d0deb38
JD
18112012-01-19 Julien Danjou <julien@danjou.info>
1812
1813 * color.el (color-name-to-rgb): Use the white color to find the max
1814 color component value and return correctly computed values.
1815 (color-name-to-rgb): Add missing float conversion for max value.
1816
34a02f46
MR
18172012-01-19 Martin Rudalics <rudalics@gmx.at>
1818
1819 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1820 special state value for window-persistent-parameters.
1821 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1822 (window--state-put-2): Reset all window parameters to nil before
1823 assigning values of persistent parameters.
1824
606c44c4
AM
18252012-01-18 Alan Mackenzie <acm@muc.de>
1826
1827 Eliminate sluggishness and hangs in fontification of "semicolon
1828 deserts".
1829
cb882333
JB
1830 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1831 Change value 10000 -> 3000.
606c44c4
AM
1832 (c-state-safe-place): Reformulate so it doesn't stack up an
1833 infinite number of wrong entries in c-state-nonlit-pos-cache.
1834 (c-determine-limit-get-base, c-determine-limit): New functions to
1835 determine backward search limits disregarding literals.
1836 (c-find-decl-spots): Amend commenting.
1837 (c-cheap-inside-bracelist-p): New function which detects "={".
1838
1839 * progmodes/cc-fonts.el
1840 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1841 backward search.
1842 (c-font-lock-declarations): Fix an occurrence of point being
1843 undefined. Check additionally for point being in a bracelist or
1844 near a macro invocation without a semicolon so as to avoid a
1845 fruitless time consuming search for a declarator. Give a more
1846 precise search limit for declarators using the new
1847 c-determine-limit.
1848
f3860cea
GM
18492012-01-18 Glenn Morris <rgm@gnu.org>
1850
1851 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1852 (set-auto-mode): Doc fixes.
1853
1db03b16
GM
18542012-01-17 Glenn Morris <rgm@gnu.org>
1855
0e6038be
GM
1856 * isearch.el (search-nonincremental-instead): Fix doc typo.
1857
1db03b16
GM
1858 * dired.el (dired-insert-directory): Handle newlines in directory name.
1859 (dired-build-subdir-alist): Unescape newlines in directory name.
1860
4cb0aa75
MA
18612012-01-17 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1864 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1865 (tramp-action-terminal): Use it. (Bug#10530)
1866
1d00653d
SM
18672012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1870
6a6ee00d
MR
18712012-01-16 Martin Rudalics <rudalics@gmx.at>
1872
1873 * window.el (window-state-ignored-parameters): Remove variable.
1874 (window--state-get-1): Rename argument MARKERS to IGNORE.
1875 Handle persistent window parameters. Make copy of clone-of
1876 parameter only if requested. (Bug#10348)
1877 (window--state-put-2): Install a window parameter only if it has
1878 a non-nil value or an existing parameter shall be overwritten.
1879
97912def
MA
18802012-01-15 Michael Albinus <michael.albinus@gmx.de>
1881
1882 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1883
688070a5
EZ
18842012-01-14 Eli Zaretskii <eliz@gnu.org>
1885
1886 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1887 don't pass the (nil) value of `upnode' to string-match.
1888
301afadc
CY
18892012-01-14 Chong Yidong <cyd@gnu.org>
1890
1891 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1892 Fix values recognized by the cursorBlink resource.
301afadc 1893
9e5788aa
PE
18942012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1895
1896 * epg.el (epg--make-temp-file): Avoid permission race condition
1897 when running on old Emacs versions (bug#10403).
1898
3cdb7f5a
GM
18992012-01-14 Glenn Morris <rgm@gnu.org>
1900
1901 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1902
8c82b1b4
AM
19032012-01-13 Alan Mackenzie <acm@muc.de>
1904
1905 Fix filling for when filladapt mode is enabled.
1906
1907 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1908 c-mask-paragraph, pass in `fill-paragraph' rather than
1909 `fill-region-as-paragraph'. (This is a reversion of a previous
1910 change.)
eb864a71
LM
1911 * progmodes/cc-mode.el (c-basic-common-init):
1912 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1913
e517eda4
GM
19142012-01-13 Glenn Morris <rgm@gnu.org>
1915
1498536e
GM
1916 * dired.el (dired-switches-escape-p): New function.
1917 (dired-insert-directory): Use dired-switches-escape-p.
1918 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1919
e517eda4
GM
1920 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1921
328f984d
GM
19222012-01-12 Glenn Morris <rgm@gnu.org>
1923
1924 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1925 changes in adaptive-fill-regexp. (Bug#10276)
1926
2cc769a8
AM
19272012-01-11 Alan Mackenzie <acm@muc.de>
1928
1929 Fix Emacs bug #10463 - put `widen's around the critical spots.
1930
1d00653d 1931 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1932 widen around each invocation of c-state-pp-to-literal. Remove an
1933 unused let variable.
1934
e52c37fa
GM
19352012-01-11 Glenn Morris <rgm@gnu.org>
1936
1937 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1938 Doc fix.
e52c37fa 1939
96f8741e
CY
19402012-01-10 Chong Yidong <cyd@gnu.org>
1941
1d00653d
SM
1942 * net/network-stream.el (network-stream-open-starttls):
1943 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1944 response to the capability command.
1945
b09a806e
GM
19462012-01-10 Glenn Morris <rgm@gnu.org>
1947
1948 * mail/unrmail.el (unrmail): Tweak previous change.
1949
7655cb66
CY
19502012-01-09 Chong Yidong <cyd@gnu.org>
1951
1952 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1953
9d5a8f0b
AM
19542012-01-08 Alan Mackenzie <acm@muc.de>
1955
1956 Optimise font locking in long enum definitions.
1957
1958 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1959 arm to a cond form to handle enums.
1960 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1961 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1962
9a0115ab 19632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1964
1965 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1966 (Bug#10401)
6bb72cbd 1967
f186bb95
LMI
19682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1969
29232a68
LMI
1970 * faces.el (set-face-attribute): Clarify the meaning of the nil
1971 frame (bug#10294).
1972
4e5d086d
LMI
1973 * subr.el (with-selected-frame): Mention that the selected frame
1974 is restored (bug#9980).
1975
8e66aebe
LMI
1976 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1977 (bug#9759).
1978
cd394be1 1979 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1980 (password-read): Don't autoload unused function.
1981
adf4e762
JB
19822012-01-07 Juanma Barranquero <lekktu@gmail.com>
1983
1984 * progmodes/which-func.el (which-func-mode): Turn into a
1985 non-interactive function and mark as obsolete (bug#10428).
1986
89bd9ccd
CY
19872012-01-06 Chong Yidong <cyd@gnu.org>
1988
1989 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1990 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1991 functions, along with 1 and -1.
1992
4afee9d5
EZ
19932012-01-06 Eli Zaretskii <eliz@gnu.org>
1994
1995 * time.el (display-time-load-average)
1996 (display-time-default-load-average): Doc fixes. See the thread
1997 starting at
1998 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1999 for the details.
2000
536aea70
GM
20012012-01-06 Glenn Morris <rgm@gnu.org>
2002
665ae865
GM
2003 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2004 has no messages. (Bug#10377)
2005
c869783d
GM
2006 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2007 than Info-edit. (Bug#10385)
2008
2bb4227e
GM
2009 * time.el (display-time-load-average, display-time-next-load-average):
2010 Doc fixes.
2011
7d5944b9
GM
2012 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2013 local setting of buffer-read-only to the input buffer. (Bug#10419)
2014
536aea70
GM
2015 * calendar/calendar.el (calendar-mode):
2016 Locally set scroll-margin to 0. (Bug#10379)
2017
7dccca16
UM
20182012-01-06 Ulrich Mueller <ulm@gentoo.org>
2019
2020 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2021
afbb7930
GM
20222012-01-05 Glenn Morris <rgm@gnu.org>
2023
2024 * eshell/em-unix.el (diff-no-select): Autoload it.
2025 (eshell/diff): Use diff-no-select. (Bug#10420)
2026
04482335
CY
20272012-01-05 Chong Yidong <cyd@gnu.org>
2028
7baca3bc
CY
2029 * shell.el (shell-dynamic-complete-functions): Revert last change.
2030 (shell-command-completion-function): New function.
2031 (shell-completion-vars): Use it to implement
2032 shell-completion-execonly (Bug#10417).
2033
04482335
CY
2034 * custom.el (enable-theme): Don't set custom-safe-themes.
2035
1d00653d
SM
2036 * cus-theme.el (custom-theme-merge-theme):
2037 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2038
bb5aa5d6
MM
20392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2040
2041 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2042 first prompt in `sql-interacive-mode'.
2043 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2044 keywords.
6df6ae42 2045 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2046 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2047 context of original buffer. Invoke `sql-login-hook'.
2048
a7183d7c
EZ
20492012-01-04 Eli Zaretskii <eliz@gnu.org>
2050
2051 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2052 letters in cite-prefix.
2053
a1eacd1e
LMI
20542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2055
2056 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2057
787cdb34
CY
20582012-01-03 Chong Yidong <cyd@gnu.org>
2059
1d00653d
SM
2060 * shell.el (shell-dynamic-complete-functions):
2061 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2062 comint-filename-completion first (Bug#10417).
2063
30710442
RS
20642012-01-02 Richard Stallman <rms@gnu.org>
2065
2066 * battery.el (battery-status-function):
2067 Detect when to use battery-yeeloong-sysfs.
2068 (battery-echo-area-format): Add string for Yeeloong.
2069 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2070 (battery-yeeloong-sysfs): New function.
2071
f75bfc33
CY
20722012-01-02 Chong Yidong <cyd@gnu.org>
2073
2074 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2075 (dirtrack): Merge code for handling relative filenames in prompt
2076 from shell-dir-cookie-watcher.
2077 (dirtrack-debug-message): New arg to avoid excess format calls.
2078
2079 * shell.el (shell-dir-cookie-re): Variable deleted.
2080 (shell-dir-cookie-watcher): Function deleted.
2081 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2082 with dirtrack-mode.
2083
651e947e
EZ
20842012-01-01 Eli Zaretskii <eliz@gnu.org>
2085
1d00653d
SM
2086 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2087 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2088 libgnutls-26.dll.
2089
94d4c7dc
AS
20902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2091
2092 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2093
8d43f3cd
EZ
20942011-12-31 Eli Zaretskii <eliz@gnu.org>
2095
2096 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2097 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2098
98c8795a
MA
20992011-12-29 Michael Albinus <michael.albinus@gmx.de>
2100
2101 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2102 also for alternative shells.
2103 (tramp-open-connection-setup-interactive-shell): Check, whether
2104 the shell is a busybox.
2105 (tramp-send-command): Don't suppress multiple prompts for
2106 busyboxes, it hurts.
2107
51281b32
CY
21082011-12-28 Chong Yidong <cyd@gnu.org>
2109
2110 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2111 (gdb-get-source-file): Move mode line update to
2112 gdb-get-source-file (Bug#10087).
2113
2170cb53
CY
21142011-12-25 Chong Yidong <cyd@gnu.org>
2115
2116 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2117 gud-gdb-marker-filter without taking it as an argument.
2118 (gud-gdb-run-command-fetch-lines): Caller changed.
2119 (gud-gdb-completion-function): New variable.
2120 (gud-gdb-completion-at-point): Use it.
2121 (gud-gdb-completions-1): Split from gud-gdb-completions.
2122
2123 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2124 function as separate arguments.
2125 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2126 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2127 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2128 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2129 (gdb-stopped, def-gdb-auto-update-trigger)
2130 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2131 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2132 Callers changed.
2170cb53
CY
2133 (gud-gdbmi-completions): New function.
2134 (gdb): Use it for generating the completion table.
2135
be8b11bb
AM
21362011-12-24 Alan Mackenzie <acm@muc.de>
2137
2138 Introduce a mechanism to widen the region used in context font
1d00653d 2139 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2140
1d00653d
SM
2141 * progmodes/cc-langs.el (c-before-font-lock-functions):
2142 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2143 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2144 functions to be run just before context (etc.) font locking.
2145
2146 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2147 New, functionality extracted from
be8b11bb 2148 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2149 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2150 (c-after-change): Set c-in-after-change-fontification.
2151 (c-set-fl-decl-start): Rejig its interface, so it can be called
2152 from both after-change and context fontifying.
b81d40f0
JB
2153 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2154 New functions.
2155 (c-standard-font-lock-fontify-region-function): New variable.
2156 (c-font-lock-fontify-region): New function.
be8b11bb 2157
341cf6ac
JL
21582011-12-24 Juri Linkov <juri@jurta.org>
2159
2160 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2161 (Bug#10348)
2162
bffcee0a
MA
21632011-12-23 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2166 existence of source file. (Bug#10325)
2167
cb5e207c
AM
21682011-12-23 Alan Mackenzie <acm@muc.de>
2169
2170 Fix unstable fontification inside templates.
2171
b81d40f0
JB
2172 * progmodes/cc-langs.el (c-before-font-lock-functions):
2173 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2174 additionally has c-set-fl-decl-start. The other languages (apart
2175 from AWK) have that as a single entry.
2176
b81d40f0
JB
2177 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2178 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2179 c-set-fl-decl-start.
2180
b81d40f0
JB
2181 * progmodes/cc-mode.el (c-common-init, c-after-change):
2182 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2183 (c-set-fl-decl-start): New function, extracted from
2184 c-font-lock-enclosing-decls and enhanced.
2185
60ff536c
JB
21862011-12-23 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2189
1c4757d6
JL
21902011-12-22 Juri Linkov <juri@jurta.org>
2191
2192 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2193
d031f2c7
CY
21942011-12-22 Chong Yidong <cyd@gnu.org>
2195
2196 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2197
bace743a
DA
21982011-12-21 Drew Adams <drew.adams@oracle.com>
2199
2200 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2201
728a1f2b
JC
22022011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2203
2204 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2205
0d373f73
TZ
22062011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2207
fec0aaa4
TZ
2208 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2209 highlighting and support. Fix up comments for capitalization.
2210 (cfengine-mode-debug): New var.
2211 (cfengine3-mode): Change the modeline indicator to "CFE3".
2212 (cfengine3-font-lock-keywords): Improve defun highlighting.
2213 (cfengine2-actions): Rename from `cfengine-actions'.
2214 (cfengine2-font-lock-keywords): Rename from
2215 `cfengine-font-lock-keywords'.
2216 (cfengine2-imenu-expression): Rename from
2217 `cfengine-imenu-expression'.
2218 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2219 (cfengine2-beginning-of-defun): Rename from
2220 `cfengine-beginning-of-defun'.
2221 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2222 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2223 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2224 modeline indicator to "CFE2".
2225 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2226 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2227
bc86f573
CY
22282011-12-21 Chong Yidong <cyd@gnu.org>
2229
2230 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2231 filename argument.
2232
d45ba96b
MR
22332011-12-20 Martin Rudalics <rudalics@gmx.at>
2234
2235 * window.el (window-normalize-buffer-to-display): Remove.
2236 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2237
a6198c90
CY
22382011-12-19 Chong Yidong <cyd@gnu.org>
2239
2240 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2241 Don't signal an error in a predicate function; return non-nil.
2242 (vc-dir-mark-file): Move the error here.
2243 (vc-dir-mark-unmark): If acting on the region, keep going if one
2244 of the entries cannot be marked/unmarked.
2245 (vc-dir-mark-all-files): If current entry is a directory, mark
2246 only child files, as documented.
2247
34c5fb55
VB
22482011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2249
2250 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2251 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2252 addition.
2253
c803b2b7
JD
22542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2255
2256 * term/ns-win.el (ns-get-selection-internal)
2257 (ns-store-selection-internal): Declare.
1154d12e
JB
2258 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2259 Declare as obsolete.
2260 (ns-get-pasteboard, ns-paste-secondary):
2261 Use ns-get-selection-internal.
2262 (ns-set-pasteboard, ns-copy-including-secondary):
2263 Use ns-store-selection-internal.
c803b2b7 2264
9cff91f8 22652011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2266
2267 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2268 (vc-deduce-fileset): Doc fix.
99a289d9 2269
f16c898a
AS
22702011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2271
2272 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2273
763237c4
SS
22742011-12-13 Sam Steingold <sds@gnu.org>
2275
2276 * man.el (Man-getpage-in-background): When running under a
2277 window-system, ignore $MANWIDTH and $COLUMNS.
2278
5fc1c122
KH
22792011-12-15 Kenichi Handa <handa@m17n.org>
2280
2281 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2282 (setup-ethiopic-environment-internal): Comment out key-binding for
2283 ethio-toggle-punctuation.
2284
13d49cbb
AM
22852011-12-13 Alan Mackenzie <acm@muc.de>
2286
898169a2
AM
2287 Add the switch statement to AWK Mode.
2288
7a71b18d 2289 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2290 "default" to the keywords regexp.
2291
7a71b18d 2292 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2293 expression as the rest.
1d00653d
SM
2294 (c-nonlabel-token-key): Allow string literals for AWK.
2295 Refactor for the other modes.
898169a2 2296
13d49cbb 2297 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2298 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2299 routines. Limit backward searching in c-font-lock-enclosing.decl.
2300
2301 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2302 pp-state and literal type in addition to the limits.
1d00653d 2303 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2304 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2305 (c-slow-in-literal, c-fast-in-literal): Remove.
2306 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2307
2308 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2309 being in a literal. Add a limit for backward searching.
2310
2311 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2312 c-slow-in-literal.
2313
15e0efc7
SM
23142011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2317
454592a6
MR
23182011-12-13 Martin Rudalics <rudalics@gmx.at>
2319
2320 * window.el (delete-other-windows): Use correct frame in call to
2321 window-with-parameter.
2322
87393f26
DP
23232011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2324
2325 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2326 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2327 (makefile-gmake-statements, makefile-makepp-statements):
2328 Use it and add new makepp keywords.
2329 (makefile-makepp-font-lock-keywords): Add new patterns.
2330 (makefile-match-function-end): Match new [...] and [[...]].
2331
11636b22
JB
23322011-12-11 Juanma Barranquero <lekktu@gmail.com>
2333
2334 * ses.el (ses-call-printer-return, ses-cell-property-get)
2335 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2336 (ses-create-cell-variable, ses-reset-header-string)
2337 (ses-cell-set-formula, ses-repair-cell-reference-all)
2338 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2339 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2340 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2341 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2342 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2343 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2344 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2345 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2346 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2347 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2348 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2349 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2350
cf018193
VB
23512011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2352
2353 * ses.el: The overall change is to add cell renaming, that is
2354 setting fancy names for cell symbols other than name matching
2355 "\\`[A-Z]+[0-9]+\\'" regexp .
2356 (ses-create-cell-variable): New defun.
2357 (ses-relocate-formula): Relocate formulas only for cells the
2358 symbols of which are not renamed, i.e. symbols whose names do not
2359 match regexp "\\`[A-Z]+[0-9]+\\'".
2360 (ses-relocate-all): Relocate values only for cells the symbols of
2361 which are not renamed.
2362 (ses-load): Create cells variables as the (ses-cell ...) are read,
2363 in order to check row col consistency with cell symbol name only
2364 for cells that are not renamed.
2365 (ses-replace-name-in-formula): New defun.
2366 (ses-rename-cell): New defun.
2367
ee957461
CY
23682011-12-11 Chong Yidong <cyd@gnu.org>
2369
2370 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2371 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2372
9a9e9ef0
MR
23732011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2374
2375 * window.el (other-window): Fix docstring.
2376
92a8eba5
EZ
23772011-12-10 Eli Zaretskii <eliz@gnu.org>
2378
2379 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2380 `from' or `to' address before taking its substring.
2381 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2382 encoded name is chopped in the middle of the encoded string, and
2383 thus displayed encoded.
2384
e152e577
JB
23852011-12-10 Juanma Barranquero <lekktu@gmail.com>
2386
2387 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2388
e5d84bfe
EZ
23892011-12-10 Eli Zaretskii <eliz@gnu.org>
2390
2391 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2392 to use texinfo-update-node and commands that call it if the
2393 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2394 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2395 (texinfo-all-menus-update, texinfo-master-menu)
2396 (texinfo-update-node, texinfo-every-node-update)
2397 (texinfo-multiple-files-update): Doc fix. Warn against updating
2398 all the @node lines.
2399 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2400 argument is numeric. Explain better in the doc string what the
2401 function really does.
2402 (texinfo-insert-master-menu-list): Improve the error message
2403 displayed if there's no menu in the Top node.
2404 (Bug#2975) See also this thread:
e5d84bfe
EZ
2405 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2406
1d84e9bb
MG
24072011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2408
2409 * speedbar.el (speedbar-supported-extension-expressions):
2410 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2411
382c953b
JB
24122011-12-09 Juanma Barranquero <lekktu@gmail.com>
2413
2414 * printing.el (pr-mode-alist):
2415 * simple.el (filter-buffer-substring-functions)
2416 (completion-list-insert-choice-function):
2417 * window.el (window-with-parameter, window-atom-root)
2418 (window-sides-slots, window-size-fixed, window-min-delta)
2419 (window-max-delta, window--resize-mini-window)
2420 (window--resize-child-windows-normal, window-tree)
2421 (delete-other-windows, quit-window, split-window)
2422 (display-buffer-record-window, special-display-buffer-names)
2423 (special-display-regexps, special-display-popup-frame)
2424 (same-window-p, split-window-sensibly)
2425 (display-buffer-overriding-action, display-buffer-alist)
2426 (display-buffer-base-action, display-buffer, switch-to-buffer)
2427 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2428 (fit-window-to-buffer, recenter-positions)
2429 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2430 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2431 and remove unneeded backslashes in docstrings.
2432
39c9faef
SM
24332011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2434
98449af8
SM
2435 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2436
39c9faef
SM
2437 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2438 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2439 end in ".mk".
2440 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2441 when reading the makefile (bug#10116).
2442
86ed9fdc
SM
24432011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2446 (bug#10116).
2447
5580f89d
GM
24482011-12-06 Glenn Morris <rgm@gnu.org>
2449
2450 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2451
28d3917c
CY
24522011-12-06 Chong Yidong <cyd@gnu.org>
2453
2454 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2455
a98edce9
JB
24562011-12-06 Juanma Barranquero <lekktu@gmail.com>
2457
2458 * textmodes/table.el (table-shorten-cell): Fix typo.
2459
e65adfac
CG
24602011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2461
2462 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2463
71cc0b74
EZ
24642011-12-05 Eli Zaretskii <eliz@gnu.org>
2465
2466 * descr-text.el (describe-char): Fix display of strong
2467 right-to-left characters and directional embeddings and overrides.
2468
2469 * simple.el (what-cursor-position): Fix display of codepoints of
2470 strong right-to-left characters.
2471
315bc30d
CY
24722011-12-05 Chong Yidong <cyd@gnu.org>
2473
2474 * faces.el (read-color): Doc fix.
2475
58a70b94
GM
24762011-12-05 Glenn Morris <rgm@gnu.org>
2477
2478 * align.el (align--set-marker): Add doc-string.
2479 Don't try to move something that is not a marker. (Bug#10216)
2480
5158face
GM
24812011-12-04 Glenn Morris <rgm@gnu.org>
2482
2483 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2484 overly zealous deletion of trailing whitespace.
2485
520fca41
JB
24862011-12-04 Juanma Barranquero <lekktu@gmail.com>
2487
2488 * server.el (server-delete-client): On Windows, do not try to delete
2489 the only terminal.
2490 (server-process-filter): On Windows, treat requests for a tty frame as
2491 if they were for a GUI frame if the running server is in GUI mode.
2492
5e605a2e
GM
24932011-12-03 Glenn Morris <rgm@gnu.org>
2494
2495 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2496
5c3fe83f
SM
24972011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2498
6f5e57e7
SM
2499 * electric.el: Streamline electric-indent's hook.
2500 (electric-indent-chars): Revert to simple list.
2501 (electric-indent-functions): New var.
2502 (electric-indent-post-self-insert-function): Use it.
2503
5c3fe83f
SM
2504 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2505 there's no inferior buffer (bug#10196).
2506 (prolog-consult-compile): Don't use toggle-read-only.
2507
6bdac736
MA
25082011-12-02 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2511 interrupt. (Bug#10187)
2512
6131ba7f
SM
25132011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2514
99c79fee
SM
2515 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2516 (bug#9160).
2517
6131ba7f
SM
2518 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2519 (bug#10191).
2520
cb0a02ea
JL
25212011-12-02 Juri Linkov <juri@jurta.org>
2522
2523 * info.el (Info-search): Display "end of manual" when Isearch
2524 reaches the end of single-file Info manual. (Bug#9918)
2525
66e0570c
EZ
25262011-12-02 Eli Zaretskii <eliz@gnu.org>
2527
2528 * isearch.el (isearch-message-prefix): Run the input method part
2529 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2530
02b16839
JL
25312011-12-02 Juri Linkov <juri@jurta.org>
2532
2533 * isearch.el (isearch-occur): Use `word-search-regexp' for
2534 `isearch-word'.
2535 (isearch-search-and-update): Add condition for `isearch-word' and
2536 call `word-search-regexp'. (Bug#10145)
2537
0b950688
GM
25382011-12-01 Glenn Morris <rgm@gnu.org>
2539
2540 * eshell/em-hist.el (eshell-hist-initialize):
2541 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2542 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2543
9505c3c7
SM
25442011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2547
1bbe96b2 25482011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2549
a1beca85
SM
2550 * progmodes/verilog-mode.el (verilog-pretty-expr):
2551 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2552 verilog, such as += *= and the like.
2553 (verilog-assignment-operator-re): Regular expression to find the
2554 assigment operator in a verilog assignment.
2555 (verilog-assignment-operation-re): Regular expression to find an
2556 assignment statement for pretty-expr.
2557 (verilog-in-attribute-p): Query returns true if point is in an
2558 attribute context; used to skip these for expression line up from
2559 pretty-expr.
2560 (verilog-in-parameter-p): Query returns true if point is in an
2561 parameter definition context; used to skip these for expression
2562 line up from pretty-expr.
2563 (verilog-in-parenthesis-p): Query returns true if point is in a
2564 parenthetical expression, specifically ( ) but not [ ] or { };
2565 used by pretty-expr.
2566 (verilog-just-one-space): If there is no space, don't add one.
2567 (verilog-get-lineup-indent-2): Specifically skip just attribute
2568 contexts for expression lineup, rather than skipping all
2569 parenthetical expressions.
2570 (verilog-calculate-indent): Fix comment, and fix indent.
2571 (verilog-do-indent): Indent declarations in lists (suggested by
2572 Joachim Lechner).
2573 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2574 skeleton items.
2575 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2576 by Alain Mellan).
2577
1bbe96b2 25782011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2579
2580 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2581 parameters with embedded comments. Reported by Ray Stevens.
2582 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2583 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2584 Reported by Tim Holt.
2585 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2586 instantiated by upper module causing wrong expansion until AUTOed a
2587 second time. Reported by K C Buckenmaier.
2588 (verilog-diff-auto): Fix showing .* as a difference when
2589 `verilog-auto-star-save' off. Reported by Dan Dever.
2590 (verilog-auto-reset, verilog-read-always-signals)
2591 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2592 temporary signals in reset list if
2593 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2594 style to each signal's assignment type, bug381.
2595 Reported by Thomas Esposito.
6288f0ca
WS
2596 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2597 (verilog-uvm-statement-re): Support UVM indentation and
2598 highlighting, with old OVM keywords only.
a1beca85 2599 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2600 Support AUTOTIEOFF creating non-wire data types.
2601 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2602 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2603 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2604 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2605 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2606 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2607 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2608 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2609 non-numeric vector width. Reported by Alex Reed.
2610 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2611 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2612 (verilog-auto-delete-trailing-whitespace):
2613 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2614 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2615 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2616 Fix verilog-scan-cache corruption when running user AUTO expansion
2617 hooks that call indentation routines.
2618 (verilog-simplify-range-expression): Fix typo ignoring lower case
2619 identifiers.
2620 (verilog-delete-auto): Fix delete-autos to also remove user created
2621 automatics, as long as they start with AUTO.
2622 (verilog-batch-diff-auto, verilog-diff-auto)
2623 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2624 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2625 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2626 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2627 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2628 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2629 is disabled and its cache will get corrupt, causing AUTOS not to
2630 expand. Instead use only -quick functions.
2631 (verilog-scan-region): Fix scanning over escaped quotes.
2632 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2633 (verilog-re-search-backward-quick)
2634 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2635 related functions now ignore strings, to fix misparsing of strings
2636 with magic comments embedded in them.
a1beca85
SM
2637 (verilog-read-auto-template):
2638 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2639 Reported by Brad Dobbie.
2640 (verilog-read-auto-template):
2641 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2642 Reported by Brad Dobbie.
6288f0ca
WS
2643 (verilog-auto-inst, verilog-auto-inst-param)
2644 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2645 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2646 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2647 debugging templates without merge conflicts, bug357.
2648 Reported by Brad Dobbie.
2649 (verilog-read-auto-template):
2650 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2651 Reported by Brad Dobbie.
2652 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2653 abbrevs so user won't be asked to save.
2654 (verilog-read-auto-lisp-present): Fix to start at beginning of
2655 buffer in case called outside of verilog-auto.
2656 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2657 to "X-2". Reported by Matthew Myers.
2658 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2659 all inputs from module templates. Reported by Leith Johnson.
2660 (verilog-module-inside-filename-p): Fix locating programs as with
2661 modules.
2662 (verilog-auto-inst-port): Fix vl-width expressions when using
2663 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2664 (verilog-decls-get-regs, verilog-decls-get-signals,
2665 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2666 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2667 verilog-read-decls): Combine reg and wire structures into one var
2668 structure to represent SystemVerilog concepts.
2669 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2670 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2671 (verilog-auto-wire-type, verilog-insert-definition):
2672 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2673 SystemVerilog "logic" keyword instead of "wire"/"reg".
2674 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2675 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2676 ifdef or generate if so there's not a driver conflict).
2677 Reported by Matthew Myers.
2678 (verilog-auto-declare-nettype, verilog-insert-definition):
2679 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2680 `default_nettype none. Reported by Julian Gorfajn.
2681 (verilog-read-always-signals-recurse, verilog-read-decls)
2682 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2683 malformed end statement, bug325. Reported by Joshua Wise and
2684 Andrew Drake.
2685 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2686 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2687 when expanding .* in interfaces, bug320.
2688 Reported by Pierre-David Pfister.
6288f0ca 2689 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2690 name and open parenthesis, bug317.
2691 Reported by Pierre-David Pfister.
6288f0ca
WS
2692 (verilog-simplify-range-expression): Fix simplification of
2693 multiplications inside AUTOWIRE connections, bug303.
2694 (verilog-auto-inst-port): Support parameter expansion in
2695 multidimensional arrays.
2696 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2697 after "assert property". Reported by Julian Gorfajn.
2698 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2699 with multiplication, bug303.
2700 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2701 Reported by Jan Frode Lonnum.
2702
1bbe96b2
GM
27032011-11-30 Juanma Barranquero <lekktu@gmail.com>
2704
2705 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2706 (hfy-shell-file-name, hfy-shell):
2707 * international/fontset.el (x-decompose-font-name): Fix typos.
2708
27092011-11-29 Ken Brown <kbrown@cornell.edu>
2710
2711 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2712 (gdb-version): Remove defvar.
2713 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2714 (gdb-gud-context-command, gdb-non-stop-handler)
2715 (gdb-current-context-command, gdb-stopped): Use it.
2716 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2717 (gdb-non-stop-handler): Don't enable pretty-printing here.
2718 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2719 non-stop mode. Use the following.
2720 (gdb-check-target-async): New defun.
2721 (gud-watch, gdb-stopped): Fix whitespace.
2722 (gdb-get-source-file): Don't try to display the source file if
2723 `gdb-main-file' is nil.
2724
27252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * align.el: Try to generate fewer markers (bug#10047).
2728 (align--set-marker): New macro.
2729 (align-region): Use it.
2730
c935221f
SM
27312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2732
2733 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2734
e70b5064
CY
27352011-11-29 Chong Yidong <cyd@gnu.org>
2736
2737 * indent.el (indent-for-tab-command, indent-according-to-mode):
2738 Doc fix.
2739 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2740
f3af92b7
MA
27412011-11-29 Michael Albinus <michael.albinus@gmx.de>
2742
2743 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2744 aware of remote file names. (Bug#10124)
2745
ed472be9
CY
27462011-11-29 Chong Yidong <cyd@gnu.org>
2747
2748 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2749
24510c22
SM
27502011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * files.el (find-file): Don't use force-same-window (bug#10144).
2753 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2754 use pop-to-buffer if the selected window can't be used.
2755 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2756
c60c3703
EZ
27572011-11-28 Eli Zaretskii <eliz@gnu.org>
2758
2759 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2760 special-mode-map.
2761
e95def75
CY
27622011-11-28 Chong Yidong <cyd@gnu.org>
2763
2764 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2765
c3f1c606
NR
27662011-11-27 Nick Roberts <nickrob@snap.net.nz>
2767
2768 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2769 gdb-get-source-file-list on gdb-create-source-file-list.
2770
00db469c
EZ
27712011-11-26 Eli Zaretskii <eliz@gnu.org>
2772
2773 * whitespace.el (whitespace-newline): Use a different foreground
2774 color for 16-color light-background displays.
2775
4ad3bc2a
CY
27762011-11-24 Chong Yidong <cyd@gnu.org>
2777
2778 * window.el (display-buffer--special-action): Doc fix.
2779
e9fce1ac
JB
27802011-11-25 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2783 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2784 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2785 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2786 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2787 (avl-tree-stack-first):
2788 * emacs-lisp/cconv.el (cconv--analyse-use):
2789 * net/gnutls.el (gnutls-negotiate): Fix typos.
2790
cb825e5d
GM
27912011-11-24 Glenn Morris <rgm@gnu.org>
2792
3adbe224
GM
2793 * lpr.el (lpr-windows-system, lpr-lp-system):
2794 * mail/binhex.el (binhex-begin-line):
2795 * progmodes/grep.el (grep-history, grep-find-history):
2796 * textmodes/flyspell.el:
2797 * vc/pcvs-defs.el (cvs-global-menu):
2798 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2799 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2800 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2801
321decc8
GM
2802 * net/tls.el: Fix case of "GnuTLS".
2803
420b63ad
GM
2804 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2805
cb825e5d
GM
2806 * version.el (emacs-build-system): Give it a doc-string.
2807
a0649f08
JL
28082011-11-24 Juri Linkov <juri@jurta.org>
2809
2810 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2811
c0bc0fd4
GM
28122011-11-24 Glenn Morris <rgm@gnu.org>
2813
2814 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2815 if called on a non-mime message just toggle the headers. (Bug#8006)
2816
20db1522
JB
28172011-11-24 Juanma Barranquero <lekktu@gmail.com>
2818
2819 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2820 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2821 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2822 (allout-rebullet-heading, allout-open-sibtopic)
2823 (allout-toggle-current-subtree-encryption)
2824 (allout-toggle-subtree-encryption, allout-encrypt-string)
2825 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2826 (allout-distinctive-bullets-string, allout-auto-activation):
2827 * window.el (window-normalize-buffer-to-display):
2828 * progmodes/verilog-mode.el (verilog-batch-indent):
2829 * textmodes/bibtex.el (bibtex-field-braces-opt)
2830 (bibtex-field-strings-opt):
2831 * vc/cvs-status.el (cvs-tree-merge):
2832 Fix typos.
2833
7262a87c
MA
28342011-11-23 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2837 `non-essential' to t, in order to avoid remote connections.
2838
283430a1
EZ
28392011-11-23 Eli Zaretskii <eliz@gnu.org>
2840
a1beca85
SM
2841 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2842 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2843 case-insensitively.
2844
d2992a38
ML
28452011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2846
2847 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2848
50419064
GM
28492011-11-23 Glenn Morris <rgm@gnu.org>
2850
da94eca1
GM
2851 * paths.el (rmail-file-name): Reformat the doc-string so that it
2852 is picked up.
2853
9aac4de2
GM
2854 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2855 (rmail-auto-file): Ignore case in the "special" field names,
2856 as mail-fetch-field does for all others.
2857
8038d2d2
GM
2858 * mail/rmail.el (rmail-forward):
2859 * mail/rmailkwd.el (rmail-set-label):
2860 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2861 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2862
f3fe222a
GM
2863 * mail/rmail.el (rmail-current-message): Doc fix.
2864
50419064
GM
2865 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2866
28109f49
SM
28672011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2870
394c65f1
GM
28712011-11-22 Glenn Morris <rgm@gnu.org>
2872
2873 * mail/rmailmm.el (test-rmail-mime-handler)
2874 (test-rmail-mime-bulk-handler)
2875 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2876
f2a0aa3a
JL
28772011-11-21 Juri Linkov <juri@jurta.org>
2878
1154d12e
JB
2879 * calc/calc.el (calc-read-key-sequence):
2880 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2881
9c34a344
LMI
28822011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2883
2884 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2885 Tell the caller that the next line needs recomputation, even
2886 though it doesn't start a sexp (bug#10094).
2887
f04a3be9
SM
28882011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2891
7978747f
SM
28922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2893
f04a3be9
SM
2894 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2895 Use force-same-window.
7978747f 2896
fe7a3057
JB
28972011-11-20 Juanma Barranquero <lekktu@gmail.com>
2898
2899 * descr-text.el (describe-char-unicode-data):
2900 * json.el (json-string-escape):
2901 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2902 (Footnote-unicode, Footnote-style-p):
2903 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2904
24901d61
CY
29052011-11-20 Chong Yidong <cyd@gnu.org>
2906
2907 * window.el (replace-buffer-in-windows): Restore interactive spec.
2908
bac7ff22
SM
29092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2910
24f3d7b9
SM
2911 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2912
bac7ff22
SM
2913 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2914 (byte-compile-global-not-obsolete-vars): New var.
2915 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2916 Use it.
2917 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2918
cd1181db
JB
29192011-11-20 Juanma Barranquero <lekktu@gmail.com>
2920
2921 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2922 * progmodes/pascal.el (electric-pascal-equal):
2923 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2924 * xml.el (xml-substitute-special): Fix typos.
2925
7fb18e9e
GM
29262011-11-20 Glenn Morris <rgm@gnu.org>
2927
2928 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2929 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2930 Doc fixes.
2931 (rmail-decode-mime-charset): Mark as obsolete.
2932
2933 * mail/rmailsum.el (rmail-message-regexp-p-1):
2934 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2935 Before using mime functions, check they are set. (Bug#10077)
2936
d5a6b3ba
JL
29372011-11-19 Juri Linkov <juri@jurta.org>
2938
2939 * info.el (Info-finder-find-node): Use `package--builtins' instead
2940 of `package-alist'. Use node names formed by the pattern "Keyword "
2941 and the keyword name.
2942
e981b61f
AS
29432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2944
1d00653d 2945 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2946
3ffbc301
JL
29472011-11-19 Juri Linkov <juri@jurta.org>
2948
2949 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2950 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2951 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2952 `old-history', `old-history-forward'. Add let-binding
2953 `window-selected'. Remove calls to `kill-buffer',
2954 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2955 before calling `Info-find-node', so `Info-find-node-2' will reread
2956 the Info file. Restore window positions only when `window-selected'
2957 is non-nil.
2958
30c62133
JL
29592011-11-19 Juri Linkov <juri@jurta.org>
2960
2961 * isearch.el (isearch-lazy-highlight-new-loop):
2962 Remove condition `(not isearch-error)'. (Bug#9918)
2963
2964 * misearch.el (multi-isearch-search-fun): Add condition
2965 `(not bound)' to ignore lazy-highlighting search.
2966 Add the search-failed message "end of multi" when the end of
2967 multi-sequence is reached. Uncapitalize the search-failed
2968 message "Repeat for next buffer".
2969
2970 * info.el (Info-search): Add the search-failed message
2971 "end of the manual" when the end of the manual is reached
2972 in Isearch mode.
2973
645ca9cf
JL
29742011-11-19 Juri Linkov <juri@jurta.org>
2975
2976 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2977 Use non-destructive `remove' instead of `delete' because
2978 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2979 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2980
df754f66
JL
29812011-11-19 Juri Linkov <juri@jurta.org>
2982
2983 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2984 to nil instead of binding `search-ring' and `regexp-search-ring'.
2985 (Bug#9185)
2986
0e23d96a
EZ
29872011-11-19 Eli Zaretskii <eliz@gnu.org>
2988
2989 * simple.el (line-move): Force movement by logical lines for any
2990 hscrolled window, not only when auto-hscroll-mode is on.
2991 (line-move-visual): Update doc string to that effect. (Bug#10076)
2992
8a6ccb66
AS
29932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2994
2995 * language/european.el (macintosh): Define as alias for mac-roman.
2996
49ae5b39
EZ
29972011-11-19 Eli Zaretskii <eliz@gnu.org>
2998
2999 * mail/rmailmm.el (rmail-mime-display-header)
3000 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3001 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3002 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3003 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3004 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3005 of a raw aref.
3006 (rmail-mime-entity-segment): To get past the tagline, move forward
3007 2 more lines, to account for the 2 empty lines that precede and
3008 follow the line with the buttons.
3009 (rmail-mime-update-tagline): Move one more line, to get past the
3010 empty line that follows the buttons in the tagline. (Bug#9520)
3011
c56cad4a
MR
30122011-11-19 Martin Rudalics <rudalics@gmx.at>
3013
3014 * window.el (window-max-delta-1, window-min-delta-1)
3015 (window-min-size-1, window-state-get-1, window-state-put-1)
3016 (window-state-put-2): Use "window--" prefix.
3017
cbe71af3
SM
30182011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3019
2ad52c60
SM
3020 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3021 (smie-warning-count): New var.
3022 (smie-set-prec2tab): Use it.
3023 (smie-bnf->prec2): Improve warnings. Add docstring.
3024 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3025 (smie-bnf--set-class): New function.
3026 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3027 corner case.
3028
6944dbc1
SM
3029 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3030 (compilation-error-properties, compilation-move-to-column):
3031 Handle compilation-first-column while in the target buffer.
3032
c400c4d7
SM
3033 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3034 Don't hardcode point-min==1.
3035
6dbe3e96
SM
3036 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3037 (eshell-rewrite-for-command): Remove workaround.
3038 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3039 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3040 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3041
cbe71af3
SM
3042 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3043
a8e1496d
GM
30442011-11-17 Glenn Morris <rgm@gnu.org>
3045
3046 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3047 Ignore buffer-local generated-autoload-file if it is the same
3048 as the global value. (Bug#10049)
3049
df85d315
JB
30502011-11-17 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3053 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3054 (reftex-toc-previous-heading, reftex-toc-max-level)
3055 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3056 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3057 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3058 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3059 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3060 (reftex-toc-rename-label, reftex-toc-visit-location)
3061 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3062 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3063 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3064 leaving "*toc*" only for references to the buffer.
3065
a0c2d0ae
MR
30662011-11-17 Martin Rudalics <rudalics@gmx.at>
3067
3068 * window.el (window-resize, delete-window, split-window):
3069 Replace window-splits by window-combination-resize.
1d00653d 3070 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3071
35c0bac8
GM
30722011-11-17 Glenn Morris <rgm@gnu.org>
3073
3074 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3075 Make bash entry derive from sh entry, not shell entry.
3076
d0c8fc8a
MA
30772011-11-16 Michael Albinus <michael.albinus@gmx.de>
3078
d0c8fc8a
MA
3079 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3080 properties of linked files. (Bug#9879)
3081
7262a87c
MA
3082 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3083 local file name.
3084
7877f373
JB
30852011-11-16 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * menu-bar.el (menu-bar-file-menu):
3088 * printing.el (pr-ps-utility):
3089 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3090 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3091 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3092 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3093 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3094 (icalendar--convert-cyclic-to-ical)
3095 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3096 (icalendar--convert-ical-to-diary)
3097 (icalendar--convert-recurring-to-diary)
3098 (icalendar--convert-non-recurring-all-day-to-diary)
3099 (icalendar-import-format-sample):
3100 * progmodes/idlw-shell.el (idlwave-shell-mode):
3101 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3102 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3103 (vhdl-ps-print-init): Fix typos.
3104
10649b82
KM
31052011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3106
9d0cfcd6
GM
3107 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3108 FSF and collapse date sequence, obscure author/maintainer email address
3109 better, remove extra version line, track relocation of author's webpage.
10649b82 3110
9d0cfcd6
GM
3111 * progmodes/python.el (python-pdbtrack-input-prompt)
3112 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3113 regular python pdb prompts. Adjustments shamelessly taken exactly as
3114 suggested in EmacsWiki page (tiny change):
3115 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3116
58179cce
JB
31172011-11-16 Juanma Barranquero <lekktu@gmail.com>
3118
3119 * expand.el (expand-pos, expand-index, expand-point):
3120 Remove redundant info from docstring.
3121 (expand-add-abbrevs): Doc fix.
3122 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3123 (expand-sample-perl-mode-expand-list): Fix typos.
3124
3125 * net/dbus.el (dbus-event-member-name):
3126 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3127 * term/pc-win.el (msdos-create-frame-with-faces):
3128 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3129
b6f67890
MR
31302011-11-16 Martin Rudalics <rudalics@gmx.at>
3131
3132 * window.el (split-window, window-state-get-1)
3133 (window-state-put-1, window-state-put-2): Rename occurrences of
3134 window-nest to window-combination-limit.
1d00653d 3135 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3136
ce7ddba0
CY
31372011-11-16 Chong Yidong <cyd@gnu.org>
3138
3139 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3140 regexp (Bug#10033).
3141
3ae704f4
SM
31422011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3145 `completing-read' will remove *Completions* and will preserve
3146 current-buffer for us.
3147 (tmm-add-prompt): Users of *Completions* will always (re)set its
3148 major mode.
3149 (tmm-old-comp-map): Remove.
3150
6ad1cdde
GM
31512011-11-16 Glenn Morris <rgm@gnu.org>
3152
3153 * mail/rmailedit.el: Require rmailmm when compiling.
3154 (rmail-old-mime-state): New declaration.
3155 (rmail-edit-current-message): If editing a mime message,
3156 edit the "raw" message from the mbox buffer.
3157 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3158
d20faa20
GM
31592011-11-15 Glenn Morris <rgm@gnu.org>
3160
3161 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3162 which wasn't being used. Add optional arg to force given state.
3163 (rmail-mime): Add optional arg to force given state.
3164
c7015153
JB
31652011-11-15 Juanma Barranquero <lekktu@gmail.com>
3166
3167 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3168 * frame.el (display-mm-dimensions-alist):
3169 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3170 (outline-move-subtree-down):
3171 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3172 (newsticker--treeview-do-get-node):
3173 * net/quickurl.el (quickurl-list-buffer-name):
3174 * progmodes/dcl-mode.el (dcl-mode):
3175 * progmodes/gdb-mi.el (gdb-mapcar*):
3176 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3177
45261b50
GM
31782011-11-15 Glenn Morris <rgm@gnu.org>
3179
3180 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3181 in a boolean sense, so just make it a boolean, and fix the doc.
3182 (rmail-show-mime-function, rmail-mime-feature)
3183 (rmail-require-mime-maybe): Doc fixes.
3184 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3185
3186 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3187
0d26e0b6
JB
31882011-11-15 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3191 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3192 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3193 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3194
447f30f6
GM
31952011-11-15 Glenn Morris <rgm@gnu.org>
3196
672b871d
GM
3197 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3198 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3199 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3200 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3201 (rmail-mime, rmail-show-mime): Doc fixes.
3202
f6aa5bb1
GM
3203 * term/ns-win.el (mode-line-frame-identification):
3204 Leave it alone. (Bug#10051)
3205
947cd66b
GM
3206 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3207
447f30f6
GM
3208 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3209 Handle empty buffers. (Bug#9978)
3210
0b381c7e
JB
32112011-11-14 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * international/mule.el (define-charset):
3214 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3215 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3216 * progmodes/verilog-mode.el (verilog-backward-token):
3217 * textmodes/ispell.el (lookup-words):
3218 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3219
71e027ac
GM
32202011-11-14 Glenn Morris <rgm@gnu.org>
3221
56632ce4
GM
3222 * progmodes/executable.el
3223 (executable-make-buffer-file-executable-if-script-p):
3224 Handle file-modes returning nil.
3225
40500957
GM
3226 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3227 message - not necessary, and causes problems. (Bug#9831)
3228
071c2340
GM
3229 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3230
d3cfca60
GM
3231 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3232
71e027ac
GM
3233 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3234 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3235 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3236
89d61221
MR
32372011-11-12 Martin Rudalics <rudalics@gmx.at>
3238
3239 * window.el (window-resize, delete-window): Use window-splits
3240 variable instead of function.
3241 (window-state-get-1, window-state-put-2, window-state-put):
3242 Don't deal with windows' splits status.
3243
98282f6f
GM
32442011-11-12 Glenn Morris <rgm@gnu.org>
3245
3246 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3247 (apropos-documentation): Doc fixes.
3248
40a8bdf6
JB
32492011-11-11 Juanma Barranquero <lekktu@gmail.com>
3250
3251 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3252 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3253
65bd19ff
SM
32542011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * electric.el (electric-indent-post-self-insert-function): Make it
3257 possible for a char to only indent in some circumstances.
3258 (electric-indent-mode): Simplify.
3259
54f9154c
MR
32602011-11-11 Martin Rudalics <rudalics@gmx.at>
3261
3262 * window.el (windows-with-parameter): Remove unused function.
3263 (windows-at-side): Rename to window-at-side-list.
3264 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3265 (window-side-check, window-size-ignore, window-size-fixed-1)
3266 (window-in-direction-2): Prefix with "window--".
3267 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3268
68cbc58b
GM
32692011-11-11 Glenn Morris <rgm@gnu.org>
3270
3271 * subr.el (eval-after-load): If FILE is already loaded,
3272 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3273
b2621720
GM
32742011-11-10 Glenn Morris <rgm@gnu.org>
3275
9a4de110
GM
3276 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3277 Call svn via vc-svn-command rather than vc-do-command.
3278 (vc-svn-command): Add --non-interactive. (Bug#9993)
3279 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3280
b2621720
GM
3281 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3282 Add toggle-read-only. (Bug#7292)
3283 * files.el (toggle-read-only): Mention that it should only
3284 be used interactively. (Bug#10006)
3285
1dce7193
SM
32862011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3287
d9ac1a1e
SM
3288 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3289 Adjust regexp for OCaml warnings.
3290
0c325082
SM
3291 * electric.el (electric-pair-post-self-insert-function): Let user
3292 turn it off buffer-locally (bug#9932).
3293
90132c14
SM
3294 * progmodes/python.el (python-beginning-of-statement):
3295 Rewrite (bug#2703).
3296
1dce7193
SM
3297 * progmodes/compile.el: Better handle TABs (bug#9749).
3298 (compilation-internal-error-properties)
3299 (compilation-next-error-function): Obey the target buffer's
3300 compilation-error-screen-columns.
3301
c4e7c63a
JB
33022011-11-09 Juanma Barranquero <lekktu@gmail.com>
3303
3304 * progmodes/meta-mode.el: Remove obsolete comments.
3305 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3306 Fix typos in docstrings.
3307
2cffd681
MR
33082011-11-09 Martin Rudalics <rudalics@gmx.at>
3309
3310 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3311 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3312 (window--resizable): New function. Make all callers of
3313 window-resizable call window--resizable instead.
3314 (window-resizable): Rewrite in terms of window--resizable.
3315
0edcba87
GM
33162011-11-08 Glenn Morris <rgm@gnu.org>
3317
3318 * progmodes/delphi.el (delphi-mode-syntax-table):
3319 Let define-derived-mode define a proper syntax table. (Bug#9994)
3320
4b0d61e3
SM
33212011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * window.el: Stay away from defsubst.
3324 (window-list-no-nils): Remove.
3325 (window-state-get-1, window-state-get): Use backquote instead.
3326
cd394be1 33272011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3328
4b0d61e3 3329 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3330 Fix incorrect use of default argument in `completing-read'.
3331
e1c2c6f2
MR
33322011-11-08 Martin Rudalics <rudalics@gmx.at>
3333
3334 * window.el (display-buffer-function, special-display-function):
3335 Mention display-buffer-record-window but do not mention
3336 help-setup parameter in doc-strings.
b3f4a882 3337 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3338
105216ed
CY
33392011-11-08 Chong Yidong <cyd@gnu.org>
3340
3341 * window.el (window-total-height, window-total-width): Doc fix.
3342 (window-body-size): Move from C.
3343 (window-body-height, window-body-width): Move to C.
3344
0a9f9ab5
SM
33452011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * window.el: Make special-display like display-buffer-alist (bug#9532).
3348 (display-buffer--special-action): New function, morphed
3349 from display-buffer--special.
3350 (display-buffer): Use it to handle special-display-buffers at higher
3351 priority (just after display-buffer-alist).
3352 (display-buffer-fallback-action, display-buffer--other-frame-action)
3353 (pop-to-buffer-same-window): Remove display-buffer--special.
3354
a769dd15
GM
33552011-11-07 Glenn Morris <rgm@gnu.org>
3356
3357 * calendar/cal-menu.el (cal-menu-set-date-title):
3358 Do nothing if not in a calendar. (Bug#9976)
3359
05a61ee3
SM
33602011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3361
3362 * files.el (find-file): Always use selected-window.
3363
be7f5545
MR
33642011-11-07 Martin Rudalics <rudalics@gmx.at>
3365
3366 * window.el (window-combinations): Make WINDOW argument
3367 mandatory. Rewrite doc-string.
3368 (walk-window-subtree, window-atom-check, window-min-delta)
3369 (window-max-delta, window--resize-this-window)
3370 (window--resize-root-window-vertically, window-tree)
3371 (balance-windows, window-state-put): Rewrite doc-strings as to
3372 not mention the term "subwindow".
3373 (window--resize-subwindows-skip-p): Rename to
3374 window--resize-child-windows-skip-p.
3375 (window--resize-subwindows-normal): Rename to
3376 window--resize-child-windows-normal.
3377 (window--resize-subwindows): Rename to
3378 window--resize-child-windows.
3379 (window-or-subwindow-p): Rename to window--in-subtree-p.
3380
3c6702ef
ML
33812011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3382
3383 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3384 Ensure that mbox format messages end in two newlines (Bug#9974).
3385
49745b39
CY
33862011-11-06 Chong Yidong <cyd@gnu.org>
3387
3388 * window.el (window-combination-p): Function deleted; its
3389 side-effect is not used in any existing code.
3390 (window-combinations, window-combined-p): Call window-*-child
3391 directly.
3392
24300f5f
CY
33932011-11-05 Chong Yidong <cyd@gnu.org>
3394
3395 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3396 (window-size-ignore, window-state-get): Callers changed.
3397 (window-normalize-window): Rename from window-normalize-any-window.
3398 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3399 (window-normalize-live-window): Delete.
447f16b8
CY
3400 (window-combination-p, window-combined-p, window-combinations)
3401 (walk-window-subtree, window-atom-root, window-min-size)
3402 (window-sizable, window-sizable-p, window-size-fixed-p)
3403 (window-min-delta, window-max-delta, window-resizable)
3404 (window-resizable-p, window-full-height-p, window-full-width-p)
3405 (window-current-scroll-bars, window-point-1, set-window-point-1)
3406 (window-at-side-p, window-in-direction, window-resize)
3407 (adjust-window-trailing-edge, maximize-window, minimize-window)
3408 (window-deletable-p, delete-window, delete-other-windows)
3409 (record-window-buffer, unrecord-window-buffer)
3410 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3411 (quit-window, split-window, window-state-put)
3412 (set-window-text-height, fit-window-to-buffer)
3413 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3414
89bd5ee1
EZ
34152011-11-04 Eli Zaretskii <eliz@gnu.org>
3416
53479029
EZ
3417 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3418 rfc2047-decode-string.
3419 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3420 warnings.
3421
89bd5ee1
EZ
3422 * window.el (window-body-height, window-body-width): Mention in
3423 the doc string that the return values are in frame's canonical
3424 units. (Bug#9949)
3425
bd17fdee
AM
34262011-11-03 Alan Mackenzie <acm@muc.de>
3427
3428 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3429 change in cc-engine.el.
3430
acc825c5
SM
34312011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3434
1885e5b8
MR
34352011-11-02 Martin Rudalics <rudalics@gmx.at>
3436
3437 * window.el (quit-window): Call unrecord-window-buffer after
3438 showing another buffer in the window. (Bug#9937)
acc825c5 3439 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3440
ebe06da9
JB
34412011-11-02 Juanma Barranquero <lekktu@gmail.com>
3442
3443 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3444 Accept status with more than 9 shelves. (Bug#9935)
3445 Reported by Colin D Bennett <colin@gibibit.com>.
3446
4ee88440
MR
34472011-11-01 Martin Rudalics <rudalics@gmx.at>
3448
3449 * help.el (with-help-window): Don't reference
3450 temp-buffer-show-specifiers in doc-string.
3451
08e1d82c
AS
34522011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3453
3454 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3455 menu-item.
3456
84bd6e9e
VJL
34572011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3458
3459 * whitespace.el: New version 13.2.2.
3460 (whitespace-newline-mode): Disable properly. Reported by Sarah
3461 <EmacsWiki>.
3462
dba0634a
UJ
34632011-10-30 Ulf Jasper <ulf.jasper@web.de>
3464
3465 * net/newst-treeview.el: Remove "Time-stamp".
3466 (newsticker--group-manage-orphan-feeds): Do not call
3467 newsticker--treeview-tree-update.
db22a3c2
JB
3468 (newsticker-treeview-update, newsticker-treeview):
3469 Call newsticker--treeview-tree-update if necessary.
dba0634a 3470
3d8daefe
MR
34712011-10-30 Martin Rudalics <rudalics@gmx.at>
3472
3473 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3474 (window-iso-combinations): Remove "iso-" infix.
3475 Suggested by Chong Yidong.
3d8daefe
MR
3476 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3477 (window-max-delta-1, window-resize, window--resize-siblings)
3478 (window--resize-this-window, adjust-window-trailing-edge)
3479 (split-window, balance-windows-1)
3480 (shrink-window-if-larger-than-buffer):
3481 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3482 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3483
1bc4c3ae
SM
34842011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3487 in place (bug#9907).
3488 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3489 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3490 (eshell-structure-basic-command, eshell-rewrite-while-command)
3491 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3492 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3493 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3494 (eshell-do-pipelines-synchronously, eshell-eval-command):
3495 Use backquotes and prefer setq to set.
3496 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3497 (eshell-macrop): Use functionp.
c1e2f5fa 3498 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3499
30b65d9c
CY
35002011-10-30 Chong Yidong <cyd@gnu.org>
3501
3502 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3503 instead of set-mark (Bug#9810).
3504
2d197ffb
CY
35052011-10-30 Chong Yidong <cyd@gnu.org>
3506
3507 * window.el (split-window-below, split-window-right): Rename from
3508 split-window-above-each-other and split-window-side-by-side
3509 respectively. All callers changed.
3510 (split-window-sensibly, split-window-sensibly): Use them.
3511 (split-window-keep-point): Doc fix.
3512
3513 * isearch.el: Add isearch-scroll property to split-window-below
3514 and split-window-right.
3515
3516 * follow.el (follow-mode):
3517 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3518 * progmodes/ada-xref.el (ada-gdb-application):
3519 * emulation/vip.el (vip-buffer-in-two-windows):
3520 * image-dired.el (image-dired-dired-with-window-configuration):
3521 * dired-x.el (dired-do-find-marked-files):
3522 * dired.el (dired-pop-to-buffer):
3523 * bs.el (bs--show-with-configuration):
3524 * vc/emerge.el (emerge-setup-windows):
3525 * textmodes/two-column.el (2C-two-columns):
3526 * textmodes/reftex-toc.el (reftex-toc):
3527 * progmodes/gdb-mi.el (gdb-setup-windows):
3528 * progmodes/fortran.el (fortran-window-create):
3529 * net/newst-treeview.el (newsticker--treeview-window-init):
3530 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3531 * emulation/tpu-edt.el (tpu-gold-map):
3532 * emulation/crisp.el (crisp-mode-map):
3533 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3534
38bb2ca8
CY
35352011-10-29 Chong Yidong <cyd@gnu.org>
3536
aa4de341
CY
3537 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3538
e1eb5385
CY
3539 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3540
5d2ece3c
CY
3541 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3542 forged Ispell output (Bug#7904).
3543
38bb2ca8
CY
3544 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3545
d0af9f77
SM
35462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * doc-view.el: Avoid ugly errors about not finding nil.
3549 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3550 (doc-view-dvipdf-program, doc-view-unoconv-program)
3551 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3552 Avoid nil or absolute file name as default value.
3553 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3554
52bedd34
AM
35552011-10-28 Alan Mackenzie <acm@muc.de>
3556
db22a3c2 3557 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3558
7e43cfa5
AM
35592011-10-28 Alan Mackenzie <acm@muc.de>
3560
3561 Amend the handling of c-beginning/end-of-defun in nested declaration
3562 scopes.
3563
52bedd34
AM
3564 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3565 cc-langs.el. Change it to a defcustom.
7e43cfa5 3566
52bedd34
AM
3567 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3568 cc-vars.el.
7e43cfa5 3569
d0af9f77
SM
3570 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3571 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3572
52bedd34 3573 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3574 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3575 (c-widen-to-enclosing-decl-scope): New function.
3576 (c-while-widening-to-decl-block): New macro.
3577 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3578 outward for defun boundaries, and correspondingly change symbol
3579 `respect-enclosure' to `go-outward'.
3580 (c-declaration-limits): Change algorithm to report only the "innermost"
3581 defun's boundaries.
3582
1a2ce9ee
DD
35832011-10-28 Deniz Dogan <deniz@dogan.se>
3584
3585 * net/rcirc.el (rcirc-mode): Use hard newlines.
3586
bc97a826
AM
35872011-10-28 Alan Mackenzie <acm@muc.de>
3588
3589 Amend to indent and fontify macros "which include their own semicolon"
3590 correctly, using the "virtual semicolon" mechanism.
3591
52bedd34 3592 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3593
d0af9f77 3594 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3595 Recode to scan one line at a time rather than having \n and \r
58179cce 3596 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3597 (c-forward-label): Amend for virtual semicolons.
58179cce 3598 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3599
52bedd34
AM
3600 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3601 of the new C macros.
bc97a826 3602
52bedd34 3603 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3604 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3605 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3606 (c-opt-cpp-macro-define): Make into a full language variable.
3607 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3608 AWK Mode (including \n, \r) removed, no longer needed.
3609
d0af9f77
SM
3610 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3611 Invoke c-make-macro-with-semi-re.
bc97a826 3612
52bedd34
AM
3613 * progmodes/cc-vars.el (c-macro-with-semi-re):
3614 (c-macro-names-with-semicolon): New variables.
58179cce 3615 (c-make-macro-with-semi-re): New function.
bc97a826 3616
7a6c0941
SM
36172011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * vc/log-edit.el: Fill empty field rather than adding new one.
3620 (log-edit-add-field): New function.
3621 (log-edit-insert-changelog): Use it.
3622
b0c4cdcf
ML
36232011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3624
3625 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3626
ee1f1da9
SM
36272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3630 (gdb--check-interpreter): New function.
3631 (gdb): Use it.
3632
51bc5f8b
GM
36332011-10-27 Glenn Morris <rgm@gnu.org>
3634
416a2c45
GM
3635 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3636 (least-positive-float, least-negative-float)
3637 (least-positive-normalized-float, least-negative-normalized-float)
3638 (float-epsilon, float-negative-epsilon):
3639 Remove unnecessary declarations.
3640
3641 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3642 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3643 (least-positive-float, least-negative-float)
3644 (least-positive-normalized-float, least-negative-normalized-float)
3645 (float-epsilon, float-negative-epsilon): Add doc-strings,
3646 based on those in cl.texi.
3647
51bc5f8b
GM
3648 * files.el (set-visited-file-name): If the major-mode changed,
3649 reload the local variables. (Bug#9796)
3650
15de15c6
CY
36512011-10-27 Chong Yidong <cyd@gnu.org>
3652
3653 * subr.el (change-major-mode-after-body-hook): New hook.
3654 (run-mode-hooks): Run it.
3655
ee1f1da9
SM
3656 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3657 Use change-major-mode-before-body-hook.
15de15c6
CY
3658
3659 * simple.el (fundamental-mode):
3660 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3661 change introducing fundamental-mode-hook.
3662
5430d399
JB
36632011-10-26 Juanma Barranquero <lekktu@gmail.com>
3664
acc825c5 3665 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3666
ad74a69e
MA
36672011-10-26 Michael Albinus <michael.albinus@gmx.de>
3668
3669 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3670 tramp.el explicitly. (Bug#7583)
ad74a69e 3671
71d4c2a5
SM
36722011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * progmodes/octave-mod.el:
3675 * progmodes/octave-inf.el: Update maintainer.
3676
b1f6fa26
CY
36772011-10-26 Chong Yidong <cyd@gnu.org>
3678
3679 * subr.el (with-wrapper-hook): Rewrite doc.
3680
3f04efd6
MA
36812011-10-25 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3684 filenames "/method:foo:". (Bug#9793)
3f04efd6 3685
410488d3
SM
36862011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3689 (bug#9865).
3690
c1ebb47e
GM
36912011-10-24 Glenn Morris <rgm@gnu.org>
3692
3693 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3694
7f5c46c7
MA
36952011-10-24 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * notifications.el: Add the requirement of a running D-Bus session
3698 bus to the Commentary.
3699
db2440b6
JL
37002011-10-24 Juri Linkov <juri@jurta.org>
3701
3702 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3703 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3704 (Bug#9364)
3705
feecf435
JL
37062011-10-24 Juri Linkov <juri@jurta.org>
3707
3708 * info.el (Info-following-node-name-re): Add newline to the list
3709 of allowed characters for leading space. (Bug#9824)
3710
a3839de2
SM
37112011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3712
acc825c5
SM
3713 * progmodes/octave-inf.el (inferior-octave-mode-map):
3714 Fix C-c C-h binding.
a3839de2
SM
3715 * progmodes/octave-mod.el (octave-help): Remove.
3716
09388e76
MA
37172011-10-23 Michael Albinus <michael.albinus@gmx.de>
3718
3719 Sync with Tramp 2.2.3.
3720
3721 * net/tramp-cache.el (top): Pacify byte-compiler using
3722 `init-file-user' and `site-run-file'.
3723
3724 * net/trampver.el: Update release number.
3725
86c60681
CY
37262011-10-23 Chong Yidong <cyd@gnu.org>
3727
3728 * files.el (toggle-read-only): Remove obsolete comment about
3729 version control.
3730
3731 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3732 for toggle-read-only. Note that this hasn't called vc-next-action
3733 since 2008-05-02, though it wasn't documented at the time.
3734
a3839de2
SM
3735 * vc/ediff-init.el (ediff-toggle-read-only-function):
3736 Use toggle-read-only.
86c60681 3737
cd5495ff
AM
37382011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3739
3740 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3741 of c-parse-state.
3742
00b77525 3743 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3744 correct faulty logical expression.
cd5495ff
AM
3745 (c-parse-state-state, c-record-parse-state-state):
3746 (c-replay-parse-state-state): New defvar/defuns.
3747 (c-debug-parse-state): Use new functions.
3748
42ee24ed
MR
37492011-10-22 Martin Rudalics <rudalics@gmx.at>
3750
3751 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3752 last fix. Use window-in-direction correctly.
42ee24ed 3753
a7dee7e7
CY
37542011-10-21 Chong Yidong <cyd@gnu.org>
3755
3756 * progmodes/idlwave.el (idlwave-mode):
3757 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3758 require-final-newline; that's done in prog-mode.
3759 Suggested by Stefan Monnier.
a7dee7e7 3760
e07b9a6d
MR
37612011-10-21 Martin Rudalics <rudalics@gmx.at>
3762
3763 * mouse.el (mouse-drag-window-above)
3764 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3765 (mouse-drag-mode-line-1, mouse-drag-header-line)
3766 (mouse-drag-vertical-line-rightward-window): Remove.
3767 (mouse-drag-line): New function.
3768 (mouse-drag-mode-line, mouse-drag-header-line)
3769 (mouse-drag-vertical-line): Call mouse-drag-line.
3770 * window.el (window-at-side-p, windows-at-side): New functions.
3771
7e1361d9
UM
37722011-10-21 Ulrich Mueller <ulm@gentoo.org>
3773
3774 * tar-mode.el (tar-grind-file-mode):
3775 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3776
30fcaf3a
CY
37772011-10-21 Chong Yidong <cyd@gnu.org>
3778
3779 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3780 * progmodes/vera-mode.el (vera-mode):
3781 Use mode-require-final-newline.
30fcaf3a 3782
516eddb0
GM
37832011-10-20 Glenn Morris <rgm@gnu.org>
3784
db22a3c2 3785 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3786
10d5f513
CS
37872011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3788
3789 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3790
ac6c8639
CY
37912011-10-20 Chong Yidong <cyd@gnu.org>
3792
3793 * emulation/cua-base.el (cua-mode):
3794 * mail/footnote.el (footnote-mode):
3795 * mail/mailabbrev.el (mail-abbrevs-mode):
3796 * net/xesam.el (xesam-minor-mode):
3797 * progmodes/bug-reference.el (bug-reference-mode):
3798 * progmodes/cap-words.el (capitalized-words-mode):
3799 * progmodes/compile.el (compilation-minor-mode)
3800 (compilation-shell-minor-mode):
3801 * progmodes/gud.el (gud-tooltip-mode):
3802 * progmodes/hideif.el (hide-ifdef-mode):
3803 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3804 * progmodes/subword.el (subword-mode):
3805 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3806 * progmodes/which-func.el (which-function-mode):
3807 * term/tvi970.el (tvi970-set-keypad-mode):
3808 * term/vt100.el (vt100-wide-mode):
3809 * textmodes/flyspell.el (flyspell-mode):
3810 * textmodes/ispell.el (ispell-minor-mode):
3811 * textmodes/nroff-mode.el (nroff-electric-mode):
3812 * textmodes/paragraphs.el (use-hard-newlines):
3813 * textmodes/refill.el (refill-mode):
3814 * textmodes/reftex.el (reftex-mode):
3815 * textmodes/rst.el (rst-minor-mode):
3816 * textmodes/sgml-mode.el (html-autoview-mode)
3817 (sgml-electric-tag-pair-mode):
3818 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3819 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3820 * emulation/crisp.el (crisp-mode):
3821 * emacs-lisp/eldoc.el (eldoc-mode):
3822 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3823 minor mode behavior.
3824
aa42ab43
JL
38252011-10-19 Juri Linkov <juri@jurta.org>
3826
3827 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3828 the list of hard-coded chars with escape-glyph face.
3829
89400f1d
SM
38302011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3833
305c07f6
MA
38342011-10-19 Michael Albinus <michael.albinus@gmx.de>
3835
3836 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3837 running process.
3838
13754b54
GM
38392011-10-19 Glenn Morris <rgm@gnu.org>
3840
3841 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3842 Ignore ignored files. (Bug#9726)
3843
06e21633
CY
38442011-10-19 Chong Yidong <cyd@gnu.org>
3845
3846 Doc fix for minor modes, stating that an omitted argument enables
3847 the mode unconditionally when called from Lisp.
3848
3849 * abbrev.el (abbrev-mode):
3850 * allout.el (allout-mode):
3851 * autoinsert.el (auto-insert-mode):
3852 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3853 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3854 (global-auto-revert-mode):
3855 * battery.el (display-battery-mode):
3856 * composite.el (global-auto-composition-mode)
3857 (auto-composition-mode):
3858 * delsel.el (delete-selection-mode):
3859 * desktop.el (desktop-save-mode):
3860 * dired-x.el (dired-omit-mode):
3861 * dirtrack.el (dirtrack-mode):
3862 * doc-view.el (doc-view-minor-mode):
3863 * double.el (double-mode):
3864 * electric.el (electric-indent-mode, electric-pair-mode):
3865 * emacs-lock.el (emacs-lock-mode):
3866 * epa-hook.el (auto-encryption-mode):
3867 * follow.el (follow-mode):
3868 * font-core.el (font-lock-mode):
3869 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3870 * help.el (temp-buffer-resize-mode):
3871 * hilit-chg.el (highlight-changes-mode)
3872 (highlight-changes-visible-mode):
3873 * hi-lock.el (hi-lock-mode):
3874 * hl-line.el (hl-line-mode, global-hl-line-mode):
3875 * icomplete.el (icomplete-mode):
3876 * ido.el (ido-everywhere):
3877 * image-file.el (auto-image-file-mode):
3878 * image-mode.el (image-minor-mode):
3879 * iswitchb.el (iswitchb-mode):
3880 * jka-cmpr-hook.el (auto-compression-mode):
3881 * linum.el (linum-mode):
3882 * longlines.el (longlines-mode):
3883 * master.el (master-mode):
3884 * mb-depth.el (minibuffer-depth-indicate-mode):
3885 * menu-bar.el (menu-bar-mode):
3886 * minibuf-eldef.el (minibuffer-electric-default-mode):
3887 * mouse-sel.el (mouse-sel-mode):
3888 * msb.el (msb-mode):
3889 * mwheel.el (mouse-wheel-mode):
3890 * outline.el (outline-minor-mode):
3891 * paren.el (show-paren-mode):
3892 * recentf.el (recentf-mode):
3893 * reveal.el (reveal-mode, global-reveal-mode):
3894 * rfn-eshadow.el (file-name-shadow-mode):
3895 * ruler-mode.el (ruler-mode):
3896 * savehist.el (savehist-mode):
3897 * scroll-all.el (scroll-all-mode):
3898 * scroll-bar.el (scroll-bar-mode):
3899 * server.el (server-mode):
3900 * shell.el (shell-dirtrack-mode):
3901 * simple.el (auto-fill-mode, transient-mark-mode)
3902 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3903 (line-number-mode, column-number-mode, size-indication-mode)
3904 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3905 * strokes.el (strokes-mode):
3906 * time.el (display-time-mode):
3907 * t-mouse.el (gpm-mouse-mode):
3908 * tool-bar.el (tool-bar-mode):
3909 * tooltip.el (tooltip-mode):
3910 * type-break.el (type-break-mode-line-message-mode)
3911 (type-break-query-mode):
3912 * view.el (view-mode):
3913 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3914 (global-whitespace-mode, global-whitespace-newline-mode):
3915 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3916
a3839de2
SM
3917 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3918 Fix autogenerated docstring.
06e21633 3919
5214e501
JL
39202011-10-19 Juri Linkov <juri@jurta.org>
3921
3922 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3923 by checking environment variables "DESKTOP_SESSION" and
3924 "XDG_CURRENT_DESKTOP". (Bug#9779)
3925
195f8db9
JL
39262011-10-19 Juri Linkov <juri@jurta.org>
3927
3928 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3929 (browse-url-chromium-program, browse-url-chromium-arguments):
3930 New defcustoms.
3931 (browse-url-default-browser): Check for `browse-url-chromium' and
3932 call `browse-url-chromium-program'.
3933 (browse-url-chromium): New command. (Bug#9779)
3934
343a34ff
JB
39352011-10-18 Juanma Barranquero <lekktu@gmail.com>
3936
3937 * facemenu.el (list-colors-duplicates): On Windows, detect more
3938 duplicates by assuming that only colors matching "^System" are
3939 special "system colors". (Bug#9722)
3940
6978a151
SM
39412011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3944 to distinguish the author from the committer.
3945
6a80b297
MA
39462011-10-18 Michael Albinus <michael.albinus@gmx.de>
3947
3948 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3949
b31a5677
JK
39502011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3951
3952 * international/mule.el (sgml-html-meta-auto-coding-function):
3953 Add support for detecting encoding in HTML5 specified only as
3954 <meta charset="UTF-8">. Implementation just makes http-equiv and
3955 content-type parts from HTML4 encoding string optional. (Bug#9716)
3956
80c6d77f
GM
39572011-10-18 Glenn Morris <rgm@gnu.org>
3958
3959 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3960
08b0fee8
CY
39612011-10-18 Chong Yidong <cyd@gnu.org>
3962
3963 * faces.el (cursor): Doc fix.
3964
67e729a5
CY
39652011-10-17 Chong Yidong <cyd@gnu.org>
3966
3967 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3968
343a34ff 39692011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3970
3971 * dirtrack.el (dirtrack): Support shell buffers with path
3972 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3973
0bc06380
TZ
39742011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3975
3976 * json.el: Bump version to 1.3 and note change in History.
3977 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3978
8b79f3e0
SM
39792011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3980
5a7c536b
SM
3981 * comint.el (comint-insert-input, comint-send-input)
3982 (comint-get-old-input-default, comint-backward-matching-input)
3983 (comint-next-prompt): Use nil instead of `input' for field property of
3984 past user input (bug#114).
3985
96a8a0df
SM
3986 * minibuffer.el (completion--replace): Inherit surrounding properties
3987 (bug#114).
3988 (minibuffer-complete-and-exit): Use it.
3989
8b79f3e0
SM
3990 * comint.el (comint--table-subvert): Quote the all-completions output
3991 (bug#9160).
3992
b8f7ff0d
MR
39932011-10-17 Martin Rudalics <rudalics@gmx.at>
3994
8b79f3e0 3995 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3996
b8f7ff0d 3997 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3998 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3999 entries and separate them from frame entries.
4000
c235b555
GM
40012011-10-15 Glenn Morris <rgm@gnu.org>
4002
4003 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4004 Doc fixes.
4005
6bbfa6e1
CY
40062011-10-15 Chong Yidong <cyd@stupidchicken.com>
4007
8b79f3e0
SM
4008 * net/network-stream.el (network-stream-open-starttls):
4009 Improve detection of failure due to lack of TLS support.
ec5c990d 4010
6bbfa6e1
CY
4011 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4012 putting the input text in front and in bold.
4013
98488977
SM
40142011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4015
3d1337be
SM
4016 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4017
ee0b45e4
SM
4018 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4019 empty buffer.
4020
98488977
SM
4021 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4022 unread-command-events rather than pushing yet-another event.
4023
186f4720
EZ
40242011-10-14 Eli Zaretskii <eliz@gnu.org>
4025
4026 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4027 the explanation of the possible choices. Make the options passed
4028 to completing-read shorter.
4029
8b7a997c
AM
40302011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4031
4032 * textmodes/flyspell.el (flyspell-large-region): Make sure
4033 extended character mode is used if defined (Bug#1339).
4034
12587bbb
EZ
40352011-10-13 Eli Zaretskii <eliz@gnu.org>
4036
4037 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4038 character info for LRE, LRO, RLE, and RLO characters by appending
4039 an invisible PDF.
12587bbb 4040
bad41229
SM
40412011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4044 even in case of error; add debug spec; simplify data flow.
4045 (with-timeout-handler): Remove.
4046
28dbc92f
MA
40472011-10-12 Michael Albinus <michael.albinus@gmx.de>
4048
4049 Fix Bug#6019, Bug#9315.
4050
4051 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4052 complete `buffer-file-name', the local file name part could look
4053 remotely (for example on VMS).
4054
4055 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4056 `tramp-run-real-handler'.
4057 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4058 already quoted by '"'.
4059
4060 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4061 Let `file-name-handler-alist' be nil, the local file name part
4062 could look remotely (for example on VMS).
4063
e1b0b23a
SM
40642011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4067 from here...
4068 (flyspell-post-command-hook): ...to here.
4069
a120bde9
SM
40702011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4073 if not needed.
4074 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4075 using completion. Protect against "slow" callers.
4076 Remove the "message hack".
4077
7ce7717b
JL
40782011-10-11 Juri Linkov <juri@jurta.org>
4079
4080 * isearch.el (isearch-lazy-highlight-word): New variable.
4081 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4082 Use it. (Bug#9727)
4083
c02ee9d6
GM
40842011-10-11 Glenn Morris <rgm@gnu.org>
4085
4086 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4087 like f90-previous-statement does.
4088
93e616fd 40892011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4090
1f190e73 4091 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4092 only in interactive use, to avoid error.
4093
af7b6078
SM
40942011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * minibuffer.el (completion-file-name-table): Fix last change,
4097 i.e. ignore normal errors but not the other ones.
4098
0563dae9
MR
40992011-10-10 Martin Rudalics <rudalics@gmx.at>
4100
4101 * window.el (special-display-buffer-names)
4102 (special-display-regexps): Remove some remnants of earlier
4103 changes from doc-strings.
366ca7f3
MR
4104 (quit-windows-on): New function.
4105
4106 * vc/vc.el (vc-revert, vc-rollback):
4107 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4108 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4109 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4110
49677495
MR
41112011-10-09 Martin Rudalics <rudalics@gmx.at>
4112
4113 * window.el (frame-auto-hide-function): Add version tag.
4114 (Bug#9699)
4115
56f2d1e1
MA
41162011-10-09 Michael Albinus <michael.albinus@gmx.de>
4117
4118 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4119 condition.
4120
112a6592
LL
41212011-10-09 Leo Liu <sdl.web@gmail.com>
4122
4123 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4124 (Bug#9701)
4125
0812589b
GM
41262011-10-08 Glenn Morris <rgm@gnu.org>
4127
4128 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4129 before the first code statement zero indent. (Bug#9690)
4130
b2b0776e
CY
41312011-10-08 Chong Yidong <cyd@stupidchicken.com>
4132
4133 * simple.el (count-words-region): Always count in the region.
4134 Report the number of lines and characters too.
4135 (count-words): New command, which counts in the buffer if the
4136 region is inactive, as count-words-region used to.
4137 (count-words--message): New function. Handle plurals.
4138 (count-lines-region): Make it an alias for count-words-region.
4139
4140 * bindings.el (esc-map): Replace count-lines-region with
4141 count-words-region.
4142
c557cd6b
MR
41432011-10-08 Martin Rudalics <rudalics@gmx.at>
4144
4145 * window.el (window--delete): Delete dedicated frame
4146 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4147 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4148
61a57ef4 41492011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4150
3a7d293b 4151 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4152
c3833279
CY
41532011-10-07 Chong Yidong <cyd@stupidchicken.com>
4154
4155 * bindings.el ([M-left],[M-right]): Bind to left-word and
4156 right-word respectively.
4157
21ce8245
GM
41582011-10-07 Glenn Morris <rgm@gnu.org>
4159
4160 * cus-start.el (debug-on-quit): Fix custom type.
4161
6d823bb2
LMI
41622011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4163
0181e193
LMI
4164 * subr.el (define-key-after): Clarify that the function is not
4165 useful for non-menu keymaps.
4166
6d823bb2
LMI
4167 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4168
8e3459ce 41692011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4170
21ce8245 4171 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4172 in current minibuffer (Fix bug with recursive minibuffers).
4173
a1c2d21e
CY
41742011-10-06 Chong Yidong <cyd@stupidchicken.com>
4175
4176 * progmodes/gdb-mi.el (gdb): Doc fix.
4177
5a4cf282
MR
41782011-10-05 Martin Rudalics <rudalics@gmx.at>
4179
4180 * window.el (frame-auto-hide-function): New option replacing
4181 frame-auto-delete. Suggested by Stefan Monnier.
4182 (window--delete): Call frame-auto-hide-function instead of
4183 investigating frame-auto-delete.
c96111ea
MR
4184 (window-point-1, set-window-point-1): New functions.
4185 (window-in-direction, record-window-buffer, window-state-get-1)
4186 (display-buffer-record-window): Use window-point-1 instead of
4187 window-point.
4188 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4189
9854542e
SM
41902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4193
8943cfb0
GM
41942011-10-05 Glenn Morris <rgm@gnu.org>
4195
4196 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4197 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4198
647ab967
LL
41992011-10-05 Leo Liu <sdl.web@gmail.com>
4200
4201 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4202 works with buffer object.
4203
3ddfbced
SM
42042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * mpc.el (mpc-tool-bar-map): Add labels.
4207
bdfa5dd2
GM
42082011-10-04 Glenn Morris <rgm@gnu.org>
4209
4210 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4211
0e2070b5
MR
42122011-10-04 Martin Rudalics <rudalics@gmx.at>
4213
4214 * window.el (window--delete): New function.
4215 (frame-auto-delete): Resuscitate option.
4216 (bury-buffer, replace-buffer-in-windows)
4217 (quit-window): Rewrite using window--delete.
4218 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4219 Pass display-buffer-mark-dedicated to window--display-buffer-2
4220 (Bug#9639).
4221
3dc61a09
SM
42222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4223
915a9b64
SM
4224 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4225 returns a list (bug#9554). Add remote file name completion.
4226 * comint.el (comint--table-subvert): Curry and get quote&unquote
4227 functions as arguments.
4228 (comint--complete-file-name-data): Adjust call accordingly.
4229 * pcomplete.el (pcomplete--table-subvert): Remove.
4230 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4231
3dc61a09
SM
4232 * minibuffer.el (completion-table-case-fold): Use currying.
4233 (completion--styles-type, completion--cycling-threshold-type):
4234 New constants.
4235 (completion-styles, completion-category-overrides)
4236 (completion-cycle-threshold): Use them.
4237 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4238 completion-table-case-fold.
4239
8ea0a993
SB
42402011-10-03 Stephen Berman <stephen.berman@gmx.net>
4241
4242 * minibuffer.el (completion-category-overrides): Fix type of styles
4243 and add more user friendly tags (bug#9660).
4244
8c24b7f6
SM
42452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4248 (mule-input-method-string): New widget.
4249 (default-input-method, language-info-custom-alist): Use it.
4250
428fe61a
SM
42512011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4252
32c1fffd
SM
4253 * pcomplete.el: Require comint.
4254 (pcomplete--common-suffix): Remove.
4255 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4256 (pcomplete--table-subvert): Sync with comint--table-subvert.
4257 (pcomplete--entries): Use comint-completion-file-name-table.
4258 * comint.el (comint-unquote-filename): Simplify.
4259 (comint-completion-file-name-table): New function (bug#9616).
4260 (comint--complete-file-name-data): Use it.
4261
428fe61a
SM
4262 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4263 (pcmpl-gnu-tar-buffer): Remove.
4264 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4265 around. Make sure pcomplete-suffix-list is only changed temporarily.
4266 Don't look inside the tar's file if it's too large.
428fe61a 4267
04c52e2f
CY
42682011-10-01 Chong Yidong <cyd@stupidchicken.com>
4269
ce3cefcc
CY
4270 * cus-edit.el (custom-mode-map):
4271 * epa.el (epa-key-list-mode-map):
4272 * man.el (Man-mode-map):
4273 * startup.el (splash-screen-keymap):
4274 * simple.el (special-mode-map): Use scroll-up-command and
4275 scroll-down-command.
4276
4277 * progmodes/idlw-help.el (idlwave-help-mode-map):
4278 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4279 * net/newst-plainview.el (newsticker-mode-map):
4280 * emulation/ws-mode.el (wordstar-mode-map):
4281 * emulation/vi.el (vi-com-map):
4282 * calc/calc-graph.el (calc-graph-show-dumb):
4283 * term/sun.el (terminal-init-sun):
4284 * term/ns-win.el (global-map):
4285 * progmodes/grep.el (grep-mode-map):
4286 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4287 * mail/rmail.el (rmail-mode-map):
4288 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4289
04c52e2f
CY
4290 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4291 custom-safe-themes as special.
4292
79adf8c8
JD
42932011-10-01 Julien Danjou <julien@danjou.info>
4294
4295 * notifications.el (notifications-notify): Fix docstring.
4296
63bd50d3
PS
42972011-10-01 Per Starbäck <per@starback.se>
4298
4299 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4300
199e4c7e
MR
43012011-09-30 Martin Rudalics <rudalics@gmx.at>
4302
4303 * startup.el (command-line-1): Fix last fix by inserting
4304 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4305 (Bug#9605) and (Bug#9636)
199e4c7e 4306
fe5f08dd
EZ
43072011-09-29 Eli Zaretskii <eliz@gnu.org>
4308
4309 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4310 window is hscrolled, move by logical lines. (Bug#9607)
4311 (line-move-visual): Update the doc string to the above effect.
4312
b5516bbd
MR
43132011-09-29 Martin Rudalics <rudalics@gmx.at>
4314
ccee00c0
MR
4315 * window.el (display-buffer-record-window): When WINDOW is the
4316 selected window use `point' instead of `window-point'. (Bug#9626)
4317
b5516bbd
MR
4318 * startup.el (command-line-1): Use insert-before-markers when
4319 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4320
b5516bbd
MR
4321 * help.el (help-window): Remove variable.
4322
52aa0014
GM
43232011-09-29 Glenn Morris <rgm@gnu.org>
4324
4325 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4326
df9a7357
JB
43272011-09-29 Juanma Barranquero <lekktu@gmail.com>
4328
4329 * descr-text.el (describe-char-categories): Accept category
4330 descriptions more than one line long.
4331
a8406c20
SM
43322011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4333
88d9610c
SM
4334 * simple.el (delete-trailing-whitespace): Fix last change.
4335
a5daf810
SM
4336 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4337 Don't confuse "y => 3" as the beginning of a `y' operation.
4338
a8406c20
SM
4339 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4340 object has more than 4 slots (bug#9613).
4341
a239d4e9
JB
43422011-09-28 Juanma Barranquero <lekktu@gmail.com>
4343
4344 * subr.el (with-output-to-temp-buffer):
4345 * net/quickurl.el (quickurl, quickurl-browse-url):
4346 Fix typos in docstrings.
4347
693fbdb6
EZ
43482011-09-27 Eli Zaretskii <eliz@gnu.org>
4349
4350 * minibuffer.el (completion-styles)
4351 (completion-category-overrides): Cross reference each other in doc
4352 strings.
4353
8b457e28
GM
43542011-09-27 Glenn Morris <rgm@gnu.org>
4355
4356 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4357 to split-string. (Bug#9606)
4358
85a16208
LMI
43592011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4360
4361 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4362 (bug#9615).
4363
502f9ebd
CY
43642011-09-27 Chong Yidong <cyd@stupidchicken.com>
4365
4366 * emacs-lisp/package.el (list-packages): Fix echo area message.
4367
7690bdea
LL
43682011-09-27 Leo Liu <sdl.web@gmail.com>
4369
4370 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4371
e2ee6f30
MA
43722011-09-25 Michael Albinus <michael.albinus@gmx.de>
4373
4374 * net/dbus.el (dbus-unregister-object): Don't release services for
4375 registered signals. (Bug#9581)
4376
f3f98342
TZ
43772011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4378
4379 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4380 function that picks between cfengine 2 and 3 support
4381 automatically. Update docs accordingly.
4382
dd7aa8dd
KH
43832011-09-22 Kenichi Handa <handa@m17n.org>
4384
4385 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4386 ZERO.
4387 (indian-itrans-v5-table-for-tamil): New variable.
4388 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4389
3f2b07f8
KM
43902011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4391
4392 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4393 that's true if the current command involved collapsing of text.
4394 It's reset to false at the beginning of the next command.
4395 (allout-post-command-business): Move the cursor to the beginning
4396 of entry if the cursor is hidden and collapsing activity just
4397 happened.
4398
371d6a61
CY
43992011-09-24 Chong Yidong <cyd@stupidchicken.com>
4400
4401 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4402 tracking (Bug#9541).
4403
2ac2721a
UJ
44042011-09-24 Ulf Jasper <ulf.jasper@web.de>
4405
4406 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4407 (newsticker-show-news): Automatically load html rendering package
4408 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4409 because w3m-fill-column is let-bound" and the error "Symbol's value
4410 as variable is void: w3m-fill-column".
2ac2721a 4411
fac7ae53
MA
44122011-09-24 Michael Albinus <michael.albinus@gmx.de>
4413
4414 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4415 Release services only if they are defined. (Bug#9581)
4416
e08b633b
RS
44172011-09-23 Richard Stallman <rms@gnu.org>
4418
e488d29c
RS
4419 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4420 distinguish start of paragraph from start of its text.
4421
19c38752
RS
4422 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4423
e08b633b
RS
4424 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4425 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4426 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4427
0a39f27e
AS
44282011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4429
4430 * international/mule-diag.el (mule-diag): Insert a newline after
4431 each fontset description.
4432
db4e950d
SM
44332011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * simple.el (delete-trailing-whitespace):
4436 Document last change; simplify.
4437
eca3f3ea
PW
44382011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4439
d68e189a
PW
4440 * simple.el (delete-trailing-whitespace): Also delete
4441 extra newlines at the end of the buffer.
4442
eca3f3ea
PW
4443 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4444 (picture-newline): Use forward-line so as to ignore fields.
4445
01c157cc
SM
44462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * subr.el (with-wrapper-hook): Fix edebug spec.
4449
022de23e
LMI
44502011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4451
4452 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4453 (bug#4538).
4454
91683089
MA
44552011-09-23 Michael Albinus <michael.albinus@gmx.de>
4456
eca3f3ea
PW
4457 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4458 Fix nasty bug using wrong cached values.
91683089 4459
5bdd6fa4
AM
44602011-09-23 Alan Mackenzie <acm@muc.de>
4461
4462 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4463
97adfb97
CY
44642011-09-23 Chong Yidong <cyd@stupidchicken.com>
4465
4466 * window.el (pop-to-buffer): Ensure right window is selected if we
4467 chose another frame.
4468
d4ef2b50
EZ
44692011-09-22 Eli Zaretskii <eliz@gnu.org>
4470
4471 * simple.el (what-cursor-position): Use get-char-property-change
4472 and next-single-char-property-change, to be able to show display
4473 properties that come from overlays as well as text properties.
4474
72258fe5
CY
44752011-09-22 Chong Yidong <cyd@stupidchicken.com>
4476
4477 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4478
4479 * cmuscheme.el (run-scheme, switch-to-scheme):
4480 * cus-edit.el (customize-group, custom-buffer-create)
4481 (customize-browse):
4482 * info.el (info):
4483 * shell.el (shell):
4484 * mail/sendmail.el (mail):
4485 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4486
8f098516
RS
44872011-09-22 Richard Stallman <rms@gnu.org>
4488
4489 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4490 move back only to line beg, don't move back over blank lines.
4491
e74f1bb6
MA
44922011-09-22 Michael Albinus <michael.albinus@gmx.de>
4493
4494 * files.el (copy-directory): Set directory attributes only in case
4495 they could be retrieved from the source directory. (Bug#9565)
4496
bfeef8b6
DK
44972011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4498
4499 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4500 (hs-find-block-beginning, hs-hide-level-recursive):
4501 Ignore strings as well as comments. (Bug#9502)
4502
7e423bb8
AS
45032011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4504
4505 * progmodes/sql.el (sql-comint-postgres):
4506 Convert port number to a string. (Bug#9566)
4507
b4d72fcf
MR
45082011-09-22 Martin Rudalics <rudalics@gmx.at>
4509
4510 * window.el (quit-window): Undedicate window when switching to
4511 previous buffer. Reported by Thierry Volpiatto
4512 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4513 (special-display-popup-frame): When popping up a new frame reset
4514 its previous buffers to nil. Simplify code.
b4d72fcf 4515
a7b88dc6
MA
45162011-09-21 Michael Albinus <michael.albinus@gmx.de>
4517
4518 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4519 and process filter, as done also in `shell-command'.
4520
cf4eacfd
MR
45212011-09-21 Martin Rudalics <rudalics@gmx.at>
4522
eca3f3ea 4523 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4524 Call set-window-start with NOFORCE argument t.
4525 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4526 (quit-window): Reword doc-string. Handle new format of
4527 quit-restore parameter. Don't delete window if it has a
4528 previous buffer we can show instead of the present one.
4529 (display-buffer-record-window): Rewrite using a new format for
4530 the quit-restore window parameter
4531 (special-display-popup-frame, display-buffer-same-window)
4532 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4533 (display-buffer-pop-up-window, display-buffer-use-some-window):
4534 Adapt symbol passed to display-buffer-record-window.
4535 * help.el (help-window-setup): Handle new format of quit-restore
4536 parameter.
4537
8d28cb95
SM
45382011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4539
94ab793f
SM
4540 * faces.el (face-list): Fix docstring (bug#9564).
4541
8d28cb95
SM
4542 * window.el (display-buffer--action-function-custom-type):
4543 Don't include internal functions in the Custom interface.
4544
3820edeb
JL
45452011-09-20 Juri Linkov <juri@jurta.org>
4546
4547 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4548 (Info-forward-node, Info-backward-node, Info-next-preorder)
4549 (Info-last-preorder): Use it. (Bug#9528)
4550
5147931d
JL
45512011-09-20 Juri Linkov <juri@jurta.org>
4552
4553 * info.el (Info-last-preorder): Visit last menu item only when
4554 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4555
cf499a1a
JD
45562011-09-20 Julien Danjou <julien@danjou.info>
4557
4558 * password-cache.el (password-cache-remove): Remove entries even if the
4559 value is nil, so that password with a nil value (negative caching) is
4560 possible to invalidate.
4561
f84e2fe2
LM
45622011-09-20 Lawrence Mitchell <wence@gmx.li>
4563
4564 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4565 all whitespace around breakpoint. (Bug#9553)
4566 (f90-find-breakpoint): Only break at whitespace inside a comment.
4567
78054a46
SM
45682011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * minibuffer.el (completion-file-name-table): Keep track of errors.
4571 (completion-table-with-predicate): Handle the case where pred1 is nil.
4572 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4573
345083b2
SM
45742011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4575
e24e27be
SM
4576 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4577 (debugger-return-value): Signal an error if the debugging context does
4578 not await any return value.
4579
345083b2
SM
4580 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4581 * image-mode.el (image-toggle-display-text)
4582 (image-toggle-display-image): Stay away from evil `intangible'.
4583
08d355e3
LL
45842011-09-19 Leo Liu <sdl.web@gmail.com>
4585
4586 * replace.el (occur-revert-arguments): Make it permanent-local.
4587 (occur-mode): Don't call font-lock-defontify.
4588
f01da43f
CY
45892011-09-19 Chong Yidong <cyd@stupidchicken.com>
4590
4591 * net/ldap.el (ldap-search-internal): Don't push empty search
4592 result (Bug#9508).
4593
b6072fa6
SM
45942011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4597
443d6696
MA
45982011-09-19 Michael Albinus <michael.albinus@gmx.de>
4599
4600 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4601 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4602
7cc6e154
JL
46032011-09-18 Juri Linkov <juri@jurta.org>
4604
4605 * buff-menu.el (Buffer-menu-mode-map):
4606 * dired.el (dired-mode-map):
4607 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4608 (lisp-interaction-mode-map):
4609 * emacs-lisp/package.el (package-menu-mode-map):
4610 * epa.el (epa-key-list-mode-map):
4611 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4612 (menu-bar-options-menu):
4613 * outline.el (outline-mode-menu-bar-map):
4614 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4615 * vc/vc-dir.el (vc-dir-menu-map):
4616 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4617 Capitalize non-function content words in menu item strings.
4618
4619 * dired.el (dired-mode-map): Add menu item for
4620 `image-dired-dired-toggle-marked-thumbs'.
4621
80302a81
JL
46222011-09-18 Juri Linkov <juri@jurta.org>
4623
4624 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4625 to `isearch-case-fold-search' and restore its original value
4626 after the `isearch-mode' call.
4627
46c5cf66
JL
46282011-09-18 Juri Linkov <juri@jurta.org>
4629
4630 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4631 because `zgrep' returns 1 for successful matches (bug#9226).
4632
d18b513b
JL
46332011-09-18 Juri Linkov <juri@jurta.org>
4634
4635 * info.el (Info-extract-menu-node-name): Check the second match
4636 for empty string (second test-case of bug#9528).
4637 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4638 intermediate nodes to the history (first test-case of bug#9528).
4639
72753f87
JL
46402011-09-18 Juri Linkov <juri@jurta.org>
4641
4642 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4643 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4644
c9384295
JL
46452011-09-18 Juri Linkov <juri@jurta.org>
4646
1154d12e
JB
4647 * info.el (Info-file-supports-index-cookies):
4648 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4649 outputs one more line for long file names (bug#4142).
c9384295 4650
d473dce8
CY
46512011-09-18 Chong Yidong <cyd@stupidchicken.com>
4652
4653 * newcomment.el (comment-normalize-vars): If prompting for
4654 comment-start, set comment-start-skip too (Bug#8424).
4655
2176854d
JB
46562011-09-18 Johan Bockgård <bojohan@gnu.org>
4657
4658 * icomplete.el: Fix previous fix of Bug#5849.
4659 (icomplete-mode): Don't set completion-show-inline-help.
4660 (icomplete-minibuffer-setup): Set completion-show-inline-help
4661 locally during icompletion.
4662
3aace4e4
CY
46632011-09-18 Chong Yidong <cyd@stupidchicken.com>
4664
c940224f
CY
4665 * woman.el (woman2-process-escapes): Don't delete unrecognized
4666 escapes (Bug#7843).
4667
3aace4e4
CY
4668 * files.el (inhibit-first-line-modes-regexps): Add image files.
4669 (hack-local-variables-prop-line): Return nil for malformed
4670 prop-lines (Bug#9044).
4671
710dec63
MA
46722011-09-18 Michael Albinus <michael.albinus@gmx.de>
4673
4674 * net/tramp.el (top): Don't require 'shell.
4675 (tramp-methods): Fix docstring.
4676 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4677 Return complete remote file name. Handle "smb" case.
4678 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4679 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4680
4681 * net/tramp-compat.el (top): Require 'shell.
4682
4683 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4684 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4685 `tramp-current-host'.
4686 (tramp-get-remote-tmpdir): Remove.
4687
4688 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4689 `tramp-tmpdir' entries.
4690 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4691 (tramp-smb-handle-file-attributes): Ignore errors.
4692 (tramp-smb-wait-for-output): Check also for process end.
4693
5d5ac8ec
LMI
46942011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4695
4696 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4697 when sending QUIT (bug#9312).
4698
8c0f49f0
CY
46992011-09-17 Chong Yidong <cyd@stupidchicken.com>
4700
4701 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4702 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4703 occur-mode-display-occurrence.
4704 (occur-edit-mode): Add usage message.
4705 (occur-cease-edit): New command.
4706 (occur-after-change-function): Use text properties to find the
4707 position of the prefix text.
4708 (occur-engine): Set stickiness of prefix text properties.
4709
8f1383f7
GM
47102011-09-17 Glenn Morris <rgm@gnu.org>
4711
4712 * progmodes/etags.el (complete-tag):
4713 Fix call to completion-in-region. (Bug#9526)
4714
744ba0e3
JL
47152011-09-17 Juri Linkov <juri@jurta.org>
4716
4717 * textmodes/ispell.el (ispell-word): Add to the error message
4718 the word, ispell program name and current dictionary (bug#9121).
4719 (ispell-tex-arg-end): Capitalize "error" in the error message.
4720
d9bbf400
AS
47212011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4722
4723 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4724 check. (Bug#4251)
4725
8da11505
JL
47262011-09-17 Juri Linkov <juri@jurta.org>
4727
4728 * window.el (window-safe-min-height, window-safe-min-width):
4729 Fix typos (followup to bug#9522).
4730
a91adc7e
SJ
47312011-09-17 Sven Joachim <svenjoac@gmx.de>
4732
4733 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4734
064f328a
EZ
47352011-09-16 Eli Zaretskii <eliz@gnu.org>
4736
4737 * simple.el (line-move): If goal-column is set, move by logical
4738 lines, not by display lines. (Bug#971)
4739 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4740 to reflect the above change.
4741
e69df516
SM
47422011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * image.el (imagemagick-register-types): Use regexp-opt.
4745
cbb0f9ab
CY
47462011-09-15 Chong Yidong <cyd@stupidchicken.com>
4747
4748 * window.el (display-buffer-base-action): Rename from
4749 display-buffer-default-action. Make default value empty.
4750 (display-buffer-overriding-action): Convert to defvar.
4751 (display-buffer-fallback-action): New var.
4752
25322144
CY
47532011-09-15 Chong Yidong <cyd@stupidchicken.com>
4754
4755 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4756 declaration.
4757 (package--add-to-archive-contents): If there is a duplicate entry
4758 with an older version, remove it.
4759 (package-menu-mark-delete, package-menu-mark-install)
4760 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4761 (package-menu-mark-obsolete-for-deletion):
4762 Use package-menu-get-status instead of a regexp search.
25322144
CY
4763 (package-menu-get-status): Use tabulated-list-entry.
4764 (package-menu-mark-upgrades): New command.
d770725a 4765 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4766 (package-menu-execute): Do installation before deletion.
4767 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4768 instead of checking major-mode.
4769 (package-menu--find-upgrades): New function.
4770
7520339c
LMI
47712011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4772
4773 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4774 passwords in the log buffer.
65a046c4
LMI
4775 (smtpmail-process-filter): Update the process marker so that the
4776 "broken by peer" status message is inserted in the right place.
7520339c 4777
d3c30954
SM
47782011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4779
3fe48822
SM
4780 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4781 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4782 bibtex-completion-at-point-function.
4783 (bibtex-completion-at-point-function): Use them.
4784
1b8b3954
SM
4785 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4786
d3c30954
SM
4787 * mpc.el (mpc-constraints-tag-lookup): New function.
4788 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4789 also to browser "album|playlist".
4790
72779976
JL
47912011-09-14 Juri Linkov <juri@jurta.org>
4792
4793 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4794 (isearch-edit-string): Use length of `isearch-string' when
4795 `isearch-fail-pos' returns nil.
4796 (isearch-message): Remove duplicate code and call
4797 `isearch-fail-pos' with arg `t'.
4798
a0bf2bcd
CY
47992011-09-14 Chong Yidong <cyd@stupidchicken.com>
4800
17bb0a2d
CY
4801 * replace.el (occur-mode-goto-occurrence): Don't force using other
4802 window (Bug#9499).
4803
a0bf2bcd
CY
4804 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4805
f678e0b6
MR
48062011-09-14 Martin Rudalics <rudalics@gmx.at>
4807
4808 * window.el (display-buffer-window): Remove.
4809 (display-buffer-record-window): Use help-setup window parameter
4810 instead of variable display-buffer-window.
4811 (display-buffer-function, special-display-buffer-names)
4812 (special-display-function): Mention help-setup parameter instead
4813 of display-buffer-window in doc-string.
d3c30954
SM
4814 * help.el (help-window-setup): New argument help-window.
4815 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4816 Reword some messages.
4817 (with-help-window): Pass window used for displaying the buffer
4818 to help-window-setup. Don't set display-buffer-window.
4819
8e39b2e8
GM
48202011-09-13 Glenn Morris <rgm@gnu.org>
4821
4822 * emacs-lisp/debug.el (debugger-make-xrefs):
4823 Preserve point. (Bug#9462)
4824
85e9c04b
CY
48252011-09-13 Chong Yidong <cyd@stupidchicken.com>
4826
4827 * window.el (window-deletable-p): Use next-frame.
4828
1b36ed6a
MR
48292011-09-13 Martin Rudalics <rudalics@gmx.at>
4830
4831 * window.el (window-auto-delete): Remove.
4832 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4833 dedication and previous buffers.
1b36ed6a
MR
4834 (switch-to-prev-buffer): Don't delete window.
4835 (delete-windows-on): Delete a window's frame if and only if the
4836 window is dedicated.
4837 (replace-buffer-in-windows): Delete buffer's window or frame if
4838 and only if window is dedicated.
4839 (quit-window): Handle quit-restore as before last change.
4d61f28d 4840 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4841
ef8ef9fb
CY
48422011-09-13 Chong Yidong <cyd@stupidchicken.com>
4843
4844 * window.el (window-deletable-p): Never delete the last frame on a
4845 given terminal.
4846
b2cba41e
GM
48472011-09-13 Glenn Morris <rgm@gnu.org>
4848
4849 * help.el (describe-key-briefly): Copy previous standard-output change.
4850
51553db6 48512011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4852
4853 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4854
b7556719
GM
48552011-09-13 Glenn Morris <rgm@gnu.org>
4856
4857 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4858 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4859
64b51947
CY
48602011-09-12 Chong Yidong <cyd@stupidchicken.com>
4861
4862 * dired-aux.el (dired-mark-read-string): Don't return default
4863 value on empty input (Bug#9361).
4864 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4865 Omit initial minibuffer contents.
4866 (dired-do-chmod): Signal an error on empty input.
4867 (dired-mark-read-string): Don't return default on empty input.
4868
4869 * files.el (file-modes-symbolic-to-number): Doc fix.
4870
393a301e
SM
48712011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * international/mule-cmds.el (ucs-completions): Remove.
4874 (read-char-by-name): Use complete-with-action instead; add metadata.
4875
fa5660f9
CY
48762011-09-11 Chong Yidong <cyd@stupidchicken.com>
4877
4878 * window.el (display-buffer--action-function-custom-type)
4879 (display-buffer--action-custom-type): New vars.
4880 (display-buffer-alist, display-buffer-default-action)
4881 (display-buffer-overriding-action): Add defcustom types.
4882
4a592f66
CY
4883 * frame.el (delete-other-frames): Doc fix (Bug#276).
4884
73d56dbd
LMI
48852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
4887 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4888
37ac18a3
CY
48892011-09-11 Chong Yidong <cyd@stupidchicken.com>
4890
4891 Change modes that used same-window-* vars to use switch-to-buffer.
4892
4893 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4894 Use switch-to-buffer.
4895
4896 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4897 (customize-browse, custom-buffer-create-other-window):
4898 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4899
4900 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4901 (Info-prev, Info-up, Info-speedbar-goto-node)
4902 (info-display-manual): Use switch-to-buffer.
4903 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4904
4905 * mail/sendmail.el (mail): Use switch-to-buffer.
4906 (mail-recover): Use switch-to-buffer-other-window.
4907
4908 * cmuscheme.el (run-scheme, switch-to-scheme):
4909 * ielm.el (ielm):
4910 * shell.el (shell):
4911 * net/rlogin.el (rlogin):
4912 * net/telnet.el (telnet, rsh):
4913 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4914
10195bd6
AS
49152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4916
4917 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4918
b322f63a
LMI
49192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4920
39d7fed6
LMI
4921 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4922 so don't mention it (bug#9301).
ba5a81f1 4923 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4924
ee0e9f11
LMI
4925 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4926 match `x', `w32' and `ns', like the manual says (bug#9029).
4927
0b1c89c1 4928 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4929 (process-kill-buffer-query-function): Mention the buffer name in
4930 the query.
0b1c89c1 4931
77549ea8
LMI
4932 * image-mode.el (image-next-line): The line parameter is mandatory
4933 (bug#9258).
4934
803ef892
LMI
4935 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4936 which can be useful (bug#9301).
4937
12980837
LMI
4938 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4939
91054f8f
LMI
4940 * subr.el (match-string): Mention that the current buffer should
4941 be the same as the search was done in (bug#9282).
4942
b322f63a
LMI
4943 * facemenu.el: Disable the remove-* commands if the mark isn't
4944 active (bug#9162).
4945
3199b96f
CY
49462011-09-10 Chong Yidong <cyd@stupidchicken.com>
4947
4948 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4949 of display-buffer.
4950 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4951
4952 * replace.el (occur-mode-goto-occurrence)
4953 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4954 and display-buffer.
4955
4956 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4957 display-buffer.
4958
4959 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4960 special-display and same-window variables.
4961 (mail-other-window): Use switch-to-buffer-other-window.
4962 (mail-other-frame): USe switch-to-buffer-other-frame.
4963
393a301e
SM
4964 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4965 Use display-buffer-other-frame.
3199b96f
CY
4966 (gdb-display-gdb-buffer): Use pop-to-buffer.
4967
4968 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4969
4970 * progmodes/python.el: Don't set same-window-buffer-names.
4971
4972 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4973
4974 * window.el (display-buffer-alist): Add *Python*.
4975
8319e0bf
CY
49762011-09-10 Chong Yidong <cyd@stupidchicken.com>
4977
4978 * window.el (display-buffer-alist): Add entry for buffers
4979 previously handled same-window-*.
4980 (display-buffer-alist, display-buffer-default-action)
4981 (display-buffer-overriding-action): Mark as risky.
4982 (display-buffer-alist): Document action function changes.
4983 (display-buffer--same-window-action)
4984 (display-buffer--other-frame-action): New variables.
4985 (switch-to-buffer, display-buffer-other-frame): Use them.
4986 (display-buffer): Rename reuse-frame entry to reusable-frames.
4987 (display-buffer-reuse-selected-window): Function deleted.
4988 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4989 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4990 (display-buffer-special): New function.
4991 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4992 display-buffer-reuse-or-pop-window. Split off special-display
4993 part into display-buffer-special.
4994 (display-buffer-use-some-window): Don't perform any special
4995 pop-up-frames handling.
4996 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4997 (display-buffer--maybe-same-window): Rename from
0d3ff375 4998 display-buffer-maybe-same-window.
8319e0bf 4999
919a69aa
CY
5000 * info.el: Don't set same-window-regexps.
5001 (info-setup): New function.
5002 (info-other-window, info): Call it.
5003
5004 * cus-edit.el: Don't set same-window-regexps.
5005 (customize-group): New argument.
5006 (customize-group-other-window): Use it.
5007 (customize-face, customize-face-other-window): Likewise.
5008 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5009
8319e0bf
CY
5010 * net/rlogin.el:
5011 * net/telnet.el:
5012 * progmodes/gud.el: Don't set same-window-regexps.
5013
5014 * cmuscheme.el:
5015 * ielm.el:
5016 * shell.el:
5017 * mail/sendmail.el:
5018 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5019
25173000
JL
50202011-09-10 Juri Linkov <juri@jurta.org>
5021
5022 * isearch.el (isearch-edit-string): Remove obsolete mention of
5023 `C-w' (`isearch-yank-word-or-char') from docstring.
5024 (isearch-query-replace): Fix typo in docstring (bug#9466).
5025
056e44ef
JL
50262011-09-10 Juri Linkov <juri@jurta.org>
5027
5028 * paren.el (show-paren-function): Don't show escaped parens.
5029 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5030
c3760c17
EZ
50312011-09-10 Eli Zaretskii <eliz@gnu.org>
5032
5033 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5034 (mm-default-file-encoding): Remove autoload forms, they are
5035 replaced with autoload cookies in mml.el and mm-encode.el.
5036 (mail-add-attachment): New command.
5037 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5038 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5039 the doc string.
5040 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5041
fece895e
RT
50422011-09-10 Reuben Thomas <rrt@sc3d.org>
5043
e69df516
SM
5044 * simple.el (count-words-region): Use buffer if there's no region
5045 (bug#9429).
fece895e 5046
5e68ce4a
JL
50472011-09-09 Juri Linkov <juri@jurta.org>
5048
5049 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5050 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5051 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5052
0a6b9622
AM
50532011-09-09 Alan Mackenzie <acm@muc.de>
5054
5055 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5056 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5057
14a29deb
EZ
50582011-09-09 Eli Zaretskii <eliz@gnu.org>
5059
5060 Fix for Savannah bug#9392.
5061 * simple.el (mail-encode-mml): New defvar.
5062
5063 * mail/rmail.el (mail-encode-mml): Add a defvar.
5064 (rmail-enable-mime-composing): Default to t.
5065 (rmail-forward): Use MIME method of forwarding only if both
5066 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5067 Set mail-encode-mml non-nil if the MIME method was used.
5068
5069 * mail/sendmail.el (mml-to-mime): Add autoload form.
5070 (mail-encode-mml): Add a defvar.
5071 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5072 to nil.
5073 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5074 message through mml-to-mime, and reset mail-encode-mml to nil.
5075
28c45130
GM
50762011-09-09 Glenn Morris <rgm@gnu.org>
5077
5078 * woman.el (woman-if-body): When processing an .el block,
5079 do not delete the next .el block as well. (Bug#9447)
69f4b618 5080 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5081
9b1c252e
MR
50822011-09-08 Martin Rudalics <rudalics@gmx.at>
5083
5084 * window.el (window-deletable-p): Make sure window is live before
5085 invoking window-prev-buffers.
5086
567457e3
LL
50872011-09-08 Leo Liu <sdl.web@gmail.com>
5088
5089 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5090
97f05794
JL
50912011-09-08 Juri Linkov <juri@jurta.org>
5092
5093 * progmodes/compile.el (compilation-environment): Make it
5094 a defcustom (bug#8340).
5095
8b0874b5
MR
50962011-09-08 Martin Rudalics <rudalics@gmx.at>
5097
5098 * window.el (frame-auto-delete): Rename to window-auto-delete.
5099 Make it control auto-deletion of windows and/or frames.
5100 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5101 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5102 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5103 Rewrite handling of case when window/frame can be deleted.
5104 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5105 argument t. (Bug#9456)
8b0874b5 5106
4feb6e73
CY
51072011-09-07 Chong Yidong <cyd@stupidchicken.com>
5108
5109 * help-mode.el (help-mode): Restore autoload.
5110
91ab9c13
JL
51112011-09-07 Juri Linkov <juri@jurta.org>
5112
5113 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5114 `compilation-environment'. Set buffer-local
5115 `compilation-environment' to `thisenv' later after (funcall mode).
5116 (Bug#8340)
5117
5118 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5119 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5120 instead of replacing its value. (Bug#8340)
5121
0527e251
JL
51222011-09-07 Juri Linkov <juri@jurta.org>
5123
5124 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5125 based on text properties put by `grep-filter' instead of matching
5126 escape sequences.
5127 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5128 to the value of `grep-error-screen-columns' (bug#9438).
5129
249f792c
JL
51302011-09-07 Juri Linkov <juri@jurta.org>
5131
5132 * simple.el (next-error-highlight, next-error-highlight-no-select):
5133 Doc fix (bug#9432).
5134
ff7271b9
OT
51352011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5136
5137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5138 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5139
183fc730
LL
51402011-09-07 Leo Liu <sdl.web@gmail.com>
5141
5142 * net/rcirc.el (rcirc-mode): Conditionally initialize
5143 rcirc-input-ring.
5144
77694924
SM
51452011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * emacs-lisp/find-func.el (find-function-C-source): Only set
5148 find-function-C-source-directory after checking that we found a source
5149 file there (bug#9440).
5150
d809b8eb
AM
51512011-09-06 Alan Mackenzie <acm@muc.de>
5152
5153 * isearch.el (isearch-other-meta-char): Wherever a key list is
5154 unread, "unread" the prefix arg, too. This fixes bug #8901.
5155
453de99f
OG
51562011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5157
5158 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5159
90439906
JL
51602011-09-05 Juri Linkov <juri@jurta.org>
5161
5162 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5163
f62bd846
JL
51642011-09-05 Juri Linkov <juri@jurta.org>
5165
5166 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5167 keeping point where processing of grep matches begins, and
5168 continue to delete remaining escape sequences from the same point.
5169 (grep-filter): Make leading zero optional in "0?1;31m" because
5170 git-grep emits "\033[1;31m" escape sequences unlike expected
5171 "\033[01;31m" as GNU Grep does (bug#9408).
5172 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5173
045820ec
JL
51742011-09-05 Juri Linkov <juri@jurta.org>
5175
5176 * subr.el (y-or-n-p): Capitalize "yes".
5177
f5e29b9b
MA
51782011-09-04 Michael Albinus <michael.albinus@gmx.de>
5179
5180 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5181 `tramp-cache-unload-hook' where appropriate.
5182 (tramp-methods): Rename `tramp-remote-sh' to
5183 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5184 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5185
5186 * net/tramp-sh.el (top): Don't require 'shell.
5187 (tramp-methods): Add `tramp-remote-shell' and
5188 `tramp-remote-shell-args' entries.
5189 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5190 (tramp-sh-handle-shell-command): Remove.
5191 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5192 Use `tramp-remote-shell'.
5193
2784c434
CY
51942011-09-03 Chong Yidong <cyd@stupidchicken.com>
5195
393a301e 5196 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5197 (sendmail-query-once): Save directly to send-mail-function.
5198 Update message-send-mail-function too.
5199
5200 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5201
464cdf56
CS
52022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5203
5204 * progmodes/python.el (python-mode-map): Use correct function to
5205 start python interpreter from menu-bar (as reported by Geert
5206 Kloosterman).
5207 (inferior-python-mode-map): Fix typo.
393a301e 5208 (python-shell-map): Remove.
464cdf56 5209
d37e5c87
DD
52102011-09-03 Deniz Dogan <deniz@dogan.se>
5211
5212 * net/rcirc.el (rcirc-print): Simplify code for
5213 rcirc-scroll-show-maximum-output. There is no need to walk
5214 through all windows to find the right one.
5215
f3ada0ee
CS
52162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5217
5218 * help.el (help-return-method): Doc fix.
5219
1f3c99ca
MR
52202011-09-03 Martin Rudalics <rudalics@gmx.at>
5221
5222 * window.el (window-deletable-p): Don't return a non-nil value
5223 when there's a buffer that was shown in the window before.
5224 (Bug#9419)
393a301e
SM
5225 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5226 Set window's previous buffers to nil.
1f3c99ca 5227
a3cf097f
EZ
52282011-09-03 Eli Zaretskii <eliz@gnu.org>
5229
5230 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5231 newline before and after the tag line, so it doesn't interfere
5232 with determining the paragraph direction of bidirectional text.
5233
3d03de90
LL
52342011-09-03 Leo Liu <sdl.web@gmail.com>
5235
5236 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5237
c3313451
CY
52382011-09-02 Chong Yidong <cyd@stupidchicken.com>
5239
393a301e 5240 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5241 (pop-to-buffer): Change interactive spec. Pass second argument
5242 directly to display-buffer.
5243 (display-buffer): Fix interactive spec. Use functionp to
5244 distinguish between a function and a list of functions.
5245
5246 * abbrev.el (edit-abbrevs):
5247 * arc-mode.el (archive-extract):
5248 * autoinsert.el (auto-insert):
5249 * bookmark.el (bookmark-bmenu-list):
5250 * files.el (find-file):
5251 * view.el (view-buffer):
5252 * progmodes/compile.el (compilation-goto-locus):
5253 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5254
89894cd8
CY
52552011-09-02 Chong Yidong <cyd@stupidchicken.com>
5256
5257 * window.el (display-buffer-alist): Doc fix.
5258 (display-buffer): Add docstring. Don't treat
5259 display-buffer-default specially.
5260 (display-buffer-reuse-selected-window)
5261 (display-buffer-same-window, display-buffer-maybe-same-window)
5262 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5263 (display-buffer-pop-up-window)
5264 (display-buffer-reuse-or-pop-window)
5265 (display-buffer-use-some-window): New functions.
5266 (display-buffer-default-action): Use them.
393a301e 5267 (display-buffer-default): Delete.
89894cd8
CY
5268 (pop-to-buffer-1): Fix choice of actions.
5269
ae0bc9fb
SM
52702011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * minibuffer.el (completion--insert-strings): Don't get confused by
5273 completion entries that end with an LF char.
5274
e9d90883
EZ
52752011-09-01 Eli Zaretskii <eliz@gnu.org>
5276
5277 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5278
437014c8
CY
52792011-09-01 Chong Yidong <cyd@stupidchicken.com>
5280
5281 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5282 (display-buffer-same-window, display-buffer-other-window):
5283 New functions.
437014c8
CY
5284 (pop-to-buffer-1): New function. Use the above.
5285 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5286 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5287
5288 * view.el (view-buffer-other-window, view-buffer-other-frame):
5289 Just use pop-to-buffer.
5290
a5e063d5
TV
52912011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5292
5293 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5294
793d32bb
WH
52952011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5296
5297 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5298
d65e4c15
RS
52992011-08-31 Richard Stallman <rms@gnu.org>
5300
5301 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5302 of the separation of rmail-view-buffer from rmail-buffer.
5303 If you say no to "replace original", the decrypt is in the
5304 view buffer. If you say yes, the decrypt goes into the
5305 rmail buffer also.
5306
f818cd2a
MR
53072011-08-31 Martin Rudalics <rudalics@gmx.at>
5308
5309 * window.el (display-buffer-window): Rewrite doc-string.
5310 (display-buffer-record-window): New function.
5311 (display-buffer-macro-specifiers)
5312 (display-buffer-even-window-sizes, display-buffer-set-height)
5313 (display-buffer-set-width, display-buffer-in-window)
5314 (display-buffer-reuse-window, display-buffer-split-specifiers)
5315 (display-buffer-side-specifiers, display-buffer-split-window-1)
5316 (display-buffer-split-window, display-buffer-split-atom-window)
5317 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5318 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5319 (display-buffer-other-window-means-other-frame)
5320 (display-buffer-normalize-special)
5321 (display-buffer-normalize-default)
5322 (display-buffer-normalize-argument)
5323 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5324 (display-buffer-normalize-specifiers, display-buffer-frame)
5325 (display-buffer-same-window, display-buffer-same-frame)
5326 (display-buffer-other-window)
5327 (display-buffer-same-frame-other-window)
5328 (display-buffer-other-frame, pop-to-buffer-same-window)
5329 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5330 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5331 (switch-to-buffer-same-frame)
5332 (switch-to-buffer-other-window-same-frame)
5333 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5334 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5335 (display-buffer-alist-set): Remove.
5336 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5337 (special-display-regexps, special-display-function):
5338 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5339 parameter.
5340 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5341 (special-display-frame-alist, special-display-popup-frame)
5342 (same-window-buffer-names, same-window-regexps, same-window-p)
5343 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5344 (split-window-preferred-function, split-height-threshold)
5345 (split-width-threshold, window-splittable-p)
5346 (split-window-sensibly, window--try-to-split-window)
5347 (window--frame-usable-p, even-window-heights)
5348 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5349 (window--display-buffer-2, display-buffer-other-frame):
5350 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5351 (display-buffer-default, display-buffer-assq-regexp): New functions.
5352 (display-buffer-alist): Rewrite doc-string.
5353 (display-buffer-default-action)
5354 (display-buffer-overriding-action): New variables.
5355 (display-buffer, switch-to-buffer): Rewrite.
5356 (pop-to-buffer): Restore Emacs 23 behavior but use
5357 window-normalize-buffer-to-display.
5358 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5359 Restore Emacs 23 behavior but use
5360 window-normalize-buffer-to-switch-to.
5361 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5362 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5363 Rewrite using Emacs 23 options.
f818cd2a 5364
5bc3b51d
MA
53652011-08-31 Michael Albinus <michael.albinus@gmx.de>
5366
5367 * net/tramp.el (tramp-root-regexp): Remove.
5368 (tramp-completion-file-name-regexp-unified)
5369 (tramp-completion-file-name-regexp-separate)
5370 (tramp-completion-file-name-regexp-url): Don't use leading volume
5371 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5372 (tramp-drop-volume-letter): Simplify definition.
5373 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5374
b1a4f8e1
SM
53752011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5378 (bug#9356).
5379
5664fa7b
RT
53802011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5381
b1a4f8e1 5382 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5383
9a45d6c3
JL
53842011-08-29 Juri Linkov <juri@jurta.org>
5385
5386 * isearch.el (isearch-done): Don't display message "Mark saved"
5387 when arg `edit' is non-nil to prevent its flicker in the echo area.
5388
fb87e0fb
CY
53892011-08-28 Chong Yidong <cyd@stupidchicken.com>
5390
5391 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5392 obsolete packages for deletion.
5393
09ac1c2a
CS
53942011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5395
5396 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5397 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5398 view-mode from help-mode.
5399 (help-xref-override-view-map): Remove.
5400 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5401 view-mode is not used anymore.
5402
7a1ff57f
CY
54032011-08-28 Chong Yidong <cyd@stupidchicken.com>
5404
5405 * server.el (server-port): Doc fix.
5406
b9696605
CY
5407 * cus-theme.el (custom-theme-choose-mode): Inherit from
5408 special-mode (Bug#9124).
5409 (custom-theme-choose-mode-map): Add special-mode to parent.
5410
ef8cdf8c
AM
54112011-08-28 Alan Mackenzie <acm@muc.de>
5412
5413 * progmodes/cc-fonts.el
5414 (c-make-font-lock-BO-decl-search-function): New function.
5415 (c-basic-matchers-after - "Fontify the clauses after various
5416 keywords"): Extract the three keyword lists for the 3 erroneous
5417 constructs from the list of four, and use the new function above
5418 in place of an old one.
5419
27de4e20
DD
54202011-08-28 Deniz Dogan <deniz@dogan.se>
5421
5422 * net/rcirc.el (rcirc-insert-prev-input)
5423 (rcirc-insert-next-input): Remove unused argument.
5424
356a3681
SM
54252011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5428
3fc9b218
AM
54292011-08-27 Alan Mackenzie <acm@muc.de>
5430
5431 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5432 handle function pointer parameters properly.
5433
538a061c
MR
54342011-08-27 Martin Rudalics <rudalics@gmx.at>
5435
5436 * window.el (display-buffer-reuse-window): Fix case where
5437 selected window was reused with non-nil OTHER-WINDOW argument.
5438 (Bug#9381)
5439
35b1c40c
DD
54402011-08-27 Deniz Dogan <deniz@dogan.se>
5441
5442 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5443 oftc's NickServ messages.
5444
2f6a3e79
GM
54452011-08-27 Glenn Morris <rgm@gnu.org>
5446
5447 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5448
7254299e
CY
54492011-08-26 Chong Yidong <cyd@stupidchicken.com>
5450
5451 * emacs-lisp/package.el (package-install): Call package-initialize
5452 if called interactively.
5453
f8ccf167
LL
54542011-08-26 Leo Liu <sdl.web@gmail.com>
5455
5456 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5457
3e8cd5ce
JL
54582011-08-25 Juri Linkov <juri@jurta.org>
5459
5460 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5461 `search-whitespace-regexp' (bug#9364).
5462
93eb7113
JL
54632011-08-25 Juri Linkov <juri@jurta.org>
5464
5465 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5466 `regexp-search-ring' to their global values to protect from
5467 updating by `read-from-minibuffer' (bug#9185).
5468
f65d1611
JL
54692011-08-25 Juri Linkov <juri@jurta.org>
5470
5471 * textmodes/ispell.el (ispell-command-loop): Add newline
5472 at the end of the "Use option `i'..." line.
5473
f1cf7a31
JL
54742011-08-25 Juri Linkov <juri@jurta.org>
5475
5476 * battery.el (display-battery-mode): If `battery-status-function'
5477 or `battery-mode-line-format' is nil, display the message and set
5478 `display-battery-mode' to nil (bug#9363).
5479
0c95fcf7
EZ
54802011-08-25 Eli Zaretskii <eliz@gnu.org>
5481
5482 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5483 bidi-string-mark-left-to-right; they are unnecessary now.
5484
a2ebe600
DD
54852011-08-25 Deniz Dogan <deniz@dogan.se>
5486
5487 * net/quickurl.el: Documentation typo fixes.
5488
e4ed06f1
CY
54892011-08-25 Chong Yidong <cyd@stupidchicken.com>
5490
5491 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5492
e5f1c99e
GM
54932011-08-25 Glenn Morris <rgm@gnu.org>
5494
b2948976
GM
5495 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5496
e5f1c99e
GM
5497 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5498 (smtpmail-via-smtp): Handle nil response from smtp.
5499
f22f4808
JL
55002011-08-24 Juri Linkov <juri@jurta.org>
5501
5502 * proced.el (proced-marked): Inherit from `error' instead of
5503 `font-lock-warning-face'.
5504
5505 * ibuffer.el (ibuffer-marked-face): Change default face from
5506 `font-lock-warning-face' to `warning'.
5507 (ibuffer-deletion-face): Change default face from
5508 `font-lock-type-face' to `error'.
5509
5510 * battery.el (battery-update): Use the face `error' instead of
5511 `font-lock-warning-face' (bug#6117).
5512
6a93965e
JL
55132011-08-24 Juri Linkov <juri@jurta.org>
5514
5515 * faces.el (success): Change face color from "Green3" to
5516 "ForestGreen" on light background (bug#9353).
5517
1ed43b09
CY
55182011-08-24 Chong Yidong <cyd@stupidchicken.com>
5519
5664fa7b
RT
5520 * window.el (quit-window): Rename from quit-restore-window.
5521 Use same arglist as old quit-window.
1ed43b09
CY
5522 (frame-auto-delete): Doc fix.
5523
5524 * view.el (view-mode-exit): Use quit-window.
5525
11dcdbb2
JL
55262011-08-24 Juri Linkov <juri@jurta.org>
5527
5528 * isearch.el (isearch-ring-adjust1): Start visiting previous
5529 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5530 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5531 for empty search string (when the last search string is reused
5532 automatically) to adjust the isearch ring to the last element and
5533 prepare the correct index for further M-p commands (bug#9185).
5534
de62b4df
KH
55352011-08-24 Kenichi Handa <handa@m17n.org>
5536
5537 * international/ucs-normalize.el: If decomposition property of
5538 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5539 nil.
5540 (nfd, nfkd): Likewise.
5541
963b492b
SM
55422011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5545 from process filters aren't reliably transmitted to the surrounding
5546 accept-process-output.
5547 (mpc-proc-check): New function.
5548 (mpc-proc-sync): Use it (bug#8293)
5549
93b6b5e1
SM
55502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5553 Add compatibility functions (bug#9313).
5554
bca633fb
EZ
55552011-08-23 Eli Zaretskii <eliz@gnu.org>
5556
b177498a
EZ
5557 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5558
6df6ae42 5559 * international/uni-bidi.el: Regenerate.
bca633fb 5560
0902a04e
KH
55612011-08-23 Kenichi Handa <handa@m17n.org>
5562
5563 * international/charprop.el:
5564 * international/uni-bidi.el:
5565 * international/uni-category.el:
5566 * international/uni-combining.el:
5567 * international/uni-comment.el:
5568 * international/uni-decimal.el:
5569 * international/uni-decomposition.el:
5570 * international/uni-digit.el:
5571 * international/uni-lowercase.el:
5572 * international/uni-mirrored.el:
5573 * international/uni-name.el:
5574 * international/uni-numeric.el:
5575 * international/uni-old-name.el:
5576 * international/uni-titlecase.el:
5577 * international/uni-uppercase.el: Regenerate.
5578
3bbf23bc
MR
55792011-08-23 Martin Rudalics <rudalics@gmx.at>
5580
5581 * help.el (help-window-setup): Fix message displayed when other
5582 window is reused. (Bug#9341)
5583
b3fd59bd
SM
55842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5585
1802e444
SM
5586 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5587 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5588
b3fd59bd
SM
5589 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5590 Mark obsolete.
5591 * shell.el (shell-parse-pcomplete-arguments): New function.
5592 (shell-completion-vars): Use it instead (bug#9160).
5593
4eb61348
SM
55942011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5595
867cab74
SM
5596 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5597 strings and comments (bug#9333).
5598
4eb61348
SM
5599 * emacs-lisp/debug.el (debug-arglist): New function.
5600 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5601 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5602
262a1439
JL
56032011-08-22 Juri Linkov <juri@jurta.org>
5604
56ee679c
JL
5605 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5606 Revert regexp that highlights output switches to its old
5607 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5608
262a1439
JL
5609 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5610 to check for empty output (bug#9226).
5611
f13f86fb
CY
56122011-08-22 Chong Yidong <cyd@stupidchicken.com>
5613
5614 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5615 symbol-constituent as the default, as that stops font-lock from
5616 working properly (Bug#8843).
5617
c65c9622
LMI
56182011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5619
5620 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5621 `coding-system-for-*' around the process open call to avoid
5622 auth-source side effects.
e7f2c178 5623 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5624 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5625 probe hangs.
c65c9622 5626
23a8a5ab
CY
56272011-08-21 Chong Yidong <cyd@stupidchicken.com>
5628
ff98b2dd
CY
5629 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5630
23a8a5ab
CY
5631 * emacs-lisp/find-func.el (find-function-noselect): New arg
5632 lisp-only.
5633
5634 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5635 signal an error for built-in functions (Bug#6664).
5636
f5e3c598
LMI
56372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5638
5639 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5640 (smtpmail-try-auth-methods): Use it.
5641
a3f2468a
CY
56422011-08-21 Chong Yidong <cyd@stupidchicken.com>
5643
2c34e8da
CY
5644 * font-lock.el (font-lock-fontify-region)
5645 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5646 (font-lock-default-unfontify-buffer)
5647 (font-lock-default-fontify-region)
5648 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5649
b3fd59bd
SM
5650 * progmodes/compile.el (compilation-error-properties):
5651 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5652 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5653 `ant' regexp.
ee31aabc 5654
a3f2468a
CY
5655 * net/browse-url.el (browse-url-firefox): Don't call
5656 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5657
8e999f70
GM
56582011-08-20 Glenn Morris <rgm@gnu.org>
5659
c21a496a
GM
5660 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5661
59ee0542
GM
5662 * tutorial.el (tutorial--default-keys): Update some default bindings.
5663
8e999f70
GM
5664 * files.el (hack-local-variables): Fully ignore case for "mode:".
5665
e3715033
AM
56662011-08-20 Alan Mackenzie <acm@muc.de>
5667
5668 Resolve invalid use of a regexp in regexp-opt.
5669
4d61f28d
JB
5670 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5671 detection for a java annotation.
e3715033 5672
4d61f28d 5673 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5674 detection for a java annotation.
5675
4d61f28d
JB
5676 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5677 handling for java.
e3715033
AM
5678 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5679
04ed2e9c
CY
56802011-08-20 Chong Yidong <cyd@stupidchicken.com>
5681
5682 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5683 (Bug#9274).
5684
826cee64
AM
56852011-08-20 Alan Mackenzie <acm@muc.de>
5686
58179cce 5687 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5688 such a construct. Mainly for when jit-lock etc. starts a chunk
5689 here.
5690
58179cce 5691 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5692 variable.
58179cce 5693 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5694 c-make-font-lock-search-function.
5695 (c-make-font-lock-search-function): Use the above function.
5696 (c-make-font-lock-context-search-function): New function.
5697 (c-cpp-matchers): Enhance the preprocessor expression case with
5698 the above function
5699 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5700 which takes an expression.
5701
5702 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5703
13009bd8
MR
57042011-08-20 Martin Rudalics <rudalics@gmx.at>
5705
5706 * window.el (display-buffer-reuse-window)
5707 (display-buffer-pop-up-window): Don't reuse or split a side
5708 window.
5709
9234ff7f
GM
57102011-08-19 Glenn Morris <rgm@gnu.org>
5711
5712 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5713 Downcase "Mode:". (Bug#9331)
9234ff7f 5714
f635daa1
CY
57152011-08-18 Chong Yidong <cyd@stupidchicken.com>
5716
5717 * international/characters.el: Add L and R categories.
5718
5719 * subr.el (bidi-string-mark-left-to-right): Rename from
5720 string-mark-left-to-right. Use category search.
5721
5722 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5723
bc987f8b
JL
57242011-08-18 Juri Linkov <juri@jurta.org>
5725
5726 * faces.el (error, warning, success): New faces with definitions
5727 copied from old default values of `font-lock-warning-face',
5728 `compilation-warning', `compilation-info' (bug#6117).
5729
5730 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5731
5732 * progmodes/compile.el (compilation-error): Inherit from `error'.
5733 (compilation-warning): Inherit from `warning'.
5734 (compilation-info): Inherit from `success'.
5735
5736 * dired.el (dired-marked): Inherit from `warning'.
5737 (dired-flagged): Inherit from `error'.
5738
57173b96
LMI
57392011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5740
3e79eb87
LMI
5741 * mail/smtpmail.el (auth-source): Require to avoid problems with
5742 binding variables (bug#9298). Also clean up some unused
5743 autoloads.
5744
b3fd59bd
SM
5745 * net/network-stream.el (network-stream-open-starttls):
5746 Support using starttls.el without using gnutls-cli.
57173b96 5747
02b404de
JL
57482011-08-17 Juri Linkov <juri@jurta.org>
5749
5750 * progmodes/grep.el (rgrep): Handle the case when
5751 `grep-find-command' is a cons cell (bug#9278).
5752
8c9177f2
MR
57532011-08-17 Martin Rudalics <rudalics@gmx.at>
5754
5755 * window.el (display-buffer-pop-up-frame): Run frame creation
5756 function with BUFFER current (as special-display-popup-frame
5757 does). Reported by Drew Adams.
5758
3644a0ab
DU
57592011-08-17 Daiki Ueno <ueno@unixuser.org>
5760
5761 * epa-mail.el: Simplify GnuPG group expansion using
5762 epg-expand-group.
5763 (epa-mail-group-alist, epa-mail-group-modtime)
5764 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5765 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5766 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5767 Remove.
5768
5e617bc2 57692011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5770
5771 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5772
9c4aeabf
AM
57732011-08-16 Alan Mackenzie <acm@muc.de>
5774
5775 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5776 Correct, to avoid the inside of macros.
5777
3a99bf64
RS
57782011-08-16 Richard Stallman <rms@gnu.org>
5779
04963aa8
RS
5780 * epa-mail.el: Handle GnuPG group definitions.
5781 (epa-mail-group-alist, epa-mail-group-modtime)
5782 (epa-mail-gnupg-conf-file): New variables.
5783 (epa-mail-parse-groups, epa-mail-sync-groups)
5784 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5785 (epa-mail-expand-recipients): New functions.
5786 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5787
177549d0
RS
5788 * mail/rmail.el (rmail-epa-decrypt): New command.
5789
fe38beef
RS
5790 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5791 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5792 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5793 (epa-decrypt-armor-in-region): Make error message clearer.
5794
934eacb9
SM
57952011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5798 and "a2b" to "ab" for `prefix'.
5799
d024fb4e
CY
58002011-08-14 Chong Yidong <cyd@stupidchicken.com>
5801
5802 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5803 filter groups.
de148fee
CY
5804 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5805 Fourquet (Bug#8804).
d024fb4e 5806
62f1ca49
JB
58072011-08-12 Juanma Barranquero <lekktu@gmail.com>
5808
5809 * startup.el (argi): Declare as global variable (bug#9275).
5810
9ccaaa4b
CY
58112011-08-12 Chong Yidong <cyd@stupidchicken.com>
5812
5813 * subr.el (string-mark-left-to-right): Search the entire string
5814 for RTL script, not just the terminating character. Doc fix.
5815
a3dae87a
SM
58162011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5817
6cd18349
SM
5818 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5819 New function.
5820 (js--regexp-literal, js-syntax-propertize-function): Remove.
5821 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5822 (js-mode-map): Don't rebind electric keys.
5823 (js-insert-and-indent): Remove.
5824 (js-mode): Setup electric-layout and electric-indent instead.
5825
a3dae87a
SM
5826 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5827
9d5cb631
DU
58282011-08-12 Daiki Ueno <ueno@unixuser.org>
5829
5830 * epa.el (epa-progress-callback-function): Fix the logic of
5831 displaying progress.
5832 * epa-file.el (epa-file-insert-file-contents): Make progress
5833 display more user-friendly.
5834 (epa-file-write-region): Ditto.
5835
3e26a4a2
CY
58362011-08-10 Chong Yidong <cyd@stupidchicken.com>
5837
5838 * subr.el (string-mark-left-to-right): New function.
5839
5840 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5841 Use string-mark-left-to-right.
5842 (list-buffers-noselect): Caller changed.
5843
a3dae87a
SM
5844 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5845 Use string-mark-left-to-right.
3e26a4a2
CY
5846 (tabulated-list-print): Recenter after moving point.
5847
ac8cf6e6
JL
58482011-08-10 Juri Linkov <juri@jurta.org>
5849
5850 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5851 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5852 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5853
8d96c9a4
CY
58542011-08-09 Chong Yidong <cyd@stupidchicken.com>
5855
5856 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5857 (Bug#7554).
5858
7be1c708 58592011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5860
5861 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5862 character. (Bug#6594)
5863
37e11a63
CY
58642011-08-08 Chong Yidong <cyd@stupidchicken.com>
5865
839dde57
CY
5866 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5867 (image-dired--with-db-file): New macro.
5868 (image-dired-write-tags, image-dired-remove-tag)
5869 (image-dired-create-gallery-lists, image-dired-write-comments)
5870 (image-dired-get-comment, image-dired-mark-tagged-files)
5871 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5872 (image-dired-gallery-generate): Use insert-file-contents.
5873
37e11a63
CY
5874 * time.el (display-time-world-list, display-time-world-display):
5875 * time-stamp.el (time-stamp-string):
5876 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5877 set-time-zone-rule (Bug#7337).
5878
0b4946c4
DU
58792011-08-08 Daiki Ueno <ueno@unixuser.org>
5880
5881 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5882 (epg-error-to-string, epg-errors-to-string): New function.
5883 (epg-wait-for-completion): Reverse errors list.
5884 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5885 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5886 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5887 (epg-sign-keys, epg-generate-key-from-file)
5888 (epg-generate-key-from-string): Format errors by using
5889 epg-errors-to-string (bug#9255).
5890 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5891
75bfc667
JL
58922011-08-07 Juri Linkov <juri@jurta.org>
5893
5894 * faces.el (list-faces-display): Remove extra angle bracket
5895 from `help-mode-map'.
5896
5897 * info.el (Info-history-toc-nodes): Doc fix.
5898
5899 * longlines.el (longlines-mode): Doc fix.
5900
673e08bb
SM
59012011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5902
4640dd88
SM
5903 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5904 of statements and in a few more cases (bug#9183).
5905
673e08bb
SM
5906 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5907 New functions.
5908 (cl-transform-lambda): Use them (bug#9239).
5909
89b3f019
MR
59102011-08-05 Martin Rudalics <rudalics@gmx.at>
5911
5912 * window.el (display-buffer-same-window)
5913 (display-buffer-same-frame, display-buffer-other-window)
5914 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5915 (pop-to-buffer-other-window)
5916 (pop-to-buffer-same-frame-other-window)
5917 (pop-to-buffer-other-frame): Make them defuns.
5918 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5919
640c8776
SM
59202011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * subr.el (make-composed-keymap): Move from C. Change calling
5923 convention, and improve docstring to bring attention to a subtle point.
5924 * minibuffer.el (completing-read-default): Adjust accordingly.
5925
63648a95
MA
59262011-08-03 Michael Albinus <michael.albinus@gmx.de>
5927
5928 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5929 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5930
5931 * net/trampver.el: Update release number.
5932
b796c9b7
SM
59332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5936 "in" (bug#9190).
5937
2239d7d5
LMI
59382011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5939
e07dd7c3
LMI
5940 * mail/sendmail.el (sendmail-query-once): Restore the current
5941 buffer after querying (bug#9074).
5942
0e6a2bd7
LMI
5943 * dired.el (dired-flagged): Use different faces for marked and
5944 flagged files (bug#6117).
5945
ce887515
LMI
5946 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5947 (bug#4433).
5948
92f2affc
LMI
5949 * ido.el (ido-mode): Switch off the message if called
5950 non-interactively.
5951
57d5aff0
LMI
5952 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5953 before 587, since it appears that that's more likely to work for
5954 more people.
5955
98cd6c18 5956 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5957 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5958 exist.
5959
b96dec83
LMI
5960 * info.el: Remove the `Info-beginning-of-buffer' function
5961 (bug#8325).
5962
b796c9b7
SM
5963 * net/network-stream.el (network-stream-open-starttls):
5964 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5965
d90e2ea0
MR
59662011-08-01 Martin Rudalics <rudalics@gmx.at>
5967
5968 * window.el (display-buffer-in-window): Don't set dedicated status
5969 of window here (Bug#9215).
5970 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5971 (display-buffer-pop-up-side-window)
b796c9b7 5972 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5973
cca09170
SM
59742011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5977 before binding generated-autoload-file.
5978
027b979c
DD
59792011-08-01 Deniz Dogan <deniz@dogan.se>
5980
5981 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5982
3c7ee4f3
MA
59832011-07-30 Michael Albinus <michael.albinus@gmx.de>
5984
5985 Sync with Tramp 2.2.2.
5986
5987 * net/trampver.el: Update release number.
5988
2cc8e51a
JL
59892011-07-30 Juri Linkov <juri@jurta.org>
5990
5991 * dired-aux.el (dired-touch-initial): Remove function.
5992 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5993 current time, and `default' to the last modification time of the
5994 current marked file (bug#6887).
5995
a514d856
JM
59962011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5997
5998 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5999 numeric argument to read-number (bug#9163).
a514d856 6000
8a7eddd7
MA
60012011-07-27 Michael Albinus <michael.albinus@gmx.de>
6002
6003 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6004 connection process, it could be nil.
6005
1ddd96f5
LL
60062011-07-27 Leo Liu <sdl.web@gmail.com>
6007
6008 Simplify url handling in rcirc-mode.
6009
6010 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6011 (rcirc-browse-url-at-mouse): Remove.
6012 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6013
b248a85d
AM
60142011-07-26 Alan Mackenzie <acm@muc.de>
6015
6016 Fontify bitfield declarations properly.
6017
6018 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6019 (c-symbol-chars): Now exported as a lang variable.
6020 (c-not-primitive-type-keywords): New lang variable.
6021
6022 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6023 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6024 parsed as a bitfield declaration.
b248a85d 6025
b796c9b7
SM
6026 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6027 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6028 (c-punctuation-in): New function.
6029 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6030 declarations properly.
6031
68575ab0
UJ
60322011-07-26 Ulf Jasper <ulf.jasper@web.de>
6033
6034 * calendar/icalendar.el (icalendar--all-events): Take care of
6035 multiple vcalendars in a single file.
b796c9b7 6036 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6037
0f0a88b9
DD
60382011-07-25 Deniz Dogan <deniz@dogan.se>
6039
6040 * image.el (insert-image): Clarifying docstring.
6041
0b3f36df
MA
60422011-07-24 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6045 `tramp-send-command-and-check' if there is no error.
6046 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6047
a9901f61
AM
60482011-07-22 Alan Mackenzie <acm@muc.de>
6049
6050 Prevent cc-langs.elc being loaded at run time.
6051
6052 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6053 cc-langs.
6054
4d61f28d 6055 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6056 "(require 'cc-langs)". Quote a form so it will evaluate at
6057 (cc-mode's) compilation time.
6058
11d074b2
MA
60592011-07-22 Michael Albinus <michael.albinus@gmx.de>
6060
6061 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6062 loading. (Bug#9114)
6063
938b94c8
MR
60642011-07-21 Martin Rudalics <rudalics@gmx.at>
6065
6066 * window.el (display-buffer-pop-up-window)
6067 (display-buffer-pop-up-side-window)
6068 (display-buffer-in-side-window): Call display-buffer-set-height
6069 and display-buffer-set-width after setting the new window's
b796c9b7 6070 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6071
bfa4f190
SS
60722011-07-20 Sam Steingold <sds@gnu.org>
6073
6074 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6075 (etags-tags-included-tables): Call `convert-standard-filename' on
6076 the file names contained in TAGS so that windows Emacs can handle
6077 TAGS files created by cygwin ctags.
6078
8ca42262
LMI
60792011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080
6081 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6082 which apparently didn't work.
6083
5db2afd2 60842011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6085
5db2afd2
RW
6086 * proced.el (proced-send-signal): For *Marked Processes* buffer
6087 put point at beginning of buffer.
6088
92e15d10
SB
60892011-07-19 Stephen Berman <stephen.berman@gmx.net>
6090
6091 * proced.el (proced-format): Make header lines align with the text
6092 (bug#1779).
6093
1bfd59e5
LMI
60942011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
6096 * view.el (view-buffer): Allow running in `special' modes if we're
6097 visiting a file (bug#8615).
6098
f5aae37c
MR
60992011-07-19 Martin Rudalics <rudalics@gmx.at>
6100
6101 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6102 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6103 New functions.
f5aae37c
MR
6104 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6105 more accurately.
6106
bf2c1571
AM
61072011-07-18 Alan Mackenzie <acm@muc.de>
6108
6109 Fontify declarators properly when, e.g., a jit-lock chunk begins
6110 inside a declaration.
6111
6112 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6113
b796c9b7
SM
6114 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6115 New function.
bf2c1571
AM
6116 (c-complex-decl-matchers): Insert reference to
6117 c-font-lock-enclosing-decls.
6118
6119 * progmodes/cc-engine.el (c-backward-single-comment):
6120 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6121 to nil around calls to (forward-comment -1).
6122
4e190b80
LMI
61232011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6124
12dc863d
LMI
6125 * image.el (put-image): Doc typo fix.
6126
a762e966
LMI
6127 * progmodes/etags.el (tags-search): Doc typo fix.
6128
4e190b80
LMI
6129 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6130 password if we get errors 550 to 554.
6131
f019fb21
LMI
61322011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6133
b796c9b7 6134 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6135
81746738
LMI
6136 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6137 indentation character (bug#6380).
6138
3ee3a1b5
LMI
6139 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6140
c82f64de
LMI
6141 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6142 to clarify what the problem is (bug#4291).
6143
f019fb21
LMI
6144 * simple.el (current-kill): Clarify what
6145 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6146 (auto-fill-mode): Document `auto-fill-function' in relation to
6147 `auto-fill-mode' (bug#2470).
f019fb21 6148
0794775d
LM
61492011-07-16 Lawrence Mitchell <wence@gmx.li>
6150
6151 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6152 method if slot is read-only (bug#9035).
6153
be39b8cc
MR
61542011-07-16 Martin Rudalics <rudalics@gmx.at>
6155
b796c9b7 6156 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6157 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6158 selected before, see discussion of (Bug#8615), (Bug#6954).
6159 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6160
6ccf7859
GM
61612011-07-15 Glenn Morris <rgm@gnu.org>
6162
6163 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6164 Respect help-form.
6ccf7859 6165
87e86684
LM
61662011-07-09 Lawrence Mitchell <wence@gmx.li>
6167
6168 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6169 (gnutls-negotiate): Use it.
6170
d6066239
LMI
61712011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6172
b796c9b7
SM
6173 * net/gnutls.el (gnutls-negotiate):
6174 Upcase `gnutls-algorithm-priority'.
d6066239 6175
bd23ebc0
GM
61762011-07-15 Glenn Morris <rgm@gnu.org>
6177
c65bca65
GM
6178 * jka-compr.el (jka-compr-verbose): Move from here...
6179 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6180 Add missing :version tag.
6181 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6182
478615cc
LMI
61832011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6184
7b41decb
LMI
6185 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6186 (gnutls-negotiate): Use it.
6187
dbc44fcd
LMI
6188 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6189
06789f97
LMI
6190 * info.el (Info-beginning-of-buffer): New command.
6191 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6192 announcing `b' as the key (bug#8325).
ab896c37 6193 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6194
c39da690
LMI
6195 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6196
3aa5f34b
LMI
6197 * international/mule-cmds.el
6198 (describe-specified-language-support): Make the error message
6199 clearer (bug#8905).
6200
4bf0979f
LMI
6201 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6202
478615cc
LMI
6203 * isearch.el (isearch-barrier): Add a doc string, since it's
6204 mentioned in a function doc string (bug#8678).
6205
75c68aa1
MR
62062011-07-15 Martin Rudalics <rudalics@gmx.at>
6207
6208 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6209 buffer argument (Bug#9083) and self-identifying label argument.
6210
a7c33da2
GM
62112011-07-15 Glenn Morris <rgm@gnu.org>
6212
6213 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6214
2f5c6024
LMI
62152011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6216
6217 * man.el (Man-fontify-manpage): Fix message when formatting the
6218 man page (bug#7929).
6219
0bb23927 62202011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6221
6222 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6223 argument LRM; if non-nil, append an invisible LRM character to the
6224 buffer name.
6225 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6226 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6227 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6228 paragraph direction.
cce4b0a7 6229
621ef9ab
LMI
62302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6231
d1583c48
LMI
6232 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6233 the man page name (bug#7929).
6234
6a57fb5f
LMI
6235 * image.el (put-image): Mention the `put-image' overlay property
6236 (bug#7834).
6237
d7956b14
LMI
6238 * scroll-bar.el (set-scroll-bar-mode): Mention that
6239 `scroll-bar-mode' lists the values (bug#7772).
6240
5b2d4a66
LMI
6241 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6242 command (bug#7729).
6243
7509a874
LMI
6244 * rect.el (apply-on-rectangle): Return the point after the last
6245 operation.
6246 (string-rectangle): Go to the point after the last operation
6247 (bug#7522).
6248
4fe74b19
LMI
6249 * printing.el (pr-toggle-region): Clarify the documentation
6250 slightly (bug#7493).
6251
b796c9b7
SM
6252 * time.el (display-time-update):
6253 Allow `display-time-mail-function' to return nil (bug#7158).
6254 Fix suggested by Detlev Zundel.
ab283561 6255
fc233c9d
LMI
6256 * vc/diff.el (diff): Clarify the order the file names are read
6257 (bug#7111).
6258
43f5740b
LMI
6259 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6260 the doc string (bug#7015).
6261
f2182a76
LMI
6262 * font-lock.el (font-lock-maximum-decoration): Mention what
6263 numeric levels mean (bug#6935).
6264
621ef9ab
LMI
6265 * startup.el (initial-buffer-choice): Don't mention the `none'
6266 selection, which is against policy.
6267
adc47434
MR
62682011-07-14 Martin Rudalics <rudalics@gmx.at>
6269
b796c9b7
SM
6270 * window.el (display-buffer-normalize-special):
6271 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6272
7e5bfb8f
EZ
62732011-07-14 Eli Zaretskii <eliz@gnu.org>
6274
6275 * subr.el (version<, version<=, version=): Mention "-CVS" and
6276 "-12345" alpha version numbers.
6277
27fa387a
CY
62782011-07-14 Chong Yidong <cyd@stupidchicken.com>
6279
6280 * bindings.el: Add advertised binding for set-mark-command
6281 (Bug#5772).
6282
8bdfa064
CY
62832011-07-14 Chong Yidong <cyd@stupidchicken.com>
6284
6285 * bindings.el (mode-line-other-buffer):
6286 * bookmark.el (bookmark-bmenu-2-window):
6287 * bs.el (bs-cycle-next, bs-cycle-previous):
6288 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6289 switch-to-buffer.
6290
6291 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6292 Delete.
8bdfa064 6293
5eba16a3
JB
62942011-07-14 Juanma Barranquero <lekktu@gmail.com>
6295
6296 * follow.el (follow-debug-message, follow-redisplay):
6297 * jka-cmpr-hook.el (with-auto-compression-mode):
6298 Fix typos in docstrings.
6299
15853710
LMI
63002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
a28e4607
LMI
6302 * subr.el (with-silent-modifications): Clarify somewhat what the
6303 macro inhibits (bug#6525).
6304
15853710
LMI
6305 * simple.el (eval-expression): Note what it does if called
6306 interactively (bug#6495).
6307
bee0fcef
CY
63082011-07-13 Chong Yidong <cyd@stupidchicken.com>
6309
b796c9b7
SM
6310 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6311 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6312
6313 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6314 Remove switch-to-buffer.
6315
58274504
LMI
63162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6317
bd2fcc8d
LMI
6318 * files.el (make-directory): Clarify that an error will be raised
6319 if there's an error (bug#6397).
6320
0f04b32c
LMI
6321 * startup.el (initial-buffer-choice): Add `none' as a choice
6322 (bug#6234).
6323
465c5fc8
LMI
6324 * subr.el (add-hook): Clarify section about buffer-local hooks
6325 (bug#6218).
6326
58274504
LMI
6327 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6328
bead9a43
JB
63292011-07-13 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * tabify.el (untabify): Preserve the current column so that point
6332 doesn't move (bug#6032).
6333
3af98a7b
LMI
63342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6335
b796c9b7
SM
6336 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6337 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6338
6240145a
GM
63392011-07-13 Glenn Morris <rgm@gnu.org>
6340
6341 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6342 (dired-insert-directory): Give a message the first time
6343 if ls is found not to support --dired.
6344
1d8c2ccc
LMI
63452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346
6347 * simple.el (toggle-truncate-lines): Clarify what is toggled
6348 (bug#5580). Text by Drew Adams.
6349
5fc4038e
CY
63502011-07-13 Chong Yidong <cyd@stupidchicken.com>
6351
6352 * simple.el (blink-matching-open): Make the error message from the
6353 last change less verbose.
6354
bf6012e5
DN
63552011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6356
6357 * font-lock.el (font-lock-comment-face): Use the high contrast
6358 "yellow" color for font-lock-comment-face on low color terminals
6359 using a dark background color (bug#4221).
6360
343c3b5a
LMI
63612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6362
7e9505c5
LMI
6363 * dired.el (dired-insert-set-properties): Make the doc string
6364 reflect what it does now (bug#5325).
6365
c26fdcf5
LMI
6366 * simple.el (blink-matching-open): Say that we were unable to find
6367 the match within the limit, if we're limited (bug#5122).
6368
bb388cc5
LMI
6369 * international/mule-cmds.el (prefer-coding-system): Add an
6370 example (bug#4869).
6371
343c3b5a
LMI
6372 * progmodes/etags.el (tags-search): Document `file-list-form'
6373 (bug#4731).
6374
2a517d45
LM
63752011-07-13 Lawrence Mitchell <wence@gmx.li>
6376
6377 * net/browse-url.el (browse-url-default-browser)
6378 (browse-url-browser-function): Make the default browser choice a
6379 bit more logical (bug#4300). Also clean up the doc string.
6380
b6c78ef2
JB
63812011-07-13 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6384 binary endings (bug#4440).
6385
1c4dd947
LMI
63862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6387
a2014063
LMI
6388 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6389 which can be pretty annoying (bug#8971).
6390
9c9c2d88
LMI
6391 * jka-compr.el (jka-compr-verbose): New variable, and use
6392 throughout (bug#8971).
6393
1c4dd947
LMI
6394 * info.el (Info-find-file): Fall back on the installation
6395 directory if we can't find the info node anywhere else.
6396
a1c9f41b
SO
63972011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6398
6399 * vc/vc.el (vc-revert-file):
6400 Don't set file time-stamp in the past. (Bug#5181)
6401
536f3d36
LMI
64022011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403
7152b011
LMI
6404 * files.el (after-find-file): Give a better error message when
6405 trying to find a symlink that points to a file that doesn't exist
6406 (bug#4398).
6407
536f3d36
LMI
6408 * progmodes/cc-vars.el: Remove (probably) misleading comment
6409 (bug#4396).
6410
460c0fba
JB
64112011-07-12 Johan Bockgård <bojohan@gnu.org>
6412
6413 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6414
7a6bda45
CY
64152011-07-12 Chong Yidong <cyd@stupidchicken.com>
6416
6417 * mouse-sel.el: Hack restoring functionality, while keeping
6418 compatibility with 2010-07-03 changes to mouse selection.
6419 (mouse-sel-primary-overlay): New var.
6420 (mouse-sel-selection-alist): Use it.
6421 (mouse-sel-mode): Doc fix; remove points that are default features
6422 of mouse.el.
6423
c79598ef
JB
64242011-07-12 Johan Bockgård <bojohan@gnu.org>
6425
6426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6427 Fix previous fix (bug#2490).
6428
ff8be6ef
RW
64292011-07-12 Roland Winkler <winkler@gnu.org>
6430
b796c9b7
SM
6431 * textmodes/bibtex.el (bibtex-initialize):
6432 Use pop-to-buffer-same-window.
ff8be6ef
RW
6433 (bibtex-search-entries): Fix interactive call.
6434
296ba3ee
LMI
64352011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6436
f5242a02 6437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6438 Fontise bytecomp Error lines more correctly (bug#2490).
6439 Fix suggested by Johan Bockgård.
f5242a02 6440
296ba3ee
LMI
6441 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6442
6443 * dired-x.el (dired-guess-default): Use `delete-dups'.
6444
f69fd0d2
CY
64452011-07-12 Chong Yidong <cyd@stupidchicken.com>
6446
6447 * dired.el (dired-mark-prompt):
6448 * dired-aux.el (dired-read-shell-command): Doc fix.
6449
eab5dc07
LMI
64502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6451
b796c9b7
SM
6452 * mail/sendmail.el (sendmail-query-once):
6453 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6454 emacs -Q.
6455
6456 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6457
eab5dc07
LMI
6458 * cus-edit.el (custom-file): Take an optional no-error variable.
6459 (customize-save-variable): Set the variable, and give a warning if
6460 running under "emacs -q".
6461
a1e65d42
JB
64622011-07-11 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * loadhist.el (unload-feature-special-hooks):
6465 Add `auto-coding-functions', `fill-nobreak-predicate' and
6466 `find-directory-functions' (bug#5327).
6467
1d52da10
LMI
64682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6469
be958f1d
LMI
6470 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6471
5bedb26c
LMI
6472 * cus-edit.el (custom-guess-name-alist): -alist variables should
6473 use the `alist' type (bug#3120). Suggested by Drew Adams.
6474
1d52da10
LMI
6475 * printing.el: Add documentation to all the `pr-toggle-' commands.
6476
cd394be1 64772011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6478
6479 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6480 backends where it makes sense (bug#2623).
6481
dcc88d8a
LMI
64822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6483
c3de9feb
LMI
6484 * dired-x.el (dired-guess-default): Remove duplicate shell command
6485 entries (bug#2028).
8a93078b 6486 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6487 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6488
dcc88d8a
LMI
6489 * subr.el (remove-duplicates): New conveniency function.
6490
505e3645
LMI
64912011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6492
6493 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6494 (bug#1526).
6495
64962011-07-10 Martin Rudalics <rudalics@gmx.at>
6497
6498 * window.el (display-buffer-normalize-default): Don't invert
6499 meaning of even-window-heights. Reported by Eli Zaretskii
6500 <eliz@gnu.org>.
6501
455e4fa1
BR
65022011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6503
6504 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6505
8e0bc3e9
CY
65062011-07-10 Chong Yidong <cyd@stupidchicken.com>
6507
6508 * window.el (display-buffer): Fix arguments to
6509 display-buffer-reuse-window in last change.
6510
fa7c3228
CY
6511 * faces.el (link): Use a less saturated blue on light backgrounds.
6512
6513 * startup.el (fancy-startup-text, fancy-about-text)
6514 (fancy-startup-tail): Use font-lock faces, for background safety.
6515
c0a7f300
BN
65162011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6517
b796c9b7
SM
6518 * emulation/viper-cmd.el (viper-change-state-to-vi):
6519 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6520
4dc2a129
MR
65212011-07-09 Martin Rudalics <rudalics@gmx.at>
6522
6523 * window.el (display-buffer-default-specifiers): Remove.
6524 (display-buffer-macro-specifiers): Remove default specifiers.
6525 (display-buffer-alist): Default to nil.
b796c9b7 6526 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6527 (display-buffer-pop-up-window): Allow splitting internal
6528 windows. Check whether a live window was created.
6529 (display-buffer-other-window-means-other-frame)
6530 (display-buffer-normalize-arguments): Rename to
6531 display-buffer-normalize-argument and rewrite. Set the
6532 other-window specifier.
6533 (display-buffer-normalize-special): New function.
6534 (display-buffer-normalize-options): Rename to
6535 display-buffer-normalize-default and rewrite.
6536 (display-buffer-normalize-options-inhibit): Remove.
6537 (display-buffer-normalize-specifiers): Rewrite.
6538 (display-buffer): Process other-window specifier and call
6539 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6540 more faithfully.
b796c9b7 6541 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6542 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6543 (display-buffer-in-window, display-buffer-alist-set):
6544 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6545 <tassilo@member.fsf.org>.
6546
2d43b8c9
LL
65472011-07-09 Leo Liu <sdl.web@gmail.com>
6548
6549 * register.el (insert-register): Restore accidental change on
6550 2011-06-26. (Bug#9028)
6551
7f9b7c53
GM
65522011-07-09 Glenn Morris <rgm@gnu.org>
6553
6554 * subr.el (remq): Handle the empty list. (Bug#9024)
6555
f042cfd8
AS
65562011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6557
6558 * mail/sendmail.el (send-mail-function): No longer delay custom
6559 initialization.
6560 * custom.el (custom-initialize-delay): Doc fix.
6561
856b2f11
SM
65622011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6565
afae1d68
MA
65662011-07-08 Michael Albinus <michael.albinus@gmx.de>
6567
6568 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6569 human-friendly prompt.
6570
0757af94
SM
65712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6574 provided by a particular plugin.
6575
d760b731
LMI
65762011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6577
6578 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6579 save customizations (with "emacs -Q"), just set the variable
6580 instead of erroring out.
6581
6582 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6583
cd79ce90
JL
65842011-07-08 Juri Linkov <juri@jurta.org>
6585
6586 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6587 (archive-zip-update-case): Use 7z if found by `executable-find'.
6588 The order of searching the available programs is the same as in
6589 `archive-zip-extract' (bug#8968).
6590
14cc04aa
CY
65912011-07-07 Chong Yidong <cyd@stupidchicken.com>
6592
6593 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6594 (menu-bar-options-menu): Tweak descriptions.
6595
0a1848ec
LMI
65962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6597
6598 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6599 menu items into verb phrases (bug#1421). Also refill to fit under
6600 80 columns.
6601
f5bd0689
CY
66022011-07-07 Chong Yidong <cyd@stupidchicken.com>
6603
538e85c6
CY
6604 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6605 (Info-read-node-name): Doc fix (Bug#1084).
6606
f5bd0689
CY
6607 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6608 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6609 (end-of-sexp, beginning-of-sexp)
6610 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6611 (forward-symbol, forward-same-syntax, word-at-point)
6612 (sentence-at-point): Doc fix (Bug#1144).
6613
56ec5115
LMI
66142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6615
f3f8e37f
LMI
6616 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6617 should cover it (bug#1281).
6618
0757af94 6619 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6620
e9fce1ac 6621 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6622 negotiation fails, then possibly try again with a non-encrypted
6623 connection (bug#9017).
6624
56ec5115
LMI
6625 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6626 be used.
6627
c2f9aec8
RS
66282011-07-07 Richard Stallman <rms@gnu.org>
6629
6630 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6631 property, and handle its changed format.
6632 Look for the correct line number.
6633 Use file's line contents (but not past first =) to find
6634 correct line in message.
6635
ef7b981d 66362011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6637
6638 * international/characters.el (build-unicode-category-table):
6639 Delete it.
0757af94 6640 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6641
0757af94 6642 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6643 to src/chartab.c.
6644 (get-char-code-property): Call unicode-property-table-internal to
6645 load a file. Call get-unicode-property-internal where necessary.
6646 (put-char-code-property): Call unicode-property-table-internal to
6647 load a file. Call put-unicode-property-internal where necessary.
6648 put-unicode-property-internal where necessary.
0757af94
SM
6649 (char-code-property-description):
6650 Call unicode-property-table-internal to load a file.
c805dec0
KH
6651
6652 * international/charprop.el:
6653 * international/uni-bidi.el:
6654 * international/uni-category.el:
6655 * international/uni-combining.el:
6656 * international/uni-comment.el:
6657 * international/uni-decimal.el:
6658 * international/uni-decomposition.el:
6659 * international/uni-digit.el:
6660 * international/uni-lowercase.el:
6661 * international/uni-mirrored.el:
6662 * international/uni-name.el:
6663 * international/uni-numeric.el:
6664 * international/uni-old-name.el:
6665 * international/uni-titlecase.el:
6666 * international/uni-uppercase.el: Regenerate.
6667
6668 * loadup.el: Load international/charprop.el before
6669 international/characters.
6670
e14b388a
CY
66712011-07-07 Chong Yidong <cyd@stupidchicken.com>
6672
6673 * window.el (next-buffer, previous-buffer): Signal an error if
6674 called from a minibuffer window.
6675
6676 * bindings.el: Revert 2011-07-04 change.
6677
354cf0ba
RS
66782011-07-06 Richard Stallman <rms@gnu.org>
6679
6680 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6681 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6682 Treat markers like ints.
6683 (rmail-mime-entity): Doc fix.
6684
a48868a7
LMI
66852011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6686
4906cd3d
LMI
6687 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6688 defcustom again for backwards compatibility.
6689
e0457abe
LMI
6690 * simple.el (shell-command-on-region): Fill.
6691
d67f7e1f
LMI
6692 * dired-aux.el (dired-kill-line): Add a doc string.
6693
fe204702
LMI
6694 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6695 to "\\sw\\|\\s_" (bug#358).
6696
a48868a7
LMI
6697 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6698 (dired-unmark-backward): Ditto.
6699 (dired-flag-backup-files): Ditto.
6700
6701 * dired-x.el (dired-mark-sexp): Ditto.
6702
aa8a705c
RS
67032011-07-06 Richard Stallman <rms@gnu.org>
6704
6705 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6706 (rmail-mime-entity): New arg TRUNCATED.
6707 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6708 New functions.
6709 (rmail-mime-save): Warn if entity is truncated.
6710 (rmail-mime-toggle-hidden): Likewise, for showing.
6711 (rmail-mime-process-multipart): Record when an entity is truncated.
6712
a9a936b9
RS
6713 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6714 if ENTITY is a string.
6715
1f2b92cb
LMI
67162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717
f4f73198 6718 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6719 of faces when `M-C-x'-ing their definitions (bug#8378).
6720 Also clean up the code slightly.
f4f73198 6721
12b16734 6722 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6723 because that makes the colors go away.
12b16734 6724
f0691d22
LMI
6725 * mail/sendmail.el (send-mail-function): Change the default to
6726 `sendmail-query-once'.
9e87df06 6727 (sendmail-query-once): Add an autoload cookie.
f0691d22 6728
1f2b92cb
LMI
6729 * net/network-stream.el (network-stream-open-starttls): Try using
6730 a plain connection even if the server offered STARTTLS, and we
6731 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6732 capability. This should make smtpmail.el work in slightly more
6733 configurations.
6734
1cdd2a1b
MA
67352011-07-06 Michael Albinus <michael.albinus@gmx.de>
6736
6737 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6738 New defun.
6739 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6740
fbcc67e2
MM
67412011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6742
6743 * progmodes/sql.el: Version 3.0
0757af94 6744 (sql-product-alist): Add product :completion-object,
fbcc67e2 6745 :completion-column, and :statement attributes.
0757af94 6746 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6747 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6748 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6749 ansi keywords.
6750 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6751 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6752 (sql-oracle-show-reserved-words): New function for development.
6753 (sql-product-font-lock): Simplify for source code buffers.
6754 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6755 New functions.
6756 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6757 (sql-mode-map): Add statement movement functions.
6758 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6759 New variable.
fbcc67e2
MM
6760 (sql-statement-regexp, sql-beginning-of-statement)
6761 (sql-end-of-statement, sql-signum): New functions.
0757af94 6762 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6763 (sql-show-sqli-buffer): Bug fix.
6764 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6765 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6766 with sql-interactive-mode.
6767 (sql-save-connection): Save buffer local settings.
0757af94 6768 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6769 (sql-product-interactive): Bug fix.
6770 (sql-preoutput-hold): New variable.
6771 (sql-interactive-remove-continuation-prompt): Bug fixes.
6772 (sql-debug-redirect): New variable.
6773 (sql-str-literal): New function.
6774 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6775 Redesign.
fbcc67e2
MM
6776 (sql-oracle-save-settings, sql-oracle-restore-settings)
6777 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6778 (sql-completion-object, sql-completion-column)
6779 (sql-completion-sqlbuf): New variables.
6780 (sql-build-completions-1, sql-build-completions)
6781 (sql-try-completion): New functions.
6782 (sql-read-table-name): Use them.
6783 (sql-contains-names): New buffer local variable.
6784 (sql-list-all, sql-list-table): Use it.
6785 (sql-oracle-completion-types): New variable.
6786 (sql-oracle-completion-object, sql-sqlite-completion-object)
6787 (sql-postgres-completion-object): New functions.
6788
d4eaeab1
GM
67892011-07-06 Glenn Morris <rgm@gnu.org>
6790
6791 * window.el (pop-to-buffer): Doc fix.
6792
322b7dab 67932011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6794
6795 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6796
322b7dab 67972011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6798
322b7dab 6799 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6800
322b7dab 6801 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6802
605dd5bf
CY
68032011-07-05 Chong Yidong <cyd@stupidchicken.com>
6804
6805 * button.el (button): Inherit from link face. Suggested by Dan
6806 Nicolaescu.
6807
7dbfa719
SM
68082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6809
3db614b0
SM
6810 * progmodes/gdb-mi.el: Fit in 80 columns.
6811 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6812 switch-to-buffer.
6813
7dbfa719
SM
6814 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6815 if imenu is simply not configured (bug#8941).
6816
919d884a
KM
68172011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6818
6819 * allout.el (allout-post-undo-hook): New allout outline-change
6820 event hook to signal undo activity.
6821 (allout-post-command-business): Run allout-post-undo-hook if an
6822 undo just occurred.
7dbfa719
SM
6823 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6824 * allout-widgets.el (allout-widgets-after-undo-function):
6825 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6826 in the vicinity of an undo.
6827 (allout-widgets-mode): Include allout-widgets-after-undo-function
6828 on the new allout-post-undo-hook.
6829
450a0f09
SM
68302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6833 Let define-derived-mode define it.
6834 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6835 cycles of abbrev-table inheritance (bug#8998).
6836
2de69e00
RW
68372011-07-05 Roland Winkler <winkler@gnu.org>
6838
6839 * textmodes/bibtex.el: Add support for biblatex.
6840 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6841 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6842 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6843 (bibtex-entry-alist, bibtex-field-alist): New variables.
6844 (bibtex-entry-field-alist): Obsolete alias for
6845 bibtex-BibTeX-entry-alist.
6846 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6847 (bibtex-set-dialect): New command.
6848 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6849 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6850 Bind via bibtex-set-dialect.
2de69e00
RW
6851 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6852 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6853 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6854 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6855 Define via bibtex-set-dialect.
450a0f09
SM
6856 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6857 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6858 (bibtex-vec-push, bibtex-vec-incr): New functions.
6859 (bibtex-format-entry, bibtex-field-list)
6860 (bibtex-print-help-message, bibtex-validate)
6861 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6862
2dcdbdd9
SM
68632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * progmodes/compile.el (compilation-goto-locus):
6866 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6867 * bs.el (bs-cycle-next, bs-cycle-previous):
6868 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6869 * bindings.el (mode-line-other-buffer):
6870 * autoinsert.el (auto-insert):
6871 * arc-mode.el (archive-extract):
6872 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6873
b27640fe
JB
68742011-07-05 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6877 Fix check of `emacs-lock-unlockable-modes'.
6878 Coerce true values of `emacs-lock--try-unlocking' to t.
6879
53bbe3ad
JB
68802011-07-05 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6883 * emacs-lock.el: New file.
6884
1d3cdbc7
JD
68852011-07-05 Julien Danjou <julien@danjou.info>
6886
6887 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6888 than `boundp' to check if face is set.
6889
9173deec
JB
68902011-07-05 Juanma Barranquero <lekktu@gmail.com>
6891
6892 * register.el (registerv-make):
6893 * window.el (window-min-height): Fix typos in docstrings.
6894
869795d6
JD
68952011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6896
9173deec 6897 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6898 Update doc string.
6899
b768cdcd
JB
69002011-07-04 Juanma Barranquero <lekktu@gmail.com>
6901
6902 * server.el (server-execute): Catch quit and call
6903 `server-return-error' to pass the error back to emacsclient and
6904 close the connection (bug#8942).
6905
13aa217b
KM
69062011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6907
6908 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6909 insecure exception for current topic. Also note that auto-saves
6910 are handled differently.
6911
6912 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6913 State variables for tracking auto-save inhibition situation.
6914
6915 (allout-write-contents-hook-handler): Rename from
6916 'allout-write-file-hook-handler', and describe how it depends on
6917 write-contents-functions sensitivity to non-nil value to prevent
6918 file write.
6919
6920 (allout-auto-save-hook-handler): Remove. auto-save does not check
6921 this in individual buffers, only in the starting buffer, so this
6922 is not the right way for us to inhibit auto-save in a buffer
6923 according to its condition.
6924
6925 (allout-mode): Use new allout-write-contents-hook-handler, and
6926 only with write-contents-functions. Remove auto-save provisions -
6927 they're implemented elsewhere.
6928
6929 (allout-before-change-handler): If undo is in progress, note that
6930 for attention of allout-post-command-business.
6931
6932 (allout-post-command-business): If the command we're following was
6933 an undo, check for change in the status of encrypted items and
6934 adjust auto-save inhibitions accordingly.
6935
6936 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6937 according to whether there are or aren't any plain-text topics
6938 pending encryption.
6939
2dcdbdd9 6940 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6941 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6942 if there are plain-text topics pending encryption.
13aa217b
KM
6943
6944 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6945 buffer-saved-size and some allout state to not inhibit auto-saves
6946 if there are no longer any plain-text topics pending encryption.
6947
0757af94
SM
6948 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6949 No longer provide for exemption of the current topic.
13aa217b 6950
ac89b32c
JL
69512011-07-04 Juri Linkov <juri@jurta.org>
6952
6953 Add 7z operations to delete and save changed members (bug#8968).
6954 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6955 New defcustoms.
6956 (archive-7z-write-file-member): New function.
6957 (archive-7z-summarize): Fix the number of dashes in the
6958 listing output.
6959
8fa39615
SM
69602011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6963 (bug#8958).
6964
2f11b3f1
CY
69652011-07-04 Chong Yidong <cyd@stupidchicken.com>
6966
d66fef2b
CY
6967 * bindings.el: Ignore next-buffer and previous-buffer in
6968 minibuffer-local-map.
6969
2f11b3f1
CY
6970 * font-lock.el (font-lock-builtin-face): Change light background
6971 color to dark slate blue (Bug#6693).
6972
f932a347
WD
69732011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6974
6975 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6976
c8af70e1
SM
69772011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6980 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6981 Add switch-to-buffer.
6982
f158badc
LMI
69832011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6984
6985 * isearch.el (isearch-search-fun-function): Clarify further the
6986 meaning of the function returned.
6987
6d95bd46
MA
69882011-07-04 Michael Albinus <michael.albinus@gmx.de>
6989
6990 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6991
6992 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6993 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6994 Use it.
6995 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6996 `tramp-default-remote-path' does not exist.
6997 (tramp-send-command-and-read): New optional argument NOERROR.
6998 (tramp-open-connection-setup-interactive-shell)
6999 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7000 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7001 (tramp-process-sentinel): Flush also process' connection property.
7002 (tramp-sh-handle-start-file-process): Do not set process
7003 sentinel. It is done now ...
7004 (tramp-maybe-open-connection): ... here. (Bug#8929)
7005
909e6b67
MK
70062011-07-04 MON KEY <monkey@sandpframing.com>
7007
7008 * play/animate.el (animate-string): Doc fixes and allow changing
7009 the buffer name (bug#5417).
7010
70112011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7012
c8af70e1 7013 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7014
f34755dc
PE
70152011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7016
396cec72
PE
7017 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7018 This is simpler and helps future-proof the code.
7019 (timer-until): Use time-subtract and float-time.
08235028 7020 (timer--time-less-p): Use time-less-p.
f34755dc 7021
56e6cc31
JB
70222011-07-04 Juanma Barranquero <lekktu@gmail.com>
7023
3abb79e5
JB
7024 * type-break.el (timep): Use the value of `float-time' to avoid a
7025 byte-compiler warning.
7026
56e6cc31
JB
7027 * server.el (server-eval-and-print): Return any result, even nil.
7028
7b9430b4
PE
70292011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7030
7031 * type-break.el: Accept time formats that the builtins accept.
7032 (timep, type-break-time-difference): Accept any format that
7033 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7034 This is simpler and helps future-proof the code.
7035 (type-break-time-difference): Round rather than ignoring
7036 subseconds components.
7037
3034e9e7
LMI
70382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7039
7040 * info.el (Info-apropos-matches): Make non-interactive, since it
7041 doesn't seem to do anything useful as a command (bug#8829).
7042
1485f4c0
CY
70432011-07-03 Chong Yidong <cyd@stupidchicken.com>
7044
7045 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7046 Move from faces.el.
1485f4c0
CY
7047 (frame-default-terminal-background): New function.
7048
7049 * custom.el (custom-push-theme): Don't record faces in `changed'
7050 theme; this doesn't work correctly for per-frame face settings.
7051 (disable-theme): Use face-set-after-frame-default to reset faces.
7052 (custom--frame-color-default): New function.
7053
9fa3dd45
LMI
70542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055
c8af70e1 7056 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7057 (bug#8769).
7058
6cbbc20c
KR
70592011-03-29 Kevin Ryde <user42@zip.com.au>
7060
7061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7062 `perl-Test2' extend to match possible "fail #N" rep count
7063 (bug#8377).
7064
c7f98048
LMI
70652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7066
65676592
LMI
7067 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7068 `smtpmail-via-smtp' now returns the error instead of nil.
7069
c7f98048
LMI
7070 * isearch.el (isearch-search-fun-function): Clarify the doc string
7071 (bug#8101).
7072
56e6cc31 70732011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7074
7075 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7076 unnecessary spaces (bug#8987).
7077
2b216704
LMI
70782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7079
7080 * net/network-stream.el (open-network-stream): Use the
7081 :end-of-capability command thoughout.
7082
70832011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7084
7085 * net/network-stream.el (open-network-stream): Add the
7086 :end-of-capability command parameter, used by pop3.el.
7087
36adf6ce
LMI
70882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7089
1ca0da0e
LMI
7090 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7091
fc00f69c
LMI
7092 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7093 for list)" (bug#6475).
7094
28fd8759 7095 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7096 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7097 an error (bug#6297).
7098
0dd8b6da
LMI
7099 * man.el (Man-reference-regexp): Allow matching possible
7100 word-wrapped references (bug#6289).
7101
ce1438d6
LMI
7102 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7103 for consistency with the other vc buffers (bug#6197).
7104 (vc-checkin): Ditto.
7105
7106 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7107
36adf6ce
LMI
7108 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7109
e83cc1f7
LMI
71102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7111
8a20ca4c
LMI
7112 * custom.el (defcustom): Clarify that :set is only used in the
7113 Customize user interface (bug#6089).
7114
83319045
LMI
7115 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7116 associated with a file, refuse to run instead of erroring out
7117 (bug#6084).
7118
a8392169
LMI
7119 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7120 the doc string, since it appears that using `fill-column' always
7121 controls the width (bug#7845).
7122
e83cc1f7
LMI
7123 * simple.el (shell-command-on-region): Say where the error output
7124 went if `shell-command-default-error-buffer' is set (bug#6857).
7125
e47ca23b
KM
71262011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7127
7128 * allout.el (allout-yank-processing): Adjust cursor position for
7129 backwards-deleted space.
7130
7131 (allout-rebullet-heading): Register changes with
7132 allout-exposure-changed-hook, so the modified topic is properly
7133 decorated.
7134
5cf56143
LMI
71352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7136
08549772
LMI
7137 * minibuffer.el (completion-in-region): Document PREDICATE
7138 (bug#7136).
7139
48e96771
LMI
7140 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7141 of keyword/argument pairs (bug#6904).
7142
c8af70e1
SM
7143 * replace.el (multi-occur):
7144 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7145
e17d05e2
LMI
71462011-07-02 Drew Adams <drew.adams@oracle.com>
7147
7148 * dired.el (dired-mark-if): Make the message about whether it's
7149 marking or unmarking clearer (bug#8523).
7150
063b0e45
LMI
71512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152
7153 * disp-table.el (display-table-print-array): New function.
7154 (describe-display-table): Use it to print the vectors more pretty
7155 (Bug#8859).
7156
28545e04
MR
71572011-07-02 Martin Rudalics <rudalics@gmx.at>
7158
7159 * window.el (window-state-get-1): Don't assign clone numbers.
7160 Add clone-of item to list of window parameters.
7161 (window-state-put-2): Don't process clone numbers.
7162 (display-buffer-alist): Fix doc-string.
7163
3349e122
SM
71642011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * subr.el (remq): Don't allocate if it's not needed.
7167 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7168 (keymap--merge-bindings): New functions.
7169 (keymap-canonicalize): Use them to refine the canonicalization.
7170 * minibuffer.el (minibuffer-local-completion-map)
7171 (minibuffer-local-must-match-map): Move initialization from C.
7172 (minibuffer-local-filename-completion-map): Move initialization from C;
7173 don't inherit from anything here.
7174 (minibuffer-local-filename-must-match-map): Make obsolete.
7175 (completing-read-default): Use make-composed-keymap to combine
7176 minibuffer-local-filename-completion-map with either
7177 minibuffer-local-must-match-map or
7178 minibuffer-local-filename-completion-map.
7179
d224ac83
GM
71802011-07-01 Glenn Morris <rgm@gnu.org>
7181
3de63bf8
GM
7182 * type-break.el (type-break-time-sum): Use dolist.
7183
d224ac83
GM
7184 * textmodes/flyspell.el (flyspell-word-search-backward):
7185 Replace CL function.
7186
1a1e3f32
SM
71872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7188
fe3f64d5
SM
7189 * mouse.el (mouse--strip-first-event): New function.
7190 (function-key-map): Use it to map fringe clicks to normal clicks
7191 by default.
7192
eb604e34
SM
7193 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7194 (vc-bzr-revision-completion-table): Add support for annotate and date.
7195
1a1e3f32
SM
7196 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7197 inherit from parent.
7198
5bd35902
LMI
71992011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200
ace6c69c 7201 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7202 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7203
191e2bed
LMI
7204 * dired.el (dired-mode): Fix up the doc string as suggested by
7205 Drew Adams (bug#8817).
7206
5bd35902
LMI
7207 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7208 cookie, since the manual says that it should be possible to add
7209 this function to `find-file-hook' (bug#8709).
7210
eee8207a
TZ
72112011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7212
7213 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7214 here. Noted Ted Zlatanov as the maintainer.
7215 (cfengine-common-settings, cfengine-common-syntax): New functions
7216 to set up common things between `cfengine-mode' and
7217 `cfengine3-mode'.
7218 (cfengine3-mode): New mode.
7219 (cfengine3-defuns cfengine3-defuns-regex
7220 (cfengine3-class-selector-regex cfengine3-category-regex)
7221 (cfengine3-vartypes cfengine3-font-lock-keywords)
7222 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7223 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7224
36b148cf
MA
72252011-07-01 Michael Albinus <michael.albinus@gmx.de>
7226
7227 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7228
7229 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7230
0bf4ba9a
MR
72312011-07-01 Martin Rudalics <rudalics@gmx.at>
7232
7233 * window.el (same-window-buffer-names, same-window-regexps)
7234 (same-window-p, special-display-frame-alist)
7235 (special-display-popup-frame, special-display-function)
7236 (special-display-buffer-names, special-display-regexps)
7237 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7238 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7239 (split-window-preferred-function, split-height-threshold)
7240 (split-width-threshold, even-window-heights)
7241 (display-buffer-mark-dedicated, window-splittable-p)
7242 (split-window-sensibly, window-safely-shrinkable-p):
7243 Un-obsolete.
7244 (display-buffer): Don't spread args with function specifier
7245 because special-display-popup-frame won't like it.
7246
35837f51
PE
72472011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7248
d0672f86
PE
7249 Time-stamp simplifications and fixes.
7250 These improve accuracy slightly, and future-proof the code
7251 against some potential changes to current-time format.
7252
b9444d97
PE
7253 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7254 by using time-since and float-time.
7255
0ef923dc
PE
7256 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7257 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7258 + NNN microseconds".
7259
2f81380d
PE
7260 * type-break.el (type-break-time-sum): Rewrite using time-add.
7261
845b5c3e
PE
7262 * play/hanoi.el (hanoi-current-time-float): Remove.
7263 All uses replaced by float-time.
7264
ee6f1be0
PE
7265 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7266 This yields a more-accurate answer.
7267 (rng-time-to-float): Remove; no longer needed.
7268
fe955043
PE
7269 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7270
5777162a
PE
7271 * calendar/timeclock.el (timeclock-seconds-to-time):
7272 Defalias to seconds-to-time, since they're the same thing.
7273
3103f8b6 7274 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7275 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7276 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7277
0e61a35f
SM
72782011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * window.el (bury-buffer): Don't iconify the only frame.
7281 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7282 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7283
ddd63a1e
CY
72842011-07-01 Chong Yidong <cyd@stupidchicken.com>
7285
0e61a35f
SM
7286 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7287 Add mouse-yank-primary.
ddd63a1e 7288
055f4923
TZ
72892011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7290
7291 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7292
6a2fb145
SM
72932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7296 (find-library-name): Use it to find relative load names when provided
7297 absolute file name (bug#8803).
7298
fd4983f2
LMI
72992011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
887d14ad
LMI
7301 * textmodes/flyspell.el (flyspell-word): Consider words that
7302 differ only in case as potential doublons (bug#5687).
7303
c53dc7fc
LMI
7304 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7305 Remove two rather uninteresting debugging-like messages to make
7306 debbugs.el more silent.
7307
fd4983f2
LMI
7308 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7309 a password-like phrase.
7310
7a71b18d 73112011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7312
7313 * progmodes/cc-guess.el: New file.
7314
6a2fb145 7315 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7316
7317 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7318 derived from `c-basic-common-init'.
7319
7320 * progmodes/cc-mode.el (top-level): Require cc-guess.
7321 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7322
1fa280a3
LM
73232011-06-30 Lawrence Mitchell <wence@gmx.li>
7324
7325 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7326
e6597158
AM
73272011-06-30 Alan Mackenzie <acm@muc.de>
7328
1fa280a3
LM
7329 * progmodes/cc-engine.el (c-guess-continued-construct):
7330 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7331 lock is disabled. Name this case as "CASE G".
7332
68ba37fb
KM
73332011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7334
7335 * allout.el (allout-yank-processing): Fix injection of extra space
7336 between bullet and non-whitespace character in first topic when
7337 pasting, ensuring that the actual spacing in the pasted topic
7338 following the bullet char is preserved. This extra space was
7339 causing pasted encrypted topics to get a decrypted status even
7340 when the content was actually still encrypted. Now the decryption
7341 status from before the paste is preserved.
7342
7343 (allout-flag-region): Set all allout overlays so they evaporate
7344 when reduced to zero length (evanescent), to prevent overlay
7345 leakage.
7346
887a0b34
GM
73472011-06-30 Glenn Morris <rgm@gnu.org>
7348
94b9acce
GM
7349 * w32-fns.el (w32-charset-info-alist): Declare.
7350
1d9b46d4
GM
7351 * find-dired.el (find-grep-options): Simplify.
7352
cc232200
GM
7353 * term/ns-win.el (ns-set-resource): Declare.
7354
28e77c46
GM
7355 * ses.el (row, col): Declare dynamic variables honestly.
7356
887a0b34
GM
7357 * textmodes/reftex-parse.el (index-tags): Declare.
7358
658d8eb8
CY
73592011-06-30 Chong Yidong <cyd@stupidchicken.com>
7360
7361 * cus-edit.el (customize-push-and-save): New function.
7362
7363 * files.el (hack-local-variables-confirm): Use it.
7364
1fa280a3
LM
7365 * custom.el (load-theme): New arg NO-CONFIRM.
7366 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7367 (custom-enabled-themes): Doc fix.
7368
7369 * cus-theme.el (customize-create-theme)
7370 (custom-theme-merge-theme): Callers to load-theme changed.
7371
bb617717
LMI
73722011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7373
d61bdd5d
LMI
7374 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7375 short URLs have at least one dot in them (bug #7614).
7376
bb617717
LMI
7377 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7378 nil, because using a pty is apparently too slow (bug #895).
7379
2f31f37a
LMI
73802011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7381
7382 * mail/sendmail.el (sendmail-query-once): New function.
7383 (sendmail-query-once-function): New variable.
7384
3076b24e
GM
73852011-06-29 Glenn Morris <rgm@gnu.org>
7386
faf2a174
GM
7387 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7388
3076b24e
GM
7389 * ses.el (top-level): Require cl when compiling.
7390 (ses-set-localvars): Fix error statement.
7391 Call it at compile time to silence a storm of warnings.
7392
5386012d
MR
73932011-06-29 Martin Rudalics <rudalics@gmx.at>
7394
7395 * window.el (normalize-live-buffer): Rename to
7396 window-normalize-buffer.
7397 (normalize-live-frame): Rename to window-normalize-frame.
7398 (normalize-any-window): Rename to window-normalize-any-window.
7399 (normalize-live-window): Rename to window-normalize-live-window.
7400 (make-window-atom): Rename to window-make-atom.
7401 (window-resize-reset): Rename to window--resize-reset.
7402 (window-resize-reset-1): Rename to window--resize-reset-1.
7403 (resize-mini-window): Rename to window--resize-mini-window.
7404 (resize-subwindows-skip-p): Rename to
7405 window--resize-subwindows-skip-p.
7406 (resize-subwindows-normal): Rename to
7407 window--resize-subwindows-normal.
7408 (resize-subwindows): Rename to window--resize-subwindows.
7409 (resize-other-windows): Rename to window--resize-siblings.
7410 (resize-this-window): Rename to window--resize-this-window.
7411 (resize-root-window): Rename to window--resize-root-window.
7412 (resize-root-window-vertically): Rename to
7413 window--resize-root-window-vertically.
7414 (normalize-buffer-to-display): Rename to
7415 window-normalize-buffer-to-display.
7416 (normalize-buffer-to-switch-to): Rename to
7417 window-normalize-buffer-to-switch-to.
7418 Correspondingly update all callers of the functions listed
7419 above.
7420 (display-buffer-alist, display-buffer-normalize-arguments)
7421 (display-buffer-normalize-options, display-buffer)
7422 (display-buffer-alist-set): Use "function" instead of
7423 "fun-with-args".
7424
1176868d
CY
74252011-06-28 Chong Yidong <cyd@stupidchicken.com>
7426
7427 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7428 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7429 debbugs.gnu.org. Mention acknowledgment email.
7430
20a7a65f
LMI
74312011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7432
7433 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7434 buffer multibyteness, since it shouldn't matter.
7435
5f45cca5
MR
74362011-06-28 Martin Rudalics <rudalics@gmx.at>
7437
7438 * window.el (display-buffer-in-side-window): Handle dedicated
7439 windows as in display-buffer-reuse-window.
7440 (display-buffer-normalize-alist): Use value of override
7441 specifier.
7442 (display-buffer-normalize-specifiers): Use value of
7443 other-window-means-other-frame specifier.
7444 (display-buffer-alist): Rewrite some texts in widgets.
7445 (display-buffer): Spread arguments when calling function
7446 specified by fun-with-args.
7447
ad85fe1f
DD
74482011-06-28 Deniz Dogan <deniz@dogan.se>
7449
1fa280a3
LM
7450 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7451 Unnest `let'.
da68c4c8 7452
ad85fe1f
DD
7453 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7454 selectors (Bug#5732).
ec49bd31 7455 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7456
a08cc025
JA
74572011-06-27 Jari Aalto <jari.aalto@cante.net>
7458
7459 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7460 (eshell-ls-date-format): New defcustom.
7461 (eshell-ls-file): Use it.
7462
e2b551c5
SM
74632011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7466
8982b231
KY
74672011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7468
7469 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7470 (ange-ftp-make-tmp-name): New arg.
7471 (ange-ftp-file-local-copy): Use it.
7472
36c9fa27
J
74732011-06-27 Jambunathan K <kjambunathan@gmail.com>
7474
7475 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7476 no-conversion (Bug#8870).
7477
d68443dc
MR
74782011-06-27 Martin Rudalics <rudalics@gmx.at>
7479
7480 * window.el (window-right, window-left, window-child)
7481 (window-child-count, window-last-child)
7482 (window-iso-combination-p, walk-window-tree-1)
7483 (window-atom-check-1, window-tree-1, delete-window)
7484 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7485 new naming conventions - window-vchild, window-hchild,
7486 window-next and window-prev are now called window-top-child,
7487 window-left-child, window-next-sibling and window-prev-sibling
7488 respectively.
d615d6d2
MR
7489 (resize-window-reset): Rename to window-resize-reset.
7490 (resize-window-reset-1): Rename to window-resize-reset-1.
7491 (resize-window): Rename to window-resize.
7492 (window-min-height, window-min-width)
7493 (resize-mini-window, resize-this-window, resize-root-window)
7494 (resize-root-window-vertically, adjust-window-trailing-edge)
7495 (enlarge-window, shrink-window, maximize-window)
7496 (minimize-window, delete-window, quit-restore-window)
7497 (split-window, balance-windows, balance-windows-area-adjust)
7498 (balance-windows-area, window-state-put-2)
7499 (display-buffer-even-window-sizes, display-buffer-set-height)
7500 (display-buffer-set-width, set-window-text-height)
7501 (fit-window-to-buffer): Rename all "resize-window" prefixed
7502 calls to use the "window-resize" prefix convention.
7503 (display-buffer-alist): Fix symbol for label specifier.
7504 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7505 corresponding specifier.
7506 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7507
b6458526
VB
75082011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7509
7510 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7511 convention.
7512 (ses-call-printer): Does not pass an empty string to formatter when the
7513 cell is empty to keep from barking printer Calc math-format-value.
7514
d31fd9ac
RS
75152011-06-27 Richard Stallman <rms@gnu.org>
7516
43d5bf84
RS
7517 * battery.el (battery-mode-line-limit): New variable.
7518 (battery-update): Handle it.
7519
d31fd9ac
RS
7520 * mail/rmailmm.el (rmail-mime-process-multipart):
7521 Handle truncated messages.
7522
819a6054
GM
75232011-06-27 Glenn Morris <rgm@gnu.org>
7524
7525 * progmodes/flymake.el (flymake-err-line-patterns):
7526 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7527
cedc73f2
VB
75282011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7529
819a6054 7530 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7531 (ses--clean-!, ses--clean-_): New functions.
7532 (ses-range): Add configurability of readout order, and conversion
7533 to Calc vector.
7534
5e5d49b6
VB
7535 * ses.el (ses-repair-cell-reference-all): New function.
7536 (ses-cell-symbol): Set macro as safe, so that it can be used in
7537 formulas.
7538
56e6cc31 7539 * ses.el: Update cycle detection algorithm.
90ca8b49 7540 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7541 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7542 (ses-set-localvars): New function.
7543 (ses-make-cell): Add property-list as a cell element.
7544 (ses-cell-property-get-fun, ses-cell-property-get)
7545 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7546 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7547 New functions.
90ca8b49
VB
7548 (ses-cell-property-set, ses-cell-property-pop)
7549 (ses-cell-property-get-handle): New macro.
7550 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7551 New aliases, used for code readability.
7552 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7553 cycle detection.
7554 (ses-self-reference-early-detection): New defcustom.
fac916bf 7555 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7556 (ses-mode): Use ses-set-localvars.
7557 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7558 before lauching the update processing.
7559 (ses-initialize-Dijkstra-attempt): New function.
7560 (ses-recalculate-cell): Update for cycle detection based on
7561 Dijkstra algorithm.
7562
2bb63e81
VB
7563 * ses.el: Fix commenting and indenting convention.
7564
c9d29fb8
SM
75652011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * bs.el (bs-cycle-next): Complete last change.
7568
d8e4b68b
JB
75692011-06-27 Drew Adams <drew.adams@oracle.com>
7570
7571 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7572
40098786
LMI
75732011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7574
c9d29fb8
SM
7575 * net/network-stream.el (network-stream-open-starttls):
7576 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7577 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7578
40098786
LMI
7579 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7580 to binary to possibly avoid line encoding issues on Windows (among
7581 other things).
7582
468d09d4
LMI
75832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7584
7585 * net/network-stream.el (open-network-stream): Return an :error
7586 saying what the problem was, if possible.
7587
7588 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7589 server.
7590
7591 * net/network-stream.el (network-stream-open-starttls): If we
7592 wanted to use STARTTLS, and the server offered it, but we weren't
7593 able to because we had no STARTTLS support, then close the connection.
7594 (open-network-stream): Return an :error element, if present.
7595
16f07dd7
CY
75962011-06-26 Chong Yidong <cyd@stupidchicken.com>
7597
88821ca0
CY
7598 * hl-line.el (hl-line-sticky-flag): Doc fix.
7599 (global-hl-line-sticky-flag): New option (Bug#8323).
7600 (global-hl-line-highlight): Obey it.
7601
16f07dd7
CY
7602 * vc/vc.el (vc-revert-show-diff): Default to t.
7603
6b5ccddf
KM
76042011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7605
c9d29fb8
SM
7606 * allout-widgets.el (allout-widgets-post-command-business):
7607 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7608 undecorated when an isearch is continued past, and isearch
7609 automatically collapses them. This leads to "widget leaks", where
7610 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7611 hidden widgets can slow down cursor travel, substantially.
7612 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7613 so we're doing without this nicety.
7614
7615 (allout-widgets-tally-string): Don't try to do a hash-table-count
7616 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7617 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7618 *Messages* when allout-widgets-maintain-tally is t.
7619
355f2e07
MR
76202011-06-26 Martin Rudalics <rudalics@gmx.at>
7621
7622 * window.el (display-buffer-normalize-argument): Rename to
7623 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7624 LABEL argument. Respect special-display-function when popping up
7625 a new frame. Fix code searching for a window showing the buffer
7626 on another frame.
c9d29fb8
SM
7627 (display-buffer-normalize-specifiers):
7628 Call display-buffer-normalize-arguments.
355f2e07
MR
7629 (display-buffer-in-window): Don't undedicate the window if its
7630 buffer remains the same.
7631 Reported by Drew Adams <drew.adams@oracle.com>.
7632 (display-buffer-alist): Add choice for same-window macro
7633 specfier.
7634 (display-buffer): Mention special meaning of LABEL argument in
7635 doc-string. Fix quoting. Don't pop up a new frame even as
7636 fallback.
7637
7ca8fc42
JB
76382011-06-26 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7641 avoid deleting the current window in some cases (bug#8911).
7642
bc312254
AS
76432011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7644
7645 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7646 (Bug#8934)
7647
2db18f3f
LMI
76482011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7649
c9d29fb8
SM
7650 * net/network-stream.el (network-stream-open-starttls):
7651 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7652 (network-stream-open-tls): Ditto.
7653
6302e0d3
LL
76542011-06-26 Leo Liu <sdl.web@gmail.com>
7655
7656 * register.el (registerv): New struct.
7657 (registerv-make): New function.
c9d29fb8
SM
7658 (jump-to-register, describe-register-1, insert-register):
7659 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7660 struct. (Bug#8415)
7661
5fdd4046
CY
76622011-06-26 Chong Yidong <cyd@stupidchicken.com>
7663
2afef60a
CY
7664 * vc/vc.el (vc-revert-show-diff): New defcustom.
7665 (vc-diff-internal): New arg specifying diff buffer.
7666 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7667 reuse an existing *vc-diff* buffer (Bug#8927).
7668
5fdd4046
CY
7669 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7670
e93db24a
GM
76712011-06-26 Glenn Morris <rgm@gnu.org>
7672
7673 * progmodes/f90.el (f90-critical-indent): New option.
7674 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7675 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7676 (f90-mode): Doc fix.
7677 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7678 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7679 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7680 (f90-match-end): Handle block, critical.
7681
eefff499
GM
76822011-06-25 Glenn Morris <rgm@gnu.org>
7683
f6ba4cc9
GM
7684 * calendar/diary-lib.el (diary-included-files): Doc fix.
7685 (diary-include-files): New function, extracted from
7686 diary-include-other-diary-files and diary-mark-included-diary-files.
7687 (diary-include-other-diary-files, diary-mark-included-diary-files):
7688 Just call diary-include-files.
7689 (diary-mark-entries): Reset diary-included-files on first call.
7690
16712304
GM
7691 * calendar/diary-lib.el (diary-mark-entries)
7692 (diary-mark-included-diary-files):
7693 Visit included diary-files in temp buffers.
7694
5d8e0d43
GM
7695 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7696 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7697 (f90-start-block-re, f90-imenu-generic-expression)
7698 (f90-looking-at-program-block-start, f90-no-block-limit):
7699 Add support for submodules.
7700
ccf7a5d5
GM
7701 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7702 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7703
11fdef7d 77042011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7705
7706 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7707 buffer-file-type before setting its value, to avoid disastrous
eefff499 7708 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7709
74f53697
JB
77102011-06-25 Juanma Barranquero <lekktu@gmail.com>
7711
7712 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7713
7714 * ses.el (ses-unload-function):
7715 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7716
7717 * proced.el (proced-unload-function):
7718 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7719
18a4ce5e
AR
77202011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7721
7722 * server.el (server-create-window-system-frame): Add parameters arg.
7723 (server-process-filter): Doc fix. Handle frame-parameters.
7724
519d22cc
JB
77252011-06-25 Juanma Barranquero <lekktu@gmail.com>
7726
7727 Fix bug#8730, bug#8781.
7728
7729 * loadhist.el (unload--set-major-mode): New function.
7730 (unload-feature): Use it.
7731
7732 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7733 (python-unload-function): New function.
7734
c206f5b0
SM
77352011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7738
f9ad64f3
GS
77392011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7740
7741 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7742 the candidates list.
7743
7d0da90e
JB
77442011-06-24 Juanma Barranquero <lekktu@gmail.com>
7745
7746 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7747
14b4e83d
RS
77482011-06-23 Richard Stallman <rms@gnu.org>
7749
7750 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7751 (rmail-variables): Set next-error-move-function.
7752 (rmail-what-message): Take argument POS.
7753 (rmail-next-error-move): New function.
7754
273d2baf
SM
77552011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7758 messages for adjacent non-terminals.
7759
56c2cc9a
RS
77602011-06-23 Richard Stallman <rms@gnu.org>
7761
7762 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7763 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7764 (rmail-start-mail): Don't specify use of rmail-mail-return;
7765 that's done by mail-bury now.
7766 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7767
d59eb518
MA
77682011-06-23 Michael Albinus <michael.albinus@gmx.de>
7769
7770 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7771 SIZE is a number.
7772
02cfc6d6
MR
77732011-06-23 Martin Rudalics <rudalics@gmx.at>
7774
7775 * window.el (get-lru-window, get-mru-window)
7776 (get-largest-window): Never return a minibuffer window.
7777 (display-buffer-pop-up-window): Fix a bug that could lead to
7778 reusing the minibuffer window.
7779 (display-buffer): Pass original specifier argument to
7780 display-buffer-function instead of the normalized one.
7781 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7782
4e323265
LL
77832011-06-22 Leo Liu <sdl.web@gmail.com>
7784
7785 * minibuffer.el (completing-read-function)
7786 (completing-read-default): Move from minibuf.c
7787
7a70468f
RS
77882011-06-22 Richard Stallman <rms@gnu.org>
7789
50718fc2
RS
7790 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7791 to Rmail even if not started by a special Rmail command.
7792
7a70468f
RS
7793 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7794 Copy the buffer currently showing just one message.
7795
297dde5a
RW
77962011-06-22 Roland Winkler <winkler@gnu.org>
7797
7798 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7799 (bibtex-clean-entry): First delete the old key so that a
7800 customized algorithm for generating the new key does not get
7801 confused by the old key.
7802 (bibtex-url): Obey regexp of first step.
7803 (bibtex-search-entries): Do not use add-to-list with local
7804 list-var.
7805
97bb1093
LMI
78062011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7807
7808 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7809 stored a user name, then query for the password first, instead of
7810 waiting for SMTP to give an error message and the trying again.
7811
1c0f1a19
JD
78122011-06-22 Lawrence Mitchell <wence@gmx.li>
7813
7814 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7815 BUFFER in call-process.
7816
396f7c9d
LMI
78172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7820 QUIT twice.
ddb7ffee
LMI
7821 (smtpmail-try-auth-methods): Require user name and password from
7822 auth-source.
396f7c9d 7823
8998d1b3
MR
78242011-06-22 Martin Rudalics <rudalics@gmx.at>
7825
7826 * window.el (display-buffer-default-specifiers)
7827 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7828 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7829 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7830
7831 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7832 (special-display-frame-alist, special-display-popup-frame):
7833 Remove duplicate declarations. These are now in window.el.
7834
4ea31e07
LMI
78352011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7836
c9d29fb8
SM
7837 * mail/smtpmail.el (smtpmail-via-smtp):
7838 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7839 server supports it. SMTP servers that support STARTTLS commonly
7840 require it.
7841
7842 * net/network-stream.el (network-stream-open-starttls): Support
7843 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7844 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7845
95f41d9a
LMI
7846 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7847 upgrades with `open-network-stream', and rely solely on
7848 auth-source for all credentials. Big changes throughout the file,
7849 but in particular:
c9d29fb8
SM
7850 (smtpmail-auth-credentials): Remove.
7851 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7852 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7853 MAIL FROM, too.
95f41d9a 7854
c9d29fb8
SM
7855 * net/network-stream.el (network-stream-open-starttls):
7856 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7857 STARTTLS.
7858 (auth-source): Require.
7859 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7860 (network-stream-certificate): Change cert-cert to cert and
7861 cert-key to key.
4ea31e07 7862
065ec2c7
MA
78632011-06-21 Michael Albinus <michael.albinus@gmx.de>
7864
7865 * net/tramp-cache.el (top): Don't load the persistency file when
7866 "emacs -Q" has been called.
7867
cd93b359
DR
78682011-06-21 Tim Harper <timcharper@gmail.com>
7869
d8e4b68b
JB
7870 * term/ns-win.el (ns-initialize-window-system):
7871 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7872 resource to NO as it is not yet supported by the NS port.
7873
ae9c0411
JB
78742011-06-21 Juanma Barranquero <lekktu@gmail.com>
7875
7876 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7877 (list-dynamic-libraries): ...not here.
7878
7f3f739f
LL
78792011-06-21 Leo Liu <sdl.web@gmail.com>
7880
7881 * subr.el (sha1): Implement sha1 using secure-hash.
7882
327c8fb1
MR
78832011-06-21 Martin Rudalics <rudalics@gmx.at>
7884
7885 * window.el (display-buffer-alist): In default value do not
7886 enforce searching a window on any but the selected frame.
7887 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7888 (display-buffer-select-window): Remove function.
7889 (display-buffer-in-window): When a window on another frame gets
7890 reused, do not select it any more but just raise its frame if
7891 necessary (Bug#8851) and (Bug#8856).
7892 (display-buffer-normalize-options): Handle pop-up-frames related
7893 options more faithfully.
7894 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7895 window if it is on another frame.
c9d29fb8
SM
7896 (display-buffer-alist, display-buffer-default-specifiers):
7897 Don't make new frame unsplittable by default.
9e9de014
MR
7898 (display-buffer-normalize-argument): Fix doc-string typo and use
7899 'same-frame-other-window instead of 'other-window when associating
7900 with display-buffer-macro-specifiers.
327c8fb1 7901
7cf3f556
VB
79022011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7903
7904 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7905 New functions.
7906 (5x5-mode-map, 5x5-mode-menu): Bind them.
7907 (5x5-draw-grid): Tweak the solver's rendering.
7908
60a406cf
SM
79092011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7912 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7913
d8e4b68b 79142011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7915
7916 * menu-bar.el: Use function variable instead of switch-to-buffer.
7917 (menu-bar-select-buffer-function): New variable.
60a406cf 7918 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7919
478d6f95
SM
79202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7923 variable's status.
7924
ca530739
JD
79252011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7926
7927 * x-dnd.el (x-dnd-version-from-flags)
7928 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7929 and long as number (Bug#8899).
7930 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7931
bcd70d97
SM
79322011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7933
60a406cf 7934 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7935 (completion-try-completion, completion-all-completions): Compute the
7936 metadata argument if it's missing; make it optional (bug#8795).
7937
60a406cf 7938 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7939 (widget-complete): Use new :completion-function property.
7940 (widget-completions-at-point): New function.
7941 (default): Use :completion-function instead of :complete.
60a406cf
SM
7942 (widget-default-completions): Rename from widget-default-complete;
7943 Rewrite.
bcd70d97
SM
7944 (widget-string-complete, widget-file-complete, widget-color-complete):
7945 Remove functions.
7946 (file, symbol, function, variable, coding-system, color):
7947 * international/mule-cmds.el (default-input-method, charset)
7948 (language-info-custom-alist):
7949 * cus-edit.el (face): Use new property :completions.
7950
7951 * progmodes/pascal.el (pascal-completions-at-point): New function.
7952 (pascal-mode): Use it.
7953 (pascal-mode-map): Use completion-at-point.
7954 (pascal-toggle-completions): Make obsolete.
7955 (pascal-complete-word, pascal-show-completions):
7956 * progmodes/octave-mod.el (octave-complete-symbol):
7957 Redefine as obsolete alias.
7958 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7959 Signal absence of completion info for old Octave,
7960 (inferior-octave-complete): Redefine as obsolete alias.
7961 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7962 (meta-completions-at-point): Rename from meta-complete-symbol and
7963 adapt it for use on completion-at-point-functions.
7964 (meta-common-mode): Use it.
7965 (meta-looking-at-backward, meta-match-buffer): Remove.
7966 (meta-complete-symbol): Redefine as obsolete alias.
7967 (meta-common-mode-map): Use completion-at-point.
7968 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7969 (makefile-mode-map): Use completion-at-point.
7970 (makefile-completions-at-point): Rename from makefile-complete and
7971 adapt it for use on completion-at-point-functions.
7972 (makefile-mode): Use it.
7973 (makefile-complete): Redefine as obsolete alias.
7974
aebf69c8
DD
79752011-06-20 Deniz Dogan <deniz@dogan.se>
7976
7977 * net/rcirc.el: Delete trailing whitespaces once and for all.
7978
bfbbb27d
DC
79792011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7980
7981 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7982
d264a46b
CY
79832011-06-19 Chong Yidong <cyd@stupidchicken.com>
7984
4ca009e5
CY
7985 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7986
d264a46b
CY
7987 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7988
fbf5b3ce
MR
79892011-06-19 Martin Rudalics <rudalics@gmx.at>
7990
7991 * window.el (display-buffer-other-window-means-other-frame):
7992 Call display-buffer-normalize-alist.
7993 (display-buffer-normalize-specifiers-1): Rename to
7994 display-buffer-normalize-argument. New argument other-frame.
7995 Rewrite.
7996 (display-buffer-normalize-specifiers-2): Rename to
7997 display-buffer-normalize-options.
7998 (display-buffer-normalize-alist-1): New function.
7999 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8000 display-buffer-normalize-alist.
8001 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8002 (display-buffer-normalize-options-inhibit): New variable.
8003 (display-buffer-normalize-specifiers): Rewrite calling
8004 display-buffer-normalize-alist,
8005 display-buffer-normalize-argument, and
8006 display-buffer-normalize-options. Don't call the latter if
8007 display-buffer-normalize-options-inhibit is non-nil.
8008 (frame-auto-delete): New option.
8009 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8010 (window-list-no-nils, window-state-ignored-parameters)
8011 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8012 (window-state-put-1, window-state-put-2, window-state-put):
8013 New functions.
9a028c23
MR
8014 (display-buffer-normalize-options): Move special-display-p group
8015 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8016
6d10d800
CY
80172011-06-18 Chong Yidong <cyd@stupidchicken.com>
8018
6420d28b
CY
8019 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8020 groups (Bug#8776).
8021 (rx-submatch-n): New function.
8022 (rx): Document it.
8023
ddb8b596
CY
8024 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8025 (Bug#8768).
8026
8027 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8028
77080289
CY
8029 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8030
61dfb316
CY
8031 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8032 anytime existing face settings are present (Bug#8889).
8033
6d10d800
CY
8034 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8035 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8036 Remove unused argument.
8037
be3fb2b8
MR
80382011-06-18 Martin Rudalics <rudalics@gmx.at>
8039
bcd70d97
SM
8040 * window.el (display-buffer-default-specifiers):
8041 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8042 pop-up-window-min-width, and another reuse-window specifier
8043 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8044 (display-buffer-normalize-specifiers-2):
8045 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8046 pop-up-windows is unset. Add a reuse-window specifier for the
8047 case popping up a new window fails.
8048 (special-display-popup-frame): Remove double quoting.
28dec25a 8049 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8050
1c6d8c76
SM
80512011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8054 according to comint-completion-addsuffix.
8055
8056 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8057 (pcomplete-suffix-list): Mark as obsolete.
8058 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8059 pcomplete-seen in the closure.
8060 (pcomplete-comint-setup): Setup completion-at-point as well.
8061 (pcomplete--entries): New function.
8062 (pcomplete--env-regexp): New var.
8063 (pcomplete-entries): Rewrite to work with partial-completion and
8064 without relying on pcomplete-suffix-list.
8065 (pcomplete-pare-list): Remove, unused.
8066
25aef8b8
MR
80672011-06-17 Martin Rudalics <rudalics@gmx.at>
8068
8069 * window.el (display-buffer-alist): Set pop-up-window-min-height
8070 and pop-up-window-min-width in default value. Reported by
8071 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8072 other-window-means-other-frame.
8073 (display-buffer-macro-specifiers): Comment out entry for
8074 other-window specifier.
8075 (display-buffer-other-window-means-other-frame): New function.
8076 (display-buffer-normalize-specifiers-1): New arguments
8077 buffer-name and label. Treat other-window case specially.
8078 (display-buffer-normalize-specifiers-2): Treat other-window case
8079 specially.
8080 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8081 (display-buffer-normalize-specifiers):
8082 Call display-buffer-normalize-specifiers-3.
25aef8b8 8083
dbad4f69
MR
80842011-06-17 Martin Rudalics <rudalics@gmx.at>
8085
8086 * window.el (same-window-p): Fix two typos introduced when
8087 adding with-no-warnings.
d1067961
MR
8088 (display-buffer-normalize-specifiers-1): Don't check
8089 pop-up-frames for 'unset initialization.
8090 (display-buffer-normalize-specifiers-2): Major rewrite using
8091 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8092 (pop-up-frames, display-buffer-reuse-frames)
8093 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8094 Suggested by David Engster <deng@randomsample.de>.
8095 (even-window-heights): Initialize to 'unset.
8096 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8097 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8098 other window case.
dbad4f69 8099
9b9c9e3a
MR
81002011-06-16 Martin Rudalics <rudalics@gmx.at>
8101
bcd70d97
SM
8102 * window.el (display-buffer-normalize-specifiers-1):
8103 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8104 second argument of display-buffer (Bug#8865).
981d5c09
MR
8105 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8106 (switch-to-buffer-other-window-same-frame)
8107 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8108 Adams (Bug#8875).
9c2755e9
MR
8109 (display-buffer): Don't check noninteractive when calling
8110 display-buffer-pop-up-frame.
8111 (display-buffer-pop-up-frame): Never pop up a frame in
8112 noninteractive mode (Bug#8857).
67222e1d
MR
8113 (enlarge-window, shrink-window): Don't report an error when the
8114 window can't be resized as requested (Bug#8862).
9b9c9e3a 8115
2b75be67
SM
81162011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8117
9ffdd3ba
SM
8118 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8119
cb581a67
SM
8120 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8121
2b75be67
SM
8122 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8123
8c0e3589
AM
81242011-06-15 Alan Mackenzie <acm@muc.de>
8125
cb581a67
SM
8126 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8127 for declarators, disable knr checking to speed up for normal files.
8128 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8129
b96e6cde
LMI
81302011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8131
4bba86e6
LMI
8132 * net/network-stream.el (open-network-stream): Add the keyword
8133 :always-query-capabilities for the case where you want to force a
8134 `plain' network connection, but the protocol still requires the
8135 capabilitiy command (i.e., SMTP and EHLO).
8136
2b75be67 8137 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8138 consistency with other `-live-p' functions.
8139
efdcdbf8
SM
81402011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * window.el (same-window-buffer-names, same-window-regexps)
8143 (special-display-frame-alist, special-display-popup-frame)
8144 (special-display-function, special-display-buffer-names)
8145 (special-display-regexps, pop-up-frame-alist)
8146 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8147 (pop-up-windows, split-window-preferred-function)
8148 (split-height-threshold, split-width-threshold, even-window-heights)
8149 (display-buffer-mark-dedicated): Don't encourage the use of
8150 display-buffer-alist from Elisp code.
8151
c5cde042
DN
81522011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8153
8154 * progmodes/python.el (python-mode): Derive from prog-mode.
8155 * progmodes/ps-mode.el (ps-mode):
8156 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8157 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8158 * progmodes/ld-script.el (ld-script-mode): Likewise.
8159
baa1c9ab
MR
81602011-06-15 Martin Rudalics <rudalics@gmx.at>
8161
8162 * window.el (display-buffer-alist): Trim default value to avoid
8163 popping up a new frame (Bug#8857) or reusing an arbitrary window
8164 on another frame.
8165 (display-buffer): Do not fall back on popping up a new frame in
8166 batch mode (Bug#8857).
8167
c5dd5a51
CY
81682011-06-14 Chong Yidong <cyd@stupidchicken.com>
8169
8170 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8171 (custom-theme-summary): New function.
8172 (customize-themes): Use it.
8173
d647b7c4
GM
81742011-06-13 Glenn Morris <rgm@gnu.org>
8175
8176 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8177
9481c002
MR
81782011-06-13 Martin Rudalics <rudalics@gmx.at>
8179
357f93d2
MR
8180 * help.el (help-window): Remove variable.
8181 (help-window-point-marker, temp-buffer-max-height)
8182 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8183 (help-print-return-message): Don't set help-window.
8184 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8185 (help-window-setup-finish): Remove.
8186 (help-window-display-message, help-window-setup)
8187 (with-help-window): Major rewrite based on new
8188 display-buffer-window variable.
8189
8190 * help-mode.el (help-mode-finish): Remove help-window related
8191 code.
8192
8193 * view.el (view-exits-all-viewing-windows): Remove reference to
8194 view-return-to-alist in doc-string.
8195 (view-return-to-alist): Make obsolete.
8196 (view-buffer): Call pop-to-buffer-same-window and remove
8197 undo-window code.
8198 (view-buffer-other-window): Call pop-to-buffer-other-window and
8199 simplify code. Ignore second argument.
8200 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8201 simplify code. Ignore second argument.
8202 (view-return-to-alist-update): Make obsolete.
8203 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8204 Rewrite using quit-restore window parameters.
2b75be67
SM
8205 (view-mode-exit): Rename second argument to EXIT-ONLY.
8206 Rewrite using quit-restore-window.
357f93d2
MR
8207 (View-exit, View-exit-and-edit, View-leave, View-quit)
8208 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8209 appropriate arguments.
8210 (view-end-message): Use quit-restore window parameter.
8211
9481c002
MR
8212 * window.el (display-buffer-function): Rewrite doc-string.
8213 (display-buffer-window, display-buffer-alist): New variables.
8214 (display-buffer-split-specifiers)
8215 (display-buffer-side-specifiers)
8216 (display-buffer-macro-specifiers): New constants.
8217 (display-buffer-even-window-sizes, display-buffer-set-height)
8218 (display-buffer-set-width, display-buffer-select-window)
8219 (display-buffer-in-window, display-buffer-reuse-window)
8220 (display-buffer-split-window-1, display-buffer-split-window)
8221 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8222 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8223 (display-buffer-in-side-window, normalize-buffer-to-display)
8224 (display-buffer-normalize-specifiers-1)
8225 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8226 (display-buffer-normalize-specifiers, display-buffer-frame):
8227 New functions.
9481c002
MR
8228 (display-buffer): Major rewrite.
8229 (display-buffer-other-window, display-buffer-other-frame)
8230 (pop-to-buffer, switch-to-buffer-other-window)
8231 (switch-to-buffer-other-frame): Rewrite.
8232 (display-buffer-same-window, display-buffer-same-frame)
8233 (display-buffer-same-frame-other-window)
8234 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8235 (pop-to-buffer-other-window)
8236 (pop-to-buffer-same-frame-other-window)
8237 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8238 (switch-to-buffer-other-window-same-frame): New functions.
8239 (same-window-p, special-display-p): Rewrite disabling warnings.
8240 Make obsolete.
8241 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8242 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8243 Make obsolete
8244 (same-window-buffer-names, same-window-regexps)
8245 (special-display-frame-alist, special-display-popup-frame)
8246 (special-display-function, special-display-buffer-names)
8247 (special-display-regexps, pop-up-frame-alist)
8248 (pop-up-frame-function, split-window-preferred-function)
8249 (split-height-threshold, split-width-threshold)
8250 (even-window-heights): Make obsolete.
8251
9db51aca
GM
82522011-06-12 Glenn Morris <rgm@gnu.org>
8253
8254 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8255 Misc simplifications.
9db51aca 8256
39cffb44
MR
82572011-06-12 Martin Rudalics <rudalics@gmx.at>
8258
8259 * window.el (window-safely-shrinkable-p): Restore function which
8260 was inadvertently removed in change from 2011-06-11. Declare as
8261 obsolete.
8262
2b75be67
SM
8263 * calendar/calendar.el (calendar-generate-window):
8264 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8265 window-safely-shrinkable-p.
8266
a8955be7
GM
82672011-06-12 Glenn Morris <rgm@gnu.org>
8268
8269 * progmodes/fortran.el (fortran-mode-syntax-table):
8270 * progmodes/f90.el (f90-mode-syntax-table):
8271 Set % to punctuation. (Bug#8820)
8272 (f90-find-tag-default): Remove, no longer needed.
8273
f0d4059d
DC
82742011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8275
8276 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8277
1100a63c
CY
82782011-06-11 Chong Yidong <cyd@stupidchicken.com>
8279
8280 * image.el (image-animated-p): Return animation delay in seconds.
8281 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8282 (image-animate-timeout): Remove DELAY argument. Don't assume
8283 every subimage has the same delay; get it from image-animated-p.
8284 (image-animate): Caller changed.
8285
def722bf
MA
82862011-06-11 Michael Albinus <michael.albinus@gmx.de>
8287
8288 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8289 to ignored backtrace functions.
8290
0a2bb1a9
GM
82912011-06-11 Glenn Morris <rgm@gnu.org>
8292
8293 * calendar/appt.el (appt-disp-window-function): Doc fix.
8294 (appt-check): Handle overlapping appointments. (Bug#8337)
8295
6198ccd0
MR
82962011-06-11 Martin Rudalics <rudalics@gmx.at>
8297
8298 * window.el (window-tree-1, window-tree): New functions, moving
8299 the latter to window.el.
8300 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8301 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8302 (bw-refresh-edges): Remove.
8303 (balance-windows-1, balance-windows-2): New functions.
8304 (balance-windows): Rewrite in terms of window tree functions,
8305 balance-windows-1 and balance-windows-2.
8306 (bw-adjust-window): Remove.
8307 (balance-windows-area-adjust): New function with functionality of
8308 bw-adjust-window but using resize-window.
2b75be67
SM
8309 (set-window-text-height): Rewrite doc-string.
8310 Use normalize-live-window and resize-window.
8311 (enlarge-window-horizontally, shrink-window-horizontally):
8312 Rename argument to DELTA.
6198ccd0
MR
8313 (window-buffer-height): New function.
8314 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8315 Rewrite using new window resize routines.
2b75be67
SM
8316 (kill-buffer-and-window, mouse-autoselect-window-select):
8317 Use ignore-errors instead of condition-case.
6198ccd0
MR
8318 (quit-window): Call delete-frame instead of delete-windows-on
8319 for the only buffer on frame.
8320
9397e56f
MR
83212011-06-10 Martin Rudalics <rudalics@gmx.at>
8322
8323 * loadup.el (top-level): Load window before files for the sake
8324 of replace-buffer-in-windows.
8325
8326 * files.el (read-buffer-to-switch)
8327 (switch-to-buffer-other-window)
2b75be67
SM
8328 (switch-to-buffer-other-frame, display-buffer-other-frame):
8329 Move to window.el.
9397e56f
MR
8330
8331 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8332 (previous-buffer): Move to window.el.
8333
8334 * bindings.el (unbury-buffer): Move to window.el.
8335
8336 * window.el (delete-other-windows-vertically): Move after
8337 definition of delete-other-windows.
8338 (other-window, delete-windows-on, replace-buffer-in-windows):
8339 Move here from window.c.
8340 (record-window-buffer, unrecord-window-buffer)
8341 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8342 (switch-to-next-buffer): New functions.
8343 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8344 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8345 (previous-buffer): Move here from simple.el.
8346 Call switch-to-prev-buffer.
9397e56f
MR
8347 (bury-buffer): Move here from buffer.c. Switch to previous
8348 buffer when window cannot be deleted.
8349 (unbury-buffer): Move here from bindings.el.
8350 (ctl-x-map): Move binding for other-window from window.c to
8351 here.
8352 (read-buffer-to-switch, switch-to-buffer-other-window)
8353 (switch-to-buffer-other-frame): Move here from files.el.
8354 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8355 (switch-to-buffer): Move here from buffer.c.
8356 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8357
562dd5e9
MR
83582011-06-10 Martin Rudalics <rudalics@gmx.at>
8359
8360 * window.el (window-min-height, window-min-width): Move here
8361 from window.c. Add defcustoms and rewrite doc-strings.
8362 (resize-mini-window, resize-window): New functions.
8363 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8364 Move here from window.c.
8365 (maximize-window, minimize-window): New functions.
8366 (delete-window, delete-other-windows, split-window): Move here
8367 from window.c.
8368 (window-split-min-size): New function.
8369 (split-window-keep-point): Mention split-window-above-each-other
8370 instead of split-window-vertically.
2b75be67 8371 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8372 Rename split-window-vertically to split-window-above-each-other
8373 and provide defalias for old definition.
8374 (split-window-side-by-side, split-window-horizontally):
8375 Rename split-window-horizontally to split-window-side-by-side
8376 and provide defalias for the old definition.
562dd5e9
MR
8377 (ctl-x-map): Move bindings for delete-window,
8378 delete-other-windows and enlarge-window here from window.c.
8379 Replace bindings for split-window-vertically and
8380 split-window-horizontally by bindings for
8381 split-window-above-each-other and split-window-side-by-side.
8382
8383 * cus-start.el (all): Remove entries for window-min-height and
8384 window-min-width. Add entries for window-splits and
8385 window-nest.
8386
f0da764a
GM
83872011-06-09 Glenn Morris <rgm@gnu.org>
8388
80675c21
GM
8389 * calendar/appt.el (appt-mode-line): New function.
8390 (appt-check, appt-disp-window): Use it.
8391
f0da764a
GM
8392 * files.el (hack-one-local-variable-eval-safep):
8393 Allow minor-modes with explicit +/-1 arguments.
8394
59f623b7
TZ
83952011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8396
8397 * term/xterm.el (xterm): Add defgroup.
8398 (xterm-extra-capabilities): Add defcustom to supply known xterm
8399 capabilities, skip querying them, or query them (default).
8400 (terminal-init-xterm): Use it.
8401 (terminal-init-xterm-modify-other-keys): New function to set up
8402 modifyOtherKeys support to simplify `terminal-init-xterm'.
8403
9aab8e0d
MR
84042011-06-09 Martin Rudalics <rudalics@gmx.at>
8405
8406 * window.el (resize-window-reset, resize-window-reset-1)
8407 (resize-subwindows-skip-p, resize-subwindows-normal)
8408 (resize-subwindows, resize-other-windows, resize-this-window)
8409 (resize-root-window, resize-root-window-vertically)
8410 (window-deletable-p, window-or-subwindow-p)
8411 (frame-root-window-p): New functions.
8412
e8b08aee
GM
84132011-06-09 Glenn Morris <rgm@gnu.org>
8414
8415 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8416 (ange-ftp-get-files): Use it.
8417
254c37a5
AK
84182011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8419
8420 * mail/sendmail.el (mail-recover-1, mail-recover):
8421 * files.el (recover-file, recover-session):
8422 Handle dired-listing-switches not being just a single short option.
8423
35d7dbd3
GM
84242011-06-09 Glenn Morris <rgm@gnu.org>
8425
8426 * calendar/appt.el (appt-display-message, appt-disp-window):
8427 Handle lists of appointments.
8428
387522b2
MR
84292011-06-08 Martin Rudalics <rudalics@gmx.at>
8430
2b75be67
SM
8431 * window.el (one-window-p): Move down in code.
8432 Rewrite doc-string.
8433 (window-current-scroll-bars): Rewrite doc-string.
8434 Normalize live window argument.
387522b2
MR
8435 (walk-windows, get-window-with-predicate, count-windows):
8436 Rewrite doc-string. Use window-list-1.
8437 (window-in-direction-2, window-in-direction, get-mru-window):
8438 New functions.
8439
d8e4b68b 84402011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8441
8442 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8443 Doc fix (Bug#8713).
8444
84452011-06-08 Chong Yidong <cyd@stupidchicken.com>
8446
8447 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8448
84492011-06-08 Juanma Barranquero <lekktu@gmail.com>
8450
8451 * loadhist.el (unload-feature-special-hooks):
8452 Add `comint-output-filter-functions'.
8453
0de12c52
IK
84542011-06-08 Ivan Kanis <gnu@kanis.fr>
8455
8456 * calendar/appt.el (appt-check): Move some initializations into the let.
8457
f3d1777e
MR
84582011-06-08 Martin Rudalics <rudalics@gmx.at>
8459
8460 * window.el (window-height): Defalias to window-total-height.
8461 (window-width): Defalias to window-body-width.
8462
18af70d0
CY
84632011-06-07 Chong Yidong <cyd@stupidchicken.com>
8464
8465 * image-mode.el (image-toggle-animation): New command.
8466 (image-mode-map): Bind it to RET.
8467 (image-mode): Update message.
8468 (image-toggle-display-image): Avoid a spurious cache flush.
8469 (image-transform-rotation): Doc fix.
8470 (image-transform-properties): Return quickly in the normal case.
8471 (image-animate-loop): Rename from image-animate-max-time.
8472
2b75be67 8473 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8474 (create-animated-image): Remove unnecessary function.
8475 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8476 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8477 (image-animate-timer): Use car-safe.
8478 (image-animate-timeout): Rename argument.
8479
190b47e6
MR
84802011-06-07 Martin Rudalics <rudalics@gmx.at>
8481
8482 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8483 window.c. Rename first argument to ALL-FRAMES.
8484 Rephrase doc-strings.
8485 (get-buffer-window-list): Rewrite using window-list-1.
8486 Rephrase doc-string.
a1511caf
MR
8487 (window-safe-min-height, window-safe-min-width): New constants.
8488 (window-size-ignore, window-min-size, window-min-size-1)
8489 (window-sizable, window-sizable-p, window-size-fixed-1)
8490 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8491 (window-max-delta-1, window-max-delta, window-resizable)
8492 (window-resizable-p, window-total-height, window-total-width)
8493 (window-body-width): New functions.
8494 (window-full-height-p, window-full-width-p): Rewrite using
8495 window-total-size.
8496 (window-body-height): Rewrite using window-body-size.
190b47e6 8497
85cc1f11
MR
84982011-06-06 Martin Rudalics <rudalics@gmx.at>
8499
8500 * window.el (window-right, window-left, window-child)
8501 (window-child-count, window-last-child, window-any-p)
8502 (normalize-live-buffer, normalize-live-frame)
8503 (normalize-any-window, normalize-live-window)
8504 (window-iso-combination-p, window-iso-combined-p)
8505 (window-iso-combinations)
8506 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8507 (windows-with-parameter, window-with-parameter)
8508 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8509 (window-atom-check, window-side-check, window-check):
8510 New functions.
85cc1f11
MR
8511 (ignore-window-parameters, window-sides, window-sides-vertical)
8512 (window-sides-slots): New variables.
8513 (window-size-fixed): Move down in code. Minor doc-string fix.
8514
e7156492
AS
85152011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8516
8517 * comint.el (comint-dynamic-complete-as-filename)
8518 (comint-dynamic-complete-filename): Correctly call
8519 completion-in-region.
8520
7e821d0d
DD
85212011-06-05 Deniz Dogan <deniz@dogan.se>
8522
8523 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8524 in last change.
8525
ac09b8a1
DD
85262011-06-05 Deniz Dogan <deniz@dogan.se>
8527
8528 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8529 (rcirc): Use it to prompt for encryption.
8530
34699b85
RW
85312011-06-05 Roland Winkler <winkler@gnu.org>
8532
8533 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8534 (bibtex-search-entries): New command bound to C-c C-a.
8535 (bibtex-display-entries): New function.
8536
004dedd3
RW
85372011-06-05 Roland Winkler <winkler@gnu.org>
8538
8539 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8540 (bibtex-insert-kill): After yanking insert newline if necessary.
8541 (bibtex-initialize): Call bibtex-string-files-init only once.
8542 (bibtex-mode): Do not call easy-menu-add.
8543 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8544 (bibtex-yank): Set arg properly if nil.
8545
022fe7ce
RW
85462011-06-05 Roland Winkler <winkler@gnu.org>
8547
2b75be67
SM
8548 * textmodes/bibtex.el (bibtex-search-entry-globally):
8549 New variable.
022fe7ce
RW
8550 (bibtex-search-entry): Use it.
8551
b7c3692a
RW
85522011-06-05 Roland Winkler <winkler@gnu.org>
8553
8554 * textmodes/bibtex.el (bibtex-entry-format): New option
8555 sort-fields.
8556 (bibtex-format-entry, bibtex-reformat): Honor this option.
8557 (bibtex-parse-entry): Return fields in proper order.
8558
8eda563d
JB
85592011-06-05 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * doc-view.el (doc-view-remove-if): Move computation of result out
8562 of `dolist' to silence misleading lexical-binding warning.
8563
7dbe3dbc
CY
85642011-06-04 Chong Yidong <cyd@stupidchicken.com>
8565
8566 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8567 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8568
0c33dd17
MA
85692011-06-04 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8572 "SunOS 5.10".
8573
f8f91c2b
MA
85742011-06-04 Michael Albinus <michael.albinus@gmx.de>
8575
8576 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8577 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8578 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8579 (tramp-parse-putty):
8580 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8581 (tramp-completion-function-alist-ssh)
8582 (tramp-completion-function-alist-telnet)
8583 (tramp-completion-function-alist-su)
8584 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8585 cookie.
8586
8587 * net/tramp-ftp.el:
8588 * net/tramp-sh.el:
8589 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8590 load "tramp.el" `tramp-set-completion-function'.
8591
e17d9003
SM
85922011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * shell.el: Require and use pcomplete.
8595 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8596 (shell-completion-vars): Set pcomplete-default-completion-function.
8597
6c4cab03
DD
85982011-06-04 Deniz Dogan <deniz@dogan.se>
8599
8600 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8601 `memq' (Bug#8799).
8602
ea9fafe0
SM
86032011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8606
b3e945d3
JB
86072011-06-02 Juanma Barranquero <lekktu@gmail.com>
8608
8609 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8610 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8611 * vc/log-view.el (log-view-beginning-of-defun):
8612 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8613 (smerge-refine-forward, smerge-refine-chopup-region):
8614 Silence warning for unused `dotimes' counter variables.
8615
7d520089
SM
86162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * net/tramp.el (tramp-with-progress-reporter): Rename from
8619 with-progress-reporter. Use `declare'.
8620 * net/tramp-smb.el:
8621 * net/tramp-sh.el:
8622 * net/tramp-gvfs.el: Update all uses.
8623
a1c2400f
JB
86242011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8625
8626 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8627 buffer isn't killed before making it current.
8628
2403c841
SM
86292011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 Silence various byte-compiler warnings.
8632 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8633 `access-type' and new obsolescence format.
8634 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8635 new format.
8636 (byte-compile-check-variable): New `access-type' argument.
8637 Only warn if the access-type is obsolete.
8638 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8639 (byte-compile-variable-set): Adjust callers.
8640 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8641 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8642 setting it as obsolete.
8643 * simple.el (minibuffer-completing-symbol):
8644 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8645 access as obsolete.
8646 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8647 obsolete yet.
8648 * international/quail.el (quail-mouse-choose-completion): Remove unused
8649 code referring to obsolete var.
8650 (quail-choose-completion-string): Remove.
8651 * server.el (server-clients-with, server-kill-buffer-query-function)
8652 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8653 * proced.el (proced-send-signal):
8654 * emacs-lisp/lisp.el (lisp-complete-symbol):
8655 Replace completion-annotate-function with completion-extra-properties.
8656
2462470b
SM
86572011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8658
fb5b2591
SM
8659 * simple.el (goto-line): Use read-number.
8660 (overriding-map-is-bound): Remove.
8661 (saved-overriding-map): Change default.
8662 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8663 Take the map as argument.
8664 (universal-argument, negative-argument, digit-argument): Use it.
8665 (restore-overriding-map): Adjust.
8666 (do-auto-fill): Use fill-forward-paragraph.
8667 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8668
fd6fa53f
SM
8669 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8670 (minibuffer-inactive-mode): New major mode.
8671 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8672 the *Messages* buffer" hack.
8673 (mouse-popup-menubar): Don't burp if the event is a normal key.
8674
2462470b
SM
8675 Miscellaneous tweaks.
8676 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8677 lexical scoping as in subr.el's dolist and dotimes.
8678 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8679 Silence compiler warning.
8680 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8681 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8682 * international/ccl.el (ccl-compile): Trivial simplification.
8683 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8684 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8685 `printflag' argument.
8686 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8687 Purecopy the whole obsolescence data.
8688
108bf785
LL
86892011-06-01 Leo Liu <sdl.web@gmail.com>
8690
8691 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8692 improve doc-string as suggested by Marco Pessotto
8693 <melmothx@gmail.com>.
8694 (rcirc-print): Fix last change.
8695
30a23501
SM
86962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * minibuffer.el (complete-with-action): Return nil for the metadata and
8699 boundaries of non-functional tables.
8700 (completion-table-dynamic): Return nil for the metadata.
8701 (completion-table-with-terminator): Add default case, using
8702 complete-with-action.
8703 (completion--metadata): New function.
8704 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8705 to try and avoid pathological performance problems.
8706 (completion--embedded-envvar-table): Return `category' metadata.
8707
bcd54f83
LMI
87082011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8709
8710 * subr.el (process-alive-p): New tiny convenience function.
8711
e227544d
SM
87122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8713
8714 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8715 content but also its previous major mode.
8716
e8296fdc
HE
87172011-05-31 Helmut Eller <eller.helmut@gmail.com>
8718
4d61f28d 8719 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8720 *Backtrace* buffer when we exit with C-M-c.
8721
620c53a6
SM
87222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * minibuffer.el: Add metadata method to completion tables.
8725 (completion-category-overrides): New defcustom.
8726 (completion-metadata, completion--field-metadata)
8727 (completion-metadata-get, completion--styles)
8728 (completion--cycle-threshold): New functions.
8729 (completion-try-completion, completion-all-completions):
8730 Add `metadata' argument to choose completion-styles.
8731 (completion--do-completion): Use metadata to choose cycling.
8732 (completion-all-sorted-completions): Use metadata for sorting.
8733 Remove :completion-cycle-penalty which is not needed any more.
8734 (completion--try-word-completion): Add `metadata' argument.
8735 (minibuffer-completion-help): Check metadata for annotation function
8736 and sorting.
8737 (completion-file-name-table): Return `category' metadata.
8738 (minibuffer-completing-file-name): Make obsolete.
8739 * simple.el (minibuffer-completing-symbol): Make obsolete.
8740 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8741 completion-try-completion.
8742
1257e755
SM
87432011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8746
3767e706
LL
87472011-05-30 Leo Liu <sdl.web@gmail.com>
8748
8749 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8750 (rcirc-print): Decode all incoming messages (bug#8744).
8751 (rcirc-decode-coding-system): Allow value nil for automatic coding
8752 system detection.
3767e706 8753
d1a5d56a
GM
87542011-06-01 Glenn Morris <rgm@gnu.org>
8755
8756 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8757
e8cbec34
CY
87582011-05-29 Chong Yidong <cyd@stupidchicken.com>
8759
8760 * image.el (image-animate-max-time): Allow nil and t values.
8761 Default to nil.
8762 (create-animated-image): Doc fix.
8763 (image-animate-start): Remove second arg; just use
8764 image-animate-max-time.
8765 (image-animate-timeout): Doc fix. Args changed.
8766
8767 * image-mode.el (image-toggle-display-image): Ensure that the
8768 image spec passed to the animate timer is the same object as in
58179cce 8769 the buffer's display property (Bug#6981).
e8cbec34
CY
8770 (image-transform-properties): Doc fix.
8771
8772 * image.el (image-animate-max-time): Default to nil.
8773
159daf87
MR
87742011-05-29 Martin Rudalics <rudalics@gmx.at>
8775
8776 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8777 entire buffer list (Bug#8184).
8778
d66c4c7c
CY
87792011-05-29 Chong Yidong <cyd@stupidchicken.com>
8780
8781 * image.el (imagemagick-types-inhibit)
8782 (imagemagick-register-types): Doc fix.
8783
80aec780
DD
87842011-05-29 Deniz Dogan <deniz@dogan.se>
8785
8786 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8787 default.
8788
1dd3c2d9
CY
87892011-05-29 Chong Yidong <cyd@stupidchicken.com>
8790
8791 * select.el: Don't perform clipboard-manager saving in hooks;
8792 leave the hooks empty.
8793
60e56523
LL
87942011-05-28 Leo Liu <sdl.web@gmail.com>
8795
8796 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8797 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8798 (occur-edit-mode): New major mode (Bug#8463).
8799 (occur-after-change-function): New function.
8800 (occur-engine): Give Occur tags a read-only property.
8801
2b1e1a22
KR
88022011-05-28 Kevin Ryde <user42@zip.com.au>
8803
8804 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8805
5d344e88
CY
88062011-05-28 Chong Yidong <cyd@stupidchicken.com>
8807
8e6ca83d
CY
8808 * bindings.el (help-echo): Make the initial non-indicator dash
8809 empty on graphical terminals (Bug#7295).
8810
5d344e88
CY
8811 * files.el (auto-mode-alist): Move config rule after the
8812 in-stripping one (Bug#8547).
8813
bfbbace7
CY
8814 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8815
fbeba6e2
CY
8816 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8817 setting (Bug#8740).
8818
60ed8c72
AA
88192011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8820
4ac619f0
AA
8821 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8822 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8823 (Bug#8539).
60ed8c72 8824
23db196e
CY
88252011-05-28 Chong Yidong <cyd@stupidchicken.com>
8826
8827 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8828
5012f24c
DK
88292011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8830
8831 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8832 (hs-hide-block-at-point, hs-find-block-beginning)
8833 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8834 (Bug#8279).
8835
6a639b16
GM
88362011-05-28 Glenn Morris <rgm@gnu.org>
8837
8838 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8839
d43eaf2c
CY
88402011-05-28 Chong Yidong <cyd@stupidchicken.com>
8841
5199bde1
CY
8842 * help-fns.el (describe-function-1): If the function is a derived
8843 major mode, print the parent mode.
8844
d43eaf2c
CY
8845 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8846 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8847
423428a8
SM
88482011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8849
0ff8e1ba 8850 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8851 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8852 * progmodes/etags.el (tags-completion-at-point-function):
8853 * info-look.el (info-lookup-completions-at-point): Mark as
8854 non-exclusive.
8855 (info-complete): Adjust accordingly.
8856
423428a8
SM
8857 * info-look.el: Convert to lexical-binding and completion-at-point.
8858 (info-lookup-completions-at-point): New function.
8859 (info-complete): Use it and completion-in-region.
8860
b74aa22b
DA
88612011-05-28 Drew Adams <drew.adams@oracle.com>
8862
8863 * isearch.el: Let M-e start with point at the first mismatched char.
8864 (isearch-fail-pos): New function.
8865 (isearch-edit-string): Use it.
8866
66e2e71d
DK
88672011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8868
8869 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8870
b1890b0f 88712011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8872
8873 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8874 traversal functions for avl-trees.
8875 (avl-tree--stack): New struct.
8876 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8877 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8878 (avl-tree--do-enter): Add optional `updatefun' arg.
8879 Change return value.
eb95d01d 8880 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8881 (avl-tree--do-delete): Add `test' and `nilflag' args.
8882 Change return value.
eb95d01d
TC
8883 (avl-tree-member): Add optional `nilflag'
8884 (avl-tree-member-p): New function.
8885 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8886 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8887 (avl-tree-stack-empty-p): New functions.
8888
3769ddcf
TC
8889 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8890 avl-tree--del-balance1 and make it work both ways.
8891 (avl-tree--del-balance2): Remove.
8892 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8893 make it work both ways.
8894 (avl-tree--enter-balance2): Remove.
8895 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8896 New macros.
8897 (avl-tree--mapc, avl-tree-map): Add direction argument.
8898
eb95d01d 88992011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8900
8901 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8902
a9f737ee
CY
89032011-05-27 Chong Yidong <cyd@stupidchicken.com>
8904
8905 * select.el: Support clipboard managers with built-in function
8906 x-clipboard-manager-save, via delete-frame-functions and
8907 kill-emacs-hook.
8908 (xselect-convert-to-targets): Add MULTIPLE target to list.
8909 (xselect-convert-to-save-targets): New function.
8910
c92a1e54
KH
89112011-05-27 Kenichi Handa <handa@m17n.org>
8912
8913 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8914 let-binding rfc2047-encode-encoded-words to nil.
8915
e145f188
GM
89162011-05-27 Glenn Morris <rgm@gnu.org>
8917
5ec8a862
GM
8918 * mail/emacsbug.el: Don't require url-util.
8919
4b29d9fb
GM
8920 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8921
e145f188
GM
8922 * files.el (set-auto-mode):
8923 Also respect mode: entries at the end of the file. (Bug#8586)
8924
7d15102b
GM
89252011-05-26 Glenn Morris <rgm@gnu.org>
8926
98f593b8
GM
8927 * files.el (hack-local-variables-prop-line, hack-local-variables):
8928 Downcase mode names, as seems to be traditional.
27b48e63 8929 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8930
7d15102b
GM
8931 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8932 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8933
51d5b4ec
JD
89342011-05-25 Julien Danjou <julien@danjou.info>
8935
8936 * textmodes/rst.el (rst-define-level-faces): Do not define face
8937 symbol if it is already defined.
8938
91513f63
VB
89392011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8940
8941 * play/5x5.el (5x5-new-game, 5x5-randomize):
8942 Reset 5x5-solver-output to nil when a new grid is cast.
8943 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8944 these debugging traces, as defmacro breaks the compiled code.
8945
4d90d6d0
DK
89462011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8947
8948 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8949
e1b90ef6
LL
89502011-05-24 Leo Liu <sdl.web@gmail.com>
8951
8952 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8953 (vc-bzr-sha1): Adapt.
8954
d8e4b68b 8955 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8956
8957 * bindings.el: Provide sha1 feature.
8958
db0406bb 89592011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8960
8961 * mail/sendmail.el: Require `rfc2047'.
8962 (mail-insert-from-field): Do not perform RFC2047 encoding.
8963 (mail-encode-header): New function.
8964 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8965 buffer to the return value of select-message-coding-system.
8966 Call mail-encode-header.
b8d747b9
KH
8967
8968 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8969
db0406bb 89702011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8971
4d90d6d0
DK
8972 * mail/supercite.el (sc-default-cite-frame):
8973 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8974
eb8a5e9b
GM
89752011-05-24 Glenn Morris <rgm@gnu.org>
8976
f8630703
GM
8977 * progmodes/python.el (brm-menu): Declare.
8978
8831bbed
GM
8979 * emulation/viper.el (viper-set-hooks): Declare.
8980
eb8a5e9b
GM
8981 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8982 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8983 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8984 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8985 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8986 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8987
a2a25d24
SM
89882011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 Add an :exit-function for completion-at-point.
8991
8992 * minibuffer.el (completion--done): New fun.
8993 (completion--do-completion): Use it. New arg `expect-exact'.
8994 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8995 since completion--do-completion does it for us now.
8996 (minibuffer-force-complete): Use completion--done and
8997 completion--replace. Handle sole-completion case with more care.
8998 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8999 (completion-extra-properties): New var.
9000 (completion-annotate-function): Make obsolete.
9001 (minibuffer-completion-help): Adjust accordingly.
9002 Use completion-list-insert-choice-function.
9003 (completion-at-point, completion-help-at-point):
9004 Bind completion-extra-properties.
9005 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9006 * simple.el (completion-list-insert-choice-function): New var.
9007 (completion-setup-function): Preserve it.
9008 (choose-completion): Pay attention to it, shuffle the code a bit.
9009 (choose-completion-string): New arg `insert-function'.
9010
9011 * textmodes/bibtex.el: Convert to lexical binding.
9012 (bibtex-mode-map): Use completion-at-point.
9013 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9014 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9015 (bibtex-complete): Define as obsolete alias.
9016 (bibtex-complete-internal): Remove.
9017 (bibtex-format-entry): Remove unused sub-group in regexp.
9018 * shell.el (shell--command-completion-data)
9019 (shell-environment-variable-completion):
9020 * pcomplete.el (pcomplete-completions-at-point):
9021 * comint.el (comint--complete-file-name-data): Use :exit-function
9022 instead of completion-table-with-terminator so it also works for
9023 choose-completion.
9024
e44e373d
SM
90252011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9026
4f91a816
SM
9027 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9028
782fc819
SM
9029 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9030 (bug#8710).
9031
e44e373d
SM
9032 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9033
381987c3
KM
90342011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9035
9036 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9037 customization variable and implement: If non-nil, auto-fill will
9038 be inhibited while on topic's header line.
9039
b776bc70
VB
90402011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9041
9042 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9043 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9044 always have a solution in grid size = 5 cases.
9045 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9046 (5x5-solver-output, 5x5-log-buffer): New vars.
9047 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9048 Make these variables buffer local to achieve 5x5 multi-session-ness.
9049 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9050 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9051 (5x5-solve-suggest): New funs.
9052 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9053 randomize a grid so that we ensure that there is always a solution.
9054 (5x5-make-random-grid): Allow other movement than flipping.
9055
7de88b6e
KR
90562011-05-23 Kevin Ryde <user42@zip.com.au>
9057
9058 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9059 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9060 advice and passes PREDICATE.
9061
b1ef1257
SM
90622011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9063
bbca48fe
SM
9064 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9065 byte-compile-lambda if it's actually a lambda.
9066
b1ef1257
SM
9067 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9068 Fix function quoting. Use backquote better.
9069
92a9cc65
YS
90702011-05-22 Yuanle Song <sylecn@gmail.com>
9071
9072 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9073 matching (Bug#8516).
9074
f0fb8059
JA
90752011-01-22 Jari Aalto <jari.aalto@cante.net>
9076
9077 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9078 different face (Bug#8178).
9079
d5b44c93
CY
90802011-05-22 Chong Yidong <cyd@stupidchicken.com>
9081
9082 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9083 defface (Bug#8144).
9084
79106a44
SM
90852011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9c848d8a
SM
9087 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9088 funcall as well (bug#8712). Warn when performing those conversions.
9089 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9090
79106a44
SM
9091 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9092
88dfa756
GM
90932011-05-22 Glenn Morris <rgm@gnu.org>
9094
9095 * files.el (hack-local-variables-prop-line): Small simplifications.
9096 (hack-local-variables, hack-local-variables-prop-line):
9097 If MODE-ONLY, return the mode, rather than just `t'.
9098
b7cf2c79
SM
90992011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9100
9101 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9102
3f1a8558
GM
91032011-05-21 Glenn Morris <rgm@gnu.org>
9104
7e4ccca3
GM
9105 * files.el (hack-local-variables-prop-line, hack-local-variables):
9106 If only interested in the mode, don't bother doing the other stuff.
9107
637d46ca
GM
9108 * image-mode.el (image-after-revert-hook):
9109 Redraw all frames on which the image is visible. (Bug#8567)
9110
973d955b
GM
9111 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9112
3f1a8558
GM
9113 * wid-edit.el (widget-checklist-match-inline):
9114 Fix 2011-04-19 change. (Bug#8649)
9115
96479927
SM
91162011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9117
1dcf791f
SM
9118 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9119 Also allow singlespace after single-letter capitals followed by a dot.
9120
96479927
SM
9121 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9122 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9123
35fd0881
N
91242011-05-20 Nix <nix@esperi.org.uk>
9125
9126 * files.el (basic-save-buffer-2):
9127 Fix handling of break-hardlink-on-save with non-existent files.
9128
82745640
DD
91292011-05-19 Deniz Dogan <deniz@dogan.se>
9130
9131 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9132 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9133
4a720484
GM
91342011-05-19 Glenn Morris <rgm@gnu.org>
9135
d1f21341
GM
9136 * progmodes/f90.el (f90-type-def-re):
9137 Handle "type, bind(c)". (Bug#8691)
9138
4a720484
GM
9139 * emacs-lisp/autoload.el (batch-update-autoloads):
9140 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9141
2fb0a219
MA
91422011-05-18 Michael Albinus <michael.albinus@gmx.de>
9143
9144 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9145 property for the correct connection in case of multihops.
9146
e565dd37
GM
91472011-05-18 Glenn Morris <rgm@gnu.org>
9148
c2571358 9149 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9150 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9151
e565dd37
GM
9152 Rationalize calendar handling of day and month abbrev-arrays.
9153 * calendar/calendar.el (calendar-customized-p): New function.
9154 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9155 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9156 Add :set function.
9157 (calendar-abbrev-length, calendar-day-abbrev-array)
9158 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9159 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9160 Elements may no longer be nil.
9161 (calendar-day-name, calendar-month-name):
9162 Update for changed nature of abbrev arrays.
9163 * calendar/diary-lib.el (diary-name-pattern):
9164 Update for changed nature of abbrev arrays.
9165 (diary-mark-entries-1): Update calendar-make-alist calls.
9166 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9167 * calendar/cal-html.el (cal-html-day-abbrev-array):
9168 Simply inherit from calendar-day-abbrev-array.
9169
1d99a745
SM
91702011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * progmodes/grep.el (grep-mode): Disable default
9173 compilation-directory-matcher setting (bug#8684).
9174
7c1d9aa0
MA
91752011-05-17 Michael Albinus <michael.albinus@gmx.de>
9176
9177 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9178 instead of "head" and "tail". There were problems with SunOS 5.9,
9179 and it performs better.
9180
3952e9d8
GM
91812011-05-17 Glenn Morris <rgm@gnu.org>
9182
2dd12e7f
GM
9183 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9184
e4157b9c
GM
9185 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9186 Replace obsolete function.
9187
8e249bbd
GM
9188 * shell.el (pcomplete-parse-arguments-function): Declare.
9189
3952e9d8
GM
9190 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9191 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9192 (appt-check): Doc fixes.
9193 (appt-disp-window-function, appt-delete-window-function):
9194 Remove needless special case in custom :type.
9195 (appt-display-count): Default to 0, not nil.
9196 (appt-check): Reset appt-display-count to 0, not nil.
9197
c71a0d48 91982011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9199
c71a0d48
GM
9200 * progmodes/python.el (python-font-lock-keywords):
9201 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9202
31d55be9
SM
92032011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9206
3bfacb2f
KR
92072011-05-16 Kevin Ryde <user42@zip.com.au>
9208
9209 * info-look.el (makefile-automake-mode): New setups, looking in
9210 automake manual, then makefile-mode.
9211 (makefile-mode): Remove automake manual, have it just in
9212 makefile-automake-mode since there's various things different or
9213 not relevant to plain make.
9214 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9215 believe a hypothetical automake-mode would go to makefile-mode,
9216 not the other way around.
9217
c8e83751
CY
92182011-05-15 Chong Yidong <cyd@stupidchicken.com>
9219
5e9e35cd
CY
9220 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9221 hunk-end tags (Bug#8672).
9222
c8e83751
CY
9223 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9224 vc-annotate-show-diff-revision-at-line (Bug#8671).
9225
50b23e5a
GM
92262011-05-14 Glenn Morris <rgm@gnu.org>
9227
7210a739
GM
9228 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9229 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9230 (change-log-font-lock-keywords): Also handle multiple author lines
9231 with leading tabs. (Bug#8644)
7210a739 9232
4691905a
GM
9233 * calendar/appt.el (appt-check): Rename some local variables.
9234 Some simplification/reordering.
9235
50b23e5a
GM
9236 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9237 (feedmail-sendmail-f-doesnt-sell-me-out)
9238 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9239 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9240 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9241 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9242 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9243 (feedmail-binmail-gnulinuxish-template):
9244 Rename from feedmail-binmail-linuxish-template.
9245 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9246 Use insert-buffer-substring.
9247
215cda7c
BC
92482011-05-14 Bill Carpenter <bill@carpenter.org>
9249
9250 * mail/feedmail.el (feedmail-patch-level): Increase.
9251 (feedmail-debug): New custom group.
9252 (feedmail-confirm-outgoing-timeout)
9253 (feedmail-sendmail-f-doesnt-sell-me-out)
9254 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9255 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9256 (feedmail-sender-line, feedmail-from-line)
9257 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9258 (feedmail-spray-this-address)
215cda7c
BC
9259 (feedmail-spray-address-fiddle-plex-list)
9260 (feedmail-queue-use-send-time-for-date)
9261 (feedmail-queue-use-send-time-for-message-id)
9262 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9263 (feedmail-buffer-eating-function):
9264 Doc fixes.
9265 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9266 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9267 (feedmail-message-action-scroll-down): New functions.
9268 (feedmail-queue-directory, feedmail-queue-draft-directory):
9269 Use expand-file-name.
9270 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9271 Remove C-v help entry.
9272 (feedmail-queue-buffer-file-name): New variable.
9273 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9274 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9275 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9276 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9277 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9278 (feedmail-message-action-toggle-spray)
9279 (feedmail-run-the-queue-no-prompts)
9280 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9281 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9282 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9283 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9284 (feedmail-envelope-deducer, feedmail-fiddle-from)
9285 (feedmail-fiddle-sender, feedmail-default-date-generator)
9286 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9287 (feedmail-fiddle-spray-address)
9288 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9289 (feedmail-fiddle-list-of-fiddle-plexes)
9290 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9291 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9292 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9293 Change default. Doc fix.
9294 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9295 (feedmail-binmail-linuxish-template): New constant.
9296 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9297 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9298 (feedmail-send-it): Add debug call.
9299 Use feedmail-queue-buffer-file-name, and
9300 feedmail-send-it-immediately-wrapper.
9301 (feedmail-message-action-send): Add debug call.
9302 Use feedmail-send-it-immediately-wrapper.
9303 (feedmail-queue-express-to-queue): Add debug call.
9304 Run feedmail-queue-express-hook.
9305 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9306 (feedmail-message-action-help-blat):
9307 Rename from feedmail-queue-send-edit-prompt-help-first.
9308 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9309 Check line-endings. Handle errors better.
9310 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9311 Doc fix. Add debug call.
9312 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9313 Use feedmail-queue-send-edit-prompt-inner.
9314 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9315 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9316 from feedmail-queue-send-edit-prompt.
9317 (feedmail-queue-send-edit-prompt-help)
9318 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9319 (feedmail-tidy-up-slug): Add debug call.
9320 Respect feedmail-queue-slug-suspect-regexp.
9321 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9322 (feedmail-dump-message-to-queue): Add debug call.
9323 Expand queue-directory.
9324 (feedmail-dump-message-to-queue): Change message slightly.
9325 Use feedmail-say-chatter.
9326 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9327 (feedmail-send-it-immediately-wrapper): New function.
9328 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9329 Insert empty string rather than newline. Handle full-frame case.
9330 Use catch/throw. Use feedmail-say-chatter.
9331 (feedmail-fiddle-from): Try mail-host-address.
9332 (feedmail-default-message-id-generator): Doc fix.
9333 Bind system-time-locale. Handle missing end.
9334 (feedmail-fiddle-x-mailer): Add debug call.
9335 Handle feedmail-x-mailer-line being nil.
9336 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9337 Add debug call. Use buffer-substring-no-properties.
9338 (feedmail-say-debug, feedmail-say-chatter): New functions.
9339 (feedmail-find-eoh): Give an explicit error.
9340
42c7e61e
UJ
93412011-05-13 Ulf Jasper <ulf.jasper@web.de>
9342
c2571358 9343 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9344 family from helvetica to sans.
c2571358 9345 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9346 etc/images/newsticker.
9347
c2571358 9348 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9349 family from helvetica to sans.
9350
9351 * net/newst-plainview.el (newsticker-new-item-face)
9352 (newsticker-old-item-face, newsticker-immortal-item-face)
9353 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9354 (newsticker-statistics-face): Change default family from
42c7e61e 9355 helvetica to sans.
c2571358 9356 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9357 etc/images/newsticker.
9358
9359 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9360 (newsticker--process-auto-mark-filter-match): : Tell user about
9361 auto-marking.
9362
8497a297
DV
93632011-05-13 Didier Verna <didier@xemacs.org>
9364
9365 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9366 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9367 TODO entries.
8497a297
DV
9368 (lisp-lambda-list-keyword-parameter-indentation)
9369 (lisp-lambda-list-keyword-parameter-alignment)
9370 (lisp-lambda-list-keyword-alignment): New customizable user options.
9371 (lisp-indent-defun-method): Improve docstring.
9372 (extended-loop-p): Fix comment.
9373 (lisp-indent-lambda-list-keywords-regexp): New variable.
9374 (lisp-indent-lambda-list): New function.
9375 (lisp-indent-259): Use it.
9376 (lisp-indent-defmethod): Support for more than one
9377 method qualifier and properly indent methods lambda-lists.
9378 (defgeneric): Provide a missing common-lisp-indent-function property.
9379
f278f87f
SM
93802011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9383 bounds for the empty string (bug#8667).
9384
5233edd7
GM
93852011-05-13 Glenn Morris <rgm@gnu.org>
9386
5237a44f
GM
9387 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9388
8340026c 9389 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9390 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9391
5233edd7 9392 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9393 (appt-time-msg-list): Doc fix.
a5464014 9394 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9395
92d10796
AS
93962011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9397
9398 * progmodes/ld-script.el (ld-script-keywords)
9399 (ld-script-builtins): Update keywords list.
9400
914a0ae1
SM
94012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9402
c89be45f
SM
9403 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9404
914a0ae1
SM
9405 * shell.el (shell-completion-vars): New function.
9406 (shell-mode):
9407 * simple.el (read-shell-command): Use it.
9408 (blink-matching-open): No need for " [...]" in minibuffer-message.
9409
98dc3df3
GM
94102011-05-12 Glenn Morris <rgm@gnu.org>
9411
9412 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9413 (appt-check): Simplify.
9414
d2fc7e3d 94152011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9416
4d61f28d 9417 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9418 literal "/dev/null".
9419
d2fc7e3d 94202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9421
9422 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9423 Fix typo.
9424
d2fc7e3d 94252011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9426
3f254caa
SM
9427 * progmodes/which-func.el (which-function):
9428 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9429 which might not be defined (Bug#8260).
9430
d45885f7
GM
94312011-05-12 Glenn Morris <rgm@gnu.org>
9432
9433 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9434 Let byte-compile-initial-macro-environment always take precedence.
9435
488086f4
SM
94362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * net/rcirc.el: Add support for SSL/TLS connections.
9439 (rcirc-server-alist): New field `encryption'.
9440 (rcirc): Check `encryption' settings.
9441 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9442 Merge make-local-variable into `set'.
9443 (rcirc--connection-open-p): New function.
9444 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9445 the process is not a network process (e.g. running gnutls-cli).
9446 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9447 Make rcirc-(en|de)code-coding-system local here.
9448 (rcirc-mode): Merge make-local-variable into `set'.
9449 (rcirc-parent-buffer): Make permanent buffer-local.
9450 (rcirc-multiline-minor-mode): Don't do it here.
9451 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9452 there's no server buffer.
9453
7d3b9d44
GM
94542011-05-11 Glenn Morris <rgm@gnu.org>
9455
f64049c6
GM
9456 * newcomment.el (comment-kill): Prefix "unused" local.
9457
93c9df73
GM
9458 * term/w32console.el (get-screen-color): Declare.
9459
7d3b9d44
GM
9460 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9461 Handle symbol elements of byte-compile-initial-macro-environment.
9462
9e2dd53f
LL
94632011-05-10 Leo Liu <sdl.web@gmail.com>
9464
488086f4
SM
9465 * bookmark.el (bookmark-bmenu-mode-map):
9466 Bind bookmark-bmenu-search to `/'.
8b340240 9467
9e2dd53f 9468 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9469 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9470 (Footnote-unicode): New function.
9471 (footnote-style-alist): Add unicode style to the list.
9472 (footnote-style): Doc fix.
9e2dd53f 9473
79b70037
GM
94742011-05-10 Jim Meyering <meyering@redhat.com>
9475
9476 Fix doubled-word typos.
9477 * international/quail.el (quail-insert-kbd-layout): and and -> and
9478 * kermit.el: and and -> and
9479 * net/ldap.el (ldap-search-internal): to to -> to
9480 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9481 * progmodes/js.el (js-mode): and and -> and
9482 * textmodes/artist.el (artist-move-to-xy): at at -> at
9483 (artist-draw-region-trim-line-endings): if if -> if
9484 And Safetyc -> Safety.
9485 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9486
b8f82dc1 94872011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9488 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9489
9490 * files.el (hack-one-local-variable-eval-safep):
9491 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9492
4f99f44b
GM
94932011-05-10 Glenn Morris <rgm@gnu.org>
9494
9495 * calendar/diary-lib.el (diary-list-entries-hook)
9496 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9497 (diary-nongregorian-marking-hook, diary-list-entries)
9498 (diary-include-other-diary-files, diary-mark-entries)
9499 (diary-mark-included-diary-files): Doc fixes.
9500
84f29e6b
JB
95012011-05-09 Juanma Barranquero <lekktu@gmail.com>
9502
9503 * misc.el: Require tabulated-list.el during compilation.
9504
9bedd73a
CY
95052011-05-09 Chong Yidong <cyd@stupidchicken.com>
9506
488086f4
SM
9507 * progmodes/compile.el (compilation-start):
9508 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9509 (compilation-filter-hook): Doc fix.
9510
797c735c
DD
95112011-05-09 Deniz Dogan <deniz@dogan.se>
9512
9513 * wdired.el: Remove outdated installation comment. Fix usage
9514 comment.
9515
5f4b1dfe
JB
95162011-05-09 Juanma Barranquero <lekktu@gmail.com>
9517
9518 * misc.el: Implement new command `list-dynamic-libraries'.
9519 (list-dynamic-libraries--loaded-only-p): New variable.
9520 (list-dynamic-libraries--refresh): New function.
9521 (list-dynamic-libraries): New command.
9522
4c44026c
CY
95232011-05-09 Chong Yidong <cyd@stupidchicken.com>
9524
488086f4
SM
9525 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9526 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9527 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9528 higher priority to avoid clobbering by gnu.
9529
027f966d
CY
95302011-05-08 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9533 if the face has existing theme settings (Bug#8454).
9534
085f5d7d
CY
95352011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9536
488086f4
SM
9537 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9538 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9539
2a86a00c
RS
9540 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9541 special file names `.' and `..' (Bug#8259).
9542
d9c54a06
CY
95432011-05-08 Chong Yidong <cyd@stupidchicken.com>
9544
488086f4
SM
9545 * progmodes/grep.el (grep-mode-font-lock-keywords):
9546 Remove buffer-changing entries.
d9c54a06
CY
9547 (grep-filter): New function.
9548 (grep-mode): Add it to compilation-filter-hook.
9549
9550 * progmodes/compile.el (compilation-filter-hook)
9551 (compilation-filter-start): New defvars.
9552 (compilation-filter): Call compilation-filter-hook prior to
9553 updating the process mark.
9554
c4662635
SM
95552011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9558
b0512a1d
EZ
95592011-05-07 Eli Zaretskii <eliz@gnu.org>
9560
605c9376
EZ
9561 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9562 mailclient-send-it even if window-system is nil. (Bug#8595)
9563
c4662635
SM
9564 * term/w32console.el (terminal-init-w32console):
9565 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9566 background-mode. (Bug#8597)
9567
d1dc2cc2
SM
95682011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9571 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9572 New functions.
9573 (defgeneric, eieio--defmethod): Use them.
9574 (eieio-defgeneric): Remove.
9575 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9576
915d1300
GM
95772011-05-07 Glenn Morris <rgm@gnu.org>
9578
a3961c3e
GM
9579 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9580 Use let rather than let*.
9581 (timeclock-find-discrep): Remove unused local.
9582
314347b9
GM
9583 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9584
915d1300
GM
9585 * calendar/appt.el (appt-time-msg-list): Doc fix.
9586
275b59b0
NF
95872011-05-06 Noah Friedman <friedman@splode.com>
9588
9589 * apropos.el (apropos-print-doc): Only use
9590 emacs-lisp-docstring-fill-column when it is bound to an integer,
9591 per that variable's documentation.
9592
6c19f744
SM
95932011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9596 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9597
60f884b2
GM
95982011-05-06 Glenn Morris <rgm@gnu.org>
9599
5006e634
GM
9600 * calendar/appt.el (appt-message-warning-time): Doc fix.
9601 (appt-warning-time-regexp): New option.
9602 (appt-make-list): Respect appt-message-warning-time.
9603
548d0a63
GM
9604 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9605 New options.
9606 (diary-add-to-list): Strip comments from the displayed string.
9607 (diary-mode): Set comment-start and comment-end.
9608
60f884b2
GM
9609 * vc/diff-mode.el (smerge-refine-subst): Declare.
9610 (diff-refine-hunk): Don't require smerge-mode when compiling.
9611
989681bb
JB
96122011-05-06 Juanma Barranquero <lekktu@gmail.com>
9613
9614 * simple.el (list-processes): Return nil as the docstring says.
9615
a6bc05e1
MA
96162011-05-05 Michael Albinus <michael.albinus@gmx.de>
9617
9618 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9619 to "".
9620 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9621 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9622 determining of binary transfer. (Bug#7383)
9623
23c22e9a
MA
96242011-05-05 Michael Albinus <michael.albinus@gmx.de>
9625
c4662635
SM
9626 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9627 Fix port computation bug. (Bug#8618)
23c22e9a 9628
0bff894f
GM
96292011-05-05 Glenn Morris <rgm@gnu.org>
9630
b8296902
GM
9631 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9632
1f522ce8
GM
9633 * simple.el (shell-dynamic-complete-functions)
9634 (comint-dynamic-complete-functions): Declare.
9635
cf5bee67
GM
9636 * net/network-stream.el (gnutls-negotiate):
9637 * simple.el (tabulated-list-print): Fix declarations.
9638
9639 * progmodes/gud.el (syntax-symbol, syntax-point):
9640 Remove unnecessary and incorrect declarations.
9641
0bff894f
GM
9642 * emacs-lisp/check-declare.el (check-declare-scan):
9643 Handle byte-compile-initial-macro-environment in bytecomp.el
9644
9869b3ae
SM
96452011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 Fix earlier half-done eieio-defmethod change (bug#8338).
9648 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9649 Streamline and change calling convention.
9650 (defmethod): Adjust accordingly and simplify.
9651 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9652 new eieio--defmethod.
9653 (slot-boundp): Minor CSE simplification.
9654
9c1d5ac5
MZ
96552011-05-05 Milan Zamazal <pdm@zamazal.org>
9656
9657 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9658 (glasses-make-readable): Use glasses-separate-capital-groups.
9659
455c834e
JB
96602011-05-05 Juanma Barranquero <lekktu@gmail.com>
9661
9662 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9663 (warning-series): Doc fix.
9664 (display-warning): Don't try to create the buffer if we just found it.
9665
9ed7c8cb
CY
96662011-05-04 Chong Yidong <cyd@stupidchicken.com>
9667
9668 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9669 (autoload-find-generated-file): New function.
9670 (generate-file-autoloads): Bind generated-autoload-file to
9671 buffer-file-name.
9869b3ae
SM
9672 (update-file-autoloads, update-directory-autoloads):
9673 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9674 output file (Bug#7989).
9675 (batch-update-autoloads): Doc fix.
9676
0898ca10
JB
96772011-05-04 Juanma Barranquero <lekktu@gmail.com>
9678
9679 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9680
31dfb76c
GM
96812011-05-04 Glenn Morris <rgm@gnu.org>
9682
f330b642
GM
9683 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9684 function, so it follows changes in calendar-date-style.
9685 (diary-fancy-date-matcher): New function.
9686 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9687 (diary-fancy-font-lock-fontify-region-function):
9688 Use diary-fancy-date-pattern as a function.
9689
31dfb76c
GM
9690 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9691 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9692
48e79d6a
TZ
96932011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9694
9695 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9696 instead of positional arguments. Allow :keylist and :crlfiles
9697 arguments.
9698 (open-gnutls-stream): Call it.
9699
9700 * net/network-stream.el (network-stream-open-starttls): Adjust to
9701 call `gnutls-negotiate' with :process and :hostname arguments.
9702
dd5a5ee0
SM
97032011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9704
ef80fc09
SM
9705 * minibuffer.el (completion--message): New function.
9706 (completion--do-completion, minibuffer-complete)
9707 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9708 (completion--do-completion): Don't ignore completion-auto-help when in
9709 icomplete-mode.
9710
dd5a5ee0
SM
9711 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9712 internal encoding (e.g. tibetan zero is not whitespace).
9713 (global-whitespace-mode): Prefer save-current-buffer.
9714 (whitespace-trailing-regexp): Remove useless save-match-data.
9715 (whitespace-empty-at-bob-regexp): Minor simplification.
9716
b7d22a83
CY
97172011-05-03 Chong Yidong <cyd@stupidchicken.com>
9718
9719 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9720
5192af46
AM
97212011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9722
9723 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9724 Use `concat' to create string for insertion.
5192af46 9725
5767d190
SM
97262011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9729 Avoid open-line which runs post-self-insert-hook.
9730 (bibtex-fill-entry): Remove unused `end' var.
9731
bf242939
AM
97322011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9733
5767d190
SM
9734 * textmodes/ispell.el (ispell-add-per-file-word-list):
9735 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9736
25666126
LL
97372011-05-03 Leo Liu <sdl.web@gmail.com>
9738
9739 * isearch.el (isearch-yank-pop): New command.
5767d190 9740 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9741 (isearch-forward): Mention it.
9742
52d3c2d0
SM
97432011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9744
1bcace58
SM
9745 * simple.el (minibuffer-complete-shell-command): Remove.
9746 (minibuffer-local-shell-command-map): Use completion-at-point.
9747 (read-shell-command): Setup completion vars here instead.
9748 (read-expression-map): Bind TAB to symbol completion.
9749
52d3c2d0
SM
9750 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9751 error directly rather via storing it into `results'.
9752
35813471
LL
97532011-05-02 Leo Liu <sdl.web@gmail.com>
9754
9755 * vc/diff.el: Fix description.
9756
e793a940
LMI
97572011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9758
9759 * server.el (server-eval-at): New function.
9760
8de66e05
LMI
97612011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9762
9763 * net/network-stream.el (open-network-stream): Take a :nowait
9764 parameter and pass it on to `make-network-process'.
9765 (network-stream-open-plain): Ditto.
9766
dcb79f20
AS
97672011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9768
9769 * faces.el (face-spec-set-match-display): Don't match toolkit
9770 options on terminal frames.
9771
14a7fbd8
SM
97722011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9773
7eabc1be
SM
9774 * progmodes/pascal.el: Use lexical binding.
9775 (pascal-mode-map): Remove author preferences.
9776
14a7fbd8
SM
9777 * pcomplete.el (pcomplete-std-complete): Don't abuse
9778 completion-at-point.
9779
50f84510
JB
97802011-04-28 Juanma Barranquero <lekktu@gmail.com>
9781
6e087a44
JB
9782 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9783 removing code that has been dead since 1991 or so.
9784
50f84510
JB
9785 * startup.el (command-line): When warning about "_emacs", use a
9786 delayed warning to allow the user to filter it out.
9787
0ba690bd
DD
97882011-04-28 Deniz Dogan <deniz@dogan.se>
9789
9790 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9791 user has not joined.
9792
08abfaad
SM
97932011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9796 aren't any completions at point.
9797
638f053a
JB
97982011-04-28 Juanma Barranquero <lekktu@gmail.com>
9799
9800 * subr.el (display-delayed-warnings): New function.
9801 (delayed-warnings-hook): New variable.
9802
8fff8daa
SM
98032011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9804
08abfaad
SM
9805 * minibuffer.el (completion-at-point, completion-help-at-point):
9806 Don't presume that a given completion-at-point-function will always
9807 use the same calling convention.
9808
8fff8daa
SM
9809 * pcomplete.el (pcomplete-completions-at-point):
9810 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9811 pcomplete-seen is non-nil.
9812 (pcomplete-comint-setup): Also recognize the new comint/shell
9813 completion functions.
9814 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9815 pcomplete-seen is non-nil.
9816
841a1577 98172011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9818
841a1577 9819 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9820 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9821 the first character in the entry. This allows for code to add its
211ec907
UJ
9822 own uid to the entry.
9823 (icalendar--convert-float-to-ical): Add export of
9824 `diary-float'-entries save for those with the optional DAY
9825 argument.
9826
2a782793
DC
98272011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9828
9829 * subr.el (shell-quote-argument): Use alternate escaping strategy
9830 when we spot a variable reference in a string.
9831
0438ce91
DC
98322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9833
9834 * cus-start.el (all): Define customization for debug-on-event.
9835
841a1577 98362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9837
9838 * subr.el (shell-quote-argument): Escape correctly under Windows.
9839
d090ed6c
SM
98402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9843
bfd31217
MA
98442011-04-25 Michael Albinus <michael.albinus@gmx.de>
9845
d090ed6c
SM
9846 * net/tramp.el (tramp-process-actions): Add POS argument.
9847 Delete region between POS and (pos).
bfd31217 9848
d090ed6c
SM
9849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9850 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9851 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9852
9853 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9854 position in `tramp-process-actions' call.
9855
9856 * net/trampver.el: Update release number.
9857
e92f3bd3
SM
98582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9859
850256b5
SM
9860 * custom.el (defcustom): Obey lexical-binding.
9861
e92f3bd3
SM
9862 Fix octave-inf completion problems reported by Alexander Klimov.
9863 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9864 Inherit from octave-mode-syntax-table.
9865 (inferior-octave-mode): Set info-lookup-mode.
9866 (inferior-octave-completion-at-point): New function.
9867 (inferior-octave-complete): Use it and completion-in-region.
9868 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9869 comint-filename-completion.
9870 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9871 symbol elements which shouldn't be word elements.
9872 (octave-font-lock-keywords, octave-beginning-of-defun)
9873 (octave-function-header-regexp): Adjust regexps accordingly.
9874 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9875
cd22b309
JB
98762011-04-25 Juanma Barranquero <lekktu@gmail.com>
9877
9878 * net/gnutls.el (gnutls-errorp): Declare before first use.
9879
8b492194
TZ
98802011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9881
9882 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9883 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9884 default trustfile exists before going to use it. Add missing
5a5fa834 9885 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9886 Reported by Claudio Bley <claudio.bley@gmail.com>.
9887 (open-gnutls-stream): Add usage example.
9888
9889 * net/network-stream.el (network-stream-open-starttls): Give host
9890 parameter to `gnutls-negotiate'.
9891 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9892 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9893
841a1577 98942011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9895
cd22b309
JB
9896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9897 Use correct match group (bug#8438).
05842630 9898
3ba7869c
CY
98992011-04-24 Chong Yidong <cyd@stupidchicken.com>
9900
512e3ae1
CY
9901 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9902 (package-menu--generate): New arg specifying packages to show.
9903 (package-menu-refresh, package-menu-execute, list-packages):
9904 Callers changed.
9905 (package-show-package-list): New function, replacing deleted
9906 package--list-packages (renamed because it is non-internal).
9907
9908 * finder.el (finder-list-matches): Use package-show-package-list
9909 instead of deleted package--list-packages.
9910
e92f3bd3
SM
9911 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9912 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9913 (vc-annotate-mode-map): Bind it to RET.
9914
7031be6d
UR
99152011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9916
9917 * progmodes/etags.el (next-file): Don't use set-buffer to change
9918 buffers (Bug#8478).
9919
4ef177aa
CY
99202011-04-24 Chong Yidong <cyd@stupidchicken.com>
9921
c8d173eb
CY
9922 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9923
4ef177aa
CY
9924 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9925 (apropos-accumulator): Doc fix.
9926 (apropos-function, apropos-macro, apropos-command)
9927 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9928 (apropos-plist): Add face property.
9929 (apropos-symbols-internal): Fix indentation.
9930 (apropos-print): Simplify help, and recognize apropos-multi-type.
9931 (apropos-print-doc): Use button-type-get to extract the button's
9932 face property. Fill docstring (Bug#8352).
9933
4ffd0d6b 99342011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9935
9936 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9937
c6c32125 9938 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9939 (mpuz-mode-map): Use mapc.
c6c32125
JB
9940 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9941 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9942 Fix typos in docstrings.
9943
58d468b4
JB
9944 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9945 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9946
6470c3c6
JB
9947 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9948
4ffd0d6b 99492011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9950
9951 * minibuffer.el (completion--do-completion): Avoid the "Next char
9952 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9953
3ad8bad0
CY
9954 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9955 mouse-2 into unread-command-events, it is interpreted correctly.
9956
71d73c9c 9957 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9958 (image-toggle-display): Doc fix.
71d73c9c 9959
841a1577 99602011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9961
4ffd0d6b
GM
9962 * textmodes/page.el (what-page): Use line-number-at-pos to
9963 calculate line number (Bug#6825).
6e1dbaa9 9964
c2fb1b60
JB
99652011-04-22 Juanma Barranquero <lekktu@gmail.com>
9966
9967 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9968 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9969 Pass argument NO-DEFAULT to `find-tag-interactive'.
9970
e02f48d7
JB
99712011-04-22 Juanma Barranquero <lekktu@gmail.com>
9972
9973 Lexical-binding cleanup.
9974
9975 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9976 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9977 * progmodes/ada-prj.el (ada-prj-initialize-values)
9978 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9979 (ada-prj-show-value):
9980 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9981 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9982 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9983 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9984 * progmodes/bug-reference.el (bug-reference-push-button):
9985 * progmodes/fortran.el (fortran-line-length):
9986 * progmodes/glasses.el (glasses-change):
9987 * progmodes/octave-mod.el (octave-fill-paragraph):
9988 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9989 (python-pdbtrack-grub-for-buffer, python-sentinel):
9990 * progmodes/sql.el (sql-save-connection):
9991 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9992 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9993 Mark unused parameters.
9994
9995 * progmodes/compile.el (compilation--flush-directory-cache)
9996 (compilation--flush-parse, compile-internal): Mark unused parameters.
9997 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9998 (compilation-next-error-function): Remove unused variable `timestamp'.
9999
10000 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10001 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10002
10003 * progmodes/dcl-mode.el (dcl-end-of-command):
10004 Remove unused variable `start'.
10005 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10006 (dcl-option-value-basic, dcl-option-value-offset)
10007 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10008 Mark unused parameters.
10009 (dcl-save-local-variable): Remove unused variable `val'.
10010 (mode): Declare.
10011
10012 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10013 Mark unused parameters.
10014 (delphi-ignore-changes): Move before first use.
10015 (delphi-charset-token-at): Remove unused variable `start'.
10016 (delphi-else-start): Remove unused variable `if-count'.
10017 (delphi-comment-block-start, delphi-comment-block-end):
10018 Remove unused variable `kind'.
10019 (delphi-indent-line): Remove unused variable `new-point'.
10020
10021 * progmodes/ebrowse.el (ebrowse-files-list)
10022 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10023 Mark unused parameters. Don't quote `lambda'.
10024 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10025 Don't quote `lambda'.
10026 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10027 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10028 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10029 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10030 Use `ignore-errors'.
10031 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10032 (ebrowse-view/find-file-and-search-pattern)
10033 (ebrowse-view/find-member-declaration/definition):
10034 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10035 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10036 Rename parameter PREFIX-ARG to PREFIX.
10037 (ebrowse-tags-read-name): Remove unused variables `start' and
10038 `member-info'.
10039 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10040 to `tags-file'.
10041
10042 * progmodes/etags.el (local-find-tag-hook): Declare.
10043 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10044 Mark unused parameters.
10045
10046 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10047 (executable-interpret): Mark unused parameter.
10048
10049 * progmodes/flymake.el (flymake-process-sentinel)
10050 (flymake-after-change-function)
10051 (flymake-create-temp-with-folder-structure)
10052 (flymake-get-include-dirs-dot): Mark unused parameters.
10053 (flymake-safe-delete-directory): Remove unused variable `err'.
10054
10055 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10056 (speedbar-timer-fn, speedbar-line-text)
10057 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10058 (speedbar-center-buffer-smartly): Declare functions.
10059 (gdb-find-watch-expression): Remove unused variable `array'.
10060 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10061 (gdb-starting): Mark unused parameters.
10062 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10063 (gdb-table-string): Remove unused variable `res'.
10064 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10065 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10066 (gdb-display-buffer): Remove unused variable `cur-size'.
10067
10068 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10069 allow lexical-binding compilation.
10070 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10071 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10072 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10073 Mark unused parameters.
10074 (gud-gdb-marker-filter): Remove unused variable `match'.
10075 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10076 lambda expressions and funcall them, instead of using `fset'.
10077
10078 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10079 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10080
10081 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10082 variable `header-beg'; use `let'.
10083
10084 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10085 `restart', `last-sexp' and `at-do'.
10086
10087 * progmodes/js.el (js--debug): Mark unused parameter.
10088 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10089 (js--splice-into-items): Remove unused variable `item'.
10090 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10091
10092 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10093 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10094 (makefile-complete): Remove unused variable `try'.
10095 (makefile-fill-paragraph, makefile-match-function-end):
10096 Mark unused parameters.
10097
10098 * progmodes/octave-inf.el (inferior-octave-complete):
10099 Remove unused variable `proc'.
10100 (inferior-octave-output-digest): Mark unused parameter.
10101
10102 * progmodes/perl-mode.el (perl-calculate-indent):
10103 Remove unused variable `err'.
10104
10105 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10106 (prolog-indent-line): Mark unused parameters.
10107 (prolog-indent-line): Remove unused variable `beg'.
10108
10109 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10110 (reporter-dont-compact-list): Declare.
10111
10112 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10113 Remove unused variable `char'.
10114 (sh-debug): Mark unused parameter.
10115 (sh-get-indent-info): Remove unused variable `start'.
10116 (sh-calculate-indent): Remove unused variable `var'.
10117
10118 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10119 (simula-electric-keyword): Remove unused variable `null'.
10120 (simula-search-backward, simula-search-forward): Remove unused
10121 variables `begin' and `end'.
10122
10123 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10124 Remove unused variable `pos'.
10125 (vera-electric-tab, vera-comment-uncomment-region):
10126 Mark unused parameters.
10127 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10128
7ede3b65
CY
101292011-04-22 Chong Yidong <cyd@stupidchicken.com>
10130
10131 * emacs-lisp/package.el (package--builtins, package-alist)
10132 (package-load-descriptor, package-built-in-p, package-activate)
10133 (define-package, package-installed-p)
10134 (package-compute-transaction, package-buffer-info)
10135 (package--push): Doc fix. Distinguish more clearly between
10136 version strings and version lists.
10137
121656e9
JB
101382011-04-21 Juanma Barranquero <lekktu@gmail.com>
10139
10140 Lexical-binding cleanup.
10141
10142 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10143 (5x5-make-mutate-best):
10144 * play/fortune.el (fortune-in-buffer):
10145 * play/gomoku.el (gomoku-init-display):
10146 * play/solitaire.el (solitaire, solitaire-do-check):
10147 * play/tetris.el (tetris-default-update-speed-function):
10148 Mark unused parameters.
10149
10150 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10151 (bubbles--shift): Remove unused variable `char-org'.
10152 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10153 (bubbles--show-images): Remove unused variable `char'.
10154
10155 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10156 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10157 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10158 (decipher-analyze-buffer): Use ?\s.
10159 (decipher-make-checkpoint): Remove unused variable `mapping'.
10160
10161 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10162
10163 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10164 Remove unused variable `result'; use `let'.
10165
10166 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10167 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10168 (gametree-children-shown-p, gametree-compute-reduced-score):
10169 Use `ignore-errors'.
10170
10171 * play/handwrite.el (ps-lpr-switches): Declare.
10172 (handwrite): Remove unused variables `pmin' and `lastp'.
10173
10174 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10175
10176 * play/landmark.el (landmark-init-display)
10177 (landmark-update-naught-weights): Mark unused parameters.
10178 (landmark-y): Remove unused variable `noise'. Simplify.
10179 (landmark-human-plays): Remove unused variable `score'.
10180
10181 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10182 (mpuz-try-proposal): Remove unused variable `game'.
10183
10184 * play/zone.el (life-patterns): Declare.
10185
80f499c7
JB
101862011-04-20 Juanma Barranquero <lekktu@gmail.com>
10187
10188 * vc/vc.el (ediff-vc-internal): Declare function.
10189
024ff170
SM
101902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10191
c0a193ea
SM
10192 * shell.el: Use lexical-binding and std completion UI.
10193 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10194 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10195 comint-preoutput-filter-functions rather than on
10196 comint-output-filter-functions.
10197 (shell-command-completion, shell--command-completion-data)
10198 (shell-filename-completion, shell-environment-variable-completion)
10199 (shell-c-a-p-replace-by-expanded-directory): New functions.
10200 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10201 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10202 (shell-dynamic-complete-environment-variable): Use them.
10203 (shell-dynamic-complete-as-environment-variable)
10204 (shell-dynamic-complete-as-command): Remove.
10205 (shell-match-partial-variable): Match past point.
10206 * comint.el: Clean up use of completion-at-point-functions.
10207 (comint-completion-at-point): New function.
10208 (comint-mode): Use it completion-at-point-functions.
10209 (comint-dynamic-complete): Make it obsolete.
10210 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10211 (comint-c-a-p-replace-by-expanded-history): New function.
10212 (comint-dynamic-complete-functions)
10213 (comint-replace-by-expanded-history): Use it.
10214 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10215 termination strings. Try harder to avoid second try-completion.
10216 (completion-in-region-mode-map): Disable bindings that don't work yet.
10217
2dbaa080
SM
10218 * comint.el: Use lexical-binding. Require CL.
10219 (comint-dynamic-complete-functions): Use comint-filename-completion.
10220 (comint-completion-addsuffix): Tweak custom type.
10221 (comint-filename-completion, comint--common-suffix)
10222 (comint--common-quoted-suffix, comint--table-subvert)
10223 (comint--complete-file-name-data): New functions.
10224 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10225 (comint-dynamic-list-filename-completions): Use them.
10226 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10227
2dbaa080
SM
10228 * minibuffer.el (completion-in-region-mode):
10229 Keep completion-in-region-mode--predicate global.
10230 (completion-in-region--postch):
10231 Assume completion-in-region-mode--predicate is not null.
10232
c79a6f38
SM
10233 * progmodes/flymake.el (flymake-start-syntax-check-process):
10234 Obey `dir'. Simplify.
10235
024ff170
SM
10236 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10237 we're in VC after all.
10238
1c6c854e
CS
102392011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10240
10241 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10242 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10243 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10244
bed7f140
SM
102452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10246
332e62ab
SM
10247 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10248 add sanity check.
10249
bed7f140
SM
10250 * obsolete/erc-hecomplete.el: Make obsolete.
10251 * obsolete/: Standardize obsolescence info in the header.
10252
f195c582
GM
102532011-04-20 Glenn Morris <rgm@gnu.org>
10254
10255 * calendar/solar.el (solar-horizontal-coordinates):
10256 Use the longitude argument rather than `calendar-longitude'.
10257 (solar-date-next-longitude): Remove unused locals.
10258
cb79b8c0
VJL
102592011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10260
10261 * whitespace.el: New version 13.2.1.
10262
102632011-04-20 felix <EmacsWiki> (tiny change)
10264
d8e4b68b 10265 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10266 switching between major modes on a file.
10267
602ea69d
SM
102682011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10271 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10272 multi-line comments as well.
10273
06b60517
JB
102742011-04-19 Juanma Barranquero <lekktu@gmail.com>
10275
10276 Lexical-binding cleanup.
10277
10278 * arc-mode.el (archive-mode-revert):
10279 * cmuscheme.el (scheme-interactively-start-process):
10280 * custom.el (custom-initialize-delay):
10281 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10282 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10283 * emacs-lock.el (emacs-lock-clear-sentinel):
10284 * ezimage.el (defezimage):
10285 * follow.el (follow-avoid-tail-recenter):
10286 * fringe.el (set-fringe-mode-1):
10287 * generic-x.el (bat-generic-mode-compile):
10288 * help-mode.el (help-info-variable, help-do-xref)
10289 (help-mode-revert-buffer):
10290 * help.el (view-emacs-todo):
10291 * iswitchb.el (iswitchb-completion-help):
10292 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10293 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10294 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10295 * locate.el (locate-update):
10296 * longlines.el (longlines-encode-region)
10297 (longlines-after-change-function):
10298 * outline.el (outline-isearch-open-invisible):
10299 * ps-def.el (declare-function, charset-dimension, char-width)
10300 (encode-char):
10301 * ps-mule.el (ps-mule-plot-string):
10302 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10303 (recentf-edit-list-select, recentf-edit-list-validate)
10304 (recentf-open-files-action):
10305 * rect.el (delete-whitespace-rectangle-line)
10306 (rectangle-number-line-callback):
10307 * register.el (window-configuration-to-register)
10308 (frame-configuration-to-register):
10309 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10310 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10311 (xselect-convert-to-targets, xselect-convert-to-delete)
10312 (xselect-convert-to-filename, xselect-convert-to-charpos)
10313 (xselect-convert-to-lineno, xselect-convert-to-colno)
10314 (xselect-convert-to-os, xselect-convert-to-host)
10315 (xselect-convert-to-user, xselect-convert-to-class)
10316 (xselect-convert-to-name, xselect-convert-to-integer)
10317 (xselect-convert-to-atom, xselect-convert-to-identity):
10318 * subr.el (declare, ignore, process-kill-without-query)
10319 (text-clone-maintain):
10320 * terminal.el (te-get-char, te-tic-sentinel):
10321 * tool-bar.el (tool-bar-make-keymap):
10322 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10323 * type-break.el (type-break-mode, type-break-noninteractive-query):
10324 * view.el (View-back-to-mark):
10325 * wid-browse.el (widget-browse-action, widget-browse-widget)
10326 (widget-browse-widgets, widget-browse-sexp):
10327 * widget.el (define-widget-keywords):
10328 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10329 Mark unused parameters.
10330
10331 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10332 (align-areas): Remove unused variable `look'.
10333 (align-region): Remove unused variables `real-end' and `pos-list'.
10334
10335 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10336
10337 * bindings.el (mode-line-modified, mode-line-remote):
10338 Mark unused parameters.
10339 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10340
10341 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10342 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10343
10344 * comint.el (comint-history-isearch-pop-state)
10345 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10346 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10347 (comint-substitute-in-file-name): Doc fix.
10348
10349 * completion.el (cmpl-statistics-block): Mark unused parameter.
10350 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10351 (save-completions-to-file, load-completions-from-file):
10352 Remove unused local variable `e'.
10353
10354 * composite.el (compose-chars): Remove unused variable `len'.
10355 (lgstring-insert-glyph): Remove unused variable `g'.
10356 (compose-glyph-string): Remove unused variables `ascent',
10357 `descent', `lbearing' and `rbearing'.
10358 (compose-glyph-string-relative): Remove unused variables
10359 `lbearing', `rbearing' and `wadjust'.
10360 (compose-gstring-for-graphic): Remove unused variables `header',
10361 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10362 (compose-gstring-for-terminal): Remove unused variables `header'
10363 and `nchars'. Use `let', not `let*'.
10364
10365 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10366 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10367 (Custom-buffer-done, custom-buffer-create-internal)
10368 (custom-browse-visibility-action, custom-browse-group-tag-action)
10369 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10370 (widget-magic-mouse-down-action, custom-toggle-parent)
10371 (custom-add-parent-links, custom-toggle-hide-variable)
10372 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10373 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10374 (custom-face-menu-create, custom-variable-menu-create, get)
10375 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10376 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10377 (customize-apropos): Remove unused variable `tests'.
10378 (custom-group-value-create): Remove unused variable `hidden-p'.
10379 (sort-fold-case): Declare.
10380
10381 * cus-theme.el (custom-reset-standard-faces-list)
10382 (custom-reset-standard-variables-list): Declare.
10383 (customize-create-theme, custom-theme-revert, custom-theme-write)
10384 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10385 Mark unused parameters.
10386
10387 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10388
10389 * delim-col.el (delimit-columns-max): Move defvar before first use.
10390
10391 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10392 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10393
10394 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10395 (auto-insert): Declare.
10396 (desktop-restore-file-buffer): Rename desktop-* parameters;
10397 mark unused ones.
10398 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10399 (desktop-buffer): Rename desktop-* parameters.
10400
10401 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10402 (dframe-reposition-frame-xemacs, dframe-help-echo)
10403 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10404 Mark unused parameters.
10405
10406 * dired-aux.el (backup-extract-version-start, overwrite-query)
10407 (overwrite-backup-query, rename-regexp-query)
10408 (rename-non-directory-query): Declare.
10409 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10410 (dired-add-entry): Remove unused variable `orig-file-name'.
10411 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10412 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10413 `dired-copy-preserve-time' directly.
10414 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10415 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10416
10417 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10418 (dired-virtual-revert, dired-make-relative-symlink):
10419 Mark unused parameters.
10420 (manual-program): Declare.
10421 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10422 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10423 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10424
10425 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10426
10427 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10428
10429 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10430 Declare.
10431
10432 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10433
10434 * electric.el (Electric-command-loop): Rename parameter
10435 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10436
10437 * expand.el (expand-in-literal): Remove unused variable `here'.
10438
10439 * facemenu.el (facemenu-add-new-color):
10440 Remove unused variable `docstring'.
10441
10442 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10443 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10444 (face-attr-construct): Mark unused parameter. Doc fix.
10445 (read-color): Remove unused variable `hex-string'.
10446
10447 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10448 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10449 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10450 (display-buffer-other-frame): Remove unused variable `old-window'.
10451 (kill-buffer-hook): Declare.
10452 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10453 Mark unused parameters.
10454 (after-find-file): Pass 1 to `auto-save-mode', not t.
10455
10456 * files-x.el (auto-insert): Declare.
10457 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10458
10459 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10460 variable `buf'. Mark unused parameter.
06b60517
JB
10461 (find-lisp-insert-directory): Mark unused parameter.
10462
10463 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10464 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10465 (format-common-tail): Remove, unused.
10466 (format-deannotate-region): Remove unused variable `loc'.
10467 (format-annotate-region): Remove unused variable `p'.
10468 (format-annotate-single-property-change): Remove unused variables
10469 `default' and `tail'.
10470
10471 * forms.el (read-file-filter): Declare.
10472 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10473
10474 * frame.el (frame-creation-function-alist): Mark unused parameter.
10475 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10476
10477 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10478 Remove unused parameters.
10479 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10480 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10481
10482 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10483 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10484 (hfy-prepare-tag-map): Mark unused parameters.
10485 (htmlfontify-buffer): Use `called-interactively-p'.
10486
10487 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10488 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10489 (ibuffer-do-occur): Mark unused parameters.
10490 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10491 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10492
10493 * ibuffer.el: Don't quote `lambda'.
10494 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10495 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10496 Mark unused parameters.
10497
10498 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10499 (ido-completing-read): Mark unused parameters.
10500 (ido-copy-current-word): Mark unused parameters;
10501 remove unused variable `name'.
10502 (ido-sort-merged-list): Remove unused parameter `dirs'.
10503
10504 * ielm.el (ielm-input-sender): Mark unused parameter.
10505 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10506 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10507 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10508 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10509 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10510
10511 * image-dired.el (image-dired-display-thumbs): Remove unused
10512 variables `curr-file' and `count'.
10513 (image-dired-remove-tag): Remove unused variable `start'.
10514 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10515 variable `curr-file'
10516 (image-dired-rotate-original): Remove unused variable `temp-file'.
10517 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10518 Remove unused variable `file'.
10519 (image-dired-gallery-generate): Remove unused variable `curr'.
10520 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10521
10522 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10523
10524 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10525
10526 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10527
10528 * isearch.el (minibuffer-history-symbol): Declare.
10529 (isearch-edit-string): Remove unused variable `err'.
10530 (isearch-message-prefix, isearch-message-suffix):
10531 Mark unused parameters.
10532
10533 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10534
10535 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10536
10537 * makesum.el (double-column): Remove unused variable `cnt'.
10538
10539 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10540 (ido-ignore-item-temp-list): Declare.
10541
10542 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10543 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10544 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10545 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10546 `mouse-col-delta'.
10547
10548 * mouse-sel.el (mouse-extend-internal):
10549 Remove unused variable `orig-window-frame'.
10550
10551 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10552 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10553 Move declarations before first use.
10554 (pcomplete-opt): Mark unused parameters; doc fix.
10555
10556 * proced.el (proced-revert): Mark unused parameter.
10557 (proced-send-signal): Remove unused variable `err'.
10558
10559 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10560 Rename parameter PREFIX-ARG to ARG.
10561 (ps-basic-plot-string, ps-basic-plot-whitespace):
10562 Mark unused parameters.
10563
10564 * replace.el (replace-count): Define.
10565 (occur-revert-function): Mark unused parameters.
10566 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10567 (isearch-case-fold-search, isearch-string): Declare.
10568 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10569 bind `case-fold-search'. Remove unused variables `beg' and `end',
10570 and simplify.
10571 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10572 COUNT and bind `replace-count'.
10573 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10574 to COUNT.
10575
10576 * savehist.el (print-readably, print-string-length): Declare.
10577
10578 * shadowfile.el (shadow-expand-cluster-in-file-name):
10579 Remove unused variable `cluster'.
10580 (shadow-copy-file): Remove unused variable `i'.
10581 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10582 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10583 (shadow-define-literal-group, shadow-define-regexp-group)
10584 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10585
10586 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10587 (shell): Use `called-interactively-p'.
10588 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10589
10590 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10591 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10592 (delete-backward-char): Remove unused variable `ocol'.
10593 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10594 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10595 (event-apply-hyper-modifier, event-apply-shift-modifier)
10596 (event-apply-control-modifier, event-apply-meta-modifier):
10597 Mark unused parameters.
10598 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10599 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10600
10601 * speedbar.el (speedbar-ignored-directory-expressions)
10602 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10603 (speedbar-find-file, speedbar-dir-follow)
10604 (speedbar-directory-buttons-follow, speedbar-tag-find)
10605 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10606 (speedbar-buffers-line-directory, speedbar-buffer-click):
10607 Mark unused parameters.
10608 (speedbar-tag-file): Remove unused variable `mode'.
10609 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10610
10611 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10612
10613 * talk.el (talk): Remove unused variable `display'.
10614
10615 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10616 (tar-write-region-annotate): Mark unused parameter.
10617
10618 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10619 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10620 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10621 warning by another.
10622
10623 * time-stamp.el (time-stamp-string-preprocess):
10624 Remove unused variable `require-padding'.
10625
10626 * tree-widget.el (widget-glyph-enable): Declare.
10627 (tree-widget-action): Mark unused parameter.
10628
10629 * w32-fns.el (x-get-selection): Mark unused parameter.
10630 (autoload-make-program, generated-autoload-file): Declare.
10631
10632 * wdired.el (wdired-revert): Mark unused parameters.
10633 (wdired-xcase-word): Remove unused variable `err'.
10634
10635 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10636 (whitespace-help-scroll): Remove unused variable `data-help'.
10637
10638 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10639 (widget-image-insert, widget-after-change, default)
10640 (widget-default-format-handler, widget-default-notify)
10641 (widget-default-prompt-value, widget-info-link-action)
10642 (widget-url-link-action, widget-function-link-action)
10643 (widget-variable-link-action, widget-file-link-action)
10644 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10645 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10646 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10647 (widget-insert-button-action, widget-delete-button-action, visibility)
10648 (widget-documentation-link-action, widget-documentation-string-action)
10649 (widget-const-prompt-value, widget-regexp-match, symbol)
10650 (widget-coding-system-prompt-value)
10651 (widget-key-sequence-value-to-external, sexp)
10652 (widget-sexp-value-to-internal, character, vector, cons)
10653 (widget-choice-prompt-value, widget-boolean-prompt-value)
10654 (widget-color--choose-action): Mark unused parameters.
10655 (widget-item-match-inline, widget-choice-match-inline)
10656 (widget-checklist-match, widget-checklist-match-inline)
10657 (widget-group-match): Rename parameter VALUES to VALS.
10658 (widget-field-value-set): Remove unused variable `size'.
10659 (widget-color-action): Remove unused variables `value' and `start'.
10660
10661 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10662 variable `dir'. Doc fix.
06b60517
JB
10663 (windmove-find-other-window): Don't pass it.
10664
10665 * window.el (count-windows): Mark unused parameter.
10666 (bw-adjust-window): Remove unused variable `err'.
10667
10668 * woman.el (woman-file-name): Remove unused variable `default'.
10669 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10670 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10671 (global-font-lock-mode): Declare.
10672 (woman-decode-region): Mark unused parameter.
10673 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10674
10675 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10676 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10677 (x-dnd-handle-moz-url): Remove unused variable `title'.
10678 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10679
10680 * xml.el (xml-parse-tag, xml-parse-attlist):
10681 Remove unused variable `pos'.
10682
bc4f7f3d
GM
106832011-04-19 Glenn Morris <rgm@gnu.org>
10684
10685 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10686 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10687 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10688 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10689 * calendar/cal-html.el (cal-html-insert-minical):
10690 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10691 (calendar-mark-date-pattern):
10692 Prefix "unused" locals.
10693
10694 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10695 optional argument `style'.
10696
10697 * calendar/appt.el (appt-make-list):
10698 * calendar/cal-china.el (calendar-chinese-date-string):
10699 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10700 (diary-hebrew-yahrzeit):
10701 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10702 * calendar/calendar.el (calendar-generate-window):
10703 * calendar/time-date.el (time-to-days):
10704 Remove unused local variables.
10705
16a43933
CY
107062011-04-18 Chong Yidong <cyd@stupidchicken.com>
10707
10708 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10709 glyphless-char-display table.
10710 (tabulated-list-glyphless-char-display): New var.
10711
7eed1860
SS
107122011-04-18 Sam Steingold <sds@gnu.org>
10713
10714 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10715 to acknowledgments.
10716
4d2d1ccd
GM
107172011-04-17 Glenn Morris <rgm@gnu.org>
10718
10719 * calendar/diary-lib.el (diary-sexp-entry):
10720 * calendar/holidays.el (holiday-sexp):
10721 Set debug-on-error rather than the removed stack-trace-on-error.
10722
239da61d
GM
107232011-04-16 Glenn Morris <rgm@gnu.org>
10724
10725 * progmodes/f90.el: Use lexical-binding.
10726 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10727
8b05752a
SM
107282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10729
daca8ba5
SM
10730 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10731 (mail-mode): Setup mailalias completion here instead.
10732 * mail/mailalias.el: Use lexical-binding.
10733 (pattern, mailalias-done): Declare dynamic.
10734 (mail-completion-at-point-function): New function, from mail-complete.
10735 (mail-complete): Use it.
10736 (mail-completion-expand): New function.
10737 (mail-get-names): Use it.
10738 (mail-directory, mail-directory-process, mail-directory-stream):
10739 Don't use `pattern' for lexically bound arg.
10740
6f542485
SM
10741 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10742
037e7c3f
SM
10743 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10744 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10745 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10746
8b05752a
SM
10747 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10748 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10749 (byte-interactive-p): Define them again, for use when inlining
10750 old code.
10751
49093f60
JB
107522011-04-15 Juanma Barranquero <lekktu@gmail.com>
10753
10754 * loadup.el: Use `string-to-number', not `string-to-int'.
10755
b5b8e7de
SM
107562011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10759 gud-gdb-complete-command.
10760 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10761 (gud-gdb-completion-at-point): New function.
10762 (gud-gdb-completions): Remove.
10763
f42efeb5
MA
107642011-04-14 Michael Albinus <michael.albinus@gmx.de>
10765
49093f60
JB
10766 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10767 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10768 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10769 whether `executable-find' is bound.
f42efeb5
MA
10770
10771 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10772
e240cc21
SM
107732011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * minibuffer.el (completion-in-region-mode-predicate)
10776 (completion-in-region-mode--predicate): New vars.
10777 (completion-in-region, completion-in-region--postch)
10778 (completion-in-region-mode): Use them.
10779 (completion--capf-wrapper): Also return the hook function.
10780 (completion-at-point, completion-help-at-point):
10781 Adjust and provide a predicate.
c2bd2ab0
SM
10782
10783 Preserve arg names for advice of subr and lexical functions (bug#8457).
10784 * help-fns.el (help-function-arglist): Consolidate the subr and
10785 new-byte-code cases. Add argument `preserve-names' to extract names
10786 from the docstring when needed.
10787 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10788 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10789 (ad-arglist): Use help-function-arglist's new arg.
10790 (ad-definition-type): Use cond.
10791
c183f693
JB
107922011-04-13 Juanma Barranquero <lekktu@gmail.com>
10793
06641a47
JB
10794 * autorevert.el (auto-revert-handler):
10795 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10796 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10797 Don't quote lambda.
10798
c183f693
JB
10799 * image-mode.el (image-transform-set-scale):
10800 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10801
1e3b6001
G
108022011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10803
10804 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10805 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10806 Upgrades via gnutls-cli are too slow to be done opportunistically.
10807
2d6af8dd
JB
108082011-04-12 Juanma Barranquero <lekktu@gmail.com>
10809
10810 * dframe.el (dframe-current-frame): Remove spurious quote.
10811
c0749a51
GM
108122011-04-12 Glenn Morris <rgm@gnu.org>
10813
088d0d61
GM
10814 * calendar/cal-tex.el (cal-tex-end-document):
10815 Try to automatically use latin1 input if needed.
10816
c0749a51
GM
10817 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10818 Don't try to cons a mark onto an empty element.
10819
5c90fde0
LL
108202011-04-11 Leo Liu <sdl.web@gmail.com>
10821
10822 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10823 buffers.
10824 (ido-kill-buffer-at-head): Support killing virtual buffers.
10825
369e974d
CY
108262011-04-10 Chong Yidong <cyd@stupidchicken.com>
10827
10828 * minibuffer.el (completion-show-inline-help): New var.
10829 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10830 (minibuffer-force-complete, minibuffer-complete-word):
10831 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10832
10833 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10834 to avoid interference from inline help (Bug#5849).
10835
37f1c930
LL
108362011-04-10 Leo Liu <sdl.web@gmail.com>
10837
099c39a4
JB
10838 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10839 Fix typo.
37f1c930 10840
a32d4040
CY
108412011-04-09 Chong Yidong <cyd@stupidchicken.com>
10842
10843 * image-mode.el (image-toggle-display-image): Signal an error if
10844 not in Image mode.
10845 (image-transform-mode, image-transform-resize)
10846 (image-transform-set-rotation): Doc fix.
daca8ba5 10847 (image-transform-set-resize): Delete.
a32d4040
CY
10848 (image-transform-set-scale, image-transform-fit-to-height)
10849 (image-transform-fit-to-width): Handle image-toggle-display-image
10850 and image-transform-resize directly.
10851
099c39a4 108522011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10853
10854 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10855 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10856 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10857 (doc-view-mode-map): Add bindings for the new functions.
10858
099c39a4 108592011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10860
4d61f28d 10861 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10862 Fix typo in docstring.
10863
3726838a
EZ
108642011-04-08 Eli Zaretskii <eliz@gnu.org>
10865
04f33f1e
EZ
10866 * files.el (file-size-human-readable): Produce one digit after
10867 decimal, like "ls -lh" does.
10868
10869 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10870 the file size representation.
10871
3726838a
EZ
10872 * simple.el (list-processes): If async subprocesses are not
10873 available, error out with a clear error message.
10874
cbb59342
CY
108752011-04-08 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * help.el (help-form-show): New function, to be called from C.
10878 Put help-form output in a buffer named differently than *Help*.
10879
e3971c44
EZ
108802011-04-08 Eli Zaretskii <eliz@gnu.org>
10881
10882 * files.el (file-size-human-readable): New function.
10883
10884 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10885 computing the representation inline. Don't require `cl'.
10886
12544bbe
GM
108872011-04-08 Glenn Morris <rgm@gnu.org>
10888
a1de6c6a
GM
10889 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10890
3c4671f4
GM
10891 * net/browse-url.el (browse-url-firefox):
10892 Test system-type, not system-configuration.
10893
b605679c
GM
10894 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10895 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10896 Use log-edit-empty-buffer-p. (Bug#7598)
10897
56442f0c
GM
10898 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10899 (rlogin-mode-map): Initialize in the defvar.
10900 (rlogin): Use ignore-errors.
10901
12544bbe
GM
10902 * replace.el (occur-mode-map): Some fixes for menu items.
10903
eb237b0f
AH
109042011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10905
10906 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10907
7d668f2c
CY
109082011-04-06 Chong Yidong <cyd@stupidchicken.com>
10909
e67a13ab
CY
10910 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10911 issuing unused warnings.
10912
10913 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10914 macro directly.
10915
7d668f2c
CY
10916 * simple.el: Lisp reimplement of list-processes. Based on an
10917 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10918 (process-menu-mode): New major mode.
10919 (list-processes--refresh, list-processes):
10920 (process-menu-visit-buffer): New functions.
10921
10922 * files.el (save-buffers-kill-emacs): Don't assume any return
10923 value of list-processes, which is undocumented anyway.
10924
a83ec3c9
CY
109252011-04-06 Chong Yidong <cyd@stupidchicken.com>
10926
10927 * emacs-lisp/tabulated-list.el: New file.
10928
e91a96fe
CY
10929 * emacs-lisp/package.el: Use Tabulated List mode.
10930 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10931 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10932 table format using Tabulated List mode variables.
10933 (package--push): New macro, replacing package-list-maybe-add.
10934 (package-menu--generate): Use package--push. Renamed from
10935 package--generate-package-list.
10936 (package-menu-refresh, list-packages): Use it.
daca8ba5 10937 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10938 Return insertion data instead of inserting it directly.
099c39a4
JB
10939 (package-menu-describe-package, package-menu-execute):
10940 Use tabulated-list-get-id.
e91a96fe
CY
10941 (package-menu-mark-delete, package-menu-mark-install)
10942 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10943 (package-menu-mark-obsolete-for-deletion):
10944 Use tabulated-list-put-tag.
e91a96fe
CY
10945 (package--list-packages, package-menu-revert)
10946 (package-menu-get-package, package-menu-get-version)
10947 (package-menu-sort-by-column): Functions deleted.
10948 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10949 (package-menu--status-predicate, package-menu--version-predicate)
10950 (package-menu--name-predicate)
10951 (package-menu--description-predicate): Handle arguments in the
10952 Tabulated List format.
10953 (package-list-packages-no-fetch): Call list-packages.
10954
3e214b50
JB
109552011-04-06 Juanma Barranquero <lekktu@gmail.com>
10956
10957 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10958 (after-find-file): Don't bind it.
3e214b50
JB
10959 (revert-buffer-in-progress-p): New variable.
10960 (revert-buffer): Bind it.
10961 Pass nil for `after-find-file-from-revert-buffer'.
10962
10963 * saveplace.el (save-place-find-file-hook): Use new variable
10964 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10965
3f0f1700
GM
109662011-04-06 Glenn Morris <rgm@gnu.org>
10967
c0274801
GM
10968 * Makefile.in (AUTOGEN_VCS): New variable.
10969 (autoloads): Use $AUTOGEN_VCS.
10970
3f0f1700
GM
10971 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10972 * calendar/calendar.el (calendar-mode-map):
10973 Check for toolkit scroll bars. (Bug#8305)
10974
41ea9e48
CY
109752011-04-05 Chong Yidong <cyd@stupidchicken.com>
10976
10977 * minibuffer.el (completion-in-region--postch)
10978 (completion-in-region-mode): Remove unnecessary messages.
10979
6194c800
JB
109802011-04-05 Juanma Barranquero <lekktu@gmail.com>
10981
33256f14
JB
10982 * font-lock.el (font-lock-refresh-defaults):
10983 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10984 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10985
6194c800
JB
10986 * info.el (Info-directory-list, Info-read-node-name-2)
10987 (Info-split-parameter-string): Doc fixes.
10988 (Info-virtual-nodes): Reflow docstring.
10989 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10990 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10991 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10992 Fix typos in docstrings.
10993 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10994 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10995 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10996 (Info-restore-desktop-buffer): Mark unused parameters.
10997 (Info-directory-find-file, Info-directory-find-node)
10998 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10999 (Info-virtual-index-find-node, Info-apropos-find-file)
11000 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11001 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11002 (Info-virtual-index): Remove unused local variable `nodename'.
11003
b87a8200 110042011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11005
b87a8200
DD
11006 * net/rcirc.el: Update my e-mail address.
11007 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11008
3b2ff876
CY
110092011-04-05 Chong Yidong <cyd@stupidchicken.com>
11010
11011 * startup.el (command-line): Save the cursor's theme-face
11012 directly, instead of using face-override-spec.
11013
11014 * custom.el (load-theme): Minor optimization in assigning faces.
11015
8d17e7ca
JB
110162011-04-04 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * help-fns.el (describe-variable): Complete all variables having
11019 documentation, including keywords.
11020 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11021
2fbc1934
JB
110222011-04-04 Juanma Barranquero <lekktu@gmail.com>
11023
11024 Convert to lexical-binding.
11025
11026 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11027 (bs--get-marked-string, bs--get-modified-string)
11028 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11029 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11030 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11031
11032 * ehelp.el (electric-help-execute-extended)
11033 (electric-help-ctrl-x-prefix):
11034 * hexl.el (hexl-revert-buffer-function):
11035 * linum.el (linum-after-change, linum-after-scroll):
11036 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11037
11038 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11039
74f50695
DU
110402011-04-04 Daiki Ueno <ueno@unixuser.org>
11041
11042 * epa-dired.el:
11043 * epa-mail.el:
11044 * epa-hook.el:
11045 * epa-file.el:
11046 * epa.el:
11047 * epg.el: Use lexical binding.
11048
c11325f7
CY
110492011-04-03 Chong Yidong <cyd@stupidchicken.com>
11050
0d9e9a12
CY
11051 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11052
c11325f7 11053 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11054 dictionary case for flyspell-mark-duplications-exceptions.
11055 Use regexp matching for languages.
c11325f7
CY
11056 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11057 default dictionary (Bug#7926).
11058
da91b5f2
CY
110592011-04-02 Chong Yidong <cyd@stupidchicken.com>
11060
099c39a4
JB
11061 * emacs-lisp/package.el (package--with-work-buffer):
11062 Recognize https URLs.
da91b5f2 11063
099c39a4
JB
11064 * net/network-stream.el: Move from gnus/proto-stream.el.
11065 Change prefix to network-stream throughout.
da91b5f2
CY
11066 (open-protocol-stream): Merge into open-network-stream, leaving
11067 open-protocol-stream as an alias. Handle nil BUFFER args.
11068
11069 * subr.el (open-network-stream): Move to net/network-stream.el.
11070
afa8e9f6
GM
110712011-04-02 Glenn Morris <rgm@gnu.org>
11072
1d2e369d
GM
11073 * find-dired.el (find-exec-terminator): New option.
11074 (find-ls-option): Test for -ls support.
11075 (find-ls-subdir-switches): Test for -b in find-ls-option.
11076 (find-dired, find-grep-dired): Doc fixes.
11077 (find-dired): Use find-exec-terminator.
11078
8abb7da8 11079 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11080 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11081 (find-name-arg): Remove purecopy.
8abb7da8 11082
f3ca7378
GM
11083 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11084 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11085 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11086 accordingly. Don't add the null-device if not needed.
11087
afa8e9f6
GM
11088 * files.el (save-some-buffers): Doc fix.
11089
35eae264
EZ
110902011-04-02 Eli Zaretskii <eliz@gnu.org>
11091
11092 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11093
26b51db5
JB
110942011-04-01 Juanma Barranquero <lekktu@gmail.com>
11095
11096 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11097 Use `dolist' rather than `mapcar'.
11098
7200d79c
SM
110992011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11100
03408648 11101 Add lexical binding.
7200d79c 11102
03408648
SM
11103 * subr.el (apply-partially): Use new closures rather than CL.
11104 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11105 (dolist, dotimes): Use slightly different expansion for lexical code.
11106 (functionp): Move to C.
11107 (letrec): New macro.
11108 (with-wrapper-hook): Use it and apply-partially instead of CL.
11109 (eval-after-load): Preserve lexical-binding.
11110 (save-window-excursion, with-output-to-temp-buffer): Turn them
11111 into macros.
7200d79c 11112
03408648
SM
11113 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11114
11115 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11116 than the arglist.
11117 (help-add-fundoc-usage): Don't add `Not documented'.
11118 (help-function-arglist): Handle closures, subroutines, and new
11119 byte-code-functions.
11120 (help-make-usage): Remove leading underscores.
11121 (describe-function-1): Handle closures.
11122 (describe-variable): Use special-variable-p for completion.
11123
11124 * files.el (lexical-binding): Declare safe.
f488fb65 11125
03408648
SM
11126 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11127 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11128 (pcase): Add `let' pattern.
11129 Change memoization so it actually works.
11130 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11131 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11132 <let>: New case.
f488fb65 11133
03408648
SM
11134 * emacs-lisp/macroexp.el: Use lexical binding.
11135 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11136 Don't convert ' to #' without checking that it's indeed quoting
11137 a lambda.
11138
11139 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11140 Use eval-sexp-add-defvars.
03408648
SM
11141 (eval-sexp-add-defvars): New fun.
11142
11143 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11144
11145 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11146 Don't autoload.
11147 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11148 than the internal `byte-compile-lambda'.
11149 (defmethod): Don't hide code under quotes.
11150 (eieio-defmethod): New `code' argument.
11151
11152 * emacs-lisp/eieio-comp.el: Remove.
11153
11154 * emacs-lisp/edebug.el (edebug-eval-defun)
11155 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11156 (edebug-toggle): Avoid `eval'.
11157
11158 * emacs-lisp/disass.el (disassemble-internal): Handle new
11159 `closure' objects.
11160 (disassemble-1): Handle new byte codes.
11161
11162 * emacs-lisp/cl.el (pushnew): Silence warning.
11163
11164 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11165 (cl-byte-compile-throw): Remove.
11166 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11167
11168 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11169 closures.
11170
11171 * emacs-lisp/cconv.el: New file.
11172
11173 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11174 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11175 (byte-compile-initial-macro-environment):
11176 Handle declare-function here.
11177 (byte-compile--lexical-environment): New var.
11178 (byte-stack-ref, byte-stack-set, byte-discardN)
11179 (byte-discardN-preserve-tos): New lap codes.
11180 (byte-interactive-p): Don't use any more.
11181 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11182 New macros.
11183 (byte-compile-lapcode): Use them and handle new lap codes.
11184 (byte-compile-obsolete): Remove.
11185 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11186 (byte-compile-arglist-warn): Check late def of inlinable funs.
11187 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11188 since they should have been expanded by now.
11189 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11190 (byte-compile-from-buffer): Remove unused second arg.
11191 (byte-compile-preprocess): New function.
11192 (byte-compile-toplevel-file-form): New function to distinguish
11193 file-form calls from outside from file-form calls from hunk-handlers.
11194 (byte-compile-file-form): Simplify.
11195 (byte-compile-file-form-defsubst): Remove.
11196 (byte-compile-file-form-defmumble): Simplify now that
11197 byte-compile-lambda always returns a byte-code-function.
11198 (byte-compile): Preprocess.
11199 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11200 Remove, not used any more.
11201 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11202 (byte-compile-make-args-desc): New funs.
11203 (byte-compile-lambda): Handle lexical functions. Always return
11204 a byte-code-function.
11205 (byte-compile-reserved-constants): New var, to make up room for
11206 closed-over variables.
11207 (byte-compile-constants-vector): Obey it.
11208 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11209 (byte-compile-macroexpand-declare-function): New function.
11210 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11211 byte-code-functions.
11212 (byte-compile-form): Check obsolescence here.
11213 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11214 (byte-compile-variable-ref): Remove.
11215 (byte-compile-dynamic-variable-op): New fun.
11216 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11217 (byte-compile-variable-set): New funs.
11218 (byte-compile-discard): Add 2 args.
11219 (byte-compile-stack-ref, byte-compile-stack-set)
11220 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11221 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11222 macroexpand-all instead.
11223 (byte-compile-quote-form): Remove.
11224 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11225 (byte-compile-bind, byte-compile-unbind): New funs.
11226 (byte-compile-let): Handle let* and lexical binding.
11227 (byte-compile-let*): Remove.
11228 (byte-compile-catch, byte-compile-unwind-protect)
11229 (byte-compile-track-mouse, byte-compile-condition-case):
11230 Handle a new :fun-body form, used for lexical scoping.
11231 (byte-compile-save-window-excursion)
11232 (byte-compile-with-output-to-temp-buffer): Remove.
11233 (byte-compile-defun): Simplify.
11234 (byte-compile-stack-adjustment): New fun.
11235 (byte-compile-out): Use it.
11236 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11237
11238 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11239 handler any more.
11240
11241 * emacs-lisp/byte-opt.el: Use lexical binding.
11242 (byte-inline-lapcode): Remove (to bytecomp).
11243 (byte-compile-inline-expand): Pay attention to inlining to/from
11244 lexically bound code.
11245 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11246 any more.
11247 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11248 any more and don't call compiler-macros.
11249 (byte-compile-splice-in-already-compiled-code): Remove.
11250 (byte-code): Don't inline any more.
11251 (disassemble-offset): Receive `bytes' as argument rather than via
11252 dynamic scoping.
11253 (byte-compile-tag-number): Declare before first use.
11254 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11255 `return' even if make-spliceable.
11256 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11257 obsolete interactive-p.
11258 (byte-optimize-lapcode): Optimize new lap-codes.
11259 Don't trip up on new form of `byte-constant' lap code.
11260
11261 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11262
11263 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11264
11265 * custom.el (custom-initialize-default, custom-declare-variable):
11266 Use `defvar'.
11267
11268 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11269 New variables.
11270 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11271 (COMPILE_FIRST): Add macroexp and cconv.
11272 * makefile.w32-in: Mirror changes in Makefile.in.
11273
11274 * vc/cvs-status.el:
11275 * vc/diff-mode.el:
11276 * vc/log-edit.el:
11277 * vc/log-view.el:
11278 * vc/smerge-mode.el:
11279 * textmodes/bibtex-style.el:
11280 * textmodes/css.el:
11281 * startup.el:
11282 * uniquify.el:
da91b5f2
CY
11283 * minibuffer.el:
11284 * newcomment.el:
11285 * reveal.el:
11286 * server.el:
11287 * mpc.el:
11288 * emacs-lisp/smie.el:
11289 * doc-view.el:
11290 * dired.el:
03408648
SM
11291 * abbrev.el: Use lexical binding.
11292
0f0c1f27
EZ
112932011-04-01 Eli Zaretskii <eliz@gnu.org>
11294
11295 * info.el (info-display-manual): New function.
11296
c82b2579
SM
112972011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11300
221ddf68
TH
113012011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11302
11303 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11304 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11305
cba6e77e
GM
113062011-03-31 Glenn Morris <rgm@gnu.org>
11307
e040639f
GM
11308 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11309
cba6e77e
GM
11310 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11311
6d0f1c9e
CS
113122011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11313
11314 * progmodes/python.el (python-default-interpreter)
11315 (python-python-command-args, python-jython-command-args)
11316 (python-which-shell, python-which-args, python-which-bufname)
11317 (python-file-queue, python-comint-output-filter-function)
11318 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11319 variables and functions.
11320
3e2d70fd
SM
113212011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11324 (completion-in-region-mode): New minor mode.
11325 (completion-in-region): Use it.
11326 (completion-in-region--data, completion-in-region-mode-map): New vars.
11327 (completion-in-region--postch): New function.
11328 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11329 New vars.
11330 (completion--capf-wrapper): New function.
11331 (completion-at-point): Use it to track well-behavedness of
11332 hook functions.
11333 (completion-help-at-point): New command.
11334
f3e4086c
JM
113352011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11336
11337 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11338 syntax class to search for whitespace on a single line
11339 (Message-ID: <4D938140.4030905@redhat.com>).
11340
eb7ffc14
LL
113412011-03-30 Leo Liu <sdl.web@gmail.com>
11342
11343 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11344 New commands.
11345 (edit-abbrevs-map): Bind them here.
11346 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11347
d806ab68
KM
113482011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11349
11350 * allout.el (allout-hide-by-annotation, allout-flag-region):
11351 Reduce possibility of overlay leakage by making them volatile.
11352
11353 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11354 hash is not shared between buffers. Mode initialization is
11355 responsible for giving it a useful starting value.
11356 (allout-item-span): Reduce possibility of overlay leakage by
11357 making them volatile.
11358 (allout-widgets-count-buttons-in-region): Add diagnostic function
11359 for tracking down button overlay leaks.
11360
ea622834
LL
113612011-03-29 Leo Liu <sdl.web@gmail.com>
11362
11363 * ido.el (ido-read-internal): Use the default history var
11364 minibuffer-history if no HISTORY is specified.
11365
b62f8267
G
113662011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11367
03408648
SM
11368 * net/imap.el (imap-shell-open, imap-process-connection-type):
11369 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11370 Kerberos, SSL, other subprocesses.
11371
947b6566
LL
113722011-03-28 Leo Liu <sdl.web@gmail.com>
11373
11374 * abbrev.el (abbrev-table-empty-p): New function.
11375 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11376 nonempty ones. (Bug#5937)
11377
5ffb62aa
JD
113782011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11379
11380 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11381
7a097943
LL
113822011-03-27 Leo Liu <sdl.web@gmail.com>
11383
11384 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11385 for foreground and background colors.
11386 (ansi-color-make-color-map): Adapt.
11387
c5b40130
LL
113882011-03-25 Leo Liu <sdl.web@gmail.com>
11389
1f48f7d2
LL
11390 * midnight.el (midnight-time-float): Remove. Note it calculates
11391 the microsecond component incorrectly and seconds-to-time does the
11392 same job.
625897ec 11393 Remove redundant (require 'timer).
1f48f7d2 11394
c5b40130
LL
11395 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11396 (ido-completions): Remove unused arguments. (Bug#8329)
11397
d86d2721
SM
113982011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * minibuffer.el (completion--flush-all-sorted-completions):
11401 Remove itself from hook.
11402 (completion-at-point): Let the functions perform the completion
11403 immediately and return nil or t.
11404 * comint.el (comint-dynamic-complete-functions): Now identical to
11405 completion-at-point-functions.
11406 (comint-dynamic-list-input-ring): Remove unused var `index'.
11407 (comint--match-partial-filename, comint--unquote&expand-filename):
11408 New funs, split from comint-match-partial-filename.
11409 (comint-dynamic-complete): Use completion-at-point.
11410 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11411
e8974c48
DA
114122011-03-24 Drew Adams <drew.adams@oracle.com>
11413
11414 * thingatpt.el: Support `defun'.
11415
def71b5e
LL
114162011-03-23 Leo Liu <sdl.web@gmail.com>
11417
cb5af48e
LL
11418 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11419
def71b5e
LL
11420 * help-mode.el (help-mode-finish): Tweak regexp.
11421
927c53e7
GM
114222011-03-23 Glenn Morris <rgm@gnu.org>
11423
18d05bed
GM
11424 * eshell/esh-opt.el (eshell-eval-using-options):
11425 Do not bind unused local variable `eshell-option-stub'.
11426
927c53e7
GM
11427 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11428
9d0da923
JB
114292011-03-22 Juanma Barranquero <lekktu@gmail.com>
11430
11431 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11432 keymap variable in `with-no-warnings' to avoid a warning when the
11433 keymap has been already `defconst'ed.
11434
4b978a67
LL
114352011-03-22 Leo Liu <sdl.web@gmail.com>
11436
11437 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11438 encode all chars in abbrevs; otherwise use emacs-mule or
11439 utf-8-emacs. (Bug#8308)
11440
5fd62452
JB
114412011-03-22 Juanma Barranquero <lekktu@gmail.com>
11442
0b1596c6
JB
11443 * simple.el (backward-delete-char-untabify):
11444 Avoid warning about using `delete-backward-char'.
11445
5fd62452
JB
11446 * image.el (image-type-file-name-regexps): Make it variable.
11447 `imagemagick-register-types' modifies it, and the user may want
11448 to add new extensions for known image types.
11449 (imagemagick-register-types): Throw error if not using ImageMagick.
11450
0b4e93f1
LL
114512011-03-22 Leo Liu <sdl.web@gmail.com>
11452
11453 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11454 located before rcirc-prompt-end-marker.
11455 (rcirc-complete): Error if point is not after rcirc prompt.
11456 Handle the case when table is nil.
9882e214 11457 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11458
fccee4ab
CY
114592011-03-22 Chong Yidong <cyd@stupidchicken.com>
11460
11461 * custom.el (custom--inhibit-theme-enable): Make it affect only
11462 custom-theme-set-variables and custom-theme-set-faces.
11463 (provide-theme): Ignore custom--inhibit-theme-enable.
11464 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11465 (custom-enabling-themes): Delete variable.
d86d2721
SM
11466 (enable-theme): Accept only loaded themes as arguments.
11467 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11468 (custom-enabled-themes): Forbid themes from setting this.
11469 Eliminate use of custom-enabling-themes.
11470 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11471
af896da6
LL
114722011-03-21 Leo Liu <sdl.web@gmail.com>
11473
11474 * ido.el (ido-read-internal): Add ido-selected to history instead
11475 of user input.
11476
78f64af0
SM
114772011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * subr.el (deferred-action-list, deferred-action-function):
11480 Mark obsolete.
11481
b16ac1ec
LL
114822011-03-21 Leo Liu <sdl.web@gmail.com>
11483
810f7698
LL
11484 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11485 change on 2011-02-13 (bug#8309).
11486
b16ac1ec
LL
11487 * minibuffer.el (read-file-name-function): Change default value.
11488 (read-file-name--defaults): Rename from read-file-name-defaults.
11489 (read-file-name-default): Rename from read-file-name.
11490 (read-file-name): Call read-file-name-function.
11491
4e05e67e
GM
114922011-03-21 Glenn Morris <rgm@gnu.org>
11493
11494 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11495 Doc fixes.
11496
4359915b
CY
114972011-03-21 Chong Yidong <cyd@stupidchicken.com>
11498
11499 * cus-theme.el: Add missing provide statement.
11500 (customize-create-theme): Extract theme value correctly.
11501 (custom-theme-visit-theme): Autoload.
11502 (customize-create-theme): Prompt before inserting default faces.
11503
1fe275ee
JB
115042011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11505
11506 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11507 units and musical notes.
11508
cd394be1 115092011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11510
11511 * ido.el (ido-read-internal): Use completing-read-default.
11512 (ido-completing-read): Fix compatibility with completing-read.
11513
7d476bde
CO
115142011-03-20 Christian Ohler <ohler@gnu.org>
11515
11516 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11517 (ert-delete-all-tests): Use `called-interactively-p' rather than
11518 `interactive-p'.
11519 (ert--make-xrefs-region): Respect END.
11520
fe0fb33e
CY
115212011-03-19 Chong Yidong <cyd@stupidchicken.com>
11522
ff854b0b
CY
11523 * dired-aux.el (dired-create-directory): Signal an error if the
11524 directory already exists (Bug#8246).
11525
fe0fb33e
CY
11526 * facemenu.el (list-colors-display): Call list-faces-display
11527 inside with-help-window.
11528 (list-colors-print): Use display property to align the final
11529 column, instead of checking window-width.
11530
576bce32
EZ
115312011-03-19 Eli Zaretskii <eliz@gnu.org>
11532
4d61f28d 11533 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11534 windows-nt systems.
11535 (emerge-protect-metachars): Quote correctly for ms-dos and
11536 windows-nt systems.
11537
89c41d68 115382011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11539
11540 * info.el (info-initialize): Replace all uses of `:' with
11541 path-separator for compatibility with non-Unix systems.
11542 Cache quoting of path-separator. (Bug#8258)
11543
b14e3e21 115442011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11545
11546 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11547 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11548 (mouse-avoidance-mode): Fix typos in docstrings.
11549
4525ce3e
CY
115502011-03-19 Chong Yidong <cyd@stupidchicken.com>
11551
11552 * startup.el (package-subdirectory-regexp): Move from package.el.
11553 Omit \\` and \\', and let callers add them.
11554
11555 * emacs-lisp/package.el (package-strip-version)
11556 (package-load-all-descriptors): Add \\` and \\' to
11557 package-subdirectory-regexp before using it.
11558 (package-untar-buffer): New arg DIR; ensure that file untars only
11559 into this expected directory. Remove superfluous delete-region.
11560 (package-unpack): Caller changed.
11561 (package-tar-file-info): Use package-subdirectory-regexp.
11562
a904a09a 115632011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11564
a904a09a
SM
11565 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11566 diff-mode-shared-map (bug#8284).
11567 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11568
115692011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570
11571 * calendar/time-date.el (format-seconds): Use assoc instead of
11572 assoc-string, since assoc-string doesn't exist in XEmacs.
11573
171fc304
JB
115742011-03-17 Juanma Barranquero <lekktu@gmail.com>
11575
11576 * custom.el (custom-known-themes): Reflow docstring.
11577 (custom-theme-load-path): Fix typo in docstring.
11578 (load-theme): Fix typo in error message.
11579 (custom-available-themes, custom-variable-theme-value):
11580 Use `let', not `let*'.
11581
d71990a1
JB
115822011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11583
11584 * calc/README: Mention inclusion of musical notes.
11585
11586 * calc/calc-units.el (calc-lu-quant): Rename from
11587 `calc-logunits-quantity'.
11588 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11589 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11590 (calc-db): Rename from `calc-dblevel'.
11591 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11592 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11593 (calc-np): Rename from `calc-nplevel'.
11594 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11595 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11596 (calc-lu-plus): Rename from `calc-logunits-add'.
11597 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11598 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11599 (calc-lu-minus): Rename from `calc-logunits-sub'.
11600 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11601 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11602 (calc-lu-times): Rename from `calc-logunits-mul'.
11603 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11604 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11605 (calc-lu-divide): Rename from `calc-logunits-div'.
11606 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11607 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11608
11609 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11610 functions being autoloaded.
11611
11612 * calc/calc.el (calc-lu-power-reference): Rename from
11613 `calc-logunits-power-reference'.
11614 (calc-lu-field-reference): Rename from
11615 `calc-logunits-field-reference'.
11616
7a71b18d
GM
11617 * calc/calc-help.el (calc-l-prefix-help):
11618 Mention musical note functions.
d71990a1 11619
40c2934b
SM
116202011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * minibuffer.el (completion-all-sorted-completions):
11623 Use :completion-cycle-penalty text property if present.
11624
b0911414
KM
116252011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11626
11627 * allout.el (allout-yank-processing): Adjust for new rebulleting
11628 regime so bullet being yanked is used without prompting the user
11629 for a choice.
11630
8a05b668
JB
116312011-03-16 Juanma Barranquero <lekktu@gmail.com>
11632
11633 * startup.el (command-line): Warn the user that _emacs is deprecated.
11634
5ba5fb81
JB
116352011-03-16 Juanma Barranquero <lekktu@gmail.com>
11636
11637 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11638 (delphi-verbose, delphi-comment-face, delphi-string-face)
11639 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11640 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11641 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11642 (delphi-new-comment-line, delphi-font-lock-defaults)
11643 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11644 Fix typos in docstrings.
11645
2dab465b
KM
116462011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11647
5ba5fb81 11648 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11649 Invert the roles of character and string values for INSTEAD, so a
11650 string is used for the more common case of a defaulting prompt.
11651
0adf5618
SM
116522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * progmodes/ruby-mode.el (ruby-backward-sexp):
11655 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11656 * play/gamegrid.el (gamegrid-make-face):
11657 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11658 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11659 * notifications.el (notifications-notify):
11660 * net/xesam.el (xesam-search-engines):
11661 * net/quickurl.el (quickurl-list-insert):
11662 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11663
d72700e5
CY
116642011-03-15 Chong Yidong <cyd@stupidchicken.com>
11665
11666 * startup.el (command-line): Update package subdirectory regexp.
11667
49c5410a
SM
116682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11669
c6eee9aa
SM
11670 * allout.el (allout-abbreviate-flattened-numbering)
11671 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11672
49c5410a
SM
11673 * subr.el (read-char-choice): Only show the cursor after the prompt,
11674 not after the answer.
11675
047b2bb9
KR
116762011-03-15 Kevin Ryde <user42@zip.com.au>
11677
11678 * help-fns.el (variable-at-point): Skip leading quotes, if any
11679 (bug#8253).
11680
0a57d256
SM
116812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11682
11683 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11684 warning message.
11685
77c992bc
MA
116862011-03-14 Michael Albinus <michael.albinus@gmx.de>
11687
11688 * shell.el (shell): When called interactively, offer to change the
11689 shell file name on remote hosts.
11690
eebc475d
TZ
116912011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11692
11693 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11694 integration for LDAP parameters. The host, base, user or binddn,
11695 and secret tokens can be specified in a netrc file, for instance.
11696 This is optional because an `auth-source' parameter must be
11697 specified in the search attributes.
11698
9d05d1ba
JB
116992011-03-13 Juanma Barranquero <lekktu@gmail.com>
11700
11701 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11702
09d9db2c
GM
117032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11706 into declaration. Remove redundant and harmful binding.
11707
117082011-03-12 Eli Zaretskii <eliz@gnu.org>
11709
11710 * files.el (file-ownership-preserved-p): Pass `integer' as an
11711 explicit 2nd argument to `file-attributes'. If the file's owner
11712 is the Administrators group on Windows, and the current user is
11713 Administrator, consider that a match.
11714
11715 * server.el (server-ensure-safe-dir): Consider server directory
11716 safe on MS-Windows if its owner is the Administrators group while
11717 the current Emacs user is Administrator. Use `=' to compare
11718 numerical UIDs, since they could be integers or floats.
11719
219bd536
JB
117202011-03-12 Juanma Barranquero <lekktu@gmail.com>
11721
11722 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11723
f3afd36b
MA
117242011-03-12 Michael Albinus <michael.albinus@gmx.de>
11725
11726 Sync with Tramp 2.2.1.
11727
11728 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11729
11730 * net/trampver.el: Update release number.
11731
3aaaa6f1
SM
117322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11733
94642599
SM
11734 * progmodes/compile.el (compilation--previous-directory): Fix up
11735 various nil/dead-marker mismatches (bug#8014).
11736 (compilation-directory-properties, compilation-error-properties):
11737 Don't call it at a position past the one we're about to change.
11738
3aaaa6f1
SM
11739 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11740 Disable obsolescence warnings in the file that declares it.
11741
14239447
KM
117422011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11743
099c39a4
JB
11744 * allout-widgets.el (allout-widgets-tally):
11745 Initialize allout-widgets-tally as a hash table rather than nil to
11746 prevent mode-line redisplay warnings. Also, clarify the module
11747 description and fix a comment typo.
14239447 11748
135e287c
JB
117492011-03-11 Juanma Barranquero <lekktu@gmail.com>
11750
11751 * help-fns.el (describe-variable): Don't complete keywords.
11752 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11753
ffbf300e
CY
117542011-03-10 Chong Yidong <cyd@stupidchicken.com>
11755
ba08b241
CY
11756 * emacs-lisp/package.el (package-version-join): Impose a standard
11757 string representation for pre/alpha/beta version lists.
11758 (package-unpack-single): Standardize the directory name by passing
11759 it through package-version-join.
11760 (package-strip-rcs-id): Accept any version string that does not
11761 signal an error in version-to-list.
ffbf300e 11762
f346fd6b
MA
117632011-03-10 Michael Albinus <michael.albinus@gmx.de>
11764
11765 * simple.el (delete-trailing-whitespace): Return nil for the
11766 benefit of `write-file-functions'.
11767
ccb55d27
GM
117682011-03-10 Glenn Morris <rgm@gnu.org>
11769
5ceaac0c
GM
11770 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11771
02da65ff
GM
11772 * vc/vc-git.el (vc-git-program): New option.
11773 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11774 (vc-git--call): Use it.
11775
b2f603cc
GM
11776 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11777
5772caab
GM
11778 * cus-edit.el (Custom-newline): If no button at point, look
11779 for a subgroup button at start-of-line. (Bug#2298)
11780
ccb55d27
GM
11781 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11782
ec6ecaed
JD
117832011-03-10 Julien Danjou <julien@danjou.info>
11784
11785 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11786 `cursor-type' is nil.
11787
9d5aa01d
JB
117882011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11789
11790 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11791
b6a5875b
KM
117922011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11793
7a71b18d 11794 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11795 preserves the existing header prefix, rebulleting it if necessary,
11796 rather than replacing it. This is necessary for proper operation
11797 of cooperative addons like allout-widgets.
1154d12e
JB
11798 (allout-make-topic-prefix, allout-rebullet-heading):
11799 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11800 value as alternate bullet to be used, instead of prompting the user
11801 for a bullet character.
b6a5875b 11802
ee545c35
MA
118032011-03-09 Michael Albinus <michael.albinus@gmx.de>
11804
d86d2721
SM
11805 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11806 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11807 `tramp-default-port'.
11808
c47971d7
DD
118092011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11810
11811 * net/rcirc.el (rcirc-handler-001): Remove useless
11812 with-rcirc-process-buffer.
11813 (rcirc-check-auth-status): Swap arguments to string-match.
11814
13522cb4
GM
118152011-03-09 Glenn Morris <rgm@gnu.org>
11816
0be6f4f1
GM
11817 * shell.el (shell-mode):
11818 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11819
13522cb4
GM
11820 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11821 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11822
515de2e3
CY
118232011-03-08 Chong Yidong <cyd@stupidchicken.com>
11824
11825 * emacs-lisp/package.el (package-refresh-contents)
11826 (package-menu-execute): Use condition-case-no-debug.
11827
b511b994
MA
118282011-03-08 Michael Albinus <michael.albinus@gmx.de>
11829
11830 * simple.el (shell-command-to-string): Use `process-file'.
11831
11832 * emacs-lisp/package.el (package-tar-file-info): Handle also
11833 remote files.
11834
d86d2721
SM
11835 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11836 Use `equal' for upload base check.
b511b994 11837
25bbfb31
AM
118382011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11839
11840 * textmodes/texinfo.el (texinfo-environments):
11841 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11842
be996521
GM
118432011-03-08 Glenn Morris <rgm@gnu.org>
11844
e9c8529f
GM
11845 * cus-start.el (cursor-in-non-selected-windows):
11846 Fix :set quoting oddness. (Bug#8192)
11847
be996521
GM
11848 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11849 in some setf expressions. (Bug#2159)
11850
2bb5649e
CY
118512011-03-08 Chong Yidong <cyd@stupidchicken.com>
11852
11853 * custom.el (custom-available-themes): Return themes in
11854 alphabetical order.
11855
33383987 11856See ChangeLog.15 for earlier changes.
e3d51b27
MR
11857
11858;; Local Variables:
11859;; coding: utf-8
e3d51b27
MR
11860;; End:
11861
acaf905b 11862 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11863
11864 This file is part of GNU Emacs.
11865
11866 GNU Emacs is free software: you can redistribute it and/or modify
11867 it under the terms of the GNU General Public License as published by
11868 the Free Software Foundation, either version 3 of the License, or
11869 (at your option) any later version.
11870
11871 GNU Emacs is distributed in the hope that it will be useful,
11872 but WITHOUT ANY WARRANTY; without even the implied warranty of
11873 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11874 GNU General Public License for more details.
11875
11876 You should have received a copy of the GNU General Public License
11877 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.