Copy changes from trunk 2012-04-09T18:12:40Z!schwab@linux-m68k.org to fix letter...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0d93216c
AS
12012-04-10 Andreas Schwab <schwab@linux-m68k.org>
2
3 * international/characters.el: Recover lost case pairs.
4
4a427f58
GM
52012-04-10 Glenn Morris <rgm@gnu.org>
6
7 * files.el (dir-locals-set-class-variables): Doc fix.
8
9f847f41
EZ
92012-04-09 Eli Zaretskii <eliz@gnu.org>
10
3f1b5bf8
EZ
11 * international/characters.el: Add set-case-syntax-pair call for
12 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13 counterpart. (Bug#11209)
14
9f847f41
EZ
15 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16
0c2014a3
GM
172012-04-09 Glenn Morris <rgm@gnu.org>
18
19 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20
e2627d21
EZ
212012-04-08 Eli Zaretskii <eliz@gnu.org>
22
23 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
24 Hebrew.
25
5c14e333
CY
262012-04-08 Chong Yidong <cyd@gnu.org>
27
28 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
29 (Bug#11192).
30
bf6fa423
GM
312012-04-07 Glenn Morris <rgm@gnu.org>
32
33 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
34
82b24fb2
EZ
352012-04-07 Eli Zaretskii <eliz@gnu.org>
36
37 * minibuffer.el (completion-in-region-mode-map): Bind
38 completion-help-at-point to M-? rather than ?. (Bug#11182)
39
f23d2c7d
LMI
402012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
41
42 * window.el (shrink-window): Mention the `window-min-height'
43 variable in the doc string.
44
0a0a3573
BG
452012-04-05 Bastien Guerry <bzg@altern.org>
46
47 * color.el (color-lighten-name): Fix typo.
48
e5248ac9
SM
492012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * server.el (server--on-display-p): New function.
52 (server--on-display-p): Use it.
53
b4243e22
GV
542012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
55
56 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
57 (bug#11145).
58
305d9f44
SM
592012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * comint.el (comint--common-quoted-suffix): Check string boundary
62 before comparing (bug#11158).
63 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
64
3d439cd1
CY
652012-04-04 Chong Yidong <cyd@gnu.org>
66
321cc491
CY
67 * minibuffer.el (completion-extra-properties): Doc fix.
68
3d439cd1
CY
69 * subr.el (delayed-warnings-hook): Doc fix.
70
2d562c0f
DU
712012-04-04 Daiki Ueno <ueno@unixuser.org>
72
73 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
74 selection (Bug#11159).
75 (epa-insert-keys): Inform that the default public key will be
76 exported if no key is selected.
77
4443f204
RS
782012-04-04 Richard Stallman <rms@gnu.org>
79
80 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
81
529c06b6
CY
822012-04-03 Chong Yidong <cyd@gnu.org>
83
84 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
85 mail-insert-file, not its obsolete alias mail-attach-file.
86
66b907dc
MA
872012-04-03 Michael Albinus <michael.albinus@gmx.de>
88
89 * notifications.el (notifications-notify): Fix docstring.
90
c0ea195d
GM
912012-04-02 Glenn Morris <rgm@gnu.org>
92
93 * emacs-lisp/authors.el (authors-aliases): Another addition.
94
5ca64e00
MA
952012-04-02 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
98 `tramp-compat-call-process' instead of `tramp-local-call-process'.
99 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
100
42ee526b
CY
1012012-04-01 Chong Yidong <cyd@gnu.org>
102
103 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
104 Handle root directory properly.
105 (copy-directory): Caller changed.
106
107 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
108 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
109
0b021094
GM
1102012-03-31 Glenn Morris <rgm@gnu.org>
111
40f86458
GM
112 * term/xterm.el (xterm-extra-capabilities): Doc fix.
113
7019c177
GM
114 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
115
a1daddd6
GM
116 * calendar/calendar.el (calendar-window-list)
117 (calendar-hide-window): Restore. (Bug#11140)
118 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
119
0b021094
GM
120 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
121
40311efc
TV
1222012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
123
124 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
125 Check if file is a symlink (Bug#10489).
126
127 * files.el (copy-directory): Likewise.
128
5319014e
CY
1292012-03-30 Chong Yidong <cyd@gnu.org>
130
131 * image.el (imagemagick-types-inhibit)
132 (imagemagick-register-types): Doc fix.
133
935d1290
AM
1342012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
135
136 * ispell.el (ispell-get-extended-character-mode): Disable
137 extended-char-mode for hunspell. hunspell does not support it and
138 treats ~word as ordinary words in pipe mode.
139
61c6e8fd
GM
1402012-03-30 Glenn Morris <rgm@gnu.org>
141
142 * tutorial.el (help-with-tutorial): Ensure local variables don't
143 happen to make the buffer read-only. (Bug#11127)
144
81fdff00
SM
1452012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
148 (perl-calculate-indent): Return `noindent' in strings.
149
6e7a6ec0
SS
1502012-03-28 Sam Steingold <sds@gnu.org>
151
152 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
153 instead of the broken adhockery which does not prevent calendar
154 buffers from being displayed at random after exit.
155 (calendar-window-list, calendar-hide-window): Remove the broken
156 adhockery.
157
fee88ca0
GM
1582012-03-28 Glenn Morris <rgm@gnu.org>
159
160 * replace.el (query-replace-map): Doc fix.
161
38de3354
AS
1622012-03-28 Andreas Schwab <schwab@linux-m68k.org>
163
164 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
165 contents. (Bug#11109)
166
b973155e
SM
1672012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
170 (bug#11077).
171 (avl-tree--check, avl-tree--check-node): New funs.
172
dcb6e7b3
MR
1732012-03-27 Martin Rudalics <rudalics@gmx.at>
174
175 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
176 (switch-to-prev-buffer, switch-to-next-buffer):
177 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
178 showing a buffer already is done on the same frame.
179
b4fa35fa
GM
1802012-03-27 Glenn Morris <rgm@gnu.org>
181
182 * startup.el (mail-host-address): Doc fix.
183
f9210e18
SM
1842012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
187 than 197 variables.
188
c0bf7753
AF
1892012-03-26 Ami Fischman <ami@fischman.org>
190
191 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
192
33da7b16
GM
1932012-03-26 Glenn Morris <rgm@gnu.org>
194
02243d9d
GM
195 * files.el (save-buffers-kill-emacs): Doc fix.
196
33da7b16
GM
197 * startup.el (normal-top-level, command-line, command-line-1):
198 Give them doc strings.
199
e5a69fd0
EZ
2002012-03-25 Eli Zaretskii <eliz@gnu.org>
201
202 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 203 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 204
9a69676a
CY
2052012-03-25 Chong Yidong <cyd@gnu.org>
206
4125cb8b
CY
207 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
208 theme if it was previously enabled before (Bug#11031).
209
dd470960
CY
210 * cus-theme.el (custom-theme-write-faces): Retrieve current face
211 spec with custom-face-get-current-spec if its :shown-value is not
212 determined yet (Bug#9337).
4125cb8b 213 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 214
9a69676a
CY
215 * button.el (button-at): Minor addition to docstring.
216
6e7e90fa
SL
2172012-03-24 Simon Leinen <simon.leinen@gmail.com>
218
219 * vc/vc.el (vc-merge): Fix a prompt.
220
f06e2758
CY
2212012-03-24 Chong Yidong <cyd@gnu.org>
222
223 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
224 point (Bug#9623).
225
6e7e90fa
SL
226 * button.el (button-at): Minor addition to docstring.
227
b9d0879b
SM
2282012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * newcomment.el (comment-choose-indent): No space after BOL.
231
e71cebb3
SS
2322012-03-22 Sam Steingold <sds@gnu.org>
233
234 * window.el (switch-to-prev-buffer): Revert last patch because the
235 bug turned out to be an advertised feature (Elisp manual 28.14).
236
335aff35
GM
2372012-03-22 Glenn Morris <rgm@gnu.org>
238
239 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
240 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
241
c676576a
LMI
2422012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
243
244 * net/network-stream.el (network-stream-open-starttls): Make error
245 message under Windows be less misleading.
246
126f3d39
LW
2472012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
248
249 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
250 understands (bug#9942).
251
64fee311
CY
2522012-03-22 Chong Yidong <cyd@gnu.org>
253
254 * simple.el (end-of-visible-line): Handle return value of
255 next-single-property-change properly (Bug#9371).
256
a640d29a
KH
2572012-03-22 Kenichi Handa <handa@m17n.org>
258
259 * international/quail.el (quail-insert-kbd-layout): Fix previous
260 change. To avoid unwanted bidi reordering, use
261 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
262
39675016
DG
2632012-03-21 Dmitry Gutov <dgutov@yandex.ru>
264
265 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
266 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
267 (ruby-beginning-of-indent): Be more careful with the difference
268 between word-boundary and symbol boundary.
269 (ruby-mode-syntax-table): Make : a symbol constituent.
270
0a6934fc 2712012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 272
3d008e4f
SM
273 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
274
0a6934fc
SM
2752012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
276
af67c9d7
SM
277 * progmodes/etags.el (tags-completion-at-point-function):
278 Improve last fix.
279
1acad97c
SM
280 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
281
e298b5da
SS
2822012-03-21 Sam Steingold <sds@gnu.org>
283
284 * progmodes/etags.el (tags-completion-at-point-function):
285 Avoid the error when point is inside the pattern.
286
91d82a70
JY
2872012-03-21 John Yates <john@yates-sheets.org> (tiny change)
288
289 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
290 line (Bug#10855).
291
69188b79
CY
2922012-03-21 Drew Adams <drew.adams@oracle.com>
293
294 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
295
99fc91fe
AK
2962012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
297
298 * ido.el (ido-set-current-directory, ido-read-internal)
299 (ido-choose-completion-string, ido-completion-help): Handle nil
300 value of ido-completion-buffer (Bug#11008).
301
087bbb4c
SS
3022012-03-21 Sam Steingold <sds@gnu.org>
303
304 * window.el (switch-to-prev-buffer): Do not switch to a visible
305 window previous buffer, just like with the frame previous buffers.
306
fb5b8aca
CY
3072012-03-21 Chong Yidong <cyd@gnu.org>
308
309 * faces.el (make-face, make-empty-face, copy-face):
310 * face-remap.el (face-remap-add-relative, face-remap-set-base):
311 Doc fixes.
312
dc9924b8
SM
3132012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * wid-edit.el (widget-complete-field): Remove (bug#11051).
316 (widget-complete): Remove broken use of it.
317
f0bcceb9
CY
3182012-03-20 Chong Yidong <cyd@gnu.org>
319
dc9924b8
SM
320 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
321 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
322 characters.
323
ee52ebf3
TH
3242012-03-20 Tassilo Horn <tassilo@member.fsf.org>
325
326 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
327 to draw rectangles, not squares. (Regression introduced by revno
328 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
329
4c5779ab
CY
3302012-03-18 Chong Yidong <cyd@gnu.org>
331
332 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
333 it is not yet defined (for temacs).
334
15360934
LL
3352012-03-18 Leo Liu <sdl.web@gmail.com>
336
dc9924b8 337 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 338
d9a8eb66
EZ
3392012-03-17 Eli Zaretskii <eliz@gnu.org>
340
341 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
342 (ispell-choices-win-default-height, ispell-silently-savep)
343 (ispell-dictionary-alist, ispell-encoding8-command)
344 (ispell-check-version, ispell-aspell-find-dictionary)
345 (ispell-valid-dictionary-list, ispell-words-keyword)
346 (ispell-get-word, ispell-internal-change-dictionary)
347 (ispell-region, ispell-skip-region-list)
348 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
349 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
350 (ispell-message-text-end, ispell-message)
351 (ispell-buffer-local-parsing): Doc fix.
352
f02ff80d
J
3532012-03-13 Jambunathan K <kjambunathan@gmail.com>
354
355 * htmlfontify.el: Add support for code block fontification for ODT
356 export (Bug #9914).
357 (hfy-optimisations): Define new option
358 `body-text-only'
359 (hfy-fontify-buffer): Honor above setting.
360 (hfy-begin-span, hfy-end-span): New routines factored out form
361 `hfy-fontify-buffer'.
362 (hfy-begin-span-handler, hfy-end-span-handler): New variables
363 that permit insertion of custom tags.
364 (hfy-fontify-buffer): Use above handlers.
365 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
366 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 367 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
368 over multiple runs. This is made possible by having the caller let
369 bind a special variable `hfy-user-sheet-assoc'.
370 (htmlfontify-string): New defun.
371 (hfy-compile-face-map): Make sure that the last char in the
372 buffer is correctly fontified.
373 (hfy-face-resolve-face): Whitespace only change.
374
9ac7a13f
EZ
3752012-03-17 Eli Zaretskii <eliz@gnu.org>
376
377 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
378 message more clear.
379
e2b5bdd7
LL
3802012-03-16 Leo Liu <sdl.web@gmail.com>
381
382 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
383
2e492df3
AM
3842012-03-16 Alan Mackenzie <acm@muc.de>
385
386 Further optimise the handling of large macros.
387
388 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
389 limit to a call of `c-literal-limits'.
390 (c-determine-+ve-limit): New function.
dc9924b8
SM
391 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
392 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
393 In CASE 5B, restrict a search limit to 500.
394 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
395
396 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
397 Restrict macro bounds to +-500 from after-change's BEG END.
398
50e94f0c
LL
3992012-03-16 Leo Liu <sdl.web@gmail.com>
400
401 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
402
6f09f6ed
AH
4032012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
404
405 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 406 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 407
c7e73d51
GM
4082012-03-16 Glenn Morris <rgm@gnu.org>
409
da986230
GM
410 * view.el (view-buffer, view-buffer-other-window)
411 (view-buffer-other-frame): Doc fixes re special mode-class.
412
0835f01e
GM
413 * subr.el (eval-after-load): If named feature is provided not from
414 a file, run after-load forms. (Bug#10946)
415
c7e73d51
GM
416 * calendar/calendar.el (calendar-insert-at-column):
417 Handle non-unit-width characters a bit better. (Bug#10978)
418
3f2eafd1
CY
4192012-03-15 Chong Yidong <cyd@gnu.org>
420
421 * emacs-lisp/ring.el (ring-extend): New function.
422 (ring-insert+extend): Extend the ring correctly (Bug#11019).
423
424 * comint.el (comint-read-input-ring)
425 (comint-add-to-input-history): Grow comint-input-ring lazily.
426
103af3fe
SM
4272012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
428
663b1677
SM
429 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
430 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
431
103af3fe
SM
432 * imenu.el: Fix multiple inheritance breakage (bug#9199).
433 (imenu-add-to-menubar): Don't add a redundant index.
434 (imenu-update-menubar): Handle a dynamically composed keymap.
435
899cb7cb
KY
4362012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
437
438 * mail/sendmail.el (mail-encode-header):
439 Bind rfc2047-encode-encoded-words to nil.
440
3809f91d
GM
4412012-03-13 Glenn Morris <rgm@gnu.org>
442
443 * calendar/calendar.el (calendar-string-spread):
444 Handle non-unit-width characters a bit better. (Bug#10978)
445
9e345a01
LL
4462012-03-13 Leo Liu <sdl.web@gmail.com>
447
448 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
449 directory and file as argument (Bug#10822).
450
4a07df36
KS
4512012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
452
453 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
454 For dynamically generated code, follow $PC.
455 (gdb-disassembly-handler-custom): Handle no function name case.
456
4aaa9356
TL
4572012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
458
459 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
460 * emulation/ws-mode.el (ws-query-replace):
461 * sort.el (sort-regexp-fields):
462 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
463
225979da
SM
4642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * dabbrev.el: Fix cycle completion order (bug#10963).
467 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
468 (dabbrev-completion): Don't use an obarray; provide
469 a cycle-sort-function.
470
e2f1fdab
LL
4712012-03-12 Leo Liu <sdl.web@gmail.com>
472
dc9924b8 473 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
474 (kill-do-not-save-duplicates): Doc fix.
475
b19490ed
SM
4762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * dabbrev.el: Fix cycle completion (bug#10963).
479 Use lexical binding and wrap to 80 columns.
480 (dabbrev-completion): Delay computing the list of completions.
481
4b05d722
KH
4822012-03-12 Kenichi Handa <handa@m17n.org>
483
484 * international/quail.el (quail-insert-kbd-layout): Surround each
485 row by LRO and PDF instead of inserting many LRMs. Pad the left
486 and right of each non-spacing marks. Insert invisible space
487 between lower and upper characters to prevent composition.
488
dbbc2e69
SM
4892012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * minibuffer.el (minibuffer-complete): Don't get confused when the
492 function is run twice via different commands (bug#10958).
493 (complete-with-action): Fix docstring.
494
292112ed
CY
4952012-03-12 Chong Yidong <cyd@gnu.org>
496
5d1ac394
CY
497 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
498 (nxml-completion-at-point-function): New function.
499 (nxml-mode): Use it.
500 (nxml-bind-meta-tab-to-complete-flag): Default to t.
501
292112ed
CY
502 * emacs-lisp/package.el (package-unpack, package-unpack-single):
503 Load generated autoloads file before byte compiling (Bug#10970).
504 (package--make-autoloads-and-compile): New helper fun.
505
4098f8f7
CS
5062012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
507
508 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
509
8f754691
MA
5102012-03-11 Michael Albinus <michael.albinus@gmx.de>
511
512 * autorevert.el (auto-revert-handler): Ensure, that
513 file-readable-p is applied only for local files or in
514 auto-revert-tail-mode.
515
e29ab36b
AS
5162012-03-11 Andreas Schwab <schwab@linux-m68k.org>
517
dbbc2e69
SM
518 * server.el (server-eval-at): Handle non-tcp connections.
519 Decode result string.
ad0bf5b6 520
e29ab36b
AS
521 * server.el (server-msg-size): New constant.
522 (server-reply-print): New function.
523 (server-eval-and-print): Use it.
524 (server-eval-at): Use server-quote-arg and server-unquote-arg.
525 Handle -print-nonl.
526
de5939ba
CS
5272012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
528
529 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
530 (Bug#10987).
531
0c93eabf
CY
5322012-03-11 Chong Yidong <cyd@gnu.org>
533
397a688f
CY
534 * simple.el (goto-line): Doc fix (Bug#9938).
535
2cc775f9
CY
536 * subr.el (save-window-excursion): Doc fix (Bug#9979).
537
0c93eabf
CY
538 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
539 when finished (Bug#10963).
540
c491fa41
MR
5412012-03-11 Martin Rudalics <rudalics@gmx.at>
542
543 * window.el (split-window-below): Fix bug in case where
544 split-window-keep-point is nil (Bug#10971).
545
300e8fa5
JL
5462012-03-11 Juri Linkov <juri@jurta.org>
547
548 * replace.el (replace-highlight): Set isearch-word to nil
549 unconditionally. (Bug#10887)
550
dbf6c5a1
EZ
5512012-03-10 Eli Zaretskii <eliz@gnu.org>
552
553 * net/mairix.el (mairix-replace-invalid-chars): Rename from
554 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 555 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
556 (mairix-widget-create-query): Add usage information about mairix
557 search forms: negating words, searching for substrings, etc.
558
b9e501de
JP
5592012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
560
561 * international/fontset.el (font-encoding-alist): Add an entry for
562 ksx1001 (Bug#5667).
563
92795c91
RS
5642012-03-10 Richard Stallman <rms@gnu.org>
565
1694e6c1
RS
566 * mail/sendmail.el (mail-encode-header):
567 Set rfc2047-encode-encoded-words.
568
607e8555
RS
569 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
570
de3bc99a
RS
571 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
572 view buffer means not swapped.
573 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
574 (rmail-write-region-annotate): Error if real text has disappeared.
575
92795c91
RS
576 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
577
699bd04e
CY
5782012-03-10 Chong Yidong <cyd@gnu.org>
579
580 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
581 * emulation/cua-base.el (cua--init-keymaps):
582 Add delete-forward-char to remappings (Bug#9666).
699bd04e 583
570a1714
MR
5842012-03-10 Martin Rudalics <rudalics@gmx.at>
585
dbbc2e69
SM
586 * speedbar.el (speedbar-unhighlight-one-tag-line):
587 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 588
82dcf4e4
CY
5892012-03-10 Chong Yidong <cyd@gnu.org>
590
7a2c7ca7
CY
591 * minibuffer.el (completion-in-region, completion-help-at-point):
592 Give the completion field overlay a high priority (Bug#6830).
593
82dcf4e4
CY
594 * dired.el (dired-goto-file): Recognize absolute file name
595 listings (Bug#7126).
596 (dired-goto-file-1): New helper function.
597 (dired-toggle-read-only): Inhibit warnings.
598
052e28ac
MA
5992012-03-09 Michael Albinus <michael.albinus@gmx.de>
600
601 * net/dbus.el: (dbus-property-handler): Return empty array if
602 there are no properties.
603
95d5e396
LL
6042012-03-09 Leo Liu <sdl.web@gmail.com>
605
606 * savehist.el (savehist-printable): Stricter check for string
607 value (Bug#10937).
608
3f018d6d
EZ
6092012-03-09 Eli Zaretskii <eliz@gnu.org>
610
dbbc2e69
SM
611 * mail/smtpmail.el (smtpmail-send-it):
612 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
613 valid mbox format.
614
f7fd3d79
GM
6152012-03-09 Glenn Morris <rgm@gnu.org>
616
617 * files.el (dir-locals-find-file):
618 Don't check result is regular, readable.
619 (dir-locals-read-from-file): Demote errors.
620
6ff6e72f
EZ
6212012-03-08 Eli Zaretskii <eliz@gnu.org>
622
dbbc2e69
SM
623 * international/quail.el (quail-insert-kbd-layout):
624 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
625 layout cell, to prevent their reordering by bidi display engine.
626 For details, see the discussion in
627 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
628
9cec7834
AM
6292012-03-08 Alan Mackenzie <acm@muc.de>
630
631 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
632 the starting position; make it extend the marked region when
633 invoked repeatedly - all under appropriate circumstances.
634 Fixes bugs #5525, #10906.
635
9a40b8d4
GM
6362012-03-08 Glenn Morris <rgm@gnu.org>
637
638 * files.el (locate-dominating-file, dir-locals-find-file):
639 Undo 2012-03-06 change.
640
7a08ed35
EZ
6412012-03-07 Eli Zaretskii <eliz@gnu.org>
642
dbbc2e69
SM
643 * international/quail.el (quail-help):
644 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
645 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
646 for the reason.
647
5aca4f71 6482012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
649
650 Avoid superfluous registering of signals. (Bug#10807)
651
652 * notifications.el (notifications-on-action-object)
653 (notifications-on-close-object): New defvars.
654 (notifications-on-action-signal, notifications-on-closed-signal):
655 Unregister the signal if not needed any longer.
656 (notifications-notify): Register `notifications-action-signal' or
657 `notifications-closed-signal', if :on-action or :on-close has been
658 passed as argument.
659
78e8b10a
CY
6602012-03-07 Chong Yidong <cyd@gnu.org>
661
662 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
663 non-X platforms.
664
69481eb8
GM
6652012-03-06 Glenn Morris <rgm@gnu.org>
666
667 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
668 (x-disown-selection-internal, x-get-selection-internal):
669 Doc fix (add arglist signatures). (Bug#10783)
670
133b8e11
KS
6712012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
672
673 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
674 Handle breakpoints with no "type".
675
99a83064
GM
6762012-03-06 Glenn Morris <rgm@gnu.org>
677
678 * files.el (locate-dominating-file): Add optional predicate argument.
679 (dir-locals-find-file): Make use of above change.
680
17798e78
TTN
6812012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
682
683 * info.el (Info-insert-dir): Also try "dir.gz".
684
eb182446
GM
6852012-03-06 Glenn Morris <rgm@gnu.org>
686
8f2114ee
GM
687 * files.el (dir-locals-find-file):
688 Ignore non-readable or non-regular files. (Bug#10928)
689
eb182446
GM
690 * files.el (locate-dominating-file): Doc fix.
691
24679323
AS
6922012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
693
694 * calendar/calendar.el (calendar-set-mode-line):
695 `getenv' returns a string. (Bug#10951)
696
01d972a9
LL
6972012-03-05 Leo Liu <sdl.web@gmail.com>
698
109aa8a9
LL
699 * simple.el (backward-delete-char-untabify): Constrain point to
700 field (Bug#10939).
701
01d972a9
LL
702 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
703
10607bea
CY
7042012-03-05 Chong Yidong <cyd@gnu.org>
705
706 * simple.el (count-words): If called from Lisp, return the word
707 count, for symmetry with `count-lines'. Arglist changed.
708 (count-words--message): Args changed. Consolidate counting code
709 from count-words and count-words-region.
710 (count-words-region): Caller changed.
711 (count-lines-region): Make it an obsolete alias.
712
5dd11cfe
TH
7132012-03-04 Tassilo Horn <tassilo@member.fsf.org>
714
715 * saveplace.el (save-place-to-alist)
716 (save-place-ignore-files-regexp): Allow value nil to disable this
717 feature.
718
c349f4e6
CY
7192012-03-04 Chong Yidong <cyd@gnu.org>
720
721 * faces.el (face-spec-reset-face): For the default face, reset the
722 attributes to default values (Bug#10748).
723
e627be4c
LMI
7242012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
725
726 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
727 previous patch: Check `message-send-mail-function', and not the
728 default function (bug#10897).
729
ebeabff4
MA
7302012-03-04 Michael Albinus <michael.albinus@gmx.de>
731
a41a6cf4
MA
732 * notifications.el (notifications-on-action-signal)
733 (notifications-on-closed-signal): Check for unique service name of
734 incoming event. Fix error in removing entry.
ebeabff4 735 (top): Register for signals with wildcard service name.
a41a6cf4 736 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 737
c1ca42b4
CY
7382012-03-04 Chong Yidong <cyd@gnu.org>
739
dc9924b8 740 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 741
ea16568d
GM
7422012-03-04 Glenn Morris <rgm@gnu.org>
743
744 * abbrev.el (copy-abbrev-table, abbrev-table-p)
745 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
746 (expand-abbrev, define-abbrev-table): Doc fixes.
747
fbae4637
LMI
7482012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
749
750 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
751 `message-default-send-mail-function' and not `send-mail-function'
752 when doing the prompting for `sendmail-query-once' before sending
753 in Message buffers (bug#10897).
754
a1e7225c
LMI
755 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
756 This is inconsistent with all the other stream functions, which leave
757 the setting up to the higher levels (if so wanted) (bug#10931).
758
56d093a9
AM
7592012-03-02 Alan Mackenzie <acm@muc.de>
760
761 Depessimize the handling of very large macros.
762
763 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
764 (c-macro-cache-syntactic): New variables to implement a one
765 element macro cache.
766 (c-invalidate-macro-cache): New function.
767 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
768 Adapt to use the new cache.
769 (c-state-safe-place): Use better the cache of safe positions.
770 (c-state-semi-nonlit-pos-cache)
771 (c-state-semi-nonlit-pos-cache-limit):
772 New variables for...
773 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
774 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
775 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
776 Use c-state-semi-safe-place.
56d093a9 777
dbbc2e69
SM
778 * progmodes/cc-langs.el (c-get-state-before-change-functions):
779 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 780
817e5c3d
MA
7812012-03-02 Michael Albinus <michael.albinus@gmx.de>
782
dbbc2e69
SM
783 * jka-compr.el (jka-compr-call-process):
784 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
785 not remote.
786
a032a702
MA
7872012-03-01 Michael Albinus <michael.albinus@gmx.de>
788
789 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
790 access of FILE2, if FILE1 does not exist.
791
99a54f21
MA
792 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
793 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
794
795 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
796 Add "PAGER=" to `process-environment'.
797
f6561e1f
MM
7982012-03-01 Michael R. Mauger <mmaug@yahoo.com>
799
800 * progmodes/sql.el: Bug fix
801 (sql-get-login-ext): Save login values in globals.
802 (sql-get-login): Use new version of `sql-get-login-ext'.
803 (sql-interactive-mode): Set global `sql-connection' to nil.
804 (sql-connect): Set global values for connection.
805 (sql-product-interactive): Save global values as buffer local.
806
2d44d9cc
LL
8072012-02-29 Leo Liu <sdl.web@gmail.com>
808
809 * abbrev.el (define-abbrevs): Reset sys to nil.
810
96b49301 8112012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
812
bf7f9bc5
JB
813 * files.el (file-equal-p): Rename from `files-equal-p'.
814 Return nil when one or both files don't exist.
96b49301 815 (file-subdir-of-p): Now only top directory must exists,
816 return nil if it doesn't.
bf7f9bc5
JB
817 (copy-directory): No need to test with `file-subdir-of-p' after
818 creating dir.
819 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
820 to `file-equal-p'.
96b49301 821
44e97401
GM
8222012-02-28 Glenn Morris <rgm@gnu.org>
823
824 * shell.el (shell-mode):
825 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
826 * play/landmark.el (landmark-font-lock-face-O):
827 * play/handwrite.el (handwrite):
828 * play/gomoku.el (gomoku-O):
829 * net/browse-url.el (browse-url-browser-display):
830 * international/mule.el (define-charset):
831 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
832 * filesets.el (filesets-find-file-delay):
833 * eshell/em-xtra.el (eshell-xtra):
834 * eshell/em-unix.el (eshell-grep):
835 * emulation/viper.el (viper-mode):
836 * emacs-lisp/regexp-opt.el (regexp-opt-group):
837 * emacs-lisp/easymenu.el (easy-menu-define):
838 * calendar/timeclock.el (timeclock-use-display-time):
839 * bs.el (bs-mode):
840 * bookmark.el (bookmark-save-flag):
841 Doc fix (standardize possessive apostrophe usage).
842
c98c6276
CY
8432012-02-27 Chong Yidong <cyd@gnu.org>
844
bf7f9bc5
JB
845 * emulation/viper-cmd.el (viper-intercept-ESC-key):
846 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 847
c98c6276
CY
848 * font-lock.el (font-lock-specified-p): Rename from
849 font-lock-spec-present. Callers changed.
850
9c62cd04 8512012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 852
bf7f9bc5
JB
853 * emacs-lisp/package.el (package-compute-transaction):
854 Handle holding a package version to t in package-load-list.
8ac9e529 855
530739c9
MA
8562012-02-26 Michael Albinus <michael.albinus@gmx.de>
857
858 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
859 (tramp-get-inode, tramp-get-device): Use cached values.
860
487915d7
AM
8612012-02-26 Alan Mackenzie <acm@muc.de>
862
863 Check there is a font-lock specification before doing initial
864 fontification.
865
866 * font-core.el (font-lock-mode): Move the conditional from
867 :after-hook to font-lock-initial-fontify.
868 (font-lock-default-function): Move the check for a specification
869 to font-lock-spec-present.
870
dc9924b8 871 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
872 (font-lock-spec-present): New function.
873
4fd96557
JB
8742012-02-26 Jim Blandy <jimb@red-bean.com>
875
876 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
877 (gdb-send): Apply it to the operand of the '-interpreter-exec
878 console' command, so that we can pass arguments with (say) quotes
879 in them. Store exact string sent in gdb-debug-log (Bug#10765).
880
9a4888c0
CY
8812012-02-26 Chong Yidong <cyd@gnu.org>
882
07498861
CY
883 * help-fns.el (describe-function-1): Clarify description of
884 remapping (Bug#10844).
885
9a4888c0
CY
886 * files.el (files-equal-p): Doc fix.
887 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
888 and quit the loop once a mismatch is found.
889
ea8fb88d
JB
8902012-02-25 Juanma Barranquero <lekktu@gmail.com>
891
892 * bs.el (bs--show-with-configuration): Don't throw an error
893 if the window cannot be split; otherwise, subsequent calls to
894 bs-show fail, restoring a stale window config. (Bug#10882)
895
525795c1
JD
8962012-02-25 Jan Djärv <jan.h.d@swipnet.se>
897
898 * term/ns-win.el (global-map): Bind ns-drag-file to
899 ns-find-file (Bug#5855, Bug#10050).
900
f008086f
AS
9012012-02-25 Andreas Schwab <schwab@linux-m68k.org>
902
903 * calendar/parse-time.el (parse-time-string): Allow extractor to
904 return nil.
905
a3fcfa99
MA
9062012-02-25 Michael Albinus <michael.albinus@gmx.de>
907
91027d08
JB
908 * net/tramp.el (tramp-file-name-for-operation):
909 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
910
911 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
912 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
913 Add COPY-CONTENTS argument.
a3fcfa99 914
67b0de11
CY
9152012-02-25 Chong Yidong <cyd@gnu.org>
916
917 Add custom groups for VC backends, for consistency with vc-bzr.
918
919 * vc/vc-arch.el (vc-arch):
920 * vc/vc-cvs.el (vc-cvs):
921 * vc/vc-git.el (vc-git):
922 * vc/vc-hg.el (vc-hg):
923 * vc/vc-mtn.el (vc-mtn):
924 * vc/vc-rcs.el (vc-rcs):
925 * vc/vc-sccs.el (vc-sccs):
926 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
927 All relevant defcustoms reassigned.
928
3c9dfce6
CY
9292012-02-25 Chong Yidong <cyd@gnu.org>
930
1339bf43
CY
931 * newcomment.el (comment-styles): Add autoload (Bug#10868).
932
3c9dfce6
CY
933 * term/x-win.el (x-initialize-window-system): Reduce default for
934 x-selection-timeout to 5 seconds (Bug#8869).
935
53a46cd0 9362012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 937
53a46cd0 938 * files.el (file-subdir-of-p): Fix typo.
14a8a663 939
25b2e303 9402012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
941
ec70a47d
GM
942 * files.el (files-equal-p, file-subdir-of-p): New functions.
943 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 944 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
945 * dired-aux.el (dired-copy-file-recursive): Same.
946 (dired-create-files): Modify destination when source is equal to
947 dest when copying files.
53a46cd0 948 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 949
914260cd
MA
9502012-02-24 Michael Albinus <michael.albinus@gmx.de>
951
952 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
953 (Bug#10874)
954
2cb228f7
AM
9552012-02-23 Alan Mackenzie <acm@muc.de>
956
957 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
958 parameter "after-hook:" to allow the expansion to run code after
959 the execution of the mode hooks.
960
961 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 962 from font-lock-mode-internal.
2cb228f7 963
91027d08 964 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
965 :after-hook.
966
8f0fde21
SM
9672012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
968
3e88618b
SM
969 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
970 (completion--cache-all-sorted-completions): New function.
971 (completion-all-sorted-completions): Use it.
972 (completion--do-completion, minibuffer-force-complete):
973 Use it to re-instate the flush hook.
974
8f0fde21
SM
975 * icomplete.el (icomplete-completions): Replace last fix with a better
976 one (bug#10850).
977
8e911f6f
DG
9782012-02-23 Dmitry Gutov <dgutov@yandex.ru>
979
980 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
981 when it might call us back infinitely (bug#10797).
982
49fe4321
GM
9832012-02-23 Glenn Morris <rgm@gnu.org>
984
985 * minibuffer.el (completion-category-overrides): Doc fix.
986
b291b572
SM
9872012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * minibuffer.el (completion-table-with-context): Fix inf-loop.
990 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
991
31a9ef2e
GM
9922012-02-23 Glenn Morris <rgm@gnu.org>
993
5e6e6794 994 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
995 (authors-obsolete-files-regexps, authors-ignored-files)
996 (authors-ambiguous-files, authors-renamed-files-alist):
997 Add more entries.
998
0bd1e074
JL
9992012-02-23 Juri Linkov <juri@jurta.org>
1000
1001 * isearch.el (isearch-occur): Sync interactive spec with occur's
1002 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1003
b617673c
JL
1004 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1005
19e9789e
JL
10062012-02-22 Juri Linkov <juri@jurta.org>
1007
1008 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1009 (ucs-insert): Doc fix. Check for hex digits in the string.
1010 Don't display `nil' in the error message. (Bug#10857)
1011
f41ce09d
AM
10122012-02-22 Alan Mackenzie <acm@muc.de>
1013
7a71b18d 1014 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1015
ac2eceee
GM
10162012-02-22 Glenn Morris <rgm@gnu.org>
1017
1018 * ffap.el (ffap-c-path):
1019 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1020
abd1f678
CY
10212012-02-22 Chong Yidong <cyd@gnu.org>
1022
1023 * custom.el (load-theme): Doc fix.
1024
f25aef2e
GM
10252012-02-22 Glenn Morris <rgm@gnu.org>
1026
1027 * dired-x.el (dired-guess-shell-alist-default):
1028 Remove escape sequences from nroff output. (Bug#172)
1029
5f8dc2ca
GM
10302012-02-21 Glenn Morris <rgm@gnu.org>
1031
6ff86ec4
GM
1032 * vc/emerge.el (emerge-defvar-local):
1033 Set `permanent-local' property rather than unused `preserved'.
1034
be3223a3 1035 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1036 (picture-mode-map): Use it. (Bug#10860)
1037 (picture-mode): Doc fix.
1038
3fe58f4f
JB
10392012-02-21 Juanma Barranquero <lekktu@gmail.com>
1040
1041 * newcomment.el (uncomment-region-default): Remove unused binding.
1042
f9a998c3
GM
10432012-02-21 Glenn Morris <rgm@gnu.org>
1044
1045 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1046 (picture-self-insert, picture-tab-chars): Doc fix.
1047 (picture-mode-map): Fix C-a, C-e.
1048
c6029348
GM
10492012-02-20 Glenn Morris <rgm@gnu.org>
1050
1051 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1052
ab1ce9d7
LL
10532012-02-20 Leo Liu <sdl.web@gmail.com>
1054
1055 * icomplete.el (icomplete-completions): Check FROM arg before
1056 passing to substring (Bug#10850).
1057
0fd40f89
CY
10582012-02-19 Chong Yidong <cyd@gnu.org>
1059
1060 * comint.el: Require ansi-color.
1061 (comint-output-filter-functions): Add ansi-color-process-output.
1062
1063 * ansi-color.el: Don't set comint-output-filter-functions; it is
1064 now in the initial value defined in comint.el.
1065 (ansi-color-apply-face-function): New variable.
1066 (ansi-color-apply-on-region): Use it.
1067 (ansi-color-apply-overlay-face): New function.
1068
1069 * shell.el (shell): No need to require ansi-color.
1070 (shell-mode): Use ansi-color-apply-face-function to highlight
1071 color escapes using font-lock-face property (Bug#10835).
1072
20af2394
CY
10732012-02-19 Chong Yidong <cyd@gnu.org>
1074
1075 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1076 mode-line formats (Bug#10839).
1077
e23a3fbe
GM
10782012-02-18 Glenn Morris <rgm@gnu.org>
1079
b474519e
GM
1080 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1081
1082 * mail/undigest.el (unforward-rmail-message): Doc fix.
1083
e23a3fbe
GM
1084 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1085
57939ff4
EZ
10862012-02-18 Eli Zaretskii <eliz@gnu.org>
1087
1088 * international/characters.el (script-list): Sync with the latest
1089 Unicode Character Database.
1090
0c23686e
AS
10912012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1092
1093 * international/titdic-cnv.el: Remove duplicate coding tag.
1094 * language/cham.el: Likewise.
1095 * language/tai-viet.el: Likewise.
1096
6818b449
GM
10972012-02-18 Glenn Morris <rgm@gnu.org>
1098
1099 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1100 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1101 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1102 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1103 * calendar/holidays.el (holiday-bahai-holidays)
1104 (calendar-holidays, list-holidays):
1105 Use utf-8 Bahá'í in doc-strings, menus, etc.
1106
0311a3fc
TH
11072012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1108
1109 * saveplace.el (save-place-ignore-files-regexp): New variable
1110 allowing for excluding files from saving their location of point.
1111 The default value matches the temporary commit message editing
1112 files from Git, SVN, Bazaar, and Mercurial.
1113 (save-place-to-alist): Use it.
1114
eb864a71
LM
11152012-02-17 Lawrence Mitchell <wence@gmx.li>
1116 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * newcomment.el (uncomment-region-default): Don't leave extra space
1119 when an arg is provided (bug#8150).
1120
ee0ce425
TZ
11212012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1122
eb864a71 1123 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1124
95ddf442
GM
11252012-02-17 Glenn Morris <rgm@gnu.org>
1126
1127 * net/socks.el: Require network-stream. (Bug#10599)
1128
48dd1e39 11292012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1130
1131 * international/charprop.el:
1132 * international/uni-name.el:
1133 * international/uni-old-name.el:
1134 * international/uni-comment.el: Regenerate.
1135
d68cd087
GM
11362012-02-16 Glenn Morris <rgm@gnu.org>
1137
1138 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1139 Interactively in calendar buffer, give an error if not on a date.
1140
13932042
GM
11412012-02-15 Glenn Morris <rgm@gnu.org>
1142
1143 * shell.el (shell-delimiter-argument-list):
1144 Revert 2011-02-17 change. (Bug#8027)
1145
c3a70e2b
CY
11462012-02-15 Chong Yidong <cyd@gnu.org>
1147
60236b0d
CY
1148 * minibuffer.el (completion-at-point-functions): Doc fix.
1149
c3a70e2b
CY
1150 * custom.el (defcustom): Doc fix; note use of defvar.
1151
9f26dc24
GM
11522012-02-15 Glenn Morris <rgm@gnu.org>
1153
1154 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1155 Doc fixes.
1156
6546b134
GM
11572012-02-14 Glenn Morris <rgm@gnu.org>
1158
1159 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1160
d29b2b4c
LI
11612012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1162
1163 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1164 way the ports list is computed.
835bdcba
LI
1165 (smtpmail-query-smtp-server): Prompt the user for a port number if
1166 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1167
08dcdbc9
TZ
11682012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1169
1170 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1171
2605051a
GM
11722012-02-13 Glenn Morris <rgm@gnu.org>
1173
1174 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1175
7ee99f32
TZ
11762012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1177
1178 * net/gnutls.el (gnutls-trustfiles): New variable.
1179 (gnutls-negotiate): Use it.
1180
5f0af64f
LI
11812012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1182
1183 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1184 does its stuff if Gnus is running.
1185
c14fcc95
AM
11862012-02-13 Alan Mackenzie <acm@muc.de>
1187
1188 Fix a loop in c-set-fl-decl-start.
1189
7a71b18d 1190 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1191 c-backward-syntactic-ws actually moves backwards.
1192
142b4d90
LL
11932012-02-13 Leo Liu <sdl.web@gmail.com>
1194
1195 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1196 beginning so that all \C-o chars are removed.
1197
fa9958a6
TZ
11982012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1199
dc9924b8 1200 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1201
0bc5886a
AM
12022012-02-12 Alan Mackenzie <acm@muc.de>
1203
1204 Fix infinite loop with long macros.
1205 * cc-engine.el (c-state-safe-place): Handle macros properly.
1206
d4bd55e7
CY
12072012-02-12 Chong Yidong <cyd@gnu.org>
1208
1209 * window.el (display-buffer): Doc fix (Bug#10785).
1210
66f3fe22
GM
12112012-02-12 Glenn Morris <rgm@gnu.org>
1212
bd7da63e
GM
1213 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1214 (x-disown-selection-internal, x-get-selection-internal):
1215 Sync docs with the xselect.c versions.
1216
66f3fe22
GM
1217 * allout-widgets.el: Add missing license notice.
1218
3e0d2fa7
GM
12192012-02-11 Glenn Morris <rgm@gnu.org>
1220
cfecdf09
GM
1221 * select.el (x-get-selection-internal, x-own-selection-internal)
1222 (x-disown-selection-internal):
1223 * x-dnd.el (x-get-selection-internal): Update declarations.
1224
6d216d7f
GM
1225 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1226
2bed3f04
GM
1227 * window.el (window-sides-slots):
1228 * tool-bar.el (tool-bar-position):
1229 * term/xterm.el (xterm-extra-capabilities):
1230 * ses.el (ses-self-reference-early-detection):
1231 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1232 (verilog-auto-wire-type)
1233 (verilog-auto-delete-trailing-whitespace)
1234 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1235 (verilog-auto-tieoff-declaration):
1236 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1237 (sql-oracle-statement-starters, sql-oracle-scan-on):
1238 * progmodes/prolog.el (prolog-align-comments-flag)
1239 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1240 (prolog-left-indent-regexp, prolog-paren-indent-p)
1241 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1242 (prolog-types, prolog-mode-specificators)
1243 (prolog-determinism-specificators, prolog-directives)
1244 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1245 (prolog-electric-dot-flag)
1246 (prolog-electric-dot-full-predicate-template)
1247 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1248 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1249 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1250 (prolog-program-switches, prolog-prompt-regexp)
1251 (prolog-debug-on-string, prolog-debug-off-string)
1252 (prolog-trace-on-string, prolog-trace-off-string)
1253 (prolog-zip-on-string, prolog-zip-off-string)
1254 (prolog-use-standard-consult-compile-method-flag)
1255 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1256 (prolog-imenu-max-lines, prolog-info-predicate-index)
1257 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1258 (prolog-char-quote-workaround):
1259 * progmodes/cc-vars.el (c-defun-tactic):
1260 * net/tramp.el (tramp-encoding-command-interactive)
1261 (tramp-local-end-of-line):
1262 * net/soap-client.el (soap-client):
1263 * net/netrc.el (netrc-file):
1264 * net/gnutls.el (gnutls):
1265 * minibuffer.el (completion-category-overrides)
1266 (completion-cycle-threshold)
1267 (completion-pcm-complete-word-inserts-delimiters):
1268 * man.el (Man-name-local-regexp):
1269 * mail/feedmail.el (feedmail-display-full-frame):
1270 * international/characters.el (glyphless-char-display-control):
1271 * eshell/em-ls.el (eshell-ls-date-format):
1272 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1273 (lisp-lambda-list-keyword-parameter-indentation)
1274 (lisp-lambda-list-keyword-parameter-alignment):
1275 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1276 * dired-x.el (dired-omit-verbose):
1277 * cus-theme.el (custom-theme-allow-multiple-selections):
1278 * calc/calc.el (calc-highlight-selections-with-faces)
1279 (calc-lu-field-reference, calc-lu-power-reference)
1280 (calc-note-threshold):
1281 * battery.el (battery-mode-line-limit):
1282 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1283 (archive-7z-update):
1284 * allout.el (allout-prefixed-keybindings)
1285 (allout-unprefixed-keybindings)
1286 (allout-inhibit-auto-fill-on-headline)
1287 (allout-flattened-numbering-abbreviation):
1288 * allout-widgets.el (allout-widgets-auto-activation)
1289 (allout-widgets-icons-dark-subdir)
1290 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1291 (allout-widgets-theme-dark-background)
1292 (allout-widgets-theme-light-background)
1293 (allout-widgets-item-image-properties-emacs)
1294 (allout-widgets-item-image-properties-xemacs)
1295 (allout-widgets-run-unit-tests-on-load)
1296 (allout-widgets-time-decoration-activity)
1297 (allout-widgets-hook-error-post-time)
1298 (allout-widgets-track-decoration):
1299 Add missing :version tags to new defcustoms and defgroups.
1300
5fec1b8e
GM
1301 * progmodes/sql.el (sql-ansi-statement-starters)
1302 (sql-oracle-statement-starters): Add custom type.
1303
3e0d2fa7
GM
1304 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1305 (prolog-system-version): Give it a type.
1306
90b671e2
EZ
13072012-02-11 Eli Zaretskii <eliz@gnu.org>
1308
1309 * term/pc-win.el (x-select-text, x-selection-owner-p)
1310 (x-own-selection-internal, x-disown-selection-internal)
1311 (x-get-selection-internal): Sync doc strings and argument lists
1312 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1313
5eac0c02
LL
13142012-02-11 Leo Liu <sdl.web@gmail.com>
1315
1316 * progmodes/python.el (python-end-of-statement): Fix infinite
1317 loop. (Bug#10788)
1318
f82cb659
GM
13192012-02-10 Glenn Morris <rgm@gnu.org>
1320
1321 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1322 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1323
cc26d239
LI
13242012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1325
1326 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1327 about SMTP before checking the From header.
1328
91027d08 1329 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1330 into own function for reuse by emacsbug.el.
1331
1be3ca5a
LL
13322012-02-10 Leo Liu <sdl.web@gmail.com>
1333
1334 * subr.el (condition-case-unless-debug): Rename from
1335 condition-case-no-debug. All callers changed.
1336 (with-demoted-errors): Fix caller.
1337
1338 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1339 * nxml/rng-valid.el (rng-do-some-validation):
1340 * emacs-lisp/package.el (package-refresh-contents)
1341 (package-menu-execute):
1342 * desktop.el (desktop-create-buffer):
91027d08 1343 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1344
b011fbfe
GM
13452012-02-10 Glenn Morris <rgm@gnu.org>
1346
b2096d72
GM
1347 * textmodes/bibtex.el:
1348 Add missing :version tags for new/changed defcustoms.
1349
b011fbfe
GM
1350 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1351
4c7e65bf
LI
13522012-02-09 Lars Ingebrigtsen <larsi@rusty>
1353
1354 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1355 (smtpmail-via-smtp): Use it, or fall back on the From address.
1356 (smtpmail-send-it): Ditto.
1357
f3934f6f
SM
13582012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1361 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1362 (byte-compile-tmp-var): New const.
1363 (byte-compile-defvar): Use it to minimize .elc size.
1364 Just use `defvar' rather than simulate it (bug#10761).
1365
a075a2c5
GM
13662012-02-09 Glenn Morris <rgm@gnu.org>
1367
cf3aa21b
GM
1368 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1369
354998cd
GM
1370 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1371 Add :version tags.
1372
dc9924b8
SM
1373 * progmodes/compile.el (compilation-error-screen-columns)
1374 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1375
dab3703d
GM
1376 * vc/log-view.el (log-view-toggle-entry-display):
1377 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1378
3f88cd72
GM
1379 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1380 (report-emacs-bug-can-use-xdg-email):
1381 (report-emacs-bug-insert-to-mailer): Doc fixes.
1382 (report-emacs-bug): Message fix.
1383
d95b247d
GM
1384 * net/browse-url.el (browse-url-can-use-xdg-open)
1385 (browse-url-xdg-open): Doc fixes.
1386
a075a2c5
GM
1387 * electric.el (electric-indent-mode, electric-pair-mode)
1388 (electric-layout-rules, electric-layout-mode): Doc fixes.
1389 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1390
ffb6157e
MR
13912012-02-08 Martin Rudalics <rudalics@gmx.at>
1392
1393 * server.el (server-unselect-display): Don't inadvertently kill
1394 the current buffer. (Bug#10729)
1395
e1ac4066
GM
13962012-02-08 Glenn Morris <rgm@gnu.org>
1397
34e8a2da
GM
1398 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1399 (sql-list-table): Doc fixes.
1400
b4ac6e8c
GM
1401 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1402 Comment out (does nothing).
1403
e1ac4066
GM
1404 * completion.el (dynamic-completion-mode):
1405 * dirtrack.el (dirtrack-debug-mode):
1406 * electric.el (electric-layout-mode):
1407 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1408 * face-remap.el (text-scale-mode, buffer-face-mode):
1409 * iimage.el (iimage-mode):
1410 * image-mode.el (image-transform-mode):
1411 * minibuffer.el (completion-in-region-mode):
1412 * scroll-lock.el (scroll-lock-mode):
1413 * simple.el (next-error-follow-minor-mode):
1414 * tar-mode.el (tar-subfile-mode):
1415 * tooltip.el (tooltip-mode):
1416 * vcursor.el (vcursor-use-vcursor-map):
1417 * wid-browse.el (widget-minor-mode):
1418 * emulation/tpu-edt.el (tpu-edt-mode):
1419 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1420 * international/iso-ascii.el (iso-ascii-mode):
1421 * language/thai-util.el (thai-word-mode):
1422 * mail/supercite.el (sc-minor-mode):
1423 * net/goto-addr.el (goto-address-mode):
1424 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1425 * progmodes/cwarn.el (cwarn-mode):
1426 * progmodes/flymake.el (flymake-mode):
1427 * progmodes/glasses.el (glasses-mode):
1428 * progmodes/hideshow.el (hs-minor-mode):
1429 * progmodes/pascal.el (pascal-outline-mode):
1430 * textmodes/enriched.el (enriched-mode):
1431 * vc/smerge-mode.el (smerge-mode):
1432 Doc fixes (minor mode argument).
1433
5e0d957f
EZ
14342012-02-07 Eli Zaretskii <eliz@gnu.org>
1435
1436 * ls-lisp.el (ls-lisp-sanitize): New function.
1437 (ls-lisp-insert-directory): Use it to fix or remove any elements
1438 in file-alist with missing attributes. (Bug#4673)
1439
98d7371e
AM
14402012-02-07 Alan Mackenzie <acm@muc.de>
1441
1442 Fix spurious recognition of c-in-knr-argdecl.
1443
1444 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1445 putative K&R region.
1446
667ced3a
AM
14472012-02-07 Alan Mackenzie <acm@muc.de>
1448
eb864a71
LM
1449 * progmodes/cc-engine.el (c-forward-objc-directive):
1450 Prevent looping in "#pragma mark @implementation".
667ced3a 1451
5b77774d
MA
14522012-02-07 Michael Albinus <michael.albinus@gmx.de>
1453
1454 * notifications.el (notifications-on-closed-signal): Make `reason'
1455 optional. (Bug#10744)
1456
af008560
GM
14572012-02-07 Glenn Morris <rgm@gnu.org>
1458
60d47423
GM
1459 * emacs-lisp/easy-mmode.el (define-minor-mode):
1460 Doc fixes for the macro and the mode it defines.
1461
dd605cc4
GM
1462 * image.el (imagemagick-types-inhibit): Doc fix.
1463
af008560
GM
1464 * cus-start.el (imagemagick-render-type): Add it.
1465
5cc59a37
LI
14662012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1467
1468 * progmodes/cc-mode.el
1469 (c-standard-font-lock-fontify-region-function): Set the default at
1470 load time, too, so that `font-lock-fontify-buffer' can be called
1471 without setting up the entire mode first. This fixes a bug in
1472 `mm-inline-text' with C MIME parts.
1473
9a6dd747
CY
14742012-02-06 Chong Yidong <cyd@gnu.org>
1475
2d16b285
CY
1476 * simple.el (list-processes--refresh): Delete exited processes
1477 (Bug#8094).
1478
171e9b6e
CY
1479 * comint.el (comint-next-prompt): next-single-char-property-change
1480 and prev-single-char-property-change never return nil (Bug#8657).
1481
9a6dd747
CY
1482 * custom.el (defcustom): Doc fix (Bug#9711).
1483
aa4589a7
CY
14842012-02-05 Chong Yidong <cyd@gnu.org>
1485
5c2a252f
CY
1486 * cus-edit.el (custom-variable-reset-backup): Quote the value
1487 before storing it in the customized-value property (Bug#6712).
4aab9006 1488 (custom-display): Add a customization type tag.
983b9602 1489 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1490
aa4589a7
CY
1491 * wid-edit.el (widget-field-value-get): New optional arg to
1492 suppress trailing whitespace truncation.
1493 (character): Use it (Bug#2689).
1494
1ff980ae
AS
14952012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1496
1497 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1498 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1499
03988c98
CY
15002012-02-05 Chong Yidong <cyd@gnu.org>
1501
eeb6cc88
CY
1502 * cus-edit.el (custom-variable-value-create): For mismatched
1503 types, show the current value (Bug#7600).
1504
03988c98
CY
1505 * custom.el (defcustom): Doc fix.
1506
f8cdeef0
GM
15072012-02-05 Glenn Morris <rgm@gnu.org>
1508
1509 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1510
0696d255
JB
15112012-02-05 Juanma Barranquero <lekktu@gmail.com>
1512
1513 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1514 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1515 (pp-last-sexp): Use `looking-at-p'.
1516
34c99998
GM
15172012-02-04 Glenn Morris <rgm@gnu.org>
1518
8f05da42
GM
1519 * files.el (revert-buffer):
1520 Doc fix (mention revert-buffer-in-progress-p).
1521
f160676e
GM
1522 * emacs-lisp/ert-x.el (ert-simulate-command):
1523 Check deferred-action-list (which is obsolete) is bound.
1524
c7291ad9
GM
1525 * subr.el (with-wrapper-hook): Doc fixes.
1526
34c99998
GM
1527 * simple.el (filter-buffer-substring-functions)
1528 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1529
6283a7d3
LL
15302012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1531
1532 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1533 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1534
e96e3013
LL
15352012-02-04 Leo Liu <sdl.web@gmail.com>
1536
1537 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1538
8ded50f2
GM
15392012-02-04 Glenn Morris <rgm@gnu.org>
1540
82ff1d13
GM
1541 * image.el (image-extension-data): Add obsolete alias.
1542
987a0a16
GM
1543 * isearch.el (isearch-update): Doc fix.
1544
ea32ef46
GM
1545 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1546
8ded50f2
GM
1547 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1548
eea14f31
GM
15492012-02-03 Glenn Morris <rgm@gnu.org>
1550
1551 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1552 (image-animate-timeout): Doc fix.
1553
1554 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1555
12f381b7
GM
15562012-02-02 Glenn Morris <rgm@gnu.org>
1557
953cebf5
GM
1558 * server.el (server-auth-dir): Doc fix.
1559 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1560
12f381b7
GM
1561 * subr.el (run-mode-hooks): Doc fix.
1562
953a8c3b
JL
15632012-02-02 Juri Linkov <juri@jurta.org>
1564
1565 * image-mode.el (image-toggle-display-image): Remove tautological
1566 `major-mode' from the `derived-mode-p' test.
1567
c5d3843c
KH
15682012-02-02 Kenichi Handa <handa@m17n.org>
1569
9f6e692e 1570 * composite.el (compose-region): Cancel previous change.
c5d3843c 1571
159462d4 15722012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1573
1574 * composite.el (compose-region, compose-string): Signal error for
1575 a null string component (Bug#6988).
1576
9f562668
CY
15772012-02-01 Chong Yidong <cyd@gnu.org>
1578
e2cef717
CY
1579 * view.el (view-buffer-other-window, view-buffer-other-frame):
1580 Handle special modes like view-buffer (Bug#10650).
1581 (view-buffer): Simplify.
1582
9f562668
CY
1583 * frame.el (set-frame-font): Tweak meaning of third argument.
1584
9f6e692e
JB
1585 * dynamic-setting.el (font-setting-change-default-font):
1586 Use set-frame-font (Bug#9982).
9f562668 1587
781acb9f
GM
15882012-02-01 Glenn Morris <rgm@gnu.org>
1589
6035be52
GM
1590 * progmodes/compile.el (compilation-internal-error-properties):
1591 Respect compilation-first-column in the "*compilation*" buffer.
1592
781acb9f
GM
1593 * emacs-lisp/easy-mmode.el (define-minor-mode):
1594 Relax :variable's test for a named function.
1595
abbceb00
AM
15962012-01-31 Alan Mackenzie <acm@muc.de>
1597
1598 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1599 off by one error.
1600
fce3fdeb
CY
16012012-01-31 Chong Yidong <cyd@gnu.org>
1602
1603 * frame.el (set-frame-font): New arg ALL-FRAMES.
1604
1605 * menu-bar.el (menu-set-font): Use set-frame-font.
1606
1607 * faces.el (face-spec-reset-face): Don't apply unspecified
1608 attribute values to the default face.
1609
47893581
JB
16102012-01-31 Juanma Barranquero <lekktu@gmail.com>
1611
1612 * progmodes/cwarn.el (cwarn): Remove dead link.
1613 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1614 Remove * from defcustom docstrings.
1615 (turn-on-cwarn-mode): Make obsolete.
1616 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1617 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1618
e58e988a
GM
16192012-01-31 Glenn Morris <rgm@gnu.org>
1620
60dc2671 1621 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1622 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1623 Allow named functions to be used as the cdr of :variable.
e58e988a 1624
7a3f511d
GM
16252012-01-30 Glenn Morris <rgm@gnu.org>
1626
1627 * emacs-lisp/authors.el (authors-fixed-entries):
1628 Remove reference to deleted file rnewspost.el.
1629
cb882333
JB
16302012-01-29 Juanma Barranquero <lekktu@gmail.com>
1631
1632 * window.el (window-with-parameter): Remove unused variable `windows'.
1633 (window--side-check): Remove unused variable `code'.
1634 (window--resize-siblings): Remove unused variable `first'.
1635 (adjust-window-trailing-edge): Remove unused variable `failed'.
1636 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1637 Use `let', not `let*'.
1638 (balance-windows-2): Remove unused variable `found'.
1639 (window--state-put-2): Remove unused variable `splits'.
1640 (window-state-put): Remove unused variable `selected'.
1641 (same-window-p): Use `string-match-p'.
1642 (display-buffer-assq-regexp): Remove unused variable `value'.
1643 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1644 Mark argument ALIST as ignored.
1645 (pop-to-buffer): Remove unused variable `old-window'.
1646
907201af
EZ
16472012-01-29 Eli Zaretskii <eliz@gnu.org>
1648
1649 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1650 and .lzma compressed files.
1651
ea162670
CY
16522012-01-29 Chong Yidong <cyd@gnu.org>
1653
5b95ee8a
CY
1654 * frame.el (window-system-default-frame-alist): Doc fix.
1655
ea162670
CY
1656 * dynamic-setting.el (font-setting-change-default-font): Don't
1657 change the default face if SET-FONT argument is non-nil (Bug#9982).
1658
d6e6f4b1
SB
16592012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1660
1661 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1662
0f29fa41 16632012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1664
1665 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1666 breakpoints in files outside current directory (Bug#6098).
1667
db174434
CY
16682012-01-29 Chong Yidong <cyd@gnu.org>
1669
6b25e4e2
SE
1670 * progmodes/python.el: Require ansi-color at top-level.
1671
6df6ae42
JB
1672 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1673 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1674 (lisp-mode-abbrev-table): Add doc.
1675 (lisp-mode-variables): Don't set local-abbrev-table.
1676 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1677
e70ee681
RW
16782012-01-28 Roland Winkler <winkler@gnu.org>
1679
1680 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1681
ace88aa2
RW
16822012-01-28 Roland Winkler <winkler@gnu.org>
1683
1684 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1685 (bibtex-set-dialect): Use it. Either set global values of
1686 dialect-dependent variables or bind these variables buffer-locally
1687 (Bug#10254).
1688 (bibtex-mode): Call bibtex-set-dialect via
1689 hack-local-variables-hook.
eb864a71
LM
1690 (bibtex-dialect): Update docstring.
1691 Add safe-local-variable predicate.
ace88aa2
RW
1692 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1693 bibtex-set-dialect.
1694 (bibtex-mode-map): Define menu for each dialect.
1695 (bibtex-entry): Fix docstring.
1696
93376c5b
CY
16972012-01-28 Chong Yidong <cyd@gnu.org>
1698
1699 * eshell/esh-arg.el (eshell-quote-argument): New function.
1700
1701 * eshell/esh-ext.el (eshell-invoke-batch-file):
1702 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1703 first arg to eshell-parse-command (Bug#10523).
1704
4372494f
DA
17052012-01-28 Drew Adams <drew.adams@oracle.com>
1706
1707 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1708 `default-directory' is non-nil.
1709
4d4ec1f8
EZ
17102012-01-28 Eli Zaretskii <eliz@gnu.org>
1711
1712 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1713 line that displays system-configuration-options. (Bug#9924)
1714
7c188927
DA
17152012-01-28 Drew Adams <drew.adams@oracle.com>
1716
1717 * descr-text.el (describe-char): Show information about POS, in
1718 addition to information about the character at POS. Improve and
1719 update the doc string. Change "code point" to "code point in
1720 charset", to avoid confusion with the character's Unicode code
1721 point shown above that. (Bug#10129)
1722
e0da685a
EZ
17232012-01-28 Eli Zaretskii <eliz@gnu.org>
1724
1725 * descr-text.el (describe-char): Show the raw character, not only
1726 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1727 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1728 for the reasons.
1729
70550acf
PH
17302012-01-28 Phil Hagelberg <phil@hagelb.org>
1731
eb864a71
LM
1732 * emacs-lisp/package.el (package-install):
1733 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1734
0ce8e868
CY
17352012-01-28 Chong Yidong <cyd@gnu.org>
1736
cb882333
JB
1737 * emacs-lisp/package.el (package-maybe-load-descriptor):
1738 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1739 (package-maybe-load-descriptor): Use it.
1740 (package-download-transaction): Fully load required packages
1741 inside the loop, so that `require' calls work (Bug#10593).
1742 (package-install): No need to call package-initialize now.
1743
2e7f3bea
CY
17442012-01-28 Chong Yidong <cyd@gnu.org>
1745
6e9bad14
CY
1746 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1747
f823b8ca
CY
1748 * tooltip.el (tooltip-mode): Doc fix.
1749 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1750
2680c309
CY
1751 * frame.el (set-cursor-color): Doc fix (Bug#352).
1752
d7a9e63b
CY
1753 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1754 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1755
2e7f3bea
CY
1756 * cus-edit.el (custom-buffer-create-internal): Fix search button
1757 action (Bug#10542).
2ae01800 1758 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1759
fc4f7a23
EW
17602012-01-27 Eduard Wiebe <usenet@pusto.de>
1761
1762 * dired.el (dired-mark-files-regexp):
1763 Include any subdirectory components. (Bug#10445)
1764
7dd37071
ML
17652012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1766
1767 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1768 Handle [host]:port syntax. (Bug#10533)
1769
a268160b
AH
17702012-01-27 Alex Harsanyi <harsanyi@mac.com>
1771
1772 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1773
e43273ef
GM
17742012-01-26 Glenn Morris <rgm@gnu.org>
1775
1776 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1777 * term.el (term-raw-escape-map): Use Control-X-prefix.
1778 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1779
1edf595d
MR
17802012-01-25 Martin Rudalics <rudalics@gmx.at>
1781
1782 * window.el (window-state-get, window--state-get-1): Don't deal
1783 with fixed-sizeness of windows. Simplify code.
1784
fa8eafef
JC
17852012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1786
6df6ae42
JB
1787 * window.el (window--state-get-1, window--state-put-2):
1788 Don't save and restore the mark.
fa8eafef 1789
0b21c100
CY
17902012-01-25 Chong Yidong <cyd@gnu.org>
1791
1792 * custom.el (custom-variable-p): Doc fix.
1793
5ae1a6c8
GM
17942012-01-25 Glenn Morris <rgm@gnu.org>
1795
40047858
GM
1796 * dired.el (dired-goto-file): Handle some of the more common
1797 characters that `ls -b' escapes. (Bug#10596)
1798
5ddce96c
GM
1799 * progmodes/compile.el (compilation-next-error-function):
1800 Respect compilation-first-column in the "*compilation*" buffer.
1801 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1802
5ae1a6c8
GM
1803 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1804
b559f1a9
GM
18052012-01-24 Glenn Morris <rgm@gnu.org>
1806
1807 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1808
6725d21a
JD
18092012-01-24 Julien Danjou <julien@danjou.info>
1810
1811 * color.el (color-rgb-to-hsl): Fix value computing.
1812 (color-hue-to-rgb): New function.
1813 (color-hsl-to-rgb): New function.
1814 (color-clamp, color-saturate-hsl, color-saturate-name)
1815 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1816 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1817
70df4bbe
GM
18182012-01-24 Glenn Morris <rgm@gnu.org>
1819
1820 * vc/vc-rcs.el (vc-rcs-create-tag):
1821 * vc/vc-sccs.el (vc-sccs-create-tag):
1822 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1823
802a2ae2
ML
18242012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1825
1826 * eshell/esh-util.el (eshell-read-hosts-file):
1827 Skip comment lines. (Bug#10549)
1828
d7128bb1
ML
1829 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1830
d1a5c3b4
JB
18312012-01-23 Juanma Barranquero <lekktu@gmail.com>
1832
2724d9c7
JB
1833 * subr.el (display-delayed-warnings): Doc fix.
1834 (collapse-delayed-warnings): New function to collapse identical
1835 adjacent warnings.
1836 (delayed-warnings-hook): Add it.
d1a5c3b4 1837
a5509865
MA
18382012-01-22 Michael Albinus <michael.albinus@gmx.de>
1839
1840 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1841
1842 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1843 properties, when "login-as" is set.
1844
1845 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1846 (tramp-default-user-alist): Don't add "pscp".
1847 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1848 property "login-as", if set. (Bug#10530)
1849
cc6d5805
MA
18502012-01-21 Michael Albinus <michael.albinus@gmx.de>
1851
1852 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1853 "plink1" and "psftp". (Bug#10530)
1854
18552012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1856
1857 * international/mule-cmds.el (prefer-coding-system): Show a
1858 warning message if the default value of file-name-coding-system
1859 was not changed.
1860
f0960428
JC
18612012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1862
cb882333
JB
1863 * windmove.el (windmove-reference-loc):
1864 Fix windmove-reference-loc miscalculation.
f0960428 1865
dd6f2a63
JB
18662012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1867
1868 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1869 default unit.
1870
7b447e9b
GM
18712012-01-21 Glenn Morris <rgm@gnu.org>
1872
117a9ea1
GM
1873 * international/mule.el (auto-coding-alist): Add .tbz.
1874
7b447e9b
GM
1875 * files.el (local-enable-local-variables): Doc fix.
1876 (inhibit-local-variables-regexps): Rename from
1877 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1878 Doc fix. Add some extensions from auto-coding-alist.
1879 (inhibit-local-variables-suffixes):
1880 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1881 (inhibit-local-variables-p):
1882 New function, extracted from set-auto-mode-1.
1883 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1884 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1885 (hack-local-variables): Doc fix. Make the mode-only case
1886 respect enable-local-variables and friends.
1887 Respect inhibit-local-variables-regexps for file-locals, but
1888 not for directory-locals.
1889 (set-visited-file-name):
1890 Take account of inhibit-local-variables-regexps.
1891 Whether it applies may change as the file name is changed.
1892 * jka-cmpr-hook.el (jka-compr-install):
1893 * jka-compr.el (jka-compr-uninstall):
1894 Update for inhibit-first-line-modes-suffixes name change.
1895
dd6e3cdd
MR
18962012-01-20 Martin Rudalics <rudalics@gmx.at>
1897
1898 * help-macro.el (make-help-screen): Temporarily restore original
1899 binding for minor-mode-map-alist (Bug#10454).
1900
0d0deb38
JD
19012012-01-19 Julien Danjou <julien@danjou.info>
1902
1903 * color.el (color-name-to-rgb): Use the white color to find the max
1904 color component value and return correctly computed values.
1905 (color-name-to-rgb): Add missing float conversion for max value.
1906
34a02f46
MR
19072012-01-19 Martin Rudalics <rudalics@gmx.at>
1908
1909 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1910 special state value for window-persistent-parameters.
1911 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1912 (window--state-put-2): Reset all window parameters to nil before
1913 assigning values of persistent parameters.
1914
606c44c4
AM
19152012-01-18 Alan Mackenzie <acm@muc.de>
1916
1917 Eliminate sluggishness and hangs in fontification of "semicolon
1918 deserts".
1919
cb882333
JB
1920 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1921 Change value 10000 -> 3000.
606c44c4
AM
1922 (c-state-safe-place): Reformulate so it doesn't stack up an
1923 infinite number of wrong entries in c-state-nonlit-pos-cache.
1924 (c-determine-limit-get-base, c-determine-limit): New functions to
1925 determine backward search limits disregarding literals.
1926 (c-find-decl-spots): Amend commenting.
1927 (c-cheap-inside-bracelist-p): New function which detects "={".
1928
1929 * progmodes/cc-fonts.el
1930 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1931 backward search.
1932 (c-font-lock-declarations): Fix an occurrence of point being
1933 undefined. Check additionally for point being in a bracelist or
1934 near a macro invocation without a semicolon so as to avoid a
1935 fruitless time consuming search for a declarator. Give a more
1936 precise search limit for declarators using the new
1937 c-determine-limit.
1938
f3860cea
GM
19392012-01-18 Glenn Morris <rgm@gnu.org>
1940
1941 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1942 (set-auto-mode): Doc fixes.
1943
1db03b16
GM
19442012-01-17 Glenn Morris <rgm@gnu.org>
1945
0e6038be
GM
1946 * isearch.el (search-nonincremental-instead): Fix doc typo.
1947
1db03b16
GM
1948 * dired.el (dired-insert-directory): Handle newlines in directory name.
1949 (dired-build-subdir-alist): Unescape newlines in directory name.
1950
4cb0aa75
MA
19512012-01-17 Michael Albinus <michael.albinus@gmx.de>
1952
1953 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1954 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1955 (tramp-action-terminal): Use it. (Bug#10530)
1956
1d00653d
SM
19572012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1960
6a6ee00d
MR
19612012-01-16 Martin Rudalics <rudalics@gmx.at>
1962
1963 * window.el (window-state-ignored-parameters): Remove variable.
1964 (window--state-get-1): Rename argument MARKERS to IGNORE.
1965 Handle persistent window parameters. Make copy of clone-of
1966 parameter only if requested. (Bug#10348)
1967 (window--state-put-2): Install a window parameter only if it has
1968 a non-nil value or an existing parameter shall be overwritten.
1969
97912def
MA
19702012-01-15 Michael Albinus <michael.albinus@gmx.de>
1971
1972 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1973
688070a5
EZ
19742012-01-14 Eli Zaretskii <eliz@gnu.org>
1975
1976 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1977 don't pass the (nil) value of `upnode' to string-match.
1978
301afadc
CY
19792012-01-14 Chong Yidong <cyd@gnu.org>
1980
1981 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1982 Fix values recognized by the cursorBlink resource.
301afadc 1983
9e5788aa
PE
19842012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1985
1986 * epg.el (epg--make-temp-file): Avoid permission race condition
1987 when running on old Emacs versions (bug#10403).
1988
3cdb7f5a
GM
19892012-01-14 Glenn Morris <rgm@gnu.org>
1990
1991 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1992
8c82b1b4
AM
19932012-01-13 Alan Mackenzie <acm@muc.de>
1994
1995 Fix filling for when filladapt mode is enabled.
1996
1997 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1998 c-mask-paragraph, pass in `fill-paragraph' rather than
1999 `fill-region-as-paragraph'. (This is a reversion of a previous
2000 change.)
eb864a71
LM
2001 * progmodes/cc-mode.el (c-basic-common-init):
2002 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2003
e517eda4
GM
20042012-01-13 Glenn Morris <rgm@gnu.org>
2005
1498536e
GM
2006 * dired.el (dired-switches-escape-p): New function.
2007 (dired-insert-directory): Use dired-switches-escape-p.
2008 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2009
e517eda4
GM
2010 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2011
328f984d
GM
20122012-01-12 Glenn Morris <rgm@gnu.org>
2013
2014 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2015 changes in adaptive-fill-regexp. (Bug#10276)
2016
2cc769a8
AM
20172012-01-11 Alan Mackenzie <acm@muc.de>
2018
2019 Fix Emacs bug #10463 - put `widen's around the critical spots.
2020
1d00653d 2021 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2022 widen around each invocation of c-state-pp-to-literal. Remove an
2023 unused let variable.
2024
e52c37fa
GM
20252012-01-11 Glenn Morris <rgm@gnu.org>
2026
2027 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2028 Doc fix.
e52c37fa 2029
96f8741e
CY
20302012-01-10 Chong Yidong <cyd@gnu.org>
2031
1d00653d
SM
2032 * net/network-stream.el (network-stream-open-starttls):
2033 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2034 response to the capability command.
2035
b09a806e
GM
20362012-01-10 Glenn Morris <rgm@gnu.org>
2037
2038 * mail/unrmail.el (unrmail): Tweak previous change.
2039
7655cb66
CY
20402012-01-09 Chong Yidong <cyd@gnu.org>
2041
2042 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2043
9d5a8f0b
AM
20442012-01-08 Alan Mackenzie <acm@muc.de>
2045
2046 Optimise font locking in long enum definitions.
2047
2048 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2049 arm to a cond form to handle enums.
2050 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2051 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2052
9a0115ab 20532012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2054
2055 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2056 (Bug#10401)
6bb72cbd 2057
f186bb95
LMI
20582012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2059
29232a68
LMI
2060 * faces.el (set-face-attribute): Clarify the meaning of the nil
2061 frame (bug#10294).
2062
4e5d086d
LMI
2063 * subr.el (with-selected-frame): Mention that the selected frame
2064 is restored (bug#9980).
2065
8e66aebe
LMI
2066 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2067 (bug#9759).
2068
cd394be1 2069 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2070 (password-read): Don't autoload unused function.
2071
adf4e762
JB
20722012-01-07 Juanma Barranquero <lekktu@gmail.com>
2073
2074 * progmodes/which-func.el (which-func-mode): Turn into a
2075 non-interactive function and mark as obsolete (bug#10428).
2076
89bd9ccd
CY
20772012-01-06 Chong Yidong <cyd@gnu.org>
2078
2079 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2080 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2081 functions, along with 1 and -1.
2082
4afee9d5
EZ
20832012-01-06 Eli Zaretskii <eliz@gnu.org>
2084
2085 * time.el (display-time-load-average)
2086 (display-time-default-load-average): Doc fixes. See the thread
2087 starting at
2088 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2089 for the details.
2090
536aea70
GM
20912012-01-06 Glenn Morris <rgm@gnu.org>
2092
665ae865
GM
2093 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2094 has no messages. (Bug#10377)
2095
c869783d
GM
2096 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2097 than Info-edit. (Bug#10385)
2098
2bb4227e
GM
2099 * time.el (display-time-load-average, display-time-next-load-average):
2100 Doc fixes.
2101
7d5944b9
GM
2102 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2103 local setting of buffer-read-only to the input buffer. (Bug#10419)
2104
536aea70
GM
2105 * calendar/calendar.el (calendar-mode):
2106 Locally set scroll-margin to 0. (Bug#10379)
2107
7dccca16
UM
21082012-01-06 Ulrich Mueller <ulm@gentoo.org>
2109
2110 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2111
afbb7930
GM
21122012-01-05 Glenn Morris <rgm@gnu.org>
2113
2114 * eshell/em-unix.el (diff-no-select): Autoload it.
2115 (eshell/diff): Use diff-no-select. (Bug#10420)
2116
04482335
CY
21172012-01-05 Chong Yidong <cyd@gnu.org>
2118
7baca3bc
CY
2119 * shell.el (shell-dynamic-complete-functions): Revert last change.
2120 (shell-command-completion-function): New function.
2121 (shell-completion-vars): Use it to implement
2122 shell-completion-execonly (Bug#10417).
2123
04482335
CY
2124 * custom.el (enable-theme): Don't set custom-safe-themes.
2125
1d00653d
SM
2126 * cus-theme.el (custom-theme-merge-theme):
2127 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2128
bb5aa5d6
MM
21292012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2130
2131 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2132 first prompt in `sql-interacive-mode'.
2133 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2134 keywords.
6df6ae42 2135 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2136 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2137 context of original buffer. Invoke `sql-login-hook'.
2138
a7183d7c
EZ
21392012-01-04 Eli Zaretskii <eliz@gnu.org>
2140
2141 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2142 letters in cite-prefix.
2143
a1eacd1e
LMI
21442012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2145
2146 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2147
787cdb34
CY
21482012-01-03 Chong Yidong <cyd@gnu.org>
2149
1d00653d
SM
2150 * shell.el (shell-dynamic-complete-functions):
2151 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2152 comint-filename-completion first (Bug#10417).
2153
30710442
RS
21542012-01-02 Richard Stallman <rms@gnu.org>
2155
2156 * battery.el (battery-status-function):
2157 Detect when to use battery-yeeloong-sysfs.
2158 (battery-echo-area-format): Add string for Yeeloong.
2159 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2160 (battery-yeeloong-sysfs): New function.
2161
f75bfc33
CY
21622012-01-02 Chong Yidong <cyd@gnu.org>
2163
2164 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2165 (dirtrack): Merge code for handling relative filenames in prompt
2166 from shell-dir-cookie-watcher.
2167 (dirtrack-debug-message): New arg to avoid excess format calls.
2168
2169 * shell.el (shell-dir-cookie-re): Variable deleted.
2170 (shell-dir-cookie-watcher): Function deleted.
2171 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2172 with dirtrack-mode.
2173
651e947e
EZ
21742012-01-01 Eli Zaretskii <eliz@gnu.org>
2175
1d00653d
SM
2176 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2177 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2178 libgnutls-26.dll.
2179
94d4c7dc
AS
21802011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2181
2182 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2183
8d43f3cd
EZ
21842011-12-31 Eli Zaretskii <eliz@gnu.org>
2185
2186 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2187 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2188
98c8795a
MA
21892011-12-29 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2192 also for alternative shells.
2193 (tramp-open-connection-setup-interactive-shell): Check, whether
2194 the shell is a busybox.
2195 (tramp-send-command): Don't suppress multiple prompts for
2196 busyboxes, it hurts.
2197
51281b32
CY
21982011-12-28 Chong Yidong <cyd@gnu.org>
2199
2200 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2201 (gdb-get-source-file): Move mode line update to
2202 gdb-get-source-file (Bug#10087).
2203
2170cb53
CY
22042011-12-25 Chong Yidong <cyd@gnu.org>
2205
2206 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2207 gud-gdb-marker-filter without taking it as an argument.
2208 (gud-gdb-run-command-fetch-lines): Caller changed.
2209 (gud-gdb-completion-function): New variable.
2210 (gud-gdb-completion-at-point): Use it.
2211 (gud-gdb-completions-1): Split from gud-gdb-completions.
2212
2213 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2214 function as separate arguments.
2215 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2216 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2217 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2218 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2219 (gdb-stopped, def-gdb-auto-update-trigger)
2220 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2221 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2222 Callers changed.
2170cb53
CY
2223 (gud-gdbmi-completions): New function.
2224 (gdb): Use it for generating the completion table.
2225
be8b11bb
AM
22262011-12-24 Alan Mackenzie <acm@muc.de>
2227
2228 Introduce a mechanism to widen the region used in context font
1d00653d 2229 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2230
1d00653d
SM
2231 * progmodes/cc-langs.el (c-before-font-lock-functions):
2232 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2233 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2234 functions to be run just before context (etc.) font locking.
2235
2236 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2237 New, functionality extracted from
be8b11bb 2238 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2239 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2240 (c-after-change): Set c-in-after-change-fontification.
2241 (c-set-fl-decl-start): Rejig its interface, so it can be called
2242 from both after-change and context fontifying.
b81d40f0
JB
2243 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2244 New functions.
2245 (c-standard-font-lock-fontify-region-function): New variable.
2246 (c-font-lock-fontify-region): New function.
be8b11bb 2247
341cf6ac
JL
22482011-12-24 Juri Linkov <juri@jurta.org>
2249
2250 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2251 (Bug#10348)
2252
bffcee0a
MA
22532011-12-23 Michael Albinus <michael.albinus@gmx.de>
2254
2255 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2256 existence of source file. (Bug#10325)
2257
cb5e207c
AM
22582011-12-23 Alan Mackenzie <acm@muc.de>
2259
2260 Fix unstable fontification inside templates.
2261
b81d40f0
JB
2262 * progmodes/cc-langs.el (c-before-font-lock-functions):
2263 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2264 additionally has c-set-fl-decl-start. The other languages (apart
2265 from AWK) have that as a single entry.
2266
b81d40f0
JB
2267 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2268 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2269 c-set-fl-decl-start.
2270
b81d40f0
JB
2271 * progmodes/cc-mode.el (c-common-init, c-after-change):
2272 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2273 (c-set-fl-decl-start): New function, extracted from
2274 c-font-lock-enclosing-decls and enhanced.
2275
60ff536c
JB
22762011-12-23 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2279
1c4757d6
JL
22802011-12-22 Juri Linkov <juri@jurta.org>
2281
2282 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2283
d031f2c7
CY
22842011-12-22 Chong Yidong <cyd@gnu.org>
2285
2286 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2287
bace743a
DA
22882011-12-21 Drew Adams <drew.adams@oracle.com>
2289
2290 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2291
728a1f2b
JC
22922011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2293
2294 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2295
0d373f73
TZ
22962011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2297
fec0aaa4
TZ
2298 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2299 highlighting and support. Fix up comments for capitalization.
2300 (cfengine-mode-debug): New var.
2301 (cfengine3-mode): Change the modeline indicator to "CFE3".
2302 (cfengine3-font-lock-keywords): Improve defun highlighting.
2303 (cfengine2-actions): Rename from `cfengine-actions'.
2304 (cfengine2-font-lock-keywords): Rename from
2305 `cfengine-font-lock-keywords'.
2306 (cfengine2-imenu-expression): Rename from
2307 `cfengine-imenu-expression'.
2308 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2309 (cfengine2-beginning-of-defun): Rename from
2310 `cfengine-beginning-of-defun'.
2311 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2312 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2313 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2314 modeline indicator to "CFE2".
2315 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2316 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2317
bc86f573
CY
23182011-12-21 Chong Yidong <cyd@gnu.org>
2319
2320 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2321 filename argument.
2322
d45ba96b
MR
23232011-12-20 Martin Rudalics <rudalics@gmx.at>
2324
2325 * window.el (window-normalize-buffer-to-display): Remove.
2326 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2327
a6198c90
CY
23282011-12-19 Chong Yidong <cyd@gnu.org>
2329
2330 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2331 Don't signal an error in a predicate function; return non-nil.
2332 (vc-dir-mark-file): Move the error here.
2333 (vc-dir-mark-unmark): If acting on the region, keep going if one
2334 of the entries cannot be marked/unmarked.
2335 (vc-dir-mark-all-files): If current entry is a directory, mark
2336 only child files, as documented.
2337
34c5fb55
VB
23382011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2339
2340 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2341 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2342 addition.
2343
c803b2b7
JD
23442011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2345
2346 * term/ns-win.el (ns-get-selection-internal)
2347 (ns-store-selection-internal): Declare.
1154d12e
JB
2348 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2349 Declare as obsolete.
2350 (ns-get-pasteboard, ns-paste-secondary):
2351 Use ns-get-selection-internal.
2352 (ns-set-pasteboard, ns-copy-including-secondary):
2353 Use ns-store-selection-internal.
c803b2b7 2354
9cff91f8 23552011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2356
2357 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2358 (vc-deduce-fileset): Doc fix.
99a289d9 2359
f16c898a
AS
23602011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2361
2362 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2363
763237c4
SS
23642011-12-13 Sam Steingold <sds@gnu.org>
2365
2366 * man.el (Man-getpage-in-background): When running under a
2367 window-system, ignore $MANWIDTH and $COLUMNS.
2368
5fc1c122
KH
23692011-12-15 Kenichi Handa <handa@m17n.org>
2370
2371 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2372 (setup-ethiopic-environment-internal): Comment out key-binding for
2373 ethio-toggle-punctuation.
2374
13d49cbb
AM
23752011-12-13 Alan Mackenzie <acm@muc.de>
2376
898169a2
AM
2377 Add the switch statement to AWK Mode.
2378
7a71b18d 2379 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2380 "default" to the keywords regexp.
2381
7a71b18d 2382 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2383 expression as the rest.
1d00653d
SM
2384 (c-nonlabel-token-key): Allow string literals for AWK.
2385 Refactor for the other modes.
898169a2 2386
13d49cbb 2387 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2388 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2389 routines. Limit backward searching in c-font-lock-enclosing.decl.
2390
2391 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2392 pp-state and literal type in addition to the limits.
1d00653d 2393 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2394 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2395 (c-slow-in-literal, c-fast-in-literal): Remove.
2396 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2397
2398 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2399 being in a literal. Add a limit for backward searching.
2400
2401 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2402 c-slow-in-literal.
2403
15e0efc7
SM
24042011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2407
454592a6
MR
24082011-12-13 Martin Rudalics <rudalics@gmx.at>
2409
2410 * window.el (delete-other-windows): Use correct frame in call to
2411 window-with-parameter.
2412
87393f26
DP
24132011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2414
2415 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2416 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2417 (makefile-gmake-statements, makefile-makepp-statements):
2418 Use it and add new makepp keywords.
2419 (makefile-makepp-font-lock-keywords): Add new patterns.
2420 (makefile-match-function-end): Match new [...] and [[...]].
2421
11636b22
JB
24222011-12-11 Juanma Barranquero <lekktu@gmail.com>
2423
2424 * ses.el (ses-call-printer-return, ses-cell-property-get)
2425 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2426 (ses-create-cell-variable, ses-reset-header-string)
2427 (ses-cell-set-formula, ses-repair-cell-reference-all)
2428 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2429 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2430 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2431 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2432 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2433 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2434 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2435 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2436 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2437 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2438 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2439 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2440
cf018193
VB
24412011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2442
2443 * ses.el: The overall change is to add cell renaming, that is
2444 setting fancy names for cell symbols other than name matching
2445 "\\`[A-Z]+[0-9]+\\'" regexp .
2446 (ses-create-cell-variable): New defun.
2447 (ses-relocate-formula): Relocate formulas only for cells the
2448 symbols of which are not renamed, i.e. symbols whose names do not
2449 match regexp "\\`[A-Z]+[0-9]+\\'".
2450 (ses-relocate-all): Relocate values only for cells the symbols of
2451 which are not renamed.
2452 (ses-load): Create cells variables as the (ses-cell ...) are read,
2453 in order to check row col consistency with cell symbol name only
2454 for cells that are not renamed.
2455 (ses-replace-name-in-formula): New defun.
2456 (ses-rename-cell): New defun.
2457
ee957461
CY
24582011-12-11 Chong Yidong <cyd@gnu.org>
2459
2460 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2461 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2462
9a9e9ef0
MR
24632011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2464
2465 * window.el (other-window): Fix docstring.
2466
92a8eba5
EZ
24672011-12-10 Eli Zaretskii <eliz@gnu.org>
2468
2469 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2470 `from' or `to' address before taking its substring.
2471 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2472 encoded name is chopped in the middle of the encoded string, and
2473 thus displayed encoded.
2474
e152e577
JB
24752011-12-10 Juanma Barranquero <lekktu@gmail.com>
2476
2477 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2478
e5d84bfe
EZ
24792011-12-10 Eli Zaretskii <eliz@gnu.org>
2480
2481 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2482 to use texinfo-update-node and commands that call it if the
2483 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2484 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2485 (texinfo-all-menus-update, texinfo-master-menu)
2486 (texinfo-update-node, texinfo-every-node-update)
2487 (texinfo-multiple-files-update): Doc fix. Warn against updating
2488 all the @node lines.
2489 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2490 argument is numeric. Explain better in the doc string what the
2491 function really does.
2492 (texinfo-insert-master-menu-list): Improve the error message
2493 displayed if there's no menu in the Top node.
2494 (Bug#2975) See also this thread:
e5d84bfe
EZ
2495 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2496
1d84e9bb
MG
24972011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2498
2499 * speedbar.el (speedbar-supported-extension-expressions):
2500 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2501
382c953b
JB
25022011-12-09 Juanma Barranquero <lekktu@gmail.com>
2503
2504 * printing.el (pr-mode-alist):
2505 * simple.el (filter-buffer-substring-functions)
2506 (completion-list-insert-choice-function):
2507 * window.el (window-with-parameter, window-atom-root)
2508 (window-sides-slots, window-size-fixed, window-min-delta)
2509 (window-max-delta, window--resize-mini-window)
2510 (window--resize-child-windows-normal, window-tree)
2511 (delete-other-windows, quit-window, split-window)
2512 (display-buffer-record-window, special-display-buffer-names)
2513 (special-display-regexps, special-display-popup-frame)
2514 (same-window-p, split-window-sensibly)
2515 (display-buffer-overriding-action, display-buffer-alist)
2516 (display-buffer-base-action, display-buffer, switch-to-buffer)
2517 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2518 (fit-window-to-buffer, recenter-positions)
2519 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2520 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2521 and remove unneeded backslashes in docstrings.
2522
39c9faef
SM
25232011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2524
98449af8
SM
2525 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2526
39c9faef
SM
2527 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2528 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2529 end in ".mk".
2530 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2531 when reading the makefile (bug#10116).
2532
86ed9fdc
SM
25332011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2536 (bug#10116).
2537
5580f89d
GM
25382011-12-06 Glenn Morris <rgm@gnu.org>
2539
2540 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2541
28d3917c
CY
25422011-12-06 Chong Yidong <cyd@gnu.org>
2543
2544 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2545
a98edce9
JB
25462011-12-06 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * textmodes/table.el (table-shorten-cell): Fix typo.
2549
e65adfac
CG
25502011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2551
2552 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2553
71cc0b74
EZ
25542011-12-05 Eli Zaretskii <eliz@gnu.org>
2555
2556 * descr-text.el (describe-char): Fix display of strong
2557 right-to-left characters and directional embeddings and overrides.
2558
2559 * simple.el (what-cursor-position): Fix display of codepoints of
2560 strong right-to-left characters.
2561
315bc30d
CY
25622011-12-05 Chong Yidong <cyd@gnu.org>
2563
2564 * faces.el (read-color): Doc fix.
2565
58a70b94
GM
25662011-12-05 Glenn Morris <rgm@gnu.org>
2567
2568 * align.el (align--set-marker): Add doc-string.
2569 Don't try to move something that is not a marker. (Bug#10216)
2570
5158face
GM
25712011-12-04 Glenn Morris <rgm@gnu.org>
2572
2573 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2574 overly zealous deletion of trailing whitespace.
2575
520fca41
JB
25762011-12-04 Juanma Barranquero <lekktu@gmail.com>
2577
2578 * server.el (server-delete-client): On Windows, do not try to delete
2579 the only terminal.
2580 (server-process-filter): On Windows, treat requests for a tty frame as
2581 if they were for a GUI frame if the running server is in GUI mode.
2582
5e605a2e
GM
25832011-12-03 Glenn Morris <rgm@gnu.org>
2584
2585 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2586
5c3fe83f
SM
25872011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2588
6f5e57e7
SM
2589 * electric.el: Streamline electric-indent's hook.
2590 (electric-indent-chars): Revert to simple list.
2591 (electric-indent-functions): New var.
2592 (electric-indent-post-self-insert-function): Use it.
2593
5c3fe83f
SM
2594 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2595 there's no inferior buffer (bug#10196).
2596 (prolog-consult-compile): Don't use toggle-read-only.
2597
6bdac736
MA
25982011-12-02 Michael Albinus <michael.albinus@gmx.de>
2599
2600 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2601 interrupt. (Bug#10187)
2602
6131ba7f
SM
26032011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2604
99c79fee
SM
2605 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2606 (bug#9160).
2607
6131ba7f
SM
2608 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2609 (bug#10191).
2610
cb0a02ea
JL
26112011-12-02 Juri Linkov <juri@jurta.org>
2612
2613 * info.el (Info-search): Display "end of manual" when Isearch
2614 reaches the end of single-file Info manual. (Bug#9918)
2615
66e0570c
EZ
26162011-12-02 Eli Zaretskii <eliz@gnu.org>
2617
2618 * isearch.el (isearch-message-prefix): Run the input method part
2619 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2620
02b16839
JL
26212011-12-02 Juri Linkov <juri@jurta.org>
2622
2623 * isearch.el (isearch-occur): Use `word-search-regexp' for
2624 `isearch-word'.
2625 (isearch-search-and-update): Add condition for `isearch-word' and
2626 call `word-search-regexp'. (Bug#10145)
2627
0b950688
GM
26282011-12-01 Glenn Morris <rgm@gnu.org>
2629
2630 * eshell/em-hist.el (eshell-hist-initialize):
2631 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2632 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2633
9505c3c7
SM
26342011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2637
1bbe96b2 26382011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2639
a1beca85
SM
2640 * progmodes/verilog-mode.el (verilog-pretty-expr):
2641 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2642 verilog, such as += *= and the like.
2643 (verilog-assignment-operator-re): Regular expression to find the
2644 assigment operator in a verilog assignment.
2645 (verilog-assignment-operation-re): Regular expression to find an
2646 assignment statement for pretty-expr.
2647 (verilog-in-attribute-p): Query returns true if point is in an
2648 attribute context; used to skip these for expression line up from
2649 pretty-expr.
2650 (verilog-in-parameter-p): Query returns true if point is in an
2651 parameter definition context; used to skip these for expression
2652 line up from pretty-expr.
2653 (verilog-in-parenthesis-p): Query returns true if point is in a
2654 parenthetical expression, specifically ( ) but not [ ] or { };
2655 used by pretty-expr.
2656 (verilog-just-one-space): If there is no space, don't add one.
2657 (verilog-get-lineup-indent-2): Specifically skip just attribute
2658 contexts for expression lineup, rather than skipping all
2659 parenthetical expressions.
2660 (verilog-calculate-indent): Fix comment, and fix indent.
2661 (verilog-do-indent): Indent declarations in lists (suggested by
2662 Joachim Lechner).
2663 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2664 skeleton items.
2665 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2666 by Alain Mellan).
2667
1bbe96b2 26682011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2669
2670 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2671 parameters with embedded comments. Reported by Ray Stevens.
2672 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2673 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2674 Reported by Tim Holt.
2675 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2676 instantiated by upper module causing wrong expansion until AUTOed a
2677 second time. Reported by K C Buckenmaier.
2678 (verilog-diff-auto): Fix showing .* as a difference when
2679 `verilog-auto-star-save' off. Reported by Dan Dever.
2680 (verilog-auto-reset, verilog-read-always-signals)
2681 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2682 temporary signals in reset list if
2683 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2684 style to each signal's assignment type, bug381.
2685 Reported by Thomas Esposito.
6288f0ca
WS
2686 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2687 (verilog-uvm-statement-re): Support UVM indentation and
2688 highlighting, with old OVM keywords only.
a1beca85 2689 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2690 Support AUTOTIEOFF creating non-wire data types.
2691 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2692 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2693 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2694 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2695 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2696 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2697 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2698 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2699 non-numeric vector width. Reported by Alex Reed.
2700 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2701 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2702 (verilog-auto-delete-trailing-whitespace):
2703 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2704 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2705 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2706 Fix verilog-scan-cache corruption when running user AUTO expansion
2707 hooks that call indentation routines.
2708 (verilog-simplify-range-expression): Fix typo ignoring lower case
2709 identifiers.
2710 (verilog-delete-auto): Fix delete-autos to also remove user created
2711 automatics, as long as they start with AUTO.
2712 (verilog-batch-diff-auto, verilog-diff-auto)
2713 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2714 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2715 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2716 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2717 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2718 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2719 is disabled and its cache will get corrupt, causing AUTOS not to
2720 expand. Instead use only -quick functions.
2721 (verilog-scan-region): Fix scanning over escaped quotes.
2722 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2723 (verilog-re-search-backward-quick)
2724 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2725 related functions now ignore strings, to fix misparsing of strings
2726 with magic comments embedded in them.
a1beca85
SM
2727 (verilog-read-auto-template):
2728 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2729 Reported by Brad Dobbie.
2730 (verilog-read-auto-template):
2731 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2732 Reported by Brad Dobbie.
6288f0ca
WS
2733 (verilog-auto-inst, verilog-auto-inst-param)
2734 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2735 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2736 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2737 debugging templates without merge conflicts, bug357.
2738 Reported by Brad Dobbie.
2739 (verilog-read-auto-template):
2740 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2741 Reported by Brad Dobbie.
2742 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2743 abbrevs so user won't be asked to save.
2744 (verilog-read-auto-lisp-present): Fix to start at beginning of
2745 buffer in case called outside of verilog-auto.
2746 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2747 to "X-2". Reported by Matthew Myers.
2748 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2749 all inputs from module templates. Reported by Leith Johnson.
2750 (verilog-module-inside-filename-p): Fix locating programs as with
2751 modules.
2752 (verilog-auto-inst-port): Fix vl-width expressions when using
2753 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2754 (verilog-decls-get-regs, verilog-decls-get-signals,
2755 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2756 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2757 verilog-read-decls): Combine reg and wire structures into one var
2758 structure to represent SystemVerilog concepts.
2759 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2760 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2761 (verilog-auto-wire-type, verilog-insert-definition):
2762 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2763 SystemVerilog "logic" keyword instead of "wire"/"reg".
2764 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2765 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2766 ifdef or generate if so there's not a driver conflict).
2767 Reported by Matthew Myers.
2768 (verilog-auto-declare-nettype, verilog-insert-definition):
2769 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2770 `default_nettype none. Reported by Julian Gorfajn.
2771 (verilog-read-always-signals-recurse, verilog-read-decls)
2772 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2773 malformed end statement, bug325. Reported by Joshua Wise and
2774 Andrew Drake.
2775 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2776 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2777 when expanding .* in interfaces, bug320.
2778 Reported by Pierre-David Pfister.
6288f0ca 2779 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2780 name and open parenthesis, bug317.
2781 Reported by Pierre-David Pfister.
6288f0ca
WS
2782 (verilog-simplify-range-expression): Fix simplification of
2783 multiplications inside AUTOWIRE connections, bug303.
2784 (verilog-auto-inst-port): Support parameter expansion in
2785 multidimensional arrays.
2786 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2787 after "assert property". Reported by Julian Gorfajn.
2788 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2789 with multiplication, bug303.
2790 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2791 Reported by Jan Frode Lonnum.
2792
1bbe96b2
GM
27932011-11-30 Juanma Barranquero <lekktu@gmail.com>
2794
2795 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2796 (hfy-shell-file-name, hfy-shell):
2797 * international/fontset.el (x-decompose-font-name): Fix typos.
2798
27992011-11-29 Ken Brown <kbrown@cornell.edu>
2800
2801 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2802 (gdb-version): Remove defvar.
2803 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2804 (gdb-gud-context-command, gdb-non-stop-handler)
2805 (gdb-current-context-command, gdb-stopped): Use it.
2806 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2807 (gdb-non-stop-handler): Don't enable pretty-printing here.
2808 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2809 non-stop mode. Use the following.
2810 (gdb-check-target-async): New defun.
2811 (gud-watch, gdb-stopped): Fix whitespace.
2812 (gdb-get-source-file): Don't try to display the source file if
2813 `gdb-main-file' is nil.
2814
28152011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * align.el: Try to generate fewer markers (bug#10047).
2818 (align--set-marker): New macro.
2819 (align-region): Use it.
2820
c935221f
SM
28212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2824
e70b5064
CY
28252011-11-29 Chong Yidong <cyd@gnu.org>
2826
2827 * indent.el (indent-for-tab-command, indent-according-to-mode):
2828 Doc fix.
2829 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2830
f3af92b7
MA
28312011-11-29 Michael Albinus <michael.albinus@gmx.de>
2832
2833 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2834 aware of remote file names. (Bug#10124)
2835
ed472be9
CY
28362011-11-29 Chong Yidong <cyd@gnu.org>
2837
2838 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2839
24510c22
SM
28402011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * files.el (find-file): Don't use force-same-window (bug#10144).
2843 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2844 use pop-to-buffer if the selected window can't be used.
2845 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2846
c60c3703
EZ
28472011-11-28 Eli Zaretskii <eliz@gnu.org>
2848
2849 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2850 special-mode-map.
2851
e95def75
CY
28522011-11-28 Chong Yidong <cyd@gnu.org>
2853
2854 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2855
c3f1c606
NR
28562011-11-27 Nick Roberts <nickrob@snap.net.nz>
2857
2858 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2859 gdb-get-source-file-list on gdb-create-source-file-list.
2860
00db469c
EZ
28612011-11-26 Eli Zaretskii <eliz@gnu.org>
2862
2863 * whitespace.el (whitespace-newline): Use a different foreground
2864 color for 16-color light-background displays.
2865
4ad3bc2a
CY
28662011-11-24 Chong Yidong <cyd@gnu.org>
2867
2868 * window.el (display-buffer--special-action): Doc fix.
2869
e9fce1ac
JB
28702011-11-25 Juanma Barranquero <lekktu@gmail.com>
2871
2872 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2873 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2874 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2875 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2876 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2877 (avl-tree-stack-first):
2878 * emacs-lisp/cconv.el (cconv--analyse-use):
2879 * net/gnutls.el (gnutls-negotiate): Fix typos.
2880
cb825e5d
GM
28812011-11-24 Glenn Morris <rgm@gnu.org>
2882
3adbe224
GM
2883 * lpr.el (lpr-windows-system, lpr-lp-system):
2884 * mail/binhex.el (binhex-begin-line):
2885 * progmodes/grep.el (grep-history, grep-find-history):
2886 * textmodes/flyspell.el:
2887 * vc/pcvs-defs.el (cvs-global-menu):
2888 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2889 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2890 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2891
321decc8
GM
2892 * net/tls.el: Fix case of "GnuTLS".
2893
420b63ad
GM
2894 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2895
cb825e5d
GM
2896 * version.el (emacs-build-system): Give it a doc-string.
2897
a0649f08
JL
28982011-11-24 Juri Linkov <juri@jurta.org>
2899
2900 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2901
c0bc0fd4
GM
29022011-11-24 Glenn Morris <rgm@gnu.org>
2903
2904 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2905 if called on a non-mime message just toggle the headers. (Bug#8006)
2906
20db1522
JB
29072011-11-24 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2910 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2911 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2912 (allout-rebullet-heading, allout-open-sibtopic)
2913 (allout-toggle-current-subtree-encryption)
2914 (allout-toggle-subtree-encryption, allout-encrypt-string)
2915 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2916 (allout-distinctive-bullets-string, allout-auto-activation):
2917 * window.el (window-normalize-buffer-to-display):
2918 * progmodes/verilog-mode.el (verilog-batch-indent):
2919 * textmodes/bibtex.el (bibtex-field-braces-opt)
2920 (bibtex-field-strings-opt):
2921 * vc/cvs-status.el (cvs-tree-merge):
2922 Fix typos.
2923
7262a87c
MA
29242011-11-23 Michael Albinus <michael.albinus@gmx.de>
2925
2926 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2927 `non-essential' to t, in order to avoid remote connections.
2928
283430a1
EZ
29292011-11-23 Eli Zaretskii <eliz@gnu.org>
2930
a1beca85
SM
2931 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2932 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2933 case-insensitively.
2934
d2992a38
ML
29352011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2936
2937 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2938
50419064
GM
29392011-11-23 Glenn Morris <rgm@gnu.org>
2940
da94eca1
GM
2941 * paths.el (rmail-file-name): Reformat the doc-string so that it
2942 is picked up.
2943
9aac4de2
GM
2944 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2945 (rmail-auto-file): Ignore case in the "special" field names,
2946 as mail-fetch-field does for all others.
2947
8038d2d2
GM
2948 * mail/rmail.el (rmail-forward):
2949 * mail/rmailkwd.el (rmail-set-label):
2950 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2951 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2952
f3fe222a
GM
2953 * mail/rmail.el (rmail-current-message): Doc fix.
2954
50419064
GM
2955 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2956
28109f49
SM
29572011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2960
394c65f1
GM
29612011-11-22 Glenn Morris <rgm@gnu.org>
2962
2963 * mail/rmailmm.el (test-rmail-mime-handler)
2964 (test-rmail-mime-bulk-handler)
2965 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2966
f2a0aa3a
JL
29672011-11-21 Juri Linkov <juri@jurta.org>
2968
1154d12e
JB
2969 * calc/calc.el (calc-read-key-sequence):
2970 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2971
9c34a344
LMI
29722011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2973
2974 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2975 Tell the caller that the next line needs recomputation, even
2976 though it doesn't start a sexp (bug#10094).
2977
f04a3be9
SM
29782011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2981
7978747f
SM
29822011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2983
f04a3be9
SM
2984 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2985 Use force-same-window.
7978747f 2986
fe7a3057
JB
29872011-11-20 Juanma Barranquero <lekktu@gmail.com>
2988
2989 * descr-text.el (describe-char-unicode-data):
2990 * json.el (json-string-escape):
2991 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2992 (Footnote-unicode, Footnote-style-p):
2993 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2994
24901d61
CY
29952011-11-20 Chong Yidong <cyd@gnu.org>
2996
2997 * window.el (replace-buffer-in-windows): Restore interactive spec.
2998
bac7ff22
SM
29992011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3000
24f3d7b9
SM
3001 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3002
bac7ff22
SM
3003 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3004 (byte-compile-global-not-obsolete-vars): New var.
3005 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3006 Use it.
3007 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3008
cd1181db
JB
30092011-11-20 Juanma Barranquero <lekktu@gmail.com>
3010
3011 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3012 * progmodes/pascal.el (electric-pascal-equal):
3013 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3014 * xml.el (xml-substitute-special): Fix typos.
3015
7fb18e9e
GM
30162011-11-20 Glenn Morris <rgm@gnu.org>
3017
3018 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3019 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3020 Doc fixes.
3021 (rmail-decode-mime-charset): Mark as obsolete.
3022
3023 * mail/rmailsum.el (rmail-message-regexp-p-1):
3024 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3025 Before using mime functions, check they are set. (Bug#10077)
3026
d5a6b3ba
JL
30272011-11-19 Juri Linkov <juri@jurta.org>
3028
3029 * info.el (Info-finder-find-node): Use `package--builtins' instead
3030 of `package-alist'. Use node names formed by the pattern "Keyword "
3031 and the keyword name.
3032
e981b61f
AS
30332011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3034
1d00653d 3035 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3036
3ffbc301
JL
30372011-11-19 Juri Linkov <juri@jurta.org>
3038
3039 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3040 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3041 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3042 `old-history', `old-history-forward'. Add let-binding
3043 `window-selected'. Remove calls to `kill-buffer',
3044 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3045 before calling `Info-find-node', so `Info-find-node-2' will reread
3046 the Info file. Restore window positions only when `window-selected'
3047 is non-nil.
3048
30c62133
JL
30492011-11-19 Juri Linkov <juri@jurta.org>
3050
3051 * isearch.el (isearch-lazy-highlight-new-loop):
3052 Remove condition `(not isearch-error)'. (Bug#9918)
3053
3054 * misearch.el (multi-isearch-search-fun): Add condition
3055 `(not bound)' to ignore lazy-highlighting search.
3056 Add the search-failed message "end of multi" when the end of
3057 multi-sequence is reached. Uncapitalize the search-failed
3058 message "Repeat for next buffer".
3059
3060 * info.el (Info-search): Add the search-failed message
3061 "end of the manual" when the end of the manual is reached
3062 in Isearch mode.
3063
645ca9cf
JL
30642011-11-19 Juri Linkov <juri@jurta.org>
3065
3066 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3067 Use non-destructive `remove' instead of `delete' because
3068 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3069 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3070
df754f66
JL
30712011-11-19 Juri Linkov <juri@jurta.org>
3072
3073 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3074 to nil instead of binding `search-ring' and `regexp-search-ring'.
3075 (Bug#9185)
3076
0e23d96a
EZ
30772011-11-19 Eli Zaretskii <eliz@gnu.org>
3078
3079 * simple.el (line-move): Force movement by logical lines for any
3080 hscrolled window, not only when auto-hscroll-mode is on.
3081 (line-move-visual): Update doc string to that effect. (Bug#10076)
3082
8a6ccb66
AS
30832011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3084
3085 * language/european.el (macintosh): Define as alias for mac-roman.
3086
49ae5b39
EZ
30872011-11-19 Eli Zaretskii <eliz@gnu.org>
3088
3089 * mail/rmailmm.el (rmail-mime-display-header)
3090 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3091 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3092 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3093 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3094 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3095 of a raw aref.
3096 (rmail-mime-entity-segment): To get past the tagline, move forward
3097 2 more lines, to account for the 2 empty lines that precede and
3098 follow the line with the buttons.
3099 (rmail-mime-update-tagline): Move one more line, to get past the
3100 empty line that follows the buttons in the tagline. (Bug#9520)
3101
c56cad4a
MR
31022011-11-19 Martin Rudalics <rudalics@gmx.at>
3103
3104 * window.el (window-max-delta-1, window-min-delta-1)
3105 (window-min-size-1, window-state-get-1, window-state-put-1)
3106 (window-state-put-2): Use "window--" prefix.
3107
cbe71af3
SM
31082011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3109
2ad52c60
SM
3110 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3111 (smie-warning-count): New var.
3112 (smie-set-prec2tab): Use it.
3113 (smie-bnf->prec2): Improve warnings. Add docstring.
3114 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3115 (smie-bnf--set-class): New function.
3116 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3117 corner case.
3118
6944dbc1
SM
3119 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3120 (compilation-error-properties, compilation-move-to-column):
3121 Handle compilation-first-column while in the target buffer.
3122
c400c4d7
SM
3123 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3124 Don't hardcode point-min==1.
3125
6dbe3e96
SM
3126 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3127 (eshell-rewrite-for-command): Remove workaround.
3128 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3129 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3130 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3131
cbe71af3
SM
3132 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3133
a8e1496d
GM
31342011-11-17 Glenn Morris <rgm@gnu.org>
3135
3136 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3137 Ignore buffer-local generated-autoload-file if it is the same
3138 as the global value. (Bug#10049)
3139
df85d315
JB
31402011-11-17 Juanma Barranquero <lekktu@gmail.com>
3141
3142 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3143 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3144 (reftex-toc-previous-heading, reftex-toc-max-level)
3145 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3146 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3147 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3148 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3149 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3150 (reftex-toc-rename-label, reftex-toc-visit-location)
3151 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3152 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3153 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3154 leaving "*toc*" only for references to the buffer.
3155
a0c2d0ae
MR
31562011-11-17 Martin Rudalics <rudalics@gmx.at>
3157
3158 * window.el (window-resize, delete-window, split-window):
3159 Replace window-splits by window-combination-resize.
1d00653d 3160 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3161
35c0bac8
GM
31622011-11-17 Glenn Morris <rgm@gnu.org>
3163
3164 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3165 Make bash entry derive from sh entry, not shell entry.
3166
d0c8fc8a
MA
31672011-11-16 Michael Albinus <michael.albinus@gmx.de>
3168
d0c8fc8a
MA
3169 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3170 properties of linked files. (Bug#9879)
3171
7262a87c
MA
3172 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3173 local file name.
3174
7877f373
JB
31752011-11-16 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * menu-bar.el (menu-bar-file-menu):
3178 * printing.el (pr-ps-utility):
3179 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3180 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3181 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3182 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3183 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3184 (icalendar--convert-cyclic-to-ical)
3185 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3186 (icalendar--convert-ical-to-diary)
3187 (icalendar--convert-recurring-to-diary)
3188 (icalendar--convert-non-recurring-all-day-to-diary)
3189 (icalendar-import-format-sample):
3190 * progmodes/idlw-shell.el (idlwave-shell-mode):
3191 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3192 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3193 (vhdl-ps-print-init): Fix typos.
3194
10649b82
KM
31952011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3196
9d0cfcd6
GM
3197 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3198 FSF and collapse date sequence, obscure author/maintainer email address
3199 better, remove extra version line, track relocation of author's webpage.
10649b82 3200
9d0cfcd6
GM
3201 * progmodes/python.el (python-pdbtrack-input-prompt)
3202 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3203 regular python pdb prompts. Adjustments shamelessly taken exactly as
3204 suggested in EmacsWiki page (tiny change):
3205 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3206
58179cce
JB
32072011-11-16 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * expand.el (expand-pos, expand-index, expand-point):
3210 Remove redundant info from docstring.
3211 (expand-add-abbrevs): Doc fix.
3212 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3213 (expand-sample-perl-mode-expand-list): Fix typos.
3214
3215 * net/dbus.el (dbus-event-member-name):
3216 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3217 * term/pc-win.el (msdos-create-frame-with-faces):
3218 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3219
b6f67890
MR
32202011-11-16 Martin Rudalics <rudalics@gmx.at>
3221
3222 * window.el (split-window, window-state-get-1)
3223 (window-state-put-1, window-state-put-2): Rename occurrences of
3224 window-nest to window-combination-limit.
1d00653d 3225 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3226
ce7ddba0
CY
32272011-11-16 Chong Yidong <cyd@gnu.org>
3228
3229 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3230 regexp (Bug#10033).
3231
3ae704f4
SM
32322011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3233
3234 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3235 `completing-read' will remove *Completions* and will preserve
3236 current-buffer for us.
3237 (tmm-add-prompt): Users of *Completions* will always (re)set its
3238 major mode.
3239 (tmm-old-comp-map): Remove.
3240
6ad1cdde
GM
32412011-11-16 Glenn Morris <rgm@gnu.org>
3242
3243 * mail/rmailedit.el: Require rmailmm when compiling.
3244 (rmail-old-mime-state): New declaration.
3245 (rmail-edit-current-message): If editing a mime message,
3246 edit the "raw" message from the mbox buffer.
3247 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3248
d20faa20
GM
32492011-11-15 Glenn Morris <rgm@gnu.org>
3250
3251 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3252 which wasn't being used. Add optional arg to force given state.
3253 (rmail-mime): Add optional arg to force given state.
3254
c7015153
JB
32552011-11-15 Juanma Barranquero <lekktu@gmail.com>
3256
3257 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3258 * frame.el (display-mm-dimensions-alist):
3259 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3260 (outline-move-subtree-down):
3261 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3262 (newsticker--treeview-do-get-node):
3263 * net/quickurl.el (quickurl-list-buffer-name):
3264 * progmodes/dcl-mode.el (dcl-mode):
3265 * progmodes/gdb-mi.el (gdb-mapcar*):
3266 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3267
45261b50
GM
32682011-11-15 Glenn Morris <rgm@gnu.org>
3269
3270 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3271 in a boolean sense, so just make it a boolean, and fix the doc.
3272 (rmail-show-mime-function, rmail-mime-feature)
3273 (rmail-require-mime-maybe): Doc fixes.
3274 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3275
3276 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3277
0d26e0b6
JB
32782011-11-15 Juanma Barranquero <lekktu@gmail.com>
3279
3280 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3281 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3282 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3283 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3284
447f30f6
GM
32852011-11-15 Glenn Morris <rgm@gnu.org>
3286
672b871d
GM
3287 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3288 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3289 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3290 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3291 (rmail-mime, rmail-show-mime): Doc fixes.
3292
f6aa5bb1
GM
3293 * term/ns-win.el (mode-line-frame-identification):
3294 Leave it alone. (Bug#10051)
3295
947cd66b
GM
3296 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3297
447f30f6
GM
3298 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3299 Handle empty buffers. (Bug#9978)
3300
0b381c7e
JB
33012011-11-14 Juanma Barranquero <lekktu@gmail.com>
3302
3303 * international/mule.el (define-charset):
3304 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3305 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3306 * progmodes/verilog-mode.el (verilog-backward-token):
3307 * textmodes/ispell.el (lookup-words):
3308 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3309
71e027ac
GM
33102011-11-14 Glenn Morris <rgm@gnu.org>
3311
56632ce4
GM
3312 * progmodes/executable.el
3313 (executable-make-buffer-file-executable-if-script-p):
3314 Handle file-modes returning nil.
3315
40500957
GM
3316 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3317 message - not necessary, and causes problems. (Bug#9831)
3318
071c2340
GM
3319 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3320
d3cfca60
GM
3321 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3322
71e027ac
GM
3323 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3324 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3325 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3326
89d61221
MR
33272011-11-12 Martin Rudalics <rudalics@gmx.at>
3328
3329 * window.el (window-resize, delete-window): Use window-splits
3330 variable instead of function.
3331 (window-state-get-1, window-state-put-2, window-state-put):
3332 Don't deal with windows' splits status.
3333
98282f6f
GM
33342011-11-12 Glenn Morris <rgm@gnu.org>
3335
3336 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3337 (apropos-documentation): Doc fixes.
3338
40a8bdf6
JB
33392011-11-11 Juanma Barranquero <lekktu@gmail.com>
3340
3341 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3342 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3343
65bd19ff
SM
33442011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * electric.el (electric-indent-post-self-insert-function): Make it
3347 possible for a char to only indent in some circumstances.
3348 (electric-indent-mode): Simplify.
3349
54f9154c
MR
33502011-11-11 Martin Rudalics <rudalics@gmx.at>
3351
3352 * window.el (windows-with-parameter): Remove unused function.
3353 (windows-at-side): Rename to window-at-side-list.
3354 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3355 (window-side-check, window-size-ignore, window-size-fixed-1)
3356 (window-in-direction-2): Prefix with "window--".
3357 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3358
68cbc58b
GM
33592011-11-11 Glenn Morris <rgm@gnu.org>
3360
3361 * subr.el (eval-after-load): If FILE is already loaded,
3362 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3363
b2621720
GM
33642011-11-10 Glenn Morris <rgm@gnu.org>
3365
9a4de110
GM
3366 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3367 Call svn via vc-svn-command rather than vc-do-command.
3368 (vc-svn-command): Add --non-interactive. (Bug#9993)
3369 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3370
b2621720
GM
3371 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3372 Add toggle-read-only. (Bug#7292)
3373 * files.el (toggle-read-only): Mention that it should only
3374 be used interactively. (Bug#10006)
3375
1dce7193
SM
33762011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3377
d9ac1a1e
SM
3378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3379 Adjust regexp for OCaml warnings.
3380
0c325082
SM
3381 * electric.el (electric-pair-post-self-insert-function): Let user
3382 turn it off buffer-locally (bug#9932).
3383
90132c14
SM
3384 * progmodes/python.el (python-beginning-of-statement):
3385 Rewrite (bug#2703).
3386
1dce7193
SM
3387 * progmodes/compile.el: Better handle TABs (bug#9749).
3388 (compilation-internal-error-properties)
3389 (compilation-next-error-function): Obey the target buffer's
3390 compilation-error-screen-columns.
3391
c4e7c63a
JB
33922011-11-09 Juanma Barranquero <lekktu@gmail.com>
3393
3394 * progmodes/meta-mode.el: Remove obsolete comments.
3395 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3396 Fix typos in docstrings.
3397
2cffd681
MR
33982011-11-09 Martin Rudalics <rudalics@gmx.at>
3399
3400 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3401 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3402 (window--resizable): New function. Make all callers of
3403 window-resizable call window--resizable instead.
3404 (window-resizable): Rewrite in terms of window--resizable.
3405
0edcba87
GM
34062011-11-08 Glenn Morris <rgm@gnu.org>
3407
3408 * progmodes/delphi.el (delphi-mode-syntax-table):
3409 Let define-derived-mode define a proper syntax table. (Bug#9994)
3410
4b0d61e3
SM
34112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * window.el: Stay away from defsubst.
3414 (window-list-no-nils): Remove.
3415 (window-state-get-1, window-state-get): Use backquote instead.
3416
cd394be1 34172011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3418
4b0d61e3 3419 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3420 Fix incorrect use of default argument in `completing-read'.
3421
e1c2c6f2
MR
34222011-11-08 Martin Rudalics <rudalics@gmx.at>
3423
3424 * window.el (display-buffer-function, special-display-function):
3425 Mention display-buffer-record-window but do not mention
3426 help-setup parameter in doc-strings.
b3f4a882 3427 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3428
105216ed
CY
34292011-11-08 Chong Yidong <cyd@gnu.org>
3430
3431 * window.el (window-total-height, window-total-width): Doc fix.
3432 (window-body-size): Move from C.
3433 (window-body-height, window-body-width): Move to C.
3434
0a9f9ab5
SM
34352011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * window.el: Make special-display like display-buffer-alist (bug#9532).
3438 (display-buffer--special-action): New function, morphed
3439 from display-buffer--special.
3440 (display-buffer): Use it to handle special-display-buffers at higher
3441 priority (just after display-buffer-alist).
3442 (display-buffer-fallback-action, display-buffer--other-frame-action)
3443 (pop-to-buffer-same-window): Remove display-buffer--special.
3444
a769dd15
GM
34452011-11-07 Glenn Morris <rgm@gnu.org>
3446
3447 * calendar/cal-menu.el (cal-menu-set-date-title):
3448 Do nothing if not in a calendar. (Bug#9976)
3449
05a61ee3
SM
34502011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * files.el (find-file): Always use selected-window.
3453
be7f5545
MR
34542011-11-07 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (window-combinations): Make WINDOW argument
3457 mandatory. Rewrite doc-string.
3458 (walk-window-subtree, window-atom-check, window-min-delta)
3459 (window-max-delta, window--resize-this-window)
3460 (window--resize-root-window-vertically, window-tree)
3461 (balance-windows, window-state-put): Rewrite doc-strings as to
3462 not mention the term "subwindow".
3463 (window--resize-subwindows-skip-p): Rename to
3464 window--resize-child-windows-skip-p.
3465 (window--resize-subwindows-normal): Rename to
3466 window--resize-child-windows-normal.
3467 (window--resize-subwindows): Rename to
3468 window--resize-child-windows.
3469 (window-or-subwindow-p): Rename to window--in-subtree-p.
3470
3c6702ef
ML
34712011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3472
3473 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3474 Ensure that mbox format messages end in two newlines (Bug#9974).
3475
49745b39
CY
34762011-11-06 Chong Yidong <cyd@gnu.org>
3477
3478 * window.el (window-combination-p): Function deleted; its
3479 side-effect is not used in any existing code.
3480 (window-combinations, window-combined-p): Call window-*-child
3481 directly.
3482
24300f5f
CY
34832011-11-05 Chong Yidong <cyd@gnu.org>
3484
3485 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3486 (window-size-ignore, window-state-get): Callers changed.
3487 (window-normalize-window): Rename from window-normalize-any-window.
3488 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3489 (window-normalize-live-window): Delete.
447f16b8
CY
3490 (window-combination-p, window-combined-p, window-combinations)
3491 (walk-window-subtree, window-atom-root, window-min-size)
3492 (window-sizable, window-sizable-p, window-size-fixed-p)
3493 (window-min-delta, window-max-delta, window-resizable)
3494 (window-resizable-p, window-full-height-p, window-full-width-p)
3495 (window-current-scroll-bars, window-point-1, set-window-point-1)
3496 (window-at-side-p, window-in-direction, window-resize)
3497 (adjust-window-trailing-edge, maximize-window, minimize-window)
3498 (window-deletable-p, delete-window, delete-other-windows)
3499 (record-window-buffer, unrecord-window-buffer)
3500 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3501 (quit-window, split-window, window-state-put)
3502 (set-window-text-height, fit-window-to-buffer)
3503 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3504
89bd5ee1
EZ
35052011-11-04 Eli Zaretskii <eliz@gnu.org>
3506
53479029
EZ
3507 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3508 rfc2047-decode-string.
3509 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3510 warnings.
3511
89bd5ee1
EZ
3512 * window.el (window-body-height, window-body-width): Mention in
3513 the doc string that the return values are in frame's canonical
3514 units. (Bug#9949)
3515
bd17fdee
AM
35162011-11-03 Alan Mackenzie <acm@muc.de>
3517
3518 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3519 change in cc-engine.el.
3520
acc825c5
SM
35212011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3524
1885e5b8
MR
35252011-11-02 Martin Rudalics <rudalics@gmx.at>
3526
3527 * window.el (quit-window): Call unrecord-window-buffer after
3528 showing another buffer in the window. (Bug#9937)
acc825c5 3529 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3530
ebe06da9
JB
35312011-11-02 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3534 Accept status with more than 9 shelves. (Bug#9935)
3535 Reported by Colin D Bennett <colin@gibibit.com>.
3536
4ee88440
MR
35372011-11-01 Martin Rudalics <rudalics@gmx.at>
3538
3539 * help.el (with-help-window): Don't reference
3540 temp-buffer-show-specifiers in doc-string.
3541
08e1d82c
AS
35422011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3543
3544 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3545 menu-item.
3546
84bd6e9e
VJL
35472011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3548
3549 * whitespace.el: New version 13.2.2.
3550 (whitespace-newline-mode): Disable properly. Reported by Sarah
3551 <EmacsWiki>.
3552
dba0634a
UJ
35532011-10-30 Ulf Jasper <ulf.jasper@web.de>
3554
3555 * net/newst-treeview.el: Remove "Time-stamp".
3556 (newsticker--group-manage-orphan-feeds): Do not call
3557 newsticker--treeview-tree-update.
db22a3c2
JB
3558 (newsticker-treeview-update, newsticker-treeview):
3559 Call newsticker--treeview-tree-update if necessary.
dba0634a 3560
3d8daefe
MR
35612011-10-30 Martin Rudalics <rudalics@gmx.at>
3562
3563 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3564 (window-iso-combinations): Remove "iso-" infix.
3565 Suggested by Chong Yidong.
3d8daefe
MR
3566 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3567 (window-max-delta-1, window-resize, window--resize-siblings)
3568 (window--resize-this-window, adjust-window-trailing-edge)
3569 (split-window, balance-windows-1)
3570 (shrink-window-if-larger-than-buffer):
3571 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3572 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3573
1bc4c3ae
SM
35742011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3577 in place (bug#9907).
3578 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3579 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3580 (eshell-structure-basic-command, eshell-rewrite-while-command)
3581 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3582 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3583 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3584 (eshell-do-pipelines-synchronously, eshell-eval-command):
3585 Use backquotes and prefer setq to set.
3586 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3587 (eshell-macrop): Use functionp.
c1e2f5fa 3588 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3589
30b65d9c
CY
35902011-10-30 Chong Yidong <cyd@gnu.org>
3591
3592 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3593 instead of set-mark (Bug#9810).
3594
2d197ffb
CY
35952011-10-30 Chong Yidong <cyd@gnu.org>
3596
3597 * window.el (split-window-below, split-window-right): Rename from
3598 split-window-above-each-other and split-window-side-by-side
3599 respectively. All callers changed.
3600 (split-window-sensibly, split-window-sensibly): Use them.
3601 (split-window-keep-point): Doc fix.
3602
3603 * isearch.el: Add isearch-scroll property to split-window-below
3604 and split-window-right.
3605
3606 * follow.el (follow-mode):
3607 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3608 * progmodes/ada-xref.el (ada-gdb-application):
3609 * emulation/vip.el (vip-buffer-in-two-windows):
3610 * image-dired.el (image-dired-dired-with-window-configuration):
3611 * dired-x.el (dired-do-find-marked-files):
3612 * dired.el (dired-pop-to-buffer):
3613 * bs.el (bs--show-with-configuration):
3614 * vc/emerge.el (emerge-setup-windows):
3615 * textmodes/two-column.el (2C-two-columns):
3616 * textmodes/reftex-toc.el (reftex-toc):
3617 * progmodes/gdb-mi.el (gdb-setup-windows):
3618 * progmodes/fortran.el (fortran-window-create):
3619 * net/newst-treeview.el (newsticker--treeview-window-init):
3620 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3621 * emulation/tpu-edt.el (tpu-gold-map):
3622 * emulation/crisp.el (crisp-mode-map):
3623 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3624
38bb2ca8
CY
36252011-10-29 Chong Yidong <cyd@gnu.org>
3626
aa4de341
CY
3627 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3628
e1eb5385
CY
3629 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3630
5d2ece3c
CY
3631 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3632 forged Ispell output (Bug#7904).
3633
38bb2ca8
CY
3634 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3635
d0af9f77
SM
36362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * doc-view.el: Avoid ugly errors about not finding nil.
3639 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3640 (doc-view-dvipdf-program, doc-view-unoconv-program)
3641 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3642 Avoid nil or absolute file name as default value.
3643 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3644
52bedd34
AM
36452011-10-28 Alan Mackenzie <acm@muc.de>
3646
db22a3c2 3647 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3648
7e43cfa5
AM
36492011-10-28 Alan Mackenzie <acm@muc.de>
3650
3651 Amend the handling of c-beginning/end-of-defun in nested declaration
3652 scopes.
3653
52bedd34
AM
3654 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3655 cc-langs.el. Change it to a defcustom.
7e43cfa5 3656
52bedd34
AM
3657 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3658 cc-vars.el.
7e43cfa5 3659
d0af9f77
SM
3660 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3661 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3662
52bedd34 3663 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3664 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3665 (c-widen-to-enclosing-decl-scope): New function.
3666 (c-while-widening-to-decl-block): New macro.
3667 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3668 outward for defun boundaries, and correspondingly change symbol
3669 `respect-enclosure' to `go-outward'.
3670 (c-declaration-limits): Change algorithm to report only the "innermost"
3671 defun's boundaries.
3672
1a2ce9ee
DD
36732011-10-28 Deniz Dogan <deniz@dogan.se>
3674
3675 * net/rcirc.el (rcirc-mode): Use hard newlines.
3676
bc97a826
AM
36772011-10-28 Alan Mackenzie <acm@muc.de>
3678
3679 Amend to indent and fontify macros "which include their own semicolon"
3680 correctly, using the "virtual semicolon" mechanism.
3681
52bedd34 3682 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3683
d0af9f77 3684 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3685 Recode to scan one line at a time rather than having \n and \r
58179cce 3686 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3687 (c-forward-label): Amend for virtual semicolons.
58179cce 3688 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3689
52bedd34
AM
3690 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3691 of the new C macros.
bc97a826 3692
52bedd34 3693 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3694 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3695 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3696 (c-opt-cpp-macro-define): Make into a full language variable.
3697 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3698 AWK Mode (including \n, \r) removed, no longer needed.
3699
d0af9f77
SM
3700 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3701 Invoke c-make-macro-with-semi-re.
bc97a826 3702
52bedd34
AM
3703 * progmodes/cc-vars.el (c-macro-with-semi-re):
3704 (c-macro-names-with-semicolon): New variables.
58179cce 3705 (c-make-macro-with-semi-re): New function.
bc97a826 3706
7a6c0941
SM
37072011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * vc/log-edit.el: Fill empty field rather than adding new one.
3710 (log-edit-add-field): New function.
3711 (log-edit-insert-changelog): Use it.
3712
b0c4cdcf
ML
37132011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3714
3715 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3716
ee1f1da9
SM
37172011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3720 (gdb--check-interpreter): New function.
3721 (gdb): Use it.
3722
51bc5f8b
GM
37232011-10-27 Glenn Morris <rgm@gnu.org>
3724
416a2c45
GM
3725 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3726 (least-positive-float, least-negative-float)
3727 (least-positive-normalized-float, least-negative-normalized-float)
3728 (float-epsilon, float-negative-epsilon):
3729 Remove unnecessary declarations.
3730
3731 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3732 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3733 (least-positive-float, least-negative-float)
3734 (least-positive-normalized-float, least-negative-normalized-float)
3735 (float-epsilon, float-negative-epsilon): Add doc-strings,
3736 based on those in cl.texi.
3737
51bc5f8b
GM
3738 * files.el (set-visited-file-name): If the major-mode changed,
3739 reload the local variables. (Bug#9796)
3740
15de15c6
CY
37412011-10-27 Chong Yidong <cyd@gnu.org>
3742
3743 * subr.el (change-major-mode-after-body-hook): New hook.
3744 (run-mode-hooks): Run it.
3745
ee1f1da9
SM
3746 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3747 Use change-major-mode-before-body-hook.
15de15c6
CY
3748
3749 * simple.el (fundamental-mode):
3750 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3751 change introducing fundamental-mode-hook.
3752
5430d399
JB
37532011-10-26 Juanma Barranquero <lekktu@gmail.com>
3754
acc825c5 3755 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3756
ad74a69e
MA
37572011-10-26 Michael Albinus <michael.albinus@gmx.de>
3758
3759 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3760 tramp.el explicitly. (Bug#7583)
ad74a69e 3761
71d4c2a5
SM
37622011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * progmodes/octave-mod.el:
3765 * progmodes/octave-inf.el: Update maintainer.
3766
b1f6fa26
CY
37672011-10-26 Chong Yidong <cyd@gnu.org>
3768
3769 * subr.el (with-wrapper-hook): Rewrite doc.
3770
3f04efd6
MA
37712011-10-25 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3774 filenames "/method:foo:". (Bug#9793)
3f04efd6 3775
410488d3
SM
37762011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3779 (bug#9865).
3780
c1ebb47e
GM
37812011-10-24 Glenn Morris <rgm@gnu.org>
3782
3783 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3784
7f5c46c7
MA
37852011-10-24 Michael Albinus <michael.albinus@gmx.de>
3786
3787 * notifications.el: Add the requirement of a running D-Bus session
3788 bus to the Commentary.
3789
db2440b6
JL
37902011-10-24 Juri Linkov <juri@jurta.org>
3791
3792 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3793 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3794 (Bug#9364)
3795
feecf435
JL
37962011-10-24 Juri Linkov <juri@jurta.org>
3797
3798 * info.el (Info-following-node-name-re): Add newline to the list
3799 of allowed characters for leading space. (Bug#9824)
3800
a3839de2
SM
38012011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3802
acc825c5
SM
3803 * progmodes/octave-inf.el (inferior-octave-mode-map):
3804 Fix C-c C-h binding.
a3839de2
SM
3805 * progmodes/octave-mod.el (octave-help): Remove.
3806
09388e76
MA
38072011-10-23 Michael Albinus <michael.albinus@gmx.de>
3808
3809 Sync with Tramp 2.2.3.
3810
3811 * net/tramp-cache.el (top): Pacify byte-compiler using
3812 `init-file-user' and `site-run-file'.
3813
3814 * net/trampver.el: Update release number.
3815
86c60681
CY
38162011-10-23 Chong Yidong <cyd@gnu.org>
3817
3818 * files.el (toggle-read-only): Remove obsolete comment about
3819 version control.
3820
3821 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3822 for toggle-read-only. Note that this hasn't called vc-next-action
3823 since 2008-05-02, though it wasn't documented at the time.
3824
a3839de2
SM
3825 * vc/ediff-init.el (ediff-toggle-read-only-function):
3826 Use toggle-read-only.
86c60681 3827
cd5495ff
AM
38282011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3829
3830 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3831 of c-parse-state.
3832
00b77525 3833 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3834 correct faulty logical expression.
cd5495ff
AM
3835 (c-parse-state-state, c-record-parse-state-state):
3836 (c-replay-parse-state-state): New defvar/defuns.
3837 (c-debug-parse-state): Use new functions.
3838
42ee24ed
MR
38392011-10-22 Martin Rudalics <rudalics@gmx.at>
3840
3841 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3842 last fix. Use window-in-direction correctly.
42ee24ed 3843
a7dee7e7
CY
38442011-10-21 Chong Yidong <cyd@gnu.org>
3845
3846 * progmodes/idlwave.el (idlwave-mode):
3847 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3848 require-final-newline; that's done in prog-mode.
3849 Suggested by Stefan Monnier.
a7dee7e7 3850
e07b9a6d
MR
38512011-10-21 Martin Rudalics <rudalics@gmx.at>
3852
3853 * mouse.el (mouse-drag-window-above)
3854 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3855 (mouse-drag-mode-line-1, mouse-drag-header-line)
3856 (mouse-drag-vertical-line-rightward-window): Remove.
3857 (mouse-drag-line): New function.
3858 (mouse-drag-mode-line, mouse-drag-header-line)
3859 (mouse-drag-vertical-line): Call mouse-drag-line.
3860 * window.el (window-at-side-p, windows-at-side): New functions.
3861
7e1361d9
UM
38622011-10-21 Ulrich Mueller <ulm@gentoo.org>
3863
3864 * tar-mode.el (tar-grind-file-mode):
3865 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3866
30fcaf3a
CY
38672011-10-21 Chong Yidong <cyd@gnu.org>
3868
3869 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3870 * progmodes/vera-mode.el (vera-mode):
3871 Use mode-require-final-newline.
30fcaf3a 3872
516eddb0
GM
38732011-10-20 Glenn Morris <rgm@gnu.org>
3874
db22a3c2 3875 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3876
10d5f513
CS
38772011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3878
3879 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3880
ac6c8639
CY
38812011-10-20 Chong Yidong <cyd@gnu.org>
3882
3883 * emulation/cua-base.el (cua-mode):
3884 * mail/footnote.el (footnote-mode):
3885 * mail/mailabbrev.el (mail-abbrevs-mode):
3886 * net/xesam.el (xesam-minor-mode):
3887 * progmodes/bug-reference.el (bug-reference-mode):
3888 * progmodes/cap-words.el (capitalized-words-mode):
3889 * progmodes/compile.el (compilation-minor-mode)
3890 (compilation-shell-minor-mode):
3891 * progmodes/gud.el (gud-tooltip-mode):
3892 * progmodes/hideif.el (hide-ifdef-mode):
3893 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3894 * progmodes/subword.el (subword-mode):
3895 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3896 * progmodes/which-func.el (which-function-mode):
3897 * term/tvi970.el (tvi970-set-keypad-mode):
3898 * term/vt100.el (vt100-wide-mode):
3899 * textmodes/flyspell.el (flyspell-mode):
3900 * textmodes/ispell.el (ispell-minor-mode):
3901 * textmodes/nroff-mode.el (nroff-electric-mode):
3902 * textmodes/paragraphs.el (use-hard-newlines):
3903 * textmodes/refill.el (refill-mode):
3904 * textmodes/reftex.el (reftex-mode):
3905 * textmodes/rst.el (rst-minor-mode):
3906 * textmodes/sgml-mode.el (html-autoview-mode)
3907 (sgml-electric-tag-pair-mode):
3908 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3909 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3910 * emulation/crisp.el (crisp-mode):
3911 * emacs-lisp/eldoc.el (eldoc-mode):
3912 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3913 minor mode behavior.
3914
aa42ab43
JL
39152011-10-19 Juri Linkov <juri@jurta.org>
3916
3917 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3918 the list of hard-coded chars with escape-glyph face.
3919
89400f1d
SM
39202011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3923
305c07f6
MA
39242011-10-19 Michael Albinus <michael.albinus@gmx.de>
3925
3926 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3927 running process.
3928
13754b54
GM
39292011-10-19 Glenn Morris <rgm@gnu.org>
3930
3931 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3932 Ignore ignored files. (Bug#9726)
3933
06e21633
CY
39342011-10-19 Chong Yidong <cyd@gnu.org>
3935
3936 Doc fix for minor modes, stating that an omitted argument enables
3937 the mode unconditionally when called from Lisp.
3938
3939 * abbrev.el (abbrev-mode):
3940 * allout.el (allout-mode):
3941 * autoinsert.el (auto-insert-mode):
3942 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3943 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3944 (global-auto-revert-mode):
3945 * battery.el (display-battery-mode):
3946 * composite.el (global-auto-composition-mode)
3947 (auto-composition-mode):
3948 * delsel.el (delete-selection-mode):
3949 * desktop.el (desktop-save-mode):
3950 * dired-x.el (dired-omit-mode):
3951 * dirtrack.el (dirtrack-mode):
3952 * doc-view.el (doc-view-minor-mode):
3953 * double.el (double-mode):
3954 * electric.el (electric-indent-mode, electric-pair-mode):
3955 * emacs-lock.el (emacs-lock-mode):
3956 * epa-hook.el (auto-encryption-mode):
3957 * follow.el (follow-mode):
3958 * font-core.el (font-lock-mode):
3959 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3960 * help.el (temp-buffer-resize-mode):
3961 * hilit-chg.el (highlight-changes-mode)
3962 (highlight-changes-visible-mode):
3963 * hi-lock.el (hi-lock-mode):
3964 * hl-line.el (hl-line-mode, global-hl-line-mode):
3965 * icomplete.el (icomplete-mode):
3966 * ido.el (ido-everywhere):
3967 * image-file.el (auto-image-file-mode):
3968 * image-mode.el (image-minor-mode):
3969 * iswitchb.el (iswitchb-mode):
3970 * jka-cmpr-hook.el (auto-compression-mode):
3971 * linum.el (linum-mode):
3972 * longlines.el (longlines-mode):
3973 * master.el (master-mode):
3974 * mb-depth.el (minibuffer-depth-indicate-mode):
3975 * menu-bar.el (menu-bar-mode):
3976 * minibuf-eldef.el (minibuffer-electric-default-mode):
3977 * mouse-sel.el (mouse-sel-mode):
3978 * msb.el (msb-mode):
3979 * mwheel.el (mouse-wheel-mode):
3980 * outline.el (outline-minor-mode):
3981 * paren.el (show-paren-mode):
3982 * recentf.el (recentf-mode):
3983 * reveal.el (reveal-mode, global-reveal-mode):
3984 * rfn-eshadow.el (file-name-shadow-mode):
3985 * ruler-mode.el (ruler-mode):
3986 * savehist.el (savehist-mode):
3987 * scroll-all.el (scroll-all-mode):
3988 * scroll-bar.el (scroll-bar-mode):
3989 * server.el (server-mode):
3990 * shell.el (shell-dirtrack-mode):
3991 * simple.el (auto-fill-mode, transient-mark-mode)
3992 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3993 (line-number-mode, column-number-mode, size-indication-mode)
3994 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3995 * strokes.el (strokes-mode):
3996 * time.el (display-time-mode):
3997 * t-mouse.el (gpm-mouse-mode):
3998 * tool-bar.el (tool-bar-mode):
3999 * tooltip.el (tooltip-mode):
4000 * type-break.el (type-break-mode-line-message-mode)
4001 (type-break-query-mode):
4002 * view.el (view-mode):
4003 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4004 (global-whitespace-mode, global-whitespace-newline-mode):
4005 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4006
a3839de2
SM
4007 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4008 Fix autogenerated docstring.
06e21633 4009
5214e501
JL
40102011-10-19 Juri Linkov <juri@jurta.org>
4011
4012 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4013 by checking environment variables "DESKTOP_SESSION" and
4014 "XDG_CURRENT_DESKTOP". (Bug#9779)
4015
195f8db9
JL
40162011-10-19 Juri Linkov <juri@jurta.org>
4017
4018 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4019 (browse-url-chromium-program, browse-url-chromium-arguments):
4020 New defcustoms.
4021 (browse-url-default-browser): Check for `browse-url-chromium' and
4022 call `browse-url-chromium-program'.
4023 (browse-url-chromium): New command. (Bug#9779)
4024
343a34ff
JB
40252011-10-18 Juanma Barranquero <lekktu@gmail.com>
4026
4027 * facemenu.el (list-colors-duplicates): On Windows, detect more
4028 duplicates by assuming that only colors matching "^System" are
4029 special "system colors". (Bug#9722)
4030
6978a151
SM
40312011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4034 to distinguish the author from the committer.
4035
6a80b297
MA
40362011-10-18 Michael Albinus <michael.albinus@gmx.de>
4037
4038 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4039
b31a5677
JK
40402011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4041
4042 * international/mule.el (sgml-html-meta-auto-coding-function):
4043 Add support for detecting encoding in HTML5 specified only as
4044 <meta charset="UTF-8">. Implementation just makes http-equiv and
4045 content-type parts from HTML4 encoding string optional. (Bug#9716)
4046
80c6d77f
GM
40472011-10-18 Glenn Morris <rgm@gnu.org>
4048
4049 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4050
08b0fee8
CY
40512011-10-18 Chong Yidong <cyd@gnu.org>
4052
4053 * faces.el (cursor): Doc fix.
4054
67e729a5
CY
40552011-10-17 Chong Yidong <cyd@gnu.org>
4056
4057 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4058
343a34ff 40592011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4060
4061 * dirtrack.el (dirtrack): Support shell buffers with path
4062 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4063
0bc06380
TZ
40642011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4065
4066 * json.el: Bump version to 1.3 and note change in History.
4067 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4068
8b79f3e0
SM
40692011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4070
5a7c536b
SM
4071 * comint.el (comint-insert-input, comint-send-input)
4072 (comint-get-old-input-default, comint-backward-matching-input)
4073 (comint-next-prompt): Use nil instead of `input' for field property of
4074 past user input (bug#114).
4075
96a8a0df
SM
4076 * minibuffer.el (completion--replace): Inherit surrounding properties
4077 (bug#114).
4078 (minibuffer-complete-and-exit): Use it.
4079
8b79f3e0
SM
4080 * comint.el (comint--table-subvert): Quote the all-completions output
4081 (bug#9160).
4082
b8f7ff0d
MR
40832011-10-17 Martin Rudalics <rudalics@gmx.at>
4084
8b79f3e0 4085 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4086
b8f7ff0d 4087 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4088 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4089 entries and separate them from frame entries.
4090
c235b555
GM
40912011-10-15 Glenn Morris <rgm@gnu.org>
4092
4093 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4094 Doc fixes.
4095
6bbfa6e1
CY
40962011-10-15 Chong Yidong <cyd@stupidchicken.com>
4097
8b79f3e0
SM
4098 * net/network-stream.el (network-stream-open-starttls):
4099 Improve detection of failure due to lack of TLS support.
ec5c990d 4100
6bbfa6e1
CY
4101 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4102 putting the input text in front and in bold.
4103
98488977
SM
41042011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4105
3d1337be
SM
4106 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4107
ee0b45e4
SM
4108 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4109 empty buffer.
4110
98488977
SM
4111 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4112 unread-command-events rather than pushing yet-another event.
4113
186f4720
EZ
41142011-10-14 Eli Zaretskii <eliz@gnu.org>
4115
4116 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4117 the explanation of the possible choices. Make the options passed
4118 to completing-read shorter.
4119
8b7a997c
AM
41202011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4121
4122 * textmodes/flyspell.el (flyspell-large-region): Make sure
4123 extended character mode is used if defined (Bug#1339).
4124
12587bbb
EZ
41252011-10-13 Eli Zaretskii <eliz@gnu.org>
4126
4127 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4128 character info for LRE, LRO, RLE, and RLO characters by appending
4129 an invisible PDF.
12587bbb 4130
bad41229
SM
41312011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4134 even in case of error; add debug spec; simplify data flow.
4135 (with-timeout-handler): Remove.
4136
28dbc92f
MA
41372011-10-12 Michael Albinus <michael.albinus@gmx.de>
4138
4139 Fix Bug#6019, Bug#9315.
4140
4141 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4142 complete `buffer-file-name', the local file name part could look
4143 remotely (for example on VMS).
4144
4145 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4146 `tramp-run-real-handler'.
4147 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4148 already quoted by '"'.
4149
4150 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4151 Let `file-name-handler-alist' be nil, the local file name part
4152 could look remotely (for example on VMS).
4153
e1b0b23a
SM
41542011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4157 from here...
4158 (flyspell-post-command-hook): ...to here.
4159
a120bde9
SM
41602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4163 if not needed.
4164 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4165 using completion. Protect against "slow" callers.
4166 Remove the "message hack".
4167
7ce7717b
JL
41682011-10-11 Juri Linkov <juri@jurta.org>
4169
4170 * isearch.el (isearch-lazy-highlight-word): New variable.
4171 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4172 Use it. (Bug#9727)
4173
c02ee9d6
GM
41742011-10-11 Glenn Morris <rgm@gnu.org>
4175
4176 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4177 like f90-previous-statement does.
4178
93e616fd 41792011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4180
1f190e73 4181 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4182 only in interactive use, to avoid error.
4183
af7b6078
SM
41842011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * minibuffer.el (completion-file-name-table): Fix last change,
4187 i.e. ignore normal errors but not the other ones.
4188
0563dae9
MR
41892011-10-10 Martin Rudalics <rudalics@gmx.at>
4190
4191 * window.el (special-display-buffer-names)
4192 (special-display-regexps): Remove some remnants of earlier
4193 changes from doc-strings.
366ca7f3
MR
4194 (quit-windows-on): New function.
4195
4196 * vc/vc.el (vc-revert, vc-rollback):
4197 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4198 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4199 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4200
49677495
MR
42012011-10-09 Martin Rudalics <rudalics@gmx.at>
4202
4203 * window.el (frame-auto-hide-function): Add version tag.
4204 (Bug#9699)
4205
56f2d1e1
MA
42062011-10-09 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4209 condition.
4210
112a6592
LL
42112011-10-09 Leo Liu <sdl.web@gmail.com>
4212
4213 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4214 (Bug#9701)
4215
0812589b
GM
42162011-10-08 Glenn Morris <rgm@gnu.org>
4217
4218 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4219 before the first code statement zero indent. (Bug#9690)
4220
b2b0776e
CY
42212011-10-08 Chong Yidong <cyd@stupidchicken.com>
4222
4223 * simple.el (count-words-region): Always count in the region.
4224 Report the number of lines and characters too.
4225 (count-words): New command, which counts in the buffer if the
4226 region is inactive, as count-words-region used to.
4227 (count-words--message): New function. Handle plurals.
4228 (count-lines-region): Make it an alias for count-words-region.
4229
4230 * bindings.el (esc-map): Replace count-lines-region with
4231 count-words-region.
4232
c557cd6b
MR
42332011-10-08 Martin Rudalics <rudalics@gmx.at>
4234
4235 * window.el (window--delete): Delete dedicated frame
4236 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4237 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4238
61a57ef4 42392011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4240
3a7d293b 4241 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4242
c3833279
CY
42432011-10-07 Chong Yidong <cyd@stupidchicken.com>
4244
4245 * bindings.el ([M-left],[M-right]): Bind to left-word and
4246 right-word respectively.
4247
21ce8245
GM
42482011-10-07 Glenn Morris <rgm@gnu.org>
4249
4250 * cus-start.el (debug-on-quit): Fix custom type.
4251
6d823bb2
LMI
42522011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4253
0181e193
LMI
4254 * subr.el (define-key-after): Clarify that the function is not
4255 useful for non-menu keymaps.
4256
6d823bb2
LMI
4257 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4258
8e3459ce 42592011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4260
21ce8245 4261 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4262 in current minibuffer (Fix bug with recursive minibuffers).
4263
a1c2d21e
CY
42642011-10-06 Chong Yidong <cyd@stupidchicken.com>
4265
4266 * progmodes/gdb-mi.el (gdb): Doc fix.
4267
5a4cf282
MR
42682011-10-05 Martin Rudalics <rudalics@gmx.at>
4269
4270 * window.el (frame-auto-hide-function): New option replacing
4271 frame-auto-delete. Suggested by Stefan Monnier.
4272 (window--delete): Call frame-auto-hide-function instead of
4273 investigating frame-auto-delete.
c96111ea
MR
4274 (window-point-1, set-window-point-1): New functions.
4275 (window-in-direction, record-window-buffer, window-state-get-1)
4276 (display-buffer-record-window): Use window-point-1 instead of
4277 window-point.
4278 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4279
9854542e
SM
42802011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4283
8943cfb0
GM
42842011-10-05 Glenn Morris <rgm@gnu.org>
4285
4286 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4287 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4288
647ab967
LL
42892011-10-05 Leo Liu <sdl.web@gmail.com>
4290
4291 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4292 works with buffer object.
4293
3ddfbced
SM
42942011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * mpc.el (mpc-tool-bar-map): Add labels.
4297
bdfa5dd2
GM
42982011-10-04 Glenn Morris <rgm@gnu.org>
4299
4300 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4301
0e2070b5
MR
43022011-10-04 Martin Rudalics <rudalics@gmx.at>
4303
4304 * window.el (window--delete): New function.
4305 (frame-auto-delete): Resuscitate option.
4306 (bury-buffer, replace-buffer-in-windows)
4307 (quit-window): Rewrite using window--delete.
4308 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4309 Pass display-buffer-mark-dedicated to window--display-buffer-2
4310 (Bug#9639).
4311
3dc61a09
SM
43122011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4313
915a9b64
SM
4314 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4315 returns a list (bug#9554). Add remote file name completion.
4316 * comint.el (comint--table-subvert): Curry and get quote&unquote
4317 functions as arguments.
4318 (comint--complete-file-name-data): Adjust call accordingly.
4319 * pcomplete.el (pcomplete--table-subvert): Remove.
4320 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4321
3dc61a09
SM
4322 * minibuffer.el (completion-table-case-fold): Use currying.
4323 (completion--styles-type, completion--cycling-threshold-type):
4324 New constants.
4325 (completion-styles, completion-category-overrides)
4326 (completion-cycle-threshold): Use them.
4327 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4328 completion-table-case-fold.
4329
8ea0a993
SB
43302011-10-03 Stephen Berman <stephen.berman@gmx.net>
4331
4332 * minibuffer.el (completion-category-overrides): Fix type of styles
4333 and add more user friendly tags (bug#9660).
4334
8c24b7f6
SM
43352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4338 (mule-input-method-string): New widget.
4339 (default-input-method, language-info-custom-alist): Use it.
4340
428fe61a
SM
43412011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4342
32c1fffd
SM
4343 * pcomplete.el: Require comint.
4344 (pcomplete--common-suffix): Remove.
4345 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4346 (pcomplete--table-subvert): Sync with comint--table-subvert.
4347 (pcomplete--entries): Use comint-completion-file-name-table.
4348 * comint.el (comint-unquote-filename): Simplify.
4349 (comint-completion-file-name-table): New function (bug#9616).
4350 (comint--complete-file-name-data): Use it.
4351
428fe61a
SM
4352 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4353 (pcmpl-gnu-tar-buffer): Remove.
4354 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4355 around. Make sure pcomplete-suffix-list is only changed temporarily.
4356 Don't look inside the tar's file if it's too large.
428fe61a 4357
04c52e2f
CY
43582011-10-01 Chong Yidong <cyd@stupidchicken.com>
4359
ce3cefcc
CY
4360 * cus-edit.el (custom-mode-map):
4361 * epa.el (epa-key-list-mode-map):
4362 * man.el (Man-mode-map):
4363 * startup.el (splash-screen-keymap):
4364 * simple.el (special-mode-map): Use scroll-up-command and
4365 scroll-down-command.
4366
4367 * progmodes/idlw-help.el (idlwave-help-mode-map):
4368 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4369 * net/newst-plainview.el (newsticker-mode-map):
4370 * emulation/ws-mode.el (wordstar-mode-map):
4371 * emulation/vi.el (vi-com-map):
4372 * calc/calc-graph.el (calc-graph-show-dumb):
4373 * term/sun.el (terminal-init-sun):
4374 * term/ns-win.el (global-map):
4375 * progmodes/grep.el (grep-mode-map):
4376 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4377 * mail/rmail.el (rmail-mode-map):
4378 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4379
04c52e2f
CY
4380 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4381 custom-safe-themes as special.
4382
79adf8c8
JD
43832011-10-01 Julien Danjou <julien@danjou.info>
4384
4385 * notifications.el (notifications-notify): Fix docstring.
4386
63bd50d3
PS
43872011-10-01 Per Starbäck <per@starback.se>
4388
4389 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4390
199e4c7e
MR
43912011-09-30 Martin Rudalics <rudalics@gmx.at>
4392
4393 * startup.el (command-line-1): Fix last fix by inserting
4394 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4395 (Bug#9605) and (Bug#9636)
199e4c7e 4396
fe5f08dd
EZ
43972011-09-29 Eli Zaretskii <eliz@gnu.org>
4398
4399 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4400 window is hscrolled, move by logical lines. (Bug#9607)
4401 (line-move-visual): Update the doc string to the above effect.
4402
b5516bbd
MR
44032011-09-29 Martin Rudalics <rudalics@gmx.at>
4404
ccee00c0
MR
4405 * window.el (display-buffer-record-window): When WINDOW is the
4406 selected window use `point' instead of `window-point'. (Bug#9626)
4407
b5516bbd
MR
4408 * startup.el (command-line-1): Use insert-before-markers when
4409 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4410
b5516bbd
MR
4411 * help.el (help-window): Remove variable.
4412
52aa0014
GM
44132011-09-29 Glenn Morris <rgm@gnu.org>
4414
4415 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4416
df9a7357
JB
44172011-09-29 Juanma Barranquero <lekktu@gmail.com>
4418
4419 * descr-text.el (describe-char-categories): Accept category
4420 descriptions more than one line long.
4421
a8406c20
SM
44222011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4423
88d9610c
SM
4424 * simple.el (delete-trailing-whitespace): Fix last change.
4425
a5daf810
SM
4426 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4427 Don't confuse "y => 3" as the beginning of a `y' operation.
4428
a8406c20
SM
4429 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4430 object has more than 4 slots (bug#9613).
4431
a239d4e9
JB
44322011-09-28 Juanma Barranquero <lekktu@gmail.com>
4433
4434 * subr.el (with-output-to-temp-buffer):
4435 * net/quickurl.el (quickurl, quickurl-browse-url):
4436 Fix typos in docstrings.
4437
693fbdb6
EZ
44382011-09-27 Eli Zaretskii <eliz@gnu.org>
4439
4440 * minibuffer.el (completion-styles)
4441 (completion-category-overrides): Cross reference each other in doc
4442 strings.
4443
8b457e28
GM
44442011-09-27 Glenn Morris <rgm@gnu.org>
4445
4446 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4447 to split-string. (Bug#9606)
4448
85a16208
LMI
44492011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4450
4451 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4452 (bug#9615).
4453
502f9ebd
CY
44542011-09-27 Chong Yidong <cyd@stupidchicken.com>
4455
4456 * emacs-lisp/package.el (list-packages): Fix echo area message.
4457
7690bdea
LL
44582011-09-27 Leo Liu <sdl.web@gmail.com>
4459
4460 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4461
e2ee6f30
MA
44622011-09-25 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * net/dbus.el (dbus-unregister-object): Don't release services for
4465 registered signals. (Bug#9581)
4466
f3f98342
TZ
44672011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4468
4469 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4470 function that picks between cfengine 2 and 3 support
4471 automatically. Update docs accordingly.
4472
dd7aa8dd
KH
44732011-09-22 Kenichi Handa <handa@m17n.org>
4474
4475 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4476 ZERO.
4477 (indian-itrans-v5-table-for-tamil): New variable.
4478 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4479
3f2b07f8
KM
44802011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4481
4482 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4483 that's true if the current command involved collapsing of text.
4484 It's reset to false at the beginning of the next command.
4485 (allout-post-command-business): Move the cursor to the beginning
4486 of entry if the cursor is hidden and collapsing activity just
4487 happened.
4488
371d6a61
CY
44892011-09-24 Chong Yidong <cyd@stupidchicken.com>
4490
4491 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4492 tracking (Bug#9541).
4493
2ac2721a
UJ
44942011-09-24 Ulf Jasper <ulf.jasper@web.de>
4495
4496 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4497 (newsticker-show-news): Automatically load html rendering package
4498 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4499 because w3m-fill-column is let-bound" and the error "Symbol's value
4500 as variable is void: w3m-fill-column".
2ac2721a 4501
fac7ae53
MA
45022011-09-24 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4505 Release services only if they are defined. (Bug#9581)
4506
e08b633b
RS
45072011-09-23 Richard Stallman <rms@gnu.org>
4508
e488d29c
RS
4509 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4510 distinguish start of paragraph from start of its text.
4511
19c38752
RS
4512 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4513
e08b633b
RS
4514 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4515 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4516 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4517
0a39f27e
AS
45182011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4519
4520 * international/mule-diag.el (mule-diag): Insert a newline after
4521 each fontset description.
4522
db4e950d
SM
45232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4524
4525 * simple.el (delete-trailing-whitespace):
4526 Document last change; simplify.
4527
eca3f3ea
PW
45282011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4529
d68e189a
PW
4530 * simple.el (delete-trailing-whitespace): Also delete
4531 extra newlines at the end of the buffer.
4532
eca3f3ea
PW
4533 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4534 (picture-newline): Use forward-line so as to ignore fields.
4535
01c157cc
SM
45362011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * subr.el (with-wrapper-hook): Fix edebug spec.
4539
022de23e
LMI
45402011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4541
4542 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4543 (bug#4538).
4544
91683089
MA
45452011-09-23 Michael Albinus <michael.albinus@gmx.de>
4546
eca3f3ea
PW
4547 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4548 Fix nasty bug using wrong cached values.
91683089 4549
5bdd6fa4
AM
45502011-09-23 Alan Mackenzie <acm@muc.de>
4551
4552 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4553
97adfb97
CY
45542011-09-23 Chong Yidong <cyd@stupidchicken.com>
4555
4556 * window.el (pop-to-buffer): Ensure right window is selected if we
4557 chose another frame.
4558
d4ef2b50
EZ
45592011-09-22 Eli Zaretskii <eliz@gnu.org>
4560
4561 * simple.el (what-cursor-position): Use get-char-property-change
4562 and next-single-char-property-change, to be able to show display
4563 properties that come from overlays as well as text properties.
4564
72258fe5
CY
45652011-09-22 Chong Yidong <cyd@stupidchicken.com>
4566
4567 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4568
4569 * cmuscheme.el (run-scheme, switch-to-scheme):
4570 * cus-edit.el (customize-group, custom-buffer-create)
4571 (customize-browse):
4572 * info.el (info):
4573 * shell.el (shell):
4574 * mail/sendmail.el (mail):
4575 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4576
8f098516
RS
45772011-09-22 Richard Stallman <rms@gnu.org>
4578
4579 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4580 move back only to line beg, don't move back over blank lines.
4581
e74f1bb6
MA
45822011-09-22 Michael Albinus <michael.albinus@gmx.de>
4583
4584 * files.el (copy-directory): Set directory attributes only in case
4585 they could be retrieved from the source directory. (Bug#9565)
4586
bfeef8b6
DK
45872011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4588
4589 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4590 (hs-find-block-beginning, hs-hide-level-recursive):
4591 Ignore strings as well as comments. (Bug#9502)
4592
7e423bb8
AS
45932011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4594
4595 * progmodes/sql.el (sql-comint-postgres):
4596 Convert port number to a string. (Bug#9566)
4597
b4d72fcf
MR
45982011-09-22 Martin Rudalics <rudalics@gmx.at>
4599
4600 * window.el (quit-window): Undedicate window when switching to
4601 previous buffer. Reported by Thierry Volpiatto
4602 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4603 (special-display-popup-frame): When popping up a new frame reset
4604 its previous buffers to nil. Simplify code.
b4d72fcf 4605
a7b88dc6
MA
46062011-09-21 Michael Albinus <michael.albinus@gmx.de>
4607
4608 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4609 and process filter, as done also in `shell-command'.
4610
cf4eacfd
MR
46112011-09-21 Martin Rudalics <rudalics@gmx.at>
4612
eca3f3ea 4613 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4614 Call set-window-start with NOFORCE argument t.
4615 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4616 (quit-window): Reword doc-string. Handle new format of
4617 quit-restore parameter. Don't delete window if it has a
4618 previous buffer we can show instead of the present one.
4619 (display-buffer-record-window): Rewrite using a new format for
4620 the quit-restore window parameter
4621 (special-display-popup-frame, display-buffer-same-window)
4622 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4623 (display-buffer-pop-up-window, display-buffer-use-some-window):
4624 Adapt symbol passed to display-buffer-record-window.
4625 * help.el (help-window-setup): Handle new format of quit-restore
4626 parameter.
4627
8d28cb95
SM
46282011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4629
94ab793f
SM
4630 * faces.el (face-list): Fix docstring (bug#9564).
4631
8d28cb95
SM
4632 * window.el (display-buffer--action-function-custom-type):
4633 Don't include internal functions in the Custom interface.
4634
3820edeb
JL
46352011-09-20 Juri Linkov <juri@jurta.org>
4636
4637 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4638 (Info-forward-node, Info-backward-node, Info-next-preorder)
4639 (Info-last-preorder): Use it. (Bug#9528)
4640
5147931d
JL
46412011-09-20 Juri Linkov <juri@jurta.org>
4642
4643 * info.el (Info-last-preorder): Visit last menu item only when
4644 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4645
cf499a1a
JD
46462011-09-20 Julien Danjou <julien@danjou.info>
4647
4648 * password-cache.el (password-cache-remove): Remove entries even if the
4649 value is nil, so that password with a nil value (negative caching) is
4650 possible to invalidate.
4651
f84e2fe2
LM
46522011-09-20 Lawrence Mitchell <wence@gmx.li>
4653
4654 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4655 all whitespace around breakpoint. (Bug#9553)
4656 (f90-find-breakpoint): Only break at whitespace inside a comment.
4657
78054a46
SM
46582011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * minibuffer.el (completion-file-name-table): Keep track of errors.
4661 (completion-table-with-predicate): Handle the case where pred1 is nil.
4662 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4663
345083b2
SM
46642011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4665
e24e27be
SM
4666 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4667 (debugger-return-value): Signal an error if the debugging context does
4668 not await any return value.
4669
345083b2
SM
4670 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4671 * image-mode.el (image-toggle-display-text)
4672 (image-toggle-display-image): Stay away from evil `intangible'.
4673
08d355e3
LL
46742011-09-19 Leo Liu <sdl.web@gmail.com>
4675
4676 * replace.el (occur-revert-arguments): Make it permanent-local.
4677 (occur-mode): Don't call font-lock-defontify.
4678
f01da43f
CY
46792011-09-19 Chong Yidong <cyd@stupidchicken.com>
4680
4681 * net/ldap.el (ldap-search-internal): Don't push empty search
4682 result (Bug#9508).
4683
b6072fa6
SM
46842011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4687
443d6696
MA
46882011-09-19 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4691 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4692
7cc6e154
JL
46932011-09-18 Juri Linkov <juri@jurta.org>
4694
4695 * buff-menu.el (Buffer-menu-mode-map):
4696 * dired.el (dired-mode-map):
4697 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4698 (lisp-interaction-mode-map):
4699 * emacs-lisp/package.el (package-menu-mode-map):
4700 * epa.el (epa-key-list-mode-map):
4701 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4702 (menu-bar-options-menu):
4703 * outline.el (outline-mode-menu-bar-map):
4704 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4705 * vc/vc-dir.el (vc-dir-menu-map):
4706 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4707 Capitalize non-function content words in menu item strings.
4708
4709 * dired.el (dired-mode-map): Add menu item for
4710 `image-dired-dired-toggle-marked-thumbs'.
4711
80302a81
JL
47122011-09-18 Juri Linkov <juri@jurta.org>
4713
4714 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4715 to `isearch-case-fold-search' and restore its original value
4716 after the `isearch-mode' call.
4717
46c5cf66
JL
47182011-09-18 Juri Linkov <juri@jurta.org>
4719
4720 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4721 because `zgrep' returns 1 for successful matches (bug#9226).
4722
d18b513b
JL
47232011-09-18 Juri Linkov <juri@jurta.org>
4724
4725 * info.el (Info-extract-menu-node-name): Check the second match
4726 for empty string (second test-case of bug#9528).
4727 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4728 intermediate nodes to the history (first test-case of bug#9528).
4729
72753f87
JL
47302011-09-18 Juri Linkov <juri@jurta.org>
4731
4732 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4733 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4734
c9384295
JL
47352011-09-18 Juri Linkov <juri@jurta.org>
4736
1154d12e
JB
4737 * info.el (Info-file-supports-index-cookies):
4738 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4739 outputs one more line for long file names (bug#4142).
c9384295 4740
d473dce8
CY
47412011-09-18 Chong Yidong <cyd@stupidchicken.com>
4742
4743 * newcomment.el (comment-normalize-vars): If prompting for
4744 comment-start, set comment-start-skip too (Bug#8424).
4745
2176854d
JB
47462011-09-18 Johan Bockgård <bojohan@gnu.org>
4747
4748 * icomplete.el: Fix previous fix of Bug#5849.
4749 (icomplete-mode): Don't set completion-show-inline-help.
4750 (icomplete-minibuffer-setup): Set completion-show-inline-help
4751 locally during icompletion.
4752
3aace4e4
CY
47532011-09-18 Chong Yidong <cyd@stupidchicken.com>
4754
c940224f
CY
4755 * woman.el (woman2-process-escapes): Don't delete unrecognized
4756 escapes (Bug#7843).
4757
3aace4e4
CY
4758 * files.el (inhibit-first-line-modes-regexps): Add image files.
4759 (hack-local-variables-prop-line): Return nil for malformed
4760 prop-lines (Bug#9044).
4761
710dec63
MA
47622011-09-18 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * net/tramp.el (top): Don't require 'shell.
4765 (tramp-methods): Fix docstring.
4766 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4767 Return complete remote file name. Handle "smb" case.
4768 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4769 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4770
4771 * net/tramp-compat.el (top): Require 'shell.
4772
4773 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4774 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4775 `tramp-current-host'.
4776 (tramp-get-remote-tmpdir): Remove.
4777
4778 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4779 `tramp-tmpdir' entries.
4780 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4781 (tramp-smb-handle-file-attributes): Ignore errors.
4782 (tramp-smb-wait-for-output): Check also for process end.
4783
5d5ac8ec
LMI
47842011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4785
4786 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4787 when sending QUIT (bug#9312).
4788
8c0f49f0
CY
47892011-09-17 Chong Yidong <cyd@stupidchicken.com>
4790
4791 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4792 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4793 occur-mode-display-occurrence.
4794 (occur-edit-mode): Add usage message.
4795 (occur-cease-edit): New command.
4796 (occur-after-change-function): Use text properties to find the
4797 position of the prefix text.
4798 (occur-engine): Set stickiness of prefix text properties.
4799
8f1383f7
GM
48002011-09-17 Glenn Morris <rgm@gnu.org>
4801
4802 * progmodes/etags.el (complete-tag):
4803 Fix call to completion-in-region. (Bug#9526)
4804
744ba0e3
JL
48052011-09-17 Juri Linkov <juri@jurta.org>
4806
4807 * textmodes/ispell.el (ispell-word): Add to the error message
4808 the word, ispell program name and current dictionary (bug#9121).
4809 (ispell-tex-arg-end): Capitalize "error" in the error message.
4810
d9bbf400
AS
48112011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4812
4813 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4814 check. (Bug#4251)
4815
8da11505
JL
48162011-09-17 Juri Linkov <juri@jurta.org>
4817
4818 * window.el (window-safe-min-height, window-safe-min-width):
4819 Fix typos (followup to bug#9522).
4820
a91adc7e
SJ
48212011-09-17 Sven Joachim <svenjoac@gmx.de>
4822
4823 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4824
064f328a
EZ
48252011-09-16 Eli Zaretskii <eliz@gnu.org>
4826
4827 * simple.el (line-move): If goal-column is set, move by logical
4828 lines, not by display lines. (Bug#971)
4829 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4830 to reflect the above change.
4831
e69df516
SM
48322011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * image.el (imagemagick-register-types): Use regexp-opt.
4835
cbb0f9ab
CY
48362011-09-15 Chong Yidong <cyd@stupidchicken.com>
4837
4838 * window.el (display-buffer-base-action): Rename from
4839 display-buffer-default-action. Make default value empty.
4840 (display-buffer-overriding-action): Convert to defvar.
4841 (display-buffer-fallback-action): New var.
4842
25322144
CY
48432011-09-15 Chong Yidong <cyd@stupidchicken.com>
4844
4845 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4846 declaration.
4847 (package--add-to-archive-contents): If there is a duplicate entry
4848 with an older version, remove it.
4849 (package-menu-mark-delete, package-menu-mark-install)
4850 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4851 (package-menu-mark-obsolete-for-deletion):
4852 Use package-menu-get-status instead of a regexp search.
25322144
CY
4853 (package-menu-get-status): Use tabulated-list-entry.
4854 (package-menu-mark-upgrades): New command.
d770725a 4855 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4856 (package-menu-execute): Do installation before deletion.
4857 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4858 instead of checking major-mode.
4859 (package-menu--find-upgrades): New function.
4860
7520339c
LMI
48612011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862
4863 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4864 passwords in the log buffer.
65a046c4
LMI
4865 (smtpmail-process-filter): Update the process marker so that the
4866 "broken by peer" status message is inserted in the right place.
7520339c 4867
d3c30954
SM
48682011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4869
3fe48822
SM
4870 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4871 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4872 bibtex-completion-at-point-function.
4873 (bibtex-completion-at-point-function): Use them.
4874
1b8b3954
SM
4875 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4876
d3c30954
SM
4877 * mpc.el (mpc-constraints-tag-lookup): New function.
4878 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4879 also to browser "album|playlist".
4880
72779976
JL
48812011-09-14 Juri Linkov <juri@jurta.org>
4882
4883 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4884 (isearch-edit-string): Use length of `isearch-string' when
4885 `isearch-fail-pos' returns nil.
4886 (isearch-message): Remove duplicate code and call
4887 `isearch-fail-pos' with arg `t'.
4888
a0bf2bcd
CY
48892011-09-14 Chong Yidong <cyd@stupidchicken.com>
4890
17bb0a2d
CY
4891 * replace.el (occur-mode-goto-occurrence): Don't force using other
4892 window (Bug#9499).
4893
a0bf2bcd
CY
4894 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4895
f678e0b6
MR
48962011-09-14 Martin Rudalics <rudalics@gmx.at>
4897
4898 * window.el (display-buffer-window): Remove.
4899 (display-buffer-record-window): Use help-setup window parameter
4900 instead of variable display-buffer-window.
4901 (display-buffer-function, special-display-buffer-names)
4902 (special-display-function): Mention help-setup parameter instead
4903 of display-buffer-window in doc-string.
d3c30954
SM
4904 * help.el (help-window-setup): New argument help-window.
4905 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4906 Reword some messages.
4907 (with-help-window): Pass window used for displaying the buffer
4908 to help-window-setup. Don't set display-buffer-window.
4909
8e39b2e8
GM
49102011-09-13 Glenn Morris <rgm@gnu.org>
4911
4912 * emacs-lisp/debug.el (debugger-make-xrefs):
4913 Preserve point. (Bug#9462)
4914
85e9c04b
CY
49152011-09-13 Chong Yidong <cyd@stupidchicken.com>
4916
4917 * window.el (window-deletable-p): Use next-frame.
4918
1b36ed6a
MR
49192011-09-13 Martin Rudalics <rudalics@gmx.at>
4920
4921 * window.el (window-auto-delete): Remove.
4922 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4923 dedication and previous buffers.
1b36ed6a
MR
4924 (switch-to-prev-buffer): Don't delete window.
4925 (delete-windows-on): Delete a window's frame if and only if the
4926 window is dedicated.
4927 (replace-buffer-in-windows): Delete buffer's window or frame if
4928 and only if window is dedicated.
4929 (quit-window): Handle quit-restore as before last change.
4d61f28d 4930 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4931
ef8ef9fb
CY
49322011-09-13 Chong Yidong <cyd@stupidchicken.com>
4933
4934 * window.el (window-deletable-p): Never delete the last frame on a
4935 given terminal.
4936
b2cba41e
GM
49372011-09-13 Glenn Morris <rgm@gnu.org>
4938
4939 * help.el (describe-key-briefly): Copy previous standard-output change.
4940
51553db6 49412011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4942
4943 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4944
b7556719
GM
49452011-09-13 Glenn Morris <rgm@gnu.org>
4946
4947 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4948 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4949
64b51947
CY
49502011-09-12 Chong Yidong <cyd@stupidchicken.com>
4951
4952 * dired-aux.el (dired-mark-read-string): Don't return default
4953 value on empty input (Bug#9361).
4954 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4955 Omit initial minibuffer contents.
4956 (dired-do-chmod): Signal an error on empty input.
4957 (dired-mark-read-string): Don't return default on empty input.
4958
4959 * files.el (file-modes-symbolic-to-number): Doc fix.
4960
393a301e
SM
49612011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * international/mule-cmds.el (ucs-completions): Remove.
4964 (read-char-by-name): Use complete-with-action instead; add metadata.
4965
fa5660f9
CY
49662011-09-11 Chong Yidong <cyd@stupidchicken.com>
4967
4968 * window.el (display-buffer--action-function-custom-type)
4969 (display-buffer--action-custom-type): New vars.
4970 (display-buffer-alist, display-buffer-default-action)
4971 (display-buffer-overriding-action): Add defcustom types.
4972
4a592f66
CY
4973 * frame.el (delete-other-frames): Doc fix (Bug#276).
4974
73d56dbd
LMI
49752011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4976
4977 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4978
37ac18a3
CY
49792011-09-11 Chong Yidong <cyd@stupidchicken.com>
4980
4981 Change modes that used same-window-* vars to use switch-to-buffer.
4982
4983 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4984 Use switch-to-buffer.
4985
4986 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4987 (customize-browse, custom-buffer-create-other-window):
4988 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4989
4990 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4991 (Info-prev, Info-up, Info-speedbar-goto-node)
4992 (info-display-manual): Use switch-to-buffer.
4993 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4994
4995 * mail/sendmail.el (mail): Use switch-to-buffer.
4996 (mail-recover): Use switch-to-buffer-other-window.
4997
4998 * cmuscheme.el (run-scheme, switch-to-scheme):
4999 * ielm.el (ielm):
5000 * shell.el (shell):
5001 * net/rlogin.el (rlogin):
5002 * net/telnet.el (telnet, rsh):
5003 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5004
10195bd6
AS
50052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5006
5007 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5008
b322f63a
LMI
50092011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5010
39d7fed6
LMI
5011 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5012 so don't mention it (bug#9301).
ba5a81f1 5013 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5014
ee0e9f11
LMI
5015 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5016 match `x', `w32' and `ns', like the manual says (bug#9029).
5017
0b1c89c1 5018 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5019 (process-kill-buffer-query-function): Mention the buffer name in
5020 the query.
0b1c89c1 5021
77549ea8
LMI
5022 * image-mode.el (image-next-line): The line parameter is mandatory
5023 (bug#9258).
5024
803ef892
LMI
5025 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5026 which can be useful (bug#9301).
5027
12980837
LMI
5028 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5029
91054f8f
LMI
5030 * subr.el (match-string): Mention that the current buffer should
5031 be the same as the search was done in (bug#9282).
5032
b322f63a
LMI
5033 * facemenu.el: Disable the remove-* commands if the mark isn't
5034 active (bug#9162).
5035
3199b96f
CY
50362011-09-10 Chong Yidong <cyd@stupidchicken.com>
5037
5038 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5039 of display-buffer.
5040 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5041
5042 * replace.el (occur-mode-goto-occurrence)
5043 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5044 and display-buffer.
5045
5046 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5047 display-buffer.
5048
5049 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5050 special-display and same-window variables.
5051 (mail-other-window): Use switch-to-buffer-other-window.
5052 (mail-other-frame): USe switch-to-buffer-other-frame.
5053
393a301e
SM
5054 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5055 Use display-buffer-other-frame.
3199b96f
CY
5056 (gdb-display-gdb-buffer): Use pop-to-buffer.
5057
5058 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5059
5060 * progmodes/python.el: Don't set same-window-buffer-names.
5061
5062 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5063
5064 * window.el (display-buffer-alist): Add *Python*.
5065
8319e0bf
CY
50662011-09-10 Chong Yidong <cyd@stupidchicken.com>
5067
5068 * window.el (display-buffer-alist): Add entry for buffers
5069 previously handled same-window-*.
5070 (display-buffer-alist, display-buffer-default-action)
5071 (display-buffer-overriding-action): Mark as risky.
5072 (display-buffer-alist): Document action function changes.
5073 (display-buffer--same-window-action)
5074 (display-buffer--other-frame-action): New variables.
5075 (switch-to-buffer, display-buffer-other-frame): Use them.
5076 (display-buffer): Rename reuse-frame entry to reusable-frames.
5077 (display-buffer-reuse-selected-window): Function deleted.
5078 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5079 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5080 (display-buffer-special): New function.
5081 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5082 display-buffer-reuse-or-pop-window. Split off special-display
5083 part into display-buffer-special.
5084 (display-buffer-use-some-window): Don't perform any special
5085 pop-up-frames handling.
5086 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5087 (display-buffer--maybe-same-window): Rename from
0d3ff375 5088 display-buffer-maybe-same-window.
8319e0bf 5089
919a69aa
CY
5090 * info.el: Don't set same-window-regexps.
5091 (info-setup): New function.
5092 (info-other-window, info): Call it.
5093
5094 * cus-edit.el: Don't set same-window-regexps.
5095 (customize-group): New argument.
5096 (customize-group-other-window): Use it.
5097 (customize-face, customize-face-other-window): Likewise.
5098 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5099
8319e0bf
CY
5100 * net/rlogin.el:
5101 * net/telnet.el:
5102 * progmodes/gud.el: Don't set same-window-regexps.
5103
5104 * cmuscheme.el:
5105 * ielm.el:
5106 * shell.el:
5107 * mail/sendmail.el:
5108 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5109
25173000
JL
51102011-09-10 Juri Linkov <juri@jurta.org>
5111
5112 * isearch.el (isearch-edit-string): Remove obsolete mention of
5113 `C-w' (`isearch-yank-word-or-char') from docstring.
5114 (isearch-query-replace): Fix typo in docstring (bug#9466).
5115
056e44ef
JL
51162011-09-10 Juri Linkov <juri@jurta.org>
5117
5118 * paren.el (show-paren-function): Don't show escaped parens.
5119 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5120
c3760c17
EZ
51212011-09-10 Eli Zaretskii <eliz@gnu.org>
5122
5123 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5124 (mm-default-file-encoding): Remove autoload forms, they are
5125 replaced with autoload cookies in mml.el and mm-encode.el.
5126 (mail-add-attachment): New command.
5127 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5128 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5129 the doc string.
5130 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5131
fece895e
RT
51322011-09-10 Reuben Thomas <rrt@sc3d.org>
5133
e69df516
SM
5134 * simple.el (count-words-region): Use buffer if there's no region
5135 (bug#9429).
fece895e 5136
5e68ce4a
JL
51372011-09-09 Juri Linkov <juri@jurta.org>
5138
5139 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5140 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5141 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5142
0a6b9622
AM
51432011-09-09 Alan Mackenzie <acm@muc.de>
5144
5145 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5146 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5147
14a29deb
EZ
51482011-09-09 Eli Zaretskii <eliz@gnu.org>
5149
5150 Fix for Savannah bug#9392.
5151 * simple.el (mail-encode-mml): New defvar.
5152
5153 * mail/rmail.el (mail-encode-mml): Add a defvar.
5154 (rmail-enable-mime-composing): Default to t.
5155 (rmail-forward): Use MIME method of forwarding only if both
5156 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5157 Set mail-encode-mml non-nil if the MIME method was used.
5158
5159 * mail/sendmail.el (mml-to-mime): Add autoload form.
5160 (mail-encode-mml): Add a defvar.
5161 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5162 to nil.
5163 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5164 message through mml-to-mime, and reset mail-encode-mml to nil.
5165
28c45130
GM
51662011-09-09 Glenn Morris <rgm@gnu.org>
5167
5168 * woman.el (woman-if-body): When processing an .el block,
5169 do not delete the next .el block as well. (Bug#9447)
69f4b618 5170 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5171
9b1c252e
MR
51722011-09-08 Martin Rudalics <rudalics@gmx.at>
5173
5174 * window.el (window-deletable-p): Make sure window is live before
5175 invoking window-prev-buffers.
5176
567457e3
LL
51772011-09-08 Leo Liu <sdl.web@gmail.com>
5178
5179 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5180
97f05794
JL
51812011-09-08 Juri Linkov <juri@jurta.org>
5182
5183 * progmodes/compile.el (compilation-environment): Make it
5184 a defcustom (bug#8340).
5185
8b0874b5
MR
51862011-09-08 Martin Rudalics <rudalics@gmx.at>
5187
5188 * window.el (frame-auto-delete): Rename to window-auto-delete.
5189 Make it control auto-deletion of windows and/or frames.
5190 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5191 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5192 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5193 Rewrite handling of case when window/frame can be deleted.
5194 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5195 argument t. (Bug#9456)
8b0874b5 5196
4feb6e73
CY
51972011-09-07 Chong Yidong <cyd@stupidchicken.com>
5198
5199 * help-mode.el (help-mode): Restore autoload.
5200
91ab9c13
JL
52012011-09-07 Juri Linkov <juri@jurta.org>
5202
5203 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5204 `compilation-environment'. Set buffer-local
5205 `compilation-environment' to `thisenv' later after (funcall mode).
5206 (Bug#8340)
5207
5208 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5209 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5210 instead of replacing its value. (Bug#8340)
5211
0527e251
JL
52122011-09-07 Juri Linkov <juri@jurta.org>
5213
5214 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5215 based on text properties put by `grep-filter' instead of matching
5216 escape sequences.
5217 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5218 to the value of `grep-error-screen-columns' (bug#9438).
5219
249f792c
JL
52202011-09-07 Juri Linkov <juri@jurta.org>
5221
5222 * simple.el (next-error-highlight, next-error-highlight-no-select):
5223 Doc fix (bug#9432).
5224
ff7271b9
OT
52252011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5226
5227 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5228 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5229
183fc730
LL
52302011-09-07 Leo Liu <sdl.web@gmail.com>
5231
5232 * net/rcirc.el (rcirc-mode): Conditionally initialize
5233 rcirc-input-ring.
5234
77694924
SM
52352011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * emacs-lisp/find-func.el (find-function-C-source): Only set
5238 find-function-C-source-directory after checking that we found a source
5239 file there (bug#9440).
5240
d809b8eb
AM
52412011-09-06 Alan Mackenzie <acm@muc.de>
5242
5243 * isearch.el (isearch-other-meta-char): Wherever a key list is
5244 unread, "unread" the prefix arg, too. This fixes bug #8901.
5245
453de99f
OG
52462011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5247
5248 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5249
90439906
JL
52502011-09-05 Juri Linkov <juri@jurta.org>
5251
5252 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5253
f62bd846
JL
52542011-09-05 Juri Linkov <juri@jurta.org>
5255
5256 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5257 keeping point where processing of grep matches begins, and
5258 continue to delete remaining escape sequences from the same point.
5259 (grep-filter): Make leading zero optional in "0?1;31m" because
5260 git-grep emits "\033[1;31m" escape sequences unlike expected
5261 "\033[01;31m" as GNU Grep does (bug#9408).
5262 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5263
045820ec
JL
52642011-09-05 Juri Linkov <juri@jurta.org>
5265
5266 * subr.el (y-or-n-p): Capitalize "yes".
5267
f5e29b9b
MA
52682011-09-04 Michael Albinus <michael.albinus@gmx.de>
5269
5270 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5271 `tramp-cache-unload-hook' where appropriate.
5272 (tramp-methods): Rename `tramp-remote-sh' to
5273 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5274 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5275
5276 * net/tramp-sh.el (top): Don't require 'shell.
5277 (tramp-methods): Add `tramp-remote-shell' and
5278 `tramp-remote-shell-args' entries.
5279 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5280 (tramp-sh-handle-shell-command): Remove.
5281 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5282 Use `tramp-remote-shell'.
5283
2784c434
CY
52842011-09-03 Chong Yidong <cyd@stupidchicken.com>
5285
393a301e 5286 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5287 (sendmail-query-once): Save directly to send-mail-function.
5288 Update message-send-mail-function too.
5289
5290 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5291
464cdf56
CS
52922011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5293
5294 * progmodes/python.el (python-mode-map): Use correct function to
5295 start python interpreter from menu-bar (as reported by Geert
5296 Kloosterman).
5297 (inferior-python-mode-map): Fix typo.
393a301e 5298 (python-shell-map): Remove.
464cdf56 5299
d37e5c87
DD
53002011-09-03 Deniz Dogan <deniz@dogan.se>
5301
5302 * net/rcirc.el (rcirc-print): Simplify code for
5303 rcirc-scroll-show-maximum-output. There is no need to walk
5304 through all windows to find the right one.
5305
f3ada0ee
CS
53062011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5307
5308 * help.el (help-return-method): Doc fix.
5309
1f3c99ca
MR
53102011-09-03 Martin Rudalics <rudalics@gmx.at>
5311
5312 * window.el (window-deletable-p): Don't return a non-nil value
5313 when there's a buffer that was shown in the window before.
5314 (Bug#9419)
393a301e
SM
5315 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5316 Set window's previous buffers to nil.
1f3c99ca 5317
a3cf097f
EZ
53182011-09-03 Eli Zaretskii <eliz@gnu.org>
5319
5320 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5321 newline before and after the tag line, so it doesn't interfere
5322 with determining the paragraph direction of bidirectional text.
5323
3d03de90
LL
53242011-09-03 Leo Liu <sdl.web@gmail.com>
5325
5326 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5327
c3313451
CY
53282011-09-02 Chong Yidong <cyd@stupidchicken.com>
5329
393a301e 5330 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5331 (pop-to-buffer): Change interactive spec. Pass second argument
5332 directly to display-buffer.
5333 (display-buffer): Fix interactive spec. Use functionp to
5334 distinguish between a function and a list of functions.
5335
5336 * abbrev.el (edit-abbrevs):
5337 * arc-mode.el (archive-extract):
5338 * autoinsert.el (auto-insert):
5339 * bookmark.el (bookmark-bmenu-list):
5340 * files.el (find-file):
5341 * view.el (view-buffer):
5342 * progmodes/compile.el (compilation-goto-locus):
5343 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5344
89894cd8
CY
53452011-09-02 Chong Yidong <cyd@stupidchicken.com>
5346
5347 * window.el (display-buffer-alist): Doc fix.
5348 (display-buffer): Add docstring. Don't treat
5349 display-buffer-default specially.
5350 (display-buffer-reuse-selected-window)
5351 (display-buffer-same-window, display-buffer-maybe-same-window)
5352 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5353 (display-buffer-pop-up-window)
5354 (display-buffer-reuse-or-pop-window)
5355 (display-buffer-use-some-window): New functions.
5356 (display-buffer-default-action): Use them.
393a301e 5357 (display-buffer-default): Delete.
89894cd8
CY
5358 (pop-to-buffer-1): Fix choice of actions.
5359
ae0bc9fb
SM
53602011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * minibuffer.el (completion--insert-strings): Don't get confused by
5363 completion entries that end with an LF char.
5364
e9d90883
EZ
53652011-09-01 Eli Zaretskii <eliz@gnu.org>
5366
5367 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5368
437014c8
CY
53692011-09-01 Chong Yidong <cyd@stupidchicken.com>
5370
5371 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5372 (display-buffer-same-window, display-buffer-other-window):
5373 New functions.
437014c8
CY
5374 (pop-to-buffer-1): New function. Use the above.
5375 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5376 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5377
5378 * view.el (view-buffer-other-window, view-buffer-other-frame):
5379 Just use pop-to-buffer.
5380
a5e063d5
TV
53812011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5382
5383 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5384
793d32bb
WH
53852011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5386
5387 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5388
d65e4c15
RS
53892011-08-31 Richard Stallman <rms@gnu.org>
5390
5391 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5392 of the separation of rmail-view-buffer from rmail-buffer.
5393 If you say no to "replace original", the decrypt is in the
5394 view buffer. If you say yes, the decrypt goes into the
5395 rmail buffer also.
5396
f818cd2a
MR
53972011-08-31 Martin Rudalics <rudalics@gmx.at>
5398
5399 * window.el (display-buffer-window): Rewrite doc-string.
5400 (display-buffer-record-window): New function.
5401 (display-buffer-macro-specifiers)
5402 (display-buffer-even-window-sizes, display-buffer-set-height)
5403 (display-buffer-set-width, display-buffer-in-window)
5404 (display-buffer-reuse-window, display-buffer-split-specifiers)
5405 (display-buffer-side-specifiers, display-buffer-split-window-1)
5406 (display-buffer-split-window, display-buffer-split-atom-window)
5407 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5408 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5409 (display-buffer-other-window-means-other-frame)
5410 (display-buffer-normalize-special)
5411 (display-buffer-normalize-default)
5412 (display-buffer-normalize-argument)
5413 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5414 (display-buffer-normalize-specifiers, display-buffer-frame)
5415 (display-buffer-same-window, display-buffer-same-frame)
5416 (display-buffer-other-window)
5417 (display-buffer-same-frame-other-window)
5418 (display-buffer-other-frame, pop-to-buffer-same-window)
5419 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5420 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5421 (switch-to-buffer-same-frame)
5422 (switch-to-buffer-other-window-same-frame)
5423 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5424 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5425 (display-buffer-alist-set): Remove.
5426 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5427 (special-display-regexps, special-display-function):
5428 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5429 parameter.
5430 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5431 (special-display-frame-alist, special-display-popup-frame)
5432 (same-window-buffer-names, same-window-regexps, same-window-p)
5433 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5434 (split-window-preferred-function, split-height-threshold)
5435 (split-width-threshold, window-splittable-p)
5436 (split-window-sensibly, window--try-to-split-window)
5437 (window--frame-usable-p, even-window-heights)
5438 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5439 (window--display-buffer-2, display-buffer-other-frame):
5440 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5441 (display-buffer-default, display-buffer-assq-regexp): New functions.
5442 (display-buffer-alist): Rewrite doc-string.
5443 (display-buffer-default-action)
5444 (display-buffer-overriding-action): New variables.
5445 (display-buffer, switch-to-buffer): Rewrite.
5446 (pop-to-buffer): Restore Emacs 23 behavior but use
5447 window-normalize-buffer-to-display.
5448 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5449 Restore Emacs 23 behavior but use
5450 window-normalize-buffer-to-switch-to.
5451 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5452 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5453 Rewrite using Emacs 23 options.
f818cd2a 5454
5bc3b51d
MA
54552011-08-31 Michael Albinus <michael.albinus@gmx.de>
5456
5457 * net/tramp.el (tramp-root-regexp): Remove.
5458 (tramp-completion-file-name-regexp-unified)
5459 (tramp-completion-file-name-regexp-separate)
5460 (tramp-completion-file-name-regexp-url): Don't use leading volume
5461 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5462 (tramp-drop-volume-letter): Simplify definition.
5463 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5464
b1a4f8e1
SM
54652011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5468 (bug#9356).
5469
5664fa7b
RT
54702011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5471
b1a4f8e1 5472 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5473
9a45d6c3
JL
54742011-08-29 Juri Linkov <juri@jurta.org>
5475
5476 * isearch.el (isearch-done): Don't display message "Mark saved"
5477 when arg `edit' is non-nil to prevent its flicker in the echo area.
5478
fb87e0fb
CY
54792011-08-28 Chong Yidong <cyd@stupidchicken.com>
5480
5481 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5482 obsolete packages for deletion.
5483
09ac1c2a
CS
54842011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5485
5486 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5487 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5488 view-mode from help-mode.
5489 (help-xref-override-view-map): Remove.
5490 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5491 view-mode is not used anymore.
5492
7a1ff57f
CY
54932011-08-28 Chong Yidong <cyd@stupidchicken.com>
5494
5495 * server.el (server-port): Doc fix.
5496
b9696605
CY
5497 * cus-theme.el (custom-theme-choose-mode): Inherit from
5498 special-mode (Bug#9124).
5499 (custom-theme-choose-mode-map): Add special-mode to parent.
5500
ef8cdf8c
AM
55012011-08-28 Alan Mackenzie <acm@muc.de>
5502
5503 * progmodes/cc-fonts.el
5504 (c-make-font-lock-BO-decl-search-function): New function.
5505 (c-basic-matchers-after - "Fontify the clauses after various
5506 keywords"): Extract the three keyword lists for the 3 erroneous
5507 constructs from the list of four, and use the new function above
5508 in place of an old one.
5509
27de4e20
DD
55102011-08-28 Deniz Dogan <deniz@dogan.se>
5511
5512 * net/rcirc.el (rcirc-insert-prev-input)
5513 (rcirc-insert-next-input): Remove unused argument.
5514
356a3681
SM
55152011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5518
3fc9b218
AM
55192011-08-27 Alan Mackenzie <acm@muc.de>
5520
5521 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5522 handle function pointer parameters properly.
5523
538a061c
MR
55242011-08-27 Martin Rudalics <rudalics@gmx.at>
5525
5526 * window.el (display-buffer-reuse-window): Fix case where
5527 selected window was reused with non-nil OTHER-WINDOW argument.
5528 (Bug#9381)
5529
35b1c40c
DD
55302011-08-27 Deniz Dogan <deniz@dogan.se>
5531
5532 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5533 oftc's NickServ messages.
5534
2f6a3e79
GM
55352011-08-27 Glenn Morris <rgm@gnu.org>
5536
5537 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5538
7254299e
CY
55392011-08-26 Chong Yidong <cyd@stupidchicken.com>
5540
5541 * emacs-lisp/package.el (package-install): Call package-initialize
5542 if called interactively.
5543
f8ccf167
LL
55442011-08-26 Leo Liu <sdl.web@gmail.com>
5545
5546 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5547
3e8cd5ce
JL
55482011-08-25 Juri Linkov <juri@jurta.org>
5549
5550 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5551 `search-whitespace-regexp' (bug#9364).
5552
93eb7113
JL
55532011-08-25 Juri Linkov <juri@jurta.org>
5554
5555 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5556 `regexp-search-ring' to their global values to protect from
5557 updating by `read-from-minibuffer' (bug#9185).
5558
f65d1611
JL
55592011-08-25 Juri Linkov <juri@jurta.org>
5560
5561 * textmodes/ispell.el (ispell-command-loop): Add newline
5562 at the end of the "Use option `i'..." line.
5563
f1cf7a31
JL
55642011-08-25 Juri Linkov <juri@jurta.org>
5565
5566 * battery.el (display-battery-mode): If `battery-status-function'
5567 or `battery-mode-line-format' is nil, display the message and set
5568 `display-battery-mode' to nil (bug#9363).
5569
0c95fcf7
EZ
55702011-08-25 Eli Zaretskii <eliz@gnu.org>
5571
5572 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5573 bidi-string-mark-left-to-right; they are unnecessary now.
5574
a2ebe600
DD
55752011-08-25 Deniz Dogan <deniz@dogan.se>
5576
5577 * net/quickurl.el: Documentation typo fixes.
5578
e4ed06f1
CY
55792011-08-25 Chong Yidong <cyd@stupidchicken.com>
5580
5581 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5582
e5f1c99e
GM
55832011-08-25 Glenn Morris <rgm@gnu.org>
5584
b2948976
GM
5585 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5586
e5f1c99e
GM
5587 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5588 (smtpmail-via-smtp): Handle nil response from smtp.
5589
f22f4808
JL
55902011-08-24 Juri Linkov <juri@jurta.org>
5591
5592 * proced.el (proced-marked): Inherit from `error' instead of
5593 `font-lock-warning-face'.
5594
5595 * ibuffer.el (ibuffer-marked-face): Change default face from
5596 `font-lock-warning-face' to `warning'.
5597 (ibuffer-deletion-face): Change default face from
5598 `font-lock-type-face' to `error'.
5599
5600 * battery.el (battery-update): Use the face `error' instead of
5601 `font-lock-warning-face' (bug#6117).
5602
6a93965e
JL
56032011-08-24 Juri Linkov <juri@jurta.org>
5604
5605 * faces.el (success): Change face color from "Green3" to
5606 "ForestGreen" on light background (bug#9353).
5607
1ed43b09
CY
56082011-08-24 Chong Yidong <cyd@stupidchicken.com>
5609
5664fa7b
RT
5610 * window.el (quit-window): Rename from quit-restore-window.
5611 Use same arglist as old quit-window.
1ed43b09
CY
5612 (frame-auto-delete): Doc fix.
5613
5614 * view.el (view-mode-exit): Use quit-window.
5615
11dcdbb2
JL
56162011-08-24 Juri Linkov <juri@jurta.org>
5617
5618 * isearch.el (isearch-ring-adjust1): Start visiting previous
5619 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5620 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5621 for empty search string (when the last search string is reused
5622 automatically) to adjust the isearch ring to the last element and
5623 prepare the correct index for further M-p commands (bug#9185).
5624
de62b4df
KH
56252011-08-24 Kenichi Handa <handa@m17n.org>
5626
5627 * international/ucs-normalize.el: If decomposition property of
5628 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5629 nil.
5630 (nfd, nfkd): Likewise.
5631
963b492b
SM
56322011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5635 from process filters aren't reliably transmitted to the surrounding
5636 accept-process-output.
5637 (mpc-proc-check): New function.
5638 (mpc-proc-sync): Use it (bug#8293)
5639
93b6b5e1
SM
56402011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5643 Add compatibility functions (bug#9313).
5644
bca633fb
EZ
56452011-08-23 Eli Zaretskii <eliz@gnu.org>
5646
b177498a
EZ
5647 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5648
6df6ae42 5649 * international/uni-bidi.el: Regenerate.
bca633fb 5650
0902a04e
KH
56512011-08-23 Kenichi Handa <handa@m17n.org>
5652
5653 * international/charprop.el:
5654 * international/uni-bidi.el:
5655 * international/uni-category.el:
5656 * international/uni-combining.el:
5657 * international/uni-comment.el:
5658 * international/uni-decimal.el:
5659 * international/uni-decomposition.el:
5660 * international/uni-digit.el:
5661 * international/uni-lowercase.el:
5662 * international/uni-mirrored.el:
5663 * international/uni-name.el:
5664 * international/uni-numeric.el:
5665 * international/uni-old-name.el:
5666 * international/uni-titlecase.el:
5667 * international/uni-uppercase.el: Regenerate.
5668
3bbf23bc
MR
56692011-08-23 Martin Rudalics <rudalics@gmx.at>
5670
5671 * help.el (help-window-setup): Fix message displayed when other
5672 window is reused. (Bug#9341)
5673
b3fd59bd
SM
56742011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5675
1802e444
SM
5676 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5677 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5678
b3fd59bd
SM
5679 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5680 Mark obsolete.
5681 * shell.el (shell-parse-pcomplete-arguments): New function.
5682 (shell-completion-vars): Use it instead (bug#9160).
5683
4eb61348
SM
56842011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5685
867cab74
SM
5686 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5687 strings and comments (bug#9333).
5688
4eb61348
SM
5689 * emacs-lisp/debug.el (debug-arglist): New function.
5690 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5691 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5692
262a1439
JL
56932011-08-22 Juri Linkov <juri@jurta.org>
5694
56ee679c
JL
5695 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5696 Revert regexp that highlights output switches to its old
5697 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5698
262a1439
JL
5699 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5700 to check for empty output (bug#9226).
5701
f13f86fb
CY
57022011-08-22 Chong Yidong <cyd@stupidchicken.com>
5703
5704 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5705 symbol-constituent as the default, as that stops font-lock from
5706 working properly (Bug#8843).
5707
c65c9622
LMI
57082011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5709
5710 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5711 `coding-system-for-*' around the process open call to avoid
5712 auth-source side effects.
e7f2c178 5713 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5714 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5715 probe hangs.
c65c9622 5716
23a8a5ab
CY
57172011-08-21 Chong Yidong <cyd@stupidchicken.com>
5718
ff98b2dd
CY
5719 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5720
23a8a5ab
CY
5721 * emacs-lisp/find-func.el (find-function-noselect): New arg
5722 lisp-only.
5723
5724 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5725 signal an error for built-in functions (Bug#6664).
5726
f5e3c598
LMI
57272011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5728
5729 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5730 (smtpmail-try-auth-methods): Use it.
5731
a3f2468a
CY
57322011-08-21 Chong Yidong <cyd@stupidchicken.com>
5733
2c34e8da
CY
5734 * font-lock.el (font-lock-fontify-region)
5735 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5736 (font-lock-default-unfontify-buffer)
5737 (font-lock-default-fontify-region)
5738 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5739
b3fd59bd
SM
5740 * progmodes/compile.el (compilation-error-properties):
5741 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5742 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5743 `ant' regexp.
ee31aabc 5744
a3f2468a
CY
5745 * net/browse-url.el (browse-url-firefox): Don't call
5746 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5747
8e999f70
GM
57482011-08-20 Glenn Morris <rgm@gnu.org>
5749
c21a496a
GM
5750 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5751
59ee0542
GM
5752 * tutorial.el (tutorial--default-keys): Update some default bindings.
5753
8e999f70
GM
5754 * files.el (hack-local-variables): Fully ignore case for "mode:".
5755
e3715033
AM
57562011-08-20 Alan Mackenzie <acm@muc.de>
5757
5758 Resolve invalid use of a regexp in regexp-opt.
5759
4d61f28d
JB
5760 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5761 detection for a java annotation.
e3715033 5762
4d61f28d 5763 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5764 detection for a java annotation.
5765
4d61f28d
JB
5766 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5767 handling for java.
e3715033
AM
5768 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5769
04ed2e9c
CY
57702011-08-20 Chong Yidong <cyd@stupidchicken.com>
5771
5772 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5773 (Bug#9274).
5774
826cee64
AM
57752011-08-20 Alan Mackenzie <acm@muc.de>
5776
58179cce 5777 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5778 such a construct. Mainly for when jit-lock etc. starts a chunk
5779 here.
5780
58179cce 5781 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5782 variable.
58179cce 5783 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5784 c-make-font-lock-search-function.
5785 (c-make-font-lock-search-function): Use the above function.
5786 (c-make-font-lock-context-search-function): New function.
5787 (c-cpp-matchers): Enhance the preprocessor expression case with
5788 the above function
5789 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5790 which takes an expression.
5791
5792 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5793
13009bd8
MR
57942011-08-20 Martin Rudalics <rudalics@gmx.at>
5795
5796 * window.el (display-buffer-reuse-window)
5797 (display-buffer-pop-up-window): Don't reuse or split a side
5798 window.
5799
9234ff7f
GM
58002011-08-19 Glenn Morris <rgm@gnu.org>
5801
5802 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5803 Downcase "Mode:". (Bug#9331)
9234ff7f 5804
f635daa1
CY
58052011-08-18 Chong Yidong <cyd@stupidchicken.com>
5806
5807 * international/characters.el: Add L and R categories.
5808
5809 * subr.el (bidi-string-mark-left-to-right): Rename from
5810 string-mark-left-to-right. Use category search.
5811
5812 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5813
bc987f8b
JL
58142011-08-18 Juri Linkov <juri@jurta.org>
5815
5816 * faces.el (error, warning, success): New faces with definitions
5817 copied from old default values of `font-lock-warning-face',
5818 `compilation-warning', `compilation-info' (bug#6117).
5819
5820 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5821
5822 * progmodes/compile.el (compilation-error): Inherit from `error'.
5823 (compilation-warning): Inherit from `warning'.
5824 (compilation-info): Inherit from `success'.
5825
5826 * dired.el (dired-marked): Inherit from `warning'.
5827 (dired-flagged): Inherit from `error'.
5828
57173b96
LMI
58292011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5830
3e79eb87
LMI
5831 * mail/smtpmail.el (auth-source): Require to avoid problems with
5832 binding variables (bug#9298). Also clean up some unused
5833 autoloads.
5834
b3fd59bd
SM
5835 * net/network-stream.el (network-stream-open-starttls):
5836 Support using starttls.el without using gnutls-cli.
57173b96 5837
02b404de
JL
58382011-08-17 Juri Linkov <juri@jurta.org>
5839
5840 * progmodes/grep.el (rgrep): Handle the case when
5841 `grep-find-command' is a cons cell (bug#9278).
5842
8c9177f2
MR
58432011-08-17 Martin Rudalics <rudalics@gmx.at>
5844
5845 * window.el (display-buffer-pop-up-frame): Run frame creation
5846 function with BUFFER current (as special-display-popup-frame
5847 does). Reported by Drew Adams.
5848
3644a0ab
DU
58492011-08-17 Daiki Ueno <ueno@unixuser.org>
5850
5851 * epa-mail.el: Simplify GnuPG group expansion using
5852 epg-expand-group.
5853 (epa-mail-group-alist, epa-mail-group-modtime)
5854 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5855 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5856 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5857 Remove.
5858
5e617bc2 58592011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5860
5861 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5862
9c4aeabf
AM
58632011-08-16 Alan Mackenzie <acm@muc.de>
5864
5865 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5866 Correct, to avoid the inside of macros.
5867
3a99bf64
RS
58682011-08-16 Richard Stallman <rms@gnu.org>
5869
04963aa8
RS
5870 * epa-mail.el: Handle GnuPG group definitions.
5871 (epa-mail-group-alist, epa-mail-group-modtime)
5872 (epa-mail-gnupg-conf-file): New variables.
5873 (epa-mail-parse-groups, epa-mail-sync-groups)
5874 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5875 (epa-mail-expand-recipients): New functions.
5876 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5877
177549d0
RS
5878 * mail/rmail.el (rmail-epa-decrypt): New command.
5879
fe38beef
RS
5880 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5881 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5882 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5883 (epa-decrypt-armor-in-region): Make error message clearer.
5884
934eacb9
SM
58852011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5888 and "a2b" to "ab" for `prefix'.
5889
d024fb4e
CY
58902011-08-14 Chong Yidong <cyd@stupidchicken.com>
5891
5892 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5893 filter groups.
de148fee
CY
5894 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5895 Fourquet (Bug#8804).
d024fb4e 5896
62f1ca49
JB
58972011-08-12 Juanma Barranquero <lekktu@gmail.com>
5898
5899 * startup.el (argi): Declare as global variable (bug#9275).
5900
9ccaaa4b
CY
59012011-08-12 Chong Yidong <cyd@stupidchicken.com>
5902
5903 * subr.el (string-mark-left-to-right): Search the entire string
5904 for RTL script, not just the terminating character. Doc fix.
5905
a3dae87a
SM
59062011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5907
6cd18349
SM
5908 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5909 New function.
5910 (js--regexp-literal, js-syntax-propertize-function): Remove.
5911 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5912 (js-mode-map): Don't rebind electric keys.
5913 (js-insert-and-indent): Remove.
5914 (js-mode): Setup electric-layout and electric-indent instead.
5915
a3dae87a
SM
5916 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5917
9d5cb631
DU
59182011-08-12 Daiki Ueno <ueno@unixuser.org>
5919
5920 * epa.el (epa-progress-callback-function): Fix the logic of
5921 displaying progress.
5922 * epa-file.el (epa-file-insert-file-contents): Make progress
5923 display more user-friendly.
5924 (epa-file-write-region): Ditto.
5925
3e26a4a2
CY
59262011-08-10 Chong Yidong <cyd@stupidchicken.com>
5927
5928 * subr.el (string-mark-left-to-right): New function.
5929
5930 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5931 Use string-mark-left-to-right.
5932 (list-buffers-noselect): Caller changed.
5933
a3dae87a
SM
5934 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5935 Use string-mark-left-to-right.
3e26a4a2
CY
5936 (tabulated-list-print): Recenter after moving point.
5937
ac8cf6e6
JL
59382011-08-10 Juri Linkov <juri@jurta.org>
5939
5940 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5941 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5942 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5943
8d96c9a4
CY
59442011-08-09 Chong Yidong <cyd@stupidchicken.com>
5945
5946 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5947 (Bug#7554).
5948
7be1c708 59492011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5950
5951 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5952 character. (Bug#6594)
5953
37e11a63
CY
59542011-08-08 Chong Yidong <cyd@stupidchicken.com>
5955
839dde57
CY
5956 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5957 (image-dired--with-db-file): New macro.
5958 (image-dired-write-tags, image-dired-remove-tag)
5959 (image-dired-create-gallery-lists, image-dired-write-comments)
5960 (image-dired-get-comment, image-dired-mark-tagged-files)
5961 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5962 (image-dired-gallery-generate): Use insert-file-contents.
5963
37e11a63
CY
5964 * time.el (display-time-world-list, display-time-world-display):
5965 * time-stamp.el (time-stamp-string):
5966 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5967 set-time-zone-rule (Bug#7337).
5968
0b4946c4
DU
59692011-08-08 Daiki Ueno <ueno@unixuser.org>
5970
5971 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5972 (epg-error-to-string, epg-errors-to-string): New function.
5973 (epg-wait-for-completion): Reverse errors list.
5974 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5975 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5976 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5977 (epg-sign-keys, epg-generate-key-from-file)
5978 (epg-generate-key-from-string): Format errors by using
5979 epg-errors-to-string (bug#9255).
5980 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5981
75bfc667
JL
59822011-08-07 Juri Linkov <juri@jurta.org>
5983
5984 * faces.el (list-faces-display): Remove extra angle bracket
5985 from `help-mode-map'.
5986
5987 * info.el (Info-history-toc-nodes): Doc fix.
5988
5989 * longlines.el (longlines-mode): Doc fix.
5990
673e08bb
SM
59912011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5992
4640dd88
SM
5993 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5994 of statements and in a few more cases (bug#9183).
5995
673e08bb
SM
5996 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5997 New functions.
5998 (cl-transform-lambda): Use them (bug#9239).
5999
89b3f019
MR
60002011-08-05 Martin Rudalics <rudalics@gmx.at>
6001
6002 * window.el (display-buffer-same-window)
6003 (display-buffer-same-frame, display-buffer-other-window)
6004 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6005 (pop-to-buffer-other-window)
6006 (pop-to-buffer-same-frame-other-window)
6007 (pop-to-buffer-other-frame): Make them defuns.
6008 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6009
640c8776
SM
60102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * subr.el (make-composed-keymap): Move from C. Change calling
6013 convention, and improve docstring to bring attention to a subtle point.
6014 * minibuffer.el (completing-read-default): Adjust accordingly.
6015
63648a95
MA
60162011-08-03 Michael Albinus <michael.albinus@gmx.de>
6017
6018 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6019 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6020
6021 * net/trampver.el: Update release number.
6022
b796c9b7
SM
60232011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6026 "in" (bug#9190).
6027
2239d7d5
LMI
60282011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029
e07dd7c3
LMI
6030 * mail/sendmail.el (sendmail-query-once): Restore the current
6031 buffer after querying (bug#9074).
6032
0e6a2bd7
LMI
6033 * dired.el (dired-flagged): Use different faces for marked and
6034 flagged files (bug#6117).
6035
ce887515
LMI
6036 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6037 (bug#4433).
6038
92f2affc
LMI
6039 * ido.el (ido-mode): Switch off the message if called
6040 non-interactively.
6041
57d5aff0
LMI
6042 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6043 before 587, since it appears that that's more likely to work for
6044 more people.
6045
98cd6c18 6046 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6047 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6048 exist.
6049
b96dec83
LMI
6050 * info.el: Remove the `Info-beginning-of-buffer' function
6051 (bug#8325).
6052
b796c9b7
SM
6053 * net/network-stream.el (network-stream-open-starttls):
6054 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6055
d90e2ea0
MR
60562011-08-01 Martin Rudalics <rudalics@gmx.at>
6057
6058 * window.el (display-buffer-in-window): Don't set dedicated status
6059 of window here (Bug#9215).
6060 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6061 (display-buffer-pop-up-side-window)
b796c9b7 6062 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6063
cca09170
SM
60642011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6067 before binding generated-autoload-file.
6068
027b979c
DD
60692011-08-01 Deniz Dogan <deniz@dogan.se>
6070
6071 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6072
3c7ee4f3
MA
60732011-07-30 Michael Albinus <michael.albinus@gmx.de>
6074
6075 Sync with Tramp 2.2.2.
6076
6077 * net/trampver.el: Update release number.
6078
2cc8e51a
JL
60792011-07-30 Juri Linkov <juri@jurta.org>
6080
6081 * dired-aux.el (dired-touch-initial): Remove function.
6082 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6083 current time, and `default' to the last modification time of the
6084 current marked file (bug#6887).
6085
a514d856
JM
60862011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6087
6088 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6089 numeric argument to read-number (bug#9163).
a514d856 6090
8a7eddd7
MA
60912011-07-27 Michael Albinus <michael.albinus@gmx.de>
6092
6093 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6094 connection process, it could be nil.
6095
1ddd96f5
LL
60962011-07-27 Leo Liu <sdl.web@gmail.com>
6097
6098 Simplify url handling in rcirc-mode.
6099
6100 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6101 (rcirc-browse-url-at-mouse): Remove.
6102 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6103
b248a85d
AM
61042011-07-26 Alan Mackenzie <acm@muc.de>
6105
6106 Fontify bitfield declarations properly.
6107
6108 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6109 (c-symbol-chars): Now exported as a lang variable.
6110 (c-not-primitive-type-keywords): New lang variable.
6111
6112 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6113 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6114 parsed as a bitfield declaration.
b248a85d 6115
b796c9b7
SM
6116 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6117 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6118 (c-punctuation-in): New function.
6119 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6120 declarations properly.
6121
68575ab0
UJ
61222011-07-26 Ulf Jasper <ulf.jasper@web.de>
6123
6124 * calendar/icalendar.el (icalendar--all-events): Take care of
6125 multiple vcalendars in a single file.
b796c9b7 6126 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6127
0f0a88b9
DD
61282011-07-25 Deniz Dogan <deniz@dogan.se>
6129
6130 * image.el (insert-image): Clarifying docstring.
6131
0b3f36df
MA
61322011-07-24 Michael Albinus <michael.albinus@gmx.de>
6133
6134 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6135 `tramp-send-command-and-check' if there is no error.
6136 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6137
a9901f61
AM
61382011-07-22 Alan Mackenzie <acm@muc.de>
6139
6140 Prevent cc-langs.elc being loaded at run time.
6141
6142 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6143 cc-langs.
6144
4d61f28d 6145 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6146 "(require 'cc-langs)". Quote a form so it will evaluate at
6147 (cc-mode's) compilation time.
6148
11d074b2
MA
61492011-07-22 Michael Albinus <michael.albinus@gmx.de>
6150
6151 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6152 loading. (Bug#9114)
6153
938b94c8
MR
61542011-07-21 Martin Rudalics <rudalics@gmx.at>
6155
6156 * window.el (display-buffer-pop-up-window)
6157 (display-buffer-pop-up-side-window)
6158 (display-buffer-in-side-window): Call display-buffer-set-height
6159 and display-buffer-set-width after setting the new window's
b796c9b7 6160 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6161
bfa4f190
SS
61622011-07-20 Sam Steingold <sds@gnu.org>
6163
6164 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6165 (etags-tags-included-tables): Call `convert-standard-filename' on
6166 the file names contained in TAGS so that windows Emacs can handle
6167 TAGS files created by cygwin ctags.
6168
8ca42262
LMI
61692011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6170
6171 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6172 which apparently didn't work.
6173
5db2afd2 61742011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6175
5db2afd2
RW
6176 * proced.el (proced-send-signal): For *Marked Processes* buffer
6177 put point at beginning of buffer.
6178
92e15d10
SB
61792011-07-19 Stephen Berman <stephen.berman@gmx.net>
6180
6181 * proced.el (proced-format): Make header lines align with the text
6182 (bug#1779).
6183
1bfd59e5
LMI
61842011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6185
6186 * view.el (view-buffer): Allow running in `special' modes if we're
6187 visiting a file (bug#8615).
6188
f5aae37c
MR
61892011-07-19 Martin Rudalics <rudalics@gmx.at>
6190
6191 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6192 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6193 New functions.
f5aae37c
MR
6194 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6195 more accurately.
6196
bf2c1571
AM
61972011-07-18 Alan Mackenzie <acm@muc.de>
6198
6199 Fontify declarators properly when, e.g., a jit-lock chunk begins
6200 inside a declaration.
6201
6202 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6203
b796c9b7
SM
6204 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6205 New function.
bf2c1571
AM
6206 (c-complex-decl-matchers): Insert reference to
6207 c-font-lock-enclosing-decls.
6208
6209 * progmodes/cc-engine.el (c-backward-single-comment):
6210 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6211 to nil around calls to (forward-comment -1).
6212
4e190b80
LMI
62132011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6214
12dc863d
LMI
6215 * image.el (put-image): Doc typo fix.
6216
a762e966
LMI
6217 * progmodes/etags.el (tags-search): Doc typo fix.
6218
4e190b80
LMI
6219 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6220 password if we get errors 550 to 554.
6221
f019fb21
LMI
62222011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6223
b796c9b7 6224 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6225
81746738
LMI
6226 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6227 indentation character (bug#6380).
6228
3ee3a1b5
LMI
6229 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6230
c82f64de
LMI
6231 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6232 to clarify what the problem is (bug#4291).
6233
f019fb21
LMI
6234 * simple.el (current-kill): Clarify what
6235 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6236 (auto-fill-mode): Document `auto-fill-function' in relation to
6237 `auto-fill-mode' (bug#2470).
f019fb21 6238
0794775d
LM
62392011-07-16 Lawrence Mitchell <wence@gmx.li>
6240
6241 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6242 method if slot is read-only (bug#9035).
6243
be39b8cc
MR
62442011-07-16 Martin Rudalics <rudalics@gmx.at>
6245
b796c9b7 6246 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6247 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6248 selected before, see discussion of (Bug#8615), (Bug#6954).
6249 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6250
6ccf7859
GM
62512011-07-15 Glenn Morris <rgm@gnu.org>
6252
6253 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6254 Respect help-form.
6ccf7859 6255
87e86684
LM
62562011-07-09 Lawrence Mitchell <wence@gmx.li>
6257
6258 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6259 (gnutls-negotiate): Use it.
6260
d6066239
LMI
62612011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6262
b796c9b7
SM
6263 * net/gnutls.el (gnutls-negotiate):
6264 Upcase `gnutls-algorithm-priority'.
d6066239 6265
bd23ebc0
GM
62662011-07-15 Glenn Morris <rgm@gnu.org>
6267
c65bca65
GM
6268 * jka-compr.el (jka-compr-verbose): Move from here...
6269 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6270 Add missing :version tag.
6271 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6272
478615cc
LMI
62732011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6274
7b41decb
LMI
6275 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6276 (gnutls-negotiate): Use it.
6277
dbc44fcd
LMI
6278 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6279
06789f97
LMI
6280 * info.el (Info-beginning-of-buffer): New command.
6281 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6282 announcing `b' as the key (bug#8325).
ab896c37 6283 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6284
c39da690
LMI
6285 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6286
3aa5f34b
LMI
6287 * international/mule-cmds.el
6288 (describe-specified-language-support): Make the error message
6289 clearer (bug#8905).
6290
4bf0979f
LMI
6291 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6292
478615cc
LMI
6293 * isearch.el (isearch-barrier): Add a doc string, since it's
6294 mentioned in a function doc string (bug#8678).
6295
75c68aa1
MR
62962011-07-15 Martin Rudalics <rudalics@gmx.at>
6297
6298 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6299 buffer argument (Bug#9083) and self-identifying label argument.
6300
a7c33da2
GM
63012011-07-15 Glenn Morris <rgm@gnu.org>
6302
6303 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6304
2f5c6024
LMI
63052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306
6307 * man.el (Man-fontify-manpage): Fix message when formatting the
6308 man page (bug#7929).
6309
0bb23927 63102011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6311
6312 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6313 argument LRM; if non-nil, append an invisible LRM character to the
6314 buffer name.
6315 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6316 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6317 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6318 paragraph direction.
cce4b0a7 6319
621ef9ab
LMI
63202011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6321
d1583c48
LMI
6322 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6323 the man page name (bug#7929).
6324
6a57fb5f
LMI
6325 * image.el (put-image): Mention the `put-image' overlay property
6326 (bug#7834).
6327
d7956b14
LMI
6328 * scroll-bar.el (set-scroll-bar-mode): Mention that
6329 `scroll-bar-mode' lists the values (bug#7772).
6330
5b2d4a66
LMI
6331 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6332 command (bug#7729).
6333
7509a874
LMI
6334 * rect.el (apply-on-rectangle): Return the point after the last
6335 operation.
6336 (string-rectangle): Go to the point after the last operation
6337 (bug#7522).
6338
4fe74b19
LMI
6339 * printing.el (pr-toggle-region): Clarify the documentation
6340 slightly (bug#7493).
6341
b796c9b7
SM
6342 * time.el (display-time-update):
6343 Allow `display-time-mail-function' to return nil (bug#7158).
6344 Fix suggested by Detlev Zundel.
ab283561 6345
fc233c9d
LMI
6346 * vc/diff.el (diff): Clarify the order the file names are read
6347 (bug#7111).
6348
43f5740b
LMI
6349 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6350 the doc string (bug#7015).
6351
f2182a76
LMI
6352 * font-lock.el (font-lock-maximum-decoration): Mention what
6353 numeric levels mean (bug#6935).
6354
621ef9ab
LMI
6355 * startup.el (initial-buffer-choice): Don't mention the `none'
6356 selection, which is against policy.
6357
adc47434
MR
63582011-07-14 Martin Rudalics <rudalics@gmx.at>
6359
b796c9b7
SM
6360 * window.el (display-buffer-normalize-special):
6361 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6362
7e5bfb8f
EZ
63632011-07-14 Eli Zaretskii <eliz@gnu.org>
6364
6365 * subr.el (version<, version<=, version=): Mention "-CVS" and
6366 "-12345" alpha version numbers.
6367
27fa387a
CY
63682011-07-14 Chong Yidong <cyd@stupidchicken.com>
6369
6370 * bindings.el: Add advertised binding for set-mark-command
6371 (Bug#5772).
6372
8bdfa064
CY
63732011-07-14 Chong Yidong <cyd@stupidchicken.com>
6374
6375 * bindings.el (mode-line-other-buffer):
6376 * bookmark.el (bookmark-bmenu-2-window):
6377 * bs.el (bs-cycle-next, bs-cycle-previous):
6378 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6379 switch-to-buffer.
6380
6381 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6382 Delete.
8bdfa064 6383
5eba16a3
JB
63842011-07-14 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * follow.el (follow-debug-message, follow-redisplay):
6387 * jka-cmpr-hook.el (with-auto-compression-mode):
6388 Fix typos in docstrings.
6389
15853710
LMI
63902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391
a28e4607
LMI
6392 * subr.el (with-silent-modifications): Clarify somewhat what the
6393 macro inhibits (bug#6525).
6394
15853710
LMI
6395 * simple.el (eval-expression): Note what it does if called
6396 interactively (bug#6495).
6397
bee0fcef
CY
63982011-07-13 Chong Yidong <cyd@stupidchicken.com>
6399
b796c9b7
SM
6400 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6401 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6402
6403 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6404 Remove switch-to-buffer.
6405
58274504
LMI
64062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6407
bd2fcc8d
LMI
6408 * files.el (make-directory): Clarify that an error will be raised
6409 if there's an error (bug#6397).
6410
0f04b32c
LMI
6411 * startup.el (initial-buffer-choice): Add `none' as a choice
6412 (bug#6234).
6413
465c5fc8
LMI
6414 * subr.el (add-hook): Clarify section about buffer-local hooks
6415 (bug#6218).
6416
58274504
LMI
6417 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6418
bead9a43
JB
64192011-07-13 Juanma Barranquero <lekktu@gmail.com>
6420
6421 * tabify.el (untabify): Preserve the current column so that point
6422 doesn't move (bug#6032).
6423
3af98a7b
LMI
64242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6425
b796c9b7
SM
6426 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6427 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6428
6240145a
GM
64292011-07-13 Glenn Morris <rgm@gnu.org>
6430
6431 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6432 (dired-insert-directory): Give a message the first time
6433 if ls is found not to support --dired.
6434
1d8c2ccc
LMI
64352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6436
6437 * simple.el (toggle-truncate-lines): Clarify what is toggled
6438 (bug#5580). Text by Drew Adams.
6439
5fc4038e
CY
64402011-07-13 Chong Yidong <cyd@stupidchicken.com>
6441
6442 * simple.el (blink-matching-open): Make the error message from the
6443 last change less verbose.
6444
bf6012e5
DN
64452011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6446
6447 * font-lock.el (font-lock-comment-face): Use the high contrast
6448 "yellow" color for font-lock-comment-face on low color terminals
6449 using a dark background color (bug#4221).
6450
343c3b5a
LMI
64512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6452
7e9505c5
LMI
6453 * dired.el (dired-insert-set-properties): Make the doc string
6454 reflect what it does now (bug#5325).
6455
c26fdcf5
LMI
6456 * simple.el (blink-matching-open): Say that we were unable to find
6457 the match within the limit, if we're limited (bug#5122).
6458
bb388cc5
LMI
6459 * international/mule-cmds.el (prefer-coding-system): Add an
6460 example (bug#4869).
6461
343c3b5a
LMI
6462 * progmodes/etags.el (tags-search): Document `file-list-form'
6463 (bug#4731).
6464
2a517d45
LM
64652011-07-13 Lawrence Mitchell <wence@gmx.li>
6466
6467 * net/browse-url.el (browse-url-default-browser)
6468 (browse-url-browser-function): Make the default browser choice a
6469 bit more logical (bug#4300). Also clean up the doc string.
6470
b6c78ef2
JB
64712011-07-13 Juanma Barranquero <lekktu@gmail.com>
6472
6473 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6474 binary endings (bug#4440).
6475
1c4dd947
LMI
64762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6477
a2014063
LMI
6478 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6479 which can be pretty annoying (bug#8971).
6480
9c9c2d88
LMI
6481 * jka-compr.el (jka-compr-verbose): New variable, and use
6482 throughout (bug#8971).
6483
1c4dd947
LMI
6484 * info.el (Info-find-file): Fall back on the installation
6485 directory if we can't find the info node anywhere else.
6486
a1c9f41b
SO
64872011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6488
6489 * vc/vc.el (vc-revert-file):
6490 Don't set file time-stamp in the past. (Bug#5181)
6491
536f3d36
LMI
64922011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6493
7152b011
LMI
6494 * files.el (after-find-file): Give a better error message when
6495 trying to find a symlink that points to a file that doesn't exist
6496 (bug#4398).
6497
536f3d36
LMI
6498 * progmodes/cc-vars.el: Remove (probably) misleading comment
6499 (bug#4396).
6500
460c0fba
JB
65012011-07-12 Johan Bockgård <bojohan@gnu.org>
6502
6503 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6504
7a6bda45
CY
65052011-07-12 Chong Yidong <cyd@stupidchicken.com>
6506
6507 * mouse-sel.el: Hack restoring functionality, while keeping
6508 compatibility with 2010-07-03 changes to mouse selection.
6509 (mouse-sel-primary-overlay): New var.
6510 (mouse-sel-selection-alist): Use it.
6511 (mouse-sel-mode): Doc fix; remove points that are default features
6512 of mouse.el.
6513
c79598ef
JB
65142011-07-12 Johan Bockgård <bojohan@gnu.org>
6515
6516 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6517 Fix previous fix (bug#2490).
6518
ff8be6ef
RW
65192011-07-12 Roland Winkler <winkler@gnu.org>
6520
b796c9b7
SM
6521 * textmodes/bibtex.el (bibtex-initialize):
6522 Use pop-to-buffer-same-window.
ff8be6ef
RW
6523 (bibtex-search-entries): Fix interactive call.
6524
296ba3ee
LMI
65252011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6526
f5242a02 6527 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6528 Fontise bytecomp Error lines more correctly (bug#2490).
6529 Fix suggested by Johan Bockgård.
f5242a02 6530
296ba3ee
LMI
6531 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6532
6533 * dired-x.el (dired-guess-default): Use `delete-dups'.
6534
f69fd0d2
CY
65352011-07-12 Chong Yidong <cyd@stupidchicken.com>
6536
6537 * dired.el (dired-mark-prompt):
6538 * dired-aux.el (dired-read-shell-command): Doc fix.
6539
eab5dc07
LMI
65402011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6541
b796c9b7
SM
6542 * mail/sendmail.el (sendmail-query-once):
6543 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6544 emacs -Q.
6545
6546 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6547
eab5dc07
LMI
6548 * cus-edit.el (custom-file): Take an optional no-error variable.
6549 (customize-save-variable): Set the variable, and give a warning if
6550 running under "emacs -q".
6551
a1e65d42
JB
65522011-07-11 Juanma Barranquero <lekktu@gmail.com>
6553
6554 * loadhist.el (unload-feature-special-hooks):
6555 Add `auto-coding-functions', `fill-nobreak-predicate' and
6556 `find-directory-functions' (bug#5327).
6557
1d52da10
LMI
65582011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6559
be958f1d
LMI
6560 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6561
5bedb26c
LMI
6562 * cus-edit.el (custom-guess-name-alist): -alist variables should
6563 use the `alist' type (bug#3120). Suggested by Drew Adams.
6564
1d52da10
LMI
6565 * printing.el: Add documentation to all the `pr-toggle-' commands.
6566
cd394be1 65672011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6568
6569 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6570 backends where it makes sense (bug#2623).
6571
dcc88d8a
LMI
65722011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6573
c3de9feb
LMI
6574 * dired-x.el (dired-guess-default): Remove duplicate shell command
6575 entries (bug#2028).
8a93078b 6576 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6577 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6578
dcc88d8a
LMI
6579 * subr.el (remove-duplicates): New conveniency function.
6580
505e3645
LMI
65812011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6582
6583 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6584 (bug#1526).
6585
65862011-07-10 Martin Rudalics <rudalics@gmx.at>
6587
6588 * window.el (display-buffer-normalize-default): Don't invert
6589 meaning of even-window-heights. Reported by Eli Zaretskii
6590 <eliz@gnu.org>.
6591
455e4fa1
BR
65922011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6593
6594 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6595
8e0bc3e9
CY
65962011-07-10 Chong Yidong <cyd@stupidchicken.com>
6597
6598 * window.el (display-buffer): Fix arguments to
6599 display-buffer-reuse-window in last change.
6600
fa7c3228
CY
6601 * faces.el (link): Use a less saturated blue on light backgrounds.
6602
6603 * startup.el (fancy-startup-text, fancy-about-text)
6604 (fancy-startup-tail): Use font-lock faces, for background safety.
6605
c0a7f300
BN
66062011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6607
b796c9b7
SM
6608 * emulation/viper-cmd.el (viper-change-state-to-vi):
6609 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6610
4dc2a129
MR
66112011-07-09 Martin Rudalics <rudalics@gmx.at>
6612
6613 * window.el (display-buffer-default-specifiers): Remove.
6614 (display-buffer-macro-specifiers): Remove default specifiers.
6615 (display-buffer-alist): Default to nil.
b796c9b7 6616 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6617 (display-buffer-pop-up-window): Allow splitting internal
6618 windows. Check whether a live window was created.
6619 (display-buffer-other-window-means-other-frame)
6620 (display-buffer-normalize-arguments): Rename to
6621 display-buffer-normalize-argument and rewrite. Set the
6622 other-window specifier.
6623 (display-buffer-normalize-special): New function.
6624 (display-buffer-normalize-options): Rename to
6625 display-buffer-normalize-default and rewrite.
6626 (display-buffer-normalize-options-inhibit): Remove.
6627 (display-buffer-normalize-specifiers): Rewrite.
6628 (display-buffer): Process other-window specifier and call
6629 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6630 more faithfully.
b796c9b7 6631 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6632 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6633 (display-buffer-in-window, display-buffer-alist-set):
6634 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6635 <tassilo@member.fsf.org>.
6636
2d43b8c9
LL
66372011-07-09 Leo Liu <sdl.web@gmail.com>
6638
6639 * register.el (insert-register): Restore accidental change on
6640 2011-06-26. (Bug#9028)
6641
7f9b7c53
GM
66422011-07-09 Glenn Morris <rgm@gnu.org>
6643
6644 * subr.el (remq): Handle the empty list. (Bug#9024)
6645
f042cfd8
AS
66462011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6647
6648 * mail/sendmail.el (send-mail-function): No longer delay custom
6649 initialization.
6650 * custom.el (custom-initialize-delay): Doc fix.
6651
856b2f11
SM
66522011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6655
afae1d68
MA
66562011-07-08 Michael Albinus <michael.albinus@gmx.de>
6657
6658 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6659 human-friendly prompt.
6660
0757af94
SM
66612011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6664 provided by a particular plugin.
6665
d760b731
LMI
66662011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6667
6668 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6669 save customizations (with "emacs -Q"), just set the variable
6670 instead of erroring out.
6671
6672 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6673
cd79ce90
JL
66742011-07-08 Juri Linkov <juri@jurta.org>
6675
6676 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6677 (archive-zip-update-case): Use 7z if found by `executable-find'.
6678 The order of searching the available programs is the same as in
6679 `archive-zip-extract' (bug#8968).
6680
14cc04aa
CY
66812011-07-07 Chong Yidong <cyd@stupidchicken.com>
6682
6683 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6684 (menu-bar-options-menu): Tweak descriptions.
6685
0a1848ec
LMI
66862011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6687
6688 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6689 menu items into verb phrases (bug#1421). Also refill to fit under
6690 80 columns.
6691
f5bd0689
CY
66922011-07-07 Chong Yidong <cyd@stupidchicken.com>
6693
538e85c6
CY
6694 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6695 (Info-read-node-name): Doc fix (Bug#1084).
6696
f5bd0689
CY
6697 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6698 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6699 (end-of-sexp, beginning-of-sexp)
6700 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6701 (forward-symbol, forward-same-syntax, word-at-point)
6702 (sentence-at-point): Doc fix (Bug#1144).
6703
56ec5115
LMI
67042011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6705
f3f8e37f
LMI
6706 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6707 should cover it (bug#1281).
6708
0757af94 6709 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6710
e9fce1ac 6711 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6712 negotiation fails, then possibly try again with a non-encrypted
6713 connection (bug#9017).
6714
56ec5115
LMI
6715 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6716 be used.
6717
c2f9aec8
RS
67182011-07-07 Richard Stallman <rms@gnu.org>
6719
6720 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6721 property, and handle its changed format.
6722 Look for the correct line number.
6723 Use file's line contents (but not past first =) to find
6724 correct line in message.
6725
ef7b981d 67262011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6727
6728 * international/characters.el (build-unicode-category-table):
6729 Delete it.
0757af94 6730 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6731
0757af94 6732 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6733 to src/chartab.c.
6734 (get-char-code-property): Call unicode-property-table-internal to
6735 load a file. Call get-unicode-property-internal where necessary.
6736 (put-char-code-property): Call unicode-property-table-internal to
6737 load a file. Call put-unicode-property-internal where necessary.
6738 put-unicode-property-internal where necessary.
0757af94
SM
6739 (char-code-property-description):
6740 Call unicode-property-table-internal to load a file.
c805dec0
KH
6741
6742 * international/charprop.el:
6743 * international/uni-bidi.el:
6744 * international/uni-category.el:
6745 * international/uni-combining.el:
6746 * international/uni-comment.el:
6747 * international/uni-decimal.el:
6748 * international/uni-decomposition.el:
6749 * international/uni-digit.el:
6750 * international/uni-lowercase.el:
6751 * international/uni-mirrored.el:
6752 * international/uni-name.el:
6753 * international/uni-numeric.el:
6754 * international/uni-old-name.el:
6755 * international/uni-titlecase.el:
6756 * international/uni-uppercase.el: Regenerate.
6757
6758 * loadup.el: Load international/charprop.el before
6759 international/characters.
6760
e14b388a
CY
67612011-07-07 Chong Yidong <cyd@stupidchicken.com>
6762
6763 * window.el (next-buffer, previous-buffer): Signal an error if
6764 called from a minibuffer window.
6765
6766 * bindings.el: Revert 2011-07-04 change.
6767
354cf0ba
RS
67682011-07-06 Richard Stallman <rms@gnu.org>
6769
6770 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6771 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6772 Treat markers like ints.
6773 (rmail-mime-entity): Doc fix.
6774
a48868a7
LMI
67752011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6776
4906cd3d
LMI
6777 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6778 defcustom again for backwards compatibility.
6779
e0457abe
LMI
6780 * simple.el (shell-command-on-region): Fill.
6781
d67f7e1f
LMI
6782 * dired-aux.el (dired-kill-line): Add a doc string.
6783
fe204702
LMI
6784 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6785 to "\\sw\\|\\s_" (bug#358).
6786
a48868a7
LMI
6787 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6788 (dired-unmark-backward): Ditto.
6789 (dired-flag-backup-files): Ditto.
6790
6791 * dired-x.el (dired-mark-sexp): Ditto.
6792
aa8a705c
RS
67932011-07-06 Richard Stallman <rms@gnu.org>
6794
6795 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6796 (rmail-mime-entity): New arg TRUNCATED.
6797 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6798 New functions.
6799 (rmail-mime-save): Warn if entity is truncated.
6800 (rmail-mime-toggle-hidden): Likewise, for showing.
6801 (rmail-mime-process-multipart): Record when an entity is truncated.
6802
a9a936b9
RS
6803 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6804 if ENTITY is a string.
6805
1f2b92cb
LMI
68062011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807
f4f73198 6808 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6809 of faces when `M-C-x'-ing their definitions (bug#8378).
6810 Also clean up the code slightly.
f4f73198 6811
12b16734 6812 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6813 because that makes the colors go away.
12b16734 6814
f0691d22
LMI
6815 * mail/sendmail.el (send-mail-function): Change the default to
6816 `sendmail-query-once'.
9e87df06 6817 (sendmail-query-once): Add an autoload cookie.
f0691d22 6818
1f2b92cb
LMI
6819 * net/network-stream.el (network-stream-open-starttls): Try using
6820 a plain connection even if the server offered STARTTLS, and we
6821 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6822 capability. This should make smtpmail.el work in slightly more
6823 configurations.
6824
1cdd2a1b
MA
68252011-07-06 Michael Albinus <michael.albinus@gmx.de>
6826
6827 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6828 New defun.
6829 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6830
fbcc67e2
MM
68312011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6832
6833 * progmodes/sql.el: Version 3.0
0757af94 6834 (sql-product-alist): Add product :completion-object,
fbcc67e2 6835 :completion-column, and :statement attributes.
0757af94 6836 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6837 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6838 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6839 ansi keywords.
6840 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6841 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6842 (sql-oracle-show-reserved-words): New function for development.
6843 (sql-product-font-lock): Simplify for source code buffers.
6844 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6845 New functions.
6846 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6847 (sql-mode-map): Add statement movement functions.
6848 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6849 New variable.
fbcc67e2
MM
6850 (sql-statement-regexp, sql-beginning-of-statement)
6851 (sql-end-of-statement, sql-signum): New functions.
0757af94 6852 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6853 (sql-show-sqli-buffer): Bug fix.
6854 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6855 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6856 with sql-interactive-mode.
6857 (sql-save-connection): Save buffer local settings.
0757af94 6858 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6859 (sql-product-interactive): Bug fix.
6860 (sql-preoutput-hold): New variable.
6861 (sql-interactive-remove-continuation-prompt): Bug fixes.
6862 (sql-debug-redirect): New variable.
6863 (sql-str-literal): New function.
6864 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6865 Redesign.
fbcc67e2
MM
6866 (sql-oracle-save-settings, sql-oracle-restore-settings)
6867 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6868 (sql-completion-object, sql-completion-column)
6869 (sql-completion-sqlbuf): New variables.
6870 (sql-build-completions-1, sql-build-completions)
6871 (sql-try-completion): New functions.
6872 (sql-read-table-name): Use them.
6873 (sql-contains-names): New buffer local variable.
6874 (sql-list-all, sql-list-table): Use it.
6875 (sql-oracle-completion-types): New variable.
6876 (sql-oracle-completion-object, sql-sqlite-completion-object)
6877 (sql-postgres-completion-object): New functions.
6878
d4eaeab1
GM
68792011-07-06 Glenn Morris <rgm@gnu.org>
6880
6881 * window.el (pop-to-buffer): Doc fix.
6882
322b7dab 68832011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6884
6885 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6886
322b7dab 68872011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6888
322b7dab 6889 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6890
322b7dab 6891 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6892
605dd5bf
CY
68932011-07-05 Chong Yidong <cyd@stupidchicken.com>
6894
6895 * button.el (button): Inherit from link face. Suggested by Dan
6896 Nicolaescu.
6897
7dbfa719
SM
68982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6899
3db614b0
SM
6900 * progmodes/gdb-mi.el: Fit in 80 columns.
6901 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6902 switch-to-buffer.
6903
7dbfa719
SM
6904 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6905 if imenu is simply not configured (bug#8941).
6906
919d884a
KM
69072011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6908
6909 * allout.el (allout-post-undo-hook): New allout outline-change
6910 event hook to signal undo activity.
6911 (allout-post-command-business): Run allout-post-undo-hook if an
6912 undo just occurred.
7dbfa719
SM
6913 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6914 * allout-widgets.el (allout-widgets-after-undo-function):
6915 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6916 in the vicinity of an undo.
6917 (allout-widgets-mode): Include allout-widgets-after-undo-function
6918 on the new allout-post-undo-hook.
6919
450a0f09
SM
69202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6923 Let define-derived-mode define it.
6924 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6925 cycles of abbrev-table inheritance (bug#8998).
6926
2de69e00
RW
69272011-07-05 Roland Winkler <winkler@gnu.org>
6928
6929 * textmodes/bibtex.el: Add support for biblatex.
6930 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6931 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6932 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6933 (bibtex-entry-alist, bibtex-field-alist): New variables.
6934 (bibtex-entry-field-alist): Obsolete alias for
6935 bibtex-BibTeX-entry-alist.
6936 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6937 (bibtex-set-dialect): New command.
6938 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6939 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6940 Bind via bibtex-set-dialect.
2de69e00
RW
6941 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6942 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6943 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6944 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6945 Define via bibtex-set-dialect.
450a0f09
SM
6946 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6947 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6948 (bibtex-vec-push, bibtex-vec-incr): New functions.
6949 (bibtex-format-entry, bibtex-field-list)
6950 (bibtex-print-help-message, bibtex-validate)
6951 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6952
2dcdbdd9
SM
69532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * progmodes/compile.el (compilation-goto-locus):
6956 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6957 * bs.el (bs-cycle-next, bs-cycle-previous):
6958 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6959 * bindings.el (mode-line-other-buffer):
6960 * autoinsert.el (auto-insert):
6961 * arc-mode.el (archive-extract):
6962 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6963
b27640fe
JB
69642011-07-05 Juanma Barranquero <lekktu@gmail.com>
6965
6966 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6967 Fix check of `emacs-lock-unlockable-modes'.
6968 Coerce true values of `emacs-lock--try-unlocking' to t.
6969
53bbe3ad
JB
69702011-07-05 Juanma Barranquero <lekktu@gmail.com>
6971
6972 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6973 * emacs-lock.el: New file.
6974
1d3cdbc7
JD
69752011-07-05 Julien Danjou <julien@danjou.info>
6976
6977 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6978 than `boundp' to check if face is set.
6979
9173deec
JB
69802011-07-05 Juanma Barranquero <lekktu@gmail.com>
6981
6982 * register.el (registerv-make):
6983 * window.el (window-min-height): Fix typos in docstrings.
6984
869795d6
JD
69852011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6986
9173deec 6987 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6988 Update doc string.
6989
b768cdcd
JB
69902011-07-04 Juanma Barranquero <lekktu@gmail.com>
6991
6992 * server.el (server-execute): Catch quit and call
6993 `server-return-error' to pass the error back to emacsclient and
6994 close the connection (bug#8942).
6995
13aa217b
KM
69962011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6997
6998 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6999 insecure exception for current topic. Also note that auto-saves
7000 are handled differently.
7001
7002 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7003 State variables for tracking auto-save inhibition situation.
7004
7005 (allout-write-contents-hook-handler): Rename from
7006 'allout-write-file-hook-handler', and describe how it depends on
7007 write-contents-functions sensitivity to non-nil value to prevent
7008 file write.
7009
7010 (allout-auto-save-hook-handler): Remove. auto-save does not check
7011 this in individual buffers, only in the starting buffer, so this
7012 is not the right way for us to inhibit auto-save in a buffer
7013 according to its condition.
7014
7015 (allout-mode): Use new allout-write-contents-hook-handler, and
7016 only with write-contents-functions. Remove auto-save provisions -
7017 they're implemented elsewhere.
7018
7019 (allout-before-change-handler): If undo is in progress, note that
7020 for attention of allout-post-command-business.
7021
7022 (allout-post-command-business): If the command we're following was
7023 an undo, check for change in the status of encrypted items and
7024 adjust auto-save inhibitions accordingly.
7025
7026 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7027 according to whether there are or aren't any plain-text topics
7028 pending encryption.
7029
2dcdbdd9 7030 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7031 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7032 if there are plain-text topics pending encryption.
13aa217b
KM
7033
7034 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7035 buffer-saved-size and some allout state to not inhibit auto-saves
7036 if there are no longer any plain-text topics pending encryption.
7037
0757af94
SM
7038 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7039 No longer provide for exemption of the current topic.
13aa217b 7040
ac89b32c
JL
70412011-07-04 Juri Linkov <juri@jurta.org>
7042
7043 Add 7z operations to delete and save changed members (bug#8968).
7044 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7045 New defcustoms.
7046 (archive-7z-write-file-member): New function.
7047 (archive-7z-summarize): Fix the number of dashes in the
7048 listing output.
7049
8fa39615
SM
70502011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7051
7052 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7053 (bug#8958).
7054
2f11b3f1
CY
70552011-07-04 Chong Yidong <cyd@stupidchicken.com>
7056
d66fef2b
CY
7057 * bindings.el: Ignore next-buffer and previous-buffer in
7058 minibuffer-local-map.
7059
2f11b3f1
CY
7060 * font-lock.el (font-lock-builtin-face): Change light background
7061 color to dark slate blue (Bug#6693).
7062
f932a347
WD
70632011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7064
7065 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7066
c8af70e1
SM
70672011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7070 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7071 Add switch-to-buffer.
7072
f158badc
LMI
70732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7074
7075 * isearch.el (isearch-search-fun-function): Clarify further the
7076 meaning of the function returned.
7077
6d95bd46
MA
70782011-07-04 Michael Albinus <michael.albinus@gmx.de>
7079
7080 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7081
7082 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7083 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7084 Use it.
7085 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7086 `tramp-default-remote-path' does not exist.
7087 (tramp-send-command-and-read): New optional argument NOERROR.
7088 (tramp-open-connection-setup-interactive-shell)
7089 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7090 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7091 (tramp-process-sentinel): Flush also process' connection property.
7092 (tramp-sh-handle-start-file-process): Do not set process
7093 sentinel. It is done now ...
7094 (tramp-maybe-open-connection): ... here. (Bug#8929)
7095
909e6b67
MK
70962011-07-04 MON KEY <monkey@sandpframing.com>
7097
7098 * play/animate.el (animate-string): Doc fixes and allow changing
7099 the buffer name (bug#5417).
7100
71012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7102
c8af70e1 7103 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7104
f34755dc
PE
71052011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7106
396cec72
PE
7107 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7108 This is simpler and helps future-proof the code.
7109 (timer-until): Use time-subtract and float-time.
08235028 7110 (timer--time-less-p): Use time-less-p.
f34755dc 7111
56e6cc31
JB
71122011-07-04 Juanma Barranquero <lekktu@gmail.com>
7113
3abb79e5
JB
7114 * type-break.el (timep): Use the value of `float-time' to avoid a
7115 byte-compiler warning.
7116
56e6cc31
JB
7117 * server.el (server-eval-and-print): Return any result, even nil.
7118
7b9430b4
PE
71192011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7120
7121 * type-break.el: Accept time formats that the builtins accept.
7122 (timep, type-break-time-difference): Accept any format that
7123 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7124 This is simpler and helps future-proof the code.
7125 (type-break-time-difference): Round rather than ignoring
7126 subseconds components.
7127
3034e9e7
LMI
71282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7129
7130 * info.el (Info-apropos-matches): Make non-interactive, since it
7131 doesn't seem to do anything useful as a command (bug#8829).
7132
1485f4c0
CY
71332011-07-03 Chong Yidong <cyd@stupidchicken.com>
7134
7135 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7136 Move from faces.el.
1485f4c0
CY
7137 (frame-default-terminal-background): New function.
7138
7139 * custom.el (custom-push-theme): Don't record faces in `changed'
7140 theme; this doesn't work correctly for per-frame face settings.
7141 (disable-theme): Use face-set-after-frame-default to reset faces.
7142 (custom--frame-color-default): New function.
7143
9fa3dd45
LMI
71442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7145
c8af70e1 7146 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7147 (bug#8769).
7148
6cbbc20c
KR
71492011-03-29 Kevin Ryde <user42@zip.com.au>
7150
7151 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7152 `perl-Test2' extend to match possible "fail #N" rep count
7153 (bug#8377).
7154
c7f98048
LMI
71552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7156
65676592
LMI
7157 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7158 `smtpmail-via-smtp' now returns the error instead of nil.
7159
c7f98048
LMI
7160 * isearch.el (isearch-search-fun-function): Clarify the doc string
7161 (bug#8101).
7162
56e6cc31 71632011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7164
7165 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7166 unnecessary spaces (bug#8987).
7167
2b216704
LMI
71682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7169
7170 * net/network-stream.el (open-network-stream): Use the
7171 :end-of-capability command thoughout.
7172
71732011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7174
7175 * net/network-stream.el (open-network-stream): Add the
7176 :end-of-capability command parameter, used by pop3.el.
7177
36adf6ce
LMI
71782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179
1ca0da0e
LMI
7180 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7181
fc00f69c
LMI
7182 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7183 for list)" (bug#6475).
7184
28fd8759 7185 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7186 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7187 an error (bug#6297).
7188
0dd8b6da
LMI
7189 * man.el (Man-reference-regexp): Allow matching possible
7190 word-wrapped references (bug#6289).
7191
ce1438d6
LMI
7192 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7193 for consistency with the other vc buffers (bug#6197).
7194 (vc-checkin): Ditto.
7195
7196 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7197
36adf6ce
LMI
7198 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7199
e83cc1f7
LMI
72002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201
8a20ca4c
LMI
7202 * custom.el (defcustom): Clarify that :set is only used in the
7203 Customize user interface (bug#6089).
7204
83319045
LMI
7205 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7206 associated with a file, refuse to run instead of erroring out
7207 (bug#6084).
7208
a8392169
LMI
7209 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7210 the doc string, since it appears that using `fill-column' always
7211 controls the width (bug#7845).
7212
e83cc1f7
LMI
7213 * simple.el (shell-command-on-region): Say where the error output
7214 went if `shell-command-default-error-buffer' is set (bug#6857).
7215
e47ca23b
KM
72162011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7217
7218 * allout.el (allout-yank-processing): Adjust cursor position for
7219 backwards-deleted space.
7220
7221 (allout-rebullet-heading): Register changes with
7222 allout-exposure-changed-hook, so the modified topic is properly
7223 decorated.
7224
5cf56143
LMI
72252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7226
08549772
LMI
7227 * minibuffer.el (completion-in-region): Document PREDICATE
7228 (bug#7136).
7229
48e96771
LMI
7230 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7231 of keyword/argument pairs (bug#6904).
7232
c8af70e1
SM
7233 * replace.el (multi-occur):
7234 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7235
e17d05e2
LMI
72362011-07-02 Drew Adams <drew.adams@oracle.com>
7237
7238 * dired.el (dired-mark-if): Make the message about whether it's
7239 marking or unmarking clearer (bug#8523).
7240
063b0e45
LMI
72412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7242
7243 * disp-table.el (display-table-print-array): New function.
7244 (describe-display-table): Use it to print the vectors more pretty
7245 (Bug#8859).
7246
28545e04
MR
72472011-07-02 Martin Rudalics <rudalics@gmx.at>
7248
7249 * window.el (window-state-get-1): Don't assign clone numbers.
7250 Add clone-of item to list of window parameters.
7251 (window-state-put-2): Don't process clone numbers.
7252 (display-buffer-alist): Fix doc-string.
7253
3349e122
SM
72542011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * subr.el (remq): Don't allocate if it's not needed.
7257 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7258 (keymap--merge-bindings): New functions.
7259 (keymap-canonicalize): Use them to refine the canonicalization.
7260 * minibuffer.el (minibuffer-local-completion-map)
7261 (minibuffer-local-must-match-map): Move initialization from C.
7262 (minibuffer-local-filename-completion-map): Move initialization from C;
7263 don't inherit from anything here.
7264 (minibuffer-local-filename-must-match-map): Make obsolete.
7265 (completing-read-default): Use make-composed-keymap to combine
7266 minibuffer-local-filename-completion-map with either
7267 minibuffer-local-must-match-map or
7268 minibuffer-local-filename-completion-map.
7269
d224ac83
GM
72702011-07-01 Glenn Morris <rgm@gnu.org>
7271
3de63bf8
GM
7272 * type-break.el (type-break-time-sum): Use dolist.
7273
d224ac83
GM
7274 * textmodes/flyspell.el (flyspell-word-search-backward):
7275 Replace CL function.
7276
1a1e3f32
SM
72772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7278
fe3f64d5
SM
7279 * mouse.el (mouse--strip-first-event): New function.
7280 (function-key-map): Use it to map fringe clicks to normal clicks
7281 by default.
7282
eb604e34
SM
7283 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7284 (vc-bzr-revision-completion-table): Add support for annotate and date.
7285
1a1e3f32
SM
7286 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7287 inherit from parent.
7288
5bd35902
LMI
72892011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7290
ace6c69c 7291 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7292 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7293
191e2bed
LMI
7294 * dired.el (dired-mode): Fix up the doc string as suggested by
7295 Drew Adams (bug#8817).
7296
5bd35902
LMI
7297 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7298 cookie, since the manual says that it should be possible to add
7299 this function to `find-file-hook' (bug#8709).
7300
eee8207a
TZ
73012011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7302
7303 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7304 here. Noted Ted Zlatanov as the maintainer.
7305 (cfengine-common-settings, cfengine-common-syntax): New functions
7306 to set up common things between `cfengine-mode' and
7307 `cfengine3-mode'.
7308 (cfengine3-mode): New mode.
7309 (cfengine3-defuns cfengine3-defuns-regex
7310 (cfengine3-class-selector-regex cfengine3-category-regex)
7311 (cfengine3-vartypes cfengine3-font-lock-keywords)
7312 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7313 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7314
36b148cf
MA
73152011-07-01 Michael Albinus <michael.albinus@gmx.de>
7316
7317 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7318
7319 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7320
0bf4ba9a
MR
73212011-07-01 Martin Rudalics <rudalics@gmx.at>
7322
7323 * window.el (same-window-buffer-names, same-window-regexps)
7324 (same-window-p, special-display-frame-alist)
7325 (special-display-popup-frame, special-display-function)
7326 (special-display-buffer-names, special-display-regexps)
7327 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7328 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7329 (split-window-preferred-function, split-height-threshold)
7330 (split-width-threshold, even-window-heights)
7331 (display-buffer-mark-dedicated, window-splittable-p)
7332 (split-window-sensibly, window-safely-shrinkable-p):
7333 Un-obsolete.
7334 (display-buffer): Don't spread args with function specifier
7335 because special-display-popup-frame won't like it.
7336
35837f51
PE
73372011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7338
d0672f86
PE
7339 Time-stamp simplifications and fixes.
7340 These improve accuracy slightly, and future-proof the code
7341 against some potential changes to current-time format.
7342
b9444d97
PE
7343 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7344 by using time-since and float-time.
7345
0ef923dc
PE
7346 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7347 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7348 + NNN microseconds".
7349
2f81380d
PE
7350 * type-break.el (type-break-time-sum): Rewrite using time-add.
7351
845b5c3e
PE
7352 * play/hanoi.el (hanoi-current-time-float): Remove.
7353 All uses replaced by float-time.
7354
ee6f1be0
PE
7355 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7356 This yields a more-accurate answer.
7357 (rng-time-to-float): Remove; no longer needed.
7358
fe955043
PE
7359 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7360
5777162a
PE
7361 * calendar/timeclock.el (timeclock-seconds-to-time):
7362 Defalias to seconds-to-time, since they're the same thing.
7363
3103f8b6 7364 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7365 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7366 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7367
0e61a35f
SM
73682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * window.el (bury-buffer): Don't iconify the only frame.
7371 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7372 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7373
ddd63a1e
CY
73742011-07-01 Chong Yidong <cyd@stupidchicken.com>
7375
0e61a35f
SM
7376 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7377 Add mouse-yank-primary.
ddd63a1e 7378
055f4923
TZ
73792011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7380
7381 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7382
6a2fb145
SM
73832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7386 (find-library-name): Use it to find relative load names when provided
7387 absolute file name (bug#8803).
7388
fd4983f2
LMI
73892011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7390
887d14ad
LMI
7391 * textmodes/flyspell.el (flyspell-word): Consider words that
7392 differ only in case as potential doublons (bug#5687).
7393
c53dc7fc
LMI
7394 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7395 Remove two rather uninteresting debugging-like messages to make
7396 debbugs.el more silent.
7397
fd4983f2
LMI
7398 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7399 a password-like phrase.
7400
7a71b18d 74012011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7402
7403 * progmodes/cc-guess.el: New file.
7404
6a2fb145 7405 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7406
7407 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7408 derived from `c-basic-common-init'.
7409
7410 * progmodes/cc-mode.el (top-level): Require cc-guess.
7411 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7412
1fa280a3
LM
74132011-06-30 Lawrence Mitchell <wence@gmx.li>
7414
7415 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7416
e6597158
AM
74172011-06-30 Alan Mackenzie <acm@muc.de>
7418
1fa280a3
LM
7419 * progmodes/cc-engine.el (c-guess-continued-construct):
7420 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7421 lock is disabled. Name this case as "CASE G".
7422
68ba37fb
KM
74232011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7424
7425 * allout.el (allout-yank-processing): Fix injection of extra space
7426 between bullet and non-whitespace character in first topic when
7427 pasting, ensuring that the actual spacing in the pasted topic
7428 following the bullet char is preserved. This extra space was
7429 causing pasted encrypted topics to get a decrypted status even
7430 when the content was actually still encrypted. Now the decryption
7431 status from before the paste is preserved.
7432
7433 (allout-flag-region): Set all allout overlays so they evaporate
7434 when reduced to zero length (evanescent), to prevent overlay
7435 leakage.
7436
887a0b34
GM
74372011-06-30 Glenn Morris <rgm@gnu.org>
7438
94b9acce
GM
7439 * w32-fns.el (w32-charset-info-alist): Declare.
7440
1d9b46d4
GM
7441 * find-dired.el (find-grep-options): Simplify.
7442
cc232200
GM
7443 * term/ns-win.el (ns-set-resource): Declare.
7444
28e77c46
GM
7445 * ses.el (row, col): Declare dynamic variables honestly.
7446
887a0b34
GM
7447 * textmodes/reftex-parse.el (index-tags): Declare.
7448
658d8eb8
CY
74492011-06-30 Chong Yidong <cyd@stupidchicken.com>
7450
7451 * cus-edit.el (customize-push-and-save): New function.
7452
7453 * files.el (hack-local-variables-confirm): Use it.
7454
1fa280a3
LM
7455 * custom.el (load-theme): New arg NO-CONFIRM.
7456 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7457 (custom-enabled-themes): Doc fix.
7458
7459 * cus-theme.el (customize-create-theme)
7460 (custom-theme-merge-theme): Callers to load-theme changed.
7461
bb617717
LMI
74622011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7463
d61bdd5d
LMI
7464 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7465 short URLs have at least one dot in them (bug #7614).
7466
bb617717
LMI
7467 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7468 nil, because using a pty is apparently too slow (bug #895).
7469
2f31f37a
LMI
74702011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
7472 * mail/sendmail.el (sendmail-query-once): New function.
7473 (sendmail-query-once-function): New variable.
7474
3076b24e
GM
74752011-06-29 Glenn Morris <rgm@gnu.org>
7476
faf2a174
GM
7477 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7478
3076b24e
GM
7479 * ses.el (top-level): Require cl when compiling.
7480 (ses-set-localvars): Fix error statement.
7481 Call it at compile time to silence a storm of warnings.
7482
5386012d
MR
74832011-06-29 Martin Rudalics <rudalics@gmx.at>
7484
7485 * window.el (normalize-live-buffer): Rename to
7486 window-normalize-buffer.
7487 (normalize-live-frame): Rename to window-normalize-frame.
7488 (normalize-any-window): Rename to window-normalize-any-window.
7489 (normalize-live-window): Rename to window-normalize-live-window.
7490 (make-window-atom): Rename to window-make-atom.
7491 (window-resize-reset): Rename to window--resize-reset.
7492 (window-resize-reset-1): Rename to window--resize-reset-1.
7493 (resize-mini-window): Rename to window--resize-mini-window.
7494 (resize-subwindows-skip-p): Rename to
7495 window--resize-subwindows-skip-p.
7496 (resize-subwindows-normal): Rename to
7497 window--resize-subwindows-normal.
7498 (resize-subwindows): Rename to window--resize-subwindows.
7499 (resize-other-windows): Rename to window--resize-siblings.
7500 (resize-this-window): Rename to window--resize-this-window.
7501 (resize-root-window): Rename to window--resize-root-window.
7502 (resize-root-window-vertically): Rename to
7503 window--resize-root-window-vertically.
7504 (normalize-buffer-to-display): Rename to
7505 window-normalize-buffer-to-display.
7506 (normalize-buffer-to-switch-to): Rename to
7507 window-normalize-buffer-to-switch-to.
7508 Correspondingly update all callers of the functions listed
7509 above.
7510 (display-buffer-alist, display-buffer-normalize-arguments)
7511 (display-buffer-normalize-options, display-buffer)
7512 (display-buffer-alist-set): Use "function" instead of
7513 "fun-with-args".
7514
1176868d
CY
75152011-06-28 Chong Yidong <cyd@stupidchicken.com>
7516
7517 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7518 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7519 debbugs.gnu.org. Mention acknowledgment email.
7520
20a7a65f
LMI
75212011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7522
7523 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7524 buffer multibyteness, since it shouldn't matter.
7525
5f45cca5
MR
75262011-06-28 Martin Rudalics <rudalics@gmx.at>
7527
7528 * window.el (display-buffer-in-side-window): Handle dedicated
7529 windows as in display-buffer-reuse-window.
7530 (display-buffer-normalize-alist): Use value of override
7531 specifier.
7532 (display-buffer-normalize-specifiers): Use value of
7533 other-window-means-other-frame specifier.
7534 (display-buffer-alist): Rewrite some texts in widgets.
7535 (display-buffer): Spread arguments when calling function
7536 specified by fun-with-args.
7537
ad85fe1f
DD
75382011-06-28 Deniz Dogan <deniz@dogan.se>
7539
1fa280a3
LM
7540 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7541 Unnest `let'.
da68c4c8 7542
ad85fe1f
DD
7543 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7544 selectors (Bug#5732).
ec49bd31 7545 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7546
a08cc025
JA
75472011-06-27 Jari Aalto <jari.aalto@cante.net>
7548
7549 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7550 (eshell-ls-date-format): New defcustom.
7551 (eshell-ls-file): Use it.
7552
e2b551c5
SM
75532011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7556
8982b231
KY
75572011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7558
7559 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7560 (ange-ftp-make-tmp-name): New arg.
7561 (ange-ftp-file-local-copy): Use it.
7562
36c9fa27
J
75632011-06-27 Jambunathan K <kjambunathan@gmail.com>
7564
7565 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7566 no-conversion (Bug#8870).
7567
d68443dc
MR
75682011-06-27 Martin Rudalics <rudalics@gmx.at>
7569
7570 * window.el (window-right, window-left, window-child)
7571 (window-child-count, window-last-child)
7572 (window-iso-combination-p, walk-window-tree-1)
7573 (window-atom-check-1, window-tree-1, delete-window)
7574 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7575 new naming conventions - window-vchild, window-hchild,
7576 window-next and window-prev are now called window-top-child,
7577 window-left-child, window-next-sibling and window-prev-sibling
7578 respectively.
d615d6d2
MR
7579 (resize-window-reset): Rename to window-resize-reset.
7580 (resize-window-reset-1): Rename to window-resize-reset-1.
7581 (resize-window): Rename to window-resize.
7582 (window-min-height, window-min-width)
7583 (resize-mini-window, resize-this-window, resize-root-window)
7584 (resize-root-window-vertically, adjust-window-trailing-edge)
7585 (enlarge-window, shrink-window, maximize-window)
7586 (minimize-window, delete-window, quit-restore-window)
7587 (split-window, balance-windows, balance-windows-area-adjust)
7588 (balance-windows-area, window-state-put-2)
7589 (display-buffer-even-window-sizes, display-buffer-set-height)
7590 (display-buffer-set-width, set-window-text-height)
7591 (fit-window-to-buffer): Rename all "resize-window" prefixed
7592 calls to use the "window-resize" prefix convention.
7593 (display-buffer-alist): Fix symbol for label specifier.
7594 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7595 corresponding specifier.
7596 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7597
b6458526
VB
75982011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7599
7600 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7601 convention.
7602 (ses-call-printer): Does not pass an empty string to formatter when the
7603 cell is empty to keep from barking printer Calc math-format-value.
7604
d31fd9ac
RS
76052011-06-27 Richard Stallman <rms@gnu.org>
7606
43d5bf84
RS
7607 * battery.el (battery-mode-line-limit): New variable.
7608 (battery-update): Handle it.
7609
d31fd9ac
RS
7610 * mail/rmailmm.el (rmail-mime-process-multipart):
7611 Handle truncated messages.
7612
819a6054
GM
76132011-06-27 Glenn Morris <rgm@gnu.org>
7614
7615 * progmodes/flymake.el (flymake-err-line-patterns):
7616 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7617
cedc73f2
VB
76182011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7619
819a6054 7620 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7621 (ses--clean-!, ses--clean-_): New functions.
7622 (ses-range): Add configurability of readout order, and conversion
7623 to Calc vector.
7624
5e5d49b6
VB
7625 * ses.el (ses-repair-cell-reference-all): New function.
7626 (ses-cell-symbol): Set macro as safe, so that it can be used in
7627 formulas.
7628
56e6cc31 7629 * ses.el: Update cycle detection algorithm.
90ca8b49 7630 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7631 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7632 (ses-set-localvars): New function.
7633 (ses-make-cell): Add property-list as a cell element.
7634 (ses-cell-property-get-fun, ses-cell-property-get)
7635 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7636 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7637 New functions.
90ca8b49
VB
7638 (ses-cell-property-set, ses-cell-property-pop)
7639 (ses-cell-property-get-handle): New macro.
7640 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7641 New aliases, used for code readability.
7642 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7643 cycle detection.
7644 (ses-self-reference-early-detection): New defcustom.
fac916bf 7645 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7646 (ses-mode): Use ses-set-localvars.
7647 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7648 before lauching the update processing.
7649 (ses-initialize-Dijkstra-attempt): New function.
7650 (ses-recalculate-cell): Update for cycle detection based on
7651 Dijkstra algorithm.
7652
2bb63e81
VB
7653 * ses.el: Fix commenting and indenting convention.
7654
c9d29fb8
SM
76552011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * bs.el (bs-cycle-next): Complete last change.
7658
d8e4b68b
JB
76592011-06-27 Drew Adams <drew.adams@oracle.com>
7660
7661 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7662
40098786
LMI
76632011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7664
c9d29fb8
SM
7665 * net/network-stream.el (network-stream-open-starttls):
7666 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7667 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7668
40098786
LMI
7669 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7670 to binary to possibly avoid line encoding issues on Windows (among
7671 other things).
7672
468d09d4
LMI
76732011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7674
7675 * net/network-stream.el (open-network-stream): Return an :error
7676 saying what the problem was, if possible.
7677
7678 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7679 server.
7680
7681 * net/network-stream.el (network-stream-open-starttls): If we
7682 wanted to use STARTTLS, and the server offered it, but we weren't
7683 able to because we had no STARTTLS support, then close the connection.
7684 (open-network-stream): Return an :error element, if present.
7685
16f07dd7
CY
76862011-06-26 Chong Yidong <cyd@stupidchicken.com>
7687
88821ca0
CY
7688 * hl-line.el (hl-line-sticky-flag): Doc fix.
7689 (global-hl-line-sticky-flag): New option (Bug#8323).
7690 (global-hl-line-highlight): Obey it.
7691
16f07dd7
CY
7692 * vc/vc.el (vc-revert-show-diff): Default to t.
7693
6b5ccddf
KM
76942011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7695
c9d29fb8
SM
7696 * allout-widgets.el (allout-widgets-post-command-business):
7697 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7698 undecorated when an isearch is continued past, and isearch
7699 automatically collapses them. This leads to "widget leaks", where
7700 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7701 hidden widgets can slow down cursor travel, substantially.
7702 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7703 so we're doing without this nicety.
7704
7705 (allout-widgets-tally-string): Don't try to do a hash-table-count
7706 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7707 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7708 *Messages* when allout-widgets-maintain-tally is t.
7709
355f2e07
MR
77102011-06-26 Martin Rudalics <rudalics@gmx.at>
7711
7712 * window.el (display-buffer-normalize-argument): Rename to
7713 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7714 LABEL argument. Respect special-display-function when popping up
7715 a new frame. Fix code searching for a window showing the buffer
7716 on another frame.
c9d29fb8
SM
7717 (display-buffer-normalize-specifiers):
7718 Call display-buffer-normalize-arguments.
355f2e07
MR
7719 (display-buffer-in-window): Don't undedicate the window if its
7720 buffer remains the same.
7721 Reported by Drew Adams <drew.adams@oracle.com>.
7722 (display-buffer-alist): Add choice for same-window macro
7723 specfier.
7724 (display-buffer): Mention special meaning of LABEL argument in
7725 doc-string. Fix quoting. Don't pop up a new frame even as
7726 fallback.
7727
7ca8fc42
JB
77282011-06-26 Juanma Barranquero <lekktu@gmail.com>
7729
7730 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7731 avoid deleting the current window in some cases (bug#8911).
7732
bc312254
AS
77332011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7734
7735 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7736 (Bug#8934)
7737
2db18f3f
LMI
77382011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7739
c9d29fb8
SM
7740 * net/network-stream.el (network-stream-open-starttls):
7741 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7742 (network-stream-open-tls): Ditto.
7743
6302e0d3
LL
77442011-06-26 Leo Liu <sdl.web@gmail.com>
7745
7746 * register.el (registerv): New struct.
7747 (registerv-make): New function.
c9d29fb8
SM
7748 (jump-to-register, describe-register-1, insert-register):
7749 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7750 struct. (Bug#8415)
7751
5fdd4046
CY
77522011-06-26 Chong Yidong <cyd@stupidchicken.com>
7753
2afef60a
CY
7754 * vc/vc.el (vc-revert-show-diff): New defcustom.
7755 (vc-diff-internal): New arg specifying diff buffer.
7756 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7757 reuse an existing *vc-diff* buffer (Bug#8927).
7758
5fdd4046
CY
7759 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7760
e93db24a
GM
77612011-06-26 Glenn Morris <rgm@gnu.org>
7762
7763 * progmodes/f90.el (f90-critical-indent): New option.
7764 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7765 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7766 (f90-mode): Doc fix.
7767 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7768 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7769 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7770 (f90-match-end): Handle block, critical.
7771
eefff499
GM
77722011-06-25 Glenn Morris <rgm@gnu.org>
7773
f6ba4cc9
GM
7774 * calendar/diary-lib.el (diary-included-files): Doc fix.
7775 (diary-include-files): New function, extracted from
7776 diary-include-other-diary-files and diary-mark-included-diary-files.
7777 (diary-include-other-diary-files, diary-mark-included-diary-files):
7778 Just call diary-include-files.
7779 (diary-mark-entries): Reset diary-included-files on first call.
7780
16712304
GM
7781 * calendar/diary-lib.el (diary-mark-entries)
7782 (diary-mark-included-diary-files):
7783 Visit included diary-files in temp buffers.
7784
5d8e0d43
GM
7785 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7786 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7787 (f90-start-block-re, f90-imenu-generic-expression)
7788 (f90-looking-at-program-block-start, f90-no-block-limit):
7789 Add support for submodules.
7790
ccf7a5d5
GM
7791 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7792 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7793
11fdef7d 77942011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7795
7796 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7797 buffer-file-type before setting its value, to avoid disastrous
eefff499 7798 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7799
74f53697
JB
78002011-06-25 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7803
7804 * ses.el (ses-unload-function):
7805 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7806
7807 * proced.el (proced-unload-function):
7808 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7809
18a4ce5e
AR
78102011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7811
7812 * server.el (server-create-window-system-frame): Add parameters arg.
7813 (server-process-filter): Doc fix. Handle frame-parameters.
7814
519d22cc
JB
78152011-06-25 Juanma Barranquero <lekktu@gmail.com>
7816
7817 Fix bug#8730, bug#8781.
7818
7819 * loadhist.el (unload--set-major-mode): New function.
7820 (unload-feature): Use it.
7821
7822 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7823 (python-unload-function): New function.
7824
c206f5b0
SM
78252011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7828
f9ad64f3
GS
78292011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7830
7831 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7832 the candidates list.
7833
7d0da90e
JB
78342011-06-24 Juanma Barranquero <lekktu@gmail.com>
7835
7836 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7837
14b4e83d
RS
78382011-06-23 Richard Stallman <rms@gnu.org>
7839
7840 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7841 (rmail-variables): Set next-error-move-function.
7842 (rmail-what-message): Take argument POS.
7843 (rmail-next-error-move): New function.
7844
273d2baf
SM
78452011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7848 messages for adjacent non-terminals.
7849
56c2cc9a
RS
78502011-06-23 Richard Stallman <rms@gnu.org>
7851
7852 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7853 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7854 (rmail-start-mail): Don't specify use of rmail-mail-return;
7855 that's done by mail-bury now.
7856 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7857
d59eb518
MA
78582011-06-23 Michael Albinus <michael.albinus@gmx.de>
7859
7860 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7861 SIZE is a number.
7862
02cfc6d6
MR
78632011-06-23 Martin Rudalics <rudalics@gmx.at>
7864
7865 * window.el (get-lru-window, get-mru-window)
7866 (get-largest-window): Never return a minibuffer window.
7867 (display-buffer-pop-up-window): Fix a bug that could lead to
7868 reusing the minibuffer window.
7869 (display-buffer): Pass original specifier argument to
7870 display-buffer-function instead of the normalized one.
7871 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7872
4e323265
LL
78732011-06-22 Leo Liu <sdl.web@gmail.com>
7874
7875 * minibuffer.el (completing-read-function)
7876 (completing-read-default): Move from minibuf.c
7877
7a70468f
RS
78782011-06-22 Richard Stallman <rms@gnu.org>
7879
50718fc2
RS
7880 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7881 to Rmail even if not started by a special Rmail command.
7882
7a70468f
RS
7883 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7884 Copy the buffer currently showing just one message.
7885
297dde5a
RW
78862011-06-22 Roland Winkler <winkler@gnu.org>
7887
7888 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7889 (bibtex-clean-entry): First delete the old key so that a
7890 customized algorithm for generating the new key does not get
7891 confused by the old key.
7892 (bibtex-url): Obey regexp of first step.
7893 (bibtex-search-entries): Do not use add-to-list with local
7894 list-var.
7895
97bb1093
LMI
78962011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7897
7898 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7899 stored a user name, then query for the password first, instead of
7900 waiting for SMTP to give an error message and the trying again.
7901
1c0f1a19
JD
79022011-06-22 Lawrence Mitchell <wence@gmx.li>
7903
7904 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7905 BUFFER in call-process.
7906
396f7c9d
LMI
79072011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7908
7909 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7910 QUIT twice.
ddb7ffee
LMI
7911 (smtpmail-try-auth-methods): Require user name and password from
7912 auth-source.
396f7c9d 7913
8998d1b3
MR
79142011-06-22 Martin Rudalics <rudalics@gmx.at>
7915
7916 * window.el (display-buffer-default-specifiers)
7917 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7918 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7919 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7920
7921 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7922 (special-display-frame-alist, special-display-popup-frame):
7923 Remove duplicate declarations. These are now in window.el.
7924
4ea31e07
LMI
79252011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7926
c9d29fb8
SM
7927 * mail/smtpmail.el (smtpmail-via-smtp):
7928 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7929 server supports it. SMTP servers that support STARTTLS commonly
7930 require it.
7931
7932 * net/network-stream.el (network-stream-open-starttls): Support
7933 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7934 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7935
95f41d9a
LMI
7936 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7937 upgrades with `open-network-stream', and rely solely on
7938 auth-source for all credentials. Big changes throughout the file,
7939 but in particular:
c9d29fb8
SM
7940 (smtpmail-auth-credentials): Remove.
7941 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7942 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7943 MAIL FROM, too.
95f41d9a 7944
c9d29fb8
SM
7945 * net/network-stream.el (network-stream-open-starttls):
7946 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7947 STARTTLS.
7948 (auth-source): Require.
7949 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7950 (network-stream-certificate): Change cert-cert to cert and
7951 cert-key to key.
4ea31e07 7952
065ec2c7
MA
79532011-06-21 Michael Albinus <michael.albinus@gmx.de>
7954
7955 * net/tramp-cache.el (top): Don't load the persistency file when
7956 "emacs -Q" has been called.
7957
cd93b359
DR
79582011-06-21 Tim Harper <timcharper@gmail.com>
7959
d8e4b68b
JB
7960 * term/ns-win.el (ns-initialize-window-system):
7961 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7962 resource to NO as it is not yet supported by the NS port.
7963
ae9c0411
JB
79642011-06-21 Juanma Barranquero <lekktu@gmail.com>
7965
7966 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7967 (list-dynamic-libraries): ...not here.
7968
7f3f739f
LL
79692011-06-21 Leo Liu <sdl.web@gmail.com>
7970
7971 * subr.el (sha1): Implement sha1 using secure-hash.
7972
327c8fb1
MR
79732011-06-21 Martin Rudalics <rudalics@gmx.at>
7974
7975 * window.el (display-buffer-alist): In default value do not
7976 enforce searching a window on any but the selected frame.
7977 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7978 (display-buffer-select-window): Remove function.
7979 (display-buffer-in-window): When a window on another frame gets
7980 reused, do not select it any more but just raise its frame if
7981 necessary (Bug#8851) and (Bug#8856).
7982 (display-buffer-normalize-options): Handle pop-up-frames related
7983 options more faithfully.
7984 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7985 window if it is on another frame.
c9d29fb8
SM
7986 (display-buffer-alist, display-buffer-default-specifiers):
7987 Don't make new frame unsplittable by default.
9e9de014
MR
7988 (display-buffer-normalize-argument): Fix doc-string typo and use
7989 'same-frame-other-window instead of 'other-window when associating
7990 with display-buffer-macro-specifiers.
327c8fb1 7991
7cf3f556
VB
79922011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7993
7994 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7995 New functions.
7996 (5x5-mode-map, 5x5-mode-menu): Bind them.
7997 (5x5-draw-grid): Tweak the solver's rendering.
7998
60a406cf
SM
79992011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8002 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8003
d8e4b68b 80042011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8005
8006 * menu-bar.el: Use function variable instead of switch-to-buffer.
8007 (menu-bar-select-buffer-function): New variable.
60a406cf 8008 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8009
478d6f95
SM
80102011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8013 variable's status.
8014
ca530739
JD
80152011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8016
8017 * x-dnd.el (x-dnd-version-from-flags)
8018 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8019 and long as number (Bug#8899).
8020 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8021
bcd70d97
SM
80222011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8023
60a406cf 8024 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8025 (completion-try-completion, completion-all-completions): Compute the
8026 metadata argument if it's missing; make it optional (bug#8795).
8027
60a406cf 8028 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8029 (widget-complete): Use new :completion-function property.
8030 (widget-completions-at-point): New function.
8031 (default): Use :completion-function instead of :complete.
60a406cf
SM
8032 (widget-default-completions): Rename from widget-default-complete;
8033 Rewrite.
bcd70d97
SM
8034 (widget-string-complete, widget-file-complete, widget-color-complete):
8035 Remove functions.
8036 (file, symbol, function, variable, coding-system, color):
8037 * international/mule-cmds.el (default-input-method, charset)
8038 (language-info-custom-alist):
8039 * cus-edit.el (face): Use new property :completions.
8040
8041 * progmodes/pascal.el (pascal-completions-at-point): New function.
8042 (pascal-mode): Use it.
8043 (pascal-mode-map): Use completion-at-point.
8044 (pascal-toggle-completions): Make obsolete.
8045 (pascal-complete-word, pascal-show-completions):
8046 * progmodes/octave-mod.el (octave-complete-symbol):
8047 Redefine as obsolete alias.
8048 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8049 Signal absence of completion info for old Octave,
8050 (inferior-octave-complete): Redefine as obsolete alias.
8051 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8052 (meta-completions-at-point): Rename from meta-complete-symbol and
8053 adapt it for use on completion-at-point-functions.
8054 (meta-common-mode): Use it.
8055 (meta-looking-at-backward, meta-match-buffer): Remove.
8056 (meta-complete-symbol): Redefine as obsolete alias.
8057 (meta-common-mode-map): Use completion-at-point.
8058 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8059 (makefile-mode-map): Use completion-at-point.
8060 (makefile-completions-at-point): Rename from makefile-complete and
8061 adapt it for use on completion-at-point-functions.
8062 (makefile-mode): Use it.
8063 (makefile-complete): Redefine as obsolete alias.
8064
aebf69c8
DD
80652011-06-20 Deniz Dogan <deniz@dogan.se>
8066
8067 * net/rcirc.el: Delete trailing whitespaces once and for all.
8068
bfbbb27d
DC
80692011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8070
8071 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8072
d264a46b
CY
80732011-06-19 Chong Yidong <cyd@stupidchicken.com>
8074
4ca009e5
CY
8075 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8076
d264a46b
CY
8077 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8078
fbf5b3ce
MR
80792011-06-19 Martin Rudalics <rudalics@gmx.at>
8080
8081 * window.el (display-buffer-other-window-means-other-frame):
8082 Call display-buffer-normalize-alist.
8083 (display-buffer-normalize-specifiers-1): Rename to
8084 display-buffer-normalize-argument. New argument other-frame.
8085 Rewrite.
8086 (display-buffer-normalize-specifiers-2): Rename to
8087 display-buffer-normalize-options.
8088 (display-buffer-normalize-alist-1): New function.
8089 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8090 display-buffer-normalize-alist.
8091 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8092 (display-buffer-normalize-options-inhibit): New variable.
8093 (display-buffer-normalize-specifiers): Rewrite calling
8094 display-buffer-normalize-alist,
8095 display-buffer-normalize-argument, and
8096 display-buffer-normalize-options. Don't call the latter if
8097 display-buffer-normalize-options-inhibit is non-nil.
8098 (frame-auto-delete): New option.
8099 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8100 (window-list-no-nils, window-state-ignored-parameters)
8101 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8102 (window-state-put-1, window-state-put-2, window-state-put):
8103 New functions.
9a028c23
MR
8104 (display-buffer-normalize-options): Move special-display-p group
8105 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8106
6d10d800
CY
81072011-06-18 Chong Yidong <cyd@stupidchicken.com>
8108
6420d28b
CY
8109 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8110 groups (Bug#8776).
8111 (rx-submatch-n): New function.
8112 (rx): Document it.
8113
ddb8b596
CY
8114 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8115 (Bug#8768).
8116
8117 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8118
77080289
CY
8119 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8120
61dfb316
CY
8121 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8122 anytime existing face settings are present (Bug#8889).
8123
6d10d800
CY
8124 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8125 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8126 Remove unused argument.
8127
be3fb2b8
MR
81282011-06-18 Martin Rudalics <rudalics@gmx.at>
8129
bcd70d97
SM
8130 * window.el (display-buffer-default-specifiers):
8131 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8132 pop-up-window-min-width, and another reuse-window specifier
8133 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8134 (display-buffer-normalize-specifiers-2):
8135 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8136 pop-up-windows is unset. Add a reuse-window specifier for the
8137 case popping up a new window fails.
8138 (special-display-popup-frame): Remove double quoting.
28dec25a 8139 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8140
1c6d8c76
SM
81412011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8144 according to comint-completion-addsuffix.
8145
8146 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8147 (pcomplete-suffix-list): Mark as obsolete.
8148 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8149 pcomplete-seen in the closure.
8150 (pcomplete-comint-setup): Setup completion-at-point as well.
8151 (pcomplete--entries): New function.
8152 (pcomplete--env-regexp): New var.
8153 (pcomplete-entries): Rewrite to work with partial-completion and
8154 without relying on pcomplete-suffix-list.
8155 (pcomplete-pare-list): Remove, unused.
8156
25aef8b8
MR
81572011-06-17 Martin Rudalics <rudalics@gmx.at>
8158
8159 * window.el (display-buffer-alist): Set pop-up-window-min-height
8160 and pop-up-window-min-width in default value. Reported by
8161 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8162 other-window-means-other-frame.
8163 (display-buffer-macro-specifiers): Comment out entry for
8164 other-window specifier.
8165 (display-buffer-other-window-means-other-frame): New function.
8166 (display-buffer-normalize-specifiers-1): New arguments
8167 buffer-name and label. Treat other-window case specially.
8168 (display-buffer-normalize-specifiers-2): Treat other-window case
8169 specially.
8170 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8171 (display-buffer-normalize-specifiers):
8172 Call display-buffer-normalize-specifiers-3.
25aef8b8 8173
dbad4f69
MR
81742011-06-17 Martin Rudalics <rudalics@gmx.at>
8175
8176 * window.el (same-window-p): Fix two typos introduced when
8177 adding with-no-warnings.
d1067961
MR
8178 (display-buffer-normalize-specifiers-1): Don't check
8179 pop-up-frames for 'unset initialization.
8180 (display-buffer-normalize-specifiers-2): Major rewrite using
8181 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8182 (pop-up-frames, display-buffer-reuse-frames)
8183 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8184 Suggested by David Engster <deng@randomsample.de>.
8185 (even-window-heights): Initialize to 'unset.
8186 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8187 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8188 other window case.
dbad4f69 8189
9b9c9e3a
MR
81902011-06-16 Martin Rudalics <rudalics@gmx.at>
8191
bcd70d97
SM
8192 * window.el (display-buffer-normalize-specifiers-1):
8193 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8194 second argument of display-buffer (Bug#8865).
981d5c09
MR
8195 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8196 (switch-to-buffer-other-window-same-frame)
8197 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8198 Adams (Bug#8875).
9c2755e9
MR
8199 (display-buffer): Don't check noninteractive when calling
8200 display-buffer-pop-up-frame.
8201 (display-buffer-pop-up-frame): Never pop up a frame in
8202 noninteractive mode (Bug#8857).
67222e1d
MR
8203 (enlarge-window, shrink-window): Don't report an error when the
8204 window can't be resized as requested (Bug#8862).
9b9c9e3a 8205
2b75be67
SM
82062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8207
9ffdd3ba
SM
8208 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8209
cb581a67
SM
8210 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8211
2b75be67
SM
8212 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8213
8c0e3589
AM
82142011-06-15 Alan Mackenzie <acm@muc.de>
8215
cb581a67
SM
8216 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8217 for declarators, disable knr checking to speed up for normal files.
8218 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8219
b96e6cde
LMI
82202011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8221
4bba86e6
LMI
8222 * net/network-stream.el (open-network-stream): Add the keyword
8223 :always-query-capabilities for the case where you want to force a
8224 `plain' network connection, but the protocol still requires the
8225 capabilitiy command (i.e., SMTP and EHLO).
8226
2b75be67 8227 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8228 consistency with other `-live-p' functions.
8229
efdcdbf8
SM
82302011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * window.el (same-window-buffer-names, same-window-regexps)
8233 (special-display-frame-alist, special-display-popup-frame)
8234 (special-display-function, special-display-buffer-names)
8235 (special-display-regexps, pop-up-frame-alist)
8236 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8237 (pop-up-windows, split-window-preferred-function)
8238 (split-height-threshold, split-width-threshold, even-window-heights)
8239 (display-buffer-mark-dedicated): Don't encourage the use of
8240 display-buffer-alist from Elisp code.
8241
c5cde042
DN
82422011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8243
8244 * progmodes/python.el (python-mode): Derive from prog-mode.
8245 * progmodes/ps-mode.el (ps-mode):
8246 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8247 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8248 * progmodes/ld-script.el (ld-script-mode): Likewise.
8249
baa1c9ab
MR
82502011-06-15 Martin Rudalics <rudalics@gmx.at>
8251
8252 * window.el (display-buffer-alist): Trim default value to avoid
8253 popping up a new frame (Bug#8857) or reusing an arbitrary window
8254 on another frame.
8255 (display-buffer): Do not fall back on popping up a new frame in
8256 batch mode (Bug#8857).
8257
c5dd5a51
CY
82582011-06-14 Chong Yidong <cyd@stupidchicken.com>
8259
8260 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8261 (custom-theme-summary): New function.
8262 (customize-themes): Use it.
8263
d647b7c4
GM
82642011-06-13 Glenn Morris <rgm@gnu.org>
8265
8266 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8267
9481c002
MR
82682011-06-13 Martin Rudalics <rudalics@gmx.at>
8269
357f93d2
MR
8270 * help.el (help-window): Remove variable.
8271 (help-window-point-marker, temp-buffer-max-height)
8272 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8273 (help-print-return-message): Don't set help-window.
8274 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8275 (help-window-setup-finish): Remove.
8276 (help-window-display-message, help-window-setup)
8277 (with-help-window): Major rewrite based on new
8278 display-buffer-window variable.
8279
8280 * help-mode.el (help-mode-finish): Remove help-window related
8281 code.
8282
8283 * view.el (view-exits-all-viewing-windows): Remove reference to
8284 view-return-to-alist in doc-string.
8285 (view-return-to-alist): Make obsolete.
8286 (view-buffer): Call pop-to-buffer-same-window and remove
8287 undo-window code.
8288 (view-buffer-other-window): Call pop-to-buffer-other-window and
8289 simplify code. Ignore second argument.
8290 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8291 simplify code. Ignore second argument.
8292 (view-return-to-alist-update): Make obsolete.
8293 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8294 Rewrite using quit-restore window parameters.
2b75be67
SM
8295 (view-mode-exit): Rename second argument to EXIT-ONLY.
8296 Rewrite using quit-restore-window.
357f93d2
MR
8297 (View-exit, View-exit-and-edit, View-leave, View-quit)
8298 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8299 appropriate arguments.
8300 (view-end-message): Use quit-restore window parameter.
8301
9481c002
MR
8302 * window.el (display-buffer-function): Rewrite doc-string.
8303 (display-buffer-window, display-buffer-alist): New variables.
8304 (display-buffer-split-specifiers)
8305 (display-buffer-side-specifiers)
8306 (display-buffer-macro-specifiers): New constants.
8307 (display-buffer-even-window-sizes, display-buffer-set-height)
8308 (display-buffer-set-width, display-buffer-select-window)
8309 (display-buffer-in-window, display-buffer-reuse-window)
8310 (display-buffer-split-window-1, display-buffer-split-window)
8311 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8312 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8313 (display-buffer-in-side-window, normalize-buffer-to-display)
8314 (display-buffer-normalize-specifiers-1)
8315 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8316 (display-buffer-normalize-specifiers, display-buffer-frame):
8317 New functions.
9481c002
MR
8318 (display-buffer): Major rewrite.
8319 (display-buffer-other-window, display-buffer-other-frame)
8320 (pop-to-buffer, switch-to-buffer-other-window)
8321 (switch-to-buffer-other-frame): Rewrite.
8322 (display-buffer-same-window, display-buffer-same-frame)
8323 (display-buffer-same-frame-other-window)
8324 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8325 (pop-to-buffer-other-window)
8326 (pop-to-buffer-same-frame-other-window)
8327 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8328 (switch-to-buffer-other-window-same-frame): New functions.
8329 (same-window-p, special-display-p): Rewrite disabling warnings.
8330 Make obsolete.
8331 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8332 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8333 Make obsolete
8334 (same-window-buffer-names, same-window-regexps)
8335 (special-display-frame-alist, special-display-popup-frame)
8336 (special-display-function, special-display-buffer-names)
8337 (special-display-regexps, pop-up-frame-alist)
8338 (pop-up-frame-function, split-window-preferred-function)
8339 (split-height-threshold, split-width-threshold)
8340 (even-window-heights): Make obsolete.
8341
9db51aca
GM
83422011-06-12 Glenn Morris <rgm@gnu.org>
8343
8344 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8345 Misc simplifications.
9db51aca 8346
39cffb44
MR
83472011-06-12 Martin Rudalics <rudalics@gmx.at>
8348
8349 * window.el (window-safely-shrinkable-p): Restore function which
8350 was inadvertently removed in change from 2011-06-11. Declare as
8351 obsolete.
8352
2b75be67
SM
8353 * calendar/calendar.el (calendar-generate-window):
8354 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8355 window-safely-shrinkable-p.
8356
a8955be7
GM
83572011-06-12 Glenn Morris <rgm@gnu.org>
8358
8359 * progmodes/fortran.el (fortran-mode-syntax-table):
8360 * progmodes/f90.el (f90-mode-syntax-table):
8361 Set % to punctuation. (Bug#8820)
8362 (f90-find-tag-default): Remove, no longer needed.
8363
f0d4059d
DC
83642011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8365
8366 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8367
1100a63c
CY
83682011-06-11 Chong Yidong <cyd@stupidchicken.com>
8369
8370 * image.el (image-animated-p): Return animation delay in seconds.
8371 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8372 (image-animate-timeout): Remove DELAY argument. Don't assume
8373 every subimage has the same delay; get it from image-animated-p.
8374 (image-animate): Caller changed.
8375
def722bf
MA
83762011-06-11 Michael Albinus <michael.albinus@gmx.de>
8377
8378 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8379 to ignored backtrace functions.
8380
0a2bb1a9
GM
83812011-06-11 Glenn Morris <rgm@gnu.org>
8382
8383 * calendar/appt.el (appt-disp-window-function): Doc fix.
8384 (appt-check): Handle overlapping appointments. (Bug#8337)
8385
6198ccd0
MR
83862011-06-11 Martin Rudalics <rudalics@gmx.at>
8387
8388 * window.el (window-tree-1, window-tree): New functions, moving
8389 the latter to window.el.
8390 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8391 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8392 (bw-refresh-edges): Remove.
8393 (balance-windows-1, balance-windows-2): New functions.
8394 (balance-windows): Rewrite in terms of window tree functions,
8395 balance-windows-1 and balance-windows-2.
8396 (bw-adjust-window): Remove.
8397 (balance-windows-area-adjust): New function with functionality of
8398 bw-adjust-window but using resize-window.
2b75be67
SM
8399 (set-window-text-height): Rewrite doc-string.
8400 Use normalize-live-window and resize-window.
8401 (enlarge-window-horizontally, shrink-window-horizontally):
8402 Rename argument to DELTA.
6198ccd0
MR
8403 (window-buffer-height): New function.
8404 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8405 Rewrite using new window resize routines.
2b75be67
SM
8406 (kill-buffer-and-window, mouse-autoselect-window-select):
8407 Use ignore-errors instead of condition-case.
6198ccd0
MR
8408 (quit-window): Call delete-frame instead of delete-windows-on
8409 for the only buffer on frame.
8410
9397e56f
MR
84112011-06-10 Martin Rudalics <rudalics@gmx.at>
8412
8413 * loadup.el (top-level): Load window before files for the sake
8414 of replace-buffer-in-windows.
8415
8416 * files.el (read-buffer-to-switch)
8417 (switch-to-buffer-other-window)
2b75be67
SM
8418 (switch-to-buffer-other-frame, display-buffer-other-frame):
8419 Move to window.el.
9397e56f
MR
8420
8421 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8422 (previous-buffer): Move to window.el.
8423
8424 * bindings.el (unbury-buffer): Move to window.el.
8425
8426 * window.el (delete-other-windows-vertically): Move after
8427 definition of delete-other-windows.
8428 (other-window, delete-windows-on, replace-buffer-in-windows):
8429 Move here from window.c.
8430 (record-window-buffer, unrecord-window-buffer)
8431 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8432 (switch-to-next-buffer): New functions.
8433 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8434 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8435 (previous-buffer): Move here from simple.el.
8436 Call switch-to-prev-buffer.
9397e56f
MR
8437 (bury-buffer): Move here from buffer.c. Switch to previous
8438 buffer when window cannot be deleted.
8439 (unbury-buffer): Move here from bindings.el.
8440 (ctl-x-map): Move binding for other-window from window.c to
8441 here.
8442 (read-buffer-to-switch, switch-to-buffer-other-window)
8443 (switch-to-buffer-other-frame): Move here from files.el.
8444 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8445 (switch-to-buffer): Move here from buffer.c.
8446 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8447
562dd5e9
MR
84482011-06-10 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (window-min-height, window-min-width): Move here
8451 from window.c. Add defcustoms and rewrite doc-strings.
8452 (resize-mini-window, resize-window): New functions.
8453 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8454 Move here from window.c.
8455 (maximize-window, minimize-window): New functions.
8456 (delete-window, delete-other-windows, split-window): Move here
8457 from window.c.
8458 (window-split-min-size): New function.
8459 (split-window-keep-point): Mention split-window-above-each-other
8460 instead of split-window-vertically.
2b75be67 8461 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8462 Rename split-window-vertically to split-window-above-each-other
8463 and provide defalias for old definition.
8464 (split-window-side-by-side, split-window-horizontally):
8465 Rename split-window-horizontally to split-window-side-by-side
8466 and provide defalias for the old definition.
562dd5e9
MR
8467 (ctl-x-map): Move bindings for delete-window,
8468 delete-other-windows and enlarge-window here from window.c.
8469 Replace bindings for split-window-vertically and
8470 split-window-horizontally by bindings for
8471 split-window-above-each-other and split-window-side-by-side.
8472
8473 * cus-start.el (all): Remove entries for window-min-height and
8474 window-min-width. Add entries for window-splits and
8475 window-nest.
8476
f0da764a
GM
84772011-06-09 Glenn Morris <rgm@gnu.org>
8478
80675c21
GM
8479 * calendar/appt.el (appt-mode-line): New function.
8480 (appt-check, appt-disp-window): Use it.
8481
f0da764a
GM
8482 * files.el (hack-one-local-variable-eval-safep):
8483 Allow minor-modes with explicit +/-1 arguments.
8484
59f623b7
TZ
84852011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8486
8487 * term/xterm.el (xterm): Add defgroup.
8488 (xterm-extra-capabilities): Add defcustom to supply known xterm
8489 capabilities, skip querying them, or query them (default).
8490 (terminal-init-xterm): Use it.
8491 (terminal-init-xterm-modify-other-keys): New function to set up
8492 modifyOtherKeys support to simplify `terminal-init-xterm'.
8493
9aab8e0d
MR
84942011-06-09 Martin Rudalics <rudalics@gmx.at>
8495
8496 * window.el (resize-window-reset, resize-window-reset-1)
8497 (resize-subwindows-skip-p, resize-subwindows-normal)
8498 (resize-subwindows, resize-other-windows, resize-this-window)
8499 (resize-root-window, resize-root-window-vertically)
8500 (window-deletable-p, window-or-subwindow-p)
8501 (frame-root-window-p): New functions.
8502
e8b08aee
GM
85032011-06-09 Glenn Morris <rgm@gnu.org>
8504
8505 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8506 (ange-ftp-get-files): Use it.
8507
254c37a5
AK
85082011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8509
8510 * mail/sendmail.el (mail-recover-1, mail-recover):
8511 * files.el (recover-file, recover-session):
8512 Handle dired-listing-switches not being just a single short option.
8513
35d7dbd3
GM
85142011-06-09 Glenn Morris <rgm@gnu.org>
8515
8516 * calendar/appt.el (appt-display-message, appt-disp-window):
8517 Handle lists of appointments.
8518
387522b2
MR
85192011-06-08 Martin Rudalics <rudalics@gmx.at>
8520
2b75be67
SM
8521 * window.el (one-window-p): Move down in code.
8522 Rewrite doc-string.
8523 (window-current-scroll-bars): Rewrite doc-string.
8524 Normalize live window argument.
387522b2
MR
8525 (walk-windows, get-window-with-predicate, count-windows):
8526 Rewrite doc-string. Use window-list-1.
8527 (window-in-direction-2, window-in-direction, get-mru-window):
8528 New functions.
8529
d8e4b68b 85302011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8531
8532 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8533 Doc fix (Bug#8713).
8534
85352011-06-08 Chong Yidong <cyd@stupidchicken.com>
8536
8537 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8538
85392011-06-08 Juanma Barranquero <lekktu@gmail.com>
8540
8541 * loadhist.el (unload-feature-special-hooks):
8542 Add `comint-output-filter-functions'.
8543
0de12c52
IK
85442011-06-08 Ivan Kanis <gnu@kanis.fr>
8545
8546 * calendar/appt.el (appt-check): Move some initializations into the let.
8547
f3d1777e
MR
85482011-06-08 Martin Rudalics <rudalics@gmx.at>
8549
8550 * window.el (window-height): Defalias to window-total-height.
8551 (window-width): Defalias to window-body-width.
8552
18af70d0
CY
85532011-06-07 Chong Yidong <cyd@stupidchicken.com>
8554
8555 * image-mode.el (image-toggle-animation): New command.
8556 (image-mode-map): Bind it to RET.
8557 (image-mode): Update message.
8558 (image-toggle-display-image): Avoid a spurious cache flush.
8559 (image-transform-rotation): Doc fix.
8560 (image-transform-properties): Return quickly in the normal case.
8561 (image-animate-loop): Rename from image-animate-max-time.
8562
2b75be67 8563 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8564 (create-animated-image): Remove unnecessary function.
8565 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8566 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8567 (image-animate-timer): Use car-safe.
8568 (image-animate-timeout): Rename argument.
8569
190b47e6
MR
85702011-06-07 Martin Rudalics <rudalics@gmx.at>
8571
8572 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8573 window.c. Rename first argument to ALL-FRAMES.
8574 Rephrase doc-strings.
8575 (get-buffer-window-list): Rewrite using window-list-1.
8576 Rephrase doc-string.
a1511caf
MR
8577 (window-safe-min-height, window-safe-min-width): New constants.
8578 (window-size-ignore, window-min-size, window-min-size-1)
8579 (window-sizable, window-sizable-p, window-size-fixed-1)
8580 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8581 (window-max-delta-1, window-max-delta, window-resizable)
8582 (window-resizable-p, window-total-height, window-total-width)
8583 (window-body-width): New functions.
8584 (window-full-height-p, window-full-width-p): Rewrite using
8585 window-total-size.
8586 (window-body-height): Rewrite using window-body-size.
190b47e6 8587
85cc1f11
MR
85882011-06-06 Martin Rudalics <rudalics@gmx.at>
8589
8590 * window.el (window-right, window-left, window-child)
8591 (window-child-count, window-last-child, window-any-p)
8592 (normalize-live-buffer, normalize-live-frame)
8593 (normalize-any-window, normalize-live-window)
8594 (window-iso-combination-p, window-iso-combined-p)
8595 (window-iso-combinations)
8596 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8597 (windows-with-parameter, window-with-parameter)
8598 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8599 (window-atom-check, window-side-check, window-check):
8600 New functions.
85cc1f11
MR
8601 (ignore-window-parameters, window-sides, window-sides-vertical)
8602 (window-sides-slots): New variables.
8603 (window-size-fixed): Move down in code. Minor doc-string fix.
8604
e7156492
AS
86052011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * comint.el (comint-dynamic-complete-as-filename)
8608 (comint-dynamic-complete-filename): Correctly call
8609 completion-in-region.
8610
7e821d0d
DD
86112011-06-05 Deniz Dogan <deniz@dogan.se>
8612
8613 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8614 in last change.
8615
ac09b8a1
DD
86162011-06-05 Deniz Dogan <deniz@dogan.se>
8617
8618 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8619 (rcirc): Use it to prompt for encryption.
8620
34699b85
RW
86212011-06-05 Roland Winkler <winkler@gnu.org>
8622
8623 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8624 (bibtex-search-entries): New command bound to C-c C-a.
8625 (bibtex-display-entries): New function.
8626
004dedd3
RW
86272011-06-05 Roland Winkler <winkler@gnu.org>
8628
8629 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8630 (bibtex-insert-kill): After yanking insert newline if necessary.
8631 (bibtex-initialize): Call bibtex-string-files-init only once.
8632 (bibtex-mode): Do not call easy-menu-add.
8633 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8634 (bibtex-yank): Set arg properly if nil.
8635
022fe7ce
RW
86362011-06-05 Roland Winkler <winkler@gnu.org>
8637
2b75be67
SM
8638 * textmodes/bibtex.el (bibtex-search-entry-globally):
8639 New variable.
022fe7ce
RW
8640 (bibtex-search-entry): Use it.
8641
b7c3692a
RW
86422011-06-05 Roland Winkler <winkler@gnu.org>
8643
8644 * textmodes/bibtex.el (bibtex-entry-format): New option
8645 sort-fields.
8646 (bibtex-format-entry, bibtex-reformat): Honor this option.
8647 (bibtex-parse-entry): Return fields in proper order.
8648
8eda563d
JB
86492011-06-05 Juanma Barranquero <lekktu@gmail.com>
8650
8651 * doc-view.el (doc-view-remove-if): Move computation of result out
8652 of `dolist' to silence misleading lexical-binding warning.
8653
7dbe3dbc
CY
86542011-06-04 Chong Yidong <cyd@stupidchicken.com>
8655
8656 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8657 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8658
0c33dd17
MA
86592011-06-04 Michael Albinus <michael.albinus@gmx.de>
8660
8661 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8662 "SunOS 5.10".
8663
f8f91c2b
MA
86642011-06-04 Michael Albinus <michael.albinus@gmx.de>
8665
8666 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8667 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8668 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8669 (tramp-parse-putty):
8670 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8671 (tramp-completion-function-alist-ssh)
8672 (tramp-completion-function-alist-telnet)
8673 (tramp-completion-function-alist-su)
8674 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8675 cookie.
8676
8677 * net/tramp-ftp.el:
8678 * net/tramp-sh.el:
8679 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8680 load "tramp.el" `tramp-set-completion-function'.
8681
e17d9003
SM
86822011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * shell.el: Require and use pcomplete.
8685 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8686 (shell-completion-vars): Set pcomplete-default-completion-function.
8687
6c4cab03
DD
86882011-06-04 Deniz Dogan <deniz@dogan.se>
8689
8690 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8691 `memq' (Bug#8799).
8692
ea9fafe0
SM
86932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8696
b3e945d3
JB
86972011-06-02 Juanma Barranquero <lekktu@gmail.com>
8698
8699 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8700 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8701 * vc/log-view.el (log-view-beginning-of-defun):
8702 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8703 (smerge-refine-forward, smerge-refine-chopup-region):
8704 Silence warning for unused `dotimes' counter variables.
8705
7d520089
SM
87062011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * net/tramp.el (tramp-with-progress-reporter): Rename from
8709 with-progress-reporter. Use `declare'.
8710 * net/tramp-smb.el:
8711 * net/tramp-sh.el:
8712 * net/tramp-gvfs.el: Update all uses.
8713
a1c2400f
JB
87142011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8715
8716 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8717 buffer isn't killed before making it current.
8718
2403c841
SM
87192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 Silence various byte-compiler warnings.
8722 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8723 `access-type' and new obsolescence format.
8724 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8725 new format.
8726 (byte-compile-check-variable): New `access-type' argument.
8727 Only warn if the access-type is obsolete.
8728 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8729 (byte-compile-variable-set): Adjust callers.
8730 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8731 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8732 setting it as obsolete.
8733 * simple.el (minibuffer-completing-symbol):
8734 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8735 access as obsolete.
8736 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8737 obsolete yet.
8738 * international/quail.el (quail-mouse-choose-completion): Remove unused
8739 code referring to obsolete var.
8740 (quail-choose-completion-string): Remove.
8741 * server.el (server-clients-with, server-kill-buffer-query-function)
8742 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8743 * proced.el (proced-send-signal):
8744 * emacs-lisp/lisp.el (lisp-complete-symbol):
8745 Replace completion-annotate-function with completion-extra-properties.
8746
2462470b
SM
87472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8748
fb5b2591
SM
8749 * simple.el (goto-line): Use read-number.
8750 (overriding-map-is-bound): Remove.
8751 (saved-overriding-map): Change default.
8752 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8753 Take the map as argument.
8754 (universal-argument, negative-argument, digit-argument): Use it.
8755 (restore-overriding-map): Adjust.
8756 (do-auto-fill): Use fill-forward-paragraph.
8757 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8758
fd6fa53f
SM
8759 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8760 (minibuffer-inactive-mode): New major mode.
8761 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8762 the *Messages* buffer" hack.
8763 (mouse-popup-menubar): Don't burp if the event is a normal key.
8764
2462470b
SM
8765 Miscellaneous tweaks.
8766 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8767 lexical scoping as in subr.el's dolist and dotimes.
8768 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8769 Silence compiler warning.
8770 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8771 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8772 * international/ccl.el (ccl-compile): Trivial simplification.
8773 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8774 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8775 `printflag' argument.
8776 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8777 Purecopy the whole obsolescence data.
8778
108bf785
LL
87792011-06-01 Leo Liu <sdl.web@gmail.com>
8780
8781 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8782 improve doc-string as suggested by Marco Pessotto
8783 <melmothx@gmail.com>.
8784 (rcirc-print): Fix last change.
8785
30a23501
SM
87862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * minibuffer.el (complete-with-action): Return nil for the metadata and
8789 boundaries of non-functional tables.
8790 (completion-table-dynamic): Return nil for the metadata.
8791 (completion-table-with-terminator): Add default case, using
8792 complete-with-action.
8793 (completion--metadata): New function.
8794 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8795 to try and avoid pathological performance problems.
8796 (completion--embedded-envvar-table): Return `category' metadata.
8797
bcd54f83
LMI
87982011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8799
8800 * subr.el (process-alive-p): New tiny convenience function.
8801
e227544d
SM
88022011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8805 content but also its previous major mode.
8806
e8296fdc
HE
88072011-05-31 Helmut Eller <eller.helmut@gmail.com>
8808
4d61f28d 8809 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8810 *Backtrace* buffer when we exit with C-M-c.
8811
620c53a6
SM
88122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * minibuffer.el: Add metadata method to completion tables.
8815 (completion-category-overrides): New defcustom.
8816 (completion-metadata, completion--field-metadata)
8817 (completion-metadata-get, completion--styles)
8818 (completion--cycle-threshold): New functions.
8819 (completion-try-completion, completion-all-completions):
8820 Add `metadata' argument to choose completion-styles.
8821 (completion--do-completion): Use metadata to choose cycling.
8822 (completion-all-sorted-completions): Use metadata for sorting.
8823 Remove :completion-cycle-penalty which is not needed any more.
8824 (completion--try-word-completion): Add `metadata' argument.
8825 (minibuffer-completion-help): Check metadata for annotation function
8826 and sorting.
8827 (completion-file-name-table): Return `category' metadata.
8828 (minibuffer-completing-file-name): Make obsolete.
8829 * simple.el (minibuffer-completing-symbol): Make obsolete.
8830 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8831 completion-try-completion.
8832
1257e755
SM
88332011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8836
3767e706
LL
88372011-05-30 Leo Liu <sdl.web@gmail.com>
8838
8839 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8840 (rcirc-print): Decode all incoming messages (bug#8744).
8841 (rcirc-decode-coding-system): Allow value nil for automatic coding
8842 system detection.
3767e706 8843
d1a5d56a
GM
88442011-06-01 Glenn Morris <rgm@gnu.org>
8845
8846 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8847
e8cbec34
CY
88482011-05-29 Chong Yidong <cyd@stupidchicken.com>
8849
8850 * image.el (image-animate-max-time): Allow nil and t values.
8851 Default to nil.
8852 (create-animated-image): Doc fix.
8853 (image-animate-start): Remove second arg; just use
8854 image-animate-max-time.
8855 (image-animate-timeout): Doc fix. Args changed.
8856
8857 * image-mode.el (image-toggle-display-image): Ensure that the
8858 image spec passed to the animate timer is the same object as in
58179cce 8859 the buffer's display property (Bug#6981).
e8cbec34
CY
8860 (image-transform-properties): Doc fix.
8861
8862 * image.el (image-animate-max-time): Default to nil.
8863
159daf87
MR
88642011-05-29 Martin Rudalics <rudalics@gmx.at>
8865
8866 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8867 entire buffer list (Bug#8184).
8868
d66c4c7c
CY
88692011-05-29 Chong Yidong <cyd@stupidchicken.com>
8870
8871 * image.el (imagemagick-types-inhibit)
8872 (imagemagick-register-types): Doc fix.
8873
80aec780
DD
88742011-05-29 Deniz Dogan <deniz@dogan.se>
8875
8876 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8877 default.
8878
1dd3c2d9
CY
88792011-05-29 Chong Yidong <cyd@stupidchicken.com>
8880
8881 * select.el: Don't perform clipboard-manager saving in hooks;
8882 leave the hooks empty.
8883
60e56523
LL
88842011-05-28 Leo Liu <sdl.web@gmail.com>
8885
8886 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8887 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8888 (occur-edit-mode): New major mode (Bug#8463).
8889 (occur-after-change-function): New function.
8890 (occur-engine): Give Occur tags a read-only property.
8891
2b1e1a22
KR
88922011-05-28 Kevin Ryde <user42@zip.com.au>
8893
8894 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8895
5d344e88
CY
88962011-05-28 Chong Yidong <cyd@stupidchicken.com>
8897
8e6ca83d
CY
8898 * bindings.el (help-echo): Make the initial non-indicator dash
8899 empty on graphical terminals (Bug#7295).
8900
5d344e88
CY
8901 * files.el (auto-mode-alist): Move config rule after the
8902 in-stripping one (Bug#8547).
8903
bfbbace7
CY
8904 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8905
fbeba6e2
CY
8906 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8907 setting (Bug#8740).
8908
60ed8c72
AA
89092011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8910
4ac619f0
AA
8911 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8912 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8913 (Bug#8539).
60ed8c72 8914
23db196e
CY
89152011-05-28 Chong Yidong <cyd@stupidchicken.com>
8916
8917 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8918
5012f24c
DK
89192011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8920
8921 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8922 (hs-hide-block-at-point, hs-find-block-beginning)
8923 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8924 (Bug#8279).
8925
6a639b16
GM
89262011-05-28 Glenn Morris <rgm@gnu.org>
8927
8928 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8929
d43eaf2c
CY
89302011-05-28 Chong Yidong <cyd@stupidchicken.com>
8931
5199bde1
CY
8932 * help-fns.el (describe-function-1): If the function is a derived
8933 major mode, print the parent mode.
8934
d43eaf2c
CY
8935 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8936 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8937
423428a8
SM
89382011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8939
0ff8e1ba 8940 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8941 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8942 * progmodes/etags.el (tags-completion-at-point-function):
8943 * info-look.el (info-lookup-completions-at-point): Mark as
8944 non-exclusive.
8945 (info-complete): Adjust accordingly.
8946
423428a8
SM
8947 * info-look.el: Convert to lexical-binding and completion-at-point.
8948 (info-lookup-completions-at-point): New function.
8949 (info-complete): Use it and completion-in-region.
8950
b74aa22b
DA
89512011-05-28 Drew Adams <drew.adams@oracle.com>
8952
8953 * isearch.el: Let M-e start with point at the first mismatched char.
8954 (isearch-fail-pos): New function.
8955 (isearch-edit-string): Use it.
8956
66e2e71d
DK
89572011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8958
8959 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8960
b1890b0f 89612011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8962
8963 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8964 traversal functions for avl-trees.
8965 (avl-tree--stack): New struct.
8966 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8967 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8968 (avl-tree--do-enter): Add optional `updatefun' arg.
8969 Change return value.
eb95d01d 8970 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8971 (avl-tree--do-delete): Add `test' and `nilflag' args.
8972 Change return value.
eb95d01d
TC
8973 (avl-tree-member): Add optional `nilflag'
8974 (avl-tree-member-p): New function.
8975 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8976 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8977 (avl-tree-stack-empty-p): New functions.
8978
3769ddcf
TC
8979 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8980 avl-tree--del-balance1 and make it work both ways.
8981 (avl-tree--del-balance2): Remove.
8982 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8983 make it work both ways.
8984 (avl-tree--enter-balance2): Remove.
8985 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8986 New macros.
8987 (avl-tree--mapc, avl-tree-map): Add direction argument.
8988
eb95d01d 89892011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8990
8991 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8992
a9f737ee
CY
89932011-05-27 Chong Yidong <cyd@stupidchicken.com>
8994
8995 * select.el: Support clipboard managers with built-in function
8996 x-clipboard-manager-save, via delete-frame-functions and
8997 kill-emacs-hook.
8998 (xselect-convert-to-targets): Add MULTIPLE target to list.
8999 (xselect-convert-to-save-targets): New function.
9000
c92a1e54
KH
90012011-05-27 Kenichi Handa <handa@m17n.org>
9002
9003 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9004 let-binding rfc2047-encode-encoded-words to nil.
9005
e145f188
GM
90062011-05-27 Glenn Morris <rgm@gnu.org>
9007
5ec8a862
GM
9008 * mail/emacsbug.el: Don't require url-util.
9009
4b29d9fb
GM
9010 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9011
e145f188
GM
9012 * files.el (set-auto-mode):
9013 Also respect mode: entries at the end of the file. (Bug#8586)
9014
7d15102b
GM
90152011-05-26 Glenn Morris <rgm@gnu.org>
9016
98f593b8
GM
9017 * files.el (hack-local-variables-prop-line, hack-local-variables):
9018 Downcase mode names, as seems to be traditional.
27b48e63 9019 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9020
7d15102b
GM
9021 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9022 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9023
51d5b4ec
JD
90242011-05-25 Julien Danjou <julien@danjou.info>
9025
9026 * textmodes/rst.el (rst-define-level-faces): Do not define face
9027 symbol if it is already defined.
9028
91513f63
VB
90292011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9030
9031 * play/5x5.el (5x5-new-game, 5x5-randomize):
9032 Reset 5x5-solver-output to nil when a new grid is cast.
9033 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9034 these debugging traces, as defmacro breaks the compiled code.
9035
4d90d6d0
DK
90362011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9037
9038 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9039
e1b90ef6
LL
90402011-05-24 Leo Liu <sdl.web@gmail.com>
9041
9042 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9043 (vc-bzr-sha1): Adapt.
9044
d8e4b68b 9045 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9046
9047 * bindings.el: Provide sha1 feature.
9048
db0406bb 90492011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9050
9051 * mail/sendmail.el: Require `rfc2047'.
9052 (mail-insert-from-field): Do not perform RFC2047 encoding.
9053 (mail-encode-header): New function.
9054 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9055 buffer to the return value of select-message-coding-system.
9056 Call mail-encode-header.
b8d747b9
KH
9057
9058 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9059
db0406bb 90602011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9061
4d90d6d0
DK
9062 * mail/supercite.el (sc-default-cite-frame):
9063 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9064
eb8a5e9b
GM
90652011-05-24 Glenn Morris <rgm@gnu.org>
9066
f8630703
GM
9067 * progmodes/python.el (brm-menu): Declare.
9068
8831bbed
GM
9069 * emulation/viper.el (viper-set-hooks): Declare.
9070
eb8a5e9b
GM
9071 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9072 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9073 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9074 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9075 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9076 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9077
a2a25d24
SM
90782011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 Add an :exit-function for completion-at-point.
9081
9082 * minibuffer.el (completion--done): New fun.
9083 (completion--do-completion): Use it. New arg `expect-exact'.
9084 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9085 since completion--do-completion does it for us now.
9086 (minibuffer-force-complete): Use completion--done and
9087 completion--replace. Handle sole-completion case with more care.
9088 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9089 (completion-extra-properties): New var.
9090 (completion-annotate-function): Make obsolete.
9091 (minibuffer-completion-help): Adjust accordingly.
9092 Use completion-list-insert-choice-function.
9093 (completion-at-point, completion-help-at-point):
9094 Bind completion-extra-properties.
9095 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9096 * simple.el (completion-list-insert-choice-function): New var.
9097 (completion-setup-function): Preserve it.
9098 (choose-completion): Pay attention to it, shuffle the code a bit.
9099 (choose-completion-string): New arg `insert-function'.
9100
9101 * textmodes/bibtex.el: Convert to lexical binding.
9102 (bibtex-mode-map): Use completion-at-point.
9103 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9104 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9105 (bibtex-complete): Define as obsolete alias.
9106 (bibtex-complete-internal): Remove.
9107 (bibtex-format-entry): Remove unused sub-group in regexp.
9108 * shell.el (shell--command-completion-data)
9109 (shell-environment-variable-completion):
9110 * pcomplete.el (pcomplete-completions-at-point):
9111 * comint.el (comint--complete-file-name-data): Use :exit-function
9112 instead of completion-table-with-terminator so it also works for
9113 choose-completion.
9114
e44e373d
SM
91152011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9116
4f91a816
SM
9117 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9118
782fc819
SM
9119 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9120 (bug#8710).
9121
e44e373d
SM
9122 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9123
381987c3
KM
91242011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9125
9126 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9127 customization variable and implement: If non-nil, auto-fill will
9128 be inhibited while on topic's header line.
9129
b776bc70
VB
91302011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9131
9132 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9133 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9134 always have a solution in grid size = 5 cases.
9135 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9136 (5x5-solver-output, 5x5-log-buffer): New vars.
9137 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9138 Make these variables buffer local to achieve 5x5 multi-session-ness.
9139 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9140 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9141 (5x5-solve-suggest): New funs.
9142 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9143 randomize a grid so that we ensure that there is always a solution.
9144 (5x5-make-random-grid): Allow other movement than flipping.
9145
7de88b6e
KR
91462011-05-23 Kevin Ryde <user42@zip.com.au>
9147
9148 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9149 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9150 advice and passes PREDICATE.
9151
b1ef1257
SM
91522011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9153
bbca48fe
SM
9154 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9155 byte-compile-lambda if it's actually a lambda.
9156
b1ef1257
SM
9157 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9158 Fix function quoting. Use backquote better.
9159
92a9cc65
YS
91602011-05-22 Yuanle Song <sylecn@gmail.com>
9161
9162 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9163 matching (Bug#8516).
9164
f0fb8059
JA
91652011-01-22 Jari Aalto <jari.aalto@cante.net>
9166
9167 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9168 different face (Bug#8178).
9169
d5b44c93
CY
91702011-05-22 Chong Yidong <cyd@stupidchicken.com>
9171
9172 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9173 defface (Bug#8144).
9174
79106a44
SM
91752011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9c848d8a
SM
9177 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9178 funcall as well (bug#8712). Warn when performing those conversions.
9179 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9180
79106a44
SM
9181 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9182
88dfa756
GM
91832011-05-22 Glenn Morris <rgm@gnu.org>
9184
9185 * files.el (hack-local-variables-prop-line): Small simplifications.
9186 (hack-local-variables, hack-local-variables-prop-line):
9187 If MODE-ONLY, return the mode, rather than just `t'.
9188
b7cf2c79
SM
91892011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9192
3f1a8558
GM
91932011-05-21 Glenn Morris <rgm@gnu.org>
9194
7e4ccca3
GM
9195 * files.el (hack-local-variables-prop-line, hack-local-variables):
9196 If only interested in the mode, don't bother doing the other stuff.
9197
637d46ca
GM
9198 * image-mode.el (image-after-revert-hook):
9199 Redraw all frames on which the image is visible. (Bug#8567)
9200
973d955b
GM
9201 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9202
3f1a8558
GM
9203 * wid-edit.el (widget-checklist-match-inline):
9204 Fix 2011-04-19 change. (Bug#8649)
9205
96479927
SM
92062011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9207
1dcf791f
SM
9208 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9209 Also allow singlespace after single-letter capitals followed by a dot.
9210
96479927
SM
9211 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9212 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9213
35fd0881
N
92142011-05-20 Nix <nix@esperi.org.uk>
9215
9216 * files.el (basic-save-buffer-2):
9217 Fix handling of break-hardlink-on-save with non-existent files.
9218
82745640
DD
92192011-05-19 Deniz Dogan <deniz@dogan.se>
9220
9221 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9222 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9223
4a720484
GM
92242011-05-19 Glenn Morris <rgm@gnu.org>
9225
d1f21341
GM
9226 * progmodes/f90.el (f90-type-def-re):
9227 Handle "type, bind(c)". (Bug#8691)
9228
4a720484
GM
9229 * emacs-lisp/autoload.el (batch-update-autoloads):
9230 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9231
2fb0a219
MA
92322011-05-18 Michael Albinus <michael.albinus@gmx.de>
9233
9234 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9235 property for the correct connection in case of multihops.
9236
e565dd37
GM
92372011-05-18 Glenn Morris <rgm@gnu.org>
9238
c2571358 9239 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9240 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9241
e565dd37
GM
9242 Rationalize calendar handling of day and month abbrev-arrays.
9243 * calendar/calendar.el (calendar-customized-p): New function.
9244 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9245 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9246 Add :set function.
9247 (calendar-abbrev-length, calendar-day-abbrev-array)
9248 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9249 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9250 Elements may no longer be nil.
9251 (calendar-day-name, calendar-month-name):
9252 Update for changed nature of abbrev arrays.
9253 * calendar/diary-lib.el (diary-name-pattern):
9254 Update for changed nature of abbrev arrays.
9255 (diary-mark-entries-1): Update calendar-make-alist calls.
9256 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9257 * calendar/cal-html.el (cal-html-day-abbrev-array):
9258 Simply inherit from calendar-day-abbrev-array.
9259
1d99a745
SM
92602011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * progmodes/grep.el (grep-mode): Disable default
9263 compilation-directory-matcher setting (bug#8684).
9264
7c1d9aa0
MA
92652011-05-17 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9268 instead of "head" and "tail". There were problems with SunOS 5.9,
9269 and it performs better.
9270
3952e9d8
GM
92712011-05-17 Glenn Morris <rgm@gnu.org>
9272
2dd12e7f
GM
9273 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9274
e4157b9c
GM
9275 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9276 Replace obsolete function.
9277
8e249bbd
GM
9278 * shell.el (pcomplete-parse-arguments-function): Declare.
9279
3952e9d8
GM
9280 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9281 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9282 (appt-check): Doc fixes.
9283 (appt-disp-window-function, appt-delete-window-function):
9284 Remove needless special case in custom :type.
9285 (appt-display-count): Default to 0, not nil.
9286 (appt-check): Reset appt-display-count to 0, not nil.
9287
c71a0d48 92882011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9289
c71a0d48
GM
9290 * progmodes/python.el (python-font-lock-keywords):
9291 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9292
31d55be9
SM
92932011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9294
9295 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9296
3bfacb2f
KR
92972011-05-16 Kevin Ryde <user42@zip.com.au>
9298
9299 * info-look.el (makefile-automake-mode): New setups, looking in
9300 automake manual, then makefile-mode.
9301 (makefile-mode): Remove automake manual, have it just in
9302 makefile-automake-mode since there's various things different or
9303 not relevant to plain make.
9304 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9305 believe a hypothetical automake-mode would go to makefile-mode,
9306 not the other way around.
9307
c8e83751
CY
93082011-05-15 Chong Yidong <cyd@stupidchicken.com>
9309
5e9e35cd
CY
9310 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9311 hunk-end tags (Bug#8672).
9312
c8e83751
CY
9313 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9314 vc-annotate-show-diff-revision-at-line (Bug#8671).
9315
50b23e5a
GM
93162011-05-14 Glenn Morris <rgm@gnu.org>
9317
7210a739
GM
9318 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9319 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9320 (change-log-font-lock-keywords): Also handle multiple author lines
9321 with leading tabs. (Bug#8644)
7210a739 9322
4691905a
GM
9323 * calendar/appt.el (appt-check): Rename some local variables.
9324 Some simplification/reordering.
9325
50b23e5a
GM
9326 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9327 (feedmail-sendmail-f-doesnt-sell-me-out)
9328 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9329 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9330 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9331 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9332 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9333 (feedmail-binmail-gnulinuxish-template):
9334 Rename from feedmail-binmail-linuxish-template.
9335 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9336 Use insert-buffer-substring.
9337
215cda7c
BC
93382011-05-14 Bill Carpenter <bill@carpenter.org>
9339
9340 * mail/feedmail.el (feedmail-patch-level): Increase.
9341 (feedmail-debug): New custom group.
9342 (feedmail-confirm-outgoing-timeout)
9343 (feedmail-sendmail-f-doesnt-sell-me-out)
9344 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9345 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9346 (feedmail-sender-line, feedmail-from-line)
9347 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9348 (feedmail-spray-this-address)
215cda7c
BC
9349 (feedmail-spray-address-fiddle-plex-list)
9350 (feedmail-queue-use-send-time-for-date)
9351 (feedmail-queue-use-send-time-for-message-id)
9352 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9353 (feedmail-buffer-eating-function):
9354 Doc fixes.
9355 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9356 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9357 (feedmail-message-action-scroll-down): New functions.
9358 (feedmail-queue-directory, feedmail-queue-draft-directory):
9359 Use expand-file-name.
9360 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9361 Remove C-v help entry.
9362 (feedmail-queue-buffer-file-name): New variable.
9363 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9364 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9365 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9366 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9367 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9368 (feedmail-message-action-toggle-spray)
9369 (feedmail-run-the-queue-no-prompts)
9370 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9371 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9372 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9373 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9374 (feedmail-envelope-deducer, feedmail-fiddle-from)
9375 (feedmail-fiddle-sender, feedmail-default-date-generator)
9376 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9377 (feedmail-fiddle-spray-address)
9378 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9379 (feedmail-fiddle-list-of-fiddle-plexes)
9380 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9381 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9382 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9383 Change default. Doc fix.
9384 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9385 (feedmail-binmail-linuxish-template): New constant.
9386 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9387 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9388 (feedmail-send-it): Add debug call.
9389 Use feedmail-queue-buffer-file-name, and
9390 feedmail-send-it-immediately-wrapper.
9391 (feedmail-message-action-send): Add debug call.
9392 Use feedmail-send-it-immediately-wrapper.
9393 (feedmail-queue-express-to-queue): Add debug call.
9394 Run feedmail-queue-express-hook.
9395 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9396 (feedmail-message-action-help-blat):
9397 Rename from feedmail-queue-send-edit-prompt-help-first.
9398 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9399 Check line-endings. Handle errors better.
9400 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9401 Doc fix. Add debug call.
9402 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9403 Use feedmail-queue-send-edit-prompt-inner.
9404 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9405 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9406 from feedmail-queue-send-edit-prompt.
9407 (feedmail-queue-send-edit-prompt-help)
9408 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9409 (feedmail-tidy-up-slug): Add debug call.
9410 Respect feedmail-queue-slug-suspect-regexp.
9411 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9412 (feedmail-dump-message-to-queue): Add debug call.
9413 Expand queue-directory.
9414 (feedmail-dump-message-to-queue): Change message slightly.
9415 Use feedmail-say-chatter.
9416 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9417 (feedmail-send-it-immediately-wrapper): New function.
9418 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9419 Insert empty string rather than newline. Handle full-frame case.
9420 Use catch/throw. Use feedmail-say-chatter.
9421 (feedmail-fiddle-from): Try mail-host-address.
9422 (feedmail-default-message-id-generator): Doc fix.
9423 Bind system-time-locale. Handle missing end.
9424 (feedmail-fiddle-x-mailer): Add debug call.
9425 Handle feedmail-x-mailer-line being nil.
9426 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9427 Add debug call. Use buffer-substring-no-properties.
9428 (feedmail-say-debug, feedmail-say-chatter): New functions.
9429 (feedmail-find-eoh): Give an explicit error.
9430
42c7e61e
UJ
94312011-05-13 Ulf Jasper <ulf.jasper@web.de>
9432
c2571358 9433 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9434 family from helvetica to sans.
c2571358 9435 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9436 etc/images/newsticker.
9437
c2571358 9438 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9439 family from helvetica to sans.
9440
9441 * net/newst-plainview.el (newsticker-new-item-face)
9442 (newsticker-old-item-face, newsticker-immortal-item-face)
9443 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9444 (newsticker-statistics-face): Change default family from
42c7e61e 9445 helvetica to sans.
c2571358 9446 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9447 etc/images/newsticker.
9448
9449 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9450 (newsticker--process-auto-mark-filter-match): : Tell user about
9451 auto-marking.
9452
8497a297
DV
94532011-05-13 Didier Verna <didier@xemacs.org>
9454
9455 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9456 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9457 TODO entries.
8497a297
DV
9458 (lisp-lambda-list-keyword-parameter-indentation)
9459 (lisp-lambda-list-keyword-parameter-alignment)
9460 (lisp-lambda-list-keyword-alignment): New customizable user options.
9461 (lisp-indent-defun-method): Improve docstring.
9462 (extended-loop-p): Fix comment.
9463 (lisp-indent-lambda-list-keywords-regexp): New variable.
9464 (lisp-indent-lambda-list): New function.
9465 (lisp-indent-259): Use it.
9466 (lisp-indent-defmethod): Support for more than one
9467 method qualifier and properly indent methods lambda-lists.
9468 (defgeneric): Provide a missing common-lisp-indent-function property.
9469
f278f87f
SM
94702011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9473 bounds for the empty string (bug#8667).
9474
5233edd7
GM
94752011-05-13 Glenn Morris <rgm@gnu.org>
9476
5237a44f
GM
9477 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9478
8340026c 9479 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9480 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9481
5233edd7 9482 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9483 (appt-time-msg-list): Doc fix.
a5464014 9484 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9485
92d10796
AS
94862011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9487
9488 * progmodes/ld-script.el (ld-script-keywords)
9489 (ld-script-builtins): Update keywords list.
9490
914a0ae1
SM
94912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9492
c89be45f
SM
9493 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9494
914a0ae1
SM
9495 * shell.el (shell-completion-vars): New function.
9496 (shell-mode):
9497 * simple.el (read-shell-command): Use it.
9498 (blink-matching-open): No need for " [...]" in minibuffer-message.
9499
98dc3df3
GM
95002011-05-12 Glenn Morris <rgm@gnu.org>
9501
9502 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9503 (appt-check): Simplify.
9504
d2fc7e3d 95052011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9506
4d61f28d 9507 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9508 literal "/dev/null".
9509
d2fc7e3d 95102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9511
9512 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9513 Fix typo.
9514
d2fc7e3d 95152011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9516
3f254caa
SM
9517 * progmodes/which-func.el (which-function):
9518 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9519 which might not be defined (Bug#8260).
9520
d45885f7
GM
95212011-05-12 Glenn Morris <rgm@gnu.org>
9522
9523 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9524 Let byte-compile-initial-macro-environment always take precedence.
9525
488086f4
SM
95262011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * net/rcirc.el: Add support for SSL/TLS connections.
9529 (rcirc-server-alist): New field `encryption'.
9530 (rcirc): Check `encryption' settings.
9531 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9532 Merge make-local-variable into `set'.
9533 (rcirc--connection-open-p): New function.
9534 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9535 the process is not a network process (e.g. running gnutls-cli).
9536 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9537 Make rcirc-(en|de)code-coding-system local here.
9538 (rcirc-mode): Merge make-local-variable into `set'.
9539 (rcirc-parent-buffer): Make permanent buffer-local.
9540 (rcirc-multiline-minor-mode): Don't do it here.
9541 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9542 there's no server buffer.
9543
7d3b9d44
GM
95442011-05-11 Glenn Morris <rgm@gnu.org>
9545
f64049c6
GM
9546 * newcomment.el (comment-kill): Prefix "unused" local.
9547
93c9df73
GM
9548 * term/w32console.el (get-screen-color): Declare.
9549
7d3b9d44
GM
9550 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9551 Handle symbol elements of byte-compile-initial-macro-environment.
9552
9e2dd53f
LL
95532011-05-10 Leo Liu <sdl.web@gmail.com>
9554
488086f4
SM
9555 * bookmark.el (bookmark-bmenu-mode-map):
9556 Bind bookmark-bmenu-search to `/'.
8b340240 9557
9e2dd53f 9558 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9559 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9560 (Footnote-unicode): New function.
9561 (footnote-style-alist): Add unicode style to the list.
9562 (footnote-style): Doc fix.
9e2dd53f 9563
79b70037
GM
95642011-05-10 Jim Meyering <meyering@redhat.com>
9565
9566 Fix doubled-word typos.
9567 * international/quail.el (quail-insert-kbd-layout): and and -> and
9568 * kermit.el: and and -> and
9569 * net/ldap.el (ldap-search-internal): to to -> to
9570 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9571 * progmodes/js.el (js-mode): and and -> and
9572 * textmodes/artist.el (artist-move-to-xy): at at -> at
9573 (artist-draw-region-trim-line-endings): if if -> if
9574 And Safetyc -> Safety.
9575 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9576
b8f82dc1 95772011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9578 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9579
9580 * files.el (hack-one-local-variable-eval-safep):
9581 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9582
4f99f44b
GM
95832011-05-10 Glenn Morris <rgm@gnu.org>
9584
9585 * calendar/diary-lib.el (diary-list-entries-hook)
9586 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9587 (diary-nongregorian-marking-hook, diary-list-entries)
9588 (diary-include-other-diary-files, diary-mark-entries)
9589 (diary-mark-included-diary-files): Doc fixes.
9590
84f29e6b
JB
95912011-05-09 Juanma Barranquero <lekktu@gmail.com>
9592
9593 * misc.el: Require tabulated-list.el during compilation.
9594
9bedd73a
CY
95952011-05-09 Chong Yidong <cyd@stupidchicken.com>
9596
488086f4
SM
9597 * progmodes/compile.el (compilation-start):
9598 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9599 (compilation-filter-hook): Doc fix.
9600
797c735c
DD
96012011-05-09 Deniz Dogan <deniz@dogan.se>
9602
9603 * wdired.el: Remove outdated installation comment. Fix usage
9604 comment.
9605
5f4b1dfe
JB
96062011-05-09 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * misc.el: Implement new command `list-dynamic-libraries'.
9609 (list-dynamic-libraries--loaded-only-p): New variable.
9610 (list-dynamic-libraries--refresh): New function.
9611 (list-dynamic-libraries): New command.
9612
4c44026c
CY
96132011-05-09 Chong Yidong <cyd@stupidchicken.com>
9614
488086f4
SM
9615 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9616 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9617 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9618 higher priority to avoid clobbering by gnu.
9619
027f966d
CY
96202011-05-08 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9623 if the face has existing theme settings (Bug#8454).
9624
085f5d7d
CY
96252011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9626
488086f4
SM
9627 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9628 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9629
2a86a00c
RS
9630 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9631 special file names `.' and `..' (Bug#8259).
9632
d9c54a06
CY
96332011-05-08 Chong Yidong <cyd@stupidchicken.com>
9634
488086f4
SM
9635 * progmodes/grep.el (grep-mode-font-lock-keywords):
9636 Remove buffer-changing entries.
d9c54a06
CY
9637 (grep-filter): New function.
9638 (grep-mode): Add it to compilation-filter-hook.
9639
9640 * progmodes/compile.el (compilation-filter-hook)
9641 (compilation-filter-start): New defvars.
9642 (compilation-filter): Call compilation-filter-hook prior to
9643 updating the process mark.
9644
c4662635
SM
96452011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9648
b0512a1d
EZ
96492011-05-07 Eli Zaretskii <eliz@gnu.org>
9650
605c9376
EZ
9651 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9652 mailclient-send-it even if window-system is nil. (Bug#8595)
9653
c4662635
SM
9654 * term/w32console.el (terminal-init-w32console):
9655 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9656 background-mode. (Bug#8597)
9657
d1dc2cc2
SM
96582011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9661 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9662 New functions.
9663 (defgeneric, eieio--defmethod): Use them.
9664 (eieio-defgeneric): Remove.
9665 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9666
915d1300
GM
96672011-05-07 Glenn Morris <rgm@gnu.org>
9668
a3961c3e
GM
9669 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9670 Use let rather than let*.
9671 (timeclock-find-discrep): Remove unused local.
9672
314347b9
GM
9673 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9674
915d1300
GM
9675 * calendar/appt.el (appt-time-msg-list): Doc fix.
9676
275b59b0
NF
96772011-05-06 Noah Friedman <friedman@splode.com>
9678
9679 * apropos.el (apropos-print-doc): Only use
9680 emacs-lisp-docstring-fill-column when it is bound to an integer,
9681 per that variable's documentation.
9682
6c19f744
SM
96832011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9684
9685 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9686 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9687
60f884b2
GM
96882011-05-06 Glenn Morris <rgm@gnu.org>
9689
5006e634
GM
9690 * calendar/appt.el (appt-message-warning-time): Doc fix.
9691 (appt-warning-time-regexp): New option.
9692 (appt-make-list): Respect appt-message-warning-time.
9693
548d0a63
GM
9694 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9695 New options.
9696 (diary-add-to-list): Strip comments from the displayed string.
9697 (diary-mode): Set comment-start and comment-end.
9698
60f884b2
GM
9699 * vc/diff-mode.el (smerge-refine-subst): Declare.
9700 (diff-refine-hunk): Don't require smerge-mode when compiling.
9701
989681bb
JB
97022011-05-06 Juanma Barranquero <lekktu@gmail.com>
9703
9704 * simple.el (list-processes): Return nil as the docstring says.
9705
a6bc05e1
MA
97062011-05-05 Michael Albinus <michael.albinus@gmx.de>
9707
9708 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9709 to "".
9710 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9711 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9712 determining of binary transfer. (Bug#7383)
9713
23c22e9a
MA
97142011-05-05 Michael Albinus <michael.albinus@gmx.de>
9715
c4662635
SM
9716 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9717 Fix port computation bug. (Bug#8618)
23c22e9a 9718
0bff894f
GM
97192011-05-05 Glenn Morris <rgm@gnu.org>
9720
b8296902
GM
9721 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9722
1f522ce8
GM
9723 * simple.el (shell-dynamic-complete-functions)
9724 (comint-dynamic-complete-functions): Declare.
9725
cf5bee67
GM
9726 * net/network-stream.el (gnutls-negotiate):
9727 * simple.el (tabulated-list-print): Fix declarations.
9728
9729 * progmodes/gud.el (syntax-symbol, syntax-point):
9730 Remove unnecessary and incorrect declarations.
9731
0bff894f
GM
9732 * emacs-lisp/check-declare.el (check-declare-scan):
9733 Handle byte-compile-initial-macro-environment in bytecomp.el
9734
9869b3ae
SM
97352011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 Fix earlier half-done eieio-defmethod change (bug#8338).
9738 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9739 Streamline and change calling convention.
9740 (defmethod): Adjust accordingly and simplify.
9741 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9742 new eieio--defmethod.
9743 (slot-boundp): Minor CSE simplification.
9744
9c1d5ac5
MZ
97452011-05-05 Milan Zamazal <pdm@zamazal.org>
9746
9747 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9748 (glasses-make-readable): Use glasses-separate-capital-groups.
9749
455c834e
JB
97502011-05-05 Juanma Barranquero <lekktu@gmail.com>
9751
9752 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9753 (warning-series): Doc fix.
9754 (display-warning): Don't try to create the buffer if we just found it.
9755
9ed7c8cb
CY
97562011-05-04 Chong Yidong <cyd@stupidchicken.com>
9757
9758 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9759 (autoload-find-generated-file): New function.
9760 (generate-file-autoloads): Bind generated-autoload-file to
9761 buffer-file-name.
9869b3ae
SM
9762 (update-file-autoloads, update-directory-autoloads):
9763 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9764 output file (Bug#7989).
9765 (batch-update-autoloads): Doc fix.
9766
0898ca10
JB
97672011-05-04 Juanma Barranquero <lekktu@gmail.com>
9768
9769 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9770
31dfb76c
GM
97712011-05-04 Glenn Morris <rgm@gnu.org>
9772
f330b642
GM
9773 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9774 function, so it follows changes in calendar-date-style.
9775 (diary-fancy-date-matcher): New function.
9776 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9777 (diary-fancy-font-lock-fontify-region-function):
9778 Use diary-fancy-date-pattern as a function.
9779
31dfb76c
GM
9780 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9781 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9782
48e79d6a
TZ
97832011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9784
9785 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9786 instead of positional arguments. Allow :keylist and :crlfiles
9787 arguments.
9788 (open-gnutls-stream): Call it.
9789
9790 * net/network-stream.el (network-stream-open-starttls): Adjust to
9791 call `gnutls-negotiate' with :process and :hostname arguments.
9792
dd5a5ee0
SM
97932011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9794
ef80fc09
SM
9795 * minibuffer.el (completion--message): New function.
9796 (completion--do-completion, minibuffer-complete)
9797 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9798 (completion--do-completion): Don't ignore completion-auto-help when in
9799 icomplete-mode.
9800
dd5a5ee0
SM
9801 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9802 internal encoding (e.g. tibetan zero is not whitespace).
9803 (global-whitespace-mode): Prefer save-current-buffer.
9804 (whitespace-trailing-regexp): Remove useless save-match-data.
9805 (whitespace-empty-at-bob-regexp): Minor simplification.
9806
b7d22a83
CY
98072011-05-03 Chong Yidong <cyd@stupidchicken.com>
9808
9809 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9810
5192af46
AM
98112011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9812
9813 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9814 Use `concat' to create string for insertion.
5192af46 9815
5767d190
SM
98162011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9819 Avoid open-line which runs post-self-insert-hook.
9820 (bibtex-fill-entry): Remove unused `end' var.
9821
bf242939
AM
98222011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9823
5767d190
SM
9824 * textmodes/ispell.el (ispell-add-per-file-word-list):
9825 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9826
25666126
LL
98272011-05-03 Leo Liu <sdl.web@gmail.com>
9828
9829 * isearch.el (isearch-yank-pop): New command.
5767d190 9830 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9831 (isearch-forward): Mention it.
9832
52d3c2d0
SM
98332011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9834
1bcace58
SM
9835 * simple.el (minibuffer-complete-shell-command): Remove.
9836 (minibuffer-local-shell-command-map): Use completion-at-point.
9837 (read-shell-command): Setup completion vars here instead.
9838 (read-expression-map): Bind TAB to symbol completion.
9839
52d3c2d0
SM
9840 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9841 error directly rather via storing it into `results'.
9842
35813471
LL
98432011-05-02 Leo Liu <sdl.web@gmail.com>
9844
9845 * vc/diff.el: Fix description.
9846
e793a940
LMI
98472011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9848
9849 * server.el (server-eval-at): New function.
9850
8de66e05
LMI
98512011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852
9853 * net/network-stream.el (open-network-stream): Take a :nowait
9854 parameter and pass it on to `make-network-process'.
9855 (network-stream-open-plain): Ditto.
9856
dcb79f20
AS
98572011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9858
9859 * faces.el (face-spec-set-match-display): Don't match toolkit
9860 options on terminal frames.
9861
14a7fbd8
SM
98622011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9863
7eabc1be
SM
9864 * progmodes/pascal.el: Use lexical binding.
9865 (pascal-mode-map): Remove author preferences.
9866
14a7fbd8
SM
9867 * pcomplete.el (pcomplete-std-complete): Don't abuse
9868 completion-at-point.
9869
50f84510
JB
98702011-04-28 Juanma Barranquero <lekktu@gmail.com>
9871
6e087a44
JB
9872 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9873 removing code that has been dead since 1991 or so.
9874
50f84510
JB
9875 * startup.el (command-line): When warning about "_emacs", use a
9876 delayed warning to allow the user to filter it out.
9877
0ba690bd
DD
98782011-04-28 Deniz Dogan <deniz@dogan.se>
9879
9880 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9881 user has not joined.
9882
08abfaad
SM
98832011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9886 aren't any completions at point.
9887
638f053a
JB
98882011-04-28 Juanma Barranquero <lekktu@gmail.com>
9889
9890 * subr.el (display-delayed-warnings): New function.
9891 (delayed-warnings-hook): New variable.
9892
8fff8daa
SM
98932011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9894
08abfaad
SM
9895 * minibuffer.el (completion-at-point, completion-help-at-point):
9896 Don't presume that a given completion-at-point-function will always
9897 use the same calling convention.
9898
8fff8daa
SM
9899 * pcomplete.el (pcomplete-completions-at-point):
9900 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9901 pcomplete-seen is non-nil.
9902 (pcomplete-comint-setup): Also recognize the new comint/shell
9903 completion functions.
9904 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9905 pcomplete-seen is non-nil.
9906
841a1577 99072011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9908
841a1577 9909 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9910 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9911 the first character in the entry. This allows for code to add its
211ec907
UJ
9912 own uid to the entry.
9913 (icalendar--convert-float-to-ical): Add export of
9914 `diary-float'-entries save for those with the optional DAY
9915 argument.
9916
2a782793
DC
99172011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9918
9919 * subr.el (shell-quote-argument): Use alternate escaping strategy
9920 when we spot a variable reference in a string.
9921
0438ce91
DC
99222011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9923
9924 * cus-start.el (all): Define customization for debug-on-event.
9925
841a1577 99262011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9927
9928 * subr.el (shell-quote-argument): Escape correctly under Windows.
9929
d090ed6c
SM
99302011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9933
bfd31217
MA
99342011-04-25 Michael Albinus <michael.albinus@gmx.de>
9935
d090ed6c
SM
9936 * net/tramp.el (tramp-process-actions): Add POS argument.
9937 Delete region between POS and (pos).
bfd31217 9938
d090ed6c
SM
9939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9940 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9941 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9942
9943 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9944 position in `tramp-process-actions' call.
9945
9946 * net/trampver.el: Update release number.
9947
e92f3bd3
SM
99482011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9949
850256b5
SM
9950 * custom.el (defcustom): Obey lexical-binding.
9951
e92f3bd3
SM
9952 Fix octave-inf completion problems reported by Alexander Klimov.
9953 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9954 Inherit from octave-mode-syntax-table.
9955 (inferior-octave-mode): Set info-lookup-mode.
9956 (inferior-octave-completion-at-point): New function.
9957 (inferior-octave-complete): Use it and completion-in-region.
9958 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9959 comint-filename-completion.
9960 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9961 symbol elements which shouldn't be word elements.
9962 (octave-font-lock-keywords, octave-beginning-of-defun)
9963 (octave-function-header-regexp): Adjust regexps accordingly.
9964 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9965
cd22b309
JB
99662011-04-25 Juanma Barranquero <lekktu@gmail.com>
9967
9968 * net/gnutls.el (gnutls-errorp): Declare before first use.
9969
8b492194
TZ
99702011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9971
9972 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9973 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9974 default trustfile exists before going to use it. Add missing
5a5fa834 9975 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9976 Reported by Claudio Bley <claudio.bley@gmail.com>.
9977 (open-gnutls-stream): Add usage example.
9978
9979 * net/network-stream.el (network-stream-open-starttls): Give host
9980 parameter to `gnutls-negotiate'.
9981 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9982 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9983
841a1577 99842011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9985
cd22b309
JB
9986 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9987 Use correct match group (bug#8438).
05842630 9988
3ba7869c
CY
99892011-04-24 Chong Yidong <cyd@stupidchicken.com>
9990
512e3ae1
CY
9991 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9992 (package-menu--generate): New arg specifying packages to show.
9993 (package-menu-refresh, package-menu-execute, list-packages):
9994 Callers changed.
9995 (package-show-package-list): New function, replacing deleted
9996 package--list-packages (renamed because it is non-internal).
9997
9998 * finder.el (finder-list-matches): Use package-show-package-list
9999 instead of deleted package--list-packages.
10000
e92f3bd3
SM
10001 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10002 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10003 (vc-annotate-mode-map): Bind it to RET.
10004
7031be6d
UR
100052011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10006
10007 * progmodes/etags.el (next-file): Don't use set-buffer to change
10008 buffers (Bug#8478).
10009
4ef177aa
CY
100102011-04-24 Chong Yidong <cyd@stupidchicken.com>
10011
c8d173eb
CY
10012 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10013
4ef177aa
CY
10014 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10015 (apropos-accumulator): Doc fix.
10016 (apropos-function, apropos-macro, apropos-command)
10017 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10018 (apropos-plist): Add face property.
10019 (apropos-symbols-internal): Fix indentation.
10020 (apropos-print): Simplify help, and recognize apropos-multi-type.
10021 (apropos-print-doc): Use button-type-get to extract the button's
10022 face property. Fill docstring (Bug#8352).
10023
4ffd0d6b 100242011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10025
10026 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10027
c6c32125 10028 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10029 (mpuz-mode-map): Use mapc.
c6c32125
JB
10030 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10031 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10032 Fix typos in docstrings.
10033
58d468b4
JB
10034 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10035 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10036
6470c3c6
JB
10037 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10038
4ffd0d6b 100392011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10040
10041 * minibuffer.el (completion--do-completion): Avoid the "Next char
10042 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10043
3ad8bad0
CY
10044 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10045 mouse-2 into unread-command-events, it is interpreted correctly.
10046
71d73c9c 10047 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10048 (image-toggle-display): Doc fix.
71d73c9c 10049
841a1577 100502011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10051
4ffd0d6b
GM
10052 * textmodes/page.el (what-page): Use line-number-at-pos to
10053 calculate line number (Bug#6825).
6e1dbaa9 10054
c2fb1b60
JB
100552011-04-22 Juanma Barranquero <lekktu@gmail.com>
10056
10057 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10058 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10059 Pass argument NO-DEFAULT to `find-tag-interactive'.
10060
e02f48d7
JB
100612011-04-22 Juanma Barranquero <lekktu@gmail.com>
10062
10063 Lexical-binding cleanup.
10064
10065 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10066 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10067 * progmodes/ada-prj.el (ada-prj-initialize-values)
10068 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10069 (ada-prj-show-value):
10070 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10071 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10072 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10073 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10074 * progmodes/bug-reference.el (bug-reference-push-button):
10075 * progmodes/fortran.el (fortran-line-length):
10076 * progmodes/glasses.el (glasses-change):
10077 * progmodes/octave-mod.el (octave-fill-paragraph):
10078 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10079 (python-pdbtrack-grub-for-buffer, python-sentinel):
10080 * progmodes/sql.el (sql-save-connection):
10081 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10082 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10083 Mark unused parameters.
10084
10085 * progmodes/compile.el (compilation--flush-directory-cache)
10086 (compilation--flush-parse, compile-internal): Mark unused parameters.
10087 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10088 (compilation-next-error-function): Remove unused variable `timestamp'.
10089
10090 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10091 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10092
10093 * progmodes/dcl-mode.el (dcl-end-of-command):
10094 Remove unused variable `start'.
10095 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10096 (dcl-option-value-basic, dcl-option-value-offset)
10097 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10098 Mark unused parameters.
10099 (dcl-save-local-variable): Remove unused variable `val'.
10100 (mode): Declare.
10101
10102 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10103 Mark unused parameters.
10104 (delphi-ignore-changes): Move before first use.
10105 (delphi-charset-token-at): Remove unused variable `start'.
10106 (delphi-else-start): Remove unused variable `if-count'.
10107 (delphi-comment-block-start, delphi-comment-block-end):
10108 Remove unused variable `kind'.
10109 (delphi-indent-line): Remove unused variable `new-point'.
10110
10111 * progmodes/ebrowse.el (ebrowse-files-list)
10112 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10113 Mark unused parameters. Don't quote `lambda'.
10114 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10115 Don't quote `lambda'.
10116 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10117 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10118 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10119 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10120 Use `ignore-errors'.
10121 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10122 (ebrowse-view/find-file-and-search-pattern)
10123 (ebrowse-view/find-member-declaration/definition):
10124 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10125 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10126 Rename parameter PREFIX-ARG to PREFIX.
10127 (ebrowse-tags-read-name): Remove unused variables `start' and
10128 `member-info'.
10129 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10130 to `tags-file'.
10131
10132 * progmodes/etags.el (local-find-tag-hook): Declare.
10133 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10134 Mark unused parameters.
10135
10136 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10137 (executable-interpret): Mark unused parameter.
10138
10139 * progmodes/flymake.el (flymake-process-sentinel)
10140 (flymake-after-change-function)
10141 (flymake-create-temp-with-folder-structure)
10142 (flymake-get-include-dirs-dot): Mark unused parameters.
10143 (flymake-safe-delete-directory): Remove unused variable `err'.
10144
10145 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10146 (speedbar-timer-fn, speedbar-line-text)
10147 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10148 (speedbar-center-buffer-smartly): Declare functions.
10149 (gdb-find-watch-expression): Remove unused variable `array'.
10150 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10151 (gdb-starting): Mark unused parameters.
10152 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10153 (gdb-table-string): Remove unused variable `res'.
10154 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10155 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10156 (gdb-display-buffer): Remove unused variable `cur-size'.
10157
10158 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10159 allow lexical-binding compilation.
10160 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10161 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10162 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10163 Mark unused parameters.
10164 (gud-gdb-marker-filter): Remove unused variable `match'.
10165 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10166 lambda expressions and funcall them, instead of using `fset'.
10167
10168 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10169 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10170
10171 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10172 variable `header-beg'; use `let'.
10173
10174 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10175 `restart', `last-sexp' and `at-do'.
10176
10177 * progmodes/js.el (js--debug): Mark unused parameter.
10178 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10179 (js--splice-into-items): Remove unused variable `item'.
10180 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10181
10182 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10183 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10184 (makefile-complete): Remove unused variable `try'.
10185 (makefile-fill-paragraph, makefile-match-function-end):
10186 Mark unused parameters.
10187
10188 * progmodes/octave-inf.el (inferior-octave-complete):
10189 Remove unused variable `proc'.
10190 (inferior-octave-output-digest): Mark unused parameter.
10191
10192 * progmodes/perl-mode.el (perl-calculate-indent):
10193 Remove unused variable `err'.
10194
10195 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10196 (prolog-indent-line): Mark unused parameters.
10197 (prolog-indent-line): Remove unused variable `beg'.
10198
10199 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10200 (reporter-dont-compact-list): Declare.
10201
10202 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10203 Remove unused variable `char'.
10204 (sh-debug): Mark unused parameter.
10205 (sh-get-indent-info): Remove unused variable `start'.
10206 (sh-calculate-indent): Remove unused variable `var'.
10207
10208 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10209 (simula-electric-keyword): Remove unused variable `null'.
10210 (simula-search-backward, simula-search-forward): Remove unused
10211 variables `begin' and `end'.
10212
10213 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10214 Remove unused variable `pos'.
10215 (vera-electric-tab, vera-comment-uncomment-region):
10216 Mark unused parameters.
10217 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10218
7ede3b65
CY
102192011-04-22 Chong Yidong <cyd@stupidchicken.com>
10220
10221 * emacs-lisp/package.el (package--builtins, package-alist)
10222 (package-load-descriptor, package-built-in-p, package-activate)
10223 (define-package, package-installed-p)
10224 (package-compute-transaction, package-buffer-info)
10225 (package--push): Doc fix. Distinguish more clearly between
10226 version strings and version lists.
10227
121656e9
JB
102282011-04-21 Juanma Barranquero <lekktu@gmail.com>
10229
10230 Lexical-binding cleanup.
10231
10232 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10233 (5x5-make-mutate-best):
10234 * play/fortune.el (fortune-in-buffer):
10235 * play/gomoku.el (gomoku-init-display):
10236 * play/solitaire.el (solitaire, solitaire-do-check):
10237 * play/tetris.el (tetris-default-update-speed-function):
10238 Mark unused parameters.
10239
10240 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10241 (bubbles--shift): Remove unused variable `char-org'.
10242 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10243 (bubbles--show-images): Remove unused variable `char'.
10244
10245 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10246 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10247 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10248 (decipher-analyze-buffer): Use ?\s.
10249 (decipher-make-checkpoint): Remove unused variable `mapping'.
10250
10251 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10252
10253 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10254 Remove unused variable `result'; use `let'.
10255
10256 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10257 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10258 (gametree-children-shown-p, gametree-compute-reduced-score):
10259 Use `ignore-errors'.
10260
10261 * play/handwrite.el (ps-lpr-switches): Declare.
10262 (handwrite): Remove unused variables `pmin' and `lastp'.
10263
10264 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10265
10266 * play/landmark.el (landmark-init-display)
10267 (landmark-update-naught-weights): Mark unused parameters.
10268 (landmark-y): Remove unused variable `noise'. Simplify.
10269 (landmark-human-plays): Remove unused variable `score'.
10270
10271 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10272 (mpuz-try-proposal): Remove unused variable `game'.
10273
10274 * play/zone.el (life-patterns): Declare.
10275
80f499c7
JB
102762011-04-20 Juanma Barranquero <lekktu@gmail.com>
10277
10278 * vc/vc.el (ediff-vc-internal): Declare function.
10279
024ff170
SM
102802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10281
c0a193ea
SM
10282 * shell.el: Use lexical-binding and std completion UI.
10283 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10284 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10285 comint-preoutput-filter-functions rather than on
10286 comint-output-filter-functions.
10287 (shell-command-completion, shell--command-completion-data)
10288 (shell-filename-completion, shell-environment-variable-completion)
10289 (shell-c-a-p-replace-by-expanded-directory): New functions.
10290 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10291 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10292 (shell-dynamic-complete-environment-variable): Use them.
10293 (shell-dynamic-complete-as-environment-variable)
10294 (shell-dynamic-complete-as-command): Remove.
10295 (shell-match-partial-variable): Match past point.
10296 * comint.el: Clean up use of completion-at-point-functions.
10297 (comint-completion-at-point): New function.
10298 (comint-mode): Use it completion-at-point-functions.
10299 (comint-dynamic-complete): Make it obsolete.
10300 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10301 (comint-c-a-p-replace-by-expanded-history): New function.
10302 (comint-dynamic-complete-functions)
10303 (comint-replace-by-expanded-history): Use it.
10304 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10305 termination strings. Try harder to avoid second try-completion.
10306 (completion-in-region-mode-map): Disable bindings that don't work yet.
10307
2dbaa080
SM
10308 * comint.el: Use lexical-binding. Require CL.
10309 (comint-dynamic-complete-functions): Use comint-filename-completion.
10310 (comint-completion-addsuffix): Tweak custom type.
10311 (comint-filename-completion, comint--common-suffix)
10312 (comint--common-quoted-suffix, comint--table-subvert)
10313 (comint--complete-file-name-data): New functions.
10314 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10315 (comint-dynamic-list-filename-completions): Use them.
10316 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10317
2dbaa080
SM
10318 * minibuffer.el (completion-in-region-mode):
10319 Keep completion-in-region-mode--predicate global.
10320 (completion-in-region--postch):
10321 Assume completion-in-region-mode--predicate is not null.
10322
c79a6f38
SM
10323 * progmodes/flymake.el (flymake-start-syntax-check-process):
10324 Obey `dir'. Simplify.
10325
024ff170
SM
10326 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10327 we're in VC after all.
10328
1c6c854e
CS
103292011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10330
10331 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10332 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10333 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10334
bed7f140
SM
103352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10336
332e62ab
SM
10337 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10338 add sanity check.
10339
bed7f140
SM
10340 * obsolete/erc-hecomplete.el: Make obsolete.
10341 * obsolete/: Standardize obsolescence info in the header.
10342
f195c582
GM
103432011-04-20 Glenn Morris <rgm@gnu.org>
10344
10345 * calendar/solar.el (solar-horizontal-coordinates):
10346 Use the longitude argument rather than `calendar-longitude'.
10347 (solar-date-next-longitude): Remove unused locals.
10348
cb79b8c0
VJL
103492011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10350
10351 * whitespace.el: New version 13.2.1.
10352
103532011-04-20 felix <EmacsWiki> (tiny change)
10354
d8e4b68b 10355 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10356 switching between major modes on a file.
10357
602ea69d
SM
103582011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10361 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10362 multi-line comments as well.
10363
06b60517
JB
103642011-04-19 Juanma Barranquero <lekktu@gmail.com>
10365
10366 Lexical-binding cleanup.
10367
10368 * arc-mode.el (archive-mode-revert):
10369 * cmuscheme.el (scheme-interactively-start-process):
10370 * custom.el (custom-initialize-delay):
10371 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10372 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10373 * emacs-lock.el (emacs-lock-clear-sentinel):
10374 * ezimage.el (defezimage):
10375 * follow.el (follow-avoid-tail-recenter):
10376 * fringe.el (set-fringe-mode-1):
10377 * generic-x.el (bat-generic-mode-compile):
10378 * help-mode.el (help-info-variable, help-do-xref)
10379 (help-mode-revert-buffer):
10380 * help.el (view-emacs-todo):
10381 * iswitchb.el (iswitchb-completion-help):
10382 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10383 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10384 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10385 * locate.el (locate-update):
10386 * longlines.el (longlines-encode-region)
10387 (longlines-after-change-function):
10388 * outline.el (outline-isearch-open-invisible):
10389 * ps-def.el (declare-function, charset-dimension, char-width)
10390 (encode-char):
10391 * ps-mule.el (ps-mule-plot-string):
10392 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10393 (recentf-edit-list-select, recentf-edit-list-validate)
10394 (recentf-open-files-action):
10395 * rect.el (delete-whitespace-rectangle-line)
10396 (rectangle-number-line-callback):
10397 * register.el (window-configuration-to-register)
10398 (frame-configuration-to-register):
10399 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10400 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10401 (xselect-convert-to-targets, xselect-convert-to-delete)
10402 (xselect-convert-to-filename, xselect-convert-to-charpos)
10403 (xselect-convert-to-lineno, xselect-convert-to-colno)
10404 (xselect-convert-to-os, xselect-convert-to-host)
10405 (xselect-convert-to-user, xselect-convert-to-class)
10406 (xselect-convert-to-name, xselect-convert-to-integer)
10407 (xselect-convert-to-atom, xselect-convert-to-identity):
10408 * subr.el (declare, ignore, process-kill-without-query)
10409 (text-clone-maintain):
10410 * terminal.el (te-get-char, te-tic-sentinel):
10411 * tool-bar.el (tool-bar-make-keymap):
10412 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10413 * type-break.el (type-break-mode, type-break-noninteractive-query):
10414 * view.el (View-back-to-mark):
10415 * wid-browse.el (widget-browse-action, widget-browse-widget)
10416 (widget-browse-widgets, widget-browse-sexp):
10417 * widget.el (define-widget-keywords):
10418 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10419 Mark unused parameters.
10420
10421 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10422 (align-areas): Remove unused variable `look'.
10423 (align-region): Remove unused variables `real-end' and `pos-list'.
10424
10425 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10426
10427 * bindings.el (mode-line-modified, mode-line-remote):
10428 Mark unused parameters.
10429 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10430
10431 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10432 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10433
10434 * comint.el (comint-history-isearch-pop-state)
10435 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10436 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10437 (comint-substitute-in-file-name): Doc fix.
10438
10439 * completion.el (cmpl-statistics-block): Mark unused parameter.
10440 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10441 (save-completions-to-file, load-completions-from-file):
10442 Remove unused local variable `e'.
10443
10444 * composite.el (compose-chars): Remove unused variable `len'.
10445 (lgstring-insert-glyph): Remove unused variable `g'.
10446 (compose-glyph-string): Remove unused variables `ascent',
10447 `descent', `lbearing' and `rbearing'.
10448 (compose-glyph-string-relative): Remove unused variables
10449 `lbearing', `rbearing' and `wadjust'.
10450 (compose-gstring-for-graphic): Remove unused variables `header',
10451 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10452 (compose-gstring-for-terminal): Remove unused variables `header'
10453 and `nchars'. Use `let', not `let*'.
10454
10455 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10456 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10457 (Custom-buffer-done, custom-buffer-create-internal)
10458 (custom-browse-visibility-action, custom-browse-group-tag-action)
10459 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10460 (widget-magic-mouse-down-action, custom-toggle-parent)
10461 (custom-add-parent-links, custom-toggle-hide-variable)
10462 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10463 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10464 (custom-face-menu-create, custom-variable-menu-create, get)
10465 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10466 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10467 (customize-apropos): Remove unused variable `tests'.
10468 (custom-group-value-create): Remove unused variable `hidden-p'.
10469 (sort-fold-case): Declare.
10470
10471 * cus-theme.el (custom-reset-standard-faces-list)
10472 (custom-reset-standard-variables-list): Declare.
10473 (customize-create-theme, custom-theme-revert, custom-theme-write)
10474 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10475 Mark unused parameters.
10476
10477 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10478
10479 * delim-col.el (delimit-columns-max): Move defvar before first use.
10480
10481 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10482 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10483
10484 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10485 (auto-insert): Declare.
10486 (desktop-restore-file-buffer): Rename desktop-* parameters;
10487 mark unused ones.
10488 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10489 (desktop-buffer): Rename desktop-* parameters.
10490
10491 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10492 (dframe-reposition-frame-xemacs, dframe-help-echo)
10493 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10494 Mark unused parameters.
10495
10496 * dired-aux.el (backup-extract-version-start, overwrite-query)
10497 (overwrite-backup-query, rename-regexp-query)
10498 (rename-non-directory-query): Declare.
10499 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10500 (dired-add-entry): Remove unused variable `orig-file-name'.
10501 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10502 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10503 `dired-copy-preserve-time' directly.
10504 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10505 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10506
10507 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10508 (dired-virtual-revert, dired-make-relative-symlink):
10509 Mark unused parameters.
10510 (manual-program): Declare.
10511 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10512 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10513 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10514
10515 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10516
10517 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10518
10519 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10520 Declare.
10521
10522 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10523
10524 * electric.el (Electric-command-loop): Rename parameter
10525 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10526
10527 * expand.el (expand-in-literal): Remove unused variable `here'.
10528
10529 * facemenu.el (facemenu-add-new-color):
10530 Remove unused variable `docstring'.
10531
10532 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10533 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10534 (face-attr-construct): Mark unused parameter. Doc fix.
10535 (read-color): Remove unused variable `hex-string'.
10536
10537 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10538 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10539 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10540 (display-buffer-other-frame): Remove unused variable `old-window'.
10541 (kill-buffer-hook): Declare.
10542 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10543 Mark unused parameters.
10544 (after-find-file): Pass 1 to `auto-save-mode', not t.
10545
10546 * files-x.el (auto-insert): Declare.
10547 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10548
10549 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10550 variable `buf'. Mark unused parameter.
06b60517
JB
10551 (find-lisp-insert-directory): Mark unused parameter.
10552
10553 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10554 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10555 (format-common-tail): Remove, unused.
10556 (format-deannotate-region): Remove unused variable `loc'.
10557 (format-annotate-region): Remove unused variable `p'.
10558 (format-annotate-single-property-change): Remove unused variables
10559 `default' and `tail'.
10560
10561 * forms.el (read-file-filter): Declare.
10562 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10563
10564 * frame.el (frame-creation-function-alist): Mark unused parameter.
10565 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10566
10567 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10568 Remove unused parameters.
10569 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10570 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10571
10572 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10573 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10574 (hfy-prepare-tag-map): Mark unused parameters.
10575 (htmlfontify-buffer): Use `called-interactively-p'.
10576
10577 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10578 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10579 (ibuffer-do-occur): Mark unused parameters.
10580 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10581 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10582
10583 * ibuffer.el: Don't quote `lambda'.
10584 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10585 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10586 Mark unused parameters.
10587
10588 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10589 (ido-completing-read): Mark unused parameters.
10590 (ido-copy-current-word): Mark unused parameters;
10591 remove unused variable `name'.
10592 (ido-sort-merged-list): Remove unused parameter `dirs'.
10593
10594 * ielm.el (ielm-input-sender): Mark unused parameter.
10595 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10596 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10597 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10598 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10599 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10600
10601 * image-dired.el (image-dired-display-thumbs): Remove unused
10602 variables `curr-file' and `count'.
10603 (image-dired-remove-tag): Remove unused variable `start'.
10604 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10605 variable `curr-file'
10606 (image-dired-rotate-original): Remove unused variable `temp-file'.
10607 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10608 Remove unused variable `file'.
10609 (image-dired-gallery-generate): Remove unused variable `curr'.
10610 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10611
10612 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10613
10614 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10615
10616 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10617
10618 * isearch.el (minibuffer-history-symbol): Declare.
10619 (isearch-edit-string): Remove unused variable `err'.
10620 (isearch-message-prefix, isearch-message-suffix):
10621 Mark unused parameters.
10622
10623 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10624
10625 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10626
10627 * makesum.el (double-column): Remove unused variable `cnt'.
10628
10629 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10630 (ido-ignore-item-temp-list): Declare.
10631
10632 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10633 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10634 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10635 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10636 `mouse-col-delta'.
10637
10638 * mouse-sel.el (mouse-extend-internal):
10639 Remove unused variable `orig-window-frame'.
10640
10641 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10642 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10643 Move declarations before first use.
10644 (pcomplete-opt): Mark unused parameters; doc fix.
10645
10646 * proced.el (proced-revert): Mark unused parameter.
10647 (proced-send-signal): Remove unused variable `err'.
10648
10649 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10650 Rename parameter PREFIX-ARG to ARG.
10651 (ps-basic-plot-string, ps-basic-plot-whitespace):
10652 Mark unused parameters.
10653
10654 * replace.el (replace-count): Define.
10655 (occur-revert-function): Mark unused parameters.
10656 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10657 (isearch-case-fold-search, isearch-string): Declare.
10658 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10659 bind `case-fold-search'. Remove unused variables `beg' and `end',
10660 and simplify.
10661 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10662 COUNT and bind `replace-count'.
10663 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10664 to COUNT.
10665
10666 * savehist.el (print-readably, print-string-length): Declare.
10667
10668 * shadowfile.el (shadow-expand-cluster-in-file-name):
10669 Remove unused variable `cluster'.
10670 (shadow-copy-file): Remove unused variable `i'.
10671 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10672 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10673 (shadow-define-literal-group, shadow-define-regexp-group)
10674 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10675
10676 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10677 (shell): Use `called-interactively-p'.
10678 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10679
10680 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10681 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10682 (delete-backward-char): Remove unused variable `ocol'.
10683 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10684 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10685 (event-apply-hyper-modifier, event-apply-shift-modifier)
10686 (event-apply-control-modifier, event-apply-meta-modifier):
10687 Mark unused parameters.
10688 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10689 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10690
10691 * speedbar.el (speedbar-ignored-directory-expressions)
10692 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10693 (speedbar-find-file, speedbar-dir-follow)
10694 (speedbar-directory-buttons-follow, speedbar-tag-find)
10695 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10696 (speedbar-buffers-line-directory, speedbar-buffer-click):
10697 Mark unused parameters.
10698 (speedbar-tag-file): Remove unused variable `mode'.
10699 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10700
10701 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10702
10703 * talk.el (talk): Remove unused variable `display'.
10704
10705 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10706 (tar-write-region-annotate): Mark unused parameter.
10707
10708 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10709 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10710 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10711 warning by another.
10712
10713 * time-stamp.el (time-stamp-string-preprocess):
10714 Remove unused variable `require-padding'.
10715
10716 * tree-widget.el (widget-glyph-enable): Declare.
10717 (tree-widget-action): Mark unused parameter.
10718
10719 * w32-fns.el (x-get-selection): Mark unused parameter.
10720 (autoload-make-program, generated-autoload-file): Declare.
10721
10722 * wdired.el (wdired-revert): Mark unused parameters.
10723 (wdired-xcase-word): Remove unused variable `err'.
10724
10725 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10726 (whitespace-help-scroll): Remove unused variable `data-help'.
10727
10728 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10729 (widget-image-insert, widget-after-change, default)
10730 (widget-default-format-handler, widget-default-notify)
10731 (widget-default-prompt-value, widget-info-link-action)
10732 (widget-url-link-action, widget-function-link-action)
10733 (widget-variable-link-action, widget-file-link-action)
10734 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10735 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10736 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10737 (widget-insert-button-action, widget-delete-button-action, visibility)
10738 (widget-documentation-link-action, widget-documentation-string-action)
10739 (widget-const-prompt-value, widget-regexp-match, symbol)
10740 (widget-coding-system-prompt-value)
10741 (widget-key-sequence-value-to-external, sexp)
10742 (widget-sexp-value-to-internal, character, vector, cons)
10743 (widget-choice-prompt-value, widget-boolean-prompt-value)
10744 (widget-color--choose-action): Mark unused parameters.
10745 (widget-item-match-inline, widget-choice-match-inline)
10746 (widget-checklist-match, widget-checklist-match-inline)
10747 (widget-group-match): Rename parameter VALUES to VALS.
10748 (widget-field-value-set): Remove unused variable `size'.
10749 (widget-color-action): Remove unused variables `value' and `start'.
10750
10751 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10752 variable `dir'. Doc fix.
06b60517
JB
10753 (windmove-find-other-window): Don't pass it.
10754
10755 * window.el (count-windows): Mark unused parameter.
10756 (bw-adjust-window): Remove unused variable `err'.
10757
10758 * woman.el (woman-file-name): Remove unused variable `default'.
10759 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10760 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10761 (global-font-lock-mode): Declare.
10762 (woman-decode-region): Mark unused parameter.
10763 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10764
10765 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10766 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10767 (x-dnd-handle-moz-url): Remove unused variable `title'.
10768 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10769
10770 * xml.el (xml-parse-tag, xml-parse-attlist):
10771 Remove unused variable `pos'.
10772
bc4f7f3d
GM
107732011-04-19 Glenn Morris <rgm@gnu.org>
10774
10775 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10776 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10777 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10778 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10779 * calendar/cal-html.el (cal-html-insert-minical):
10780 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10781 (calendar-mark-date-pattern):
10782 Prefix "unused" locals.
10783
10784 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10785 optional argument `style'.
10786
10787 * calendar/appt.el (appt-make-list):
10788 * calendar/cal-china.el (calendar-chinese-date-string):
10789 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10790 (diary-hebrew-yahrzeit):
10791 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10792 * calendar/calendar.el (calendar-generate-window):
10793 * calendar/time-date.el (time-to-days):
10794 Remove unused local variables.
10795
16a43933
CY
107962011-04-18 Chong Yidong <cyd@stupidchicken.com>
10797
10798 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10799 glyphless-char-display table.
10800 (tabulated-list-glyphless-char-display): New var.
10801
7eed1860
SS
108022011-04-18 Sam Steingold <sds@gnu.org>
10803
10804 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10805 to acknowledgments.
10806
4d2d1ccd
GM
108072011-04-17 Glenn Morris <rgm@gnu.org>
10808
10809 * calendar/diary-lib.el (diary-sexp-entry):
10810 * calendar/holidays.el (holiday-sexp):
10811 Set debug-on-error rather than the removed stack-trace-on-error.
10812
239da61d
GM
108132011-04-16 Glenn Morris <rgm@gnu.org>
10814
10815 * progmodes/f90.el: Use lexical-binding.
10816 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10817
8b05752a
SM
108182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10819
daca8ba5
SM
10820 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10821 (mail-mode): Setup mailalias completion here instead.
10822 * mail/mailalias.el: Use lexical-binding.
10823 (pattern, mailalias-done): Declare dynamic.
10824 (mail-completion-at-point-function): New function, from mail-complete.
10825 (mail-complete): Use it.
10826 (mail-completion-expand): New function.
10827 (mail-get-names): Use it.
10828 (mail-directory, mail-directory-process, mail-directory-stream):
10829 Don't use `pattern' for lexically bound arg.
10830
6f542485
SM
10831 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10832
037e7c3f
SM
10833 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10834 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10835 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10836
8b05752a
SM
10837 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10838 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10839 (byte-interactive-p): Define them again, for use when inlining
10840 old code.
10841
49093f60
JB
108422011-04-15 Juanma Barranquero <lekktu@gmail.com>
10843
10844 * loadup.el: Use `string-to-number', not `string-to-int'.
10845
b5b8e7de
SM
108462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10849 gud-gdb-complete-command.
10850 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10851 (gud-gdb-completion-at-point): New function.
10852 (gud-gdb-completions): Remove.
10853
f42efeb5
MA
108542011-04-14 Michael Albinus <michael.albinus@gmx.de>
10855
49093f60
JB
10856 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10857 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10858 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10859 whether `executable-find' is bound.
f42efeb5
MA
10860
10861 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10862
e240cc21
SM
108632011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * minibuffer.el (completion-in-region-mode-predicate)
10866 (completion-in-region-mode--predicate): New vars.
10867 (completion-in-region, completion-in-region--postch)
10868 (completion-in-region-mode): Use them.
10869 (completion--capf-wrapper): Also return the hook function.
10870 (completion-at-point, completion-help-at-point):
10871 Adjust and provide a predicate.
c2bd2ab0
SM
10872
10873 Preserve arg names for advice of subr and lexical functions (bug#8457).
10874 * help-fns.el (help-function-arglist): Consolidate the subr and
10875 new-byte-code cases. Add argument `preserve-names' to extract names
10876 from the docstring when needed.
10877 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10878 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10879 (ad-arglist): Use help-function-arglist's new arg.
10880 (ad-definition-type): Use cond.
10881
c183f693
JB
108822011-04-13 Juanma Barranquero <lekktu@gmail.com>
10883
06641a47
JB
10884 * autorevert.el (auto-revert-handler):
10885 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10886 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10887 Don't quote lambda.
10888
c183f693
JB
10889 * image-mode.el (image-transform-set-scale):
10890 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10891
1e3b6001
G
108922011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10893
10894 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10895 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10896 Upgrades via gnutls-cli are too slow to be done opportunistically.
10897
2d6af8dd
JB
108982011-04-12 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * dframe.el (dframe-current-frame): Remove spurious quote.
10901
c0749a51
GM
109022011-04-12 Glenn Morris <rgm@gnu.org>
10903
088d0d61
GM
10904 * calendar/cal-tex.el (cal-tex-end-document):
10905 Try to automatically use latin1 input if needed.
10906
c0749a51
GM
10907 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10908 Don't try to cons a mark onto an empty element.
10909
5c90fde0
LL
109102011-04-11 Leo Liu <sdl.web@gmail.com>
10911
10912 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10913 buffers.
10914 (ido-kill-buffer-at-head): Support killing virtual buffers.
10915
369e974d
CY
109162011-04-10 Chong Yidong <cyd@stupidchicken.com>
10917
10918 * minibuffer.el (completion-show-inline-help): New var.
10919 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10920 (minibuffer-force-complete, minibuffer-complete-word):
10921 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10922
10923 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10924 to avoid interference from inline help (Bug#5849).
10925
37f1c930
LL
109262011-04-10 Leo Liu <sdl.web@gmail.com>
10927
099c39a4
JB
10928 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10929 Fix typo.
37f1c930 10930
a32d4040
CY
109312011-04-09 Chong Yidong <cyd@stupidchicken.com>
10932
10933 * image-mode.el (image-toggle-display-image): Signal an error if
10934 not in Image mode.
10935 (image-transform-mode, image-transform-resize)
10936 (image-transform-set-rotation): Doc fix.
daca8ba5 10937 (image-transform-set-resize): Delete.
a32d4040
CY
10938 (image-transform-set-scale, image-transform-fit-to-height)
10939 (image-transform-fit-to-width): Handle image-toggle-display-image
10940 and image-transform-resize directly.
10941
099c39a4 109422011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10943
10944 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10945 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10946 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10947 (doc-view-mode-map): Add bindings for the new functions.
10948
099c39a4 109492011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10950
4d61f28d 10951 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10952 Fix typo in docstring.
10953
3726838a
EZ
109542011-04-08 Eli Zaretskii <eliz@gnu.org>
10955
04f33f1e
EZ
10956 * files.el (file-size-human-readable): Produce one digit after
10957 decimal, like "ls -lh" does.
10958
10959 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10960 the file size representation.
10961
3726838a
EZ
10962 * simple.el (list-processes): If async subprocesses are not
10963 available, error out with a clear error message.
10964
cbb59342
CY
109652011-04-08 Chong Yidong <cyd@stupidchicken.com>
10966
10967 * help.el (help-form-show): New function, to be called from C.
10968 Put help-form output in a buffer named differently than *Help*.
10969
e3971c44
EZ
109702011-04-08 Eli Zaretskii <eliz@gnu.org>
10971
10972 * files.el (file-size-human-readable): New function.
10973
10974 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10975 computing the representation inline. Don't require `cl'.
10976
12544bbe
GM
109772011-04-08 Glenn Morris <rgm@gnu.org>
10978
a1de6c6a
GM
10979 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10980
3c4671f4
GM
10981 * net/browse-url.el (browse-url-firefox):
10982 Test system-type, not system-configuration.
10983
b605679c
GM
10984 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10985 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10986 Use log-edit-empty-buffer-p. (Bug#7598)
10987
56442f0c
GM
10988 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10989 (rlogin-mode-map): Initialize in the defvar.
10990 (rlogin): Use ignore-errors.
10991
12544bbe
GM
10992 * replace.el (occur-mode-map): Some fixes for menu items.
10993
eb237b0f
AH
109942011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10995
10996 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10997
7d668f2c
CY
109982011-04-06 Chong Yidong <cyd@stupidchicken.com>
10999
e67a13ab
CY
11000 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11001 issuing unused warnings.
11002
11003 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11004 macro directly.
11005
7d668f2c
CY
11006 * simple.el: Lisp reimplement of list-processes. Based on an
11007 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11008 (process-menu-mode): New major mode.
11009 (list-processes--refresh, list-processes):
11010 (process-menu-visit-buffer): New functions.
11011
11012 * files.el (save-buffers-kill-emacs): Don't assume any return
11013 value of list-processes, which is undocumented anyway.
11014
a83ec3c9
CY
110152011-04-06 Chong Yidong <cyd@stupidchicken.com>
11016
11017 * emacs-lisp/tabulated-list.el: New file.
11018
e91a96fe
CY
11019 * emacs-lisp/package.el: Use Tabulated List mode.
11020 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11021 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11022 table format using Tabulated List mode variables.
11023 (package--push): New macro, replacing package-list-maybe-add.
11024 (package-menu--generate): Use package--push. Renamed from
11025 package--generate-package-list.
11026 (package-menu-refresh, list-packages): Use it.
daca8ba5 11027 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11028 Return insertion data instead of inserting it directly.
099c39a4
JB
11029 (package-menu-describe-package, package-menu-execute):
11030 Use tabulated-list-get-id.
e91a96fe
CY
11031 (package-menu-mark-delete, package-menu-mark-install)
11032 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11033 (package-menu-mark-obsolete-for-deletion):
11034 Use tabulated-list-put-tag.
e91a96fe
CY
11035 (package--list-packages, package-menu-revert)
11036 (package-menu-get-package, package-menu-get-version)
11037 (package-menu-sort-by-column): Functions deleted.
11038 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11039 (package-menu--status-predicate, package-menu--version-predicate)
11040 (package-menu--name-predicate)
11041 (package-menu--description-predicate): Handle arguments in the
11042 Tabulated List format.
11043 (package-list-packages-no-fetch): Call list-packages.
11044
3e214b50
JB
110452011-04-06 Juanma Barranquero <lekktu@gmail.com>
11046
11047 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11048 (after-find-file): Don't bind it.
3e214b50
JB
11049 (revert-buffer-in-progress-p): New variable.
11050 (revert-buffer): Bind it.
11051 Pass nil for `after-find-file-from-revert-buffer'.
11052
11053 * saveplace.el (save-place-find-file-hook): Use new variable
11054 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11055
3f0f1700
GM
110562011-04-06 Glenn Morris <rgm@gnu.org>
11057
c0274801
GM
11058 * Makefile.in (AUTOGEN_VCS): New variable.
11059 (autoloads): Use $AUTOGEN_VCS.
11060
3f0f1700
GM
11061 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11062 * calendar/calendar.el (calendar-mode-map):
11063 Check for toolkit scroll bars. (Bug#8305)
11064
41ea9e48
CY
110652011-04-05 Chong Yidong <cyd@stupidchicken.com>
11066
11067 * minibuffer.el (completion-in-region--postch)
11068 (completion-in-region-mode): Remove unnecessary messages.
11069
6194c800
JB
110702011-04-05 Juanma Barranquero <lekktu@gmail.com>
11071
33256f14
JB
11072 * font-lock.el (font-lock-refresh-defaults):
11073 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11074 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11075
6194c800
JB
11076 * info.el (Info-directory-list, Info-read-node-name-2)
11077 (Info-split-parameter-string): Doc fixes.
11078 (Info-virtual-nodes): Reflow docstring.
11079 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11080 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11081 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11082 Fix typos in docstrings.
11083 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11084 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11085 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11086 (Info-restore-desktop-buffer): Mark unused parameters.
11087 (Info-directory-find-file, Info-directory-find-node)
11088 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11089 (Info-virtual-index-find-node, Info-apropos-find-file)
11090 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11091 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11092 (Info-virtual-index): Remove unused local variable `nodename'.
11093
b87a8200 110942011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11095
b87a8200
DD
11096 * net/rcirc.el: Update my e-mail address.
11097 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11098
3b2ff876
CY
110992011-04-05 Chong Yidong <cyd@stupidchicken.com>
11100
11101 * startup.el (command-line): Save the cursor's theme-face
11102 directly, instead of using face-override-spec.
11103
11104 * custom.el (load-theme): Minor optimization in assigning faces.
11105
8d17e7ca
JB
111062011-04-04 Juanma Barranquero <lekktu@gmail.com>
11107
11108 * help-fns.el (describe-variable): Complete all variables having
11109 documentation, including keywords.
11110 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11111
2fbc1934
JB
111122011-04-04 Juanma Barranquero <lekktu@gmail.com>
11113
11114 Convert to lexical-binding.
11115
11116 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11117 (bs--get-marked-string, bs--get-modified-string)
11118 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11119 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11120 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11121
11122 * ehelp.el (electric-help-execute-extended)
11123 (electric-help-ctrl-x-prefix):
11124 * hexl.el (hexl-revert-buffer-function):
11125 * linum.el (linum-after-change, linum-after-scroll):
11126 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11127
11128 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11129
74f50695
DU
111302011-04-04 Daiki Ueno <ueno@unixuser.org>
11131
11132 * epa-dired.el:
11133 * epa-mail.el:
11134 * epa-hook.el:
11135 * epa-file.el:
11136 * epa.el:
11137 * epg.el: Use lexical binding.
11138
c11325f7
CY
111392011-04-03 Chong Yidong <cyd@stupidchicken.com>
11140
0d9e9a12
CY
11141 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11142
c11325f7 11143 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11144 dictionary case for flyspell-mark-duplications-exceptions.
11145 Use regexp matching for languages.
c11325f7
CY
11146 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11147 default dictionary (Bug#7926).
11148
da91b5f2
CY
111492011-04-02 Chong Yidong <cyd@stupidchicken.com>
11150
099c39a4
JB
11151 * emacs-lisp/package.el (package--with-work-buffer):
11152 Recognize https URLs.
da91b5f2 11153
099c39a4
JB
11154 * net/network-stream.el: Move from gnus/proto-stream.el.
11155 Change prefix to network-stream throughout.
da91b5f2
CY
11156 (open-protocol-stream): Merge into open-network-stream, leaving
11157 open-protocol-stream as an alias. Handle nil BUFFER args.
11158
11159 * subr.el (open-network-stream): Move to net/network-stream.el.
11160
afa8e9f6
GM
111612011-04-02 Glenn Morris <rgm@gnu.org>
11162
1d2e369d
GM
11163 * find-dired.el (find-exec-terminator): New option.
11164 (find-ls-option): Test for -ls support.
11165 (find-ls-subdir-switches): Test for -b in find-ls-option.
11166 (find-dired, find-grep-dired): Doc fixes.
11167 (find-dired): Use find-exec-terminator.
11168
8abb7da8 11169 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11170 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11171 (find-name-arg): Remove purecopy.
8abb7da8 11172
f3ca7378
GM
11173 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11174 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11175 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11176 accordingly. Don't add the null-device if not needed.
11177
afa8e9f6
GM
11178 * files.el (save-some-buffers): Doc fix.
11179
35eae264
EZ
111802011-04-02 Eli Zaretskii <eliz@gnu.org>
11181
11182 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11183
26b51db5
JB
111842011-04-01 Juanma Barranquero <lekktu@gmail.com>
11185
11186 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11187 Use `dolist' rather than `mapcar'.
11188
7200d79c
SM
111892011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11190
03408648 11191 Add lexical binding.
7200d79c 11192
03408648
SM
11193 * subr.el (apply-partially): Use new closures rather than CL.
11194 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11195 (dolist, dotimes): Use slightly different expansion for lexical code.
11196 (functionp): Move to C.
11197 (letrec): New macro.
11198 (with-wrapper-hook): Use it and apply-partially instead of CL.
11199 (eval-after-load): Preserve lexical-binding.
11200 (save-window-excursion, with-output-to-temp-buffer): Turn them
11201 into macros.
7200d79c 11202
03408648
SM
11203 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11204
11205 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11206 than the arglist.
11207 (help-add-fundoc-usage): Don't add `Not documented'.
11208 (help-function-arglist): Handle closures, subroutines, and new
11209 byte-code-functions.
11210 (help-make-usage): Remove leading underscores.
11211 (describe-function-1): Handle closures.
11212 (describe-variable): Use special-variable-p for completion.
11213
11214 * files.el (lexical-binding): Declare safe.
f488fb65 11215
03408648
SM
11216 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11217 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11218 (pcase): Add `let' pattern.
11219 Change memoization so it actually works.
11220 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11221 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11222 <let>: New case.
f488fb65 11223
03408648
SM
11224 * emacs-lisp/macroexp.el: Use lexical binding.
11225 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11226 Don't convert ' to #' without checking that it's indeed quoting
11227 a lambda.
11228
11229 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11230 Use eval-sexp-add-defvars.
03408648
SM
11231 (eval-sexp-add-defvars): New fun.
11232
11233 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11234
11235 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11236 Don't autoload.
11237 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11238 than the internal `byte-compile-lambda'.
11239 (defmethod): Don't hide code under quotes.
11240 (eieio-defmethod): New `code' argument.
11241
11242 * emacs-lisp/eieio-comp.el: Remove.
11243
11244 * emacs-lisp/edebug.el (edebug-eval-defun)
11245 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11246 (edebug-toggle): Avoid `eval'.
11247
11248 * emacs-lisp/disass.el (disassemble-internal): Handle new
11249 `closure' objects.
11250 (disassemble-1): Handle new byte codes.
11251
11252 * emacs-lisp/cl.el (pushnew): Silence warning.
11253
11254 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11255 (cl-byte-compile-throw): Remove.
11256 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11257
11258 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11259 closures.
11260
11261 * emacs-lisp/cconv.el: New file.
11262
11263 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11264 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11265 (byte-compile-initial-macro-environment):
11266 Handle declare-function here.
11267 (byte-compile--lexical-environment): New var.
11268 (byte-stack-ref, byte-stack-set, byte-discardN)
11269 (byte-discardN-preserve-tos): New lap codes.
11270 (byte-interactive-p): Don't use any more.
11271 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11272 New macros.
11273 (byte-compile-lapcode): Use them and handle new lap codes.
11274 (byte-compile-obsolete): Remove.
11275 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11276 (byte-compile-arglist-warn): Check late def of inlinable funs.
11277 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11278 since they should have been expanded by now.
11279 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11280 (byte-compile-from-buffer): Remove unused second arg.
11281 (byte-compile-preprocess): New function.
11282 (byte-compile-toplevel-file-form): New function to distinguish
11283 file-form calls from outside from file-form calls from hunk-handlers.
11284 (byte-compile-file-form): Simplify.
11285 (byte-compile-file-form-defsubst): Remove.
11286 (byte-compile-file-form-defmumble): Simplify now that
11287 byte-compile-lambda always returns a byte-code-function.
11288 (byte-compile): Preprocess.
11289 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11290 Remove, not used any more.
11291 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11292 (byte-compile-make-args-desc): New funs.
11293 (byte-compile-lambda): Handle lexical functions. Always return
11294 a byte-code-function.
11295 (byte-compile-reserved-constants): New var, to make up room for
11296 closed-over variables.
11297 (byte-compile-constants-vector): Obey it.
11298 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11299 (byte-compile-macroexpand-declare-function): New function.
11300 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11301 byte-code-functions.
11302 (byte-compile-form): Check obsolescence here.
11303 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11304 (byte-compile-variable-ref): Remove.
11305 (byte-compile-dynamic-variable-op): New fun.
11306 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11307 (byte-compile-variable-set): New funs.
11308 (byte-compile-discard): Add 2 args.
11309 (byte-compile-stack-ref, byte-compile-stack-set)
11310 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11311 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11312 macroexpand-all instead.
11313 (byte-compile-quote-form): Remove.
11314 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11315 (byte-compile-bind, byte-compile-unbind): New funs.
11316 (byte-compile-let): Handle let* and lexical binding.
11317 (byte-compile-let*): Remove.
11318 (byte-compile-catch, byte-compile-unwind-protect)
11319 (byte-compile-track-mouse, byte-compile-condition-case):
11320 Handle a new :fun-body form, used for lexical scoping.
11321 (byte-compile-save-window-excursion)
11322 (byte-compile-with-output-to-temp-buffer): Remove.
11323 (byte-compile-defun): Simplify.
11324 (byte-compile-stack-adjustment): New fun.
11325 (byte-compile-out): Use it.
11326 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11327
11328 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11329 handler any more.
11330
11331 * emacs-lisp/byte-opt.el: Use lexical binding.
11332 (byte-inline-lapcode): Remove (to bytecomp).
11333 (byte-compile-inline-expand): Pay attention to inlining to/from
11334 lexically bound code.
11335 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11336 any more.
11337 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11338 any more and don't call compiler-macros.
11339 (byte-compile-splice-in-already-compiled-code): Remove.
11340 (byte-code): Don't inline any more.
11341 (disassemble-offset): Receive `bytes' as argument rather than via
11342 dynamic scoping.
11343 (byte-compile-tag-number): Declare before first use.
11344 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11345 `return' even if make-spliceable.
11346 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11347 obsolete interactive-p.
11348 (byte-optimize-lapcode): Optimize new lap-codes.
11349 Don't trip up on new form of `byte-constant' lap code.
11350
11351 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11352
11353 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11354
11355 * custom.el (custom-initialize-default, custom-declare-variable):
11356 Use `defvar'.
11357
11358 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11359 New variables.
11360 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11361 (COMPILE_FIRST): Add macroexp and cconv.
11362 * makefile.w32-in: Mirror changes in Makefile.in.
11363
11364 * vc/cvs-status.el:
11365 * vc/diff-mode.el:
11366 * vc/log-edit.el:
11367 * vc/log-view.el:
11368 * vc/smerge-mode.el:
11369 * textmodes/bibtex-style.el:
11370 * textmodes/css.el:
11371 * startup.el:
11372 * uniquify.el:
da91b5f2
CY
11373 * minibuffer.el:
11374 * newcomment.el:
11375 * reveal.el:
11376 * server.el:
11377 * mpc.el:
11378 * emacs-lisp/smie.el:
11379 * doc-view.el:
11380 * dired.el:
03408648
SM
11381 * abbrev.el: Use lexical binding.
11382
0f0c1f27
EZ
113832011-04-01 Eli Zaretskii <eliz@gnu.org>
11384
11385 * info.el (info-display-manual): New function.
11386
c82b2579
SM
113872011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11390
221ddf68
TH
113912011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11392
11393 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11394 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11395
cba6e77e
GM
113962011-03-31 Glenn Morris <rgm@gnu.org>
11397
e040639f
GM
11398 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11399
cba6e77e
GM
11400 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11401
6d0f1c9e
CS
114022011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11403
11404 * progmodes/python.el (python-default-interpreter)
11405 (python-python-command-args, python-jython-command-args)
11406 (python-which-shell, python-which-args, python-which-bufname)
11407 (python-file-queue, python-comint-output-filter-function)
11408 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11409 variables and functions.
11410
3e2d70fd
SM
114112011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11414 (completion-in-region-mode): New minor mode.
11415 (completion-in-region): Use it.
11416 (completion-in-region--data, completion-in-region-mode-map): New vars.
11417 (completion-in-region--postch): New function.
11418 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11419 New vars.
11420 (completion--capf-wrapper): New function.
11421 (completion-at-point): Use it to track well-behavedness of
11422 hook functions.
11423 (completion-help-at-point): New command.
11424
f3e4086c
JM
114252011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11426
11427 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11428 syntax class to search for whitespace on a single line
11429 (Message-ID: <4D938140.4030905@redhat.com>).
11430
eb7ffc14
LL
114312011-03-30 Leo Liu <sdl.web@gmail.com>
11432
11433 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11434 New commands.
11435 (edit-abbrevs-map): Bind them here.
11436 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11437
d806ab68
KM
114382011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11439
11440 * allout.el (allout-hide-by-annotation, allout-flag-region):
11441 Reduce possibility of overlay leakage by making them volatile.
11442
11443 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11444 hash is not shared between buffers. Mode initialization is
11445 responsible for giving it a useful starting value.
11446 (allout-item-span): Reduce possibility of overlay leakage by
11447 making them volatile.
11448 (allout-widgets-count-buttons-in-region): Add diagnostic function
11449 for tracking down button overlay leaks.
11450
ea622834
LL
114512011-03-29 Leo Liu <sdl.web@gmail.com>
11452
11453 * ido.el (ido-read-internal): Use the default history var
11454 minibuffer-history if no HISTORY is specified.
11455
b62f8267
G
114562011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11457
03408648
SM
11458 * net/imap.el (imap-shell-open, imap-process-connection-type):
11459 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11460 Kerberos, SSL, other subprocesses.
11461
947b6566
LL
114622011-03-28 Leo Liu <sdl.web@gmail.com>
11463
11464 * abbrev.el (abbrev-table-empty-p): New function.
11465 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11466 nonempty ones. (Bug#5937)
11467
5ffb62aa
JD
114682011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11469
11470 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11471
7a097943
LL
114722011-03-27 Leo Liu <sdl.web@gmail.com>
11473
11474 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11475 for foreground and background colors.
11476 (ansi-color-make-color-map): Adapt.
11477
c5b40130
LL
114782011-03-25 Leo Liu <sdl.web@gmail.com>
11479
1f48f7d2
LL
11480 * midnight.el (midnight-time-float): Remove. Note it calculates
11481 the microsecond component incorrectly and seconds-to-time does the
11482 same job.
625897ec 11483 Remove redundant (require 'timer).
1f48f7d2 11484
c5b40130
LL
11485 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11486 (ido-completions): Remove unused arguments. (Bug#8329)
11487
d86d2721
SM
114882011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * minibuffer.el (completion--flush-all-sorted-completions):
11491 Remove itself from hook.
11492 (completion-at-point): Let the functions perform the completion
11493 immediately and return nil or t.
11494 * comint.el (comint-dynamic-complete-functions): Now identical to
11495 completion-at-point-functions.
11496 (comint-dynamic-list-input-ring): Remove unused var `index'.
11497 (comint--match-partial-filename, comint--unquote&expand-filename):
11498 New funs, split from comint-match-partial-filename.
11499 (comint-dynamic-complete): Use completion-at-point.
11500 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11501
e8974c48
DA
115022011-03-24 Drew Adams <drew.adams@oracle.com>
11503
11504 * thingatpt.el: Support `defun'.
11505
def71b5e
LL
115062011-03-23 Leo Liu <sdl.web@gmail.com>
11507
cb5af48e
LL
11508 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11509
def71b5e
LL
11510 * help-mode.el (help-mode-finish): Tweak regexp.
11511
927c53e7
GM
115122011-03-23 Glenn Morris <rgm@gnu.org>
11513
18d05bed
GM
11514 * eshell/esh-opt.el (eshell-eval-using-options):
11515 Do not bind unused local variable `eshell-option-stub'.
11516
927c53e7
GM
11517 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11518
9d0da923
JB
115192011-03-22 Juanma Barranquero <lekktu@gmail.com>
11520
11521 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11522 keymap variable in `with-no-warnings' to avoid a warning when the
11523 keymap has been already `defconst'ed.
11524
4b978a67
LL
115252011-03-22 Leo Liu <sdl.web@gmail.com>
11526
11527 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11528 encode all chars in abbrevs; otherwise use emacs-mule or
11529 utf-8-emacs. (Bug#8308)
11530
5fd62452
JB
115312011-03-22 Juanma Barranquero <lekktu@gmail.com>
11532
0b1596c6
JB
11533 * simple.el (backward-delete-char-untabify):
11534 Avoid warning about using `delete-backward-char'.
11535
5fd62452
JB
11536 * image.el (image-type-file-name-regexps): Make it variable.
11537 `imagemagick-register-types' modifies it, and the user may want
11538 to add new extensions for known image types.
11539 (imagemagick-register-types): Throw error if not using ImageMagick.
11540
0b4e93f1
LL
115412011-03-22 Leo Liu <sdl.web@gmail.com>
11542
11543 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11544 located before rcirc-prompt-end-marker.
11545 (rcirc-complete): Error if point is not after rcirc prompt.
11546 Handle the case when table is nil.
9882e214 11547 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11548
fccee4ab
CY
115492011-03-22 Chong Yidong <cyd@stupidchicken.com>
11550
11551 * custom.el (custom--inhibit-theme-enable): Make it affect only
11552 custom-theme-set-variables and custom-theme-set-faces.
11553 (provide-theme): Ignore custom--inhibit-theme-enable.
11554 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11555 (custom-enabling-themes): Delete variable.
d86d2721
SM
11556 (enable-theme): Accept only loaded themes as arguments.
11557 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11558 (custom-enabled-themes): Forbid themes from setting this.
11559 Eliminate use of custom-enabling-themes.
11560 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11561
af896da6
LL
115622011-03-21 Leo Liu <sdl.web@gmail.com>
11563
11564 * ido.el (ido-read-internal): Add ido-selected to history instead
11565 of user input.
11566
78f64af0
SM
115672011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * subr.el (deferred-action-list, deferred-action-function):
11570 Mark obsolete.
11571
b16ac1ec
LL
115722011-03-21 Leo Liu <sdl.web@gmail.com>
11573
810f7698
LL
11574 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11575 change on 2011-02-13 (bug#8309).
11576
b16ac1ec
LL
11577 * minibuffer.el (read-file-name-function): Change default value.
11578 (read-file-name--defaults): Rename from read-file-name-defaults.
11579 (read-file-name-default): Rename from read-file-name.
11580 (read-file-name): Call read-file-name-function.
11581
4e05e67e
GM
115822011-03-21 Glenn Morris <rgm@gnu.org>
11583
11584 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11585 Doc fixes.
11586
4359915b
CY
115872011-03-21 Chong Yidong <cyd@stupidchicken.com>
11588
11589 * cus-theme.el: Add missing provide statement.
11590 (customize-create-theme): Extract theme value correctly.
11591 (custom-theme-visit-theme): Autoload.
11592 (customize-create-theme): Prompt before inserting default faces.
11593
1fe275ee
JB
115942011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11595
11596 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11597 units and musical notes.
11598
cd394be1 115992011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11600
11601 * ido.el (ido-read-internal): Use completing-read-default.
11602 (ido-completing-read): Fix compatibility with completing-read.
11603
7d476bde
CO
116042011-03-20 Christian Ohler <ohler@gnu.org>
11605
11606 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11607 (ert-delete-all-tests): Use `called-interactively-p' rather than
11608 `interactive-p'.
11609 (ert--make-xrefs-region): Respect END.
11610
fe0fb33e
CY
116112011-03-19 Chong Yidong <cyd@stupidchicken.com>
11612
ff854b0b
CY
11613 * dired-aux.el (dired-create-directory): Signal an error if the
11614 directory already exists (Bug#8246).
11615
fe0fb33e
CY
11616 * facemenu.el (list-colors-display): Call list-faces-display
11617 inside with-help-window.
11618 (list-colors-print): Use display property to align the final
11619 column, instead of checking window-width.
11620
576bce32
EZ
116212011-03-19 Eli Zaretskii <eliz@gnu.org>
11622
4d61f28d 11623 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11624 windows-nt systems.
11625 (emerge-protect-metachars): Quote correctly for ms-dos and
11626 windows-nt systems.
11627
89c41d68 116282011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11629
11630 * info.el (info-initialize): Replace all uses of `:' with
11631 path-separator for compatibility with non-Unix systems.
11632 Cache quoting of path-separator. (Bug#8258)
11633
b14e3e21 116342011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11635
11636 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11637 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11638 (mouse-avoidance-mode): Fix typos in docstrings.
11639
4525ce3e
CY
116402011-03-19 Chong Yidong <cyd@stupidchicken.com>
11641
11642 * startup.el (package-subdirectory-regexp): Move from package.el.
11643 Omit \\` and \\', and let callers add them.
11644
11645 * emacs-lisp/package.el (package-strip-version)
11646 (package-load-all-descriptors): Add \\` and \\' to
11647 package-subdirectory-regexp before using it.
11648 (package-untar-buffer): New arg DIR; ensure that file untars only
11649 into this expected directory. Remove superfluous delete-region.
11650 (package-unpack): Caller changed.
11651 (package-tar-file-info): Use package-subdirectory-regexp.
11652
a904a09a 116532011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11654
a904a09a
SM
11655 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11656 diff-mode-shared-map (bug#8284).
11657 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11658
116592011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11660
11661 * calendar/time-date.el (format-seconds): Use assoc instead of
11662 assoc-string, since assoc-string doesn't exist in XEmacs.
11663
171fc304
JB
116642011-03-17 Juanma Barranquero <lekktu@gmail.com>
11665
11666 * custom.el (custom-known-themes): Reflow docstring.
11667 (custom-theme-load-path): Fix typo in docstring.
11668 (load-theme): Fix typo in error message.
11669 (custom-available-themes, custom-variable-theme-value):
11670 Use `let', not `let*'.
11671
d71990a1
JB
116722011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11673
11674 * calc/README: Mention inclusion of musical notes.
11675
11676 * calc/calc-units.el (calc-lu-quant): Rename from
11677 `calc-logunits-quantity'.
11678 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11679 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11680 (calc-db): Rename from `calc-dblevel'.
11681 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11682 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11683 (calc-np): Rename from `calc-nplevel'.
11684 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11685 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11686 (calc-lu-plus): Rename from `calc-logunits-add'.
11687 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11688 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11689 (calc-lu-minus): Rename from `calc-logunits-sub'.
11690 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11691 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11692 (calc-lu-times): Rename from `calc-logunits-mul'.
11693 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11694 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11695 (calc-lu-divide): Rename from `calc-logunits-div'.
11696 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11697 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11698
11699 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11700 functions being autoloaded.
11701
11702 * calc/calc.el (calc-lu-power-reference): Rename from
11703 `calc-logunits-power-reference'.
11704 (calc-lu-field-reference): Rename from
11705 `calc-logunits-field-reference'.
11706
7a71b18d
GM
11707 * calc/calc-help.el (calc-l-prefix-help):
11708 Mention musical note functions.
d71990a1 11709
40c2934b
SM
117102011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11711
11712 * minibuffer.el (completion-all-sorted-completions):
11713 Use :completion-cycle-penalty text property if present.
11714
b0911414
KM
117152011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11716
11717 * allout.el (allout-yank-processing): Adjust for new rebulleting
11718 regime so bullet being yanked is used without prompting the user
11719 for a choice.
11720
8a05b668
JB
117212011-03-16 Juanma Barranquero <lekktu@gmail.com>
11722
11723 * startup.el (command-line): Warn the user that _emacs is deprecated.
11724
5ba5fb81
JB
117252011-03-16 Juanma Barranquero <lekktu@gmail.com>
11726
11727 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11728 (delphi-verbose, delphi-comment-face, delphi-string-face)
11729 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11730 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11731 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11732 (delphi-new-comment-line, delphi-font-lock-defaults)
11733 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11734 Fix typos in docstrings.
11735
2dab465b
KM
117362011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11737
5ba5fb81 11738 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11739 Invert the roles of character and string values for INSTEAD, so a
11740 string is used for the more common case of a defaulting prompt.
11741
0adf5618
SM
117422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * progmodes/ruby-mode.el (ruby-backward-sexp):
11745 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11746 * play/gamegrid.el (gamegrid-make-face):
11747 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11748 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11749 * notifications.el (notifications-notify):
11750 * net/xesam.el (xesam-search-engines):
11751 * net/quickurl.el (quickurl-list-insert):
11752 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11753
d72700e5
CY
117542011-03-15 Chong Yidong <cyd@stupidchicken.com>
11755
11756 * startup.el (command-line): Update package subdirectory regexp.
11757
49c5410a
SM
117582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11759
c6eee9aa
SM
11760 * allout.el (allout-abbreviate-flattened-numbering)
11761 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11762
49c5410a
SM
11763 * subr.el (read-char-choice): Only show the cursor after the prompt,
11764 not after the answer.
11765
047b2bb9
KR
117662011-03-15 Kevin Ryde <user42@zip.com.au>
11767
11768 * help-fns.el (variable-at-point): Skip leading quotes, if any
11769 (bug#8253).
11770
0a57d256
SM
117712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11774 warning message.
11775
77c992bc
MA
117762011-03-14 Michael Albinus <michael.albinus@gmx.de>
11777
11778 * shell.el (shell): When called interactively, offer to change the
11779 shell file name on remote hosts.
11780
eebc475d
TZ
117812011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11782
11783 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11784 integration for LDAP parameters. The host, base, user or binddn,
11785 and secret tokens can be specified in a netrc file, for instance.
11786 This is optional because an `auth-source' parameter must be
11787 specified in the search attributes.
11788
9d05d1ba
JB
117892011-03-13 Juanma Barranquero <lekktu@gmail.com>
11790
11791 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11792
09d9db2c
GM
117932011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11796 into declaration. Remove redundant and harmful binding.
11797
117982011-03-12 Eli Zaretskii <eliz@gnu.org>
11799
11800 * files.el (file-ownership-preserved-p): Pass `integer' as an
11801 explicit 2nd argument to `file-attributes'. If the file's owner
11802 is the Administrators group on Windows, and the current user is
11803 Administrator, consider that a match.
11804
11805 * server.el (server-ensure-safe-dir): Consider server directory
11806 safe on MS-Windows if its owner is the Administrators group while
11807 the current Emacs user is Administrator. Use `=' to compare
11808 numerical UIDs, since they could be integers or floats.
11809
219bd536
JB
118102011-03-12 Juanma Barranquero <lekktu@gmail.com>
11811
11812 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11813
f3afd36b
MA
118142011-03-12 Michael Albinus <michael.albinus@gmx.de>
11815
11816 Sync with Tramp 2.2.1.
11817
11818 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11819
11820 * net/trampver.el: Update release number.
11821
3aaaa6f1
SM
118222011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11823
94642599
SM
11824 * progmodes/compile.el (compilation--previous-directory): Fix up
11825 various nil/dead-marker mismatches (bug#8014).
11826 (compilation-directory-properties, compilation-error-properties):
11827 Don't call it at a position past the one we're about to change.
11828
3aaaa6f1
SM
11829 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11830 Disable obsolescence warnings in the file that declares it.
11831
14239447
KM
118322011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11833
099c39a4
JB
11834 * allout-widgets.el (allout-widgets-tally):
11835 Initialize allout-widgets-tally as a hash table rather than nil to
11836 prevent mode-line redisplay warnings. Also, clarify the module
11837 description and fix a comment typo.
14239447 11838
135e287c
JB
118392011-03-11 Juanma Barranquero <lekktu@gmail.com>
11840
11841 * help-fns.el (describe-variable): Don't complete keywords.
11842 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11843
ffbf300e
CY
118442011-03-10 Chong Yidong <cyd@stupidchicken.com>
11845
ba08b241
CY
11846 * emacs-lisp/package.el (package-version-join): Impose a standard
11847 string representation for pre/alpha/beta version lists.
11848 (package-unpack-single): Standardize the directory name by passing
11849 it through package-version-join.
11850 (package-strip-rcs-id): Accept any version string that does not
11851 signal an error in version-to-list.
ffbf300e 11852
f346fd6b
MA
118532011-03-10 Michael Albinus <michael.albinus@gmx.de>
11854
11855 * simple.el (delete-trailing-whitespace): Return nil for the
11856 benefit of `write-file-functions'.
11857
ccb55d27
GM
118582011-03-10 Glenn Morris <rgm@gnu.org>
11859
5ceaac0c
GM
11860 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11861
02da65ff
GM
11862 * vc/vc-git.el (vc-git-program): New option.
11863 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11864 (vc-git--call): Use it.
11865
b2f603cc
GM
11866 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11867
5772caab
GM
11868 * cus-edit.el (Custom-newline): If no button at point, look
11869 for a subgroup button at start-of-line. (Bug#2298)
11870
ccb55d27
GM
11871 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11872
ec6ecaed
JD
118732011-03-10 Julien Danjou <julien@danjou.info>
11874
11875 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11876 `cursor-type' is nil.
11877
9d5aa01d
JB
118782011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11879
11880 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11881
b6a5875b
KM
118822011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11883
7a71b18d 11884 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11885 preserves the existing header prefix, rebulleting it if necessary,
11886 rather than replacing it. This is necessary for proper operation
11887 of cooperative addons like allout-widgets.
1154d12e
JB
11888 (allout-make-topic-prefix, allout-rebullet-heading):
11889 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11890 value as alternate bullet to be used, instead of prompting the user
11891 for a bullet character.
b6a5875b 11892
ee545c35
MA
118932011-03-09 Michael Albinus <michael.albinus@gmx.de>
11894
d86d2721
SM
11895 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11896 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11897 `tramp-default-port'.
11898
c47971d7
DD
118992011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11900
11901 * net/rcirc.el (rcirc-handler-001): Remove useless
11902 with-rcirc-process-buffer.
11903 (rcirc-check-auth-status): Swap arguments to string-match.
11904
13522cb4
GM
119052011-03-09 Glenn Morris <rgm@gnu.org>
11906
0be6f4f1
GM
11907 * shell.el (shell-mode):
11908 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11909
13522cb4
GM
11910 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11911 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11912
515de2e3
CY
119132011-03-08 Chong Yidong <cyd@stupidchicken.com>
11914
11915 * emacs-lisp/package.el (package-refresh-contents)
11916 (package-menu-execute): Use condition-case-no-debug.
11917
b511b994
MA
119182011-03-08 Michael Albinus <michael.albinus@gmx.de>
11919
11920 * simple.el (shell-command-to-string): Use `process-file'.
11921
11922 * emacs-lisp/package.el (package-tar-file-info): Handle also
11923 remote files.
11924
d86d2721
SM
11925 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11926 Use `equal' for upload base check.
b511b994 11927
25bbfb31
AM
119282011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11929
11930 * textmodes/texinfo.el (texinfo-environments):
11931 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11932
be996521
GM
119332011-03-08 Glenn Morris <rgm@gnu.org>
11934
e9c8529f
GM
11935 * cus-start.el (cursor-in-non-selected-windows):
11936 Fix :set quoting oddness. (Bug#8192)
11937
be996521
GM
11938 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11939 in some setf expressions. (Bug#2159)
11940
2bb5649e
CY
119412011-03-08 Chong Yidong <cyd@stupidchicken.com>
11942
11943 * custom.el (custom-available-themes): Return themes in
11944 alphabetical order.
11945
33383987 11946See ChangeLog.15 for earlier changes.
e3d51b27
MR
11947
11948;; Local Variables:
11949;; coding: utf-8
e3d51b27
MR
11950;; End:
11951
acaf905b 11952 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11953
11954 This file is part of GNU Emacs.
11955
11956 GNU Emacs is free software: you can redistribute it and/or modify
11957 it under the terms of the GNU General Public License as published by
11958 the Free Software Foundation, either version 3 of the License, or
11959 (at your option) any later version.
11960
11961 GNU Emacs is distributed in the hope that it will be useful,
11962 but WITHOUT ANY WARRANTY; without even the implied warranty of
11963 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11964 GNU General Public License for more details.
11965
11966 You should have received a copy of the GNU General Public License
11967 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.