Avoid the use of ((lambda ...) ...) in lexical-binding code.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9c2d6a4a
SM
12012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
5
9557e2be
CY
62012-04-13 Kim F. Storm <storm@cua.dk>
7
8 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10
81927dd2
CY
112012-04-12 Chong Yidong <cyd@gnu.org>
12
13 * custom.el (custom-theme-set-variables): Doc fix.
14
8edb942b
GM
152012-04-12 Glenn Morris <rgm@gnu.org>
16
17 * international/mule.el (set-auto-coding-for-load): Doc fix.
18
4517fe3a
SM
192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
22 Reported by Noah Friedman. Backport from trunk.
23
0de3da9f
AM
242012-04-11 Alan Mackenzie <acm@muc.de>
25
4517fe3a
SM
26 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
27 Make imenu work again for Objective C Mode. Correct the *-index
28 values, these having been disturbed by a previous change in 2011-08.
57f845ee 29
0de3da9f
AM
30 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
31 Correct two search limits.
32
ede141ac
SM
332012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
36
d0203d61
AS
372012-04-10 Andreas Schwab <schwab@linux-m68k.org>
38
39 * international/characters.el: Fix sorting.
40
cb80bcd1
EZ
412012-04-10 Eli Zaretskii <eliz@gnu.org>
42
43 * international/characters.el: Add more missing Latin case pairs.
44
0d93216c
AS
452012-04-10 Andreas Schwab <schwab@linux-m68k.org>
46
47 * international/characters.el: Recover lost case pairs.
48
4a427f58
GM
492012-04-10 Glenn Morris <rgm@gnu.org>
50
51 * files.el (dir-locals-set-class-variables): Doc fix.
52
9f847f41
EZ
532012-04-09 Eli Zaretskii <eliz@gnu.org>
54
3f1b5bf8
EZ
55 * international/characters.el: Add set-case-syntax-pair call for
56 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
57 counterpart. (Bug#11209)
58
9f847f41
EZ
59 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
60
0c2014a3
GM
612012-04-09 Glenn Morris <rgm@gnu.org>
62
63 * calendar/holidays.el (calendar-check-holidays): Doc fix.
64
e2627d21
EZ
652012-04-08 Eli Zaretskii <eliz@gnu.org>
66
67 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
68 Hebrew.
69
5c14e333
CY
702012-04-08 Chong Yidong <cyd@gnu.org>
71
72 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
73 (Bug#11192).
74
bf6fa423
GM
752012-04-07 Glenn Morris <rgm@gnu.org>
76
77 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
78
82b24fb2
EZ
792012-04-07 Eli Zaretskii <eliz@gnu.org>
80
4517fe3a
SM
81 * minibuffer.el (completion-in-region-mode-map):
82 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 83
f23d2c7d
LMI
842012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
85
86 * window.el (shrink-window): Mention the `window-min-height'
87 variable in the doc string.
88
0a0a3573
BG
892012-04-05 Bastien Guerry <bzg@altern.org>
90
91 * color.el (color-lighten-name): Fix typo.
92
e5248ac9
SM
932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * server.el (server--on-display-p): New function.
96 (server--on-display-p): Use it.
97
b4243e22
GV
982012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
99
100 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
101 (bug#11145).
102
305d9f44
SM
1032012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * comint.el (comint--common-quoted-suffix): Check string boundary
106 before comparing (bug#11158).
107 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
108
3d439cd1
CY
1092012-04-04 Chong Yidong <cyd@gnu.org>
110
321cc491
CY
111 * minibuffer.el (completion-extra-properties): Doc fix.
112
3d439cd1
CY
113 * subr.el (delayed-warnings-hook): Doc fix.
114
2d562c0f
DU
1152012-04-04 Daiki Ueno <ueno@unixuser.org>
116
117 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
118 selection (Bug#11159).
119 (epa-insert-keys): Inform that the default public key will be
120 exported if no key is selected.
121
4443f204
RS
1222012-04-04 Richard Stallman <rms@gnu.org>
123
124 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
125
529c06b6
CY
1262012-04-03 Chong Yidong <cyd@gnu.org>
127
128 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
129 mail-insert-file, not its obsolete alias mail-attach-file.
130
66b907dc
MA
1312012-04-03 Michael Albinus <michael.albinus@gmx.de>
132
133 * notifications.el (notifications-notify): Fix docstring.
134
c0ea195d
GM
1352012-04-02 Glenn Morris <rgm@gnu.org>
136
137 * emacs-lisp/authors.el (authors-aliases): Another addition.
138
5ca64e00
MA
1392012-04-02 Michael Albinus <michael.albinus@gmx.de>
140
141 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
142 `tramp-compat-call-process' instead of `tramp-local-call-process'.
143 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
144
42ee526b
CY
1452012-04-01 Chong Yidong <cyd@gnu.org>
146
147 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
148 Handle root directory properly.
149 (copy-directory): Caller changed.
150
151 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
152 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
153
0b021094
GM
1542012-03-31 Glenn Morris <rgm@gnu.org>
155
40f86458
GM
156 * term/xterm.el (xterm-extra-capabilities): Doc fix.
157
7019c177
GM
158 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
159
a1daddd6
GM
160 * calendar/calendar.el (calendar-window-list)
161 (calendar-hide-window): Restore. (Bug#11140)
162 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
163
0b021094
GM
164 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
165
40311efc
TV
1662012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
167
168 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
169 Check if file is a symlink (Bug#10489).
170
171 * files.el (copy-directory): Likewise.
172
5319014e
CY
1732012-03-30 Chong Yidong <cyd@gnu.org>
174
175 * image.el (imagemagick-types-inhibit)
176 (imagemagick-register-types): Doc fix.
177
935d1290
AM
1782012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
179
180 * ispell.el (ispell-get-extended-character-mode): Disable
181 extended-char-mode for hunspell. hunspell does not support it and
182 treats ~word as ordinary words in pipe mode.
183
61c6e8fd
GM
1842012-03-30 Glenn Morris <rgm@gnu.org>
185
186 * tutorial.el (help-with-tutorial): Ensure local variables don't
187 happen to make the buffer read-only. (Bug#11127)
188
81fdff00
SM
1892012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
192 (perl-calculate-indent): Return `noindent' in strings.
193
6e7a6ec0
SS
1942012-03-28 Sam Steingold <sds@gnu.org>
195
196 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
197 instead of the broken adhockery which does not prevent calendar
198 buffers from being displayed at random after exit.
199 (calendar-window-list, calendar-hide-window): Remove the broken
200 adhockery.
201
fee88ca0
GM
2022012-03-28 Glenn Morris <rgm@gnu.org>
203
204 * replace.el (query-replace-map): Doc fix.
205
38de3354
AS
2062012-03-28 Andreas Schwab <schwab@linux-m68k.org>
207
208 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
209 contents. (Bug#11109)
210
b973155e
SM
2112012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
214 (bug#11077).
215 (avl-tree--check, avl-tree--check-node): New funs.
216
dcb6e7b3
MR
2172012-03-27 Martin Rudalics <rudalics@gmx.at>
218
219 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
220 (switch-to-prev-buffer, switch-to-next-buffer):
221 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
222 showing a buffer already is done on the same frame.
223
b4fa35fa
GM
2242012-03-27 Glenn Morris <rgm@gnu.org>
225
226 * startup.el (mail-host-address): Doc fix.
227
f9210e18
SM
2282012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
231 than 197 variables.
232
c0bf7753
AF
2332012-03-26 Ami Fischman <ami@fischman.org>
234
235 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
236
33da7b16
GM
2372012-03-26 Glenn Morris <rgm@gnu.org>
238
02243d9d
GM
239 * files.el (save-buffers-kill-emacs): Doc fix.
240
33da7b16
GM
241 * startup.el (normal-top-level, command-line, command-line-1):
242 Give them doc strings.
243
e5a69fd0
EZ
2442012-03-25 Eli Zaretskii <eliz@gnu.org>
245
246 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 247 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 248
9a69676a
CY
2492012-03-25 Chong Yidong <cyd@gnu.org>
250
4125cb8b
CY
251 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
252 theme if it was previously enabled before (Bug#11031).
253
dd470960
CY
254 * cus-theme.el (custom-theme-write-faces): Retrieve current face
255 spec with custom-face-get-current-spec if its :shown-value is not
256 determined yet (Bug#9337).
4125cb8b 257 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 258
9a69676a
CY
259 * button.el (button-at): Minor addition to docstring.
260
6e7e90fa
SL
2612012-03-24 Simon Leinen <simon.leinen@gmail.com>
262
263 * vc/vc.el (vc-merge): Fix a prompt.
264
f06e2758
CY
2652012-03-24 Chong Yidong <cyd@gnu.org>
266
267 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
268 point (Bug#9623).
269
6e7e90fa
SL
270 * button.el (button-at): Minor addition to docstring.
271
b9d0879b
SM
2722012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * newcomment.el (comment-choose-indent): No space after BOL.
275
e71cebb3
SS
2762012-03-22 Sam Steingold <sds@gnu.org>
277
278 * window.el (switch-to-prev-buffer): Revert last patch because the
279 bug turned out to be an advertised feature (Elisp manual 28.14).
280
335aff35
GM
2812012-03-22 Glenn Morris <rgm@gnu.org>
282
283 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
284 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
285
c676576a
LMI
2862012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
287
288 * net/network-stream.el (network-stream-open-starttls): Make error
289 message under Windows be less misleading.
290
126f3d39
LW
2912012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
292
293 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
294 understands (bug#9942).
295
64fee311
CY
2962012-03-22 Chong Yidong <cyd@gnu.org>
297
298 * simple.el (end-of-visible-line): Handle return value of
299 next-single-property-change properly (Bug#9371).
300
a640d29a
KH
3012012-03-22 Kenichi Handa <handa@m17n.org>
302
303 * international/quail.el (quail-insert-kbd-layout): Fix previous
304 change. To avoid unwanted bidi reordering, use
305 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
306
39675016
DG
3072012-03-21 Dmitry Gutov <dgutov@yandex.ru>
308
309 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
310 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
311 (ruby-beginning-of-indent): Be more careful with the difference
312 between word-boundary and symbol boundary.
313 (ruby-mode-syntax-table): Make : a symbol constituent.
314
0a6934fc 3152012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 316
3d008e4f
SM
317 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
318
0a6934fc
SM
3192012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
320
af67c9d7
SM
321 * progmodes/etags.el (tags-completion-at-point-function):
322 Improve last fix.
323
1acad97c
SM
324 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
325
e298b5da
SS
3262012-03-21 Sam Steingold <sds@gnu.org>
327
328 * progmodes/etags.el (tags-completion-at-point-function):
329 Avoid the error when point is inside the pattern.
330
91d82a70
JY
3312012-03-21 John Yates <john@yates-sheets.org> (tiny change)
332
333 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
334 line (Bug#10855).
335
69188b79
CY
3362012-03-21 Drew Adams <drew.adams@oracle.com>
337
338 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
339
99fc91fe
AK
3402012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
341
342 * ido.el (ido-set-current-directory, ido-read-internal)
343 (ido-choose-completion-string, ido-completion-help): Handle nil
344 value of ido-completion-buffer (Bug#11008).
345
087bbb4c
SS
3462012-03-21 Sam Steingold <sds@gnu.org>
347
348 * window.el (switch-to-prev-buffer): Do not switch to a visible
349 window previous buffer, just like with the frame previous buffers.
350
fb5b8aca
CY
3512012-03-21 Chong Yidong <cyd@gnu.org>
352
353 * faces.el (make-face, make-empty-face, copy-face):
354 * face-remap.el (face-remap-add-relative, face-remap-set-base):
355 Doc fixes.
356
dc9924b8
SM
3572012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * wid-edit.el (widget-complete-field): Remove (bug#11051).
360 (widget-complete): Remove broken use of it.
361
f0bcceb9
CY
3622012-03-20 Chong Yidong <cyd@gnu.org>
363
dc9924b8
SM
364 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
365 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
366 characters.
367
ee52ebf3
TH
3682012-03-20 Tassilo Horn <tassilo@member.fsf.org>
369
370 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
371 to draw rectangles, not squares. (Regression introduced by revno
372 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
373
4c5779ab
CY
3742012-03-18 Chong Yidong <cyd@gnu.org>
375
376 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
377 it is not yet defined (for temacs).
378
15360934
LL
3792012-03-18 Leo Liu <sdl.web@gmail.com>
380
dc9924b8 381 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 382
d9a8eb66
EZ
3832012-03-17 Eli Zaretskii <eliz@gnu.org>
384
385 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
386 (ispell-choices-win-default-height, ispell-silently-savep)
387 (ispell-dictionary-alist, ispell-encoding8-command)
388 (ispell-check-version, ispell-aspell-find-dictionary)
389 (ispell-valid-dictionary-list, ispell-words-keyword)
390 (ispell-get-word, ispell-internal-change-dictionary)
391 (ispell-region, ispell-skip-region-list)
392 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
393 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
394 (ispell-message-text-end, ispell-message)
395 (ispell-buffer-local-parsing): Doc fix.
396
f02ff80d
J
3972012-03-13 Jambunathan K <kjambunathan@gmail.com>
398
399 * htmlfontify.el: Add support for code block fontification for ODT
400 export (Bug #9914).
401 (hfy-optimisations): Define new option
402 `body-text-only'
403 (hfy-fontify-buffer): Honor above setting.
404 (hfy-begin-span, hfy-end-span): New routines factored out form
405 `hfy-fontify-buffer'.
406 (hfy-begin-span-handler, hfy-end-span-handler): New variables
407 that permit insertion of custom tags.
408 (hfy-fontify-buffer): Use above handlers.
409 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
410 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 411 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
412 over multiple runs. This is made possible by having the caller let
413 bind a special variable `hfy-user-sheet-assoc'.
414 (htmlfontify-string): New defun.
415 (hfy-compile-face-map): Make sure that the last char in the
416 buffer is correctly fontified.
417 (hfy-face-resolve-face): Whitespace only change.
418
9ac7a13f
EZ
4192012-03-17 Eli Zaretskii <eliz@gnu.org>
420
421 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
422 message more clear.
423
e2b5bdd7
LL
4242012-03-16 Leo Liu <sdl.web@gmail.com>
425
426 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
427
2e492df3
AM
4282012-03-16 Alan Mackenzie <acm@muc.de>
429
430 Further optimise the handling of large macros.
431
432 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
433 limit to a call of `c-literal-limits'.
434 (c-determine-+ve-limit): New function.
dc9924b8
SM
435 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
436 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
437 In CASE 5B, restrict a search limit to 500.
438 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
439
440 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
441 Restrict macro bounds to +-500 from after-change's BEG END.
442
50e94f0c
LL
4432012-03-16 Leo Liu <sdl.web@gmail.com>
444
445 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
446
6f09f6ed
AH
4472012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
448
449 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 450 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 451
c7e73d51
GM
4522012-03-16 Glenn Morris <rgm@gnu.org>
453
da986230
GM
454 * view.el (view-buffer, view-buffer-other-window)
455 (view-buffer-other-frame): Doc fixes re special mode-class.
456
0835f01e
GM
457 * subr.el (eval-after-load): If named feature is provided not from
458 a file, run after-load forms. (Bug#10946)
459
c7e73d51
GM
460 * calendar/calendar.el (calendar-insert-at-column):
461 Handle non-unit-width characters a bit better. (Bug#10978)
462
3f2eafd1
CY
4632012-03-15 Chong Yidong <cyd@gnu.org>
464
465 * emacs-lisp/ring.el (ring-extend): New function.
466 (ring-insert+extend): Extend the ring correctly (Bug#11019).
467
468 * comint.el (comint-read-input-ring)
469 (comint-add-to-input-history): Grow comint-input-ring lazily.
470
103af3fe
SM
4712012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
472
663b1677
SM
473 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
474 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
475
103af3fe
SM
476 * imenu.el: Fix multiple inheritance breakage (bug#9199).
477 (imenu-add-to-menubar): Don't add a redundant index.
478 (imenu-update-menubar): Handle a dynamically composed keymap.
479
899cb7cb
KY
4802012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
481
482 * mail/sendmail.el (mail-encode-header):
483 Bind rfc2047-encode-encoded-words to nil.
484
3809f91d
GM
4852012-03-13 Glenn Morris <rgm@gnu.org>
486
487 * calendar/calendar.el (calendar-string-spread):
488 Handle non-unit-width characters a bit better. (Bug#10978)
489
9e345a01
LL
4902012-03-13 Leo Liu <sdl.web@gmail.com>
491
492 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
493 directory and file as argument (Bug#10822).
494
4a07df36
KS
4952012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
496
497 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
498 For dynamically generated code, follow $PC.
499 (gdb-disassembly-handler-custom): Handle no function name case.
500
4aaa9356
TL
5012012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
502
503 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
504 * emulation/ws-mode.el (ws-query-replace):
505 * sort.el (sort-regexp-fields):
506 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
507
225979da
SM
5082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * dabbrev.el: Fix cycle completion order (bug#10963).
511 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
512 (dabbrev-completion): Don't use an obarray; provide
513 a cycle-sort-function.
514
e2f1fdab
LL
5152012-03-12 Leo Liu <sdl.web@gmail.com>
516
dc9924b8 517 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
518 (kill-do-not-save-duplicates): Doc fix.
519
b19490ed
SM
5202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * dabbrev.el: Fix cycle completion (bug#10963).
523 Use lexical binding and wrap to 80 columns.
524 (dabbrev-completion): Delay computing the list of completions.
525
4b05d722
KH
5262012-03-12 Kenichi Handa <handa@m17n.org>
527
528 * international/quail.el (quail-insert-kbd-layout): Surround each
529 row by LRO and PDF instead of inserting many LRMs. Pad the left
530 and right of each non-spacing marks. Insert invisible space
531 between lower and upper characters to prevent composition.
532
dbbc2e69
SM
5332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * minibuffer.el (minibuffer-complete): Don't get confused when the
536 function is run twice via different commands (bug#10958).
537 (complete-with-action): Fix docstring.
538
292112ed
CY
5392012-03-12 Chong Yidong <cyd@gnu.org>
540
5d1ac394
CY
541 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
542 (nxml-completion-at-point-function): New function.
543 (nxml-mode): Use it.
544 (nxml-bind-meta-tab-to-complete-flag): Default to t.
545
292112ed
CY
546 * emacs-lisp/package.el (package-unpack, package-unpack-single):
547 Load generated autoloads file before byte compiling (Bug#10970).
548 (package--make-autoloads-and-compile): New helper fun.
549
4098f8f7
CS
5502012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
551
552 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
553
8f754691
MA
5542012-03-11 Michael Albinus <michael.albinus@gmx.de>
555
556 * autorevert.el (auto-revert-handler): Ensure, that
557 file-readable-p is applied only for local files or in
558 auto-revert-tail-mode.
559
e29ab36b
AS
5602012-03-11 Andreas Schwab <schwab@linux-m68k.org>
561
dbbc2e69
SM
562 * server.el (server-eval-at): Handle non-tcp connections.
563 Decode result string.
ad0bf5b6 564
e29ab36b
AS
565 * server.el (server-msg-size): New constant.
566 (server-reply-print): New function.
567 (server-eval-and-print): Use it.
568 (server-eval-at): Use server-quote-arg and server-unquote-arg.
569 Handle -print-nonl.
570
de5939ba
CS
5712012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
572
573 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
574 (Bug#10987).
575
0c93eabf
CY
5762012-03-11 Chong Yidong <cyd@gnu.org>
577
397a688f
CY
578 * simple.el (goto-line): Doc fix (Bug#9938).
579
2cc775f9
CY
580 * subr.el (save-window-excursion): Doc fix (Bug#9979).
581
0c93eabf
CY
582 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
583 when finished (Bug#10963).
584
c491fa41
MR
5852012-03-11 Martin Rudalics <rudalics@gmx.at>
586
587 * window.el (split-window-below): Fix bug in case where
588 split-window-keep-point is nil (Bug#10971).
589
300e8fa5
JL
5902012-03-11 Juri Linkov <juri@jurta.org>
591
592 * replace.el (replace-highlight): Set isearch-word to nil
593 unconditionally. (Bug#10887)
594
dbf6c5a1
EZ
5952012-03-10 Eli Zaretskii <eliz@gnu.org>
596
597 * net/mairix.el (mairix-replace-invalid-chars): Rename from
598 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 599 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
600 (mairix-widget-create-query): Add usage information about mairix
601 search forms: negating words, searching for substrings, etc.
602
b9e501de
JP
6032012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
604
605 * international/fontset.el (font-encoding-alist): Add an entry for
606 ksx1001 (Bug#5667).
607
92795c91
RS
6082012-03-10 Richard Stallman <rms@gnu.org>
609
1694e6c1
RS
610 * mail/sendmail.el (mail-encode-header):
611 Set rfc2047-encode-encoded-words.
612
607e8555
RS
613 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
614
de3bc99a
RS
615 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
616 view buffer means not swapped.
617 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
618 (rmail-write-region-annotate): Error if real text has disappeared.
619
92795c91
RS
620 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
621
699bd04e
CY
6222012-03-10 Chong Yidong <cyd@gnu.org>
623
624 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
625 * emulation/cua-base.el (cua--init-keymaps):
626 Add delete-forward-char to remappings (Bug#9666).
699bd04e 627
570a1714
MR
6282012-03-10 Martin Rudalics <rudalics@gmx.at>
629
dbbc2e69
SM
630 * speedbar.el (speedbar-unhighlight-one-tag-line):
631 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 632
82dcf4e4
CY
6332012-03-10 Chong Yidong <cyd@gnu.org>
634
7a2c7ca7
CY
635 * minibuffer.el (completion-in-region, completion-help-at-point):
636 Give the completion field overlay a high priority (Bug#6830).
637
82dcf4e4
CY
638 * dired.el (dired-goto-file): Recognize absolute file name
639 listings (Bug#7126).
640 (dired-goto-file-1): New helper function.
641 (dired-toggle-read-only): Inhibit warnings.
642
052e28ac
MA
6432012-03-09 Michael Albinus <michael.albinus@gmx.de>
644
645 * net/dbus.el: (dbus-property-handler): Return empty array if
646 there are no properties.
647
95d5e396
LL
6482012-03-09 Leo Liu <sdl.web@gmail.com>
649
650 * savehist.el (savehist-printable): Stricter check for string
651 value (Bug#10937).
652
3f018d6d
EZ
6532012-03-09 Eli Zaretskii <eliz@gnu.org>
654
dbbc2e69
SM
655 * mail/smtpmail.el (smtpmail-send-it):
656 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
657 valid mbox format.
658
f7fd3d79
GM
6592012-03-09 Glenn Morris <rgm@gnu.org>
660
661 * files.el (dir-locals-find-file):
662 Don't check result is regular, readable.
663 (dir-locals-read-from-file): Demote errors.
664
6ff6e72f
EZ
6652012-03-08 Eli Zaretskii <eliz@gnu.org>
666
dbbc2e69
SM
667 * international/quail.el (quail-insert-kbd-layout):
668 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
669 layout cell, to prevent their reordering by bidi display engine.
670 For details, see the discussion in
671 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
672
9cec7834
AM
6732012-03-08 Alan Mackenzie <acm@muc.de>
674
675 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
676 the starting position; make it extend the marked region when
677 invoked repeatedly - all under appropriate circumstances.
678 Fixes bugs #5525, #10906.
679
9a40b8d4
GM
6802012-03-08 Glenn Morris <rgm@gnu.org>
681
682 * files.el (locate-dominating-file, dir-locals-find-file):
683 Undo 2012-03-06 change.
684
7a08ed35
EZ
6852012-03-07 Eli Zaretskii <eliz@gnu.org>
686
dbbc2e69
SM
687 * international/quail.el (quail-help):
688 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
689 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
690 for the reason.
691
5aca4f71 6922012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
693
694 Avoid superfluous registering of signals. (Bug#10807)
695
696 * notifications.el (notifications-on-action-object)
697 (notifications-on-close-object): New defvars.
698 (notifications-on-action-signal, notifications-on-closed-signal):
699 Unregister the signal if not needed any longer.
700 (notifications-notify): Register `notifications-action-signal' or
701 `notifications-closed-signal', if :on-action or :on-close has been
702 passed as argument.
703
78e8b10a
CY
7042012-03-07 Chong Yidong <cyd@gnu.org>
705
706 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
707 non-X platforms.
708
69481eb8
GM
7092012-03-06 Glenn Morris <rgm@gnu.org>
710
711 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
712 (x-disown-selection-internal, x-get-selection-internal):
713 Doc fix (add arglist signatures). (Bug#10783)
714
133b8e11
KS
7152012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
716
717 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
718 Handle breakpoints with no "type".
719
99a83064
GM
7202012-03-06 Glenn Morris <rgm@gnu.org>
721
722 * files.el (locate-dominating-file): Add optional predicate argument.
723 (dir-locals-find-file): Make use of above change.
724
17798e78
TTN
7252012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
726
727 * info.el (Info-insert-dir): Also try "dir.gz".
728
eb182446
GM
7292012-03-06 Glenn Morris <rgm@gnu.org>
730
8f2114ee
GM
731 * files.el (dir-locals-find-file):
732 Ignore non-readable or non-regular files. (Bug#10928)
733
eb182446
GM
734 * files.el (locate-dominating-file): Doc fix.
735
24679323
AS
7362012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
737
738 * calendar/calendar.el (calendar-set-mode-line):
739 `getenv' returns a string. (Bug#10951)
740
01d972a9
LL
7412012-03-05 Leo Liu <sdl.web@gmail.com>
742
109aa8a9
LL
743 * simple.el (backward-delete-char-untabify): Constrain point to
744 field (Bug#10939).
745
01d972a9
LL
746 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
747
10607bea
CY
7482012-03-05 Chong Yidong <cyd@gnu.org>
749
750 * simple.el (count-words): If called from Lisp, return the word
751 count, for symmetry with `count-lines'. Arglist changed.
752 (count-words--message): Args changed. Consolidate counting code
753 from count-words and count-words-region.
754 (count-words-region): Caller changed.
755 (count-lines-region): Make it an obsolete alias.
756
5dd11cfe
TH
7572012-03-04 Tassilo Horn <tassilo@member.fsf.org>
758
759 * saveplace.el (save-place-to-alist)
760 (save-place-ignore-files-regexp): Allow value nil to disable this
761 feature.
762
c349f4e6
CY
7632012-03-04 Chong Yidong <cyd@gnu.org>
764
765 * faces.el (face-spec-reset-face): For the default face, reset the
766 attributes to default values (Bug#10748).
767
e627be4c
LMI
7682012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
769
770 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
771 previous patch: Check `message-send-mail-function', and not the
772 default function (bug#10897).
773
ebeabff4
MA
7742012-03-04 Michael Albinus <michael.albinus@gmx.de>
775
a41a6cf4
MA
776 * notifications.el (notifications-on-action-signal)
777 (notifications-on-closed-signal): Check for unique service name of
778 incoming event. Fix error in removing entry.
ebeabff4 779 (top): Register for signals with wildcard service name.
a41a6cf4 780 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 781
c1ca42b4
CY
7822012-03-04 Chong Yidong <cyd@gnu.org>
783
dc9924b8 784 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 785
ea16568d
GM
7862012-03-04 Glenn Morris <rgm@gnu.org>
787
788 * abbrev.el (copy-abbrev-table, abbrev-table-p)
789 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
790 (expand-abbrev, define-abbrev-table): Doc fixes.
791
fbae4637
LMI
7922012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
793
794 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
795 `message-default-send-mail-function' and not `send-mail-function'
796 when doing the prompting for `sendmail-query-once' before sending
797 in Message buffers (bug#10897).
798
a1e7225c
LMI
799 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
800 This is inconsistent with all the other stream functions, which leave
801 the setting up to the higher levels (if so wanted) (bug#10931).
802
56d093a9
AM
8032012-03-02 Alan Mackenzie <acm@muc.de>
804
805 Depessimize the handling of very large macros.
806
807 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
808 (c-macro-cache-syntactic): New variables to implement a one
809 element macro cache.
810 (c-invalidate-macro-cache): New function.
811 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
812 Adapt to use the new cache.
813 (c-state-safe-place): Use better the cache of safe positions.
814 (c-state-semi-nonlit-pos-cache)
815 (c-state-semi-nonlit-pos-cache-limit):
816 New variables for...
817 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
818 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
819 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
820 Use c-state-semi-safe-place.
56d093a9 821
dbbc2e69
SM
822 * progmodes/cc-langs.el (c-get-state-before-change-functions):
823 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 824
817e5c3d
MA
8252012-03-02 Michael Albinus <michael.albinus@gmx.de>
826
dbbc2e69
SM
827 * jka-compr.el (jka-compr-call-process):
828 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
829 not remote.
830
a032a702
MA
8312012-03-01 Michael Albinus <michael.albinus@gmx.de>
832
833 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
834 access of FILE2, if FILE1 does not exist.
835
99a54f21
MA
836 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
837 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
838
839 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
840 Add "PAGER=" to `process-environment'.
841
f6561e1f
MM
8422012-03-01 Michael R. Mauger <mmaug@yahoo.com>
843
844 * progmodes/sql.el: Bug fix
845 (sql-get-login-ext): Save login values in globals.
846 (sql-get-login): Use new version of `sql-get-login-ext'.
847 (sql-interactive-mode): Set global `sql-connection' to nil.
848 (sql-connect): Set global values for connection.
849 (sql-product-interactive): Save global values as buffer local.
850
2d44d9cc
LL
8512012-02-29 Leo Liu <sdl.web@gmail.com>
852
853 * abbrev.el (define-abbrevs): Reset sys to nil.
854
96b49301 8552012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
856
bf7f9bc5
JB
857 * files.el (file-equal-p): Rename from `files-equal-p'.
858 Return nil when one or both files don't exist.
96b49301 859 (file-subdir-of-p): Now only top directory must exists,
860 return nil if it doesn't.
bf7f9bc5
JB
861 (copy-directory): No need to test with `file-subdir-of-p' after
862 creating dir.
863 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
864 to `file-equal-p'.
96b49301 865
44e97401
GM
8662012-02-28 Glenn Morris <rgm@gnu.org>
867
868 * shell.el (shell-mode):
869 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
870 * play/landmark.el (landmark-font-lock-face-O):
871 * play/handwrite.el (handwrite):
872 * play/gomoku.el (gomoku-O):
873 * net/browse-url.el (browse-url-browser-display):
874 * international/mule.el (define-charset):
875 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
876 * filesets.el (filesets-find-file-delay):
877 * eshell/em-xtra.el (eshell-xtra):
878 * eshell/em-unix.el (eshell-grep):
879 * emulation/viper.el (viper-mode):
880 * emacs-lisp/regexp-opt.el (regexp-opt-group):
881 * emacs-lisp/easymenu.el (easy-menu-define):
882 * calendar/timeclock.el (timeclock-use-display-time):
883 * bs.el (bs-mode):
884 * bookmark.el (bookmark-save-flag):
885 Doc fix (standardize possessive apostrophe usage).
886
c98c6276
CY
8872012-02-27 Chong Yidong <cyd@gnu.org>
888
bf7f9bc5
JB
889 * emulation/viper-cmd.el (viper-intercept-ESC-key):
890 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 891
c98c6276
CY
892 * font-lock.el (font-lock-specified-p): Rename from
893 font-lock-spec-present. Callers changed.
894
9c62cd04 8952012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 896
bf7f9bc5
JB
897 * emacs-lisp/package.el (package-compute-transaction):
898 Handle holding a package version to t in package-load-list.
8ac9e529 899
530739c9
MA
9002012-02-26 Michael Albinus <michael.albinus@gmx.de>
901
902 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
903 (tramp-get-inode, tramp-get-device): Use cached values.
904
487915d7
AM
9052012-02-26 Alan Mackenzie <acm@muc.de>
906
907 Check there is a font-lock specification before doing initial
908 fontification.
909
910 * font-core.el (font-lock-mode): Move the conditional from
911 :after-hook to font-lock-initial-fontify.
912 (font-lock-default-function): Move the check for a specification
913 to font-lock-spec-present.
914
dc9924b8 915 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
916 (font-lock-spec-present): New function.
917
4fd96557
JB
9182012-02-26 Jim Blandy <jimb@red-bean.com>
919
920 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
921 (gdb-send): Apply it to the operand of the '-interpreter-exec
922 console' command, so that we can pass arguments with (say) quotes
923 in them. Store exact string sent in gdb-debug-log (Bug#10765).
924
9a4888c0
CY
9252012-02-26 Chong Yidong <cyd@gnu.org>
926
07498861
CY
927 * help-fns.el (describe-function-1): Clarify description of
928 remapping (Bug#10844).
929
9a4888c0
CY
930 * files.el (files-equal-p): Doc fix.
931 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
932 and quit the loop once a mismatch is found.
933
ea8fb88d
JB
9342012-02-25 Juanma Barranquero <lekktu@gmail.com>
935
936 * bs.el (bs--show-with-configuration): Don't throw an error
937 if the window cannot be split; otherwise, subsequent calls to
938 bs-show fail, restoring a stale window config. (Bug#10882)
939
525795c1
JD
9402012-02-25 Jan Djärv <jan.h.d@swipnet.se>
941
942 * term/ns-win.el (global-map): Bind ns-drag-file to
943 ns-find-file (Bug#5855, Bug#10050).
944
f008086f
AS
9452012-02-25 Andreas Schwab <schwab@linux-m68k.org>
946
947 * calendar/parse-time.el (parse-time-string): Allow extractor to
948 return nil.
949
a3fcfa99
MA
9502012-02-25 Michael Albinus <michael.albinus@gmx.de>
951
91027d08
JB
952 * net/tramp.el (tramp-file-name-for-operation):
953 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
954
955 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
956 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
957 Add COPY-CONTENTS argument.
a3fcfa99 958
67b0de11
CY
9592012-02-25 Chong Yidong <cyd@gnu.org>
960
961 Add custom groups for VC backends, for consistency with vc-bzr.
962
963 * vc/vc-arch.el (vc-arch):
964 * vc/vc-cvs.el (vc-cvs):
965 * vc/vc-git.el (vc-git):
966 * vc/vc-hg.el (vc-hg):
967 * vc/vc-mtn.el (vc-mtn):
968 * vc/vc-rcs.el (vc-rcs):
969 * vc/vc-sccs.el (vc-sccs):
970 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
971 All relevant defcustoms reassigned.
972
3c9dfce6
CY
9732012-02-25 Chong Yidong <cyd@gnu.org>
974
1339bf43
CY
975 * newcomment.el (comment-styles): Add autoload (Bug#10868).
976
3c9dfce6
CY
977 * term/x-win.el (x-initialize-window-system): Reduce default for
978 x-selection-timeout to 5 seconds (Bug#8869).
979
53a46cd0 9802012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 981
53a46cd0 982 * files.el (file-subdir-of-p): Fix typo.
14a8a663 983
25b2e303 9842012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
985
ec70a47d
GM
986 * files.el (files-equal-p, file-subdir-of-p): New functions.
987 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 988 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
989 * dired-aux.el (dired-copy-file-recursive): Same.
990 (dired-create-files): Modify destination when source is equal to
991 dest when copying files.
53a46cd0 992 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 993
914260cd
MA
9942012-02-24 Michael Albinus <michael.albinus@gmx.de>
995
996 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
997 (Bug#10874)
998
2cb228f7
AM
9992012-02-23 Alan Mackenzie <acm@muc.de>
1000
1001 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1002 parameter "after-hook:" to allow the expansion to run code after
1003 the execution of the mode hooks.
1004
1005 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1006 from font-lock-mode-internal.
2cb228f7 1007
91027d08 1008 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1009 :after-hook.
1010
8f0fde21
SM
10112012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1012
3e88618b
SM
1013 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1014 (completion--cache-all-sorted-completions): New function.
1015 (completion-all-sorted-completions): Use it.
1016 (completion--do-completion, minibuffer-force-complete):
1017 Use it to re-instate the flush hook.
1018
8f0fde21
SM
1019 * icomplete.el (icomplete-completions): Replace last fix with a better
1020 one (bug#10850).
1021
8e911f6f
DG
10222012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1023
1024 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1025 when it might call us back infinitely (bug#10797).
1026
49fe4321
GM
10272012-02-23 Glenn Morris <rgm@gnu.org>
1028
1029 * minibuffer.el (completion-category-overrides): Doc fix.
1030
b291b572
SM
10312012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1034 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1035
31a9ef2e
GM
10362012-02-23 Glenn Morris <rgm@gnu.org>
1037
5e6e6794 1038 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1039 (authors-obsolete-files-regexps, authors-ignored-files)
1040 (authors-ambiguous-files, authors-renamed-files-alist):
1041 Add more entries.
1042
0bd1e074
JL
10432012-02-23 Juri Linkov <juri@jurta.org>
1044
1045 * isearch.el (isearch-occur): Sync interactive spec with occur's
1046 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1047
b617673c
JL
1048 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1049
19e9789e
JL
10502012-02-22 Juri Linkov <juri@jurta.org>
1051
1052 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1053 (ucs-insert): Doc fix. Check for hex digits in the string.
1054 Don't display `nil' in the error message. (Bug#10857)
1055
f41ce09d
AM
10562012-02-22 Alan Mackenzie <acm@muc.de>
1057
7a71b18d 1058 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1059
ac2eceee
GM
10602012-02-22 Glenn Morris <rgm@gnu.org>
1061
1062 * ffap.el (ffap-c-path):
1063 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1064
abd1f678
CY
10652012-02-22 Chong Yidong <cyd@gnu.org>
1066
1067 * custom.el (load-theme): Doc fix.
1068
f25aef2e
GM
10692012-02-22 Glenn Morris <rgm@gnu.org>
1070
1071 * dired-x.el (dired-guess-shell-alist-default):
1072 Remove escape sequences from nroff output. (Bug#172)
1073
5f8dc2ca
GM
10742012-02-21 Glenn Morris <rgm@gnu.org>
1075
6ff86ec4
GM
1076 * vc/emerge.el (emerge-defvar-local):
1077 Set `permanent-local' property rather than unused `preserved'.
1078
be3223a3 1079 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1080 (picture-mode-map): Use it. (Bug#10860)
1081 (picture-mode): Doc fix.
1082
3fe58f4f
JB
10832012-02-21 Juanma Barranquero <lekktu@gmail.com>
1084
1085 * newcomment.el (uncomment-region-default): Remove unused binding.
1086
f9a998c3
GM
10872012-02-21 Glenn Morris <rgm@gnu.org>
1088
1089 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1090 (picture-self-insert, picture-tab-chars): Doc fix.
1091 (picture-mode-map): Fix C-a, C-e.
1092
c6029348
GM
10932012-02-20 Glenn Morris <rgm@gnu.org>
1094
1095 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1096
ab1ce9d7
LL
10972012-02-20 Leo Liu <sdl.web@gmail.com>
1098
1099 * icomplete.el (icomplete-completions): Check FROM arg before
1100 passing to substring (Bug#10850).
1101
0fd40f89
CY
11022012-02-19 Chong Yidong <cyd@gnu.org>
1103
1104 * comint.el: Require ansi-color.
1105 (comint-output-filter-functions): Add ansi-color-process-output.
1106
1107 * ansi-color.el: Don't set comint-output-filter-functions; it is
1108 now in the initial value defined in comint.el.
1109 (ansi-color-apply-face-function): New variable.
1110 (ansi-color-apply-on-region): Use it.
1111 (ansi-color-apply-overlay-face): New function.
1112
1113 * shell.el (shell): No need to require ansi-color.
1114 (shell-mode): Use ansi-color-apply-face-function to highlight
1115 color escapes using font-lock-face property (Bug#10835).
1116
20af2394
CY
11172012-02-19 Chong Yidong <cyd@gnu.org>
1118
1119 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1120 mode-line formats (Bug#10839).
1121
e23a3fbe
GM
11222012-02-18 Glenn Morris <rgm@gnu.org>
1123
b474519e
GM
1124 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1125
1126 * mail/undigest.el (unforward-rmail-message): Doc fix.
1127
e23a3fbe
GM
1128 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1129
57939ff4
EZ
11302012-02-18 Eli Zaretskii <eliz@gnu.org>
1131
1132 * international/characters.el (script-list): Sync with the latest
1133 Unicode Character Database.
1134
0c23686e
AS
11352012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1136
1137 * international/titdic-cnv.el: Remove duplicate coding tag.
1138 * language/cham.el: Likewise.
1139 * language/tai-viet.el: Likewise.
1140
6818b449
GM
11412012-02-18 Glenn Morris <rgm@gnu.org>
1142
1143 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1144 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1145 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1146 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1147 * calendar/holidays.el (holiday-bahai-holidays)
1148 (calendar-holidays, list-holidays):
1149 Use utf-8 Bahá'í in doc-strings, menus, etc.
1150
0311a3fc
TH
11512012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1152
1153 * saveplace.el (save-place-ignore-files-regexp): New variable
1154 allowing for excluding files from saving their location of point.
1155 The default value matches the temporary commit message editing
1156 files from Git, SVN, Bazaar, and Mercurial.
1157 (save-place-to-alist): Use it.
1158
eb864a71
LM
11592012-02-17 Lawrence Mitchell <wence@gmx.li>
1160 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * newcomment.el (uncomment-region-default): Don't leave extra space
1163 when an arg is provided (bug#8150).
1164
ee0ce425
TZ
11652012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1166
eb864a71 1167 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1168
95ddf442
GM
11692012-02-17 Glenn Morris <rgm@gnu.org>
1170
1171 * net/socks.el: Require network-stream. (Bug#10599)
1172
48dd1e39 11732012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1174
1175 * international/charprop.el:
1176 * international/uni-name.el:
1177 * international/uni-old-name.el:
1178 * international/uni-comment.el: Regenerate.
1179
d68cd087
GM
11802012-02-16 Glenn Morris <rgm@gnu.org>
1181
1182 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1183 Interactively in calendar buffer, give an error if not on a date.
1184
13932042
GM
11852012-02-15 Glenn Morris <rgm@gnu.org>
1186
1187 * shell.el (shell-delimiter-argument-list):
1188 Revert 2011-02-17 change. (Bug#8027)
1189
c3a70e2b
CY
11902012-02-15 Chong Yidong <cyd@gnu.org>
1191
60236b0d
CY
1192 * minibuffer.el (completion-at-point-functions): Doc fix.
1193
c3a70e2b
CY
1194 * custom.el (defcustom): Doc fix; note use of defvar.
1195
9f26dc24
GM
11962012-02-15 Glenn Morris <rgm@gnu.org>
1197
1198 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1199 Doc fixes.
1200
6546b134
GM
12012012-02-14 Glenn Morris <rgm@gnu.org>
1202
1203 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1204
d29b2b4c
LI
12052012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1206
1207 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1208 way the ports list is computed.
835bdcba
LI
1209 (smtpmail-query-smtp-server): Prompt the user for a port number if
1210 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1211
08dcdbc9
TZ
12122012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1213
1214 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1215
2605051a
GM
12162012-02-13 Glenn Morris <rgm@gnu.org>
1217
1218 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1219
7ee99f32
TZ
12202012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1221
1222 * net/gnutls.el (gnutls-trustfiles): New variable.
1223 (gnutls-negotiate): Use it.
1224
5f0af64f
LI
12252012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1226
1227 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1228 does its stuff if Gnus is running.
1229
c14fcc95
AM
12302012-02-13 Alan Mackenzie <acm@muc.de>
1231
1232 Fix a loop in c-set-fl-decl-start.
1233
7a71b18d 1234 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1235 c-backward-syntactic-ws actually moves backwards.
1236
142b4d90
LL
12372012-02-13 Leo Liu <sdl.web@gmail.com>
1238
1239 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1240 beginning so that all \C-o chars are removed.
1241
fa9958a6
TZ
12422012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1243
dc9924b8 1244 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1245
0bc5886a
AM
12462012-02-12 Alan Mackenzie <acm@muc.de>
1247
1248 Fix infinite loop with long macros.
1249 * cc-engine.el (c-state-safe-place): Handle macros properly.
1250
d4bd55e7
CY
12512012-02-12 Chong Yidong <cyd@gnu.org>
1252
1253 * window.el (display-buffer): Doc fix (Bug#10785).
1254
66f3fe22
GM
12552012-02-12 Glenn Morris <rgm@gnu.org>
1256
bd7da63e
GM
1257 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1258 (x-disown-selection-internal, x-get-selection-internal):
1259 Sync docs with the xselect.c versions.
1260
66f3fe22
GM
1261 * allout-widgets.el: Add missing license notice.
1262
3e0d2fa7
GM
12632012-02-11 Glenn Morris <rgm@gnu.org>
1264
cfecdf09
GM
1265 * select.el (x-get-selection-internal, x-own-selection-internal)
1266 (x-disown-selection-internal):
1267 * x-dnd.el (x-get-selection-internal): Update declarations.
1268
6d216d7f
GM
1269 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1270
2bed3f04
GM
1271 * window.el (window-sides-slots):
1272 * tool-bar.el (tool-bar-position):
1273 * term/xterm.el (xterm-extra-capabilities):
1274 * ses.el (ses-self-reference-early-detection):
1275 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1276 (verilog-auto-wire-type)
1277 (verilog-auto-delete-trailing-whitespace)
1278 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1279 (verilog-auto-tieoff-declaration):
1280 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1281 (sql-oracle-statement-starters, sql-oracle-scan-on):
1282 * progmodes/prolog.el (prolog-align-comments-flag)
1283 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1284 (prolog-left-indent-regexp, prolog-paren-indent-p)
1285 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1286 (prolog-types, prolog-mode-specificators)
1287 (prolog-determinism-specificators, prolog-directives)
1288 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1289 (prolog-electric-dot-flag)
1290 (prolog-electric-dot-full-predicate-template)
1291 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1292 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1293 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1294 (prolog-program-switches, prolog-prompt-regexp)
1295 (prolog-debug-on-string, prolog-debug-off-string)
1296 (prolog-trace-on-string, prolog-trace-off-string)
1297 (prolog-zip-on-string, prolog-zip-off-string)
1298 (prolog-use-standard-consult-compile-method-flag)
1299 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1300 (prolog-imenu-max-lines, prolog-info-predicate-index)
1301 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1302 (prolog-char-quote-workaround):
1303 * progmodes/cc-vars.el (c-defun-tactic):
1304 * net/tramp.el (tramp-encoding-command-interactive)
1305 (tramp-local-end-of-line):
1306 * net/soap-client.el (soap-client):
1307 * net/netrc.el (netrc-file):
1308 * net/gnutls.el (gnutls):
1309 * minibuffer.el (completion-category-overrides)
1310 (completion-cycle-threshold)
1311 (completion-pcm-complete-word-inserts-delimiters):
1312 * man.el (Man-name-local-regexp):
1313 * mail/feedmail.el (feedmail-display-full-frame):
1314 * international/characters.el (glyphless-char-display-control):
1315 * eshell/em-ls.el (eshell-ls-date-format):
1316 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1317 (lisp-lambda-list-keyword-parameter-indentation)
1318 (lisp-lambda-list-keyword-parameter-alignment):
1319 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1320 * dired-x.el (dired-omit-verbose):
1321 * cus-theme.el (custom-theme-allow-multiple-selections):
1322 * calc/calc.el (calc-highlight-selections-with-faces)
1323 (calc-lu-field-reference, calc-lu-power-reference)
1324 (calc-note-threshold):
1325 * battery.el (battery-mode-line-limit):
1326 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1327 (archive-7z-update):
1328 * allout.el (allout-prefixed-keybindings)
1329 (allout-unprefixed-keybindings)
1330 (allout-inhibit-auto-fill-on-headline)
1331 (allout-flattened-numbering-abbreviation):
1332 * allout-widgets.el (allout-widgets-auto-activation)
1333 (allout-widgets-icons-dark-subdir)
1334 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1335 (allout-widgets-theme-dark-background)
1336 (allout-widgets-theme-light-background)
1337 (allout-widgets-item-image-properties-emacs)
1338 (allout-widgets-item-image-properties-xemacs)
1339 (allout-widgets-run-unit-tests-on-load)
1340 (allout-widgets-time-decoration-activity)
1341 (allout-widgets-hook-error-post-time)
1342 (allout-widgets-track-decoration):
1343 Add missing :version tags to new defcustoms and defgroups.
1344
5fec1b8e
GM
1345 * progmodes/sql.el (sql-ansi-statement-starters)
1346 (sql-oracle-statement-starters): Add custom type.
1347
3e0d2fa7
GM
1348 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1349 (prolog-system-version): Give it a type.
1350
90b671e2
EZ
13512012-02-11 Eli Zaretskii <eliz@gnu.org>
1352
1353 * term/pc-win.el (x-select-text, x-selection-owner-p)
1354 (x-own-selection-internal, x-disown-selection-internal)
1355 (x-get-selection-internal): Sync doc strings and argument lists
1356 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1357
5eac0c02
LL
13582012-02-11 Leo Liu <sdl.web@gmail.com>
1359
1360 * progmodes/python.el (python-end-of-statement): Fix infinite
1361 loop. (Bug#10788)
1362
f82cb659
GM
13632012-02-10 Glenn Morris <rgm@gnu.org>
1364
1365 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1366 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1367
cc26d239
LI
13682012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1369
1370 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1371 about SMTP before checking the From header.
1372
91027d08 1373 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1374 into own function for reuse by emacsbug.el.
1375
1be3ca5a
LL
13762012-02-10 Leo Liu <sdl.web@gmail.com>
1377
1378 * subr.el (condition-case-unless-debug): Rename from
1379 condition-case-no-debug. All callers changed.
1380 (with-demoted-errors): Fix caller.
1381
1382 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1383 * nxml/rng-valid.el (rng-do-some-validation):
1384 * emacs-lisp/package.el (package-refresh-contents)
1385 (package-menu-execute):
1386 * desktop.el (desktop-create-buffer):
91027d08 1387 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1388
b011fbfe
GM
13892012-02-10 Glenn Morris <rgm@gnu.org>
1390
b2096d72
GM
1391 * textmodes/bibtex.el:
1392 Add missing :version tags for new/changed defcustoms.
1393
b011fbfe
GM
1394 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1395
4c7e65bf
LI
13962012-02-09 Lars Ingebrigtsen <larsi@rusty>
1397
1398 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1399 (smtpmail-via-smtp): Use it, or fall back on the From address.
1400 (smtpmail-send-it): Ditto.
1401
f3934f6f
SM
14022012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1405 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1406 (byte-compile-tmp-var): New const.
1407 (byte-compile-defvar): Use it to minimize .elc size.
1408 Just use `defvar' rather than simulate it (bug#10761).
1409
a075a2c5
GM
14102012-02-09 Glenn Morris <rgm@gnu.org>
1411
cf3aa21b
GM
1412 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1413
354998cd
GM
1414 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1415 Add :version tags.
1416
dc9924b8
SM
1417 * progmodes/compile.el (compilation-error-screen-columns)
1418 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1419
dab3703d
GM
1420 * vc/log-view.el (log-view-toggle-entry-display):
1421 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1422
3f88cd72
GM
1423 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1424 (report-emacs-bug-can-use-xdg-email):
1425 (report-emacs-bug-insert-to-mailer): Doc fixes.
1426 (report-emacs-bug): Message fix.
1427
d95b247d
GM
1428 * net/browse-url.el (browse-url-can-use-xdg-open)
1429 (browse-url-xdg-open): Doc fixes.
1430
a075a2c5
GM
1431 * electric.el (electric-indent-mode, electric-pair-mode)
1432 (electric-layout-rules, electric-layout-mode): Doc fixes.
1433 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1434
ffb6157e
MR
14352012-02-08 Martin Rudalics <rudalics@gmx.at>
1436
1437 * server.el (server-unselect-display): Don't inadvertently kill
1438 the current buffer. (Bug#10729)
1439
e1ac4066
GM
14402012-02-08 Glenn Morris <rgm@gnu.org>
1441
34e8a2da
GM
1442 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1443 (sql-list-table): Doc fixes.
1444
b4ac6e8c
GM
1445 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1446 Comment out (does nothing).
1447
e1ac4066
GM
1448 * completion.el (dynamic-completion-mode):
1449 * dirtrack.el (dirtrack-debug-mode):
1450 * electric.el (electric-layout-mode):
1451 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1452 * face-remap.el (text-scale-mode, buffer-face-mode):
1453 * iimage.el (iimage-mode):
1454 * image-mode.el (image-transform-mode):
1455 * minibuffer.el (completion-in-region-mode):
1456 * scroll-lock.el (scroll-lock-mode):
1457 * simple.el (next-error-follow-minor-mode):
1458 * tar-mode.el (tar-subfile-mode):
1459 * tooltip.el (tooltip-mode):
1460 * vcursor.el (vcursor-use-vcursor-map):
1461 * wid-browse.el (widget-minor-mode):
1462 * emulation/tpu-edt.el (tpu-edt-mode):
1463 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1464 * international/iso-ascii.el (iso-ascii-mode):
1465 * language/thai-util.el (thai-word-mode):
1466 * mail/supercite.el (sc-minor-mode):
1467 * net/goto-addr.el (goto-address-mode):
1468 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1469 * progmodes/cwarn.el (cwarn-mode):
1470 * progmodes/flymake.el (flymake-mode):
1471 * progmodes/glasses.el (glasses-mode):
1472 * progmodes/hideshow.el (hs-minor-mode):
1473 * progmodes/pascal.el (pascal-outline-mode):
1474 * textmodes/enriched.el (enriched-mode):
1475 * vc/smerge-mode.el (smerge-mode):
1476 Doc fixes (minor mode argument).
1477
5e0d957f
EZ
14782012-02-07 Eli Zaretskii <eliz@gnu.org>
1479
1480 * ls-lisp.el (ls-lisp-sanitize): New function.
1481 (ls-lisp-insert-directory): Use it to fix or remove any elements
1482 in file-alist with missing attributes. (Bug#4673)
1483
98d7371e
AM
14842012-02-07 Alan Mackenzie <acm@muc.de>
1485
1486 Fix spurious recognition of c-in-knr-argdecl.
1487
1488 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1489 putative K&R region.
1490
667ced3a
AM
14912012-02-07 Alan Mackenzie <acm@muc.de>
1492
eb864a71
LM
1493 * progmodes/cc-engine.el (c-forward-objc-directive):
1494 Prevent looping in "#pragma mark @implementation".
667ced3a 1495
5b77774d
MA
14962012-02-07 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * notifications.el (notifications-on-closed-signal): Make `reason'
1499 optional. (Bug#10744)
1500
af008560
GM
15012012-02-07 Glenn Morris <rgm@gnu.org>
1502
60d47423
GM
1503 * emacs-lisp/easy-mmode.el (define-minor-mode):
1504 Doc fixes for the macro and the mode it defines.
1505
dd605cc4
GM
1506 * image.el (imagemagick-types-inhibit): Doc fix.
1507
af008560
GM
1508 * cus-start.el (imagemagick-render-type): Add it.
1509
5cc59a37
LI
15102012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1511
1512 * progmodes/cc-mode.el
1513 (c-standard-font-lock-fontify-region-function): Set the default at
1514 load time, too, so that `font-lock-fontify-buffer' can be called
1515 without setting up the entire mode first. This fixes a bug in
1516 `mm-inline-text' with C MIME parts.
1517
9a6dd747
CY
15182012-02-06 Chong Yidong <cyd@gnu.org>
1519
2d16b285
CY
1520 * simple.el (list-processes--refresh): Delete exited processes
1521 (Bug#8094).
1522
171e9b6e
CY
1523 * comint.el (comint-next-prompt): next-single-char-property-change
1524 and prev-single-char-property-change never return nil (Bug#8657).
1525
9a6dd747
CY
1526 * custom.el (defcustom): Doc fix (Bug#9711).
1527
aa4589a7
CY
15282012-02-05 Chong Yidong <cyd@gnu.org>
1529
5c2a252f
CY
1530 * cus-edit.el (custom-variable-reset-backup): Quote the value
1531 before storing it in the customized-value property (Bug#6712).
4aab9006 1532 (custom-display): Add a customization type tag.
983b9602 1533 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1534
aa4589a7
CY
1535 * wid-edit.el (widget-field-value-get): New optional arg to
1536 suppress trailing whitespace truncation.
1537 (character): Use it (Bug#2689).
1538
1ff980ae
AS
15392012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1540
1541 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1542 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1543
03988c98
CY
15442012-02-05 Chong Yidong <cyd@gnu.org>
1545
eeb6cc88
CY
1546 * cus-edit.el (custom-variable-value-create): For mismatched
1547 types, show the current value (Bug#7600).
1548
03988c98
CY
1549 * custom.el (defcustom): Doc fix.
1550
f8cdeef0
GM
15512012-02-05 Glenn Morris <rgm@gnu.org>
1552
1553 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1554
0696d255
JB
15552012-02-05 Juanma Barranquero <lekktu@gmail.com>
1556
1557 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1558 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1559 (pp-last-sexp): Use `looking-at-p'.
1560
34c99998
GM
15612012-02-04 Glenn Morris <rgm@gnu.org>
1562
8f05da42
GM
1563 * files.el (revert-buffer):
1564 Doc fix (mention revert-buffer-in-progress-p).
1565
f160676e
GM
1566 * emacs-lisp/ert-x.el (ert-simulate-command):
1567 Check deferred-action-list (which is obsolete) is bound.
1568
c7291ad9
GM
1569 * subr.el (with-wrapper-hook): Doc fixes.
1570
34c99998
GM
1571 * simple.el (filter-buffer-substring-functions)
1572 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1573
6283a7d3
LL
15742012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1575
1576 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1577 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1578
e96e3013
LL
15792012-02-04 Leo Liu <sdl.web@gmail.com>
1580
1581 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1582
8ded50f2
GM
15832012-02-04 Glenn Morris <rgm@gnu.org>
1584
82ff1d13
GM
1585 * image.el (image-extension-data): Add obsolete alias.
1586
987a0a16
GM
1587 * isearch.el (isearch-update): Doc fix.
1588
ea32ef46
GM
1589 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1590
8ded50f2
GM
1591 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1592
eea14f31
GM
15932012-02-03 Glenn Morris <rgm@gnu.org>
1594
1595 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1596 (image-animate-timeout): Doc fix.
1597
1598 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1599
12f381b7
GM
16002012-02-02 Glenn Morris <rgm@gnu.org>
1601
953cebf5
GM
1602 * server.el (server-auth-dir): Doc fix.
1603 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1604
12f381b7
GM
1605 * subr.el (run-mode-hooks): Doc fix.
1606
953a8c3b
JL
16072012-02-02 Juri Linkov <juri@jurta.org>
1608
1609 * image-mode.el (image-toggle-display-image): Remove tautological
1610 `major-mode' from the `derived-mode-p' test.
1611
c5d3843c
KH
16122012-02-02 Kenichi Handa <handa@m17n.org>
1613
9f6e692e 1614 * composite.el (compose-region): Cancel previous change.
c5d3843c 1615
159462d4 16162012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1617
1618 * composite.el (compose-region, compose-string): Signal error for
1619 a null string component (Bug#6988).
1620
9f562668
CY
16212012-02-01 Chong Yidong <cyd@gnu.org>
1622
e2cef717
CY
1623 * view.el (view-buffer-other-window, view-buffer-other-frame):
1624 Handle special modes like view-buffer (Bug#10650).
1625 (view-buffer): Simplify.
1626
9f562668
CY
1627 * frame.el (set-frame-font): Tweak meaning of third argument.
1628
9f6e692e
JB
1629 * dynamic-setting.el (font-setting-change-default-font):
1630 Use set-frame-font (Bug#9982).
9f562668 1631
781acb9f
GM
16322012-02-01 Glenn Morris <rgm@gnu.org>
1633
6035be52
GM
1634 * progmodes/compile.el (compilation-internal-error-properties):
1635 Respect compilation-first-column in the "*compilation*" buffer.
1636
781acb9f
GM
1637 * emacs-lisp/easy-mmode.el (define-minor-mode):
1638 Relax :variable's test for a named function.
1639
abbceb00
AM
16402012-01-31 Alan Mackenzie <acm@muc.de>
1641
1642 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1643 off by one error.
1644
fce3fdeb
CY
16452012-01-31 Chong Yidong <cyd@gnu.org>
1646
1647 * frame.el (set-frame-font): New arg ALL-FRAMES.
1648
1649 * menu-bar.el (menu-set-font): Use set-frame-font.
1650
1651 * faces.el (face-spec-reset-face): Don't apply unspecified
1652 attribute values to the default face.
1653
47893581
JB
16542012-01-31 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * progmodes/cwarn.el (cwarn): Remove dead link.
1657 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1658 Remove * from defcustom docstrings.
1659 (turn-on-cwarn-mode): Make obsolete.
1660 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1661 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1662
e58e988a
GM
16632012-01-31 Glenn Morris <rgm@gnu.org>
1664
60dc2671 1665 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1666 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1667 Allow named functions to be used as the cdr of :variable.
e58e988a 1668
7a3f511d
GM
16692012-01-30 Glenn Morris <rgm@gnu.org>
1670
1671 * emacs-lisp/authors.el (authors-fixed-entries):
1672 Remove reference to deleted file rnewspost.el.
1673
cb882333
JB
16742012-01-29 Juanma Barranquero <lekktu@gmail.com>
1675
1676 * window.el (window-with-parameter): Remove unused variable `windows'.
1677 (window--side-check): Remove unused variable `code'.
1678 (window--resize-siblings): Remove unused variable `first'.
1679 (adjust-window-trailing-edge): Remove unused variable `failed'.
1680 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1681 Use `let', not `let*'.
1682 (balance-windows-2): Remove unused variable `found'.
1683 (window--state-put-2): Remove unused variable `splits'.
1684 (window-state-put): Remove unused variable `selected'.
1685 (same-window-p): Use `string-match-p'.
1686 (display-buffer-assq-regexp): Remove unused variable `value'.
1687 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1688 Mark argument ALIST as ignored.
1689 (pop-to-buffer): Remove unused variable `old-window'.
1690
907201af
EZ
16912012-01-29 Eli Zaretskii <eliz@gnu.org>
1692
1693 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1694 and .lzma compressed files.
1695
ea162670
CY
16962012-01-29 Chong Yidong <cyd@gnu.org>
1697
5b95ee8a
CY
1698 * frame.el (window-system-default-frame-alist): Doc fix.
1699
ea162670
CY
1700 * dynamic-setting.el (font-setting-change-default-font): Don't
1701 change the default face if SET-FONT argument is non-nil (Bug#9982).
1702
d6e6f4b1
SB
17032012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1704
1705 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1706
0f29fa41 17072012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1708
1709 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1710 breakpoints in files outside current directory (Bug#6098).
1711
db174434
CY
17122012-01-29 Chong Yidong <cyd@gnu.org>
1713
6b25e4e2
SE
1714 * progmodes/python.el: Require ansi-color at top-level.
1715
6df6ae42
JB
1716 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1717 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1718 (lisp-mode-abbrev-table): Add doc.
1719 (lisp-mode-variables): Don't set local-abbrev-table.
1720 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1721
e70ee681
RW
17222012-01-28 Roland Winkler <winkler@gnu.org>
1723
1724 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1725
ace88aa2
RW
17262012-01-28 Roland Winkler <winkler@gnu.org>
1727
1728 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1729 (bibtex-set-dialect): Use it. Either set global values of
1730 dialect-dependent variables or bind these variables buffer-locally
1731 (Bug#10254).
1732 (bibtex-mode): Call bibtex-set-dialect via
1733 hack-local-variables-hook.
eb864a71
LM
1734 (bibtex-dialect): Update docstring.
1735 Add safe-local-variable predicate.
ace88aa2
RW
1736 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1737 bibtex-set-dialect.
1738 (bibtex-mode-map): Define menu for each dialect.
1739 (bibtex-entry): Fix docstring.
1740
93376c5b
CY
17412012-01-28 Chong Yidong <cyd@gnu.org>
1742
1743 * eshell/esh-arg.el (eshell-quote-argument): New function.
1744
1745 * eshell/esh-ext.el (eshell-invoke-batch-file):
1746 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1747 first arg to eshell-parse-command (Bug#10523).
1748
4372494f
DA
17492012-01-28 Drew Adams <drew.adams@oracle.com>
1750
1751 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1752 `default-directory' is non-nil.
1753
4d4ec1f8
EZ
17542012-01-28 Eli Zaretskii <eliz@gnu.org>
1755
1756 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1757 line that displays system-configuration-options. (Bug#9924)
1758
7c188927
DA
17592012-01-28 Drew Adams <drew.adams@oracle.com>
1760
1761 * descr-text.el (describe-char): Show information about POS, in
1762 addition to information about the character at POS. Improve and
1763 update the doc string. Change "code point" to "code point in
1764 charset", to avoid confusion with the character's Unicode code
1765 point shown above that. (Bug#10129)
1766
e0da685a
EZ
17672012-01-28 Eli Zaretskii <eliz@gnu.org>
1768
1769 * descr-text.el (describe-char): Show the raw character, not only
1770 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1771 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1772 for the reasons.
1773
70550acf
PH
17742012-01-28 Phil Hagelberg <phil@hagelb.org>
1775
eb864a71
LM
1776 * emacs-lisp/package.el (package-install):
1777 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1778
0ce8e868
CY
17792012-01-28 Chong Yidong <cyd@gnu.org>
1780
cb882333
JB
1781 * emacs-lisp/package.el (package-maybe-load-descriptor):
1782 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1783 (package-maybe-load-descriptor): Use it.
1784 (package-download-transaction): Fully load required packages
1785 inside the loop, so that `require' calls work (Bug#10593).
1786 (package-install): No need to call package-initialize now.
1787
2e7f3bea
CY
17882012-01-28 Chong Yidong <cyd@gnu.org>
1789
6e9bad14
CY
1790 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1791
f823b8ca
CY
1792 * tooltip.el (tooltip-mode): Doc fix.
1793 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1794
2680c309
CY
1795 * frame.el (set-cursor-color): Doc fix (Bug#352).
1796
d7a9e63b
CY
1797 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1798 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1799
2e7f3bea
CY
1800 * cus-edit.el (custom-buffer-create-internal): Fix search button
1801 action (Bug#10542).
2ae01800 1802 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1803
fc4f7a23
EW
18042012-01-27 Eduard Wiebe <usenet@pusto.de>
1805
1806 * dired.el (dired-mark-files-regexp):
1807 Include any subdirectory components. (Bug#10445)
1808
7dd37071
ML
18092012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1810
1811 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1812 Handle [host]:port syntax. (Bug#10533)
1813
a268160b
AH
18142012-01-27 Alex Harsanyi <harsanyi@mac.com>
1815
1816 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1817
e43273ef
GM
18182012-01-26 Glenn Morris <rgm@gnu.org>
1819
1820 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1821 * term.el (term-raw-escape-map): Use Control-X-prefix.
1822 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1823
1edf595d
MR
18242012-01-25 Martin Rudalics <rudalics@gmx.at>
1825
1826 * window.el (window-state-get, window--state-get-1): Don't deal
1827 with fixed-sizeness of windows. Simplify code.
1828
fa8eafef
JC
18292012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1830
6df6ae42
JB
1831 * window.el (window--state-get-1, window--state-put-2):
1832 Don't save and restore the mark.
fa8eafef 1833
0b21c100
CY
18342012-01-25 Chong Yidong <cyd@gnu.org>
1835
1836 * custom.el (custom-variable-p): Doc fix.
1837
5ae1a6c8
GM
18382012-01-25 Glenn Morris <rgm@gnu.org>
1839
40047858
GM
1840 * dired.el (dired-goto-file): Handle some of the more common
1841 characters that `ls -b' escapes. (Bug#10596)
1842
5ddce96c
GM
1843 * progmodes/compile.el (compilation-next-error-function):
1844 Respect compilation-first-column in the "*compilation*" buffer.
1845 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1846
5ae1a6c8
GM
1847 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1848
b559f1a9
GM
18492012-01-24 Glenn Morris <rgm@gnu.org>
1850
1851 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1852
6725d21a
JD
18532012-01-24 Julien Danjou <julien@danjou.info>
1854
1855 * color.el (color-rgb-to-hsl): Fix value computing.
1856 (color-hue-to-rgb): New function.
1857 (color-hsl-to-rgb): New function.
1858 (color-clamp, color-saturate-hsl, color-saturate-name)
1859 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1860 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1861
70df4bbe
GM
18622012-01-24 Glenn Morris <rgm@gnu.org>
1863
1864 * vc/vc-rcs.el (vc-rcs-create-tag):
1865 * vc/vc-sccs.el (vc-sccs-create-tag):
1866 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1867
802a2ae2
ML
18682012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1869
1870 * eshell/esh-util.el (eshell-read-hosts-file):
1871 Skip comment lines. (Bug#10549)
1872
d7128bb1
ML
1873 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1874
d1a5c3b4
JB
18752012-01-23 Juanma Barranquero <lekktu@gmail.com>
1876
2724d9c7
JB
1877 * subr.el (display-delayed-warnings): Doc fix.
1878 (collapse-delayed-warnings): New function to collapse identical
1879 adjacent warnings.
1880 (delayed-warnings-hook): Add it.
d1a5c3b4 1881
a5509865
MA
18822012-01-22 Michael Albinus <michael.albinus@gmx.de>
1883
1884 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1885
1886 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1887 properties, when "login-as" is set.
1888
1889 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1890 (tramp-default-user-alist): Don't add "pscp".
1891 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1892 property "login-as", if set. (Bug#10530)
1893
cc6d5805
MA
18942012-01-21 Michael Albinus <michael.albinus@gmx.de>
1895
1896 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1897 "plink1" and "psftp". (Bug#10530)
1898
18992012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1900
1901 * international/mule-cmds.el (prefer-coding-system): Show a
1902 warning message if the default value of file-name-coding-system
1903 was not changed.
1904
f0960428
JC
19052012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1906
cb882333
JB
1907 * windmove.el (windmove-reference-loc):
1908 Fix windmove-reference-loc miscalculation.
f0960428 1909
dd6f2a63
JB
19102012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1911
1912 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1913 default unit.
1914
7b447e9b
GM
19152012-01-21 Glenn Morris <rgm@gnu.org>
1916
117a9ea1
GM
1917 * international/mule.el (auto-coding-alist): Add .tbz.
1918
7b447e9b
GM
1919 * files.el (local-enable-local-variables): Doc fix.
1920 (inhibit-local-variables-regexps): Rename from
1921 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1922 Doc fix. Add some extensions from auto-coding-alist.
1923 (inhibit-local-variables-suffixes):
1924 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1925 (inhibit-local-variables-p):
1926 New function, extracted from set-auto-mode-1.
1927 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1928 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1929 (hack-local-variables): Doc fix. Make the mode-only case
1930 respect enable-local-variables and friends.
1931 Respect inhibit-local-variables-regexps for file-locals, but
1932 not for directory-locals.
1933 (set-visited-file-name):
1934 Take account of inhibit-local-variables-regexps.
1935 Whether it applies may change as the file name is changed.
1936 * jka-cmpr-hook.el (jka-compr-install):
1937 * jka-compr.el (jka-compr-uninstall):
1938 Update for inhibit-first-line-modes-suffixes name change.
1939
dd6e3cdd
MR
19402012-01-20 Martin Rudalics <rudalics@gmx.at>
1941
1942 * help-macro.el (make-help-screen): Temporarily restore original
1943 binding for minor-mode-map-alist (Bug#10454).
1944
0d0deb38
JD
19452012-01-19 Julien Danjou <julien@danjou.info>
1946
1947 * color.el (color-name-to-rgb): Use the white color to find the max
1948 color component value and return correctly computed values.
1949 (color-name-to-rgb): Add missing float conversion for max value.
1950
34a02f46
MR
19512012-01-19 Martin Rudalics <rudalics@gmx.at>
1952
1953 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1954 special state value for window-persistent-parameters.
1955 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1956 (window--state-put-2): Reset all window parameters to nil before
1957 assigning values of persistent parameters.
1958
606c44c4
AM
19592012-01-18 Alan Mackenzie <acm@muc.de>
1960
1961 Eliminate sluggishness and hangs in fontification of "semicolon
1962 deserts".
1963
cb882333
JB
1964 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1965 Change value 10000 -> 3000.
606c44c4
AM
1966 (c-state-safe-place): Reformulate so it doesn't stack up an
1967 infinite number of wrong entries in c-state-nonlit-pos-cache.
1968 (c-determine-limit-get-base, c-determine-limit): New functions to
1969 determine backward search limits disregarding literals.
1970 (c-find-decl-spots): Amend commenting.
1971 (c-cheap-inside-bracelist-p): New function which detects "={".
1972
1973 * progmodes/cc-fonts.el
1974 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1975 backward search.
1976 (c-font-lock-declarations): Fix an occurrence of point being
1977 undefined. Check additionally for point being in a bracelist or
1978 near a macro invocation without a semicolon so as to avoid a
1979 fruitless time consuming search for a declarator. Give a more
1980 precise search limit for declarators using the new
1981 c-determine-limit.
1982
f3860cea
GM
19832012-01-18 Glenn Morris <rgm@gnu.org>
1984
1985 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1986 (set-auto-mode): Doc fixes.
1987
1db03b16
GM
19882012-01-17 Glenn Morris <rgm@gnu.org>
1989
0e6038be
GM
1990 * isearch.el (search-nonincremental-instead): Fix doc typo.
1991
1db03b16
GM
1992 * dired.el (dired-insert-directory): Handle newlines in directory name.
1993 (dired-build-subdir-alist): Unescape newlines in directory name.
1994
4cb0aa75
MA
19952012-01-17 Michael Albinus <michael.albinus@gmx.de>
1996
1997 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1998 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1999 (tramp-action-terminal): Use it. (Bug#10530)
2000
1d00653d
SM
20012012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2004
6a6ee00d
MR
20052012-01-16 Martin Rudalics <rudalics@gmx.at>
2006
2007 * window.el (window-state-ignored-parameters): Remove variable.
2008 (window--state-get-1): Rename argument MARKERS to IGNORE.
2009 Handle persistent window parameters. Make copy of clone-of
2010 parameter only if requested. (Bug#10348)
2011 (window--state-put-2): Install a window parameter only if it has
2012 a non-nil value or an existing parameter shall be overwritten.
2013
97912def
MA
20142012-01-15 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2017
688070a5
EZ
20182012-01-14 Eli Zaretskii <eliz@gnu.org>
2019
2020 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2021 don't pass the (nil) value of `upnode' to string-match.
2022
301afadc
CY
20232012-01-14 Chong Yidong <cyd@gnu.org>
2024
2025 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2026 Fix values recognized by the cursorBlink resource.
301afadc 2027
9e5788aa
PE
20282012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2029
2030 * epg.el (epg--make-temp-file): Avoid permission race condition
2031 when running on old Emacs versions (bug#10403).
2032
3cdb7f5a
GM
20332012-01-14 Glenn Morris <rgm@gnu.org>
2034
2035 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2036
8c82b1b4
AM
20372012-01-13 Alan Mackenzie <acm@muc.de>
2038
2039 Fix filling for when filladapt mode is enabled.
2040
2041 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2042 c-mask-paragraph, pass in `fill-paragraph' rather than
2043 `fill-region-as-paragraph'. (This is a reversion of a previous
2044 change.)
eb864a71
LM
2045 * progmodes/cc-mode.el (c-basic-common-init):
2046 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2047
e517eda4
GM
20482012-01-13 Glenn Morris <rgm@gnu.org>
2049
1498536e
GM
2050 * dired.el (dired-switches-escape-p): New function.
2051 (dired-insert-directory): Use dired-switches-escape-p.
2052 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2053
e517eda4
GM
2054 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2055
328f984d
GM
20562012-01-12 Glenn Morris <rgm@gnu.org>
2057
2058 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2059 changes in adaptive-fill-regexp. (Bug#10276)
2060
2cc769a8
AM
20612012-01-11 Alan Mackenzie <acm@muc.de>
2062
2063 Fix Emacs bug #10463 - put `widen's around the critical spots.
2064
1d00653d 2065 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2066 widen around each invocation of c-state-pp-to-literal. Remove an
2067 unused let variable.
2068
e52c37fa
GM
20692012-01-11 Glenn Morris <rgm@gnu.org>
2070
2071 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2072 Doc fix.
e52c37fa 2073
96f8741e
CY
20742012-01-10 Chong Yidong <cyd@gnu.org>
2075
1d00653d
SM
2076 * net/network-stream.el (network-stream-open-starttls):
2077 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2078 response to the capability command.
2079
b09a806e
GM
20802012-01-10 Glenn Morris <rgm@gnu.org>
2081
2082 * mail/unrmail.el (unrmail): Tweak previous change.
2083
7655cb66
CY
20842012-01-09 Chong Yidong <cyd@gnu.org>
2085
2086 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2087
9d5a8f0b
AM
20882012-01-08 Alan Mackenzie <acm@muc.de>
2089
2090 Optimise font locking in long enum definitions.
2091
2092 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2093 arm to a cond form to handle enums.
2094 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2095 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2096
9a0115ab 20972012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2098
2099 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2100 (Bug#10401)
6bb72cbd 2101
f186bb95
LMI
21022012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2103
29232a68
LMI
2104 * faces.el (set-face-attribute): Clarify the meaning of the nil
2105 frame (bug#10294).
2106
4e5d086d
LMI
2107 * subr.el (with-selected-frame): Mention that the selected frame
2108 is restored (bug#9980).
2109
8e66aebe
LMI
2110 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2111 (bug#9759).
2112
cd394be1 2113 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2114 (password-read): Don't autoload unused function.
2115
adf4e762
JB
21162012-01-07 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * progmodes/which-func.el (which-func-mode): Turn into a
2119 non-interactive function and mark as obsolete (bug#10428).
2120
89bd9ccd
CY
21212012-01-06 Chong Yidong <cyd@gnu.org>
2122
2123 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2124 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2125 functions, along with 1 and -1.
2126
4afee9d5
EZ
21272012-01-06 Eli Zaretskii <eliz@gnu.org>
2128
2129 * time.el (display-time-load-average)
2130 (display-time-default-load-average): Doc fixes. See the thread
2131 starting at
2132 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2133 for the details.
2134
536aea70
GM
21352012-01-06 Glenn Morris <rgm@gnu.org>
2136
665ae865
GM
2137 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2138 has no messages. (Bug#10377)
2139
c869783d
GM
2140 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2141 than Info-edit. (Bug#10385)
2142
2bb4227e
GM
2143 * time.el (display-time-load-average, display-time-next-load-average):
2144 Doc fixes.
2145
7d5944b9
GM
2146 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2147 local setting of buffer-read-only to the input buffer. (Bug#10419)
2148
536aea70
GM
2149 * calendar/calendar.el (calendar-mode):
2150 Locally set scroll-margin to 0. (Bug#10379)
2151
7dccca16
UM
21522012-01-06 Ulrich Mueller <ulm@gentoo.org>
2153
2154 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2155
afbb7930
GM
21562012-01-05 Glenn Morris <rgm@gnu.org>
2157
2158 * eshell/em-unix.el (diff-no-select): Autoload it.
2159 (eshell/diff): Use diff-no-select. (Bug#10420)
2160
04482335
CY
21612012-01-05 Chong Yidong <cyd@gnu.org>
2162
7baca3bc
CY
2163 * shell.el (shell-dynamic-complete-functions): Revert last change.
2164 (shell-command-completion-function): New function.
2165 (shell-completion-vars): Use it to implement
2166 shell-completion-execonly (Bug#10417).
2167
04482335
CY
2168 * custom.el (enable-theme): Don't set custom-safe-themes.
2169
1d00653d
SM
2170 * cus-theme.el (custom-theme-merge-theme):
2171 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2172
bb5aa5d6
MM
21732012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2174
2175 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2176 first prompt in `sql-interacive-mode'.
2177 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2178 keywords.
6df6ae42 2179 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2180 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2181 context of original buffer. Invoke `sql-login-hook'.
2182
a7183d7c
EZ
21832012-01-04 Eli Zaretskii <eliz@gnu.org>
2184
2185 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2186 letters in cite-prefix.
2187
a1eacd1e
LMI
21882012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2189
2190 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2191
787cdb34
CY
21922012-01-03 Chong Yidong <cyd@gnu.org>
2193
1d00653d
SM
2194 * shell.el (shell-dynamic-complete-functions):
2195 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2196 comint-filename-completion first (Bug#10417).
2197
30710442
RS
21982012-01-02 Richard Stallman <rms@gnu.org>
2199
2200 * battery.el (battery-status-function):
2201 Detect when to use battery-yeeloong-sysfs.
2202 (battery-echo-area-format): Add string for Yeeloong.
2203 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2204 (battery-yeeloong-sysfs): New function.
2205
f75bfc33
CY
22062012-01-02 Chong Yidong <cyd@gnu.org>
2207
2208 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2209 (dirtrack): Merge code for handling relative filenames in prompt
2210 from shell-dir-cookie-watcher.
2211 (dirtrack-debug-message): New arg to avoid excess format calls.
2212
2213 * shell.el (shell-dir-cookie-re): Variable deleted.
2214 (shell-dir-cookie-watcher): Function deleted.
2215 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2216 with dirtrack-mode.
2217
651e947e
EZ
22182012-01-01 Eli Zaretskii <eliz@gnu.org>
2219
1d00653d
SM
2220 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2221 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2222 libgnutls-26.dll.
2223
94d4c7dc
AS
22242011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2225
2226 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2227
8d43f3cd
EZ
22282011-12-31 Eli Zaretskii <eliz@gnu.org>
2229
2230 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2231 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2232
98c8795a
MA
22332011-12-29 Michael Albinus <michael.albinus@gmx.de>
2234
2235 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2236 also for alternative shells.
2237 (tramp-open-connection-setup-interactive-shell): Check, whether
2238 the shell is a busybox.
2239 (tramp-send-command): Don't suppress multiple prompts for
2240 busyboxes, it hurts.
2241
51281b32
CY
22422011-12-28 Chong Yidong <cyd@gnu.org>
2243
2244 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2245 (gdb-get-source-file): Move mode line update to
2246 gdb-get-source-file (Bug#10087).
2247
2170cb53
CY
22482011-12-25 Chong Yidong <cyd@gnu.org>
2249
2250 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2251 gud-gdb-marker-filter without taking it as an argument.
2252 (gud-gdb-run-command-fetch-lines): Caller changed.
2253 (gud-gdb-completion-function): New variable.
2254 (gud-gdb-completion-at-point): Use it.
2255 (gud-gdb-completions-1): Split from gud-gdb-completions.
2256
2257 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2258 function as separate arguments.
2259 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2260 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2261 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2262 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2263 (gdb-stopped, def-gdb-auto-update-trigger)
2264 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2265 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2266 Callers changed.
2170cb53
CY
2267 (gud-gdbmi-completions): New function.
2268 (gdb): Use it for generating the completion table.
2269
be8b11bb
AM
22702011-12-24 Alan Mackenzie <acm@muc.de>
2271
2272 Introduce a mechanism to widen the region used in context font
1d00653d 2273 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2274
1d00653d
SM
2275 * progmodes/cc-langs.el (c-before-font-lock-functions):
2276 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2277 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2278 functions to be run just before context (etc.) font locking.
2279
2280 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2281 New, functionality extracted from
be8b11bb 2282 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2283 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2284 (c-after-change): Set c-in-after-change-fontification.
2285 (c-set-fl-decl-start): Rejig its interface, so it can be called
2286 from both after-change and context fontifying.
b81d40f0
JB
2287 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2288 New functions.
2289 (c-standard-font-lock-fontify-region-function): New variable.
2290 (c-font-lock-fontify-region): New function.
be8b11bb 2291
341cf6ac
JL
22922011-12-24 Juri Linkov <juri@jurta.org>
2293
2294 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2295 (Bug#10348)
2296
bffcee0a
MA
22972011-12-23 Michael Albinus <michael.albinus@gmx.de>
2298
2299 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2300 existence of source file. (Bug#10325)
2301
cb5e207c
AM
23022011-12-23 Alan Mackenzie <acm@muc.de>
2303
2304 Fix unstable fontification inside templates.
2305
b81d40f0
JB
2306 * progmodes/cc-langs.el (c-before-font-lock-functions):
2307 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2308 additionally has c-set-fl-decl-start. The other languages (apart
2309 from AWK) have that as a single entry.
2310
b81d40f0
JB
2311 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2312 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2313 c-set-fl-decl-start.
2314
b81d40f0
JB
2315 * progmodes/cc-mode.el (c-common-init, c-after-change):
2316 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2317 (c-set-fl-decl-start): New function, extracted from
2318 c-font-lock-enclosing-decls and enhanced.
2319
60ff536c
JB
23202011-12-23 Juanma Barranquero <lekktu@gmail.com>
2321
2322 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2323
1c4757d6
JL
23242011-12-22 Juri Linkov <juri@jurta.org>
2325
2326 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2327
d031f2c7
CY
23282011-12-22 Chong Yidong <cyd@gnu.org>
2329
2330 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2331
bace743a
DA
23322011-12-21 Drew Adams <drew.adams@oracle.com>
2333
2334 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2335
728a1f2b
JC
23362011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2337
2338 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2339
0d373f73
TZ
23402011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2341
fec0aaa4
TZ
2342 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2343 highlighting and support. Fix up comments for capitalization.
2344 (cfengine-mode-debug): New var.
2345 (cfengine3-mode): Change the modeline indicator to "CFE3".
2346 (cfengine3-font-lock-keywords): Improve defun highlighting.
2347 (cfengine2-actions): Rename from `cfengine-actions'.
2348 (cfengine2-font-lock-keywords): Rename from
2349 `cfengine-font-lock-keywords'.
2350 (cfengine2-imenu-expression): Rename from
2351 `cfengine-imenu-expression'.
2352 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2353 (cfengine2-beginning-of-defun): Rename from
2354 `cfengine-beginning-of-defun'.
2355 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2356 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2357 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2358 modeline indicator to "CFE2".
2359 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2360 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2361
bc86f573
CY
23622011-12-21 Chong Yidong <cyd@gnu.org>
2363
2364 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2365 filename argument.
2366
d45ba96b
MR
23672011-12-20 Martin Rudalics <rudalics@gmx.at>
2368
2369 * window.el (window-normalize-buffer-to-display): Remove.
2370 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2371
a6198c90
CY
23722011-12-19 Chong Yidong <cyd@gnu.org>
2373
2374 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2375 Don't signal an error in a predicate function; return non-nil.
2376 (vc-dir-mark-file): Move the error here.
2377 (vc-dir-mark-unmark): If acting on the region, keep going if one
2378 of the entries cannot be marked/unmarked.
2379 (vc-dir-mark-all-files): If current entry is a directory, mark
2380 only child files, as documented.
2381
34c5fb55
VB
23822011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2383
2384 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2385 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2386 addition.
2387
c803b2b7
JD
23882011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2389
2390 * term/ns-win.el (ns-get-selection-internal)
2391 (ns-store-selection-internal): Declare.
1154d12e
JB
2392 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2393 Declare as obsolete.
2394 (ns-get-pasteboard, ns-paste-secondary):
2395 Use ns-get-selection-internal.
2396 (ns-set-pasteboard, ns-copy-including-secondary):
2397 Use ns-store-selection-internal.
c803b2b7 2398
9cff91f8 23992011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2400
2401 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2402 (vc-deduce-fileset): Doc fix.
99a289d9 2403
f16c898a
AS
24042011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2405
2406 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2407
763237c4
SS
24082011-12-13 Sam Steingold <sds@gnu.org>
2409
2410 * man.el (Man-getpage-in-background): When running under a
2411 window-system, ignore $MANWIDTH and $COLUMNS.
2412
5fc1c122
KH
24132011-12-15 Kenichi Handa <handa@m17n.org>
2414
2415 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2416 (setup-ethiopic-environment-internal): Comment out key-binding for
2417 ethio-toggle-punctuation.
2418
13d49cbb
AM
24192011-12-13 Alan Mackenzie <acm@muc.de>
2420
898169a2
AM
2421 Add the switch statement to AWK Mode.
2422
7a71b18d 2423 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2424 "default" to the keywords regexp.
2425
7a71b18d 2426 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2427 expression as the rest.
1d00653d
SM
2428 (c-nonlabel-token-key): Allow string literals for AWK.
2429 Refactor for the other modes.
898169a2 2430
13d49cbb 2431 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2432 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2433 routines. Limit backward searching in c-font-lock-enclosing.decl.
2434
2435 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2436 pp-state and literal type in addition to the limits.
1d00653d 2437 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2438 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2439 (c-slow-in-literal, c-fast-in-literal): Remove.
2440 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2441
2442 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2443 being in a literal. Add a limit for backward searching.
2444
2445 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2446 c-slow-in-literal.
2447
15e0efc7
SM
24482011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2451
454592a6
MR
24522011-12-13 Martin Rudalics <rudalics@gmx.at>
2453
2454 * window.el (delete-other-windows): Use correct frame in call to
2455 window-with-parameter.
2456
87393f26
DP
24572011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2458
2459 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2460 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2461 (makefile-gmake-statements, makefile-makepp-statements):
2462 Use it and add new makepp keywords.
2463 (makefile-makepp-font-lock-keywords): Add new patterns.
2464 (makefile-match-function-end): Match new [...] and [[...]].
2465
11636b22
JB
24662011-12-11 Juanma Barranquero <lekktu@gmail.com>
2467
2468 * ses.el (ses-call-printer-return, ses-cell-property-get)
2469 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2470 (ses-create-cell-variable, ses-reset-header-string)
2471 (ses-cell-set-formula, ses-repair-cell-reference-all)
2472 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2473 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2474 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2475 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2476 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2477 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2478 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2479 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2480 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2481 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2482 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2483 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2484
cf018193
VB
24852011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2486
2487 * ses.el: The overall change is to add cell renaming, that is
2488 setting fancy names for cell symbols other than name matching
2489 "\\`[A-Z]+[0-9]+\\'" regexp .
2490 (ses-create-cell-variable): New defun.
2491 (ses-relocate-formula): Relocate formulas only for cells the
2492 symbols of which are not renamed, i.e. symbols whose names do not
2493 match regexp "\\`[A-Z]+[0-9]+\\'".
2494 (ses-relocate-all): Relocate values only for cells the symbols of
2495 which are not renamed.
2496 (ses-load): Create cells variables as the (ses-cell ...) are read,
2497 in order to check row col consistency with cell symbol name only
2498 for cells that are not renamed.
2499 (ses-replace-name-in-formula): New defun.
2500 (ses-rename-cell): New defun.
2501
ee957461
CY
25022011-12-11 Chong Yidong <cyd@gnu.org>
2503
2504 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2505 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2506
9a9e9ef0
MR
25072011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2508
2509 * window.el (other-window): Fix docstring.
2510
92a8eba5
EZ
25112011-12-10 Eli Zaretskii <eliz@gnu.org>
2512
2513 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2514 `from' or `to' address before taking its substring.
2515 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2516 encoded name is chopped in the middle of the encoded string, and
2517 thus displayed encoded.
2518
e152e577
JB
25192011-12-10 Juanma Barranquero <lekktu@gmail.com>
2520
2521 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2522
e5d84bfe
EZ
25232011-12-10 Eli Zaretskii <eliz@gnu.org>
2524
2525 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2526 to use texinfo-update-node and commands that call it if the
2527 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2528 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2529 (texinfo-all-menus-update, texinfo-master-menu)
2530 (texinfo-update-node, texinfo-every-node-update)
2531 (texinfo-multiple-files-update): Doc fix. Warn against updating
2532 all the @node lines.
2533 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2534 argument is numeric. Explain better in the doc string what the
2535 function really does.
2536 (texinfo-insert-master-menu-list): Improve the error message
2537 displayed if there's no menu in the Top node.
2538 (Bug#2975) See also this thread:
e5d84bfe
EZ
2539 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2540
1d84e9bb
MG
25412011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2542
2543 * speedbar.el (speedbar-supported-extension-expressions):
2544 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2545
382c953b
JB
25462011-12-09 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * printing.el (pr-mode-alist):
2549 * simple.el (filter-buffer-substring-functions)
2550 (completion-list-insert-choice-function):
2551 * window.el (window-with-parameter, window-atom-root)
2552 (window-sides-slots, window-size-fixed, window-min-delta)
2553 (window-max-delta, window--resize-mini-window)
2554 (window--resize-child-windows-normal, window-tree)
2555 (delete-other-windows, quit-window, split-window)
2556 (display-buffer-record-window, special-display-buffer-names)
2557 (special-display-regexps, special-display-popup-frame)
2558 (same-window-p, split-window-sensibly)
2559 (display-buffer-overriding-action, display-buffer-alist)
2560 (display-buffer-base-action, display-buffer, switch-to-buffer)
2561 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2562 (fit-window-to-buffer, recenter-positions)
2563 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2564 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2565 and remove unneeded backslashes in docstrings.
2566
39c9faef
SM
25672011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2568
98449af8
SM
2569 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2570
39c9faef
SM
2571 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2572 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2573 end in ".mk".
2574 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2575 when reading the makefile (bug#10116).
2576
86ed9fdc
SM
25772011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2580 (bug#10116).
2581
5580f89d
GM
25822011-12-06 Glenn Morris <rgm@gnu.org>
2583
2584 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2585
28d3917c
CY
25862011-12-06 Chong Yidong <cyd@gnu.org>
2587
2588 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2589
a98edce9
JB
25902011-12-06 Juanma Barranquero <lekktu@gmail.com>
2591
2592 * textmodes/table.el (table-shorten-cell): Fix typo.
2593
e65adfac
CG
25942011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2595
2596 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2597
71cc0b74
EZ
25982011-12-05 Eli Zaretskii <eliz@gnu.org>
2599
2600 * descr-text.el (describe-char): Fix display of strong
2601 right-to-left characters and directional embeddings and overrides.
2602
2603 * simple.el (what-cursor-position): Fix display of codepoints of
2604 strong right-to-left characters.
2605
315bc30d
CY
26062011-12-05 Chong Yidong <cyd@gnu.org>
2607
2608 * faces.el (read-color): Doc fix.
2609
58a70b94
GM
26102011-12-05 Glenn Morris <rgm@gnu.org>
2611
2612 * align.el (align--set-marker): Add doc-string.
2613 Don't try to move something that is not a marker. (Bug#10216)
2614
5158face
GM
26152011-12-04 Glenn Morris <rgm@gnu.org>
2616
2617 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2618 overly zealous deletion of trailing whitespace.
2619
520fca41
JB
26202011-12-04 Juanma Barranquero <lekktu@gmail.com>
2621
2622 * server.el (server-delete-client): On Windows, do not try to delete
2623 the only terminal.
2624 (server-process-filter): On Windows, treat requests for a tty frame as
2625 if they were for a GUI frame if the running server is in GUI mode.
2626
5e605a2e
GM
26272011-12-03 Glenn Morris <rgm@gnu.org>
2628
2629 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2630
5c3fe83f
SM
26312011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2632
6f5e57e7
SM
2633 * electric.el: Streamline electric-indent's hook.
2634 (electric-indent-chars): Revert to simple list.
2635 (electric-indent-functions): New var.
2636 (electric-indent-post-self-insert-function): Use it.
2637
5c3fe83f
SM
2638 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2639 there's no inferior buffer (bug#10196).
2640 (prolog-consult-compile): Don't use toggle-read-only.
2641
6bdac736
MA
26422011-12-02 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2645 interrupt. (Bug#10187)
2646
6131ba7f
SM
26472011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2648
99c79fee
SM
2649 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2650 (bug#9160).
2651
6131ba7f
SM
2652 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2653 (bug#10191).
2654
cb0a02ea
JL
26552011-12-02 Juri Linkov <juri@jurta.org>
2656
2657 * info.el (Info-search): Display "end of manual" when Isearch
2658 reaches the end of single-file Info manual. (Bug#9918)
2659
66e0570c
EZ
26602011-12-02 Eli Zaretskii <eliz@gnu.org>
2661
2662 * isearch.el (isearch-message-prefix): Run the input method part
2663 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2664
02b16839
JL
26652011-12-02 Juri Linkov <juri@jurta.org>
2666
2667 * isearch.el (isearch-occur): Use `word-search-regexp' for
2668 `isearch-word'.
2669 (isearch-search-and-update): Add condition for `isearch-word' and
2670 call `word-search-regexp'. (Bug#10145)
2671
0b950688
GM
26722011-12-01 Glenn Morris <rgm@gnu.org>
2673
2674 * eshell/em-hist.el (eshell-hist-initialize):
2675 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2676 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2677
9505c3c7
SM
26782011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2681
1bbe96b2 26822011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2683
a1beca85
SM
2684 * progmodes/verilog-mode.el (verilog-pretty-expr):
2685 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2686 verilog, such as += *= and the like.
2687 (verilog-assignment-operator-re): Regular expression to find the
2688 assigment operator in a verilog assignment.
2689 (verilog-assignment-operation-re): Regular expression to find an
2690 assignment statement for pretty-expr.
2691 (verilog-in-attribute-p): Query returns true if point is in an
2692 attribute context; used to skip these for expression line up from
2693 pretty-expr.
2694 (verilog-in-parameter-p): Query returns true if point is in an
2695 parameter definition context; used to skip these for expression
2696 line up from pretty-expr.
2697 (verilog-in-parenthesis-p): Query returns true if point is in a
2698 parenthetical expression, specifically ( ) but not [ ] or { };
2699 used by pretty-expr.
2700 (verilog-just-one-space): If there is no space, don't add one.
2701 (verilog-get-lineup-indent-2): Specifically skip just attribute
2702 contexts for expression lineup, rather than skipping all
2703 parenthetical expressions.
2704 (verilog-calculate-indent): Fix comment, and fix indent.
2705 (verilog-do-indent): Indent declarations in lists (suggested by
2706 Joachim Lechner).
2707 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2708 skeleton items.
2709 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2710 by Alain Mellan).
2711
1bbe96b2 27122011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2713
2714 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2715 parameters with embedded comments. Reported by Ray Stevens.
2716 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2717 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2718 Reported by Tim Holt.
2719 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2720 instantiated by upper module causing wrong expansion until AUTOed a
2721 second time. Reported by K C Buckenmaier.
2722 (verilog-diff-auto): Fix showing .* as a difference when
2723 `verilog-auto-star-save' off. Reported by Dan Dever.
2724 (verilog-auto-reset, verilog-read-always-signals)
2725 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2726 temporary signals in reset list if
2727 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2728 style to each signal's assignment type, bug381.
2729 Reported by Thomas Esposito.
6288f0ca
WS
2730 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2731 (verilog-uvm-statement-re): Support UVM indentation and
2732 highlighting, with old OVM keywords only.
a1beca85 2733 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2734 Support AUTOTIEOFF creating non-wire data types.
2735 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2736 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2737 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2738 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2739 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2740 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2741 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2742 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2743 non-numeric vector width. Reported by Alex Reed.
2744 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2745 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2746 (verilog-auto-delete-trailing-whitespace):
2747 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2748 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2749 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2750 Fix verilog-scan-cache corruption when running user AUTO expansion
2751 hooks that call indentation routines.
2752 (verilog-simplify-range-expression): Fix typo ignoring lower case
2753 identifiers.
2754 (verilog-delete-auto): Fix delete-autos to also remove user created
2755 automatics, as long as they start with AUTO.
2756 (verilog-batch-diff-auto, verilog-diff-auto)
2757 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2758 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2759 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2760 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2761 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2762 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2763 is disabled and its cache will get corrupt, causing AUTOS not to
2764 expand. Instead use only -quick functions.
2765 (verilog-scan-region): Fix scanning over escaped quotes.
2766 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2767 (verilog-re-search-backward-quick)
2768 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2769 related functions now ignore strings, to fix misparsing of strings
2770 with magic comments embedded in them.
a1beca85
SM
2771 (verilog-read-auto-template):
2772 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2773 Reported by Brad Dobbie.
2774 (verilog-read-auto-template):
2775 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2776 Reported by Brad Dobbie.
6288f0ca
WS
2777 (verilog-auto-inst, verilog-auto-inst-param)
2778 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2779 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2780 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2781 debugging templates without merge conflicts, bug357.
2782 Reported by Brad Dobbie.
2783 (verilog-read-auto-template):
2784 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2785 Reported by Brad Dobbie.
2786 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2787 abbrevs so user won't be asked to save.
2788 (verilog-read-auto-lisp-present): Fix to start at beginning of
2789 buffer in case called outside of verilog-auto.
2790 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2791 to "X-2". Reported by Matthew Myers.
2792 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2793 all inputs from module templates. Reported by Leith Johnson.
2794 (verilog-module-inside-filename-p): Fix locating programs as with
2795 modules.
2796 (verilog-auto-inst-port): Fix vl-width expressions when using
2797 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2798 (verilog-decls-get-regs, verilog-decls-get-signals,
2799 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2800 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2801 verilog-read-decls): Combine reg and wire structures into one var
2802 structure to represent SystemVerilog concepts.
2803 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2804 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2805 (verilog-auto-wire-type, verilog-insert-definition):
2806 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2807 SystemVerilog "logic" keyword instead of "wire"/"reg".
2808 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2809 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2810 ifdef or generate if so there's not a driver conflict).
2811 Reported by Matthew Myers.
2812 (verilog-auto-declare-nettype, verilog-insert-definition):
2813 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2814 `default_nettype none. Reported by Julian Gorfajn.
2815 (verilog-read-always-signals-recurse, verilog-read-decls)
2816 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2817 malformed end statement, bug325. Reported by Joshua Wise and
2818 Andrew Drake.
2819 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2820 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2821 when expanding .* in interfaces, bug320.
2822 Reported by Pierre-David Pfister.
6288f0ca 2823 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2824 name and open parenthesis, bug317.
2825 Reported by Pierre-David Pfister.
6288f0ca
WS
2826 (verilog-simplify-range-expression): Fix simplification of
2827 multiplications inside AUTOWIRE connections, bug303.
2828 (verilog-auto-inst-port): Support parameter expansion in
2829 multidimensional arrays.
2830 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2831 after "assert property". Reported by Julian Gorfajn.
2832 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2833 with multiplication, bug303.
2834 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2835 Reported by Jan Frode Lonnum.
2836
1bbe96b2
GM
28372011-11-30 Juanma Barranquero <lekktu@gmail.com>
2838
2839 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2840 (hfy-shell-file-name, hfy-shell):
2841 * international/fontset.el (x-decompose-font-name): Fix typos.
2842
28432011-11-29 Ken Brown <kbrown@cornell.edu>
2844
2845 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2846 (gdb-version): Remove defvar.
2847 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2848 (gdb-gud-context-command, gdb-non-stop-handler)
2849 (gdb-current-context-command, gdb-stopped): Use it.
2850 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2851 (gdb-non-stop-handler): Don't enable pretty-printing here.
2852 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2853 non-stop mode. Use the following.
2854 (gdb-check-target-async): New defun.
2855 (gud-watch, gdb-stopped): Fix whitespace.
2856 (gdb-get-source-file): Don't try to display the source file if
2857 `gdb-main-file' is nil.
2858
28592011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * align.el: Try to generate fewer markers (bug#10047).
2862 (align--set-marker): New macro.
2863 (align-region): Use it.
2864
c935221f
SM
28652011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2868
e70b5064
CY
28692011-11-29 Chong Yidong <cyd@gnu.org>
2870
2871 * indent.el (indent-for-tab-command, indent-according-to-mode):
2872 Doc fix.
2873 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2874
f3af92b7
MA
28752011-11-29 Michael Albinus <michael.albinus@gmx.de>
2876
2877 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2878 aware of remote file names. (Bug#10124)
2879
ed472be9
CY
28802011-11-29 Chong Yidong <cyd@gnu.org>
2881
2882 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2883
24510c22
SM
28842011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * files.el (find-file): Don't use force-same-window (bug#10144).
2887 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2888 use pop-to-buffer if the selected window can't be used.
2889 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2890
c60c3703
EZ
28912011-11-28 Eli Zaretskii <eliz@gnu.org>
2892
2893 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2894 special-mode-map.
2895
e95def75
CY
28962011-11-28 Chong Yidong <cyd@gnu.org>
2897
2898 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2899
c3f1c606
NR
29002011-11-27 Nick Roberts <nickrob@snap.net.nz>
2901
2902 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2903 gdb-get-source-file-list on gdb-create-source-file-list.
2904
00db469c
EZ
29052011-11-26 Eli Zaretskii <eliz@gnu.org>
2906
2907 * whitespace.el (whitespace-newline): Use a different foreground
2908 color for 16-color light-background displays.
2909
4ad3bc2a
CY
29102011-11-24 Chong Yidong <cyd@gnu.org>
2911
2912 * window.el (display-buffer--special-action): Doc fix.
2913
e9fce1ac
JB
29142011-11-25 Juanma Barranquero <lekktu@gmail.com>
2915
2916 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2917 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2918 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2919 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2920 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2921 (avl-tree-stack-first):
2922 * emacs-lisp/cconv.el (cconv--analyse-use):
2923 * net/gnutls.el (gnutls-negotiate): Fix typos.
2924
cb825e5d
GM
29252011-11-24 Glenn Morris <rgm@gnu.org>
2926
3adbe224
GM
2927 * lpr.el (lpr-windows-system, lpr-lp-system):
2928 * mail/binhex.el (binhex-begin-line):
2929 * progmodes/grep.el (grep-history, grep-find-history):
2930 * textmodes/flyspell.el:
2931 * vc/pcvs-defs.el (cvs-global-menu):
2932 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2933 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2934 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2935
321decc8
GM
2936 * net/tls.el: Fix case of "GnuTLS".
2937
420b63ad
GM
2938 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2939
cb825e5d
GM
2940 * version.el (emacs-build-system): Give it a doc-string.
2941
a0649f08
JL
29422011-11-24 Juri Linkov <juri@jurta.org>
2943
2944 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2945
c0bc0fd4
GM
29462011-11-24 Glenn Morris <rgm@gnu.org>
2947
2948 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2949 if called on a non-mime message just toggle the headers. (Bug#8006)
2950
20db1522
JB
29512011-11-24 Juanma Barranquero <lekktu@gmail.com>
2952
2953 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2954 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2955 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2956 (allout-rebullet-heading, allout-open-sibtopic)
2957 (allout-toggle-current-subtree-encryption)
2958 (allout-toggle-subtree-encryption, allout-encrypt-string)
2959 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2960 (allout-distinctive-bullets-string, allout-auto-activation):
2961 * window.el (window-normalize-buffer-to-display):
2962 * progmodes/verilog-mode.el (verilog-batch-indent):
2963 * textmodes/bibtex.el (bibtex-field-braces-opt)
2964 (bibtex-field-strings-opt):
2965 * vc/cvs-status.el (cvs-tree-merge):
2966 Fix typos.
2967
7262a87c
MA
29682011-11-23 Michael Albinus <michael.albinus@gmx.de>
2969
2970 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2971 `non-essential' to t, in order to avoid remote connections.
2972
283430a1
EZ
29732011-11-23 Eli Zaretskii <eliz@gnu.org>
2974
a1beca85
SM
2975 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2976 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2977 case-insensitively.
2978
d2992a38
ML
29792011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2980
2981 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2982
50419064
GM
29832011-11-23 Glenn Morris <rgm@gnu.org>
2984
da94eca1
GM
2985 * paths.el (rmail-file-name): Reformat the doc-string so that it
2986 is picked up.
2987
9aac4de2
GM
2988 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2989 (rmail-auto-file): Ignore case in the "special" field names,
2990 as mail-fetch-field does for all others.
2991
8038d2d2
GM
2992 * mail/rmail.el (rmail-forward):
2993 * mail/rmailkwd.el (rmail-set-label):
2994 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2995 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2996
f3fe222a
GM
2997 * mail/rmail.el (rmail-current-message): Doc fix.
2998
50419064
GM
2999 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3000
28109f49
SM
30012011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3004
394c65f1
GM
30052011-11-22 Glenn Morris <rgm@gnu.org>
3006
3007 * mail/rmailmm.el (test-rmail-mime-handler)
3008 (test-rmail-mime-bulk-handler)
3009 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3010
f2a0aa3a
JL
30112011-11-21 Juri Linkov <juri@jurta.org>
3012
1154d12e
JB
3013 * calc/calc.el (calc-read-key-sequence):
3014 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3015
9c34a344
LMI
30162011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3017
3018 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3019 Tell the caller that the next line needs recomputation, even
3020 though it doesn't start a sexp (bug#10094).
3021
f04a3be9
SM
30222011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3025
7978747f
SM
30262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3027
f04a3be9
SM
3028 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3029 Use force-same-window.
7978747f 3030
fe7a3057
JB
30312011-11-20 Juanma Barranquero <lekktu@gmail.com>
3032
3033 * descr-text.el (describe-char-unicode-data):
3034 * json.el (json-string-escape):
3035 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3036 (Footnote-unicode, Footnote-style-p):
3037 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3038
24901d61
CY
30392011-11-20 Chong Yidong <cyd@gnu.org>
3040
3041 * window.el (replace-buffer-in-windows): Restore interactive spec.
3042
bac7ff22
SM
30432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3044
24f3d7b9
SM
3045 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3046
bac7ff22
SM
3047 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3048 (byte-compile-global-not-obsolete-vars): New var.
3049 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3050 Use it.
3051 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3052
cd1181db
JB
30532011-11-20 Juanma Barranquero <lekktu@gmail.com>
3054
3055 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3056 * progmodes/pascal.el (electric-pascal-equal):
3057 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3058 * xml.el (xml-substitute-special): Fix typos.
3059
7fb18e9e
GM
30602011-11-20 Glenn Morris <rgm@gnu.org>
3061
3062 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3063 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3064 Doc fixes.
3065 (rmail-decode-mime-charset): Mark as obsolete.
3066
3067 * mail/rmailsum.el (rmail-message-regexp-p-1):
3068 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3069 Before using mime functions, check they are set. (Bug#10077)
3070
d5a6b3ba
JL
30712011-11-19 Juri Linkov <juri@jurta.org>
3072
3073 * info.el (Info-finder-find-node): Use `package--builtins' instead
3074 of `package-alist'. Use node names formed by the pattern "Keyword "
3075 and the keyword name.
3076
e981b61f
AS
30772011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3078
1d00653d 3079 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3080
3ffbc301
JL
30812011-11-19 Juri Linkov <juri@jurta.org>
3082
3083 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3084 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3085 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3086 `old-history', `old-history-forward'. Add let-binding
3087 `window-selected'. Remove calls to `kill-buffer',
3088 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3089 before calling `Info-find-node', so `Info-find-node-2' will reread
3090 the Info file. Restore window positions only when `window-selected'
3091 is non-nil.
3092
30c62133
JL
30932011-11-19 Juri Linkov <juri@jurta.org>
3094
3095 * isearch.el (isearch-lazy-highlight-new-loop):
3096 Remove condition `(not isearch-error)'. (Bug#9918)
3097
3098 * misearch.el (multi-isearch-search-fun): Add condition
3099 `(not bound)' to ignore lazy-highlighting search.
3100 Add the search-failed message "end of multi" when the end of
3101 multi-sequence is reached. Uncapitalize the search-failed
3102 message "Repeat for next buffer".
3103
3104 * info.el (Info-search): Add the search-failed message
3105 "end of the manual" when the end of the manual is reached
3106 in Isearch mode.
3107
645ca9cf
JL
31082011-11-19 Juri Linkov <juri@jurta.org>
3109
3110 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3111 Use non-destructive `remove' instead of `delete' because
3112 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3113 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3114
df754f66
JL
31152011-11-19 Juri Linkov <juri@jurta.org>
3116
3117 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3118 to nil instead of binding `search-ring' and `regexp-search-ring'.
3119 (Bug#9185)
3120
0e23d96a
EZ
31212011-11-19 Eli Zaretskii <eliz@gnu.org>
3122
3123 * simple.el (line-move): Force movement by logical lines for any
3124 hscrolled window, not only when auto-hscroll-mode is on.
3125 (line-move-visual): Update doc string to that effect. (Bug#10076)
3126
8a6ccb66
AS
31272011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3128
3129 * language/european.el (macintosh): Define as alias for mac-roman.
3130
49ae5b39
EZ
31312011-11-19 Eli Zaretskii <eliz@gnu.org>
3132
3133 * mail/rmailmm.el (rmail-mime-display-header)
3134 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3135 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3136 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3137 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3138 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3139 of a raw aref.
3140 (rmail-mime-entity-segment): To get past the tagline, move forward
3141 2 more lines, to account for the 2 empty lines that precede and
3142 follow the line with the buttons.
3143 (rmail-mime-update-tagline): Move one more line, to get past the
3144 empty line that follows the buttons in the tagline. (Bug#9520)
3145
c56cad4a
MR
31462011-11-19 Martin Rudalics <rudalics@gmx.at>
3147
3148 * window.el (window-max-delta-1, window-min-delta-1)
3149 (window-min-size-1, window-state-get-1, window-state-put-1)
3150 (window-state-put-2): Use "window--" prefix.
3151
cbe71af3
SM
31522011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3153
2ad52c60
SM
3154 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3155 (smie-warning-count): New var.
3156 (smie-set-prec2tab): Use it.
3157 (smie-bnf->prec2): Improve warnings. Add docstring.
3158 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3159 (smie-bnf--set-class): New function.
3160 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3161 corner case.
3162
6944dbc1
SM
3163 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3164 (compilation-error-properties, compilation-move-to-column):
3165 Handle compilation-first-column while in the target buffer.
3166
c400c4d7
SM
3167 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3168 Don't hardcode point-min==1.
3169
6dbe3e96
SM
3170 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3171 (eshell-rewrite-for-command): Remove workaround.
3172 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3173 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3174 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3175
cbe71af3
SM
3176 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3177
a8e1496d
GM
31782011-11-17 Glenn Morris <rgm@gnu.org>
3179
3180 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3181 Ignore buffer-local generated-autoload-file if it is the same
3182 as the global value. (Bug#10049)
3183
df85d315
JB
31842011-11-17 Juanma Barranquero <lekktu@gmail.com>
3185
3186 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3187 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3188 (reftex-toc-previous-heading, reftex-toc-max-level)
3189 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3190 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3191 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3192 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3193 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3194 (reftex-toc-rename-label, reftex-toc-visit-location)
3195 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3196 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3197 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3198 leaving "*toc*" only for references to the buffer.
3199
a0c2d0ae
MR
32002011-11-17 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (window-resize, delete-window, split-window):
3203 Replace window-splits by window-combination-resize.
1d00653d 3204 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3205
35c0bac8
GM
32062011-11-17 Glenn Morris <rgm@gnu.org>
3207
3208 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3209 Make bash entry derive from sh entry, not shell entry.
3210
d0c8fc8a
MA
32112011-11-16 Michael Albinus <michael.albinus@gmx.de>
3212
d0c8fc8a
MA
3213 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3214 properties of linked files. (Bug#9879)
3215
7262a87c
MA
3216 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3217 local file name.
3218
7877f373
JB
32192011-11-16 Juanma Barranquero <lekktu@gmail.com>
3220
3221 * menu-bar.el (menu-bar-file-menu):
3222 * printing.el (pr-ps-utility):
3223 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3224 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3225 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3226 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3227 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3228 (icalendar--convert-cyclic-to-ical)
3229 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3230 (icalendar--convert-ical-to-diary)
3231 (icalendar--convert-recurring-to-diary)
3232 (icalendar--convert-non-recurring-all-day-to-diary)
3233 (icalendar-import-format-sample):
3234 * progmodes/idlw-shell.el (idlwave-shell-mode):
3235 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3236 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3237 (vhdl-ps-print-init): Fix typos.
3238
10649b82
KM
32392011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3240
9d0cfcd6
GM
3241 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3242 FSF and collapse date sequence, obscure author/maintainer email address
3243 better, remove extra version line, track relocation of author's webpage.
10649b82 3244
9d0cfcd6
GM
3245 * progmodes/python.el (python-pdbtrack-input-prompt)
3246 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3247 regular python pdb prompts. Adjustments shamelessly taken exactly as
3248 suggested in EmacsWiki page (tiny change):
3249 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3250
58179cce
JB
32512011-11-16 Juanma Barranquero <lekktu@gmail.com>
3252
3253 * expand.el (expand-pos, expand-index, expand-point):
3254 Remove redundant info from docstring.
3255 (expand-add-abbrevs): Doc fix.
3256 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3257 (expand-sample-perl-mode-expand-list): Fix typos.
3258
3259 * net/dbus.el (dbus-event-member-name):
3260 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3261 * term/pc-win.el (msdos-create-frame-with-faces):
3262 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3263
b6f67890
MR
32642011-11-16 Martin Rudalics <rudalics@gmx.at>
3265
3266 * window.el (split-window, window-state-get-1)
3267 (window-state-put-1, window-state-put-2): Rename occurrences of
3268 window-nest to window-combination-limit.
1d00653d 3269 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3270
ce7ddba0
CY
32712011-11-16 Chong Yidong <cyd@gnu.org>
3272
3273 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3274 regexp (Bug#10033).
3275
3ae704f4
SM
32762011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3279 `completing-read' will remove *Completions* and will preserve
3280 current-buffer for us.
3281 (tmm-add-prompt): Users of *Completions* will always (re)set its
3282 major mode.
3283 (tmm-old-comp-map): Remove.
3284
6ad1cdde
GM
32852011-11-16 Glenn Morris <rgm@gnu.org>
3286
3287 * mail/rmailedit.el: Require rmailmm when compiling.
3288 (rmail-old-mime-state): New declaration.
3289 (rmail-edit-current-message): If editing a mime message,
3290 edit the "raw" message from the mbox buffer.
3291 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3292
d20faa20
GM
32932011-11-15 Glenn Morris <rgm@gnu.org>
3294
3295 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3296 which wasn't being used. Add optional arg to force given state.
3297 (rmail-mime): Add optional arg to force given state.
3298
c7015153
JB
32992011-11-15 Juanma Barranquero <lekktu@gmail.com>
3300
3301 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3302 * frame.el (display-mm-dimensions-alist):
3303 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3304 (outline-move-subtree-down):
3305 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3306 (newsticker--treeview-do-get-node):
3307 * net/quickurl.el (quickurl-list-buffer-name):
3308 * progmodes/dcl-mode.el (dcl-mode):
3309 * progmodes/gdb-mi.el (gdb-mapcar*):
3310 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3311
45261b50
GM
33122011-11-15 Glenn Morris <rgm@gnu.org>
3313
3314 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3315 in a boolean sense, so just make it a boolean, and fix the doc.
3316 (rmail-show-mime-function, rmail-mime-feature)
3317 (rmail-require-mime-maybe): Doc fixes.
3318 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3319
3320 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3321
0d26e0b6
JB
33222011-11-15 Juanma Barranquero <lekktu@gmail.com>
3323
3324 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3325 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3326 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3327 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3328
447f30f6
GM
33292011-11-15 Glenn Morris <rgm@gnu.org>
3330
672b871d
GM
3331 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3332 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3333 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3334 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3335 (rmail-mime, rmail-show-mime): Doc fixes.
3336
f6aa5bb1
GM
3337 * term/ns-win.el (mode-line-frame-identification):
3338 Leave it alone. (Bug#10051)
3339
947cd66b
GM
3340 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3341
447f30f6
GM
3342 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3343 Handle empty buffers. (Bug#9978)
3344
0b381c7e
JB
33452011-11-14 Juanma Barranquero <lekktu@gmail.com>
3346
3347 * international/mule.el (define-charset):
3348 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3349 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3350 * progmodes/verilog-mode.el (verilog-backward-token):
3351 * textmodes/ispell.el (lookup-words):
3352 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3353
71e027ac
GM
33542011-11-14 Glenn Morris <rgm@gnu.org>
3355
56632ce4
GM
3356 * progmodes/executable.el
3357 (executable-make-buffer-file-executable-if-script-p):
3358 Handle file-modes returning nil.
3359
40500957
GM
3360 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3361 message - not necessary, and causes problems. (Bug#9831)
3362
071c2340
GM
3363 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3364
d3cfca60
GM
3365 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3366
71e027ac
GM
3367 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3368 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3369 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3370
89d61221
MR
33712011-11-12 Martin Rudalics <rudalics@gmx.at>
3372
3373 * window.el (window-resize, delete-window): Use window-splits
3374 variable instead of function.
3375 (window-state-get-1, window-state-put-2, window-state-put):
3376 Don't deal with windows' splits status.
3377
98282f6f
GM
33782011-11-12 Glenn Morris <rgm@gnu.org>
3379
3380 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3381 (apropos-documentation): Doc fixes.
3382
40a8bdf6
JB
33832011-11-11 Juanma Barranquero <lekktu@gmail.com>
3384
3385 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3386 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3387
65bd19ff
SM
33882011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * electric.el (electric-indent-post-self-insert-function): Make it
3391 possible for a char to only indent in some circumstances.
3392 (electric-indent-mode): Simplify.
3393
54f9154c
MR
33942011-11-11 Martin Rudalics <rudalics@gmx.at>
3395
3396 * window.el (windows-with-parameter): Remove unused function.
3397 (windows-at-side): Rename to window-at-side-list.
3398 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3399 (window-side-check, window-size-ignore, window-size-fixed-1)
3400 (window-in-direction-2): Prefix with "window--".
3401 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3402
68cbc58b
GM
34032011-11-11 Glenn Morris <rgm@gnu.org>
3404
3405 * subr.el (eval-after-load): If FILE is already loaded,
3406 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3407
b2621720
GM
34082011-11-10 Glenn Morris <rgm@gnu.org>
3409
9a4de110
GM
3410 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3411 Call svn via vc-svn-command rather than vc-do-command.
3412 (vc-svn-command): Add --non-interactive. (Bug#9993)
3413 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3414
b2621720
GM
3415 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3416 Add toggle-read-only. (Bug#7292)
3417 * files.el (toggle-read-only): Mention that it should only
3418 be used interactively. (Bug#10006)
3419
1dce7193
SM
34202011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3421
d9ac1a1e
SM
3422 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3423 Adjust regexp for OCaml warnings.
3424
0c325082
SM
3425 * electric.el (electric-pair-post-self-insert-function): Let user
3426 turn it off buffer-locally (bug#9932).
3427
90132c14
SM
3428 * progmodes/python.el (python-beginning-of-statement):
3429 Rewrite (bug#2703).
3430
1dce7193
SM
3431 * progmodes/compile.el: Better handle TABs (bug#9749).
3432 (compilation-internal-error-properties)
3433 (compilation-next-error-function): Obey the target buffer's
3434 compilation-error-screen-columns.
3435
c4e7c63a
JB
34362011-11-09 Juanma Barranquero <lekktu@gmail.com>
3437
3438 * progmodes/meta-mode.el: Remove obsolete comments.
3439 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3440 Fix typos in docstrings.
3441
2cffd681
MR
34422011-11-09 Martin Rudalics <rudalics@gmx.at>
3443
3444 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3445 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3446 (window--resizable): New function. Make all callers of
3447 window-resizable call window--resizable instead.
3448 (window-resizable): Rewrite in terms of window--resizable.
3449
0edcba87
GM
34502011-11-08 Glenn Morris <rgm@gnu.org>
3451
3452 * progmodes/delphi.el (delphi-mode-syntax-table):
3453 Let define-derived-mode define a proper syntax table. (Bug#9994)
3454
4b0d61e3
SM
34552011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * window.el: Stay away from defsubst.
3458 (window-list-no-nils): Remove.
3459 (window-state-get-1, window-state-get): Use backquote instead.
3460
cd394be1 34612011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3462
4b0d61e3 3463 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3464 Fix incorrect use of default argument in `completing-read'.
3465
e1c2c6f2
MR
34662011-11-08 Martin Rudalics <rudalics@gmx.at>
3467
3468 * window.el (display-buffer-function, special-display-function):
3469 Mention display-buffer-record-window but do not mention
3470 help-setup parameter in doc-strings.
b3f4a882 3471 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3472
105216ed
CY
34732011-11-08 Chong Yidong <cyd@gnu.org>
3474
3475 * window.el (window-total-height, window-total-width): Doc fix.
3476 (window-body-size): Move from C.
3477 (window-body-height, window-body-width): Move to C.
3478
0a9f9ab5
SM
34792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * window.el: Make special-display like display-buffer-alist (bug#9532).
3482 (display-buffer--special-action): New function, morphed
3483 from display-buffer--special.
3484 (display-buffer): Use it to handle special-display-buffers at higher
3485 priority (just after display-buffer-alist).
3486 (display-buffer-fallback-action, display-buffer--other-frame-action)
3487 (pop-to-buffer-same-window): Remove display-buffer--special.
3488
a769dd15
GM
34892011-11-07 Glenn Morris <rgm@gnu.org>
3490
3491 * calendar/cal-menu.el (cal-menu-set-date-title):
3492 Do nothing if not in a calendar. (Bug#9976)
3493
05a61ee3
SM
34942011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * files.el (find-file): Always use selected-window.
3497
be7f5545
MR
34982011-11-07 Martin Rudalics <rudalics@gmx.at>
3499
3500 * window.el (window-combinations): Make WINDOW argument
3501 mandatory. Rewrite doc-string.
3502 (walk-window-subtree, window-atom-check, window-min-delta)
3503 (window-max-delta, window--resize-this-window)
3504 (window--resize-root-window-vertically, window-tree)
3505 (balance-windows, window-state-put): Rewrite doc-strings as to
3506 not mention the term "subwindow".
3507 (window--resize-subwindows-skip-p): Rename to
3508 window--resize-child-windows-skip-p.
3509 (window--resize-subwindows-normal): Rename to
3510 window--resize-child-windows-normal.
3511 (window--resize-subwindows): Rename to
3512 window--resize-child-windows.
3513 (window-or-subwindow-p): Rename to window--in-subtree-p.
3514
3c6702ef
ML
35152011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3516
3517 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3518 Ensure that mbox format messages end in two newlines (Bug#9974).
3519
49745b39
CY
35202011-11-06 Chong Yidong <cyd@gnu.org>
3521
3522 * window.el (window-combination-p): Function deleted; its
3523 side-effect is not used in any existing code.
3524 (window-combinations, window-combined-p): Call window-*-child
3525 directly.
3526
24300f5f
CY
35272011-11-05 Chong Yidong <cyd@gnu.org>
3528
3529 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3530 (window-size-ignore, window-state-get): Callers changed.
3531 (window-normalize-window): Rename from window-normalize-any-window.
3532 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3533 (window-normalize-live-window): Delete.
447f16b8
CY
3534 (window-combination-p, window-combined-p, window-combinations)
3535 (walk-window-subtree, window-atom-root, window-min-size)
3536 (window-sizable, window-sizable-p, window-size-fixed-p)
3537 (window-min-delta, window-max-delta, window-resizable)
3538 (window-resizable-p, window-full-height-p, window-full-width-p)
3539 (window-current-scroll-bars, window-point-1, set-window-point-1)
3540 (window-at-side-p, window-in-direction, window-resize)
3541 (adjust-window-trailing-edge, maximize-window, minimize-window)
3542 (window-deletable-p, delete-window, delete-other-windows)
3543 (record-window-buffer, unrecord-window-buffer)
3544 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3545 (quit-window, split-window, window-state-put)
3546 (set-window-text-height, fit-window-to-buffer)
3547 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3548
89bd5ee1
EZ
35492011-11-04 Eli Zaretskii <eliz@gnu.org>
3550
53479029
EZ
3551 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3552 rfc2047-decode-string.
3553 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3554 warnings.
3555
89bd5ee1
EZ
3556 * window.el (window-body-height, window-body-width): Mention in
3557 the doc string that the return values are in frame's canonical
3558 units. (Bug#9949)
3559
bd17fdee
AM
35602011-11-03 Alan Mackenzie <acm@muc.de>
3561
3562 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3563 change in cc-engine.el.
3564
acc825c5
SM
35652011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3568
1885e5b8
MR
35692011-11-02 Martin Rudalics <rudalics@gmx.at>
3570
3571 * window.el (quit-window): Call unrecord-window-buffer after
3572 showing another buffer in the window. (Bug#9937)
acc825c5 3573 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3574
ebe06da9
JB
35752011-11-02 Juanma Barranquero <lekktu@gmail.com>
3576
3577 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3578 Accept status with more than 9 shelves. (Bug#9935)
3579 Reported by Colin D Bennett <colin@gibibit.com>.
3580
4ee88440
MR
35812011-11-01 Martin Rudalics <rudalics@gmx.at>
3582
3583 * help.el (with-help-window): Don't reference
3584 temp-buffer-show-specifiers in doc-string.
3585
08e1d82c
AS
35862011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3587
3588 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3589 menu-item.
3590
84bd6e9e
VJL
35912011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3592
3593 * whitespace.el: New version 13.2.2.
3594 (whitespace-newline-mode): Disable properly. Reported by Sarah
3595 <EmacsWiki>.
3596
dba0634a
UJ
35972011-10-30 Ulf Jasper <ulf.jasper@web.de>
3598
3599 * net/newst-treeview.el: Remove "Time-stamp".
3600 (newsticker--group-manage-orphan-feeds): Do not call
3601 newsticker--treeview-tree-update.
db22a3c2
JB
3602 (newsticker-treeview-update, newsticker-treeview):
3603 Call newsticker--treeview-tree-update if necessary.
dba0634a 3604
3d8daefe
MR
36052011-10-30 Martin Rudalics <rudalics@gmx.at>
3606
3607 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3608 (window-iso-combinations): Remove "iso-" infix.
3609 Suggested by Chong Yidong.
3d8daefe
MR
3610 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3611 (window-max-delta-1, window-resize, window--resize-siblings)
3612 (window--resize-this-window, adjust-window-trailing-edge)
3613 (split-window, balance-windows-1)
3614 (shrink-window-if-larger-than-buffer):
3615 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3616 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3617
1bc4c3ae
SM
36182011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3621 in place (bug#9907).
3622 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3623 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3624 (eshell-structure-basic-command, eshell-rewrite-while-command)
3625 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3626 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3627 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3628 (eshell-do-pipelines-synchronously, eshell-eval-command):
3629 Use backquotes and prefer setq to set.
3630 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3631 (eshell-macrop): Use functionp.
c1e2f5fa 3632 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3633
30b65d9c
CY
36342011-10-30 Chong Yidong <cyd@gnu.org>
3635
3636 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3637 instead of set-mark (Bug#9810).
3638
2d197ffb
CY
36392011-10-30 Chong Yidong <cyd@gnu.org>
3640
3641 * window.el (split-window-below, split-window-right): Rename from
3642 split-window-above-each-other and split-window-side-by-side
3643 respectively. All callers changed.
3644 (split-window-sensibly, split-window-sensibly): Use them.
3645 (split-window-keep-point): Doc fix.
3646
3647 * isearch.el: Add isearch-scroll property to split-window-below
3648 and split-window-right.
3649
3650 * follow.el (follow-mode):
3651 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3652 * progmodes/ada-xref.el (ada-gdb-application):
3653 * emulation/vip.el (vip-buffer-in-two-windows):
3654 * image-dired.el (image-dired-dired-with-window-configuration):
3655 * dired-x.el (dired-do-find-marked-files):
3656 * dired.el (dired-pop-to-buffer):
3657 * bs.el (bs--show-with-configuration):
3658 * vc/emerge.el (emerge-setup-windows):
3659 * textmodes/two-column.el (2C-two-columns):
3660 * textmodes/reftex-toc.el (reftex-toc):
3661 * progmodes/gdb-mi.el (gdb-setup-windows):
3662 * progmodes/fortran.el (fortran-window-create):
3663 * net/newst-treeview.el (newsticker--treeview-window-init):
3664 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3665 * emulation/tpu-edt.el (tpu-gold-map):
3666 * emulation/crisp.el (crisp-mode-map):
3667 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3668
38bb2ca8
CY
36692011-10-29 Chong Yidong <cyd@gnu.org>
3670
aa4de341
CY
3671 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3672
e1eb5385
CY
3673 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3674
5d2ece3c
CY
3675 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3676 forged Ispell output (Bug#7904).
3677
38bb2ca8
CY
3678 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3679
d0af9f77
SM
36802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * doc-view.el: Avoid ugly errors about not finding nil.
3683 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3684 (doc-view-dvipdf-program, doc-view-unoconv-program)
3685 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3686 Avoid nil or absolute file name as default value.
3687 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3688
52bedd34
AM
36892011-10-28 Alan Mackenzie <acm@muc.de>
3690
db22a3c2 3691 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3692
7e43cfa5
AM
36932011-10-28 Alan Mackenzie <acm@muc.de>
3694
3695 Amend the handling of c-beginning/end-of-defun in nested declaration
3696 scopes.
3697
52bedd34
AM
3698 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3699 cc-langs.el. Change it to a defcustom.
7e43cfa5 3700
52bedd34
AM
3701 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3702 cc-vars.el.
7e43cfa5 3703
d0af9f77
SM
3704 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3705 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3706
52bedd34 3707 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3708 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3709 (c-widen-to-enclosing-decl-scope): New function.
3710 (c-while-widening-to-decl-block): New macro.
3711 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3712 outward for defun boundaries, and correspondingly change symbol
3713 `respect-enclosure' to `go-outward'.
3714 (c-declaration-limits): Change algorithm to report only the "innermost"
3715 defun's boundaries.
3716
1a2ce9ee
DD
37172011-10-28 Deniz Dogan <deniz@dogan.se>
3718
3719 * net/rcirc.el (rcirc-mode): Use hard newlines.
3720
bc97a826
AM
37212011-10-28 Alan Mackenzie <acm@muc.de>
3722
3723 Amend to indent and fontify macros "which include their own semicolon"
3724 correctly, using the "virtual semicolon" mechanism.
3725
52bedd34 3726 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3727
d0af9f77 3728 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3729 Recode to scan one line at a time rather than having \n and \r
58179cce 3730 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3731 (c-forward-label): Amend for virtual semicolons.
58179cce 3732 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3733
52bedd34
AM
3734 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3735 of the new C macros.
bc97a826 3736
52bedd34 3737 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3738 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3739 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3740 (c-opt-cpp-macro-define): Make into a full language variable.
3741 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3742 AWK Mode (including \n, \r) removed, no longer needed.
3743
d0af9f77
SM
3744 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3745 Invoke c-make-macro-with-semi-re.
bc97a826 3746
52bedd34
AM
3747 * progmodes/cc-vars.el (c-macro-with-semi-re):
3748 (c-macro-names-with-semicolon): New variables.
58179cce 3749 (c-make-macro-with-semi-re): New function.
bc97a826 3750
7a6c0941
SM
37512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * vc/log-edit.el: Fill empty field rather than adding new one.
3754 (log-edit-add-field): New function.
3755 (log-edit-insert-changelog): Use it.
3756
b0c4cdcf
ML
37572011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3758
3759 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3760
ee1f1da9
SM
37612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3764 (gdb--check-interpreter): New function.
3765 (gdb): Use it.
3766
51bc5f8b
GM
37672011-10-27 Glenn Morris <rgm@gnu.org>
3768
416a2c45
GM
3769 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3770 (least-positive-float, least-negative-float)
3771 (least-positive-normalized-float, least-negative-normalized-float)
3772 (float-epsilon, float-negative-epsilon):
3773 Remove unnecessary declarations.
3774
3775 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3776 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3777 (least-positive-float, least-negative-float)
3778 (least-positive-normalized-float, least-negative-normalized-float)
3779 (float-epsilon, float-negative-epsilon): Add doc-strings,
3780 based on those in cl.texi.
3781
51bc5f8b
GM
3782 * files.el (set-visited-file-name): If the major-mode changed,
3783 reload the local variables. (Bug#9796)
3784
15de15c6
CY
37852011-10-27 Chong Yidong <cyd@gnu.org>
3786
3787 * subr.el (change-major-mode-after-body-hook): New hook.
3788 (run-mode-hooks): Run it.
3789
ee1f1da9
SM
3790 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3791 Use change-major-mode-before-body-hook.
15de15c6
CY
3792
3793 * simple.el (fundamental-mode):
3794 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3795 change introducing fundamental-mode-hook.
3796
5430d399
JB
37972011-10-26 Juanma Barranquero <lekktu@gmail.com>
3798
acc825c5 3799 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3800
ad74a69e
MA
38012011-10-26 Michael Albinus <michael.albinus@gmx.de>
3802
3803 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3804 tramp.el explicitly. (Bug#7583)
ad74a69e 3805
71d4c2a5
SM
38062011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * progmodes/octave-mod.el:
3809 * progmodes/octave-inf.el: Update maintainer.
3810
b1f6fa26
CY
38112011-10-26 Chong Yidong <cyd@gnu.org>
3812
3813 * subr.el (with-wrapper-hook): Rewrite doc.
3814
3f04efd6
MA
38152011-10-25 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3818 filenames "/method:foo:". (Bug#9793)
3f04efd6 3819
410488d3
SM
38202011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3823 (bug#9865).
3824
c1ebb47e
GM
38252011-10-24 Glenn Morris <rgm@gnu.org>
3826
3827 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3828
7f5c46c7
MA
38292011-10-24 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * notifications.el: Add the requirement of a running D-Bus session
3832 bus to the Commentary.
3833
db2440b6
JL
38342011-10-24 Juri Linkov <juri@jurta.org>
3835
3836 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3837 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3838 (Bug#9364)
3839
feecf435
JL
38402011-10-24 Juri Linkov <juri@jurta.org>
3841
3842 * info.el (Info-following-node-name-re): Add newline to the list
3843 of allowed characters for leading space. (Bug#9824)
3844
a3839de2
SM
38452011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3846
acc825c5
SM
3847 * progmodes/octave-inf.el (inferior-octave-mode-map):
3848 Fix C-c C-h binding.
a3839de2
SM
3849 * progmodes/octave-mod.el (octave-help): Remove.
3850
09388e76
MA
38512011-10-23 Michael Albinus <michael.albinus@gmx.de>
3852
3853 Sync with Tramp 2.2.3.
3854
3855 * net/tramp-cache.el (top): Pacify byte-compiler using
3856 `init-file-user' and `site-run-file'.
3857
3858 * net/trampver.el: Update release number.
3859
86c60681
CY
38602011-10-23 Chong Yidong <cyd@gnu.org>
3861
3862 * files.el (toggle-read-only): Remove obsolete comment about
3863 version control.
3864
3865 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3866 for toggle-read-only. Note that this hasn't called vc-next-action
3867 since 2008-05-02, though it wasn't documented at the time.
3868
a3839de2
SM
3869 * vc/ediff-init.el (ediff-toggle-read-only-function):
3870 Use toggle-read-only.
86c60681 3871
cd5495ff
AM
38722011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3873
3874 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3875 of c-parse-state.
3876
00b77525 3877 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3878 correct faulty logical expression.
cd5495ff
AM
3879 (c-parse-state-state, c-record-parse-state-state):
3880 (c-replay-parse-state-state): New defvar/defuns.
3881 (c-debug-parse-state): Use new functions.
3882
42ee24ed
MR
38832011-10-22 Martin Rudalics <rudalics@gmx.at>
3884
3885 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3886 last fix. Use window-in-direction correctly.
42ee24ed 3887
a7dee7e7
CY
38882011-10-21 Chong Yidong <cyd@gnu.org>
3889
3890 * progmodes/idlwave.el (idlwave-mode):
3891 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3892 require-final-newline; that's done in prog-mode.
3893 Suggested by Stefan Monnier.
a7dee7e7 3894
e07b9a6d
MR
38952011-10-21 Martin Rudalics <rudalics@gmx.at>
3896
3897 * mouse.el (mouse-drag-window-above)
3898 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3899 (mouse-drag-mode-line-1, mouse-drag-header-line)
3900 (mouse-drag-vertical-line-rightward-window): Remove.
3901 (mouse-drag-line): New function.
3902 (mouse-drag-mode-line, mouse-drag-header-line)
3903 (mouse-drag-vertical-line): Call mouse-drag-line.
3904 * window.el (window-at-side-p, windows-at-side): New functions.
3905
7e1361d9
UM
39062011-10-21 Ulrich Mueller <ulm@gentoo.org>
3907
3908 * tar-mode.el (tar-grind-file-mode):
3909 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3910
30fcaf3a
CY
39112011-10-21 Chong Yidong <cyd@gnu.org>
3912
3913 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3914 * progmodes/vera-mode.el (vera-mode):
3915 Use mode-require-final-newline.
30fcaf3a 3916
516eddb0
GM
39172011-10-20 Glenn Morris <rgm@gnu.org>
3918
db22a3c2 3919 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3920
10d5f513
CS
39212011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3922
3923 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3924
ac6c8639
CY
39252011-10-20 Chong Yidong <cyd@gnu.org>
3926
3927 * emulation/cua-base.el (cua-mode):
3928 * mail/footnote.el (footnote-mode):
3929 * mail/mailabbrev.el (mail-abbrevs-mode):
3930 * net/xesam.el (xesam-minor-mode):
3931 * progmodes/bug-reference.el (bug-reference-mode):
3932 * progmodes/cap-words.el (capitalized-words-mode):
3933 * progmodes/compile.el (compilation-minor-mode)
3934 (compilation-shell-minor-mode):
3935 * progmodes/gud.el (gud-tooltip-mode):
3936 * progmodes/hideif.el (hide-ifdef-mode):
3937 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3938 * progmodes/subword.el (subword-mode):
3939 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3940 * progmodes/which-func.el (which-function-mode):
3941 * term/tvi970.el (tvi970-set-keypad-mode):
3942 * term/vt100.el (vt100-wide-mode):
3943 * textmodes/flyspell.el (flyspell-mode):
3944 * textmodes/ispell.el (ispell-minor-mode):
3945 * textmodes/nroff-mode.el (nroff-electric-mode):
3946 * textmodes/paragraphs.el (use-hard-newlines):
3947 * textmodes/refill.el (refill-mode):
3948 * textmodes/reftex.el (reftex-mode):
3949 * textmodes/rst.el (rst-minor-mode):
3950 * textmodes/sgml-mode.el (html-autoview-mode)
3951 (sgml-electric-tag-pair-mode):
3952 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3953 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3954 * emulation/crisp.el (crisp-mode):
3955 * emacs-lisp/eldoc.el (eldoc-mode):
3956 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3957 minor mode behavior.
3958
aa42ab43
JL
39592011-10-19 Juri Linkov <juri@jurta.org>
3960
3961 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3962 the list of hard-coded chars with escape-glyph face.
3963
89400f1d
SM
39642011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3967
305c07f6
MA
39682011-10-19 Michael Albinus <michael.albinus@gmx.de>
3969
3970 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3971 running process.
3972
13754b54
GM
39732011-10-19 Glenn Morris <rgm@gnu.org>
3974
3975 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3976 Ignore ignored files. (Bug#9726)
3977
06e21633
CY
39782011-10-19 Chong Yidong <cyd@gnu.org>
3979
3980 Doc fix for minor modes, stating that an omitted argument enables
3981 the mode unconditionally when called from Lisp.
3982
3983 * abbrev.el (abbrev-mode):
3984 * allout.el (allout-mode):
3985 * autoinsert.el (auto-insert-mode):
3986 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3987 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3988 (global-auto-revert-mode):
3989 * battery.el (display-battery-mode):
3990 * composite.el (global-auto-composition-mode)
3991 (auto-composition-mode):
3992 * delsel.el (delete-selection-mode):
3993 * desktop.el (desktop-save-mode):
3994 * dired-x.el (dired-omit-mode):
3995 * dirtrack.el (dirtrack-mode):
3996 * doc-view.el (doc-view-minor-mode):
3997 * double.el (double-mode):
3998 * electric.el (electric-indent-mode, electric-pair-mode):
3999 * emacs-lock.el (emacs-lock-mode):
4000 * epa-hook.el (auto-encryption-mode):
4001 * follow.el (follow-mode):
4002 * font-core.el (font-lock-mode):
4003 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4004 * help.el (temp-buffer-resize-mode):
4005 * hilit-chg.el (highlight-changes-mode)
4006 (highlight-changes-visible-mode):
4007 * hi-lock.el (hi-lock-mode):
4008 * hl-line.el (hl-line-mode, global-hl-line-mode):
4009 * icomplete.el (icomplete-mode):
4010 * ido.el (ido-everywhere):
4011 * image-file.el (auto-image-file-mode):
4012 * image-mode.el (image-minor-mode):
4013 * iswitchb.el (iswitchb-mode):
4014 * jka-cmpr-hook.el (auto-compression-mode):
4015 * linum.el (linum-mode):
4016 * longlines.el (longlines-mode):
4017 * master.el (master-mode):
4018 * mb-depth.el (minibuffer-depth-indicate-mode):
4019 * menu-bar.el (menu-bar-mode):
4020 * minibuf-eldef.el (minibuffer-electric-default-mode):
4021 * mouse-sel.el (mouse-sel-mode):
4022 * msb.el (msb-mode):
4023 * mwheel.el (mouse-wheel-mode):
4024 * outline.el (outline-minor-mode):
4025 * paren.el (show-paren-mode):
4026 * recentf.el (recentf-mode):
4027 * reveal.el (reveal-mode, global-reveal-mode):
4028 * rfn-eshadow.el (file-name-shadow-mode):
4029 * ruler-mode.el (ruler-mode):
4030 * savehist.el (savehist-mode):
4031 * scroll-all.el (scroll-all-mode):
4032 * scroll-bar.el (scroll-bar-mode):
4033 * server.el (server-mode):
4034 * shell.el (shell-dirtrack-mode):
4035 * simple.el (auto-fill-mode, transient-mark-mode)
4036 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4037 (line-number-mode, column-number-mode, size-indication-mode)
4038 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4039 * strokes.el (strokes-mode):
4040 * time.el (display-time-mode):
4041 * t-mouse.el (gpm-mouse-mode):
4042 * tool-bar.el (tool-bar-mode):
4043 * tooltip.el (tooltip-mode):
4044 * type-break.el (type-break-mode-line-message-mode)
4045 (type-break-query-mode):
4046 * view.el (view-mode):
4047 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4048 (global-whitespace-mode, global-whitespace-newline-mode):
4049 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4050
a3839de2
SM
4051 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4052 Fix autogenerated docstring.
06e21633 4053
5214e501
JL
40542011-10-19 Juri Linkov <juri@jurta.org>
4055
4056 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4057 by checking environment variables "DESKTOP_SESSION" and
4058 "XDG_CURRENT_DESKTOP". (Bug#9779)
4059
195f8db9
JL
40602011-10-19 Juri Linkov <juri@jurta.org>
4061
4062 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4063 (browse-url-chromium-program, browse-url-chromium-arguments):
4064 New defcustoms.
4065 (browse-url-default-browser): Check for `browse-url-chromium' and
4066 call `browse-url-chromium-program'.
4067 (browse-url-chromium): New command. (Bug#9779)
4068
343a34ff
JB
40692011-10-18 Juanma Barranquero <lekktu@gmail.com>
4070
4071 * facemenu.el (list-colors-duplicates): On Windows, detect more
4072 duplicates by assuming that only colors matching "^System" are
4073 special "system colors". (Bug#9722)
4074
6978a151
SM
40752011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4078 to distinguish the author from the committer.
4079
6a80b297
MA
40802011-10-18 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4083
b31a5677
JK
40842011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4085
4086 * international/mule.el (sgml-html-meta-auto-coding-function):
4087 Add support for detecting encoding in HTML5 specified only as
4088 <meta charset="UTF-8">. Implementation just makes http-equiv and
4089 content-type parts from HTML4 encoding string optional. (Bug#9716)
4090
80c6d77f
GM
40912011-10-18 Glenn Morris <rgm@gnu.org>
4092
4093 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4094
08b0fee8
CY
40952011-10-18 Chong Yidong <cyd@gnu.org>
4096
4097 * faces.el (cursor): Doc fix.
4098
67e729a5
CY
40992011-10-17 Chong Yidong <cyd@gnu.org>
4100
4101 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4102
343a34ff 41032011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4104
4105 * dirtrack.el (dirtrack): Support shell buffers with path
4106 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4107
0bc06380
TZ
41082011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4109
4110 * json.el: Bump version to 1.3 and note change in History.
4111 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4112
8b79f3e0
SM
41132011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4114
5a7c536b
SM
4115 * comint.el (comint-insert-input, comint-send-input)
4116 (comint-get-old-input-default, comint-backward-matching-input)
4117 (comint-next-prompt): Use nil instead of `input' for field property of
4118 past user input (bug#114).
4119
96a8a0df
SM
4120 * minibuffer.el (completion--replace): Inherit surrounding properties
4121 (bug#114).
4122 (minibuffer-complete-and-exit): Use it.
4123
8b79f3e0
SM
4124 * comint.el (comint--table-subvert): Quote the all-completions output
4125 (bug#9160).
4126
b8f7ff0d
MR
41272011-10-17 Martin Rudalics <rudalics@gmx.at>
4128
8b79f3e0 4129 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4130
b8f7ff0d 4131 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4132 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4133 entries and separate them from frame entries.
4134
c235b555
GM
41352011-10-15 Glenn Morris <rgm@gnu.org>
4136
4137 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4138 Doc fixes.
4139
6bbfa6e1
CY
41402011-10-15 Chong Yidong <cyd@stupidchicken.com>
4141
8b79f3e0
SM
4142 * net/network-stream.el (network-stream-open-starttls):
4143 Improve detection of failure due to lack of TLS support.
ec5c990d 4144
6bbfa6e1
CY
4145 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4146 putting the input text in front and in bold.
4147
98488977
SM
41482011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4149
3d1337be
SM
4150 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4151
ee0b45e4
SM
4152 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4153 empty buffer.
4154
98488977
SM
4155 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4156 unread-command-events rather than pushing yet-another event.
4157
186f4720
EZ
41582011-10-14 Eli Zaretskii <eliz@gnu.org>
4159
4160 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4161 the explanation of the possible choices. Make the options passed
4162 to completing-read shorter.
4163
8b7a997c
AM
41642011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4165
4166 * textmodes/flyspell.el (flyspell-large-region): Make sure
4167 extended character mode is used if defined (Bug#1339).
4168
12587bbb
EZ
41692011-10-13 Eli Zaretskii <eliz@gnu.org>
4170
4171 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4172 character info for LRE, LRO, RLE, and RLO characters by appending
4173 an invisible PDF.
12587bbb 4174
bad41229
SM
41752011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4178 even in case of error; add debug spec; simplify data flow.
4179 (with-timeout-handler): Remove.
4180
28dbc92f
MA
41812011-10-12 Michael Albinus <michael.albinus@gmx.de>
4182
4183 Fix Bug#6019, Bug#9315.
4184
4185 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4186 complete `buffer-file-name', the local file name part could look
4187 remotely (for example on VMS).
4188
4189 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4190 `tramp-run-real-handler'.
4191 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4192 already quoted by '"'.
4193
4194 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4195 Let `file-name-handler-alist' be nil, the local file name part
4196 could look remotely (for example on VMS).
4197
e1b0b23a
SM
41982011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4201 from here...
4202 (flyspell-post-command-hook): ...to here.
4203
a120bde9
SM
42042011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4207 if not needed.
4208 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4209 using completion. Protect against "slow" callers.
4210 Remove the "message hack".
4211
7ce7717b
JL
42122011-10-11 Juri Linkov <juri@jurta.org>
4213
4214 * isearch.el (isearch-lazy-highlight-word): New variable.
4215 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4216 Use it. (Bug#9727)
4217
c02ee9d6
GM
42182011-10-11 Glenn Morris <rgm@gnu.org>
4219
4220 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4221 like f90-previous-statement does.
4222
93e616fd 42232011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4224
1f190e73 4225 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4226 only in interactive use, to avoid error.
4227
af7b6078
SM
42282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * minibuffer.el (completion-file-name-table): Fix last change,
4231 i.e. ignore normal errors but not the other ones.
4232
0563dae9
MR
42332011-10-10 Martin Rudalics <rudalics@gmx.at>
4234
4235 * window.el (special-display-buffer-names)
4236 (special-display-regexps): Remove some remnants of earlier
4237 changes from doc-strings.
366ca7f3
MR
4238 (quit-windows-on): New function.
4239
4240 * vc/vc.el (vc-revert, vc-rollback):
4241 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4242 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4243 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4244
49677495
MR
42452011-10-09 Martin Rudalics <rudalics@gmx.at>
4246
4247 * window.el (frame-auto-hide-function): Add version tag.
4248 (Bug#9699)
4249
56f2d1e1
MA
42502011-10-09 Michael Albinus <michael.albinus@gmx.de>
4251
4252 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4253 condition.
4254
112a6592
LL
42552011-10-09 Leo Liu <sdl.web@gmail.com>
4256
4257 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4258 (Bug#9701)
4259
0812589b
GM
42602011-10-08 Glenn Morris <rgm@gnu.org>
4261
4262 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4263 before the first code statement zero indent. (Bug#9690)
4264
b2b0776e
CY
42652011-10-08 Chong Yidong <cyd@stupidchicken.com>
4266
4267 * simple.el (count-words-region): Always count in the region.
4268 Report the number of lines and characters too.
4269 (count-words): New command, which counts in the buffer if the
4270 region is inactive, as count-words-region used to.
4271 (count-words--message): New function. Handle plurals.
4272 (count-lines-region): Make it an alias for count-words-region.
4273
4274 * bindings.el (esc-map): Replace count-lines-region with
4275 count-words-region.
4276
c557cd6b
MR
42772011-10-08 Martin Rudalics <rudalics@gmx.at>
4278
4279 * window.el (window--delete): Delete dedicated frame
4280 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4281 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4282
61a57ef4 42832011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4284
3a7d293b 4285 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4286
c3833279
CY
42872011-10-07 Chong Yidong <cyd@stupidchicken.com>
4288
4289 * bindings.el ([M-left],[M-right]): Bind to left-word and
4290 right-word respectively.
4291
21ce8245
GM
42922011-10-07 Glenn Morris <rgm@gnu.org>
4293
4294 * cus-start.el (debug-on-quit): Fix custom type.
4295
6d823bb2
LMI
42962011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4297
0181e193
LMI
4298 * subr.el (define-key-after): Clarify that the function is not
4299 useful for non-menu keymaps.
4300
6d823bb2
LMI
4301 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4302
8e3459ce 43032011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4304
21ce8245 4305 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4306 in current minibuffer (Fix bug with recursive minibuffers).
4307
a1c2d21e
CY
43082011-10-06 Chong Yidong <cyd@stupidchicken.com>
4309
4310 * progmodes/gdb-mi.el (gdb): Doc fix.
4311
5a4cf282
MR
43122011-10-05 Martin Rudalics <rudalics@gmx.at>
4313
4314 * window.el (frame-auto-hide-function): New option replacing
4315 frame-auto-delete. Suggested by Stefan Monnier.
4316 (window--delete): Call frame-auto-hide-function instead of
4317 investigating frame-auto-delete.
c96111ea
MR
4318 (window-point-1, set-window-point-1): New functions.
4319 (window-in-direction, record-window-buffer, window-state-get-1)
4320 (display-buffer-record-window): Use window-point-1 instead of
4321 window-point.
4322 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4323
9854542e
SM
43242011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4327
8943cfb0
GM
43282011-10-05 Glenn Morris <rgm@gnu.org>
4329
4330 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4331 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4332
647ab967
LL
43332011-10-05 Leo Liu <sdl.web@gmail.com>
4334
4335 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4336 works with buffer object.
4337
3ddfbced
SM
43382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * mpc.el (mpc-tool-bar-map): Add labels.
4341
bdfa5dd2
GM
43422011-10-04 Glenn Morris <rgm@gnu.org>
4343
4344 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4345
0e2070b5
MR
43462011-10-04 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (window--delete): New function.
4349 (frame-auto-delete): Resuscitate option.
4350 (bury-buffer, replace-buffer-in-windows)
4351 (quit-window): Rewrite using window--delete.
4352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4353 Pass display-buffer-mark-dedicated to window--display-buffer-2
4354 (Bug#9639).
4355
3dc61a09
SM
43562011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4357
915a9b64
SM
4358 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4359 returns a list (bug#9554). Add remote file name completion.
4360 * comint.el (comint--table-subvert): Curry and get quote&unquote
4361 functions as arguments.
4362 (comint--complete-file-name-data): Adjust call accordingly.
4363 * pcomplete.el (pcomplete--table-subvert): Remove.
4364 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4365
3dc61a09
SM
4366 * minibuffer.el (completion-table-case-fold): Use currying.
4367 (completion--styles-type, completion--cycling-threshold-type):
4368 New constants.
4369 (completion-styles, completion-category-overrides)
4370 (completion-cycle-threshold): Use them.
4371 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4372 completion-table-case-fold.
4373
8ea0a993
SB
43742011-10-03 Stephen Berman <stephen.berman@gmx.net>
4375
4376 * minibuffer.el (completion-category-overrides): Fix type of styles
4377 and add more user friendly tags (bug#9660).
4378
8c24b7f6
SM
43792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4382 (mule-input-method-string): New widget.
4383 (default-input-method, language-info-custom-alist): Use it.
4384
428fe61a
SM
43852011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4386
32c1fffd
SM
4387 * pcomplete.el: Require comint.
4388 (pcomplete--common-suffix): Remove.
4389 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4390 (pcomplete--table-subvert): Sync with comint--table-subvert.
4391 (pcomplete--entries): Use comint-completion-file-name-table.
4392 * comint.el (comint-unquote-filename): Simplify.
4393 (comint-completion-file-name-table): New function (bug#9616).
4394 (comint--complete-file-name-data): Use it.
4395
428fe61a
SM
4396 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4397 (pcmpl-gnu-tar-buffer): Remove.
4398 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4399 around. Make sure pcomplete-suffix-list is only changed temporarily.
4400 Don't look inside the tar's file if it's too large.
428fe61a 4401
04c52e2f
CY
44022011-10-01 Chong Yidong <cyd@stupidchicken.com>
4403
ce3cefcc
CY
4404 * cus-edit.el (custom-mode-map):
4405 * epa.el (epa-key-list-mode-map):
4406 * man.el (Man-mode-map):
4407 * startup.el (splash-screen-keymap):
4408 * simple.el (special-mode-map): Use scroll-up-command and
4409 scroll-down-command.
4410
4411 * progmodes/idlw-help.el (idlwave-help-mode-map):
4412 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4413 * net/newst-plainview.el (newsticker-mode-map):
4414 * emulation/ws-mode.el (wordstar-mode-map):
4415 * emulation/vi.el (vi-com-map):
4416 * calc/calc-graph.el (calc-graph-show-dumb):
4417 * term/sun.el (terminal-init-sun):
4418 * term/ns-win.el (global-map):
4419 * progmodes/grep.el (grep-mode-map):
4420 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4421 * mail/rmail.el (rmail-mode-map):
4422 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4423
04c52e2f
CY
4424 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4425 custom-safe-themes as special.
4426
79adf8c8
JD
44272011-10-01 Julien Danjou <julien@danjou.info>
4428
4429 * notifications.el (notifications-notify): Fix docstring.
4430
63bd50d3
PS
44312011-10-01 Per Starbäck <per@starback.se>
4432
4433 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4434
199e4c7e
MR
44352011-09-30 Martin Rudalics <rudalics@gmx.at>
4436
4437 * startup.el (command-line-1): Fix last fix by inserting
4438 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4439 (Bug#9605) and (Bug#9636)
199e4c7e 4440
fe5f08dd
EZ
44412011-09-29 Eli Zaretskii <eliz@gnu.org>
4442
4443 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4444 window is hscrolled, move by logical lines. (Bug#9607)
4445 (line-move-visual): Update the doc string to the above effect.
4446
b5516bbd
MR
44472011-09-29 Martin Rudalics <rudalics@gmx.at>
4448
ccee00c0
MR
4449 * window.el (display-buffer-record-window): When WINDOW is the
4450 selected window use `point' instead of `window-point'. (Bug#9626)
4451
b5516bbd
MR
4452 * startup.el (command-line-1): Use insert-before-markers when
4453 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4454
b5516bbd
MR
4455 * help.el (help-window): Remove variable.
4456
52aa0014
GM
44572011-09-29 Glenn Morris <rgm@gnu.org>
4458
4459 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4460
df9a7357
JB
44612011-09-29 Juanma Barranquero <lekktu@gmail.com>
4462
4463 * descr-text.el (describe-char-categories): Accept category
4464 descriptions more than one line long.
4465
a8406c20
SM
44662011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4467
88d9610c
SM
4468 * simple.el (delete-trailing-whitespace): Fix last change.
4469
a5daf810
SM
4470 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4471 Don't confuse "y => 3" as the beginning of a `y' operation.
4472
a8406c20
SM
4473 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4474 object has more than 4 slots (bug#9613).
4475
a239d4e9
JB
44762011-09-28 Juanma Barranquero <lekktu@gmail.com>
4477
4478 * subr.el (with-output-to-temp-buffer):
4479 * net/quickurl.el (quickurl, quickurl-browse-url):
4480 Fix typos in docstrings.
4481
693fbdb6
EZ
44822011-09-27 Eli Zaretskii <eliz@gnu.org>
4483
4484 * minibuffer.el (completion-styles)
4485 (completion-category-overrides): Cross reference each other in doc
4486 strings.
4487
8b457e28
GM
44882011-09-27 Glenn Morris <rgm@gnu.org>
4489
4490 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4491 to split-string. (Bug#9606)
4492
85a16208
LMI
44932011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494
4495 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4496 (bug#9615).
4497
502f9ebd
CY
44982011-09-27 Chong Yidong <cyd@stupidchicken.com>
4499
4500 * emacs-lisp/package.el (list-packages): Fix echo area message.
4501
7690bdea
LL
45022011-09-27 Leo Liu <sdl.web@gmail.com>
4503
4504 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4505
e2ee6f30
MA
45062011-09-25 Michael Albinus <michael.albinus@gmx.de>
4507
4508 * net/dbus.el (dbus-unregister-object): Don't release services for
4509 registered signals. (Bug#9581)
4510
f3f98342
TZ
45112011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4512
4513 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4514 function that picks between cfengine 2 and 3 support
4515 automatically. Update docs accordingly.
4516
dd7aa8dd
KH
45172011-09-22 Kenichi Handa <handa@m17n.org>
4518
4519 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4520 ZERO.
4521 (indian-itrans-v5-table-for-tamil): New variable.
4522 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4523
3f2b07f8
KM
45242011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4525
4526 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4527 that's true if the current command involved collapsing of text.
4528 It's reset to false at the beginning of the next command.
4529 (allout-post-command-business): Move the cursor to the beginning
4530 of entry if the cursor is hidden and collapsing activity just
4531 happened.
4532
371d6a61
CY
45332011-09-24 Chong Yidong <cyd@stupidchicken.com>
4534
4535 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4536 tracking (Bug#9541).
4537
2ac2721a
UJ
45382011-09-24 Ulf Jasper <ulf.jasper@web.de>
4539
4540 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4541 (newsticker-show-news): Automatically load html rendering package
4542 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4543 because w3m-fill-column is let-bound" and the error "Symbol's value
4544 as variable is void: w3m-fill-column".
2ac2721a 4545
fac7ae53
MA
45462011-09-24 Michael Albinus <michael.albinus@gmx.de>
4547
4548 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4549 Release services only if they are defined. (Bug#9581)
4550
e08b633b
RS
45512011-09-23 Richard Stallman <rms@gnu.org>
4552
e488d29c
RS
4553 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4554 distinguish start of paragraph from start of its text.
4555
19c38752
RS
4556 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4557
e08b633b
RS
4558 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4559 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4560 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4561
0a39f27e
AS
45622011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4563
4564 * international/mule-diag.el (mule-diag): Insert a newline after
4565 each fontset description.
4566
db4e950d
SM
45672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * simple.el (delete-trailing-whitespace):
4570 Document last change; simplify.
4571
eca3f3ea
PW
45722011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4573
d68e189a
PW
4574 * simple.el (delete-trailing-whitespace): Also delete
4575 extra newlines at the end of the buffer.
4576
eca3f3ea
PW
4577 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4578 (picture-newline): Use forward-line so as to ignore fields.
4579
01c157cc
SM
45802011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * subr.el (with-wrapper-hook): Fix edebug spec.
4583
022de23e
LMI
45842011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585
4586 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4587 (bug#4538).
4588
91683089
MA
45892011-09-23 Michael Albinus <michael.albinus@gmx.de>
4590
eca3f3ea
PW
4591 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4592 Fix nasty bug using wrong cached values.
91683089 4593
5bdd6fa4
AM
45942011-09-23 Alan Mackenzie <acm@muc.de>
4595
4596 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4597
97adfb97
CY
45982011-09-23 Chong Yidong <cyd@stupidchicken.com>
4599
4600 * window.el (pop-to-buffer): Ensure right window is selected if we
4601 chose another frame.
4602
d4ef2b50
EZ
46032011-09-22 Eli Zaretskii <eliz@gnu.org>
4604
4605 * simple.el (what-cursor-position): Use get-char-property-change
4606 and next-single-char-property-change, to be able to show display
4607 properties that come from overlays as well as text properties.
4608
72258fe5
CY
46092011-09-22 Chong Yidong <cyd@stupidchicken.com>
4610
4611 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4612
4613 * cmuscheme.el (run-scheme, switch-to-scheme):
4614 * cus-edit.el (customize-group, custom-buffer-create)
4615 (customize-browse):
4616 * info.el (info):
4617 * shell.el (shell):
4618 * mail/sendmail.el (mail):
4619 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4620
8f098516
RS
46212011-09-22 Richard Stallman <rms@gnu.org>
4622
4623 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4624 move back only to line beg, don't move back over blank lines.
4625
e74f1bb6
MA
46262011-09-22 Michael Albinus <michael.albinus@gmx.de>
4627
4628 * files.el (copy-directory): Set directory attributes only in case
4629 they could be retrieved from the source directory. (Bug#9565)
4630
bfeef8b6
DK
46312011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4632
4633 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4634 (hs-find-block-beginning, hs-hide-level-recursive):
4635 Ignore strings as well as comments. (Bug#9502)
4636
7e423bb8
AS
46372011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4638
4639 * progmodes/sql.el (sql-comint-postgres):
4640 Convert port number to a string. (Bug#9566)
4641
b4d72fcf
MR
46422011-09-22 Martin Rudalics <rudalics@gmx.at>
4643
4644 * window.el (quit-window): Undedicate window when switching to
4645 previous buffer. Reported by Thierry Volpiatto
4646 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4647 (special-display-popup-frame): When popping up a new frame reset
4648 its previous buffers to nil. Simplify code.
b4d72fcf 4649
a7b88dc6
MA
46502011-09-21 Michael Albinus <michael.albinus@gmx.de>
4651
4652 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4653 and process filter, as done also in `shell-command'.
4654
cf4eacfd
MR
46552011-09-21 Martin Rudalics <rudalics@gmx.at>
4656
eca3f3ea 4657 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4658 Call set-window-start with NOFORCE argument t.
4659 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4660 (quit-window): Reword doc-string. Handle new format of
4661 quit-restore parameter. Don't delete window if it has a
4662 previous buffer we can show instead of the present one.
4663 (display-buffer-record-window): Rewrite using a new format for
4664 the quit-restore window parameter
4665 (special-display-popup-frame, display-buffer-same-window)
4666 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4667 (display-buffer-pop-up-window, display-buffer-use-some-window):
4668 Adapt symbol passed to display-buffer-record-window.
4669 * help.el (help-window-setup): Handle new format of quit-restore
4670 parameter.
4671
8d28cb95
SM
46722011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4673
94ab793f
SM
4674 * faces.el (face-list): Fix docstring (bug#9564).
4675
8d28cb95
SM
4676 * window.el (display-buffer--action-function-custom-type):
4677 Don't include internal functions in the Custom interface.
4678
3820edeb
JL
46792011-09-20 Juri Linkov <juri@jurta.org>
4680
4681 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4682 (Info-forward-node, Info-backward-node, Info-next-preorder)
4683 (Info-last-preorder): Use it. (Bug#9528)
4684
5147931d
JL
46852011-09-20 Juri Linkov <juri@jurta.org>
4686
4687 * info.el (Info-last-preorder): Visit last menu item only when
4688 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4689
cf499a1a
JD
46902011-09-20 Julien Danjou <julien@danjou.info>
4691
4692 * password-cache.el (password-cache-remove): Remove entries even if the
4693 value is nil, so that password with a nil value (negative caching) is
4694 possible to invalidate.
4695
f84e2fe2
LM
46962011-09-20 Lawrence Mitchell <wence@gmx.li>
4697
4698 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4699 all whitespace around breakpoint. (Bug#9553)
4700 (f90-find-breakpoint): Only break at whitespace inside a comment.
4701
78054a46
SM
47022011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * minibuffer.el (completion-file-name-table): Keep track of errors.
4705 (completion-table-with-predicate): Handle the case where pred1 is nil.
4706 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4707
345083b2
SM
47082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4709
e24e27be
SM
4710 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4711 (debugger-return-value): Signal an error if the debugging context does
4712 not await any return value.
4713
345083b2
SM
4714 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4715 * image-mode.el (image-toggle-display-text)
4716 (image-toggle-display-image): Stay away from evil `intangible'.
4717
08d355e3
LL
47182011-09-19 Leo Liu <sdl.web@gmail.com>
4719
4720 * replace.el (occur-revert-arguments): Make it permanent-local.
4721 (occur-mode): Don't call font-lock-defontify.
4722
f01da43f
CY
47232011-09-19 Chong Yidong <cyd@stupidchicken.com>
4724
4725 * net/ldap.el (ldap-search-internal): Don't push empty search
4726 result (Bug#9508).
4727
b6072fa6
SM
47282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4731
443d6696
MA
47322011-09-19 Michael Albinus <michael.albinus@gmx.de>
4733
4734 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4735 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4736
7cc6e154
JL
47372011-09-18 Juri Linkov <juri@jurta.org>
4738
4739 * buff-menu.el (Buffer-menu-mode-map):
4740 * dired.el (dired-mode-map):
4741 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4742 (lisp-interaction-mode-map):
4743 * emacs-lisp/package.el (package-menu-mode-map):
4744 * epa.el (epa-key-list-mode-map):
4745 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4746 (menu-bar-options-menu):
4747 * outline.el (outline-mode-menu-bar-map):
4748 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4749 * vc/vc-dir.el (vc-dir-menu-map):
4750 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4751 Capitalize non-function content words in menu item strings.
4752
4753 * dired.el (dired-mode-map): Add menu item for
4754 `image-dired-dired-toggle-marked-thumbs'.
4755
80302a81
JL
47562011-09-18 Juri Linkov <juri@jurta.org>
4757
4758 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4759 to `isearch-case-fold-search' and restore its original value
4760 after the `isearch-mode' call.
4761
46c5cf66
JL
47622011-09-18 Juri Linkov <juri@jurta.org>
4763
4764 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4765 because `zgrep' returns 1 for successful matches (bug#9226).
4766
d18b513b
JL
47672011-09-18 Juri Linkov <juri@jurta.org>
4768
4769 * info.el (Info-extract-menu-node-name): Check the second match
4770 for empty string (second test-case of bug#9528).
4771 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4772 intermediate nodes to the history (first test-case of bug#9528).
4773
72753f87
JL
47742011-09-18 Juri Linkov <juri@jurta.org>
4775
4776 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4777 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4778
c9384295
JL
47792011-09-18 Juri Linkov <juri@jurta.org>
4780
1154d12e
JB
4781 * info.el (Info-file-supports-index-cookies):
4782 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4783 outputs one more line for long file names (bug#4142).
c9384295 4784
d473dce8
CY
47852011-09-18 Chong Yidong <cyd@stupidchicken.com>
4786
4787 * newcomment.el (comment-normalize-vars): If prompting for
4788 comment-start, set comment-start-skip too (Bug#8424).
4789
2176854d
JB
47902011-09-18 Johan Bockgård <bojohan@gnu.org>
4791
4792 * icomplete.el: Fix previous fix of Bug#5849.
4793 (icomplete-mode): Don't set completion-show-inline-help.
4794 (icomplete-minibuffer-setup): Set completion-show-inline-help
4795 locally during icompletion.
4796
3aace4e4
CY
47972011-09-18 Chong Yidong <cyd@stupidchicken.com>
4798
c940224f
CY
4799 * woman.el (woman2-process-escapes): Don't delete unrecognized
4800 escapes (Bug#7843).
4801
3aace4e4
CY
4802 * files.el (inhibit-first-line-modes-regexps): Add image files.
4803 (hack-local-variables-prop-line): Return nil for malformed
4804 prop-lines (Bug#9044).
4805
710dec63
MA
48062011-09-18 Michael Albinus <michael.albinus@gmx.de>
4807
4808 * net/tramp.el (top): Don't require 'shell.
4809 (tramp-methods): Fix docstring.
4810 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4811 Return complete remote file name. Handle "smb" case.
4812 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4813 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4814
4815 * net/tramp-compat.el (top): Require 'shell.
4816
4817 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4818 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4819 `tramp-current-host'.
4820 (tramp-get-remote-tmpdir): Remove.
4821
4822 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4823 `tramp-tmpdir' entries.
4824 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4825 (tramp-smb-handle-file-attributes): Ignore errors.
4826 (tramp-smb-wait-for-output): Check also for process end.
4827
5d5ac8ec
LMI
48282011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4829
4830 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4831 when sending QUIT (bug#9312).
4832
8c0f49f0
CY
48332011-09-17 Chong Yidong <cyd@stupidchicken.com>
4834
4835 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4836 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4837 occur-mode-display-occurrence.
4838 (occur-edit-mode): Add usage message.
4839 (occur-cease-edit): New command.
4840 (occur-after-change-function): Use text properties to find the
4841 position of the prefix text.
4842 (occur-engine): Set stickiness of prefix text properties.
4843
8f1383f7
GM
48442011-09-17 Glenn Morris <rgm@gnu.org>
4845
4846 * progmodes/etags.el (complete-tag):
4847 Fix call to completion-in-region. (Bug#9526)
4848
744ba0e3
JL
48492011-09-17 Juri Linkov <juri@jurta.org>
4850
4851 * textmodes/ispell.el (ispell-word): Add to the error message
4852 the word, ispell program name and current dictionary (bug#9121).
4853 (ispell-tex-arg-end): Capitalize "error" in the error message.
4854
d9bbf400
AS
48552011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4856
4857 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4858 check. (Bug#4251)
4859
8da11505
JL
48602011-09-17 Juri Linkov <juri@jurta.org>
4861
4862 * window.el (window-safe-min-height, window-safe-min-width):
4863 Fix typos (followup to bug#9522).
4864
a91adc7e
SJ
48652011-09-17 Sven Joachim <svenjoac@gmx.de>
4866
4867 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4868
064f328a
EZ
48692011-09-16 Eli Zaretskii <eliz@gnu.org>
4870
4871 * simple.el (line-move): If goal-column is set, move by logical
4872 lines, not by display lines. (Bug#971)
4873 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4874 to reflect the above change.
4875
e69df516
SM
48762011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * image.el (imagemagick-register-types): Use regexp-opt.
4879
cbb0f9ab
CY
48802011-09-15 Chong Yidong <cyd@stupidchicken.com>
4881
4882 * window.el (display-buffer-base-action): Rename from
4883 display-buffer-default-action. Make default value empty.
4884 (display-buffer-overriding-action): Convert to defvar.
4885 (display-buffer-fallback-action): New var.
4886
25322144
CY
48872011-09-15 Chong Yidong <cyd@stupidchicken.com>
4888
4889 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4890 declaration.
4891 (package--add-to-archive-contents): If there is a duplicate entry
4892 with an older version, remove it.
4893 (package-menu-mark-delete, package-menu-mark-install)
4894 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4895 (package-menu-mark-obsolete-for-deletion):
4896 Use package-menu-get-status instead of a regexp search.
25322144
CY
4897 (package-menu-get-status): Use tabulated-list-entry.
4898 (package-menu-mark-upgrades): New command.
d770725a 4899 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4900 (package-menu-execute): Do installation before deletion.
4901 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4902 instead of checking major-mode.
4903 (package-menu--find-upgrades): New function.
4904
7520339c
LMI
49052011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4906
4907 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4908 passwords in the log buffer.
65a046c4
LMI
4909 (smtpmail-process-filter): Update the process marker so that the
4910 "broken by peer" status message is inserted in the right place.
7520339c 4911
d3c30954
SM
49122011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4913
3fe48822
SM
4914 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4915 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4916 bibtex-completion-at-point-function.
4917 (bibtex-completion-at-point-function): Use them.
4918
1b8b3954
SM
4919 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4920
d3c30954
SM
4921 * mpc.el (mpc-constraints-tag-lookup): New function.
4922 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4923 also to browser "album|playlist".
4924
72779976
JL
49252011-09-14 Juri Linkov <juri@jurta.org>
4926
4927 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4928 (isearch-edit-string): Use length of `isearch-string' when
4929 `isearch-fail-pos' returns nil.
4930 (isearch-message): Remove duplicate code and call
4931 `isearch-fail-pos' with arg `t'.
4932
a0bf2bcd
CY
49332011-09-14 Chong Yidong <cyd@stupidchicken.com>
4934
17bb0a2d
CY
4935 * replace.el (occur-mode-goto-occurrence): Don't force using other
4936 window (Bug#9499).
4937
a0bf2bcd
CY
4938 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4939
f678e0b6
MR
49402011-09-14 Martin Rudalics <rudalics@gmx.at>
4941
4942 * window.el (display-buffer-window): Remove.
4943 (display-buffer-record-window): Use help-setup window parameter
4944 instead of variable display-buffer-window.
4945 (display-buffer-function, special-display-buffer-names)
4946 (special-display-function): Mention help-setup parameter instead
4947 of display-buffer-window in doc-string.
d3c30954
SM
4948 * help.el (help-window-setup): New argument help-window.
4949 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4950 Reword some messages.
4951 (with-help-window): Pass window used for displaying the buffer
4952 to help-window-setup. Don't set display-buffer-window.
4953
8e39b2e8
GM
49542011-09-13 Glenn Morris <rgm@gnu.org>
4955
4956 * emacs-lisp/debug.el (debugger-make-xrefs):
4957 Preserve point. (Bug#9462)
4958
85e9c04b
CY
49592011-09-13 Chong Yidong <cyd@stupidchicken.com>
4960
4961 * window.el (window-deletable-p): Use next-frame.
4962
1b36ed6a
MR
49632011-09-13 Martin Rudalics <rudalics@gmx.at>
4964
4965 * window.el (window-auto-delete): Remove.
4966 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4967 dedication and previous buffers.
1b36ed6a
MR
4968 (switch-to-prev-buffer): Don't delete window.
4969 (delete-windows-on): Delete a window's frame if and only if the
4970 window is dedicated.
4971 (replace-buffer-in-windows): Delete buffer's window or frame if
4972 and only if window is dedicated.
4973 (quit-window): Handle quit-restore as before last change.
4d61f28d 4974 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4975
ef8ef9fb
CY
49762011-09-13 Chong Yidong <cyd@stupidchicken.com>
4977
4978 * window.el (window-deletable-p): Never delete the last frame on a
4979 given terminal.
4980
b2cba41e
GM
49812011-09-13 Glenn Morris <rgm@gnu.org>
4982
4983 * help.el (describe-key-briefly): Copy previous standard-output change.
4984
51553db6 49852011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4986
4987 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4988
b7556719
GM
49892011-09-13 Glenn Morris <rgm@gnu.org>
4990
4991 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4992 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4993
64b51947
CY
49942011-09-12 Chong Yidong <cyd@stupidchicken.com>
4995
4996 * dired-aux.el (dired-mark-read-string): Don't return default
4997 value on empty input (Bug#9361).
4998 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4999 Omit initial minibuffer contents.
5000 (dired-do-chmod): Signal an error on empty input.
5001 (dired-mark-read-string): Don't return default on empty input.
5002
5003 * files.el (file-modes-symbolic-to-number): Doc fix.
5004
393a301e
SM
50052011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * international/mule-cmds.el (ucs-completions): Remove.
5008 (read-char-by-name): Use complete-with-action instead; add metadata.
5009
fa5660f9
CY
50102011-09-11 Chong Yidong <cyd@stupidchicken.com>
5011
5012 * window.el (display-buffer--action-function-custom-type)
5013 (display-buffer--action-custom-type): New vars.
5014 (display-buffer-alist, display-buffer-default-action)
5015 (display-buffer-overriding-action): Add defcustom types.
5016
4a592f66
CY
5017 * frame.el (delete-other-frames): Doc fix (Bug#276).
5018
73d56dbd
LMI
50192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5020
5021 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5022
37ac18a3
CY
50232011-09-11 Chong Yidong <cyd@stupidchicken.com>
5024
5025 Change modes that used same-window-* vars to use switch-to-buffer.
5026
5027 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5028 Use switch-to-buffer.
5029
5030 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5031 (customize-browse, custom-buffer-create-other-window):
5032 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5033
5034 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5035 (Info-prev, Info-up, Info-speedbar-goto-node)
5036 (info-display-manual): Use switch-to-buffer.
5037 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5038
5039 * mail/sendmail.el (mail): Use switch-to-buffer.
5040 (mail-recover): Use switch-to-buffer-other-window.
5041
5042 * cmuscheme.el (run-scheme, switch-to-scheme):
5043 * ielm.el (ielm):
5044 * shell.el (shell):
5045 * net/rlogin.el (rlogin):
5046 * net/telnet.el (telnet, rsh):
5047 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5048
10195bd6
AS
50492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5050
5051 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5052
b322f63a
LMI
50532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5054
39d7fed6
LMI
5055 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5056 so don't mention it (bug#9301).
ba5a81f1 5057 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5058
ee0e9f11
LMI
5059 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5060 match `x', `w32' and `ns', like the manual says (bug#9029).
5061
0b1c89c1 5062 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5063 (process-kill-buffer-query-function): Mention the buffer name in
5064 the query.
0b1c89c1 5065
77549ea8
LMI
5066 * image-mode.el (image-next-line): The line parameter is mandatory
5067 (bug#9258).
5068
803ef892
LMI
5069 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5070 which can be useful (bug#9301).
5071
12980837
LMI
5072 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5073
91054f8f
LMI
5074 * subr.el (match-string): Mention that the current buffer should
5075 be the same as the search was done in (bug#9282).
5076
b322f63a
LMI
5077 * facemenu.el: Disable the remove-* commands if the mark isn't
5078 active (bug#9162).
5079
3199b96f
CY
50802011-09-10 Chong Yidong <cyd@stupidchicken.com>
5081
5082 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5083 of display-buffer.
5084 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5085
5086 * replace.el (occur-mode-goto-occurrence)
5087 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5088 and display-buffer.
5089
5090 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5091 display-buffer.
5092
5093 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5094 special-display and same-window variables.
5095 (mail-other-window): Use switch-to-buffer-other-window.
5096 (mail-other-frame): USe switch-to-buffer-other-frame.
5097
393a301e
SM
5098 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5099 Use display-buffer-other-frame.
3199b96f
CY
5100 (gdb-display-gdb-buffer): Use pop-to-buffer.
5101
5102 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5103
5104 * progmodes/python.el: Don't set same-window-buffer-names.
5105
5106 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5107
5108 * window.el (display-buffer-alist): Add *Python*.
5109
8319e0bf
CY
51102011-09-10 Chong Yidong <cyd@stupidchicken.com>
5111
5112 * window.el (display-buffer-alist): Add entry for buffers
5113 previously handled same-window-*.
5114 (display-buffer-alist, display-buffer-default-action)
5115 (display-buffer-overriding-action): Mark as risky.
5116 (display-buffer-alist): Document action function changes.
5117 (display-buffer--same-window-action)
5118 (display-buffer--other-frame-action): New variables.
5119 (switch-to-buffer, display-buffer-other-frame): Use them.
5120 (display-buffer): Rename reuse-frame entry to reusable-frames.
5121 (display-buffer-reuse-selected-window): Function deleted.
5122 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5123 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5124 (display-buffer-special): New function.
5125 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5126 display-buffer-reuse-or-pop-window. Split off special-display
5127 part into display-buffer-special.
5128 (display-buffer-use-some-window): Don't perform any special
5129 pop-up-frames handling.
5130 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5131 (display-buffer--maybe-same-window): Rename from
0d3ff375 5132 display-buffer-maybe-same-window.
8319e0bf 5133
919a69aa
CY
5134 * info.el: Don't set same-window-regexps.
5135 (info-setup): New function.
5136 (info-other-window, info): Call it.
5137
5138 * cus-edit.el: Don't set same-window-regexps.
5139 (customize-group): New argument.
5140 (customize-group-other-window): Use it.
5141 (customize-face, customize-face-other-window): Likewise.
5142 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5143
8319e0bf
CY
5144 * net/rlogin.el:
5145 * net/telnet.el:
5146 * progmodes/gud.el: Don't set same-window-regexps.
5147
5148 * cmuscheme.el:
5149 * ielm.el:
5150 * shell.el:
5151 * mail/sendmail.el:
5152 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5153
25173000
JL
51542011-09-10 Juri Linkov <juri@jurta.org>
5155
5156 * isearch.el (isearch-edit-string): Remove obsolete mention of
5157 `C-w' (`isearch-yank-word-or-char') from docstring.
5158 (isearch-query-replace): Fix typo in docstring (bug#9466).
5159
056e44ef
JL
51602011-09-10 Juri Linkov <juri@jurta.org>
5161
5162 * paren.el (show-paren-function): Don't show escaped parens.
5163 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5164
c3760c17
EZ
51652011-09-10 Eli Zaretskii <eliz@gnu.org>
5166
5167 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5168 (mm-default-file-encoding): Remove autoload forms, they are
5169 replaced with autoload cookies in mml.el and mm-encode.el.
5170 (mail-add-attachment): New command.
5171 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5172 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5173 the doc string.
5174 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5175
fece895e
RT
51762011-09-10 Reuben Thomas <rrt@sc3d.org>
5177
e69df516
SM
5178 * simple.el (count-words-region): Use buffer if there's no region
5179 (bug#9429).
fece895e 5180
5e68ce4a
JL
51812011-09-09 Juri Linkov <juri@jurta.org>
5182
5183 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5184 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5185 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5186
0a6b9622
AM
51872011-09-09 Alan Mackenzie <acm@muc.de>
5188
5189 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5190 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5191
14a29deb
EZ
51922011-09-09 Eli Zaretskii <eliz@gnu.org>
5193
5194 Fix for Savannah bug#9392.
5195 * simple.el (mail-encode-mml): New defvar.
5196
5197 * mail/rmail.el (mail-encode-mml): Add a defvar.
5198 (rmail-enable-mime-composing): Default to t.
5199 (rmail-forward): Use MIME method of forwarding only if both
5200 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5201 Set mail-encode-mml non-nil if the MIME method was used.
5202
5203 * mail/sendmail.el (mml-to-mime): Add autoload form.
5204 (mail-encode-mml): Add a defvar.
5205 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5206 to nil.
5207 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5208 message through mml-to-mime, and reset mail-encode-mml to nil.
5209
28c45130
GM
52102011-09-09 Glenn Morris <rgm@gnu.org>
5211
5212 * woman.el (woman-if-body): When processing an .el block,
5213 do not delete the next .el block as well. (Bug#9447)
69f4b618 5214 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5215
9b1c252e
MR
52162011-09-08 Martin Rudalics <rudalics@gmx.at>
5217
5218 * window.el (window-deletable-p): Make sure window is live before
5219 invoking window-prev-buffers.
5220
567457e3
LL
52212011-09-08 Leo Liu <sdl.web@gmail.com>
5222
5223 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5224
97f05794
JL
52252011-09-08 Juri Linkov <juri@jurta.org>
5226
5227 * progmodes/compile.el (compilation-environment): Make it
5228 a defcustom (bug#8340).
5229
8b0874b5
MR
52302011-09-08 Martin Rudalics <rudalics@gmx.at>
5231
5232 * window.el (frame-auto-delete): Rename to window-auto-delete.
5233 Make it control auto-deletion of windows and/or frames.
5234 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5235 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5236 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5237 Rewrite handling of case when window/frame can be deleted.
5238 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5239 argument t. (Bug#9456)
8b0874b5 5240
4feb6e73
CY
52412011-09-07 Chong Yidong <cyd@stupidchicken.com>
5242
5243 * help-mode.el (help-mode): Restore autoload.
5244
91ab9c13
JL
52452011-09-07 Juri Linkov <juri@jurta.org>
5246
5247 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5248 `compilation-environment'. Set buffer-local
5249 `compilation-environment' to `thisenv' later after (funcall mode).
5250 (Bug#8340)
5251
5252 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5253 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5254 instead of replacing its value. (Bug#8340)
5255
0527e251
JL
52562011-09-07 Juri Linkov <juri@jurta.org>
5257
5258 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5259 based on text properties put by `grep-filter' instead of matching
5260 escape sequences.
5261 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5262 to the value of `grep-error-screen-columns' (bug#9438).
5263
249f792c
JL
52642011-09-07 Juri Linkov <juri@jurta.org>
5265
5266 * simple.el (next-error-highlight, next-error-highlight-no-select):
5267 Doc fix (bug#9432).
5268
ff7271b9
OT
52692011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5270
5271 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5272 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5273
183fc730
LL
52742011-09-07 Leo Liu <sdl.web@gmail.com>
5275
5276 * net/rcirc.el (rcirc-mode): Conditionally initialize
5277 rcirc-input-ring.
5278
77694924
SM
52792011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * emacs-lisp/find-func.el (find-function-C-source): Only set
5282 find-function-C-source-directory after checking that we found a source
5283 file there (bug#9440).
5284
d809b8eb
AM
52852011-09-06 Alan Mackenzie <acm@muc.de>
5286
5287 * isearch.el (isearch-other-meta-char): Wherever a key list is
5288 unread, "unread" the prefix arg, too. This fixes bug #8901.
5289
453de99f
OG
52902011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5291
5292 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5293
90439906
JL
52942011-09-05 Juri Linkov <juri@jurta.org>
5295
5296 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5297
f62bd846
JL
52982011-09-05 Juri Linkov <juri@jurta.org>
5299
5300 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5301 keeping point where processing of grep matches begins, and
5302 continue to delete remaining escape sequences from the same point.
5303 (grep-filter): Make leading zero optional in "0?1;31m" because
5304 git-grep emits "\033[1;31m" escape sequences unlike expected
5305 "\033[01;31m" as GNU Grep does (bug#9408).
5306 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5307
045820ec
JL
53082011-09-05 Juri Linkov <juri@jurta.org>
5309
5310 * subr.el (y-or-n-p): Capitalize "yes".
5311
f5e29b9b
MA
53122011-09-04 Michael Albinus <michael.albinus@gmx.de>
5313
5314 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5315 `tramp-cache-unload-hook' where appropriate.
5316 (tramp-methods): Rename `tramp-remote-sh' to
5317 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5318 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5319
5320 * net/tramp-sh.el (top): Don't require 'shell.
5321 (tramp-methods): Add `tramp-remote-shell' and
5322 `tramp-remote-shell-args' entries.
5323 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5324 (tramp-sh-handle-shell-command): Remove.
5325 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5326 Use `tramp-remote-shell'.
5327
2784c434
CY
53282011-09-03 Chong Yidong <cyd@stupidchicken.com>
5329
393a301e 5330 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5331 (sendmail-query-once): Save directly to send-mail-function.
5332 Update message-send-mail-function too.
5333
5334 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5335
464cdf56
CS
53362011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5337
5338 * progmodes/python.el (python-mode-map): Use correct function to
5339 start python interpreter from menu-bar (as reported by Geert
5340 Kloosterman).
5341 (inferior-python-mode-map): Fix typo.
393a301e 5342 (python-shell-map): Remove.
464cdf56 5343
d37e5c87
DD
53442011-09-03 Deniz Dogan <deniz@dogan.se>
5345
5346 * net/rcirc.el (rcirc-print): Simplify code for
5347 rcirc-scroll-show-maximum-output. There is no need to walk
5348 through all windows to find the right one.
5349
f3ada0ee
CS
53502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5351
5352 * help.el (help-return-method): Doc fix.
5353
1f3c99ca
MR
53542011-09-03 Martin Rudalics <rudalics@gmx.at>
5355
5356 * window.el (window-deletable-p): Don't return a non-nil value
5357 when there's a buffer that was shown in the window before.
5358 (Bug#9419)
393a301e
SM
5359 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5360 Set window's previous buffers to nil.
1f3c99ca 5361
a3cf097f
EZ
53622011-09-03 Eli Zaretskii <eliz@gnu.org>
5363
5364 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5365 newline before and after the tag line, so it doesn't interfere
5366 with determining the paragraph direction of bidirectional text.
5367
3d03de90
LL
53682011-09-03 Leo Liu <sdl.web@gmail.com>
5369
5370 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5371
c3313451
CY
53722011-09-02 Chong Yidong <cyd@stupidchicken.com>
5373
393a301e 5374 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5375 (pop-to-buffer): Change interactive spec. Pass second argument
5376 directly to display-buffer.
5377 (display-buffer): Fix interactive spec. Use functionp to
5378 distinguish between a function and a list of functions.
5379
5380 * abbrev.el (edit-abbrevs):
5381 * arc-mode.el (archive-extract):
5382 * autoinsert.el (auto-insert):
5383 * bookmark.el (bookmark-bmenu-list):
5384 * files.el (find-file):
5385 * view.el (view-buffer):
5386 * progmodes/compile.el (compilation-goto-locus):
5387 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5388
89894cd8
CY
53892011-09-02 Chong Yidong <cyd@stupidchicken.com>
5390
5391 * window.el (display-buffer-alist): Doc fix.
5392 (display-buffer): Add docstring. Don't treat
5393 display-buffer-default specially.
5394 (display-buffer-reuse-selected-window)
5395 (display-buffer-same-window, display-buffer-maybe-same-window)
5396 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5397 (display-buffer-pop-up-window)
5398 (display-buffer-reuse-or-pop-window)
5399 (display-buffer-use-some-window): New functions.
5400 (display-buffer-default-action): Use them.
393a301e 5401 (display-buffer-default): Delete.
89894cd8
CY
5402 (pop-to-buffer-1): Fix choice of actions.
5403
ae0bc9fb
SM
54042011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * minibuffer.el (completion--insert-strings): Don't get confused by
5407 completion entries that end with an LF char.
5408
e9d90883
EZ
54092011-09-01 Eli Zaretskii <eliz@gnu.org>
5410
5411 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5412
437014c8
CY
54132011-09-01 Chong Yidong <cyd@stupidchicken.com>
5414
5415 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5416 (display-buffer-same-window, display-buffer-other-window):
5417 New functions.
437014c8
CY
5418 (pop-to-buffer-1): New function. Use the above.
5419 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5420 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5421
5422 * view.el (view-buffer-other-window, view-buffer-other-frame):
5423 Just use pop-to-buffer.
5424
a5e063d5
TV
54252011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5426
5427 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5428
793d32bb
WH
54292011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5430
5431 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5432
d65e4c15
RS
54332011-08-31 Richard Stallman <rms@gnu.org>
5434
5435 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5436 of the separation of rmail-view-buffer from rmail-buffer.
5437 If you say no to "replace original", the decrypt is in the
5438 view buffer. If you say yes, the decrypt goes into the
5439 rmail buffer also.
5440
f818cd2a
MR
54412011-08-31 Martin Rudalics <rudalics@gmx.at>
5442
5443 * window.el (display-buffer-window): Rewrite doc-string.
5444 (display-buffer-record-window): New function.
5445 (display-buffer-macro-specifiers)
5446 (display-buffer-even-window-sizes, display-buffer-set-height)
5447 (display-buffer-set-width, display-buffer-in-window)
5448 (display-buffer-reuse-window, display-buffer-split-specifiers)
5449 (display-buffer-side-specifiers, display-buffer-split-window-1)
5450 (display-buffer-split-window, display-buffer-split-atom-window)
5451 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5452 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5453 (display-buffer-other-window-means-other-frame)
5454 (display-buffer-normalize-special)
5455 (display-buffer-normalize-default)
5456 (display-buffer-normalize-argument)
5457 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5458 (display-buffer-normalize-specifiers, display-buffer-frame)
5459 (display-buffer-same-window, display-buffer-same-frame)
5460 (display-buffer-other-window)
5461 (display-buffer-same-frame-other-window)
5462 (display-buffer-other-frame, pop-to-buffer-same-window)
5463 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5464 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5465 (switch-to-buffer-same-frame)
5466 (switch-to-buffer-other-window-same-frame)
5467 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5468 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5469 (display-buffer-alist-set): Remove.
5470 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5471 (special-display-regexps, special-display-function):
5472 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5473 parameter.
5474 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5475 (special-display-frame-alist, special-display-popup-frame)
5476 (same-window-buffer-names, same-window-regexps, same-window-p)
5477 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5478 (split-window-preferred-function, split-height-threshold)
5479 (split-width-threshold, window-splittable-p)
5480 (split-window-sensibly, window--try-to-split-window)
5481 (window--frame-usable-p, even-window-heights)
5482 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5483 (window--display-buffer-2, display-buffer-other-frame):
5484 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5485 (display-buffer-default, display-buffer-assq-regexp): New functions.
5486 (display-buffer-alist): Rewrite doc-string.
5487 (display-buffer-default-action)
5488 (display-buffer-overriding-action): New variables.
5489 (display-buffer, switch-to-buffer): Rewrite.
5490 (pop-to-buffer): Restore Emacs 23 behavior but use
5491 window-normalize-buffer-to-display.
5492 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5493 Restore Emacs 23 behavior but use
5494 window-normalize-buffer-to-switch-to.
5495 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5496 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5497 Rewrite using Emacs 23 options.
f818cd2a 5498
5bc3b51d
MA
54992011-08-31 Michael Albinus <michael.albinus@gmx.de>
5500
5501 * net/tramp.el (tramp-root-regexp): Remove.
5502 (tramp-completion-file-name-regexp-unified)
5503 (tramp-completion-file-name-regexp-separate)
5504 (tramp-completion-file-name-regexp-url): Don't use leading volume
5505 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5506 (tramp-drop-volume-letter): Simplify definition.
5507 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5508
b1a4f8e1
SM
55092011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5512 (bug#9356).
5513
5664fa7b
RT
55142011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5515
b1a4f8e1 5516 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5517
9a45d6c3
JL
55182011-08-29 Juri Linkov <juri@jurta.org>
5519
5520 * isearch.el (isearch-done): Don't display message "Mark saved"
5521 when arg `edit' is non-nil to prevent its flicker in the echo area.
5522
fb87e0fb
CY
55232011-08-28 Chong Yidong <cyd@stupidchicken.com>
5524
5525 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5526 obsolete packages for deletion.
5527
09ac1c2a
CS
55282011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5529
5530 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5531 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5532 view-mode from help-mode.
5533 (help-xref-override-view-map): Remove.
5534 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5535 view-mode is not used anymore.
5536
7a1ff57f
CY
55372011-08-28 Chong Yidong <cyd@stupidchicken.com>
5538
5539 * server.el (server-port): Doc fix.
5540
b9696605
CY
5541 * cus-theme.el (custom-theme-choose-mode): Inherit from
5542 special-mode (Bug#9124).
5543 (custom-theme-choose-mode-map): Add special-mode to parent.
5544
ef8cdf8c
AM
55452011-08-28 Alan Mackenzie <acm@muc.de>
5546
5547 * progmodes/cc-fonts.el
5548 (c-make-font-lock-BO-decl-search-function): New function.
5549 (c-basic-matchers-after - "Fontify the clauses after various
5550 keywords"): Extract the three keyword lists for the 3 erroneous
5551 constructs from the list of four, and use the new function above
5552 in place of an old one.
5553
27de4e20
DD
55542011-08-28 Deniz Dogan <deniz@dogan.se>
5555
5556 * net/rcirc.el (rcirc-insert-prev-input)
5557 (rcirc-insert-next-input): Remove unused argument.
5558
356a3681
SM
55592011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5562
3fc9b218
AM
55632011-08-27 Alan Mackenzie <acm@muc.de>
5564
5565 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5566 handle function pointer parameters properly.
5567
538a061c
MR
55682011-08-27 Martin Rudalics <rudalics@gmx.at>
5569
5570 * window.el (display-buffer-reuse-window): Fix case where
5571 selected window was reused with non-nil OTHER-WINDOW argument.
5572 (Bug#9381)
5573
35b1c40c
DD
55742011-08-27 Deniz Dogan <deniz@dogan.se>
5575
5576 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5577 oftc's NickServ messages.
5578
2f6a3e79
GM
55792011-08-27 Glenn Morris <rgm@gnu.org>
5580
5581 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5582
7254299e
CY
55832011-08-26 Chong Yidong <cyd@stupidchicken.com>
5584
5585 * emacs-lisp/package.el (package-install): Call package-initialize
5586 if called interactively.
5587
f8ccf167
LL
55882011-08-26 Leo Liu <sdl.web@gmail.com>
5589
5590 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5591
3e8cd5ce
JL
55922011-08-25 Juri Linkov <juri@jurta.org>
5593
5594 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5595 `search-whitespace-regexp' (bug#9364).
5596
93eb7113
JL
55972011-08-25 Juri Linkov <juri@jurta.org>
5598
5599 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5600 `regexp-search-ring' to their global values to protect from
5601 updating by `read-from-minibuffer' (bug#9185).
5602
f65d1611
JL
56032011-08-25 Juri Linkov <juri@jurta.org>
5604
5605 * textmodes/ispell.el (ispell-command-loop): Add newline
5606 at the end of the "Use option `i'..." line.
5607
f1cf7a31
JL
56082011-08-25 Juri Linkov <juri@jurta.org>
5609
5610 * battery.el (display-battery-mode): If `battery-status-function'
5611 or `battery-mode-line-format' is nil, display the message and set
5612 `display-battery-mode' to nil (bug#9363).
5613
0c95fcf7
EZ
56142011-08-25 Eli Zaretskii <eliz@gnu.org>
5615
5616 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5617 bidi-string-mark-left-to-right; they are unnecessary now.
5618
a2ebe600
DD
56192011-08-25 Deniz Dogan <deniz@dogan.se>
5620
5621 * net/quickurl.el: Documentation typo fixes.
5622
e4ed06f1
CY
56232011-08-25 Chong Yidong <cyd@stupidchicken.com>
5624
5625 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5626
e5f1c99e
GM
56272011-08-25 Glenn Morris <rgm@gnu.org>
5628
b2948976
GM
5629 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5630
e5f1c99e
GM
5631 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5632 (smtpmail-via-smtp): Handle nil response from smtp.
5633
f22f4808
JL
56342011-08-24 Juri Linkov <juri@jurta.org>
5635
5636 * proced.el (proced-marked): Inherit from `error' instead of
5637 `font-lock-warning-face'.
5638
5639 * ibuffer.el (ibuffer-marked-face): Change default face from
5640 `font-lock-warning-face' to `warning'.
5641 (ibuffer-deletion-face): Change default face from
5642 `font-lock-type-face' to `error'.
5643
5644 * battery.el (battery-update): Use the face `error' instead of
5645 `font-lock-warning-face' (bug#6117).
5646
6a93965e
JL
56472011-08-24 Juri Linkov <juri@jurta.org>
5648
5649 * faces.el (success): Change face color from "Green3" to
5650 "ForestGreen" on light background (bug#9353).
5651
1ed43b09
CY
56522011-08-24 Chong Yidong <cyd@stupidchicken.com>
5653
5664fa7b
RT
5654 * window.el (quit-window): Rename from quit-restore-window.
5655 Use same arglist as old quit-window.
1ed43b09
CY
5656 (frame-auto-delete): Doc fix.
5657
5658 * view.el (view-mode-exit): Use quit-window.
5659
11dcdbb2
JL
56602011-08-24 Juri Linkov <juri@jurta.org>
5661
5662 * isearch.el (isearch-ring-adjust1): Start visiting previous
5663 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5664 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5665 for empty search string (when the last search string is reused
5666 automatically) to adjust the isearch ring to the last element and
5667 prepare the correct index for further M-p commands (bug#9185).
5668
de62b4df
KH
56692011-08-24 Kenichi Handa <handa@m17n.org>
5670
5671 * international/ucs-normalize.el: If decomposition property of
5672 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5673 nil.
5674 (nfd, nfkd): Likewise.
5675
963b492b
SM
56762011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5679 from process filters aren't reliably transmitted to the surrounding
5680 accept-process-output.
5681 (mpc-proc-check): New function.
5682 (mpc-proc-sync): Use it (bug#8293)
5683
93b6b5e1
SM
56842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5687 Add compatibility functions (bug#9313).
5688
bca633fb
EZ
56892011-08-23 Eli Zaretskii <eliz@gnu.org>
5690
b177498a
EZ
5691 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5692
6df6ae42 5693 * international/uni-bidi.el: Regenerate.
bca633fb 5694
0902a04e
KH
56952011-08-23 Kenichi Handa <handa@m17n.org>
5696
5697 * international/charprop.el:
5698 * international/uni-bidi.el:
5699 * international/uni-category.el:
5700 * international/uni-combining.el:
5701 * international/uni-comment.el:
5702 * international/uni-decimal.el:
5703 * international/uni-decomposition.el:
5704 * international/uni-digit.el:
5705 * international/uni-lowercase.el:
5706 * international/uni-mirrored.el:
5707 * international/uni-name.el:
5708 * international/uni-numeric.el:
5709 * international/uni-old-name.el:
5710 * international/uni-titlecase.el:
5711 * international/uni-uppercase.el: Regenerate.
5712
3bbf23bc
MR
57132011-08-23 Martin Rudalics <rudalics@gmx.at>
5714
5715 * help.el (help-window-setup): Fix message displayed when other
5716 window is reused. (Bug#9341)
5717
b3fd59bd
SM
57182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5719
1802e444
SM
5720 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5721 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5722
b3fd59bd
SM
5723 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5724 Mark obsolete.
5725 * shell.el (shell-parse-pcomplete-arguments): New function.
5726 (shell-completion-vars): Use it instead (bug#9160).
5727
4eb61348
SM
57282011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5729
867cab74
SM
5730 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5731 strings and comments (bug#9333).
5732
4eb61348
SM
5733 * emacs-lisp/debug.el (debug-arglist): New function.
5734 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5735 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5736
262a1439
JL
57372011-08-22 Juri Linkov <juri@jurta.org>
5738
56ee679c
JL
5739 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5740 Revert regexp that highlights output switches to its old
5741 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5742
262a1439
JL
5743 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5744 to check for empty output (bug#9226).
5745
f13f86fb
CY
57462011-08-22 Chong Yidong <cyd@stupidchicken.com>
5747
5748 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5749 symbol-constituent as the default, as that stops font-lock from
5750 working properly (Bug#8843).
5751
c65c9622
LMI
57522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5753
5754 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5755 `coding-system-for-*' around the process open call to avoid
5756 auth-source side effects.
e7f2c178 5757 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5758 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5759 probe hangs.
c65c9622 5760
23a8a5ab
CY
57612011-08-21 Chong Yidong <cyd@stupidchicken.com>
5762
ff98b2dd
CY
5763 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5764
23a8a5ab
CY
5765 * emacs-lisp/find-func.el (find-function-noselect): New arg
5766 lisp-only.
5767
5768 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5769 signal an error for built-in functions (Bug#6664).
5770
f5e3c598
LMI
57712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5772
5773 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5774 (smtpmail-try-auth-methods): Use it.
5775
a3f2468a
CY
57762011-08-21 Chong Yidong <cyd@stupidchicken.com>
5777
2c34e8da
CY
5778 * font-lock.el (font-lock-fontify-region)
5779 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5780 (font-lock-default-unfontify-buffer)
5781 (font-lock-default-fontify-region)
5782 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5783
b3fd59bd
SM
5784 * progmodes/compile.el (compilation-error-properties):
5785 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5786 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5787 `ant' regexp.
ee31aabc 5788
a3f2468a
CY
5789 * net/browse-url.el (browse-url-firefox): Don't call
5790 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5791
8e999f70
GM
57922011-08-20 Glenn Morris <rgm@gnu.org>
5793
c21a496a
GM
5794 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5795
59ee0542
GM
5796 * tutorial.el (tutorial--default-keys): Update some default bindings.
5797
8e999f70
GM
5798 * files.el (hack-local-variables): Fully ignore case for "mode:".
5799
e3715033
AM
58002011-08-20 Alan Mackenzie <acm@muc.de>
5801
5802 Resolve invalid use of a regexp in regexp-opt.
5803
4d61f28d
JB
5804 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5805 detection for a java annotation.
e3715033 5806
4d61f28d 5807 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5808 detection for a java annotation.
5809
4d61f28d
JB
5810 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5811 handling for java.
e3715033
AM
5812 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5813
04ed2e9c
CY
58142011-08-20 Chong Yidong <cyd@stupidchicken.com>
5815
5816 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5817 (Bug#9274).
5818
826cee64
AM
58192011-08-20 Alan Mackenzie <acm@muc.de>
5820
58179cce 5821 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5822 such a construct. Mainly for when jit-lock etc. starts a chunk
5823 here.
5824
58179cce 5825 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5826 variable.
58179cce 5827 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5828 c-make-font-lock-search-function.
5829 (c-make-font-lock-search-function): Use the above function.
5830 (c-make-font-lock-context-search-function): New function.
5831 (c-cpp-matchers): Enhance the preprocessor expression case with
5832 the above function
5833 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5834 which takes an expression.
5835
5836 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5837
13009bd8
MR
58382011-08-20 Martin Rudalics <rudalics@gmx.at>
5839
5840 * window.el (display-buffer-reuse-window)
5841 (display-buffer-pop-up-window): Don't reuse or split a side
5842 window.
5843
9234ff7f
GM
58442011-08-19 Glenn Morris <rgm@gnu.org>
5845
5846 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5847 Downcase "Mode:". (Bug#9331)
9234ff7f 5848
f635daa1
CY
58492011-08-18 Chong Yidong <cyd@stupidchicken.com>
5850
5851 * international/characters.el: Add L and R categories.
5852
5853 * subr.el (bidi-string-mark-left-to-right): Rename from
5854 string-mark-left-to-right. Use category search.
5855
5856 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5857
bc987f8b
JL
58582011-08-18 Juri Linkov <juri@jurta.org>
5859
5860 * faces.el (error, warning, success): New faces with definitions
5861 copied from old default values of `font-lock-warning-face',
5862 `compilation-warning', `compilation-info' (bug#6117).
5863
5864 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5865
5866 * progmodes/compile.el (compilation-error): Inherit from `error'.
5867 (compilation-warning): Inherit from `warning'.
5868 (compilation-info): Inherit from `success'.
5869
5870 * dired.el (dired-marked): Inherit from `warning'.
5871 (dired-flagged): Inherit from `error'.
5872
57173b96
LMI
58732011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5874
3e79eb87
LMI
5875 * mail/smtpmail.el (auth-source): Require to avoid problems with
5876 binding variables (bug#9298). Also clean up some unused
5877 autoloads.
5878
b3fd59bd
SM
5879 * net/network-stream.el (network-stream-open-starttls):
5880 Support using starttls.el without using gnutls-cli.
57173b96 5881
02b404de
JL
58822011-08-17 Juri Linkov <juri@jurta.org>
5883
5884 * progmodes/grep.el (rgrep): Handle the case when
5885 `grep-find-command' is a cons cell (bug#9278).
5886
8c9177f2
MR
58872011-08-17 Martin Rudalics <rudalics@gmx.at>
5888
5889 * window.el (display-buffer-pop-up-frame): Run frame creation
5890 function with BUFFER current (as special-display-popup-frame
5891 does). Reported by Drew Adams.
5892
3644a0ab
DU
58932011-08-17 Daiki Ueno <ueno@unixuser.org>
5894
5895 * epa-mail.el: Simplify GnuPG group expansion using
5896 epg-expand-group.
5897 (epa-mail-group-alist, epa-mail-group-modtime)
5898 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5899 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5900 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5901 Remove.
5902
5e617bc2 59032011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5904
5905 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5906
9c4aeabf
AM
59072011-08-16 Alan Mackenzie <acm@muc.de>
5908
5909 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5910 Correct, to avoid the inside of macros.
5911
3a99bf64
RS
59122011-08-16 Richard Stallman <rms@gnu.org>
5913
04963aa8
RS
5914 * epa-mail.el: Handle GnuPG group definitions.
5915 (epa-mail-group-alist, epa-mail-group-modtime)
5916 (epa-mail-gnupg-conf-file): New variables.
5917 (epa-mail-parse-groups, epa-mail-sync-groups)
5918 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5919 (epa-mail-expand-recipients): New functions.
5920 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5921
177549d0
RS
5922 * mail/rmail.el (rmail-epa-decrypt): New command.
5923
fe38beef
RS
5924 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5925 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5926 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5927 (epa-decrypt-armor-in-region): Make error message clearer.
5928
934eacb9
SM
59292011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5932 and "a2b" to "ab" for `prefix'.
5933
d024fb4e
CY
59342011-08-14 Chong Yidong <cyd@stupidchicken.com>
5935
5936 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5937 filter groups.
de148fee
CY
5938 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5939 Fourquet (Bug#8804).
d024fb4e 5940
62f1ca49
JB
59412011-08-12 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * startup.el (argi): Declare as global variable (bug#9275).
5944
9ccaaa4b
CY
59452011-08-12 Chong Yidong <cyd@stupidchicken.com>
5946
5947 * subr.el (string-mark-left-to-right): Search the entire string
5948 for RTL script, not just the terminating character. Doc fix.
5949
a3dae87a
SM
59502011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5951
6cd18349
SM
5952 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5953 New function.
5954 (js--regexp-literal, js-syntax-propertize-function): Remove.
5955 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5956 (js-mode-map): Don't rebind electric keys.
5957 (js-insert-and-indent): Remove.
5958 (js-mode): Setup electric-layout and electric-indent instead.
5959
a3dae87a
SM
5960 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5961
9d5cb631
DU
59622011-08-12 Daiki Ueno <ueno@unixuser.org>
5963
5964 * epa.el (epa-progress-callback-function): Fix the logic of
5965 displaying progress.
5966 * epa-file.el (epa-file-insert-file-contents): Make progress
5967 display more user-friendly.
5968 (epa-file-write-region): Ditto.
5969
3e26a4a2
CY
59702011-08-10 Chong Yidong <cyd@stupidchicken.com>
5971
5972 * subr.el (string-mark-left-to-right): New function.
5973
5974 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5975 Use string-mark-left-to-right.
5976 (list-buffers-noselect): Caller changed.
5977
a3dae87a
SM
5978 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5979 Use string-mark-left-to-right.
3e26a4a2
CY
5980 (tabulated-list-print): Recenter after moving point.
5981
ac8cf6e6
JL
59822011-08-10 Juri Linkov <juri@jurta.org>
5983
5984 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5985 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5986 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5987
8d96c9a4
CY
59882011-08-09 Chong Yidong <cyd@stupidchicken.com>
5989
5990 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5991 (Bug#7554).
5992
7be1c708 59932011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5994
5995 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5996 character. (Bug#6594)
5997
37e11a63
CY
59982011-08-08 Chong Yidong <cyd@stupidchicken.com>
5999
839dde57
CY
6000 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6001 (image-dired--with-db-file): New macro.
6002 (image-dired-write-tags, image-dired-remove-tag)
6003 (image-dired-create-gallery-lists, image-dired-write-comments)
6004 (image-dired-get-comment, image-dired-mark-tagged-files)
6005 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6006 (image-dired-gallery-generate): Use insert-file-contents.
6007
37e11a63
CY
6008 * time.el (display-time-world-list, display-time-world-display):
6009 * time-stamp.el (time-stamp-string):
6010 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6011 set-time-zone-rule (Bug#7337).
6012
0b4946c4
DU
60132011-08-08 Daiki Ueno <ueno@unixuser.org>
6014
6015 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6016 (epg-error-to-string, epg-errors-to-string): New function.
6017 (epg-wait-for-completion): Reverse errors list.
6018 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6019 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6020 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6021 (epg-sign-keys, epg-generate-key-from-file)
6022 (epg-generate-key-from-string): Format errors by using
6023 epg-errors-to-string (bug#9255).
6024 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6025
75bfc667
JL
60262011-08-07 Juri Linkov <juri@jurta.org>
6027
6028 * faces.el (list-faces-display): Remove extra angle bracket
6029 from `help-mode-map'.
6030
6031 * info.el (Info-history-toc-nodes): Doc fix.
6032
6033 * longlines.el (longlines-mode): Doc fix.
6034
673e08bb
SM
60352011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6036
4640dd88
SM
6037 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6038 of statements and in a few more cases (bug#9183).
6039
673e08bb
SM
6040 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6041 New functions.
6042 (cl-transform-lambda): Use them (bug#9239).
6043
89b3f019
MR
60442011-08-05 Martin Rudalics <rudalics@gmx.at>
6045
6046 * window.el (display-buffer-same-window)
6047 (display-buffer-same-frame, display-buffer-other-window)
6048 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6049 (pop-to-buffer-other-window)
6050 (pop-to-buffer-same-frame-other-window)
6051 (pop-to-buffer-other-frame): Make them defuns.
6052 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6053
640c8776
SM
60542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * subr.el (make-composed-keymap): Move from C. Change calling
6057 convention, and improve docstring to bring attention to a subtle point.
6058 * minibuffer.el (completing-read-default): Adjust accordingly.
6059
63648a95
MA
60602011-08-03 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6063 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6064
6065 * net/trampver.el: Update release number.
6066
b796c9b7
SM
60672011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6070 "in" (bug#9190).
6071
2239d7d5
LMI
60722011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6073
e07dd7c3
LMI
6074 * mail/sendmail.el (sendmail-query-once): Restore the current
6075 buffer after querying (bug#9074).
6076
0e6a2bd7
LMI
6077 * dired.el (dired-flagged): Use different faces for marked and
6078 flagged files (bug#6117).
6079
ce887515
LMI
6080 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6081 (bug#4433).
6082
92f2affc
LMI
6083 * ido.el (ido-mode): Switch off the message if called
6084 non-interactively.
6085
57d5aff0
LMI
6086 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6087 before 587, since it appears that that's more likely to work for
6088 more people.
6089
98cd6c18 6090 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6091 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6092 exist.
6093
b96dec83
LMI
6094 * info.el: Remove the `Info-beginning-of-buffer' function
6095 (bug#8325).
6096
b796c9b7
SM
6097 * net/network-stream.el (network-stream-open-starttls):
6098 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6099
d90e2ea0
MR
61002011-08-01 Martin Rudalics <rudalics@gmx.at>
6101
6102 * window.el (display-buffer-in-window): Don't set dedicated status
6103 of window here (Bug#9215).
6104 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6105 (display-buffer-pop-up-side-window)
b796c9b7 6106 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6107
cca09170
SM
61082011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6109
6110 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6111 before binding generated-autoload-file.
6112
027b979c
DD
61132011-08-01 Deniz Dogan <deniz@dogan.se>
6114
6115 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6116
3c7ee4f3
MA
61172011-07-30 Michael Albinus <michael.albinus@gmx.de>
6118
6119 Sync with Tramp 2.2.2.
6120
6121 * net/trampver.el: Update release number.
6122
2cc8e51a
JL
61232011-07-30 Juri Linkov <juri@jurta.org>
6124
6125 * dired-aux.el (dired-touch-initial): Remove function.
6126 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6127 current time, and `default' to the last modification time of the
6128 current marked file (bug#6887).
6129
a514d856
JM
61302011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6131
6132 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6133 numeric argument to read-number (bug#9163).
a514d856 6134
8a7eddd7
MA
61352011-07-27 Michael Albinus <michael.albinus@gmx.de>
6136
6137 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6138 connection process, it could be nil.
6139
1ddd96f5
LL
61402011-07-27 Leo Liu <sdl.web@gmail.com>
6141
6142 Simplify url handling in rcirc-mode.
6143
6144 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6145 (rcirc-browse-url-at-mouse): Remove.
6146 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6147
b248a85d
AM
61482011-07-26 Alan Mackenzie <acm@muc.de>
6149
6150 Fontify bitfield declarations properly.
6151
6152 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6153 (c-symbol-chars): Now exported as a lang variable.
6154 (c-not-primitive-type-keywords): New lang variable.
6155
6156 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6157 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6158 parsed as a bitfield declaration.
b248a85d 6159
b796c9b7
SM
6160 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6161 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6162 (c-punctuation-in): New function.
6163 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6164 declarations properly.
6165
68575ab0
UJ
61662011-07-26 Ulf Jasper <ulf.jasper@web.de>
6167
6168 * calendar/icalendar.el (icalendar--all-events): Take care of
6169 multiple vcalendars in a single file.
b796c9b7 6170 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6171
0f0a88b9
DD
61722011-07-25 Deniz Dogan <deniz@dogan.se>
6173
6174 * image.el (insert-image): Clarifying docstring.
6175
0b3f36df
MA
61762011-07-24 Michael Albinus <michael.albinus@gmx.de>
6177
6178 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6179 `tramp-send-command-and-check' if there is no error.
6180 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6181
a9901f61
AM
61822011-07-22 Alan Mackenzie <acm@muc.de>
6183
6184 Prevent cc-langs.elc being loaded at run time.
6185
6186 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6187 cc-langs.
6188
4d61f28d 6189 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6190 "(require 'cc-langs)". Quote a form so it will evaluate at
6191 (cc-mode's) compilation time.
6192
11d074b2
MA
61932011-07-22 Michael Albinus <michael.albinus@gmx.de>
6194
6195 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6196 loading. (Bug#9114)
6197
938b94c8
MR
61982011-07-21 Martin Rudalics <rudalics@gmx.at>
6199
6200 * window.el (display-buffer-pop-up-window)
6201 (display-buffer-pop-up-side-window)
6202 (display-buffer-in-side-window): Call display-buffer-set-height
6203 and display-buffer-set-width after setting the new window's
b796c9b7 6204 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6205
bfa4f190
SS
62062011-07-20 Sam Steingold <sds@gnu.org>
6207
6208 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6209 (etags-tags-included-tables): Call `convert-standard-filename' on
6210 the file names contained in TAGS so that windows Emacs can handle
6211 TAGS files created by cygwin ctags.
6212
8ca42262
LMI
62132011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6214
6215 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6216 which apparently didn't work.
6217
5db2afd2 62182011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6219
5db2afd2
RW
6220 * proced.el (proced-send-signal): For *Marked Processes* buffer
6221 put point at beginning of buffer.
6222
92e15d10
SB
62232011-07-19 Stephen Berman <stephen.berman@gmx.net>
6224
6225 * proced.el (proced-format): Make header lines align with the text
6226 (bug#1779).
6227
1bfd59e5
LMI
62282011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6229
6230 * view.el (view-buffer): Allow running in `special' modes if we're
6231 visiting a file (bug#8615).
6232
f5aae37c
MR
62332011-07-19 Martin Rudalics <rudalics@gmx.at>
6234
6235 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6236 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6237 New functions.
f5aae37c
MR
6238 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6239 more accurately.
6240
bf2c1571
AM
62412011-07-18 Alan Mackenzie <acm@muc.de>
6242
6243 Fontify declarators properly when, e.g., a jit-lock chunk begins
6244 inside a declaration.
6245
6246 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6247
b796c9b7
SM
6248 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6249 New function.
bf2c1571
AM
6250 (c-complex-decl-matchers): Insert reference to
6251 c-font-lock-enclosing-decls.
6252
6253 * progmodes/cc-engine.el (c-backward-single-comment):
6254 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6255 to nil around calls to (forward-comment -1).
6256
4e190b80
LMI
62572011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6258
12dc863d
LMI
6259 * image.el (put-image): Doc typo fix.
6260
a762e966
LMI
6261 * progmodes/etags.el (tags-search): Doc typo fix.
6262
4e190b80
LMI
6263 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6264 password if we get errors 550 to 554.
6265
f019fb21
LMI
62662011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6267
b796c9b7 6268 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6269
81746738
LMI
6270 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6271 indentation character (bug#6380).
6272
3ee3a1b5
LMI
6273 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6274
c82f64de
LMI
6275 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6276 to clarify what the problem is (bug#4291).
6277
f019fb21
LMI
6278 * simple.el (current-kill): Clarify what
6279 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6280 (auto-fill-mode): Document `auto-fill-function' in relation to
6281 `auto-fill-mode' (bug#2470).
f019fb21 6282
0794775d
LM
62832011-07-16 Lawrence Mitchell <wence@gmx.li>
6284
6285 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6286 method if slot is read-only (bug#9035).
6287
be39b8cc
MR
62882011-07-16 Martin Rudalics <rudalics@gmx.at>
6289
b796c9b7 6290 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6291 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6292 selected before, see discussion of (Bug#8615), (Bug#6954).
6293 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6294
6ccf7859
GM
62952011-07-15 Glenn Morris <rgm@gnu.org>
6296
6297 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6298 Respect help-form.
6ccf7859 6299
87e86684
LM
63002011-07-09 Lawrence Mitchell <wence@gmx.li>
6301
6302 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6303 (gnutls-negotiate): Use it.
6304
d6066239
LMI
63052011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306
b796c9b7
SM
6307 * net/gnutls.el (gnutls-negotiate):
6308 Upcase `gnutls-algorithm-priority'.
d6066239 6309
bd23ebc0
GM
63102011-07-15 Glenn Morris <rgm@gnu.org>
6311
c65bca65
GM
6312 * jka-compr.el (jka-compr-verbose): Move from here...
6313 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6314 Add missing :version tag.
6315 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6316
478615cc
LMI
63172011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6318
7b41decb
LMI
6319 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6320 (gnutls-negotiate): Use it.
6321
dbc44fcd
LMI
6322 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6323
06789f97
LMI
6324 * info.el (Info-beginning-of-buffer): New command.
6325 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6326 announcing `b' as the key (bug#8325).
ab896c37 6327 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6328
c39da690
LMI
6329 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6330
3aa5f34b
LMI
6331 * international/mule-cmds.el
6332 (describe-specified-language-support): Make the error message
6333 clearer (bug#8905).
6334
4bf0979f
LMI
6335 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6336
478615cc
LMI
6337 * isearch.el (isearch-barrier): Add a doc string, since it's
6338 mentioned in a function doc string (bug#8678).
6339
75c68aa1
MR
63402011-07-15 Martin Rudalics <rudalics@gmx.at>
6341
6342 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6343 buffer argument (Bug#9083) and self-identifying label argument.
6344
a7c33da2
GM
63452011-07-15 Glenn Morris <rgm@gnu.org>
6346
6347 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6348
2f5c6024
LMI
63492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6350
6351 * man.el (Man-fontify-manpage): Fix message when formatting the
6352 man page (bug#7929).
6353
0bb23927 63542011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6355
6356 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6357 argument LRM; if non-nil, append an invisible LRM character to the
6358 buffer name.
6359 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6360 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6361 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6362 paragraph direction.
cce4b0a7 6363
621ef9ab
LMI
63642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365
d1583c48
LMI
6366 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6367 the man page name (bug#7929).
6368
6a57fb5f
LMI
6369 * image.el (put-image): Mention the `put-image' overlay property
6370 (bug#7834).
6371
d7956b14
LMI
6372 * scroll-bar.el (set-scroll-bar-mode): Mention that
6373 `scroll-bar-mode' lists the values (bug#7772).
6374
5b2d4a66
LMI
6375 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6376 command (bug#7729).
6377
7509a874
LMI
6378 * rect.el (apply-on-rectangle): Return the point after the last
6379 operation.
6380 (string-rectangle): Go to the point after the last operation
6381 (bug#7522).
6382
4fe74b19
LMI
6383 * printing.el (pr-toggle-region): Clarify the documentation
6384 slightly (bug#7493).
6385
b796c9b7
SM
6386 * time.el (display-time-update):
6387 Allow `display-time-mail-function' to return nil (bug#7158).
6388 Fix suggested by Detlev Zundel.
ab283561 6389
fc233c9d
LMI
6390 * vc/diff.el (diff): Clarify the order the file names are read
6391 (bug#7111).
6392
43f5740b
LMI
6393 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6394 the doc string (bug#7015).
6395
f2182a76
LMI
6396 * font-lock.el (font-lock-maximum-decoration): Mention what
6397 numeric levels mean (bug#6935).
6398
621ef9ab
LMI
6399 * startup.el (initial-buffer-choice): Don't mention the `none'
6400 selection, which is against policy.
6401
adc47434
MR
64022011-07-14 Martin Rudalics <rudalics@gmx.at>
6403
b796c9b7
SM
6404 * window.el (display-buffer-normalize-special):
6405 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6406
7e5bfb8f
EZ
64072011-07-14 Eli Zaretskii <eliz@gnu.org>
6408
6409 * subr.el (version<, version<=, version=): Mention "-CVS" and
6410 "-12345" alpha version numbers.
6411
27fa387a
CY
64122011-07-14 Chong Yidong <cyd@stupidchicken.com>
6413
6414 * bindings.el: Add advertised binding for set-mark-command
6415 (Bug#5772).
6416
8bdfa064
CY
64172011-07-14 Chong Yidong <cyd@stupidchicken.com>
6418
6419 * bindings.el (mode-line-other-buffer):
6420 * bookmark.el (bookmark-bmenu-2-window):
6421 * bs.el (bs-cycle-next, bs-cycle-previous):
6422 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6423 switch-to-buffer.
6424
6425 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6426 Delete.
8bdfa064 6427
5eba16a3
JB
64282011-07-14 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * follow.el (follow-debug-message, follow-redisplay):
6431 * jka-cmpr-hook.el (with-auto-compression-mode):
6432 Fix typos in docstrings.
6433
15853710
LMI
64342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6435
a28e4607
LMI
6436 * subr.el (with-silent-modifications): Clarify somewhat what the
6437 macro inhibits (bug#6525).
6438
15853710
LMI
6439 * simple.el (eval-expression): Note what it does if called
6440 interactively (bug#6495).
6441
bee0fcef
CY
64422011-07-13 Chong Yidong <cyd@stupidchicken.com>
6443
b796c9b7
SM
6444 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6445 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6446
6447 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6448 Remove switch-to-buffer.
6449
58274504
LMI
64502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6451
bd2fcc8d
LMI
6452 * files.el (make-directory): Clarify that an error will be raised
6453 if there's an error (bug#6397).
6454
0f04b32c
LMI
6455 * startup.el (initial-buffer-choice): Add `none' as a choice
6456 (bug#6234).
6457
465c5fc8
LMI
6458 * subr.el (add-hook): Clarify section about buffer-local hooks
6459 (bug#6218).
6460
58274504
LMI
6461 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6462
bead9a43
JB
64632011-07-13 Juanma Barranquero <lekktu@gmail.com>
6464
6465 * tabify.el (untabify): Preserve the current column so that point
6466 doesn't move (bug#6032).
6467
3af98a7b
LMI
64682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6469
b796c9b7
SM
6470 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6471 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6472
6240145a
GM
64732011-07-13 Glenn Morris <rgm@gnu.org>
6474
6475 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6476 (dired-insert-directory): Give a message the first time
6477 if ls is found not to support --dired.
6478
1d8c2ccc
LMI
64792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
6481 * simple.el (toggle-truncate-lines): Clarify what is toggled
6482 (bug#5580). Text by Drew Adams.
6483
5fc4038e
CY
64842011-07-13 Chong Yidong <cyd@stupidchicken.com>
6485
6486 * simple.el (blink-matching-open): Make the error message from the
6487 last change less verbose.
6488
bf6012e5
DN
64892011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6490
6491 * font-lock.el (font-lock-comment-face): Use the high contrast
6492 "yellow" color for font-lock-comment-face on low color terminals
6493 using a dark background color (bug#4221).
6494
343c3b5a
LMI
64952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
7e9505c5
LMI
6497 * dired.el (dired-insert-set-properties): Make the doc string
6498 reflect what it does now (bug#5325).
6499
c26fdcf5
LMI
6500 * simple.el (blink-matching-open): Say that we were unable to find
6501 the match within the limit, if we're limited (bug#5122).
6502
bb388cc5
LMI
6503 * international/mule-cmds.el (prefer-coding-system): Add an
6504 example (bug#4869).
6505
343c3b5a
LMI
6506 * progmodes/etags.el (tags-search): Document `file-list-form'
6507 (bug#4731).
6508
2a517d45
LM
65092011-07-13 Lawrence Mitchell <wence@gmx.li>
6510
6511 * net/browse-url.el (browse-url-default-browser)
6512 (browse-url-browser-function): Make the default browser choice a
6513 bit more logical (bug#4300). Also clean up the doc string.
6514
b6c78ef2
JB
65152011-07-13 Juanma Barranquero <lekktu@gmail.com>
6516
6517 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6518 binary endings (bug#4440).
6519
1c4dd947
LMI
65202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521
a2014063
LMI
6522 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6523 which can be pretty annoying (bug#8971).
6524
9c9c2d88
LMI
6525 * jka-compr.el (jka-compr-verbose): New variable, and use
6526 throughout (bug#8971).
6527
1c4dd947
LMI
6528 * info.el (Info-find-file): Fall back on the installation
6529 directory if we can't find the info node anywhere else.
6530
a1c9f41b
SO
65312011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6532
6533 * vc/vc.el (vc-revert-file):
6534 Don't set file time-stamp in the past. (Bug#5181)
6535
536f3d36
LMI
65362011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537
7152b011
LMI
6538 * files.el (after-find-file): Give a better error message when
6539 trying to find a symlink that points to a file that doesn't exist
6540 (bug#4398).
6541
536f3d36
LMI
6542 * progmodes/cc-vars.el: Remove (probably) misleading comment
6543 (bug#4396).
6544
460c0fba
JB
65452011-07-12 Johan Bockgård <bojohan@gnu.org>
6546
6547 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6548
7a6bda45
CY
65492011-07-12 Chong Yidong <cyd@stupidchicken.com>
6550
6551 * mouse-sel.el: Hack restoring functionality, while keeping
6552 compatibility with 2010-07-03 changes to mouse selection.
6553 (mouse-sel-primary-overlay): New var.
6554 (mouse-sel-selection-alist): Use it.
6555 (mouse-sel-mode): Doc fix; remove points that are default features
6556 of mouse.el.
6557
c79598ef
JB
65582011-07-12 Johan Bockgård <bojohan@gnu.org>
6559
6560 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6561 Fix previous fix (bug#2490).
6562
ff8be6ef
RW
65632011-07-12 Roland Winkler <winkler@gnu.org>
6564
b796c9b7
SM
6565 * textmodes/bibtex.el (bibtex-initialize):
6566 Use pop-to-buffer-same-window.
ff8be6ef
RW
6567 (bibtex-search-entries): Fix interactive call.
6568
296ba3ee
LMI
65692011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6570
f5242a02 6571 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6572 Fontise bytecomp Error lines more correctly (bug#2490).
6573 Fix suggested by Johan Bockgård.
f5242a02 6574
296ba3ee
LMI
6575 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6576
6577 * dired-x.el (dired-guess-default): Use `delete-dups'.
6578
f69fd0d2
CY
65792011-07-12 Chong Yidong <cyd@stupidchicken.com>
6580
6581 * dired.el (dired-mark-prompt):
6582 * dired-aux.el (dired-read-shell-command): Doc fix.
6583
eab5dc07
LMI
65842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6585
b796c9b7
SM
6586 * mail/sendmail.el (sendmail-query-once):
6587 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6588 emacs -Q.
6589
6590 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6591
eab5dc07
LMI
6592 * cus-edit.el (custom-file): Take an optional no-error variable.
6593 (customize-save-variable): Set the variable, and give a warning if
6594 running under "emacs -q".
6595
a1e65d42
JB
65962011-07-11 Juanma Barranquero <lekktu@gmail.com>
6597
6598 * loadhist.el (unload-feature-special-hooks):
6599 Add `auto-coding-functions', `fill-nobreak-predicate' and
6600 `find-directory-functions' (bug#5327).
6601
1d52da10
LMI
66022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603
be958f1d
LMI
6604 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6605
5bedb26c
LMI
6606 * cus-edit.el (custom-guess-name-alist): -alist variables should
6607 use the `alist' type (bug#3120). Suggested by Drew Adams.
6608
1d52da10
LMI
6609 * printing.el: Add documentation to all the `pr-toggle-' commands.
6610
cd394be1 66112011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6612
6613 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6614 backends where it makes sense (bug#2623).
6615
dcc88d8a
LMI
66162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6617
c3de9feb
LMI
6618 * dired-x.el (dired-guess-default): Remove duplicate shell command
6619 entries (bug#2028).
8a93078b 6620 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6621 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6622
dcc88d8a
LMI
6623 * subr.el (remove-duplicates): New conveniency function.
6624
505e3645
LMI
66252011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6626
6627 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6628 (bug#1526).
6629
66302011-07-10 Martin Rudalics <rudalics@gmx.at>
6631
6632 * window.el (display-buffer-normalize-default): Don't invert
6633 meaning of even-window-heights. Reported by Eli Zaretskii
6634 <eliz@gnu.org>.
6635
455e4fa1
BR
66362011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6637
6638 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6639
8e0bc3e9
CY
66402011-07-10 Chong Yidong <cyd@stupidchicken.com>
6641
6642 * window.el (display-buffer): Fix arguments to
6643 display-buffer-reuse-window in last change.
6644
fa7c3228
CY
6645 * faces.el (link): Use a less saturated blue on light backgrounds.
6646
6647 * startup.el (fancy-startup-text, fancy-about-text)
6648 (fancy-startup-tail): Use font-lock faces, for background safety.
6649
c0a7f300
BN
66502011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6651
b796c9b7
SM
6652 * emulation/viper-cmd.el (viper-change-state-to-vi):
6653 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6654
4dc2a129
MR
66552011-07-09 Martin Rudalics <rudalics@gmx.at>
6656
6657 * window.el (display-buffer-default-specifiers): Remove.
6658 (display-buffer-macro-specifiers): Remove default specifiers.
6659 (display-buffer-alist): Default to nil.
b796c9b7 6660 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6661 (display-buffer-pop-up-window): Allow splitting internal
6662 windows. Check whether a live window was created.
6663 (display-buffer-other-window-means-other-frame)
6664 (display-buffer-normalize-arguments): Rename to
6665 display-buffer-normalize-argument and rewrite. Set the
6666 other-window specifier.
6667 (display-buffer-normalize-special): New function.
6668 (display-buffer-normalize-options): Rename to
6669 display-buffer-normalize-default and rewrite.
6670 (display-buffer-normalize-options-inhibit): Remove.
6671 (display-buffer-normalize-specifiers): Rewrite.
6672 (display-buffer): Process other-window specifier and call
6673 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6674 more faithfully.
b796c9b7 6675 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6676 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6677 (display-buffer-in-window, display-buffer-alist-set):
6678 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6679 <tassilo@member.fsf.org>.
6680
2d43b8c9
LL
66812011-07-09 Leo Liu <sdl.web@gmail.com>
6682
6683 * register.el (insert-register): Restore accidental change on
6684 2011-06-26. (Bug#9028)
6685
7f9b7c53
GM
66862011-07-09 Glenn Morris <rgm@gnu.org>
6687
6688 * subr.el (remq): Handle the empty list. (Bug#9024)
6689
f042cfd8
AS
66902011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6691
6692 * mail/sendmail.el (send-mail-function): No longer delay custom
6693 initialization.
6694 * custom.el (custom-initialize-delay): Doc fix.
6695
856b2f11
SM
66962011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6699
afae1d68
MA
67002011-07-08 Michael Albinus <michael.albinus@gmx.de>
6701
6702 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6703 human-friendly prompt.
6704
0757af94
SM
67052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6708 provided by a particular plugin.
6709
d760b731
LMI
67102011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6711
6712 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6713 save customizations (with "emacs -Q"), just set the variable
6714 instead of erroring out.
6715
6716 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6717
cd79ce90
JL
67182011-07-08 Juri Linkov <juri@jurta.org>
6719
6720 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6721 (archive-zip-update-case): Use 7z if found by `executable-find'.
6722 The order of searching the available programs is the same as in
6723 `archive-zip-extract' (bug#8968).
6724
14cc04aa
CY
67252011-07-07 Chong Yidong <cyd@stupidchicken.com>
6726
6727 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6728 (menu-bar-options-menu): Tweak descriptions.
6729
0a1848ec
LMI
67302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6731
6732 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6733 menu items into verb phrases (bug#1421). Also refill to fit under
6734 80 columns.
6735
f5bd0689
CY
67362011-07-07 Chong Yidong <cyd@stupidchicken.com>
6737
538e85c6
CY
6738 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6739 (Info-read-node-name): Doc fix (Bug#1084).
6740
f5bd0689
CY
6741 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6742 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6743 (end-of-sexp, beginning-of-sexp)
6744 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6745 (forward-symbol, forward-same-syntax, word-at-point)
6746 (sentence-at-point): Doc fix (Bug#1144).
6747
56ec5115
LMI
67482011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6749
f3f8e37f
LMI
6750 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6751 should cover it (bug#1281).
6752
0757af94 6753 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6754
e9fce1ac 6755 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6756 negotiation fails, then possibly try again with a non-encrypted
6757 connection (bug#9017).
6758
56ec5115
LMI
6759 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6760 be used.
6761
c2f9aec8
RS
67622011-07-07 Richard Stallman <rms@gnu.org>
6763
6764 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6765 property, and handle its changed format.
6766 Look for the correct line number.
6767 Use file's line contents (but not past first =) to find
6768 correct line in message.
6769
ef7b981d 67702011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6771
6772 * international/characters.el (build-unicode-category-table):
6773 Delete it.
0757af94 6774 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6775
0757af94 6776 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6777 to src/chartab.c.
6778 (get-char-code-property): Call unicode-property-table-internal to
6779 load a file. Call get-unicode-property-internal where necessary.
6780 (put-char-code-property): Call unicode-property-table-internal to
6781 load a file. Call put-unicode-property-internal where necessary.
6782 put-unicode-property-internal where necessary.
0757af94
SM
6783 (char-code-property-description):
6784 Call unicode-property-table-internal to load a file.
c805dec0
KH
6785
6786 * international/charprop.el:
6787 * international/uni-bidi.el:
6788 * international/uni-category.el:
6789 * international/uni-combining.el:
6790 * international/uni-comment.el:
6791 * international/uni-decimal.el:
6792 * international/uni-decomposition.el:
6793 * international/uni-digit.el:
6794 * international/uni-lowercase.el:
6795 * international/uni-mirrored.el:
6796 * international/uni-name.el:
6797 * international/uni-numeric.el:
6798 * international/uni-old-name.el:
6799 * international/uni-titlecase.el:
6800 * international/uni-uppercase.el: Regenerate.
6801
6802 * loadup.el: Load international/charprop.el before
6803 international/characters.
6804
e14b388a
CY
68052011-07-07 Chong Yidong <cyd@stupidchicken.com>
6806
6807 * window.el (next-buffer, previous-buffer): Signal an error if
6808 called from a minibuffer window.
6809
6810 * bindings.el: Revert 2011-07-04 change.
6811
354cf0ba
RS
68122011-07-06 Richard Stallman <rms@gnu.org>
6813
6814 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6815 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6816 Treat markers like ints.
6817 (rmail-mime-entity): Doc fix.
6818
a48868a7
LMI
68192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6820
4906cd3d
LMI
6821 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6822 defcustom again for backwards compatibility.
6823
e0457abe
LMI
6824 * simple.el (shell-command-on-region): Fill.
6825
d67f7e1f
LMI
6826 * dired-aux.el (dired-kill-line): Add a doc string.
6827
fe204702
LMI
6828 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6829 to "\\sw\\|\\s_" (bug#358).
6830
a48868a7
LMI
6831 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6832 (dired-unmark-backward): Ditto.
6833 (dired-flag-backup-files): Ditto.
6834
6835 * dired-x.el (dired-mark-sexp): Ditto.
6836
aa8a705c
RS
68372011-07-06 Richard Stallman <rms@gnu.org>
6838
6839 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6840 (rmail-mime-entity): New arg TRUNCATED.
6841 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6842 New functions.
6843 (rmail-mime-save): Warn if entity is truncated.
6844 (rmail-mime-toggle-hidden): Likewise, for showing.
6845 (rmail-mime-process-multipart): Record when an entity is truncated.
6846
a9a936b9
RS
6847 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6848 if ENTITY is a string.
6849
1f2b92cb
LMI
68502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6851
f4f73198 6852 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6853 of faces when `M-C-x'-ing their definitions (bug#8378).
6854 Also clean up the code slightly.
f4f73198 6855
12b16734 6856 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6857 because that makes the colors go away.
12b16734 6858
f0691d22
LMI
6859 * mail/sendmail.el (send-mail-function): Change the default to
6860 `sendmail-query-once'.
9e87df06 6861 (sendmail-query-once): Add an autoload cookie.
f0691d22 6862
1f2b92cb
LMI
6863 * net/network-stream.el (network-stream-open-starttls): Try using
6864 a plain connection even if the server offered STARTTLS, and we
6865 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6866 capability. This should make smtpmail.el work in slightly more
6867 configurations.
6868
1cdd2a1b
MA
68692011-07-06 Michael Albinus <michael.albinus@gmx.de>
6870
6871 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6872 New defun.
6873 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6874
fbcc67e2
MM
68752011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6876
6877 * progmodes/sql.el: Version 3.0
0757af94 6878 (sql-product-alist): Add product :completion-object,
fbcc67e2 6879 :completion-column, and :statement attributes.
0757af94 6880 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6881 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6882 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6883 ansi keywords.
6884 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6885 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6886 (sql-oracle-show-reserved-words): New function for development.
6887 (sql-product-font-lock): Simplify for source code buffers.
6888 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6889 New functions.
6890 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6891 (sql-mode-map): Add statement movement functions.
6892 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6893 New variable.
fbcc67e2
MM
6894 (sql-statement-regexp, sql-beginning-of-statement)
6895 (sql-end-of-statement, sql-signum): New functions.
0757af94 6896 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6897 (sql-show-sqli-buffer): Bug fix.
6898 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6899 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6900 with sql-interactive-mode.
6901 (sql-save-connection): Save buffer local settings.
0757af94 6902 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6903 (sql-product-interactive): Bug fix.
6904 (sql-preoutput-hold): New variable.
6905 (sql-interactive-remove-continuation-prompt): Bug fixes.
6906 (sql-debug-redirect): New variable.
6907 (sql-str-literal): New function.
6908 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6909 Redesign.
fbcc67e2
MM
6910 (sql-oracle-save-settings, sql-oracle-restore-settings)
6911 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6912 (sql-completion-object, sql-completion-column)
6913 (sql-completion-sqlbuf): New variables.
6914 (sql-build-completions-1, sql-build-completions)
6915 (sql-try-completion): New functions.
6916 (sql-read-table-name): Use them.
6917 (sql-contains-names): New buffer local variable.
6918 (sql-list-all, sql-list-table): Use it.
6919 (sql-oracle-completion-types): New variable.
6920 (sql-oracle-completion-object, sql-sqlite-completion-object)
6921 (sql-postgres-completion-object): New functions.
6922
d4eaeab1
GM
69232011-07-06 Glenn Morris <rgm@gnu.org>
6924
6925 * window.el (pop-to-buffer): Doc fix.
6926
322b7dab 69272011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6928
6929 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6930
322b7dab 69312011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6932
322b7dab 6933 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6934
322b7dab 6935 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6936
605dd5bf
CY
69372011-07-05 Chong Yidong <cyd@stupidchicken.com>
6938
6939 * button.el (button): Inherit from link face. Suggested by Dan
6940 Nicolaescu.
6941
7dbfa719
SM
69422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6943
3db614b0
SM
6944 * progmodes/gdb-mi.el: Fit in 80 columns.
6945 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6946 switch-to-buffer.
6947
7dbfa719
SM
6948 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6949 if imenu is simply not configured (bug#8941).
6950
919d884a
KM
69512011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6952
6953 * allout.el (allout-post-undo-hook): New allout outline-change
6954 event hook to signal undo activity.
6955 (allout-post-command-business): Run allout-post-undo-hook if an
6956 undo just occurred.
7dbfa719
SM
6957 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6958 * allout-widgets.el (allout-widgets-after-undo-function):
6959 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6960 in the vicinity of an undo.
6961 (allout-widgets-mode): Include allout-widgets-after-undo-function
6962 on the new allout-post-undo-hook.
6963
450a0f09
SM
69642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6967 Let define-derived-mode define it.
6968 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6969 cycles of abbrev-table inheritance (bug#8998).
6970
2de69e00
RW
69712011-07-05 Roland Winkler <winkler@gnu.org>
6972
6973 * textmodes/bibtex.el: Add support for biblatex.
6974 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6975 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6976 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6977 (bibtex-entry-alist, bibtex-field-alist): New variables.
6978 (bibtex-entry-field-alist): Obsolete alias for
6979 bibtex-BibTeX-entry-alist.
6980 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6981 (bibtex-set-dialect): New command.
6982 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6983 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6984 Bind via bibtex-set-dialect.
2de69e00
RW
6985 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6986 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6987 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6988 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6989 Define via bibtex-set-dialect.
450a0f09
SM
6990 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6991 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6992 (bibtex-vec-push, bibtex-vec-incr): New functions.
6993 (bibtex-format-entry, bibtex-field-list)
6994 (bibtex-print-help-message, bibtex-validate)
6995 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6996
2dcdbdd9
SM
69972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * progmodes/compile.el (compilation-goto-locus):
7000 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7001 * bs.el (bs-cycle-next, bs-cycle-previous):
7002 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7003 * bindings.el (mode-line-other-buffer):
7004 * autoinsert.el (auto-insert):
7005 * arc-mode.el (archive-extract):
7006 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7007
b27640fe
JB
70082011-07-05 Juanma Barranquero <lekktu@gmail.com>
7009
7010 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7011 Fix check of `emacs-lock-unlockable-modes'.
7012 Coerce true values of `emacs-lock--try-unlocking' to t.
7013
53bbe3ad
JB
70142011-07-05 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7017 * emacs-lock.el: New file.
7018
1d3cdbc7
JD
70192011-07-05 Julien Danjou <julien@danjou.info>
7020
7021 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7022 than `boundp' to check if face is set.
7023
9173deec
JB
70242011-07-05 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * register.el (registerv-make):
7027 * window.el (window-min-height): Fix typos in docstrings.
7028
869795d6
JD
70292011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7030
9173deec 7031 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7032 Update doc string.
7033
b768cdcd
JB
70342011-07-04 Juanma Barranquero <lekktu@gmail.com>
7035
7036 * server.el (server-execute): Catch quit and call
7037 `server-return-error' to pass the error back to emacsclient and
7038 close the connection (bug#8942).
7039
13aa217b
KM
70402011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7041
7042 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7043 insecure exception for current topic. Also note that auto-saves
7044 are handled differently.
7045
7046 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7047 State variables for tracking auto-save inhibition situation.
7048
7049 (allout-write-contents-hook-handler): Rename from
7050 'allout-write-file-hook-handler', and describe how it depends on
7051 write-contents-functions sensitivity to non-nil value to prevent
7052 file write.
7053
7054 (allout-auto-save-hook-handler): Remove. auto-save does not check
7055 this in individual buffers, only in the starting buffer, so this
7056 is not the right way for us to inhibit auto-save in a buffer
7057 according to its condition.
7058
7059 (allout-mode): Use new allout-write-contents-hook-handler, and
7060 only with write-contents-functions. Remove auto-save provisions -
7061 they're implemented elsewhere.
7062
7063 (allout-before-change-handler): If undo is in progress, note that
7064 for attention of allout-post-command-business.
7065
7066 (allout-post-command-business): If the command we're following was
7067 an undo, check for change in the status of encrypted items and
7068 adjust auto-save inhibitions accordingly.
7069
7070 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7071 according to whether there are or aren't any plain-text topics
7072 pending encryption.
7073
2dcdbdd9 7074 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7075 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7076 if there are plain-text topics pending encryption.
13aa217b
KM
7077
7078 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7079 buffer-saved-size and some allout state to not inhibit auto-saves
7080 if there are no longer any plain-text topics pending encryption.
7081
0757af94
SM
7082 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7083 No longer provide for exemption of the current topic.
13aa217b 7084
ac89b32c
JL
70852011-07-04 Juri Linkov <juri@jurta.org>
7086
7087 Add 7z operations to delete and save changed members (bug#8968).
7088 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7089 New defcustoms.
7090 (archive-7z-write-file-member): New function.
7091 (archive-7z-summarize): Fix the number of dashes in the
7092 listing output.
7093
8fa39615
SM
70942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7097 (bug#8958).
7098
2f11b3f1
CY
70992011-07-04 Chong Yidong <cyd@stupidchicken.com>
7100
d66fef2b
CY
7101 * bindings.el: Ignore next-buffer and previous-buffer in
7102 minibuffer-local-map.
7103
2f11b3f1
CY
7104 * font-lock.el (font-lock-builtin-face): Change light background
7105 color to dark slate blue (Bug#6693).
7106
f932a347
WD
71072011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7108
7109 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7110
c8af70e1
SM
71112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7114 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7115 Add switch-to-buffer.
7116
f158badc
LMI
71172011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118
7119 * isearch.el (isearch-search-fun-function): Clarify further the
7120 meaning of the function returned.
7121
6d95bd46
MA
71222011-07-04 Michael Albinus <michael.albinus@gmx.de>
7123
7124 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7125
7126 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7127 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7128 Use it.
7129 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7130 `tramp-default-remote-path' does not exist.
7131 (tramp-send-command-and-read): New optional argument NOERROR.
7132 (tramp-open-connection-setup-interactive-shell)
7133 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7134 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7135 (tramp-process-sentinel): Flush also process' connection property.
7136 (tramp-sh-handle-start-file-process): Do not set process
7137 sentinel. It is done now ...
7138 (tramp-maybe-open-connection): ... here. (Bug#8929)
7139
909e6b67
MK
71402011-07-04 MON KEY <monkey@sandpframing.com>
7141
7142 * play/animate.el (animate-string): Doc fixes and allow changing
7143 the buffer name (bug#5417).
7144
71452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7146
c8af70e1 7147 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7148
f34755dc
PE
71492011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7150
396cec72
PE
7151 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7152 This is simpler and helps future-proof the code.
7153 (timer-until): Use time-subtract and float-time.
08235028 7154 (timer--time-less-p): Use time-less-p.
f34755dc 7155
56e6cc31
JB
71562011-07-04 Juanma Barranquero <lekktu@gmail.com>
7157
3abb79e5
JB
7158 * type-break.el (timep): Use the value of `float-time' to avoid a
7159 byte-compiler warning.
7160
56e6cc31
JB
7161 * server.el (server-eval-and-print): Return any result, even nil.
7162
7b9430b4
PE
71632011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7164
7165 * type-break.el: Accept time formats that the builtins accept.
7166 (timep, type-break-time-difference): Accept any format that
7167 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7168 This is simpler and helps future-proof the code.
7169 (type-break-time-difference): Round rather than ignoring
7170 subseconds components.
7171
3034e9e7
LMI
71722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7173
7174 * info.el (Info-apropos-matches): Make non-interactive, since it
7175 doesn't seem to do anything useful as a command (bug#8829).
7176
1485f4c0
CY
71772011-07-03 Chong Yidong <cyd@stupidchicken.com>
7178
7179 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7180 Move from faces.el.
1485f4c0
CY
7181 (frame-default-terminal-background): New function.
7182
7183 * custom.el (custom-push-theme): Don't record faces in `changed'
7184 theme; this doesn't work correctly for per-frame face settings.
7185 (disable-theme): Use face-set-after-frame-default to reset faces.
7186 (custom--frame-color-default): New function.
7187
9fa3dd45
LMI
71882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7189
c8af70e1 7190 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7191 (bug#8769).
7192
6cbbc20c
KR
71932011-03-29 Kevin Ryde <user42@zip.com.au>
7194
7195 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7196 `perl-Test2' extend to match possible "fail #N" rep count
7197 (bug#8377).
7198
c7f98048
LMI
71992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200
65676592
LMI
7201 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7202 `smtpmail-via-smtp' now returns the error instead of nil.
7203
c7f98048
LMI
7204 * isearch.el (isearch-search-fun-function): Clarify the doc string
7205 (bug#8101).
7206
56e6cc31 72072011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7208
7209 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7210 unnecessary spaces (bug#8987).
7211
2b216704
LMI
72122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7213
7214 * net/network-stream.el (open-network-stream): Use the
7215 :end-of-capability command thoughout.
7216
72172011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7218
7219 * net/network-stream.el (open-network-stream): Add the
7220 :end-of-capability command parameter, used by pop3.el.
7221
36adf6ce
LMI
72222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7223
1ca0da0e
LMI
7224 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7225
fc00f69c
LMI
7226 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7227 for list)" (bug#6475).
7228
28fd8759 7229 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7230 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7231 an error (bug#6297).
7232
0dd8b6da
LMI
7233 * man.el (Man-reference-regexp): Allow matching possible
7234 word-wrapped references (bug#6289).
7235
ce1438d6
LMI
7236 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7237 for consistency with the other vc buffers (bug#6197).
7238 (vc-checkin): Ditto.
7239
7240 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7241
36adf6ce
LMI
7242 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7243
e83cc1f7
LMI
72442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7245
8a20ca4c
LMI
7246 * custom.el (defcustom): Clarify that :set is only used in the
7247 Customize user interface (bug#6089).
7248
83319045
LMI
7249 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7250 associated with a file, refuse to run instead of erroring out
7251 (bug#6084).
7252
a8392169
LMI
7253 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7254 the doc string, since it appears that using `fill-column' always
7255 controls the width (bug#7845).
7256
e83cc1f7
LMI
7257 * simple.el (shell-command-on-region): Say where the error output
7258 went if `shell-command-default-error-buffer' is set (bug#6857).
7259
e47ca23b
KM
72602011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7261
7262 * allout.el (allout-yank-processing): Adjust cursor position for
7263 backwards-deleted space.
7264
7265 (allout-rebullet-heading): Register changes with
7266 allout-exposure-changed-hook, so the modified topic is properly
7267 decorated.
7268
5cf56143
LMI
72692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270
08549772
LMI
7271 * minibuffer.el (completion-in-region): Document PREDICATE
7272 (bug#7136).
7273
48e96771
LMI
7274 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7275 of keyword/argument pairs (bug#6904).
7276
c8af70e1
SM
7277 * replace.el (multi-occur):
7278 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7279
e17d05e2
LMI
72802011-07-02 Drew Adams <drew.adams@oracle.com>
7281
7282 * dired.el (dired-mark-if): Make the message about whether it's
7283 marking or unmarking clearer (bug#8523).
7284
063b0e45
LMI
72852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7286
7287 * disp-table.el (display-table-print-array): New function.
7288 (describe-display-table): Use it to print the vectors more pretty
7289 (Bug#8859).
7290
28545e04
MR
72912011-07-02 Martin Rudalics <rudalics@gmx.at>
7292
7293 * window.el (window-state-get-1): Don't assign clone numbers.
7294 Add clone-of item to list of window parameters.
7295 (window-state-put-2): Don't process clone numbers.
7296 (display-buffer-alist): Fix doc-string.
7297
3349e122
SM
72982011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * subr.el (remq): Don't allocate if it's not needed.
7301 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7302 (keymap--merge-bindings): New functions.
7303 (keymap-canonicalize): Use them to refine the canonicalization.
7304 * minibuffer.el (minibuffer-local-completion-map)
7305 (minibuffer-local-must-match-map): Move initialization from C.
7306 (minibuffer-local-filename-completion-map): Move initialization from C;
7307 don't inherit from anything here.
7308 (minibuffer-local-filename-must-match-map): Make obsolete.
7309 (completing-read-default): Use make-composed-keymap to combine
7310 minibuffer-local-filename-completion-map with either
7311 minibuffer-local-must-match-map or
7312 minibuffer-local-filename-completion-map.
7313
d224ac83
GM
73142011-07-01 Glenn Morris <rgm@gnu.org>
7315
3de63bf8
GM
7316 * type-break.el (type-break-time-sum): Use dolist.
7317
d224ac83
GM
7318 * textmodes/flyspell.el (flyspell-word-search-backward):
7319 Replace CL function.
7320
1a1e3f32
SM
73212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7322
fe3f64d5
SM
7323 * mouse.el (mouse--strip-first-event): New function.
7324 (function-key-map): Use it to map fringe clicks to normal clicks
7325 by default.
7326
eb604e34
SM
7327 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7328 (vc-bzr-revision-completion-table): Add support for annotate and date.
7329
1a1e3f32
SM
7330 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7331 inherit from parent.
7332
5bd35902
LMI
73332011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7334
ace6c69c 7335 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7336 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7337
191e2bed
LMI
7338 * dired.el (dired-mode): Fix up the doc string as suggested by
7339 Drew Adams (bug#8817).
7340
5bd35902
LMI
7341 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7342 cookie, since the manual says that it should be possible to add
7343 this function to `find-file-hook' (bug#8709).
7344
eee8207a
TZ
73452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7346
7347 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7348 here. Noted Ted Zlatanov as the maintainer.
7349 (cfengine-common-settings, cfengine-common-syntax): New functions
7350 to set up common things between `cfengine-mode' and
7351 `cfengine3-mode'.
7352 (cfengine3-mode): New mode.
7353 (cfengine3-defuns cfengine3-defuns-regex
7354 (cfengine3-class-selector-regex cfengine3-category-regex)
7355 (cfengine3-vartypes cfengine3-font-lock-keywords)
7356 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7357 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7358
36b148cf
MA
73592011-07-01 Michael Albinus <michael.albinus@gmx.de>
7360
7361 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7362
7363 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7364
0bf4ba9a
MR
73652011-07-01 Martin Rudalics <rudalics@gmx.at>
7366
7367 * window.el (same-window-buffer-names, same-window-regexps)
7368 (same-window-p, special-display-frame-alist)
7369 (special-display-popup-frame, special-display-function)
7370 (special-display-buffer-names, special-display-regexps)
7371 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7372 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7373 (split-window-preferred-function, split-height-threshold)
7374 (split-width-threshold, even-window-heights)
7375 (display-buffer-mark-dedicated, window-splittable-p)
7376 (split-window-sensibly, window-safely-shrinkable-p):
7377 Un-obsolete.
7378 (display-buffer): Don't spread args with function specifier
7379 because special-display-popup-frame won't like it.
7380
35837f51
PE
73812011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7382
d0672f86
PE
7383 Time-stamp simplifications and fixes.
7384 These improve accuracy slightly, and future-proof the code
7385 against some potential changes to current-time format.
7386
b9444d97
PE
7387 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7388 by using time-since and float-time.
7389
0ef923dc
PE
7390 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7391 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7392 + NNN microseconds".
7393
2f81380d
PE
7394 * type-break.el (type-break-time-sum): Rewrite using time-add.
7395
845b5c3e
PE
7396 * play/hanoi.el (hanoi-current-time-float): Remove.
7397 All uses replaced by float-time.
7398
ee6f1be0
PE
7399 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7400 This yields a more-accurate answer.
7401 (rng-time-to-float): Remove; no longer needed.
7402
fe955043
PE
7403 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7404
5777162a
PE
7405 * calendar/timeclock.el (timeclock-seconds-to-time):
7406 Defalias to seconds-to-time, since they're the same thing.
7407
3103f8b6 7408 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7409 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7410 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7411
0e61a35f
SM
74122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * window.el (bury-buffer): Don't iconify the only frame.
7415 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7416 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7417
ddd63a1e
CY
74182011-07-01 Chong Yidong <cyd@stupidchicken.com>
7419
0e61a35f
SM
7420 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7421 Add mouse-yank-primary.
ddd63a1e 7422
055f4923
TZ
74232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7424
7425 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7426
6a2fb145
SM
74272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7430 (find-library-name): Use it to find relative load names when provided
7431 absolute file name (bug#8803).
7432
fd4983f2
LMI
74332011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7434
887d14ad
LMI
7435 * textmodes/flyspell.el (flyspell-word): Consider words that
7436 differ only in case as potential doublons (bug#5687).
7437
c53dc7fc
LMI
7438 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7439 Remove two rather uninteresting debugging-like messages to make
7440 debbugs.el more silent.
7441
fd4983f2
LMI
7442 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7443 a password-like phrase.
7444
7a71b18d 74452011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7446
7447 * progmodes/cc-guess.el: New file.
7448
6a2fb145 7449 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7450
7451 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7452 derived from `c-basic-common-init'.
7453
7454 * progmodes/cc-mode.el (top-level): Require cc-guess.
7455 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7456
1fa280a3
LM
74572011-06-30 Lawrence Mitchell <wence@gmx.li>
7458
7459 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7460
e6597158
AM
74612011-06-30 Alan Mackenzie <acm@muc.de>
7462
1fa280a3
LM
7463 * progmodes/cc-engine.el (c-guess-continued-construct):
7464 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7465 lock is disabled. Name this case as "CASE G".
7466
68ba37fb
KM
74672011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7468
7469 * allout.el (allout-yank-processing): Fix injection of extra space
7470 between bullet and non-whitespace character in first topic when
7471 pasting, ensuring that the actual spacing in the pasted topic
7472 following the bullet char is preserved. This extra space was
7473 causing pasted encrypted topics to get a decrypted status even
7474 when the content was actually still encrypted. Now the decryption
7475 status from before the paste is preserved.
7476
7477 (allout-flag-region): Set all allout overlays so they evaporate
7478 when reduced to zero length (evanescent), to prevent overlay
7479 leakage.
7480
887a0b34
GM
74812011-06-30 Glenn Morris <rgm@gnu.org>
7482
94b9acce
GM
7483 * w32-fns.el (w32-charset-info-alist): Declare.
7484
1d9b46d4
GM
7485 * find-dired.el (find-grep-options): Simplify.
7486
cc232200
GM
7487 * term/ns-win.el (ns-set-resource): Declare.
7488
28e77c46
GM
7489 * ses.el (row, col): Declare dynamic variables honestly.
7490
887a0b34
GM
7491 * textmodes/reftex-parse.el (index-tags): Declare.
7492
658d8eb8
CY
74932011-06-30 Chong Yidong <cyd@stupidchicken.com>
7494
7495 * cus-edit.el (customize-push-and-save): New function.
7496
7497 * files.el (hack-local-variables-confirm): Use it.
7498
1fa280a3
LM
7499 * custom.el (load-theme): New arg NO-CONFIRM.
7500 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7501 (custom-enabled-themes): Doc fix.
7502
7503 * cus-theme.el (customize-create-theme)
7504 (custom-theme-merge-theme): Callers to load-theme changed.
7505
bb617717
LMI
75062011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7507
d61bdd5d
LMI
7508 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7509 short URLs have at least one dot in them (bug #7614).
7510
bb617717
LMI
7511 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7512 nil, because using a pty is apparently too slow (bug #895).
7513
2f31f37a
LMI
75142011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7515
7516 * mail/sendmail.el (sendmail-query-once): New function.
7517 (sendmail-query-once-function): New variable.
7518
3076b24e
GM
75192011-06-29 Glenn Morris <rgm@gnu.org>
7520
faf2a174
GM
7521 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7522
3076b24e
GM
7523 * ses.el (top-level): Require cl when compiling.
7524 (ses-set-localvars): Fix error statement.
7525 Call it at compile time to silence a storm of warnings.
7526
5386012d
MR
75272011-06-29 Martin Rudalics <rudalics@gmx.at>
7528
7529 * window.el (normalize-live-buffer): Rename to
7530 window-normalize-buffer.
7531 (normalize-live-frame): Rename to window-normalize-frame.
7532 (normalize-any-window): Rename to window-normalize-any-window.
7533 (normalize-live-window): Rename to window-normalize-live-window.
7534 (make-window-atom): Rename to window-make-atom.
7535 (window-resize-reset): Rename to window--resize-reset.
7536 (window-resize-reset-1): Rename to window--resize-reset-1.
7537 (resize-mini-window): Rename to window--resize-mini-window.
7538 (resize-subwindows-skip-p): Rename to
7539 window--resize-subwindows-skip-p.
7540 (resize-subwindows-normal): Rename to
7541 window--resize-subwindows-normal.
7542 (resize-subwindows): Rename to window--resize-subwindows.
7543 (resize-other-windows): Rename to window--resize-siblings.
7544 (resize-this-window): Rename to window--resize-this-window.
7545 (resize-root-window): Rename to window--resize-root-window.
7546 (resize-root-window-vertically): Rename to
7547 window--resize-root-window-vertically.
7548 (normalize-buffer-to-display): Rename to
7549 window-normalize-buffer-to-display.
7550 (normalize-buffer-to-switch-to): Rename to
7551 window-normalize-buffer-to-switch-to.
7552 Correspondingly update all callers of the functions listed
7553 above.
7554 (display-buffer-alist, display-buffer-normalize-arguments)
7555 (display-buffer-normalize-options, display-buffer)
7556 (display-buffer-alist-set): Use "function" instead of
7557 "fun-with-args".
7558
1176868d
CY
75592011-06-28 Chong Yidong <cyd@stupidchicken.com>
7560
7561 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7562 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7563 debbugs.gnu.org. Mention acknowledgment email.
7564
20a7a65f
LMI
75652011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7566
7567 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7568 buffer multibyteness, since it shouldn't matter.
7569
5f45cca5
MR
75702011-06-28 Martin Rudalics <rudalics@gmx.at>
7571
7572 * window.el (display-buffer-in-side-window): Handle dedicated
7573 windows as in display-buffer-reuse-window.
7574 (display-buffer-normalize-alist): Use value of override
7575 specifier.
7576 (display-buffer-normalize-specifiers): Use value of
7577 other-window-means-other-frame specifier.
7578 (display-buffer-alist): Rewrite some texts in widgets.
7579 (display-buffer): Spread arguments when calling function
7580 specified by fun-with-args.
7581
ad85fe1f
DD
75822011-06-28 Deniz Dogan <deniz@dogan.se>
7583
1fa280a3
LM
7584 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7585 Unnest `let'.
da68c4c8 7586
ad85fe1f
DD
7587 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7588 selectors (Bug#5732).
ec49bd31 7589 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7590
a08cc025
JA
75912011-06-27 Jari Aalto <jari.aalto@cante.net>
7592
7593 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7594 (eshell-ls-date-format): New defcustom.
7595 (eshell-ls-file): Use it.
7596
e2b551c5
SM
75972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7600
8982b231
KY
76012011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7602
7603 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7604 (ange-ftp-make-tmp-name): New arg.
7605 (ange-ftp-file-local-copy): Use it.
7606
36c9fa27
J
76072011-06-27 Jambunathan K <kjambunathan@gmail.com>
7608
7609 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7610 no-conversion (Bug#8870).
7611
d68443dc
MR
76122011-06-27 Martin Rudalics <rudalics@gmx.at>
7613
7614 * window.el (window-right, window-left, window-child)
7615 (window-child-count, window-last-child)
7616 (window-iso-combination-p, walk-window-tree-1)
7617 (window-atom-check-1, window-tree-1, delete-window)
7618 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7619 new naming conventions - window-vchild, window-hchild,
7620 window-next and window-prev are now called window-top-child,
7621 window-left-child, window-next-sibling and window-prev-sibling
7622 respectively.
d615d6d2
MR
7623 (resize-window-reset): Rename to window-resize-reset.
7624 (resize-window-reset-1): Rename to window-resize-reset-1.
7625 (resize-window): Rename to window-resize.
7626 (window-min-height, window-min-width)
7627 (resize-mini-window, resize-this-window, resize-root-window)
7628 (resize-root-window-vertically, adjust-window-trailing-edge)
7629 (enlarge-window, shrink-window, maximize-window)
7630 (minimize-window, delete-window, quit-restore-window)
7631 (split-window, balance-windows, balance-windows-area-adjust)
7632 (balance-windows-area, window-state-put-2)
7633 (display-buffer-even-window-sizes, display-buffer-set-height)
7634 (display-buffer-set-width, set-window-text-height)
7635 (fit-window-to-buffer): Rename all "resize-window" prefixed
7636 calls to use the "window-resize" prefix convention.
7637 (display-buffer-alist): Fix symbol for label specifier.
7638 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7639 corresponding specifier.
7640 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7641
b6458526
VB
76422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7643
7644 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7645 convention.
7646 (ses-call-printer): Does not pass an empty string to formatter when the
7647 cell is empty to keep from barking printer Calc math-format-value.
7648
d31fd9ac
RS
76492011-06-27 Richard Stallman <rms@gnu.org>
7650
43d5bf84
RS
7651 * battery.el (battery-mode-line-limit): New variable.
7652 (battery-update): Handle it.
7653
d31fd9ac
RS
7654 * mail/rmailmm.el (rmail-mime-process-multipart):
7655 Handle truncated messages.
7656
819a6054
GM
76572011-06-27 Glenn Morris <rgm@gnu.org>
7658
7659 * progmodes/flymake.el (flymake-err-line-patterns):
7660 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7661
cedc73f2
VB
76622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7663
819a6054 7664 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7665 (ses--clean-!, ses--clean-_): New functions.
7666 (ses-range): Add configurability of readout order, and conversion
7667 to Calc vector.
7668
5e5d49b6
VB
7669 * ses.el (ses-repair-cell-reference-all): New function.
7670 (ses-cell-symbol): Set macro as safe, so that it can be used in
7671 formulas.
7672
56e6cc31 7673 * ses.el: Update cycle detection algorithm.
90ca8b49 7674 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7675 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7676 (ses-set-localvars): New function.
7677 (ses-make-cell): Add property-list as a cell element.
7678 (ses-cell-property-get-fun, ses-cell-property-get)
7679 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7680 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7681 New functions.
90ca8b49
VB
7682 (ses-cell-property-set, ses-cell-property-pop)
7683 (ses-cell-property-get-handle): New macro.
7684 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7685 New aliases, used for code readability.
7686 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7687 cycle detection.
7688 (ses-self-reference-early-detection): New defcustom.
fac916bf 7689 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7690 (ses-mode): Use ses-set-localvars.
7691 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7692 before lauching the update processing.
7693 (ses-initialize-Dijkstra-attempt): New function.
7694 (ses-recalculate-cell): Update for cycle detection based on
7695 Dijkstra algorithm.
7696
2bb63e81
VB
7697 * ses.el: Fix commenting and indenting convention.
7698
c9d29fb8
SM
76992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * bs.el (bs-cycle-next): Complete last change.
7702
d8e4b68b
JB
77032011-06-27 Drew Adams <drew.adams@oracle.com>
7704
7705 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7706
40098786
LMI
77072011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7708
c9d29fb8
SM
7709 * net/network-stream.el (network-stream-open-starttls):
7710 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7711 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7712
40098786
LMI
7713 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7714 to binary to possibly avoid line encoding issues on Windows (among
7715 other things).
7716
468d09d4
LMI
77172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7718
7719 * net/network-stream.el (open-network-stream): Return an :error
7720 saying what the problem was, if possible.
7721
7722 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7723 server.
7724
7725 * net/network-stream.el (network-stream-open-starttls): If we
7726 wanted to use STARTTLS, and the server offered it, but we weren't
7727 able to because we had no STARTTLS support, then close the connection.
7728 (open-network-stream): Return an :error element, if present.
7729
16f07dd7
CY
77302011-06-26 Chong Yidong <cyd@stupidchicken.com>
7731
88821ca0
CY
7732 * hl-line.el (hl-line-sticky-flag): Doc fix.
7733 (global-hl-line-sticky-flag): New option (Bug#8323).
7734 (global-hl-line-highlight): Obey it.
7735
16f07dd7
CY
7736 * vc/vc.el (vc-revert-show-diff): Default to t.
7737
6b5ccddf
KM
77382011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7739
c9d29fb8
SM
7740 * allout-widgets.el (allout-widgets-post-command-business):
7741 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7742 undecorated when an isearch is continued past, and isearch
7743 automatically collapses them. This leads to "widget leaks", where
7744 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7745 hidden widgets can slow down cursor travel, substantially.
7746 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7747 so we're doing without this nicety.
7748
7749 (allout-widgets-tally-string): Don't try to do a hash-table-count
7750 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7751 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7752 *Messages* when allout-widgets-maintain-tally is t.
7753
355f2e07
MR
77542011-06-26 Martin Rudalics <rudalics@gmx.at>
7755
7756 * window.el (display-buffer-normalize-argument): Rename to
7757 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7758 LABEL argument. Respect special-display-function when popping up
7759 a new frame. Fix code searching for a window showing the buffer
7760 on another frame.
c9d29fb8
SM
7761 (display-buffer-normalize-specifiers):
7762 Call display-buffer-normalize-arguments.
355f2e07
MR
7763 (display-buffer-in-window): Don't undedicate the window if its
7764 buffer remains the same.
7765 Reported by Drew Adams <drew.adams@oracle.com>.
7766 (display-buffer-alist): Add choice for same-window macro
7767 specfier.
7768 (display-buffer): Mention special meaning of LABEL argument in
7769 doc-string. Fix quoting. Don't pop up a new frame even as
7770 fallback.
7771
7ca8fc42
JB
77722011-06-26 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7775 avoid deleting the current window in some cases (bug#8911).
7776
bc312254
AS
77772011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7778
7779 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7780 (Bug#8934)
7781
2db18f3f
LMI
77822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7783
c9d29fb8
SM
7784 * net/network-stream.el (network-stream-open-starttls):
7785 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7786 (network-stream-open-tls): Ditto.
7787
6302e0d3
LL
77882011-06-26 Leo Liu <sdl.web@gmail.com>
7789
7790 * register.el (registerv): New struct.
7791 (registerv-make): New function.
c9d29fb8
SM
7792 (jump-to-register, describe-register-1, insert-register):
7793 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7794 struct. (Bug#8415)
7795
5fdd4046
CY
77962011-06-26 Chong Yidong <cyd@stupidchicken.com>
7797
2afef60a
CY
7798 * vc/vc.el (vc-revert-show-diff): New defcustom.
7799 (vc-diff-internal): New arg specifying diff buffer.
7800 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7801 reuse an existing *vc-diff* buffer (Bug#8927).
7802
5fdd4046
CY
7803 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7804
e93db24a
GM
78052011-06-26 Glenn Morris <rgm@gnu.org>
7806
7807 * progmodes/f90.el (f90-critical-indent): New option.
7808 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7809 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7810 (f90-mode): Doc fix.
7811 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7812 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7813 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7814 (f90-match-end): Handle block, critical.
7815
eefff499
GM
78162011-06-25 Glenn Morris <rgm@gnu.org>
7817
f6ba4cc9
GM
7818 * calendar/diary-lib.el (diary-included-files): Doc fix.
7819 (diary-include-files): New function, extracted from
7820 diary-include-other-diary-files and diary-mark-included-diary-files.
7821 (diary-include-other-diary-files, diary-mark-included-diary-files):
7822 Just call diary-include-files.
7823 (diary-mark-entries): Reset diary-included-files on first call.
7824
16712304
GM
7825 * calendar/diary-lib.el (diary-mark-entries)
7826 (diary-mark-included-diary-files):
7827 Visit included diary-files in temp buffers.
7828
5d8e0d43
GM
7829 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7830 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7831 (f90-start-block-re, f90-imenu-generic-expression)
7832 (f90-looking-at-program-block-start, f90-no-block-limit):
7833 Add support for submodules.
7834
ccf7a5d5
GM
7835 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7836 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7837
11fdef7d 78382011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7839
7840 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7841 buffer-file-type before setting its value, to avoid disastrous
eefff499 7842 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7843
74f53697
JB
78442011-06-25 Juanma Barranquero <lekktu@gmail.com>
7845
7846 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7847
7848 * ses.el (ses-unload-function):
7849 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7850
7851 * proced.el (proced-unload-function):
7852 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7853
18a4ce5e
AR
78542011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7855
7856 * server.el (server-create-window-system-frame): Add parameters arg.
7857 (server-process-filter): Doc fix. Handle frame-parameters.
7858
519d22cc
JB
78592011-06-25 Juanma Barranquero <lekktu@gmail.com>
7860
7861 Fix bug#8730, bug#8781.
7862
7863 * loadhist.el (unload--set-major-mode): New function.
7864 (unload-feature): Use it.
7865
7866 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7867 (python-unload-function): New function.
7868
c206f5b0
SM
78692011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7872
f9ad64f3
GS
78732011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7874
7875 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7876 the candidates list.
7877
7d0da90e
JB
78782011-06-24 Juanma Barranquero <lekktu@gmail.com>
7879
7880 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7881
14b4e83d
RS
78822011-06-23 Richard Stallman <rms@gnu.org>
7883
7884 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7885 (rmail-variables): Set next-error-move-function.
7886 (rmail-what-message): Take argument POS.
7887 (rmail-next-error-move): New function.
7888
273d2baf
SM
78892011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7892 messages for adjacent non-terminals.
7893
56c2cc9a
RS
78942011-06-23 Richard Stallman <rms@gnu.org>
7895
7896 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7897 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7898 (rmail-start-mail): Don't specify use of rmail-mail-return;
7899 that's done by mail-bury now.
7900 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7901
d59eb518
MA
79022011-06-23 Michael Albinus <michael.albinus@gmx.de>
7903
7904 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7905 SIZE is a number.
7906
02cfc6d6
MR
79072011-06-23 Martin Rudalics <rudalics@gmx.at>
7908
7909 * window.el (get-lru-window, get-mru-window)
7910 (get-largest-window): Never return a minibuffer window.
7911 (display-buffer-pop-up-window): Fix a bug that could lead to
7912 reusing the minibuffer window.
7913 (display-buffer): Pass original specifier argument to
7914 display-buffer-function instead of the normalized one.
7915 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7916
4e323265
LL
79172011-06-22 Leo Liu <sdl.web@gmail.com>
7918
7919 * minibuffer.el (completing-read-function)
7920 (completing-read-default): Move from minibuf.c
7921
7a70468f
RS
79222011-06-22 Richard Stallman <rms@gnu.org>
7923
50718fc2
RS
7924 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7925 to Rmail even if not started by a special Rmail command.
7926
7a70468f
RS
7927 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7928 Copy the buffer currently showing just one message.
7929
297dde5a
RW
79302011-06-22 Roland Winkler <winkler@gnu.org>
7931
7932 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7933 (bibtex-clean-entry): First delete the old key so that a
7934 customized algorithm for generating the new key does not get
7935 confused by the old key.
7936 (bibtex-url): Obey regexp of first step.
7937 (bibtex-search-entries): Do not use add-to-list with local
7938 list-var.
7939
97bb1093
LMI
79402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7941
7942 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7943 stored a user name, then query for the password first, instead of
7944 waiting for SMTP to give an error message and the trying again.
7945
1c0f1a19
JD
79462011-06-22 Lawrence Mitchell <wence@gmx.li>
7947
7948 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7949 BUFFER in call-process.
7950
396f7c9d
LMI
79512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7952
7953 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7954 QUIT twice.
ddb7ffee
LMI
7955 (smtpmail-try-auth-methods): Require user name and password from
7956 auth-source.
396f7c9d 7957
8998d1b3
MR
79582011-06-22 Martin Rudalics <rudalics@gmx.at>
7959
7960 * window.el (display-buffer-default-specifiers)
7961 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7962 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7963 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7964
7965 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7966 (special-display-frame-alist, special-display-popup-frame):
7967 Remove duplicate declarations. These are now in window.el.
7968
4ea31e07
LMI
79692011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7970
c9d29fb8
SM
7971 * mail/smtpmail.el (smtpmail-via-smtp):
7972 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7973 server supports it. SMTP servers that support STARTTLS commonly
7974 require it.
7975
7976 * net/network-stream.el (network-stream-open-starttls): Support
7977 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7978 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7979
95f41d9a
LMI
7980 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7981 upgrades with `open-network-stream', and rely solely on
7982 auth-source for all credentials. Big changes throughout the file,
7983 but in particular:
c9d29fb8
SM
7984 (smtpmail-auth-credentials): Remove.
7985 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7986 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7987 MAIL FROM, too.
95f41d9a 7988
c9d29fb8
SM
7989 * net/network-stream.el (network-stream-open-starttls):
7990 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7991 STARTTLS.
7992 (auth-source): Require.
7993 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7994 (network-stream-certificate): Change cert-cert to cert and
7995 cert-key to key.
4ea31e07 7996
065ec2c7
MA
79972011-06-21 Michael Albinus <michael.albinus@gmx.de>
7998
7999 * net/tramp-cache.el (top): Don't load the persistency file when
8000 "emacs -Q" has been called.
8001
cd93b359
DR
80022011-06-21 Tim Harper <timcharper@gmail.com>
8003
d8e4b68b
JB
8004 * term/ns-win.el (ns-initialize-window-system):
8005 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8006 resource to NO as it is not yet supported by the NS port.
8007
ae9c0411
JB
80082011-06-21 Juanma Barranquero <lekktu@gmail.com>
8009
8010 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8011 (list-dynamic-libraries): ...not here.
8012
7f3f739f
LL
80132011-06-21 Leo Liu <sdl.web@gmail.com>
8014
8015 * subr.el (sha1): Implement sha1 using secure-hash.
8016
327c8fb1
MR
80172011-06-21 Martin Rudalics <rudalics@gmx.at>
8018
8019 * window.el (display-buffer-alist): In default value do not
8020 enforce searching a window on any but the selected frame.
8021 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8022 (display-buffer-select-window): Remove function.
8023 (display-buffer-in-window): When a window on another frame gets
8024 reused, do not select it any more but just raise its frame if
8025 necessary (Bug#8851) and (Bug#8856).
8026 (display-buffer-normalize-options): Handle pop-up-frames related
8027 options more faithfully.
8028 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8029 window if it is on another frame.
c9d29fb8
SM
8030 (display-buffer-alist, display-buffer-default-specifiers):
8031 Don't make new frame unsplittable by default.
9e9de014
MR
8032 (display-buffer-normalize-argument): Fix doc-string typo and use
8033 'same-frame-other-window instead of 'other-window when associating
8034 with display-buffer-macro-specifiers.
327c8fb1 8035
7cf3f556
VB
80362011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8037
8038 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8039 New functions.
8040 (5x5-mode-map, 5x5-mode-menu): Bind them.
8041 (5x5-draw-grid): Tweak the solver's rendering.
8042
60a406cf
SM
80432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8046 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8047
d8e4b68b 80482011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8049
8050 * menu-bar.el: Use function variable instead of switch-to-buffer.
8051 (menu-bar-select-buffer-function): New variable.
60a406cf 8052 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8053
478d6f95
SM
80542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8057 variable's status.
8058
ca530739
JD
80592011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8060
8061 * x-dnd.el (x-dnd-version-from-flags)
8062 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8063 and long as number (Bug#8899).
8064 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8065
bcd70d97
SM
80662011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8067
60a406cf 8068 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8069 (completion-try-completion, completion-all-completions): Compute the
8070 metadata argument if it's missing; make it optional (bug#8795).
8071
60a406cf 8072 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8073 (widget-complete): Use new :completion-function property.
8074 (widget-completions-at-point): New function.
8075 (default): Use :completion-function instead of :complete.
60a406cf
SM
8076 (widget-default-completions): Rename from widget-default-complete;
8077 Rewrite.
bcd70d97
SM
8078 (widget-string-complete, widget-file-complete, widget-color-complete):
8079 Remove functions.
8080 (file, symbol, function, variable, coding-system, color):
8081 * international/mule-cmds.el (default-input-method, charset)
8082 (language-info-custom-alist):
8083 * cus-edit.el (face): Use new property :completions.
8084
8085 * progmodes/pascal.el (pascal-completions-at-point): New function.
8086 (pascal-mode): Use it.
8087 (pascal-mode-map): Use completion-at-point.
8088 (pascal-toggle-completions): Make obsolete.
8089 (pascal-complete-word, pascal-show-completions):
8090 * progmodes/octave-mod.el (octave-complete-symbol):
8091 Redefine as obsolete alias.
8092 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8093 Signal absence of completion info for old Octave,
8094 (inferior-octave-complete): Redefine as obsolete alias.
8095 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8096 (meta-completions-at-point): Rename from meta-complete-symbol and
8097 adapt it for use on completion-at-point-functions.
8098 (meta-common-mode): Use it.
8099 (meta-looking-at-backward, meta-match-buffer): Remove.
8100 (meta-complete-symbol): Redefine as obsolete alias.
8101 (meta-common-mode-map): Use completion-at-point.
8102 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8103 (makefile-mode-map): Use completion-at-point.
8104 (makefile-completions-at-point): Rename from makefile-complete and
8105 adapt it for use on completion-at-point-functions.
8106 (makefile-mode): Use it.
8107 (makefile-complete): Redefine as obsolete alias.
8108
aebf69c8
DD
81092011-06-20 Deniz Dogan <deniz@dogan.se>
8110
8111 * net/rcirc.el: Delete trailing whitespaces once and for all.
8112
bfbbb27d
DC
81132011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8114
8115 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8116
d264a46b
CY
81172011-06-19 Chong Yidong <cyd@stupidchicken.com>
8118
4ca009e5
CY
8119 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8120
d264a46b
CY
8121 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8122
fbf5b3ce
MR
81232011-06-19 Martin Rudalics <rudalics@gmx.at>
8124
8125 * window.el (display-buffer-other-window-means-other-frame):
8126 Call display-buffer-normalize-alist.
8127 (display-buffer-normalize-specifiers-1): Rename to
8128 display-buffer-normalize-argument. New argument other-frame.
8129 Rewrite.
8130 (display-buffer-normalize-specifiers-2): Rename to
8131 display-buffer-normalize-options.
8132 (display-buffer-normalize-alist-1): New function.
8133 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8134 display-buffer-normalize-alist.
8135 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8136 (display-buffer-normalize-options-inhibit): New variable.
8137 (display-buffer-normalize-specifiers): Rewrite calling
8138 display-buffer-normalize-alist,
8139 display-buffer-normalize-argument, and
8140 display-buffer-normalize-options. Don't call the latter if
8141 display-buffer-normalize-options-inhibit is non-nil.
8142 (frame-auto-delete): New option.
8143 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8144 (window-list-no-nils, window-state-ignored-parameters)
8145 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8146 (window-state-put-1, window-state-put-2, window-state-put):
8147 New functions.
9a028c23
MR
8148 (display-buffer-normalize-options): Move special-display-p group
8149 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8150
6d10d800
CY
81512011-06-18 Chong Yidong <cyd@stupidchicken.com>
8152
6420d28b
CY
8153 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8154 groups (Bug#8776).
8155 (rx-submatch-n): New function.
8156 (rx): Document it.
8157
ddb8b596
CY
8158 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8159 (Bug#8768).
8160
8161 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8162
77080289
CY
8163 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8164
61dfb316
CY
8165 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8166 anytime existing face settings are present (Bug#8889).
8167
6d10d800
CY
8168 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8169 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8170 Remove unused argument.
8171
be3fb2b8
MR
81722011-06-18 Martin Rudalics <rudalics@gmx.at>
8173
bcd70d97
SM
8174 * window.el (display-buffer-default-specifiers):
8175 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8176 pop-up-window-min-width, and another reuse-window specifier
8177 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8178 (display-buffer-normalize-specifiers-2):
8179 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8180 pop-up-windows is unset. Add a reuse-window specifier for the
8181 case popping up a new window fails.
8182 (special-display-popup-frame): Remove double quoting.
28dec25a 8183 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8184
1c6d8c76
SM
81852011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8188 according to comint-completion-addsuffix.
8189
8190 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8191 (pcomplete-suffix-list): Mark as obsolete.
8192 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8193 pcomplete-seen in the closure.
8194 (pcomplete-comint-setup): Setup completion-at-point as well.
8195 (pcomplete--entries): New function.
8196 (pcomplete--env-regexp): New var.
8197 (pcomplete-entries): Rewrite to work with partial-completion and
8198 without relying on pcomplete-suffix-list.
8199 (pcomplete-pare-list): Remove, unused.
8200
25aef8b8
MR
82012011-06-17 Martin Rudalics <rudalics@gmx.at>
8202
8203 * window.el (display-buffer-alist): Set pop-up-window-min-height
8204 and pop-up-window-min-width in default value. Reported by
8205 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8206 other-window-means-other-frame.
8207 (display-buffer-macro-specifiers): Comment out entry for
8208 other-window specifier.
8209 (display-buffer-other-window-means-other-frame): New function.
8210 (display-buffer-normalize-specifiers-1): New arguments
8211 buffer-name and label. Treat other-window case specially.
8212 (display-buffer-normalize-specifiers-2): Treat other-window case
8213 specially.
8214 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8215 (display-buffer-normalize-specifiers):
8216 Call display-buffer-normalize-specifiers-3.
25aef8b8 8217
dbad4f69
MR
82182011-06-17 Martin Rudalics <rudalics@gmx.at>
8219
8220 * window.el (same-window-p): Fix two typos introduced when
8221 adding with-no-warnings.
d1067961
MR
8222 (display-buffer-normalize-specifiers-1): Don't check
8223 pop-up-frames for 'unset initialization.
8224 (display-buffer-normalize-specifiers-2): Major rewrite using
8225 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8226 (pop-up-frames, display-buffer-reuse-frames)
8227 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8228 Suggested by David Engster <deng@randomsample.de>.
8229 (even-window-heights): Initialize to 'unset.
8230 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8231 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8232 other window case.
dbad4f69 8233
9b9c9e3a
MR
82342011-06-16 Martin Rudalics <rudalics@gmx.at>
8235
bcd70d97
SM
8236 * window.el (display-buffer-normalize-specifiers-1):
8237 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8238 second argument of display-buffer (Bug#8865).
981d5c09
MR
8239 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8240 (switch-to-buffer-other-window-same-frame)
8241 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8242 Adams (Bug#8875).
9c2755e9
MR
8243 (display-buffer): Don't check noninteractive when calling
8244 display-buffer-pop-up-frame.
8245 (display-buffer-pop-up-frame): Never pop up a frame in
8246 noninteractive mode (Bug#8857).
67222e1d
MR
8247 (enlarge-window, shrink-window): Don't report an error when the
8248 window can't be resized as requested (Bug#8862).
9b9c9e3a 8249
2b75be67
SM
82502011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8251
9ffdd3ba
SM
8252 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8253
cb581a67
SM
8254 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8255
2b75be67
SM
8256 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8257
8c0e3589
AM
82582011-06-15 Alan Mackenzie <acm@muc.de>
8259
cb581a67
SM
8260 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8261 for declarators, disable knr checking to speed up for normal files.
8262 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8263
b96e6cde
LMI
82642011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
4bba86e6
LMI
8266 * net/network-stream.el (open-network-stream): Add the keyword
8267 :always-query-capabilities for the case where you want to force a
8268 `plain' network connection, but the protocol still requires the
8269 capabilitiy command (i.e., SMTP and EHLO).
8270
2b75be67 8271 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8272 consistency with other `-live-p' functions.
8273
efdcdbf8
SM
82742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * window.el (same-window-buffer-names, same-window-regexps)
8277 (special-display-frame-alist, special-display-popup-frame)
8278 (special-display-function, special-display-buffer-names)
8279 (special-display-regexps, pop-up-frame-alist)
8280 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8281 (pop-up-windows, split-window-preferred-function)
8282 (split-height-threshold, split-width-threshold, even-window-heights)
8283 (display-buffer-mark-dedicated): Don't encourage the use of
8284 display-buffer-alist from Elisp code.
8285
c5cde042
DN
82862011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8287
8288 * progmodes/python.el (python-mode): Derive from prog-mode.
8289 * progmodes/ps-mode.el (ps-mode):
8290 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8291 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8292 * progmodes/ld-script.el (ld-script-mode): Likewise.
8293
baa1c9ab
MR
82942011-06-15 Martin Rudalics <rudalics@gmx.at>
8295
8296 * window.el (display-buffer-alist): Trim default value to avoid
8297 popping up a new frame (Bug#8857) or reusing an arbitrary window
8298 on another frame.
8299 (display-buffer): Do not fall back on popping up a new frame in
8300 batch mode (Bug#8857).
8301
c5dd5a51
CY
83022011-06-14 Chong Yidong <cyd@stupidchicken.com>
8303
8304 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8305 (custom-theme-summary): New function.
8306 (customize-themes): Use it.
8307
d647b7c4
GM
83082011-06-13 Glenn Morris <rgm@gnu.org>
8309
8310 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8311
9481c002
MR
83122011-06-13 Martin Rudalics <rudalics@gmx.at>
8313
357f93d2
MR
8314 * help.el (help-window): Remove variable.
8315 (help-window-point-marker, temp-buffer-max-height)
8316 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8317 (help-print-return-message): Don't set help-window.
8318 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8319 (help-window-setup-finish): Remove.
8320 (help-window-display-message, help-window-setup)
8321 (with-help-window): Major rewrite based on new
8322 display-buffer-window variable.
8323
8324 * help-mode.el (help-mode-finish): Remove help-window related
8325 code.
8326
8327 * view.el (view-exits-all-viewing-windows): Remove reference to
8328 view-return-to-alist in doc-string.
8329 (view-return-to-alist): Make obsolete.
8330 (view-buffer): Call pop-to-buffer-same-window and remove
8331 undo-window code.
8332 (view-buffer-other-window): Call pop-to-buffer-other-window and
8333 simplify code. Ignore second argument.
8334 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8335 simplify code. Ignore second argument.
8336 (view-return-to-alist-update): Make obsolete.
8337 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8338 Rewrite using quit-restore window parameters.
2b75be67
SM
8339 (view-mode-exit): Rename second argument to EXIT-ONLY.
8340 Rewrite using quit-restore-window.
357f93d2
MR
8341 (View-exit, View-exit-and-edit, View-leave, View-quit)
8342 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8343 appropriate arguments.
8344 (view-end-message): Use quit-restore window parameter.
8345
9481c002
MR
8346 * window.el (display-buffer-function): Rewrite doc-string.
8347 (display-buffer-window, display-buffer-alist): New variables.
8348 (display-buffer-split-specifiers)
8349 (display-buffer-side-specifiers)
8350 (display-buffer-macro-specifiers): New constants.
8351 (display-buffer-even-window-sizes, display-buffer-set-height)
8352 (display-buffer-set-width, display-buffer-select-window)
8353 (display-buffer-in-window, display-buffer-reuse-window)
8354 (display-buffer-split-window-1, display-buffer-split-window)
8355 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8356 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8357 (display-buffer-in-side-window, normalize-buffer-to-display)
8358 (display-buffer-normalize-specifiers-1)
8359 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8360 (display-buffer-normalize-specifiers, display-buffer-frame):
8361 New functions.
9481c002
MR
8362 (display-buffer): Major rewrite.
8363 (display-buffer-other-window, display-buffer-other-frame)
8364 (pop-to-buffer, switch-to-buffer-other-window)
8365 (switch-to-buffer-other-frame): Rewrite.
8366 (display-buffer-same-window, display-buffer-same-frame)
8367 (display-buffer-same-frame-other-window)
8368 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8369 (pop-to-buffer-other-window)
8370 (pop-to-buffer-same-frame-other-window)
8371 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8372 (switch-to-buffer-other-window-same-frame): New functions.
8373 (same-window-p, special-display-p): Rewrite disabling warnings.
8374 Make obsolete.
8375 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8376 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8377 Make obsolete
8378 (same-window-buffer-names, same-window-regexps)
8379 (special-display-frame-alist, special-display-popup-frame)
8380 (special-display-function, special-display-buffer-names)
8381 (special-display-regexps, pop-up-frame-alist)
8382 (pop-up-frame-function, split-window-preferred-function)
8383 (split-height-threshold, split-width-threshold)
8384 (even-window-heights): Make obsolete.
8385
9db51aca
GM
83862011-06-12 Glenn Morris <rgm@gnu.org>
8387
8388 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8389 Misc simplifications.
9db51aca 8390
39cffb44
MR
83912011-06-12 Martin Rudalics <rudalics@gmx.at>
8392
8393 * window.el (window-safely-shrinkable-p): Restore function which
8394 was inadvertently removed in change from 2011-06-11. Declare as
8395 obsolete.
8396
2b75be67
SM
8397 * calendar/calendar.el (calendar-generate-window):
8398 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8399 window-safely-shrinkable-p.
8400
a8955be7
GM
84012011-06-12 Glenn Morris <rgm@gnu.org>
8402
8403 * progmodes/fortran.el (fortran-mode-syntax-table):
8404 * progmodes/f90.el (f90-mode-syntax-table):
8405 Set % to punctuation. (Bug#8820)
8406 (f90-find-tag-default): Remove, no longer needed.
8407
f0d4059d
DC
84082011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8409
8410 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8411
1100a63c
CY
84122011-06-11 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * image.el (image-animated-p): Return animation delay in seconds.
8415 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8416 (image-animate-timeout): Remove DELAY argument. Don't assume
8417 every subimage has the same delay; get it from image-animated-p.
8418 (image-animate): Caller changed.
8419
def722bf
MA
84202011-06-11 Michael Albinus <michael.albinus@gmx.de>
8421
8422 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8423 to ignored backtrace functions.
8424
0a2bb1a9
GM
84252011-06-11 Glenn Morris <rgm@gnu.org>
8426
8427 * calendar/appt.el (appt-disp-window-function): Doc fix.
8428 (appt-check): Handle overlapping appointments. (Bug#8337)
8429
6198ccd0
MR
84302011-06-11 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (window-tree-1, window-tree): New functions, moving
8433 the latter to window.el.
8434 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8435 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8436 (bw-refresh-edges): Remove.
8437 (balance-windows-1, balance-windows-2): New functions.
8438 (balance-windows): Rewrite in terms of window tree functions,
8439 balance-windows-1 and balance-windows-2.
8440 (bw-adjust-window): Remove.
8441 (balance-windows-area-adjust): New function with functionality of
8442 bw-adjust-window but using resize-window.
2b75be67
SM
8443 (set-window-text-height): Rewrite doc-string.
8444 Use normalize-live-window and resize-window.
8445 (enlarge-window-horizontally, shrink-window-horizontally):
8446 Rename argument to DELTA.
6198ccd0
MR
8447 (window-buffer-height): New function.
8448 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8449 Rewrite using new window resize routines.
2b75be67
SM
8450 (kill-buffer-and-window, mouse-autoselect-window-select):
8451 Use ignore-errors instead of condition-case.
6198ccd0
MR
8452 (quit-window): Call delete-frame instead of delete-windows-on
8453 for the only buffer on frame.
8454
9397e56f
MR
84552011-06-10 Martin Rudalics <rudalics@gmx.at>
8456
8457 * loadup.el (top-level): Load window before files for the sake
8458 of replace-buffer-in-windows.
8459
8460 * files.el (read-buffer-to-switch)
8461 (switch-to-buffer-other-window)
2b75be67
SM
8462 (switch-to-buffer-other-frame, display-buffer-other-frame):
8463 Move to window.el.
9397e56f
MR
8464
8465 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8466 (previous-buffer): Move to window.el.
8467
8468 * bindings.el (unbury-buffer): Move to window.el.
8469
8470 * window.el (delete-other-windows-vertically): Move after
8471 definition of delete-other-windows.
8472 (other-window, delete-windows-on, replace-buffer-in-windows):
8473 Move here from window.c.
8474 (record-window-buffer, unrecord-window-buffer)
8475 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8476 (switch-to-next-buffer): New functions.
8477 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8478 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8479 (previous-buffer): Move here from simple.el.
8480 Call switch-to-prev-buffer.
9397e56f
MR
8481 (bury-buffer): Move here from buffer.c. Switch to previous
8482 buffer when window cannot be deleted.
8483 (unbury-buffer): Move here from bindings.el.
8484 (ctl-x-map): Move binding for other-window from window.c to
8485 here.
8486 (read-buffer-to-switch, switch-to-buffer-other-window)
8487 (switch-to-buffer-other-frame): Move here from files.el.
8488 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8489 (switch-to-buffer): Move here from buffer.c.
8490 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8491
562dd5e9
MR
84922011-06-10 Martin Rudalics <rudalics@gmx.at>
8493
8494 * window.el (window-min-height, window-min-width): Move here
8495 from window.c. Add defcustoms and rewrite doc-strings.
8496 (resize-mini-window, resize-window): New functions.
8497 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8498 Move here from window.c.
8499 (maximize-window, minimize-window): New functions.
8500 (delete-window, delete-other-windows, split-window): Move here
8501 from window.c.
8502 (window-split-min-size): New function.
8503 (split-window-keep-point): Mention split-window-above-each-other
8504 instead of split-window-vertically.
2b75be67 8505 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8506 Rename split-window-vertically to split-window-above-each-other
8507 and provide defalias for old definition.
8508 (split-window-side-by-side, split-window-horizontally):
8509 Rename split-window-horizontally to split-window-side-by-side
8510 and provide defalias for the old definition.
562dd5e9
MR
8511 (ctl-x-map): Move bindings for delete-window,
8512 delete-other-windows and enlarge-window here from window.c.
8513 Replace bindings for split-window-vertically and
8514 split-window-horizontally by bindings for
8515 split-window-above-each-other and split-window-side-by-side.
8516
8517 * cus-start.el (all): Remove entries for window-min-height and
8518 window-min-width. Add entries for window-splits and
8519 window-nest.
8520
f0da764a
GM
85212011-06-09 Glenn Morris <rgm@gnu.org>
8522
80675c21
GM
8523 * calendar/appt.el (appt-mode-line): New function.
8524 (appt-check, appt-disp-window): Use it.
8525
f0da764a
GM
8526 * files.el (hack-one-local-variable-eval-safep):
8527 Allow minor-modes with explicit +/-1 arguments.
8528
59f623b7
TZ
85292011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8530
8531 * term/xterm.el (xterm): Add defgroup.
8532 (xterm-extra-capabilities): Add defcustom to supply known xterm
8533 capabilities, skip querying them, or query them (default).
8534 (terminal-init-xterm): Use it.
8535 (terminal-init-xterm-modify-other-keys): New function to set up
8536 modifyOtherKeys support to simplify `terminal-init-xterm'.
8537
9aab8e0d
MR
85382011-06-09 Martin Rudalics <rudalics@gmx.at>
8539
8540 * window.el (resize-window-reset, resize-window-reset-1)
8541 (resize-subwindows-skip-p, resize-subwindows-normal)
8542 (resize-subwindows, resize-other-windows, resize-this-window)
8543 (resize-root-window, resize-root-window-vertically)
8544 (window-deletable-p, window-or-subwindow-p)
8545 (frame-root-window-p): New functions.
8546
e8b08aee
GM
85472011-06-09 Glenn Morris <rgm@gnu.org>
8548
8549 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8550 (ange-ftp-get-files): Use it.
8551
254c37a5
AK
85522011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8553
8554 * mail/sendmail.el (mail-recover-1, mail-recover):
8555 * files.el (recover-file, recover-session):
8556 Handle dired-listing-switches not being just a single short option.
8557
35d7dbd3
GM
85582011-06-09 Glenn Morris <rgm@gnu.org>
8559
8560 * calendar/appt.el (appt-display-message, appt-disp-window):
8561 Handle lists of appointments.
8562
387522b2
MR
85632011-06-08 Martin Rudalics <rudalics@gmx.at>
8564
2b75be67
SM
8565 * window.el (one-window-p): Move down in code.
8566 Rewrite doc-string.
8567 (window-current-scroll-bars): Rewrite doc-string.
8568 Normalize live window argument.
387522b2
MR
8569 (walk-windows, get-window-with-predicate, count-windows):
8570 Rewrite doc-string. Use window-list-1.
8571 (window-in-direction-2, window-in-direction, get-mru-window):
8572 New functions.
8573
d8e4b68b 85742011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8575
8576 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8577 Doc fix (Bug#8713).
8578
85792011-06-08 Chong Yidong <cyd@stupidchicken.com>
8580
8581 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8582
85832011-06-08 Juanma Barranquero <lekktu@gmail.com>
8584
8585 * loadhist.el (unload-feature-special-hooks):
8586 Add `comint-output-filter-functions'.
8587
0de12c52
IK
85882011-06-08 Ivan Kanis <gnu@kanis.fr>
8589
8590 * calendar/appt.el (appt-check): Move some initializations into the let.
8591
f3d1777e
MR
85922011-06-08 Martin Rudalics <rudalics@gmx.at>
8593
8594 * window.el (window-height): Defalias to window-total-height.
8595 (window-width): Defalias to window-body-width.
8596
18af70d0
CY
85972011-06-07 Chong Yidong <cyd@stupidchicken.com>
8598
8599 * image-mode.el (image-toggle-animation): New command.
8600 (image-mode-map): Bind it to RET.
8601 (image-mode): Update message.
8602 (image-toggle-display-image): Avoid a spurious cache flush.
8603 (image-transform-rotation): Doc fix.
8604 (image-transform-properties): Return quickly in the normal case.
8605 (image-animate-loop): Rename from image-animate-max-time.
8606
2b75be67 8607 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8608 (create-animated-image): Remove unnecessary function.
8609 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8610 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8611 (image-animate-timer): Use car-safe.
8612 (image-animate-timeout): Rename argument.
8613
190b47e6
MR
86142011-06-07 Martin Rudalics <rudalics@gmx.at>
8615
8616 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8617 window.c. Rename first argument to ALL-FRAMES.
8618 Rephrase doc-strings.
8619 (get-buffer-window-list): Rewrite using window-list-1.
8620 Rephrase doc-string.
a1511caf
MR
8621 (window-safe-min-height, window-safe-min-width): New constants.
8622 (window-size-ignore, window-min-size, window-min-size-1)
8623 (window-sizable, window-sizable-p, window-size-fixed-1)
8624 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8625 (window-max-delta-1, window-max-delta, window-resizable)
8626 (window-resizable-p, window-total-height, window-total-width)
8627 (window-body-width): New functions.
8628 (window-full-height-p, window-full-width-p): Rewrite using
8629 window-total-size.
8630 (window-body-height): Rewrite using window-body-size.
190b47e6 8631
85cc1f11
MR
86322011-06-06 Martin Rudalics <rudalics@gmx.at>
8633
8634 * window.el (window-right, window-left, window-child)
8635 (window-child-count, window-last-child, window-any-p)
8636 (normalize-live-buffer, normalize-live-frame)
8637 (normalize-any-window, normalize-live-window)
8638 (window-iso-combination-p, window-iso-combined-p)
8639 (window-iso-combinations)
8640 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8641 (windows-with-parameter, window-with-parameter)
8642 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8643 (window-atom-check, window-side-check, window-check):
8644 New functions.
85cc1f11
MR
8645 (ignore-window-parameters, window-sides, window-sides-vertical)
8646 (window-sides-slots): New variables.
8647 (window-size-fixed): Move down in code. Minor doc-string fix.
8648
e7156492
AS
86492011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * comint.el (comint-dynamic-complete-as-filename)
8652 (comint-dynamic-complete-filename): Correctly call
8653 completion-in-region.
8654
7e821d0d
DD
86552011-06-05 Deniz Dogan <deniz@dogan.se>
8656
8657 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8658 in last change.
8659
ac09b8a1
DD
86602011-06-05 Deniz Dogan <deniz@dogan.se>
8661
8662 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8663 (rcirc): Use it to prompt for encryption.
8664
34699b85
RW
86652011-06-05 Roland Winkler <winkler@gnu.org>
8666
8667 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8668 (bibtex-search-entries): New command bound to C-c C-a.
8669 (bibtex-display-entries): New function.
8670
004dedd3
RW
86712011-06-05 Roland Winkler <winkler@gnu.org>
8672
8673 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8674 (bibtex-insert-kill): After yanking insert newline if necessary.
8675 (bibtex-initialize): Call bibtex-string-files-init only once.
8676 (bibtex-mode): Do not call easy-menu-add.
8677 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8678 (bibtex-yank): Set arg properly if nil.
8679
022fe7ce
RW
86802011-06-05 Roland Winkler <winkler@gnu.org>
8681
2b75be67
SM
8682 * textmodes/bibtex.el (bibtex-search-entry-globally):
8683 New variable.
022fe7ce
RW
8684 (bibtex-search-entry): Use it.
8685
b7c3692a
RW
86862011-06-05 Roland Winkler <winkler@gnu.org>
8687
8688 * textmodes/bibtex.el (bibtex-entry-format): New option
8689 sort-fields.
8690 (bibtex-format-entry, bibtex-reformat): Honor this option.
8691 (bibtex-parse-entry): Return fields in proper order.
8692
8eda563d
JB
86932011-06-05 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * doc-view.el (doc-view-remove-if): Move computation of result out
8696 of `dolist' to silence misleading lexical-binding warning.
8697
7dbe3dbc
CY
86982011-06-04 Chong Yidong <cyd@stupidchicken.com>
8699
8700 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8701 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8702
0c33dd17
MA
87032011-06-04 Michael Albinus <michael.albinus@gmx.de>
8704
8705 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8706 "SunOS 5.10".
8707
f8f91c2b
MA
87082011-06-04 Michael Albinus <michael.albinus@gmx.de>
8709
8710 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8711 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8712 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8713 (tramp-parse-putty):
8714 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8715 (tramp-completion-function-alist-ssh)
8716 (tramp-completion-function-alist-telnet)
8717 (tramp-completion-function-alist-su)
8718 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8719 cookie.
8720
8721 * net/tramp-ftp.el:
8722 * net/tramp-sh.el:
8723 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8724 load "tramp.el" `tramp-set-completion-function'.
8725
e17d9003
SM
87262011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * shell.el: Require and use pcomplete.
8729 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8730 (shell-completion-vars): Set pcomplete-default-completion-function.
8731
6c4cab03
DD
87322011-06-04 Deniz Dogan <deniz@dogan.se>
8733
8734 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8735 `memq' (Bug#8799).
8736
ea9fafe0
SM
87372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8740
b3e945d3
JB
87412011-06-02 Juanma Barranquero <lekktu@gmail.com>
8742
8743 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8744 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8745 * vc/log-view.el (log-view-beginning-of-defun):
8746 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8747 (smerge-refine-forward, smerge-refine-chopup-region):
8748 Silence warning for unused `dotimes' counter variables.
8749
7d520089
SM
87502011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * net/tramp.el (tramp-with-progress-reporter): Rename from
8753 with-progress-reporter. Use `declare'.
8754 * net/tramp-smb.el:
8755 * net/tramp-sh.el:
8756 * net/tramp-gvfs.el: Update all uses.
8757
a1c2400f
JB
87582011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8759
8760 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8761 buffer isn't killed before making it current.
8762
2403c841
SM
87632011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 Silence various byte-compiler warnings.
8766 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8767 `access-type' and new obsolescence format.
8768 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8769 new format.
8770 (byte-compile-check-variable): New `access-type' argument.
8771 Only warn if the access-type is obsolete.
8772 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8773 (byte-compile-variable-set): Adjust callers.
8774 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8775 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8776 setting it as obsolete.
8777 * simple.el (minibuffer-completing-symbol):
8778 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8779 access as obsolete.
8780 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8781 obsolete yet.
8782 * international/quail.el (quail-mouse-choose-completion): Remove unused
8783 code referring to obsolete var.
8784 (quail-choose-completion-string): Remove.
8785 * server.el (server-clients-with, server-kill-buffer-query-function)
8786 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8787 * proced.el (proced-send-signal):
8788 * emacs-lisp/lisp.el (lisp-complete-symbol):
8789 Replace completion-annotate-function with completion-extra-properties.
8790
2462470b
SM
87912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8792
fb5b2591
SM
8793 * simple.el (goto-line): Use read-number.
8794 (overriding-map-is-bound): Remove.
8795 (saved-overriding-map): Change default.
8796 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8797 Take the map as argument.
8798 (universal-argument, negative-argument, digit-argument): Use it.
8799 (restore-overriding-map): Adjust.
8800 (do-auto-fill): Use fill-forward-paragraph.
8801 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8802
fd6fa53f
SM
8803 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8804 (minibuffer-inactive-mode): New major mode.
8805 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8806 the *Messages* buffer" hack.
8807 (mouse-popup-menubar): Don't burp if the event is a normal key.
8808
2462470b
SM
8809 Miscellaneous tweaks.
8810 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8811 lexical scoping as in subr.el's dolist and dotimes.
8812 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8813 Silence compiler warning.
8814 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8815 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8816 * international/ccl.el (ccl-compile): Trivial simplification.
8817 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8818 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8819 `printflag' argument.
8820 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8821 Purecopy the whole obsolescence data.
8822
108bf785
LL
88232011-06-01 Leo Liu <sdl.web@gmail.com>
8824
8825 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8826 improve doc-string as suggested by Marco Pessotto
8827 <melmothx@gmail.com>.
8828 (rcirc-print): Fix last change.
8829
30a23501
SM
88302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * minibuffer.el (complete-with-action): Return nil for the metadata and
8833 boundaries of non-functional tables.
8834 (completion-table-dynamic): Return nil for the metadata.
8835 (completion-table-with-terminator): Add default case, using
8836 complete-with-action.
8837 (completion--metadata): New function.
8838 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8839 to try and avoid pathological performance problems.
8840 (completion--embedded-envvar-table): Return `category' metadata.
8841
bcd54f83
LMI
88422011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8843
8844 * subr.el (process-alive-p): New tiny convenience function.
8845
e227544d
SM
88462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8849 content but also its previous major mode.
8850
e8296fdc
HE
88512011-05-31 Helmut Eller <eller.helmut@gmail.com>
8852
4d61f28d 8853 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8854 *Backtrace* buffer when we exit with C-M-c.
8855
620c53a6
SM
88562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * minibuffer.el: Add metadata method to completion tables.
8859 (completion-category-overrides): New defcustom.
8860 (completion-metadata, completion--field-metadata)
8861 (completion-metadata-get, completion--styles)
8862 (completion--cycle-threshold): New functions.
8863 (completion-try-completion, completion-all-completions):
8864 Add `metadata' argument to choose completion-styles.
8865 (completion--do-completion): Use metadata to choose cycling.
8866 (completion-all-sorted-completions): Use metadata for sorting.
8867 Remove :completion-cycle-penalty which is not needed any more.
8868 (completion--try-word-completion): Add `metadata' argument.
8869 (minibuffer-completion-help): Check metadata for annotation function
8870 and sorting.
8871 (completion-file-name-table): Return `category' metadata.
8872 (minibuffer-completing-file-name): Make obsolete.
8873 * simple.el (minibuffer-completing-symbol): Make obsolete.
8874 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8875 completion-try-completion.
8876
1257e755
SM
88772011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8880
3767e706
LL
88812011-05-30 Leo Liu <sdl.web@gmail.com>
8882
8883 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8884 (rcirc-print): Decode all incoming messages (bug#8744).
8885 (rcirc-decode-coding-system): Allow value nil for automatic coding
8886 system detection.
3767e706 8887
d1a5d56a
GM
88882011-06-01 Glenn Morris <rgm@gnu.org>
8889
8890 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8891
e8cbec34
CY
88922011-05-29 Chong Yidong <cyd@stupidchicken.com>
8893
8894 * image.el (image-animate-max-time): Allow nil and t values.
8895 Default to nil.
8896 (create-animated-image): Doc fix.
8897 (image-animate-start): Remove second arg; just use
8898 image-animate-max-time.
8899 (image-animate-timeout): Doc fix. Args changed.
8900
8901 * image-mode.el (image-toggle-display-image): Ensure that the
8902 image spec passed to the animate timer is the same object as in
58179cce 8903 the buffer's display property (Bug#6981).
e8cbec34
CY
8904 (image-transform-properties): Doc fix.
8905
8906 * image.el (image-animate-max-time): Default to nil.
8907
159daf87
MR
89082011-05-29 Martin Rudalics <rudalics@gmx.at>
8909
8910 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8911 entire buffer list (Bug#8184).
8912
d66c4c7c
CY
89132011-05-29 Chong Yidong <cyd@stupidchicken.com>
8914
8915 * image.el (imagemagick-types-inhibit)
8916 (imagemagick-register-types): Doc fix.
8917
80aec780
DD
89182011-05-29 Deniz Dogan <deniz@dogan.se>
8919
8920 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8921 default.
8922
1dd3c2d9
CY
89232011-05-29 Chong Yidong <cyd@stupidchicken.com>
8924
8925 * select.el: Don't perform clipboard-manager saving in hooks;
8926 leave the hooks empty.
8927
60e56523
LL
89282011-05-28 Leo Liu <sdl.web@gmail.com>
8929
8930 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8931 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8932 (occur-edit-mode): New major mode (Bug#8463).
8933 (occur-after-change-function): New function.
8934 (occur-engine): Give Occur tags a read-only property.
8935
2b1e1a22
KR
89362011-05-28 Kevin Ryde <user42@zip.com.au>
8937
8938 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8939
5d344e88
CY
89402011-05-28 Chong Yidong <cyd@stupidchicken.com>
8941
8e6ca83d
CY
8942 * bindings.el (help-echo): Make the initial non-indicator dash
8943 empty on graphical terminals (Bug#7295).
8944
5d344e88
CY
8945 * files.el (auto-mode-alist): Move config rule after the
8946 in-stripping one (Bug#8547).
8947
bfbbace7
CY
8948 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8949
fbeba6e2
CY
8950 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8951 setting (Bug#8740).
8952
60ed8c72
AA
89532011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8954
4ac619f0
AA
8955 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8956 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8957 (Bug#8539).
60ed8c72 8958
23db196e
CY
89592011-05-28 Chong Yidong <cyd@stupidchicken.com>
8960
8961 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8962
5012f24c
DK
89632011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8964
8965 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8966 (hs-hide-block-at-point, hs-find-block-beginning)
8967 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8968 (Bug#8279).
8969
6a639b16
GM
89702011-05-28 Glenn Morris <rgm@gnu.org>
8971
8972 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8973
d43eaf2c
CY
89742011-05-28 Chong Yidong <cyd@stupidchicken.com>
8975
5199bde1
CY
8976 * help-fns.el (describe-function-1): If the function is a derived
8977 major mode, print the parent mode.
8978
d43eaf2c
CY
8979 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8980 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8981
423428a8
SM
89822011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8983
0ff8e1ba 8984 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8985 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8986 * progmodes/etags.el (tags-completion-at-point-function):
8987 * info-look.el (info-lookup-completions-at-point): Mark as
8988 non-exclusive.
8989 (info-complete): Adjust accordingly.
8990
423428a8
SM
8991 * info-look.el: Convert to lexical-binding and completion-at-point.
8992 (info-lookup-completions-at-point): New function.
8993 (info-complete): Use it and completion-in-region.
8994
b74aa22b
DA
89952011-05-28 Drew Adams <drew.adams@oracle.com>
8996
8997 * isearch.el: Let M-e start with point at the first mismatched char.
8998 (isearch-fail-pos): New function.
8999 (isearch-edit-string): Use it.
9000
66e2e71d
DK
90012011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9002
9003 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9004
b1890b0f 90052011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9006
9007 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9008 traversal functions for avl-trees.
9009 (avl-tree--stack): New struct.
9010 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9011 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9012 (avl-tree--do-enter): Add optional `updatefun' arg.
9013 Change return value.
eb95d01d 9014 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9015 (avl-tree--do-delete): Add `test' and `nilflag' args.
9016 Change return value.
eb95d01d
TC
9017 (avl-tree-member): Add optional `nilflag'
9018 (avl-tree-member-p): New function.
9019 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9020 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9021 (avl-tree-stack-empty-p): New functions.
9022
3769ddcf
TC
9023 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9024 avl-tree--del-balance1 and make it work both ways.
9025 (avl-tree--del-balance2): Remove.
9026 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9027 make it work both ways.
9028 (avl-tree--enter-balance2): Remove.
9029 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9030 New macros.
9031 (avl-tree--mapc, avl-tree-map): Add direction argument.
9032
eb95d01d 90332011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9034
9035 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9036
a9f737ee
CY
90372011-05-27 Chong Yidong <cyd@stupidchicken.com>
9038
9039 * select.el: Support clipboard managers with built-in function
9040 x-clipboard-manager-save, via delete-frame-functions and
9041 kill-emacs-hook.
9042 (xselect-convert-to-targets): Add MULTIPLE target to list.
9043 (xselect-convert-to-save-targets): New function.
9044
c92a1e54
KH
90452011-05-27 Kenichi Handa <handa@m17n.org>
9046
9047 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9048 let-binding rfc2047-encode-encoded-words to nil.
9049
e145f188
GM
90502011-05-27 Glenn Morris <rgm@gnu.org>
9051
5ec8a862
GM
9052 * mail/emacsbug.el: Don't require url-util.
9053
4b29d9fb
GM
9054 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9055
e145f188
GM
9056 * files.el (set-auto-mode):
9057 Also respect mode: entries at the end of the file. (Bug#8586)
9058
7d15102b
GM
90592011-05-26 Glenn Morris <rgm@gnu.org>
9060
98f593b8
GM
9061 * files.el (hack-local-variables-prop-line, hack-local-variables):
9062 Downcase mode names, as seems to be traditional.
27b48e63 9063 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9064
7d15102b
GM
9065 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9066 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9067
51d5b4ec
JD
90682011-05-25 Julien Danjou <julien@danjou.info>
9069
9070 * textmodes/rst.el (rst-define-level-faces): Do not define face
9071 symbol if it is already defined.
9072
91513f63
VB
90732011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9074
9075 * play/5x5.el (5x5-new-game, 5x5-randomize):
9076 Reset 5x5-solver-output to nil when a new grid is cast.
9077 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9078 these debugging traces, as defmacro breaks the compiled code.
9079
4d90d6d0
DK
90802011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9081
9082 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9083
e1b90ef6
LL
90842011-05-24 Leo Liu <sdl.web@gmail.com>
9085
9086 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9087 (vc-bzr-sha1): Adapt.
9088
d8e4b68b 9089 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9090
9091 * bindings.el: Provide sha1 feature.
9092
db0406bb 90932011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9094
9095 * mail/sendmail.el: Require `rfc2047'.
9096 (mail-insert-from-field): Do not perform RFC2047 encoding.
9097 (mail-encode-header): New function.
9098 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9099 buffer to the return value of select-message-coding-system.
9100 Call mail-encode-header.
b8d747b9
KH
9101
9102 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9103
db0406bb 91042011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9105
4d90d6d0
DK
9106 * mail/supercite.el (sc-default-cite-frame):
9107 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9108
eb8a5e9b
GM
91092011-05-24 Glenn Morris <rgm@gnu.org>
9110
f8630703
GM
9111 * progmodes/python.el (brm-menu): Declare.
9112
8831bbed
GM
9113 * emulation/viper.el (viper-set-hooks): Declare.
9114
eb8a5e9b
GM
9115 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9116 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9117 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9118 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9119 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9120 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9121
a2a25d24
SM
91222011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 Add an :exit-function for completion-at-point.
9125
9126 * minibuffer.el (completion--done): New fun.
9127 (completion--do-completion): Use it. New arg `expect-exact'.
9128 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9129 since completion--do-completion does it for us now.
9130 (minibuffer-force-complete): Use completion--done and
9131 completion--replace. Handle sole-completion case with more care.
9132 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9133 (completion-extra-properties): New var.
9134 (completion-annotate-function): Make obsolete.
9135 (minibuffer-completion-help): Adjust accordingly.
9136 Use completion-list-insert-choice-function.
9137 (completion-at-point, completion-help-at-point):
9138 Bind completion-extra-properties.
9139 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9140 * simple.el (completion-list-insert-choice-function): New var.
9141 (completion-setup-function): Preserve it.
9142 (choose-completion): Pay attention to it, shuffle the code a bit.
9143 (choose-completion-string): New arg `insert-function'.
9144
9145 * textmodes/bibtex.el: Convert to lexical binding.
9146 (bibtex-mode-map): Use completion-at-point.
9147 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9148 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9149 (bibtex-complete): Define as obsolete alias.
9150 (bibtex-complete-internal): Remove.
9151 (bibtex-format-entry): Remove unused sub-group in regexp.
9152 * shell.el (shell--command-completion-data)
9153 (shell-environment-variable-completion):
9154 * pcomplete.el (pcomplete-completions-at-point):
9155 * comint.el (comint--complete-file-name-data): Use :exit-function
9156 instead of completion-table-with-terminator so it also works for
9157 choose-completion.
9158
e44e373d
SM
91592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9160
4f91a816
SM
9161 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9162
782fc819
SM
9163 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9164 (bug#8710).
9165
e44e373d
SM
9166 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9167
381987c3
KM
91682011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9169
9170 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9171 customization variable and implement: If non-nil, auto-fill will
9172 be inhibited while on topic's header line.
9173
b776bc70
VB
91742011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9175
9176 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9177 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9178 always have a solution in grid size = 5 cases.
9179 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9180 (5x5-solver-output, 5x5-log-buffer): New vars.
9181 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9182 Make these variables buffer local to achieve 5x5 multi-session-ness.
9183 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9184 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9185 (5x5-solve-suggest): New funs.
9186 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9187 randomize a grid so that we ensure that there is always a solution.
9188 (5x5-make-random-grid): Allow other movement than flipping.
9189
7de88b6e
KR
91902011-05-23 Kevin Ryde <user42@zip.com.au>
9191
9192 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9193 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9194 advice and passes PREDICATE.
9195
b1ef1257
SM
91962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9197
bbca48fe
SM
9198 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9199 byte-compile-lambda if it's actually a lambda.
9200
b1ef1257
SM
9201 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9202 Fix function quoting. Use backquote better.
9203
92a9cc65
YS
92042011-05-22 Yuanle Song <sylecn@gmail.com>
9205
9206 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9207 matching (Bug#8516).
9208
f0fb8059
JA
92092011-01-22 Jari Aalto <jari.aalto@cante.net>
9210
9211 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9212 different face (Bug#8178).
9213
d5b44c93
CY
92142011-05-22 Chong Yidong <cyd@stupidchicken.com>
9215
9216 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9217 defface (Bug#8144).
9218
79106a44
SM
92192011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9c848d8a
SM
9221 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9222 funcall as well (bug#8712). Warn when performing those conversions.
9223 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9224
79106a44
SM
9225 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9226
88dfa756
GM
92272011-05-22 Glenn Morris <rgm@gnu.org>
9228
9229 * files.el (hack-local-variables-prop-line): Small simplifications.
9230 (hack-local-variables, hack-local-variables-prop-line):
9231 If MODE-ONLY, return the mode, rather than just `t'.
9232
b7cf2c79
SM
92332011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9236
3f1a8558
GM
92372011-05-21 Glenn Morris <rgm@gnu.org>
9238
7e4ccca3
GM
9239 * files.el (hack-local-variables-prop-line, hack-local-variables):
9240 If only interested in the mode, don't bother doing the other stuff.
9241
637d46ca
GM
9242 * image-mode.el (image-after-revert-hook):
9243 Redraw all frames on which the image is visible. (Bug#8567)
9244
973d955b
GM
9245 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9246
3f1a8558
GM
9247 * wid-edit.el (widget-checklist-match-inline):
9248 Fix 2011-04-19 change. (Bug#8649)
9249
96479927
SM
92502011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9251
1dcf791f
SM
9252 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9253 Also allow singlespace after single-letter capitals followed by a dot.
9254
96479927
SM
9255 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9256 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9257
35fd0881
N
92582011-05-20 Nix <nix@esperi.org.uk>
9259
9260 * files.el (basic-save-buffer-2):
9261 Fix handling of break-hardlink-on-save with non-existent files.
9262
82745640
DD
92632011-05-19 Deniz Dogan <deniz@dogan.se>
9264
9265 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9266 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9267
4a720484
GM
92682011-05-19 Glenn Morris <rgm@gnu.org>
9269
d1f21341
GM
9270 * progmodes/f90.el (f90-type-def-re):
9271 Handle "type, bind(c)". (Bug#8691)
9272
4a720484
GM
9273 * emacs-lisp/autoload.el (batch-update-autoloads):
9274 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9275
2fb0a219
MA
92762011-05-18 Michael Albinus <michael.albinus@gmx.de>
9277
9278 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9279 property for the correct connection in case of multihops.
9280
e565dd37
GM
92812011-05-18 Glenn Morris <rgm@gnu.org>
9282
c2571358 9283 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9284 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9285
e565dd37
GM
9286 Rationalize calendar handling of day and month abbrev-arrays.
9287 * calendar/calendar.el (calendar-customized-p): New function.
9288 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9289 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9290 Add :set function.
9291 (calendar-abbrev-length, calendar-day-abbrev-array)
9292 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9293 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9294 Elements may no longer be nil.
9295 (calendar-day-name, calendar-month-name):
9296 Update for changed nature of abbrev arrays.
9297 * calendar/diary-lib.el (diary-name-pattern):
9298 Update for changed nature of abbrev arrays.
9299 (diary-mark-entries-1): Update calendar-make-alist calls.
9300 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9301 * calendar/cal-html.el (cal-html-day-abbrev-array):
9302 Simply inherit from calendar-day-abbrev-array.
9303
1d99a745
SM
93042011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * progmodes/grep.el (grep-mode): Disable default
9307 compilation-directory-matcher setting (bug#8684).
9308
7c1d9aa0
MA
93092011-05-17 Michael Albinus <michael.albinus@gmx.de>
9310
9311 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9312 instead of "head" and "tail". There were problems with SunOS 5.9,
9313 and it performs better.
9314
3952e9d8
GM
93152011-05-17 Glenn Morris <rgm@gnu.org>
9316
2dd12e7f
GM
9317 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9318
e4157b9c
GM
9319 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9320 Replace obsolete function.
9321
8e249bbd
GM
9322 * shell.el (pcomplete-parse-arguments-function): Declare.
9323
3952e9d8
GM
9324 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9325 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9326 (appt-check): Doc fixes.
9327 (appt-disp-window-function, appt-delete-window-function):
9328 Remove needless special case in custom :type.
9329 (appt-display-count): Default to 0, not nil.
9330 (appt-check): Reset appt-display-count to 0, not nil.
9331
c71a0d48 93322011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9333
c71a0d48
GM
9334 * progmodes/python.el (python-font-lock-keywords):
9335 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9336
31d55be9
SM
93372011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9340
3bfacb2f
KR
93412011-05-16 Kevin Ryde <user42@zip.com.au>
9342
9343 * info-look.el (makefile-automake-mode): New setups, looking in
9344 automake manual, then makefile-mode.
9345 (makefile-mode): Remove automake manual, have it just in
9346 makefile-automake-mode since there's various things different or
9347 not relevant to plain make.
9348 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9349 believe a hypothetical automake-mode would go to makefile-mode,
9350 not the other way around.
9351
c8e83751
CY
93522011-05-15 Chong Yidong <cyd@stupidchicken.com>
9353
5e9e35cd
CY
9354 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9355 hunk-end tags (Bug#8672).
9356
c8e83751
CY
9357 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9358 vc-annotate-show-diff-revision-at-line (Bug#8671).
9359
50b23e5a
GM
93602011-05-14 Glenn Morris <rgm@gnu.org>
9361
7210a739
GM
9362 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9363 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9364 (change-log-font-lock-keywords): Also handle multiple author lines
9365 with leading tabs. (Bug#8644)
7210a739 9366
4691905a
GM
9367 * calendar/appt.el (appt-check): Rename some local variables.
9368 Some simplification/reordering.
9369
50b23e5a
GM
9370 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9371 (feedmail-sendmail-f-doesnt-sell-me-out)
9372 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9373 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9374 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9375 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9376 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9377 (feedmail-binmail-gnulinuxish-template):
9378 Rename from feedmail-binmail-linuxish-template.
9379 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9380 Use insert-buffer-substring.
9381
215cda7c
BC
93822011-05-14 Bill Carpenter <bill@carpenter.org>
9383
9384 * mail/feedmail.el (feedmail-patch-level): Increase.
9385 (feedmail-debug): New custom group.
9386 (feedmail-confirm-outgoing-timeout)
9387 (feedmail-sendmail-f-doesnt-sell-me-out)
9388 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9389 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9390 (feedmail-sender-line, feedmail-from-line)
9391 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9392 (feedmail-spray-this-address)
215cda7c
BC
9393 (feedmail-spray-address-fiddle-plex-list)
9394 (feedmail-queue-use-send-time-for-date)
9395 (feedmail-queue-use-send-time-for-message-id)
9396 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9397 (feedmail-buffer-eating-function):
9398 Doc fixes.
9399 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9400 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9401 (feedmail-message-action-scroll-down): New functions.
9402 (feedmail-queue-directory, feedmail-queue-draft-directory):
9403 Use expand-file-name.
9404 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9405 Remove C-v help entry.
9406 (feedmail-queue-buffer-file-name): New variable.
9407 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9408 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9409 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9410 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9411 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9412 (feedmail-message-action-toggle-spray)
9413 (feedmail-run-the-queue-no-prompts)
9414 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9415 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9416 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9417 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9418 (feedmail-envelope-deducer, feedmail-fiddle-from)
9419 (feedmail-fiddle-sender, feedmail-default-date-generator)
9420 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9421 (feedmail-fiddle-spray-address)
9422 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9423 (feedmail-fiddle-list-of-fiddle-plexes)
9424 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9425 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9426 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9427 Change default. Doc fix.
9428 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9429 (feedmail-binmail-linuxish-template): New constant.
9430 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9431 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9432 (feedmail-send-it): Add debug call.
9433 Use feedmail-queue-buffer-file-name, and
9434 feedmail-send-it-immediately-wrapper.
9435 (feedmail-message-action-send): Add debug call.
9436 Use feedmail-send-it-immediately-wrapper.
9437 (feedmail-queue-express-to-queue): Add debug call.
9438 Run feedmail-queue-express-hook.
9439 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9440 (feedmail-message-action-help-blat):
9441 Rename from feedmail-queue-send-edit-prompt-help-first.
9442 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9443 Check line-endings. Handle errors better.
9444 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9445 Doc fix. Add debug call.
9446 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9447 Use feedmail-queue-send-edit-prompt-inner.
9448 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9449 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9450 from feedmail-queue-send-edit-prompt.
9451 (feedmail-queue-send-edit-prompt-help)
9452 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9453 (feedmail-tidy-up-slug): Add debug call.
9454 Respect feedmail-queue-slug-suspect-regexp.
9455 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9456 (feedmail-dump-message-to-queue): Add debug call.
9457 Expand queue-directory.
9458 (feedmail-dump-message-to-queue): Change message slightly.
9459 Use feedmail-say-chatter.
9460 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9461 (feedmail-send-it-immediately-wrapper): New function.
9462 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9463 Insert empty string rather than newline. Handle full-frame case.
9464 Use catch/throw. Use feedmail-say-chatter.
9465 (feedmail-fiddle-from): Try mail-host-address.
9466 (feedmail-default-message-id-generator): Doc fix.
9467 Bind system-time-locale. Handle missing end.
9468 (feedmail-fiddle-x-mailer): Add debug call.
9469 Handle feedmail-x-mailer-line being nil.
9470 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9471 Add debug call. Use buffer-substring-no-properties.
9472 (feedmail-say-debug, feedmail-say-chatter): New functions.
9473 (feedmail-find-eoh): Give an explicit error.
9474
42c7e61e
UJ
94752011-05-13 Ulf Jasper <ulf.jasper@web.de>
9476
c2571358 9477 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9478 family from helvetica to sans.
c2571358 9479 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9480 etc/images/newsticker.
9481
c2571358 9482 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9483 family from helvetica to sans.
9484
9485 * net/newst-plainview.el (newsticker-new-item-face)
9486 (newsticker-old-item-face, newsticker-immortal-item-face)
9487 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9488 (newsticker-statistics-face): Change default family from
42c7e61e 9489 helvetica to sans.
c2571358 9490 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9491 etc/images/newsticker.
9492
9493 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9494 (newsticker--process-auto-mark-filter-match): : Tell user about
9495 auto-marking.
9496
8497a297
DV
94972011-05-13 Didier Verna <didier@xemacs.org>
9498
9499 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9500 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9501 TODO entries.
8497a297
DV
9502 (lisp-lambda-list-keyword-parameter-indentation)
9503 (lisp-lambda-list-keyword-parameter-alignment)
9504 (lisp-lambda-list-keyword-alignment): New customizable user options.
9505 (lisp-indent-defun-method): Improve docstring.
9506 (extended-loop-p): Fix comment.
9507 (lisp-indent-lambda-list-keywords-regexp): New variable.
9508 (lisp-indent-lambda-list): New function.
9509 (lisp-indent-259): Use it.
9510 (lisp-indent-defmethod): Support for more than one
9511 method qualifier and properly indent methods lambda-lists.
9512 (defgeneric): Provide a missing common-lisp-indent-function property.
9513
f278f87f
SM
95142011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9517 bounds for the empty string (bug#8667).
9518
5233edd7
GM
95192011-05-13 Glenn Morris <rgm@gnu.org>
9520
5237a44f
GM
9521 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9522
8340026c 9523 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9524 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9525
5233edd7 9526 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9527 (appt-time-msg-list): Doc fix.
a5464014 9528 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9529
92d10796
AS
95302011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9531
9532 * progmodes/ld-script.el (ld-script-keywords)
9533 (ld-script-builtins): Update keywords list.
9534
914a0ae1
SM
95352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9536
c89be45f
SM
9537 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9538
914a0ae1
SM
9539 * shell.el (shell-completion-vars): New function.
9540 (shell-mode):
9541 * simple.el (read-shell-command): Use it.
9542 (blink-matching-open): No need for " [...]" in minibuffer-message.
9543
98dc3df3
GM
95442011-05-12 Glenn Morris <rgm@gnu.org>
9545
9546 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9547 (appt-check): Simplify.
9548
d2fc7e3d 95492011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9550
4d61f28d 9551 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9552 literal "/dev/null".
9553
d2fc7e3d 95542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9555
9556 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9557 Fix typo.
9558
d2fc7e3d 95592011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9560
3f254caa
SM
9561 * progmodes/which-func.el (which-function):
9562 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9563 which might not be defined (Bug#8260).
9564
d45885f7
GM
95652011-05-12 Glenn Morris <rgm@gnu.org>
9566
9567 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9568 Let byte-compile-initial-macro-environment always take precedence.
9569
488086f4
SM
95702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * net/rcirc.el: Add support for SSL/TLS connections.
9573 (rcirc-server-alist): New field `encryption'.
9574 (rcirc): Check `encryption' settings.
9575 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9576 Merge make-local-variable into `set'.
9577 (rcirc--connection-open-p): New function.
9578 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9579 the process is not a network process (e.g. running gnutls-cli).
9580 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9581 Make rcirc-(en|de)code-coding-system local here.
9582 (rcirc-mode): Merge make-local-variable into `set'.
9583 (rcirc-parent-buffer): Make permanent buffer-local.
9584 (rcirc-multiline-minor-mode): Don't do it here.
9585 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9586 there's no server buffer.
9587
7d3b9d44
GM
95882011-05-11 Glenn Morris <rgm@gnu.org>
9589
f64049c6
GM
9590 * newcomment.el (comment-kill): Prefix "unused" local.
9591
93c9df73
GM
9592 * term/w32console.el (get-screen-color): Declare.
9593
7d3b9d44
GM
9594 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9595 Handle symbol elements of byte-compile-initial-macro-environment.
9596
9e2dd53f
LL
95972011-05-10 Leo Liu <sdl.web@gmail.com>
9598
488086f4
SM
9599 * bookmark.el (bookmark-bmenu-mode-map):
9600 Bind bookmark-bmenu-search to `/'.
8b340240 9601
9e2dd53f 9602 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9603 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9604 (Footnote-unicode): New function.
9605 (footnote-style-alist): Add unicode style to the list.
9606 (footnote-style): Doc fix.
9e2dd53f 9607
79b70037
GM
96082011-05-10 Jim Meyering <meyering@redhat.com>
9609
9610 Fix doubled-word typos.
9611 * international/quail.el (quail-insert-kbd-layout): and and -> and
9612 * kermit.el: and and -> and
9613 * net/ldap.el (ldap-search-internal): to to -> to
9614 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9615 * progmodes/js.el (js-mode): and and -> and
9616 * textmodes/artist.el (artist-move-to-xy): at at -> at
9617 (artist-draw-region-trim-line-endings): if if -> if
9618 And Safetyc -> Safety.
9619 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9620
b8f82dc1 96212011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9622 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9623
9624 * files.el (hack-one-local-variable-eval-safep):
9625 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9626
4f99f44b
GM
96272011-05-10 Glenn Morris <rgm@gnu.org>
9628
9629 * calendar/diary-lib.el (diary-list-entries-hook)
9630 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9631 (diary-nongregorian-marking-hook, diary-list-entries)
9632 (diary-include-other-diary-files, diary-mark-entries)
9633 (diary-mark-included-diary-files): Doc fixes.
9634
84f29e6b
JB
96352011-05-09 Juanma Barranquero <lekktu@gmail.com>
9636
9637 * misc.el: Require tabulated-list.el during compilation.
9638
9bedd73a
CY
96392011-05-09 Chong Yidong <cyd@stupidchicken.com>
9640
488086f4
SM
9641 * progmodes/compile.el (compilation-start):
9642 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9643 (compilation-filter-hook): Doc fix.
9644
797c735c
DD
96452011-05-09 Deniz Dogan <deniz@dogan.se>
9646
9647 * wdired.el: Remove outdated installation comment. Fix usage
9648 comment.
9649
5f4b1dfe
JB
96502011-05-09 Juanma Barranquero <lekktu@gmail.com>
9651
9652 * misc.el: Implement new command `list-dynamic-libraries'.
9653 (list-dynamic-libraries--loaded-only-p): New variable.
9654 (list-dynamic-libraries--refresh): New function.
9655 (list-dynamic-libraries): New command.
9656
4c44026c
CY
96572011-05-09 Chong Yidong <cyd@stupidchicken.com>
9658
488086f4
SM
9659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9660 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9661 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9662 higher priority to avoid clobbering by gnu.
9663
027f966d
CY
96642011-05-08 Chong Yidong <cyd@stupidchicken.com>
9665
9666 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9667 if the face has existing theme settings (Bug#8454).
9668
085f5d7d
CY
96692011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9670
488086f4
SM
9671 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9672 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9673
2a86a00c
RS
9674 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9675 special file names `.' and `..' (Bug#8259).
9676
d9c54a06
CY
96772011-05-08 Chong Yidong <cyd@stupidchicken.com>
9678
488086f4
SM
9679 * progmodes/grep.el (grep-mode-font-lock-keywords):
9680 Remove buffer-changing entries.
d9c54a06
CY
9681 (grep-filter): New function.
9682 (grep-mode): Add it to compilation-filter-hook.
9683
9684 * progmodes/compile.el (compilation-filter-hook)
9685 (compilation-filter-start): New defvars.
9686 (compilation-filter): Call compilation-filter-hook prior to
9687 updating the process mark.
9688
c4662635
SM
96892011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9692
b0512a1d
EZ
96932011-05-07 Eli Zaretskii <eliz@gnu.org>
9694
605c9376
EZ
9695 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9696 mailclient-send-it even if window-system is nil. (Bug#8595)
9697
c4662635
SM
9698 * term/w32console.el (terminal-init-w32console):
9699 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9700 background-mode. (Bug#8597)
9701
d1dc2cc2
SM
97022011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9705 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9706 New functions.
9707 (defgeneric, eieio--defmethod): Use them.
9708 (eieio-defgeneric): Remove.
9709 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9710
915d1300
GM
97112011-05-07 Glenn Morris <rgm@gnu.org>
9712
a3961c3e
GM
9713 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9714 Use let rather than let*.
9715 (timeclock-find-discrep): Remove unused local.
9716
314347b9
GM
9717 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9718
915d1300
GM
9719 * calendar/appt.el (appt-time-msg-list): Doc fix.
9720
275b59b0
NF
97212011-05-06 Noah Friedman <friedman@splode.com>
9722
9723 * apropos.el (apropos-print-doc): Only use
9724 emacs-lisp-docstring-fill-column when it is bound to an integer,
9725 per that variable's documentation.
9726
6c19f744
SM
97272011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9730 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9731
60f884b2
GM
97322011-05-06 Glenn Morris <rgm@gnu.org>
9733
5006e634
GM
9734 * calendar/appt.el (appt-message-warning-time): Doc fix.
9735 (appt-warning-time-regexp): New option.
9736 (appt-make-list): Respect appt-message-warning-time.
9737
548d0a63
GM
9738 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9739 New options.
9740 (diary-add-to-list): Strip comments from the displayed string.
9741 (diary-mode): Set comment-start and comment-end.
9742
60f884b2
GM
9743 * vc/diff-mode.el (smerge-refine-subst): Declare.
9744 (diff-refine-hunk): Don't require smerge-mode when compiling.
9745
989681bb
JB
97462011-05-06 Juanma Barranquero <lekktu@gmail.com>
9747
9748 * simple.el (list-processes): Return nil as the docstring says.
9749
a6bc05e1
MA
97502011-05-05 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9753 to "".
9754 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9755 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9756 determining of binary transfer. (Bug#7383)
9757
23c22e9a
MA
97582011-05-05 Michael Albinus <michael.albinus@gmx.de>
9759
c4662635
SM
9760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9761 Fix port computation bug. (Bug#8618)
23c22e9a 9762
0bff894f
GM
97632011-05-05 Glenn Morris <rgm@gnu.org>
9764
b8296902
GM
9765 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9766
1f522ce8
GM
9767 * simple.el (shell-dynamic-complete-functions)
9768 (comint-dynamic-complete-functions): Declare.
9769
cf5bee67
GM
9770 * net/network-stream.el (gnutls-negotiate):
9771 * simple.el (tabulated-list-print): Fix declarations.
9772
9773 * progmodes/gud.el (syntax-symbol, syntax-point):
9774 Remove unnecessary and incorrect declarations.
9775
0bff894f
GM
9776 * emacs-lisp/check-declare.el (check-declare-scan):
9777 Handle byte-compile-initial-macro-environment in bytecomp.el
9778
9869b3ae
SM
97792011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 Fix earlier half-done eieio-defmethod change (bug#8338).
9782 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9783 Streamline and change calling convention.
9784 (defmethod): Adjust accordingly and simplify.
9785 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9786 new eieio--defmethod.
9787 (slot-boundp): Minor CSE simplification.
9788
9c1d5ac5
MZ
97892011-05-05 Milan Zamazal <pdm@zamazal.org>
9790
9791 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9792 (glasses-make-readable): Use glasses-separate-capital-groups.
9793
455c834e
JB
97942011-05-05 Juanma Barranquero <lekktu@gmail.com>
9795
9796 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9797 (warning-series): Doc fix.
9798 (display-warning): Don't try to create the buffer if we just found it.
9799
9ed7c8cb
CY
98002011-05-04 Chong Yidong <cyd@stupidchicken.com>
9801
9802 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9803 (autoload-find-generated-file): New function.
9804 (generate-file-autoloads): Bind generated-autoload-file to
9805 buffer-file-name.
9869b3ae
SM
9806 (update-file-autoloads, update-directory-autoloads):
9807 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9808 output file (Bug#7989).
9809 (batch-update-autoloads): Doc fix.
9810
0898ca10
JB
98112011-05-04 Juanma Barranquero <lekktu@gmail.com>
9812
9813 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9814
31dfb76c
GM
98152011-05-04 Glenn Morris <rgm@gnu.org>
9816
f330b642
GM
9817 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9818 function, so it follows changes in calendar-date-style.
9819 (diary-fancy-date-matcher): New function.
9820 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9821 (diary-fancy-font-lock-fontify-region-function):
9822 Use diary-fancy-date-pattern as a function.
9823
31dfb76c
GM
9824 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9825 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9826
48e79d6a
TZ
98272011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9828
9829 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9830 instead of positional arguments. Allow :keylist and :crlfiles
9831 arguments.
9832 (open-gnutls-stream): Call it.
9833
9834 * net/network-stream.el (network-stream-open-starttls): Adjust to
9835 call `gnutls-negotiate' with :process and :hostname arguments.
9836
dd5a5ee0
SM
98372011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9838
ef80fc09
SM
9839 * minibuffer.el (completion--message): New function.
9840 (completion--do-completion, minibuffer-complete)
9841 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9842 (completion--do-completion): Don't ignore completion-auto-help when in
9843 icomplete-mode.
9844
dd5a5ee0
SM
9845 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9846 internal encoding (e.g. tibetan zero is not whitespace).
9847 (global-whitespace-mode): Prefer save-current-buffer.
9848 (whitespace-trailing-regexp): Remove useless save-match-data.
9849 (whitespace-empty-at-bob-regexp): Minor simplification.
9850
b7d22a83
CY
98512011-05-03 Chong Yidong <cyd@stupidchicken.com>
9852
9853 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9854
5192af46
AM
98552011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9856
9857 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9858 Use `concat' to create string for insertion.
5192af46 9859
5767d190
SM
98602011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9863 Avoid open-line which runs post-self-insert-hook.
9864 (bibtex-fill-entry): Remove unused `end' var.
9865
bf242939
AM
98662011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9867
5767d190
SM
9868 * textmodes/ispell.el (ispell-add-per-file-word-list):
9869 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9870
25666126
LL
98712011-05-03 Leo Liu <sdl.web@gmail.com>
9872
9873 * isearch.el (isearch-yank-pop): New command.
5767d190 9874 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9875 (isearch-forward): Mention it.
9876
52d3c2d0
SM
98772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9878
1bcace58
SM
9879 * simple.el (minibuffer-complete-shell-command): Remove.
9880 (minibuffer-local-shell-command-map): Use completion-at-point.
9881 (read-shell-command): Setup completion vars here instead.
9882 (read-expression-map): Bind TAB to symbol completion.
9883
52d3c2d0
SM
9884 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9885 error directly rather via storing it into `results'.
9886
35813471
LL
98872011-05-02 Leo Liu <sdl.web@gmail.com>
9888
9889 * vc/diff.el: Fix description.
9890
e793a940
LMI
98912011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9892
9893 * server.el (server-eval-at): New function.
9894
8de66e05
LMI
98952011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9896
9897 * net/network-stream.el (open-network-stream): Take a :nowait
9898 parameter and pass it on to `make-network-process'.
9899 (network-stream-open-plain): Ditto.
9900
dcb79f20
AS
99012011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9902
9903 * faces.el (face-spec-set-match-display): Don't match toolkit
9904 options on terminal frames.
9905
14a7fbd8
SM
99062011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9907
7eabc1be
SM
9908 * progmodes/pascal.el: Use lexical binding.
9909 (pascal-mode-map): Remove author preferences.
9910
14a7fbd8
SM
9911 * pcomplete.el (pcomplete-std-complete): Don't abuse
9912 completion-at-point.
9913
50f84510
JB
99142011-04-28 Juanma Barranquero <lekktu@gmail.com>
9915
6e087a44
JB
9916 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9917 removing code that has been dead since 1991 or so.
9918
50f84510
JB
9919 * startup.el (command-line): When warning about "_emacs", use a
9920 delayed warning to allow the user to filter it out.
9921
0ba690bd
DD
99222011-04-28 Deniz Dogan <deniz@dogan.se>
9923
9924 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9925 user has not joined.
9926
08abfaad
SM
99272011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9930 aren't any completions at point.
9931
638f053a
JB
99322011-04-28 Juanma Barranquero <lekktu@gmail.com>
9933
9934 * subr.el (display-delayed-warnings): New function.
9935 (delayed-warnings-hook): New variable.
9936
8fff8daa
SM
99372011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9938
08abfaad
SM
9939 * minibuffer.el (completion-at-point, completion-help-at-point):
9940 Don't presume that a given completion-at-point-function will always
9941 use the same calling convention.
9942
8fff8daa
SM
9943 * pcomplete.el (pcomplete-completions-at-point):
9944 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9945 pcomplete-seen is non-nil.
9946 (pcomplete-comint-setup): Also recognize the new comint/shell
9947 completion functions.
9948 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9949 pcomplete-seen is non-nil.
9950
841a1577 99512011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9952
841a1577 9953 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9954 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9955 the first character in the entry. This allows for code to add its
211ec907
UJ
9956 own uid to the entry.
9957 (icalendar--convert-float-to-ical): Add export of
9958 `diary-float'-entries save for those with the optional DAY
9959 argument.
9960
2a782793
DC
99612011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9962
9963 * subr.el (shell-quote-argument): Use alternate escaping strategy
9964 when we spot a variable reference in a string.
9965
0438ce91
DC
99662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9967
9968 * cus-start.el (all): Define customization for debug-on-event.
9969
841a1577 99702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9971
9972 * subr.el (shell-quote-argument): Escape correctly under Windows.
9973
d090ed6c
SM
99742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9977
bfd31217
MA
99782011-04-25 Michael Albinus <michael.albinus@gmx.de>
9979
d090ed6c
SM
9980 * net/tramp.el (tramp-process-actions): Add POS argument.
9981 Delete region between POS and (pos).
bfd31217 9982
d090ed6c
SM
9983 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9984 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9985 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9986
9987 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9988 position in `tramp-process-actions' call.
9989
9990 * net/trampver.el: Update release number.
9991
e92f3bd3
SM
99922011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9993
850256b5
SM
9994 * custom.el (defcustom): Obey lexical-binding.
9995
e92f3bd3
SM
9996 Fix octave-inf completion problems reported by Alexander Klimov.
9997 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9998 Inherit from octave-mode-syntax-table.
9999 (inferior-octave-mode): Set info-lookup-mode.
10000 (inferior-octave-completion-at-point): New function.
10001 (inferior-octave-complete): Use it and completion-in-region.
10002 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10003 comint-filename-completion.
10004 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10005 symbol elements which shouldn't be word elements.
10006 (octave-font-lock-keywords, octave-beginning-of-defun)
10007 (octave-function-header-regexp): Adjust regexps accordingly.
10008 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10009
cd22b309
JB
100102011-04-25 Juanma Barranquero <lekktu@gmail.com>
10011
10012 * net/gnutls.el (gnutls-errorp): Declare before first use.
10013
8b492194
TZ
100142011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10015
10016 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10017 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10018 default trustfile exists before going to use it. Add missing
5a5fa834 10019 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10020 Reported by Claudio Bley <claudio.bley@gmail.com>.
10021 (open-gnutls-stream): Add usage example.
10022
10023 * net/network-stream.el (network-stream-open-starttls): Give host
10024 parameter to `gnutls-negotiate'.
10025 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10026 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10027
841a1577 100282011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10029
cd22b309
JB
10030 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10031 Use correct match group (bug#8438).
05842630 10032
3ba7869c
CY
100332011-04-24 Chong Yidong <cyd@stupidchicken.com>
10034
512e3ae1
CY
10035 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10036 (package-menu--generate): New arg specifying packages to show.
10037 (package-menu-refresh, package-menu-execute, list-packages):
10038 Callers changed.
10039 (package-show-package-list): New function, replacing deleted
10040 package--list-packages (renamed because it is non-internal).
10041
10042 * finder.el (finder-list-matches): Use package-show-package-list
10043 instead of deleted package--list-packages.
10044
e92f3bd3
SM
10045 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10046 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10047 (vc-annotate-mode-map): Bind it to RET.
10048
7031be6d
UR
100492011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10050
10051 * progmodes/etags.el (next-file): Don't use set-buffer to change
10052 buffers (Bug#8478).
10053
4ef177aa
CY
100542011-04-24 Chong Yidong <cyd@stupidchicken.com>
10055
c8d173eb
CY
10056 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10057
4ef177aa
CY
10058 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10059 (apropos-accumulator): Doc fix.
10060 (apropos-function, apropos-macro, apropos-command)
10061 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10062 (apropos-plist): Add face property.
10063 (apropos-symbols-internal): Fix indentation.
10064 (apropos-print): Simplify help, and recognize apropos-multi-type.
10065 (apropos-print-doc): Use button-type-get to extract the button's
10066 face property. Fill docstring (Bug#8352).
10067
4ffd0d6b 100682011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10069
10070 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10071
c6c32125 10072 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10073 (mpuz-mode-map): Use mapc.
c6c32125
JB
10074 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10075 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10076 Fix typos in docstrings.
10077
58d468b4
JB
10078 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10079 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10080
6470c3c6
JB
10081 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10082
4ffd0d6b 100832011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10084
10085 * minibuffer.el (completion--do-completion): Avoid the "Next char
10086 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10087
3ad8bad0
CY
10088 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10089 mouse-2 into unread-command-events, it is interpreted correctly.
10090
71d73c9c 10091 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10092 (image-toggle-display): Doc fix.
71d73c9c 10093
841a1577 100942011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10095
4ffd0d6b
GM
10096 * textmodes/page.el (what-page): Use line-number-at-pos to
10097 calculate line number (Bug#6825).
6e1dbaa9 10098
c2fb1b60
JB
100992011-04-22 Juanma Barranquero <lekktu@gmail.com>
10100
10101 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10102 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10103 Pass argument NO-DEFAULT to `find-tag-interactive'.
10104
e02f48d7
JB
101052011-04-22 Juanma Barranquero <lekktu@gmail.com>
10106
10107 Lexical-binding cleanup.
10108
10109 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10110 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10111 * progmodes/ada-prj.el (ada-prj-initialize-values)
10112 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10113 (ada-prj-show-value):
10114 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10115 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10116 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10117 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10118 * progmodes/bug-reference.el (bug-reference-push-button):
10119 * progmodes/fortran.el (fortran-line-length):
10120 * progmodes/glasses.el (glasses-change):
10121 * progmodes/octave-mod.el (octave-fill-paragraph):
10122 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10123 (python-pdbtrack-grub-for-buffer, python-sentinel):
10124 * progmodes/sql.el (sql-save-connection):
10125 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10126 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10127 Mark unused parameters.
10128
10129 * progmodes/compile.el (compilation--flush-directory-cache)
10130 (compilation--flush-parse, compile-internal): Mark unused parameters.
10131 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10132 (compilation-next-error-function): Remove unused variable `timestamp'.
10133
10134 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10135 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10136
10137 * progmodes/dcl-mode.el (dcl-end-of-command):
10138 Remove unused variable `start'.
10139 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10140 (dcl-option-value-basic, dcl-option-value-offset)
10141 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10142 Mark unused parameters.
10143 (dcl-save-local-variable): Remove unused variable `val'.
10144 (mode): Declare.
10145
10146 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10147 Mark unused parameters.
10148 (delphi-ignore-changes): Move before first use.
10149 (delphi-charset-token-at): Remove unused variable `start'.
10150 (delphi-else-start): Remove unused variable `if-count'.
10151 (delphi-comment-block-start, delphi-comment-block-end):
10152 Remove unused variable `kind'.
10153 (delphi-indent-line): Remove unused variable `new-point'.
10154
10155 * progmodes/ebrowse.el (ebrowse-files-list)
10156 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10157 Mark unused parameters. Don't quote `lambda'.
10158 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10159 Don't quote `lambda'.
10160 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10161 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10162 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10163 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10164 Use `ignore-errors'.
10165 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10166 (ebrowse-view/find-file-and-search-pattern)
10167 (ebrowse-view/find-member-declaration/definition):
10168 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10169 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10170 Rename parameter PREFIX-ARG to PREFIX.
10171 (ebrowse-tags-read-name): Remove unused variables `start' and
10172 `member-info'.
10173 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10174 to `tags-file'.
10175
10176 * progmodes/etags.el (local-find-tag-hook): Declare.
10177 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10178 Mark unused parameters.
10179
10180 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10181 (executable-interpret): Mark unused parameter.
10182
10183 * progmodes/flymake.el (flymake-process-sentinel)
10184 (flymake-after-change-function)
10185 (flymake-create-temp-with-folder-structure)
10186 (flymake-get-include-dirs-dot): Mark unused parameters.
10187 (flymake-safe-delete-directory): Remove unused variable `err'.
10188
10189 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10190 (speedbar-timer-fn, speedbar-line-text)
10191 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10192 (speedbar-center-buffer-smartly): Declare functions.
10193 (gdb-find-watch-expression): Remove unused variable `array'.
10194 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10195 (gdb-starting): Mark unused parameters.
10196 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10197 (gdb-table-string): Remove unused variable `res'.
10198 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10199 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10200 (gdb-display-buffer): Remove unused variable `cur-size'.
10201
10202 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10203 allow lexical-binding compilation.
10204 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10205 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10206 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10207 Mark unused parameters.
10208 (gud-gdb-marker-filter): Remove unused variable `match'.
10209 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10210 lambda expressions and funcall them, instead of using `fset'.
10211
10212 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10213 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10214
10215 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10216 variable `header-beg'; use `let'.
10217
10218 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10219 `restart', `last-sexp' and `at-do'.
10220
10221 * progmodes/js.el (js--debug): Mark unused parameter.
10222 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10223 (js--splice-into-items): Remove unused variable `item'.
10224 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10225
10226 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10227 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10228 (makefile-complete): Remove unused variable `try'.
10229 (makefile-fill-paragraph, makefile-match-function-end):
10230 Mark unused parameters.
10231
10232 * progmodes/octave-inf.el (inferior-octave-complete):
10233 Remove unused variable `proc'.
10234 (inferior-octave-output-digest): Mark unused parameter.
10235
10236 * progmodes/perl-mode.el (perl-calculate-indent):
10237 Remove unused variable `err'.
10238
10239 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10240 (prolog-indent-line): Mark unused parameters.
10241 (prolog-indent-line): Remove unused variable `beg'.
10242
10243 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10244 (reporter-dont-compact-list): Declare.
10245
10246 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10247 Remove unused variable `char'.
10248 (sh-debug): Mark unused parameter.
10249 (sh-get-indent-info): Remove unused variable `start'.
10250 (sh-calculate-indent): Remove unused variable `var'.
10251
10252 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10253 (simula-electric-keyword): Remove unused variable `null'.
10254 (simula-search-backward, simula-search-forward): Remove unused
10255 variables `begin' and `end'.
10256
10257 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10258 Remove unused variable `pos'.
10259 (vera-electric-tab, vera-comment-uncomment-region):
10260 Mark unused parameters.
10261 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10262
7ede3b65
CY
102632011-04-22 Chong Yidong <cyd@stupidchicken.com>
10264
10265 * emacs-lisp/package.el (package--builtins, package-alist)
10266 (package-load-descriptor, package-built-in-p, package-activate)
10267 (define-package, package-installed-p)
10268 (package-compute-transaction, package-buffer-info)
10269 (package--push): Doc fix. Distinguish more clearly between
10270 version strings and version lists.
10271
121656e9
JB
102722011-04-21 Juanma Barranquero <lekktu@gmail.com>
10273
10274 Lexical-binding cleanup.
10275
10276 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10277 (5x5-make-mutate-best):
10278 * play/fortune.el (fortune-in-buffer):
10279 * play/gomoku.el (gomoku-init-display):
10280 * play/solitaire.el (solitaire, solitaire-do-check):
10281 * play/tetris.el (tetris-default-update-speed-function):
10282 Mark unused parameters.
10283
10284 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10285 (bubbles--shift): Remove unused variable `char-org'.
10286 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10287 (bubbles--show-images): Remove unused variable `char'.
10288
10289 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10290 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10291 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10292 (decipher-analyze-buffer): Use ?\s.
10293 (decipher-make-checkpoint): Remove unused variable `mapping'.
10294
10295 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10296
10297 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10298 Remove unused variable `result'; use `let'.
10299
10300 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10301 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10302 (gametree-children-shown-p, gametree-compute-reduced-score):
10303 Use `ignore-errors'.
10304
10305 * play/handwrite.el (ps-lpr-switches): Declare.
10306 (handwrite): Remove unused variables `pmin' and `lastp'.
10307
10308 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10309
10310 * play/landmark.el (landmark-init-display)
10311 (landmark-update-naught-weights): Mark unused parameters.
10312 (landmark-y): Remove unused variable `noise'. Simplify.
10313 (landmark-human-plays): Remove unused variable `score'.
10314
10315 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10316 (mpuz-try-proposal): Remove unused variable `game'.
10317
10318 * play/zone.el (life-patterns): Declare.
10319
80f499c7
JB
103202011-04-20 Juanma Barranquero <lekktu@gmail.com>
10321
10322 * vc/vc.el (ediff-vc-internal): Declare function.
10323
024ff170
SM
103242011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10325
c0a193ea
SM
10326 * shell.el: Use lexical-binding and std completion UI.
10327 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10328 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10329 comint-preoutput-filter-functions rather than on
10330 comint-output-filter-functions.
10331 (shell-command-completion, shell--command-completion-data)
10332 (shell-filename-completion, shell-environment-variable-completion)
10333 (shell-c-a-p-replace-by-expanded-directory): New functions.
10334 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10335 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10336 (shell-dynamic-complete-environment-variable): Use them.
10337 (shell-dynamic-complete-as-environment-variable)
10338 (shell-dynamic-complete-as-command): Remove.
10339 (shell-match-partial-variable): Match past point.
10340 * comint.el: Clean up use of completion-at-point-functions.
10341 (comint-completion-at-point): New function.
10342 (comint-mode): Use it completion-at-point-functions.
10343 (comint-dynamic-complete): Make it obsolete.
10344 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10345 (comint-c-a-p-replace-by-expanded-history): New function.
10346 (comint-dynamic-complete-functions)
10347 (comint-replace-by-expanded-history): Use it.
10348 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10349 termination strings. Try harder to avoid second try-completion.
10350 (completion-in-region-mode-map): Disable bindings that don't work yet.
10351
2dbaa080
SM
10352 * comint.el: Use lexical-binding. Require CL.
10353 (comint-dynamic-complete-functions): Use comint-filename-completion.
10354 (comint-completion-addsuffix): Tweak custom type.
10355 (comint-filename-completion, comint--common-suffix)
10356 (comint--common-quoted-suffix, comint--table-subvert)
10357 (comint--complete-file-name-data): New functions.
10358 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10359 (comint-dynamic-list-filename-completions): Use them.
10360 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10361
2dbaa080
SM
10362 * minibuffer.el (completion-in-region-mode):
10363 Keep completion-in-region-mode--predicate global.
10364 (completion-in-region--postch):
10365 Assume completion-in-region-mode--predicate is not null.
10366
c79a6f38
SM
10367 * progmodes/flymake.el (flymake-start-syntax-check-process):
10368 Obey `dir'. Simplify.
10369
024ff170
SM
10370 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10371 we're in VC after all.
10372
1c6c854e
CS
103732011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10374
10375 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10376 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10377 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10378
bed7f140
SM
103792011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10380
332e62ab
SM
10381 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10382 add sanity check.
10383
bed7f140
SM
10384 * obsolete/erc-hecomplete.el: Make obsolete.
10385 * obsolete/: Standardize obsolescence info in the header.
10386
f195c582
GM
103872011-04-20 Glenn Morris <rgm@gnu.org>
10388
10389 * calendar/solar.el (solar-horizontal-coordinates):
10390 Use the longitude argument rather than `calendar-longitude'.
10391 (solar-date-next-longitude): Remove unused locals.
10392
cb79b8c0
VJL
103932011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10394
10395 * whitespace.el: New version 13.2.1.
10396
103972011-04-20 felix <EmacsWiki> (tiny change)
10398
d8e4b68b 10399 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10400 switching between major modes on a file.
10401
602ea69d
SM
104022011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10405 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10406 multi-line comments as well.
10407
06b60517
JB
104082011-04-19 Juanma Barranquero <lekktu@gmail.com>
10409
10410 Lexical-binding cleanup.
10411
10412 * arc-mode.el (archive-mode-revert):
10413 * cmuscheme.el (scheme-interactively-start-process):
10414 * custom.el (custom-initialize-delay):
10415 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10416 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10417 * emacs-lock.el (emacs-lock-clear-sentinel):
10418 * ezimage.el (defezimage):
10419 * follow.el (follow-avoid-tail-recenter):
10420 * fringe.el (set-fringe-mode-1):
10421 * generic-x.el (bat-generic-mode-compile):
10422 * help-mode.el (help-info-variable, help-do-xref)
10423 (help-mode-revert-buffer):
10424 * help.el (view-emacs-todo):
10425 * iswitchb.el (iswitchb-completion-help):
10426 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10427 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10428 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10429 * locate.el (locate-update):
10430 * longlines.el (longlines-encode-region)
10431 (longlines-after-change-function):
10432 * outline.el (outline-isearch-open-invisible):
10433 * ps-def.el (declare-function, charset-dimension, char-width)
10434 (encode-char):
10435 * ps-mule.el (ps-mule-plot-string):
10436 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10437 (recentf-edit-list-select, recentf-edit-list-validate)
10438 (recentf-open-files-action):
10439 * rect.el (delete-whitespace-rectangle-line)
10440 (rectangle-number-line-callback):
10441 * register.el (window-configuration-to-register)
10442 (frame-configuration-to-register):
10443 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10444 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10445 (xselect-convert-to-targets, xselect-convert-to-delete)
10446 (xselect-convert-to-filename, xselect-convert-to-charpos)
10447 (xselect-convert-to-lineno, xselect-convert-to-colno)
10448 (xselect-convert-to-os, xselect-convert-to-host)
10449 (xselect-convert-to-user, xselect-convert-to-class)
10450 (xselect-convert-to-name, xselect-convert-to-integer)
10451 (xselect-convert-to-atom, xselect-convert-to-identity):
10452 * subr.el (declare, ignore, process-kill-without-query)
10453 (text-clone-maintain):
10454 * terminal.el (te-get-char, te-tic-sentinel):
10455 * tool-bar.el (tool-bar-make-keymap):
10456 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10457 * type-break.el (type-break-mode, type-break-noninteractive-query):
10458 * view.el (View-back-to-mark):
10459 * wid-browse.el (widget-browse-action, widget-browse-widget)
10460 (widget-browse-widgets, widget-browse-sexp):
10461 * widget.el (define-widget-keywords):
10462 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10463 Mark unused parameters.
10464
10465 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10466 (align-areas): Remove unused variable `look'.
10467 (align-region): Remove unused variables `real-end' and `pos-list'.
10468
10469 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10470
10471 * bindings.el (mode-line-modified, mode-line-remote):
10472 Mark unused parameters.
10473 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10474
10475 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10476 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10477
10478 * comint.el (comint-history-isearch-pop-state)
10479 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10480 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10481 (comint-substitute-in-file-name): Doc fix.
10482
10483 * completion.el (cmpl-statistics-block): Mark unused parameter.
10484 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10485 (save-completions-to-file, load-completions-from-file):
10486 Remove unused local variable `e'.
10487
10488 * composite.el (compose-chars): Remove unused variable `len'.
10489 (lgstring-insert-glyph): Remove unused variable `g'.
10490 (compose-glyph-string): Remove unused variables `ascent',
10491 `descent', `lbearing' and `rbearing'.
10492 (compose-glyph-string-relative): Remove unused variables
10493 `lbearing', `rbearing' and `wadjust'.
10494 (compose-gstring-for-graphic): Remove unused variables `header',
10495 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10496 (compose-gstring-for-terminal): Remove unused variables `header'
10497 and `nchars'. Use `let', not `let*'.
10498
10499 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10500 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10501 (Custom-buffer-done, custom-buffer-create-internal)
10502 (custom-browse-visibility-action, custom-browse-group-tag-action)
10503 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10504 (widget-magic-mouse-down-action, custom-toggle-parent)
10505 (custom-add-parent-links, custom-toggle-hide-variable)
10506 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10507 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10508 (custom-face-menu-create, custom-variable-menu-create, get)
10509 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10510 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10511 (customize-apropos): Remove unused variable `tests'.
10512 (custom-group-value-create): Remove unused variable `hidden-p'.
10513 (sort-fold-case): Declare.
10514
10515 * cus-theme.el (custom-reset-standard-faces-list)
10516 (custom-reset-standard-variables-list): Declare.
10517 (customize-create-theme, custom-theme-revert, custom-theme-write)
10518 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10519 Mark unused parameters.
10520
10521 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10522
10523 * delim-col.el (delimit-columns-max): Move defvar before first use.
10524
10525 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10526 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10527
10528 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10529 (auto-insert): Declare.
10530 (desktop-restore-file-buffer): Rename desktop-* parameters;
10531 mark unused ones.
10532 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10533 (desktop-buffer): Rename desktop-* parameters.
10534
10535 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10536 (dframe-reposition-frame-xemacs, dframe-help-echo)
10537 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10538 Mark unused parameters.
10539
10540 * dired-aux.el (backup-extract-version-start, overwrite-query)
10541 (overwrite-backup-query, rename-regexp-query)
10542 (rename-non-directory-query): Declare.
10543 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10544 (dired-add-entry): Remove unused variable `orig-file-name'.
10545 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10546 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10547 `dired-copy-preserve-time' directly.
10548 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10549 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10550
10551 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10552 (dired-virtual-revert, dired-make-relative-symlink):
10553 Mark unused parameters.
10554 (manual-program): Declare.
10555 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10556 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10557 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10558
10559 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10560
10561 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10562
10563 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10564 Declare.
10565
10566 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10567
10568 * electric.el (Electric-command-loop): Rename parameter
10569 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10570
10571 * expand.el (expand-in-literal): Remove unused variable `here'.
10572
10573 * facemenu.el (facemenu-add-new-color):
10574 Remove unused variable `docstring'.
10575
10576 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10577 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10578 (face-attr-construct): Mark unused parameter. Doc fix.
10579 (read-color): Remove unused variable `hex-string'.
10580
10581 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10582 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10583 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10584 (display-buffer-other-frame): Remove unused variable `old-window'.
10585 (kill-buffer-hook): Declare.
10586 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10587 Mark unused parameters.
10588 (after-find-file): Pass 1 to `auto-save-mode', not t.
10589
10590 * files-x.el (auto-insert): Declare.
10591 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10592
10593 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10594 variable `buf'. Mark unused parameter.
06b60517
JB
10595 (find-lisp-insert-directory): Mark unused parameter.
10596
10597 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10598 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10599 (format-common-tail): Remove, unused.
10600 (format-deannotate-region): Remove unused variable `loc'.
10601 (format-annotate-region): Remove unused variable `p'.
10602 (format-annotate-single-property-change): Remove unused variables
10603 `default' and `tail'.
10604
10605 * forms.el (read-file-filter): Declare.
10606 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10607
10608 * frame.el (frame-creation-function-alist): Mark unused parameter.
10609 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10610
10611 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10612 Remove unused parameters.
10613 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10614 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10615
10616 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10617 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10618 (hfy-prepare-tag-map): Mark unused parameters.
10619 (htmlfontify-buffer): Use `called-interactively-p'.
10620
10621 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10622 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10623 (ibuffer-do-occur): Mark unused parameters.
10624 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10625 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10626
10627 * ibuffer.el: Don't quote `lambda'.
10628 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10629 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10630 Mark unused parameters.
10631
10632 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10633 (ido-completing-read): Mark unused parameters.
10634 (ido-copy-current-word): Mark unused parameters;
10635 remove unused variable `name'.
10636 (ido-sort-merged-list): Remove unused parameter `dirs'.
10637
10638 * ielm.el (ielm-input-sender): Mark unused parameter.
10639 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10640 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10641 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10642 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10643 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10644
10645 * image-dired.el (image-dired-display-thumbs): Remove unused
10646 variables `curr-file' and `count'.
10647 (image-dired-remove-tag): Remove unused variable `start'.
10648 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10649 variable `curr-file'
10650 (image-dired-rotate-original): Remove unused variable `temp-file'.
10651 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10652 Remove unused variable `file'.
10653 (image-dired-gallery-generate): Remove unused variable `curr'.
10654 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10655
10656 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10657
10658 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10659
10660 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10661
10662 * isearch.el (minibuffer-history-symbol): Declare.
10663 (isearch-edit-string): Remove unused variable `err'.
10664 (isearch-message-prefix, isearch-message-suffix):
10665 Mark unused parameters.
10666
10667 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10668
10669 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10670
10671 * makesum.el (double-column): Remove unused variable `cnt'.
10672
10673 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10674 (ido-ignore-item-temp-list): Declare.
10675
10676 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10677 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10678 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10679 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10680 `mouse-col-delta'.
10681
10682 * mouse-sel.el (mouse-extend-internal):
10683 Remove unused variable `orig-window-frame'.
10684
10685 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10686 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10687 Move declarations before first use.
10688 (pcomplete-opt): Mark unused parameters; doc fix.
10689
10690 * proced.el (proced-revert): Mark unused parameter.
10691 (proced-send-signal): Remove unused variable `err'.
10692
10693 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10694 Rename parameter PREFIX-ARG to ARG.
10695 (ps-basic-plot-string, ps-basic-plot-whitespace):
10696 Mark unused parameters.
10697
10698 * replace.el (replace-count): Define.
10699 (occur-revert-function): Mark unused parameters.
10700 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10701 (isearch-case-fold-search, isearch-string): Declare.
10702 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10703 bind `case-fold-search'. Remove unused variables `beg' and `end',
10704 and simplify.
10705 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10706 COUNT and bind `replace-count'.
10707 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10708 to COUNT.
10709
10710 * savehist.el (print-readably, print-string-length): Declare.
10711
10712 * shadowfile.el (shadow-expand-cluster-in-file-name):
10713 Remove unused variable `cluster'.
10714 (shadow-copy-file): Remove unused variable `i'.
10715 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10716 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10717 (shadow-define-literal-group, shadow-define-regexp-group)
10718 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10719
10720 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10721 (shell): Use `called-interactively-p'.
10722 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10723
10724 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10725 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10726 (delete-backward-char): Remove unused variable `ocol'.
10727 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10728 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10729 (event-apply-hyper-modifier, event-apply-shift-modifier)
10730 (event-apply-control-modifier, event-apply-meta-modifier):
10731 Mark unused parameters.
10732 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10733 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10734
10735 * speedbar.el (speedbar-ignored-directory-expressions)
10736 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10737 (speedbar-find-file, speedbar-dir-follow)
10738 (speedbar-directory-buttons-follow, speedbar-tag-find)
10739 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10740 (speedbar-buffers-line-directory, speedbar-buffer-click):
10741 Mark unused parameters.
10742 (speedbar-tag-file): Remove unused variable `mode'.
10743 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10744
10745 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10746
10747 * talk.el (talk): Remove unused variable `display'.
10748
10749 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10750 (tar-write-region-annotate): Mark unused parameter.
10751
10752 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10753 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10754 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10755 warning by another.
10756
10757 * time-stamp.el (time-stamp-string-preprocess):
10758 Remove unused variable `require-padding'.
10759
10760 * tree-widget.el (widget-glyph-enable): Declare.
10761 (tree-widget-action): Mark unused parameter.
10762
10763 * w32-fns.el (x-get-selection): Mark unused parameter.
10764 (autoload-make-program, generated-autoload-file): Declare.
10765
10766 * wdired.el (wdired-revert): Mark unused parameters.
10767 (wdired-xcase-word): Remove unused variable `err'.
10768
10769 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10770 (whitespace-help-scroll): Remove unused variable `data-help'.
10771
10772 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10773 (widget-image-insert, widget-after-change, default)
10774 (widget-default-format-handler, widget-default-notify)
10775 (widget-default-prompt-value, widget-info-link-action)
10776 (widget-url-link-action, widget-function-link-action)
10777 (widget-variable-link-action, widget-file-link-action)
10778 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10779 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10780 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10781 (widget-insert-button-action, widget-delete-button-action, visibility)
10782 (widget-documentation-link-action, widget-documentation-string-action)
10783 (widget-const-prompt-value, widget-regexp-match, symbol)
10784 (widget-coding-system-prompt-value)
10785 (widget-key-sequence-value-to-external, sexp)
10786 (widget-sexp-value-to-internal, character, vector, cons)
10787 (widget-choice-prompt-value, widget-boolean-prompt-value)
10788 (widget-color--choose-action): Mark unused parameters.
10789 (widget-item-match-inline, widget-choice-match-inline)
10790 (widget-checklist-match, widget-checklist-match-inline)
10791 (widget-group-match): Rename parameter VALUES to VALS.
10792 (widget-field-value-set): Remove unused variable `size'.
10793 (widget-color-action): Remove unused variables `value' and `start'.
10794
10795 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10796 variable `dir'. Doc fix.
06b60517
JB
10797 (windmove-find-other-window): Don't pass it.
10798
10799 * window.el (count-windows): Mark unused parameter.
10800 (bw-adjust-window): Remove unused variable `err'.
10801
10802 * woman.el (woman-file-name): Remove unused variable `default'.
10803 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10804 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10805 (global-font-lock-mode): Declare.
10806 (woman-decode-region): Mark unused parameter.
10807 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10808
10809 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10810 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10811 (x-dnd-handle-moz-url): Remove unused variable `title'.
10812 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10813
10814 * xml.el (xml-parse-tag, xml-parse-attlist):
10815 Remove unused variable `pos'.
10816
bc4f7f3d
GM
108172011-04-19 Glenn Morris <rgm@gnu.org>
10818
10819 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10820 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10821 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10822 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10823 * calendar/cal-html.el (cal-html-insert-minical):
10824 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10825 (calendar-mark-date-pattern):
10826 Prefix "unused" locals.
10827
10828 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10829 optional argument `style'.
10830
10831 * calendar/appt.el (appt-make-list):
10832 * calendar/cal-china.el (calendar-chinese-date-string):
10833 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10834 (diary-hebrew-yahrzeit):
10835 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10836 * calendar/calendar.el (calendar-generate-window):
10837 * calendar/time-date.el (time-to-days):
10838 Remove unused local variables.
10839
16a43933
CY
108402011-04-18 Chong Yidong <cyd@stupidchicken.com>
10841
10842 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10843 glyphless-char-display table.
10844 (tabulated-list-glyphless-char-display): New var.
10845
7eed1860
SS
108462011-04-18 Sam Steingold <sds@gnu.org>
10847
10848 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10849 to acknowledgments.
10850
4d2d1ccd
GM
108512011-04-17 Glenn Morris <rgm@gnu.org>
10852
10853 * calendar/diary-lib.el (diary-sexp-entry):
10854 * calendar/holidays.el (holiday-sexp):
10855 Set debug-on-error rather than the removed stack-trace-on-error.
10856
239da61d
GM
108572011-04-16 Glenn Morris <rgm@gnu.org>
10858
10859 * progmodes/f90.el: Use lexical-binding.
10860 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10861
8b05752a
SM
108622011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10863
daca8ba5
SM
10864 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10865 (mail-mode): Setup mailalias completion here instead.
10866 * mail/mailalias.el: Use lexical-binding.
10867 (pattern, mailalias-done): Declare dynamic.
10868 (mail-completion-at-point-function): New function, from mail-complete.
10869 (mail-complete): Use it.
10870 (mail-completion-expand): New function.
10871 (mail-get-names): Use it.
10872 (mail-directory, mail-directory-process, mail-directory-stream):
10873 Don't use `pattern' for lexically bound arg.
10874
6f542485
SM
10875 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10876
037e7c3f
SM
10877 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10878 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10879 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10880
8b05752a
SM
10881 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10882 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10883 (byte-interactive-p): Define them again, for use when inlining
10884 old code.
10885
49093f60
JB
108862011-04-15 Juanma Barranquero <lekktu@gmail.com>
10887
10888 * loadup.el: Use `string-to-number', not `string-to-int'.
10889
b5b8e7de
SM
108902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10893 gud-gdb-complete-command.
10894 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10895 (gud-gdb-completion-at-point): New function.
10896 (gud-gdb-completions): Remove.
10897
f42efeb5
MA
108982011-04-14 Michael Albinus <michael.albinus@gmx.de>
10899
49093f60
JB
10900 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10901 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10902 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10903 whether `executable-find' is bound.
f42efeb5
MA
10904
10905 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10906
e240cc21
SM
109072011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * minibuffer.el (completion-in-region-mode-predicate)
10910 (completion-in-region-mode--predicate): New vars.
10911 (completion-in-region, completion-in-region--postch)
10912 (completion-in-region-mode): Use them.
10913 (completion--capf-wrapper): Also return the hook function.
10914 (completion-at-point, completion-help-at-point):
10915 Adjust and provide a predicate.
c2bd2ab0
SM
10916
10917 Preserve arg names for advice of subr and lexical functions (bug#8457).
10918 * help-fns.el (help-function-arglist): Consolidate the subr and
10919 new-byte-code cases. Add argument `preserve-names' to extract names
10920 from the docstring when needed.
10921 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10922 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10923 (ad-arglist): Use help-function-arglist's new arg.
10924 (ad-definition-type): Use cond.
10925
c183f693
JB
109262011-04-13 Juanma Barranquero <lekktu@gmail.com>
10927
06641a47
JB
10928 * autorevert.el (auto-revert-handler):
10929 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10930 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10931 Don't quote lambda.
10932
c183f693
JB
10933 * image-mode.el (image-transform-set-scale):
10934 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10935
1e3b6001
G
109362011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
10938 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10939 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10940 Upgrades via gnutls-cli are too slow to be done opportunistically.
10941
2d6af8dd
JB
109422011-04-12 Juanma Barranquero <lekktu@gmail.com>
10943
10944 * dframe.el (dframe-current-frame): Remove spurious quote.
10945
c0749a51
GM
109462011-04-12 Glenn Morris <rgm@gnu.org>
10947
088d0d61
GM
10948 * calendar/cal-tex.el (cal-tex-end-document):
10949 Try to automatically use latin1 input if needed.
10950
c0749a51
GM
10951 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10952 Don't try to cons a mark onto an empty element.
10953
5c90fde0
LL
109542011-04-11 Leo Liu <sdl.web@gmail.com>
10955
10956 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10957 buffers.
10958 (ido-kill-buffer-at-head): Support killing virtual buffers.
10959
369e974d
CY
109602011-04-10 Chong Yidong <cyd@stupidchicken.com>
10961
10962 * minibuffer.el (completion-show-inline-help): New var.
10963 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10964 (minibuffer-force-complete, minibuffer-complete-word):
10965 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10966
10967 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10968 to avoid interference from inline help (Bug#5849).
10969
37f1c930
LL
109702011-04-10 Leo Liu <sdl.web@gmail.com>
10971
099c39a4
JB
10972 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10973 Fix typo.
37f1c930 10974
a32d4040
CY
109752011-04-09 Chong Yidong <cyd@stupidchicken.com>
10976
10977 * image-mode.el (image-toggle-display-image): Signal an error if
10978 not in Image mode.
10979 (image-transform-mode, image-transform-resize)
10980 (image-transform-set-rotation): Doc fix.
daca8ba5 10981 (image-transform-set-resize): Delete.
a32d4040
CY
10982 (image-transform-set-scale, image-transform-fit-to-height)
10983 (image-transform-fit-to-width): Handle image-toggle-display-image
10984 and image-transform-resize directly.
10985
099c39a4 109862011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10987
10988 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10989 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10990 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10991 (doc-view-mode-map): Add bindings for the new functions.
10992
099c39a4 109932011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10994
4d61f28d 10995 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10996 Fix typo in docstring.
10997
3726838a
EZ
109982011-04-08 Eli Zaretskii <eliz@gnu.org>
10999
04f33f1e
EZ
11000 * files.el (file-size-human-readable): Produce one digit after
11001 decimal, like "ls -lh" does.
11002
11003 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11004 the file size representation.
11005
3726838a
EZ
11006 * simple.el (list-processes): If async subprocesses are not
11007 available, error out with a clear error message.
11008
cbb59342
CY
110092011-04-08 Chong Yidong <cyd@stupidchicken.com>
11010
11011 * help.el (help-form-show): New function, to be called from C.
11012 Put help-form output in a buffer named differently than *Help*.
11013
e3971c44
EZ
110142011-04-08 Eli Zaretskii <eliz@gnu.org>
11015
11016 * files.el (file-size-human-readable): New function.
11017
11018 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11019 computing the representation inline. Don't require `cl'.
11020
12544bbe
GM
110212011-04-08 Glenn Morris <rgm@gnu.org>
11022
a1de6c6a
GM
11023 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11024
3c4671f4
GM
11025 * net/browse-url.el (browse-url-firefox):
11026 Test system-type, not system-configuration.
11027
b605679c
GM
11028 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11029 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11030 Use log-edit-empty-buffer-p. (Bug#7598)
11031
56442f0c
GM
11032 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11033 (rlogin-mode-map): Initialize in the defvar.
11034 (rlogin): Use ignore-errors.
11035
12544bbe
GM
11036 * replace.el (occur-mode-map): Some fixes for menu items.
11037
eb237b0f
AH
110382011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11039
11040 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11041
7d668f2c
CY
110422011-04-06 Chong Yidong <cyd@stupidchicken.com>
11043
e67a13ab
CY
11044 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11045 issuing unused warnings.
11046
11047 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11048 macro directly.
11049
7d668f2c
CY
11050 * simple.el: Lisp reimplement of list-processes. Based on an
11051 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11052 (process-menu-mode): New major mode.
11053 (list-processes--refresh, list-processes):
11054 (process-menu-visit-buffer): New functions.
11055
11056 * files.el (save-buffers-kill-emacs): Don't assume any return
11057 value of list-processes, which is undocumented anyway.
11058
a83ec3c9
CY
110592011-04-06 Chong Yidong <cyd@stupidchicken.com>
11060
11061 * emacs-lisp/tabulated-list.el: New file.
11062
e91a96fe
CY
11063 * emacs-lisp/package.el: Use Tabulated List mode.
11064 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11065 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11066 table format using Tabulated List mode variables.
11067 (package--push): New macro, replacing package-list-maybe-add.
11068 (package-menu--generate): Use package--push. Renamed from
11069 package--generate-package-list.
11070 (package-menu-refresh, list-packages): Use it.
daca8ba5 11071 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11072 Return insertion data instead of inserting it directly.
099c39a4
JB
11073 (package-menu-describe-package, package-menu-execute):
11074 Use tabulated-list-get-id.
e91a96fe
CY
11075 (package-menu-mark-delete, package-menu-mark-install)
11076 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11077 (package-menu-mark-obsolete-for-deletion):
11078 Use tabulated-list-put-tag.
e91a96fe
CY
11079 (package--list-packages, package-menu-revert)
11080 (package-menu-get-package, package-menu-get-version)
11081 (package-menu-sort-by-column): Functions deleted.
11082 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11083 (package-menu--status-predicate, package-menu--version-predicate)
11084 (package-menu--name-predicate)
11085 (package-menu--description-predicate): Handle arguments in the
11086 Tabulated List format.
11087 (package-list-packages-no-fetch): Call list-packages.
11088
3e214b50
JB
110892011-04-06 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11092 (after-find-file): Don't bind it.
3e214b50
JB
11093 (revert-buffer-in-progress-p): New variable.
11094 (revert-buffer): Bind it.
11095 Pass nil for `after-find-file-from-revert-buffer'.
11096
11097 * saveplace.el (save-place-find-file-hook): Use new variable
11098 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11099
3f0f1700
GM
111002011-04-06 Glenn Morris <rgm@gnu.org>
11101
c0274801
GM
11102 * Makefile.in (AUTOGEN_VCS): New variable.
11103 (autoloads): Use $AUTOGEN_VCS.
11104
3f0f1700
GM
11105 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11106 * calendar/calendar.el (calendar-mode-map):
11107 Check for toolkit scroll bars. (Bug#8305)
11108
41ea9e48
CY
111092011-04-05 Chong Yidong <cyd@stupidchicken.com>
11110
11111 * minibuffer.el (completion-in-region--postch)
11112 (completion-in-region-mode): Remove unnecessary messages.
11113
6194c800
JB
111142011-04-05 Juanma Barranquero <lekktu@gmail.com>
11115
33256f14
JB
11116 * font-lock.el (font-lock-refresh-defaults):
11117 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11118 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11119
6194c800
JB
11120 * info.el (Info-directory-list, Info-read-node-name-2)
11121 (Info-split-parameter-string): Doc fixes.
11122 (Info-virtual-nodes): Reflow docstring.
11123 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11124 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11125 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11126 Fix typos in docstrings.
11127 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11128 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11129 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11130 (Info-restore-desktop-buffer): Mark unused parameters.
11131 (Info-directory-find-file, Info-directory-find-node)
11132 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11133 (Info-virtual-index-find-node, Info-apropos-find-file)
11134 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11135 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11136 (Info-virtual-index): Remove unused local variable `nodename'.
11137
b87a8200 111382011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11139
b87a8200
DD
11140 * net/rcirc.el: Update my e-mail address.
11141 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11142
3b2ff876
CY
111432011-04-05 Chong Yidong <cyd@stupidchicken.com>
11144
11145 * startup.el (command-line): Save the cursor's theme-face
11146 directly, instead of using face-override-spec.
11147
11148 * custom.el (load-theme): Minor optimization in assigning faces.
11149
8d17e7ca
JB
111502011-04-04 Juanma Barranquero <lekktu@gmail.com>
11151
11152 * help-fns.el (describe-variable): Complete all variables having
11153 documentation, including keywords.
11154 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11155
2fbc1934
JB
111562011-04-04 Juanma Barranquero <lekktu@gmail.com>
11157
11158 Convert to lexical-binding.
11159
11160 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11161 (bs--get-marked-string, bs--get-modified-string)
11162 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11163 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11164 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11165
11166 * ehelp.el (electric-help-execute-extended)
11167 (electric-help-ctrl-x-prefix):
11168 * hexl.el (hexl-revert-buffer-function):
11169 * linum.el (linum-after-change, linum-after-scroll):
11170 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11171
11172 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11173
74f50695
DU
111742011-04-04 Daiki Ueno <ueno@unixuser.org>
11175
11176 * epa-dired.el:
11177 * epa-mail.el:
11178 * epa-hook.el:
11179 * epa-file.el:
11180 * epa.el:
11181 * epg.el: Use lexical binding.
11182
c11325f7
CY
111832011-04-03 Chong Yidong <cyd@stupidchicken.com>
11184
0d9e9a12
CY
11185 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11186
c11325f7 11187 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11188 dictionary case for flyspell-mark-duplications-exceptions.
11189 Use regexp matching for languages.
c11325f7
CY
11190 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11191 default dictionary (Bug#7926).
11192
da91b5f2
CY
111932011-04-02 Chong Yidong <cyd@stupidchicken.com>
11194
099c39a4
JB
11195 * emacs-lisp/package.el (package--with-work-buffer):
11196 Recognize https URLs.
da91b5f2 11197
099c39a4
JB
11198 * net/network-stream.el: Move from gnus/proto-stream.el.
11199 Change prefix to network-stream throughout.
da91b5f2
CY
11200 (open-protocol-stream): Merge into open-network-stream, leaving
11201 open-protocol-stream as an alias. Handle nil BUFFER args.
11202
11203 * subr.el (open-network-stream): Move to net/network-stream.el.
11204
afa8e9f6
GM
112052011-04-02 Glenn Morris <rgm@gnu.org>
11206
1d2e369d
GM
11207 * find-dired.el (find-exec-terminator): New option.
11208 (find-ls-option): Test for -ls support.
11209 (find-ls-subdir-switches): Test for -b in find-ls-option.
11210 (find-dired, find-grep-dired): Doc fixes.
11211 (find-dired): Use find-exec-terminator.
11212
8abb7da8 11213 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11214 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11215 (find-name-arg): Remove purecopy.
8abb7da8 11216
f3ca7378
GM
11217 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11218 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11219 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11220 accordingly. Don't add the null-device if not needed.
11221
afa8e9f6
GM
11222 * files.el (save-some-buffers): Doc fix.
11223
35eae264
EZ
112242011-04-02 Eli Zaretskii <eliz@gnu.org>
11225
11226 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11227
26b51db5
JB
112282011-04-01 Juanma Barranquero <lekktu@gmail.com>
11229
11230 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11231 Use `dolist' rather than `mapcar'.
11232
7200d79c
SM
112332011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11234
03408648 11235 Add lexical binding.
7200d79c 11236
03408648
SM
11237 * subr.el (apply-partially): Use new closures rather than CL.
11238 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11239 (dolist, dotimes): Use slightly different expansion for lexical code.
11240 (functionp): Move to C.
11241 (letrec): New macro.
11242 (with-wrapper-hook): Use it and apply-partially instead of CL.
11243 (eval-after-load): Preserve lexical-binding.
11244 (save-window-excursion, with-output-to-temp-buffer): Turn them
11245 into macros.
7200d79c 11246
03408648
SM
11247 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11248
11249 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11250 than the arglist.
11251 (help-add-fundoc-usage): Don't add `Not documented'.
11252 (help-function-arglist): Handle closures, subroutines, and new
11253 byte-code-functions.
11254 (help-make-usage): Remove leading underscores.
11255 (describe-function-1): Handle closures.
11256 (describe-variable): Use special-variable-p for completion.
11257
11258 * files.el (lexical-binding): Declare safe.
f488fb65 11259
03408648
SM
11260 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11261 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11262 (pcase): Add `let' pattern.
11263 Change memoization so it actually works.
11264 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11265 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11266 <let>: New case.
f488fb65 11267
03408648
SM
11268 * emacs-lisp/macroexp.el: Use lexical binding.
11269 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11270 Don't convert ' to #' without checking that it's indeed quoting
11271 a lambda.
11272
11273 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11274 Use eval-sexp-add-defvars.
03408648
SM
11275 (eval-sexp-add-defvars): New fun.
11276
11277 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11278
11279 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11280 Don't autoload.
11281 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11282 than the internal `byte-compile-lambda'.
11283 (defmethod): Don't hide code under quotes.
11284 (eieio-defmethod): New `code' argument.
11285
11286 * emacs-lisp/eieio-comp.el: Remove.
11287
11288 * emacs-lisp/edebug.el (edebug-eval-defun)
11289 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11290 (edebug-toggle): Avoid `eval'.
11291
11292 * emacs-lisp/disass.el (disassemble-internal): Handle new
11293 `closure' objects.
11294 (disassemble-1): Handle new byte codes.
11295
11296 * emacs-lisp/cl.el (pushnew): Silence warning.
11297
11298 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11299 (cl-byte-compile-throw): Remove.
11300 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11301
11302 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11303 closures.
11304
11305 * emacs-lisp/cconv.el: New file.
11306
11307 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11308 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11309 (byte-compile-initial-macro-environment):
11310 Handle declare-function here.
11311 (byte-compile--lexical-environment): New var.
11312 (byte-stack-ref, byte-stack-set, byte-discardN)
11313 (byte-discardN-preserve-tos): New lap codes.
11314 (byte-interactive-p): Don't use any more.
11315 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11316 New macros.
11317 (byte-compile-lapcode): Use them and handle new lap codes.
11318 (byte-compile-obsolete): Remove.
11319 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11320 (byte-compile-arglist-warn): Check late def of inlinable funs.
11321 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11322 since they should have been expanded by now.
11323 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11324 (byte-compile-from-buffer): Remove unused second arg.
11325 (byte-compile-preprocess): New function.
11326 (byte-compile-toplevel-file-form): New function to distinguish
11327 file-form calls from outside from file-form calls from hunk-handlers.
11328 (byte-compile-file-form): Simplify.
11329 (byte-compile-file-form-defsubst): Remove.
11330 (byte-compile-file-form-defmumble): Simplify now that
11331 byte-compile-lambda always returns a byte-code-function.
11332 (byte-compile): Preprocess.
11333 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11334 Remove, not used any more.
11335 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11336 (byte-compile-make-args-desc): New funs.
11337 (byte-compile-lambda): Handle lexical functions. Always return
11338 a byte-code-function.
11339 (byte-compile-reserved-constants): New var, to make up room for
11340 closed-over variables.
11341 (byte-compile-constants-vector): Obey it.
11342 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11343 (byte-compile-macroexpand-declare-function): New function.
11344 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11345 byte-code-functions.
11346 (byte-compile-form): Check obsolescence here.
11347 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11348 (byte-compile-variable-ref): Remove.
11349 (byte-compile-dynamic-variable-op): New fun.
11350 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11351 (byte-compile-variable-set): New funs.
11352 (byte-compile-discard): Add 2 args.
11353 (byte-compile-stack-ref, byte-compile-stack-set)
11354 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11355 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11356 macroexpand-all instead.
11357 (byte-compile-quote-form): Remove.
11358 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11359 (byte-compile-bind, byte-compile-unbind): New funs.
11360 (byte-compile-let): Handle let* and lexical binding.
11361 (byte-compile-let*): Remove.
11362 (byte-compile-catch, byte-compile-unwind-protect)
11363 (byte-compile-track-mouse, byte-compile-condition-case):
11364 Handle a new :fun-body form, used for lexical scoping.
11365 (byte-compile-save-window-excursion)
11366 (byte-compile-with-output-to-temp-buffer): Remove.
11367 (byte-compile-defun): Simplify.
11368 (byte-compile-stack-adjustment): New fun.
11369 (byte-compile-out): Use it.
11370 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11371
11372 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11373 handler any more.
11374
11375 * emacs-lisp/byte-opt.el: Use lexical binding.
11376 (byte-inline-lapcode): Remove (to bytecomp).
11377 (byte-compile-inline-expand): Pay attention to inlining to/from
11378 lexically bound code.
11379 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11380 any more.
11381 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11382 any more and don't call compiler-macros.
11383 (byte-compile-splice-in-already-compiled-code): Remove.
11384 (byte-code): Don't inline any more.
11385 (disassemble-offset): Receive `bytes' as argument rather than via
11386 dynamic scoping.
11387 (byte-compile-tag-number): Declare before first use.
11388 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11389 `return' even if make-spliceable.
11390 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11391 obsolete interactive-p.
11392 (byte-optimize-lapcode): Optimize new lap-codes.
11393 Don't trip up on new form of `byte-constant' lap code.
11394
11395 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11396
11397 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11398
11399 * custom.el (custom-initialize-default, custom-declare-variable):
11400 Use `defvar'.
11401
11402 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11403 New variables.
11404 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11405 (COMPILE_FIRST): Add macroexp and cconv.
11406 * makefile.w32-in: Mirror changes in Makefile.in.
11407
11408 * vc/cvs-status.el:
11409 * vc/diff-mode.el:
11410 * vc/log-edit.el:
11411 * vc/log-view.el:
11412 * vc/smerge-mode.el:
11413 * textmodes/bibtex-style.el:
11414 * textmodes/css.el:
11415 * startup.el:
11416 * uniquify.el:
da91b5f2
CY
11417 * minibuffer.el:
11418 * newcomment.el:
11419 * reveal.el:
11420 * server.el:
11421 * mpc.el:
11422 * emacs-lisp/smie.el:
11423 * doc-view.el:
11424 * dired.el:
03408648
SM
11425 * abbrev.el: Use lexical binding.
11426
0f0c1f27
EZ
114272011-04-01 Eli Zaretskii <eliz@gnu.org>
11428
11429 * info.el (info-display-manual): New function.
11430
c82b2579
SM
114312011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11432
11433 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11434
221ddf68
TH
114352011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11436
11437 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11438 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11439
cba6e77e
GM
114402011-03-31 Glenn Morris <rgm@gnu.org>
11441
e040639f
GM
11442 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11443
cba6e77e
GM
11444 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11445
6d0f1c9e
CS
114462011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11447
11448 * progmodes/python.el (python-default-interpreter)
11449 (python-python-command-args, python-jython-command-args)
11450 (python-which-shell, python-which-args, python-which-bufname)
11451 (python-file-queue, python-comint-output-filter-function)
11452 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11453 variables and functions.
11454
3e2d70fd
SM
114552011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11456
11457 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11458 (completion-in-region-mode): New minor mode.
11459 (completion-in-region): Use it.
11460 (completion-in-region--data, completion-in-region-mode-map): New vars.
11461 (completion-in-region--postch): New function.
11462 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11463 New vars.
11464 (completion--capf-wrapper): New function.
11465 (completion-at-point): Use it to track well-behavedness of
11466 hook functions.
11467 (completion-help-at-point): New command.
11468
f3e4086c
JM
114692011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11470
11471 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11472 syntax class to search for whitespace on a single line
11473 (Message-ID: <4D938140.4030905@redhat.com>).
11474
eb7ffc14
LL
114752011-03-30 Leo Liu <sdl.web@gmail.com>
11476
11477 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11478 New commands.
11479 (edit-abbrevs-map): Bind them here.
11480 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11481
d806ab68
KM
114822011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11483
11484 * allout.el (allout-hide-by-annotation, allout-flag-region):
11485 Reduce possibility of overlay leakage by making them volatile.
11486
11487 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11488 hash is not shared between buffers. Mode initialization is
11489 responsible for giving it a useful starting value.
11490 (allout-item-span): Reduce possibility of overlay leakage by
11491 making them volatile.
11492 (allout-widgets-count-buttons-in-region): Add diagnostic function
11493 for tracking down button overlay leaks.
11494
ea622834
LL
114952011-03-29 Leo Liu <sdl.web@gmail.com>
11496
11497 * ido.el (ido-read-internal): Use the default history var
11498 minibuffer-history if no HISTORY is specified.
11499
b62f8267
G
115002011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11501
03408648
SM
11502 * net/imap.el (imap-shell-open, imap-process-connection-type):
11503 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11504 Kerberos, SSL, other subprocesses.
11505
947b6566
LL
115062011-03-28 Leo Liu <sdl.web@gmail.com>
11507
11508 * abbrev.el (abbrev-table-empty-p): New function.
11509 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11510 nonempty ones. (Bug#5937)
11511
5ffb62aa
JD
115122011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11513
11514 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11515
7a097943
LL
115162011-03-27 Leo Liu <sdl.web@gmail.com>
11517
11518 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11519 for foreground and background colors.
11520 (ansi-color-make-color-map): Adapt.
11521
c5b40130
LL
115222011-03-25 Leo Liu <sdl.web@gmail.com>
11523
1f48f7d2
LL
11524 * midnight.el (midnight-time-float): Remove. Note it calculates
11525 the microsecond component incorrectly and seconds-to-time does the
11526 same job.
625897ec 11527 Remove redundant (require 'timer).
1f48f7d2 11528
c5b40130
LL
11529 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11530 (ido-completions): Remove unused arguments. (Bug#8329)
11531
d86d2721
SM
115322011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11533
11534 * minibuffer.el (completion--flush-all-sorted-completions):
11535 Remove itself from hook.
11536 (completion-at-point): Let the functions perform the completion
11537 immediately and return nil or t.
11538 * comint.el (comint-dynamic-complete-functions): Now identical to
11539 completion-at-point-functions.
11540 (comint-dynamic-list-input-ring): Remove unused var `index'.
11541 (comint--match-partial-filename, comint--unquote&expand-filename):
11542 New funs, split from comint-match-partial-filename.
11543 (comint-dynamic-complete): Use completion-at-point.
11544 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11545
e8974c48
DA
115462011-03-24 Drew Adams <drew.adams@oracle.com>
11547
11548 * thingatpt.el: Support `defun'.
11549
def71b5e
LL
115502011-03-23 Leo Liu <sdl.web@gmail.com>
11551
cb5af48e
LL
11552 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11553
def71b5e
LL
11554 * help-mode.el (help-mode-finish): Tweak regexp.
11555
927c53e7
GM
115562011-03-23 Glenn Morris <rgm@gnu.org>
11557
18d05bed
GM
11558 * eshell/esh-opt.el (eshell-eval-using-options):
11559 Do not bind unused local variable `eshell-option-stub'.
11560
927c53e7
GM
11561 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11562
9d0da923
JB
115632011-03-22 Juanma Barranquero <lekktu@gmail.com>
11564
11565 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11566 keymap variable in `with-no-warnings' to avoid a warning when the
11567 keymap has been already `defconst'ed.
11568
4b978a67
LL
115692011-03-22 Leo Liu <sdl.web@gmail.com>
11570
11571 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11572 encode all chars in abbrevs; otherwise use emacs-mule or
11573 utf-8-emacs. (Bug#8308)
11574
5fd62452
JB
115752011-03-22 Juanma Barranquero <lekktu@gmail.com>
11576
0b1596c6
JB
11577 * simple.el (backward-delete-char-untabify):
11578 Avoid warning about using `delete-backward-char'.
11579
5fd62452
JB
11580 * image.el (image-type-file-name-regexps): Make it variable.
11581 `imagemagick-register-types' modifies it, and the user may want
11582 to add new extensions for known image types.
11583 (imagemagick-register-types): Throw error if not using ImageMagick.
11584
0b4e93f1
LL
115852011-03-22 Leo Liu <sdl.web@gmail.com>
11586
11587 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11588 located before rcirc-prompt-end-marker.
11589 (rcirc-complete): Error if point is not after rcirc prompt.
11590 Handle the case when table is nil.
9882e214 11591 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11592
fccee4ab
CY
115932011-03-22 Chong Yidong <cyd@stupidchicken.com>
11594
11595 * custom.el (custom--inhibit-theme-enable): Make it affect only
11596 custom-theme-set-variables and custom-theme-set-faces.
11597 (provide-theme): Ignore custom--inhibit-theme-enable.
11598 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11599 (custom-enabling-themes): Delete variable.
d86d2721
SM
11600 (enable-theme): Accept only loaded themes as arguments.
11601 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11602 (custom-enabled-themes): Forbid themes from setting this.
11603 Eliminate use of custom-enabling-themes.
11604 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11605
af896da6
LL
116062011-03-21 Leo Liu <sdl.web@gmail.com>
11607
11608 * ido.el (ido-read-internal): Add ido-selected to history instead
11609 of user input.
11610
78f64af0
SM
116112011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * subr.el (deferred-action-list, deferred-action-function):
11614 Mark obsolete.
11615
b16ac1ec
LL
116162011-03-21 Leo Liu <sdl.web@gmail.com>
11617
810f7698
LL
11618 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11619 change on 2011-02-13 (bug#8309).
11620
b16ac1ec
LL
11621 * minibuffer.el (read-file-name-function): Change default value.
11622 (read-file-name--defaults): Rename from read-file-name-defaults.
11623 (read-file-name-default): Rename from read-file-name.
11624 (read-file-name): Call read-file-name-function.
11625
4e05e67e
GM
116262011-03-21 Glenn Morris <rgm@gnu.org>
11627
11628 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11629 Doc fixes.
11630
4359915b
CY
116312011-03-21 Chong Yidong <cyd@stupidchicken.com>
11632
11633 * cus-theme.el: Add missing provide statement.
11634 (customize-create-theme): Extract theme value correctly.
11635 (custom-theme-visit-theme): Autoload.
11636 (customize-create-theme): Prompt before inserting default faces.
11637
1fe275ee
JB
116382011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11639
11640 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11641 units and musical notes.
11642
cd394be1 116432011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11644
11645 * ido.el (ido-read-internal): Use completing-read-default.
11646 (ido-completing-read): Fix compatibility with completing-read.
11647
7d476bde
CO
116482011-03-20 Christian Ohler <ohler@gnu.org>
11649
11650 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11651 (ert-delete-all-tests): Use `called-interactively-p' rather than
11652 `interactive-p'.
11653 (ert--make-xrefs-region): Respect END.
11654
fe0fb33e
CY
116552011-03-19 Chong Yidong <cyd@stupidchicken.com>
11656
ff854b0b
CY
11657 * dired-aux.el (dired-create-directory): Signal an error if the
11658 directory already exists (Bug#8246).
11659
fe0fb33e
CY
11660 * facemenu.el (list-colors-display): Call list-faces-display
11661 inside with-help-window.
11662 (list-colors-print): Use display property to align the final
11663 column, instead of checking window-width.
11664
576bce32
EZ
116652011-03-19 Eli Zaretskii <eliz@gnu.org>
11666
4d61f28d 11667 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11668 windows-nt systems.
11669 (emerge-protect-metachars): Quote correctly for ms-dos and
11670 windows-nt systems.
11671
89c41d68 116722011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11673
11674 * info.el (info-initialize): Replace all uses of `:' with
11675 path-separator for compatibility with non-Unix systems.
11676 Cache quoting of path-separator. (Bug#8258)
11677
b14e3e21 116782011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11679
11680 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11681 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11682 (mouse-avoidance-mode): Fix typos in docstrings.
11683
4525ce3e
CY
116842011-03-19 Chong Yidong <cyd@stupidchicken.com>
11685
11686 * startup.el (package-subdirectory-regexp): Move from package.el.
11687 Omit \\` and \\', and let callers add them.
11688
11689 * emacs-lisp/package.el (package-strip-version)
11690 (package-load-all-descriptors): Add \\` and \\' to
11691 package-subdirectory-regexp before using it.
11692 (package-untar-buffer): New arg DIR; ensure that file untars only
11693 into this expected directory. Remove superfluous delete-region.
11694 (package-unpack): Caller changed.
11695 (package-tar-file-info): Use package-subdirectory-regexp.
11696
a904a09a 116972011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11698
a904a09a
SM
11699 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11700 diff-mode-shared-map (bug#8284).
11701 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11702
117032011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11704
11705 * calendar/time-date.el (format-seconds): Use assoc instead of
11706 assoc-string, since assoc-string doesn't exist in XEmacs.
11707
171fc304
JB
117082011-03-17 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * custom.el (custom-known-themes): Reflow docstring.
11711 (custom-theme-load-path): Fix typo in docstring.
11712 (load-theme): Fix typo in error message.
11713 (custom-available-themes, custom-variable-theme-value):
11714 Use `let', not `let*'.
11715
d71990a1
JB
117162011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11717
11718 * calc/README: Mention inclusion of musical notes.
11719
11720 * calc/calc-units.el (calc-lu-quant): Rename from
11721 `calc-logunits-quantity'.
11722 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11723 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11724 (calc-db): Rename from `calc-dblevel'.
11725 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11726 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11727 (calc-np): Rename from `calc-nplevel'.
11728 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11729 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11730 (calc-lu-plus): Rename from `calc-logunits-add'.
11731 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11732 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11733 (calc-lu-minus): Rename from `calc-logunits-sub'.
11734 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11735 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11736 (calc-lu-times): Rename from `calc-logunits-mul'.
11737 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11738 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11739 (calc-lu-divide): Rename from `calc-logunits-div'.
11740 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11741 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11742
11743 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11744 functions being autoloaded.
11745
11746 * calc/calc.el (calc-lu-power-reference): Rename from
11747 `calc-logunits-power-reference'.
11748 (calc-lu-field-reference): Rename from
11749 `calc-logunits-field-reference'.
11750
7a71b18d
GM
11751 * calc/calc-help.el (calc-l-prefix-help):
11752 Mention musical note functions.
d71990a1 11753
40c2934b
SM
117542011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * minibuffer.el (completion-all-sorted-completions):
11757 Use :completion-cycle-penalty text property if present.
11758
b0911414
KM
117592011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11760
11761 * allout.el (allout-yank-processing): Adjust for new rebulleting
11762 regime so bullet being yanked is used without prompting the user
11763 for a choice.
11764
8a05b668
JB
117652011-03-16 Juanma Barranquero <lekktu@gmail.com>
11766
11767 * startup.el (command-line): Warn the user that _emacs is deprecated.
11768
5ba5fb81
JB
117692011-03-16 Juanma Barranquero <lekktu@gmail.com>
11770
11771 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11772 (delphi-verbose, delphi-comment-face, delphi-string-face)
11773 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11774 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11775 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11776 (delphi-new-comment-line, delphi-font-lock-defaults)
11777 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11778 Fix typos in docstrings.
11779
2dab465b
KM
117802011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11781
5ba5fb81 11782 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11783 Invert the roles of character and string values for INSTEAD, so a
11784 string is used for the more common case of a defaulting prompt.
11785
0adf5618
SM
117862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * progmodes/ruby-mode.el (ruby-backward-sexp):
11789 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11790 * play/gamegrid.el (gamegrid-make-face):
11791 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11792 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11793 * notifications.el (notifications-notify):
11794 * net/xesam.el (xesam-search-engines):
11795 * net/quickurl.el (quickurl-list-insert):
11796 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11797
d72700e5
CY
117982011-03-15 Chong Yidong <cyd@stupidchicken.com>
11799
11800 * startup.el (command-line): Update package subdirectory regexp.
11801
49c5410a
SM
118022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11803
c6eee9aa
SM
11804 * allout.el (allout-abbreviate-flattened-numbering)
11805 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11806
49c5410a
SM
11807 * subr.el (read-char-choice): Only show the cursor after the prompt,
11808 not after the answer.
11809
047b2bb9
KR
118102011-03-15 Kevin Ryde <user42@zip.com.au>
11811
11812 * help-fns.el (variable-at-point): Skip leading quotes, if any
11813 (bug#8253).
11814
0a57d256
SM
118152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11818 warning message.
11819
77c992bc
MA
118202011-03-14 Michael Albinus <michael.albinus@gmx.de>
11821
11822 * shell.el (shell): When called interactively, offer to change the
11823 shell file name on remote hosts.
11824
eebc475d
TZ
118252011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11826
11827 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11828 integration for LDAP parameters. The host, base, user or binddn,
11829 and secret tokens can be specified in a netrc file, for instance.
11830 This is optional because an `auth-source' parameter must be
11831 specified in the search attributes.
11832
9d05d1ba
JB
118332011-03-13 Juanma Barranquero <lekktu@gmail.com>
11834
11835 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11836
09d9db2c
GM
118372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11840 into declaration. Remove redundant and harmful binding.
11841
118422011-03-12 Eli Zaretskii <eliz@gnu.org>
11843
11844 * files.el (file-ownership-preserved-p): Pass `integer' as an
11845 explicit 2nd argument to `file-attributes'. If the file's owner
11846 is the Administrators group on Windows, and the current user is
11847 Administrator, consider that a match.
11848
11849 * server.el (server-ensure-safe-dir): Consider server directory
11850 safe on MS-Windows if its owner is the Administrators group while
11851 the current Emacs user is Administrator. Use `=' to compare
11852 numerical UIDs, since they could be integers or floats.
11853
219bd536
JB
118542011-03-12 Juanma Barranquero <lekktu@gmail.com>
11855
11856 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11857
f3afd36b
MA
118582011-03-12 Michael Albinus <michael.albinus@gmx.de>
11859
11860 Sync with Tramp 2.2.1.
11861
11862 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11863
11864 * net/trampver.el: Update release number.
11865
3aaaa6f1
SM
118662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11867
94642599
SM
11868 * progmodes/compile.el (compilation--previous-directory): Fix up
11869 various nil/dead-marker mismatches (bug#8014).
11870 (compilation-directory-properties, compilation-error-properties):
11871 Don't call it at a position past the one we're about to change.
11872
3aaaa6f1
SM
11873 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11874 Disable obsolescence warnings in the file that declares it.
11875
14239447
KM
118762011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11877
099c39a4
JB
11878 * allout-widgets.el (allout-widgets-tally):
11879 Initialize allout-widgets-tally as a hash table rather than nil to
11880 prevent mode-line redisplay warnings. Also, clarify the module
11881 description and fix a comment typo.
14239447 11882
135e287c
JB
118832011-03-11 Juanma Barranquero <lekktu@gmail.com>
11884
11885 * help-fns.el (describe-variable): Don't complete keywords.
11886 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11887
ffbf300e
CY
118882011-03-10 Chong Yidong <cyd@stupidchicken.com>
11889
ba08b241
CY
11890 * emacs-lisp/package.el (package-version-join): Impose a standard
11891 string representation for pre/alpha/beta version lists.
11892 (package-unpack-single): Standardize the directory name by passing
11893 it through package-version-join.
11894 (package-strip-rcs-id): Accept any version string that does not
11895 signal an error in version-to-list.
ffbf300e 11896
f346fd6b
MA
118972011-03-10 Michael Albinus <michael.albinus@gmx.de>
11898
11899 * simple.el (delete-trailing-whitespace): Return nil for the
11900 benefit of `write-file-functions'.
11901
ccb55d27
GM
119022011-03-10 Glenn Morris <rgm@gnu.org>
11903
5ceaac0c
GM
11904 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11905
02da65ff
GM
11906 * vc/vc-git.el (vc-git-program): New option.
11907 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11908 (vc-git--call): Use it.
11909
b2f603cc
GM
11910 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11911
5772caab
GM
11912 * cus-edit.el (Custom-newline): If no button at point, look
11913 for a subgroup button at start-of-line. (Bug#2298)
11914
ccb55d27
GM
11915 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11916
ec6ecaed
JD
119172011-03-10 Julien Danjou <julien@danjou.info>
11918
11919 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11920 `cursor-type' is nil.
11921
9d5aa01d
JB
119222011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11923
11924 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11925
b6a5875b
KM
119262011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11927
7a71b18d 11928 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11929 preserves the existing header prefix, rebulleting it if necessary,
11930 rather than replacing it. This is necessary for proper operation
11931 of cooperative addons like allout-widgets.
1154d12e
JB
11932 (allout-make-topic-prefix, allout-rebullet-heading):
11933 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11934 value as alternate bullet to be used, instead of prompting the user
11935 for a bullet character.
b6a5875b 11936
ee545c35
MA
119372011-03-09 Michael Albinus <michael.albinus@gmx.de>
11938
d86d2721
SM
11939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11940 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11941 `tramp-default-port'.
11942
c47971d7
DD
119432011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11944
11945 * net/rcirc.el (rcirc-handler-001): Remove useless
11946 with-rcirc-process-buffer.
11947 (rcirc-check-auth-status): Swap arguments to string-match.
11948
13522cb4
GM
119492011-03-09 Glenn Morris <rgm@gnu.org>
11950
0be6f4f1
GM
11951 * shell.el (shell-mode):
11952 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11953
13522cb4
GM
11954 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11955 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11956
515de2e3
CY
119572011-03-08 Chong Yidong <cyd@stupidchicken.com>
11958
11959 * emacs-lisp/package.el (package-refresh-contents)
11960 (package-menu-execute): Use condition-case-no-debug.
11961
b511b994
MA
119622011-03-08 Michael Albinus <michael.albinus@gmx.de>
11963
11964 * simple.el (shell-command-to-string): Use `process-file'.
11965
11966 * emacs-lisp/package.el (package-tar-file-info): Handle also
11967 remote files.
11968
d86d2721
SM
11969 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11970 Use `equal' for upload base check.
b511b994 11971
25bbfb31
AM
119722011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11973
11974 * textmodes/texinfo.el (texinfo-environments):
11975 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11976
be996521
GM
119772011-03-08 Glenn Morris <rgm@gnu.org>
11978
e9c8529f
GM
11979 * cus-start.el (cursor-in-non-selected-windows):
11980 Fix :set quoting oddness. (Bug#8192)
11981
be996521
GM
11982 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11983 in some setf expressions. (Bug#2159)
11984
2bb5649e
CY
119852011-03-08 Chong Yidong <cyd@stupidchicken.com>
11986
11987 * custom.el (custom-available-themes): Return themes in
11988 alphabetical order.
11989
33383987 11990See ChangeLog.15 for earlier changes.
e3d51b27
MR
11991
11992;; Local Variables:
11993;; coding: utf-8
e3d51b27
MR
11994;; End:
11995
acaf905b 11996 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11997
11998 This file is part of GNU Emacs.
11999
12000 GNU Emacs is free software: you can redistribute it and/or modify
12001 it under the terms of the GNU General Public License as published by
12002 the Free Software Foundation, either version 3 of the License, or
12003 (at your option) any later version.
12004
12005 GNU Emacs is distributed in the hope that it will be useful,
12006 but WITHOUT ANY WARRANTY; without even the implied warranty of
12007 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12008 GNU General Public License for more details.
12009
12010 You should have received a copy of the GNU General Public License
12011 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.