* mouse-sel.el (mouse-sel-mode): Mark as obsolete.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
24d78a88
LMI
12012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
bd2dba5a
LMI
3 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4
74beb59f
LMI
5 * simple.el (zap-to-char): Allow zapping using input methods
6 (bug#1580).
7
24d78a88
LMI
8 * textmodes/fill.el (fill-region): Leave point and mark where they
9 were before filling (bug#5399).
10
263f20cd
GM
112012-04-09 Glenn Morris <rgm@gnu.org>
12
13 * version.el (emacs-bzr-get-version):
14 Handle lightweight checkouts of local branches.
15
58d1f797
AS
162012-04-09 Andreas Schwab <schwab@linux-m68k.org>
17
263f20cd 18 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 19
b4d3bc10
CY
202012-04-09 Chong Yidong <cyd@gnu.org>
21
22 * custom.el (custom-variable-p): Return nil for non-symbol
23 arguments instead of signaling an error.
24 (user-variable-p): Obsolete alias for custom-variable-p.
25
26 * apropos.el (apropos-variable):
27 * files-x.el (read-file-local-variable):
28 * simple.el (set-variable):
29 * woman.el (woman-mini-help):
30 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
31
fd06db5d
GM
322012-04-09 Glenn Morris <rgm@gnu.org>
33
e5fcdb5e
GM
34 * startup.el (normal-top-level): Don't look for leim-list.el
35 in places where it will not be found. (Bug#910)
36
fd06db5d
GM
37 * international/mule-cmds.el (set-default-coding-systems):
38 * files.el (normal-mode):
39 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
40 This function was removed with ucs-tables.el in 2008.
41
b39bb7e1
EZ
422012-04-08 Eli Zaretskii <eliz@gnu.org>
43
44 * textmodes/ispell.el (ispell-check-version): For hunspell, set
45 ispell-encoding8-command to "-i", without a trailing space.
46 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
47 separate command-line arguments, to specify the encoding, since
48 that's how hunspell expects it.
49
5c5b8e23
GM
502012-04-08 Glenn Morris <rgm@gnu.org>
51
52 * loadup.el: Load bindings before cus-start.
53 This reduces somewhat the number of "rogue" settings in emacs -Q.
54
a1ed8b05
GM
552012-04-07 Glenn Morris <rgm@gnu.org>
56
57 * version.el (emacs-bzr-get-version): New function.
dfae128a 58 (emacs-bzr-version): New variable.
a1ed8b05
GM
59 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
60 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
61
b142f158
EZ
622012-04-07 Eli Zaretskii <eliz@gnu.org>
63
dfae128a
GM
64 * international/uni-bidi.el, international/uni-category.el:
65 * international/uni-combining.el, international/uni-decimal.el:
66 * international/uni-decomposition.el, international/uni-digit.el:
67 * international/uni-lowercase.el, international/uni-mirrored.el:
68 * international/uni-name.el, international/uni-numeric.el:
69 * international/uni-titlecase.el, international/uni-uppercase.el:
70 Update for Unicode 6.1.
b142f158 71
9078ead6
EZ
722012-04-07 Eli Zaretskii <eliz@gnu.org>
73
74 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
75
f23d2c7d
LMI
762012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
77
78 * window.el (shrink-window): Mention the `window-min-height'
79 variable in the doc string.
80
0a0a3573
BG
812012-04-05 Bastien Guerry <bzg@altern.org>
82
83 * color.el (color-lighten-name): Fix typo.
84
e5248ac9
SM
852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * server.el (server--on-display-p): New function.
88 (server--on-display-p): Use it.
89
b4243e22
GV
902012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
91
92 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
93 (bug#11145).
94
305d9f44
SM
952012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * comint.el (comint--common-quoted-suffix): Check string boundary
98 before comparing (bug#11158).
99 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
100
3d439cd1
CY
1012012-04-04 Chong Yidong <cyd@gnu.org>
102
321cc491
CY
103 * minibuffer.el (completion-extra-properties): Doc fix.
104
3d439cd1
CY
105 * subr.el (delayed-warnings-hook): Doc fix.
106
2d562c0f
DU
1072012-04-04 Daiki Ueno <ueno@unixuser.org>
108
109 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
110 selection (Bug#11159).
111 (epa-insert-keys): Inform that the default public key will be
112 exported if no key is selected.
113
4443f204
RS
1142012-04-04 Richard Stallman <rms@gnu.org>
115
116 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
117
529c06b6
CY
1182012-04-03 Chong Yidong <cyd@gnu.org>
119
120 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
121 mail-insert-file, not its obsolete alias mail-attach-file.
122
66b907dc
MA
1232012-04-03 Michael Albinus <michael.albinus@gmx.de>
124
125 * notifications.el (notifications-notify): Fix docstring.
126
c0ea195d
GM
1272012-04-02 Glenn Morris <rgm@gnu.org>
128
129 * emacs-lisp/authors.el (authors-aliases): Another addition.
130
5ca64e00
MA
1312012-04-02 Michael Albinus <michael.albinus@gmx.de>
132
133 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
134 `tramp-compat-call-process' instead of `tramp-local-call-process'.
135 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
136
42ee526b
CY
1372012-04-01 Chong Yidong <cyd@gnu.org>
138
139 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
140 Handle root directory properly.
141 (copy-directory): Caller changed.
142
143 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
144 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
145
0b021094
GM
1462012-03-31 Glenn Morris <rgm@gnu.org>
147
40f86458
GM
148 * term/xterm.el (xterm-extra-capabilities): Doc fix.
149
7019c177
GM
150 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
151
a1daddd6
GM
152 * calendar/calendar.el (calendar-window-list)
153 (calendar-hide-window): Restore. (Bug#11140)
154 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
155
0b021094
GM
156 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
157
40311efc
TV
1582012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
159
160 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
161 Check if file is a symlink (Bug#10489).
162
163 * files.el (copy-directory): Likewise.
164
5319014e
CY
1652012-03-30 Chong Yidong <cyd@gnu.org>
166
167 * image.el (imagemagick-types-inhibit)
168 (imagemagick-register-types): Doc fix.
169
935d1290
AM
1702012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
171
172 * ispell.el (ispell-get-extended-character-mode): Disable
173 extended-char-mode for hunspell. hunspell does not support it and
174 treats ~word as ordinary words in pipe mode.
175
61c6e8fd
GM
1762012-03-30 Glenn Morris <rgm@gnu.org>
177
178 * tutorial.el (help-with-tutorial): Ensure local variables don't
179 happen to make the buffer read-only. (Bug#11127)
180
81fdff00
SM
1812012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
184 (perl-calculate-indent): Return `noindent' in strings.
185
6e7a6ec0
SS
1862012-03-28 Sam Steingold <sds@gnu.org>
187
188 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
189 instead of the broken adhockery which does not prevent calendar
190 buffers from being displayed at random after exit.
191 (calendar-window-list, calendar-hide-window): Remove the broken
192 adhockery.
193
fee88ca0
GM
1942012-03-28 Glenn Morris <rgm@gnu.org>
195
196 * replace.el (query-replace-map): Doc fix.
197
38de3354
AS
1982012-03-28 Andreas Schwab <schwab@linux-m68k.org>
199
200 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
201 contents. (Bug#11109)
202
b973155e
SM
2032012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
206 (bug#11077).
207 (avl-tree--check, avl-tree--check-node): New funs.
208
dcb6e7b3
MR
2092012-03-27 Martin Rudalics <rudalics@gmx.at>
210
211 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
212 (switch-to-prev-buffer, switch-to-next-buffer):
213 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
214 showing a buffer already is done on the same frame.
215
b4fa35fa
GM
2162012-03-27 Glenn Morris <rgm@gnu.org>
217
218 * startup.el (mail-host-address): Doc fix.
219
f9210e18
SM
2202012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
223 than 197 variables.
224
c0bf7753
AF
2252012-03-26 Ami Fischman <ami@fischman.org>
226
227 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
228
33da7b16
GM
2292012-03-26 Glenn Morris <rgm@gnu.org>
230
02243d9d
GM
231 * files.el (save-buffers-kill-emacs): Doc fix.
232
33da7b16
GM
233 * startup.el (normal-top-level, command-line, command-line-1):
234 Give them doc strings.
235
e5a69fd0
EZ
2362012-03-25 Eli Zaretskii <eliz@gnu.org>
237
238 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 239 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 240
9a69676a
CY
2412012-03-25 Chong Yidong <cyd@gnu.org>
242
4125cb8b
CY
243 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
244 theme if it was previously enabled before (Bug#11031).
245
dd470960
CY
246 * cus-theme.el (custom-theme-write-faces): Retrieve current face
247 spec with custom-face-get-current-spec if its :shown-value is not
248 determined yet (Bug#9337).
4125cb8b 249 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 250
9a69676a
CY
251 * button.el (button-at): Minor addition to docstring.
252
6e7e90fa
SL
2532012-03-24 Simon Leinen <simon.leinen@gmail.com>
254
255 * vc/vc.el (vc-merge): Fix a prompt.
256
f06e2758
CY
2572012-03-24 Chong Yidong <cyd@gnu.org>
258
259 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
260 point (Bug#9623).
261
6e7e90fa
SL
262 * button.el (button-at): Minor addition to docstring.
263
b9d0879b
SM
2642012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * newcomment.el (comment-choose-indent): No space after BOL.
267
e71cebb3
SS
2682012-03-22 Sam Steingold <sds@gnu.org>
269
270 * window.el (switch-to-prev-buffer): Revert last patch because the
271 bug turned out to be an advertised feature (Elisp manual 28.14).
272
335aff35
GM
2732012-03-22 Glenn Morris <rgm@gnu.org>
274
275 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
276 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
277
c676576a
LMI
2782012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
279
280 * net/network-stream.el (network-stream-open-starttls): Make error
281 message under Windows be less misleading.
282
126f3d39
LW
2832012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
284
285 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
286 understands (bug#9942).
287
64fee311
CY
2882012-03-22 Chong Yidong <cyd@gnu.org>
289
290 * simple.el (end-of-visible-line): Handle return value of
291 next-single-property-change properly (Bug#9371).
292
a640d29a
KH
2932012-03-22 Kenichi Handa <handa@m17n.org>
294
295 * international/quail.el (quail-insert-kbd-layout): Fix previous
296 change. To avoid unwanted bidi reordering, use
297 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
298
39675016
DG
2992012-03-21 Dmitry Gutov <dgutov@yandex.ru>
300
301 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
302 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
303 (ruby-beginning-of-indent): Be more careful with the difference
304 between word-boundary and symbol boundary.
305 (ruby-mode-syntax-table): Make : a symbol constituent.
306
0a6934fc 3072012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 308
3d008e4f
SM
309 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
310
0a6934fc
SM
3112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
312
af67c9d7
SM
313 * progmodes/etags.el (tags-completion-at-point-function):
314 Improve last fix.
315
1acad97c
SM
316 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
317
e298b5da
SS
3182012-03-21 Sam Steingold <sds@gnu.org>
319
320 * progmodes/etags.el (tags-completion-at-point-function):
321 Avoid the error when point is inside the pattern.
322
91d82a70
JY
3232012-03-21 John Yates <john@yates-sheets.org> (tiny change)
324
325 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
326 line (Bug#10855).
327
69188b79
CY
3282012-03-21 Drew Adams <drew.adams@oracle.com>
329
330 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
331
99fc91fe
AK
3322012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
333
334 * ido.el (ido-set-current-directory, ido-read-internal)
335 (ido-choose-completion-string, ido-completion-help): Handle nil
336 value of ido-completion-buffer (Bug#11008).
337
087bbb4c
SS
3382012-03-21 Sam Steingold <sds@gnu.org>
339
340 * window.el (switch-to-prev-buffer): Do not switch to a visible
341 window previous buffer, just like with the frame previous buffers.
342
fb5b8aca
CY
3432012-03-21 Chong Yidong <cyd@gnu.org>
344
345 * faces.el (make-face, make-empty-face, copy-face):
346 * face-remap.el (face-remap-add-relative, face-remap-set-base):
347 Doc fixes.
348
dc9924b8
SM
3492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * wid-edit.el (widget-complete-field): Remove (bug#11051).
352 (widget-complete): Remove broken use of it.
353
f0bcceb9
CY
3542012-03-20 Chong Yidong <cyd@gnu.org>
355
dc9924b8
SM
356 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
357 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
358 characters.
359
ee52ebf3
TH
3602012-03-20 Tassilo Horn <tassilo@member.fsf.org>
361
362 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
363 to draw rectangles, not squares. (Regression introduced by revno
364 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
365
4c5779ab
CY
3662012-03-18 Chong Yidong <cyd@gnu.org>
367
368 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
369 it is not yet defined (for temacs).
370
15360934
LL
3712012-03-18 Leo Liu <sdl.web@gmail.com>
372
dc9924b8 373 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 374
d9a8eb66
EZ
3752012-03-17 Eli Zaretskii <eliz@gnu.org>
376
377 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
378 (ispell-choices-win-default-height, ispell-silently-savep)
379 (ispell-dictionary-alist, ispell-encoding8-command)
380 (ispell-check-version, ispell-aspell-find-dictionary)
381 (ispell-valid-dictionary-list, ispell-words-keyword)
382 (ispell-get-word, ispell-internal-change-dictionary)
383 (ispell-region, ispell-skip-region-list)
384 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
385 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
386 (ispell-message-text-end, ispell-message)
387 (ispell-buffer-local-parsing): Doc fix.
388
f02ff80d
J
3892012-03-13 Jambunathan K <kjambunathan@gmail.com>
390
391 * htmlfontify.el: Add support for code block fontification for ODT
392 export (Bug #9914).
393 (hfy-optimisations): Define new option
394 `body-text-only'
395 (hfy-fontify-buffer): Honor above setting.
396 (hfy-begin-span, hfy-end-span): New routines factored out form
397 `hfy-fontify-buffer'.
398 (hfy-begin-span-handler, hfy-end-span-handler): New variables
399 that permit insertion of custom tags.
400 (hfy-fontify-buffer): Use above handlers.
401 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
402 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 403 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
404 over multiple runs. This is made possible by having the caller let
405 bind a special variable `hfy-user-sheet-assoc'.
406 (htmlfontify-string): New defun.
407 (hfy-compile-face-map): Make sure that the last char in the
408 buffer is correctly fontified.
409 (hfy-face-resolve-face): Whitespace only change.
410
9ac7a13f
EZ
4112012-03-17 Eli Zaretskii <eliz@gnu.org>
412
413 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
414 message more clear.
415
e2b5bdd7
LL
4162012-03-16 Leo Liu <sdl.web@gmail.com>
417
418 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
419
2e492df3
AM
4202012-03-16 Alan Mackenzie <acm@muc.de>
421
422 Further optimise the handling of large macros.
423
424 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
425 limit to a call of `c-literal-limits'.
426 (c-determine-+ve-limit): New function.
dc9924b8
SM
427 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
428 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
429 In CASE 5B, restrict a search limit to 500.
430 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
431
432 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
433 Restrict macro bounds to +-500 from after-change's BEG END.
434
50e94f0c
LL
4352012-03-16 Leo Liu <sdl.web@gmail.com>
436
437 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
438
6f09f6ed
AH
4392012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
440
441 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 442 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 443
c7e73d51
GM
4442012-03-16 Glenn Morris <rgm@gnu.org>
445
da986230
GM
446 * view.el (view-buffer, view-buffer-other-window)
447 (view-buffer-other-frame): Doc fixes re special mode-class.
448
0835f01e
GM
449 * subr.el (eval-after-load): If named feature is provided not from
450 a file, run after-load forms. (Bug#10946)
451
c7e73d51
GM
452 * calendar/calendar.el (calendar-insert-at-column):
453 Handle non-unit-width characters a bit better. (Bug#10978)
454
3f2eafd1
CY
4552012-03-15 Chong Yidong <cyd@gnu.org>
456
457 * emacs-lisp/ring.el (ring-extend): New function.
458 (ring-insert+extend): Extend the ring correctly (Bug#11019).
459
460 * comint.el (comint-read-input-ring)
461 (comint-add-to-input-history): Grow comint-input-ring lazily.
462
103af3fe
SM
4632012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
464
663b1677
SM
465 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
466 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
467
103af3fe
SM
468 * imenu.el: Fix multiple inheritance breakage (bug#9199).
469 (imenu-add-to-menubar): Don't add a redundant index.
470 (imenu-update-menubar): Handle a dynamically composed keymap.
471
899cb7cb
KY
4722012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
473
474 * mail/sendmail.el (mail-encode-header):
475 Bind rfc2047-encode-encoded-words to nil.
476
3809f91d
GM
4772012-03-13 Glenn Morris <rgm@gnu.org>
478
479 * calendar/calendar.el (calendar-string-spread):
480 Handle non-unit-width characters a bit better. (Bug#10978)
481
9e345a01
LL
4822012-03-13 Leo Liu <sdl.web@gmail.com>
483
484 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
485 directory and file as argument (Bug#10822).
486
4a07df36
KS
4872012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
488
489 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
490 For dynamically generated code, follow $PC.
491 (gdb-disassembly-handler-custom): Handle no function name case.
492
4aaa9356
TL
4932012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
494
495 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
496 * emulation/ws-mode.el (ws-query-replace):
497 * sort.el (sort-regexp-fields):
498 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
499
225979da
SM
5002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * dabbrev.el: Fix cycle completion order (bug#10963).
503 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
504 (dabbrev-completion): Don't use an obarray; provide
505 a cycle-sort-function.
506
e2f1fdab
LL
5072012-03-12 Leo Liu <sdl.web@gmail.com>
508
dc9924b8 509 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
510 (kill-do-not-save-duplicates): Doc fix.
511
b19490ed
SM
5122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * dabbrev.el: Fix cycle completion (bug#10963).
515 Use lexical binding and wrap to 80 columns.
516 (dabbrev-completion): Delay computing the list of completions.
517
4b05d722
KH
5182012-03-12 Kenichi Handa <handa@m17n.org>
519
520 * international/quail.el (quail-insert-kbd-layout): Surround each
521 row by LRO and PDF instead of inserting many LRMs. Pad the left
522 and right of each non-spacing marks. Insert invisible space
523 between lower and upper characters to prevent composition.
524
dbbc2e69
SM
5252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * minibuffer.el (minibuffer-complete): Don't get confused when the
528 function is run twice via different commands (bug#10958).
529 (complete-with-action): Fix docstring.
530
292112ed
CY
5312012-03-12 Chong Yidong <cyd@gnu.org>
532
5d1ac394
CY
533 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
534 (nxml-completion-at-point-function): New function.
535 (nxml-mode): Use it.
536 (nxml-bind-meta-tab-to-complete-flag): Default to t.
537
292112ed
CY
538 * emacs-lisp/package.el (package-unpack, package-unpack-single):
539 Load generated autoloads file before byte compiling (Bug#10970).
540 (package--make-autoloads-and-compile): New helper fun.
541
4098f8f7
CS
5422012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
543
544 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
545
8f754691
MA
5462012-03-11 Michael Albinus <michael.albinus@gmx.de>
547
548 * autorevert.el (auto-revert-handler): Ensure, that
549 file-readable-p is applied only for local files or in
550 auto-revert-tail-mode.
551
e29ab36b
AS
5522012-03-11 Andreas Schwab <schwab@linux-m68k.org>
553
dbbc2e69
SM
554 * server.el (server-eval-at): Handle non-tcp connections.
555 Decode result string.
ad0bf5b6 556
e29ab36b
AS
557 * server.el (server-msg-size): New constant.
558 (server-reply-print): New function.
559 (server-eval-and-print): Use it.
560 (server-eval-at): Use server-quote-arg and server-unquote-arg.
561 Handle -print-nonl.
562
de5939ba
CS
5632012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
564
565 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
566 (Bug#10987).
567
0c93eabf
CY
5682012-03-11 Chong Yidong <cyd@gnu.org>
569
397a688f
CY
570 * simple.el (goto-line): Doc fix (Bug#9938).
571
2cc775f9
CY
572 * subr.el (save-window-excursion): Doc fix (Bug#9979).
573
0c93eabf
CY
574 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
575 when finished (Bug#10963).
576
c491fa41
MR
5772012-03-11 Martin Rudalics <rudalics@gmx.at>
578
579 * window.el (split-window-below): Fix bug in case where
580 split-window-keep-point is nil (Bug#10971).
581
300e8fa5
JL
5822012-03-11 Juri Linkov <juri@jurta.org>
583
584 * replace.el (replace-highlight): Set isearch-word to nil
585 unconditionally. (Bug#10887)
586
dbf6c5a1
EZ
5872012-03-10 Eli Zaretskii <eliz@gnu.org>
588
589 * net/mairix.el (mairix-replace-invalid-chars): Rename from
590 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 591 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
592 (mairix-widget-create-query): Add usage information about mairix
593 search forms: negating words, searching for substrings, etc.
594
b9e501de
JP
5952012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
596
597 * international/fontset.el (font-encoding-alist): Add an entry for
598 ksx1001 (Bug#5667).
599
92795c91
RS
6002012-03-10 Richard Stallman <rms@gnu.org>
601
1694e6c1
RS
602 * mail/sendmail.el (mail-encode-header):
603 Set rfc2047-encode-encoded-words.
604
607e8555
RS
605 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
606
de3bc99a
RS
607 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
608 view buffer means not swapped.
609 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
610 (rmail-write-region-annotate): Error if real text has disappeared.
611
92795c91
RS
612 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
613
699bd04e
CY
6142012-03-10 Chong Yidong <cyd@gnu.org>
615
616 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
617 * emulation/cua-base.el (cua--init-keymaps):
618 Add delete-forward-char to remappings (Bug#9666).
699bd04e 619
570a1714
MR
6202012-03-10 Martin Rudalics <rudalics@gmx.at>
621
dbbc2e69
SM
622 * speedbar.el (speedbar-unhighlight-one-tag-line):
623 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 624
82dcf4e4
CY
6252012-03-10 Chong Yidong <cyd@gnu.org>
626
7a2c7ca7
CY
627 * minibuffer.el (completion-in-region, completion-help-at-point):
628 Give the completion field overlay a high priority (Bug#6830).
629
82dcf4e4
CY
630 * dired.el (dired-goto-file): Recognize absolute file name
631 listings (Bug#7126).
632 (dired-goto-file-1): New helper function.
633 (dired-toggle-read-only): Inhibit warnings.
634
052e28ac
MA
6352012-03-09 Michael Albinus <michael.albinus@gmx.de>
636
637 * net/dbus.el: (dbus-property-handler): Return empty array if
638 there are no properties.
639
95d5e396
LL
6402012-03-09 Leo Liu <sdl.web@gmail.com>
641
642 * savehist.el (savehist-printable): Stricter check for string
643 value (Bug#10937).
644
3f018d6d
EZ
6452012-03-09 Eli Zaretskii <eliz@gnu.org>
646
dbbc2e69
SM
647 * mail/smtpmail.el (smtpmail-send-it):
648 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
649 valid mbox format.
650
f7fd3d79
GM
6512012-03-09 Glenn Morris <rgm@gnu.org>
652
653 * files.el (dir-locals-find-file):
654 Don't check result is regular, readable.
655 (dir-locals-read-from-file): Demote errors.
656
6ff6e72f
EZ
6572012-03-08 Eli Zaretskii <eliz@gnu.org>
658
dbbc2e69
SM
659 * international/quail.el (quail-insert-kbd-layout):
660 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
661 layout cell, to prevent their reordering by bidi display engine.
662 For details, see the discussion in
663 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
664
9cec7834
AM
6652012-03-08 Alan Mackenzie <acm@muc.de>
666
667 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
668 the starting position; make it extend the marked region when
669 invoked repeatedly - all under appropriate circumstances.
670 Fixes bugs #5525, #10906.
671
9a40b8d4
GM
6722012-03-08 Glenn Morris <rgm@gnu.org>
673
674 * files.el (locate-dominating-file, dir-locals-find-file):
675 Undo 2012-03-06 change.
676
7a08ed35
EZ
6772012-03-07 Eli Zaretskii <eliz@gnu.org>
678
dbbc2e69
SM
679 * international/quail.el (quail-help):
680 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
681 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
682 for the reason.
683
5aca4f71 6842012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
685
686 Avoid superfluous registering of signals. (Bug#10807)
687
688 * notifications.el (notifications-on-action-object)
689 (notifications-on-close-object): New defvars.
690 (notifications-on-action-signal, notifications-on-closed-signal):
691 Unregister the signal if not needed any longer.
692 (notifications-notify): Register `notifications-action-signal' or
693 `notifications-closed-signal', if :on-action or :on-close has been
694 passed as argument.
695
78e8b10a
CY
6962012-03-07 Chong Yidong <cyd@gnu.org>
697
698 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
699 non-X platforms.
700
69481eb8
GM
7012012-03-06 Glenn Morris <rgm@gnu.org>
702
703 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
704 (x-disown-selection-internal, x-get-selection-internal):
705 Doc fix (add arglist signatures). (Bug#10783)
706
133b8e11
KS
7072012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
708
709 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
710 Handle breakpoints with no "type".
711
99a83064
GM
7122012-03-06 Glenn Morris <rgm@gnu.org>
713
714 * files.el (locate-dominating-file): Add optional predicate argument.
715 (dir-locals-find-file): Make use of above change.
716
17798e78
TTN
7172012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
718
719 * info.el (Info-insert-dir): Also try "dir.gz".
720
eb182446
GM
7212012-03-06 Glenn Morris <rgm@gnu.org>
722
8f2114ee
GM
723 * files.el (dir-locals-find-file):
724 Ignore non-readable or non-regular files. (Bug#10928)
725
eb182446
GM
726 * files.el (locate-dominating-file): Doc fix.
727
24679323
AS
7282012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
729
730 * calendar/calendar.el (calendar-set-mode-line):
731 `getenv' returns a string. (Bug#10951)
732
01d972a9
LL
7332012-03-05 Leo Liu <sdl.web@gmail.com>
734
109aa8a9
LL
735 * simple.el (backward-delete-char-untabify): Constrain point to
736 field (Bug#10939).
737
01d972a9
LL
738 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
739
10607bea
CY
7402012-03-05 Chong Yidong <cyd@gnu.org>
741
742 * simple.el (count-words): If called from Lisp, return the word
743 count, for symmetry with `count-lines'. Arglist changed.
744 (count-words--message): Args changed. Consolidate counting code
745 from count-words and count-words-region.
746 (count-words-region): Caller changed.
747 (count-lines-region): Make it an obsolete alias.
748
5dd11cfe
TH
7492012-03-04 Tassilo Horn <tassilo@member.fsf.org>
750
751 * saveplace.el (save-place-to-alist)
752 (save-place-ignore-files-regexp): Allow value nil to disable this
753 feature.
754
c349f4e6
CY
7552012-03-04 Chong Yidong <cyd@gnu.org>
756
757 * faces.el (face-spec-reset-face): For the default face, reset the
758 attributes to default values (Bug#10748).
759
e627be4c
LMI
7602012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
761
762 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
763 previous patch: Check `message-send-mail-function', and not the
764 default function (bug#10897).
765
ebeabff4
MA
7662012-03-04 Michael Albinus <michael.albinus@gmx.de>
767
a41a6cf4
MA
768 * notifications.el (notifications-on-action-signal)
769 (notifications-on-closed-signal): Check for unique service name of
770 incoming event. Fix error in removing entry.
ebeabff4 771 (top): Register for signals with wildcard service name.
a41a6cf4 772 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 773
c1ca42b4
CY
7742012-03-04 Chong Yidong <cyd@gnu.org>
775
dc9924b8 776 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 777
ea16568d
GM
7782012-03-04 Glenn Morris <rgm@gnu.org>
779
780 * abbrev.el (copy-abbrev-table, abbrev-table-p)
781 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
782 (expand-abbrev, define-abbrev-table): Doc fixes.
783
fbae4637
LMI
7842012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
785
786 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
787 `message-default-send-mail-function' and not `send-mail-function'
788 when doing the prompting for `sendmail-query-once' before sending
789 in Message buffers (bug#10897).
790
a1e7225c
LMI
791 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
792 This is inconsistent with all the other stream functions, which leave
793 the setting up to the higher levels (if so wanted) (bug#10931).
794
56d093a9
AM
7952012-03-02 Alan Mackenzie <acm@muc.de>
796
797 Depessimize the handling of very large macros.
798
799 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
800 (c-macro-cache-syntactic): New variables to implement a one
801 element macro cache.
802 (c-invalidate-macro-cache): New function.
803 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
804 Adapt to use the new cache.
805 (c-state-safe-place): Use better the cache of safe positions.
806 (c-state-semi-nonlit-pos-cache)
807 (c-state-semi-nonlit-pos-cache-limit):
808 New variables for...
809 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
810 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
811 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
812 Use c-state-semi-safe-place.
56d093a9 813
dbbc2e69
SM
814 * progmodes/cc-langs.el (c-get-state-before-change-functions):
815 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 816
817e5c3d
MA
8172012-03-02 Michael Albinus <michael.albinus@gmx.de>
818
dbbc2e69
SM
819 * jka-compr.el (jka-compr-call-process):
820 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
821 not remote.
822
a032a702
MA
8232012-03-01 Michael Albinus <michael.albinus@gmx.de>
824
825 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
826 access of FILE2, if FILE1 does not exist.
827
99a54f21
MA
828 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
829 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
830
831 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
832 Add "PAGER=" to `process-environment'.
833
f6561e1f
MM
8342012-03-01 Michael R. Mauger <mmaug@yahoo.com>
835
836 * progmodes/sql.el: Bug fix
837 (sql-get-login-ext): Save login values in globals.
838 (sql-get-login): Use new version of `sql-get-login-ext'.
839 (sql-interactive-mode): Set global `sql-connection' to nil.
840 (sql-connect): Set global values for connection.
841 (sql-product-interactive): Save global values as buffer local.
842
2d44d9cc
LL
8432012-02-29 Leo Liu <sdl.web@gmail.com>
844
845 * abbrev.el (define-abbrevs): Reset sys to nil.
846
96b49301 8472012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
848
bf7f9bc5
JB
849 * files.el (file-equal-p): Rename from `files-equal-p'.
850 Return nil when one or both files don't exist.
96b49301 851 (file-subdir-of-p): Now only top directory must exists,
852 return nil if it doesn't.
bf7f9bc5
JB
853 (copy-directory): No need to test with `file-subdir-of-p' after
854 creating dir.
855 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
856 to `file-equal-p'.
96b49301 857
44e97401
GM
8582012-02-28 Glenn Morris <rgm@gnu.org>
859
860 * shell.el (shell-mode):
861 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
862 * play/landmark.el (landmark-font-lock-face-O):
863 * play/handwrite.el (handwrite):
864 * play/gomoku.el (gomoku-O):
865 * net/browse-url.el (browse-url-browser-display):
866 * international/mule.el (define-charset):
867 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
868 * filesets.el (filesets-find-file-delay):
869 * eshell/em-xtra.el (eshell-xtra):
870 * eshell/em-unix.el (eshell-grep):
871 * emulation/viper.el (viper-mode):
872 * emacs-lisp/regexp-opt.el (regexp-opt-group):
873 * emacs-lisp/easymenu.el (easy-menu-define):
874 * calendar/timeclock.el (timeclock-use-display-time):
875 * bs.el (bs-mode):
876 * bookmark.el (bookmark-save-flag):
877 Doc fix (standardize possessive apostrophe usage).
878
c98c6276
CY
8792012-02-27 Chong Yidong <cyd@gnu.org>
880
bf7f9bc5
JB
881 * emulation/viper-cmd.el (viper-intercept-ESC-key):
882 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 883
c98c6276
CY
884 * font-lock.el (font-lock-specified-p): Rename from
885 font-lock-spec-present. Callers changed.
886
9c62cd04 8872012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 888
bf7f9bc5
JB
889 * emacs-lisp/package.el (package-compute-transaction):
890 Handle holding a package version to t in package-load-list.
8ac9e529 891
530739c9
MA
8922012-02-26 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
895 (tramp-get-inode, tramp-get-device): Use cached values.
896
487915d7
AM
8972012-02-26 Alan Mackenzie <acm@muc.de>
898
899 Check there is a font-lock specification before doing initial
900 fontification.
901
902 * font-core.el (font-lock-mode): Move the conditional from
903 :after-hook to font-lock-initial-fontify.
904 (font-lock-default-function): Move the check for a specification
905 to font-lock-spec-present.
906
dc9924b8 907 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
908 (font-lock-spec-present): New function.
909
4fd96557
JB
9102012-02-26 Jim Blandy <jimb@red-bean.com>
911
912 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
913 (gdb-send): Apply it to the operand of the '-interpreter-exec
914 console' command, so that we can pass arguments with (say) quotes
915 in them. Store exact string sent in gdb-debug-log (Bug#10765).
916
9a4888c0
CY
9172012-02-26 Chong Yidong <cyd@gnu.org>
918
07498861
CY
919 * help-fns.el (describe-function-1): Clarify description of
920 remapping (Bug#10844).
921
9a4888c0
CY
922 * files.el (files-equal-p): Doc fix.
923 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
924 and quit the loop once a mismatch is found.
925
ea8fb88d
JB
9262012-02-25 Juanma Barranquero <lekktu@gmail.com>
927
928 * bs.el (bs--show-with-configuration): Don't throw an error
929 if the window cannot be split; otherwise, subsequent calls to
930 bs-show fail, restoring a stale window config. (Bug#10882)
931
525795c1
JD
9322012-02-25 Jan Djärv <jan.h.d@swipnet.se>
933
934 * term/ns-win.el (global-map): Bind ns-drag-file to
935 ns-find-file (Bug#5855, Bug#10050).
936
f008086f
AS
9372012-02-25 Andreas Schwab <schwab@linux-m68k.org>
938
939 * calendar/parse-time.el (parse-time-string): Allow extractor to
940 return nil.
941
a3fcfa99
MA
9422012-02-25 Michael Albinus <michael.albinus@gmx.de>
943
91027d08
JB
944 * net/tramp.el (tramp-file-name-for-operation):
945 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
946
947 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
948 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
949 Add COPY-CONTENTS argument.
a3fcfa99 950
67b0de11
CY
9512012-02-25 Chong Yidong <cyd@gnu.org>
952
953 Add custom groups for VC backends, for consistency with vc-bzr.
954
955 * vc/vc-arch.el (vc-arch):
956 * vc/vc-cvs.el (vc-cvs):
957 * vc/vc-git.el (vc-git):
958 * vc/vc-hg.el (vc-hg):
959 * vc/vc-mtn.el (vc-mtn):
960 * vc/vc-rcs.el (vc-rcs):
961 * vc/vc-sccs.el (vc-sccs):
962 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
963 All relevant defcustoms reassigned.
964
3c9dfce6
CY
9652012-02-25 Chong Yidong <cyd@gnu.org>
966
1339bf43
CY
967 * newcomment.el (comment-styles): Add autoload (Bug#10868).
968
3c9dfce6
CY
969 * term/x-win.el (x-initialize-window-system): Reduce default for
970 x-selection-timeout to 5 seconds (Bug#8869).
971
53a46cd0 9722012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 973
53a46cd0 974 * files.el (file-subdir-of-p): Fix typo.
14a8a663 975
25b2e303 9762012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
977
ec70a47d
GM
978 * files.el (files-equal-p, file-subdir-of-p): New functions.
979 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 980 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
981 * dired-aux.el (dired-copy-file-recursive): Same.
982 (dired-create-files): Modify destination when source is equal to
983 dest when copying files.
53a46cd0 984 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 985
914260cd
MA
9862012-02-24 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
989 (Bug#10874)
990
2cb228f7
AM
9912012-02-23 Alan Mackenzie <acm@muc.de>
992
993 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
994 parameter "after-hook:" to allow the expansion to run code after
995 the execution of the mode hooks.
996
997 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 998 from font-lock-mode-internal.
2cb228f7 999
91027d08 1000 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1001 :after-hook.
1002
8f0fde21
SM
10032012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1004
3e88618b
SM
1005 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1006 (completion--cache-all-sorted-completions): New function.
1007 (completion-all-sorted-completions): Use it.
1008 (completion--do-completion, minibuffer-force-complete):
1009 Use it to re-instate the flush hook.
1010
8f0fde21
SM
1011 * icomplete.el (icomplete-completions): Replace last fix with a better
1012 one (bug#10850).
1013
8e911f6f
DG
10142012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1015
1016 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1017 when it might call us back infinitely (bug#10797).
1018
49fe4321
GM
10192012-02-23 Glenn Morris <rgm@gnu.org>
1020
1021 * minibuffer.el (completion-category-overrides): Doc fix.
1022
b291b572
SM
10232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1026 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1027
31a9ef2e
GM
10282012-02-23 Glenn Morris <rgm@gnu.org>
1029
5e6e6794 1030 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1031 (authors-obsolete-files-regexps, authors-ignored-files)
1032 (authors-ambiguous-files, authors-renamed-files-alist):
1033 Add more entries.
1034
0bd1e074
JL
10352012-02-23 Juri Linkov <juri@jurta.org>
1036
1037 * isearch.el (isearch-occur): Sync interactive spec with occur's
1038 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1039
b617673c
JL
1040 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1041
19e9789e
JL
10422012-02-22 Juri Linkov <juri@jurta.org>
1043
1044 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1045 (ucs-insert): Doc fix. Check for hex digits in the string.
1046 Don't display `nil' in the error message. (Bug#10857)
1047
f41ce09d
AM
10482012-02-22 Alan Mackenzie <acm@muc.de>
1049
7a71b18d 1050 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1051
ac2eceee
GM
10522012-02-22 Glenn Morris <rgm@gnu.org>
1053
1054 * ffap.el (ffap-c-path):
1055 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1056
abd1f678
CY
10572012-02-22 Chong Yidong <cyd@gnu.org>
1058
1059 * custom.el (load-theme): Doc fix.
1060
f25aef2e
GM
10612012-02-22 Glenn Morris <rgm@gnu.org>
1062
1063 * dired-x.el (dired-guess-shell-alist-default):
1064 Remove escape sequences from nroff output. (Bug#172)
1065
5f8dc2ca
GM
10662012-02-21 Glenn Morris <rgm@gnu.org>
1067
6ff86ec4
GM
1068 * vc/emerge.el (emerge-defvar-local):
1069 Set `permanent-local' property rather than unused `preserved'.
1070
be3223a3 1071 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1072 (picture-mode-map): Use it. (Bug#10860)
1073 (picture-mode): Doc fix.
1074
3fe58f4f
JB
10752012-02-21 Juanma Barranquero <lekktu@gmail.com>
1076
1077 * newcomment.el (uncomment-region-default): Remove unused binding.
1078
f9a998c3
GM
10792012-02-21 Glenn Morris <rgm@gnu.org>
1080
1081 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1082 (picture-self-insert, picture-tab-chars): Doc fix.
1083 (picture-mode-map): Fix C-a, C-e.
1084
c6029348
GM
10852012-02-20 Glenn Morris <rgm@gnu.org>
1086
1087 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1088
ab1ce9d7
LL
10892012-02-20 Leo Liu <sdl.web@gmail.com>
1090
1091 * icomplete.el (icomplete-completions): Check FROM arg before
1092 passing to substring (Bug#10850).
1093
0fd40f89
CY
10942012-02-19 Chong Yidong <cyd@gnu.org>
1095
1096 * comint.el: Require ansi-color.
1097 (comint-output-filter-functions): Add ansi-color-process-output.
1098
1099 * ansi-color.el: Don't set comint-output-filter-functions; it is
1100 now in the initial value defined in comint.el.
1101 (ansi-color-apply-face-function): New variable.
1102 (ansi-color-apply-on-region): Use it.
1103 (ansi-color-apply-overlay-face): New function.
1104
1105 * shell.el (shell): No need to require ansi-color.
1106 (shell-mode): Use ansi-color-apply-face-function to highlight
1107 color escapes using font-lock-face property (Bug#10835).
1108
20af2394
CY
11092012-02-19 Chong Yidong <cyd@gnu.org>
1110
1111 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1112 mode-line formats (Bug#10839).
1113
e23a3fbe
GM
11142012-02-18 Glenn Morris <rgm@gnu.org>
1115
b474519e
GM
1116 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1117
1118 * mail/undigest.el (unforward-rmail-message): Doc fix.
1119
e23a3fbe
GM
1120 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1121
57939ff4
EZ
11222012-02-18 Eli Zaretskii <eliz@gnu.org>
1123
1124 * international/characters.el (script-list): Sync with the latest
1125 Unicode Character Database.
1126
0c23686e
AS
11272012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1128
1129 * international/titdic-cnv.el: Remove duplicate coding tag.
1130 * language/cham.el: Likewise.
1131 * language/tai-viet.el: Likewise.
1132
6818b449
GM
11332012-02-18 Glenn Morris <rgm@gnu.org>
1134
1135 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1136 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1137 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1138 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1139 * calendar/holidays.el (holiday-bahai-holidays)
1140 (calendar-holidays, list-holidays):
1141 Use utf-8 Bahá'í in doc-strings, menus, etc.
1142
0311a3fc
TH
11432012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1144
1145 * saveplace.el (save-place-ignore-files-regexp): New variable
1146 allowing for excluding files from saving their location of point.
1147 The default value matches the temporary commit message editing
1148 files from Git, SVN, Bazaar, and Mercurial.
1149 (save-place-to-alist): Use it.
1150
eb864a71
LM
11512012-02-17 Lawrence Mitchell <wence@gmx.li>
1152 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * newcomment.el (uncomment-region-default): Don't leave extra space
1155 when an arg is provided (bug#8150).
1156
ee0ce425
TZ
11572012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1158
eb864a71 1159 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1160
95ddf442
GM
11612012-02-17 Glenn Morris <rgm@gnu.org>
1162
1163 * net/socks.el: Require network-stream. (Bug#10599)
1164
48dd1e39 11652012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1166
1167 * international/charprop.el:
1168 * international/uni-name.el:
1169 * international/uni-old-name.el:
1170 * international/uni-comment.el: Regenerate.
1171
d68cd087
GM
11722012-02-16 Glenn Morris <rgm@gnu.org>
1173
1174 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1175 Interactively in calendar buffer, give an error if not on a date.
1176
13932042
GM
11772012-02-15 Glenn Morris <rgm@gnu.org>
1178
1179 * shell.el (shell-delimiter-argument-list):
1180 Revert 2011-02-17 change. (Bug#8027)
1181
c3a70e2b
CY
11822012-02-15 Chong Yidong <cyd@gnu.org>
1183
60236b0d
CY
1184 * minibuffer.el (completion-at-point-functions): Doc fix.
1185
c3a70e2b
CY
1186 * custom.el (defcustom): Doc fix; note use of defvar.
1187
9f26dc24
GM
11882012-02-15 Glenn Morris <rgm@gnu.org>
1189
1190 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1191 Doc fixes.
1192
6546b134
GM
11932012-02-14 Glenn Morris <rgm@gnu.org>
1194
1195 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1196
d29b2b4c
LI
11972012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1198
1199 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1200 way the ports list is computed.
835bdcba
LI
1201 (smtpmail-query-smtp-server): Prompt the user for a port number if
1202 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1203
08dcdbc9
TZ
12042012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1205
1206 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1207
2605051a
GM
12082012-02-13 Glenn Morris <rgm@gnu.org>
1209
1210 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1211
7ee99f32
TZ
12122012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1213
1214 * net/gnutls.el (gnutls-trustfiles): New variable.
1215 (gnutls-negotiate): Use it.
1216
5f0af64f
LI
12172012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1218
1219 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1220 does its stuff if Gnus is running.
1221
c14fcc95
AM
12222012-02-13 Alan Mackenzie <acm@muc.de>
1223
1224 Fix a loop in c-set-fl-decl-start.
1225
7a71b18d 1226 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1227 c-backward-syntactic-ws actually moves backwards.
1228
142b4d90
LL
12292012-02-13 Leo Liu <sdl.web@gmail.com>
1230
1231 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1232 beginning so that all \C-o chars are removed.
1233
fa9958a6
TZ
12342012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1235
dc9924b8 1236 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1237
0bc5886a
AM
12382012-02-12 Alan Mackenzie <acm@muc.de>
1239
1240 Fix infinite loop with long macros.
1241 * cc-engine.el (c-state-safe-place): Handle macros properly.
1242
d4bd55e7
CY
12432012-02-12 Chong Yidong <cyd@gnu.org>
1244
1245 * window.el (display-buffer): Doc fix (Bug#10785).
1246
66f3fe22
GM
12472012-02-12 Glenn Morris <rgm@gnu.org>
1248
bd7da63e
GM
1249 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1250 (x-disown-selection-internal, x-get-selection-internal):
1251 Sync docs with the xselect.c versions.
1252
66f3fe22
GM
1253 * allout-widgets.el: Add missing license notice.
1254
3e0d2fa7
GM
12552012-02-11 Glenn Morris <rgm@gnu.org>
1256
cfecdf09
GM
1257 * select.el (x-get-selection-internal, x-own-selection-internal)
1258 (x-disown-selection-internal):
1259 * x-dnd.el (x-get-selection-internal): Update declarations.
1260
6d216d7f
GM
1261 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1262
2bed3f04
GM
1263 * window.el (window-sides-slots):
1264 * tool-bar.el (tool-bar-position):
1265 * term/xterm.el (xterm-extra-capabilities):
1266 * ses.el (ses-self-reference-early-detection):
1267 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1268 (verilog-auto-wire-type)
1269 (verilog-auto-delete-trailing-whitespace)
1270 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1271 (verilog-auto-tieoff-declaration):
1272 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1273 (sql-oracle-statement-starters, sql-oracle-scan-on):
1274 * progmodes/prolog.el (prolog-align-comments-flag)
1275 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1276 (prolog-left-indent-regexp, prolog-paren-indent-p)
1277 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1278 (prolog-types, prolog-mode-specificators)
1279 (prolog-determinism-specificators, prolog-directives)
1280 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1281 (prolog-electric-dot-flag)
1282 (prolog-electric-dot-full-predicate-template)
1283 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1284 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1285 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1286 (prolog-program-switches, prolog-prompt-regexp)
1287 (prolog-debug-on-string, prolog-debug-off-string)
1288 (prolog-trace-on-string, prolog-trace-off-string)
1289 (prolog-zip-on-string, prolog-zip-off-string)
1290 (prolog-use-standard-consult-compile-method-flag)
1291 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1292 (prolog-imenu-max-lines, prolog-info-predicate-index)
1293 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1294 (prolog-char-quote-workaround):
1295 * progmodes/cc-vars.el (c-defun-tactic):
1296 * net/tramp.el (tramp-encoding-command-interactive)
1297 (tramp-local-end-of-line):
1298 * net/soap-client.el (soap-client):
1299 * net/netrc.el (netrc-file):
1300 * net/gnutls.el (gnutls):
1301 * minibuffer.el (completion-category-overrides)
1302 (completion-cycle-threshold)
1303 (completion-pcm-complete-word-inserts-delimiters):
1304 * man.el (Man-name-local-regexp):
1305 * mail/feedmail.el (feedmail-display-full-frame):
1306 * international/characters.el (glyphless-char-display-control):
1307 * eshell/em-ls.el (eshell-ls-date-format):
1308 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1309 (lisp-lambda-list-keyword-parameter-indentation)
1310 (lisp-lambda-list-keyword-parameter-alignment):
1311 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1312 * dired-x.el (dired-omit-verbose):
1313 * cus-theme.el (custom-theme-allow-multiple-selections):
1314 * calc/calc.el (calc-highlight-selections-with-faces)
1315 (calc-lu-field-reference, calc-lu-power-reference)
1316 (calc-note-threshold):
1317 * battery.el (battery-mode-line-limit):
1318 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1319 (archive-7z-update):
1320 * allout.el (allout-prefixed-keybindings)
1321 (allout-unprefixed-keybindings)
1322 (allout-inhibit-auto-fill-on-headline)
1323 (allout-flattened-numbering-abbreviation):
1324 * allout-widgets.el (allout-widgets-auto-activation)
1325 (allout-widgets-icons-dark-subdir)
1326 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1327 (allout-widgets-theme-dark-background)
1328 (allout-widgets-theme-light-background)
1329 (allout-widgets-item-image-properties-emacs)
1330 (allout-widgets-item-image-properties-xemacs)
1331 (allout-widgets-run-unit-tests-on-load)
1332 (allout-widgets-time-decoration-activity)
1333 (allout-widgets-hook-error-post-time)
1334 (allout-widgets-track-decoration):
1335 Add missing :version tags to new defcustoms and defgroups.
1336
5fec1b8e
GM
1337 * progmodes/sql.el (sql-ansi-statement-starters)
1338 (sql-oracle-statement-starters): Add custom type.
1339
3e0d2fa7
GM
1340 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1341 (prolog-system-version): Give it a type.
1342
90b671e2
EZ
13432012-02-11 Eli Zaretskii <eliz@gnu.org>
1344
1345 * term/pc-win.el (x-select-text, x-selection-owner-p)
1346 (x-own-selection-internal, x-disown-selection-internal)
1347 (x-get-selection-internal): Sync doc strings and argument lists
1348 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1349
5eac0c02
LL
13502012-02-11 Leo Liu <sdl.web@gmail.com>
1351
1352 * progmodes/python.el (python-end-of-statement): Fix infinite
1353 loop. (Bug#10788)
1354
f82cb659
GM
13552012-02-10 Glenn Morris <rgm@gnu.org>
1356
1357 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1358 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1359
cc26d239
LI
13602012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1361
1362 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1363 about SMTP before checking the From header.
1364
91027d08 1365 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1366 into own function for reuse by emacsbug.el.
1367
1be3ca5a
LL
13682012-02-10 Leo Liu <sdl.web@gmail.com>
1369
1370 * subr.el (condition-case-unless-debug): Rename from
1371 condition-case-no-debug. All callers changed.
1372 (with-demoted-errors): Fix caller.
1373
1374 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1375 * nxml/rng-valid.el (rng-do-some-validation):
1376 * emacs-lisp/package.el (package-refresh-contents)
1377 (package-menu-execute):
1378 * desktop.el (desktop-create-buffer):
91027d08 1379 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1380
b011fbfe
GM
13812012-02-10 Glenn Morris <rgm@gnu.org>
1382
b2096d72
GM
1383 * textmodes/bibtex.el:
1384 Add missing :version tags for new/changed defcustoms.
1385
b011fbfe
GM
1386 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1387
4c7e65bf
LI
13882012-02-09 Lars Ingebrigtsen <larsi@rusty>
1389
1390 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1391 (smtpmail-via-smtp): Use it, or fall back on the From address.
1392 (smtpmail-send-it): Ditto.
1393
f3934f6f
SM
13942012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1397 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1398 (byte-compile-tmp-var): New const.
1399 (byte-compile-defvar): Use it to minimize .elc size.
1400 Just use `defvar' rather than simulate it (bug#10761).
1401
a075a2c5
GM
14022012-02-09 Glenn Morris <rgm@gnu.org>
1403
cf3aa21b
GM
1404 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1405
354998cd
GM
1406 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1407 Add :version tags.
1408
dc9924b8
SM
1409 * progmodes/compile.el (compilation-error-screen-columns)
1410 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1411
dab3703d
GM
1412 * vc/log-view.el (log-view-toggle-entry-display):
1413 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1414
3f88cd72
GM
1415 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1416 (report-emacs-bug-can-use-xdg-email):
1417 (report-emacs-bug-insert-to-mailer): Doc fixes.
1418 (report-emacs-bug): Message fix.
1419
d95b247d
GM
1420 * net/browse-url.el (browse-url-can-use-xdg-open)
1421 (browse-url-xdg-open): Doc fixes.
1422
a075a2c5
GM
1423 * electric.el (electric-indent-mode, electric-pair-mode)
1424 (electric-layout-rules, electric-layout-mode): Doc fixes.
1425 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1426
ffb6157e
MR
14272012-02-08 Martin Rudalics <rudalics@gmx.at>
1428
1429 * server.el (server-unselect-display): Don't inadvertently kill
1430 the current buffer. (Bug#10729)
1431
e1ac4066
GM
14322012-02-08 Glenn Morris <rgm@gnu.org>
1433
34e8a2da
GM
1434 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1435 (sql-list-table): Doc fixes.
1436
b4ac6e8c
GM
1437 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1438 Comment out (does nothing).
1439
e1ac4066
GM
1440 * completion.el (dynamic-completion-mode):
1441 * dirtrack.el (dirtrack-debug-mode):
1442 * electric.el (electric-layout-mode):
1443 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1444 * face-remap.el (text-scale-mode, buffer-face-mode):
1445 * iimage.el (iimage-mode):
1446 * image-mode.el (image-transform-mode):
1447 * minibuffer.el (completion-in-region-mode):
1448 * scroll-lock.el (scroll-lock-mode):
1449 * simple.el (next-error-follow-minor-mode):
1450 * tar-mode.el (tar-subfile-mode):
1451 * tooltip.el (tooltip-mode):
1452 * vcursor.el (vcursor-use-vcursor-map):
1453 * wid-browse.el (widget-minor-mode):
1454 * emulation/tpu-edt.el (tpu-edt-mode):
1455 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1456 * international/iso-ascii.el (iso-ascii-mode):
1457 * language/thai-util.el (thai-word-mode):
1458 * mail/supercite.el (sc-minor-mode):
1459 * net/goto-addr.el (goto-address-mode):
1460 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1461 * progmodes/cwarn.el (cwarn-mode):
1462 * progmodes/flymake.el (flymake-mode):
1463 * progmodes/glasses.el (glasses-mode):
1464 * progmodes/hideshow.el (hs-minor-mode):
1465 * progmodes/pascal.el (pascal-outline-mode):
1466 * textmodes/enriched.el (enriched-mode):
1467 * vc/smerge-mode.el (smerge-mode):
1468 Doc fixes (minor mode argument).
1469
5e0d957f
EZ
14702012-02-07 Eli Zaretskii <eliz@gnu.org>
1471
1472 * ls-lisp.el (ls-lisp-sanitize): New function.
1473 (ls-lisp-insert-directory): Use it to fix or remove any elements
1474 in file-alist with missing attributes. (Bug#4673)
1475
98d7371e
AM
14762012-02-07 Alan Mackenzie <acm@muc.de>
1477
1478 Fix spurious recognition of c-in-knr-argdecl.
1479
1480 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1481 putative K&R region.
1482
667ced3a
AM
14832012-02-07 Alan Mackenzie <acm@muc.de>
1484
eb864a71
LM
1485 * progmodes/cc-engine.el (c-forward-objc-directive):
1486 Prevent looping in "#pragma mark @implementation".
667ced3a 1487
5b77774d
MA
14882012-02-07 Michael Albinus <michael.albinus@gmx.de>
1489
1490 * notifications.el (notifications-on-closed-signal): Make `reason'
1491 optional. (Bug#10744)
1492
af008560
GM
14932012-02-07 Glenn Morris <rgm@gnu.org>
1494
60d47423
GM
1495 * emacs-lisp/easy-mmode.el (define-minor-mode):
1496 Doc fixes for the macro and the mode it defines.
1497
dd605cc4
GM
1498 * image.el (imagemagick-types-inhibit): Doc fix.
1499
af008560
GM
1500 * cus-start.el (imagemagick-render-type): Add it.
1501
5cc59a37
LI
15022012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1503
1504 * progmodes/cc-mode.el
1505 (c-standard-font-lock-fontify-region-function): Set the default at
1506 load time, too, so that `font-lock-fontify-buffer' can be called
1507 without setting up the entire mode first. This fixes a bug in
1508 `mm-inline-text' with C MIME parts.
1509
9a6dd747
CY
15102012-02-06 Chong Yidong <cyd@gnu.org>
1511
2d16b285
CY
1512 * simple.el (list-processes--refresh): Delete exited processes
1513 (Bug#8094).
1514
171e9b6e
CY
1515 * comint.el (comint-next-prompt): next-single-char-property-change
1516 and prev-single-char-property-change never return nil (Bug#8657).
1517
9a6dd747
CY
1518 * custom.el (defcustom): Doc fix (Bug#9711).
1519
aa4589a7
CY
15202012-02-05 Chong Yidong <cyd@gnu.org>
1521
5c2a252f
CY
1522 * cus-edit.el (custom-variable-reset-backup): Quote the value
1523 before storing it in the customized-value property (Bug#6712).
4aab9006 1524 (custom-display): Add a customization type tag.
983b9602 1525 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1526
aa4589a7
CY
1527 * wid-edit.el (widget-field-value-get): New optional arg to
1528 suppress trailing whitespace truncation.
1529 (character): Use it (Bug#2689).
1530
1ff980ae
AS
15312012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1532
1533 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1534 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1535
03988c98
CY
15362012-02-05 Chong Yidong <cyd@gnu.org>
1537
eeb6cc88
CY
1538 * cus-edit.el (custom-variable-value-create): For mismatched
1539 types, show the current value (Bug#7600).
1540
03988c98
CY
1541 * custom.el (defcustom): Doc fix.
1542
f8cdeef0
GM
15432012-02-05 Glenn Morris <rgm@gnu.org>
1544
1545 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1546
0696d255
JB
15472012-02-05 Juanma Barranquero <lekktu@gmail.com>
1548
1549 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1550 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1551 (pp-last-sexp): Use `looking-at-p'.
1552
34c99998
GM
15532012-02-04 Glenn Morris <rgm@gnu.org>
1554
8f05da42
GM
1555 * files.el (revert-buffer):
1556 Doc fix (mention revert-buffer-in-progress-p).
1557
f160676e
GM
1558 * emacs-lisp/ert-x.el (ert-simulate-command):
1559 Check deferred-action-list (which is obsolete) is bound.
1560
c7291ad9
GM
1561 * subr.el (with-wrapper-hook): Doc fixes.
1562
34c99998
GM
1563 * simple.el (filter-buffer-substring-functions)
1564 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1565
6283a7d3
LL
15662012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1567
1568 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1569 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1570
e96e3013
LL
15712012-02-04 Leo Liu <sdl.web@gmail.com>
1572
1573 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1574
8ded50f2
GM
15752012-02-04 Glenn Morris <rgm@gnu.org>
1576
82ff1d13
GM
1577 * image.el (image-extension-data): Add obsolete alias.
1578
987a0a16
GM
1579 * isearch.el (isearch-update): Doc fix.
1580
ea32ef46
GM
1581 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1582
8ded50f2
GM
1583 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1584
eea14f31
GM
15852012-02-03 Glenn Morris <rgm@gnu.org>
1586
1587 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1588 (image-animate-timeout): Doc fix.
1589
1590 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1591
12f381b7
GM
15922012-02-02 Glenn Morris <rgm@gnu.org>
1593
953cebf5
GM
1594 * server.el (server-auth-dir): Doc fix.
1595 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1596
12f381b7
GM
1597 * subr.el (run-mode-hooks): Doc fix.
1598
953a8c3b
JL
15992012-02-02 Juri Linkov <juri@jurta.org>
1600
1601 * image-mode.el (image-toggle-display-image): Remove tautological
1602 `major-mode' from the `derived-mode-p' test.
1603
c5d3843c
KH
16042012-02-02 Kenichi Handa <handa@m17n.org>
1605
9f6e692e 1606 * composite.el (compose-region): Cancel previous change.
c5d3843c 1607
159462d4 16082012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1609
1610 * composite.el (compose-region, compose-string): Signal error for
1611 a null string component (Bug#6988).
1612
9f562668
CY
16132012-02-01 Chong Yidong <cyd@gnu.org>
1614
e2cef717
CY
1615 * view.el (view-buffer-other-window, view-buffer-other-frame):
1616 Handle special modes like view-buffer (Bug#10650).
1617 (view-buffer): Simplify.
1618
9f562668
CY
1619 * frame.el (set-frame-font): Tweak meaning of third argument.
1620
9f6e692e
JB
1621 * dynamic-setting.el (font-setting-change-default-font):
1622 Use set-frame-font (Bug#9982).
9f562668 1623
781acb9f
GM
16242012-02-01 Glenn Morris <rgm@gnu.org>
1625
6035be52
GM
1626 * progmodes/compile.el (compilation-internal-error-properties):
1627 Respect compilation-first-column in the "*compilation*" buffer.
1628
781acb9f
GM
1629 * emacs-lisp/easy-mmode.el (define-minor-mode):
1630 Relax :variable's test for a named function.
1631
abbceb00
AM
16322012-01-31 Alan Mackenzie <acm@muc.de>
1633
1634 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1635 off by one error.
1636
fce3fdeb
CY
16372012-01-31 Chong Yidong <cyd@gnu.org>
1638
1639 * frame.el (set-frame-font): New arg ALL-FRAMES.
1640
1641 * menu-bar.el (menu-set-font): Use set-frame-font.
1642
1643 * faces.el (face-spec-reset-face): Don't apply unspecified
1644 attribute values to the default face.
1645
47893581
JB
16462012-01-31 Juanma Barranquero <lekktu@gmail.com>
1647
1648 * progmodes/cwarn.el (cwarn): Remove dead link.
1649 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1650 Remove * from defcustom docstrings.
1651 (turn-on-cwarn-mode): Make obsolete.
1652 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1653 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1654
e58e988a
GM
16552012-01-31 Glenn Morris <rgm@gnu.org>
1656
60dc2671 1657 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1658 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1659 Allow named functions to be used as the cdr of :variable.
e58e988a 1660
7a3f511d
GM
16612012-01-30 Glenn Morris <rgm@gnu.org>
1662
1663 * emacs-lisp/authors.el (authors-fixed-entries):
1664 Remove reference to deleted file rnewspost.el.
1665
cb882333
JB
16662012-01-29 Juanma Barranquero <lekktu@gmail.com>
1667
1668 * window.el (window-with-parameter): Remove unused variable `windows'.
1669 (window--side-check): Remove unused variable `code'.
1670 (window--resize-siblings): Remove unused variable `first'.
1671 (adjust-window-trailing-edge): Remove unused variable `failed'.
1672 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1673 Use `let', not `let*'.
1674 (balance-windows-2): Remove unused variable `found'.
1675 (window--state-put-2): Remove unused variable `splits'.
1676 (window-state-put): Remove unused variable `selected'.
1677 (same-window-p): Use `string-match-p'.
1678 (display-buffer-assq-regexp): Remove unused variable `value'.
1679 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1680 Mark argument ALIST as ignored.
1681 (pop-to-buffer): Remove unused variable `old-window'.
1682
907201af
EZ
16832012-01-29 Eli Zaretskii <eliz@gnu.org>
1684
1685 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1686 and .lzma compressed files.
1687
ea162670
CY
16882012-01-29 Chong Yidong <cyd@gnu.org>
1689
5b95ee8a
CY
1690 * frame.el (window-system-default-frame-alist): Doc fix.
1691
ea162670
CY
1692 * dynamic-setting.el (font-setting-change-default-font): Don't
1693 change the default face if SET-FONT argument is non-nil (Bug#9982).
1694
d6e6f4b1
SB
16952012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1696
1697 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1698
0f29fa41 16992012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1700
1701 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1702 breakpoints in files outside current directory (Bug#6098).
1703
db174434
CY
17042012-01-29 Chong Yidong <cyd@gnu.org>
1705
6b25e4e2
SE
1706 * progmodes/python.el: Require ansi-color at top-level.
1707
6df6ae42
JB
1708 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1709 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1710 (lisp-mode-abbrev-table): Add doc.
1711 (lisp-mode-variables): Don't set local-abbrev-table.
1712 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1713
e70ee681
RW
17142012-01-28 Roland Winkler <winkler@gnu.org>
1715
1716 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1717
ace88aa2
RW
17182012-01-28 Roland Winkler <winkler@gnu.org>
1719
1720 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1721 (bibtex-set-dialect): Use it. Either set global values of
1722 dialect-dependent variables or bind these variables buffer-locally
1723 (Bug#10254).
1724 (bibtex-mode): Call bibtex-set-dialect via
1725 hack-local-variables-hook.
eb864a71
LM
1726 (bibtex-dialect): Update docstring.
1727 Add safe-local-variable predicate.
ace88aa2
RW
1728 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1729 bibtex-set-dialect.
1730 (bibtex-mode-map): Define menu for each dialect.
1731 (bibtex-entry): Fix docstring.
1732
93376c5b
CY
17332012-01-28 Chong Yidong <cyd@gnu.org>
1734
1735 * eshell/esh-arg.el (eshell-quote-argument): New function.
1736
1737 * eshell/esh-ext.el (eshell-invoke-batch-file):
1738 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1739 first arg to eshell-parse-command (Bug#10523).
1740
4372494f
DA
17412012-01-28 Drew Adams <drew.adams@oracle.com>
1742
1743 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1744 `default-directory' is non-nil.
1745
4d4ec1f8
EZ
17462012-01-28 Eli Zaretskii <eliz@gnu.org>
1747
1748 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1749 line that displays system-configuration-options. (Bug#9924)
1750
7c188927
DA
17512012-01-28 Drew Adams <drew.adams@oracle.com>
1752
1753 * descr-text.el (describe-char): Show information about POS, in
1754 addition to information about the character at POS. Improve and
1755 update the doc string. Change "code point" to "code point in
1756 charset", to avoid confusion with the character's Unicode code
1757 point shown above that. (Bug#10129)
1758
e0da685a
EZ
17592012-01-28 Eli Zaretskii <eliz@gnu.org>
1760
1761 * descr-text.el (describe-char): Show the raw character, not only
1762 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1763 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1764 for the reasons.
1765
70550acf
PH
17662012-01-28 Phil Hagelberg <phil@hagelb.org>
1767
eb864a71
LM
1768 * emacs-lisp/package.el (package-install):
1769 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1770
0ce8e868
CY
17712012-01-28 Chong Yidong <cyd@gnu.org>
1772
cb882333
JB
1773 * emacs-lisp/package.el (package-maybe-load-descriptor):
1774 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1775 (package-maybe-load-descriptor): Use it.
1776 (package-download-transaction): Fully load required packages
1777 inside the loop, so that `require' calls work (Bug#10593).
1778 (package-install): No need to call package-initialize now.
1779
2e7f3bea
CY
17802012-01-28 Chong Yidong <cyd@gnu.org>
1781
6e9bad14
CY
1782 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1783
f823b8ca
CY
1784 * tooltip.el (tooltip-mode): Doc fix.
1785 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1786
2680c309
CY
1787 * frame.el (set-cursor-color): Doc fix (Bug#352).
1788
d7a9e63b
CY
1789 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1790 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1791
2e7f3bea
CY
1792 * cus-edit.el (custom-buffer-create-internal): Fix search button
1793 action (Bug#10542).
2ae01800 1794 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1795
fc4f7a23
EW
17962012-01-27 Eduard Wiebe <usenet@pusto.de>
1797
1798 * dired.el (dired-mark-files-regexp):
1799 Include any subdirectory components. (Bug#10445)
1800
7dd37071
ML
18012012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1802
1803 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1804 Handle [host]:port syntax. (Bug#10533)
1805
a268160b
AH
18062012-01-27 Alex Harsanyi <harsanyi@mac.com>
1807
1808 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1809
e43273ef
GM
18102012-01-26 Glenn Morris <rgm@gnu.org>
1811
1812 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1813 * term.el (term-raw-escape-map): Use Control-X-prefix.
1814 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1815
1edf595d
MR
18162012-01-25 Martin Rudalics <rudalics@gmx.at>
1817
1818 * window.el (window-state-get, window--state-get-1): Don't deal
1819 with fixed-sizeness of windows. Simplify code.
1820
fa8eafef
JC
18212012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1822
6df6ae42
JB
1823 * window.el (window--state-get-1, window--state-put-2):
1824 Don't save and restore the mark.
fa8eafef 1825
0b21c100
CY
18262012-01-25 Chong Yidong <cyd@gnu.org>
1827
1828 * custom.el (custom-variable-p): Doc fix.
1829
5ae1a6c8
GM
18302012-01-25 Glenn Morris <rgm@gnu.org>
1831
40047858
GM
1832 * dired.el (dired-goto-file): Handle some of the more common
1833 characters that `ls -b' escapes. (Bug#10596)
1834
5ddce96c
GM
1835 * progmodes/compile.el (compilation-next-error-function):
1836 Respect compilation-first-column in the "*compilation*" buffer.
1837 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1838
5ae1a6c8
GM
1839 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1840
b559f1a9
GM
18412012-01-24 Glenn Morris <rgm@gnu.org>
1842
1843 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1844
6725d21a
JD
18452012-01-24 Julien Danjou <julien@danjou.info>
1846
1847 * color.el (color-rgb-to-hsl): Fix value computing.
1848 (color-hue-to-rgb): New function.
1849 (color-hsl-to-rgb): New function.
1850 (color-clamp, color-saturate-hsl, color-saturate-name)
1851 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1852 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1853
70df4bbe
GM
18542012-01-24 Glenn Morris <rgm@gnu.org>
1855
1856 * vc/vc-rcs.el (vc-rcs-create-tag):
1857 * vc/vc-sccs.el (vc-sccs-create-tag):
1858 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1859
802a2ae2
ML
18602012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1861
1862 * eshell/esh-util.el (eshell-read-hosts-file):
1863 Skip comment lines. (Bug#10549)
1864
d7128bb1
ML
1865 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1866
d1a5c3b4
JB
18672012-01-23 Juanma Barranquero <lekktu@gmail.com>
1868
2724d9c7
JB
1869 * subr.el (display-delayed-warnings): Doc fix.
1870 (collapse-delayed-warnings): New function to collapse identical
1871 adjacent warnings.
1872 (delayed-warnings-hook): Add it.
d1a5c3b4 1873
a5509865
MA
18742012-01-22 Michael Albinus <michael.albinus@gmx.de>
1875
1876 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1877
1878 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1879 properties, when "login-as" is set.
1880
1881 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1882 (tramp-default-user-alist): Don't add "pscp".
1883 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1884 property "login-as", if set. (Bug#10530)
1885
cc6d5805
MA
18862012-01-21 Michael Albinus <michael.albinus@gmx.de>
1887
1888 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1889 "plink1" and "psftp". (Bug#10530)
1890
18912012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1892
1893 * international/mule-cmds.el (prefer-coding-system): Show a
1894 warning message if the default value of file-name-coding-system
1895 was not changed.
1896
f0960428
JC
18972012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1898
cb882333
JB
1899 * windmove.el (windmove-reference-loc):
1900 Fix windmove-reference-loc miscalculation.
f0960428 1901
dd6f2a63
JB
19022012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1903
1904 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1905 default unit.
1906
7b447e9b
GM
19072012-01-21 Glenn Morris <rgm@gnu.org>
1908
117a9ea1
GM
1909 * international/mule.el (auto-coding-alist): Add .tbz.
1910
7b447e9b
GM
1911 * files.el (local-enable-local-variables): Doc fix.
1912 (inhibit-local-variables-regexps): Rename from
1913 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1914 Doc fix. Add some extensions from auto-coding-alist.
1915 (inhibit-local-variables-suffixes):
1916 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1917 (inhibit-local-variables-p):
1918 New function, extracted from set-auto-mode-1.
1919 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1920 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1921 (hack-local-variables): Doc fix. Make the mode-only case
1922 respect enable-local-variables and friends.
1923 Respect inhibit-local-variables-regexps for file-locals, but
1924 not for directory-locals.
1925 (set-visited-file-name):
1926 Take account of inhibit-local-variables-regexps.
1927 Whether it applies may change as the file name is changed.
1928 * jka-cmpr-hook.el (jka-compr-install):
1929 * jka-compr.el (jka-compr-uninstall):
1930 Update for inhibit-first-line-modes-suffixes name change.
1931
dd6e3cdd
MR
19322012-01-20 Martin Rudalics <rudalics@gmx.at>
1933
1934 * help-macro.el (make-help-screen): Temporarily restore original
1935 binding for minor-mode-map-alist (Bug#10454).
1936
0d0deb38
JD
19372012-01-19 Julien Danjou <julien@danjou.info>
1938
1939 * color.el (color-name-to-rgb): Use the white color to find the max
1940 color component value and return correctly computed values.
1941 (color-name-to-rgb): Add missing float conversion for max value.
1942
34a02f46
MR
19432012-01-19 Martin Rudalics <rudalics@gmx.at>
1944
1945 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1946 special state value for window-persistent-parameters.
1947 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1948 (window--state-put-2): Reset all window parameters to nil before
1949 assigning values of persistent parameters.
1950
606c44c4
AM
19512012-01-18 Alan Mackenzie <acm@muc.de>
1952
1953 Eliminate sluggishness and hangs in fontification of "semicolon
1954 deserts".
1955
cb882333
JB
1956 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1957 Change value 10000 -> 3000.
606c44c4
AM
1958 (c-state-safe-place): Reformulate so it doesn't stack up an
1959 infinite number of wrong entries in c-state-nonlit-pos-cache.
1960 (c-determine-limit-get-base, c-determine-limit): New functions to
1961 determine backward search limits disregarding literals.
1962 (c-find-decl-spots): Amend commenting.
1963 (c-cheap-inside-bracelist-p): New function which detects "={".
1964
1965 * progmodes/cc-fonts.el
1966 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1967 backward search.
1968 (c-font-lock-declarations): Fix an occurrence of point being
1969 undefined. Check additionally for point being in a bracelist or
1970 near a macro invocation without a semicolon so as to avoid a
1971 fruitless time consuming search for a declarator. Give a more
1972 precise search limit for declarators using the new
1973 c-determine-limit.
1974
f3860cea
GM
19752012-01-18 Glenn Morris <rgm@gnu.org>
1976
1977 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1978 (set-auto-mode): Doc fixes.
1979
1db03b16
GM
19802012-01-17 Glenn Morris <rgm@gnu.org>
1981
0e6038be
GM
1982 * isearch.el (search-nonincremental-instead): Fix doc typo.
1983
1db03b16
GM
1984 * dired.el (dired-insert-directory): Handle newlines in directory name.
1985 (dired-build-subdir-alist): Unescape newlines in directory name.
1986
4cb0aa75
MA
19872012-01-17 Michael Albinus <michael.albinus@gmx.de>
1988
1989 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1990 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1991 (tramp-action-terminal): Use it. (Bug#10530)
1992
1d00653d
SM
19932012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1996
6a6ee00d
MR
19972012-01-16 Martin Rudalics <rudalics@gmx.at>
1998
1999 * window.el (window-state-ignored-parameters): Remove variable.
2000 (window--state-get-1): Rename argument MARKERS to IGNORE.
2001 Handle persistent window parameters. Make copy of clone-of
2002 parameter only if requested. (Bug#10348)
2003 (window--state-put-2): Install a window parameter only if it has
2004 a non-nil value or an existing parameter shall be overwritten.
2005
97912def
MA
20062012-01-15 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2009
688070a5
EZ
20102012-01-14 Eli Zaretskii <eliz@gnu.org>
2011
2012 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2013 don't pass the (nil) value of `upnode' to string-match.
2014
301afadc
CY
20152012-01-14 Chong Yidong <cyd@gnu.org>
2016
2017 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2018 Fix values recognized by the cursorBlink resource.
301afadc 2019
9e5788aa
PE
20202012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2021
2022 * epg.el (epg--make-temp-file): Avoid permission race condition
2023 when running on old Emacs versions (bug#10403).
2024
3cdb7f5a
GM
20252012-01-14 Glenn Morris <rgm@gnu.org>
2026
2027 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2028
8c82b1b4
AM
20292012-01-13 Alan Mackenzie <acm@muc.de>
2030
2031 Fix filling for when filladapt mode is enabled.
2032
2033 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2034 c-mask-paragraph, pass in `fill-paragraph' rather than
2035 `fill-region-as-paragraph'. (This is a reversion of a previous
2036 change.)
eb864a71
LM
2037 * progmodes/cc-mode.el (c-basic-common-init):
2038 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2039
e517eda4
GM
20402012-01-13 Glenn Morris <rgm@gnu.org>
2041
1498536e
GM
2042 * dired.el (dired-switches-escape-p): New function.
2043 (dired-insert-directory): Use dired-switches-escape-p.
2044 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2045
e517eda4
GM
2046 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2047
328f984d
GM
20482012-01-12 Glenn Morris <rgm@gnu.org>
2049
2050 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2051 changes in adaptive-fill-regexp. (Bug#10276)
2052
2cc769a8
AM
20532012-01-11 Alan Mackenzie <acm@muc.de>
2054
2055 Fix Emacs bug #10463 - put `widen's around the critical spots.
2056
1d00653d 2057 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2058 widen around each invocation of c-state-pp-to-literal. Remove an
2059 unused let variable.
2060
e52c37fa
GM
20612012-01-11 Glenn Morris <rgm@gnu.org>
2062
2063 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2064 Doc fix.
e52c37fa 2065
96f8741e
CY
20662012-01-10 Chong Yidong <cyd@gnu.org>
2067
1d00653d
SM
2068 * net/network-stream.el (network-stream-open-starttls):
2069 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2070 response to the capability command.
2071
b09a806e
GM
20722012-01-10 Glenn Morris <rgm@gnu.org>
2073
2074 * mail/unrmail.el (unrmail): Tweak previous change.
2075
7655cb66
CY
20762012-01-09 Chong Yidong <cyd@gnu.org>
2077
2078 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2079
9d5a8f0b
AM
20802012-01-08 Alan Mackenzie <acm@muc.de>
2081
2082 Optimise font locking in long enum definitions.
2083
2084 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2085 arm to a cond form to handle enums.
2086 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2087 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2088
9a0115ab 20892012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2090
2091 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2092 (Bug#10401)
6bb72cbd 2093
f186bb95
LMI
20942012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2095
29232a68
LMI
2096 * faces.el (set-face-attribute): Clarify the meaning of the nil
2097 frame (bug#10294).
2098
4e5d086d
LMI
2099 * subr.el (with-selected-frame): Mention that the selected frame
2100 is restored (bug#9980).
2101
8e66aebe
LMI
2102 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2103 (bug#9759).
2104
cd394be1 2105 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2106 (password-read): Don't autoload unused function.
2107
adf4e762
JB
21082012-01-07 Juanma Barranquero <lekktu@gmail.com>
2109
2110 * progmodes/which-func.el (which-func-mode): Turn into a
2111 non-interactive function and mark as obsolete (bug#10428).
2112
89bd9ccd
CY
21132012-01-06 Chong Yidong <cyd@gnu.org>
2114
2115 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2116 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2117 functions, along with 1 and -1.
2118
4afee9d5
EZ
21192012-01-06 Eli Zaretskii <eliz@gnu.org>
2120
2121 * time.el (display-time-load-average)
2122 (display-time-default-load-average): Doc fixes. See the thread
2123 starting at
2124 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2125 for the details.
2126
536aea70
GM
21272012-01-06 Glenn Morris <rgm@gnu.org>
2128
665ae865
GM
2129 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2130 has no messages. (Bug#10377)
2131
c869783d
GM
2132 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2133 than Info-edit. (Bug#10385)
2134
2bb4227e
GM
2135 * time.el (display-time-load-average, display-time-next-load-average):
2136 Doc fixes.
2137
7d5944b9
GM
2138 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2139 local setting of buffer-read-only to the input buffer. (Bug#10419)
2140
536aea70
GM
2141 * calendar/calendar.el (calendar-mode):
2142 Locally set scroll-margin to 0. (Bug#10379)
2143
7dccca16
UM
21442012-01-06 Ulrich Mueller <ulm@gentoo.org>
2145
2146 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2147
afbb7930
GM
21482012-01-05 Glenn Morris <rgm@gnu.org>
2149
2150 * eshell/em-unix.el (diff-no-select): Autoload it.
2151 (eshell/diff): Use diff-no-select. (Bug#10420)
2152
04482335
CY
21532012-01-05 Chong Yidong <cyd@gnu.org>
2154
7baca3bc
CY
2155 * shell.el (shell-dynamic-complete-functions): Revert last change.
2156 (shell-command-completion-function): New function.
2157 (shell-completion-vars): Use it to implement
2158 shell-completion-execonly (Bug#10417).
2159
04482335
CY
2160 * custom.el (enable-theme): Don't set custom-safe-themes.
2161
1d00653d
SM
2162 * cus-theme.el (custom-theme-merge-theme):
2163 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2164
bb5aa5d6
MM
21652012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2166
2167 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2168 first prompt in `sql-interacive-mode'.
2169 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2170 keywords.
6df6ae42 2171 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2172 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2173 context of original buffer. Invoke `sql-login-hook'.
2174
a7183d7c
EZ
21752012-01-04 Eli Zaretskii <eliz@gnu.org>
2176
2177 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2178 letters in cite-prefix.
2179
a1eacd1e
LMI
21802012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2181
2182 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2183
787cdb34
CY
21842012-01-03 Chong Yidong <cyd@gnu.org>
2185
1d00653d
SM
2186 * shell.el (shell-dynamic-complete-functions):
2187 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2188 comint-filename-completion first (Bug#10417).
2189
30710442
RS
21902012-01-02 Richard Stallman <rms@gnu.org>
2191
2192 * battery.el (battery-status-function):
2193 Detect when to use battery-yeeloong-sysfs.
2194 (battery-echo-area-format): Add string for Yeeloong.
2195 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2196 (battery-yeeloong-sysfs): New function.
2197
f75bfc33
CY
21982012-01-02 Chong Yidong <cyd@gnu.org>
2199
2200 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2201 (dirtrack): Merge code for handling relative filenames in prompt
2202 from shell-dir-cookie-watcher.
2203 (dirtrack-debug-message): New arg to avoid excess format calls.
2204
2205 * shell.el (shell-dir-cookie-re): Variable deleted.
2206 (shell-dir-cookie-watcher): Function deleted.
2207 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2208 with dirtrack-mode.
2209
651e947e
EZ
22102012-01-01 Eli Zaretskii <eliz@gnu.org>
2211
1d00653d
SM
2212 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2213 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2214 libgnutls-26.dll.
2215
94d4c7dc
AS
22162011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2217
2218 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2219
8d43f3cd
EZ
22202011-12-31 Eli Zaretskii <eliz@gnu.org>
2221
2222 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2223 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2224
98c8795a
MA
22252011-12-29 Michael Albinus <michael.albinus@gmx.de>
2226
2227 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2228 also for alternative shells.
2229 (tramp-open-connection-setup-interactive-shell): Check, whether
2230 the shell is a busybox.
2231 (tramp-send-command): Don't suppress multiple prompts for
2232 busyboxes, it hurts.
2233
51281b32
CY
22342011-12-28 Chong Yidong <cyd@gnu.org>
2235
2236 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2237 (gdb-get-source-file): Move mode line update to
2238 gdb-get-source-file (Bug#10087).
2239
2170cb53
CY
22402011-12-25 Chong Yidong <cyd@gnu.org>
2241
2242 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2243 gud-gdb-marker-filter without taking it as an argument.
2244 (gud-gdb-run-command-fetch-lines): Caller changed.
2245 (gud-gdb-completion-function): New variable.
2246 (gud-gdb-completion-at-point): Use it.
2247 (gud-gdb-completions-1): Split from gud-gdb-completions.
2248
2249 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2250 function as separate arguments.
2251 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2252 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2253 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2254 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2255 (gdb-stopped, def-gdb-auto-update-trigger)
2256 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2257 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2258 Callers changed.
2170cb53
CY
2259 (gud-gdbmi-completions): New function.
2260 (gdb): Use it for generating the completion table.
2261
be8b11bb
AM
22622011-12-24 Alan Mackenzie <acm@muc.de>
2263
2264 Introduce a mechanism to widen the region used in context font
1d00653d 2265 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2266
1d00653d
SM
2267 * progmodes/cc-langs.el (c-before-font-lock-functions):
2268 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2269 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2270 functions to be run just before context (etc.) font locking.
2271
2272 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2273 New, functionality extracted from
be8b11bb 2274 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2275 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2276 (c-after-change): Set c-in-after-change-fontification.
2277 (c-set-fl-decl-start): Rejig its interface, so it can be called
2278 from both after-change and context fontifying.
b81d40f0
JB
2279 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2280 New functions.
2281 (c-standard-font-lock-fontify-region-function): New variable.
2282 (c-font-lock-fontify-region): New function.
be8b11bb 2283
341cf6ac
JL
22842011-12-24 Juri Linkov <juri@jurta.org>
2285
2286 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2287 (Bug#10348)
2288
bffcee0a
MA
22892011-12-23 Michael Albinus <michael.albinus@gmx.de>
2290
2291 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2292 existence of source file. (Bug#10325)
2293
cb5e207c
AM
22942011-12-23 Alan Mackenzie <acm@muc.de>
2295
2296 Fix unstable fontification inside templates.
2297
b81d40f0
JB
2298 * progmodes/cc-langs.el (c-before-font-lock-functions):
2299 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2300 additionally has c-set-fl-decl-start. The other languages (apart
2301 from AWK) have that as a single entry.
2302
b81d40f0
JB
2303 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2304 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2305 c-set-fl-decl-start.
2306
b81d40f0
JB
2307 * progmodes/cc-mode.el (c-common-init, c-after-change):
2308 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2309 (c-set-fl-decl-start): New function, extracted from
2310 c-font-lock-enclosing-decls and enhanced.
2311
60ff536c
JB
23122011-12-23 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2315
1c4757d6
JL
23162011-12-22 Juri Linkov <juri@jurta.org>
2317
2318 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2319
d031f2c7
CY
23202011-12-22 Chong Yidong <cyd@gnu.org>
2321
2322 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2323
bace743a
DA
23242011-12-21 Drew Adams <drew.adams@oracle.com>
2325
2326 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2327
728a1f2b
JC
23282011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2329
2330 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2331
0d373f73
TZ
23322011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2333
fec0aaa4
TZ
2334 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2335 highlighting and support. Fix up comments for capitalization.
2336 (cfengine-mode-debug): New var.
2337 (cfengine3-mode): Change the modeline indicator to "CFE3".
2338 (cfengine3-font-lock-keywords): Improve defun highlighting.
2339 (cfengine2-actions): Rename from `cfengine-actions'.
2340 (cfengine2-font-lock-keywords): Rename from
2341 `cfengine-font-lock-keywords'.
2342 (cfengine2-imenu-expression): Rename from
2343 `cfengine-imenu-expression'.
2344 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2345 (cfengine2-beginning-of-defun): Rename from
2346 `cfengine-beginning-of-defun'.
2347 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2348 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2349 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2350 modeline indicator to "CFE2".
2351 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2352 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2353
bc86f573
CY
23542011-12-21 Chong Yidong <cyd@gnu.org>
2355
2356 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2357 filename argument.
2358
d45ba96b
MR
23592011-12-20 Martin Rudalics <rudalics@gmx.at>
2360
2361 * window.el (window-normalize-buffer-to-display): Remove.
2362 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2363
a6198c90
CY
23642011-12-19 Chong Yidong <cyd@gnu.org>
2365
2366 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2367 Don't signal an error in a predicate function; return non-nil.
2368 (vc-dir-mark-file): Move the error here.
2369 (vc-dir-mark-unmark): If acting on the region, keep going if one
2370 of the entries cannot be marked/unmarked.
2371 (vc-dir-mark-all-files): If current entry is a directory, mark
2372 only child files, as documented.
2373
34c5fb55
VB
23742011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2375
2376 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2377 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2378 addition.
2379
c803b2b7
JD
23802011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2381
2382 * term/ns-win.el (ns-get-selection-internal)
2383 (ns-store-selection-internal): Declare.
1154d12e
JB
2384 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2385 Declare as obsolete.
2386 (ns-get-pasteboard, ns-paste-secondary):
2387 Use ns-get-selection-internal.
2388 (ns-set-pasteboard, ns-copy-including-secondary):
2389 Use ns-store-selection-internal.
c803b2b7 2390
9cff91f8 23912011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2392
2393 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2394 (vc-deduce-fileset): Doc fix.
99a289d9 2395
f16c898a
AS
23962011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2397
2398 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2399
763237c4
SS
24002011-12-13 Sam Steingold <sds@gnu.org>
2401
2402 * man.el (Man-getpage-in-background): When running under a
2403 window-system, ignore $MANWIDTH and $COLUMNS.
2404
5fc1c122
KH
24052011-12-15 Kenichi Handa <handa@m17n.org>
2406
2407 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2408 (setup-ethiopic-environment-internal): Comment out key-binding for
2409 ethio-toggle-punctuation.
2410
13d49cbb
AM
24112011-12-13 Alan Mackenzie <acm@muc.de>
2412
898169a2
AM
2413 Add the switch statement to AWK Mode.
2414
7a71b18d 2415 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2416 "default" to the keywords regexp.
2417
7a71b18d 2418 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2419 expression as the rest.
1d00653d
SM
2420 (c-nonlabel-token-key): Allow string literals for AWK.
2421 Refactor for the other modes.
898169a2 2422
13d49cbb 2423 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2424 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2425 routines. Limit backward searching in c-font-lock-enclosing.decl.
2426
2427 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2428 pp-state and literal type in addition to the limits.
1d00653d 2429 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2430 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2431 (c-slow-in-literal, c-fast-in-literal): Remove.
2432 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2433
2434 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2435 being in a literal. Add a limit for backward searching.
2436
2437 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2438 c-slow-in-literal.
2439
15e0efc7
SM
24402011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2443
454592a6
MR
24442011-12-13 Martin Rudalics <rudalics@gmx.at>
2445
2446 * window.el (delete-other-windows): Use correct frame in call to
2447 window-with-parameter.
2448
87393f26
DP
24492011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2450
2451 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2452 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2453 (makefile-gmake-statements, makefile-makepp-statements):
2454 Use it and add new makepp keywords.
2455 (makefile-makepp-font-lock-keywords): Add new patterns.
2456 (makefile-match-function-end): Match new [...] and [[...]].
2457
11636b22
JB
24582011-12-11 Juanma Barranquero <lekktu@gmail.com>
2459
2460 * ses.el (ses-call-printer-return, ses-cell-property-get)
2461 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2462 (ses-create-cell-variable, ses-reset-header-string)
2463 (ses-cell-set-formula, ses-repair-cell-reference-all)
2464 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2465 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2466 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2467 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2468 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2469 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2470 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2471 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2472 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2473 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2474 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2475 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2476
cf018193
VB
24772011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2478
2479 * ses.el: The overall change is to add cell renaming, that is
2480 setting fancy names for cell symbols other than name matching
2481 "\\`[A-Z]+[0-9]+\\'" regexp .
2482 (ses-create-cell-variable): New defun.
2483 (ses-relocate-formula): Relocate formulas only for cells the
2484 symbols of which are not renamed, i.e. symbols whose names do not
2485 match regexp "\\`[A-Z]+[0-9]+\\'".
2486 (ses-relocate-all): Relocate values only for cells the symbols of
2487 which are not renamed.
2488 (ses-load): Create cells variables as the (ses-cell ...) are read,
2489 in order to check row col consistency with cell symbol name only
2490 for cells that are not renamed.
2491 (ses-replace-name-in-formula): New defun.
2492 (ses-rename-cell): New defun.
2493
ee957461
CY
24942011-12-11 Chong Yidong <cyd@gnu.org>
2495
2496 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2497 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2498
9a9e9ef0
MR
24992011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2500
2501 * window.el (other-window): Fix docstring.
2502
92a8eba5
EZ
25032011-12-10 Eli Zaretskii <eliz@gnu.org>
2504
2505 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2506 `from' or `to' address before taking its substring.
2507 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2508 encoded name is chopped in the middle of the encoded string, and
2509 thus displayed encoded.
2510
e152e577
JB
25112011-12-10 Juanma Barranquero <lekktu@gmail.com>
2512
2513 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2514
e5d84bfe
EZ
25152011-12-10 Eli Zaretskii <eliz@gnu.org>
2516
2517 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2518 to use texinfo-update-node and commands that call it if the
2519 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2520 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2521 (texinfo-all-menus-update, texinfo-master-menu)
2522 (texinfo-update-node, texinfo-every-node-update)
2523 (texinfo-multiple-files-update): Doc fix. Warn against updating
2524 all the @node lines.
2525 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2526 argument is numeric. Explain better in the doc string what the
2527 function really does.
2528 (texinfo-insert-master-menu-list): Improve the error message
2529 displayed if there's no menu in the Top node.
2530 (Bug#2975) See also this thread:
e5d84bfe
EZ
2531 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2532
1d84e9bb
MG
25332011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2534
2535 * speedbar.el (speedbar-supported-extension-expressions):
2536 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2537
382c953b
JB
25382011-12-09 Juanma Barranquero <lekktu@gmail.com>
2539
2540 * printing.el (pr-mode-alist):
2541 * simple.el (filter-buffer-substring-functions)
2542 (completion-list-insert-choice-function):
2543 * window.el (window-with-parameter, window-atom-root)
2544 (window-sides-slots, window-size-fixed, window-min-delta)
2545 (window-max-delta, window--resize-mini-window)
2546 (window--resize-child-windows-normal, window-tree)
2547 (delete-other-windows, quit-window, split-window)
2548 (display-buffer-record-window, special-display-buffer-names)
2549 (special-display-regexps, special-display-popup-frame)
2550 (same-window-p, split-window-sensibly)
2551 (display-buffer-overriding-action, display-buffer-alist)
2552 (display-buffer-base-action, display-buffer, switch-to-buffer)
2553 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2554 (fit-window-to-buffer, recenter-positions)
2555 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2556 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2557 and remove unneeded backslashes in docstrings.
2558
39c9faef
SM
25592011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2560
98449af8
SM
2561 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2562
39c9faef
SM
2563 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2564 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2565 end in ".mk".
2566 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2567 when reading the makefile (bug#10116).
2568
86ed9fdc
SM
25692011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2572 (bug#10116).
2573
5580f89d
GM
25742011-12-06 Glenn Morris <rgm@gnu.org>
2575
2576 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2577
28d3917c
CY
25782011-12-06 Chong Yidong <cyd@gnu.org>
2579
2580 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2581
a98edce9
JB
25822011-12-06 Juanma Barranquero <lekktu@gmail.com>
2583
2584 * textmodes/table.el (table-shorten-cell): Fix typo.
2585
e65adfac
CG
25862011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2587
2588 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2589
71cc0b74
EZ
25902011-12-05 Eli Zaretskii <eliz@gnu.org>
2591
2592 * descr-text.el (describe-char): Fix display of strong
2593 right-to-left characters and directional embeddings and overrides.
2594
2595 * simple.el (what-cursor-position): Fix display of codepoints of
2596 strong right-to-left characters.
2597
315bc30d
CY
25982011-12-05 Chong Yidong <cyd@gnu.org>
2599
2600 * faces.el (read-color): Doc fix.
2601
58a70b94
GM
26022011-12-05 Glenn Morris <rgm@gnu.org>
2603
2604 * align.el (align--set-marker): Add doc-string.
2605 Don't try to move something that is not a marker. (Bug#10216)
2606
5158face
GM
26072011-12-04 Glenn Morris <rgm@gnu.org>
2608
2609 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2610 overly zealous deletion of trailing whitespace.
2611
520fca41
JB
26122011-12-04 Juanma Barranquero <lekktu@gmail.com>
2613
2614 * server.el (server-delete-client): On Windows, do not try to delete
2615 the only terminal.
2616 (server-process-filter): On Windows, treat requests for a tty frame as
2617 if they were for a GUI frame if the running server is in GUI mode.
2618
5e605a2e
GM
26192011-12-03 Glenn Morris <rgm@gnu.org>
2620
2621 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2622
5c3fe83f
SM
26232011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2624
6f5e57e7
SM
2625 * electric.el: Streamline electric-indent's hook.
2626 (electric-indent-chars): Revert to simple list.
2627 (electric-indent-functions): New var.
2628 (electric-indent-post-self-insert-function): Use it.
2629
5c3fe83f
SM
2630 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2631 there's no inferior buffer (bug#10196).
2632 (prolog-consult-compile): Don't use toggle-read-only.
2633
6bdac736
MA
26342011-12-02 Michael Albinus <michael.albinus@gmx.de>
2635
2636 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2637 interrupt. (Bug#10187)
2638
6131ba7f
SM
26392011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2640
99c79fee
SM
2641 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2642 (bug#9160).
2643
6131ba7f
SM
2644 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2645 (bug#10191).
2646
cb0a02ea
JL
26472011-12-02 Juri Linkov <juri@jurta.org>
2648
2649 * info.el (Info-search): Display "end of manual" when Isearch
2650 reaches the end of single-file Info manual. (Bug#9918)
2651
66e0570c
EZ
26522011-12-02 Eli Zaretskii <eliz@gnu.org>
2653
2654 * isearch.el (isearch-message-prefix): Run the input method part
2655 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2656
02b16839
JL
26572011-12-02 Juri Linkov <juri@jurta.org>
2658
2659 * isearch.el (isearch-occur): Use `word-search-regexp' for
2660 `isearch-word'.
2661 (isearch-search-and-update): Add condition for `isearch-word' and
2662 call `word-search-regexp'. (Bug#10145)
2663
0b950688
GM
26642011-12-01 Glenn Morris <rgm@gnu.org>
2665
2666 * eshell/em-hist.el (eshell-hist-initialize):
2667 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2668 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2669
9505c3c7
SM
26702011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2673
1bbe96b2 26742011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2675
a1beca85
SM
2676 * progmodes/verilog-mode.el (verilog-pretty-expr):
2677 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2678 verilog, such as += *= and the like.
2679 (verilog-assignment-operator-re): Regular expression to find the
2680 assigment operator in a verilog assignment.
2681 (verilog-assignment-operation-re): Regular expression to find an
2682 assignment statement for pretty-expr.
2683 (verilog-in-attribute-p): Query returns true if point is in an
2684 attribute context; used to skip these for expression line up from
2685 pretty-expr.
2686 (verilog-in-parameter-p): Query returns true if point is in an
2687 parameter definition context; used to skip these for expression
2688 line up from pretty-expr.
2689 (verilog-in-parenthesis-p): Query returns true if point is in a
2690 parenthetical expression, specifically ( ) but not [ ] or { };
2691 used by pretty-expr.
2692 (verilog-just-one-space): If there is no space, don't add one.
2693 (verilog-get-lineup-indent-2): Specifically skip just attribute
2694 contexts for expression lineup, rather than skipping all
2695 parenthetical expressions.
2696 (verilog-calculate-indent): Fix comment, and fix indent.
2697 (verilog-do-indent): Indent declarations in lists (suggested by
2698 Joachim Lechner).
2699 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2700 skeleton items.
2701 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2702 by Alain Mellan).
2703
1bbe96b2 27042011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2705
2706 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2707 parameters with embedded comments. Reported by Ray Stevens.
2708 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2709 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2710 Reported by Tim Holt.
2711 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2712 instantiated by upper module causing wrong expansion until AUTOed a
2713 second time. Reported by K C Buckenmaier.
2714 (verilog-diff-auto): Fix showing .* as a difference when
2715 `verilog-auto-star-save' off. Reported by Dan Dever.
2716 (verilog-auto-reset, verilog-read-always-signals)
2717 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2718 temporary signals in reset list if
2719 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2720 style to each signal's assignment type, bug381.
2721 Reported by Thomas Esposito.
6288f0ca
WS
2722 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2723 (verilog-uvm-statement-re): Support UVM indentation and
2724 highlighting, with old OVM keywords only.
a1beca85 2725 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2726 Support AUTOTIEOFF creating non-wire data types.
2727 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2728 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2729 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2730 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2731 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2732 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2733 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2734 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2735 non-numeric vector width. Reported by Alex Reed.
2736 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2737 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2738 (verilog-auto-delete-trailing-whitespace):
2739 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2740 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2741 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2742 Fix verilog-scan-cache corruption when running user AUTO expansion
2743 hooks that call indentation routines.
2744 (verilog-simplify-range-expression): Fix typo ignoring lower case
2745 identifiers.
2746 (verilog-delete-auto): Fix delete-autos to also remove user created
2747 automatics, as long as they start with AUTO.
2748 (verilog-batch-diff-auto, verilog-diff-auto)
2749 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2750 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2751 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2752 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2753 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2754 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2755 is disabled and its cache will get corrupt, causing AUTOS not to
2756 expand. Instead use only -quick functions.
2757 (verilog-scan-region): Fix scanning over escaped quotes.
2758 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2759 (verilog-re-search-backward-quick)
2760 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2761 related functions now ignore strings, to fix misparsing of strings
2762 with magic comments embedded in them.
a1beca85
SM
2763 (verilog-read-auto-template):
2764 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2765 Reported by Brad Dobbie.
2766 (verilog-read-auto-template):
2767 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2768 Reported by Brad Dobbie.
6288f0ca
WS
2769 (verilog-auto-inst, verilog-auto-inst-param)
2770 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2771 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2772 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2773 debugging templates without merge conflicts, bug357.
2774 Reported by Brad Dobbie.
2775 (verilog-read-auto-template):
2776 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2777 Reported by Brad Dobbie.
2778 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2779 abbrevs so user won't be asked to save.
2780 (verilog-read-auto-lisp-present): Fix to start at beginning of
2781 buffer in case called outside of verilog-auto.
2782 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2783 to "X-2". Reported by Matthew Myers.
2784 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2785 all inputs from module templates. Reported by Leith Johnson.
2786 (verilog-module-inside-filename-p): Fix locating programs as with
2787 modules.
2788 (verilog-auto-inst-port): Fix vl-width expressions when using
2789 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2790 (verilog-decls-get-regs, verilog-decls-get-signals,
2791 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2792 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2793 verilog-read-decls): Combine reg and wire structures into one var
2794 structure to represent SystemVerilog concepts.
2795 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2796 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2797 (verilog-auto-wire-type, verilog-insert-definition):
2798 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2799 SystemVerilog "logic" keyword instead of "wire"/"reg".
2800 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2801 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2802 ifdef or generate if so there's not a driver conflict).
2803 Reported by Matthew Myers.
2804 (verilog-auto-declare-nettype, verilog-insert-definition):
2805 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2806 `default_nettype none. Reported by Julian Gorfajn.
2807 (verilog-read-always-signals-recurse, verilog-read-decls)
2808 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2809 malformed end statement, bug325. Reported by Joshua Wise and
2810 Andrew Drake.
2811 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2812 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2813 when expanding .* in interfaces, bug320.
2814 Reported by Pierre-David Pfister.
6288f0ca 2815 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2816 name and open parenthesis, bug317.
2817 Reported by Pierre-David Pfister.
6288f0ca
WS
2818 (verilog-simplify-range-expression): Fix simplification of
2819 multiplications inside AUTOWIRE connections, bug303.
2820 (verilog-auto-inst-port): Support parameter expansion in
2821 multidimensional arrays.
2822 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2823 after "assert property". Reported by Julian Gorfajn.
2824 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2825 with multiplication, bug303.
2826 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2827 Reported by Jan Frode Lonnum.
2828
1bbe96b2
GM
28292011-11-30 Juanma Barranquero <lekktu@gmail.com>
2830
2831 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2832 (hfy-shell-file-name, hfy-shell):
2833 * international/fontset.el (x-decompose-font-name): Fix typos.
2834
28352011-11-29 Ken Brown <kbrown@cornell.edu>
2836
2837 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2838 (gdb-version): Remove defvar.
2839 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2840 (gdb-gud-context-command, gdb-non-stop-handler)
2841 (gdb-current-context-command, gdb-stopped): Use it.
2842 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2843 (gdb-non-stop-handler): Don't enable pretty-printing here.
2844 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2845 non-stop mode. Use the following.
2846 (gdb-check-target-async): New defun.
2847 (gud-watch, gdb-stopped): Fix whitespace.
2848 (gdb-get-source-file): Don't try to display the source file if
2849 `gdb-main-file' is nil.
2850
28512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * align.el: Try to generate fewer markers (bug#10047).
2854 (align--set-marker): New macro.
2855 (align-region): Use it.
2856
c935221f
SM
28572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2860
e70b5064
CY
28612011-11-29 Chong Yidong <cyd@gnu.org>
2862
2863 * indent.el (indent-for-tab-command, indent-according-to-mode):
2864 Doc fix.
2865 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2866
f3af92b7
MA
28672011-11-29 Michael Albinus <michael.albinus@gmx.de>
2868
2869 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2870 aware of remote file names. (Bug#10124)
2871
ed472be9
CY
28722011-11-29 Chong Yidong <cyd@gnu.org>
2873
2874 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2875
24510c22
SM
28762011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * files.el (find-file): Don't use force-same-window (bug#10144).
2879 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2880 use pop-to-buffer if the selected window can't be used.
2881 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2882
c60c3703
EZ
28832011-11-28 Eli Zaretskii <eliz@gnu.org>
2884
2885 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2886 special-mode-map.
2887
e95def75
CY
28882011-11-28 Chong Yidong <cyd@gnu.org>
2889
2890 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2891
c3f1c606
NR
28922011-11-27 Nick Roberts <nickrob@snap.net.nz>
2893
2894 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2895 gdb-get-source-file-list on gdb-create-source-file-list.
2896
00db469c
EZ
28972011-11-26 Eli Zaretskii <eliz@gnu.org>
2898
2899 * whitespace.el (whitespace-newline): Use a different foreground
2900 color for 16-color light-background displays.
2901
4ad3bc2a
CY
29022011-11-24 Chong Yidong <cyd@gnu.org>
2903
2904 * window.el (display-buffer--special-action): Doc fix.
2905
e9fce1ac
JB
29062011-11-25 Juanma Barranquero <lekktu@gmail.com>
2907
2908 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2909 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2910 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2911 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2912 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2913 (avl-tree-stack-first):
2914 * emacs-lisp/cconv.el (cconv--analyse-use):
2915 * net/gnutls.el (gnutls-negotiate): Fix typos.
2916
cb825e5d
GM
29172011-11-24 Glenn Morris <rgm@gnu.org>
2918
3adbe224
GM
2919 * lpr.el (lpr-windows-system, lpr-lp-system):
2920 * mail/binhex.el (binhex-begin-line):
2921 * progmodes/grep.el (grep-history, grep-find-history):
2922 * textmodes/flyspell.el:
2923 * vc/pcvs-defs.el (cvs-global-menu):
2924 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2925 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2926 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2927
321decc8
GM
2928 * net/tls.el: Fix case of "GnuTLS".
2929
420b63ad
GM
2930 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2931
cb825e5d
GM
2932 * version.el (emacs-build-system): Give it a doc-string.
2933
a0649f08
JL
29342011-11-24 Juri Linkov <juri@jurta.org>
2935
2936 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2937
c0bc0fd4
GM
29382011-11-24 Glenn Morris <rgm@gnu.org>
2939
2940 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2941 if called on a non-mime message just toggle the headers. (Bug#8006)
2942
20db1522
JB
29432011-11-24 Juanma Barranquero <lekktu@gmail.com>
2944
2945 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2946 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2947 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2948 (allout-rebullet-heading, allout-open-sibtopic)
2949 (allout-toggle-current-subtree-encryption)
2950 (allout-toggle-subtree-encryption, allout-encrypt-string)
2951 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2952 (allout-distinctive-bullets-string, allout-auto-activation):
2953 * window.el (window-normalize-buffer-to-display):
2954 * progmodes/verilog-mode.el (verilog-batch-indent):
2955 * textmodes/bibtex.el (bibtex-field-braces-opt)
2956 (bibtex-field-strings-opt):
2957 * vc/cvs-status.el (cvs-tree-merge):
2958 Fix typos.
2959
7262a87c
MA
29602011-11-23 Michael Albinus <michael.albinus@gmx.de>
2961
2962 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2963 `non-essential' to t, in order to avoid remote connections.
2964
283430a1
EZ
29652011-11-23 Eli Zaretskii <eliz@gnu.org>
2966
a1beca85
SM
2967 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2968 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2969 case-insensitively.
2970
d2992a38
ML
29712011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2972
2973 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2974
50419064
GM
29752011-11-23 Glenn Morris <rgm@gnu.org>
2976
da94eca1
GM
2977 * paths.el (rmail-file-name): Reformat the doc-string so that it
2978 is picked up.
2979
9aac4de2
GM
2980 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2981 (rmail-auto-file): Ignore case in the "special" field names,
2982 as mail-fetch-field does for all others.
2983
8038d2d2
GM
2984 * mail/rmail.el (rmail-forward):
2985 * mail/rmailkwd.el (rmail-set-label):
2986 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2987 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2988
f3fe222a
GM
2989 * mail/rmail.el (rmail-current-message): Doc fix.
2990
50419064
GM
2991 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2992
28109f49
SM
29932011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2996
394c65f1
GM
29972011-11-22 Glenn Morris <rgm@gnu.org>
2998
2999 * mail/rmailmm.el (test-rmail-mime-handler)
3000 (test-rmail-mime-bulk-handler)
3001 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3002
f2a0aa3a
JL
30032011-11-21 Juri Linkov <juri@jurta.org>
3004
1154d12e
JB
3005 * calc/calc.el (calc-read-key-sequence):
3006 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3007
9c34a344
LMI
30082011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3009
3010 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3011 Tell the caller that the next line needs recomputation, even
3012 though it doesn't start a sexp (bug#10094).
3013
f04a3be9
SM
30142011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3017
7978747f
SM
30182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3019
f04a3be9
SM
3020 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3021 Use force-same-window.
7978747f 3022
fe7a3057
JB
30232011-11-20 Juanma Barranquero <lekktu@gmail.com>
3024
3025 * descr-text.el (describe-char-unicode-data):
3026 * json.el (json-string-escape):
3027 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3028 (Footnote-unicode, Footnote-style-p):
3029 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3030
24901d61
CY
30312011-11-20 Chong Yidong <cyd@gnu.org>
3032
3033 * window.el (replace-buffer-in-windows): Restore interactive spec.
3034
bac7ff22
SM
30352011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3036
24f3d7b9
SM
3037 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3038
bac7ff22
SM
3039 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3040 (byte-compile-global-not-obsolete-vars): New var.
3041 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3042 Use it.
3043 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3044
cd1181db
JB
30452011-11-20 Juanma Barranquero <lekktu@gmail.com>
3046
3047 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3048 * progmodes/pascal.el (electric-pascal-equal):
3049 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3050 * xml.el (xml-substitute-special): Fix typos.
3051
7fb18e9e
GM
30522011-11-20 Glenn Morris <rgm@gnu.org>
3053
3054 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3055 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3056 Doc fixes.
3057 (rmail-decode-mime-charset): Mark as obsolete.
3058
3059 * mail/rmailsum.el (rmail-message-regexp-p-1):
3060 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3061 Before using mime functions, check they are set. (Bug#10077)
3062
d5a6b3ba
JL
30632011-11-19 Juri Linkov <juri@jurta.org>
3064
3065 * info.el (Info-finder-find-node): Use `package--builtins' instead
3066 of `package-alist'. Use node names formed by the pattern "Keyword "
3067 and the keyword name.
3068
e981b61f
AS
30692011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3070
1d00653d 3071 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3072
3ffbc301
JL
30732011-11-19 Juri Linkov <juri@jurta.org>
3074
3075 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3076 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3077 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3078 `old-history', `old-history-forward'. Add let-binding
3079 `window-selected'. Remove calls to `kill-buffer',
3080 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3081 before calling `Info-find-node', so `Info-find-node-2' will reread
3082 the Info file. Restore window positions only when `window-selected'
3083 is non-nil.
3084
30c62133
JL
30852011-11-19 Juri Linkov <juri@jurta.org>
3086
3087 * isearch.el (isearch-lazy-highlight-new-loop):
3088 Remove condition `(not isearch-error)'. (Bug#9918)
3089
3090 * misearch.el (multi-isearch-search-fun): Add condition
3091 `(not bound)' to ignore lazy-highlighting search.
3092 Add the search-failed message "end of multi" when the end of
3093 multi-sequence is reached. Uncapitalize the search-failed
3094 message "Repeat for next buffer".
3095
3096 * info.el (Info-search): Add the search-failed message
3097 "end of the manual" when the end of the manual is reached
3098 in Isearch mode.
3099
645ca9cf
JL
31002011-11-19 Juri Linkov <juri@jurta.org>
3101
3102 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3103 Use non-destructive `remove' instead of `delete' because
3104 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3105 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3106
df754f66
JL
31072011-11-19 Juri Linkov <juri@jurta.org>
3108
3109 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3110 to nil instead of binding `search-ring' and `regexp-search-ring'.
3111 (Bug#9185)
3112
0e23d96a
EZ
31132011-11-19 Eli Zaretskii <eliz@gnu.org>
3114
3115 * simple.el (line-move): Force movement by logical lines for any
3116 hscrolled window, not only when auto-hscroll-mode is on.
3117 (line-move-visual): Update doc string to that effect. (Bug#10076)
3118
8a6ccb66
AS
31192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * language/european.el (macintosh): Define as alias for mac-roman.
3122
49ae5b39
EZ
31232011-11-19 Eli Zaretskii <eliz@gnu.org>
3124
3125 * mail/rmailmm.el (rmail-mime-display-header)
3126 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3127 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3128 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3129 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3130 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3131 of a raw aref.
3132 (rmail-mime-entity-segment): To get past the tagline, move forward
3133 2 more lines, to account for the 2 empty lines that precede and
3134 follow the line with the buttons.
3135 (rmail-mime-update-tagline): Move one more line, to get past the
3136 empty line that follows the buttons in the tagline. (Bug#9520)
3137
c56cad4a
MR
31382011-11-19 Martin Rudalics <rudalics@gmx.at>
3139
3140 * window.el (window-max-delta-1, window-min-delta-1)
3141 (window-min-size-1, window-state-get-1, window-state-put-1)
3142 (window-state-put-2): Use "window--" prefix.
3143
cbe71af3
SM
31442011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3145
2ad52c60
SM
3146 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3147 (smie-warning-count): New var.
3148 (smie-set-prec2tab): Use it.
3149 (smie-bnf->prec2): Improve warnings. Add docstring.
3150 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3151 (smie-bnf--set-class): New function.
3152 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3153 corner case.
3154
6944dbc1
SM
3155 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3156 (compilation-error-properties, compilation-move-to-column):
3157 Handle compilation-first-column while in the target buffer.
3158
c400c4d7
SM
3159 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3160 Don't hardcode point-min==1.
3161
6dbe3e96
SM
3162 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3163 (eshell-rewrite-for-command): Remove workaround.
3164 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3165 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3166 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3167
cbe71af3
SM
3168 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3169
a8e1496d
GM
31702011-11-17 Glenn Morris <rgm@gnu.org>
3171
3172 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3173 Ignore buffer-local generated-autoload-file if it is the same
3174 as the global value. (Bug#10049)
3175
df85d315
JB
31762011-11-17 Juanma Barranquero <lekktu@gmail.com>
3177
3178 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3179 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3180 (reftex-toc-previous-heading, reftex-toc-max-level)
3181 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3182 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3183 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3184 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3185 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3186 (reftex-toc-rename-label, reftex-toc-visit-location)
3187 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3188 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3189 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3190 leaving "*toc*" only for references to the buffer.
3191
a0c2d0ae
MR
31922011-11-17 Martin Rudalics <rudalics@gmx.at>
3193
3194 * window.el (window-resize, delete-window, split-window):
3195 Replace window-splits by window-combination-resize.
1d00653d 3196 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3197
35c0bac8
GM
31982011-11-17 Glenn Morris <rgm@gnu.org>
3199
3200 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3201 Make bash entry derive from sh entry, not shell entry.
3202
d0c8fc8a
MA
32032011-11-16 Michael Albinus <michael.albinus@gmx.de>
3204
d0c8fc8a
MA
3205 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3206 properties of linked files. (Bug#9879)
3207
7262a87c
MA
3208 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3209 local file name.
3210
7877f373
JB
32112011-11-16 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * menu-bar.el (menu-bar-file-menu):
3214 * printing.el (pr-ps-utility):
3215 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3216 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3217 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3218 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3219 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3220 (icalendar--convert-cyclic-to-ical)
3221 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3222 (icalendar--convert-ical-to-diary)
3223 (icalendar--convert-recurring-to-diary)
3224 (icalendar--convert-non-recurring-all-day-to-diary)
3225 (icalendar-import-format-sample):
3226 * progmodes/idlw-shell.el (idlwave-shell-mode):
3227 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3228 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3229 (vhdl-ps-print-init): Fix typos.
3230
10649b82
KM
32312011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3232
9d0cfcd6
GM
3233 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3234 FSF and collapse date sequence, obscure author/maintainer email address
3235 better, remove extra version line, track relocation of author's webpage.
10649b82 3236
9d0cfcd6
GM
3237 * progmodes/python.el (python-pdbtrack-input-prompt)
3238 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3239 regular python pdb prompts. Adjustments shamelessly taken exactly as
3240 suggested in EmacsWiki page (tiny change):
3241 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3242
58179cce
JB
32432011-11-16 Juanma Barranquero <lekktu@gmail.com>
3244
3245 * expand.el (expand-pos, expand-index, expand-point):
3246 Remove redundant info from docstring.
3247 (expand-add-abbrevs): Doc fix.
3248 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3249 (expand-sample-perl-mode-expand-list): Fix typos.
3250
3251 * net/dbus.el (dbus-event-member-name):
3252 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3253 * term/pc-win.el (msdos-create-frame-with-faces):
3254 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3255
b6f67890
MR
32562011-11-16 Martin Rudalics <rudalics@gmx.at>
3257
3258 * window.el (split-window, window-state-get-1)
3259 (window-state-put-1, window-state-put-2): Rename occurrences of
3260 window-nest to window-combination-limit.
1d00653d 3261 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3262
ce7ddba0
CY
32632011-11-16 Chong Yidong <cyd@gnu.org>
3264
3265 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3266 regexp (Bug#10033).
3267
3ae704f4
SM
32682011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3271 `completing-read' will remove *Completions* and will preserve
3272 current-buffer for us.
3273 (tmm-add-prompt): Users of *Completions* will always (re)set its
3274 major mode.
3275 (tmm-old-comp-map): Remove.
3276
6ad1cdde
GM
32772011-11-16 Glenn Morris <rgm@gnu.org>
3278
3279 * mail/rmailedit.el: Require rmailmm when compiling.
3280 (rmail-old-mime-state): New declaration.
3281 (rmail-edit-current-message): If editing a mime message,
3282 edit the "raw" message from the mbox buffer.
3283 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3284
d20faa20
GM
32852011-11-15 Glenn Morris <rgm@gnu.org>
3286
3287 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3288 which wasn't being used. Add optional arg to force given state.
3289 (rmail-mime): Add optional arg to force given state.
3290
c7015153
JB
32912011-11-15 Juanma Barranquero <lekktu@gmail.com>
3292
3293 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3294 * frame.el (display-mm-dimensions-alist):
3295 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3296 (outline-move-subtree-down):
3297 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3298 (newsticker--treeview-do-get-node):
3299 * net/quickurl.el (quickurl-list-buffer-name):
3300 * progmodes/dcl-mode.el (dcl-mode):
3301 * progmodes/gdb-mi.el (gdb-mapcar*):
3302 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3303
45261b50
GM
33042011-11-15 Glenn Morris <rgm@gnu.org>
3305
3306 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3307 in a boolean sense, so just make it a boolean, and fix the doc.
3308 (rmail-show-mime-function, rmail-mime-feature)
3309 (rmail-require-mime-maybe): Doc fixes.
3310 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3311
3312 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3313
0d26e0b6
JB
33142011-11-15 Juanma Barranquero <lekktu@gmail.com>
3315
3316 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3317 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3318 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3319 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3320
447f30f6
GM
33212011-11-15 Glenn Morris <rgm@gnu.org>
3322
672b871d
GM
3323 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3324 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3325 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3326 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3327 (rmail-mime, rmail-show-mime): Doc fixes.
3328
f6aa5bb1
GM
3329 * term/ns-win.el (mode-line-frame-identification):
3330 Leave it alone. (Bug#10051)
3331
947cd66b
GM
3332 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3333
447f30f6
GM
3334 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3335 Handle empty buffers. (Bug#9978)
3336
0b381c7e
JB
33372011-11-14 Juanma Barranquero <lekktu@gmail.com>
3338
3339 * international/mule.el (define-charset):
3340 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3341 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3342 * progmodes/verilog-mode.el (verilog-backward-token):
3343 * textmodes/ispell.el (lookup-words):
3344 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3345
71e027ac
GM
33462011-11-14 Glenn Morris <rgm@gnu.org>
3347
56632ce4
GM
3348 * progmodes/executable.el
3349 (executable-make-buffer-file-executable-if-script-p):
3350 Handle file-modes returning nil.
3351
40500957
GM
3352 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3353 message - not necessary, and causes problems. (Bug#9831)
3354
071c2340
GM
3355 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3356
d3cfca60
GM
3357 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3358
71e027ac
GM
3359 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3360 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3361 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3362
89d61221
MR
33632011-11-12 Martin Rudalics <rudalics@gmx.at>
3364
3365 * window.el (window-resize, delete-window): Use window-splits
3366 variable instead of function.
3367 (window-state-get-1, window-state-put-2, window-state-put):
3368 Don't deal with windows' splits status.
3369
98282f6f
GM
33702011-11-12 Glenn Morris <rgm@gnu.org>
3371
3372 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3373 (apropos-documentation): Doc fixes.
3374
40a8bdf6
JB
33752011-11-11 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3378 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3379
65bd19ff
SM
33802011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * electric.el (electric-indent-post-self-insert-function): Make it
3383 possible for a char to only indent in some circumstances.
3384 (electric-indent-mode): Simplify.
3385
54f9154c
MR
33862011-11-11 Martin Rudalics <rudalics@gmx.at>
3387
3388 * window.el (windows-with-parameter): Remove unused function.
3389 (windows-at-side): Rename to window-at-side-list.
3390 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3391 (window-side-check, window-size-ignore, window-size-fixed-1)
3392 (window-in-direction-2): Prefix with "window--".
3393 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3394
68cbc58b
GM
33952011-11-11 Glenn Morris <rgm@gnu.org>
3396
3397 * subr.el (eval-after-load): If FILE is already loaded,
3398 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3399
b2621720
GM
34002011-11-10 Glenn Morris <rgm@gnu.org>
3401
9a4de110
GM
3402 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3403 Call svn via vc-svn-command rather than vc-do-command.
3404 (vc-svn-command): Add --non-interactive. (Bug#9993)
3405 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3406
b2621720
GM
3407 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3408 Add toggle-read-only. (Bug#7292)
3409 * files.el (toggle-read-only): Mention that it should only
3410 be used interactively. (Bug#10006)
3411
1dce7193
SM
34122011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3413
d9ac1a1e
SM
3414 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3415 Adjust regexp for OCaml warnings.
3416
0c325082
SM
3417 * electric.el (electric-pair-post-self-insert-function): Let user
3418 turn it off buffer-locally (bug#9932).
3419
90132c14
SM
3420 * progmodes/python.el (python-beginning-of-statement):
3421 Rewrite (bug#2703).
3422
1dce7193
SM
3423 * progmodes/compile.el: Better handle TABs (bug#9749).
3424 (compilation-internal-error-properties)
3425 (compilation-next-error-function): Obey the target buffer's
3426 compilation-error-screen-columns.
3427
c4e7c63a
JB
34282011-11-09 Juanma Barranquero <lekktu@gmail.com>
3429
3430 * progmodes/meta-mode.el: Remove obsolete comments.
3431 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3432 Fix typos in docstrings.
3433
2cffd681
MR
34342011-11-09 Martin Rudalics <rudalics@gmx.at>
3435
3436 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3437 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3438 (window--resizable): New function. Make all callers of
3439 window-resizable call window--resizable instead.
3440 (window-resizable): Rewrite in terms of window--resizable.
3441
0edcba87
GM
34422011-11-08 Glenn Morris <rgm@gnu.org>
3443
3444 * progmodes/delphi.el (delphi-mode-syntax-table):
3445 Let define-derived-mode define a proper syntax table. (Bug#9994)
3446
4b0d61e3
SM
34472011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * window.el: Stay away from defsubst.
3450 (window-list-no-nils): Remove.
3451 (window-state-get-1, window-state-get): Use backquote instead.
3452
cd394be1 34532011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3454
4b0d61e3 3455 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3456 Fix incorrect use of default argument in `completing-read'.
3457
e1c2c6f2
MR
34582011-11-08 Martin Rudalics <rudalics@gmx.at>
3459
3460 * window.el (display-buffer-function, special-display-function):
3461 Mention display-buffer-record-window but do not mention
3462 help-setup parameter in doc-strings.
b3f4a882 3463 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3464
105216ed
CY
34652011-11-08 Chong Yidong <cyd@gnu.org>
3466
3467 * window.el (window-total-height, window-total-width): Doc fix.
3468 (window-body-size): Move from C.
3469 (window-body-height, window-body-width): Move to C.
3470
0a9f9ab5
SM
34712011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * window.el: Make special-display like display-buffer-alist (bug#9532).
3474 (display-buffer--special-action): New function, morphed
3475 from display-buffer--special.
3476 (display-buffer): Use it to handle special-display-buffers at higher
3477 priority (just after display-buffer-alist).
3478 (display-buffer-fallback-action, display-buffer--other-frame-action)
3479 (pop-to-buffer-same-window): Remove display-buffer--special.
3480
a769dd15
GM
34812011-11-07 Glenn Morris <rgm@gnu.org>
3482
3483 * calendar/cal-menu.el (cal-menu-set-date-title):
3484 Do nothing if not in a calendar. (Bug#9976)
3485
05a61ee3
SM
34862011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * files.el (find-file): Always use selected-window.
3489
be7f5545
MR
34902011-11-07 Martin Rudalics <rudalics@gmx.at>
3491
3492 * window.el (window-combinations): Make WINDOW argument
3493 mandatory. Rewrite doc-string.
3494 (walk-window-subtree, window-atom-check, window-min-delta)
3495 (window-max-delta, window--resize-this-window)
3496 (window--resize-root-window-vertically, window-tree)
3497 (balance-windows, window-state-put): Rewrite doc-strings as to
3498 not mention the term "subwindow".
3499 (window--resize-subwindows-skip-p): Rename to
3500 window--resize-child-windows-skip-p.
3501 (window--resize-subwindows-normal): Rename to
3502 window--resize-child-windows-normal.
3503 (window--resize-subwindows): Rename to
3504 window--resize-child-windows.
3505 (window-or-subwindow-p): Rename to window--in-subtree-p.
3506
3c6702ef
ML
35072011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3508
3509 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3510 Ensure that mbox format messages end in two newlines (Bug#9974).
3511
49745b39
CY
35122011-11-06 Chong Yidong <cyd@gnu.org>
3513
3514 * window.el (window-combination-p): Function deleted; its
3515 side-effect is not used in any existing code.
3516 (window-combinations, window-combined-p): Call window-*-child
3517 directly.
3518
24300f5f
CY
35192011-11-05 Chong Yidong <cyd@gnu.org>
3520
3521 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3522 (window-size-ignore, window-state-get): Callers changed.
3523 (window-normalize-window): Rename from window-normalize-any-window.
3524 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3525 (window-normalize-live-window): Delete.
447f16b8
CY
3526 (window-combination-p, window-combined-p, window-combinations)
3527 (walk-window-subtree, window-atom-root, window-min-size)
3528 (window-sizable, window-sizable-p, window-size-fixed-p)
3529 (window-min-delta, window-max-delta, window-resizable)
3530 (window-resizable-p, window-full-height-p, window-full-width-p)
3531 (window-current-scroll-bars, window-point-1, set-window-point-1)
3532 (window-at-side-p, window-in-direction, window-resize)
3533 (adjust-window-trailing-edge, maximize-window, minimize-window)
3534 (window-deletable-p, delete-window, delete-other-windows)
3535 (record-window-buffer, unrecord-window-buffer)
3536 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3537 (quit-window, split-window, window-state-put)
3538 (set-window-text-height, fit-window-to-buffer)
3539 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3540
89bd5ee1
EZ
35412011-11-04 Eli Zaretskii <eliz@gnu.org>
3542
53479029
EZ
3543 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3544 rfc2047-decode-string.
3545 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3546 warnings.
3547
89bd5ee1
EZ
3548 * window.el (window-body-height, window-body-width): Mention in
3549 the doc string that the return values are in frame's canonical
3550 units. (Bug#9949)
3551
bd17fdee
AM
35522011-11-03 Alan Mackenzie <acm@muc.de>
3553
3554 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3555 change in cc-engine.el.
3556
acc825c5
SM
35572011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3560
1885e5b8
MR
35612011-11-02 Martin Rudalics <rudalics@gmx.at>
3562
3563 * window.el (quit-window): Call unrecord-window-buffer after
3564 showing another buffer in the window. (Bug#9937)
acc825c5 3565 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3566
ebe06da9
JB
35672011-11-02 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3570 Accept status with more than 9 shelves. (Bug#9935)
3571 Reported by Colin D Bennett <colin@gibibit.com>.
3572
4ee88440
MR
35732011-11-01 Martin Rudalics <rudalics@gmx.at>
3574
3575 * help.el (with-help-window): Don't reference
3576 temp-buffer-show-specifiers in doc-string.
3577
08e1d82c
AS
35782011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3579
3580 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3581 menu-item.
3582
84bd6e9e
VJL
35832011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3584
3585 * whitespace.el: New version 13.2.2.
3586 (whitespace-newline-mode): Disable properly. Reported by Sarah
3587 <EmacsWiki>.
3588
dba0634a
UJ
35892011-10-30 Ulf Jasper <ulf.jasper@web.de>
3590
3591 * net/newst-treeview.el: Remove "Time-stamp".
3592 (newsticker--group-manage-orphan-feeds): Do not call
3593 newsticker--treeview-tree-update.
db22a3c2
JB
3594 (newsticker-treeview-update, newsticker-treeview):
3595 Call newsticker--treeview-tree-update if necessary.
dba0634a 3596
3d8daefe
MR
35972011-10-30 Martin Rudalics <rudalics@gmx.at>
3598
3599 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3600 (window-iso-combinations): Remove "iso-" infix.
3601 Suggested by Chong Yidong.
3d8daefe
MR
3602 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3603 (window-max-delta-1, window-resize, window--resize-siblings)
3604 (window--resize-this-window, adjust-window-trailing-edge)
3605 (split-window, balance-windows-1)
3606 (shrink-window-if-larger-than-buffer):
3607 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3608 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3609
1bc4c3ae
SM
36102011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3613 in place (bug#9907).
3614 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3615 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3616 (eshell-structure-basic-command, eshell-rewrite-while-command)
3617 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3618 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3619 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3620 (eshell-do-pipelines-synchronously, eshell-eval-command):
3621 Use backquotes and prefer setq to set.
3622 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3623 (eshell-macrop): Use functionp.
c1e2f5fa 3624 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3625
30b65d9c
CY
36262011-10-30 Chong Yidong <cyd@gnu.org>
3627
3628 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3629 instead of set-mark (Bug#9810).
3630
2d197ffb
CY
36312011-10-30 Chong Yidong <cyd@gnu.org>
3632
3633 * window.el (split-window-below, split-window-right): Rename from
3634 split-window-above-each-other and split-window-side-by-side
3635 respectively. All callers changed.
3636 (split-window-sensibly, split-window-sensibly): Use them.
3637 (split-window-keep-point): Doc fix.
3638
3639 * isearch.el: Add isearch-scroll property to split-window-below
3640 and split-window-right.
3641
3642 * follow.el (follow-mode):
3643 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3644 * progmodes/ada-xref.el (ada-gdb-application):
3645 * emulation/vip.el (vip-buffer-in-two-windows):
3646 * image-dired.el (image-dired-dired-with-window-configuration):
3647 * dired-x.el (dired-do-find-marked-files):
3648 * dired.el (dired-pop-to-buffer):
3649 * bs.el (bs--show-with-configuration):
3650 * vc/emerge.el (emerge-setup-windows):
3651 * textmodes/two-column.el (2C-two-columns):
3652 * textmodes/reftex-toc.el (reftex-toc):
3653 * progmodes/gdb-mi.el (gdb-setup-windows):
3654 * progmodes/fortran.el (fortran-window-create):
3655 * net/newst-treeview.el (newsticker--treeview-window-init):
3656 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3657 * emulation/tpu-edt.el (tpu-gold-map):
3658 * emulation/crisp.el (crisp-mode-map):
3659 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3660
38bb2ca8
CY
36612011-10-29 Chong Yidong <cyd@gnu.org>
3662
aa4de341
CY
3663 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3664
e1eb5385
CY
3665 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3666
5d2ece3c
CY
3667 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3668 forged Ispell output (Bug#7904).
3669
38bb2ca8
CY
3670 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3671
d0af9f77
SM
36722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * doc-view.el: Avoid ugly errors about not finding nil.
3675 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3676 (doc-view-dvipdf-program, doc-view-unoconv-program)
3677 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3678 Avoid nil or absolute file name as default value.
3679 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3680
52bedd34
AM
36812011-10-28 Alan Mackenzie <acm@muc.de>
3682
db22a3c2 3683 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3684
7e43cfa5
AM
36852011-10-28 Alan Mackenzie <acm@muc.de>
3686
3687 Amend the handling of c-beginning/end-of-defun in nested declaration
3688 scopes.
3689
52bedd34
AM
3690 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3691 cc-langs.el. Change it to a defcustom.
7e43cfa5 3692
52bedd34
AM
3693 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3694 cc-vars.el.
7e43cfa5 3695
d0af9f77
SM
3696 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3697 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3698
52bedd34 3699 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3700 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3701 (c-widen-to-enclosing-decl-scope): New function.
3702 (c-while-widening-to-decl-block): New macro.
3703 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3704 outward for defun boundaries, and correspondingly change symbol
3705 `respect-enclosure' to `go-outward'.
3706 (c-declaration-limits): Change algorithm to report only the "innermost"
3707 defun's boundaries.
3708
1a2ce9ee
DD
37092011-10-28 Deniz Dogan <deniz@dogan.se>
3710
3711 * net/rcirc.el (rcirc-mode): Use hard newlines.
3712
bc97a826
AM
37132011-10-28 Alan Mackenzie <acm@muc.de>
3714
3715 Amend to indent and fontify macros "which include their own semicolon"
3716 correctly, using the "virtual semicolon" mechanism.
3717
52bedd34 3718 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3719
d0af9f77 3720 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3721 Recode to scan one line at a time rather than having \n and \r
58179cce 3722 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3723 (c-forward-label): Amend for virtual semicolons.
58179cce 3724 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3725
52bedd34
AM
3726 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3727 of the new C macros.
bc97a826 3728
52bedd34 3729 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3730 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3731 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3732 (c-opt-cpp-macro-define): Make into a full language variable.
3733 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3734 AWK Mode (including \n, \r) removed, no longer needed.
3735
d0af9f77
SM
3736 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3737 Invoke c-make-macro-with-semi-re.
bc97a826 3738
52bedd34
AM
3739 * progmodes/cc-vars.el (c-macro-with-semi-re):
3740 (c-macro-names-with-semicolon): New variables.
58179cce 3741 (c-make-macro-with-semi-re): New function.
bc97a826 3742
7a6c0941
SM
37432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * vc/log-edit.el: Fill empty field rather than adding new one.
3746 (log-edit-add-field): New function.
3747 (log-edit-insert-changelog): Use it.
3748
b0c4cdcf
ML
37492011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3750
3751 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3752
ee1f1da9
SM
37532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3756 (gdb--check-interpreter): New function.
3757 (gdb): Use it.
3758
51bc5f8b
GM
37592011-10-27 Glenn Morris <rgm@gnu.org>
3760
416a2c45
GM
3761 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3762 (least-positive-float, least-negative-float)
3763 (least-positive-normalized-float, least-negative-normalized-float)
3764 (float-epsilon, float-negative-epsilon):
3765 Remove unnecessary declarations.
3766
3767 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3768 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3769 (least-positive-float, least-negative-float)
3770 (least-positive-normalized-float, least-negative-normalized-float)
3771 (float-epsilon, float-negative-epsilon): Add doc-strings,
3772 based on those in cl.texi.
3773
51bc5f8b
GM
3774 * files.el (set-visited-file-name): If the major-mode changed,
3775 reload the local variables. (Bug#9796)
3776
15de15c6
CY
37772011-10-27 Chong Yidong <cyd@gnu.org>
3778
3779 * subr.el (change-major-mode-after-body-hook): New hook.
3780 (run-mode-hooks): Run it.
3781
ee1f1da9
SM
3782 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3783 Use change-major-mode-before-body-hook.
15de15c6
CY
3784
3785 * simple.el (fundamental-mode):
3786 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3787 change introducing fundamental-mode-hook.
3788
5430d399
JB
37892011-10-26 Juanma Barranquero <lekktu@gmail.com>
3790
acc825c5 3791 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3792
ad74a69e
MA
37932011-10-26 Michael Albinus <michael.albinus@gmx.de>
3794
3795 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3796 tramp.el explicitly. (Bug#7583)
ad74a69e 3797
71d4c2a5
SM
37982011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3799
3800 * progmodes/octave-mod.el:
3801 * progmodes/octave-inf.el: Update maintainer.
3802
b1f6fa26
CY
38032011-10-26 Chong Yidong <cyd@gnu.org>
3804
3805 * subr.el (with-wrapper-hook): Rewrite doc.
3806
3f04efd6
MA
38072011-10-25 Michael Albinus <michael.albinus@gmx.de>
3808
3809 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3810 filenames "/method:foo:". (Bug#9793)
3f04efd6 3811
410488d3
SM
38122011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3815 (bug#9865).
3816
c1ebb47e
GM
38172011-10-24 Glenn Morris <rgm@gnu.org>
3818
3819 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3820
7f5c46c7
MA
38212011-10-24 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * notifications.el: Add the requirement of a running D-Bus session
3824 bus to the Commentary.
3825
db2440b6
JL
38262011-10-24 Juri Linkov <juri@jurta.org>
3827
3828 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3829 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3830 (Bug#9364)
3831
feecf435
JL
38322011-10-24 Juri Linkov <juri@jurta.org>
3833
3834 * info.el (Info-following-node-name-re): Add newline to the list
3835 of allowed characters for leading space. (Bug#9824)
3836
a3839de2
SM
38372011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3838
acc825c5
SM
3839 * progmodes/octave-inf.el (inferior-octave-mode-map):
3840 Fix C-c C-h binding.
a3839de2
SM
3841 * progmodes/octave-mod.el (octave-help): Remove.
3842
09388e76
MA
38432011-10-23 Michael Albinus <michael.albinus@gmx.de>
3844
3845 Sync with Tramp 2.2.3.
3846
3847 * net/tramp-cache.el (top): Pacify byte-compiler using
3848 `init-file-user' and `site-run-file'.
3849
3850 * net/trampver.el: Update release number.
3851
86c60681
CY
38522011-10-23 Chong Yidong <cyd@gnu.org>
3853
3854 * files.el (toggle-read-only): Remove obsolete comment about
3855 version control.
3856
3857 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3858 for toggle-read-only. Note that this hasn't called vc-next-action
3859 since 2008-05-02, though it wasn't documented at the time.
3860
a3839de2
SM
3861 * vc/ediff-init.el (ediff-toggle-read-only-function):
3862 Use toggle-read-only.
86c60681 3863
cd5495ff
AM
38642011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3865
3866 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3867 of c-parse-state.
3868
00b77525 3869 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3870 correct faulty logical expression.
cd5495ff
AM
3871 (c-parse-state-state, c-record-parse-state-state):
3872 (c-replay-parse-state-state): New defvar/defuns.
3873 (c-debug-parse-state): Use new functions.
3874
42ee24ed
MR
38752011-10-22 Martin Rudalics <rudalics@gmx.at>
3876
3877 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3878 last fix. Use window-in-direction correctly.
42ee24ed 3879
a7dee7e7
CY
38802011-10-21 Chong Yidong <cyd@gnu.org>
3881
3882 * progmodes/idlwave.el (idlwave-mode):
3883 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3884 require-final-newline; that's done in prog-mode.
3885 Suggested by Stefan Monnier.
a7dee7e7 3886
e07b9a6d
MR
38872011-10-21 Martin Rudalics <rudalics@gmx.at>
3888
3889 * mouse.el (mouse-drag-window-above)
3890 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3891 (mouse-drag-mode-line-1, mouse-drag-header-line)
3892 (mouse-drag-vertical-line-rightward-window): Remove.
3893 (mouse-drag-line): New function.
3894 (mouse-drag-mode-line, mouse-drag-header-line)
3895 (mouse-drag-vertical-line): Call mouse-drag-line.
3896 * window.el (window-at-side-p, windows-at-side): New functions.
3897
7e1361d9
UM
38982011-10-21 Ulrich Mueller <ulm@gentoo.org>
3899
3900 * tar-mode.el (tar-grind-file-mode):
3901 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3902
30fcaf3a
CY
39032011-10-21 Chong Yidong <cyd@gnu.org>
3904
3905 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3906 * progmodes/vera-mode.el (vera-mode):
3907 Use mode-require-final-newline.
30fcaf3a 3908
516eddb0
GM
39092011-10-20 Glenn Morris <rgm@gnu.org>
3910
db22a3c2 3911 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3912
10d5f513
CS
39132011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3914
3915 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3916
ac6c8639
CY
39172011-10-20 Chong Yidong <cyd@gnu.org>
3918
3919 * emulation/cua-base.el (cua-mode):
3920 * mail/footnote.el (footnote-mode):
3921 * mail/mailabbrev.el (mail-abbrevs-mode):
3922 * net/xesam.el (xesam-minor-mode):
3923 * progmodes/bug-reference.el (bug-reference-mode):
3924 * progmodes/cap-words.el (capitalized-words-mode):
3925 * progmodes/compile.el (compilation-minor-mode)
3926 (compilation-shell-minor-mode):
3927 * progmodes/gud.el (gud-tooltip-mode):
3928 * progmodes/hideif.el (hide-ifdef-mode):
3929 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3930 * progmodes/subword.el (subword-mode):
3931 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3932 * progmodes/which-func.el (which-function-mode):
3933 * term/tvi970.el (tvi970-set-keypad-mode):
3934 * term/vt100.el (vt100-wide-mode):
3935 * textmodes/flyspell.el (flyspell-mode):
3936 * textmodes/ispell.el (ispell-minor-mode):
3937 * textmodes/nroff-mode.el (nroff-electric-mode):
3938 * textmodes/paragraphs.el (use-hard-newlines):
3939 * textmodes/refill.el (refill-mode):
3940 * textmodes/reftex.el (reftex-mode):
3941 * textmodes/rst.el (rst-minor-mode):
3942 * textmodes/sgml-mode.el (html-autoview-mode)
3943 (sgml-electric-tag-pair-mode):
3944 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3945 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3946 * emulation/crisp.el (crisp-mode):
3947 * emacs-lisp/eldoc.el (eldoc-mode):
3948 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3949 minor mode behavior.
3950
aa42ab43
JL
39512011-10-19 Juri Linkov <juri@jurta.org>
3952
3953 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3954 the list of hard-coded chars with escape-glyph face.
3955
89400f1d
SM
39562011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3959
305c07f6
MA
39602011-10-19 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3963 running process.
3964
13754b54
GM
39652011-10-19 Glenn Morris <rgm@gnu.org>
3966
3967 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3968 Ignore ignored files. (Bug#9726)
3969
06e21633
CY
39702011-10-19 Chong Yidong <cyd@gnu.org>
3971
3972 Doc fix for minor modes, stating that an omitted argument enables
3973 the mode unconditionally when called from Lisp.
3974
3975 * abbrev.el (abbrev-mode):
3976 * allout.el (allout-mode):
3977 * autoinsert.el (auto-insert-mode):
3978 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3979 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3980 (global-auto-revert-mode):
3981 * battery.el (display-battery-mode):
3982 * composite.el (global-auto-composition-mode)
3983 (auto-composition-mode):
3984 * delsel.el (delete-selection-mode):
3985 * desktop.el (desktop-save-mode):
3986 * dired-x.el (dired-omit-mode):
3987 * dirtrack.el (dirtrack-mode):
3988 * doc-view.el (doc-view-minor-mode):
3989 * double.el (double-mode):
3990 * electric.el (electric-indent-mode, electric-pair-mode):
3991 * emacs-lock.el (emacs-lock-mode):
3992 * epa-hook.el (auto-encryption-mode):
3993 * follow.el (follow-mode):
3994 * font-core.el (font-lock-mode):
3995 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3996 * help.el (temp-buffer-resize-mode):
3997 * hilit-chg.el (highlight-changes-mode)
3998 (highlight-changes-visible-mode):
3999 * hi-lock.el (hi-lock-mode):
4000 * hl-line.el (hl-line-mode, global-hl-line-mode):
4001 * icomplete.el (icomplete-mode):
4002 * ido.el (ido-everywhere):
4003 * image-file.el (auto-image-file-mode):
4004 * image-mode.el (image-minor-mode):
4005 * iswitchb.el (iswitchb-mode):
4006 * jka-cmpr-hook.el (auto-compression-mode):
4007 * linum.el (linum-mode):
4008 * longlines.el (longlines-mode):
4009 * master.el (master-mode):
4010 * mb-depth.el (minibuffer-depth-indicate-mode):
4011 * menu-bar.el (menu-bar-mode):
4012 * minibuf-eldef.el (minibuffer-electric-default-mode):
4013 * mouse-sel.el (mouse-sel-mode):
4014 * msb.el (msb-mode):
4015 * mwheel.el (mouse-wheel-mode):
4016 * outline.el (outline-minor-mode):
4017 * paren.el (show-paren-mode):
4018 * recentf.el (recentf-mode):
4019 * reveal.el (reveal-mode, global-reveal-mode):
4020 * rfn-eshadow.el (file-name-shadow-mode):
4021 * ruler-mode.el (ruler-mode):
4022 * savehist.el (savehist-mode):
4023 * scroll-all.el (scroll-all-mode):
4024 * scroll-bar.el (scroll-bar-mode):
4025 * server.el (server-mode):
4026 * shell.el (shell-dirtrack-mode):
4027 * simple.el (auto-fill-mode, transient-mark-mode)
4028 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4029 (line-number-mode, column-number-mode, size-indication-mode)
4030 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4031 * strokes.el (strokes-mode):
4032 * time.el (display-time-mode):
4033 * t-mouse.el (gpm-mouse-mode):
4034 * tool-bar.el (tool-bar-mode):
4035 * tooltip.el (tooltip-mode):
4036 * type-break.el (type-break-mode-line-message-mode)
4037 (type-break-query-mode):
4038 * view.el (view-mode):
4039 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4040 (global-whitespace-mode, global-whitespace-newline-mode):
4041 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4042
a3839de2
SM
4043 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4044 Fix autogenerated docstring.
06e21633 4045
5214e501
JL
40462011-10-19 Juri Linkov <juri@jurta.org>
4047
4048 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4049 by checking environment variables "DESKTOP_SESSION" and
4050 "XDG_CURRENT_DESKTOP". (Bug#9779)
4051
195f8db9
JL
40522011-10-19 Juri Linkov <juri@jurta.org>
4053
4054 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4055 (browse-url-chromium-program, browse-url-chromium-arguments):
4056 New defcustoms.
4057 (browse-url-default-browser): Check for `browse-url-chromium' and
4058 call `browse-url-chromium-program'.
4059 (browse-url-chromium): New command. (Bug#9779)
4060
343a34ff
JB
40612011-10-18 Juanma Barranquero <lekktu@gmail.com>
4062
4063 * facemenu.el (list-colors-duplicates): On Windows, detect more
4064 duplicates by assuming that only colors matching "^System" are
4065 special "system colors". (Bug#9722)
4066
6978a151
SM
40672011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4070 to distinguish the author from the committer.
4071
6a80b297
MA
40722011-10-18 Michael Albinus <michael.albinus@gmx.de>
4073
4074 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4075
b31a5677
JK
40762011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4077
4078 * international/mule.el (sgml-html-meta-auto-coding-function):
4079 Add support for detecting encoding in HTML5 specified only as
4080 <meta charset="UTF-8">. Implementation just makes http-equiv and
4081 content-type parts from HTML4 encoding string optional. (Bug#9716)
4082
80c6d77f
GM
40832011-10-18 Glenn Morris <rgm@gnu.org>
4084
4085 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4086
08b0fee8
CY
40872011-10-18 Chong Yidong <cyd@gnu.org>
4088
4089 * faces.el (cursor): Doc fix.
4090
67e729a5
CY
40912011-10-17 Chong Yidong <cyd@gnu.org>
4092
4093 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4094
343a34ff 40952011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4096
4097 * dirtrack.el (dirtrack): Support shell buffers with path
4098 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4099
0bc06380
TZ
41002011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4101
4102 * json.el: Bump version to 1.3 and note change in History.
4103 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4104
8b79f3e0
SM
41052011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4106
5a7c536b
SM
4107 * comint.el (comint-insert-input, comint-send-input)
4108 (comint-get-old-input-default, comint-backward-matching-input)
4109 (comint-next-prompt): Use nil instead of `input' for field property of
4110 past user input (bug#114).
4111
96a8a0df
SM
4112 * minibuffer.el (completion--replace): Inherit surrounding properties
4113 (bug#114).
4114 (minibuffer-complete-and-exit): Use it.
4115
8b79f3e0
SM
4116 * comint.el (comint--table-subvert): Quote the all-completions output
4117 (bug#9160).
4118
b8f7ff0d
MR
41192011-10-17 Martin Rudalics <rudalics@gmx.at>
4120
8b79f3e0 4121 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4122
b8f7ff0d 4123 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4124 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4125 entries and separate them from frame entries.
4126
c235b555
GM
41272011-10-15 Glenn Morris <rgm@gnu.org>
4128
4129 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4130 Doc fixes.
4131
6bbfa6e1
CY
41322011-10-15 Chong Yidong <cyd@stupidchicken.com>
4133
8b79f3e0
SM
4134 * net/network-stream.el (network-stream-open-starttls):
4135 Improve detection of failure due to lack of TLS support.
ec5c990d 4136
6bbfa6e1
CY
4137 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4138 putting the input text in front and in bold.
4139
98488977
SM
41402011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4141
3d1337be
SM
4142 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4143
ee0b45e4
SM
4144 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4145 empty buffer.
4146
98488977
SM
4147 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4148 unread-command-events rather than pushing yet-another event.
4149
186f4720
EZ
41502011-10-14 Eli Zaretskii <eliz@gnu.org>
4151
4152 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4153 the explanation of the possible choices. Make the options passed
4154 to completing-read shorter.
4155
8b7a997c
AM
41562011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4157
4158 * textmodes/flyspell.el (flyspell-large-region): Make sure
4159 extended character mode is used if defined (Bug#1339).
4160
12587bbb
EZ
41612011-10-13 Eli Zaretskii <eliz@gnu.org>
4162
4163 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4164 character info for LRE, LRO, RLE, and RLO characters by appending
4165 an invisible PDF.
12587bbb 4166
bad41229
SM
41672011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4170 even in case of error; add debug spec; simplify data flow.
4171 (with-timeout-handler): Remove.
4172
28dbc92f
MA
41732011-10-12 Michael Albinus <michael.albinus@gmx.de>
4174
4175 Fix Bug#6019, Bug#9315.
4176
4177 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4178 complete `buffer-file-name', the local file name part could look
4179 remotely (for example on VMS).
4180
4181 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4182 `tramp-run-real-handler'.
4183 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4184 already quoted by '"'.
4185
4186 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4187 Let `file-name-handler-alist' be nil, the local file name part
4188 could look remotely (for example on VMS).
4189
e1b0b23a
SM
41902011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4193 from here...
4194 (flyspell-post-command-hook): ...to here.
4195
a120bde9
SM
41962011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4199 if not needed.
4200 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4201 using completion. Protect against "slow" callers.
4202 Remove the "message hack".
4203
7ce7717b
JL
42042011-10-11 Juri Linkov <juri@jurta.org>
4205
4206 * isearch.el (isearch-lazy-highlight-word): New variable.
4207 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4208 Use it. (Bug#9727)
4209
c02ee9d6
GM
42102011-10-11 Glenn Morris <rgm@gnu.org>
4211
4212 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4213 like f90-previous-statement does.
4214
93e616fd 42152011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4216
1f190e73 4217 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4218 only in interactive use, to avoid error.
4219
af7b6078
SM
42202011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * minibuffer.el (completion-file-name-table): Fix last change,
4223 i.e. ignore normal errors but not the other ones.
4224
0563dae9
MR
42252011-10-10 Martin Rudalics <rudalics@gmx.at>
4226
4227 * window.el (special-display-buffer-names)
4228 (special-display-regexps): Remove some remnants of earlier
4229 changes from doc-strings.
366ca7f3
MR
4230 (quit-windows-on): New function.
4231
4232 * vc/vc.el (vc-revert, vc-rollback):
4233 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4234 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4235 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4236
49677495
MR
42372011-10-09 Martin Rudalics <rudalics@gmx.at>
4238
4239 * window.el (frame-auto-hide-function): Add version tag.
4240 (Bug#9699)
4241
56f2d1e1
MA
42422011-10-09 Michael Albinus <michael.albinus@gmx.de>
4243
4244 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4245 condition.
4246
112a6592
LL
42472011-10-09 Leo Liu <sdl.web@gmail.com>
4248
4249 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4250 (Bug#9701)
4251
0812589b
GM
42522011-10-08 Glenn Morris <rgm@gnu.org>
4253
4254 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4255 before the first code statement zero indent. (Bug#9690)
4256
b2b0776e
CY
42572011-10-08 Chong Yidong <cyd@stupidchicken.com>
4258
4259 * simple.el (count-words-region): Always count in the region.
4260 Report the number of lines and characters too.
4261 (count-words): New command, which counts in the buffer if the
4262 region is inactive, as count-words-region used to.
4263 (count-words--message): New function. Handle plurals.
4264 (count-lines-region): Make it an alias for count-words-region.
4265
4266 * bindings.el (esc-map): Replace count-lines-region with
4267 count-words-region.
4268
c557cd6b
MR
42692011-10-08 Martin Rudalics <rudalics@gmx.at>
4270
4271 * window.el (window--delete): Delete dedicated frame
4272 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4273 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4274
61a57ef4 42752011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4276
3a7d293b 4277 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4278
c3833279
CY
42792011-10-07 Chong Yidong <cyd@stupidchicken.com>
4280
4281 * bindings.el ([M-left],[M-right]): Bind to left-word and
4282 right-word respectively.
4283
21ce8245
GM
42842011-10-07 Glenn Morris <rgm@gnu.org>
4285
4286 * cus-start.el (debug-on-quit): Fix custom type.
4287
6d823bb2
LMI
42882011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4289
0181e193
LMI
4290 * subr.el (define-key-after): Clarify that the function is not
4291 useful for non-menu keymaps.
4292
6d823bb2
LMI
4293 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4294
8e3459ce 42952011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4296
21ce8245 4297 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4298 in current minibuffer (Fix bug with recursive minibuffers).
4299
a1c2d21e
CY
43002011-10-06 Chong Yidong <cyd@stupidchicken.com>
4301
4302 * progmodes/gdb-mi.el (gdb): Doc fix.
4303
5a4cf282
MR
43042011-10-05 Martin Rudalics <rudalics@gmx.at>
4305
4306 * window.el (frame-auto-hide-function): New option replacing
4307 frame-auto-delete. Suggested by Stefan Monnier.
4308 (window--delete): Call frame-auto-hide-function instead of
4309 investigating frame-auto-delete.
c96111ea
MR
4310 (window-point-1, set-window-point-1): New functions.
4311 (window-in-direction, record-window-buffer, window-state-get-1)
4312 (display-buffer-record-window): Use window-point-1 instead of
4313 window-point.
4314 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4315
9854542e
SM
43162011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4319
8943cfb0
GM
43202011-10-05 Glenn Morris <rgm@gnu.org>
4321
4322 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4323 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4324
647ab967
LL
43252011-10-05 Leo Liu <sdl.web@gmail.com>
4326
4327 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4328 works with buffer object.
4329
3ddfbced
SM
43302011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * mpc.el (mpc-tool-bar-map): Add labels.
4333
bdfa5dd2
GM
43342011-10-04 Glenn Morris <rgm@gnu.org>
4335
4336 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4337
0e2070b5
MR
43382011-10-04 Martin Rudalics <rudalics@gmx.at>
4339
4340 * window.el (window--delete): New function.
4341 (frame-auto-delete): Resuscitate option.
4342 (bury-buffer, replace-buffer-in-windows)
4343 (quit-window): Rewrite using window--delete.
4344 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4345 Pass display-buffer-mark-dedicated to window--display-buffer-2
4346 (Bug#9639).
4347
3dc61a09
SM
43482011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4349
915a9b64
SM
4350 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4351 returns a list (bug#9554). Add remote file name completion.
4352 * comint.el (comint--table-subvert): Curry and get quote&unquote
4353 functions as arguments.
4354 (comint--complete-file-name-data): Adjust call accordingly.
4355 * pcomplete.el (pcomplete--table-subvert): Remove.
4356 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4357
3dc61a09
SM
4358 * minibuffer.el (completion-table-case-fold): Use currying.
4359 (completion--styles-type, completion--cycling-threshold-type):
4360 New constants.
4361 (completion-styles, completion-category-overrides)
4362 (completion-cycle-threshold): Use them.
4363 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4364 completion-table-case-fold.
4365
8ea0a993
SB
43662011-10-03 Stephen Berman <stephen.berman@gmx.net>
4367
4368 * minibuffer.el (completion-category-overrides): Fix type of styles
4369 and add more user friendly tags (bug#9660).
4370
8c24b7f6
SM
43712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4374 (mule-input-method-string): New widget.
4375 (default-input-method, language-info-custom-alist): Use it.
4376
428fe61a
SM
43772011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4378
32c1fffd
SM
4379 * pcomplete.el: Require comint.
4380 (pcomplete--common-suffix): Remove.
4381 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4382 (pcomplete--table-subvert): Sync with comint--table-subvert.
4383 (pcomplete--entries): Use comint-completion-file-name-table.
4384 * comint.el (comint-unquote-filename): Simplify.
4385 (comint-completion-file-name-table): New function (bug#9616).
4386 (comint--complete-file-name-data): Use it.
4387
428fe61a
SM
4388 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4389 (pcmpl-gnu-tar-buffer): Remove.
4390 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4391 around. Make sure pcomplete-suffix-list is only changed temporarily.
4392 Don't look inside the tar's file if it's too large.
428fe61a 4393
04c52e2f
CY
43942011-10-01 Chong Yidong <cyd@stupidchicken.com>
4395
ce3cefcc
CY
4396 * cus-edit.el (custom-mode-map):
4397 * epa.el (epa-key-list-mode-map):
4398 * man.el (Man-mode-map):
4399 * startup.el (splash-screen-keymap):
4400 * simple.el (special-mode-map): Use scroll-up-command and
4401 scroll-down-command.
4402
4403 * progmodes/idlw-help.el (idlwave-help-mode-map):
4404 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4405 * net/newst-plainview.el (newsticker-mode-map):
4406 * emulation/ws-mode.el (wordstar-mode-map):
4407 * emulation/vi.el (vi-com-map):
4408 * calc/calc-graph.el (calc-graph-show-dumb):
4409 * term/sun.el (terminal-init-sun):
4410 * term/ns-win.el (global-map):
4411 * progmodes/grep.el (grep-mode-map):
4412 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4413 * mail/rmail.el (rmail-mode-map):
4414 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4415
04c52e2f
CY
4416 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4417 custom-safe-themes as special.
4418
79adf8c8
JD
44192011-10-01 Julien Danjou <julien@danjou.info>
4420
4421 * notifications.el (notifications-notify): Fix docstring.
4422
63bd50d3
PS
44232011-10-01 Per Starbäck <per@starback.se>
4424
4425 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4426
199e4c7e
MR
44272011-09-30 Martin Rudalics <rudalics@gmx.at>
4428
4429 * startup.el (command-line-1): Fix last fix by inserting
4430 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4431 (Bug#9605) and (Bug#9636)
199e4c7e 4432
fe5f08dd
EZ
44332011-09-29 Eli Zaretskii <eliz@gnu.org>
4434
4435 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4436 window is hscrolled, move by logical lines. (Bug#9607)
4437 (line-move-visual): Update the doc string to the above effect.
4438
b5516bbd
MR
44392011-09-29 Martin Rudalics <rudalics@gmx.at>
4440
ccee00c0
MR
4441 * window.el (display-buffer-record-window): When WINDOW is the
4442 selected window use `point' instead of `window-point'. (Bug#9626)
4443
b5516bbd
MR
4444 * startup.el (command-line-1): Use insert-before-markers when
4445 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4446
b5516bbd
MR
4447 * help.el (help-window): Remove variable.
4448
52aa0014
GM
44492011-09-29 Glenn Morris <rgm@gnu.org>
4450
4451 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4452
df9a7357
JB
44532011-09-29 Juanma Barranquero <lekktu@gmail.com>
4454
4455 * descr-text.el (describe-char-categories): Accept category
4456 descriptions more than one line long.
4457
a8406c20
SM
44582011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4459
88d9610c
SM
4460 * simple.el (delete-trailing-whitespace): Fix last change.
4461
a5daf810
SM
4462 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4463 Don't confuse "y => 3" as the beginning of a `y' operation.
4464
a8406c20
SM
4465 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4466 object has more than 4 slots (bug#9613).
4467
a239d4e9
JB
44682011-09-28 Juanma Barranquero <lekktu@gmail.com>
4469
4470 * subr.el (with-output-to-temp-buffer):
4471 * net/quickurl.el (quickurl, quickurl-browse-url):
4472 Fix typos in docstrings.
4473
693fbdb6
EZ
44742011-09-27 Eli Zaretskii <eliz@gnu.org>
4475
4476 * minibuffer.el (completion-styles)
4477 (completion-category-overrides): Cross reference each other in doc
4478 strings.
4479
8b457e28
GM
44802011-09-27 Glenn Morris <rgm@gnu.org>
4481
4482 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4483 to split-string. (Bug#9606)
4484
85a16208
LMI
44852011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4486
4487 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4488 (bug#9615).
4489
502f9ebd
CY
44902011-09-27 Chong Yidong <cyd@stupidchicken.com>
4491
4492 * emacs-lisp/package.el (list-packages): Fix echo area message.
4493
7690bdea
LL
44942011-09-27 Leo Liu <sdl.web@gmail.com>
4495
4496 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4497
e2ee6f30
MA
44982011-09-25 Michael Albinus <michael.albinus@gmx.de>
4499
4500 * net/dbus.el (dbus-unregister-object): Don't release services for
4501 registered signals. (Bug#9581)
4502
f3f98342
TZ
45032011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4504
4505 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4506 function that picks between cfengine 2 and 3 support
4507 automatically. Update docs accordingly.
4508
dd7aa8dd
KH
45092011-09-22 Kenichi Handa <handa@m17n.org>
4510
4511 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4512 ZERO.
4513 (indian-itrans-v5-table-for-tamil): New variable.
4514 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4515
3f2b07f8
KM
45162011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4517
4518 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4519 that's true if the current command involved collapsing of text.
4520 It's reset to false at the beginning of the next command.
4521 (allout-post-command-business): Move the cursor to the beginning
4522 of entry if the cursor is hidden and collapsing activity just
4523 happened.
4524
371d6a61
CY
45252011-09-24 Chong Yidong <cyd@stupidchicken.com>
4526
4527 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4528 tracking (Bug#9541).
4529
2ac2721a
UJ
45302011-09-24 Ulf Jasper <ulf.jasper@web.de>
4531
4532 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4533 (newsticker-show-news): Automatically load html rendering package
4534 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4535 because w3m-fill-column is let-bound" and the error "Symbol's value
4536 as variable is void: w3m-fill-column".
2ac2721a 4537
fac7ae53
MA
45382011-09-24 Michael Albinus <michael.albinus@gmx.de>
4539
4540 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4541 Release services only if they are defined. (Bug#9581)
4542
e08b633b
RS
45432011-09-23 Richard Stallman <rms@gnu.org>
4544
e488d29c
RS
4545 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4546 distinguish start of paragraph from start of its text.
4547
19c38752
RS
4548 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4549
e08b633b
RS
4550 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4551 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4552 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4553
0a39f27e
AS
45542011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4555
4556 * international/mule-diag.el (mule-diag): Insert a newline after
4557 each fontset description.
4558
db4e950d
SM
45592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * simple.el (delete-trailing-whitespace):
4562 Document last change; simplify.
4563
eca3f3ea
PW
45642011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4565
d68e189a
PW
4566 * simple.el (delete-trailing-whitespace): Also delete
4567 extra newlines at the end of the buffer.
4568
eca3f3ea
PW
4569 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4570 (picture-newline): Use forward-line so as to ignore fields.
4571
01c157cc
SM
45722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * subr.el (with-wrapper-hook): Fix edebug spec.
4575
022de23e
LMI
45762011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577
4578 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4579 (bug#4538).
4580
91683089
MA
45812011-09-23 Michael Albinus <michael.albinus@gmx.de>
4582
eca3f3ea
PW
4583 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4584 Fix nasty bug using wrong cached values.
91683089 4585
5bdd6fa4
AM
45862011-09-23 Alan Mackenzie <acm@muc.de>
4587
4588 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4589
97adfb97
CY
45902011-09-23 Chong Yidong <cyd@stupidchicken.com>
4591
4592 * window.el (pop-to-buffer): Ensure right window is selected if we
4593 chose another frame.
4594
d4ef2b50
EZ
45952011-09-22 Eli Zaretskii <eliz@gnu.org>
4596
4597 * simple.el (what-cursor-position): Use get-char-property-change
4598 and next-single-char-property-change, to be able to show display
4599 properties that come from overlays as well as text properties.
4600
72258fe5
CY
46012011-09-22 Chong Yidong <cyd@stupidchicken.com>
4602
4603 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4604
4605 * cmuscheme.el (run-scheme, switch-to-scheme):
4606 * cus-edit.el (customize-group, custom-buffer-create)
4607 (customize-browse):
4608 * info.el (info):
4609 * shell.el (shell):
4610 * mail/sendmail.el (mail):
4611 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4612
8f098516
RS
46132011-09-22 Richard Stallman <rms@gnu.org>
4614
4615 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4616 move back only to line beg, don't move back over blank lines.
4617
e74f1bb6
MA
46182011-09-22 Michael Albinus <michael.albinus@gmx.de>
4619
4620 * files.el (copy-directory): Set directory attributes only in case
4621 they could be retrieved from the source directory. (Bug#9565)
4622
bfeef8b6
DK
46232011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4624
4625 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4626 (hs-find-block-beginning, hs-hide-level-recursive):
4627 Ignore strings as well as comments. (Bug#9502)
4628
7e423bb8
AS
46292011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4630
4631 * progmodes/sql.el (sql-comint-postgres):
4632 Convert port number to a string. (Bug#9566)
4633
b4d72fcf
MR
46342011-09-22 Martin Rudalics <rudalics@gmx.at>
4635
4636 * window.el (quit-window): Undedicate window when switching to
4637 previous buffer. Reported by Thierry Volpiatto
4638 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4639 (special-display-popup-frame): When popping up a new frame reset
4640 its previous buffers to nil. Simplify code.
b4d72fcf 4641
a7b88dc6
MA
46422011-09-21 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4645 and process filter, as done also in `shell-command'.
4646
cf4eacfd
MR
46472011-09-21 Martin Rudalics <rudalics@gmx.at>
4648
eca3f3ea 4649 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4650 Call set-window-start with NOFORCE argument t.
4651 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4652 (quit-window): Reword doc-string. Handle new format of
4653 quit-restore parameter. Don't delete window if it has a
4654 previous buffer we can show instead of the present one.
4655 (display-buffer-record-window): Rewrite using a new format for
4656 the quit-restore window parameter
4657 (special-display-popup-frame, display-buffer-same-window)
4658 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4659 (display-buffer-pop-up-window, display-buffer-use-some-window):
4660 Adapt symbol passed to display-buffer-record-window.
4661 * help.el (help-window-setup): Handle new format of quit-restore
4662 parameter.
4663
8d28cb95
SM
46642011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4665
94ab793f
SM
4666 * faces.el (face-list): Fix docstring (bug#9564).
4667
8d28cb95
SM
4668 * window.el (display-buffer--action-function-custom-type):
4669 Don't include internal functions in the Custom interface.
4670
3820edeb
JL
46712011-09-20 Juri Linkov <juri@jurta.org>
4672
4673 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4674 (Info-forward-node, Info-backward-node, Info-next-preorder)
4675 (Info-last-preorder): Use it. (Bug#9528)
4676
5147931d
JL
46772011-09-20 Juri Linkov <juri@jurta.org>
4678
4679 * info.el (Info-last-preorder): Visit last menu item only when
4680 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4681
cf499a1a
JD
46822011-09-20 Julien Danjou <julien@danjou.info>
4683
4684 * password-cache.el (password-cache-remove): Remove entries even if the
4685 value is nil, so that password with a nil value (negative caching) is
4686 possible to invalidate.
4687
f84e2fe2
LM
46882011-09-20 Lawrence Mitchell <wence@gmx.li>
4689
4690 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4691 all whitespace around breakpoint. (Bug#9553)
4692 (f90-find-breakpoint): Only break at whitespace inside a comment.
4693
78054a46
SM
46942011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * minibuffer.el (completion-file-name-table): Keep track of errors.
4697 (completion-table-with-predicate): Handle the case where pred1 is nil.
4698 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4699
345083b2
SM
47002011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4701
e24e27be
SM
4702 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4703 (debugger-return-value): Signal an error if the debugging context does
4704 not await any return value.
4705
345083b2
SM
4706 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4707 * image-mode.el (image-toggle-display-text)
4708 (image-toggle-display-image): Stay away from evil `intangible'.
4709
08d355e3
LL
47102011-09-19 Leo Liu <sdl.web@gmail.com>
4711
4712 * replace.el (occur-revert-arguments): Make it permanent-local.
4713 (occur-mode): Don't call font-lock-defontify.
4714
f01da43f
CY
47152011-09-19 Chong Yidong <cyd@stupidchicken.com>
4716
4717 * net/ldap.el (ldap-search-internal): Don't push empty search
4718 result (Bug#9508).
4719
b6072fa6
SM
47202011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4723
443d6696
MA
47242011-09-19 Michael Albinus <michael.albinus@gmx.de>
4725
4726 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4727 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4728
7cc6e154
JL
47292011-09-18 Juri Linkov <juri@jurta.org>
4730
4731 * buff-menu.el (Buffer-menu-mode-map):
4732 * dired.el (dired-mode-map):
4733 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4734 (lisp-interaction-mode-map):
4735 * emacs-lisp/package.el (package-menu-mode-map):
4736 * epa.el (epa-key-list-mode-map):
4737 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4738 (menu-bar-options-menu):
4739 * outline.el (outline-mode-menu-bar-map):
4740 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4741 * vc/vc-dir.el (vc-dir-menu-map):
4742 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4743 Capitalize non-function content words in menu item strings.
4744
4745 * dired.el (dired-mode-map): Add menu item for
4746 `image-dired-dired-toggle-marked-thumbs'.
4747
80302a81
JL
47482011-09-18 Juri Linkov <juri@jurta.org>
4749
4750 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4751 to `isearch-case-fold-search' and restore its original value
4752 after the `isearch-mode' call.
4753
46c5cf66
JL
47542011-09-18 Juri Linkov <juri@jurta.org>
4755
4756 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4757 because `zgrep' returns 1 for successful matches (bug#9226).
4758
d18b513b
JL
47592011-09-18 Juri Linkov <juri@jurta.org>
4760
4761 * info.el (Info-extract-menu-node-name): Check the second match
4762 for empty string (second test-case of bug#9528).
4763 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4764 intermediate nodes to the history (first test-case of bug#9528).
4765
72753f87
JL
47662011-09-18 Juri Linkov <juri@jurta.org>
4767
4768 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4769 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4770
c9384295
JL
47712011-09-18 Juri Linkov <juri@jurta.org>
4772
1154d12e
JB
4773 * info.el (Info-file-supports-index-cookies):
4774 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4775 outputs one more line for long file names (bug#4142).
c9384295 4776
d473dce8
CY
47772011-09-18 Chong Yidong <cyd@stupidchicken.com>
4778
4779 * newcomment.el (comment-normalize-vars): If prompting for
4780 comment-start, set comment-start-skip too (Bug#8424).
4781
2176854d
JB
47822011-09-18 Johan Bockgård <bojohan@gnu.org>
4783
4784 * icomplete.el: Fix previous fix of Bug#5849.
4785 (icomplete-mode): Don't set completion-show-inline-help.
4786 (icomplete-minibuffer-setup): Set completion-show-inline-help
4787 locally during icompletion.
4788
3aace4e4
CY
47892011-09-18 Chong Yidong <cyd@stupidchicken.com>
4790
c940224f
CY
4791 * woman.el (woman2-process-escapes): Don't delete unrecognized
4792 escapes (Bug#7843).
4793
3aace4e4
CY
4794 * files.el (inhibit-first-line-modes-regexps): Add image files.
4795 (hack-local-variables-prop-line): Return nil for malformed
4796 prop-lines (Bug#9044).
4797
710dec63
MA
47982011-09-18 Michael Albinus <michael.albinus@gmx.de>
4799
4800 * net/tramp.el (top): Don't require 'shell.
4801 (tramp-methods): Fix docstring.
4802 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4803 Return complete remote file name. Handle "smb" case.
4804 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4805 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4806
4807 * net/tramp-compat.el (top): Require 'shell.
4808
4809 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4810 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4811 `tramp-current-host'.
4812 (tramp-get-remote-tmpdir): Remove.
4813
4814 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4815 `tramp-tmpdir' entries.
4816 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4817 (tramp-smb-handle-file-attributes): Ignore errors.
4818 (tramp-smb-wait-for-output): Check also for process end.
4819
5d5ac8ec
LMI
48202011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4821
4822 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4823 when sending QUIT (bug#9312).
4824
8c0f49f0
CY
48252011-09-17 Chong Yidong <cyd@stupidchicken.com>
4826
4827 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4828 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4829 occur-mode-display-occurrence.
4830 (occur-edit-mode): Add usage message.
4831 (occur-cease-edit): New command.
4832 (occur-after-change-function): Use text properties to find the
4833 position of the prefix text.
4834 (occur-engine): Set stickiness of prefix text properties.
4835
8f1383f7
GM
48362011-09-17 Glenn Morris <rgm@gnu.org>
4837
4838 * progmodes/etags.el (complete-tag):
4839 Fix call to completion-in-region. (Bug#9526)
4840
744ba0e3
JL
48412011-09-17 Juri Linkov <juri@jurta.org>
4842
4843 * textmodes/ispell.el (ispell-word): Add to the error message
4844 the word, ispell program name and current dictionary (bug#9121).
4845 (ispell-tex-arg-end): Capitalize "error" in the error message.
4846
d9bbf400
AS
48472011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4848
4849 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4850 check. (Bug#4251)
4851
8da11505
JL
48522011-09-17 Juri Linkov <juri@jurta.org>
4853
4854 * window.el (window-safe-min-height, window-safe-min-width):
4855 Fix typos (followup to bug#9522).
4856
a91adc7e
SJ
48572011-09-17 Sven Joachim <svenjoac@gmx.de>
4858
4859 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4860
064f328a
EZ
48612011-09-16 Eli Zaretskii <eliz@gnu.org>
4862
4863 * simple.el (line-move): If goal-column is set, move by logical
4864 lines, not by display lines. (Bug#971)
4865 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4866 to reflect the above change.
4867
e69df516
SM
48682011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 * image.el (imagemagick-register-types): Use regexp-opt.
4871
cbb0f9ab
CY
48722011-09-15 Chong Yidong <cyd@stupidchicken.com>
4873
4874 * window.el (display-buffer-base-action): Rename from
4875 display-buffer-default-action. Make default value empty.
4876 (display-buffer-overriding-action): Convert to defvar.
4877 (display-buffer-fallback-action): New var.
4878
25322144
CY
48792011-09-15 Chong Yidong <cyd@stupidchicken.com>
4880
4881 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4882 declaration.
4883 (package--add-to-archive-contents): If there is a duplicate entry
4884 with an older version, remove it.
4885 (package-menu-mark-delete, package-menu-mark-install)
4886 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4887 (package-menu-mark-obsolete-for-deletion):
4888 Use package-menu-get-status instead of a regexp search.
25322144
CY
4889 (package-menu-get-status): Use tabulated-list-entry.
4890 (package-menu-mark-upgrades): New command.
d770725a 4891 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4892 (package-menu-execute): Do installation before deletion.
4893 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4894 instead of checking major-mode.
4895 (package-menu--find-upgrades): New function.
4896
7520339c
LMI
48972011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4898
4899 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4900 passwords in the log buffer.
65a046c4
LMI
4901 (smtpmail-process-filter): Update the process marker so that the
4902 "broken by peer" status message is inserted in the right place.
7520339c 4903
d3c30954
SM
49042011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4905
3fe48822
SM
4906 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4907 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4908 bibtex-completion-at-point-function.
4909 (bibtex-completion-at-point-function): Use them.
4910
1b8b3954
SM
4911 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4912
d3c30954
SM
4913 * mpc.el (mpc-constraints-tag-lookup): New function.
4914 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4915 also to browser "album|playlist".
4916
72779976
JL
49172011-09-14 Juri Linkov <juri@jurta.org>
4918
4919 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4920 (isearch-edit-string): Use length of `isearch-string' when
4921 `isearch-fail-pos' returns nil.
4922 (isearch-message): Remove duplicate code and call
4923 `isearch-fail-pos' with arg `t'.
4924
a0bf2bcd
CY
49252011-09-14 Chong Yidong <cyd@stupidchicken.com>
4926
17bb0a2d
CY
4927 * replace.el (occur-mode-goto-occurrence): Don't force using other
4928 window (Bug#9499).
4929
a0bf2bcd
CY
4930 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4931
f678e0b6
MR
49322011-09-14 Martin Rudalics <rudalics@gmx.at>
4933
4934 * window.el (display-buffer-window): Remove.
4935 (display-buffer-record-window): Use help-setup window parameter
4936 instead of variable display-buffer-window.
4937 (display-buffer-function, special-display-buffer-names)
4938 (special-display-function): Mention help-setup parameter instead
4939 of display-buffer-window in doc-string.
d3c30954
SM
4940 * help.el (help-window-setup): New argument help-window.
4941 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4942 Reword some messages.
4943 (with-help-window): Pass window used for displaying the buffer
4944 to help-window-setup. Don't set display-buffer-window.
4945
8e39b2e8
GM
49462011-09-13 Glenn Morris <rgm@gnu.org>
4947
4948 * emacs-lisp/debug.el (debugger-make-xrefs):
4949 Preserve point. (Bug#9462)
4950
85e9c04b
CY
49512011-09-13 Chong Yidong <cyd@stupidchicken.com>
4952
4953 * window.el (window-deletable-p): Use next-frame.
4954
1b36ed6a
MR
49552011-09-13 Martin Rudalics <rudalics@gmx.at>
4956
4957 * window.el (window-auto-delete): Remove.
4958 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4959 dedication and previous buffers.
1b36ed6a
MR
4960 (switch-to-prev-buffer): Don't delete window.
4961 (delete-windows-on): Delete a window's frame if and only if the
4962 window is dedicated.
4963 (replace-buffer-in-windows): Delete buffer's window or frame if
4964 and only if window is dedicated.
4965 (quit-window): Handle quit-restore as before last change.
4d61f28d 4966 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4967
ef8ef9fb
CY
49682011-09-13 Chong Yidong <cyd@stupidchicken.com>
4969
4970 * window.el (window-deletable-p): Never delete the last frame on a
4971 given terminal.
4972
b2cba41e
GM
49732011-09-13 Glenn Morris <rgm@gnu.org>
4974
4975 * help.el (describe-key-briefly): Copy previous standard-output change.
4976
51553db6 49772011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4978
4979 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4980
b7556719
GM
49812011-09-13 Glenn Morris <rgm@gnu.org>
4982
4983 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4984 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4985
64b51947
CY
49862011-09-12 Chong Yidong <cyd@stupidchicken.com>
4987
4988 * dired-aux.el (dired-mark-read-string): Don't return default
4989 value on empty input (Bug#9361).
4990 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4991 Omit initial minibuffer contents.
4992 (dired-do-chmod): Signal an error on empty input.
4993 (dired-mark-read-string): Don't return default on empty input.
4994
4995 * files.el (file-modes-symbolic-to-number): Doc fix.
4996
393a301e
SM
49972011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * international/mule-cmds.el (ucs-completions): Remove.
5000 (read-char-by-name): Use complete-with-action instead; add metadata.
5001
fa5660f9
CY
50022011-09-11 Chong Yidong <cyd@stupidchicken.com>
5003
5004 * window.el (display-buffer--action-function-custom-type)
5005 (display-buffer--action-custom-type): New vars.
5006 (display-buffer-alist, display-buffer-default-action)
5007 (display-buffer-overriding-action): Add defcustom types.
5008
4a592f66
CY
5009 * frame.el (delete-other-frames): Doc fix (Bug#276).
5010
73d56dbd
LMI
50112011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5012
5013 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5014
37ac18a3
CY
50152011-09-11 Chong Yidong <cyd@stupidchicken.com>
5016
5017 Change modes that used same-window-* vars to use switch-to-buffer.
5018
5019 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5020 Use switch-to-buffer.
5021
5022 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5023 (customize-browse, custom-buffer-create-other-window):
5024 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5025
5026 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5027 (Info-prev, Info-up, Info-speedbar-goto-node)
5028 (info-display-manual): Use switch-to-buffer.
5029 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5030
5031 * mail/sendmail.el (mail): Use switch-to-buffer.
5032 (mail-recover): Use switch-to-buffer-other-window.
5033
5034 * cmuscheme.el (run-scheme, switch-to-scheme):
5035 * ielm.el (ielm):
5036 * shell.el (shell):
5037 * net/rlogin.el (rlogin):
5038 * net/telnet.el (telnet, rsh):
5039 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5040
10195bd6
AS
50412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5042
5043 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5044
b322f63a
LMI
50452011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5046
39d7fed6
LMI
5047 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5048 so don't mention it (bug#9301).
ba5a81f1 5049 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5050
ee0e9f11
LMI
5051 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5052 match `x', `w32' and `ns', like the manual says (bug#9029).
5053
0b1c89c1 5054 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5055 (process-kill-buffer-query-function): Mention the buffer name in
5056 the query.
0b1c89c1 5057
77549ea8
LMI
5058 * image-mode.el (image-next-line): The line parameter is mandatory
5059 (bug#9258).
5060
803ef892
LMI
5061 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5062 which can be useful (bug#9301).
5063
12980837
LMI
5064 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5065
91054f8f
LMI
5066 * subr.el (match-string): Mention that the current buffer should
5067 be the same as the search was done in (bug#9282).
5068
b322f63a
LMI
5069 * facemenu.el: Disable the remove-* commands if the mark isn't
5070 active (bug#9162).
5071
3199b96f
CY
50722011-09-10 Chong Yidong <cyd@stupidchicken.com>
5073
5074 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5075 of display-buffer.
5076 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5077
5078 * replace.el (occur-mode-goto-occurrence)
5079 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5080 and display-buffer.
5081
5082 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5083 display-buffer.
5084
5085 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5086 special-display and same-window variables.
5087 (mail-other-window): Use switch-to-buffer-other-window.
5088 (mail-other-frame): USe switch-to-buffer-other-frame.
5089
393a301e
SM
5090 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5091 Use display-buffer-other-frame.
3199b96f
CY
5092 (gdb-display-gdb-buffer): Use pop-to-buffer.
5093
5094 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5095
5096 * progmodes/python.el: Don't set same-window-buffer-names.
5097
5098 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5099
5100 * window.el (display-buffer-alist): Add *Python*.
5101
8319e0bf
CY
51022011-09-10 Chong Yidong <cyd@stupidchicken.com>
5103
5104 * window.el (display-buffer-alist): Add entry for buffers
5105 previously handled same-window-*.
5106 (display-buffer-alist, display-buffer-default-action)
5107 (display-buffer-overriding-action): Mark as risky.
5108 (display-buffer-alist): Document action function changes.
5109 (display-buffer--same-window-action)
5110 (display-buffer--other-frame-action): New variables.
5111 (switch-to-buffer, display-buffer-other-frame): Use them.
5112 (display-buffer): Rename reuse-frame entry to reusable-frames.
5113 (display-buffer-reuse-selected-window): Function deleted.
5114 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5115 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5116 (display-buffer-special): New function.
5117 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5118 display-buffer-reuse-or-pop-window. Split off special-display
5119 part into display-buffer-special.
5120 (display-buffer-use-some-window): Don't perform any special
5121 pop-up-frames handling.
5122 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5123 (display-buffer--maybe-same-window): Rename from
0d3ff375 5124 display-buffer-maybe-same-window.
8319e0bf 5125
919a69aa
CY
5126 * info.el: Don't set same-window-regexps.
5127 (info-setup): New function.
5128 (info-other-window, info): Call it.
5129
5130 * cus-edit.el: Don't set same-window-regexps.
5131 (customize-group): New argument.
5132 (customize-group-other-window): Use it.
5133 (customize-face, customize-face-other-window): Likewise.
5134 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5135
8319e0bf
CY
5136 * net/rlogin.el:
5137 * net/telnet.el:
5138 * progmodes/gud.el: Don't set same-window-regexps.
5139
5140 * cmuscheme.el:
5141 * ielm.el:
5142 * shell.el:
5143 * mail/sendmail.el:
5144 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5145
25173000
JL
51462011-09-10 Juri Linkov <juri@jurta.org>
5147
5148 * isearch.el (isearch-edit-string): Remove obsolete mention of
5149 `C-w' (`isearch-yank-word-or-char') from docstring.
5150 (isearch-query-replace): Fix typo in docstring (bug#9466).
5151
056e44ef
JL
51522011-09-10 Juri Linkov <juri@jurta.org>
5153
5154 * paren.el (show-paren-function): Don't show escaped parens.
5155 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5156
c3760c17
EZ
51572011-09-10 Eli Zaretskii <eliz@gnu.org>
5158
5159 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5160 (mm-default-file-encoding): Remove autoload forms, they are
5161 replaced with autoload cookies in mml.el and mm-encode.el.
5162 (mail-add-attachment): New command.
5163 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5164 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5165 the doc string.
5166 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5167
fece895e
RT
51682011-09-10 Reuben Thomas <rrt@sc3d.org>
5169
e69df516
SM
5170 * simple.el (count-words-region): Use buffer if there's no region
5171 (bug#9429).
fece895e 5172
5e68ce4a
JL
51732011-09-09 Juri Linkov <juri@jurta.org>
5174
5175 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5176 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5177 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5178
0a6b9622
AM
51792011-09-09 Alan Mackenzie <acm@muc.de>
5180
5181 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5182 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5183
14a29deb
EZ
51842011-09-09 Eli Zaretskii <eliz@gnu.org>
5185
5186 Fix for Savannah bug#9392.
5187 * simple.el (mail-encode-mml): New defvar.
5188
5189 * mail/rmail.el (mail-encode-mml): Add a defvar.
5190 (rmail-enable-mime-composing): Default to t.
5191 (rmail-forward): Use MIME method of forwarding only if both
5192 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5193 Set mail-encode-mml non-nil if the MIME method was used.
5194
5195 * mail/sendmail.el (mml-to-mime): Add autoload form.
5196 (mail-encode-mml): Add a defvar.
5197 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5198 to nil.
5199 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5200 message through mml-to-mime, and reset mail-encode-mml to nil.
5201
28c45130
GM
52022011-09-09 Glenn Morris <rgm@gnu.org>
5203
5204 * woman.el (woman-if-body): When processing an .el block,
5205 do not delete the next .el block as well. (Bug#9447)
69f4b618 5206 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5207
9b1c252e
MR
52082011-09-08 Martin Rudalics <rudalics@gmx.at>
5209
5210 * window.el (window-deletable-p): Make sure window is live before
5211 invoking window-prev-buffers.
5212
567457e3
LL
52132011-09-08 Leo Liu <sdl.web@gmail.com>
5214
5215 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5216
97f05794
JL
52172011-09-08 Juri Linkov <juri@jurta.org>
5218
5219 * progmodes/compile.el (compilation-environment): Make it
5220 a defcustom (bug#8340).
5221
8b0874b5
MR
52222011-09-08 Martin Rudalics <rudalics@gmx.at>
5223
5224 * window.el (frame-auto-delete): Rename to window-auto-delete.
5225 Make it control auto-deletion of windows and/or frames.
5226 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5227 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5228 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5229 Rewrite handling of case when window/frame can be deleted.
5230 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5231 argument t. (Bug#9456)
8b0874b5 5232
4feb6e73
CY
52332011-09-07 Chong Yidong <cyd@stupidchicken.com>
5234
5235 * help-mode.el (help-mode): Restore autoload.
5236
91ab9c13
JL
52372011-09-07 Juri Linkov <juri@jurta.org>
5238
5239 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5240 `compilation-environment'. Set buffer-local
5241 `compilation-environment' to `thisenv' later after (funcall mode).
5242 (Bug#8340)
5243
5244 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5245 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5246 instead of replacing its value. (Bug#8340)
5247
0527e251
JL
52482011-09-07 Juri Linkov <juri@jurta.org>
5249
5250 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5251 based on text properties put by `grep-filter' instead of matching
5252 escape sequences.
5253 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5254 to the value of `grep-error-screen-columns' (bug#9438).
5255
249f792c
JL
52562011-09-07 Juri Linkov <juri@jurta.org>
5257
5258 * simple.el (next-error-highlight, next-error-highlight-no-select):
5259 Doc fix (bug#9432).
5260
ff7271b9
OT
52612011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5262
5263 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5264 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5265
183fc730
LL
52662011-09-07 Leo Liu <sdl.web@gmail.com>
5267
5268 * net/rcirc.el (rcirc-mode): Conditionally initialize
5269 rcirc-input-ring.
5270
77694924
SM
52712011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * emacs-lisp/find-func.el (find-function-C-source): Only set
5274 find-function-C-source-directory after checking that we found a source
5275 file there (bug#9440).
5276
d809b8eb
AM
52772011-09-06 Alan Mackenzie <acm@muc.de>
5278
5279 * isearch.el (isearch-other-meta-char): Wherever a key list is
5280 unread, "unread" the prefix arg, too. This fixes bug #8901.
5281
453de99f
OG
52822011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5283
5284 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5285
90439906
JL
52862011-09-05 Juri Linkov <juri@jurta.org>
5287
5288 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5289
f62bd846
JL
52902011-09-05 Juri Linkov <juri@jurta.org>
5291
5292 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5293 keeping point where processing of grep matches begins, and
5294 continue to delete remaining escape sequences from the same point.
5295 (grep-filter): Make leading zero optional in "0?1;31m" because
5296 git-grep emits "\033[1;31m" escape sequences unlike expected
5297 "\033[01;31m" as GNU Grep does (bug#9408).
5298 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5299
045820ec
JL
53002011-09-05 Juri Linkov <juri@jurta.org>
5301
5302 * subr.el (y-or-n-p): Capitalize "yes".
5303
f5e29b9b
MA
53042011-09-04 Michael Albinus <michael.albinus@gmx.de>
5305
5306 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5307 `tramp-cache-unload-hook' where appropriate.
5308 (tramp-methods): Rename `tramp-remote-sh' to
5309 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5310 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5311
5312 * net/tramp-sh.el (top): Don't require 'shell.
5313 (tramp-methods): Add `tramp-remote-shell' and
5314 `tramp-remote-shell-args' entries.
5315 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5316 (tramp-sh-handle-shell-command): Remove.
5317 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5318 Use `tramp-remote-shell'.
5319
2784c434
CY
53202011-09-03 Chong Yidong <cyd@stupidchicken.com>
5321
393a301e 5322 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5323 (sendmail-query-once): Save directly to send-mail-function.
5324 Update message-send-mail-function too.
5325
5326 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5327
464cdf56
CS
53282011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5329
5330 * progmodes/python.el (python-mode-map): Use correct function to
5331 start python interpreter from menu-bar (as reported by Geert
5332 Kloosterman).
5333 (inferior-python-mode-map): Fix typo.
393a301e 5334 (python-shell-map): Remove.
464cdf56 5335
d37e5c87
DD
53362011-09-03 Deniz Dogan <deniz@dogan.se>
5337
5338 * net/rcirc.el (rcirc-print): Simplify code for
5339 rcirc-scroll-show-maximum-output. There is no need to walk
5340 through all windows to find the right one.
5341
f3ada0ee
CS
53422011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5343
5344 * help.el (help-return-method): Doc fix.
5345
1f3c99ca
MR
53462011-09-03 Martin Rudalics <rudalics@gmx.at>
5347
5348 * window.el (window-deletable-p): Don't return a non-nil value
5349 when there's a buffer that was shown in the window before.
5350 (Bug#9419)
393a301e
SM
5351 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5352 Set window's previous buffers to nil.
1f3c99ca 5353
a3cf097f
EZ
53542011-09-03 Eli Zaretskii <eliz@gnu.org>
5355
5356 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5357 newline before and after the tag line, so it doesn't interfere
5358 with determining the paragraph direction of bidirectional text.
5359
3d03de90
LL
53602011-09-03 Leo Liu <sdl.web@gmail.com>
5361
5362 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5363
c3313451
CY
53642011-09-02 Chong Yidong <cyd@stupidchicken.com>
5365
393a301e 5366 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5367 (pop-to-buffer): Change interactive spec. Pass second argument
5368 directly to display-buffer.
5369 (display-buffer): Fix interactive spec. Use functionp to
5370 distinguish between a function and a list of functions.
5371
5372 * abbrev.el (edit-abbrevs):
5373 * arc-mode.el (archive-extract):
5374 * autoinsert.el (auto-insert):
5375 * bookmark.el (bookmark-bmenu-list):
5376 * files.el (find-file):
5377 * view.el (view-buffer):
5378 * progmodes/compile.el (compilation-goto-locus):
5379 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5380
89894cd8
CY
53812011-09-02 Chong Yidong <cyd@stupidchicken.com>
5382
5383 * window.el (display-buffer-alist): Doc fix.
5384 (display-buffer): Add docstring. Don't treat
5385 display-buffer-default specially.
5386 (display-buffer-reuse-selected-window)
5387 (display-buffer-same-window, display-buffer-maybe-same-window)
5388 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5389 (display-buffer-pop-up-window)
5390 (display-buffer-reuse-or-pop-window)
5391 (display-buffer-use-some-window): New functions.
5392 (display-buffer-default-action): Use them.
393a301e 5393 (display-buffer-default): Delete.
89894cd8
CY
5394 (pop-to-buffer-1): Fix choice of actions.
5395
ae0bc9fb
SM
53962011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * minibuffer.el (completion--insert-strings): Don't get confused by
5399 completion entries that end with an LF char.
5400
e9d90883
EZ
54012011-09-01 Eli Zaretskii <eliz@gnu.org>
5402
5403 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5404
437014c8
CY
54052011-09-01 Chong Yidong <cyd@stupidchicken.com>
5406
5407 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5408 (display-buffer-same-window, display-buffer-other-window):
5409 New functions.
437014c8
CY
5410 (pop-to-buffer-1): New function. Use the above.
5411 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5412 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5413
5414 * view.el (view-buffer-other-window, view-buffer-other-frame):
5415 Just use pop-to-buffer.
5416
a5e063d5
TV
54172011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5418
5419 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5420
793d32bb
WH
54212011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5422
5423 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5424
d65e4c15
RS
54252011-08-31 Richard Stallman <rms@gnu.org>
5426
5427 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5428 of the separation of rmail-view-buffer from rmail-buffer.
5429 If you say no to "replace original", the decrypt is in the
5430 view buffer. If you say yes, the decrypt goes into the
5431 rmail buffer also.
5432
f818cd2a
MR
54332011-08-31 Martin Rudalics <rudalics@gmx.at>
5434
5435 * window.el (display-buffer-window): Rewrite doc-string.
5436 (display-buffer-record-window): New function.
5437 (display-buffer-macro-specifiers)
5438 (display-buffer-even-window-sizes, display-buffer-set-height)
5439 (display-buffer-set-width, display-buffer-in-window)
5440 (display-buffer-reuse-window, display-buffer-split-specifiers)
5441 (display-buffer-side-specifiers, display-buffer-split-window-1)
5442 (display-buffer-split-window, display-buffer-split-atom-window)
5443 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5444 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5445 (display-buffer-other-window-means-other-frame)
5446 (display-buffer-normalize-special)
5447 (display-buffer-normalize-default)
5448 (display-buffer-normalize-argument)
5449 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5450 (display-buffer-normalize-specifiers, display-buffer-frame)
5451 (display-buffer-same-window, display-buffer-same-frame)
5452 (display-buffer-other-window)
5453 (display-buffer-same-frame-other-window)
5454 (display-buffer-other-frame, pop-to-buffer-same-window)
5455 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5456 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5457 (switch-to-buffer-same-frame)
5458 (switch-to-buffer-other-window-same-frame)
5459 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5460 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5461 (display-buffer-alist-set): Remove.
5462 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5463 (special-display-regexps, special-display-function):
5464 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5465 parameter.
5466 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5467 (special-display-frame-alist, special-display-popup-frame)
5468 (same-window-buffer-names, same-window-regexps, same-window-p)
5469 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5470 (split-window-preferred-function, split-height-threshold)
5471 (split-width-threshold, window-splittable-p)
5472 (split-window-sensibly, window--try-to-split-window)
5473 (window--frame-usable-p, even-window-heights)
5474 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5475 (window--display-buffer-2, display-buffer-other-frame):
5476 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5477 (display-buffer-default, display-buffer-assq-regexp): New functions.
5478 (display-buffer-alist): Rewrite doc-string.
5479 (display-buffer-default-action)
5480 (display-buffer-overriding-action): New variables.
5481 (display-buffer, switch-to-buffer): Rewrite.
5482 (pop-to-buffer): Restore Emacs 23 behavior but use
5483 window-normalize-buffer-to-display.
5484 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5485 Restore Emacs 23 behavior but use
5486 window-normalize-buffer-to-switch-to.
5487 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5488 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5489 Rewrite using Emacs 23 options.
f818cd2a 5490
5bc3b51d
MA
54912011-08-31 Michael Albinus <michael.albinus@gmx.de>
5492
5493 * net/tramp.el (tramp-root-regexp): Remove.
5494 (tramp-completion-file-name-regexp-unified)
5495 (tramp-completion-file-name-regexp-separate)
5496 (tramp-completion-file-name-regexp-url): Don't use leading volume
5497 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5498 (tramp-drop-volume-letter): Simplify definition.
5499 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5500
b1a4f8e1
SM
55012011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5504 (bug#9356).
5505
5664fa7b
RT
55062011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5507
b1a4f8e1 5508 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5509
9a45d6c3
JL
55102011-08-29 Juri Linkov <juri@jurta.org>
5511
5512 * isearch.el (isearch-done): Don't display message "Mark saved"
5513 when arg `edit' is non-nil to prevent its flicker in the echo area.
5514
fb87e0fb
CY
55152011-08-28 Chong Yidong <cyd@stupidchicken.com>
5516
5517 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5518 obsolete packages for deletion.
5519
09ac1c2a
CS
55202011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5521
5522 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5523 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5524 view-mode from help-mode.
5525 (help-xref-override-view-map): Remove.
5526 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5527 view-mode is not used anymore.
5528
7a1ff57f
CY
55292011-08-28 Chong Yidong <cyd@stupidchicken.com>
5530
5531 * server.el (server-port): Doc fix.
5532
b9696605
CY
5533 * cus-theme.el (custom-theme-choose-mode): Inherit from
5534 special-mode (Bug#9124).
5535 (custom-theme-choose-mode-map): Add special-mode to parent.
5536
ef8cdf8c
AM
55372011-08-28 Alan Mackenzie <acm@muc.de>
5538
5539 * progmodes/cc-fonts.el
5540 (c-make-font-lock-BO-decl-search-function): New function.
5541 (c-basic-matchers-after - "Fontify the clauses after various
5542 keywords"): Extract the three keyword lists for the 3 erroneous
5543 constructs from the list of four, and use the new function above
5544 in place of an old one.
5545
27de4e20
DD
55462011-08-28 Deniz Dogan <deniz@dogan.se>
5547
5548 * net/rcirc.el (rcirc-insert-prev-input)
5549 (rcirc-insert-next-input): Remove unused argument.
5550
356a3681
SM
55512011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5554
3fc9b218
AM
55552011-08-27 Alan Mackenzie <acm@muc.de>
5556
5557 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5558 handle function pointer parameters properly.
5559
538a061c
MR
55602011-08-27 Martin Rudalics <rudalics@gmx.at>
5561
5562 * window.el (display-buffer-reuse-window): Fix case where
5563 selected window was reused with non-nil OTHER-WINDOW argument.
5564 (Bug#9381)
5565
35b1c40c
DD
55662011-08-27 Deniz Dogan <deniz@dogan.se>
5567
5568 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5569 oftc's NickServ messages.
5570
2f6a3e79
GM
55712011-08-27 Glenn Morris <rgm@gnu.org>
5572
5573 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5574
7254299e
CY
55752011-08-26 Chong Yidong <cyd@stupidchicken.com>
5576
5577 * emacs-lisp/package.el (package-install): Call package-initialize
5578 if called interactively.
5579
f8ccf167
LL
55802011-08-26 Leo Liu <sdl.web@gmail.com>
5581
5582 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5583
3e8cd5ce
JL
55842011-08-25 Juri Linkov <juri@jurta.org>
5585
5586 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5587 `search-whitespace-regexp' (bug#9364).
5588
93eb7113
JL
55892011-08-25 Juri Linkov <juri@jurta.org>
5590
5591 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5592 `regexp-search-ring' to their global values to protect from
5593 updating by `read-from-minibuffer' (bug#9185).
5594
f65d1611
JL
55952011-08-25 Juri Linkov <juri@jurta.org>
5596
5597 * textmodes/ispell.el (ispell-command-loop): Add newline
5598 at the end of the "Use option `i'..." line.
5599
f1cf7a31
JL
56002011-08-25 Juri Linkov <juri@jurta.org>
5601
5602 * battery.el (display-battery-mode): If `battery-status-function'
5603 or `battery-mode-line-format' is nil, display the message and set
5604 `display-battery-mode' to nil (bug#9363).
5605
0c95fcf7
EZ
56062011-08-25 Eli Zaretskii <eliz@gnu.org>
5607
5608 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5609 bidi-string-mark-left-to-right; they are unnecessary now.
5610
a2ebe600
DD
56112011-08-25 Deniz Dogan <deniz@dogan.se>
5612
5613 * net/quickurl.el: Documentation typo fixes.
5614
e4ed06f1
CY
56152011-08-25 Chong Yidong <cyd@stupidchicken.com>
5616
5617 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5618
e5f1c99e
GM
56192011-08-25 Glenn Morris <rgm@gnu.org>
5620
b2948976
GM
5621 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5622
e5f1c99e
GM
5623 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5624 (smtpmail-via-smtp): Handle nil response from smtp.
5625
f22f4808
JL
56262011-08-24 Juri Linkov <juri@jurta.org>
5627
5628 * proced.el (proced-marked): Inherit from `error' instead of
5629 `font-lock-warning-face'.
5630
5631 * ibuffer.el (ibuffer-marked-face): Change default face from
5632 `font-lock-warning-face' to `warning'.
5633 (ibuffer-deletion-face): Change default face from
5634 `font-lock-type-face' to `error'.
5635
5636 * battery.el (battery-update): Use the face `error' instead of
5637 `font-lock-warning-face' (bug#6117).
5638
6a93965e
JL
56392011-08-24 Juri Linkov <juri@jurta.org>
5640
5641 * faces.el (success): Change face color from "Green3" to
5642 "ForestGreen" on light background (bug#9353).
5643
1ed43b09
CY
56442011-08-24 Chong Yidong <cyd@stupidchicken.com>
5645
5664fa7b
RT
5646 * window.el (quit-window): Rename from quit-restore-window.
5647 Use same arglist as old quit-window.
1ed43b09
CY
5648 (frame-auto-delete): Doc fix.
5649
5650 * view.el (view-mode-exit): Use quit-window.
5651
11dcdbb2
JL
56522011-08-24 Juri Linkov <juri@jurta.org>
5653
5654 * isearch.el (isearch-ring-adjust1): Start visiting previous
5655 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5656 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5657 for empty search string (when the last search string is reused
5658 automatically) to adjust the isearch ring to the last element and
5659 prepare the correct index for further M-p commands (bug#9185).
5660
de62b4df
KH
56612011-08-24 Kenichi Handa <handa@m17n.org>
5662
5663 * international/ucs-normalize.el: If decomposition property of
5664 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5665 nil.
5666 (nfd, nfkd): Likewise.
5667
963b492b
SM
56682011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5671 from process filters aren't reliably transmitted to the surrounding
5672 accept-process-output.
5673 (mpc-proc-check): New function.
5674 (mpc-proc-sync): Use it (bug#8293)
5675
93b6b5e1
SM
56762011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5679 Add compatibility functions (bug#9313).
5680
bca633fb
EZ
56812011-08-23 Eli Zaretskii <eliz@gnu.org>
5682
b177498a
EZ
5683 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5684
6df6ae42 5685 * international/uni-bidi.el: Regenerate.
bca633fb 5686
0902a04e
KH
56872011-08-23 Kenichi Handa <handa@m17n.org>
5688
5689 * international/charprop.el:
5690 * international/uni-bidi.el:
5691 * international/uni-category.el:
5692 * international/uni-combining.el:
5693 * international/uni-comment.el:
5694 * international/uni-decimal.el:
5695 * international/uni-decomposition.el:
5696 * international/uni-digit.el:
5697 * international/uni-lowercase.el:
5698 * international/uni-mirrored.el:
5699 * international/uni-name.el:
5700 * international/uni-numeric.el:
5701 * international/uni-old-name.el:
5702 * international/uni-titlecase.el:
5703 * international/uni-uppercase.el: Regenerate.
5704
3bbf23bc
MR
57052011-08-23 Martin Rudalics <rudalics@gmx.at>
5706
5707 * help.el (help-window-setup): Fix message displayed when other
5708 window is reused. (Bug#9341)
5709
b3fd59bd
SM
57102011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5711
1802e444
SM
5712 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5713 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5714
b3fd59bd
SM
5715 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5716 Mark obsolete.
5717 * shell.el (shell-parse-pcomplete-arguments): New function.
5718 (shell-completion-vars): Use it instead (bug#9160).
5719
4eb61348
SM
57202011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5721
867cab74
SM
5722 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5723 strings and comments (bug#9333).
5724
4eb61348
SM
5725 * emacs-lisp/debug.el (debug-arglist): New function.
5726 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5727 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5728
262a1439
JL
57292011-08-22 Juri Linkov <juri@jurta.org>
5730
56ee679c
JL
5731 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5732 Revert regexp that highlights output switches to its old
5733 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5734
262a1439
JL
5735 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5736 to check for empty output (bug#9226).
5737
f13f86fb
CY
57382011-08-22 Chong Yidong <cyd@stupidchicken.com>
5739
5740 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5741 symbol-constituent as the default, as that stops font-lock from
5742 working properly (Bug#8843).
5743
c65c9622
LMI
57442011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745
5746 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5747 `coding-system-for-*' around the process open call to avoid
5748 auth-source side effects.
e7f2c178 5749 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5750 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5751 probe hangs.
c65c9622 5752
23a8a5ab
CY
57532011-08-21 Chong Yidong <cyd@stupidchicken.com>
5754
ff98b2dd
CY
5755 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5756
23a8a5ab
CY
5757 * emacs-lisp/find-func.el (find-function-noselect): New arg
5758 lisp-only.
5759
5760 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5761 signal an error for built-in functions (Bug#6664).
5762
f5e3c598
LMI
57632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
5765 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5766 (smtpmail-try-auth-methods): Use it.
5767
a3f2468a
CY
57682011-08-21 Chong Yidong <cyd@stupidchicken.com>
5769
2c34e8da
CY
5770 * font-lock.el (font-lock-fontify-region)
5771 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5772 (font-lock-default-unfontify-buffer)
5773 (font-lock-default-fontify-region)
5774 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5775
b3fd59bd
SM
5776 * progmodes/compile.el (compilation-error-properties):
5777 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5778 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5779 `ant' regexp.
ee31aabc 5780
a3f2468a
CY
5781 * net/browse-url.el (browse-url-firefox): Don't call
5782 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5783
8e999f70
GM
57842011-08-20 Glenn Morris <rgm@gnu.org>
5785
c21a496a
GM
5786 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5787
59ee0542
GM
5788 * tutorial.el (tutorial--default-keys): Update some default bindings.
5789
8e999f70
GM
5790 * files.el (hack-local-variables): Fully ignore case for "mode:".
5791
e3715033
AM
57922011-08-20 Alan Mackenzie <acm@muc.de>
5793
5794 Resolve invalid use of a regexp in regexp-opt.
5795
4d61f28d
JB
5796 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5797 detection for a java annotation.
e3715033 5798
4d61f28d 5799 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5800 detection for a java annotation.
5801
4d61f28d
JB
5802 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5803 handling for java.
e3715033
AM
5804 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5805
04ed2e9c
CY
58062011-08-20 Chong Yidong <cyd@stupidchicken.com>
5807
5808 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5809 (Bug#9274).
5810
826cee64
AM
58112011-08-20 Alan Mackenzie <acm@muc.de>
5812
58179cce 5813 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5814 such a construct. Mainly for when jit-lock etc. starts a chunk
5815 here.
5816
58179cce 5817 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5818 variable.
58179cce 5819 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5820 c-make-font-lock-search-function.
5821 (c-make-font-lock-search-function): Use the above function.
5822 (c-make-font-lock-context-search-function): New function.
5823 (c-cpp-matchers): Enhance the preprocessor expression case with
5824 the above function
5825 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5826 which takes an expression.
5827
5828 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5829
13009bd8
MR
58302011-08-20 Martin Rudalics <rudalics@gmx.at>
5831
5832 * window.el (display-buffer-reuse-window)
5833 (display-buffer-pop-up-window): Don't reuse or split a side
5834 window.
5835
9234ff7f
GM
58362011-08-19 Glenn Morris <rgm@gnu.org>
5837
5838 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5839 Downcase "Mode:". (Bug#9331)
9234ff7f 5840
f635daa1
CY
58412011-08-18 Chong Yidong <cyd@stupidchicken.com>
5842
5843 * international/characters.el: Add L and R categories.
5844
5845 * subr.el (bidi-string-mark-left-to-right): Rename from
5846 string-mark-left-to-right. Use category search.
5847
5848 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5849
bc987f8b
JL
58502011-08-18 Juri Linkov <juri@jurta.org>
5851
5852 * faces.el (error, warning, success): New faces with definitions
5853 copied from old default values of `font-lock-warning-face',
5854 `compilation-warning', `compilation-info' (bug#6117).
5855
5856 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5857
5858 * progmodes/compile.el (compilation-error): Inherit from `error'.
5859 (compilation-warning): Inherit from `warning'.
5860 (compilation-info): Inherit from `success'.
5861
5862 * dired.el (dired-marked): Inherit from `warning'.
5863 (dired-flagged): Inherit from `error'.
5864
57173b96
LMI
58652011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5866
3e79eb87
LMI
5867 * mail/smtpmail.el (auth-source): Require to avoid problems with
5868 binding variables (bug#9298). Also clean up some unused
5869 autoloads.
5870
b3fd59bd
SM
5871 * net/network-stream.el (network-stream-open-starttls):
5872 Support using starttls.el without using gnutls-cli.
57173b96 5873
02b404de
JL
58742011-08-17 Juri Linkov <juri@jurta.org>
5875
5876 * progmodes/grep.el (rgrep): Handle the case when
5877 `grep-find-command' is a cons cell (bug#9278).
5878
8c9177f2
MR
58792011-08-17 Martin Rudalics <rudalics@gmx.at>
5880
5881 * window.el (display-buffer-pop-up-frame): Run frame creation
5882 function with BUFFER current (as special-display-popup-frame
5883 does). Reported by Drew Adams.
5884
3644a0ab
DU
58852011-08-17 Daiki Ueno <ueno@unixuser.org>
5886
5887 * epa-mail.el: Simplify GnuPG group expansion using
5888 epg-expand-group.
5889 (epa-mail-group-alist, epa-mail-group-modtime)
5890 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5891 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5892 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5893 Remove.
5894
5e617bc2 58952011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5896
5897 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5898
9c4aeabf
AM
58992011-08-16 Alan Mackenzie <acm@muc.de>
5900
5901 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5902 Correct, to avoid the inside of macros.
5903
3a99bf64
RS
59042011-08-16 Richard Stallman <rms@gnu.org>
5905
04963aa8
RS
5906 * epa-mail.el: Handle GnuPG group definitions.
5907 (epa-mail-group-alist, epa-mail-group-modtime)
5908 (epa-mail-gnupg-conf-file): New variables.
5909 (epa-mail-parse-groups, epa-mail-sync-groups)
5910 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5911 (epa-mail-expand-recipients): New functions.
5912 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5913
177549d0
RS
5914 * mail/rmail.el (rmail-epa-decrypt): New command.
5915
fe38beef
RS
5916 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5917 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5918 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5919 (epa-decrypt-armor-in-region): Make error message clearer.
5920
934eacb9
SM
59212011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5924 and "a2b" to "ab" for `prefix'.
5925
d024fb4e
CY
59262011-08-14 Chong Yidong <cyd@stupidchicken.com>
5927
5928 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5929 filter groups.
de148fee
CY
5930 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5931 Fourquet (Bug#8804).
d024fb4e 5932
62f1ca49
JB
59332011-08-12 Juanma Barranquero <lekktu@gmail.com>
5934
5935 * startup.el (argi): Declare as global variable (bug#9275).
5936
9ccaaa4b
CY
59372011-08-12 Chong Yidong <cyd@stupidchicken.com>
5938
5939 * subr.el (string-mark-left-to-right): Search the entire string
5940 for RTL script, not just the terminating character. Doc fix.
5941
a3dae87a
SM
59422011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5943
6cd18349
SM
5944 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5945 New function.
5946 (js--regexp-literal, js-syntax-propertize-function): Remove.
5947 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5948 (js-mode-map): Don't rebind electric keys.
5949 (js-insert-and-indent): Remove.
5950 (js-mode): Setup electric-layout and electric-indent instead.
5951
a3dae87a
SM
5952 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5953
9d5cb631
DU
59542011-08-12 Daiki Ueno <ueno@unixuser.org>
5955
5956 * epa.el (epa-progress-callback-function): Fix the logic of
5957 displaying progress.
5958 * epa-file.el (epa-file-insert-file-contents): Make progress
5959 display more user-friendly.
5960 (epa-file-write-region): Ditto.
5961
3e26a4a2
CY
59622011-08-10 Chong Yidong <cyd@stupidchicken.com>
5963
5964 * subr.el (string-mark-left-to-right): New function.
5965
5966 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5967 Use string-mark-left-to-right.
5968 (list-buffers-noselect): Caller changed.
5969
a3dae87a
SM
5970 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5971 Use string-mark-left-to-right.
3e26a4a2
CY
5972 (tabulated-list-print): Recenter after moving point.
5973
ac8cf6e6
JL
59742011-08-10 Juri Linkov <juri@jurta.org>
5975
5976 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5977 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5978 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5979
8d96c9a4
CY
59802011-08-09 Chong Yidong <cyd@stupidchicken.com>
5981
5982 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5983 (Bug#7554).
5984
7be1c708 59852011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5986
5987 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5988 character. (Bug#6594)
5989
37e11a63
CY
59902011-08-08 Chong Yidong <cyd@stupidchicken.com>
5991
839dde57
CY
5992 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5993 (image-dired--with-db-file): New macro.
5994 (image-dired-write-tags, image-dired-remove-tag)
5995 (image-dired-create-gallery-lists, image-dired-write-comments)
5996 (image-dired-get-comment, image-dired-mark-tagged-files)
5997 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5998 (image-dired-gallery-generate): Use insert-file-contents.
5999
37e11a63
CY
6000 * time.el (display-time-world-list, display-time-world-display):
6001 * time-stamp.el (time-stamp-string):
6002 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6003 set-time-zone-rule (Bug#7337).
6004
0b4946c4
DU
60052011-08-08 Daiki Ueno <ueno@unixuser.org>
6006
6007 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6008 (epg-error-to-string, epg-errors-to-string): New function.
6009 (epg-wait-for-completion): Reverse errors list.
6010 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6011 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6012 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6013 (epg-sign-keys, epg-generate-key-from-file)
6014 (epg-generate-key-from-string): Format errors by using
6015 epg-errors-to-string (bug#9255).
6016 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6017
75bfc667
JL
60182011-08-07 Juri Linkov <juri@jurta.org>
6019
6020 * faces.el (list-faces-display): Remove extra angle bracket
6021 from `help-mode-map'.
6022
6023 * info.el (Info-history-toc-nodes): Doc fix.
6024
6025 * longlines.el (longlines-mode): Doc fix.
6026
673e08bb
SM
60272011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6028
4640dd88
SM
6029 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6030 of statements and in a few more cases (bug#9183).
6031
673e08bb
SM
6032 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6033 New functions.
6034 (cl-transform-lambda): Use them (bug#9239).
6035
89b3f019
MR
60362011-08-05 Martin Rudalics <rudalics@gmx.at>
6037
6038 * window.el (display-buffer-same-window)
6039 (display-buffer-same-frame, display-buffer-other-window)
6040 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6041 (pop-to-buffer-other-window)
6042 (pop-to-buffer-same-frame-other-window)
6043 (pop-to-buffer-other-frame): Make them defuns.
6044 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6045
640c8776
SM
60462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * subr.el (make-composed-keymap): Move from C. Change calling
6049 convention, and improve docstring to bring attention to a subtle point.
6050 * minibuffer.el (completing-read-default): Adjust accordingly.
6051
63648a95
MA
60522011-08-03 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6055 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6056
6057 * net/trampver.el: Update release number.
6058
b796c9b7
SM
60592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6062 "in" (bug#9190).
6063
2239d7d5
LMI
60642011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6065
e07dd7c3
LMI
6066 * mail/sendmail.el (sendmail-query-once): Restore the current
6067 buffer after querying (bug#9074).
6068
0e6a2bd7
LMI
6069 * dired.el (dired-flagged): Use different faces for marked and
6070 flagged files (bug#6117).
6071
ce887515
LMI
6072 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6073 (bug#4433).
6074
92f2affc
LMI
6075 * ido.el (ido-mode): Switch off the message if called
6076 non-interactively.
6077
57d5aff0
LMI
6078 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6079 before 587, since it appears that that's more likely to work for
6080 more people.
6081
98cd6c18 6082 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6083 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6084 exist.
6085
b96dec83
LMI
6086 * info.el: Remove the `Info-beginning-of-buffer' function
6087 (bug#8325).
6088
b796c9b7
SM
6089 * net/network-stream.el (network-stream-open-starttls):
6090 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6091
d90e2ea0
MR
60922011-08-01 Martin Rudalics <rudalics@gmx.at>
6093
6094 * window.el (display-buffer-in-window): Don't set dedicated status
6095 of window here (Bug#9215).
6096 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6097 (display-buffer-pop-up-side-window)
b796c9b7 6098 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6099
cca09170
SM
61002011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6103 before binding generated-autoload-file.
6104
027b979c
DD
61052011-08-01 Deniz Dogan <deniz@dogan.se>
6106
6107 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6108
3c7ee4f3
MA
61092011-07-30 Michael Albinus <michael.albinus@gmx.de>
6110
6111 Sync with Tramp 2.2.2.
6112
6113 * net/trampver.el: Update release number.
6114
2cc8e51a
JL
61152011-07-30 Juri Linkov <juri@jurta.org>
6116
6117 * dired-aux.el (dired-touch-initial): Remove function.
6118 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6119 current time, and `default' to the last modification time of the
6120 current marked file (bug#6887).
6121
a514d856
JM
61222011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6123
6124 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6125 numeric argument to read-number (bug#9163).
a514d856 6126
8a7eddd7
MA
61272011-07-27 Michael Albinus <michael.albinus@gmx.de>
6128
6129 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6130 connection process, it could be nil.
6131
1ddd96f5
LL
61322011-07-27 Leo Liu <sdl.web@gmail.com>
6133
6134 Simplify url handling in rcirc-mode.
6135
6136 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6137 (rcirc-browse-url-at-mouse): Remove.
6138 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6139
b248a85d
AM
61402011-07-26 Alan Mackenzie <acm@muc.de>
6141
6142 Fontify bitfield declarations properly.
6143
6144 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6145 (c-symbol-chars): Now exported as a lang variable.
6146 (c-not-primitive-type-keywords): New lang variable.
6147
6148 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6149 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6150 parsed as a bitfield declaration.
b248a85d 6151
b796c9b7
SM
6152 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6153 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6154 (c-punctuation-in): New function.
6155 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6156 declarations properly.
6157
68575ab0
UJ
61582011-07-26 Ulf Jasper <ulf.jasper@web.de>
6159
6160 * calendar/icalendar.el (icalendar--all-events): Take care of
6161 multiple vcalendars in a single file.
b796c9b7 6162 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6163
0f0a88b9
DD
61642011-07-25 Deniz Dogan <deniz@dogan.se>
6165
6166 * image.el (insert-image): Clarifying docstring.
6167
0b3f36df
MA
61682011-07-24 Michael Albinus <michael.albinus@gmx.de>
6169
6170 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6171 `tramp-send-command-and-check' if there is no error.
6172 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6173
a9901f61
AM
61742011-07-22 Alan Mackenzie <acm@muc.de>
6175
6176 Prevent cc-langs.elc being loaded at run time.
6177
6178 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6179 cc-langs.
6180
4d61f28d 6181 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6182 "(require 'cc-langs)". Quote a form so it will evaluate at
6183 (cc-mode's) compilation time.
6184
11d074b2
MA
61852011-07-22 Michael Albinus <michael.albinus@gmx.de>
6186
6187 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6188 loading. (Bug#9114)
6189
938b94c8
MR
61902011-07-21 Martin Rudalics <rudalics@gmx.at>
6191
6192 * window.el (display-buffer-pop-up-window)
6193 (display-buffer-pop-up-side-window)
6194 (display-buffer-in-side-window): Call display-buffer-set-height
6195 and display-buffer-set-width after setting the new window's
b796c9b7 6196 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6197
bfa4f190
SS
61982011-07-20 Sam Steingold <sds@gnu.org>
6199
6200 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6201 (etags-tags-included-tables): Call `convert-standard-filename' on
6202 the file names contained in TAGS so that windows Emacs can handle
6203 TAGS files created by cygwin ctags.
6204
8ca42262
LMI
62052011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6206
6207 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6208 which apparently didn't work.
6209
5db2afd2 62102011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6211
5db2afd2
RW
6212 * proced.el (proced-send-signal): For *Marked Processes* buffer
6213 put point at beginning of buffer.
6214
92e15d10
SB
62152011-07-19 Stephen Berman <stephen.berman@gmx.net>
6216
6217 * proced.el (proced-format): Make header lines align with the text
6218 (bug#1779).
6219
1bfd59e5
LMI
62202011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6221
6222 * view.el (view-buffer): Allow running in `special' modes if we're
6223 visiting a file (bug#8615).
6224
f5aae37c
MR
62252011-07-19 Martin Rudalics <rudalics@gmx.at>
6226
6227 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6228 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6229 New functions.
f5aae37c
MR
6230 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6231 more accurately.
6232
bf2c1571
AM
62332011-07-18 Alan Mackenzie <acm@muc.de>
6234
6235 Fontify declarators properly when, e.g., a jit-lock chunk begins
6236 inside a declaration.
6237
6238 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6239
b796c9b7
SM
6240 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6241 New function.
bf2c1571
AM
6242 (c-complex-decl-matchers): Insert reference to
6243 c-font-lock-enclosing-decls.
6244
6245 * progmodes/cc-engine.el (c-backward-single-comment):
6246 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6247 to nil around calls to (forward-comment -1).
6248
4e190b80
LMI
62492011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250
12dc863d
LMI
6251 * image.el (put-image): Doc typo fix.
6252
a762e966
LMI
6253 * progmodes/etags.el (tags-search): Doc typo fix.
6254
4e190b80
LMI
6255 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6256 password if we get errors 550 to 554.
6257
f019fb21
LMI
62582011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259
b796c9b7 6260 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6261
81746738
LMI
6262 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6263 indentation character (bug#6380).
6264
3ee3a1b5
LMI
6265 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6266
c82f64de
LMI
6267 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6268 to clarify what the problem is (bug#4291).
6269
f019fb21
LMI
6270 * simple.el (current-kill): Clarify what
6271 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6272 (auto-fill-mode): Document `auto-fill-function' in relation to
6273 `auto-fill-mode' (bug#2470).
f019fb21 6274
0794775d
LM
62752011-07-16 Lawrence Mitchell <wence@gmx.li>
6276
6277 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6278 method if slot is read-only (bug#9035).
6279
be39b8cc
MR
62802011-07-16 Martin Rudalics <rudalics@gmx.at>
6281
b796c9b7 6282 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6283 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6284 selected before, see discussion of (Bug#8615), (Bug#6954).
6285 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6286
6ccf7859
GM
62872011-07-15 Glenn Morris <rgm@gnu.org>
6288
6289 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6290 Respect help-form.
6ccf7859 6291
87e86684
LM
62922011-07-09 Lawrence Mitchell <wence@gmx.li>
6293
6294 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6295 (gnutls-negotiate): Use it.
6296
d6066239
LMI
62972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6298
b796c9b7
SM
6299 * net/gnutls.el (gnutls-negotiate):
6300 Upcase `gnutls-algorithm-priority'.
d6066239 6301
bd23ebc0
GM
63022011-07-15 Glenn Morris <rgm@gnu.org>
6303
c65bca65
GM
6304 * jka-compr.el (jka-compr-verbose): Move from here...
6305 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6306 Add missing :version tag.
6307 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6308
478615cc
LMI
63092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6310
7b41decb
LMI
6311 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6312 (gnutls-negotiate): Use it.
6313
dbc44fcd
LMI
6314 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6315
06789f97
LMI
6316 * info.el (Info-beginning-of-buffer): New command.
6317 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6318 announcing `b' as the key (bug#8325).
ab896c37 6319 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6320
c39da690
LMI
6321 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6322
3aa5f34b
LMI
6323 * international/mule-cmds.el
6324 (describe-specified-language-support): Make the error message
6325 clearer (bug#8905).
6326
4bf0979f
LMI
6327 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6328
478615cc
LMI
6329 * isearch.el (isearch-barrier): Add a doc string, since it's
6330 mentioned in a function doc string (bug#8678).
6331
75c68aa1
MR
63322011-07-15 Martin Rudalics <rudalics@gmx.at>
6333
6334 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6335 buffer argument (Bug#9083) and self-identifying label argument.
6336
a7c33da2
GM
63372011-07-15 Glenn Morris <rgm@gnu.org>
6338
6339 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6340
2f5c6024
LMI
63412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6342
6343 * man.el (Man-fontify-manpage): Fix message when formatting the
6344 man page (bug#7929).
6345
0bb23927 63462011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6347
6348 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6349 argument LRM; if non-nil, append an invisible LRM character to the
6350 buffer name.
6351 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6352 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6353 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6354 paragraph direction.
cce4b0a7 6355
621ef9ab
LMI
63562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6357
d1583c48
LMI
6358 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6359 the man page name (bug#7929).
6360
6a57fb5f
LMI
6361 * image.el (put-image): Mention the `put-image' overlay property
6362 (bug#7834).
6363
d7956b14
LMI
6364 * scroll-bar.el (set-scroll-bar-mode): Mention that
6365 `scroll-bar-mode' lists the values (bug#7772).
6366
5b2d4a66
LMI
6367 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6368 command (bug#7729).
6369
7509a874
LMI
6370 * rect.el (apply-on-rectangle): Return the point after the last
6371 operation.
6372 (string-rectangle): Go to the point after the last operation
6373 (bug#7522).
6374
4fe74b19
LMI
6375 * printing.el (pr-toggle-region): Clarify the documentation
6376 slightly (bug#7493).
6377
b796c9b7
SM
6378 * time.el (display-time-update):
6379 Allow `display-time-mail-function' to return nil (bug#7158).
6380 Fix suggested by Detlev Zundel.
ab283561 6381
fc233c9d
LMI
6382 * vc/diff.el (diff): Clarify the order the file names are read
6383 (bug#7111).
6384
43f5740b
LMI
6385 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6386 the doc string (bug#7015).
6387
f2182a76
LMI
6388 * font-lock.el (font-lock-maximum-decoration): Mention what
6389 numeric levels mean (bug#6935).
6390
621ef9ab
LMI
6391 * startup.el (initial-buffer-choice): Don't mention the `none'
6392 selection, which is against policy.
6393
adc47434
MR
63942011-07-14 Martin Rudalics <rudalics@gmx.at>
6395
b796c9b7
SM
6396 * window.el (display-buffer-normalize-special):
6397 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6398
7e5bfb8f
EZ
63992011-07-14 Eli Zaretskii <eliz@gnu.org>
6400
6401 * subr.el (version<, version<=, version=): Mention "-CVS" and
6402 "-12345" alpha version numbers.
6403
27fa387a
CY
64042011-07-14 Chong Yidong <cyd@stupidchicken.com>
6405
6406 * bindings.el: Add advertised binding for set-mark-command
6407 (Bug#5772).
6408
8bdfa064
CY
64092011-07-14 Chong Yidong <cyd@stupidchicken.com>
6410
6411 * bindings.el (mode-line-other-buffer):
6412 * bookmark.el (bookmark-bmenu-2-window):
6413 * bs.el (bs-cycle-next, bs-cycle-previous):
6414 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6415 switch-to-buffer.
6416
6417 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6418 Delete.
8bdfa064 6419
5eba16a3
JB
64202011-07-14 Juanma Barranquero <lekktu@gmail.com>
6421
6422 * follow.el (follow-debug-message, follow-redisplay):
6423 * jka-cmpr-hook.el (with-auto-compression-mode):
6424 Fix typos in docstrings.
6425
15853710
LMI
64262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6427
a28e4607
LMI
6428 * subr.el (with-silent-modifications): Clarify somewhat what the
6429 macro inhibits (bug#6525).
6430
15853710
LMI
6431 * simple.el (eval-expression): Note what it does if called
6432 interactively (bug#6495).
6433
bee0fcef
CY
64342011-07-13 Chong Yidong <cyd@stupidchicken.com>
6435
b796c9b7
SM
6436 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6437 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6438
6439 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6440 Remove switch-to-buffer.
6441
58274504
LMI
64422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6443
bd2fcc8d
LMI
6444 * files.el (make-directory): Clarify that an error will be raised
6445 if there's an error (bug#6397).
6446
0f04b32c
LMI
6447 * startup.el (initial-buffer-choice): Add `none' as a choice
6448 (bug#6234).
6449
465c5fc8
LMI
6450 * subr.el (add-hook): Clarify section about buffer-local hooks
6451 (bug#6218).
6452
58274504
LMI
6453 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6454
bead9a43
JB
64552011-07-13 Juanma Barranquero <lekktu@gmail.com>
6456
6457 * tabify.el (untabify): Preserve the current column so that point
6458 doesn't move (bug#6032).
6459
3af98a7b
LMI
64602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6461
b796c9b7
SM
6462 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6463 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6464
6240145a
GM
64652011-07-13 Glenn Morris <rgm@gnu.org>
6466
6467 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6468 (dired-insert-directory): Give a message the first time
6469 if ls is found not to support --dired.
6470
1d8c2ccc
LMI
64712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6472
6473 * simple.el (toggle-truncate-lines): Clarify what is toggled
6474 (bug#5580). Text by Drew Adams.
6475
5fc4038e
CY
64762011-07-13 Chong Yidong <cyd@stupidchicken.com>
6477
6478 * simple.el (blink-matching-open): Make the error message from the
6479 last change less verbose.
6480
bf6012e5
DN
64812011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6482
6483 * font-lock.el (font-lock-comment-face): Use the high contrast
6484 "yellow" color for font-lock-comment-face on low color terminals
6485 using a dark background color (bug#4221).
6486
343c3b5a
LMI
64872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6488
7e9505c5
LMI
6489 * dired.el (dired-insert-set-properties): Make the doc string
6490 reflect what it does now (bug#5325).
6491
c26fdcf5
LMI
6492 * simple.el (blink-matching-open): Say that we were unable to find
6493 the match within the limit, if we're limited (bug#5122).
6494
bb388cc5
LMI
6495 * international/mule-cmds.el (prefer-coding-system): Add an
6496 example (bug#4869).
6497
343c3b5a
LMI
6498 * progmodes/etags.el (tags-search): Document `file-list-form'
6499 (bug#4731).
6500
2a517d45
LM
65012011-07-13 Lawrence Mitchell <wence@gmx.li>
6502
6503 * net/browse-url.el (browse-url-default-browser)
6504 (browse-url-browser-function): Make the default browser choice a
6505 bit more logical (bug#4300). Also clean up the doc string.
6506
b6c78ef2
JB
65072011-07-13 Juanma Barranquero <lekktu@gmail.com>
6508
6509 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6510 binary endings (bug#4440).
6511
1c4dd947
LMI
65122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6513
a2014063
LMI
6514 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6515 which can be pretty annoying (bug#8971).
6516
9c9c2d88
LMI
6517 * jka-compr.el (jka-compr-verbose): New variable, and use
6518 throughout (bug#8971).
6519
1c4dd947
LMI
6520 * info.el (Info-find-file): Fall back on the installation
6521 directory if we can't find the info node anywhere else.
6522
a1c9f41b
SO
65232011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6524
6525 * vc/vc.el (vc-revert-file):
6526 Don't set file time-stamp in the past. (Bug#5181)
6527
536f3d36
LMI
65282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6529
7152b011
LMI
6530 * files.el (after-find-file): Give a better error message when
6531 trying to find a symlink that points to a file that doesn't exist
6532 (bug#4398).
6533
536f3d36
LMI
6534 * progmodes/cc-vars.el: Remove (probably) misleading comment
6535 (bug#4396).
6536
460c0fba
JB
65372011-07-12 Johan Bockgård <bojohan@gnu.org>
6538
6539 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6540
7a6bda45
CY
65412011-07-12 Chong Yidong <cyd@stupidchicken.com>
6542
6543 * mouse-sel.el: Hack restoring functionality, while keeping
6544 compatibility with 2010-07-03 changes to mouse selection.
6545 (mouse-sel-primary-overlay): New var.
6546 (mouse-sel-selection-alist): Use it.
6547 (mouse-sel-mode): Doc fix; remove points that are default features
6548 of mouse.el.
6549
c79598ef
JB
65502011-07-12 Johan Bockgård <bojohan@gnu.org>
6551
6552 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6553 Fix previous fix (bug#2490).
6554
ff8be6ef
RW
65552011-07-12 Roland Winkler <winkler@gnu.org>
6556
b796c9b7
SM
6557 * textmodes/bibtex.el (bibtex-initialize):
6558 Use pop-to-buffer-same-window.
ff8be6ef
RW
6559 (bibtex-search-entries): Fix interactive call.
6560
296ba3ee
LMI
65612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6562
f5242a02 6563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6564 Fontise bytecomp Error lines more correctly (bug#2490).
6565 Fix suggested by Johan Bockgård.
f5242a02 6566
296ba3ee
LMI
6567 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6568
6569 * dired-x.el (dired-guess-default): Use `delete-dups'.
6570
f69fd0d2
CY
65712011-07-12 Chong Yidong <cyd@stupidchicken.com>
6572
6573 * dired.el (dired-mark-prompt):
6574 * dired-aux.el (dired-read-shell-command): Doc fix.
6575
eab5dc07
LMI
65762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6577
b796c9b7
SM
6578 * mail/sendmail.el (sendmail-query-once):
6579 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6580 emacs -Q.
6581
6582 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6583
eab5dc07
LMI
6584 * cus-edit.el (custom-file): Take an optional no-error variable.
6585 (customize-save-variable): Set the variable, and give a warning if
6586 running under "emacs -q".
6587
a1e65d42
JB
65882011-07-11 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * loadhist.el (unload-feature-special-hooks):
6591 Add `auto-coding-functions', `fill-nobreak-predicate' and
6592 `find-directory-functions' (bug#5327).
6593
1d52da10
LMI
65942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6595
be958f1d
LMI
6596 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6597
5bedb26c
LMI
6598 * cus-edit.el (custom-guess-name-alist): -alist variables should
6599 use the `alist' type (bug#3120). Suggested by Drew Adams.
6600
1d52da10
LMI
6601 * printing.el: Add documentation to all the `pr-toggle-' commands.
6602
cd394be1 66032011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6604
6605 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6606 backends where it makes sense (bug#2623).
6607
dcc88d8a
LMI
66082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6609
c3de9feb
LMI
6610 * dired-x.el (dired-guess-default): Remove duplicate shell command
6611 entries (bug#2028).
8a93078b 6612 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6613 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6614
dcc88d8a
LMI
6615 * subr.el (remove-duplicates): New conveniency function.
6616
505e3645
LMI
66172011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6618
6619 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6620 (bug#1526).
6621
66222011-07-10 Martin Rudalics <rudalics@gmx.at>
6623
6624 * window.el (display-buffer-normalize-default): Don't invert
6625 meaning of even-window-heights. Reported by Eli Zaretskii
6626 <eliz@gnu.org>.
6627
455e4fa1
BR
66282011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6629
6630 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6631
8e0bc3e9
CY
66322011-07-10 Chong Yidong <cyd@stupidchicken.com>
6633
6634 * window.el (display-buffer): Fix arguments to
6635 display-buffer-reuse-window in last change.
6636
fa7c3228
CY
6637 * faces.el (link): Use a less saturated blue on light backgrounds.
6638
6639 * startup.el (fancy-startup-text, fancy-about-text)
6640 (fancy-startup-tail): Use font-lock faces, for background safety.
6641
c0a7f300
BN
66422011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6643
b796c9b7
SM
6644 * emulation/viper-cmd.el (viper-change-state-to-vi):
6645 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6646
4dc2a129
MR
66472011-07-09 Martin Rudalics <rudalics@gmx.at>
6648
6649 * window.el (display-buffer-default-specifiers): Remove.
6650 (display-buffer-macro-specifiers): Remove default specifiers.
6651 (display-buffer-alist): Default to nil.
b796c9b7 6652 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6653 (display-buffer-pop-up-window): Allow splitting internal
6654 windows. Check whether a live window was created.
6655 (display-buffer-other-window-means-other-frame)
6656 (display-buffer-normalize-arguments): Rename to
6657 display-buffer-normalize-argument and rewrite. Set the
6658 other-window specifier.
6659 (display-buffer-normalize-special): New function.
6660 (display-buffer-normalize-options): Rename to
6661 display-buffer-normalize-default and rewrite.
6662 (display-buffer-normalize-options-inhibit): Remove.
6663 (display-buffer-normalize-specifiers): Rewrite.
6664 (display-buffer): Process other-window specifier and call
6665 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6666 more faithfully.
b796c9b7 6667 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6668 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6669 (display-buffer-in-window, display-buffer-alist-set):
6670 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6671 <tassilo@member.fsf.org>.
6672
2d43b8c9
LL
66732011-07-09 Leo Liu <sdl.web@gmail.com>
6674
6675 * register.el (insert-register): Restore accidental change on
6676 2011-06-26. (Bug#9028)
6677
7f9b7c53
GM
66782011-07-09 Glenn Morris <rgm@gnu.org>
6679
6680 * subr.el (remq): Handle the empty list. (Bug#9024)
6681
f042cfd8
AS
66822011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6683
6684 * mail/sendmail.el (send-mail-function): No longer delay custom
6685 initialization.
6686 * custom.el (custom-initialize-delay): Doc fix.
6687
856b2f11
SM
66882011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6691
afae1d68
MA
66922011-07-08 Michael Albinus <michael.albinus@gmx.de>
6693
6694 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6695 human-friendly prompt.
6696
0757af94
SM
66972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6700 provided by a particular plugin.
6701
d760b731
LMI
67022011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6703
6704 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6705 save customizations (with "emacs -Q"), just set the variable
6706 instead of erroring out.
6707
6708 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6709
cd79ce90
JL
67102011-07-08 Juri Linkov <juri@jurta.org>
6711
6712 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6713 (archive-zip-update-case): Use 7z if found by `executable-find'.
6714 The order of searching the available programs is the same as in
6715 `archive-zip-extract' (bug#8968).
6716
14cc04aa
CY
67172011-07-07 Chong Yidong <cyd@stupidchicken.com>
6718
6719 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6720 (menu-bar-options-menu): Tweak descriptions.
6721
0a1848ec
LMI
67222011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6723
6724 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6725 menu items into verb phrases (bug#1421). Also refill to fit under
6726 80 columns.
6727
f5bd0689
CY
67282011-07-07 Chong Yidong <cyd@stupidchicken.com>
6729
538e85c6
CY
6730 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6731 (Info-read-node-name): Doc fix (Bug#1084).
6732
f5bd0689
CY
6733 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6734 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6735 (end-of-sexp, beginning-of-sexp)
6736 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6737 (forward-symbol, forward-same-syntax, word-at-point)
6738 (sentence-at-point): Doc fix (Bug#1144).
6739
56ec5115
LMI
67402011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6741
f3f8e37f
LMI
6742 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6743 should cover it (bug#1281).
6744
0757af94 6745 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6746
e9fce1ac 6747 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6748 negotiation fails, then possibly try again with a non-encrypted
6749 connection (bug#9017).
6750
56ec5115
LMI
6751 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6752 be used.
6753
c2f9aec8
RS
67542011-07-07 Richard Stallman <rms@gnu.org>
6755
6756 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6757 property, and handle its changed format.
6758 Look for the correct line number.
6759 Use file's line contents (but not past first =) to find
6760 correct line in message.
6761
ef7b981d 67622011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6763
6764 * international/characters.el (build-unicode-category-table):
6765 Delete it.
0757af94 6766 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6767
0757af94 6768 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6769 to src/chartab.c.
6770 (get-char-code-property): Call unicode-property-table-internal to
6771 load a file. Call get-unicode-property-internal where necessary.
6772 (put-char-code-property): Call unicode-property-table-internal to
6773 load a file. Call put-unicode-property-internal where necessary.
6774 put-unicode-property-internal where necessary.
0757af94
SM
6775 (char-code-property-description):
6776 Call unicode-property-table-internal to load a file.
c805dec0
KH
6777
6778 * international/charprop.el:
6779 * international/uni-bidi.el:
6780 * international/uni-category.el:
6781 * international/uni-combining.el:
6782 * international/uni-comment.el:
6783 * international/uni-decimal.el:
6784 * international/uni-decomposition.el:
6785 * international/uni-digit.el:
6786 * international/uni-lowercase.el:
6787 * international/uni-mirrored.el:
6788 * international/uni-name.el:
6789 * international/uni-numeric.el:
6790 * international/uni-old-name.el:
6791 * international/uni-titlecase.el:
6792 * international/uni-uppercase.el: Regenerate.
6793
6794 * loadup.el: Load international/charprop.el before
6795 international/characters.
6796
e14b388a
CY
67972011-07-07 Chong Yidong <cyd@stupidchicken.com>
6798
6799 * window.el (next-buffer, previous-buffer): Signal an error if
6800 called from a minibuffer window.
6801
6802 * bindings.el: Revert 2011-07-04 change.
6803
354cf0ba
RS
68042011-07-06 Richard Stallman <rms@gnu.org>
6805
6806 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6807 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6808 Treat markers like ints.
6809 (rmail-mime-entity): Doc fix.
6810
a48868a7
LMI
68112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6812
4906cd3d
LMI
6813 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6814 defcustom again for backwards compatibility.
6815
e0457abe
LMI
6816 * simple.el (shell-command-on-region): Fill.
6817
d67f7e1f
LMI
6818 * dired-aux.el (dired-kill-line): Add a doc string.
6819
fe204702
LMI
6820 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6821 to "\\sw\\|\\s_" (bug#358).
6822
a48868a7
LMI
6823 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6824 (dired-unmark-backward): Ditto.
6825 (dired-flag-backup-files): Ditto.
6826
6827 * dired-x.el (dired-mark-sexp): Ditto.
6828
aa8a705c
RS
68292011-07-06 Richard Stallman <rms@gnu.org>
6830
6831 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6832 (rmail-mime-entity): New arg TRUNCATED.
6833 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6834 New functions.
6835 (rmail-mime-save): Warn if entity is truncated.
6836 (rmail-mime-toggle-hidden): Likewise, for showing.
6837 (rmail-mime-process-multipart): Record when an entity is truncated.
6838
a9a936b9
RS
6839 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6840 if ENTITY is a string.
6841
1f2b92cb
LMI
68422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6843
f4f73198 6844 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6845 of faces when `M-C-x'-ing their definitions (bug#8378).
6846 Also clean up the code slightly.
f4f73198 6847
12b16734 6848 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6849 because that makes the colors go away.
12b16734 6850
f0691d22
LMI
6851 * mail/sendmail.el (send-mail-function): Change the default to
6852 `sendmail-query-once'.
9e87df06 6853 (sendmail-query-once): Add an autoload cookie.
f0691d22 6854
1f2b92cb
LMI
6855 * net/network-stream.el (network-stream-open-starttls): Try using
6856 a plain connection even if the server offered STARTTLS, and we
6857 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6858 capability. This should make smtpmail.el work in slightly more
6859 configurations.
6860
1cdd2a1b
MA
68612011-07-06 Michael Albinus <michael.albinus@gmx.de>
6862
6863 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6864 New defun.
6865 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6866
fbcc67e2
MM
68672011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6868
6869 * progmodes/sql.el: Version 3.0
0757af94 6870 (sql-product-alist): Add product :completion-object,
fbcc67e2 6871 :completion-column, and :statement attributes.
0757af94 6872 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6873 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6874 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6875 ansi keywords.
6876 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6877 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6878 (sql-oracle-show-reserved-words): New function for development.
6879 (sql-product-font-lock): Simplify for source code buffers.
6880 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6881 New functions.
6882 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6883 (sql-mode-map): Add statement movement functions.
6884 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6885 New variable.
fbcc67e2
MM
6886 (sql-statement-regexp, sql-beginning-of-statement)
6887 (sql-end-of-statement, sql-signum): New functions.
0757af94 6888 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6889 (sql-show-sqli-buffer): Bug fix.
6890 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6891 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6892 with sql-interactive-mode.
6893 (sql-save-connection): Save buffer local settings.
0757af94 6894 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6895 (sql-product-interactive): Bug fix.
6896 (sql-preoutput-hold): New variable.
6897 (sql-interactive-remove-continuation-prompt): Bug fixes.
6898 (sql-debug-redirect): New variable.
6899 (sql-str-literal): New function.
6900 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6901 Redesign.
fbcc67e2
MM
6902 (sql-oracle-save-settings, sql-oracle-restore-settings)
6903 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6904 (sql-completion-object, sql-completion-column)
6905 (sql-completion-sqlbuf): New variables.
6906 (sql-build-completions-1, sql-build-completions)
6907 (sql-try-completion): New functions.
6908 (sql-read-table-name): Use them.
6909 (sql-contains-names): New buffer local variable.
6910 (sql-list-all, sql-list-table): Use it.
6911 (sql-oracle-completion-types): New variable.
6912 (sql-oracle-completion-object, sql-sqlite-completion-object)
6913 (sql-postgres-completion-object): New functions.
6914
d4eaeab1
GM
69152011-07-06 Glenn Morris <rgm@gnu.org>
6916
6917 * window.el (pop-to-buffer): Doc fix.
6918
322b7dab 69192011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6920
6921 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6922
322b7dab 69232011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6924
322b7dab 6925 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6926
322b7dab 6927 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6928
605dd5bf
CY
69292011-07-05 Chong Yidong <cyd@stupidchicken.com>
6930
6931 * button.el (button): Inherit from link face. Suggested by Dan
6932 Nicolaescu.
6933
7dbfa719
SM
69342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6935
3db614b0
SM
6936 * progmodes/gdb-mi.el: Fit in 80 columns.
6937 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6938 switch-to-buffer.
6939
7dbfa719
SM
6940 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6941 if imenu is simply not configured (bug#8941).
6942
919d884a
KM
69432011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6944
6945 * allout.el (allout-post-undo-hook): New allout outline-change
6946 event hook to signal undo activity.
6947 (allout-post-command-business): Run allout-post-undo-hook if an
6948 undo just occurred.
7dbfa719
SM
6949 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6950 * allout-widgets.el (allout-widgets-after-undo-function):
6951 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6952 in the vicinity of an undo.
6953 (allout-widgets-mode): Include allout-widgets-after-undo-function
6954 on the new allout-post-undo-hook.
6955
450a0f09
SM
69562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6959 Let define-derived-mode define it.
6960 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6961 cycles of abbrev-table inheritance (bug#8998).
6962
2de69e00
RW
69632011-07-05 Roland Winkler <winkler@gnu.org>
6964
6965 * textmodes/bibtex.el: Add support for biblatex.
6966 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6967 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6968 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6969 (bibtex-entry-alist, bibtex-field-alist): New variables.
6970 (bibtex-entry-field-alist): Obsolete alias for
6971 bibtex-BibTeX-entry-alist.
6972 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6973 (bibtex-set-dialect): New command.
6974 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6975 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6976 Bind via bibtex-set-dialect.
2de69e00
RW
6977 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6978 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6979 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6980 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6981 Define via bibtex-set-dialect.
450a0f09
SM
6982 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6983 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6984 (bibtex-vec-push, bibtex-vec-incr): New functions.
6985 (bibtex-format-entry, bibtex-field-list)
6986 (bibtex-print-help-message, bibtex-validate)
6987 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6988
2dcdbdd9
SM
69892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * progmodes/compile.el (compilation-goto-locus):
6992 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6993 * bs.el (bs-cycle-next, bs-cycle-previous):
6994 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6995 * bindings.el (mode-line-other-buffer):
6996 * autoinsert.el (auto-insert):
6997 * arc-mode.el (archive-extract):
6998 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6999
b27640fe
JB
70002011-07-05 Juanma Barranquero <lekktu@gmail.com>
7001
7002 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7003 Fix check of `emacs-lock-unlockable-modes'.
7004 Coerce true values of `emacs-lock--try-unlocking' to t.
7005
53bbe3ad
JB
70062011-07-05 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7009 * emacs-lock.el: New file.
7010
1d3cdbc7
JD
70112011-07-05 Julien Danjou <julien@danjou.info>
7012
7013 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7014 than `boundp' to check if face is set.
7015
9173deec
JB
70162011-07-05 Juanma Barranquero <lekktu@gmail.com>
7017
7018 * register.el (registerv-make):
7019 * window.el (window-min-height): Fix typos in docstrings.
7020
869795d6
JD
70212011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7022
9173deec 7023 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7024 Update doc string.
7025
b768cdcd
JB
70262011-07-04 Juanma Barranquero <lekktu@gmail.com>
7027
7028 * server.el (server-execute): Catch quit and call
7029 `server-return-error' to pass the error back to emacsclient and
7030 close the connection (bug#8942).
7031
13aa217b
KM
70322011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7033
7034 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7035 insecure exception for current topic. Also note that auto-saves
7036 are handled differently.
7037
7038 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7039 State variables for tracking auto-save inhibition situation.
7040
7041 (allout-write-contents-hook-handler): Rename from
7042 'allout-write-file-hook-handler', and describe how it depends on
7043 write-contents-functions sensitivity to non-nil value to prevent
7044 file write.
7045
7046 (allout-auto-save-hook-handler): Remove. auto-save does not check
7047 this in individual buffers, only in the starting buffer, so this
7048 is not the right way for us to inhibit auto-save in a buffer
7049 according to its condition.
7050
7051 (allout-mode): Use new allout-write-contents-hook-handler, and
7052 only with write-contents-functions. Remove auto-save provisions -
7053 they're implemented elsewhere.
7054
7055 (allout-before-change-handler): If undo is in progress, note that
7056 for attention of allout-post-command-business.
7057
7058 (allout-post-command-business): If the command we're following was
7059 an undo, check for change in the status of encrypted items and
7060 adjust auto-save inhibitions accordingly.
7061
7062 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7063 according to whether there are or aren't any plain-text topics
7064 pending encryption.
7065
2dcdbdd9 7066 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7067 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7068 if there are plain-text topics pending encryption.
13aa217b
KM
7069
7070 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7071 buffer-saved-size and some allout state to not inhibit auto-saves
7072 if there are no longer any plain-text topics pending encryption.
7073
0757af94
SM
7074 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7075 No longer provide for exemption of the current topic.
13aa217b 7076
ac89b32c
JL
70772011-07-04 Juri Linkov <juri@jurta.org>
7078
7079 Add 7z operations to delete and save changed members (bug#8968).
7080 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7081 New defcustoms.
7082 (archive-7z-write-file-member): New function.
7083 (archive-7z-summarize): Fix the number of dashes in the
7084 listing output.
7085
8fa39615
SM
70862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7089 (bug#8958).
7090
2f11b3f1
CY
70912011-07-04 Chong Yidong <cyd@stupidchicken.com>
7092
d66fef2b
CY
7093 * bindings.el: Ignore next-buffer and previous-buffer in
7094 minibuffer-local-map.
7095
2f11b3f1
CY
7096 * font-lock.el (font-lock-builtin-face): Change light background
7097 color to dark slate blue (Bug#6693).
7098
f932a347
WD
70992011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7100
7101 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7102
c8af70e1
SM
71032011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7107 Add switch-to-buffer.
7108
f158badc
LMI
71092011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7110
7111 * isearch.el (isearch-search-fun-function): Clarify further the
7112 meaning of the function returned.
7113
6d95bd46
MA
71142011-07-04 Michael Albinus <michael.albinus@gmx.de>
7115
7116 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7117
7118 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7119 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7120 Use it.
7121 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7122 `tramp-default-remote-path' does not exist.
7123 (tramp-send-command-and-read): New optional argument NOERROR.
7124 (tramp-open-connection-setup-interactive-shell)
7125 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7126 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7127 (tramp-process-sentinel): Flush also process' connection property.
7128 (tramp-sh-handle-start-file-process): Do not set process
7129 sentinel. It is done now ...
7130 (tramp-maybe-open-connection): ... here. (Bug#8929)
7131
909e6b67
MK
71322011-07-04 MON KEY <monkey@sandpframing.com>
7133
7134 * play/animate.el (animate-string): Doc fixes and allow changing
7135 the buffer name (bug#5417).
7136
71372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7138
c8af70e1 7139 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7140
f34755dc
PE
71412011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7142
396cec72
PE
7143 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7144 This is simpler and helps future-proof the code.
7145 (timer-until): Use time-subtract and float-time.
08235028 7146 (timer--time-less-p): Use time-less-p.
f34755dc 7147
56e6cc31
JB
71482011-07-04 Juanma Barranquero <lekktu@gmail.com>
7149
3abb79e5
JB
7150 * type-break.el (timep): Use the value of `float-time' to avoid a
7151 byte-compiler warning.
7152
56e6cc31
JB
7153 * server.el (server-eval-and-print): Return any result, even nil.
7154
7b9430b4
PE
71552011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7156
7157 * type-break.el: Accept time formats that the builtins accept.
7158 (timep, type-break-time-difference): Accept any format that
7159 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7160 This is simpler and helps future-proof the code.
7161 (type-break-time-difference): Round rather than ignoring
7162 subseconds components.
7163
3034e9e7
LMI
71642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7165
7166 * info.el (Info-apropos-matches): Make non-interactive, since it
7167 doesn't seem to do anything useful as a command (bug#8829).
7168
1485f4c0
CY
71692011-07-03 Chong Yidong <cyd@stupidchicken.com>
7170
7171 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7172 Move from faces.el.
1485f4c0
CY
7173 (frame-default-terminal-background): New function.
7174
7175 * custom.el (custom-push-theme): Don't record faces in `changed'
7176 theme; this doesn't work correctly for per-frame face settings.
7177 (disable-theme): Use face-set-after-frame-default to reset faces.
7178 (custom--frame-color-default): New function.
7179
9fa3dd45
LMI
71802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7181
c8af70e1 7182 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7183 (bug#8769).
7184
6cbbc20c
KR
71852011-03-29 Kevin Ryde <user42@zip.com.au>
7186
7187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7188 `perl-Test2' extend to match possible "fail #N" rep count
7189 (bug#8377).
7190
c7f98048
LMI
71912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7192
65676592
LMI
7193 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7194 `smtpmail-via-smtp' now returns the error instead of nil.
7195
c7f98048
LMI
7196 * isearch.el (isearch-search-fun-function): Clarify the doc string
7197 (bug#8101).
7198
56e6cc31 71992011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7200
7201 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7202 unnecessary spaces (bug#8987).
7203
2b216704
LMI
72042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205
7206 * net/network-stream.el (open-network-stream): Use the
7207 :end-of-capability command thoughout.
7208
72092011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7210
7211 * net/network-stream.el (open-network-stream): Add the
7212 :end-of-capability command parameter, used by pop3.el.
7213
36adf6ce
LMI
72142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
1ca0da0e
LMI
7216 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7217
fc00f69c
LMI
7218 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7219 for list)" (bug#6475).
7220
28fd8759 7221 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7222 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7223 an error (bug#6297).
7224
0dd8b6da
LMI
7225 * man.el (Man-reference-regexp): Allow matching possible
7226 word-wrapped references (bug#6289).
7227
ce1438d6
LMI
7228 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7229 for consistency with the other vc buffers (bug#6197).
7230 (vc-checkin): Ditto.
7231
7232 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7233
36adf6ce
LMI
7234 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7235
e83cc1f7
LMI
72362011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7237
8a20ca4c
LMI
7238 * custom.el (defcustom): Clarify that :set is only used in the
7239 Customize user interface (bug#6089).
7240
83319045
LMI
7241 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7242 associated with a file, refuse to run instead of erroring out
7243 (bug#6084).
7244
a8392169
LMI
7245 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7246 the doc string, since it appears that using `fill-column' always
7247 controls the width (bug#7845).
7248
e83cc1f7
LMI
7249 * simple.el (shell-command-on-region): Say where the error output
7250 went if `shell-command-default-error-buffer' is set (bug#6857).
7251
e47ca23b
KM
72522011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7253
7254 * allout.el (allout-yank-processing): Adjust cursor position for
7255 backwards-deleted space.
7256
7257 (allout-rebullet-heading): Register changes with
7258 allout-exposure-changed-hook, so the modified topic is properly
7259 decorated.
7260
5cf56143
LMI
72612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7262
08549772
LMI
7263 * minibuffer.el (completion-in-region): Document PREDICATE
7264 (bug#7136).
7265
48e96771
LMI
7266 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7267 of keyword/argument pairs (bug#6904).
7268
c8af70e1
SM
7269 * replace.el (multi-occur):
7270 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7271
e17d05e2
LMI
72722011-07-02 Drew Adams <drew.adams@oracle.com>
7273
7274 * dired.el (dired-mark-if): Make the message about whether it's
7275 marking or unmarking clearer (bug#8523).
7276
063b0e45
LMI
72772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278
7279 * disp-table.el (display-table-print-array): New function.
7280 (describe-display-table): Use it to print the vectors more pretty
7281 (Bug#8859).
7282
28545e04
MR
72832011-07-02 Martin Rudalics <rudalics@gmx.at>
7284
7285 * window.el (window-state-get-1): Don't assign clone numbers.
7286 Add clone-of item to list of window parameters.
7287 (window-state-put-2): Don't process clone numbers.
7288 (display-buffer-alist): Fix doc-string.
7289
3349e122
SM
72902011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * subr.el (remq): Don't allocate if it's not needed.
7293 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7294 (keymap--merge-bindings): New functions.
7295 (keymap-canonicalize): Use them to refine the canonicalization.
7296 * minibuffer.el (minibuffer-local-completion-map)
7297 (minibuffer-local-must-match-map): Move initialization from C.
7298 (minibuffer-local-filename-completion-map): Move initialization from C;
7299 don't inherit from anything here.
7300 (minibuffer-local-filename-must-match-map): Make obsolete.
7301 (completing-read-default): Use make-composed-keymap to combine
7302 minibuffer-local-filename-completion-map with either
7303 minibuffer-local-must-match-map or
7304 minibuffer-local-filename-completion-map.
7305
d224ac83
GM
73062011-07-01 Glenn Morris <rgm@gnu.org>
7307
3de63bf8
GM
7308 * type-break.el (type-break-time-sum): Use dolist.
7309
d224ac83
GM
7310 * textmodes/flyspell.el (flyspell-word-search-backward):
7311 Replace CL function.
7312
1a1e3f32
SM
73132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7314
fe3f64d5
SM
7315 * mouse.el (mouse--strip-first-event): New function.
7316 (function-key-map): Use it to map fringe clicks to normal clicks
7317 by default.
7318
eb604e34
SM
7319 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7320 (vc-bzr-revision-completion-table): Add support for annotate and date.
7321
1a1e3f32
SM
7322 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7323 inherit from parent.
7324
5bd35902
LMI
73252011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326
ace6c69c 7327 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7328 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7329
191e2bed
LMI
7330 * dired.el (dired-mode): Fix up the doc string as suggested by
7331 Drew Adams (bug#8817).
7332
5bd35902
LMI
7333 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7334 cookie, since the manual says that it should be possible to add
7335 this function to `find-file-hook' (bug#8709).
7336
eee8207a
TZ
73372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7338
7339 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7340 here. Noted Ted Zlatanov as the maintainer.
7341 (cfengine-common-settings, cfengine-common-syntax): New functions
7342 to set up common things between `cfengine-mode' and
7343 `cfengine3-mode'.
7344 (cfengine3-mode): New mode.
7345 (cfengine3-defuns cfengine3-defuns-regex
7346 (cfengine3-class-selector-regex cfengine3-category-regex)
7347 (cfengine3-vartypes cfengine3-font-lock-keywords)
7348 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7349 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7350
36b148cf
MA
73512011-07-01 Michael Albinus <michael.albinus@gmx.de>
7352
7353 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7354
7355 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7356
0bf4ba9a
MR
73572011-07-01 Martin Rudalics <rudalics@gmx.at>
7358
7359 * window.el (same-window-buffer-names, same-window-regexps)
7360 (same-window-p, special-display-frame-alist)
7361 (special-display-popup-frame, special-display-function)
7362 (special-display-buffer-names, special-display-regexps)
7363 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7364 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7365 (split-window-preferred-function, split-height-threshold)
7366 (split-width-threshold, even-window-heights)
7367 (display-buffer-mark-dedicated, window-splittable-p)
7368 (split-window-sensibly, window-safely-shrinkable-p):
7369 Un-obsolete.
7370 (display-buffer): Don't spread args with function specifier
7371 because special-display-popup-frame won't like it.
7372
35837f51
PE
73732011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7374
d0672f86
PE
7375 Time-stamp simplifications and fixes.
7376 These improve accuracy slightly, and future-proof the code
7377 against some potential changes to current-time format.
7378
b9444d97
PE
7379 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7380 by using time-since and float-time.
7381
0ef923dc
PE
7382 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7383 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7384 + NNN microseconds".
7385
2f81380d
PE
7386 * type-break.el (type-break-time-sum): Rewrite using time-add.
7387
845b5c3e
PE
7388 * play/hanoi.el (hanoi-current-time-float): Remove.
7389 All uses replaced by float-time.
7390
ee6f1be0
PE
7391 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7392 This yields a more-accurate answer.
7393 (rng-time-to-float): Remove; no longer needed.
7394
fe955043
PE
7395 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7396
5777162a
PE
7397 * calendar/timeclock.el (timeclock-seconds-to-time):
7398 Defalias to seconds-to-time, since they're the same thing.
7399
3103f8b6 7400 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7401 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7402 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7403
0e61a35f
SM
74042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * window.el (bury-buffer): Don't iconify the only frame.
7407 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7408 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7409
ddd63a1e
CY
74102011-07-01 Chong Yidong <cyd@stupidchicken.com>
7411
0e61a35f
SM
7412 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7413 Add mouse-yank-primary.
ddd63a1e 7414
055f4923
TZ
74152011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7416
7417 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7418
6a2fb145
SM
74192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7422 (find-library-name): Use it to find relative load names when provided
7423 absolute file name (bug#8803).
7424
fd4983f2
LMI
74252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7426
887d14ad
LMI
7427 * textmodes/flyspell.el (flyspell-word): Consider words that
7428 differ only in case as potential doublons (bug#5687).
7429
c53dc7fc
LMI
7430 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7431 Remove two rather uninteresting debugging-like messages to make
7432 debbugs.el more silent.
7433
fd4983f2
LMI
7434 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7435 a password-like phrase.
7436
7a71b18d 74372011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7438
7439 * progmodes/cc-guess.el: New file.
7440
6a2fb145 7441 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7442
7443 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7444 derived from `c-basic-common-init'.
7445
7446 * progmodes/cc-mode.el (top-level): Require cc-guess.
7447 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7448
1fa280a3
LM
74492011-06-30 Lawrence Mitchell <wence@gmx.li>
7450
7451 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7452
e6597158
AM
74532011-06-30 Alan Mackenzie <acm@muc.de>
7454
1fa280a3
LM
7455 * progmodes/cc-engine.el (c-guess-continued-construct):
7456 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7457 lock is disabled. Name this case as "CASE G".
7458
68ba37fb
KM
74592011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7460
7461 * allout.el (allout-yank-processing): Fix injection of extra space
7462 between bullet and non-whitespace character in first topic when
7463 pasting, ensuring that the actual spacing in the pasted topic
7464 following the bullet char is preserved. This extra space was
7465 causing pasted encrypted topics to get a decrypted status even
7466 when the content was actually still encrypted. Now the decryption
7467 status from before the paste is preserved.
7468
7469 (allout-flag-region): Set all allout overlays so they evaporate
7470 when reduced to zero length (evanescent), to prevent overlay
7471 leakage.
7472
887a0b34
GM
74732011-06-30 Glenn Morris <rgm@gnu.org>
7474
94b9acce
GM
7475 * w32-fns.el (w32-charset-info-alist): Declare.
7476
1d9b46d4
GM
7477 * find-dired.el (find-grep-options): Simplify.
7478
cc232200
GM
7479 * term/ns-win.el (ns-set-resource): Declare.
7480
28e77c46
GM
7481 * ses.el (row, col): Declare dynamic variables honestly.
7482
887a0b34
GM
7483 * textmodes/reftex-parse.el (index-tags): Declare.
7484
658d8eb8
CY
74852011-06-30 Chong Yidong <cyd@stupidchicken.com>
7486
7487 * cus-edit.el (customize-push-and-save): New function.
7488
7489 * files.el (hack-local-variables-confirm): Use it.
7490
1fa280a3
LM
7491 * custom.el (load-theme): New arg NO-CONFIRM.
7492 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7493 (custom-enabled-themes): Doc fix.
7494
7495 * cus-theme.el (customize-create-theme)
7496 (custom-theme-merge-theme): Callers to load-theme changed.
7497
bb617717
LMI
74982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499
d61bdd5d
LMI
7500 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7501 short URLs have at least one dot in them (bug #7614).
7502
bb617717
LMI
7503 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7504 nil, because using a pty is apparently too slow (bug #895).
7505
2f31f37a
LMI
75062011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7507
7508 * mail/sendmail.el (sendmail-query-once): New function.
7509 (sendmail-query-once-function): New variable.
7510
3076b24e
GM
75112011-06-29 Glenn Morris <rgm@gnu.org>
7512
faf2a174
GM
7513 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7514
3076b24e
GM
7515 * ses.el (top-level): Require cl when compiling.
7516 (ses-set-localvars): Fix error statement.
7517 Call it at compile time to silence a storm of warnings.
7518
5386012d
MR
75192011-06-29 Martin Rudalics <rudalics@gmx.at>
7520
7521 * window.el (normalize-live-buffer): Rename to
7522 window-normalize-buffer.
7523 (normalize-live-frame): Rename to window-normalize-frame.
7524 (normalize-any-window): Rename to window-normalize-any-window.
7525 (normalize-live-window): Rename to window-normalize-live-window.
7526 (make-window-atom): Rename to window-make-atom.
7527 (window-resize-reset): Rename to window--resize-reset.
7528 (window-resize-reset-1): Rename to window--resize-reset-1.
7529 (resize-mini-window): Rename to window--resize-mini-window.
7530 (resize-subwindows-skip-p): Rename to
7531 window--resize-subwindows-skip-p.
7532 (resize-subwindows-normal): Rename to
7533 window--resize-subwindows-normal.
7534 (resize-subwindows): Rename to window--resize-subwindows.
7535 (resize-other-windows): Rename to window--resize-siblings.
7536 (resize-this-window): Rename to window--resize-this-window.
7537 (resize-root-window): Rename to window--resize-root-window.
7538 (resize-root-window-vertically): Rename to
7539 window--resize-root-window-vertically.
7540 (normalize-buffer-to-display): Rename to
7541 window-normalize-buffer-to-display.
7542 (normalize-buffer-to-switch-to): Rename to
7543 window-normalize-buffer-to-switch-to.
7544 Correspondingly update all callers of the functions listed
7545 above.
7546 (display-buffer-alist, display-buffer-normalize-arguments)
7547 (display-buffer-normalize-options, display-buffer)
7548 (display-buffer-alist-set): Use "function" instead of
7549 "fun-with-args".
7550
1176868d
CY
75512011-06-28 Chong Yidong <cyd@stupidchicken.com>
7552
7553 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7554 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7555 debbugs.gnu.org. Mention acknowledgment email.
7556
20a7a65f
LMI
75572011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7560 buffer multibyteness, since it shouldn't matter.
7561
5f45cca5
MR
75622011-06-28 Martin Rudalics <rudalics@gmx.at>
7563
7564 * window.el (display-buffer-in-side-window): Handle dedicated
7565 windows as in display-buffer-reuse-window.
7566 (display-buffer-normalize-alist): Use value of override
7567 specifier.
7568 (display-buffer-normalize-specifiers): Use value of
7569 other-window-means-other-frame specifier.
7570 (display-buffer-alist): Rewrite some texts in widgets.
7571 (display-buffer): Spread arguments when calling function
7572 specified by fun-with-args.
7573
ad85fe1f
DD
75742011-06-28 Deniz Dogan <deniz@dogan.se>
7575
1fa280a3
LM
7576 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7577 Unnest `let'.
da68c4c8 7578
ad85fe1f
DD
7579 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7580 selectors (Bug#5732).
ec49bd31 7581 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7582
a08cc025
JA
75832011-06-27 Jari Aalto <jari.aalto@cante.net>
7584
7585 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7586 (eshell-ls-date-format): New defcustom.
7587 (eshell-ls-file): Use it.
7588
e2b551c5
SM
75892011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7592
8982b231
KY
75932011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7594
7595 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7596 (ange-ftp-make-tmp-name): New arg.
7597 (ange-ftp-file-local-copy): Use it.
7598
36c9fa27
J
75992011-06-27 Jambunathan K <kjambunathan@gmail.com>
7600
7601 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7602 no-conversion (Bug#8870).
7603
d68443dc
MR
76042011-06-27 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (window-right, window-left, window-child)
7607 (window-child-count, window-last-child)
7608 (window-iso-combination-p, walk-window-tree-1)
7609 (window-atom-check-1, window-tree-1, delete-window)
7610 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7611 new naming conventions - window-vchild, window-hchild,
7612 window-next and window-prev are now called window-top-child,
7613 window-left-child, window-next-sibling and window-prev-sibling
7614 respectively.
d615d6d2
MR
7615 (resize-window-reset): Rename to window-resize-reset.
7616 (resize-window-reset-1): Rename to window-resize-reset-1.
7617 (resize-window): Rename to window-resize.
7618 (window-min-height, window-min-width)
7619 (resize-mini-window, resize-this-window, resize-root-window)
7620 (resize-root-window-vertically, adjust-window-trailing-edge)
7621 (enlarge-window, shrink-window, maximize-window)
7622 (minimize-window, delete-window, quit-restore-window)
7623 (split-window, balance-windows, balance-windows-area-adjust)
7624 (balance-windows-area, window-state-put-2)
7625 (display-buffer-even-window-sizes, display-buffer-set-height)
7626 (display-buffer-set-width, set-window-text-height)
7627 (fit-window-to-buffer): Rename all "resize-window" prefixed
7628 calls to use the "window-resize" prefix convention.
7629 (display-buffer-alist): Fix symbol for label specifier.
7630 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7631 corresponding specifier.
7632 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7633
b6458526
VB
76342011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7635
7636 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7637 convention.
7638 (ses-call-printer): Does not pass an empty string to formatter when the
7639 cell is empty to keep from barking printer Calc math-format-value.
7640
d31fd9ac
RS
76412011-06-27 Richard Stallman <rms@gnu.org>
7642
43d5bf84
RS
7643 * battery.el (battery-mode-line-limit): New variable.
7644 (battery-update): Handle it.
7645
d31fd9ac
RS
7646 * mail/rmailmm.el (rmail-mime-process-multipart):
7647 Handle truncated messages.
7648
819a6054
GM
76492011-06-27 Glenn Morris <rgm@gnu.org>
7650
7651 * progmodes/flymake.el (flymake-err-line-patterns):
7652 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7653
cedc73f2
VB
76542011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7655
819a6054 7656 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7657 (ses--clean-!, ses--clean-_): New functions.
7658 (ses-range): Add configurability of readout order, and conversion
7659 to Calc vector.
7660
5e5d49b6
VB
7661 * ses.el (ses-repair-cell-reference-all): New function.
7662 (ses-cell-symbol): Set macro as safe, so that it can be used in
7663 formulas.
7664
56e6cc31 7665 * ses.el: Update cycle detection algorithm.
90ca8b49 7666 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7667 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7668 (ses-set-localvars): New function.
7669 (ses-make-cell): Add property-list as a cell element.
7670 (ses-cell-property-get-fun, ses-cell-property-get)
7671 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7672 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7673 New functions.
90ca8b49
VB
7674 (ses-cell-property-set, ses-cell-property-pop)
7675 (ses-cell-property-get-handle): New macro.
7676 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7677 New aliases, used for code readability.
7678 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7679 cycle detection.
7680 (ses-self-reference-early-detection): New defcustom.
fac916bf 7681 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7682 (ses-mode): Use ses-set-localvars.
7683 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7684 before lauching the update processing.
7685 (ses-initialize-Dijkstra-attempt): New function.
7686 (ses-recalculate-cell): Update for cycle detection based on
7687 Dijkstra algorithm.
7688
2bb63e81
VB
7689 * ses.el: Fix commenting and indenting convention.
7690
c9d29fb8
SM
76912011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * bs.el (bs-cycle-next): Complete last change.
7694
d8e4b68b
JB
76952011-06-27 Drew Adams <drew.adams@oracle.com>
7696
7697 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7698
40098786
LMI
76992011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7700
c9d29fb8
SM
7701 * net/network-stream.el (network-stream-open-starttls):
7702 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7703 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7704
40098786
LMI
7705 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7706 to binary to possibly avoid line encoding issues on Windows (among
7707 other things).
7708
468d09d4
LMI
77092011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7710
7711 * net/network-stream.el (open-network-stream): Return an :error
7712 saying what the problem was, if possible.
7713
7714 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7715 server.
7716
7717 * net/network-stream.el (network-stream-open-starttls): If we
7718 wanted to use STARTTLS, and the server offered it, but we weren't
7719 able to because we had no STARTTLS support, then close the connection.
7720 (open-network-stream): Return an :error element, if present.
7721
16f07dd7
CY
77222011-06-26 Chong Yidong <cyd@stupidchicken.com>
7723
88821ca0
CY
7724 * hl-line.el (hl-line-sticky-flag): Doc fix.
7725 (global-hl-line-sticky-flag): New option (Bug#8323).
7726 (global-hl-line-highlight): Obey it.
7727
16f07dd7
CY
7728 * vc/vc.el (vc-revert-show-diff): Default to t.
7729
6b5ccddf
KM
77302011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7731
c9d29fb8
SM
7732 * allout-widgets.el (allout-widgets-post-command-business):
7733 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7734 undecorated when an isearch is continued past, and isearch
7735 automatically collapses them. This leads to "widget leaks", where
7736 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7737 hidden widgets can slow down cursor travel, substantially.
7738 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7739 so we're doing without this nicety.
7740
7741 (allout-widgets-tally-string): Don't try to do a hash-table-count
7742 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7743 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7744 *Messages* when allout-widgets-maintain-tally is t.
7745
355f2e07
MR
77462011-06-26 Martin Rudalics <rudalics@gmx.at>
7747
7748 * window.el (display-buffer-normalize-argument): Rename to
7749 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7750 LABEL argument. Respect special-display-function when popping up
7751 a new frame. Fix code searching for a window showing the buffer
7752 on another frame.
c9d29fb8
SM
7753 (display-buffer-normalize-specifiers):
7754 Call display-buffer-normalize-arguments.
355f2e07
MR
7755 (display-buffer-in-window): Don't undedicate the window if its
7756 buffer remains the same.
7757 Reported by Drew Adams <drew.adams@oracle.com>.
7758 (display-buffer-alist): Add choice for same-window macro
7759 specfier.
7760 (display-buffer): Mention special meaning of LABEL argument in
7761 doc-string. Fix quoting. Don't pop up a new frame even as
7762 fallback.
7763
7ca8fc42
JB
77642011-06-26 Juanma Barranquero <lekktu@gmail.com>
7765
7766 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7767 avoid deleting the current window in some cases (bug#8911).
7768
bc312254
AS
77692011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7770
7771 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7772 (Bug#8934)
7773
2db18f3f
LMI
77742011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
c9d29fb8
SM
7776 * net/network-stream.el (network-stream-open-starttls):
7777 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7778 (network-stream-open-tls): Ditto.
7779
6302e0d3
LL
77802011-06-26 Leo Liu <sdl.web@gmail.com>
7781
7782 * register.el (registerv): New struct.
7783 (registerv-make): New function.
c9d29fb8
SM
7784 (jump-to-register, describe-register-1, insert-register):
7785 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7786 struct. (Bug#8415)
7787
5fdd4046
CY
77882011-06-26 Chong Yidong <cyd@stupidchicken.com>
7789
2afef60a
CY
7790 * vc/vc.el (vc-revert-show-diff): New defcustom.
7791 (vc-diff-internal): New arg specifying diff buffer.
7792 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7793 reuse an existing *vc-diff* buffer (Bug#8927).
7794
5fdd4046
CY
7795 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7796
e93db24a
GM
77972011-06-26 Glenn Morris <rgm@gnu.org>
7798
7799 * progmodes/f90.el (f90-critical-indent): New option.
7800 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7801 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7802 (f90-mode): Doc fix.
7803 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7804 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7805 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7806 (f90-match-end): Handle block, critical.
7807
eefff499
GM
78082011-06-25 Glenn Morris <rgm@gnu.org>
7809
f6ba4cc9
GM
7810 * calendar/diary-lib.el (diary-included-files): Doc fix.
7811 (diary-include-files): New function, extracted from
7812 diary-include-other-diary-files and diary-mark-included-diary-files.
7813 (diary-include-other-diary-files, diary-mark-included-diary-files):
7814 Just call diary-include-files.
7815 (diary-mark-entries): Reset diary-included-files on first call.
7816
16712304
GM
7817 * calendar/diary-lib.el (diary-mark-entries)
7818 (diary-mark-included-diary-files):
7819 Visit included diary-files in temp buffers.
7820
5d8e0d43
GM
7821 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7822 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7823 (f90-start-block-re, f90-imenu-generic-expression)
7824 (f90-looking-at-program-block-start, f90-no-block-limit):
7825 Add support for submodules.
7826
ccf7a5d5
GM
7827 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7828 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7829
11fdef7d 78302011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7831
7832 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7833 buffer-file-type before setting its value, to avoid disastrous
eefff499 7834 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7835
74f53697
JB
78362011-06-25 Juanma Barranquero <lekktu@gmail.com>
7837
7838 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7839
7840 * ses.el (ses-unload-function):
7841 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7842
7843 * proced.el (proced-unload-function):
7844 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7845
18a4ce5e
AR
78462011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7847
7848 * server.el (server-create-window-system-frame): Add parameters arg.
7849 (server-process-filter): Doc fix. Handle frame-parameters.
7850
519d22cc
JB
78512011-06-25 Juanma Barranquero <lekktu@gmail.com>
7852
7853 Fix bug#8730, bug#8781.
7854
7855 * loadhist.el (unload--set-major-mode): New function.
7856 (unload-feature): Use it.
7857
7858 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7859 (python-unload-function): New function.
7860
c206f5b0
SM
78612011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7864
f9ad64f3
GS
78652011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7866
7867 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7868 the candidates list.
7869
7d0da90e
JB
78702011-06-24 Juanma Barranquero <lekktu@gmail.com>
7871
7872 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7873
14b4e83d
RS
78742011-06-23 Richard Stallman <rms@gnu.org>
7875
7876 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7877 (rmail-variables): Set next-error-move-function.
7878 (rmail-what-message): Take argument POS.
7879 (rmail-next-error-move): New function.
7880
273d2baf
SM
78812011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7884 messages for adjacent non-terminals.
7885
56c2cc9a
RS
78862011-06-23 Richard Stallman <rms@gnu.org>
7887
7888 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7889 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7890 (rmail-start-mail): Don't specify use of rmail-mail-return;
7891 that's done by mail-bury now.
7892 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7893
d59eb518
MA
78942011-06-23 Michael Albinus <michael.albinus@gmx.de>
7895
7896 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7897 SIZE is a number.
7898
02cfc6d6
MR
78992011-06-23 Martin Rudalics <rudalics@gmx.at>
7900
7901 * window.el (get-lru-window, get-mru-window)
7902 (get-largest-window): Never return a minibuffer window.
7903 (display-buffer-pop-up-window): Fix a bug that could lead to
7904 reusing the minibuffer window.
7905 (display-buffer): Pass original specifier argument to
7906 display-buffer-function instead of the normalized one.
7907 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7908
4e323265
LL
79092011-06-22 Leo Liu <sdl.web@gmail.com>
7910
7911 * minibuffer.el (completing-read-function)
7912 (completing-read-default): Move from minibuf.c
7913
7a70468f
RS
79142011-06-22 Richard Stallman <rms@gnu.org>
7915
50718fc2
RS
7916 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7917 to Rmail even if not started by a special Rmail command.
7918
7a70468f
RS
7919 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7920 Copy the buffer currently showing just one message.
7921
297dde5a
RW
79222011-06-22 Roland Winkler <winkler@gnu.org>
7923
7924 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7925 (bibtex-clean-entry): First delete the old key so that a
7926 customized algorithm for generating the new key does not get
7927 confused by the old key.
7928 (bibtex-url): Obey regexp of first step.
7929 (bibtex-search-entries): Do not use add-to-list with local
7930 list-var.
7931
97bb1093
LMI
79322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933
7934 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7935 stored a user name, then query for the password first, instead of
7936 waiting for SMTP to give an error message and the trying again.
7937
1c0f1a19
JD
79382011-06-22 Lawrence Mitchell <wence@gmx.li>
7939
7940 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7941 BUFFER in call-process.
7942
396f7c9d
LMI
79432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944
7945 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7946 QUIT twice.
ddb7ffee
LMI
7947 (smtpmail-try-auth-methods): Require user name and password from
7948 auth-source.
396f7c9d 7949
8998d1b3
MR
79502011-06-22 Martin Rudalics <rudalics@gmx.at>
7951
7952 * window.el (display-buffer-default-specifiers)
7953 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7954 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7955 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7956
7957 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7958 (special-display-frame-alist, special-display-popup-frame):
7959 Remove duplicate declarations. These are now in window.el.
7960
4ea31e07
LMI
79612011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7962
c9d29fb8
SM
7963 * mail/smtpmail.el (smtpmail-via-smtp):
7964 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7965 server supports it. SMTP servers that support STARTTLS commonly
7966 require it.
7967
7968 * net/network-stream.el (network-stream-open-starttls): Support
7969 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7970 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7971
95f41d9a
LMI
7972 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7973 upgrades with `open-network-stream', and rely solely on
7974 auth-source for all credentials. Big changes throughout the file,
7975 but in particular:
c9d29fb8
SM
7976 (smtpmail-auth-credentials): Remove.
7977 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7978 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7979 MAIL FROM, too.
95f41d9a 7980
c9d29fb8
SM
7981 * net/network-stream.el (network-stream-open-starttls):
7982 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7983 STARTTLS.
7984 (auth-source): Require.
7985 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7986 (network-stream-certificate): Change cert-cert to cert and
7987 cert-key to key.
4ea31e07 7988
065ec2c7
MA
79892011-06-21 Michael Albinus <michael.albinus@gmx.de>
7990
7991 * net/tramp-cache.el (top): Don't load the persistency file when
7992 "emacs -Q" has been called.
7993
cd93b359
DR
79942011-06-21 Tim Harper <timcharper@gmail.com>
7995
d8e4b68b
JB
7996 * term/ns-win.el (ns-initialize-window-system):
7997 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7998 resource to NO as it is not yet supported by the NS port.
7999
ae9c0411
JB
80002011-06-21 Juanma Barranquero <lekktu@gmail.com>
8001
8002 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8003 (list-dynamic-libraries): ...not here.
8004
7f3f739f
LL
80052011-06-21 Leo Liu <sdl.web@gmail.com>
8006
8007 * subr.el (sha1): Implement sha1 using secure-hash.
8008
327c8fb1
MR
80092011-06-21 Martin Rudalics <rudalics@gmx.at>
8010
8011 * window.el (display-buffer-alist): In default value do not
8012 enforce searching a window on any but the selected frame.
8013 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8014 (display-buffer-select-window): Remove function.
8015 (display-buffer-in-window): When a window on another frame gets
8016 reused, do not select it any more but just raise its frame if
8017 necessary (Bug#8851) and (Bug#8856).
8018 (display-buffer-normalize-options): Handle pop-up-frames related
8019 options more faithfully.
8020 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8021 window if it is on another frame.
c9d29fb8
SM
8022 (display-buffer-alist, display-buffer-default-specifiers):
8023 Don't make new frame unsplittable by default.
9e9de014
MR
8024 (display-buffer-normalize-argument): Fix doc-string typo and use
8025 'same-frame-other-window instead of 'other-window when associating
8026 with display-buffer-macro-specifiers.
327c8fb1 8027
7cf3f556
VB
80282011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8029
8030 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8031 New functions.
8032 (5x5-mode-map, 5x5-mode-menu): Bind them.
8033 (5x5-draw-grid): Tweak the solver's rendering.
8034
60a406cf
SM
80352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8036
8037 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8038 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8039
d8e4b68b 80402011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8041
8042 * menu-bar.el: Use function variable instead of switch-to-buffer.
8043 (menu-bar-select-buffer-function): New variable.
60a406cf 8044 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8045
478d6f95
SM
80462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8049 variable's status.
8050
ca530739
JD
80512011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8052
8053 * x-dnd.el (x-dnd-version-from-flags)
8054 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8055 and long as number (Bug#8899).
8056 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8057
bcd70d97
SM
80582011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8059
60a406cf 8060 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8061 (completion-try-completion, completion-all-completions): Compute the
8062 metadata argument if it's missing; make it optional (bug#8795).
8063
60a406cf 8064 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8065 (widget-complete): Use new :completion-function property.
8066 (widget-completions-at-point): New function.
8067 (default): Use :completion-function instead of :complete.
60a406cf
SM
8068 (widget-default-completions): Rename from widget-default-complete;
8069 Rewrite.
bcd70d97
SM
8070 (widget-string-complete, widget-file-complete, widget-color-complete):
8071 Remove functions.
8072 (file, symbol, function, variable, coding-system, color):
8073 * international/mule-cmds.el (default-input-method, charset)
8074 (language-info-custom-alist):
8075 * cus-edit.el (face): Use new property :completions.
8076
8077 * progmodes/pascal.el (pascal-completions-at-point): New function.
8078 (pascal-mode): Use it.
8079 (pascal-mode-map): Use completion-at-point.
8080 (pascal-toggle-completions): Make obsolete.
8081 (pascal-complete-word, pascal-show-completions):
8082 * progmodes/octave-mod.el (octave-complete-symbol):
8083 Redefine as obsolete alias.
8084 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8085 Signal absence of completion info for old Octave,
8086 (inferior-octave-complete): Redefine as obsolete alias.
8087 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8088 (meta-completions-at-point): Rename from meta-complete-symbol and
8089 adapt it for use on completion-at-point-functions.
8090 (meta-common-mode): Use it.
8091 (meta-looking-at-backward, meta-match-buffer): Remove.
8092 (meta-complete-symbol): Redefine as obsolete alias.
8093 (meta-common-mode-map): Use completion-at-point.
8094 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8095 (makefile-mode-map): Use completion-at-point.
8096 (makefile-completions-at-point): Rename from makefile-complete and
8097 adapt it for use on completion-at-point-functions.
8098 (makefile-mode): Use it.
8099 (makefile-complete): Redefine as obsolete alias.
8100
aebf69c8
DD
81012011-06-20 Deniz Dogan <deniz@dogan.se>
8102
8103 * net/rcirc.el: Delete trailing whitespaces once and for all.
8104
bfbbb27d
DC
81052011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8106
8107 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8108
d264a46b
CY
81092011-06-19 Chong Yidong <cyd@stupidchicken.com>
8110
4ca009e5
CY
8111 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8112
d264a46b
CY
8113 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8114
fbf5b3ce
MR
81152011-06-19 Martin Rudalics <rudalics@gmx.at>
8116
8117 * window.el (display-buffer-other-window-means-other-frame):
8118 Call display-buffer-normalize-alist.
8119 (display-buffer-normalize-specifiers-1): Rename to
8120 display-buffer-normalize-argument. New argument other-frame.
8121 Rewrite.
8122 (display-buffer-normalize-specifiers-2): Rename to
8123 display-buffer-normalize-options.
8124 (display-buffer-normalize-alist-1): New function.
8125 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8126 display-buffer-normalize-alist.
8127 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8128 (display-buffer-normalize-options-inhibit): New variable.
8129 (display-buffer-normalize-specifiers): Rewrite calling
8130 display-buffer-normalize-alist,
8131 display-buffer-normalize-argument, and
8132 display-buffer-normalize-options. Don't call the latter if
8133 display-buffer-normalize-options-inhibit is non-nil.
8134 (frame-auto-delete): New option.
8135 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8136 (window-list-no-nils, window-state-ignored-parameters)
8137 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8138 (window-state-put-1, window-state-put-2, window-state-put):
8139 New functions.
9a028c23
MR
8140 (display-buffer-normalize-options): Move special-display-p group
8141 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8142
6d10d800
CY
81432011-06-18 Chong Yidong <cyd@stupidchicken.com>
8144
6420d28b
CY
8145 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8146 groups (Bug#8776).
8147 (rx-submatch-n): New function.
8148 (rx): Document it.
8149
ddb8b596
CY
8150 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8151 (Bug#8768).
8152
8153 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8154
77080289
CY
8155 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8156
61dfb316
CY
8157 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8158 anytime existing face settings are present (Bug#8889).
8159
6d10d800
CY
8160 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8161 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8162 Remove unused argument.
8163
be3fb2b8
MR
81642011-06-18 Martin Rudalics <rudalics@gmx.at>
8165
bcd70d97
SM
8166 * window.el (display-buffer-default-specifiers):
8167 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8168 pop-up-window-min-width, and another reuse-window specifier
8169 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8170 (display-buffer-normalize-specifiers-2):
8171 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8172 pop-up-windows is unset. Add a reuse-window specifier for the
8173 case popping up a new window fails.
8174 (special-display-popup-frame): Remove double quoting.
28dec25a 8175 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8176
1c6d8c76
SM
81772011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8180 according to comint-completion-addsuffix.
8181
8182 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8183 (pcomplete-suffix-list): Mark as obsolete.
8184 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8185 pcomplete-seen in the closure.
8186 (pcomplete-comint-setup): Setup completion-at-point as well.
8187 (pcomplete--entries): New function.
8188 (pcomplete--env-regexp): New var.
8189 (pcomplete-entries): Rewrite to work with partial-completion and
8190 without relying on pcomplete-suffix-list.
8191 (pcomplete-pare-list): Remove, unused.
8192
25aef8b8
MR
81932011-06-17 Martin Rudalics <rudalics@gmx.at>
8194
8195 * window.el (display-buffer-alist): Set pop-up-window-min-height
8196 and pop-up-window-min-width in default value. Reported by
8197 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8198 other-window-means-other-frame.
8199 (display-buffer-macro-specifiers): Comment out entry for
8200 other-window specifier.
8201 (display-buffer-other-window-means-other-frame): New function.
8202 (display-buffer-normalize-specifiers-1): New arguments
8203 buffer-name and label. Treat other-window case specially.
8204 (display-buffer-normalize-specifiers-2): Treat other-window case
8205 specially.
8206 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8207 (display-buffer-normalize-specifiers):
8208 Call display-buffer-normalize-specifiers-3.
25aef8b8 8209
dbad4f69
MR
82102011-06-17 Martin Rudalics <rudalics@gmx.at>
8211
8212 * window.el (same-window-p): Fix two typos introduced when
8213 adding with-no-warnings.
d1067961
MR
8214 (display-buffer-normalize-specifiers-1): Don't check
8215 pop-up-frames for 'unset initialization.
8216 (display-buffer-normalize-specifiers-2): Major rewrite using
8217 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8218 (pop-up-frames, display-buffer-reuse-frames)
8219 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8220 Suggested by David Engster <deng@randomsample.de>.
8221 (even-window-heights): Initialize to 'unset.
8222 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8223 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8224 other window case.
dbad4f69 8225
9b9c9e3a
MR
82262011-06-16 Martin Rudalics <rudalics@gmx.at>
8227
bcd70d97
SM
8228 * window.el (display-buffer-normalize-specifiers-1):
8229 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8230 second argument of display-buffer (Bug#8865).
981d5c09
MR
8231 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8232 (switch-to-buffer-other-window-same-frame)
8233 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8234 Adams (Bug#8875).
9c2755e9
MR
8235 (display-buffer): Don't check noninteractive when calling
8236 display-buffer-pop-up-frame.
8237 (display-buffer-pop-up-frame): Never pop up a frame in
8238 noninteractive mode (Bug#8857).
67222e1d
MR
8239 (enlarge-window, shrink-window): Don't report an error when the
8240 window can't be resized as requested (Bug#8862).
9b9c9e3a 8241
2b75be67
SM
82422011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8243
9ffdd3ba
SM
8244 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8245
cb581a67
SM
8246 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8247
2b75be67
SM
8248 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8249
8c0e3589
AM
82502011-06-15 Alan Mackenzie <acm@muc.de>
8251
cb581a67
SM
8252 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8253 for declarators, disable knr checking to speed up for normal files.
8254 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8255
b96e6cde
LMI
82562011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257
4bba86e6
LMI
8258 * net/network-stream.el (open-network-stream): Add the keyword
8259 :always-query-capabilities for the case where you want to force a
8260 `plain' network connection, but the protocol still requires the
8261 capabilitiy command (i.e., SMTP and EHLO).
8262
2b75be67 8263 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8264 consistency with other `-live-p' functions.
8265
efdcdbf8
SM
82662011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * window.el (same-window-buffer-names, same-window-regexps)
8269 (special-display-frame-alist, special-display-popup-frame)
8270 (special-display-function, special-display-buffer-names)
8271 (special-display-regexps, pop-up-frame-alist)
8272 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8273 (pop-up-windows, split-window-preferred-function)
8274 (split-height-threshold, split-width-threshold, even-window-heights)
8275 (display-buffer-mark-dedicated): Don't encourage the use of
8276 display-buffer-alist from Elisp code.
8277
c5cde042
DN
82782011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8279
8280 * progmodes/python.el (python-mode): Derive from prog-mode.
8281 * progmodes/ps-mode.el (ps-mode):
8282 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8283 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8284 * progmodes/ld-script.el (ld-script-mode): Likewise.
8285
baa1c9ab
MR
82862011-06-15 Martin Rudalics <rudalics@gmx.at>
8287
8288 * window.el (display-buffer-alist): Trim default value to avoid
8289 popping up a new frame (Bug#8857) or reusing an arbitrary window
8290 on another frame.
8291 (display-buffer): Do not fall back on popping up a new frame in
8292 batch mode (Bug#8857).
8293
c5dd5a51
CY
82942011-06-14 Chong Yidong <cyd@stupidchicken.com>
8295
8296 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8297 (custom-theme-summary): New function.
8298 (customize-themes): Use it.
8299
d647b7c4
GM
83002011-06-13 Glenn Morris <rgm@gnu.org>
8301
8302 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8303
9481c002
MR
83042011-06-13 Martin Rudalics <rudalics@gmx.at>
8305
357f93d2
MR
8306 * help.el (help-window): Remove variable.
8307 (help-window-point-marker, temp-buffer-max-height)
8308 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8309 (help-print-return-message): Don't set help-window.
8310 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8311 (help-window-setup-finish): Remove.
8312 (help-window-display-message, help-window-setup)
8313 (with-help-window): Major rewrite based on new
8314 display-buffer-window variable.
8315
8316 * help-mode.el (help-mode-finish): Remove help-window related
8317 code.
8318
8319 * view.el (view-exits-all-viewing-windows): Remove reference to
8320 view-return-to-alist in doc-string.
8321 (view-return-to-alist): Make obsolete.
8322 (view-buffer): Call pop-to-buffer-same-window and remove
8323 undo-window code.
8324 (view-buffer-other-window): Call pop-to-buffer-other-window and
8325 simplify code. Ignore second argument.
8326 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8327 simplify code. Ignore second argument.
8328 (view-return-to-alist-update): Make obsolete.
8329 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8330 Rewrite using quit-restore window parameters.
2b75be67
SM
8331 (view-mode-exit): Rename second argument to EXIT-ONLY.
8332 Rewrite using quit-restore-window.
357f93d2
MR
8333 (View-exit, View-exit-and-edit, View-leave, View-quit)
8334 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8335 appropriate arguments.
8336 (view-end-message): Use quit-restore window parameter.
8337
9481c002
MR
8338 * window.el (display-buffer-function): Rewrite doc-string.
8339 (display-buffer-window, display-buffer-alist): New variables.
8340 (display-buffer-split-specifiers)
8341 (display-buffer-side-specifiers)
8342 (display-buffer-macro-specifiers): New constants.
8343 (display-buffer-even-window-sizes, display-buffer-set-height)
8344 (display-buffer-set-width, display-buffer-select-window)
8345 (display-buffer-in-window, display-buffer-reuse-window)
8346 (display-buffer-split-window-1, display-buffer-split-window)
8347 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8348 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8349 (display-buffer-in-side-window, normalize-buffer-to-display)
8350 (display-buffer-normalize-specifiers-1)
8351 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8352 (display-buffer-normalize-specifiers, display-buffer-frame):
8353 New functions.
9481c002
MR
8354 (display-buffer): Major rewrite.
8355 (display-buffer-other-window, display-buffer-other-frame)
8356 (pop-to-buffer, switch-to-buffer-other-window)
8357 (switch-to-buffer-other-frame): Rewrite.
8358 (display-buffer-same-window, display-buffer-same-frame)
8359 (display-buffer-same-frame-other-window)
8360 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8361 (pop-to-buffer-other-window)
8362 (pop-to-buffer-same-frame-other-window)
8363 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8364 (switch-to-buffer-other-window-same-frame): New functions.
8365 (same-window-p, special-display-p): Rewrite disabling warnings.
8366 Make obsolete.
8367 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8368 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8369 Make obsolete
8370 (same-window-buffer-names, same-window-regexps)
8371 (special-display-frame-alist, special-display-popup-frame)
8372 (special-display-function, special-display-buffer-names)
8373 (special-display-regexps, pop-up-frame-alist)
8374 (pop-up-frame-function, split-window-preferred-function)
8375 (split-height-threshold, split-width-threshold)
8376 (even-window-heights): Make obsolete.
8377
9db51aca
GM
83782011-06-12 Glenn Morris <rgm@gnu.org>
8379
8380 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8381 Misc simplifications.
9db51aca 8382
39cffb44
MR
83832011-06-12 Martin Rudalics <rudalics@gmx.at>
8384
8385 * window.el (window-safely-shrinkable-p): Restore function which
8386 was inadvertently removed in change from 2011-06-11. Declare as
8387 obsolete.
8388
2b75be67
SM
8389 * calendar/calendar.el (calendar-generate-window):
8390 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8391 window-safely-shrinkable-p.
8392
a8955be7
GM
83932011-06-12 Glenn Morris <rgm@gnu.org>
8394
8395 * progmodes/fortran.el (fortran-mode-syntax-table):
8396 * progmodes/f90.el (f90-mode-syntax-table):
8397 Set % to punctuation. (Bug#8820)
8398 (f90-find-tag-default): Remove, no longer needed.
8399
f0d4059d
DC
84002011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8401
8402 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8403
1100a63c
CY
84042011-06-11 Chong Yidong <cyd@stupidchicken.com>
8405
8406 * image.el (image-animated-p): Return animation delay in seconds.
8407 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8408 (image-animate-timeout): Remove DELAY argument. Don't assume
8409 every subimage has the same delay; get it from image-animated-p.
8410 (image-animate): Caller changed.
8411
def722bf
MA
84122011-06-11 Michael Albinus <michael.albinus@gmx.de>
8413
8414 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8415 to ignored backtrace functions.
8416
0a2bb1a9
GM
84172011-06-11 Glenn Morris <rgm@gnu.org>
8418
8419 * calendar/appt.el (appt-disp-window-function): Doc fix.
8420 (appt-check): Handle overlapping appointments. (Bug#8337)
8421
6198ccd0
MR
84222011-06-11 Martin Rudalics <rudalics@gmx.at>
8423
8424 * window.el (window-tree-1, window-tree): New functions, moving
8425 the latter to window.el.
8426 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8427 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8428 (bw-refresh-edges): Remove.
8429 (balance-windows-1, balance-windows-2): New functions.
8430 (balance-windows): Rewrite in terms of window tree functions,
8431 balance-windows-1 and balance-windows-2.
8432 (bw-adjust-window): Remove.
8433 (balance-windows-area-adjust): New function with functionality of
8434 bw-adjust-window but using resize-window.
2b75be67
SM
8435 (set-window-text-height): Rewrite doc-string.
8436 Use normalize-live-window and resize-window.
8437 (enlarge-window-horizontally, shrink-window-horizontally):
8438 Rename argument to DELTA.
6198ccd0
MR
8439 (window-buffer-height): New function.
8440 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8441 Rewrite using new window resize routines.
2b75be67
SM
8442 (kill-buffer-and-window, mouse-autoselect-window-select):
8443 Use ignore-errors instead of condition-case.
6198ccd0
MR
8444 (quit-window): Call delete-frame instead of delete-windows-on
8445 for the only buffer on frame.
8446
9397e56f
MR
84472011-06-10 Martin Rudalics <rudalics@gmx.at>
8448
8449 * loadup.el (top-level): Load window before files for the sake
8450 of replace-buffer-in-windows.
8451
8452 * files.el (read-buffer-to-switch)
8453 (switch-to-buffer-other-window)
2b75be67
SM
8454 (switch-to-buffer-other-frame, display-buffer-other-frame):
8455 Move to window.el.
9397e56f
MR
8456
8457 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8458 (previous-buffer): Move to window.el.
8459
8460 * bindings.el (unbury-buffer): Move to window.el.
8461
8462 * window.el (delete-other-windows-vertically): Move after
8463 definition of delete-other-windows.
8464 (other-window, delete-windows-on, replace-buffer-in-windows):
8465 Move here from window.c.
8466 (record-window-buffer, unrecord-window-buffer)
8467 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8468 (switch-to-next-buffer): New functions.
8469 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8470 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8471 (previous-buffer): Move here from simple.el.
8472 Call switch-to-prev-buffer.
9397e56f
MR
8473 (bury-buffer): Move here from buffer.c. Switch to previous
8474 buffer when window cannot be deleted.
8475 (unbury-buffer): Move here from bindings.el.
8476 (ctl-x-map): Move binding for other-window from window.c to
8477 here.
8478 (read-buffer-to-switch, switch-to-buffer-other-window)
8479 (switch-to-buffer-other-frame): Move here from files.el.
8480 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8481 (switch-to-buffer): Move here from buffer.c.
8482 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8483
562dd5e9
MR
84842011-06-10 Martin Rudalics <rudalics@gmx.at>
8485
8486 * window.el (window-min-height, window-min-width): Move here
8487 from window.c. Add defcustoms and rewrite doc-strings.
8488 (resize-mini-window, resize-window): New functions.
8489 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8490 Move here from window.c.
8491 (maximize-window, minimize-window): New functions.
8492 (delete-window, delete-other-windows, split-window): Move here
8493 from window.c.
8494 (window-split-min-size): New function.
8495 (split-window-keep-point): Mention split-window-above-each-other
8496 instead of split-window-vertically.
2b75be67 8497 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8498 Rename split-window-vertically to split-window-above-each-other
8499 and provide defalias for old definition.
8500 (split-window-side-by-side, split-window-horizontally):
8501 Rename split-window-horizontally to split-window-side-by-side
8502 and provide defalias for the old definition.
562dd5e9
MR
8503 (ctl-x-map): Move bindings for delete-window,
8504 delete-other-windows and enlarge-window here from window.c.
8505 Replace bindings for split-window-vertically and
8506 split-window-horizontally by bindings for
8507 split-window-above-each-other and split-window-side-by-side.
8508
8509 * cus-start.el (all): Remove entries for window-min-height and
8510 window-min-width. Add entries for window-splits and
8511 window-nest.
8512
f0da764a
GM
85132011-06-09 Glenn Morris <rgm@gnu.org>
8514
80675c21
GM
8515 * calendar/appt.el (appt-mode-line): New function.
8516 (appt-check, appt-disp-window): Use it.
8517
f0da764a
GM
8518 * files.el (hack-one-local-variable-eval-safep):
8519 Allow minor-modes with explicit +/-1 arguments.
8520
59f623b7
TZ
85212011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8522
8523 * term/xterm.el (xterm): Add defgroup.
8524 (xterm-extra-capabilities): Add defcustom to supply known xterm
8525 capabilities, skip querying them, or query them (default).
8526 (terminal-init-xterm): Use it.
8527 (terminal-init-xterm-modify-other-keys): New function to set up
8528 modifyOtherKeys support to simplify `terminal-init-xterm'.
8529
9aab8e0d
MR
85302011-06-09 Martin Rudalics <rudalics@gmx.at>
8531
8532 * window.el (resize-window-reset, resize-window-reset-1)
8533 (resize-subwindows-skip-p, resize-subwindows-normal)
8534 (resize-subwindows, resize-other-windows, resize-this-window)
8535 (resize-root-window, resize-root-window-vertically)
8536 (window-deletable-p, window-or-subwindow-p)
8537 (frame-root-window-p): New functions.
8538
e8b08aee
GM
85392011-06-09 Glenn Morris <rgm@gnu.org>
8540
8541 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8542 (ange-ftp-get-files): Use it.
8543
254c37a5
AK
85442011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8545
8546 * mail/sendmail.el (mail-recover-1, mail-recover):
8547 * files.el (recover-file, recover-session):
8548 Handle dired-listing-switches not being just a single short option.
8549
35d7dbd3
GM
85502011-06-09 Glenn Morris <rgm@gnu.org>
8551
8552 * calendar/appt.el (appt-display-message, appt-disp-window):
8553 Handle lists of appointments.
8554
387522b2
MR
85552011-06-08 Martin Rudalics <rudalics@gmx.at>
8556
2b75be67
SM
8557 * window.el (one-window-p): Move down in code.
8558 Rewrite doc-string.
8559 (window-current-scroll-bars): Rewrite doc-string.
8560 Normalize live window argument.
387522b2
MR
8561 (walk-windows, get-window-with-predicate, count-windows):
8562 Rewrite doc-string. Use window-list-1.
8563 (window-in-direction-2, window-in-direction, get-mru-window):
8564 New functions.
8565
d8e4b68b 85662011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8567
8568 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8569 Doc fix (Bug#8713).
8570
85712011-06-08 Chong Yidong <cyd@stupidchicken.com>
8572
8573 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8574
85752011-06-08 Juanma Barranquero <lekktu@gmail.com>
8576
8577 * loadhist.el (unload-feature-special-hooks):
8578 Add `comint-output-filter-functions'.
8579
0de12c52
IK
85802011-06-08 Ivan Kanis <gnu@kanis.fr>
8581
8582 * calendar/appt.el (appt-check): Move some initializations into the let.
8583
f3d1777e
MR
85842011-06-08 Martin Rudalics <rudalics@gmx.at>
8585
8586 * window.el (window-height): Defalias to window-total-height.
8587 (window-width): Defalias to window-body-width.
8588
18af70d0
CY
85892011-06-07 Chong Yidong <cyd@stupidchicken.com>
8590
8591 * image-mode.el (image-toggle-animation): New command.
8592 (image-mode-map): Bind it to RET.
8593 (image-mode): Update message.
8594 (image-toggle-display-image): Avoid a spurious cache flush.
8595 (image-transform-rotation): Doc fix.
8596 (image-transform-properties): Return quickly in the normal case.
8597 (image-animate-loop): Rename from image-animate-max-time.
8598
2b75be67 8599 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8600 (create-animated-image): Remove unnecessary function.
8601 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8602 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8603 (image-animate-timer): Use car-safe.
8604 (image-animate-timeout): Rename argument.
8605
190b47e6
MR
86062011-06-07 Martin Rudalics <rudalics@gmx.at>
8607
8608 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8609 window.c. Rename first argument to ALL-FRAMES.
8610 Rephrase doc-strings.
8611 (get-buffer-window-list): Rewrite using window-list-1.
8612 Rephrase doc-string.
a1511caf
MR
8613 (window-safe-min-height, window-safe-min-width): New constants.
8614 (window-size-ignore, window-min-size, window-min-size-1)
8615 (window-sizable, window-sizable-p, window-size-fixed-1)
8616 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8617 (window-max-delta-1, window-max-delta, window-resizable)
8618 (window-resizable-p, window-total-height, window-total-width)
8619 (window-body-width): New functions.
8620 (window-full-height-p, window-full-width-p): Rewrite using
8621 window-total-size.
8622 (window-body-height): Rewrite using window-body-size.
190b47e6 8623
85cc1f11
MR
86242011-06-06 Martin Rudalics <rudalics@gmx.at>
8625
8626 * window.el (window-right, window-left, window-child)
8627 (window-child-count, window-last-child, window-any-p)
8628 (normalize-live-buffer, normalize-live-frame)
8629 (normalize-any-window, normalize-live-window)
8630 (window-iso-combination-p, window-iso-combined-p)
8631 (window-iso-combinations)
8632 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8633 (windows-with-parameter, window-with-parameter)
8634 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8635 (window-atom-check, window-side-check, window-check):
8636 New functions.
85cc1f11
MR
8637 (ignore-window-parameters, window-sides, window-sides-vertical)
8638 (window-sides-slots): New variables.
8639 (window-size-fixed): Move down in code. Minor doc-string fix.
8640
e7156492
AS
86412011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8642
8643 * comint.el (comint-dynamic-complete-as-filename)
8644 (comint-dynamic-complete-filename): Correctly call
8645 completion-in-region.
8646
7e821d0d
DD
86472011-06-05 Deniz Dogan <deniz@dogan.se>
8648
8649 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8650 in last change.
8651
ac09b8a1
DD
86522011-06-05 Deniz Dogan <deniz@dogan.se>
8653
8654 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8655 (rcirc): Use it to prompt for encryption.
8656
34699b85
RW
86572011-06-05 Roland Winkler <winkler@gnu.org>
8658
8659 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8660 (bibtex-search-entries): New command bound to C-c C-a.
8661 (bibtex-display-entries): New function.
8662
004dedd3
RW
86632011-06-05 Roland Winkler <winkler@gnu.org>
8664
8665 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8666 (bibtex-insert-kill): After yanking insert newline if necessary.
8667 (bibtex-initialize): Call bibtex-string-files-init only once.
8668 (bibtex-mode): Do not call easy-menu-add.
8669 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8670 (bibtex-yank): Set arg properly if nil.
8671
022fe7ce
RW
86722011-06-05 Roland Winkler <winkler@gnu.org>
8673
2b75be67
SM
8674 * textmodes/bibtex.el (bibtex-search-entry-globally):
8675 New variable.
022fe7ce
RW
8676 (bibtex-search-entry): Use it.
8677
b7c3692a
RW
86782011-06-05 Roland Winkler <winkler@gnu.org>
8679
8680 * textmodes/bibtex.el (bibtex-entry-format): New option
8681 sort-fields.
8682 (bibtex-format-entry, bibtex-reformat): Honor this option.
8683 (bibtex-parse-entry): Return fields in proper order.
8684
8eda563d
JB
86852011-06-05 Juanma Barranquero <lekktu@gmail.com>
8686
8687 * doc-view.el (doc-view-remove-if): Move computation of result out
8688 of `dolist' to silence misleading lexical-binding warning.
8689
7dbe3dbc
CY
86902011-06-04 Chong Yidong <cyd@stupidchicken.com>
8691
8692 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8693 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8694
0c33dd17
MA
86952011-06-04 Michael Albinus <michael.albinus@gmx.de>
8696
8697 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8698 "SunOS 5.10".
8699
f8f91c2b
MA
87002011-06-04 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8703 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8704 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8705 (tramp-parse-putty):
8706 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8707 (tramp-completion-function-alist-ssh)
8708 (tramp-completion-function-alist-telnet)
8709 (tramp-completion-function-alist-su)
8710 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8711 cookie.
8712
8713 * net/tramp-ftp.el:
8714 * net/tramp-sh.el:
8715 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8716 load "tramp.el" `tramp-set-completion-function'.
8717
e17d9003
SM
87182011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * shell.el: Require and use pcomplete.
8721 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8722 (shell-completion-vars): Set pcomplete-default-completion-function.
8723
6c4cab03
DD
87242011-06-04 Deniz Dogan <deniz@dogan.se>
8725
8726 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8727 `memq' (Bug#8799).
8728
ea9fafe0
SM
87292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8732
b3e945d3
JB
87332011-06-02 Juanma Barranquero <lekktu@gmail.com>
8734
8735 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8736 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8737 * vc/log-view.el (log-view-beginning-of-defun):
8738 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8739 (smerge-refine-forward, smerge-refine-chopup-region):
8740 Silence warning for unused `dotimes' counter variables.
8741
7d520089
SM
87422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8743
8744 * net/tramp.el (tramp-with-progress-reporter): Rename from
8745 with-progress-reporter. Use `declare'.
8746 * net/tramp-smb.el:
8747 * net/tramp-sh.el:
8748 * net/tramp-gvfs.el: Update all uses.
8749
a1c2400f
JB
87502011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8751
8752 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8753 buffer isn't killed before making it current.
8754
2403c841
SM
87552011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 Silence various byte-compiler warnings.
8758 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8759 `access-type' and new obsolescence format.
8760 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8761 new format.
8762 (byte-compile-check-variable): New `access-type' argument.
8763 Only warn if the access-type is obsolete.
8764 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8765 (byte-compile-variable-set): Adjust callers.
8766 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8767 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8768 setting it as obsolete.
8769 * simple.el (minibuffer-completing-symbol):
8770 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8771 access as obsolete.
8772 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8773 obsolete yet.
8774 * international/quail.el (quail-mouse-choose-completion): Remove unused
8775 code referring to obsolete var.
8776 (quail-choose-completion-string): Remove.
8777 * server.el (server-clients-with, server-kill-buffer-query-function)
8778 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8779 * proced.el (proced-send-signal):
8780 * emacs-lisp/lisp.el (lisp-complete-symbol):
8781 Replace completion-annotate-function with completion-extra-properties.
8782
2462470b
SM
87832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8784
fb5b2591
SM
8785 * simple.el (goto-line): Use read-number.
8786 (overriding-map-is-bound): Remove.
8787 (saved-overriding-map): Change default.
8788 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8789 Take the map as argument.
8790 (universal-argument, negative-argument, digit-argument): Use it.
8791 (restore-overriding-map): Adjust.
8792 (do-auto-fill): Use fill-forward-paragraph.
8793 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8794
fd6fa53f
SM
8795 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8796 (minibuffer-inactive-mode): New major mode.
8797 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8798 the *Messages* buffer" hack.
8799 (mouse-popup-menubar): Don't burp if the event is a normal key.
8800
2462470b
SM
8801 Miscellaneous tweaks.
8802 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8803 lexical scoping as in subr.el's dolist and dotimes.
8804 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8805 Silence compiler warning.
8806 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8807 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8808 * international/ccl.el (ccl-compile): Trivial simplification.
8809 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8810 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8811 `printflag' argument.
8812 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8813 Purecopy the whole obsolescence data.
8814
108bf785
LL
88152011-06-01 Leo Liu <sdl.web@gmail.com>
8816
8817 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8818 improve doc-string as suggested by Marco Pessotto
8819 <melmothx@gmail.com>.
8820 (rcirc-print): Fix last change.
8821
30a23501
SM
88222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * minibuffer.el (complete-with-action): Return nil for the metadata and
8825 boundaries of non-functional tables.
8826 (completion-table-dynamic): Return nil for the metadata.
8827 (completion-table-with-terminator): Add default case, using
8828 complete-with-action.
8829 (completion--metadata): New function.
8830 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8831 to try and avoid pathological performance problems.
8832 (completion--embedded-envvar-table): Return `category' metadata.
8833
bcd54f83
LMI
88342011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8835
8836 * subr.el (process-alive-p): New tiny convenience function.
8837
e227544d
SM
88382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8841 content but also its previous major mode.
8842
e8296fdc
HE
88432011-05-31 Helmut Eller <eller.helmut@gmail.com>
8844
4d61f28d 8845 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8846 *Backtrace* buffer when we exit with C-M-c.
8847
620c53a6
SM
88482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * minibuffer.el: Add metadata method to completion tables.
8851 (completion-category-overrides): New defcustom.
8852 (completion-metadata, completion--field-metadata)
8853 (completion-metadata-get, completion--styles)
8854 (completion--cycle-threshold): New functions.
8855 (completion-try-completion, completion-all-completions):
8856 Add `metadata' argument to choose completion-styles.
8857 (completion--do-completion): Use metadata to choose cycling.
8858 (completion-all-sorted-completions): Use metadata for sorting.
8859 Remove :completion-cycle-penalty which is not needed any more.
8860 (completion--try-word-completion): Add `metadata' argument.
8861 (minibuffer-completion-help): Check metadata for annotation function
8862 and sorting.
8863 (completion-file-name-table): Return `category' metadata.
8864 (minibuffer-completing-file-name): Make obsolete.
8865 * simple.el (minibuffer-completing-symbol): Make obsolete.
8866 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8867 completion-try-completion.
8868
1257e755
SM
88692011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8872
3767e706
LL
88732011-05-30 Leo Liu <sdl.web@gmail.com>
8874
8875 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8876 (rcirc-print): Decode all incoming messages (bug#8744).
8877 (rcirc-decode-coding-system): Allow value nil for automatic coding
8878 system detection.
3767e706 8879
d1a5d56a
GM
88802011-06-01 Glenn Morris <rgm@gnu.org>
8881
8882 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8883
e8cbec34
CY
88842011-05-29 Chong Yidong <cyd@stupidchicken.com>
8885
8886 * image.el (image-animate-max-time): Allow nil and t values.
8887 Default to nil.
8888 (create-animated-image): Doc fix.
8889 (image-animate-start): Remove second arg; just use
8890 image-animate-max-time.
8891 (image-animate-timeout): Doc fix. Args changed.
8892
8893 * image-mode.el (image-toggle-display-image): Ensure that the
8894 image spec passed to the animate timer is the same object as in
58179cce 8895 the buffer's display property (Bug#6981).
e8cbec34
CY
8896 (image-transform-properties): Doc fix.
8897
8898 * image.el (image-animate-max-time): Default to nil.
8899
159daf87
MR
89002011-05-29 Martin Rudalics <rudalics@gmx.at>
8901
8902 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8903 entire buffer list (Bug#8184).
8904
d66c4c7c
CY
89052011-05-29 Chong Yidong <cyd@stupidchicken.com>
8906
8907 * image.el (imagemagick-types-inhibit)
8908 (imagemagick-register-types): Doc fix.
8909
80aec780
DD
89102011-05-29 Deniz Dogan <deniz@dogan.se>
8911
8912 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8913 default.
8914
1dd3c2d9
CY
89152011-05-29 Chong Yidong <cyd@stupidchicken.com>
8916
8917 * select.el: Don't perform clipboard-manager saving in hooks;
8918 leave the hooks empty.
8919
60e56523
LL
89202011-05-28 Leo Liu <sdl.web@gmail.com>
8921
8922 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8923 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8924 (occur-edit-mode): New major mode (Bug#8463).
8925 (occur-after-change-function): New function.
8926 (occur-engine): Give Occur tags a read-only property.
8927
2b1e1a22
KR
89282011-05-28 Kevin Ryde <user42@zip.com.au>
8929
8930 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8931
5d344e88
CY
89322011-05-28 Chong Yidong <cyd@stupidchicken.com>
8933
8e6ca83d
CY
8934 * bindings.el (help-echo): Make the initial non-indicator dash
8935 empty on graphical terminals (Bug#7295).
8936
5d344e88
CY
8937 * files.el (auto-mode-alist): Move config rule after the
8938 in-stripping one (Bug#8547).
8939
bfbbace7
CY
8940 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8941
fbeba6e2
CY
8942 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8943 setting (Bug#8740).
8944
60ed8c72
AA
89452011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8946
4ac619f0
AA
8947 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8948 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8949 (Bug#8539).
60ed8c72 8950
23db196e
CY
89512011-05-28 Chong Yidong <cyd@stupidchicken.com>
8952
8953 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8954
5012f24c
DK
89552011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8956
8957 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8958 (hs-hide-block-at-point, hs-find-block-beginning)
8959 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8960 (Bug#8279).
8961
6a639b16
GM
89622011-05-28 Glenn Morris <rgm@gnu.org>
8963
8964 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8965
d43eaf2c
CY
89662011-05-28 Chong Yidong <cyd@stupidchicken.com>
8967
5199bde1
CY
8968 * help-fns.el (describe-function-1): If the function is a derived
8969 major mode, print the parent mode.
8970
d43eaf2c
CY
8971 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8972 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8973
423428a8
SM
89742011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8975
0ff8e1ba 8976 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8977 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8978 * progmodes/etags.el (tags-completion-at-point-function):
8979 * info-look.el (info-lookup-completions-at-point): Mark as
8980 non-exclusive.
8981 (info-complete): Adjust accordingly.
8982
423428a8
SM
8983 * info-look.el: Convert to lexical-binding and completion-at-point.
8984 (info-lookup-completions-at-point): New function.
8985 (info-complete): Use it and completion-in-region.
8986
b74aa22b
DA
89872011-05-28 Drew Adams <drew.adams@oracle.com>
8988
8989 * isearch.el: Let M-e start with point at the first mismatched char.
8990 (isearch-fail-pos): New function.
8991 (isearch-edit-string): Use it.
8992
66e2e71d
DK
89932011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8994
8995 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8996
b1890b0f 89972011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8998
8999 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9000 traversal functions for avl-trees.
9001 (avl-tree--stack): New struct.
9002 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9003 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9004 (avl-tree--do-enter): Add optional `updatefun' arg.
9005 Change return value.
eb95d01d 9006 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9007 (avl-tree--do-delete): Add `test' and `nilflag' args.
9008 Change return value.
eb95d01d
TC
9009 (avl-tree-member): Add optional `nilflag'
9010 (avl-tree-member-p): New function.
9011 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9012 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9013 (avl-tree-stack-empty-p): New functions.
9014
3769ddcf
TC
9015 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9016 avl-tree--del-balance1 and make it work both ways.
9017 (avl-tree--del-balance2): Remove.
9018 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9019 make it work both ways.
9020 (avl-tree--enter-balance2): Remove.
9021 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9022 New macros.
9023 (avl-tree--mapc, avl-tree-map): Add direction argument.
9024
eb95d01d 90252011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9026
9027 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9028
a9f737ee
CY
90292011-05-27 Chong Yidong <cyd@stupidchicken.com>
9030
9031 * select.el: Support clipboard managers with built-in function
9032 x-clipboard-manager-save, via delete-frame-functions and
9033 kill-emacs-hook.
9034 (xselect-convert-to-targets): Add MULTIPLE target to list.
9035 (xselect-convert-to-save-targets): New function.
9036
c92a1e54
KH
90372011-05-27 Kenichi Handa <handa@m17n.org>
9038
9039 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9040 let-binding rfc2047-encode-encoded-words to nil.
9041
e145f188
GM
90422011-05-27 Glenn Morris <rgm@gnu.org>
9043
5ec8a862
GM
9044 * mail/emacsbug.el: Don't require url-util.
9045
4b29d9fb
GM
9046 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9047
e145f188
GM
9048 * files.el (set-auto-mode):
9049 Also respect mode: entries at the end of the file. (Bug#8586)
9050
7d15102b
GM
90512011-05-26 Glenn Morris <rgm@gnu.org>
9052
98f593b8
GM
9053 * files.el (hack-local-variables-prop-line, hack-local-variables):
9054 Downcase mode names, as seems to be traditional.
27b48e63 9055 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9056
7d15102b
GM
9057 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9058 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9059
51d5b4ec
JD
90602011-05-25 Julien Danjou <julien@danjou.info>
9061
9062 * textmodes/rst.el (rst-define-level-faces): Do not define face
9063 symbol if it is already defined.
9064
91513f63
VB
90652011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9066
9067 * play/5x5.el (5x5-new-game, 5x5-randomize):
9068 Reset 5x5-solver-output to nil when a new grid is cast.
9069 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9070 these debugging traces, as defmacro breaks the compiled code.
9071
4d90d6d0
DK
90722011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9073
9074 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9075
e1b90ef6
LL
90762011-05-24 Leo Liu <sdl.web@gmail.com>
9077
9078 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9079 (vc-bzr-sha1): Adapt.
9080
d8e4b68b 9081 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9082
9083 * bindings.el: Provide sha1 feature.
9084
db0406bb 90852011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9086
9087 * mail/sendmail.el: Require `rfc2047'.
9088 (mail-insert-from-field): Do not perform RFC2047 encoding.
9089 (mail-encode-header): New function.
9090 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9091 buffer to the return value of select-message-coding-system.
9092 Call mail-encode-header.
b8d747b9
KH
9093
9094 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9095
db0406bb 90962011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9097
4d90d6d0
DK
9098 * mail/supercite.el (sc-default-cite-frame):
9099 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9100
eb8a5e9b
GM
91012011-05-24 Glenn Morris <rgm@gnu.org>
9102
f8630703
GM
9103 * progmodes/python.el (brm-menu): Declare.
9104
8831bbed
GM
9105 * emulation/viper.el (viper-set-hooks): Declare.
9106
eb8a5e9b
GM
9107 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9108 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9109 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9110 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9111 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9112 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9113
a2a25d24
SM
91142011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 Add an :exit-function for completion-at-point.
9117
9118 * minibuffer.el (completion--done): New fun.
9119 (completion--do-completion): Use it. New arg `expect-exact'.
9120 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9121 since completion--do-completion does it for us now.
9122 (minibuffer-force-complete): Use completion--done and
9123 completion--replace. Handle sole-completion case with more care.
9124 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9125 (completion-extra-properties): New var.
9126 (completion-annotate-function): Make obsolete.
9127 (minibuffer-completion-help): Adjust accordingly.
9128 Use completion-list-insert-choice-function.
9129 (completion-at-point, completion-help-at-point):
9130 Bind completion-extra-properties.
9131 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9132 * simple.el (completion-list-insert-choice-function): New var.
9133 (completion-setup-function): Preserve it.
9134 (choose-completion): Pay attention to it, shuffle the code a bit.
9135 (choose-completion-string): New arg `insert-function'.
9136
9137 * textmodes/bibtex.el: Convert to lexical binding.
9138 (bibtex-mode-map): Use completion-at-point.
9139 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9140 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9141 (bibtex-complete): Define as obsolete alias.
9142 (bibtex-complete-internal): Remove.
9143 (bibtex-format-entry): Remove unused sub-group in regexp.
9144 * shell.el (shell--command-completion-data)
9145 (shell-environment-variable-completion):
9146 * pcomplete.el (pcomplete-completions-at-point):
9147 * comint.el (comint--complete-file-name-data): Use :exit-function
9148 instead of completion-table-with-terminator so it also works for
9149 choose-completion.
9150
e44e373d
SM
91512011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9152
4f91a816
SM
9153 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9154
782fc819
SM
9155 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9156 (bug#8710).
9157
e44e373d
SM
9158 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9159
381987c3
KM
91602011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9161
9162 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9163 customization variable and implement: If non-nil, auto-fill will
9164 be inhibited while on topic's header line.
9165
b776bc70
VB
91662011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9167
9168 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9169 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9170 always have a solution in grid size = 5 cases.
9171 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9172 (5x5-solver-output, 5x5-log-buffer): New vars.
9173 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9174 Make these variables buffer local to achieve 5x5 multi-session-ness.
9175 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9176 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9177 (5x5-solve-suggest): New funs.
9178 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9179 randomize a grid so that we ensure that there is always a solution.
9180 (5x5-make-random-grid): Allow other movement than flipping.
9181
7de88b6e
KR
91822011-05-23 Kevin Ryde <user42@zip.com.au>
9183
9184 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9185 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9186 advice and passes PREDICATE.
9187
b1ef1257
SM
91882011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9189
bbca48fe
SM
9190 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9191 byte-compile-lambda if it's actually a lambda.
9192
b1ef1257
SM
9193 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9194 Fix function quoting. Use backquote better.
9195
92a9cc65
YS
91962011-05-22 Yuanle Song <sylecn@gmail.com>
9197
9198 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9199 matching (Bug#8516).
9200
f0fb8059
JA
92012011-01-22 Jari Aalto <jari.aalto@cante.net>
9202
9203 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9204 different face (Bug#8178).
9205
d5b44c93
CY
92062011-05-22 Chong Yidong <cyd@stupidchicken.com>
9207
9208 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9209 defface (Bug#8144).
9210
79106a44
SM
92112011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9c848d8a
SM
9213 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9214 funcall as well (bug#8712). Warn when performing those conversions.
9215 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9216
79106a44
SM
9217 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9218
88dfa756
GM
92192011-05-22 Glenn Morris <rgm@gnu.org>
9220
9221 * files.el (hack-local-variables-prop-line): Small simplifications.
9222 (hack-local-variables, hack-local-variables-prop-line):
9223 If MODE-ONLY, return the mode, rather than just `t'.
9224
b7cf2c79
SM
92252011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9228
3f1a8558
GM
92292011-05-21 Glenn Morris <rgm@gnu.org>
9230
7e4ccca3
GM
9231 * files.el (hack-local-variables-prop-line, hack-local-variables):
9232 If only interested in the mode, don't bother doing the other stuff.
9233
637d46ca
GM
9234 * image-mode.el (image-after-revert-hook):
9235 Redraw all frames on which the image is visible. (Bug#8567)
9236
973d955b
GM
9237 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9238
3f1a8558
GM
9239 * wid-edit.el (widget-checklist-match-inline):
9240 Fix 2011-04-19 change. (Bug#8649)
9241
96479927
SM
92422011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9243
1dcf791f
SM
9244 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9245 Also allow singlespace after single-letter capitals followed by a dot.
9246
96479927
SM
9247 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9248 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9249
35fd0881
N
92502011-05-20 Nix <nix@esperi.org.uk>
9251
9252 * files.el (basic-save-buffer-2):
9253 Fix handling of break-hardlink-on-save with non-existent files.
9254
82745640
DD
92552011-05-19 Deniz Dogan <deniz@dogan.se>
9256
9257 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9258 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9259
4a720484
GM
92602011-05-19 Glenn Morris <rgm@gnu.org>
9261
d1f21341
GM
9262 * progmodes/f90.el (f90-type-def-re):
9263 Handle "type, bind(c)". (Bug#8691)
9264
4a720484
GM
9265 * emacs-lisp/autoload.el (batch-update-autoloads):
9266 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9267
2fb0a219
MA
92682011-05-18 Michael Albinus <michael.albinus@gmx.de>
9269
9270 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9271 property for the correct connection in case of multihops.
9272
e565dd37
GM
92732011-05-18 Glenn Morris <rgm@gnu.org>
9274
c2571358 9275 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9276 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9277
e565dd37
GM
9278 Rationalize calendar handling of day and month abbrev-arrays.
9279 * calendar/calendar.el (calendar-customized-p): New function.
9280 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9281 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9282 Add :set function.
9283 (calendar-abbrev-length, calendar-day-abbrev-array)
9284 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9285 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9286 Elements may no longer be nil.
9287 (calendar-day-name, calendar-month-name):
9288 Update for changed nature of abbrev arrays.
9289 * calendar/diary-lib.el (diary-name-pattern):
9290 Update for changed nature of abbrev arrays.
9291 (diary-mark-entries-1): Update calendar-make-alist calls.
9292 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9293 * calendar/cal-html.el (cal-html-day-abbrev-array):
9294 Simply inherit from calendar-day-abbrev-array.
9295
1d99a745
SM
92962011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * progmodes/grep.el (grep-mode): Disable default
9299 compilation-directory-matcher setting (bug#8684).
9300
7c1d9aa0
MA
93012011-05-17 Michael Albinus <michael.albinus@gmx.de>
9302
9303 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9304 instead of "head" and "tail". There were problems with SunOS 5.9,
9305 and it performs better.
9306
3952e9d8
GM
93072011-05-17 Glenn Morris <rgm@gnu.org>
9308
2dd12e7f
GM
9309 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9310
e4157b9c
GM
9311 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9312 Replace obsolete function.
9313
8e249bbd
GM
9314 * shell.el (pcomplete-parse-arguments-function): Declare.
9315
3952e9d8
GM
9316 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9317 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9318 (appt-check): Doc fixes.
9319 (appt-disp-window-function, appt-delete-window-function):
9320 Remove needless special case in custom :type.
9321 (appt-display-count): Default to 0, not nil.
9322 (appt-check): Reset appt-display-count to 0, not nil.
9323
c71a0d48 93242011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9325
c71a0d48
GM
9326 * progmodes/python.el (python-font-lock-keywords):
9327 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9328
31d55be9
SM
93292011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9332
3bfacb2f
KR
93332011-05-16 Kevin Ryde <user42@zip.com.au>
9334
9335 * info-look.el (makefile-automake-mode): New setups, looking in
9336 automake manual, then makefile-mode.
9337 (makefile-mode): Remove automake manual, have it just in
9338 makefile-automake-mode since there's various things different or
9339 not relevant to plain make.
9340 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9341 believe a hypothetical automake-mode would go to makefile-mode,
9342 not the other way around.
9343
c8e83751
CY
93442011-05-15 Chong Yidong <cyd@stupidchicken.com>
9345
5e9e35cd
CY
9346 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9347 hunk-end tags (Bug#8672).
9348
c8e83751
CY
9349 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9350 vc-annotate-show-diff-revision-at-line (Bug#8671).
9351
50b23e5a
GM
93522011-05-14 Glenn Morris <rgm@gnu.org>
9353
7210a739
GM
9354 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9355 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9356 (change-log-font-lock-keywords): Also handle multiple author lines
9357 with leading tabs. (Bug#8644)
7210a739 9358
4691905a
GM
9359 * calendar/appt.el (appt-check): Rename some local variables.
9360 Some simplification/reordering.
9361
50b23e5a
GM
9362 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9363 (feedmail-sendmail-f-doesnt-sell-me-out)
9364 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9365 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9366 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9367 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9368 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9369 (feedmail-binmail-gnulinuxish-template):
9370 Rename from feedmail-binmail-linuxish-template.
9371 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9372 Use insert-buffer-substring.
9373
215cda7c
BC
93742011-05-14 Bill Carpenter <bill@carpenter.org>
9375
9376 * mail/feedmail.el (feedmail-patch-level): Increase.
9377 (feedmail-debug): New custom group.
9378 (feedmail-confirm-outgoing-timeout)
9379 (feedmail-sendmail-f-doesnt-sell-me-out)
9380 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9381 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9382 (feedmail-sender-line, feedmail-from-line)
9383 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9384 (feedmail-spray-this-address)
215cda7c
BC
9385 (feedmail-spray-address-fiddle-plex-list)
9386 (feedmail-queue-use-send-time-for-date)
9387 (feedmail-queue-use-send-time-for-message-id)
9388 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9389 (feedmail-buffer-eating-function):
9390 Doc fixes.
9391 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9392 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9393 (feedmail-message-action-scroll-down): New functions.
9394 (feedmail-queue-directory, feedmail-queue-draft-directory):
9395 Use expand-file-name.
9396 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9397 Remove C-v help entry.
9398 (feedmail-queue-buffer-file-name): New variable.
9399 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9400 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9401 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9402 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9403 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9404 (feedmail-message-action-toggle-spray)
9405 (feedmail-run-the-queue-no-prompts)
9406 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9407 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9408 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9409 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9410 (feedmail-envelope-deducer, feedmail-fiddle-from)
9411 (feedmail-fiddle-sender, feedmail-default-date-generator)
9412 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9413 (feedmail-fiddle-spray-address)
9414 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9415 (feedmail-fiddle-list-of-fiddle-plexes)
9416 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9417 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9418 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9419 Change default. Doc fix.
9420 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9421 (feedmail-binmail-linuxish-template): New constant.
9422 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9423 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9424 (feedmail-send-it): Add debug call.
9425 Use feedmail-queue-buffer-file-name, and
9426 feedmail-send-it-immediately-wrapper.
9427 (feedmail-message-action-send): Add debug call.
9428 Use feedmail-send-it-immediately-wrapper.
9429 (feedmail-queue-express-to-queue): Add debug call.
9430 Run feedmail-queue-express-hook.
9431 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9432 (feedmail-message-action-help-blat):
9433 Rename from feedmail-queue-send-edit-prompt-help-first.
9434 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9435 Check line-endings. Handle errors better.
9436 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9437 Doc fix. Add debug call.
9438 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9439 Use feedmail-queue-send-edit-prompt-inner.
9440 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9441 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9442 from feedmail-queue-send-edit-prompt.
9443 (feedmail-queue-send-edit-prompt-help)
9444 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9445 (feedmail-tidy-up-slug): Add debug call.
9446 Respect feedmail-queue-slug-suspect-regexp.
9447 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9448 (feedmail-dump-message-to-queue): Add debug call.
9449 Expand queue-directory.
9450 (feedmail-dump-message-to-queue): Change message slightly.
9451 Use feedmail-say-chatter.
9452 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9453 (feedmail-send-it-immediately-wrapper): New function.
9454 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9455 Insert empty string rather than newline. Handle full-frame case.
9456 Use catch/throw. Use feedmail-say-chatter.
9457 (feedmail-fiddle-from): Try mail-host-address.
9458 (feedmail-default-message-id-generator): Doc fix.
9459 Bind system-time-locale. Handle missing end.
9460 (feedmail-fiddle-x-mailer): Add debug call.
9461 Handle feedmail-x-mailer-line being nil.
9462 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9463 Add debug call. Use buffer-substring-no-properties.
9464 (feedmail-say-debug, feedmail-say-chatter): New functions.
9465 (feedmail-find-eoh): Give an explicit error.
9466
42c7e61e
UJ
94672011-05-13 Ulf Jasper <ulf.jasper@web.de>
9468
c2571358 9469 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9470 family from helvetica to sans.
c2571358 9471 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9472 etc/images/newsticker.
9473
c2571358 9474 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9475 family from helvetica to sans.
9476
9477 * net/newst-plainview.el (newsticker-new-item-face)
9478 (newsticker-old-item-face, newsticker-immortal-item-face)
9479 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9480 (newsticker-statistics-face): Change default family from
42c7e61e 9481 helvetica to sans.
c2571358 9482 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9483 etc/images/newsticker.
9484
9485 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9486 (newsticker--process-auto-mark-filter-match): : Tell user about
9487 auto-marking.
9488
8497a297
DV
94892011-05-13 Didier Verna <didier@xemacs.org>
9490
9491 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9492 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9493 TODO entries.
8497a297
DV
9494 (lisp-lambda-list-keyword-parameter-indentation)
9495 (lisp-lambda-list-keyword-parameter-alignment)
9496 (lisp-lambda-list-keyword-alignment): New customizable user options.
9497 (lisp-indent-defun-method): Improve docstring.
9498 (extended-loop-p): Fix comment.
9499 (lisp-indent-lambda-list-keywords-regexp): New variable.
9500 (lisp-indent-lambda-list): New function.
9501 (lisp-indent-259): Use it.
9502 (lisp-indent-defmethod): Support for more than one
9503 method qualifier and properly indent methods lambda-lists.
9504 (defgeneric): Provide a missing common-lisp-indent-function property.
9505
f278f87f
SM
95062011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9509 bounds for the empty string (bug#8667).
9510
5233edd7
GM
95112011-05-13 Glenn Morris <rgm@gnu.org>
9512
5237a44f
GM
9513 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9514
8340026c 9515 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9516 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9517
5233edd7 9518 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9519 (appt-time-msg-list): Doc fix.
a5464014 9520 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9521
92d10796
AS
95222011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9523
9524 * progmodes/ld-script.el (ld-script-keywords)
9525 (ld-script-builtins): Update keywords list.
9526
914a0ae1
SM
95272011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9528
c89be45f
SM
9529 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9530
914a0ae1
SM
9531 * shell.el (shell-completion-vars): New function.
9532 (shell-mode):
9533 * simple.el (read-shell-command): Use it.
9534 (blink-matching-open): No need for " [...]" in minibuffer-message.
9535
98dc3df3
GM
95362011-05-12 Glenn Morris <rgm@gnu.org>
9537
9538 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9539 (appt-check): Simplify.
9540
d2fc7e3d 95412011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9542
4d61f28d 9543 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9544 literal "/dev/null".
9545
d2fc7e3d 95462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9547
9548 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9549 Fix typo.
9550
d2fc7e3d 95512011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9552
3f254caa
SM
9553 * progmodes/which-func.el (which-function):
9554 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9555 which might not be defined (Bug#8260).
9556
d45885f7
GM
95572011-05-12 Glenn Morris <rgm@gnu.org>
9558
9559 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9560 Let byte-compile-initial-macro-environment always take precedence.
9561
488086f4
SM
95622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * net/rcirc.el: Add support for SSL/TLS connections.
9565 (rcirc-server-alist): New field `encryption'.
9566 (rcirc): Check `encryption' settings.
9567 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9568 Merge make-local-variable into `set'.
9569 (rcirc--connection-open-p): New function.
9570 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9571 the process is not a network process (e.g. running gnutls-cli).
9572 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9573 Make rcirc-(en|de)code-coding-system local here.
9574 (rcirc-mode): Merge make-local-variable into `set'.
9575 (rcirc-parent-buffer): Make permanent buffer-local.
9576 (rcirc-multiline-minor-mode): Don't do it here.
9577 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9578 there's no server buffer.
9579
7d3b9d44
GM
95802011-05-11 Glenn Morris <rgm@gnu.org>
9581
f64049c6
GM
9582 * newcomment.el (comment-kill): Prefix "unused" local.
9583
93c9df73
GM
9584 * term/w32console.el (get-screen-color): Declare.
9585
7d3b9d44
GM
9586 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9587 Handle symbol elements of byte-compile-initial-macro-environment.
9588
9e2dd53f
LL
95892011-05-10 Leo Liu <sdl.web@gmail.com>
9590
488086f4
SM
9591 * bookmark.el (bookmark-bmenu-mode-map):
9592 Bind bookmark-bmenu-search to `/'.
8b340240 9593
9e2dd53f 9594 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9595 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9596 (Footnote-unicode): New function.
9597 (footnote-style-alist): Add unicode style to the list.
9598 (footnote-style): Doc fix.
9e2dd53f 9599
79b70037
GM
96002011-05-10 Jim Meyering <meyering@redhat.com>
9601
9602 Fix doubled-word typos.
9603 * international/quail.el (quail-insert-kbd-layout): and and -> and
9604 * kermit.el: and and -> and
9605 * net/ldap.el (ldap-search-internal): to to -> to
9606 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9607 * progmodes/js.el (js-mode): and and -> and
9608 * textmodes/artist.el (artist-move-to-xy): at at -> at
9609 (artist-draw-region-trim-line-endings): if if -> if
9610 And Safetyc -> Safety.
9611 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9612
b8f82dc1 96132011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9614 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9615
9616 * files.el (hack-one-local-variable-eval-safep):
9617 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9618
4f99f44b
GM
96192011-05-10 Glenn Morris <rgm@gnu.org>
9620
9621 * calendar/diary-lib.el (diary-list-entries-hook)
9622 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9623 (diary-nongregorian-marking-hook, diary-list-entries)
9624 (diary-include-other-diary-files, diary-mark-entries)
9625 (diary-mark-included-diary-files): Doc fixes.
9626
84f29e6b
JB
96272011-05-09 Juanma Barranquero <lekktu@gmail.com>
9628
9629 * misc.el: Require tabulated-list.el during compilation.
9630
9bedd73a
CY
96312011-05-09 Chong Yidong <cyd@stupidchicken.com>
9632
488086f4
SM
9633 * progmodes/compile.el (compilation-start):
9634 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9635 (compilation-filter-hook): Doc fix.
9636
797c735c
DD
96372011-05-09 Deniz Dogan <deniz@dogan.se>
9638
9639 * wdired.el: Remove outdated installation comment. Fix usage
9640 comment.
9641
5f4b1dfe
JB
96422011-05-09 Juanma Barranquero <lekktu@gmail.com>
9643
9644 * misc.el: Implement new command `list-dynamic-libraries'.
9645 (list-dynamic-libraries--loaded-only-p): New variable.
9646 (list-dynamic-libraries--refresh): New function.
9647 (list-dynamic-libraries): New command.
9648
4c44026c
CY
96492011-05-09 Chong Yidong <cyd@stupidchicken.com>
9650
488086f4
SM
9651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9652 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9653 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9654 higher priority to avoid clobbering by gnu.
9655
027f966d
CY
96562011-05-08 Chong Yidong <cyd@stupidchicken.com>
9657
9658 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9659 if the face has existing theme settings (Bug#8454).
9660
085f5d7d
CY
96612011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9662
488086f4
SM
9663 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9664 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9665
2a86a00c
RS
9666 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9667 special file names `.' and `..' (Bug#8259).
9668
d9c54a06
CY
96692011-05-08 Chong Yidong <cyd@stupidchicken.com>
9670
488086f4
SM
9671 * progmodes/grep.el (grep-mode-font-lock-keywords):
9672 Remove buffer-changing entries.
d9c54a06
CY
9673 (grep-filter): New function.
9674 (grep-mode): Add it to compilation-filter-hook.
9675
9676 * progmodes/compile.el (compilation-filter-hook)
9677 (compilation-filter-start): New defvars.
9678 (compilation-filter): Call compilation-filter-hook prior to
9679 updating the process mark.
9680
c4662635
SM
96812011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9684
b0512a1d
EZ
96852011-05-07 Eli Zaretskii <eliz@gnu.org>
9686
605c9376
EZ
9687 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9688 mailclient-send-it even if window-system is nil. (Bug#8595)
9689
c4662635
SM
9690 * term/w32console.el (terminal-init-w32console):
9691 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9692 background-mode. (Bug#8597)
9693
d1dc2cc2
SM
96942011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9697 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9698 New functions.
9699 (defgeneric, eieio--defmethod): Use them.
9700 (eieio-defgeneric): Remove.
9701 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9702
915d1300
GM
97032011-05-07 Glenn Morris <rgm@gnu.org>
9704
a3961c3e
GM
9705 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9706 Use let rather than let*.
9707 (timeclock-find-discrep): Remove unused local.
9708
314347b9
GM
9709 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9710
915d1300
GM
9711 * calendar/appt.el (appt-time-msg-list): Doc fix.
9712
275b59b0
NF
97132011-05-06 Noah Friedman <friedman@splode.com>
9714
9715 * apropos.el (apropos-print-doc): Only use
9716 emacs-lisp-docstring-fill-column when it is bound to an integer,
9717 per that variable's documentation.
9718
6c19f744
SM
97192011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9722 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9723
60f884b2
GM
97242011-05-06 Glenn Morris <rgm@gnu.org>
9725
5006e634
GM
9726 * calendar/appt.el (appt-message-warning-time): Doc fix.
9727 (appt-warning-time-regexp): New option.
9728 (appt-make-list): Respect appt-message-warning-time.
9729
548d0a63
GM
9730 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9731 New options.
9732 (diary-add-to-list): Strip comments from the displayed string.
9733 (diary-mode): Set comment-start and comment-end.
9734
60f884b2
GM
9735 * vc/diff-mode.el (smerge-refine-subst): Declare.
9736 (diff-refine-hunk): Don't require smerge-mode when compiling.
9737
989681bb
JB
97382011-05-06 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * simple.el (list-processes): Return nil as the docstring says.
9741
a6bc05e1
MA
97422011-05-05 Michael Albinus <michael.albinus@gmx.de>
9743
9744 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9745 to "".
9746 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9747 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9748 determining of binary transfer. (Bug#7383)
9749
23c22e9a
MA
97502011-05-05 Michael Albinus <michael.albinus@gmx.de>
9751
c4662635
SM
9752 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9753 Fix port computation bug. (Bug#8618)
23c22e9a 9754
0bff894f
GM
97552011-05-05 Glenn Morris <rgm@gnu.org>
9756
b8296902
GM
9757 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9758
1f522ce8
GM
9759 * simple.el (shell-dynamic-complete-functions)
9760 (comint-dynamic-complete-functions): Declare.
9761
cf5bee67
GM
9762 * net/network-stream.el (gnutls-negotiate):
9763 * simple.el (tabulated-list-print): Fix declarations.
9764
9765 * progmodes/gud.el (syntax-symbol, syntax-point):
9766 Remove unnecessary and incorrect declarations.
9767
0bff894f
GM
9768 * emacs-lisp/check-declare.el (check-declare-scan):
9769 Handle byte-compile-initial-macro-environment in bytecomp.el
9770
9869b3ae
SM
97712011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 Fix earlier half-done eieio-defmethod change (bug#8338).
9774 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9775 Streamline and change calling convention.
9776 (defmethod): Adjust accordingly and simplify.
9777 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9778 new eieio--defmethod.
9779 (slot-boundp): Minor CSE simplification.
9780
9c1d5ac5
MZ
97812011-05-05 Milan Zamazal <pdm@zamazal.org>
9782
9783 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9784 (glasses-make-readable): Use glasses-separate-capital-groups.
9785
455c834e
JB
97862011-05-05 Juanma Barranquero <lekktu@gmail.com>
9787
9788 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9789 (warning-series): Doc fix.
9790 (display-warning): Don't try to create the buffer if we just found it.
9791
9ed7c8cb
CY
97922011-05-04 Chong Yidong <cyd@stupidchicken.com>
9793
9794 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9795 (autoload-find-generated-file): New function.
9796 (generate-file-autoloads): Bind generated-autoload-file to
9797 buffer-file-name.
9869b3ae
SM
9798 (update-file-autoloads, update-directory-autoloads):
9799 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9800 output file (Bug#7989).
9801 (batch-update-autoloads): Doc fix.
9802
0898ca10
JB
98032011-05-04 Juanma Barranquero <lekktu@gmail.com>
9804
9805 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9806
31dfb76c
GM
98072011-05-04 Glenn Morris <rgm@gnu.org>
9808
f330b642
GM
9809 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9810 function, so it follows changes in calendar-date-style.
9811 (diary-fancy-date-matcher): New function.
9812 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9813 (diary-fancy-font-lock-fontify-region-function):
9814 Use diary-fancy-date-pattern as a function.
9815
31dfb76c
GM
9816 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9817 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9818
48e79d6a
TZ
98192011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9820
9821 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9822 instead of positional arguments. Allow :keylist and :crlfiles
9823 arguments.
9824 (open-gnutls-stream): Call it.
9825
9826 * net/network-stream.el (network-stream-open-starttls): Adjust to
9827 call `gnutls-negotiate' with :process and :hostname arguments.
9828
dd5a5ee0
SM
98292011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9830
ef80fc09
SM
9831 * minibuffer.el (completion--message): New function.
9832 (completion--do-completion, minibuffer-complete)
9833 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9834 (completion--do-completion): Don't ignore completion-auto-help when in
9835 icomplete-mode.
9836
dd5a5ee0
SM
9837 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9838 internal encoding (e.g. tibetan zero is not whitespace).
9839 (global-whitespace-mode): Prefer save-current-buffer.
9840 (whitespace-trailing-regexp): Remove useless save-match-data.
9841 (whitespace-empty-at-bob-regexp): Minor simplification.
9842
b7d22a83
CY
98432011-05-03 Chong Yidong <cyd@stupidchicken.com>
9844
9845 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9846
5192af46
AM
98472011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9848
9849 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9850 Use `concat' to create string for insertion.
5192af46 9851
5767d190
SM
98522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9855 Avoid open-line which runs post-self-insert-hook.
9856 (bibtex-fill-entry): Remove unused `end' var.
9857
bf242939
AM
98582011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9859
5767d190
SM
9860 * textmodes/ispell.el (ispell-add-per-file-word-list):
9861 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9862
25666126
LL
98632011-05-03 Leo Liu <sdl.web@gmail.com>
9864
9865 * isearch.el (isearch-yank-pop): New command.
5767d190 9866 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9867 (isearch-forward): Mention it.
9868
52d3c2d0
SM
98692011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9870
1bcace58
SM
9871 * simple.el (minibuffer-complete-shell-command): Remove.
9872 (minibuffer-local-shell-command-map): Use completion-at-point.
9873 (read-shell-command): Setup completion vars here instead.
9874 (read-expression-map): Bind TAB to symbol completion.
9875
52d3c2d0
SM
9876 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9877 error directly rather via storing it into `results'.
9878
35813471
LL
98792011-05-02 Leo Liu <sdl.web@gmail.com>
9880
9881 * vc/diff.el: Fix description.
9882
e793a940
LMI
98832011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9884
9885 * server.el (server-eval-at): New function.
9886
8de66e05
LMI
98872011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9888
9889 * net/network-stream.el (open-network-stream): Take a :nowait
9890 parameter and pass it on to `make-network-process'.
9891 (network-stream-open-plain): Ditto.
9892
dcb79f20
AS
98932011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9894
9895 * faces.el (face-spec-set-match-display): Don't match toolkit
9896 options on terminal frames.
9897
14a7fbd8
SM
98982011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9899
7eabc1be
SM
9900 * progmodes/pascal.el: Use lexical binding.
9901 (pascal-mode-map): Remove author preferences.
9902
14a7fbd8
SM
9903 * pcomplete.el (pcomplete-std-complete): Don't abuse
9904 completion-at-point.
9905
50f84510
JB
99062011-04-28 Juanma Barranquero <lekktu@gmail.com>
9907
6e087a44
JB
9908 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9909 removing code that has been dead since 1991 or so.
9910
50f84510
JB
9911 * startup.el (command-line): When warning about "_emacs", use a
9912 delayed warning to allow the user to filter it out.
9913
0ba690bd
DD
99142011-04-28 Deniz Dogan <deniz@dogan.se>
9915
9916 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9917 user has not joined.
9918
08abfaad
SM
99192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9922 aren't any completions at point.
9923
638f053a
JB
99242011-04-28 Juanma Barranquero <lekktu@gmail.com>
9925
9926 * subr.el (display-delayed-warnings): New function.
9927 (delayed-warnings-hook): New variable.
9928
8fff8daa
SM
99292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9930
08abfaad
SM
9931 * minibuffer.el (completion-at-point, completion-help-at-point):
9932 Don't presume that a given completion-at-point-function will always
9933 use the same calling convention.
9934
8fff8daa
SM
9935 * pcomplete.el (pcomplete-completions-at-point):
9936 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9937 pcomplete-seen is non-nil.
9938 (pcomplete-comint-setup): Also recognize the new comint/shell
9939 completion functions.
9940 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9941 pcomplete-seen is non-nil.
9942
841a1577 99432011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9944
841a1577 9945 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9946 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9947 the first character in the entry. This allows for code to add its
211ec907
UJ
9948 own uid to the entry.
9949 (icalendar--convert-float-to-ical): Add export of
9950 `diary-float'-entries save for those with the optional DAY
9951 argument.
9952
2a782793
DC
99532011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9954
9955 * subr.el (shell-quote-argument): Use alternate escaping strategy
9956 when we spot a variable reference in a string.
9957
0438ce91
DC
99582011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9959
9960 * cus-start.el (all): Define customization for debug-on-event.
9961
841a1577 99622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9963
9964 * subr.el (shell-quote-argument): Escape correctly under Windows.
9965
d090ed6c
SM
99662011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9969
bfd31217
MA
99702011-04-25 Michael Albinus <michael.albinus@gmx.de>
9971
d090ed6c
SM
9972 * net/tramp.el (tramp-process-actions): Add POS argument.
9973 Delete region between POS and (pos).
bfd31217 9974
d090ed6c
SM
9975 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9976 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9977 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9978
9979 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9980 position in `tramp-process-actions' call.
9981
9982 * net/trampver.el: Update release number.
9983
e92f3bd3
SM
99842011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9985
850256b5
SM
9986 * custom.el (defcustom): Obey lexical-binding.
9987
e92f3bd3
SM
9988 Fix octave-inf completion problems reported by Alexander Klimov.
9989 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9990 Inherit from octave-mode-syntax-table.
9991 (inferior-octave-mode): Set info-lookup-mode.
9992 (inferior-octave-completion-at-point): New function.
9993 (inferior-octave-complete): Use it and completion-in-region.
9994 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9995 comint-filename-completion.
9996 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9997 symbol elements which shouldn't be word elements.
9998 (octave-font-lock-keywords, octave-beginning-of-defun)
9999 (octave-function-header-regexp): Adjust regexps accordingly.
10000 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10001
cd22b309
JB
100022011-04-25 Juanma Barranquero <lekktu@gmail.com>
10003
10004 * net/gnutls.el (gnutls-errorp): Declare before first use.
10005
8b492194
TZ
100062011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10007
10008 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10009 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10010 default trustfile exists before going to use it. Add missing
5a5fa834 10011 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10012 Reported by Claudio Bley <claudio.bley@gmail.com>.
10013 (open-gnutls-stream): Add usage example.
10014
10015 * net/network-stream.el (network-stream-open-starttls): Give host
10016 parameter to `gnutls-negotiate'.
10017 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10018 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10019
841a1577 100202011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10021
cd22b309
JB
10022 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10023 Use correct match group (bug#8438).
05842630 10024
3ba7869c
CY
100252011-04-24 Chong Yidong <cyd@stupidchicken.com>
10026
512e3ae1
CY
10027 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10028 (package-menu--generate): New arg specifying packages to show.
10029 (package-menu-refresh, package-menu-execute, list-packages):
10030 Callers changed.
10031 (package-show-package-list): New function, replacing deleted
10032 package--list-packages (renamed because it is non-internal).
10033
10034 * finder.el (finder-list-matches): Use package-show-package-list
10035 instead of deleted package--list-packages.
10036
e92f3bd3
SM
10037 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10038 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10039 (vc-annotate-mode-map): Bind it to RET.
10040
7031be6d
UR
100412011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10042
10043 * progmodes/etags.el (next-file): Don't use set-buffer to change
10044 buffers (Bug#8478).
10045
4ef177aa
CY
100462011-04-24 Chong Yidong <cyd@stupidchicken.com>
10047
c8d173eb
CY
10048 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10049
4ef177aa
CY
10050 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10051 (apropos-accumulator): Doc fix.
10052 (apropos-function, apropos-macro, apropos-command)
10053 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10054 (apropos-plist): Add face property.
10055 (apropos-symbols-internal): Fix indentation.
10056 (apropos-print): Simplify help, and recognize apropos-multi-type.
10057 (apropos-print-doc): Use button-type-get to extract the button's
10058 face property. Fill docstring (Bug#8352).
10059
4ffd0d6b 100602011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10061
10062 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10063
c6c32125 10064 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10065 (mpuz-mode-map): Use mapc.
c6c32125
JB
10066 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10067 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10068 Fix typos in docstrings.
10069
58d468b4
JB
10070 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10071 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10072
6470c3c6
JB
10073 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10074
4ffd0d6b 100752011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10076
10077 * minibuffer.el (completion--do-completion): Avoid the "Next char
10078 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10079
3ad8bad0
CY
10080 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10081 mouse-2 into unread-command-events, it is interpreted correctly.
10082
71d73c9c 10083 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10084 (image-toggle-display): Doc fix.
71d73c9c 10085
841a1577 100862011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10087
4ffd0d6b
GM
10088 * textmodes/page.el (what-page): Use line-number-at-pos to
10089 calculate line number (Bug#6825).
6e1dbaa9 10090
c2fb1b60
JB
100912011-04-22 Juanma Barranquero <lekktu@gmail.com>
10092
10093 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10094 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10095 Pass argument NO-DEFAULT to `find-tag-interactive'.
10096
e02f48d7
JB
100972011-04-22 Juanma Barranquero <lekktu@gmail.com>
10098
10099 Lexical-binding cleanup.
10100
10101 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10102 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10103 * progmodes/ada-prj.el (ada-prj-initialize-values)
10104 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10105 (ada-prj-show-value):
10106 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10107 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10108 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10109 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10110 * progmodes/bug-reference.el (bug-reference-push-button):
10111 * progmodes/fortran.el (fortran-line-length):
10112 * progmodes/glasses.el (glasses-change):
10113 * progmodes/octave-mod.el (octave-fill-paragraph):
10114 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10115 (python-pdbtrack-grub-for-buffer, python-sentinel):
10116 * progmodes/sql.el (sql-save-connection):
10117 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10118 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10119 Mark unused parameters.
10120
10121 * progmodes/compile.el (compilation--flush-directory-cache)
10122 (compilation--flush-parse, compile-internal): Mark unused parameters.
10123 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10124 (compilation-next-error-function): Remove unused variable `timestamp'.
10125
10126 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10127 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10128
10129 * progmodes/dcl-mode.el (dcl-end-of-command):
10130 Remove unused variable `start'.
10131 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10132 (dcl-option-value-basic, dcl-option-value-offset)
10133 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10134 Mark unused parameters.
10135 (dcl-save-local-variable): Remove unused variable `val'.
10136 (mode): Declare.
10137
10138 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10139 Mark unused parameters.
10140 (delphi-ignore-changes): Move before first use.
10141 (delphi-charset-token-at): Remove unused variable `start'.
10142 (delphi-else-start): Remove unused variable `if-count'.
10143 (delphi-comment-block-start, delphi-comment-block-end):
10144 Remove unused variable `kind'.
10145 (delphi-indent-line): Remove unused variable `new-point'.
10146
10147 * progmodes/ebrowse.el (ebrowse-files-list)
10148 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10149 Mark unused parameters. Don't quote `lambda'.
10150 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10151 Don't quote `lambda'.
10152 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10153 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10154 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10155 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10156 Use `ignore-errors'.
10157 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10158 (ebrowse-view/find-file-and-search-pattern)
10159 (ebrowse-view/find-member-declaration/definition):
10160 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10161 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10162 Rename parameter PREFIX-ARG to PREFIX.
10163 (ebrowse-tags-read-name): Remove unused variables `start' and
10164 `member-info'.
10165 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10166 to `tags-file'.
10167
10168 * progmodes/etags.el (local-find-tag-hook): Declare.
10169 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10170 Mark unused parameters.
10171
10172 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10173 (executable-interpret): Mark unused parameter.
10174
10175 * progmodes/flymake.el (flymake-process-sentinel)
10176 (flymake-after-change-function)
10177 (flymake-create-temp-with-folder-structure)
10178 (flymake-get-include-dirs-dot): Mark unused parameters.
10179 (flymake-safe-delete-directory): Remove unused variable `err'.
10180
10181 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10182 (speedbar-timer-fn, speedbar-line-text)
10183 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10184 (speedbar-center-buffer-smartly): Declare functions.
10185 (gdb-find-watch-expression): Remove unused variable `array'.
10186 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10187 (gdb-starting): Mark unused parameters.
10188 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10189 (gdb-table-string): Remove unused variable `res'.
10190 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10191 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10192 (gdb-display-buffer): Remove unused variable `cur-size'.
10193
10194 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10195 allow lexical-binding compilation.
10196 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10197 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10198 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10199 Mark unused parameters.
10200 (gud-gdb-marker-filter): Remove unused variable `match'.
10201 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10202 lambda expressions and funcall them, instead of using `fset'.
10203
10204 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10205 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10206
10207 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10208 variable `header-beg'; use `let'.
10209
10210 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10211 `restart', `last-sexp' and `at-do'.
10212
10213 * progmodes/js.el (js--debug): Mark unused parameter.
10214 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10215 (js--splice-into-items): Remove unused variable `item'.
10216 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10217
10218 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10219 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10220 (makefile-complete): Remove unused variable `try'.
10221 (makefile-fill-paragraph, makefile-match-function-end):
10222 Mark unused parameters.
10223
10224 * progmodes/octave-inf.el (inferior-octave-complete):
10225 Remove unused variable `proc'.
10226 (inferior-octave-output-digest): Mark unused parameter.
10227
10228 * progmodes/perl-mode.el (perl-calculate-indent):
10229 Remove unused variable `err'.
10230
10231 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10232 (prolog-indent-line): Mark unused parameters.
10233 (prolog-indent-line): Remove unused variable `beg'.
10234
10235 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10236 (reporter-dont-compact-list): Declare.
10237
10238 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10239 Remove unused variable `char'.
10240 (sh-debug): Mark unused parameter.
10241 (sh-get-indent-info): Remove unused variable `start'.
10242 (sh-calculate-indent): Remove unused variable `var'.
10243
10244 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10245 (simula-electric-keyword): Remove unused variable `null'.
10246 (simula-search-backward, simula-search-forward): Remove unused
10247 variables `begin' and `end'.
10248
10249 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10250 Remove unused variable `pos'.
10251 (vera-electric-tab, vera-comment-uncomment-region):
10252 Mark unused parameters.
10253 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10254
7ede3b65
CY
102552011-04-22 Chong Yidong <cyd@stupidchicken.com>
10256
10257 * emacs-lisp/package.el (package--builtins, package-alist)
10258 (package-load-descriptor, package-built-in-p, package-activate)
10259 (define-package, package-installed-p)
10260 (package-compute-transaction, package-buffer-info)
10261 (package--push): Doc fix. Distinguish more clearly between
10262 version strings and version lists.
10263
121656e9
JB
102642011-04-21 Juanma Barranquero <lekktu@gmail.com>
10265
10266 Lexical-binding cleanup.
10267
10268 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10269 (5x5-make-mutate-best):
10270 * play/fortune.el (fortune-in-buffer):
10271 * play/gomoku.el (gomoku-init-display):
10272 * play/solitaire.el (solitaire, solitaire-do-check):
10273 * play/tetris.el (tetris-default-update-speed-function):
10274 Mark unused parameters.
10275
10276 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10277 (bubbles--shift): Remove unused variable `char-org'.
10278 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10279 (bubbles--show-images): Remove unused variable `char'.
10280
10281 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10282 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10283 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10284 (decipher-analyze-buffer): Use ?\s.
10285 (decipher-make-checkpoint): Remove unused variable `mapping'.
10286
10287 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10288
10289 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10290 Remove unused variable `result'; use `let'.
10291
10292 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10293 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10294 (gametree-children-shown-p, gametree-compute-reduced-score):
10295 Use `ignore-errors'.
10296
10297 * play/handwrite.el (ps-lpr-switches): Declare.
10298 (handwrite): Remove unused variables `pmin' and `lastp'.
10299
10300 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10301
10302 * play/landmark.el (landmark-init-display)
10303 (landmark-update-naught-weights): Mark unused parameters.
10304 (landmark-y): Remove unused variable `noise'. Simplify.
10305 (landmark-human-plays): Remove unused variable `score'.
10306
10307 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10308 (mpuz-try-proposal): Remove unused variable `game'.
10309
10310 * play/zone.el (life-patterns): Declare.
10311
80f499c7
JB
103122011-04-20 Juanma Barranquero <lekktu@gmail.com>
10313
10314 * vc/vc.el (ediff-vc-internal): Declare function.
10315
024ff170
SM
103162011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10317
c0a193ea
SM
10318 * shell.el: Use lexical-binding and std completion UI.
10319 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10320 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10321 comint-preoutput-filter-functions rather than on
10322 comint-output-filter-functions.
10323 (shell-command-completion, shell--command-completion-data)
10324 (shell-filename-completion, shell-environment-variable-completion)
10325 (shell-c-a-p-replace-by-expanded-directory): New functions.
10326 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10327 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10328 (shell-dynamic-complete-environment-variable): Use them.
10329 (shell-dynamic-complete-as-environment-variable)
10330 (shell-dynamic-complete-as-command): Remove.
10331 (shell-match-partial-variable): Match past point.
10332 * comint.el: Clean up use of completion-at-point-functions.
10333 (comint-completion-at-point): New function.
10334 (comint-mode): Use it completion-at-point-functions.
10335 (comint-dynamic-complete): Make it obsolete.
10336 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10337 (comint-c-a-p-replace-by-expanded-history): New function.
10338 (comint-dynamic-complete-functions)
10339 (comint-replace-by-expanded-history): Use it.
10340 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10341 termination strings. Try harder to avoid second try-completion.
10342 (completion-in-region-mode-map): Disable bindings that don't work yet.
10343
2dbaa080
SM
10344 * comint.el: Use lexical-binding. Require CL.
10345 (comint-dynamic-complete-functions): Use comint-filename-completion.
10346 (comint-completion-addsuffix): Tweak custom type.
10347 (comint-filename-completion, comint--common-suffix)
10348 (comint--common-quoted-suffix, comint--table-subvert)
10349 (comint--complete-file-name-data): New functions.
10350 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10351 (comint-dynamic-list-filename-completions): Use them.
10352 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10353
2dbaa080
SM
10354 * minibuffer.el (completion-in-region-mode):
10355 Keep completion-in-region-mode--predicate global.
10356 (completion-in-region--postch):
10357 Assume completion-in-region-mode--predicate is not null.
10358
c79a6f38
SM
10359 * progmodes/flymake.el (flymake-start-syntax-check-process):
10360 Obey `dir'. Simplify.
10361
024ff170
SM
10362 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10363 we're in VC after all.
10364
1c6c854e
CS
103652011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10366
10367 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10368 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10369 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10370
bed7f140
SM
103712011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10372
332e62ab
SM
10373 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10374 add sanity check.
10375
bed7f140
SM
10376 * obsolete/erc-hecomplete.el: Make obsolete.
10377 * obsolete/: Standardize obsolescence info in the header.
10378
f195c582
GM
103792011-04-20 Glenn Morris <rgm@gnu.org>
10380
10381 * calendar/solar.el (solar-horizontal-coordinates):
10382 Use the longitude argument rather than `calendar-longitude'.
10383 (solar-date-next-longitude): Remove unused locals.
10384
cb79b8c0
VJL
103852011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10386
10387 * whitespace.el: New version 13.2.1.
10388
103892011-04-20 felix <EmacsWiki> (tiny change)
10390
d8e4b68b 10391 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10392 switching between major modes on a file.
10393
602ea69d
SM
103942011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10397 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10398 multi-line comments as well.
10399
06b60517
JB
104002011-04-19 Juanma Barranquero <lekktu@gmail.com>
10401
10402 Lexical-binding cleanup.
10403
10404 * arc-mode.el (archive-mode-revert):
10405 * cmuscheme.el (scheme-interactively-start-process):
10406 * custom.el (custom-initialize-delay):
10407 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10408 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10409 * emacs-lock.el (emacs-lock-clear-sentinel):
10410 * ezimage.el (defezimage):
10411 * follow.el (follow-avoid-tail-recenter):
10412 * fringe.el (set-fringe-mode-1):
10413 * generic-x.el (bat-generic-mode-compile):
10414 * help-mode.el (help-info-variable, help-do-xref)
10415 (help-mode-revert-buffer):
10416 * help.el (view-emacs-todo):
10417 * iswitchb.el (iswitchb-completion-help):
10418 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10419 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10420 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10421 * locate.el (locate-update):
10422 * longlines.el (longlines-encode-region)
10423 (longlines-after-change-function):
10424 * outline.el (outline-isearch-open-invisible):
10425 * ps-def.el (declare-function, charset-dimension, char-width)
10426 (encode-char):
10427 * ps-mule.el (ps-mule-plot-string):
10428 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10429 (recentf-edit-list-select, recentf-edit-list-validate)
10430 (recentf-open-files-action):
10431 * rect.el (delete-whitespace-rectangle-line)
10432 (rectangle-number-line-callback):
10433 * register.el (window-configuration-to-register)
10434 (frame-configuration-to-register):
10435 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10436 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10437 (xselect-convert-to-targets, xselect-convert-to-delete)
10438 (xselect-convert-to-filename, xselect-convert-to-charpos)
10439 (xselect-convert-to-lineno, xselect-convert-to-colno)
10440 (xselect-convert-to-os, xselect-convert-to-host)
10441 (xselect-convert-to-user, xselect-convert-to-class)
10442 (xselect-convert-to-name, xselect-convert-to-integer)
10443 (xselect-convert-to-atom, xselect-convert-to-identity):
10444 * subr.el (declare, ignore, process-kill-without-query)
10445 (text-clone-maintain):
10446 * terminal.el (te-get-char, te-tic-sentinel):
10447 * tool-bar.el (tool-bar-make-keymap):
10448 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10449 * type-break.el (type-break-mode, type-break-noninteractive-query):
10450 * view.el (View-back-to-mark):
10451 * wid-browse.el (widget-browse-action, widget-browse-widget)
10452 (widget-browse-widgets, widget-browse-sexp):
10453 * widget.el (define-widget-keywords):
10454 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10455 Mark unused parameters.
10456
10457 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10458 (align-areas): Remove unused variable `look'.
10459 (align-region): Remove unused variables `real-end' and `pos-list'.
10460
10461 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10462
10463 * bindings.el (mode-line-modified, mode-line-remote):
10464 Mark unused parameters.
10465 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10466
10467 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10468 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10469
10470 * comint.el (comint-history-isearch-pop-state)
10471 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10472 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10473 (comint-substitute-in-file-name): Doc fix.
10474
10475 * completion.el (cmpl-statistics-block): Mark unused parameter.
10476 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10477 (save-completions-to-file, load-completions-from-file):
10478 Remove unused local variable `e'.
10479
10480 * composite.el (compose-chars): Remove unused variable `len'.
10481 (lgstring-insert-glyph): Remove unused variable `g'.
10482 (compose-glyph-string): Remove unused variables `ascent',
10483 `descent', `lbearing' and `rbearing'.
10484 (compose-glyph-string-relative): Remove unused variables
10485 `lbearing', `rbearing' and `wadjust'.
10486 (compose-gstring-for-graphic): Remove unused variables `header',
10487 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10488 (compose-gstring-for-terminal): Remove unused variables `header'
10489 and `nchars'. Use `let', not `let*'.
10490
10491 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10492 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10493 (Custom-buffer-done, custom-buffer-create-internal)
10494 (custom-browse-visibility-action, custom-browse-group-tag-action)
10495 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10496 (widget-magic-mouse-down-action, custom-toggle-parent)
10497 (custom-add-parent-links, custom-toggle-hide-variable)
10498 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10499 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10500 (custom-face-menu-create, custom-variable-menu-create, get)
10501 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10502 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10503 (customize-apropos): Remove unused variable `tests'.
10504 (custom-group-value-create): Remove unused variable `hidden-p'.
10505 (sort-fold-case): Declare.
10506
10507 * cus-theme.el (custom-reset-standard-faces-list)
10508 (custom-reset-standard-variables-list): Declare.
10509 (customize-create-theme, custom-theme-revert, custom-theme-write)
10510 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10511 Mark unused parameters.
10512
10513 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10514
10515 * delim-col.el (delimit-columns-max): Move defvar before first use.
10516
10517 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10518 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10519
10520 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10521 (auto-insert): Declare.
10522 (desktop-restore-file-buffer): Rename desktop-* parameters;
10523 mark unused ones.
10524 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10525 (desktop-buffer): Rename desktop-* parameters.
10526
10527 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10528 (dframe-reposition-frame-xemacs, dframe-help-echo)
10529 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10530 Mark unused parameters.
10531
10532 * dired-aux.el (backup-extract-version-start, overwrite-query)
10533 (overwrite-backup-query, rename-regexp-query)
10534 (rename-non-directory-query): Declare.
10535 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10536 (dired-add-entry): Remove unused variable `orig-file-name'.
10537 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10538 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10539 `dired-copy-preserve-time' directly.
10540 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10541 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10542
10543 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10544 (dired-virtual-revert, dired-make-relative-symlink):
10545 Mark unused parameters.
10546 (manual-program): Declare.
10547 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10548 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10549 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10550
10551 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10552
10553 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10554
10555 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10556 Declare.
10557
10558 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10559
10560 * electric.el (Electric-command-loop): Rename parameter
10561 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10562
10563 * expand.el (expand-in-literal): Remove unused variable `here'.
10564
10565 * facemenu.el (facemenu-add-new-color):
10566 Remove unused variable `docstring'.
10567
10568 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10569 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10570 (face-attr-construct): Mark unused parameter. Doc fix.
10571 (read-color): Remove unused variable `hex-string'.
10572
10573 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10574 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10575 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10576 (display-buffer-other-frame): Remove unused variable `old-window'.
10577 (kill-buffer-hook): Declare.
10578 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10579 Mark unused parameters.
10580 (after-find-file): Pass 1 to `auto-save-mode', not t.
10581
10582 * files-x.el (auto-insert): Declare.
10583 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10584
10585 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10586 variable `buf'. Mark unused parameter.
06b60517
JB
10587 (find-lisp-insert-directory): Mark unused parameter.
10588
10589 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10590 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10591 (format-common-tail): Remove, unused.
10592 (format-deannotate-region): Remove unused variable `loc'.
10593 (format-annotate-region): Remove unused variable `p'.
10594 (format-annotate-single-property-change): Remove unused variables
10595 `default' and `tail'.
10596
10597 * forms.el (read-file-filter): Declare.
10598 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10599
10600 * frame.el (frame-creation-function-alist): Mark unused parameter.
10601 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10602
10603 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10604 Remove unused parameters.
10605 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10606 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10607
10608 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10609 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10610 (hfy-prepare-tag-map): Mark unused parameters.
10611 (htmlfontify-buffer): Use `called-interactively-p'.
10612
10613 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10614 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10615 (ibuffer-do-occur): Mark unused parameters.
10616 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10617 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10618
10619 * ibuffer.el: Don't quote `lambda'.
10620 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10621 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10622 Mark unused parameters.
10623
10624 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10625 (ido-completing-read): Mark unused parameters.
10626 (ido-copy-current-word): Mark unused parameters;
10627 remove unused variable `name'.
10628 (ido-sort-merged-list): Remove unused parameter `dirs'.
10629
10630 * ielm.el (ielm-input-sender): Mark unused parameter.
10631 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10632 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10633 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10634 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10635 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10636
10637 * image-dired.el (image-dired-display-thumbs): Remove unused
10638 variables `curr-file' and `count'.
10639 (image-dired-remove-tag): Remove unused variable `start'.
10640 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10641 variable `curr-file'
10642 (image-dired-rotate-original): Remove unused variable `temp-file'.
10643 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10644 Remove unused variable `file'.
10645 (image-dired-gallery-generate): Remove unused variable `curr'.
10646 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10647
10648 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10649
10650 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10651
10652 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10653
10654 * isearch.el (minibuffer-history-symbol): Declare.
10655 (isearch-edit-string): Remove unused variable `err'.
10656 (isearch-message-prefix, isearch-message-suffix):
10657 Mark unused parameters.
10658
10659 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10660
10661 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10662
10663 * makesum.el (double-column): Remove unused variable `cnt'.
10664
10665 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10666 (ido-ignore-item-temp-list): Declare.
10667
10668 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10669 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10670 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10671 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10672 `mouse-col-delta'.
10673
10674 * mouse-sel.el (mouse-extend-internal):
10675 Remove unused variable `orig-window-frame'.
10676
10677 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10678 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10679 Move declarations before first use.
10680 (pcomplete-opt): Mark unused parameters; doc fix.
10681
10682 * proced.el (proced-revert): Mark unused parameter.
10683 (proced-send-signal): Remove unused variable `err'.
10684
10685 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10686 Rename parameter PREFIX-ARG to ARG.
10687 (ps-basic-plot-string, ps-basic-plot-whitespace):
10688 Mark unused parameters.
10689
10690 * replace.el (replace-count): Define.
10691 (occur-revert-function): Mark unused parameters.
10692 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10693 (isearch-case-fold-search, isearch-string): Declare.
10694 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10695 bind `case-fold-search'. Remove unused variables `beg' and `end',
10696 and simplify.
10697 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10698 COUNT and bind `replace-count'.
10699 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10700 to COUNT.
10701
10702 * savehist.el (print-readably, print-string-length): Declare.
10703
10704 * shadowfile.el (shadow-expand-cluster-in-file-name):
10705 Remove unused variable `cluster'.
10706 (shadow-copy-file): Remove unused variable `i'.
10707 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10708 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10709 (shadow-define-literal-group, shadow-define-regexp-group)
10710 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10711
10712 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10713 (shell): Use `called-interactively-p'.
10714 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10715
10716 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10717 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10718 (delete-backward-char): Remove unused variable `ocol'.
10719 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10720 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10721 (event-apply-hyper-modifier, event-apply-shift-modifier)
10722 (event-apply-control-modifier, event-apply-meta-modifier):
10723 Mark unused parameters.
10724 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10725 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10726
10727 * speedbar.el (speedbar-ignored-directory-expressions)
10728 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10729 (speedbar-find-file, speedbar-dir-follow)
10730 (speedbar-directory-buttons-follow, speedbar-tag-find)
10731 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10732 (speedbar-buffers-line-directory, speedbar-buffer-click):
10733 Mark unused parameters.
10734 (speedbar-tag-file): Remove unused variable `mode'.
10735 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10736
10737 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10738
10739 * talk.el (talk): Remove unused variable `display'.
10740
10741 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10742 (tar-write-region-annotate): Mark unused parameter.
10743
10744 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10745 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10746 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10747 warning by another.
10748
10749 * time-stamp.el (time-stamp-string-preprocess):
10750 Remove unused variable `require-padding'.
10751
10752 * tree-widget.el (widget-glyph-enable): Declare.
10753 (tree-widget-action): Mark unused parameter.
10754
10755 * w32-fns.el (x-get-selection): Mark unused parameter.
10756 (autoload-make-program, generated-autoload-file): Declare.
10757
10758 * wdired.el (wdired-revert): Mark unused parameters.
10759 (wdired-xcase-word): Remove unused variable `err'.
10760
10761 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10762 (whitespace-help-scroll): Remove unused variable `data-help'.
10763
10764 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10765 (widget-image-insert, widget-after-change, default)
10766 (widget-default-format-handler, widget-default-notify)
10767 (widget-default-prompt-value, widget-info-link-action)
10768 (widget-url-link-action, widget-function-link-action)
10769 (widget-variable-link-action, widget-file-link-action)
10770 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10771 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10772 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10773 (widget-insert-button-action, widget-delete-button-action, visibility)
10774 (widget-documentation-link-action, widget-documentation-string-action)
10775 (widget-const-prompt-value, widget-regexp-match, symbol)
10776 (widget-coding-system-prompt-value)
10777 (widget-key-sequence-value-to-external, sexp)
10778 (widget-sexp-value-to-internal, character, vector, cons)
10779 (widget-choice-prompt-value, widget-boolean-prompt-value)
10780 (widget-color--choose-action): Mark unused parameters.
10781 (widget-item-match-inline, widget-choice-match-inline)
10782 (widget-checklist-match, widget-checklist-match-inline)
10783 (widget-group-match): Rename parameter VALUES to VALS.
10784 (widget-field-value-set): Remove unused variable `size'.
10785 (widget-color-action): Remove unused variables `value' and `start'.
10786
10787 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10788 variable `dir'. Doc fix.
06b60517
JB
10789 (windmove-find-other-window): Don't pass it.
10790
10791 * window.el (count-windows): Mark unused parameter.
10792 (bw-adjust-window): Remove unused variable `err'.
10793
10794 * woman.el (woman-file-name): Remove unused variable `default'.
10795 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10796 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10797 (global-font-lock-mode): Declare.
10798 (woman-decode-region): Mark unused parameter.
10799 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10800
10801 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10802 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10803 (x-dnd-handle-moz-url): Remove unused variable `title'.
10804 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10805
10806 * xml.el (xml-parse-tag, xml-parse-attlist):
10807 Remove unused variable `pos'.
10808
bc4f7f3d
GM
108092011-04-19 Glenn Morris <rgm@gnu.org>
10810
10811 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10812 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10813 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10814 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10815 * calendar/cal-html.el (cal-html-insert-minical):
10816 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10817 (calendar-mark-date-pattern):
10818 Prefix "unused" locals.
10819
10820 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10821 optional argument `style'.
10822
10823 * calendar/appt.el (appt-make-list):
10824 * calendar/cal-china.el (calendar-chinese-date-string):
10825 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10826 (diary-hebrew-yahrzeit):
10827 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10828 * calendar/calendar.el (calendar-generate-window):
10829 * calendar/time-date.el (time-to-days):
10830 Remove unused local variables.
10831
16a43933
CY
108322011-04-18 Chong Yidong <cyd@stupidchicken.com>
10833
10834 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10835 glyphless-char-display table.
10836 (tabulated-list-glyphless-char-display): New var.
10837
7eed1860
SS
108382011-04-18 Sam Steingold <sds@gnu.org>
10839
10840 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10841 to acknowledgments.
10842
4d2d1ccd
GM
108432011-04-17 Glenn Morris <rgm@gnu.org>
10844
10845 * calendar/diary-lib.el (diary-sexp-entry):
10846 * calendar/holidays.el (holiday-sexp):
10847 Set debug-on-error rather than the removed stack-trace-on-error.
10848
239da61d
GM
108492011-04-16 Glenn Morris <rgm@gnu.org>
10850
10851 * progmodes/f90.el: Use lexical-binding.
10852 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10853
8b05752a
SM
108542011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10855
daca8ba5
SM
10856 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10857 (mail-mode): Setup mailalias completion here instead.
10858 * mail/mailalias.el: Use lexical-binding.
10859 (pattern, mailalias-done): Declare dynamic.
10860 (mail-completion-at-point-function): New function, from mail-complete.
10861 (mail-complete): Use it.
10862 (mail-completion-expand): New function.
10863 (mail-get-names): Use it.
10864 (mail-directory, mail-directory-process, mail-directory-stream):
10865 Don't use `pattern' for lexically bound arg.
10866
6f542485
SM
10867 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10868
037e7c3f
SM
10869 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10870 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10871 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10872
8b05752a
SM
10873 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10874 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10875 (byte-interactive-p): Define them again, for use when inlining
10876 old code.
10877
49093f60
JB
108782011-04-15 Juanma Barranquero <lekktu@gmail.com>
10879
10880 * loadup.el: Use `string-to-number', not `string-to-int'.
10881
b5b8e7de
SM
108822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10885 gud-gdb-complete-command.
10886 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10887 (gud-gdb-completion-at-point): New function.
10888 (gud-gdb-completions): Remove.
10889
f42efeb5
MA
108902011-04-14 Michael Albinus <michael.albinus@gmx.de>
10891
49093f60
JB
10892 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10893 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10894 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10895 whether `executable-find' is bound.
f42efeb5
MA
10896
10897 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10898
e240cc21
SM
108992011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * minibuffer.el (completion-in-region-mode-predicate)
10902 (completion-in-region-mode--predicate): New vars.
10903 (completion-in-region, completion-in-region--postch)
10904 (completion-in-region-mode): Use them.
10905 (completion--capf-wrapper): Also return the hook function.
10906 (completion-at-point, completion-help-at-point):
10907 Adjust and provide a predicate.
c2bd2ab0
SM
10908
10909 Preserve arg names for advice of subr and lexical functions (bug#8457).
10910 * help-fns.el (help-function-arglist): Consolidate the subr and
10911 new-byte-code cases. Add argument `preserve-names' to extract names
10912 from the docstring when needed.
10913 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10914 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10915 (ad-arglist): Use help-function-arglist's new arg.
10916 (ad-definition-type): Use cond.
10917
c183f693
JB
109182011-04-13 Juanma Barranquero <lekktu@gmail.com>
10919
06641a47
JB
10920 * autorevert.el (auto-revert-handler):
10921 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10922 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10923 Don't quote lambda.
10924
c183f693
JB
10925 * image-mode.el (image-transform-set-scale):
10926 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10927
1e3b6001
G
109282011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10929
10930 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10931 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10932 Upgrades via gnutls-cli are too slow to be done opportunistically.
10933
2d6af8dd
JB
109342011-04-12 Juanma Barranquero <lekktu@gmail.com>
10935
10936 * dframe.el (dframe-current-frame): Remove spurious quote.
10937
c0749a51
GM
109382011-04-12 Glenn Morris <rgm@gnu.org>
10939
088d0d61
GM
10940 * calendar/cal-tex.el (cal-tex-end-document):
10941 Try to automatically use latin1 input if needed.
10942
c0749a51
GM
10943 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10944 Don't try to cons a mark onto an empty element.
10945
5c90fde0
LL
109462011-04-11 Leo Liu <sdl.web@gmail.com>
10947
10948 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10949 buffers.
10950 (ido-kill-buffer-at-head): Support killing virtual buffers.
10951
369e974d
CY
109522011-04-10 Chong Yidong <cyd@stupidchicken.com>
10953
10954 * minibuffer.el (completion-show-inline-help): New var.
10955 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10956 (minibuffer-force-complete, minibuffer-complete-word):
10957 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10958
10959 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10960 to avoid interference from inline help (Bug#5849).
10961
37f1c930
LL
109622011-04-10 Leo Liu <sdl.web@gmail.com>
10963
099c39a4
JB
10964 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10965 Fix typo.
37f1c930 10966
a32d4040
CY
109672011-04-09 Chong Yidong <cyd@stupidchicken.com>
10968
10969 * image-mode.el (image-toggle-display-image): Signal an error if
10970 not in Image mode.
10971 (image-transform-mode, image-transform-resize)
10972 (image-transform-set-rotation): Doc fix.
daca8ba5 10973 (image-transform-set-resize): Delete.
a32d4040
CY
10974 (image-transform-set-scale, image-transform-fit-to-height)
10975 (image-transform-fit-to-width): Handle image-toggle-display-image
10976 and image-transform-resize directly.
10977
099c39a4 109782011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10979
10980 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10981 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10982 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10983 (doc-view-mode-map): Add bindings for the new functions.
10984
099c39a4 109852011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10986
4d61f28d 10987 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10988 Fix typo in docstring.
10989
3726838a
EZ
109902011-04-08 Eli Zaretskii <eliz@gnu.org>
10991
04f33f1e
EZ
10992 * files.el (file-size-human-readable): Produce one digit after
10993 decimal, like "ls -lh" does.
10994
10995 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10996 the file size representation.
10997
3726838a
EZ
10998 * simple.el (list-processes): If async subprocesses are not
10999 available, error out with a clear error message.
11000
cbb59342
CY
110012011-04-08 Chong Yidong <cyd@stupidchicken.com>
11002
11003 * help.el (help-form-show): New function, to be called from C.
11004 Put help-form output in a buffer named differently than *Help*.
11005
e3971c44
EZ
110062011-04-08 Eli Zaretskii <eliz@gnu.org>
11007
11008 * files.el (file-size-human-readable): New function.
11009
11010 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11011 computing the representation inline. Don't require `cl'.
11012
12544bbe
GM
110132011-04-08 Glenn Morris <rgm@gnu.org>
11014
a1de6c6a
GM
11015 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11016
3c4671f4
GM
11017 * net/browse-url.el (browse-url-firefox):
11018 Test system-type, not system-configuration.
11019
b605679c
GM
11020 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11021 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11022 Use log-edit-empty-buffer-p. (Bug#7598)
11023
56442f0c
GM
11024 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11025 (rlogin-mode-map): Initialize in the defvar.
11026 (rlogin): Use ignore-errors.
11027
12544bbe
GM
11028 * replace.el (occur-mode-map): Some fixes for menu items.
11029
eb237b0f
AH
110302011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11031
11032 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11033
7d668f2c
CY
110342011-04-06 Chong Yidong <cyd@stupidchicken.com>
11035
e67a13ab
CY
11036 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11037 issuing unused warnings.
11038
11039 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11040 macro directly.
11041
7d668f2c
CY
11042 * simple.el: Lisp reimplement of list-processes. Based on an
11043 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11044 (process-menu-mode): New major mode.
11045 (list-processes--refresh, list-processes):
11046 (process-menu-visit-buffer): New functions.
11047
11048 * files.el (save-buffers-kill-emacs): Don't assume any return
11049 value of list-processes, which is undocumented anyway.
11050
a83ec3c9
CY
110512011-04-06 Chong Yidong <cyd@stupidchicken.com>
11052
11053 * emacs-lisp/tabulated-list.el: New file.
11054
e91a96fe
CY
11055 * emacs-lisp/package.el: Use Tabulated List mode.
11056 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11057 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11058 table format using Tabulated List mode variables.
11059 (package--push): New macro, replacing package-list-maybe-add.
11060 (package-menu--generate): Use package--push. Renamed from
11061 package--generate-package-list.
11062 (package-menu-refresh, list-packages): Use it.
daca8ba5 11063 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11064 Return insertion data instead of inserting it directly.
099c39a4
JB
11065 (package-menu-describe-package, package-menu-execute):
11066 Use tabulated-list-get-id.
e91a96fe
CY
11067 (package-menu-mark-delete, package-menu-mark-install)
11068 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11069 (package-menu-mark-obsolete-for-deletion):
11070 Use tabulated-list-put-tag.
e91a96fe
CY
11071 (package--list-packages, package-menu-revert)
11072 (package-menu-get-package, package-menu-get-version)
11073 (package-menu-sort-by-column): Functions deleted.
11074 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11075 (package-menu--status-predicate, package-menu--version-predicate)
11076 (package-menu--name-predicate)
11077 (package-menu--description-predicate): Handle arguments in the
11078 Tabulated List format.
11079 (package-list-packages-no-fetch): Call list-packages.
11080
3e214b50
JB
110812011-04-06 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11084 (after-find-file): Don't bind it.
3e214b50
JB
11085 (revert-buffer-in-progress-p): New variable.
11086 (revert-buffer): Bind it.
11087 Pass nil for `after-find-file-from-revert-buffer'.
11088
11089 * saveplace.el (save-place-find-file-hook): Use new variable
11090 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11091
3f0f1700
GM
110922011-04-06 Glenn Morris <rgm@gnu.org>
11093
c0274801
GM
11094 * Makefile.in (AUTOGEN_VCS): New variable.
11095 (autoloads): Use $AUTOGEN_VCS.
11096
3f0f1700
GM
11097 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11098 * calendar/calendar.el (calendar-mode-map):
11099 Check for toolkit scroll bars. (Bug#8305)
11100
41ea9e48
CY
111012011-04-05 Chong Yidong <cyd@stupidchicken.com>
11102
11103 * minibuffer.el (completion-in-region--postch)
11104 (completion-in-region-mode): Remove unnecessary messages.
11105
6194c800
JB
111062011-04-05 Juanma Barranquero <lekktu@gmail.com>
11107
33256f14
JB
11108 * font-lock.el (font-lock-refresh-defaults):
11109 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11110 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11111
6194c800
JB
11112 * info.el (Info-directory-list, Info-read-node-name-2)
11113 (Info-split-parameter-string): Doc fixes.
11114 (Info-virtual-nodes): Reflow docstring.
11115 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11116 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11117 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11118 Fix typos in docstrings.
11119 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11120 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11121 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11122 (Info-restore-desktop-buffer): Mark unused parameters.
11123 (Info-directory-find-file, Info-directory-find-node)
11124 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11125 (Info-virtual-index-find-node, Info-apropos-find-file)
11126 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11127 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11128 (Info-virtual-index): Remove unused local variable `nodename'.
11129
b87a8200 111302011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11131
b87a8200
DD
11132 * net/rcirc.el: Update my e-mail address.
11133 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11134
3b2ff876
CY
111352011-04-05 Chong Yidong <cyd@stupidchicken.com>
11136
11137 * startup.el (command-line): Save the cursor's theme-face
11138 directly, instead of using face-override-spec.
11139
11140 * custom.el (load-theme): Minor optimization in assigning faces.
11141
8d17e7ca
JB
111422011-04-04 Juanma Barranquero <lekktu@gmail.com>
11143
11144 * help-fns.el (describe-variable): Complete all variables having
11145 documentation, including keywords.
11146 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11147
2fbc1934
JB
111482011-04-04 Juanma Barranquero <lekktu@gmail.com>
11149
11150 Convert to lexical-binding.
11151
11152 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11153 (bs--get-marked-string, bs--get-modified-string)
11154 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11155 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11156 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11157
11158 * ehelp.el (electric-help-execute-extended)
11159 (electric-help-ctrl-x-prefix):
11160 * hexl.el (hexl-revert-buffer-function):
11161 * linum.el (linum-after-change, linum-after-scroll):
11162 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11163
11164 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11165
74f50695
DU
111662011-04-04 Daiki Ueno <ueno@unixuser.org>
11167
11168 * epa-dired.el:
11169 * epa-mail.el:
11170 * epa-hook.el:
11171 * epa-file.el:
11172 * epa.el:
11173 * epg.el: Use lexical binding.
11174
c11325f7
CY
111752011-04-03 Chong Yidong <cyd@stupidchicken.com>
11176
0d9e9a12
CY
11177 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11178
c11325f7 11179 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11180 dictionary case for flyspell-mark-duplications-exceptions.
11181 Use regexp matching for languages.
c11325f7
CY
11182 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11183 default dictionary (Bug#7926).
11184
da91b5f2
CY
111852011-04-02 Chong Yidong <cyd@stupidchicken.com>
11186
099c39a4
JB
11187 * emacs-lisp/package.el (package--with-work-buffer):
11188 Recognize https URLs.
da91b5f2 11189
099c39a4
JB
11190 * net/network-stream.el: Move from gnus/proto-stream.el.
11191 Change prefix to network-stream throughout.
da91b5f2
CY
11192 (open-protocol-stream): Merge into open-network-stream, leaving
11193 open-protocol-stream as an alias. Handle nil BUFFER args.
11194
11195 * subr.el (open-network-stream): Move to net/network-stream.el.
11196
afa8e9f6
GM
111972011-04-02 Glenn Morris <rgm@gnu.org>
11198
1d2e369d
GM
11199 * find-dired.el (find-exec-terminator): New option.
11200 (find-ls-option): Test for -ls support.
11201 (find-ls-subdir-switches): Test for -b in find-ls-option.
11202 (find-dired, find-grep-dired): Doc fixes.
11203 (find-dired): Use find-exec-terminator.
11204
8abb7da8 11205 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11206 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11207 (find-name-arg): Remove purecopy.
8abb7da8 11208
f3ca7378
GM
11209 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11210 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11211 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11212 accordingly. Don't add the null-device if not needed.
11213
afa8e9f6
GM
11214 * files.el (save-some-buffers): Doc fix.
11215
35eae264
EZ
112162011-04-02 Eli Zaretskii <eliz@gnu.org>
11217
11218 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11219
26b51db5
JB
112202011-04-01 Juanma Barranquero <lekktu@gmail.com>
11221
11222 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11223 Use `dolist' rather than `mapcar'.
11224
7200d79c
SM
112252011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11226
03408648 11227 Add lexical binding.
7200d79c 11228
03408648
SM
11229 * subr.el (apply-partially): Use new closures rather than CL.
11230 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11231 (dolist, dotimes): Use slightly different expansion for lexical code.
11232 (functionp): Move to C.
11233 (letrec): New macro.
11234 (with-wrapper-hook): Use it and apply-partially instead of CL.
11235 (eval-after-load): Preserve lexical-binding.
11236 (save-window-excursion, with-output-to-temp-buffer): Turn them
11237 into macros.
7200d79c 11238
03408648
SM
11239 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11240
11241 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11242 than the arglist.
11243 (help-add-fundoc-usage): Don't add `Not documented'.
11244 (help-function-arglist): Handle closures, subroutines, and new
11245 byte-code-functions.
11246 (help-make-usage): Remove leading underscores.
11247 (describe-function-1): Handle closures.
11248 (describe-variable): Use special-variable-p for completion.
11249
11250 * files.el (lexical-binding): Declare safe.
f488fb65 11251
03408648
SM
11252 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11253 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11254 (pcase): Add `let' pattern.
11255 Change memoization so it actually works.
11256 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11257 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11258 <let>: New case.
f488fb65 11259
03408648
SM
11260 * emacs-lisp/macroexp.el: Use lexical binding.
11261 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11262 Don't convert ' to #' without checking that it's indeed quoting
11263 a lambda.
11264
11265 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11266 Use eval-sexp-add-defvars.
03408648
SM
11267 (eval-sexp-add-defvars): New fun.
11268
11269 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11270
11271 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11272 Don't autoload.
11273 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11274 than the internal `byte-compile-lambda'.
11275 (defmethod): Don't hide code under quotes.
11276 (eieio-defmethod): New `code' argument.
11277
11278 * emacs-lisp/eieio-comp.el: Remove.
11279
11280 * emacs-lisp/edebug.el (edebug-eval-defun)
11281 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11282 (edebug-toggle): Avoid `eval'.
11283
11284 * emacs-lisp/disass.el (disassemble-internal): Handle new
11285 `closure' objects.
11286 (disassemble-1): Handle new byte codes.
11287
11288 * emacs-lisp/cl.el (pushnew): Silence warning.
11289
11290 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11291 (cl-byte-compile-throw): Remove.
11292 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11293
11294 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11295 closures.
11296
11297 * emacs-lisp/cconv.el: New file.
11298
11299 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11300 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11301 (byte-compile-initial-macro-environment):
11302 Handle declare-function here.
11303 (byte-compile--lexical-environment): New var.
11304 (byte-stack-ref, byte-stack-set, byte-discardN)
11305 (byte-discardN-preserve-tos): New lap codes.
11306 (byte-interactive-p): Don't use any more.
11307 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11308 New macros.
11309 (byte-compile-lapcode): Use them and handle new lap codes.
11310 (byte-compile-obsolete): Remove.
11311 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11312 (byte-compile-arglist-warn): Check late def of inlinable funs.
11313 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11314 since they should have been expanded by now.
11315 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11316 (byte-compile-from-buffer): Remove unused second arg.
11317 (byte-compile-preprocess): New function.
11318 (byte-compile-toplevel-file-form): New function to distinguish
11319 file-form calls from outside from file-form calls from hunk-handlers.
11320 (byte-compile-file-form): Simplify.
11321 (byte-compile-file-form-defsubst): Remove.
11322 (byte-compile-file-form-defmumble): Simplify now that
11323 byte-compile-lambda always returns a byte-code-function.
11324 (byte-compile): Preprocess.
11325 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11326 Remove, not used any more.
11327 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11328 (byte-compile-make-args-desc): New funs.
11329 (byte-compile-lambda): Handle lexical functions. Always return
11330 a byte-code-function.
11331 (byte-compile-reserved-constants): New var, to make up room for
11332 closed-over variables.
11333 (byte-compile-constants-vector): Obey it.
11334 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11335 (byte-compile-macroexpand-declare-function): New function.
11336 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11337 byte-code-functions.
11338 (byte-compile-form): Check obsolescence here.
11339 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11340 (byte-compile-variable-ref): Remove.
11341 (byte-compile-dynamic-variable-op): New fun.
11342 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11343 (byte-compile-variable-set): New funs.
11344 (byte-compile-discard): Add 2 args.
11345 (byte-compile-stack-ref, byte-compile-stack-set)
11346 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11347 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11348 macroexpand-all instead.
11349 (byte-compile-quote-form): Remove.
11350 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11351 (byte-compile-bind, byte-compile-unbind): New funs.
11352 (byte-compile-let): Handle let* and lexical binding.
11353 (byte-compile-let*): Remove.
11354 (byte-compile-catch, byte-compile-unwind-protect)
11355 (byte-compile-track-mouse, byte-compile-condition-case):
11356 Handle a new :fun-body form, used for lexical scoping.
11357 (byte-compile-save-window-excursion)
11358 (byte-compile-with-output-to-temp-buffer): Remove.
11359 (byte-compile-defun): Simplify.
11360 (byte-compile-stack-adjustment): New fun.
11361 (byte-compile-out): Use it.
11362 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11363
11364 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11365 handler any more.
11366
11367 * emacs-lisp/byte-opt.el: Use lexical binding.
11368 (byte-inline-lapcode): Remove (to bytecomp).
11369 (byte-compile-inline-expand): Pay attention to inlining to/from
11370 lexically bound code.
11371 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11372 any more.
11373 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11374 any more and don't call compiler-macros.
11375 (byte-compile-splice-in-already-compiled-code): Remove.
11376 (byte-code): Don't inline any more.
11377 (disassemble-offset): Receive `bytes' as argument rather than via
11378 dynamic scoping.
11379 (byte-compile-tag-number): Declare before first use.
11380 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11381 `return' even if make-spliceable.
11382 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11383 obsolete interactive-p.
11384 (byte-optimize-lapcode): Optimize new lap-codes.
11385 Don't trip up on new form of `byte-constant' lap code.
11386
11387 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11388
11389 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11390
11391 * custom.el (custom-initialize-default, custom-declare-variable):
11392 Use `defvar'.
11393
11394 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11395 New variables.
11396 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11397 (COMPILE_FIRST): Add macroexp and cconv.
11398 * makefile.w32-in: Mirror changes in Makefile.in.
11399
11400 * vc/cvs-status.el:
11401 * vc/diff-mode.el:
11402 * vc/log-edit.el:
11403 * vc/log-view.el:
11404 * vc/smerge-mode.el:
11405 * textmodes/bibtex-style.el:
11406 * textmodes/css.el:
11407 * startup.el:
11408 * uniquify.el:
da91b5f2
CY
11409 * minibuffer.el:
11410 * newcomment.el:
11411 * reveal.el:
11412 * server.el:
11413 * mpc.el:
11414 * emacs-lisp/smie.el:
11415 * doc-view.el:
11416 * dired.el:
03408648
SM
11417 * abbrev.el: Use lexical binding.
11418
0f0c1f27
EZ
114192011-04-01 Eli Zaretskii <eliz@gnu.org>
11420
11421 * info.el (info-display-manual): New function.
11422
c82b2579
SM
114232011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11426
221ddf68
TH
114272011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11428
11429 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11430 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11431
cba6e77e
GM
114322011-03-31 Glenn Morris <rgm@gnu.org>
11433
e040639f
GM
11434 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11435
cba6e77e
GM
11436 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11437
6d0f1c9e
CS
114382011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11439
11440 * progmodes/python.el (python-default-interpreter)
11441 (python-python-command-args, python-jython-command-args)
11442 (python-which-shell, python-which-args, python-which-bufname)
11443 (python-file-queue, python-comint-output-filter-function)
11444 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11445 variables and functions.
11446
3e2d70fd
SM
114472011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11450 (completion-in-region-mode): New minor mode.
11451 (completion-in-region): Use it.
11452 (completion-in-region--data, completion-in-region-mode-map): New vars.
11453 (completion-in-region--postch): New function.
11454 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11455 New vars.
11456 (completion--capf-wrapper): New function.
11457 (completion-at-point): Use it to track well-behavedness of
11458 hook functions.
11459 (completion-help-at-point): New command.
11460
f3e4086c
JM
114612011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11462
11463 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11464 syntax class to search for whitespace on a single line
11465 (Message-ID: <4D938140.4030905@redhat.com>).
11466
eb7ffc14
LL
114672011-03-30 Leo Liu <sdl.web@gmail.com>
11468
11469 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11470 New commands.
11471 (edit-abbrevs-map): Bind them here.
11472 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11473
d806ab68
KM
114742011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11475
11476 * allout.el (allout-hide-by-annotation, allout-flag-region):
11477 Reduce possibility of overlay leakage by making them volatile.
11478
11479 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11480 hash is not shared between buffers. Mode initialization is
11481 responsible for giving it a useful starting value.
11482 (allout-item-span): Reduce possibility of overlay leakage by
11483 making them volatile.
11484 (allout-widgets-count-buttons-in-region): Add diagnostic function
11485 for tracking down button overlay leaks.
11486
ea622834
LL
114872011-03-29 Leo Liu <sdl.web@gmail.com>
11488
11489 * ido.el (ido-read-internal): Use the default history var
11490 minibuffer-history if no HISTORY is specified.
11491
b62f8267
G
114922011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11493
03408648
SM
11494 * net/imap.el (imap-shell-open, imap-process-connection-type):
11495 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11496 Kerberos, SSL, other subprocesses.
11497
947b6566
LL
114982011-03-28 Leo Liu <sdl.web@gmail.com>
11499
11500 * abbrev.el (abbrev-table-empty-p): New function.
11501 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11502 nonempty ones. (Bug#5937)
11503
5ffb62aa
JD
115042011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11505
11506 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11507
7a097943
LL
115082011-03-27 Leo Liu <sdl.web@gmail.com>
11509
11510 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11511 for foreground and background colors.
11512 (ansi-color-make-color-map): Adapt.
11513
c5b40130
LL
115142011-03-25 Leo Liu <sdl.web@gmail.com>
11515
1f48f7d2
LL
11516 * midnight.el (midnight-time-float): Remove. Note it calculates
11517 the microsecond component incorrectly and seconds-to-time does the
11518 same job.
625897ec 11519 Remove redundant (require 'timer).
1f48f7d2 11520
c5b40130
LL
11521 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11522 (ido-completions): Remove unused arguments. (Bug#8329)
11523
d86d2721
SM
115242011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * minibuffer.el (completion--flush-all-sorted-completions):
11527 Remove itself from hook.
11528 (completion-at-point): Let the functions perform the completion
11529 immediately and return nil or t.
11530 * comint.el (comint-dynamic-complete-functions): Now identical to
11531 completion-at-point-functions.
11532 (comint-dynamic-list-input-ring): Remove unused var `index'.
11533 (comint--match-partial-filename, comint--unquote&expand-filename):
11534 New funs, split from comint-match-partial-filename.
11535 (comint-dynamic-complete): Use completion-at-point.
11536 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11537
e8974c48
DA
115382011-03-24 Drew Adams <drew.adams@oracle.com>
11539
11540 * thingatpt.el: Support `defun'.
11541
def71b5e
LL
115422011-03-23 Leo Liu <sdl.web@gmail.com>
11543
cb5af48e
LL
11544 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11545
def71b5e
LL
11546 * help-mode.el (help-mode-finish): Tweak regexp.
11547
927c53e7
GM
115482011-03-23 Glenn Morris <rgm@gnu.org>
11549
18d05bed
GM
11550 * eshell/esh-opt.el (eshell-eval-using-options):
11551 Do not bind unused local variable `eshell-option-stub'.
11552
927c53e7
GM
11553 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11554
9d0da923
JB
115552011-03-22 Juanma Barranquero <lekktu@gmail.com>
11556
11557 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11558 keymap variable in `with-no-warnings' to avoid a warning when the
11559 keymap has been already `defconst'ed.
11560
4b978a67
LL
115612011-03-22 Leo Liu <sdl.web@gmail.com>
11562
11563 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11564 encode all chars in abbrevs; otherwise use emacs-mule or
11565 utf-8-emacs. (Bug#8308)
11566
5fd62452
JB
115672011-03-22 Juanma Barranquero <lekktu@gmail.com>
11568
0b1596c6
JB
11569 * simple.el (backward-delete-char-untabify):
11570 Avoid warning about using `delete-backward-char'.
11571
5fd62452
JB
11572 * image.el (image-type-file-name-regexps): Make it variable.
11573 `imagemagick-register-types' modifies it, and the user may want
11574 to add new extensions for known image types.
11575 (imagemagick-register-types): Throw error if not using ImageMagick.
11576
0b4e93f1
LL
115772011-03-22 Leo Liu <sdl.web@gmail.com>
11578
11579 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11580 located before rcirc-prompt-end-marker.
11581 (rcirc-complete): Error if point is not after rcirc prompt.
11582 Handle the case when table is nil.
9882e214 11583 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11584
fccee4ab
CY
115852011-03-22 Chong Yidong <cyd@stupidchicken.com>
11586
11587 * custom.el (custom--inhibit-theme-enable): Make it affect only
11588 custom-theme-set-variables and custom-theme-set-faces.
11589 (provide-theme): Ignore custom--inhibit-theme-enable.
11590 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11591 (custom-enabling-themes): Delete variable.
d86d2721
SM
11592 (enable-theme): Accept only loaded themes as arguments.
11593 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11594 (custom-enabled-themes): Forbid themes from setting this.
11595 Eliminate use of custom-enabling-themes.
11596 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11597
af896da6
LL
115982011-03-21 Leo Liu <sdl.web@gmail.com>
11599
11600 * ido.el (ido-read-internal): Add ido-selected to history instead
11601 of user input.
11602
78f64af0
SM
116032011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * subr.el (deferred-action-list, deferred-action-function):
11606 Mark obsolete.
11607
b16ac1ec
LL
116082011-03-21 Leo Liu <sdl.web@gmail.com>
11609
810f7698
LL
11610 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11611 change on 2011-02-13 (bug#8309).
11612
b16ac1ec
LL
11613 * minibuffer.el (read-file-name-function): Change default value.
11614 (read-file-name--defaults): Rename from read-file-name-defaults.
11615 (read-file-name-default): Rename from read-file-name.
11616 (read-file-name): Call read-file-name-function.
11617
4e05e67e
GM
116182011-03-21 Glenn Morris <rgm@gnu.org>
11619
11620 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11621 Doc fixes.
11622
4359915b
CY
116232011-03-21 Chong Yidong <cyd@stupidchicken.com>
11624
11625 * cus-theme.el: Add missing provide statement.
11626 (customize-create-theme): Extract theme value correctly.
11627 (custom-theme-visit-theme): Autoload.
11628 (customize-create-theme): Prompt before inserting default faces.
11629
1fe275ee
JB
116302011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11631
11632 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11633 units and musical notes.
11634
cd394be1 116352011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11636
11637 * ido.el (ido-read-internal): Use completing-read-default.
11638 (ido-completing-read): Fix compatibility with completing-read.
11639
7d476bde
CO
116402011-03-20 Christian Ohler <ohler@gnu.org>
11641
11642 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11643 (ert-delete-all-tests): Use `called-interactively-p' rather than
11644 `interactive-p'.
11645 (ert--make-xrefs-region): Respect END.
11646
fe0fb33e
CY
116472011-03-19 Chong Yidong <cyd@stupidchicken.com>
11648
ff854b0b
CY
11649 * dired-aux.el (dired-create-directory): Signal an error if the
11650 directory already exists (Bug#8246).
11651
fe0fb33e
CY
11652 * facemenu.el (list-colors-display): Call list-faces-display
11653 inside with-help-window.
11654 (list-colors-print): Use display property to align the final
11655 column, instead of checking window-width.
11656
576bce32
EZ
116572011-03-19 Eli Zaretskii <eliz@gnu.org>
11658
4d61f28d 11659 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11660 windows-nt systems.
11661 (emerge-protect-metachars): Quote correctly for ms-dos and
11662 windows-nt systems.
11663
89c41d68 116642011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11665
11666 * info.el (info-initialize): Replace all uses of `:' with
11667 path-separator for compatibility with non-Unix systems.
11668 Cache quoting of path-separator. (Bug#8258)
11669
b14e3e21 116702011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11671
11672 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11673 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11674 (mouse-avoidance-mode): Fix typos in docstrings.
11675
4525ce3e
CY
116762011-03-19 Chong Yidong <cyd@stupidchicken.com>
11677
11678 * startup.el (package-subdirectory-regexp): Move from package.el.
11679 Omit \\` and \\', and let callers add them.
11680
11681 * emacs-lisp/package.el (package-strip-version)
11682 (package-load-all-descriptors): Add \\` and \\' to
11683 package-subdirectory-regexp before using it.
11684 (package-untar-buffer): New arg DIR; ensure that file untars only
11685 into this expected directory. Remove superfluous delete-region.
11686 (package-unpack): Caller changed.
11687 (package-tar-file-info): Use package-subdirectory-regexp.
11688
a904a09a 116892011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11690
a904a09a
SM
11691 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11692 diff-mode-shared-map (bug#8284).
11693 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11694
116952011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11696
11697 * calendar/time-date.el (format-seconds): Use assoc instead of
11698 assoc-string, since assoc-string doesn't exist in XEmacs.
11699
171fc304
JB
117002011-03-17 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * custom.el (custom-known-themes): Reflow docstring.
11703 (custom-theme-load-path): Fix typo in docstring.
11704 (load-theme): Fix typo in error message.
11705 (custom-available-themes, custom-variable-theme-value):
11706 Use `let', not `let*'.
11707
d71990a1
JB
117082011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11709
11710 * calc/README: Mention inclusion of musical notes.
11711
11712 * calc/calc-units.el (calc-lu-quant): Rename from
11713 `calc-logunits-quantity'.
11714 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11715 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11716 (calc-db): Rename from `calc-dblevel'.
11717 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11718 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11719 (calc-np): Rename from `calc-nplevel'.
11720 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11721 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11722 (calc-lu-plus): Rename from `calc-logunits-add'.
11723 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11724 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11725 (calc-lu-minus): Rename from `calc-logunits-sub'.
11726 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11727 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11728 (calc-lu-times): Rename from `calc-logunits-mul'.
11729 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11730 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11731 (calc-lu-divide): Rename from `calc-logunits-div'.
11732 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11733 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11734
11735 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11736 functions being autoloaded.
11737
11738 * calc/calc.el (calc-lu-power-reference): Rename from
11739 `calc-logunits-power-reference'.
11740 (calc-lu-field-reference): Rename from
11741 `calc-logunits-field-reference'.
11742
7a71b18d
GM
11743 * calc/calc-help.el (calc-l-prefix-help):
11744 Mention musical note functions.
d71990a1 11745
40c2934b
SM
117462011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * minibuffer.el (completion-all-sorted-completions):
11749 Use :completion-cycle-penalty text property if present.
11750
b0911414
KM
117512011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11752
11753 * allout.el (allout-yank-processing): Adjust for new rebulleting
11754 regime so bullet being yanked is used without prompting the user
11755 for a choice.
11756
8a05b668
JB
117572011-03-16 Juanma Barranquero <lekktu@gmail.com>
11758
11759 * startup.el (command-line): Warn the user that _emacs is deprecated.
11760
5ba5fb81
JB
117612011-03-16 Juanma Barranquero <lekktu@gmail.com>
11762
11763 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11764 (delphi-verbose, delphi-comment-face, delphi-string-face)
11765 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11766 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11767 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11768 (delphi-new-comment-line, delphi-font-lock-defaults)
11769 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11770 Fix typos in docstrings.
11771
2dab465b
KM
117722011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11773
5ba5fb81 11774 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11775 Invert the roles of character and string values for INSTEAD, so a
11776 string is used for the more common case of a defaulting prompt.
11777
0adf5618
SM
117782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11779
11780 * progmodes/ruby-mode.el (ruby-backward-sexp):
11781 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11782 * play/gamegrid.el (gamegrid-make-face):
11783 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11784 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11785 * notifications.el (notifications-notify):
11786 * net/xesam.el (xesam-search-engines):
11787 * net/quickurl.el (quickurl-list-insert):
11788 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11789
d72700e5
CY
117902011-03-15 Chong Yidong <cyd@stupidchicken.com>
11791
11792 * startup.el (command-line): Update package subdirectory regexp.
11793
49c5410a
SM
117942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11795
c6eee9aa
SM
11796 * allout.el (allout-abbreviate-flattened-numbering)
11797 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11798
49c5410a
SM
11799 * subr.el (read-char-choice): Only show the cursor after the prompt,
11800 not after the answer.
11801
047b2bb9
KR
118022011-03-15 Kevin Ryde <user42@zip.com.au>
11803
11804 * help-fns.el (variable-at-point): Skip leading quotes, if any
11805 (bug#8253).
11806
0a57d256
SM
118072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11810 warning message.
11811
77c992bc
MA
118122011-03-14 Michael Albinus <michael.albinus@gmx.de>
11813
11814 * shell.el (shell): When called interactively, offer to change the
11815 shell file name on remote hosts.
11816
eebc475d
TZ
118172011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11818
11819 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11820 integration for LDAP parameters. The host, base, user or binddn,
11821 and secret tokens can be specified in a netrc file, for instance.
11822 This is optional because an `auth-source' parameter must be
11823 specified in the search attributes.
11824
9d05d1ba
JB
118252011-03-13 Juanma Barranquero <lekktu@gmail.com>
11826
11827 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11828
09d9db2c
GM
118292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11832 into declaration. Remove redundant and harmful binding.
11833
118342011-03-12 Eli Zaretskii <eliz@gnu.org>
11835
11836 * files.el (file-ownership-preserved-p): Pass `integer' as an
11837 explicit 2nd argument to `file-attributes'. If the file's owner
11838 is the Administrators group on Windows, and the current user is
11839 Administrator, consider that a match.
11840
11841 * server.el (server-ensure-safe-dir): Consider server directory
11842 safe on MS-Windows if its owner is the Administrators group while
11843 the current Emacs user is Administrator. Use `=' to compare
11844 numerical UIDs, since they could be integers or floats.
11845
219bd536
JB
118462011-03-12 Juanma Barranquero <lekktu@gmail.com>
11847
11848 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11849
f3afd36b
MA
118502011-03-12 Michael Albinus <michael.albinus@gmx.de>
11851
11852 Sync with Tramp 2.2.1.
11853
11854 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11855
11856 * net/trampver.el: Update release number.
11857
3aaaa6f1
SM
118582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11859
94642599
SM
11860 * progmodes/compile.el (compilation--previous-directory): Fix up
11861 various nil/dead-marker mismatches (bug#8014).
11862 (compilation-directory-properties, compilation-error-properties):
11863 Don't call it at a position past the one we're about to change.
11864
3aaaa6f1
SM
11865 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11866 Disable obsolescence warnings in the file that declares it.
11867
14239447
KM
118682011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11869
099c39a4
JB
11870 * allout-widgets.el (allout-widgets-tally):
11871 Initialize allout-widgets-tally as a hash table rather than nil to
11872 prevent mode-line redisplay warnings. Also, clarify the module
11873 description and fix a comment typo.
14239447 11874
135e287c
JB
118752011-03-11 Juanma Barranquero <lekktu@gmail.com>
11876
11877 * help-fns.el (describe-variable): Don't complete keywords.
11878 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11879
ffbf300e
CY
118802011-03-10 Chong Yidong <cyd@stupidchicken.com>
11881
ba08b241
CY
11882 * emacs-lisp/package.el (package-version-join): Impose a standard
11883 string representation for pre/alpha/beta version lists.
11884 (package-unpack-single): Standardize the directory name by passing
11885 it through package-version-join.
11886 (package-strip-rcs-id): Accept any version string that does not
11887 signal an error in version-to-list.
ffbf300e 11888
f346fd6b
MA
118892011-03-10 Michael Albinus <michael.albinus@gmx.de>
11890
11891 * simple.el (delete-trailing-whitespace): Return nil for the
11892 benefit of `write-file-functions'.
11893
ccb55d27
GM
118942011-03-10 Glenn Morris <rgm@gnu.org>
11895
5ceaac0c
GM
11896 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11897
02da65ff
GM
11898 * vc/vc-git.el (vc-git-program): New option.
11899 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11900 (vc-git--call): Use it.
11901
b2f603cc
GM
11902 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11903
5772caab
GM
11904 * cus-edit.el (Custom-newline): If no button at point, look
11905 for a subgroup button at start-of-line. (Bug#2298)
11906
ccb55d27
GM
11907 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11908
ec6ecaed
JD
119092011-03-10 Julien Danjou <julien@danjou.info>
11910
11911 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11912 `cursor-type' is nil.
11913
9d5aa01d
JB
119142011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11915
11916 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11917
b6a5875b
KM
119182011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11919
7a71b18d 11920 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11921 preserves the existing header prefix, rebulleting it if necessary,
11922 rather than replacing it. This is necessary for proper operation
11923 of cooperative addons like allout-widgets.
1154d12e
JB
11924 (allout-make-topic-prefix, allout-rebullet-heading):
11925 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11926 value as alternate bullet to be used, instead of prompting the user
11927 for a bullet character.
b6a5875b 11928
ee545c35
MA
119292011-03-09 Michael Albinus <michael.albinus@gmx.de>
11930
d86d2721
SM
11931 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11932 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11933 `tramp-default-port'.
11934
c47971d7
DD
119352011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11936
11937 * net/rcirc.el (rcirc-handler-001): Remove useless
11938 with-rcirc-process-buffer.
11939 (rcirc-check-auth-status): Swap arguments to string-match.
11940
13522cb4
GM
119412011-03-09 Glenn Morris <rgm@gnu.org>
11942
0be6f4f1
GM
11943 * shell.el (shell-mode):
11944 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11945
13522cb4
GM
11946 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11947 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11948
515de2e3
CY
119492011-03-08 Chong Yidong <cyd@stupidchicken.com>
11950
11951 * emacs-lisp/package.el (package-refresh-contents)
11952 (package-menu-execute): Use condition-case-no-debug.
11953
b511b994
MA
119542011-03-08 Michael Albinus <michael.albinus@gmx.de>
11955
11956 * simple.el (shell-command-to-string): Use `process-file'.
11957
11958 * emacs-lisp/package.el (package-tar-file-info): Handle also
11959 remote files.
11960
d86d2721
SM
11961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11962 Use `equal' for upload base check.
b511b994 11963
25bbfb31
AM
119642011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11965
11966 * textmodes/texinfo.el (texinfo-environments):
11967 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11968
be996521
GM
119692011-03-08 Glenn Morris <rgm@gnu.org>
11970
e9c8529f
GM
11971 * cus-start.el (cursor-in-non-selected-windows):
11972 Fix :set quoting oddness. (Bug#8192)
11973
be996521
GM
11974 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11975 in some setf expressions. (Bug#2159)
11976
2bb5649e
CY
119772011-03-08 Chong Yidong <cyd@stupidchicken.com>
11978
11979 * custom.el (custom-available-themes): Return themes in
11980 alphabetical order.
11981
33383987 11982See ChangeLog.15 for earlier changes.
e3d51b27
MR
11983
11984;; Local Variables:
11985;; coding: utf-8
e3d51b27
MR
11986;; End:
11987
acaf905b 11988 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11989
11990 This file is part of GNU Emacs.
11991
11992 GNU Emacs is free software: you can redistribute it and/or modify
11993 it under the terms of the GNU General Public License as published by
11994 the Free Software Foundation, either version 3 of the License, or
11995 (at your option) any later version.
11996
11997 GNU Emacs is distributed in the hope that it will be useful,
11998 but WITHOUT ANY WARRANTY; without even the implied warranty of
11999 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12000 GNU General Public License for more details.
12001
12002 You should have received a copy of the GNU General Public License
12003 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.