Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a38c310c
GM
12012-04-11 Glenn Morris <rgm@gnu.org>
2
3 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4 (vc-bzr-sha1): Use internal sha1.
5
0221e323
SM
62012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9
43956923
SG
102012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11
12 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13 that start in the middle of the line (bug#10496).
14
6a8c9eaf
DN
152012-04-10 Dan Nicolaescu <dann@gnu.org>
16
17 * battery.el (battery-linux-proc-acpi): Only one battery is
18 discharged at a time, but that seems to confuse battery.el when
19 computing `rate-type' for the battery not being discharged
20 (bug#10332).
21
1930bf5d
SM
222012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
23
2a718f6f
SM
24 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
25
599430d0
SM
26 * international/quail.el: Use dolist and simplify.
27 (quail-define-package, quail-update-keyboard-layout)
28 (quail-define-rules): Use dolist.
29 (quail-insert-kbd-layout, quail-get-translation): CSE.
30
a2754b6c
SM
31 * tmm.el: Use dolist, remove left over hook.
32 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
33 Use dolist.
34 (calendar-load-hook): Don't mess with it.
35
1930bf5d
SM
36 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
37 Use derived-mode-p. Run the diff asynchronously.
38
9f67961c
LMI
392012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
40
41 * obsolete/mouse-sel.el: Add an Obsolete-since header.
42
2a8ce227
JB
432012-04-10 Juanma Barranquero <lekktu@gmail.com>
44
45 * misc.el: Display absolute path of loaded DLLs (bug#10424).
46 (list-dynamic-libraries--loaded): New function.
47 (list-dynamic-libraries--refresh): Use it.
48
8f33b5f8
NW
492012-04-10 Nathan Weizenbaum <nweiz@google.com>
50
1930bf5d
SM
51 * progmodes/python.el (python-fill-paragraph):
52 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
53 disabled (bug#7018).
54
b12f0439
L
552012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
56
1930bf5d 57 * language/european.el (cp775): Add oem/legacy (en)coding on
b12f0439
L
58 DOS/MS Windows for the Baltic languages. There are still plenty of
59 texts written in this encoding/codepage (bug#6519).
60
57c3bd01
GM
612012-04-10 Glenn Morris <rgm@gnu.org>
62
63 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
64 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
65
6c3eab30
FA
662012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
67
1930bf5d 68 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
69 next-line "n" and previous-line "p" in order to make recentf more
70 consistent with ibuffer, dired or org-mode (bug#9387).
71
24d78a88
LMI
722012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
73
bc72b5d9
LMI
74 * image.el (put-image): Return the overlay created instead of the
75 optional input string (bug#7834). Note that this may break code
76 that is (for some reason or other) depending on `put-image'
77 returning the string.
78
bd2dba5a
LMI
79 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
80
74beb59f
LMI
81 * simple.el (zap-to-char): Allow zapping using input methods
82 (bug#1580).
83
24d78a88
LMI
84 * textmodes/fill.el (fill-region): Leave point and mark where they
85 were before filling (bug#5399).
86
263f20cd
GM
872012-04-09 Glenn Morris <rgm@gnu.org>
88
89 * version.el (emacs-bzr-get-version):
90 Handle lightweight checkouts of local branches.
91
58d1f797
AS
922012-04-09 Andreas Schwab <schwab@linux-m68k.org>
93
263f20cd 94 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 95
b4d3bc10
CY
962012-04-09 Chong Yidong <cyd@gnu.org>
97
98 * custom.el (custom-variable-p): Return nil for non-symbol
99 arguments instead of signaling an error.
100 (user-variable-p): Obsolete alias for custom-variable-p.
101
102 * apropos.el (apropos-variable):
103 * files-x.el (read-file-local-variable):
104 * simple.el (set-variable):
105 * woman.el (woman-mini-help):
106 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
107
fd06db5d
GM
1082012-04-09 Glenn Morris <rgm@gnu.org>
109
e5fcdb5e
GM
110 * startup.el (normal-top-level): Don't look for leim-list.el
111 in places where it will not be found. (Bug#910)
112
fd06db5d
GM
113 * international/mule-cmds.el (set-default-coding-systems):
114 * files.el (normal-mode):
115 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
116 This function was removed with ucs-tables.el in 2008.
117
b39bb7e1
EZ
1182012-04-08 Eli Zaretskii <eliz@gnu.org>
119
120 * textmodes/ispell.el (ispell-check-version): For hunspell, set
121 ispell-encoding8-command to "-i", without a trailing space.
122 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
123 separate command-line arguments, to specify the encoding, since
124 that's how hunspell expects it.
125
5c5b8e23
GM
1262012-04-08 Glenn Morris <rgm@gnu.org>
127
128 * loadup.el: Load bindings before cus-start.
129 This reduces somewhat the number of "rogue" settings in emacs -Q.
130
a1ed8b05
GM
1312012-04-07 Glenn Morris <rgm@gnu.org>
132
133 * version.el (emacs-bzr-get-version): New function.
dfae128a 134 (emacs-bzr-version): New variable.
a1ed8b05
GM
135 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
136 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
137
b142f158
EZ
1382012-04-07 Eli Zaretskii <eliz@gnu.org>
139
dfae128a
GM
140 * international/uni-bidi.el, international/uni-category.el:
141 * international/uni-combining.el, international/uni-decimal.el:
142 * international/uni-decomposition.el, international/uni-digit.el:
143 * international/uni-lowercase.el, international/uni-mirrored.el:
144 * international/uni-name.el, international/uni-numeric.el:
145 * international/uni-titlecase.el, international/uni-uppercase.el:
146 Update for Unicode 6.1.
b142f158 147
9078ead6
EZ
1482012-04-07 Eli Zaretskii <eliz@gnu.org>
149
150 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
151
f23d2c7d
LMI
1522012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
153
154 * window.el (shrink-window): Mention the `window-min-height'
155 variable in the doc string.
156
0a0a3573
BG
1572012-04-05 Bastien Guerry <bzg@altern.org>
158
159 * color.el (color-lighten-name): Fix typo.
160
e5248ac9
SM
1612012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * server.el (server--on-display-p): New function.
164 (server--on-display-p): Use it.
165
b4243e22
GV
1662012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
167
168 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
169 (bug#11145).
170
305d9f44
SM
1712012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * comint.el (comint--common-quoted-suffix): Check string boundary
174 before comparing (bug#11158).
175 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
176
3d439cd1
CY
1772012-04-04 Chong Yidong <cyd@gnu.org>
178
321cc491
CY
179 * minibuffer.el (completion-extra-properties): Doc fix.
180
3d439cd1
CY
181 * subr.el (delayed-warnings-hook): Doc fix.
182
2d562c0f
DU
1832012-04-04 Daiki Ueno <ueno@unixuser.org>
184
185 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
186 selection (Bug#11159).
187 (epa-insert-keys): Inform that the default public key will be
188 exported if no key is selected.
189
4443f204
RS
1902012-04-04 Richard Stallman <rms@gnu.org>
191
192 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
193
529c06b6
CY
1942012-04-03 Chong Yidong <cyd@gnu.org>
195
196 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
197 mail-insert-file, not its obsolete alias mail-attach-file.
198
66b907dc
MA
1992012-04-03 Michael Albinus <michael.albinus@gmx.de>
200
201 * notifications.el (notifications-notify): Fix docstring.
202
c0ea195d
GM
2032012-04-02 Glenn Morris <rgm@gnu.org>
204
205 * emacs-lisp/authors.el (authors-aliases): Another addition.
206
5ca64e00
MA
2072012-04-02 Michael Albinus <michael.albinus@gmx.de>
208
209 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
210 `tramp-compat-call-process' instead of `tramp-local-call-process'.
211 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
212
42ee526b
CY
2132012-04-01 Chong Yidong <cyd@gnu.org>
214
215 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
216 Handle root directory properly.
217 (copy-directory): Caller changed.
218
219 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
220 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
221
0b021094
GM
2222012-03-31 Glenn Morris <rgm@gnu.org>
223
40f86458
GM
224 * term/xterm.el (xterm-extra-capabilities): Doc fix.
225
7019c177
GM
226 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
227
a1daddd6
GM
228 * calendar/calendar.el (calendar-window-list)
229 (calendar-hide-window): Restore. (Bug#11140)
230 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
231
0b021094
GM
232 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
233
40311efc
TV
2342012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
235
236 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
237 Check if file is a symlink (Bug#10489).
238
239 * files.el (copy-directory): Likewise.
240
5319014e
CY
2412012-03-30 Chong Yidong <cyd@gnu.org>
242
243 * image.el (imagemagick-types-inhibit)
244 (imagemagick-register-types): Doc fix.
245
935d1290
AM
2462012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
247
248 * ispell.el (ispell-get-extended-character-mode): Disable
249 extended-char-mode for hunspell. hunspell does not support it and
250 treats ~word as ordinary words in pipe mode.
251
61c6e8fd
GM
2522012-03-30 Glenn Morris <rgm@gnu.org>
253
254 * tutorial.el (help-with-tutorial): Ensure local variables don't
255 happen to make the buffer read-only. (Bug#11127)
256
81fdff00
SM
2572012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
260 (perl-calculate-indent): Return `noindent' in strings.
261
6e7a6ec0
SS
2622012-03-28 Sam Steingold <sds@gnu.org>
263
264 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
265 instead of the broken adhockery which does not prevent calendar
266 buffers from being displayed at random after exit.
267 (calendar-window-list, calendar-hide-window): Remove the broken
268 adhockery.
269
fee88ca0
GM
2702012-03-28 Glenn Morris <rgm@gnu.org>
271
272 * replace.el (query-replace-map): Doc fix.
273
38de3354
AS
2742012-03-28 Andreas Schwab <schwab@linux-m68k.org>
275
276 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
277 contents. (Bug#11109)
278
b973155e
SM
2792012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
282 (bug#11077).
283 (avl-tree--check, avl-tree--check-node): New funs.
284
dcb6e7b3
MR
2852012-03-27 Martin Rudalics <rudalics@gmx.at>
286
287 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
288 (switch-to-prev-buffer, switch-to-next-buffer):
289 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
290 showing a buffer already is done on the same frame.
291
b4fa35fa
GM
2922012-03-27 Glenn Morris <rgm@gnu.org>
293
294 * startup.el (mail-host-address): Doc fix.
295
f9210e18
SM
2962012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
299 than 197 variables.
300
c0bf7753
AF
3012012-03-26 Ami Fischman <ami@fischman.org>
302
303 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
304
33da7b16
GM
3052012-03-26 Glenn Morris <rgm@gnu.org>
306
02243d9d
GM
307 * files.el (save-buffers-kill-emacs): Doc fix.
308
33da7b16
GM
309 * startup.el (normal-top-level, command-line, command-line-1):
310 Give them doc strings.
311
e5a69fd0
EZ
3122012-03-25 Eli Zaretskii <eliz@gnu.org>
313
314 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 315 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 316
9a69676a
CY
3172012-03-25 Chong Yidong <cyd@gnu.org>
318
4125cb8b
CY
319 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
320 theme if it was previously enabled before (Bug#11031).
321
dd470960
CY
322 * cus-theme.el (custom-theme-write-faces): Retrieve current face
323 spec with custom-face-get-current-spec if its :shown-value is not
324 determined yet (Bug#9337).
4125cb8b 325 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 326
9a69676a
CY
327 * button.el (button-at): Minor addition to docstring.
328
6e7e90fa
SL
3292012-03-24 Simon Leinen <simon.leinen@gmail.com>
330
331 * vc/vc.el (vc-merge): Fix a prompt.
332
f06e2758
CY
3332012-03-24 Chong Yidong <cyd@gnu.org>
334
335 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
336 point (Bug#9623).
337
6e7e90fa
SL
338 * button.el (button-at): Minor addition to docstring.
339
b9d0879b
SM
3402012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * newcomment.el (comment-choose-indent): No space after BOL.
343
e71cebb3
SS
3442012-03-22 Sam Steingold <sds@gnu.org>
345
346 * window.el (switch-to-prev-buffer): Revert last patch because the
347 bug turned out to be an advertised feature (Elisp manual 28.14).
348
335aff35
GM
3492012-03-22 Glenn Morris <rgm@gnu.org>
350
351 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
352 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
353
c676576a
LMI
3542012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
355
356 * net/network-stream.el (network-stream-open-starttls): Make error
357 message under Windows be less misleading.
358
126f3d39
LW
3592012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
360
361 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
362 understands (bug#9942).
363
64fee311
CY
3642012-03-22 Chong Yidong <cyd@gnu.org>
365
366 * simple.el (end-of-visible-line): Handle return value of
367 next-single-property-change properly (Bug#9371).
368
a640d29a
KH
3692012-03-22 Kenichi Handa <handa@m17n.org>
370
371 * international/quail.el (quail-insert-kbd-layout): Fix previous
372 change. To avoid unwanted bidi reordering, use
373 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
374
39675016
DG
3752012-03-21 Dmitry Gutov <dgutov@yandex.ru>
376
377 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
378 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
379 (ruby-beginning-of-indent): Be more careful with the difference
380 between word-boundary and symbol boundary.
381 (ruby-mode-syntax-table): Make : a symbol constituent.
382
0a6934fc 3832012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 384
3d008e4f
SM
385 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
386
0a6934fc
SM
3872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
388
af67c9d7
SM
389 * progmodes/etags.el (tags-completion-at-point-function):
390 Improve last fix.
391
1acad97c
SM
392 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
393
e298b5da
SS
3942012-03-21 Sam Steingold <sds@gnu.org>
395
396 * progmodes/etags.el (tags-completion-at-point-function):
397 Avoid the error when point is inside the pattern.
398
91d82a70
JY
3992012-03-21 John Yates <john@yates-sheets.org> (tiny change)
400
401 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
402 line (Bug#10855).
403
69188b79
CY
4042012-03-21 Drew Adams <drew.adams@oracle.com>
405
406 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
407
99fc91fe
AK
4082012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
409
410 * ido.el (ido-set-current-directory, ido-read-internal)
411 (ido-choose-completion-string, ido-completion-help): Handle nil
412 value of ido-completion-buffer (Bug#11008).
413
087bbb4c
SS
4142012-03-21 Sam Steingold <sds@gnu.org>
415
416 * window.el (switch-to-prev-buffer): Do not switch to a visible
417 window previous buffer, just like with the frame previous buffers.
418
fb5b8aca
CY
4192012-03-21 Chong Yidong <cyd@gnu.org>
420
421 * faces.el (make-face, make-empty-face, copy-face):
422 * face-remap.el (face-remap-add-relative, face-remap-set-base):
423 Doc fixes.
424
dc9924b8
SM
4252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * wid-edit.el (widget-complete-field): Remove (bug#11051).
428 (widget-complete): Remove broken use of it.
429
f0bcceb9
CY
4302012-03-20 Chong Yidong <cyd@gnu.org>
431
dc9924b8
SM
432 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
433 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
434 characters.
435
ee52ebf3
TH
4362012-03-20 Tassilo Horn <tassilo@member.fsf.org>
437
438 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
439 to draw rectangles, not squares. (Regression introduced by revno
440 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
441
4c5779ab
CY
4422012-03-18 Chong Yidong <cyd@gnu.org>
443
444 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
445 it is not yet defined (for temacs).
446
15360934
LL
4472012-03-18 Leo Liu <sdl.web@gmail.com>
448
dc9924b8 449 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 450
d9a8eb66
EZ
4512012-03-17 Eli Zaretskii <eliz@gnu.org>
452
453 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
454 (ispell-choices-win-default-height, ispell-silently-savep)
455 (ispell-dictionary-alist, ispell-encoding8-command)
456 (ispell-check-version, ispell-aspell-find-dictionary)
457 (ispell-valid-dictionary-list, ispell-words-keyword)
458 (ispell-get-word, ispell-internal-change-dictionary)
459 (ispell-region, ispell-skip-region-list)
460 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
461 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
462 (ispell-message-text-end, ispell-message)
463 (ispell-buffer-local-parsing): Doc fix.
464
f02ff80d
J
4652012-03-13 Jambunathan K <kjambunathan@gmail.com>
466
467 * htmlfontify.el: Add support for code block fontification for ODT
468 export (Bug #9914).
469 (hfy-optimisations): Define new option
470 `body-text-only'
471 (hfy-fontify-buffer): Honor above setting.
472 (hfy-begin-span, hfy-end-span): New routines factored out form
473 `hfy-fontify-buffer'.
474 (hfy-begin-span-handler, hfy-end-span-handler): New variables
475 that permit insertion of custom tags.
476 (hfy-fontify-buffer): Use above handlers.
477 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
478 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 479 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
480 over multiple runs. This is made possible by having the caller let
481 bind a special variable `hfy-user-sheet-assoc'.
482 (htmlfontify-string): New defun.
483 (hfy-compile-face-map): Make sure that the last char in the
484 buffer is correctly fontified.
485 (hfy-face-resolve-face): Whitespace only change.
486
9ac7a13f
EZ
4872012-03-17 Eli Zaretskii <eliz@gnu.org>
488
489 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
490 message more clear.
491
e2b5bdd7
LL
4922012-03-16 Leo Liu <sdl.web@gmail.com>
493
494 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
495
2e492df3
AM
4962012-03-16 Alan Mackenzie <acm@muc.de>
497
498 Further optimise the handling of large macros.
499
500 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
501 limit to a call of `c-literal-limits'.
502 (c-determine-+ve-limit): New function.
dc9924b8
SM
503 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
504 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
505 In CASE 5B, restrict a search limit to 500.
506 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
507
508 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
509 Restrict macro bounds to +-500 from after-change's BEG END.
510
50e94f0c
LL
5112012-03-16 Leo Liu <sdl.web@gmail.com>
512
513 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
514
6f09f6ed
AH
5152012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
516
517 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 518 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 519
c7e73d51
GM
5202012-03-16 Glenn Morris <rgm@gnu.org>
521
da986230
GM
522 * view.el (view-buffer, view-buffer-other-window)
523 (view-buffer-other-frame): Doc fixes re special mode-class.
524
0835f01e
GM
525 * subr.el (eval-after-load): If named feature is provided not from
526 a file, run after-load forms. (Bug#10946)
527
c7e73d51
GM
528 * calendar/calendar.el (calendar-insert-at-column):
529 Handle non-unit-width characters a bit better. (Bug#10978)
530
3f2eafd1
CY
5312012-03-15 Chong Yidong <cyd@gnu.org>
532
533 * emacs-lisp/ring.el (ring-extend): New function.
534 (ring-insert+extend): Extend the ring correctly (Bug#11019).
535
536 * comint.el (comint-read-input-ring)
537 (comint-add-to-input-history): Grow comint-input-ring lazily.
538
103af3fe
SM
5392012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
540
663b1677
SM
541 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
542 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
543
103af3fe
SM
544 * imenu.el: Fix multiple inheritance breakage (bug#9199).
545 (imenu-add-to-menubar): Don't add a redundant index.
546 (imenu-update-menubar): Handle a dynamically composed keymap.
547
899cb7cb
KY
5482012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
549
550 * mail/sendmail.el (mail-encode-header):
551 Bind rfc2047-encode-encoded-words to nil.
552
3809f91d
GM
5532012-03-13 Glenn Morris <rgm@gnu.org>
554
555 * calendar/calendar.el (calendar-string-spread):
556 Handle non-unit-width characters a bit better. (Bug#10978)
557
9e345a01
LL
5582012-03-13 Leo Liu <sdl.web@gmail.com>
559
560 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
561 directory and file as argument (Bug#10822).
562
4a07df36
KS
5632012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
564
565 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
566 For dynamically generated code, follow $PC.
567 (gdb-disassembly-handler-custom): Handle no function name case.
568
4aaa9356
TL
5692012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
570
571 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
572 * emulation/ws-mode.el (ws-query-replace):
573 * sort.el (sort-regexp-fields):
574 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
575
225979da
SM
5762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
577
578 * dabbrev.el: Fix cycle completion order (bug#10963).
579 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
580 (dabbrev-completion): Don't use an obarray; provide
581 a cycle-sort-function.
582
e2f1fdab
LL
5832012-03-12 Leo Liu <sdl.web@gmail.com>
584
dc9924b8 585 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
586 (kill-do-not-save-duplicates): Doc fix.
587
b19490ed
SM
5882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * dabbrev.el: Fix cycle completion (bug#10963).
591 Use lexical binding and wrap to 80 columns.
592 (dabbrev-completion): Delay computing the list of completions.
593
4b05d722
KH
5942012-03-12 Kenichi Handa <handa@m17n.org>
595
596 * international/quail.el (quail-insert-kbd-layout): Surround each
597 row by LRO and PDF instead of inserting many LRMs. Pad the left
598 and right of each non-spacing marks. Insert invisible space
599 between lower and upper characters to prevent composition.
600
dbbc2e69
SM
6012012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * minibuffer.el (minibuffer-complete): Don't get confused when the
604 function is run twice via different commands (bug#10958).
605 (complete-with-action): Fix docstring.
606
292112ed
CY
6072012-03-12 Chong Yidong <cyd@gnu.org>
608
5d1ac394
CY
609 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
610 (nxml-completion-at-point-function): New function.
611 (nxml-mode): Use it.
612 (nxml-bind-meta-tab-to-complete-flag): Default to t.
613
292112ed
CY
614 * emacs-lisp/package.el (package-unpack, package-unpack-single):
615 Load generated autoloads file before byte compiling (Bug#10970).
616 (package--make-autoloads-and-compile): New helper fun.
617
4098f8f7
CS
6182012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
619
620 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
621
8f754691
MA
6222012-03-11 Michael Albinus <michael.albinus@gmx.de>
623
624 * autorevert.el (auto-revert-handler): Ensure, that
625 file-readable-p is applied only for local files or in
626 auto-revert-tail-mode.
627
e29ab36b
AS
6282012-03-11 Andreas Schwab <schwab@linux-m68k.org>
629
dbbc2e69
SM
630 * server.el (server-eval-at): Handle non-tcp connections.
631 Decode result string.
ad0bf5b6 632
e29ab36b
AS
633 * server.el (server-msg-size): New constant.
634 (server-reply-print): New function.
635 (server-eval-and-print): Use it.
636 (server-eval-at): Use server-quote-arg and server-unquote-arg.
637 Handle -print-nonl.
638
de5939ba
CS
6392012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
640
641 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
642 (Bug#10987).
643
0c93eabf
CY
6442012-03-11 Chong Yidong <cyd@gnu.org>
645
397a688f
CY
646 * simple.el (goto-line): Doc fix (Bug#9938).
647
2cc775f9
CY
648 * subr.el (save-window-excursion): Doc fix (Bug#9979).
649
0c93eabf
CY
650 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
651 when finished (Bug#10963).
652
c491fa41
MR
6532012-03-11 Martin Rudalics <rudalics@gmx.at>
654
655 * window.el (split-window-below): Fix bug in case where
656 split-window-keep-point is nil (Bug#10971).
657
300e8fa5
JL
6582012-03-11 Juri Linkov <juri@jurta.org>
659
660 * replace.el (replace-highlight): Set isearch-word to nil
661 unconditionally. (Bug#10887)
662
dbf6c5a1
EZ
6632012-03-10 Eli Zaretskii <eliz@gnu.org>
664
665 * net/mairix.el (mairix-replace-invalid-chars): Rename from
666 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 667 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
668 (mairix-widget-create-query): Add usage information about mairix
669 search forms: negating words, searching for substrings, etc.
670
b9e501de
JP
6712012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
672
673 * international/fontset.el (font-encoding-alist): Add an entry for
674 ksx1001 (Bug#5667).
675
92795c91
RS
6762012-03-10 Richard Stallman <rms@gnu.org>
677
1694e6c1
RS
678 * mail/sendmail.el (mail-encode-header):
679 Set rfc2047-encode-encoded-words.
680
607e8555
RS
681 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
682
de3bc99a
RS
683 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
684 view buffer means not swapped.
685 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
686 (rmail-write-region-annotate): Error if real text has disappeared.
687
92795c91
RS
688 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
689
699bd04e
CY
6902012-03-10 Chong Yidong <cyd@gnu.org>
691
692 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
693 * emulation/cua-base.el (cua--init-keymaps):
694 Add delete-forward-char to remappings (Bug#9666).
699bd04e 695
570a1714
MR
6962012-03-10 Martin Rudalics <rudalics@gmx.at>
697
dbbc2e69
SM
698 * speedbar.el (speedbar-unhighlight-one-tag-line):
699 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 700
82dcf4e4
CY
7012012-03-10 Chong Yidong <cyd@gnu.org>
702
7a2c7ca7
CY
703 * minibuffer.el (completion-in-region, completion-help-at-point):
704 Give the completion field overlay a high priority (Bug#6830).
705
82dcf4e4
CY
706 * dired.el (dired-goto-file): Recognize absolute file name
707 listings (Bug#7126).
708 (dired-goto-file-1): New helper function.
709 (dired-toggle-read-only): Inhibit warnings.
710
052e28ac
MA
7112012-03-09 Michael Albinus <michael.albinus@gmx.de>
712
713 * net/dbus.el: (dbus-property-handler): Return empty array if
714 there are no properties.
715
95d5e396
LL
7162012-03-09 Leo Liu <sdl.web@gmail.com>
717
718 * savehist.el (savehist-printable): Stricter check for string
719 value (Bug#10937).
720
3f018d6d
EZ
7212012-03-09 Eli Zaretskii <eliz@gnu.org>
722
dbbc2e69
SM
723 * mail/smtpmail.el (smtpmail-send-it):
724 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
725 valid mbox format.
726
f7fd3d79
GM
7272012-03-09 Glenn Morris <rgm@gnu.org>
728
729 * files.el (dir-locals-find-file):
730 Don't check result is regular, readable.
731 (dir-locals-read-from-file): Demote errors.
732
6ff6e72f
EZ
7332012-03-08 Eli Zaretskii <eliz@gnu.org>
734
dbbc2e69
SM
735 * international/quail.el (quail-insert-kbd-layout):
736 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
737 layout cell, to prevent their reordering by bidi display engine.
738 For details, see the discussion in
739 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
740
9cec7834
AM
7412012-03-08 Alan Mackenzie <acm@muc.de>
742
743 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
744 the starting position; make it extend the marked region when
745 invoked repeatedly - all under appropriate circumstances.
746 Fixes bugs #5525, #10906.
747
9a40b8d4
GM
7482012-03-08 Glenn Morris <rgm@gnu.org>
749
750 * files.el (locate-dominating-file, dir-locals-find-file):
751 Undo 2012-03-06 change.
752
7a08ed35
EZ
7532012-03-07 Eli Zaretskii <eliz@gnu.org>
754
dbbc2e69
SM
755 * international/quail.el (quail-help):
756 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
757 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
758 for the reason.
759
5aca4f71 7602012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
761
762 Avoid superfluous registering of signals. (Bug#10807)
763
764 * notifications.el (notifications-on-action-object)
765 (notifications-on-close-object): New defvars.
766 (notifications-on-action-signal, notifications-on-closed-signal):
767 Unregister the signal if not needed any longer.
768 (notifications-notify): Register `notifications-action-signal' or
769 `notifications-closed-signal', if :on-action or :on-close has been
770 passed as argument.
771
78e8b10a
CY
7722012-03-07 Chong Yidong <cyd@gnu.org>
773
774 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
775 non-X platforms.
776
69481eb8
GM
7772012-03-06 Glenn Morris <rgm@gnu.org>
778
779 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
780 (x-disown-selection-internal, x-get-selection-internal):
781 Doc fix (add arglist signatures). (Bug#10783)
782
133b8e11
KS
7832012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
784
785 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
786 Handle breakpoints with no "type".
787
99a83064
GM
7882012-03-06 Glenn Morris <rgm@gnu.org>
789
790 * files.el (locate-dominating-file): Add optional predicate argument.
791 (dir-locals-find-file): Make use of above change.
792
17798e78
TTN
7932012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
794
795 * info.el (Info-insert-dir): Also try "dir.gz".
796
eb182446
GM
7972012-03-06 Glenn Morris <rgm@gnu.org>
798
8f2114ee
GM
799 * files.el (dir-locals-find-file):
800 Ignore non-readable or non-regular files. (Bug#10928)
801
eb182446
GM
802 * files.el (locate-dominating-file): Doc fix.
803
24679323
AS
8042012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
805
806 * calendar/calendar.el (calendar-set-mode-line):
807 `getenv' returns a string. (Bug#10951)
808
01d972a9
LL
8092012-03-05 Leo Liu <sdl.web@gmail.com>
810
109aa8a9
LL
811 * simple.el (backward-delete-char-untabify): Constrain point to
812 field (Bug#10939).
813
01d972a9
LL
814 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
815
10607bea
CY
8162012-03-05 Chong Yidong <cyd@gnu.org>
817
818 * simple.el (count-words): If called from Lisp, return the word
819 count, for symmetry with `count-lines'. Arglist changed.
820 (count-words--message): Args changed. Consolidate counting code
821 from count-words and count-words-region.
822 (count-words-region): Caller changed.
823 (count-lines-region): Make it an obsolete alias.
824
5dd11cfe
TH
8252012-03-04 Tassilo Horn <tassilo@member.fsf.org>
826
827 * saveplace.el (save-place-to-alist)
828 (save-place-ignore-files-regexp): Allow value nil to disable this
829 feature.
830
c349f4e6
CY
8312012-03-04 Chong Yidong <cyd@gnu.org>
832
833 * faces.el (face-spec-reset-face): For the default face, reset the
834 attributes to default values (Bug#10748).
835
e627be4c
LMI
8362012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
837
838 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
839 previous patch: Check `message-send-mail-function', and not the
840 default function (bug#10897).
841
ebeabff4
MA
8422012-03-04 Michael Albinus <michael.albinus@gmx.de>
843
a41a6cf4
MA
844 * notifications.el (notifications-on-action-signal)
845 (notifications-on-closed-signal): Check for unique service name of
846 incoming event. Fix error in removing entry.
ebeabff4 847 (top): Register for signals with wildcard service name.
a41a6cf4 848 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 849
c1ca42b4
CY
8502012-03-04 Chong Yidong <cyd@gnu.org>
851
dc9924b8 852 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 853
ea16568d
GM
8542012-03-04 Glenn Morris <rgm@gnu.org>
855
856 * abbrev.el (copy-abbrev-table, abbrev-table-p)
857 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
858 (expand-abbrev, define-abbrev-table): Doc fixes.
859
fbae4637
LMI
8602012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
861
862 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
863 `message-default-send-mail-function' and not `send-mail-function'
864 when doing the prompting for `sendmail-query-once' before sending
865 in Message buffers (bug#10897).
866
a1e7225c
LMI
867 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
868 This is inconsistent with all the other stream functions, which leave
869 the setting up to the higher levels (if so wanted) (bug#10931).
870
56d093a9
AM
8712012-03-02 Alan Mackenzie <acm@muc.de>
872
873 Depessimize the handling of very large macros.
874
875 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
876 (c-macro-cache-syntactic): New variables to implement a one
877 element macro cache.
878 (c-invalidate-macro-cache): New function.
879 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
880 Adapt to use the new cache.
881 (c-state-safe-place): Use better the cache of safe positions.
882 (c-state-semi-nonlit-pos-cache)
883 (c-state-semi-nonlit-pos-cache-limit):
884 New variables for...
885 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
886 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
887 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
888 Use c-state-semi-safe-place.
56d093a9 889
dbbc2e69
SM
890 * progmodes/cc-langs.el (c-get-state-before-change-functions):
891 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 892
817e5c3d
MA
8932012-03-02 Michael Albinus <michael.albinus@gmx.de>
894
dbbc2e69
SM
895 * jka-compr.el (jka-compr-call-process):
896 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
897 not remote.
898
a032a702
MA
8992012-03-01 Michael Albinus <michael.albinus@gmx.de>
900
901 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
902 access of FILE2, if FILE1 does not exist.
903
99a54f21
MA
904 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
905 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
906
907 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
908 Add "PAGER=" to `process-environment'.
909
f6561e1f
MM
9102012-03-01 Michael R. Mauger <mmaug@yahoo.com>
911
912 * progmodes/sql.el: Bug fix
913 (sql-get-login-ext): Save login values in globals.
914 (sql-get-login): Use new version of `sql-get-login-ext'.
915 (sql-interactive-mode): Set global `sql-connection' to nil.
916 (sql-connect): Set global values for connection.
917 (sql-product-interactive): Save global values as buffer local.
918
2d44d9cc
LL
9192012-02-29 Leo Liu <sdl.web@gmail.com>
920
921 * abbrev.el (define-abbrevs): Reset sys to nil.
922
96b49301 9232012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
924
bf7f9bc5
JB
925 * files.el (file-equal-p): Rename from `files-equal-p'.
926 Return nil when one or both files don't exist.
96b49301 927 (file-subdir-of-p): Now only top directory must exists,
928 return nil if it doesn't.
bf7f9bc5
JB
929 (copy-directory): No need to test with `file-subdir-of-p' after
930 creating dir.
931 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
932 to `file-equal-p'.
96b49301 933
44e97401
GM
9342012-02-28 Glenn Morris <rgm@gnu.org>
935
936 * shell.el (shell-mode):
937 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
938 * play/landmark.el (landmark-font-lock-face-O):
939 * play/handwrite.el (handwrite):
940 * play/gomoku.el (gomoku-O):
941 * net/browse-url.el (browse-url-browser-display):
942 * international/mule.el (define-charset):
943 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
944 * filesets.el (filesets-find-file-delay):
945 * eshell/em-xtra.el (eshell-xtra):
946 * eshell/em-unix.el (eshell-grep):
947 * emulation/viper.el (viper-mode):
948 * emacs-lisp/regexp-opt.el (regexp-opt-group):
949 * emacs-lisp/easymenu.el (easy-menu-define):
950 * calendar/timeclock.el (timeclock-use-display-time):
951 * bs.el (bs-mode):
952 * bookmark.el (bookmark-save-flag):
953 Doc fix (standardize possessive apostrophe usage).
954
c98c6276
CY
9552012-02-27 Chong Yidong <cyd@gnu.org>
956
bf7f9bc5
JB
957 * emulation/viper-cmd.el (viper-intercept-ESC-key):
958 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 959
c98c6276
CY
960 * font-lock.el (font-lock-specified-p): Rename from
961 font-lock-spec-present. Callers changed.
962
9c62cd04 9632012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 964
bf7f9bc5
JB
965 * emacs-lisp/package.el (package-compute-transaction):
966 Handle holding a package version to t in package-load-list.
8ac9e529 967
530739c9
MA
9682012-02-26 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
971 (tramp-get-inode, tramp-get-device): Use cached values.
972
487915d7
AM
9732012-02-26 Alan Mackenzie <acm@muc.de>
974
975 Check there is a font-lock specification before doing initial
976 fontification.
977
978 * font-core.el (font-lock-mode): Move the conditional from
979 :after-hook to font-lock-initial-fontify.
980 (font-lock-default-function): Move the check for a specification
981 to font-lock-spec-present.
982
dc9924b8 983 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
984 (font-lock-spec-present): New function.
985
4fd96557
JB
9862012-02-26 Jim Blandy <jimb@red-bean.com>
987
988 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
989 (gdb-send): Apply it to the operand of the '-interpreter-exec
990 console' command, so that we can pass arguments with (say) quotes
991 in them. Store exact string sent in gdb-debug-log (Bug#10765).
992
9a4888c0
CY
9932012-02-26 Chong Yidong <cyd@gnu.org>
994
07498861
CY
995 * help-fns.el (describe-function-1): Clarify description of
996 remapping (Bug#10844).
997
9a4888c0
CY
998 * files.el (files-equal-p): Doc fix.
999 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1000 and quit the loop once a mismatch is found.
1001
ea8fb88d
JB
10022012-02-25 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * bs.el (bs--show-with-configuration): Don't throw an error
1005 if the window cannot be split; otherwise, subsequent calls to
1006 bs-show fail, restoring a stale window config. (Bug#10882)
1007
525795c1
JD
10082012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1009
1010 * term/ns-win.el (global-map): Bind ns-drag-file to
1011 ns-find-file (Bug#5855, Bug#10050).
1012
f008086f
AS
10132012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1014
1015 * calendar/parse-time.el (parse-time-string): Allow extractor to
1016 return nil.
1017
a3fcfa99
MA
10182012-02-25 Michael Albinus <michael.albinus@gmx.de>
1019
91027d08
JB
1020 * net/tramp.el (tramp-file-name-for-operation):
1021 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1022
1023 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1024 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1025 Add COPY-CONTENTS argument.
a3fcfa99 1026
67b0de11
CY
10272012-02-25 Chong Yidong <cyd@gnu.org>
1028
1029 Add custom groups for VC backends, for consistency with vc-bzr.
1030
1031 * vc/vc-arch.el (vc-arch):
1032 * vc/vc-cvs.el (vc-cvs):
1033 * vc/vc-git.el (vc-git):
1034 * vc/vc-hg.el (vc-hg):
1035 * vc/vc-mtn.el (vc-mtn):
1036 * vc/vc-rcs.el (vc-rcs):
1037 * vc/vc-sccs.el (vc-sccs):
1038 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1039 All relevant defcustoms reassigned.
1040
3c9dfce6
CY
10412012-02-25 Chong Yidong <cyd@gnu.org>
1042
1339bf43
CY
1043 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1044
3c9dfce6
CY
1045 * term/x-win.el (x-initialize-window-system): Reduce default for
1046 x-selection-timeout to 5 seconds (Bug#8869).
1047
53a46cd0 10482012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1049
53a46cd0 1050 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1051
25b2e303 10522012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1053
ec70a47d
GM
1054 * files.el (files-equal-p, file-subdir-of-p): New functions.
1055 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1056 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1057 * dired-aux.el (dired-copy-file-recursive): Same.
1058 (dired-create-files): Modify destination when source is equal to
1059 dest when copying files.
53a46cd0 1060 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1061
914260cd
MA
10622012-02-24 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1065 (Bug#10874)
1066
2cb228f7
AM
10672012-02-23 Alan Mackenzie <acm@muc.de>
1068
1069 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1070 parameter "after-hook:" to allow the expansion to run code after
1071 the execution of the mode hooks.
1072
1073 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1074 from font-lock-mode-internal.
2cb228f7 1075
91027d08 1076 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1077 :after-hook.
1078
8f0fde21
SM
10792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1080
3e88618b
SM
1081 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1082 (completion--cache-all-sorted-completions): New function.
1083 (completion-all-sorted-completions): Use it.
1084 (completion--do-completion, minibuffer-force-complete):
1085 Use it to re-instate the flush hook.
1086
8f0fde21
SM
1087 * icomplete.el (icomplete-completions): Replace last fix with a better
1088 one (bug#10850).
1089
8e911f6f
DG
10902012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1091
1092 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1093 when it might call us back infinitely (bug#10797).
1094
49fe4321
GM
10952012-02-23 Glenn Morris <rgm@gnu.org>
1096
1097 * minibuffer.el (completion-category-overrides): Doc fix.
1098
b291b572
SM
10992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1102 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1103
31a9ef2e
GM
11042012-02-23 Glenn Morris <rgm@gnu.org>
1105
5e6e6794 1106 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1107 (authors-obsolete-files-regexps, authors-ignored-files)
1108 (authors-ambiguous-files, authors-renamed-files-alist):
1109 Add more entries.
1110
0bd1e074
JL
11112012-02-23 Juri Linkov <juri@jurta.org>
1112
1113 * isearch.el (isearch-occur): Sync interactive spec with occur's
1114 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1115
b617673c
JL
1116 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1117
19e9789e
JL
11182012-02-22 Juri Linkov <juri@jurta.org>
1119
1120 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1121 (ucs-insert): Doc fix. Check for hex digits in the string.
1122 Don't display `nil' in the error message. (Bug#10857)
1123
f41ce09d
AM
11242012-02-22 Alan Mackenzie <acm@muc.de>
1125
7a71b18d 1126 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1127
ac2eceee
GM
11282012-02-22 Glenn Morris <rgm@gnu.org>
1129
1130 * ffap.el (ffap-c-path):
1131 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1132
abd1f678
CY
11332012-02-22 Chong Yidong <cyd@gnu.org>
1134
1135 * custom.el (load-theme): Doc fix.
1136
f25aef2e
GM
11372012-02-22 Glenn Morris <rgm@gnu.org>
1138
1139 * dired-x.el (dired-guess-shell-alist-default):
1140 Remove escape sequences from nroff output. (Bug#172)
1141
5f8dc2ca
GM
11422012-02-21 Glenn Morris <rgm@gnu.org>
1143
6ff86ec4
GM
1144 * vc/emerge.el (emerge-defvar-local):
1145 Set `permanent-local' property rather than unused `preserved'.
1146
be3223a3 1147 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1148 (picture-mode-map): Use it. (Bug#10860)
1149 (picture-mode): Doc fix.
1150
3fe58f4f
JB
11512012-02-21 Juanma Barranquero <lekktu@gmail.com>
1152
1153 * newcomment.el (uncomment-region-default): Remove unused binding.
1154
f9a998c3
GM
11552012-02-21 Glenn Morris <rgm@gnu.org>
1156
1157 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1158 (picture-self-insert, picture-tab-chars): Doc fix.
1159 (picture-mode-map): Fix C-a, C-e.
1160
c6029348
GM
11612012-02-20 Glenn Morris <rgm@gnu.org>
1162
1163 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1164
ab1ce9d7
LL
11652012-02-20 Leo Liu <sdl.web@gmail.com>
1166
1167 * icomplete.el (icomplete-completions): Check FROM arg before
1168 passing to substring (Bug#10850).
1169
0fd40f89
CY
11702012-02-19 Chong Yidong <cyd@gnu.org>
1171
1172 * comint.el: Require ansi-color.
1173 (comint-output-filter-functions): Add ansi-color-process-output.
1174
1175 * ansi-color.el: Don't set comint-output-filter-functions; it is
1176 now in the initial value defined in comint.el.
1177 (ansi-color-apply-face-function): New variable.
1178 (ansi-color-apply-on-region): Use it.
1179 (ansi-color-apply-overlay-face): New function.
1180
1181 * shell.el (shell): No need to require ansi-color.
1182 (shell-mode): Use ansi-color-apply-face-function to highlight
1183 color escapes using font-lock-face property (Bug#10835).
1184
20af2394
CY
11852012-02-19 Chong Yidong <cyd@gnu.org>
1186
1187 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1188 mode-line formats (Bug#10839).
1189
e23a3fbe
GM
11902012-02-18 Glenn Morris <rgm@gnu.org>
1191
b474519e
GM
1192 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1193
1194 * mail/undigest.el (unforward-rmail-message): Doc fix.
1195
e23a3fbe
GM
1196 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1197
57939ff4
EZ
11982012-02-18 Eli Zaretskii <eliz@gnu.org>
1199
1200 * international/characters.el (script-list): Sync with the latest
1201 Unicode Character Database.
1202
0c23686e
AS
12032012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1204
1205 * international/titdic-cnv.el: Remove duplicate coding tag.
1206 * language/cham.el: Likewise.
1207 * language/tai-viet.el: Likewise.
1208
6818b449
GM
12092012-02-18 Glenn Morris <rgm@gnu.org>
1210
1211 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1212 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1213 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1214 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1215 * calendar/holidays.el (holiday-bahai-holidays)
1216 (calendar-holidays, list-holidays):
1217 Use utf-8 Bahá'í in doc-strings, menus, etc.
1218
0311a3fc
TH
12192012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1220
1221 * saveplace.el (save-place-ignore-files-regexp): New variable
1222 allowing for excluding files from saving their location of point.
1223 The default value matches the temporary commit message editing
1224 files from Git, SVN, Bazaar, and Mercurial.
1225 (save-place-to-alist): Use it.
1226
eb864a71
LM
12272012-02-17 Lawrence Mitchell <wence@gmx.li>
1228 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * newcomment.el (uncomment-region-default): Don't leave extra space
1231 when an arg is provided (bug#8150).
1232
ee0ce425
TZ
12332012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1234
eb864a71 1235 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1236
95ddf442
GM
12372012-02-17 Glenn Morris <rgm@gnu.org>
1238
1239 * net/socks.el: Require network-stream. (Bug#10599)
1240
48dd1e39 12412012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1242
1243 * international/charprop.el:
1244 * international/uni-name.el:
1245 * international/uni-old-name.el:
1246 * international/uni-comment.el: Regenerate.
1247
d68cd087
GM
12482012-02-16 Glenn Morris <rgm@gnu.org>
1249
1250 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1251 Interactively in calendar buffer, give an error if not on a date.
1252
13932042
GM
12532012-02-15 Glenn Morris <rgm@gnu.org>
1254
1255 * shell.el (shell-delimiter-argument-list):
1256 Revert 2011-02-17 change. (Bug#8027)
1257
c3a70e2b
CY
12582012-02-15 Chong Yidong <cyd@gnu.org>
1259
60236b0d
CY
1260 * minibuffer.el (completion-at-point-functions): Doc fix.
1261
c3a70e2b
CY
1262 * custom.el (defcustom): Doc fix; note use of defvar.
1263
9f26dc24
GM
12642012-02-15 Glenn Morris <rgm@gnu.org>
1265
1266 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1267 Doc fixes.
1268
6546b134
GM
12692012-02-14 Glenn Morris <rgm@gnu.org>
1270
1271 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1272
d29b2b4c
LI
12732012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1274
1275 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1276 way the ports list is computed.
835bdcba
LI
1277 (smtpmail-query-smtp-server): Prompt the user for a port number if
1278 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1279
08dcdbc9
TZ
12802012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1281
1282 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1283
2605051a
GM
12842012-02-13 Glenn Morris <rgm@gnu.org>
1285
1286 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1287
7ee99f32
TZ
12882012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1289
1290 * net/gnutls.el (gnutls-trustfiles): New variable.
1291 (gnutls-negotiate): Use it.
1292
5f0af64f
LI
12932012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1294
1295 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1296 does its stuff if Gnus is running.
1297
c14fcc95
AM
12982012-02-13 Alan Mackenzie <acm@muc.de>
1299
1300 Fix a loop in c-set-fl-decl-start.
1301
7a71b18d 1302 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1303 c-backward-syntactic-ws actually moves backwards.
1304
142b4d90
LL
13052012-02-13 Leo Liu <sdl.web@gmail.com>
1306
1307 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1308 beginning so that all \C-o chars are removed.
1309
fa9958a6
TZ
13102012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1311
dc9924b8 1312 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1313
0bc5886a
AM
13142012-02-12 Alan Mackenzie <acm@muc.de>
1315
1316 Fix infinite loop with long macros.
1317 * cc-engine.el (c-state-safe-place): Handle macros properly.
1318
d4bd55e7
CY
13192012-02-12 Chong Yidong <cyd@gnu.org>
1320
1321 * window.el (display-buffer): Doc fix (Bug#10785).
1322
66f3fe22
GM
13232012-02-12 Glenn Morris <rgm@gnu.org>
1324
bd7da63e
GM
1325 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1326 (x-disown-selection-internal, x-get-selection-internal):
1327 Sync docs with the xselect.c versions.
1328
66f3fe22
GM
1329 * allout-widgets.el: Add missing license notice.
1330
3e0d2fa7
GM
13312012-02-11 Glenn Morris <rgm@gnu.org>
1332
cfecdf09
GM
1333 * select.el (x-get-selection-internal, x-own-selection-internal)
1334 (x-disown-selection-internal):
1335 * x-dnd.el (x-get-selection-internal): Update declarations.
1336
6d216d7f
GM
1337 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1338
2bed3f04
GM
1339 * window.el (window-sides-slots):
1340 * tool-bar.el (tool-bar-position):
1341 * term/xterm.el (xterm-extra-capabilities):
1342 * ses.el (ses-self-reference-early-detection):
1343 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1344 (verilog-auto-wire-type)
1345 (verilog-auto-delete-trailing-whitespace)
1346 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1347 (verilog-auto-tieoff-declaration):
1348 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1349 (sql-oracle-statement-starters, sql-oracle-scan-on):
1350 * progmodes/prolog.el (prolog-align-comments-flag)
1351 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1352 (prolog-left-indent-regexp, prolog-paren-indent-p)
1353 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1354 (prolog-types, prolog-mode-specificators)
1355 (prolog-determinism-specificators, prolog-directives)
1356 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1357 (prolog-electric-dot-flag)
1358 (prolog-electric-dot-full-predicate-template)
1359 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1360 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1361 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1362 (prolog-program-switches, prolog-prompt-regexp)
1363 (prolog-debug-on-string, prolog-debug-off-string)
1364 (prolog-trace-on-string, prolog-trace-off-string)
1365 (prolog-zip-on-string, prolog-zip-off-string)
1366 (prolog-use-standard-consult-compile-method-flag)
1367 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1368 (prolog-imenu-max-lines, prolog-info-predicate-index)
1369 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1370 (prolog-char-quote-workaround):
1371 * progmodes/cc-vars.el (c-defun-tactic):
1372 * net/tramp.el (tramp-encoding-command-interactive)
1373 (tramp-local-end-of-line):
1374 * net/soap-client.el (soap-client):
1375 * net/netrc.el (netrc-file):
1376 * net/gnutls.el (gnutls):
1377 * minibuffer.el (completion-category-overrides)
1378 (completion-cycle-threshold)
1379 (completion-pcm-complete-word-inserts-delimiters):
1380 * man.el (Man-name-local-regexp):
1381 * mail/feedmail.el (feedmail-display-full-frame):
1382 * international/characters.el (glyphless-char-display-control):
1383 * eshell/em-ls.el (eshell-ls-date-format):
1384 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1385 (lisp-lambda-list-keyword-parameter-indentation)
1386 (lisp-lambda-list-keyword-parameter-alignment):
1387 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1388 * dired-x.el (dired-omit-verbose):
1389 * cus-theme.el (custom-theme-allow-multiple-selections):
1390 * calc/calc.el (calc-highlight-selections-with-faces)
1391 (calc-lu-field-reference, calc-lu-power-reference)
1392 (calc-note-threshold):
1393 * battery.el (battery-mode-line-limit):
1394 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1395 (archive-7z-update):
1396 * allout.el (allout-prefixed-keybindings)
1397 (allout-unprefixed-keybindings)
1398 (allout-inhibit-auto-fill-on-headline)
1399 (allout-flattened-numbering-abbreviation):
1400 * allout-widgets.el (allout-widgets-auto-activation)
1401 (allout-widgets-icons-dark-subdir)
1402 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1403 (allout-widgets-theme-dark-background)
1404 (allout-widgets-theme-light-background)
1405 (allout-widgets-item-image-properties-emacs)
1406 (allout-widgets-item-image-properties-xemacs)
1407 (allout-widgets-run-unit-tests-on-load)
1408 (allout-widgets-time-decoration-activity)
1409 (allout-widgets-hook-error-post-time)
1410 (allout-widgets-track-decoration):
1411 Add missing :version tags to new defcustoms and defgroups.
1412
5fec1b8e
GM
1413 * progmodes/sql.el (sql-ansi-statement-starters)
1414 (sql-oracle-statement-starters): Add custom type.
1415
3e0d2fa7
GM
1416 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1417 (prolog-system-version): Give it a type.
1418
90b671e2
EZ
14192012-02-11 Eli Zaretskii <eliz@gnu.org>
1420
1421 * term/pc-win.el (x-select-text, x-selection-owner-p)
1422 (x-own-selection-internal, x-disown-selection-internal)
1423 (x-get-selection-internal): Sync doc strings and argument lists
1424 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1425
5eac0c02
LL
14262012-02-11 Leo Liu <sdl.web@gmail.com>
1427
1428 * progmodes/python.el (python-end-of-statement): Fix infinite
1429 loop. (Bug#10788)
1430
f82cb659
GM
14312012-02-10 Glenn Morris <rgm@gnu.org>
1432
1433 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1434 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1435
cc26d239
LI
14362012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1437
1438 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1439 about SMTP before checking the From header.
1440
91027d08 1441 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1442 into own function for reuse by emacsbug.el.
1443
1be3ca5a
LL
14442012-02-10 Leo Liu <sdl.web@gmail.com>
1445
1446 * subr.el (condition-case-unless-debug): Rename from
1447 condition-case-no-debug. All callers changed.
1448 (with-demoted-errors): Fix caller.
1449
1450 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1451 * nxml/rng-valid.el (rng-do-some-validation):
1452 * emacs-lisp/package.el (package-refresh-contents)
1453 (package-menu-execute):
1454 * desktop.el (desktop-create-buffer):
91027d08 1455 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1456
b011fbfe
GM
14572012-02-10 Glenn Morris <rgm@gnu.org>
1458
b2096d72
GM
1459 * textmodes/bibtex.el:
1460 Add missing :version tags for new/changed defcustoms.
1461
b011fbfe
GM
1462 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1463
4c7e65bf
LI
14642012-02-09 Lars Ingebrigtsen <larsi@rusty>
1465
1466 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1467 (smtpmail-via-smtp): Use it, or fall back on the From address.
1468 (smtpmail-send-it): Ditto.
1469
f3934f6f
SM
14702012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1473 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1474 (byte-compile-tmp-var): New const.
1475 (byte-compile-defvar): Use it to minimize .elc size.
1476 Just use `defvar' rather than simulate it (bug#10761).
1477
a075a2c5
GM
14782012-02-09 Glenn Morris <rgm@gnu.org>
1479
cf3aa21b
GM
1480 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1481
354998cd
GM
1482 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1483 Add :version tags.
1484
dc9924b8
SM
1485 * progmodes/compile.el (compilation-error-screen-columns)
1486 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1487
dab3703d
GM
1488 * vc/log-view.el (log-view-toggle-entry-display):
1489 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1490
3f88cd72
GM
1491 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1492 (report-emacs-bug-can-use-xdg-email):
1493 (report-emacs-bug-insert-to-mailer): Doc fixes.
1494 (report-emacs-bug): Message fix.
1495
d95b247d
GM
1496 * net/browse-url.el (browse-url-can-use-xdg-open)
1497 (browse-url-xdg-open): Doc fixes.
1498
a075a2c5
GM
1499 * electric.el (electric-indent-mode, electric-pair-mode)
1500 (electric-layout-rules, electric-layout-mode): Doc fixes.
1501 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1502
ffb6157e
MR
15032012-02-08 Martin Rudalics <rudalics@gmx.at>
1504
1505 * server.el (server-unselect-display): Don't inadvertently kill
1506 the current buffer. (Bug#10729)
1507
e1ac4066
GM
15082012-02-08 Glenn Morris <rgm@gnu.org>
1509
34e8a2da
GM
1510 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1511 (sql-list-table): Doc fixes.
1512
b4ac6e8c
GM
1513 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1514 Comment out (does nothing).
1515
e1ac4066
GM
1516 * completion.el (dynamic-completion-mode):
1517 * dirtrack.el (dirtrack-debug-mode):
1518 * electric.el (electric-layout-mode):
1519 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1520 * face-remap.el (text-scale-mode, buffer-face-mode):
1521 * iimage.el (iimage-mode):
1522 * image-mode.el (image-transform-mode):
1523 * minibuffer.el (completion-in-region-mode):
1524 * scroll-lock.el (scroll-lock-mode):
1525 * simple.el (next-error-follow-minor-mode):
1526 * tar-mode.el (tar-subfile-mode):
1527 * tooltip.el (tooltip-mode):
1528 * vcursor.el (vcursor-use-vcursor-map):
1529 * wid-browse.el (widget-minor-mode):
1530 * emulation/tpu-edt.el (tpu-edt-mode):
1531 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1532 * international/iso-ascii.el (iso-ascii-mode):
1533 * language/thai-util.el (thai-word-mode):
1534 * mail/supercite.el (sc-minor-mode):
1535 * net/goto-addr.el (goto-address-mode):
1536 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1537 * progmodes/cwarn.el (cwarn-mode):
1538 * progmodes/flymake.el (flymake-mode):
1539 * progmodes/glasses.el (glasses-mode):
1540 * progmodes/hideshow.el (hs-minor-mode):
1541 * progmodes/pascal.el (pascal-outline-mode):
1542 * textmodes/enriched.el (enriched-mode):
1543 * vc/smerge-mode.el (smerge-mode):
1544 Doc fixes (minor mode argument).
1545
5e0d957f
EZ
15462012-02-07 Eli Zaretskii <eliz@gnu.org>
1547
1548 * ls-lisp.el (ls-lisp-sanitize): New function.
1549 (ls-lisp-insert-directory): Use it to fix or remove any elements
1550 in file-alist with missing attributes. (Bug#4673)
1551
98d7371e
AM
15522012-02-07 Alan Mackenzie <acm@muc.de>
1553
1554 Fix spurious recognition of c-in-knr-argdecl.
1555
1556 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1557 putative K&R region.
1558
667ced3a
AM
15592012-02-07 Alan Mackenzie <acm@muc.de>
1560
eb864a71
LM
1561 * progmodes/cc-engine.el (c-forward-objc-directive):
1562 Prevent looping in "#pragma mark @implementation".
667ced3a 1563
5b77774d
MA
15642012-02-07 Michael Albinus <michael.albinus@gmx.de>
1565
1566 * notifications.el (notifications-on-closed-signal): Make `reason'
1567 optional. (Bug#10744)
1568
af008560
GM
15692012-02-07 Glenn Morris <rgm@gnu.org>
1570
60d47423
GM
1571 * emacs-lisp/easy-mmode.el (define-minor-mode):
1572 Doc fixes for the macro and the mode it defines.
1573
dd605cc4
GM
1574 * image.el (imagemagick-types-inhibit): Doc fix.
1575
af008560
GM
1576 * cus-start.el (imagemagick-render-type): Add it.
1577
5cc59a37
LI
15782012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1579
1580 * progmodes/cc-mode.el
1581 (c-standard-font-lock-fontify-region-function): Set the default at
1582 load time, too, so that `font-lock-fontify-buffer' can be called
1583 without setting up the entire mode first. This fixes a bug in
1584 `mm-inline-text' with C MIME parts.
1585
9a6dd747
CY
15862012-02-06 Chong Yidong <cyd@gnu.org>
1587
2d16b285
CY
1588 * simple.el (list-processes--refresh): Delete exited processes
1589 (Bug#8094).
1590
171e9b6e
CY
1591 * comint.el (comint-next-prompt): next-single-char-property-change
1592 and prev-single-char-property-change never return nil (Bug#8657).
1593
9a6dd747
CY
1594 * custom.el (defcustom): Doc fix (Bug#9711).
1595
aa4589a7
CY
15962012-02-05 Chong Yidong <cyd@gnu.org>
1597
5c2a252f
CY
1598 * cus-edit.el (custom-variable-reset-backup): Quote the value
1599 before storing it in the customized-value property (Bug#6712).
4aab9006 1600 (custom-display): Add a customization type tag.
983b9602 1601 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1602
aa4589a7
CY
1603 * wid-edit.el (widget-field-value-get): New optional arg to
1604 suppress trailing whitespace truncation.
1605 (character): Use it (Bug#2689).
1606
1ff980ae
AS
16072012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1608
1609 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1610 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1611
03988c98
CY
16122012-02-05 Chong Yidong <cyd@gnu.org>
1613
eeb6cc88
CY
1614 * cus-edit.el (custom-variable-value-create): For mismatched
1615 types, show the current value (Bug#7600).
1616
03988c98
CY
1617 * custom.el (defcustom): Doc fix.
1618
f8cdeef0
GM
16192012-02-05 Glenn Morris <rgm@gnu.org>
1620
1621 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1622
0696d255
JB
16232012-02-05 Juanma Barranquero <lekktu@gmail.com>
1624
1625 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1626 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1627 (pp-last-sexp): Use `looking-at-p'.
1628
34c99998
GM
16292012-02-04 Glenn Morris <rgm@gnu.org>
1630
8f05da42
GM
1631 * files.el (revert-buffer):
1632 Doc fix (mention revert-buffer-in-progress-p).
1633
f160676e
GM
1634 * emacs-lisp/ert-x.el (ert-simulate-command):
1635 Check deferred-action-list (which is obsolete) is bound.
1636
c7291ad9
GM
1637 * subr.el (with-wrapper-hook): Doc fixes.
1638
34c99998
GM
1639 * simple.el (filter-buffer-substring-functions)
1640 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1641
6283a7d3
LL
16422012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1643
1644 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1645 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1646
e96e3013
LL
16472012-02-04 Leo Liu <sdl.web@gmail.com>
1648
1649 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1650
8ded50f2
GM
16512012-02-04 Glenn Morris <rgm@gnu.org>
1652
82ff1d13
GM
1653 * image.el (image-extension-data): Add obsolete alias.
1654
987a0a16
GM
1655 * isearch.el (isearch-update): Doc fix.
1656
ea32ef46
GM
1657 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1658
8ded50f2
GM
1659 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1660
eea14f31
GM
16612012-02-03 Glenn Morris <rgm@gnu.org>
1662
1663 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1664 (image-animate-timeout): Doc fix.
1665
1666 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1667
12f381b7
GM
16682012-02-02 Glenn Morris <rgm@gnu.org>
1669
953cebf5
GM
1670 * server.el (server-auth-dir): Doc fix.
1671 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1672
12f381b7
GM
1673 * subr.el (run-mode-hooks): Doc fix.
1674
953a8c3b
JL
16752012-02-02 Juri Linkov <juri@jurta.org>
1676
1677 * image-mode.el (image-toggle-display-image): Remove tautological
1678 `major-mode' from the `derived-mode-p' test.
1679
c5d3843c
KH
16802012-02-02 Kenichi Handa <handa@m17n.org>
1681
9f6e692e 1682 * composite.el (compose-region): Cancel previous change.
c5d3843c 1683
159462d4 16842012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1685
1686 * composite.el (compose-region, compose-string): Signal error for
1687 a null string component (Bug#6988).
1688
9f562668
CY
16892012-02-01 Chong Yidong <cyd@gnu.org>
1690
e2cef717
CY
1691 * view.el (view-buffer-other-window, view-buffer-other-frame):
1692 Handle special modes like view-buffer (Bug#10650).
1693 (view-buffer): Simplify.
1694
9f562668
CY
1695 * frame.el (set-frame-font): Tweak meaning of third argument.
1696
9f6e692e
JB
1697 * dynamic-setting.el (font-setting-change-default-font):
1698 Use set-frame-font (Bug#9982).
9f562668 1699
781acb9f
GM
17002012-02-01 Glenn Morris <rgm@gnu.org>
1701
6035be52
GM
1702 * progmodes/compile.el (compilation-internal-error-properties):
1703 Respect compilation-first-column in the "*compilation*" buffer.
1704
781acb9f
GM
1705 * emacs-lisp/easy-mmode.el (define-minor-mode):
1706 Relax :variable's test for a named function.
1707
abbceb00
AM
17082012-01-31 Alan Mackenzie <acm@muc.de>
1709
1710 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1711 off by one error.
1712
fce3fdeb
CY
17132012-01-31 Chong Yidong <cyd@gnu.org>
1714
1715 * frame.el (set-frame-font): New arg ALL-FRAMES.
1716
1717 * menu-bar.el (menu-set-font): Use set-frame-font.
1718
1719 * faces.el (face-spec-reset-face): Don't apply unspecified
1720 attribute values to the default face.
1721
47893581
JB
17222012-01-31 Juanma Barranquero <lekktu@gmail.com>
1723
1724 * progmodes/cwarn.el (cwarn): Remove dead link.
1725 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1726 Remove * from defcustom docstrings.
1727 (turn-on-cwarn-mode): Make obsolete.
1728 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1729 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1730
e58e988a
GM
17312012-01-31 Glenn Morris <rgm@gnu.org>
1732
60dc2671 1733 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1734 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1735 Allow named functions to be used as the cdr of :variable.
e58e988a 1736
7a3f511d
GM
17372012-01-30 Glenn Morris <rgm@gnu.org>
1738
1739 * emacs-lisp/authors.el (authors-fixed-entries):
1740 Remove reference to deleted file rnewspost.el.
1741
cb882333
JB
17422012-01-29 Juanma Barranquero <lekktu@gmail.com>
1743
1744 * window.el (window-with-parameter): Remove unused variable `windows'.
1745 (window--side-check): Remove unused variable `code'.
1746 (window--resize-siblings): Remove unused variable `first'.
1747 (adjust-window-trailing-edge): Remove unused variable `failed'.
1748 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1749 Use `let', not `let*'.
1750 (balance-windows-2): Remove unused variable `found'.
1751 (window--state-put-2): Remove unused variable `splits'.
1752 (window-state-put): Remove unused variable `selected'.
1753 (same-window-p): Use `string-match-p'.
1754 (display-buffer-assq-regexp): Remove unused variable `value'.
1755 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1756 Mark argument ALIST as ignored.
1757 (pop-to-buffer): Remove unused variable `old-window'.
1758
907201af
EZ
17592012-01-29 Eli Zaretskii <eliz@gnu.org>
1760
1761 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1762 and .lzma compressed files.
1763
ea162670
CY
17642012-01-29 Chong Yidong <cyd@gnu.org>
1765
5b95ee8a
CY
1766 * frame.el (window-system-default-frame-alist): Doc fix.
1767
ea162670
CY
1768 * dynamic-setting.el (font-setting-change-default-font): Don't
1769 change the default face if SET-FONT argument is non-nil (Bug#9982).
1770
d6e6f4b1
SB
17712012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1772
1773 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1774
0f29fa41 17752012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1776
1777 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1778 breakpoints in files outside current directory (Bug#6098).
1779
db174434
CY
17802012-01-29 Chong Yidong <cyd@gnu.org>
1781
6b25e4e2
SE
1782 * progmodes/python.el: Require ansi-color at top-level.
1783
6df6ae42
JB
1784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1785 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1786 (lisp-mode-abbrev-table): Add doc.
1787 (lisp-mode-variables): Don't set local-abbrev-table.
1788 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1789
e70ee681
RW
17902012-01-28 Roland Winkler <winkler@gnu.org>
1791
1792 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1793
ace88aa2
RW
17942012-01-28 Roland Winkler <winkler@gnu.org>
1795
1796 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1797 (bibtex-set-dialect): Use it. Either set global values of
1798 dialect-dependent variables or bind these variables buffer-locally
1799 (Bug#10254).
1800 (bibtex-mode): Call bibtex-set-dialect via
1801 hack-local-variables-hook.
eb864a71
LM
1802 (bibtex-dialect): Update docstring.
1803 Add safe-local-variable predicate.
ace88aa2
RW
1804 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1805 bibtex-set-dialect.
1806 (bibtex-mode-map): Define menu for each dialect.
1807 (bibtex-entry): Fix docstring.
1808
93376c5b
CY
18092012-01-28 Chong Yidong <cyd@gnu.org>
1810
1811 * eshell/esh-arg.el (eshell-quote-argument): New function.
1812
1813 * eshell/esh-ext.el (eshell-invoke-batch-file):
1814 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1815 first arg to eshell-parse-command (Bug#10523).
1816
4372494f
DA
18172012-01-28 Drew Adams <drew.adams@oracle.com>
1818
1819 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1820 `default-directory' is non-nil.
1821
4d4ec1f8
EZ
18222012-01-28 Eli Zaretskii <eliz@gnu.org>
1823
1824 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1825 line that displays system-configuration-options. (Bug#9924)
1826
7c188927
DA
18272012-01-28 Drew Adams <drew.adams@oracle.com>
1828
1829 * descr-text.el (describe-char): Show information about POS, in
1830 addition to information about the character at POS. Improve and
1831 update the doc string. Change "code point" to "code point in
1832 charset", to avoid confusion with the character's Unicode code
1833 point shown above that. (Bug#10129)
1834
e0da685a
EZ
18352012-01-28 Eli Zaretskii <eliz@gnu.org>
1836
1837 * descr-text.el (describe-char): Show the raw character, not only
1838 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1839 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1840 for the reasons.
1841
70550acf
PH
18422012-01-28 Phil Hagelberg <phil@hagelb.org>
1843
eb864a71
LM
1844 * emacs-lisp/package.el (package-install):
1845 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1846
0ce8e868
CY
18472012-01-28 Chong Yidong <cyd@gnu.org>
1848
cb882333
JB
1849 * emacs-lisp/package.el (package-maybe-load-descriptor):
1850 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1851 (package-maybe-load-descriptor): Use it.
1852 (package-download-transaction): Fully load required packages
1853 inside the loop, so that `require' calls work (Bug#10593).
1854 (package-install): No need to call package-initialize now.
1855
2e7f3bea
CY
18562012-01-28 Chong Yidong <cyd@gnu.org>
1857
6e9bad14
CY
1858 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1859
f823b8ca
CY
1860 * tooltip.el (tooltip-mode): Doc fix.
1861 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1862
2680c309
CY
1863 * frame.el (set-cursor-color): Doc fix (Bug#352).
1864
d7a9e63b
CY
1865 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1866 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1867
2e7f3bea
CY
1868 * cus-edit.el (custom-buffer-create-internal): Fix search button
1869 action (Bug#10542).
2ae01800 1870 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1871
fc4f7a23
EW
18722012-01-27 Eduard Wiebe <usenet@pusto.de>
1873
1874 * dired.el (dired-mark-files-regexp):
1875 Include any subdirectory components. (Bug#10445)
1876
7dd37071
ML
18772012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1878
1879 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1880 Handle [host]:port syntax. (Bug#10533)
1881
a268160b
AH
18822012-01-27 Alex Harsanyi <harsanyi@mac.com>
1883
1884 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1885
e43273ef
GM
18862012-01-26 Glenn Morris <rgm@gnu.org>
1887
1888 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1889 * term.el (term-raw-escape-map): Use Control-X-prefix.
1890 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1891
1edf595d
MR
18922012-01-25 Martin Rudalics <rudalics@gmx.at>
1893
1894 * window.el (window-state-get, window--state-get-1): Don't deal
1895 with fixed-sizeness of windows. Simplify code.
1896
fa8eafef
JC
18972012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1898
6df6ae42
JB
1899 * window.el (window--state-get-1, window--state-put-2):
1900 Don't save and restore the mark.
fa8eafef 1901
0b21c100
CY
19022012-01-25 Chong Yidong <cyd@gnu.org>
1903
1904 * custom.el (custom-variable-p): Doc fix.
1905
5ae1a6c8
GM
19062012-01-25 Glenn Morris <rgm@gnu.org>
1907
40047858
GM
1908 * dired.el (dired-goto-file): Handle some of the more common
1909 characters that `ls -b' escapes. (Bug#10596)
1910
5ddce96c
GM
1911 * progmodes/compile.el (compilation-next-error-function):
1912 Respect compilation-first-column in the "*compilation*" buffer.
1913 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1914
5ae1a6c8
GM
1915 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1916
b559f1a9
GM
19172012-01-24 Glenn Morris <rgm@gnu.org>
1918
1919 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1920
6725d21a
JD
19212012-01-24 Julien Danjou <julien@danjou.info>
1922
1923 * color.el (color-rgb-to-hsl): Fix value computing.
1924 (color-hue-to-rgb): New function.
1925 (color-hsl-to-rgb): New function.
1926 (color-clamp, color-saturate-hsl, color-saturate-name)
1927 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1928 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1929
70df4bbe
GM
19302012-01-24 Glenn Morris <rgm@gnu.org>
1931
1932 * vc/vc-rcs.el (vc-rcs-create-tag):
1933 * vc/vc-sccs.el (vc-sccs-create-tag):
1934 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1935
802a2ae2
ML
19362012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1937
1938 * eshell/esh-util.el (eshell-read-hosts-file):
1939 Skip comment lines. (Bug#10549)
1940
d7128bb1
ML
1941 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1942
d1a5c3b4
JB
19432012-01-23 Juanma Barranquero <lekktu@gmail.com>
1944
2724d9c7
JB
1945 * subr.el (display-delayed-warnings): Doc fix.
1946 (collapse-delayed-warnings): New function to collapse identical
1947 adjacent warnings.
1948 (delayed-warnings-hook): Add it.
d1a5c3b4 1949
a5509865
MA
19502012-01-22 Michael Albinus <michael.albinus@gmx.de>
1951
1952 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1953
1954 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1955 properties, when "login-as" is set.
1956
1957 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1958 (tramp-default-user-alist): Don't add "pscp".
1959 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1960 property "login-as", if set. (Bug#10530)
1961
cc6d5805
MA
19622012-01-21 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1965 "plink1" and "psftp". (Bug#10530)
1966
19672012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1968
1969 * international/mule-cmds.el (prefer-coding-system): Show a
1970 warning message if the default value of file-name-coding-system
1971 was not changed.
1972
f0960428
JC
19732012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1974
cb882333
JB
1975 * windmove.el (windmove-reference-loc):
1976 Fix windmove-reference-loc miscalculation.
f0960428 1977
dd6f2a63
JB
19782012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1979
1980 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1981 default unit.
1982
7b447e9b
GM
19832012-01-21 Glenn Morris <rgm@gnu.org>
1984
117a9ea1
GM
1985 * international/mule.el (auto-coding-alist): Add .tbz.
1986
7b447e9b
GM
1987 * files.el (local-enable-local-variables): Doc fix.
1988 (inhibit-local-variables-regexps): Rename from
1989 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1990 Doc fix. Add some extensions from auto-coding-alist.
1991 (inhibit-local-variables-suffixes):
1992 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1993 (inhibit-local-variables-p):
1994 New function, extracted from set-auto-mode-1.
1995 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1996 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1997 (hack-local-variables): Doc fix. Make the mode-only case
1998 respect enable-local-variables and friends.
1999 Respect inhibit-local-variables-regexps for file-locals, but
2000 not for directory-locals.
2001 (set-visited-file-name):
2002 Take account of inhibit-local-variables-regexps.
2003 Whether it applies may change as the file name is changed.
2004 * jka-cmpr-hook.el (jka-compr-install):
2005 * jka-compr.el (jka-compr-uninstall):
2006 Update for inhibit-first-line-modes-suffixes name change.
2007
dd6e3cdd
MR
20082012-01-20 Martin Rudalics <rudalics@gmx.at>
2009
2010 * help-macro.el (make-help-screen): Temporarily restore original
2011 binding for minor-mode-map-alist (Bug#10454).
2012
0d0deb38
JD
20132012-01-19 Julien Danjou <julien@danjou.info>
2014
2015 * color.el (color-name-to-rgb): Use the white color to find the max
2016 color component value and return correctly computed values.
2017 (color-name-to-rgb): Add missing float conversion for max value.
2018
34a02f46
MR
20192012-01-19 Martin Rudalics <rudalics@gmx.at>
2020
2021 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2022 special state value for window-persistent-parameters.
2023 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2024 (window--state-put-2): Reset all window parameters to nil before
2025 assigning values of persistent parameters.
2026
606c44c4
AM
20272012-01-18 Alan Mackenzie <acm@muc.de>
2028
2029 Eliminate sluggishness and hangs in fontification of "semicolon
2030 deserts".
2031
cb882333
JB
2032 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2033 Change value 10000 -> 3000.
606c44c4
AM
2034 (c-state-safe-place): Reformulate so it doesn't stack up an
2035 infinite number of wrong entries in c-state-nonlit-pos-cache.
2036 (c-determine-limit-get-base, c-determine-limit): New functions to
2037 determine backward search limits disregarding literals.
2038 (c-find-decl-spots): Amend commenting.
2039 (c-cheap-inside-bracelist-p): New function which detects "={".
2040
2041 * progmodes/cc-fonts.el
2042 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2043 backward search.
2044 (c-font-lock-declarations): Fix an occurrence of point being
2045 undefined. Check additionally for point being in a bracelist or
2046 near a macro invocation without a semicolon so as to avoid a
2047 fruitless time consuming search for a declarator. Give a more
2048 precise search limit for declarators using the new
2049 c-determine-limit.
2050
f3860cea
GM
20512012-01-18 Glenn Morris <rgm@gnu.org>
2052
2053 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2054 (set-auto-mode): Doc fixes.
2055
1db03b16
GM
20562012-01-17 Glenn Morris <rgm@gnu.org>
2057
0e6038be
GM
2058 * isearch.el (search-nonincremental-instead): Fix doc typo.
2059
1db03b16
GM
2060 * dired.el (dired-insert-directory): Handle newlines in directory name.
2061 (dired-build-subdir-alist): Unescape newlines in directory name.
2062
4cb0aa75
MA
20632012-01-17 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2066 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2067 (tramp-action-terminal): Use it. (Bug#10530)
2068
1d00653d
SM
20692012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2072
6a6ee00d
MR
20732012-01-16 Martin Rudalics <rudalics@gmx.at>
2074
2075 * window.el (window-state-ignored-parameters): Remove variable.
2076 (window--state-get-1): Rename argument MARKERS to IGNORE.
2077 Handle persistent window parameters. Make copy of clone-of
2078 parameter only if requested. (Bug#10348)
2079 (window--state-put-2): Install a window parameter only if it has
2080 a non-nil value or an existing parameter shall be overwritten.
2081
97912def
MA
20822012-01-15 Michael Albinus <michael.albinus@gmx.de>
2083
2084 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2085
688070a5
EZ
20862012-01-14 Eli Zaretskii <eliz@gnu.org>
2087
2088 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2089 don't pass the (nil) value of `upnode' to string-match.
2090
301afadc
CY
20912012-01-14 Chong Yidong <cyd@gnu.org>
2092
2093 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2094 Fix values recognized by the cursorBlink resource.
301afadc 2095
9e5788aa
PE
20962012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2097
2098 * epg.el (epg--make-temp-file): Avoid permission race condition
2099 when running on old Emacs versions (bug#10403).
2100
3cdb7f5a
GM
21012012-01-14 Glenn Morris <rgm@gnu.org>
2102
2103 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2104
8c82b1b4
AM
21052012-01-13 Alan Mackenzie <acm@muc.de>
2106
2107 Fix filling for when filladapt mode is enabled.
2108
2109 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2110 c-mask-paragraph, pass in `fill-paragraph' rather than
2111 `fill-region-as-paragraph'. (This is a reversion of a previous
2112 change.)
eb864a71
LM
2113 * progmodes/cc-mode.el (c-basic-common-init):
2114 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2115
e517eda4
GM
21162012-01-13 Glenn Morris <rgm@gnu.org>
2117
1498536e
GM
2118 * dired.el (dired-switches-escape-p): New function.
2119 (dired-insert-directory): Use dired-switches-escape-p.
2120 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2121
e517eda4
GM
2122 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2123
328f984d
GM
21242012-01-12 Glenn Morris <rgm@gnu.org>
2125
2126 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2127 changes in adaptive-fill-regexp. (Bug#10276)
2128
2cc769a8
AM
21292012-01-11 Alan Mackenzie <acm@muc.de>
2130
2131 Fix Emacs bug #10463 - put `widen's around the critical spots.
2132
1d00653d 2133 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2134 widen around each invocation of c-state-pp-to-literal. Remove an
2135 unused let variable.
2136
e52c37fa
GM
21372012-01-11 Glenn Morris <rgm@gnu.org>
2138
2139 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2140 Doc fix.
e52c37fa 2141
96f8741e
CY
21422012-01-10 Chong Yidong <cyd@gnu.org>
2143
1d00653d
SM
2144 * net/network-stream.el (network-stream-open-starttls):
2145 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2146 response to the capability command.
2147
b09a806e
GM
21482012-01-10 Glenn Morris <rgm@gnu.org>
2149
2150 * mail/unrmail.el (unrmail): Tweak previous change.
2151
7655cb66
CY
21522012-01-09 Chong Yidong <cyd@gnu.org>
2153
2154 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2155
9d5a8f0b
AM
21562012-01-08 Alan Mackenzie <acm@muc.de>
2157
2158 Optimise font locking in long enum definitions.
2159
2160 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2161 arm to a cond form to handle enums.
2162 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2163 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2164
9a0115ab 21652012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2166
2167 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2168 (Bug#10401)
6bb72cbd 2169
f186bb95
LMI
21702012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2171
29232a68
LMI
2172 * faces.el (set-face-attribute): Clarify the meaning of the nil
2173 frame (bug#10294).
2174
4e5d086d
LMI
2175 * subr.el (with-selected-frame): Mention that the selected frame
2176 is restored (bug#9980).
2177
8e66aebe
LMI
2178 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2179 (bug#9759).
2180
cd394be1 2181 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2182 (password-read): Don't autoload unused function.
2183
adf4e762
JB
21842012-01-07 Juanma Barranquero <lekktu@gmail.com>
2185
2186 * progmodes/which-func.el (which-func-mode): Turn into a
2187 non-interactive function and mark as obsolete (bug#10428).
2188
89bd9ccd
CY
21892012-01-06 Chong Yidong <cyd@gnu.org>
2190
2191 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2192 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2193 functions, along with 1 and -1.
2194
4afee9d5
EZ
21952012-01-06 Eli Zaretskii <eliz@gnu.org>
2196
2197 * time.el (display-time-load-average)
2198 (display-time-default-load-average): Doc fixes. See the thread
2199 starting at
2200 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2201 for the details.
2202
536aea70
GM
22032012-01-06 Glenn Morris <rgm@gnu.org>
2204
665ae865
GM
2205 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2206 has no messages. (Bug#10377)
2207
c869783d
GM
2208 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2209 than Info-edit. (Bug#10385)
2210
2bb4227e
GM
2211 * time.el (display-time-load-average, display-time-next-load-average):
2212 Doc fixes.
2213
7d5944b9
GM
2214 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2215 local setting of buffer-read-only to the input buffer. (Bug#10419)
2216
536aea70
GM
2217 * calendar/calendar.el (calendar-mode):
2218 Locally set scroll-margin to 0. (Bug#10379)
2219
7dccca16
UM
22202012-01-06 Ulrich Mueller <ulm@gentoo.org>
2221
2222 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2223
afbb7930
GM
22242012-01-05 Glenn Morris <rgm@gnu.org>
2225
2226 * eshell/em-unix.el (diff-no-select): Autoload it.
2227 (eshell/diff): Use diff-no-select. (Bug#10420)
2228
04482335
CY
22292012-01-05 Chong Yidong <cyd@gnu.org>
2230
7baca3bc
CY
2231 * shell.el (shell-dynamic-complete-functions): Revert last change.
2232 (shell-command-completion-function): New function.
2233 (shell-completion-vars): Use it to implement
2234 shell-completion-execonly (Bug#10417).
2235
04482335
CY
2236 * custom.el (enable-theme): Don't set custom-safe-themes.
2237
1d00653d
SM
2238 * cus-theme.el (custom-theme-merge-theme):
2239 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2240
bb5aa5d6
MM
22412012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2242
2243 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2244 first prompt in `sql-interacive-mode'.
2245 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2246 keywords.
6df6ae42 2247 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2248 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2249 context of original buffer. Invoke `sql-login-hook'.
2250
a7183d7c
EZ
22512012-01-04 Eli Zaretskii <eliz@gnu.org>
2252
2253 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2254 letters in cite-prefix.
2255
a1eacd1e
LMI
22562012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2257
2258 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2259
787cdb34
CY
22602012-01-03 Chong Yidong <cyd@gnu.org>
2261
1d00653d
SM
2262 * shell.el (shell-dynamic-complete-functions):
2263 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2264 comint-filename-completion first (Bug#10417).
2265
30710442
RS
22662012-01-02 Richard Stallman <rms@gnu.org>
2267
2268 * battery.el (battery-status-function):
2269 Detect when to use battery-yeeloong-sysfs.
2270 (battery-echo-area-format): Add string for Yeeloong.
2271 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2272 (battery-yeeloong-sysfs): New function.
2273
f75bfc33
CY
22742012-01-02 Chong Yidong <cyd@gnu.org>
2275
2276 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2277 (dirtrack): Merge code for handling relative filenames in prompt
2278 from shell-dir-cookie-watcher.
2279 (dirtrack-debug-message): New arg to avoid excess format calls.
2280
2281 * shell.el (shell-dir-cookie-re): Variable deleted.
2282 (shell-dir-cookie-watcher): Function deleted.
2283 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2284 with dirtrack-mode.
2285
651e947e
EZ
22862012-01-01 Eli Zaretskii <eliz@gnu.org>
2287
1d00653d
SM
2288 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2289 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2290 libgnutls-26.dll.
2291
94d4c7dc
AS
22922011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2293
2294 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2295
8d43f3cd
EZ
22962011-12-31 Eli Zaretskii <eliz@gnu.org>
2297
2298 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2299 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2300
98c8795a
MA
23012011-12-29 Michael Albinus <michael.albinus@gmx.de>
2302
2303 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2304 also for alternative shells.
2305 (tramp-open-connection-setup-interactive-shell): Check, whether
2306 the shell is a busybox.
2307 (tramp-send-command): Don't suppress multiple prompts for
2308 busyboxes, it hurts.
2309
51281b32
CY
23102011-12-28 Chong Yidong <cyd@gnu.org>
2311
2312 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2313 (gdb-get-source-file): Move mode line update to
2314 gdb-get-source-file (Bug#10087).
2315
2170cb53
CY
23162011-12-25 Chong Yidong <cyd@gnu.org>
2317
2318 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2319 gud-gdb-marker-filter without taking it as an argument.
2320 (gud-gdb-run-command-fetch-lines): Caller changed.
2321 (gud-gdb-completion-function): New variable.
2322 (gud-gdb-completion-at-point): Use it.
2323 (gud-gdb-completions-1): Split from gud-gdb-completions.
2324
2325 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2326 function as separate arguments.
2327 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2328 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2329 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2330 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2331 (gdb-stopped, def-gdb-auto-update-trigger)
2332 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2333 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2334 Callers changed.
2170cb53
CY
2335 (gud-gdbmi-completions): New function.
2336 (gdb): Use it for generating the completion table.
2337
be8b11bb
AM
23382011-12-24 Alan Mackenzie <acm@muc.de>
2339
2340 Introduce a mechanism to widen the region used in context font
1d00653d 2341 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2342
1d00653d
SM
2343 * progmodes/cc-langs.el (c-before-font-lock-functions):
2344 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2345 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2346 functions to be run just before context (etc.) font locking.
2347
2348 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2349 New, functionality extracted from
be8b11bb 2350 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2351 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2352 (c-after-change): Set c-in-after-change-fontification.
2353 (c-set-fl-decl-start): Rejig its interface, so it can be called
2354 from both after-change and context fontifying.
b81d40f0
JB
2355 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2356 New functions.
2357 (c-standard-font-lock-fontify-region-function): New variable.
2358 (c-font-lock-fontify-region): New function.
be8b11bb 2359
341cf6ac
JL
23602011-12-24 Juri Linkov <juri@jurta.org>
2361
2362 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2363 (Bug#10348)
2364
bffcee0a
MA
23652011-12-23 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2368 existence of source file. (Bug#10325)
2369
cb5e207c
AM
23702011-12-23 Alan Mackenzie <acm@muc.de>
2371
2372 Fix unstable fontification inside templates.
2373
b81d40f0
JB
2374 * progmodes/cc-langs.el (c-before-font-lock-functions):
2375 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2376 additionally has c-set-fl-decl-start. The other languages (apart
2377 from AWK) have that as a single entry.
2378
b81d40f0
JB
2379 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2380 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2381 c-set-fl-decl-start.
2382
b81d40f0
JB
2383 * progmodes/cc-mode.el (c-common-init, c-after-change):
2384 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2385 (c-set-fl-decl-start): New function, extracted from
2386 c-font-lock-enclosing-decls and enhanced.
2387
60ff536c
JB
23882011-12-23 Juanma Barranquero <lekktu@gmail.com>
2389
2390 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2391
1c4757d6
JL
23922011-12-22 Juri Linkov <juri@jurta.org>
2393
2394 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2395
d031f2c7
CY
23962011-12-22 Chong Yidong <cyd@gnu.org>
2397
2398 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2399
bace743a
DA
24002011-12-21 Drew Adams <drew.adams@oracle.com>
2401
2402 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2403
728a1f2b
JC
24042011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2405
2406 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2407
0d373f73
TZ
24082011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2409
fec0aaa4
TZ
2410 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2411 highlighting and support. Fix up comments for capitalization.
2412 (cfengine-mode-debug): New var.
2413 (cfengine3-mode): Change the modeline indicator to "CFE3".
2414 (cfengine3-font-lock-keywords): Improve defun highlighting.
2415 (cfengine2-actions): Rename from `cfengine-actions'.
2416 (cfengine2-font-lock-keywords): Rename from
2417 `cfengine-font-lock-keywords'.
2418 (cfengine2-imenu-expression): Rename from
2419 `cfengine-imenu-expression'.
2420 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2421 (cfengine2-beginning-of-defun): Rename from
2422 `cfengine-beginning-of-defun'.
2423 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2424 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2425 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2426 modeline indicator to "CFE2".
2427 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2428 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2429
bc86f573
CY
24302011-12-21 Chong Yidong <cyd@gnu.org>
2431
2432 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2433 filename argument.
2434
d45ba96b
MR
24352011-12-20 Martin Rudalics <rudalics@gmx.at>
2436
2437 * window.el (window-normalize-buffer-to-display): Remove.
2438 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2439
a6198c90
CY
24402011-12-19 Chong Yidong <cyd@gnu.org>
2441
2442 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2443 Don't signal an error in a predicate function; return non-nil.
2444 (vc-dir-mark-file): Move the error here.
2445 (vc-dir-mark-unmark): If acting on the region, keep going if one
2446 of the entries cannot be marked/unmarked.
2447 (vc-dir-mark-all-files): If current entry is a directory, mark
2448 only child files, as documented.
2449
34c5fb55
VB
24502011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2451
2452 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2453 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2454 addition.
2455
c803b2b7
JD
24562011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2457
2458 * term/ns-win.el (ns-get-selection-internal)
2459 (ns-store-selection-internal): Declare.
1154d12e
JB
2460 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2461 Declare as obsolete.
2462 (ns-get-pasteboard, ns-paste-secondary):
2463 Use ns-get-selection-internal.
2464 (ns-set-pasteboard, ns-copy-including-secondary):
2465 Use ns-store-selection-internal.
c803b2b7 2466
9cff91f8 24672011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2468
2469 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2470 (vc-deduce-fileset): Doc fix.
99a289d9 2471
f16c898a
AS
24722011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2473
2474 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2475
763237c4
SS
24762011-12-13 Sam Steingold <sds@gnu.org>
2477
2478 * man.el (Man-getpage-in-background): When running under a
2479 window-system, ignore $MANWIDTH and $COLUMNS.
2480
5fc1c122
KH
24812011-12-15 Kenichi Handa <handa@m17n.org>
2482
2483 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2484 (setup-ethiopic-environment-internal): Comment out key-binding for
2485 ethio-toggle-punctuation.
2486
13d49cbb
AM
24872011-12-13 Alan Mackenzie <acm@muc.de>
2488
898169a2
AM
2489 Add the switch statement to AWK Mode.
2490
7a71b18d 2491 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2492 "default" to the keywords regexp.
2493
7a71b18d 2494 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2495 expression as the rest.
1d00653d
SM
2496 (c-nonlabel-token-key): Allow string literals for AWK.
2497 Refactor for the other modes.
898169a2 2498
13d49cbb 2499 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2500 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2501 routines. Limit backward searching in c-font-lock-enclosing.decl.
2502
2503 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2504 pp-state and literal type in addition to the limits.
1d00653d 2505 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2506 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2507 (c-slow-in-literal, c-fast-in-literal): Remove.
2508 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2509
2510 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2511 being in a literal. Add a limit for backward searching.
2512
2513 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2514 c-slow-in-literal.
2515
15e0efc7
SM
25162011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2519
454592a6
MR
25202011-12-13 Martin Rudalics <rudalics@gmx.at>
2521
2522 * window.el (delete-other-windows): Use correct frame in call to
2523 window-with-parameter.
2524
87393f26
DP
25252011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2526
2527 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2528 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2529 (makefile-gmake-statements, makefile-makepp-statements):
2530 Use it and add new makepp keywords.
2531 (makefile-makepp-font-lock-keywords): Add new patterns.
2532 (makefile-match-function-end): Match new [...] and [[...]].
2533
11636b22
JB
25342011-12-11 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * ses.el (ses-call-printer-return, ses-cell-property-get)
2537 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2538 (ses-create-cell-variable, ses-reset-header-string)
2539 (ses-cell-set-formula, ses-repair-cell-reference-all)
2540 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2541 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2542 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2543 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2544 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2545 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2546 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2547 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2548 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2549 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2550 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2551 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2552
cf018193
VB
25532011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2554
2555 * ses.el: The overall change is to add cell renaming, that is
2556 setting fancy names for cell symbols other than name matching
2557 "\\`[A-Z]+[0-9]+\\'" regexp .
2558 (ses-create-cell-variable): New defun.
2559 (ses-relocate-formula): Relocate formulas only for cells the
2560 symbols of which are not renamed, i.e. symbols whose names do not
2561 match regexp "\\`[A-Z]+[0-9]+\\'".
2562 (ses-relocate-all): Relocate values only for cells the symbols of
2563 which are not renamed.
2564 (ses-load): Create cells variables as the (ses-cell ...) are read,
2565 in order to check row col consistency with cell symbol name only
2566 for cells that are not renamed.
2567 (ses-replace-name-in-formula): New defun.
2568 (ses-rename-cell): New defun.
2569
ee957461
CY
25702011-12-11 Chong Yidong <cyd@gnu.org>
2571
2572 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2573 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2574
9a9e9ef0
MR
25752011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2576
2577 * window.el (other-window): Fix docstring.
2578
92a8eba5
EZ
25792011-12-10 Eli Zaretskii <eliz@gnu.org>
2580
2581 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2582 `from' or `to' address before taking its substring.
2583 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2584 encoded name is chopped in the middle of the encoded string, and
2585 thus displayed encoded.
2586
e152e577
JB
25872011-12-10 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2590
e5d84bfe
EZ
25912011-12-10 Eli Zaretskii <eliz@gnu.org>
2592
2593 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2594 to use texinfo-update-node and commands that call it if the
2595 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2596 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2597 (texinfo-all-menus-update, texinfo-master-menu)
2598 (texinfo-update-node, texinfo-every-node-update)
2599 (texinfo-multiple-files-update): Doc fix. Warn against updating
2600 all the @node lines.
2601 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2602 argument is numeric. Explain better in the doc string what the
2603 function really does.
2604 (texinfo-insert-master-menu-list): Improve the error message
2605 displayed if there's no menu in the Top node.
2606 (Bug#2975) See also this thread:
e5d84bfe
EZ
2607 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2608
1d84e9bb
MG
26092011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2610
2611 * speedbar.el (speedbar-supported-extension-expressions):
2612 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2613
382c953b
JB
26142011-12-09 Juanma Barranquero <lekktu@gmail.com>
2615
2616 * printing.el (pr-mode-alist):
2617 * simple.el (filter-buffer-substring-functions)
2618 (completion-list-insert-choice-function):
2619 * window.el (window-with-parameter, window-atom-root)
2620 (window-sides-slots, window-size-fixed, window-min-delta)
2621 (window-max-delta, window--resize-mini-window)
2622 (window--resize-child-windows-normal, window-tree)
2623 (delete-other-windows, quit-window, split-window)
2624 (display-buffer-record-window, special-display-buffer-names)
2625 (special-display-regexps, special-display-popup-frame)
2626 (same-window-p, split-window-sensibly)
2627 (display-buffer-overriding-action, display-buffer-alist)
2628 (display-buffer-base-action, display-buffer, switch-to-buffer)
2629 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2630 (fit-window-to-buffer, recenter-positions)
2631 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2632 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2633 and remove unneeded backslashes in docstrings.
2634
39c9faef
SM
26352011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2636
98449af8
SM
2637 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2638
39c9faef
SM
2639 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2640 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2641 end in ".mk".
2642 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2643 when reading the makefile (bug#10116).
2644
86ed9fdc
SM
26452011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2648 (bug#10116).
2649
5580f89d
GM
26502011-12-06 Glenn Morris <rgm@gnu.org>
2651
2652 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2653
28d3917c
CY
26542011-12-06 Chong Yidong <cyd@gnu.org>
2655
2656 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2657
a98edce9
JB
26582011-12-06 Juanma Barranquero <lekktu@gmail.com>
2659
2660 * textmodes/table.el (table-shorten-cell): Fix typo.
2661
e65adfac
CG
26622011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2663
2664 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2665
71cc0b74
EZ
26662011-12-05 Eli Zaretskii <eliz@gnu.org>
2667
2668 * descr-text.el (describe-char): Fix display of strong
2669 right-to-left characters and directional embeddings and overrides.
2670
2671 * simple.el (what-cursor-position): Fix display of codepoints of
2672 strong right-to-left characters.
2673
315bc30d
CY
26742011-12-05 Chong Yidong <cyd@gnu.org>
2675
2676 * faces.el (read-color): Doc fix.
2677
58a70b94
GM
26782011-12-05 Glenn Morris <rgm@gnu.org>
2679
2680 * align.el (align--set-marker): Add doc-string.
2681 Don't try to move something that is not a marker. (Bug#10216)
2682
5158face
GM
26832011-12-04 Glenn Morris <rgm@gnu.org>
2684
2685 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2686 overly zealous deletion of trailing whitespace.
2687
520fca41
JB
26882011-12-04 Juanma Barranquero <lekktu@gmail.com>
2689
2690 * server.el (server-delete-client): On Windows, do not try to delete
2691 the only terminal.
2692 (server-process-filter): On Windows, treat requests for a tty frame as
2693 if they were for a GUI frame if the running server is in GUI mode.
2694
5e605a2e
GM
26952011-12-03 Glenn Morris <rgm@gnu.org>
2696
2697 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2698
5c3fe83f
SM
26992011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2700
6f5e57e7
SM
2701 * electric.el: Streamline electric-indent's hook.
2702 (electric-indent-chars): Revert to simple list.
2703 (electric-indent-functions): New var.
2704 (electric-indent-post-self-insert-function): Use it.
2705
5c3fe83f
SM
2706 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2707 there's no inferior buffer (bug#10196).
2708 (prolog-consult-compile): Don't use toggle-read-only.
2709
6bdac736
MA
27102011-12-02 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2713 interrupt. (Bug#10187)
2714
6131ba7f
SM
27152011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2716
99c79fee
SM
2717 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2718 (bug#9160).
2719
6131ba7f
SM
2720 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2721 (bug#10191).
2722
cb0a02ea
JL
27232011-12-02 Juri Linkov <juri@jurta.org>
2724
2725 * info.el (Info-search): Display "end of manual" when Isearch
2726 reaches the end of single-file Info manual. (Bug#9918)
2727
66e0570c
EZ
27282011-12-02 Eli Zaretskii <eliz@gnu.org>
2729
2730 * isearch.el (isearch-message-prefix): Run the input method part
2731 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2732
02b16839
JL
27332011-12-02 Juri Linkov <juri@jurta.org>
2734
2735 * isearch.el (isearch-occur): Use `word-search-regexp' for
2736 `isearch-word'.
2737 (isearch-search-and-update): Add condition for `isearch-word' and
2738 call `word-search-regexp'. (Bug#10145)
2739
0b950688
GM
27402011-12-01 Glenn Morris <rgm@gnu.org>
2741
2742 * eshell/em-hist.el (eshell-hist-initialize):
2743 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2744 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2745
9505c3c7
SM
27462011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2749
1bbe96b2 27502011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2751
a1beca85
SM
2752 * progmodes/verilog-mode.el (verilog-pretty-expr):
2753 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2754 verilog, such as += *= and the like.
2755 (verilog-assignment-operator-re): Regular expression to find the
2756 assigment operator in a verilog assignment.
2757 (verilog-assignment-operation-re): Regular expression to find an
2758 assignment statement for pretty-expr.
2759 (verilog-in-attribute-p): Query returns true if point is in an
2760 attribute context; used to skip these for expression line up from
2761 pretty-expr.
2762 (verilog-in-parameter-p): Query returns true if point is in an
2763 parameter definition context; used to skip these for expression
2764 line up from pretty-expr.
2765 (verilog-in-parenthesis-p): Query returns true if point is in a
2766 parenthetical expression, specifically ( ) but not [ ] or { };
2767 used by pretty-expr.
2768 (verilog-just-one-space): If there is no space, don't add one.
2769 (verilog-get-lineup-indent-2): Specifically skip just attribute
2770 contexts for expression lineup, rather than skipping all
2771 parenthetical expressions.
2772 (verilog-calculate-indent): Fix comment, and fix indent.
2773 (verilog-do-indent): Indent declarations in lists (suggested by
2774 Joachim Lechner).
2775 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2776 skeleton items.
2777 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2778 by Alain Mellan).
2779
1bbe96b2 27802011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2781
2782 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2783 parameters with embedded comments. Reported by Ray Stevens.
2784 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2785 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2786 Reported by Tim Holt.
2787 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2788 instantiated by upper module causing wrong expansion until AUTOed a
2789 second time. Reported by K C Buckenmaier.
2790 (verilog-diff-auto): Fix showing .* as a difference when
2791 `verilog-auto-star-save' off. Reported by Dan Dever.
2792 (verilog-auto-reset, verilog-read-always-signals)
2793 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2794 temporary signals in reset list if
2795 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2796 style to each signal's assignment type, bug381.
2797 Reported by Thomas Esposito.
6288f0ca
WS
2798 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2799 (verilog-uvm-statement-re): Support UVM indentation and
2800 highlighting, with old OVM keywords only.
a1beca85 2801 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2802 Support AUTOTIEOFF creating non-wire data types.
2803 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2804 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2805 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2806 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2807 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2808 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2809 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2810 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2811 non-numeric vector width. Reported by Alex Reed.
2812 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2813 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2814 (verilog-auto-delete-trailing-whitespace):
2815 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2816 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2817 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2818 Fix verilog-scan-cache corruption when running user AUTO expansion
2819 hooks that call indentation routines.
2820 (verilog-simplify-range-expression): Fix typo ignoring lower case
2821 identifiers.
2822 (verilog-delete-auto): Fix delete-autos to also remove user created
2823 automatics, as long as they start with AUTO.
2824 (verilog-batch-diff-auto, verilog-diff-auto)
2825 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2826 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2827 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2828 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2829 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2830 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2831 is disabled and its cache will get corrupt, causing AUTOS not to
2832 expand. Instead use only -quick functions.
2833 (verilog-scan-region): Fix scanning over escaped quotes.
2834 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2835 (verilog-re-search-backward-quick)
2836 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2837 related functions now ignore strings, to fix misparsing of strings
2838 with magic comments embedded in them.
a1beca85
SM
2839 (verilog-read-auto-template):
2840 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2841 Reported by Brad Dobbie.
2842 (verilog-read-auto-template):
2843 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2844 Reported by Brad Dobbie.
6288f0ca
WS
2845 (verilog-auto-inst, verilog-auto-inst-param)
2846 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2847 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2848 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2849 debugging templates without merge conflicts, bug357.
2850 Reported by Brad Dobbie.
2851 (verilog-read-auto-template):
2852 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2853 Reported by Brad Dobbie.
2854 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2855 abbrevs so user won't be asked to save.
2856 (verilog-read-auto-lisp-present): Fix to start at beginning of
2857 buffer in case called outside of verilog-auto.
2858 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2859 to "X-2". Reported by Matthew Myers.
2860 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2861 all inputs from module templates. Reported by Leith Johnson.
2862 (verilog-module-inside-filename-p): Fix locating programs as with
2863 modules.
2864 (verilog-auto-inst-port): Fix vl-width expressions when using
2865 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2866 (verilog-decls-get-regs, verilog-decls-get-signals,
2867 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2868 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2869 verilog-read-decls): Combine reg and wire structures into one var
2870 structure to represent SystemVerilog concepts.
2871 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2872 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2873 (verilog-auto-wire-type, verilog-insert-definition):
2874 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2875 SystemVerilog "logic" keyword instead of "wire"/"reg".
2876 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2877 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2878 ifdef or generate if so there's not a driver conflict).
2879 Reported by Matthew Myers.
2880 (verilog-auto-declare-nettype, verilog-insert-definition):
2881 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2882 `default_nettype none. Reported by Julian Gorfajn.
2883 (verilog-read-always-signals-recurse, verilog-read-decls)
2884 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2885 malformed end statement, bug325. Reported by Joshua Wise and
2886 Andrew Drake.
2887 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2888 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2889 when expanding .* in interfaces, bug320.
2890 Reported by Pierre-David Pfister.
6288f0ca 2891 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2892 name and open parenthesis, bug317.
2893 Reported by Pierre-David Pfister.
6288f0ca
WS
2894 (verilog-simplify-range-expression): Fix simplification of
2895 multiplications inside AUTOWIRE connections, bug303.
2896 (verilog-auto-inst-port): Support parameter expansion in
2897 multidimensional arrays.
2898 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2899 after "assert property". Reported by Julian Gorfajn.
2900 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2901 with multiplication, bug303.
2902 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2903 Reported by Jan Frode Lonnum.
2904
1bbe96b2
GM
29052011-11-30 Juanma Barranquero <lekktu@gmail.com>
2906
2907 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2908 (hfy-shell-file-name, hfy-shell):
2909 * international/fontset.el (x-decompose-font-name): Fix typos.
2910
29112011-11-29 Ken Brown <kbrown@cornell.edu>
2912
2913 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2914 (gdb-version): Remove defvar.
2915 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2916 (gdb-gud-context-command, gdb-non-stop-handler)
2917 (gdb-current-context-command, gdb-stopped): Use it.
2918 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2919 (gdb-non-stop-handler): Don't enable pretty-printing here.
2920 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2921 non-stop mode. Use the following.
2922 (gdb-check-target-async): New defun.
2923 (gud-watch, gdb-stopped): Fix whitespace.
2924 (gdb-get-source-file): Don't try to display the source file if
2925 `gdb-main-file' is nil.
2926
29272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * align.el: Try to generate fewer markers (bug#10047).
2930 (align--set-marker): New macro.
2931 (align-region): Use it.
2932
c935221f
SM
29332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2936
e70b5064
CY
29372011-11-29 Chong Yidong <cyd@gnu.org>
2938
2939 * indent.el (indent-for-tab-command, indent-according-to-mode):
2940 Doc fix.
2941 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2942
f3af92b7
MA
29432011-11-29 Michael Albinus <michael.albinus@gmx.de>
2944
2945 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2946 aware of remote file names. (Bug#10124)
2947
ed472be9
CY
29482011-11-29 Chong Yidong <cyd@gnu.org>
2949
2950 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2951
24510c22
SM
29522011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * files.el (find-file): Don't use force-same-window (bug#10144).
2955 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2956 use pop-to-buffer if the selected window can't be used.
2957 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2958
c60c3703
EZ
29592011-11-28 Eli Zaretskii <eliz@gnu.org>
2960
2961 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2962 special-mode-map.
2963
e95def75
CY
29642011-11-28 Chong Yidong <cyd@gnu.org>
2965
2966 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2967
c3f1c606
NR
29682011-11-27 Nick Roberts <nickrob@snap.net.nz>
2969
2970 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2971 gdb-get-source-file-list on gdb-create-source-file-list.
2972
00db469c
EZ
29732011-11-26 Eli Zaretskii <eliz@gnu.org>
2974
2975 * whitespace.el (whitespace-newline): Use a different foreground
2976 color for 16-color light-background displays.
2977
4ad3bc2a
CY
29782011-11-24 Chong Yidong <cyd@gnu.org>
2979
2980 * window.el (display-buffer--special-action): Doc fix.
2981
e9fce1ac
JB
29822011-11-25 Juanma Barranquero <lekktu@gmail.com>
2983
2984 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2985 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2986 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2987 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2988 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2989 (avl-tree-stack-first):
2990 * emacs-lisp/cconv.el (cconv--analyse-use):
2991 * net/gnutls.el (gnutls-negotiate): Fix typos.
2992
cb825e5d
GM
29932011-11-24 Glenn Morris <rgm@gnu.org>
2994
3adbe224
GM
2995 * lpr.el (lpr-windows-system, lpr-lp-system):
2996 * mail/binhex.el (binhex-begin-line):
2997 * progmodes/grep.el (grep-history, grep-find-history):
2998 * textmodes/flyspell.el:
2999 * vc/pcvs-defs.el (cvs-global-menu):
3000 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3001 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3002 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3003
321decc8
GM
3004 * net/tls.el: Fix case of "GnuTLS".
3005
420b63ad
GM
3006 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3007
cb825e5d
GM
3008 * version.el (emacs-build-system): Give it a doc-string.
3009
a0649f08
JL
30102011-11-24 Juri Linkov <juri@jurta.org>
3011
3012 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3013
c0bc0fd4
GM
30142011-11-24 Glenn Morris <rgm@gnu.org>
3015
3016 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3017 if called on a non-mime message just toggle the headers. (Bug#8006)
3018
20db1522
JB
30192011-11-24 Juanma Barranquero <lekktu@gmail.com>
3020
3021 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3022 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3023 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3024 (allout-rebullet-heading, allout-open-sibtopic)
3025 (allout-toggle-current-subtree-encryption)
3026 (allout-toggle-subtree-encryption, allout-encrypt-string)
3027 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3028 (allout-distinctive-bullets-string, allout-auto-activation):
3029 * window.el (window-normalize-buffer-to-display):
3030 * progmodes/verilog-mode.el (verilog-batch-indent):
3031 * textmodes/bibtex.el (bibtex-field-braces-opt)
3032 (bibtex-field-strings-opt):
3033 * vc/cvs-status.el (cvs-tree-merge):
3034 Fix typos.
3035
7262a87c
MA
30362011-11-23 Michael Albinus <michael.albinus@gmx.de>
3037
3038 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3039 `non-essential' to t, in order to avoid remote connections.
3040
283430a1
EZ
30412011-11-23 Eli Zaretskii <eliz@gnu.org>
3042
a1beca85
SM
3043 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3044 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3045 case-insensitively.
3046
d2992a38
ML
30472011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3048
3049 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3050
50419064
GM
30512011-11-23 Glenn Morris <rgm@gnu.org>
3052
da94eca1
GM
3053 * paths.el (rmail-file-name): Reformat the doc-string so that it
3054 is picked up.
3055
9aac4de2
GM
3056 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3057 (rmail-auto-file): Ignore case in the "special" field names,
3058 as mail-fetch-field does for all others.
3059
8038d2d2
GM
3060 * mail/rmail.el (rmail-forward):
3061 * mail/rmailkwd.el (rmail-set-label):
3062 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3063 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3064
f3fe222a
GM
3065 * mail/rmail.el (rmail-current-message): Doc fix.
3066
50419064
GM
3067 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3068
28109f49
SM
30692011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3072
394c65f1
GM
30732011-11-22 Glenn Morris <rgm@gnu.org>
3074
3075 * mail/rmailmm.el (test-rmail-mime-handler)
3076 (test-rmail-mime-bulk-handler)
3077 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3078
f2a0aa3a
JL
30792011-11-21 Juri Linkov <juri@jurta.org>
3080
1154d12e
JB
3081 * calc/calc.el (calc-read-key-sequence):
3082 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3083
9c34a344
LMI
30842011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3085
3086 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3087 Tell the caller that the next line needs recomputation, even
3088 though it doesn't start a sexp (bug#10094).
3089
f04a3be9
SM
30902011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3093
7978747f
SM
30942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3095
f04a3be9
SM
3096 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3097 Use force-same-window.
7978747f 3098
fe7a3057
JB
30992011-11-20 Juanma Barranquero <lekktu@gmail.com>
3100
3101 * descr-text.el (describe-char-unicode-data):
3102 * json.el (json-string-escape):
3103 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3104 (Footnote-unicode, Footnote-style-p):
3105 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3106
24901d61
CY
31072011-11-20 Chong Yidong <cyd@gnu.org>
3108
3109 * window.el (replace-buffer-in-windows): Restore interactive spec.
3110
bac7ff22
SM
31112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3112
24f3d7b9
SM
3113 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3114
bac7ff22
SM
3115 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3116 (byte-compile-global-not-obsolete-vars): New var.
3117 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3118 Use it.
3119 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3120
cd1181db
JB
31212011-11-20 Juanma Barranquero <lekktu@gmail.com>
3122
3123 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3124 * progmodes/pascal.el (electric-pascal-equal):
3125 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3126 * xml.el (xml-substitute-special): Fix typos.
3127
7fb18e9e
GM
31282011-11-20 Glenn Morris <rgm@gnu.org>
3129
3130 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3131 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3132 Doc fixes.
3133 (rmail-decode-mime-charset): Mark as obsolete.
3134
3135 * mail/rmailsum.el (rmail-message-regexp-p-1):
3136 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3137 Before using mime functions, check they are set. (Bug#10077)
3138
d5a6b3ba
JL
31392011-11-19 Juri Linkov <juri@jurta.org>
3140
3141 * info.el (Info-finder-find-node): Use `package--builtins' instead
3142 of `package-alist'. Use node names formed by the pattern "Keyword "
3143 and the keyword name.
3144
e981b61f
AS
31452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3146
1d00653d 3147 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3148
3ffbc301
JL
31492011-11-19 Juri Linkov <juri@jurta.org>
3150
3151 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3152 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3153 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3154 `old-history', `old-history-forward'. Add let-binding
3155 `window-selected'. Remove calls to `kill-buffer',
3156 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3157 before calling `Info-find-node', so `Info-find-node-2' will reread
3158 the Info file. Restore window positions only when `window-selected'
3159 is non-nil.
3160
30c62133
JL
31612011-11-19 Juri Linkov <juri@jurta.org>
3162
3163 * isearch.el (isearch-lazy-highlight-new-loop):
3164 Remove condition `(not isearch-error)'. (Bug#9918)
3165
3166 * misearch.el (multi-isearch-search-fun): Add condition
3167 `(not bound)' to ignore lazy-highlighting search.
3168 Add the search-failed message "end of multi" when the end of
3169 multi-sequence is reached. Uncapitalize the search-failed
3170 message "Repeat for next buffer".
3171
3172 * info.el (Info-search): Add the search-failed message
3173 "end of the manual" when the end of the manual is reached
3174 in Isearch mode.
3175
645ca9cf
JL
31762011-11-19 Juri Linkov <juri@jurta.org>
3177
3178 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3179 Use non-destructive `remove' instead of `delete' because
3180 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3181 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3182
df754f66
JL
31832011-11-19 Juri Linkov <juri@jurta.org>
3184
3185 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3186 to nil instead of binding `search-ring' and `regexp-search-ring'.
3187 (Bug#9185)
3188
0e23d96a
EZ
31892011-11-19 Eli Zaretskii <eliz@gnu.org>
3190
3191 * simple.el (line-move): Force movement by logical lines for any
3192 hscrolled window, not only when auto-hscroll-mode is on.
3193 (line-move-visual): Update doc string to that effect. (Bug#10076)
3194
8a6ccb66
AS
31952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3196
3197 * language/european.el (macintosh): Define as alias for mac-roman.
3198
49ae5b39
EZ
31992011-11-19 Eli Zaretskii <eliz@gnu.org>
3200
3201 * mail/rmailmm.el (rmail-mime-display-header)
3202 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3203 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3204 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3205 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3206 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3207 of a raw aref.
3208 (rmail-mime-entity-segment): To get past the tagline, move forward
3209 2 more lines, to account for the 2 empty lines that precede and
3210 follow the line with the buttons.
3211 (rmail-mime-update-tagline): Move one more line, to get past the
3212 empty line that follows the buttons in the tagline. (Bug#9520)
3213
c56cad4a
MR
32142011-11-19 Martin Rudalics <rudalics@gmx.at>
3215
3216 * window.el (window-max-delta-1, window-min-delta-1)
3217 (window-min-size-1, window-state-get-1, window-state-put-1)
3218 (window-state-put-2): Use "window--" prefix.
3219
cbe71af3
SM
32202011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3221
2ad52c60
SM
3222 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3223 (smie-warning-count): New var.
3224 (smie-set-prec2tab): Use it.
3225 (smie-bnf->prec2): Improve warnings. Add docstring.
3226 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3227 (smie-bnf--set-class): New function.
3228 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3229 corner case.
3230
6944dbc1
SM
3231 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3232 (compilation-error-properties, compilation-move-to-column):
3233 Handle compilation-first-column while in the target buffer.
3234
c400c4d7
SM
3235 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3236 Don't hardcode point-min==1.
3237
6dbe3e96
SM
3238 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3239 (eshell-rewrite-for-command): Remove workaround.
3240 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3241 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3242 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3243
cbe71af3
SM
3244 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3245
a8e1496d
GM
32462011-11-17 Glenn Morris <rgm@gnu.org>
3247
3248 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3249 Ignore buffer-local generated-autoload-file if it is the same
3250 as the global value. (Bug#10049)
3251
df85d315
JB
32522011-11-17 Juanma Barranquero <lekktu@gmail.com>
3253
3254 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3255 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3256 (reftex-toc-previous-heading, reftex-toc-max-level)
3257 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3258 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3259 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3260 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3261 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3262 (reftex-toc-rename-label, reftex-toc-visit-location)
3263 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3264 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3265 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3266 leaving "*toc*" only for references to the buffer.
3267
a0c2d0ae
MR
32682011-11-17 Martin Rudalics <rudalics@gmx.at>
3269
3270 * window.el (window-resize, delete-window, split-window):
3271 Replace window-splits by window-combination-resize.
1d00653d 3272 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3273
35c0bac8
GM
32742011-11-17 Glenn Morris <rgm@gnu.org>
3275
3276 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3277 Make bash entry derive from sh entry, not shell entry.
3278
d0c8fc8a
MA
32792011-11-16 Michael Albinus <michael.albinus@gmx.de>
3280
d0c8fc8a
MA
3281 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3282 properties of linked files. (Bug#9879)
3283
7262a87c
MA
3284 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3285 local file name.
3286
7877f373
JB
32872011-11-16 Juanma Barranquero <lekktu@gmail.com>
3288
3289 * menu-bar.el (menu-bar-file-menu):
3290 * printing.el (pr-ps-utility):
3291 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3292 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3293 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3294 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3295 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3296 (icalendar--convert-cyclic-to-ical)
3297 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3298 (icalendar--convert-ical-to-diary)
3299 (icalendar--convert-recurring-to-diary)
3300 (icalendar--convert-non-recurring-all-day-to-diary)
3301 (icalendar-import-format-sample):
3302 * progmodes/idlw-shell.el (idlwave-shell-mode):
3303 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3304 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3305 (vhdl-ps-print-init): Fix typos.
3306
10649b82
KM
33072011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3308
9d0cfcd6
GM
3309 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3310 FSF and collapse date sequence, obscure author/maintainer email address
3311 better, remove extra version line, track relocation of author's webpage.
10649b82 3312
9d0cfcd6
GM
3313 * progmodes/python.el (python-pdbtrack-input-prompt)
3314 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3315 regular python pdb prompts. Adjustments shamelessly taken exactly as
3316 suggested in EmacsWiki page (tiny change):
3317 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3318
58179cce
JB
33192011-11-16 Juanma Barranquero <lekktu@gmail.com>
3320
3321 * expand.el (expand-pos, expand-index, expand-point):
3322 Remove redundant info from docstring.
3323 (expand-add-abbrevs): Doc fix.
3324 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3325 (expand-sample-perl-mode-expand-list): Fix typos.
3326
3327 * net/dbus.el (dbus-event-member-name):
3328 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3329 * term/pc-win.el (msdos-create-frame-with-faces):
3330 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3331
b6f67890
MR
33322011-11-16 Martin Rudalics <rudalics@gmx.at>
3333
3334 * window.el (split-window, window-state-get-1)
3335 (window-state-put-1, window-state-put-2): Rename occurrences of
3336 window-nest to window-combination-limit.
1d00653d 3337 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3338
ce7ddba0
CY
33392011-11-16 Chong Yidong <cyd@gnu.org>
3340
3341 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3342 regexp (Bug#10033).
3343
3ae704f4
SM
33442011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3347 `completing-read' will remove *Completions* and will preserve
3348 current-buffer for us.
3349 (tmm-add-prompt): Users of *Completions* will always (re)set its
3350 major mode.
3351 (tmm-old-comp-map): Remove.
3352
6ad1cdde
GM
33532011-11-16 Glenn Morris <rgm@gnu.org>
3354
3355 * mail/rmailedit.el: Require rmailmm when compiling.
3356 (rmail-old-mime-state): New declaration.
3357 (rmail-edit-current-message): If editing a mime message,
3358 edit the "raw" message from the mbox buffer.
3359 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3360
d20faa20
GM
33612011-11-15 Glenn Morris <rgm@gnu.org>
3362
3363 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3364 which wasn't being used. Add optional arg to force given state.
3365 (rmail-mime): Add optional arg to force given state.
3366
c7015153
JB
33672011-11-15 Juanma Barranquero <lekktu@gmail.com>
3368
3369 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3370 * frame.el (display-mm-dimensions-alist):
3371 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3372 (outline-move-subtree-down):
3373 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3374 (newsticker--treeview-do-get-node):
3375 * net/quickurl.el (quickurl-list-buffer-name):
3376 * progmodes/dcl-mode.el (dcl-mode):
3377 * progmodes/gdb-mi.el (gdb-mapcar*):
3378 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3379
45261b50
GM
33802011-11-15 Glenn Morris <rgm@gnu.org>
3381
3382 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3383 in a boolean sense, so just make it a boolean, and fix the doc.
3384 (rmail-show-mime-function, rmail-mime-feature)
3385 (rmail-require-mime-maybe): Doc fixes.
3386 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3387
3388 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3389
0d26e0b6
JB
33902011-11-15 Juanma Barranquero <lekktu@gmail.com>
3391
3392 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3393 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3394 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3395 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3396
447f30f6
GM
33972011-11-15 Glenn Morris <rgm@gnu.org>
3398
672b871d
GM
3399 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3400 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3401 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3402 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3403 (rmail-mime, rmail-show-mime): Doc fixes.
3404
f6aa5bb1
GM
3405 * term/ns-win.el (mode-line-frame-identification):
3406 Leave it alone. (Bug#10051)
3407
947cd66b
GM
3408 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3409
447f30f6
GM
3410 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3411 Handle empty buffers. (Bug#9978)
3412
0b381c7e
JB
34132011-11-14 Juanma Barranquero <lekktu@gmail.com>
3414
3415 * international/mule.el (define-charset):
3416 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3417 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3418 * progmodes/verilog-mode.el (verilog-backward-token):
3419 * textmodes/ispell.el (lookup-words):
3420 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3421
71e027ac
GM
34222011-11-14 Glenn Morris <rgm@gnu.org>
3423
56632ce4
GM
3424 * progmodes/executable.el
3425 (executable-make-buffer-file-executable-if-script-p):
3426 Handle file-modes returning nil.
3427
40500957
GM
3428 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3429 message - not necessary, and causes problems. (Bug#9831)
3430
071c2340
GM
3431 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3432
d3cfca60
GM
3433 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3434
71e027ac
GM
3435 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3436 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3437 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3438
89d61221
MR
34392011-11-12 Martin Rudalics <rudalics@gmx.at>
3440
3441 * window.el (window-resize, delete-window): Use window-splits
3442 variable instead of function.
3443 (window-state-get-1, window-state-put-2, window-state-put):
3444 Don't deal with windows' splits status.
3445
98282f6f
GM
34462011-11-12 Glenn Morris <rgm@gnu.org>
3447
3448 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3449 (apropos-documentation): Doc fixes.
3450
40a8bdf6
JB
34512011-11-11 Juanma Barranquero <lekktu@gmail.com>
3452
3453 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3454 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3455
65bd19ff
SM
34562011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * electric.el (electric-indent-post-self-insert-function): Make it
3459 possible for a char to only indent in some circumstances.
3460 (electric-indent-mode): Simplify.
3461
54f9154c
MR
34622011-11-11 Martin Rudalics <rudalics@gmx.at>
3463
3464 * window.el (windows-with-parameter): Remove unused function.
3465 (windows-at-side): Rename to window-at-side-list.
3466 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3467 (window-side-check, window-size-ignore, window-size-fixed-1)
3468 (window-in-direction-2): Prefix with "window--".
3469 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3470
68cbc58b
GM
34712011-11-11 Glenn Morris <rgm@gnu.org>
3472
3473 * subr.el (eval-after-load): If FILE is already loaded,
3474 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3475
b2621720
GM
34762011-11-10 Glenn Morris <rgm@gnu.org>
3477
9a4de110
GM
3478 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3479 Call svn via vc-svn-command rather than vc-do-command.
3480 (vc-svn-command): Add --non-interactive. (Bug#9993)
3481 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3482
b2621720
GM
3483 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3484 Add toggle-read-only. (Bug#7292)
3485 * files.el (toggle-read-only): Mention that it should only
3486 be used interactively. (Bug#10006)
3487
1dce7193
SM
34882011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3489
d9ac1a1e
SM
3490 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3491 Adjust regexp for OCaml warnings.
3492
0c325082
SM
3493 * electric.el (electric-pair-post-self-insert-function): Let user
3494 turn it off buffer-locally (bug#9932).
3495
90132c14
SM
3496 * progmodes/python.el (python-beginning-of-statement):
3497 Rewrite (bug#2703).
3498
1dce7193
SM
3499 * progmodes/compile.el: Better handle TABs (bug#9749).
3500 (compilation-internal-error-properties)
3501 (compilation-next-error-function): Obey the target buffer's
3502 compilation-error-screen-columns.
3503
c4e7c63a
JB
35042011-11-09 Juanma Barranquero <lekktu@gmail.com>
3505
3506 * progmodes/meta-mode.el: Remove obsolete comments.
3507 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3508 Fix typos in docstrings.
3509
2cffd681
MR
35102011-11-09 Martin Rudalics <rudalics@gmx.at>
3511
3512 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3513 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3514 (window--resizable): New function. Make all callers of
3515 window-resizable call window--resizable instead.
3516 (window-resizable): Rewrite in terms of window--resizable.
3517
0edcba87
GM
35182011-11-08 Glenn Morris <rgm@gnu.org>
3519
3520 * progmodes/delphi.el (delphi-mode-syntax-table):
3521 Let define-derived-mode define a proper syntax table. (Bug#9994)
3522
4b0d61e3
SM
35232011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * window.el: Stay away from defsubst.
3526 (window-list-no-nils): Remove.
3527 (window-state-get-1, window-state-get): Use backquote instead.
3528
cd394be1 35292011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3530
4b0d61e3 3531 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3532 Fix incorrect use of default argument in `completing-read'.
3533
e1c2c6f2
MR
35342011-11-08 Martin Rudalics <rudalics@gmx.at>
3535
3536 * window.el (display-buffer-function, special-display-function):
3537 Mention display-buffer-record-window but do not mention
3538 help-setup parameter in doc-strings.
b3f4a882 3539 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3540
105216ed
CY
35412011-11-08 Chong Yidong <cyd@gnu.org>
3542
3543 * window.el (window-total-height, window-total-width): Doc fix.
3544 (window-body-size): Move from C.
3545 (window-body-height, window-body-width): Move to C.
3546
0a9f9ab5
SM
35472011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * window.el: Make special-display like display-buffer-alist (bug#9532).
3550 (display-buffer--special-action): New function, morphed
3551 from display-buffer--special.
3552 (display-buffer): Use it to handle special-display-buffers at higher
3553 priority (just after display-buffer-alist).
3554 (display-buffer-fallback-action, display-buffer--other-frame-action)
3555 (pop-to-buffer-same-window): Remove display-buffer--special.
3556
a769dd15
GM
35572011-11-07 Glenn Morris <rgm@gnu.org>
3558
3559 * calendar/cal-menu.el (cal-menu-set-date-title):
3560 Do nothing if not in a calendar. (Bug#9976)
3561
05a61ee3
SM
35622011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * files.el (find-file): Always use selected-window.
3565
be7f5545
MR
35662011-11-07 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (window-combinations): Make WINDOW argument
3569 mandatory. Rewrite doc-string.
3570 (walk-window-subtree, window-atom-check, window-min-delta)
3571 (window-max-delta, window--resize-this-window)
3572 (window--resize-root-window-vertically, window-tree)
3573 (balance-windows, window-state-put): Rewrite doc-strings as to
3574 not mention the term "subwindow".
3575 (window--resize-subwindows-skip-p): Rename to
3576 window--resize-child-windows-skip-p.
3577 (window--resize-subwindows-normal): Rename to
3578 window--resize-child-windows-normal.
3579 (window--resize-subwindows): Rename to
3580 window--resize-child-windows.
3581 (window-or-subwindow-p): Rename to window--in-subtree-p.
3582
3c6702ef
ML
35832011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3584
3585 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3586 Ensure that mbox format messages end in two newlines (Bug#9974).
3587
49745b39
CY
35882011-11-06 Chong Yidong <cyd@gnu.org>
3589
3590 * window.el (window-combination-p): Function deleted; its
3591 side-effect is not used in any existing code.
3592 (window-combinations, window-combined-p): Call window-*-child
3593 directly.
3594
24300f5f
CY
35952011-11-05 Chong Yidong <cyd@gnu.org>
3596
3597 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3598 (window-size-ignore, window-state-get): Callers changed.
3599 (window-normalize-window): Rename from window-normalize-any-window.
3600 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3601 (window-normalize-live-window): Delete.
447f16b8
CY
3602 (window-combination-p, window-combined-p, window-combinations)
3603 (walk-window-subtree, window-atom-root, window-min-size)
3604 (window-sizable, window-sizable-p, window-size-fixed-p)
3605 (window-min-delta, window-max-delta, window-resizable)
3606 (window-resizable-p, window-full-height-p, window-full-width-p)
3607 (window-current-scroll-bars, window-point-1, set-window-point-1)
3608 (window-at-side-p, window-in-direction, window-resize)
3609 (adjust-window-trailing-edge, maximize-window, minimize-window)
3610 (window-deletable-p, delete-window, delete-other-windows)
3611 (record-window-buffer, unrecord-window-buffer)
3612 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3613 (quit-window, split-window, window-state-put)
3614 (set-window-text-height, fit-window-to-buffer)
3615 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3616
89bd5ee1
EZ
36172011-11-04 Eli Zaretskii <eliz@gnu.org>
3618
53479029
EZ
3619 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3620 rfc2047-decode-string.
3621 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3622 warnings.
3623
89bd5ee1
EZ
3624 * window.el (window-body-height, window-body-width): Mention in
3625 the doc string that the return values are in frame's canonical
3626 units. (Bug#9949)
3627
bd17fdee
AM
36282011-11-03 Alan Mackenzie <acm@muc.de>
3629
3630 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3631 change in cc-engine.el.
3632
acc825c5
SM
36332011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3636
1885e5b8
MR
36372011-11-02 Martin Rudalics <rudalics@gmx.at>
3638
3639 * window.el (quit-window): Call unrecord-window-buffer after
3640 showing another buffer in the window. (Bug#9937)
acc825c5 3641 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3642
ebe06da9
JB
36432011-11-02 Juanma Barranquero <lekktu@gmail.com>
3644
3645 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3646 Accept status with more than 9 shelves. (Bug#9935)
3647 Reported by Colin D Bennett <colin@gibibit.com>.
3648
4ee88440
MR
36492011-11-01 Martin Rudalics <rudalics@gmx.at>
3650
3651 * help.el (with-help-window): Don't reference
3652 temp-buffer-show-specifiers in doc-string.
3653
08e1d82c
AS
36542011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3655
3656 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3657 menu-item.
3658
84bd6e9e
VJL
36592011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3660
3661 * whitespace.el: New version 13.2.2.
3662 (whitespace-newline-mode): Disable properly. Reported by Sarah
3663 <EmacsWiki>.
3664
dba0634a
UJ
36652011-10-30 Ulf Jasper <ulf.jasper@web.de>
3666
3667 * net/newst-treeview.el: Remove "Time-stamp".
3668 (newsticker--group-manage-orphan-feeds): Do not call
3669 newsticker--treeview-tree-update.
db22a3c2
JB
3670 (newsticker-treeview-update, newsticker-treeview):
3671 Call newsticker--treeview-tree-update if necessary.
dba0634a 3672
3d8daefe
MR
36732011-10-30 Martin Rudalics <rudalics@gmx.at>
3674
3675 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3676 (window-iso-combinations): Remove "iso-" infix.
3677 Suggested by Chong Yidong.
3d8daefe
MR
3678 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3679 (window-max-delta-1, window-resize, window--resize-siblings)
3680 (window--resize-this-window, adjust-window-trailing-edge)
3681 (split-window, balance-windows-1)
3682 (shrink-window-if-larger-than-buffer):
3683 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3684 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3685
1bc4c3ae
SM
36862011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3689 in place (bug#9907).
3690 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3691 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3692 (eshell-structure-basic-command, eshell-rewrite-while-command)
3693 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3694 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3695 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3696 (eshell-do-pipelines-synchronously, eshell-eval-command):
3697 Use backquotes and prefer setq to set.
3698 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3699 (eshell-macrop): Use functionp.
c1e2f5fa 3700 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3701
30b65d9c
CY
37022011-10-30 Chong Yidong <cyd@gnu.org>
3703
3704 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3705 instead of set-mark (Bug#9810).
3706
2d197ffb
CY
37072011-10-30 Chong Yidong <cyd@gnu.org>
3708
3709 * window.el (split-window-below, split-window-right): Rename from
3710 split-window-above-each-other and split-window-side-by-side
3711 respectively. All callers changed.
3712 (split-window-sensibly, split-window-sensibly): Use them.
3713 (split-window-keep-point): Doc fix.
3714
3715 * isearch.el: Add isearch-scroll property to split-window-below
3716 and split-window-right.
3717
3718 * follow.el (follow-mode):
3719 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3720 * progmodes/ada-xref.el (ada-gdb-application):
3721 * emulation/vip.el (vip-buffer-in-two-windows):
3722 * image-dired.el (image-dired-dired-with-window-configuration):
3723 * dired-x.el (dired-do-find-marked-files):
3724 * dired.el (dired-pop-to-buffer):
3725 * bs.el (bs--show-with-configuration):
3726 * vc/emerge.el (emerge-setup-windows):
3727 * textmodes/two-column.el (2C-two-columns):
3728 * textmodes/reftex-toc.el (reftex-toc):
3729 * progmodes/gdb-mi.el (gdb-setup-windows):
3730 * progmodes/fortran.el (fortran-window-create):
3731 * net/newst-treeview.el (newsticker--treeview-window-init):
3732 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3733 * emulation/tpu-edt.el (tpu-gold-map):
3734 * emulation/crisp.el (crisp-mode-map):
3735 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3736
38bb2ca8
CY
37372011-10-29 Chong Yidong <cyd@gnu.org>
3738
aa4de341
CY
3739 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3740
e1eb5385
CY
3741 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3742
5d2ece3c
CY
3743 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3744 forged Ispell output (Bug#7904).
3745
38bb2ca8
CY
3746 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3747
d0af9f77
SM
37482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * doc-view.el: Avoid ugly errors about not finding nil.
3751 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3752 (doc-view-dvipdf-program, doc-view-unoconv-program)
3753 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3754 Avoid nil or absolute file name as default value.
3755 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3756
52bedd34
AM
37572011-10-28 Alan Mackenzie <acm@muc.de>
3758
db22a3c2 3759 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3760
7e43cfa5
AM
37612011-10-28 Alan Mackenzie <acm@muc.de>
3762
3763 Amend the handling of c-beginning/end-of-defun in nested declaration
3764 scopes.
3765
52bedd34
AM
3766 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3767 cc-langs.el. Change it to a defcustom.
7e43cfa5 3768
52bedd34
AM
3769 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3770 cc-vars.el.
7e43cfa5 3771
d0af9f77
SM
3772 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3773 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3774
52bedd34 3775 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3776 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3777 (c-widen-to-enclosing-decl-scope): New function.
3778 (c-while-widening-to-decl-block): New macro.
3779 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3780 outward for defun boundaries, and correspondingly change symbol
3781 `respect-enclosure' to `go-outward'.
3782 (c-declaration-limits): Change algorithm to report only the "innermost"
3783 defun's boundaries.
3784
1a2ce9ee
DD
37852011-10-28 Deniz Dogan <deniz@dogan.se>
3786
3787 * net/rcirc.el (rcirc-mode): Use hard newlines.
3788
bc97a826
AM
37892011-10-28 Alan Mackenzie <acm@muc.de>
3790
3791 Amend to indent and fontify macros "which include their own semicolon"
3792 correctly, using the "virtual semicolon" mechanism.
3793
52bedd34 3794 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3795
d0af9f77 3796 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3797 Recode to scan one line at a time rather than having \n and \r
58179cce 3798 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3799 (c-forward-label): Amend for virtual semicolons.
58179cce 3800 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3801
52bedd34
AM
3802 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3803 of the new C macros.
bc97a826 3804
52bedd34 3805 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3806 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3807 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3808 (c-opt-cpp-macro-define): Make into a full language variable.
3809 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3810 AWK Mode (including \n, \r) removed, no longer needed.
3811
d0af9f77
SM
3812 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3813 Invoke c-make-macro-with-semi-re.
bc97a826 3814
52bedd34
AM
3815 * progmodes/cc-vars.el (c-macro-with-semi-re):
3816 (c-macro-names-with-semicolon): New variables.
58179cce 3817 (c-make-macro-with-semi-re): New function.
bc97a826 3818
7a6c0941
SM
38192011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * vc/log-edit.el: Fill empty field rather than adding new one.
3822 (log-edit-add-field): New function.
3823 (log-edit-insert-changelog): Use it.
3824
b0c4cdcf
ML
38252011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3826
3827 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3828
ee1f1da9
SM
38292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3832 (gdb--check-interpreter): New function.
3833 (gdb): Use it.
3834
51bc5f8b
GM
38352011-10-27 Glenn Morris <rgm@gnu.org>
3836
416a2c45
GM
3837 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3838 (least-positive-float, least-negative-float)
3839 (least-positive-normalized-float, least-negative-normalized-float)
3840 (float-epsilon, float-negative-epsilon):
3841 Remove unnecessary declarations.
3842
3843 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3844 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3845 (least-positive-float, least-negative-float)
3846 (least-positive-normalized-float, least-negative-normalized-float)
3847 (float-epsilon, float-negative-epsilon): Add doc-strings,
3848 based on those in cl.texi.
3849
51bc5f8b
GM
3850 * files.el (set-visited-file-name): If the major-mode changed,
3851 reload the local variables. (Bug#9796)
3852
15de15c6
CY
38532011-10-27 Chong Yidong <cyd@gnu.org>
3854
3855 * subr.el (change-major-mode-after-body-hook): New hook.
3856 (run-mode-hooks): Run it.
3857
ee1f1da9
SM
3858 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3859 Use change-major-mode-before-body-hook.
15de15c6
CY
3860
3861 * simple.el (fundamental-mode):
3862 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3863 change introducing fundamental-mode-hook.
3864
5430d399
JB
38652011-10-26 Juanma Barranquero <lekktu@gmail.com>
3866
acc825c5 3867 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3868
ad74a69e
MA
38692011-10-26 Michael Albinus <michael.albinus@gmx.de>
3870
3871 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3872 tramp.el explicitly. (Bug#7583)
ad74a69e 3873
71d4c2a5
SM
38742011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * progmodes/octave-mod.el:
3877 * progmodes/octave-inf.el: Update maintainer.
3878
b1f6fa26
CY
38792011-10-26 Chong Yidong <cyd@gnu.org>
3880
3881 * subr.el (with-wrapper-hook): Rewrite doc.
3882
3f04efd6
MA
38832011-10-25 Michael Albinus <michael.albinus@gmx.de>
3884
3885 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3886 filenames "/method:foo:". (Bug#9793)
3f04efd6 3887
410488d3
SM
38882011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3889
3890 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3891 (bug#9865).
3892
c1ebb47e
GM
38932011-10-24 Glenn Morris <rgm@gnu.org>
3894
3895 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3896
7f5c46c7
MA
38972011-10-24 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * notifications.el: Add the requirement of a running D-Bus session
3900 bus to the Commentary.
3901
db2440b6
JL
39022011-10-24 Juri Linkov <juri@jurta.org>
3903
3904 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3905 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3906 (Bug#9364)
3907
feecf435
JL
39082011-10-24 Juri Linkov <juri@jurta.org>
3909
3910 * info.el (Info-following-node-name-re): Add newline to the list
3911 of allowed characters for leading space. (Bug#9824)
3912
a3839de2
SM
39132011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3914
acc825c5
SM
3915 * progmodes/octave-inf.el (inferior-octave-mode-map):
3916 Fix C-c C-h binding.
a3839de2
SM
3917 * progmodes/octave-mod.el (octave-help): Remove.
3918
09388e76
MA
39192011-10-23 Michael Albinus <michael.albinus@gmx.de>
3920
3921 Sync with Tramp 2.2.3.
3922
3923 * net/tramp-cache.el (top): Pacify byte-compiler using
3924 `init-file-user' and `site-run-file'.
3925
3926 * net/trampver.el: Update release number.
3927
86c60681
CY
39282011-10-23 Chong Yidong <cyd@gnu.org>
3929
3930 * files.el (toggle-read-only): Remove obsolete comment about
3931 version control.
3932
3933 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3934 for toggle-read-only. Note that this hasn't called vc-next-action
3935 since 2008-05-02, though it wasn't documented at the time.
3936
a3839de2
SM
3937 * vc/ediff-init.el (ediff-toggle-read-only-function):
3938 Use toggle-read-only.
86c60681 3939
cd5495ff
AM
39402011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3941
3942 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3943 of c-parse-state.
3944
00b77525 3945 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3946 correct faulty logical expression.
cd5495ff
AM
3947 (c-parse-state-state, c-record-parse-state-state):
3948 (c-replay-parse-state-state): New defvar/defuns.
3949 (c-debug-parse-state): Use new functions.
3950
42ee24ed
MR
39512011-10-22 Martin Rudalics <rudalics@gmx.at>
3952
3953 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3954 last fix. Use window-in-direction correctly.
42ee24ed 3955
a7dee7e7
CY
39562011-10-21 Chong Yidong <cyd@gnu.org>
3957
3958 * progmodes/idlwave.el (idlwave-mode):
3959 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3960 require-final-newline; that's done in prog-mode.
3961 Suggested by Stefan Monnier.
a7dee7e7 3962
e07b9a6d
MR
39632011-10-21 Martin Rudalics <rudalics@gmx.at>
3964
3965 * mouse.el (mouse-drag-window-above)
3966 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3967 (mouse-drag-mode-line-1, mouse-drag-header-line)
3968 (mouse-drag-vertical-line-rightward-window): Remove.
3969 (mouse-drag-line): New function.
3970 (mouse-drag-mode-line, mouse-drag-header-line)
3971 (mouse-drag-vertical-line): Call mouse-drag-line.
3972 * window.el (window-at-side-p, windows-at-side): New functions.
3973
7e1361d9
UM
39742011-10-21 Ulrich Mueller <ulm@gentoo.org>
3975
3976 * tar-mode.el (tar-grind-file-mode):
3977 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3978
30fcaf3a
CY
39792011-10-21 Chong Yidong <cyd@gnu.org>
3980
3981 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3982 * progmodes/vera-mode.el (vera-mode):
3983 Use mode-require-final-newline.
30fcaf3a 3984
516eddb0
GM
39852011-10-20 Glenn Morris <rgm@gnu.org>
3986
db22a3c2 3987 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3988
10d5f513
CS
39892011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3990
3991 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3992
ac6c8639
CY
39932011-10-20 Chong Yidong <cyd@gnu.org>
3994
3995 * emulation/cua-base.el (cua-mode):
3996 * mail/footnote.el (footnote-mode):
3997 * mail/mailabbrev.el (mail-abbrevs-mode):
3998 * net/xesam.el (xesam-minor-mode):
3999 * progmodes/bug-reference.el (bug-reference-mode):
4000 * progmodes/cap-words.el (capitalized-words-mode):
4001 * progmodes/compile.el (compilation-minor-mode)
4002 (compilation-shell-minor-mode):
4003 * progmodes/gud.el (gud-tooltip-mode):
4004 * progmodes/hideif.el (hide-ifdef-mode):
4005 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4006 * progmodes/subword.el (subword-mode):
4007 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4008 * progmodes/which-func.el (which-function-mode):
4009 * term/tvi970.el (tvi970-set-keypad-mode):
4010 * term/vt100.el (vt100-wide-mode):
4011 * textmodes/flyspell.el (flyspell-mode):
4012 * textmodes/ispell.el (ispell-minor-mode):
4013 * textmodes/nroff-mode.el (nroff-electric-mode):
4014 * textmodes/paragraphs.el (use-hard-newlines):
4015 * textmodes/refill.el (refill-mode):
4016 * textmodes/reftex.el (reftex-mode):
4017 * textmodes/rst.el (rst-minor-mode):
4018 * textmodes/sgml-mode.el (html-autoview-mode)
4019 (sgml-electric-tag-pair-mode):
4020 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4021 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4022 * emulation/crisp.el (crisp-mode):
4023 * emacs-lisp/eldoc.el (eldoc-mode):
4024 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4025 minor mode behavior.
4026
aa42ab43
JL
40272011-10-19 Juri Linkov <juri@jurta.org>
4028
4029 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4030 the list of hard-coded chars with escape-glyph face.
4031
89400f1d
SM
40322011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4035
305c07f6
MA
40362011-10-19 Michael Albinus <michael.albinus@gmx.de>
4037
4038 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4039 running process.
4040
13754b54
GM
40412011-10-19 Glenn Morris <rgm@gnu.org>
4042
4043 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4044 Ignore ignored files. (Bug#9726)
4045
06e21633
CY
40462011-10-19 Chong Yidong <cyd@gnu.org>
4047
4048 Doc fix for minor modes, stating that an omitted argument enables
4049 the mode unconditionally when called from Lisp.
4050
4051 * abbrev.el (abbrev-mode):
4052 * allout.el (allout-mode):
4053 * autoinsert.el (auto-insert-mode):
4054 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4055 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4056 (global-auto-revert-mode):
4057 * battery.el (display-battery-mode):
4058 * composite.el (global-auto-composition-mode)
4059 (auto-composition-mode):
4060 * delsel.el (delete-selection-mode):
4061 * desktop.el (desktop-save-mode):
4062 * dired-x.el (dired-omit-mode):
4063 * dirtrack.el (dirtrack-mode):
4064 * doc-view.el (doc-view-minor-mode):
4065 * double.el (double-mode):
4066 * electric.el (electric-indent-mode, electric-pair-mode):
4067 * emacs-lock.el (emacs-lock-mode):
4068 * epa-hook.el (auto-encryption-mode):
4069 * follow.el (follow-mode):
4070 * font-core.el (font-lock-mode):
4071 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4072 * help.el (temp-buffer-resize-mode):
4073 * hilit-chg.el (highlight-changes-mode)
4074 (highlight-changes-visible-mode):
4075 * hi-lock.el (hi-lock-mode):
4076 * hl-line.el (hl-line-mode, global-hl-line-mode):
4077 * icomplete.el (icomplete-mode):
4078 * ido.el (ido-everywhere):
4079 * image-file.el (auto-image-file-mode):
4080 * image-mode.el (image-minor-mode):
4081 * iswitchb.el (iswitchb-mode):
4082 * jka-cmpr-hook.el (auto-compression-mode):
4083 * linum.el (linum-mode):
4084 * longlines.el (longlines-mode):
4085 * master.el (master-mode):
4086 * mb-depth.el (minibuffer-depth-indicate-mode):
4087 * menu-bar.el (menu-bar-mode):
4088 * minibuf-eldef.el (minibuffer-electric-default-mode):
4089 * mouse-sel.el (mouse-sel-mode):
4090 * msb.el (msb-mode):
4091 * mwheel.el (mouse-wheel-mode):
4092 * outline.el (outline-minor-mode):
4093 * paren.el (show-paren-mode):
4094 * recentf.el (recentf-mode):
4095 * reveal.el (reveal-mode, global-reveal-mode):
4096 * rfn-eshadow.el (file-name-shadow-mode):
4097 * ruler-mode.el (ruler-mode):
4098 * savehist.el (savehist-mode):
4099 * scroll-all.el (scroll-all-mode):
4100 * scroll-bar.el (scroll-bar-mode):
4101 * server.el (server-mode):
4102 * shell.el (shell-dirtrack-mode):
4103 * simple.el (auto-fill-mode, transient-mark-mode)
4104 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4105 (line-number-mode, column-number-mode, size-indication-mode)
4106 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4107 * strokes.el (strokes-mode):
4108 * time.el (display-time-mode):
4109 * t-mouse.el (gpm-mouse-mode):
4110 * tool-bar.el (tool-bar-mode):
4111 * tooltip.el (tooltip-mode):
4112 * type-break.el (type-break-mode-line-message-mode)
4113 (type-break-query-mode):
4114 * view.el (view-mode):
4115 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4116 (global-whitespace-mode, global-whitespace-newline-mode):
4117 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4118
a3839de2
SM
4119 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4120 Fix autogenerated docstring.
06e21633 4121
5214e501
JL
41222011-10-19 Juri Linkov <juri@jurta.org>
4123
4124 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4125 by checking environment variables "DESKTOP_SESSION" and
4126 "XDG_CURRENT_DESKTOP". (Bug#9779)
4127
195f8db9
JL
41282011-10-19 Juri Linkov <juri@jurta.org>
4129
4130 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4131 (browse-url-chromium-program, browse-url-chromium-arguments):
4132 New defcustoms.
4133 (browse-url-default-browser): Check for `browse-url-chromium' and
4134 call `browse-url-chromium-program'.
4135 (browse-url-chromium): New command. (Bug#9779)
4136
343a34ff
JB
41372011-10-18 Juanma Barranquero <lekktu@gmail.com>
4138
4139 * facemenu.el (list-colors-duplicates): On Windows, detect more
4140 duplicates by assuming that only colors matching "^System" are
4141 special "system colors". (Bug#9722)
4142
6978a151
SM
41432011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4146 to distinguish the author from the committer.
4147
6a80b297
MA
41482011-10-18 Michael Albinus <michael.albinus@gmx.de>
4149
4150 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4151
b31a5677
JK
41522011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4153
4154 * international/mule.el (sgml-html-meta-auto-coding-function):
4155 Add support for detecting encoding in HTML5 specified only as
4156 <meta charset="UTF-8">. Implementation just makes http-equiv and
4157 content-type parts from HTML4 encoding string optional. (Bug#9716)
4158
80c6d77f
GM
41592011-10-18 Glenn Morris <rgm@gnu.org>
4160
4161 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4162
08b0fee8
CY
41632011-10-18 Chong Yidong <cyd@gnu.org>
4164
4165 * faces.el (cursor): Doc fix.
4166
67e729a5
CY
41672011-10-17 Chong Yidong <cyd@gnu.org>
4168
4169 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4170
343a34ff 41712011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4172
4173 * dirtrack.el (dirtrack): Support shell buffers with path
4174 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4175
0bc06380
TZ
41762011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4177
4178 * json.el: Bump version to 1.3 and note change in History.
4179 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4180
8b79f3e0
SM
41812011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4182
5a7c536b
SM
4183 * comint.el (comint-insert-input, comint-send-input)
4184 (comint-get-old-input-default, comint-backward-matching-input)
4185 (comint-next-prompt): Use nil instead of `input' for field property of
4186 past user input (bug#114).
4187
96a8a0df
SM
4188 * minibuffer.el (completion--replace): Inherit surrounding properties
4189 (bug#114).
4190 (minibuffer-complete-and-exit): Use it.
4191
8b79f3e0
SM
4192 * comint.el (comint--table-subvert): Quote the all-completions output
4193 (bug#9160).
4194
b8f7ff0d
MR
41952011-10-17 Martin Rudalics <rudalics@gmx.at>
4196
8b79f3e0 4197 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4198
b8f7ff0d 4199 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4200 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4201 entries and separate them from frame entries.
4202
c235b555
GM
42032011-10-15 Glenn Morris <rgm@gnu.org>
4204
4205 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4206 Doc fixes.
4207
6bbfa6e1
CY
42082011-10-15 Chong Yidong <cyd@stupidchicken.com>
4209
8b79f3e0
SM
4210 * net/network-stream.el (network-stream-open-starttls):
4211 Improve detection of failure due to lack of TLS support.
ec5c990d 4212
6bbfa6e1
CY
4213 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4214 putting the input text in front and in bold.
4215
98488977
SM
42162011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4217
3d1337be
SM
4218 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4219
ee0b45e4
SM
4220 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4221 empty buffer.
4222
98488977
SM
4223 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4224 unread-command-events rather than pushing yet-another event.
4225
186f4720
EZ
42262011-10-14 Eli Zaretskii <eliz@gnu.org>
4227
4228 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4229 the explanation of the possible choices. Make the options passed
4230 to completing-read shorter.
4231
8b7a997c
AM
42322011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4233
4234 * textmodes/flyspell.el (flyspell-large-region): Make sure
4235 extended character mode is used if defined (Bug#1339).
4236
12587bbb
EZ
42372011-10-13 Eli Zaretskii <eliz@gnu.org>
4238
4239 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4240 character info for LRE, LRO, RLE, and RLO characters by appending
4241 an invisible PDF.
12587bbb 4242
bad41229
SM
42432011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4246 even in case of error; add debug spec; simplify data flow.
4247 (with-timeout-handler): Remove.
4248
28dbc92f
MA
42492011-10-12 Michael Albinus <michael.albinus@gmx.de>
4250
4251 Fix Bug#6019, Bug#9315.
4252
4253 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4254 complete `buffer-file-name', the local file name part could look
4255 remotely (for example on VMS).
4256
4257 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4258 `tramp-run-real-handler'.
4259 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4260 already quoted by '"'.
4261
4262 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4263 Let `file-name-handler-alist' be nil, the local file name part
4264 could look remotely (for example on VMS).
4265
e1b0b23a
SM
42662011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4269 from here...
4270 (flyspell-post-command-hook): ...to here.
4271
a120bde9
SM
42722011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4275 if not needed.
4276 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4277 using completion. Protect against "slow" callers.
4278 Remove the "message hack".
4279
7ce7717b
JL
42802011-10-11 Juri Linkov <juri@jurta.org>
4281
4282 * isearch.el (isearch-lazy-highlight-word): New variable.
4283 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4284 Use it. (Bug#9727)
4285
c02ee9d6
GM
42862011-10-11 Glenn Morris <rgm@gnu.org>
4287
4288 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4289 like f90-previous-statement does.
4290
93e616fd 42912011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4292
1f190e73 4293 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4294 only in interactive use, to avoid error.
4295
af7b6078
SM
42962011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * minibuffer.el (completion-file-name-table): Fix last change,
4299 i.e. ignore normal errors but not the other ones.
4300
0563dae9
MR
43012011-10-10 Martin Rudalics <rudalics@gmx.at>
4302
4303 * window.el (special-display-buffer-names)
4304 (special-display-regexps): Remove some remnants of earlier
4305 changes from doc-strings.
366ca7f3
MR
4306 (quit-windows-on): New function.
4307
4308 * vc/vc.el (vc-revert, vc-rollback):
4309 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4310 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4311 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4312
49677495
MR
43132011-10-09 Martin Rudalics <rudalics@gmx.at>
4314
4315 * window.el (frame-auto-hide-function): Add version tag.
4316 (Bug#9699)
4317
56f2d1e1
MA
43182011-10-09 Michael Albinus <michael.albinus@gmx.de>
4319
4320 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4321 condition.
4322
112a6592
LL
43232011-10-09 Leo Liu <sdl.web@gmail.com>
4324
4325 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4326 (Bug#9701)
4327
0812589b
GM
43282011-10-08 Glenn Morris <rgm@gnu.org>
4329
4330 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4331 before the first code statement zero indent. (Bug#9690)
4332
b2b0776e
CY
43332011-10-08 Chong Yidong <cyd@stupidchicken.com>
4334
4335 * simple.el (count-words-region): Always count in the region.
4336 Report the number of lines and characters too.
4337 (count-words): New command, which counts in the buffer if the
4338 region is inactive, as count-words-region used to.
4339 (count-words--message): New function. Handle plurals.
4340 (count-lines-region): Make it an alias for count-words-region.
4341
4342 * bindings.el (esc-map): Replace count-lines-region with
4343 count-words-region.
4344
c557cd6b
MR
43452011-10-08 Martin Rudalics <rudalics@gmx.at>
4346
4347 * window.el (window--delete): Delete dedicated frame
4348 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4349 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4350
61a57ef4 43512011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4352
3a7d293b 4353 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4354
c3833279
CY
43552011-10-07 Chong Yidong <cyd@stupidchicken.com>
4356
4357 * bindings.el ([M-left],[M-right]): Bind to left-word and
4358 right-word respectively.
4359
21ce8245
GM
43602011-10-07 Glenn Morris <rgm@gnu.org>
4361
4362 * cus-start.el (debug-on-quit): Fix custom type.
4363
6d823bb2
LMI
43642011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4365
0181e193
LMI
4366 * subr.el (define-key-after): Clarify that the function is not
4367 useful for non-menu keymaps.
4368
6d823bb2
LMI
4369 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4370
8e3459ce 43712011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4372
21ce8245 4373 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4374 in current minibuffer (Fix bug with recursive minibuffers).
4375
a1c2d21e
CY
43762011-10-06 Chong Yidong <cyd@stupidchicken.com>
4377
4378 * progmodes/gdb-mi.el (gdb): Doc fix.
4379
5a4cf282
MR
43802011-10-05 Martin Rudalics <rudalics@gmx.at>
4381
4382 * window.el (frame-auto-hide-function): New option replacing
4383 frame-auto-delete. Suggested by Stefan Monnier.
4384 (window--delete): Call frame-auto-hide-function instead of
4385 investigating frame-auto-delete.
c96111ea
MR
4386 (window-point-1, set-window-point-1): New functions.
4387 (window-in-direction, record-window-buffer, window-state-get-1)
4388 (display-buffer-record-window): Use window-point-1 instead of
4389 window-point.
4390 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4391
9854542e
SM
43922011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4395
8943cfb0
GM
43962011-10-05 Glenn Morris <rgm@gnu.org>
4397
4398 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4399 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4400
647ab967
LL
44012011-10-05 Leo Liu <sdl.web@gmail.com>
4402
4403 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4404 works with buffer object.
4405
3ddfbced
SM
44062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * mpc.el (mpc-tool-bar-map): Add labels.
4409
bdfa5dd2
GM
44102011-10-04 Glenn Morris <rgm@gnu.org>
4411
4412 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4413
0e2070b5
MR
44142011-10-04 Martin Rudalics <rudalics@gmx.at>
4415
4416 * window.el (window--delete): New function.
4417 (frame-auto-delete): Resuscitate option.
4418 (bury-buffer, replace-buffer-in-windows)
4419 (quit-window): Rewrite using window--delete.
4420 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4421 Pass display-buffer-mark-dedicated to window--display-buffer-2
4422 (Bug#9639).
4423
3dc61a09
SM
44242011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4425
915a9b64
SM
4426 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4427 returns a list (bug#9554). Add remote file name completion.
4428 * comint.el (comint--table-subvert): Curry and get quote&unquote
4429 functions as arguments.
4430 (comint--complete-file-name-data): Adjust call accordingly.
4431 * pcomplete.el (pcomplete--table-subvert): Remove.
4432 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4433
3dc61a09
SM
4434 * minibuffer.el (completion-table-case-fold): Use currying.
4435 (completion--styles-type, completion--cycling-threshold-type):
4436 New constants.
4437 (completion-styles, completion-category-overrides)
4438 (completion-cycle-threshold): Use them.
4439 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4440 completion-table-case-fold.
4441
8ea0a993
SB
44422011-10-03 Stephen Berman <stephen.berman@gmx.net>
4443
4444 * minibuffer.el (completion-category-overrides): Fix type of styles
4445 and add more user friendly tags (bug#9660).
4446
8c24b7f6
SM
44472011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4448
4449 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4450 (mule-input-method-string): New widget.
4451 (default-input-method, language-info-custom-alist): Use it.
4452
428fe61a
SM
44532011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4454
32c1fffd
SM
4455 * pcomplete.el: Require comint.
4456 (pcomplete--common-suffix): Remove.
4457 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4458 (pcomplete--table-subvert): Sync with comint--table-subvert.
4459 (pcomplete--entries): Use comint-completion-file-name-table.
4460 * comint.el (comint-unquote-filename): Simplify.
4461 (comint-completion-file-name-table): New function (bug#9616).
4462 (comint--complete-file-name-data): Use it.
4463
428fe61a
SM
4464 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4465 (pcmpl-gnu-tar-buffer): Remove.
4466 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4467 around. Make sure pcomplete-suffix-list is only changed temporarily.
4468 Don't look inside the tar's file if it's too large.
428fe61a 4469
04c52e2f
CY
44702011-10-01 Chong Yidong <cyd@stupidchicken.com>
4471
ce3cefcc
CY
4472 * cus-edit.el (custom-mode-map):
4473 * epa.el (epa-key-list-mode-map):
4474 * man.el (Man-mode-map):
4475 * startup.el (splash-screen-keymap):
4476 * simple.el (special-mode-map): Use scroll-up-command and
4477 scroll-down-command.
4478
4479 * progmodes/idlw-help.el (idlwave-help-mode-map):
4480 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4481 * net/newst-plainview.el (newsticker-mode-map):
4482 * emulation/ws-mode.el (wordstar-mode-map):
4483 * emulation/vi.el (vi-com-map):
4484 * calc/calc-graph.el (calc-graph-show-dumb):
4485 * term/sun.el (terminal-init-sun):
4486 * term/ns-win.el (global-map):
4487 * progmodes/grep.el (grep-mode-map):
4488 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4489 * mail/rmail.el (rmail-mode-map):
4490 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4491
04c52e2f
CY
4492 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4493 custom-safe-themes as special.
4494
79adf8c8
JD
44952011-10-01 Julien Danjou <julien@danjou.info>
4496
4497 * notifications.el (notifications-notify): Fix docstring.
4498
63bd50d3
PS
44992011-10-01 Per Starbäck <per@starback.se>
4500
4501 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4502
199e4c7e
MR
45032011-09-30 Martin Rudalics <rudalics@gmx.at>
4504
4505 * startup.el (command-line-1): Fix last fix by inserting
4506 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4507 (Bug#9605) and (Bug#9636)
199e4c7e 4508
fe5f08dd
EZ
45092011-09-29 Eli Zaretskii <eliz@gnu.org>
4510
4511 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4512 window is hscrolled, move by logical lines. (Bug#9607)
4513 (line-move-visual): Update the doc string to the above effect.
4514
b5516bbd
MR
45152011-09-29 Martin Rudalics <rudalics@gmx.at>
4516
ccee00c0
MR
4517 * window.el (display-buffer-record-window): When WINDOW is the
4518 selected window use `point' instead of `window-point'. (Bug#9626)
4519
b5516bbd
MR
4520 * startup.el (command-line-1): Use insert-before-markers when
4521 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4522
b5516bbd
MR
4523 * help.el (help-window): Remove variable.
4524
52aa0014
GM
45252011-09-29 Glenn Morris <rgm@gnu.org>
4526
4527 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4528
df9a7357
JB
45292011-09-29 Juanma Barranquero <lekktu@gmail.com>
4530
4531 * descr-text.el (describe-char-categories): Accept category
4532 descriptions more than one line long.
4533
a8406c20
SM
45342011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4535
88d9610c
SM
4536 * simple.el (delete-trailing-whitespace): Fix last change.
4537
a5daf810
SM
4538 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4539 Don't confuse "y => 3" as the beginning of a `y' operation.
4540
a8406c20
SM
4541 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4542 object has more than 4 slots (bug#9613).
4543
a239d4e9
JB
45442011-09-28 Juanma Barranquero <lekktu@gmail.com>
4545
4546 * subr.el (with-output-to-temp-buffer):
4547 * net/quickurl.el (quickurl, quickurl-browse-url):
4548 Fix typos in docstrings.
4549
693fbdb6
EZ
45502011-09-27 Eli Zaretskii <eliz@gnu.org>
4551
4552 * minibuffer.el (completion-styles)
4553 (completion-category-overrides): Cross reference each other in doc
4554 strings.
4555
8b457e28
GM
45562011-09-27 Glenn Morris <rgm@gnu.org>
4557
4558 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4559 to split-string. (Bug#9606)
4560
85a16208
LMI
45612011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4562
4563 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4564 (bug#9615).
4565
502f9ebd
CY
45662011-09-27 Chong Yidong <cyd@stupidchicken.com>
4567
4568 * emacs-lisp/package.el (list-packages): Fix echo area message.
4569
7690bdea
LL
45702011-09-27 Leo Liu <sdl.web@gmail.com>
4571
4572 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4573
e2ee6f30
MA
45742011-09-25 Michael Albinus <michael.albinus@gmx.de>
4575
4576 * net/dbus.el (dbus-unregister-object): Don't release services for
4577 registered signals. (Bug#9581)
4578
f3f98342
TZ
45792011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4580
4581 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4582 function that picks between cfengine 2 and 3 support
4583 automatically. Update docs accordingly.
4584
dd7aa8dd
KH
45852011-09-22 Kenichi Handa <handa@m17n.org>
4586
4587 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4588 ZERO.
4589 (indian-itrans-v5-table-for-tamil): New variable.
4590 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4591
3f2b07f8
KM
45922011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4593
4594 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4595 that's true if the current command involved collapsing of text.
4596 It's reset to false at the beginning of the next command.
4597 (allout-post-command-business): Move the cursor to the beginning
4598 of entry if the cursor is hidden and collapsing activity just
4599 happened.
4600
371d6a61
CY
46012011-09-24 Chong Yidong <cyd@stupidchicken.com>
4602
4603 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4604 tracking (Bug#9541).
4605
2ac2721a
UJ
46062011-09-24 Ulf Jasper <ulf.jasper@web.de>
4607
4608 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4609 (newsticker-show-news): Automatically load html rendering package
4610 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4611 because w3m-fill-column is let-bound" and the error "Symbol's value
4612 as variable is void: w3m-fill-column".
2ac2721a 4613
fac7ae53
MA
46142011-09-24 Michael Albinus <michael.albinus@gmx.de>
4615
4616 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4617 Release services only if they are defined. (Bug#9581)
4618
e08b633b
RS
46192011-09-23 Richard Stallman <rms@gnu.org>
4620
e488d29c
RS
4621 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4622 distinguish start of paragraph from start of its text.
4623
19c38752
RS
4624 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4625
e08b633b
RS
4626 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4627 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4628 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4629
0a39f27e
AS
46302011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4631
4632 * international/mule-diag.el (mule-diag): Insert a newline after
4633 each fontset description.
4634
db4e950d
SM
46352011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * simple.el (delete-trailing-whitespace):
4638 Document last change; simplify.
4639
eca3f3ea
PW
46402011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4641
d68e189a
PW
4642 * simple.el (delete-trailing-whitespace): Also delete
4643 extra newlines at the end of the buffer.
4644
eca3f3ea
PW
4645 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4646 (picture-newline): Use forward-line so as to ignore fields.
4647
01c157cc
SM
46482011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * subr.el (with-wrapper-hook): Fix edebug spec.
4651
022de23e
LMI
46522011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4653
4654 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4655 (bug#4538).
4656
91683089
MA
46572011-09-23 Michael Albinus <michael.albinus@gmx.de>
4658
eca3f3ea
PW
4659 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4660 Fix nasty bug using wrong cached values.
91683089 4661
5bdd6fa4
AM
46622011-09-23 Alan Mackenzie <acm@muc.de>
4663
4664 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4665
97adfb97
CY
46662011-09-23 Chong Yidong <cyd@stupidchicken.com>
4667
4668 * window.el (pop-to-buffer): Ensure right window is selected if we
4669 chose another frame.
4670
d4ef2b50
EZ
46712011-09-22 Eli Zaretskii <eliz@gnu.org>
4672
4673 * simple.el (what-cursor-position): Use get-char-property-change
4674 and next-single-char-property-change, to be able to show display
4675 properties that come from overlays as well as text properties.
4676
72258fe5
CY
46772011-09-22 Chong Yidong <cyd@stupidchicken.com>
4678
4679 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4680
4681 * cmuscheme.el (run-scheme, switch-to-scheme):
4682 * cus-edit.el (customize-group, custom-buffer-create)
4683 (customize-browse):
4684 * info.el (info):
4685 * shell.el (shell):
4686 * mail/sendmail.el (mail):
4687 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4688
8f098516
RS
46892011-09-22 Richard Stallman <rms@gnu.org>
4690
4691 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4692 move back only to line beg, don't move back over blank lines.
4693
e74f1bb6
MA
46942011-09-22 Michael Albinus <michael.albinus@gmx.de>
4695
4696 * files.el (copy-directory): Set directory attributes only in case
4697 they could be retrieved from the source directory. (Bug#9565)
4698
bfeef8b6
DK
46992011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4700
4701 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4702 (hs-find-block-beginning, hs-hide-level-recursive):
4703 Ignore strings as well as comments. (Bug#9502)
4704
7e423bb8
AS
47052011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4706
4707 * progmodes/sql.el (sql-comint-postgres):
4708 Convert port number to a string. (Bug#9566)
4709
b4d72fcf
MR
47102011-09-22 Martin Rudalics <rudalics@gmx.at>
4711
4712 * window.el (quit-window): Undedicate window when switching to
4713 previous buffer. Reported by Thierry Volpiatto
4714 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4715 (special-display-popup-frame): When popping up a new frame reset
4716 its previous buffers to nil. Simplify code.
b4d72fcf 4717
a7b88dc6
MA
47182011-09-21 Michael Albinus <michael.albinus@gmx.de>
4719
4720 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4721 and process filter, as done also in `shell-command'.
4722
cf4eacfd
MR
47232011-09-21 Martin Rudalics <rudalics@gmx.at>
4724
eca3f3ea 4725 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4726 Call set-window-start with NOFORCE argument t.
4727 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4728 (quit-window): Reword doc-string. Handle new format of
4729 quit-restore parameter. Don't delete window if it has a
4730 previous buffer we can show instead of the present one.
4731 (display-buffer-record-window): Rewrite using a new format for
4732 the quit-restore window parameter
4733 (special-display-popup-frame, display-buffer-same-window)
4734 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4735 (display-buffer-pop-up-window, display-buffer-use-some-window):
4736 Adapt symbol passed to display-buffer-record-window.
4737 * help.el (help-window-setup): Handle new format of quit-restore
4738 parameter.
4739
8d28cb95
SM
47402011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4741
94ab793f
SM
4742 * faces.el (face-list): Fix docstring (bug#9564).
4743
8d28cb95
SM
4744 * window.el (display-buffer--action-function-custom-type):
4745 Don't include internal functions in the Custom interface.
4746
3820edeb
JL
47472011-09-20 Juri Linkov <juri@jurta.org>
4748
4749 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4750 (Info-forward-node, Info-backward-node, Info-next-preorder)
4751 (Info-last-preorder): Use it. (Bug#9528)
4752
5147931d
JL
47532011-09-20 Juri Linkov <juri@jurta.org>
4754
4755 * info.el (Info-last-preorder): Visit last menu item only when
4756 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4757
cf499a1a
JD
47582011-09-20 Julien Danjou <julien@danjou.info>
4759
4760 * password-cache.el (password-cache-remove): Remove entries even if the
4761 value is nil, so that password with a nil value (negative caching) is
4762 possible to invalidate.
4763
f84e2fe2
LM
47642011-09-20 Lawrence Mitchell <wence@gmx.li>
4765
4766 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4767 all whitespace around breakpoint. (Bug#9553)
4768 (f90-find-breakpoint): Only break at whitespace inside a comment.
4769
78054a46
SM
47702011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * minibuffer.el (completion-file-name-table): Keep track of errors.
4773 (completion-table-with-predicate): Handle the case where pred1 is nil.
4774 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4775
345083b2
SM
47762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4777
e24e27be
SM
4778 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4779 (debugger-return-value): Signal an error if the debugging context does
4780 not await any return value.
4781
345083b2
SM
4782 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4783 * image-mode.el (image-toggle-display-text)
4784 (image-toggle-display-image): Stay away from evil `intangible'.
4785
08d355e3
LL
47862011-09-19 Leo Liu <sdl.web@gmail.com>
4787
4788 * replace.el (occur-revert-arguments): Make it permanent-local.
4789 (occur-mode): Don't call font-lock-defontify.
4790
f01da43f
CY
47912011-09-19 Chong Yidong <cyd@stupidchicken.com>
4792
4793 * net/ldap.el (ldap-search-internal): Don't push empty search
4794 result (Bug#9508).
4795
b6072fa6
SM
47962011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4799
443d6696
MA
48002011-09-19 Michael Albinus <michael.albinus@gmx.de>
4801
4802 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4803 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4804
7cc6e154
JL
48052011-09-18 Juri Linkov <juri@jurta.org>
4806
4807 * buff-menu.el (Buffer-menu-mode-map):
4808 * dired.el (dired-mode-map):
4809 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4810 (lisp-interaction-mode-map):
4811 * emacs-lisp/package.el (package-menu-mode-map):
4812 * epa.el (epa-key-list-mode-map):
4813 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4814 (menu-bar-options-menu):
4815 * outline.el (outline-mode-menu-bar-map):
4816 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4817 * vc/vc-dir.el (vc-dir-menu-map):
4818 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4819 Capitalize non-function content words in menu item strings.
4820
4821 * dired.el (dired-mode-map): Add menu item for
4822 `image-dired-dired-toggle-marked-thumbs'.
4823
80302a81
JL
48242011-09-18 Juri Linkov <juri@jurta.org>
4825
4826 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4827 to `isearch-case-fold-search' and restore its original value
4828 after the `isearch-mode' call.
4829
46c5cf66
JL
48302011-09-18 Juri Linkov <juri@jurta.org>
4831
4832 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4833 because `zgrep' returns 1 for successful matches (bug#9226).
4834
d18b513b
JL
48352011-09-18 Juri Linkov <juri@jurta.org>
4836
4837 * info.el (Info-extract-menu-node-name): Check the second match
4838 for empty string (second test-case of bug#9528).
4839 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4840 intermediate nodes to the history (first test-case of bug#9528).
4841
72753f87
JL
48422011-09-18 Juri Linkov <juri@jurta.org>
4843
4844 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4845 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4846
c9384295
JL
48472011-09-18 Juri Linkov <juri@jurta.org>
4848
1154d12e
JB
4849 * info.el (Info-file-supports-index-cookies):
4850 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4851 outputs one more line for long file names (bug#4142).
c9384295 4852
d473dce8
CY
48532011-09-18 Chong Yidong <cyd@stupidchicken.com>
4854
4855 * newcomment.el (comment-normalize-vars): If prompting for
4856 comment-start, set comment-start-skip too (Bug#8424).
4857
2176854d
JB
48582011-09-18 Johan Bockgård <bojohan@gnu.org>
4859
4860 * icomplete.el: Fix previous fix of Bug#5849.
4861 (icomplete-mode): Don't set completion-show-inline-help.
4862 (icomplete-minibuffer-setup): Set completion-show-inline-help
4863 locally during icompletion.
4864
3aace4e4
CY
48652011-09-18 Chong Yidong <cyd@stupidchicken.com>
4866
c940224f
CY
4867 * woman.el (woman2-process-escapes): Don't delete unrecognized
4868 escapes (Bug#7843).
4869
3aace4e4
CY
4870 * files.el (inhibit-first-line-modes-regexps): Add image files.
4871 (hack-local-variables-prop-line): Return nil for malformed
4872 prop-lines (Bug#9044).
4873
710dec63
MA
48742011-09-18 Michael Albinus <michael.albinus@gmx.de>
4875
4876 * net/tramp.el (top): Don't require 'shell.
4877 (tramp-methods): Fix docstring.
4878 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4879 Return complete remote file name. Handle "smb" case.
4880 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4881 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4882
4883 * net/tramp-compat.el (top): Require 'shell.
4884
4885 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4886 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4887 `tramp-current-host'.
4888 (tramp-get-remote-tmpdir): Remove.
4889
4890 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4891 `tramp-tmpdir' entries.
4892 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4893 (tramp-smb-handle-file-attributes): Ignore errors.
4894 (tramp-smb-wait-for-output): Check also for process end.
4895
5d5ac8ec
LMI
48962011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4897
4898 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4899 when sending QUIT (bug#9312).
4900
8c0f49f0
CY
49012011-09-17 Chong Yidong <cyd@stupidchicken.com>
4902
4903 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4904 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4905 occur-mode-display-occurrence.
4906 (occur-edit-mode): Add usage message.
4907 (occur-cease-edit): New command.
4908 (occur-after-change-function): Use text properties to find the
4909 position of the prefix text.
4910 (occur-engine): Set stickiness of prefix text properties.
4911
8f1383f7
GM
49122011-09-17 Glenn Morris <rgm@gnu.org>
4913
4914 * progmodes/etags.el (complete-tag):
4915 Fix call to completion-in-region. (Bug#9526)
4916
744ba0e3
JL
49172011-09-17 Juri Linkov <juri@jurta.org>
4918
4919 * textmodes/ispell.el (ispell-word): Add to the error message
4920 the word, ispell program name and current dictionary (bug#9121).
4921 (ispell-tex-arg-end): Capitalize "error" in the error message.
4922
d9bbf400
AS
49232011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4924
4925 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4926 check. (Bug#4251)
4927
8da11505
JL
49282011-09-17 Juri Linkov <juri@jurta.org>
4929
4930 * window.el (window-safe-min-height, window-safe-min-width):
4931 Fix typos (followup to bug#9522).
4932
a91adc7e
SJ
49332011-09-17 Sven Joachim <svenjoac@gmx.de>
4934
4935 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4936
064f328a
EZ
49372011-09-16 Eli Zaretskii <eliz@gnu.org>
4938
4939 * simple.el (line-move): If goal-column is set, move by logical
4940 lines, not by display lines. (Bug#971)
4941 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4942 to reflect the above change.
4943
e69df516
SM
49442011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * image.el (imagemagick-register-types): Use regexp-opt.
4947
cbb0f9ab
CY
49482011-09-15 Chong Yidong <cyd@stupidchicken.com>
4949
4950 * window.el (display-buffer-base-action): Rename from
4951 display-buffer-default-action. Make default value empty.
4952 (display-buffer-overriding-action): Convert to defvar.
4953 (display-buffer-fallback-action): New var.
4954
25322144
CY
49552011-09-15 Chong Yidong <cyd@stupidchicken.com>
4956
4957 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4958 declaration.
4959 (package--add-to-archive-contents): If there is a duplicate entry
4960 with an older version, remove it.
4961 (package-menu-mark-delete, package-menu-mark-install)
4962 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4963 (package-menu-mark-obsolete-for-deletion):
4964 Use package-menu-get-status instead of a regexp search.
25322144
CY
4965 (package-menu-get-status): Use tabulated-list-entry.
4966 (package-menu-mark-upgrades): New command.
d770725a 4967 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4968 (package-menu-execute): Do installation before deletion.
4969 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4970 instead of checking major-mode.
4971 (package-menu--find-upgrades): New function.
4972
7520339c
LMI
49732011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974
4975 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4976 passwords in the log buffer.
65a046c4
LMI
4977 (smtpmail-process-filter): Update the process marker so that the
4978 "broken by peer" status message is inserted in the right place.
7520339c 4979
d3c30954
SM
49802011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4981
3fe48822
SM
4982 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4983 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4984 bibtex-completion-at-point-function.
4985 (bibtex-completion-at-point-function): Use them.
4986
1b8b3954
SM
4987 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4988
d3c30954
SM
4989 * mpc.el (mpc-constraints-tag-lookup): New function.
4990 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4991 also to browser "album|playlist".
4992
72779976
JL
49932011-09-14 Juri Linkov <juri@jurta.org>
4994
4995 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4996 (isearch-edit-string): Use length of `isearch-string' when
4997 `isearch-fail-pos' returns nil.
4998 (isearch-message): Remove duplicate code and call
4999 `isearch-fail-pos' with arg `t'.
5000
a0bf2bcd
CY
50012011-09-14 Chong Yidong <cyd@stupidchicken.com>
5002
17bb0a2d
CY
5003 * replace.el (occur-mode-goto-occurrence): Don't force using other
5004 window (Bug#9499).
5005
a0bf2bcd
CY
5006 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5007
f678e0b6
MR
50082011-09-14 Martin Rudalics <rudalics@gmx.at>
5009
5010 * window.el (display-buffer-window): Remove.
5011 (display-buffer-record-window): Use help-setup window parameter
5012 instead of variable display-buffer-window.
5013 (display-buffer-function, special-display-buffer-names)
5014 (special-display-function): Mention help-setup parameter instead
5015 of display-buffer-window in doc-string.
d3c30954
SM
5016 * help.el (help-window-setup): New argument help-window.
5017 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5018 Reword some messages.
5019 (with-help-window): Pass window used for displaying the buffer
5020 to help-window-setup. Don't set display-buffer-window.
5021
8e39b2e8
GM
50222011-09-13 Glenn Morris <rgm@gnu.org>
5023
5024 * emacs-lisp/debug.el (debugger-make-xrefs):
5025 Preserve point. (Bug#9462)
5026
85e9c04b
CY
50272011-09-13 Chong Yidong <cyd@stupidchicken.com>
5028
5029 * window.el (window-deletable-p): Use next-frame.
5030
1b36ed6a
MR
50312011-09-13 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (window-auto-delete): Remove.
5034 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5035 dedication and previous buffers.
1b36ed6a
MR
5036 (switch-to-prev-buffer): Don't delete window.
5037 (delete-windows-on): Delete a window's frame if and only if the
5038 window is dedicated.
5039 (replace-buffer-in-windows): Delete buffer's window or frame if
5040 and only if window is dedicated.
5041 (quit-window): Handle quit-restore as before last change.
4d61f28d 5042 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5043
ef8ef9fb
CY
50442011-09-13 Chong Yidong <cyd@stupidchicken.com>
5045
5046 * window.el (window-deletable-p): Never delete the last frame on a
5047 given terminal.
5048
b2cba41e
GM
50492011-09-13 Glenn Morris <rgm@gnu.org>
5050
5051 * help.el (describe-key-briefly): Copy previous standard-output change.
5052
51553db6 50532011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5054
5055 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5056
b7556719
GM
50572011-09-13 Glenn Morris <rgm@gnu.org>
5058
5059 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5060 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5061
64b51947
CY
50622011-09-12 Chong Yidong <cyd@stupidchicken.com>
5063
5064 * dired-aux.el (dired-mark-read-string): Don't return default
5065 value on empty input (Bug#9361).
5066 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5067 Omit initial minibuffer contents.
5068 (dired-do-chmod): Signal an error on empty input.
5069 (dired-mark-read-string): Don't return default on empty input.
5070
5071 * files.el (file-modes-symbolic-to-number): Doc fix.
5072
393a301e
SM
50732011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * international/mule-cmds.el (ucs-completions): Remove.
5076 (read-char-by-name): Use complete-with-action instead; add metadata.
5077
fa5660f9
CY
50782011-09-11 Chong Yidong <cyd@stupidchicken.com>
5079
5080 * window.el (display-buffer--action-function-custom-type)
5081 (display-buffer--action-custom-type): New vars.
5082 (display-buffer-alist, display-buffer-default-action)
5083 (display-buffer-overriding-action): Add defcustom types.
5084
4a592f66
CY
5085 * frame.el (delete-other-frames): Doc fix (Bug#276).
5086
73d56dbd
LMI
50872011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5088
5089 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5090
37ac18a3
CY
50912011-09-11 Chong Yidong <cyd@stupidchicken.com>
5092
5093 Change modes that used same-window-* vars to use switch-to-buffer.
5094
5095 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5096 Use switch-to-buffer.
5097
5098 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5099 (customize-browse, custom-buffer-create-other-window):
5100 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5101
5102 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5103 (Info-prev, Info-up, Info-speedbar-goto-node)
5104 (info-display-manual): Use switch-to-buffer.
5105 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5106
5107 * mail/sendmail.el (mail): Use switch-to-buffer.
5108 (mail-recover): Use switch-to-buffer-other-window.
5109
5110 * cmuscheme.el (run-scheme, switch-to-scheme):
5111 * ielm.el (ielm):
5112 * shell.el (shell):
5113 * net/rlogin.el (rlogin):
5114 * net/telnet.el (telnet, rsh):
5115 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5116
10195bd6
AS
51172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5118
5119 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5120
b322f63a
LMI
51212011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5122
39d7fed6
LMI
5123 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5124 so don't mention it (bug#9301).
ba5a81f1 5125 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5126
ee0e9f11
LMI
5127 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5128 match `x', `w32' and `ns', like the manual says (bug#9029).
5129
0b1c89c1 5130 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5131 (process-kill-buffer-query-function): Mention the buffer name in
5132 the query.
0b1c89c1 5133
77549ea8
LMI
5134 * image-mode.el (image-next-line): The line parameter is mandatory
5135 (bug#9258).
5136
803ef892
LMI
5137 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5138 which can be useful (bug#9301).
5139
12980837
LMI
5140 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5141
91054f8f
LMI
5142 * subr.el (match-string): Mention that the current buffer should
5143 be the same as the search was done in (bug#9282).
5144
b322f63a
LMI
5145 * facemenu.el: Disable the remove-* commands if the mark isn't
5146 active (bug#9162).
5147
3199b96f
CY
51482011-09-10 Chong Yidong <cyd@stupidchicken.com>
5149
5150 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5151 of display-buffer.
5152 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5153
5154 * replace.el (occur-mode-goto-occurrence)
5155 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5156 and display-buffer.
5157
5158 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5159 display-buffer.
5160
5161 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5162 special-display and same-window variables.
5163 (mail-other-window): Use switch-to-buffer-other-window.
5164 (mail-other-frame): USe switch-to-buffer-other-frame.
5165
393a301e
SM
5166 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5167 Use display-buffer-other-frame.
3199b96f
CY
5168 (gdb-display-gdb-buffer): Use pop-to-buffer.
5169
5170 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5171
5172 * progmodes/python.el: Don't set same-window-buffer-names.
5173
5174 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5175
5176 * window.el (display-buffer-alist): Add *Python*.
5177
8319e0bf
CY
51782011-09-10 Chong Yidong <cyd@stupidchicken.com>
5179
5180 * window.el (display-buffer-alist): Add entry for buffers
5181 previously handled same-window-*.
5182 (display-buffer-alist, display-buffer-default-action)
5183 (display-buffer-overriding-action): Mark as risky.
5184 (display-buffer-alist): Document action function changes.
5185 (display-buffer--same-window-action)
5186 (display-buffer--other-frame-action): New variables.
5187 (switch-to-buffer, display-buffer-other-frame): Use them.
5188 (display-buffer): Rename reuse-frame entry to reusable-frames.
5189 (display-buffer-reuse-selected-window): Function deleted.
5190 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5191 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5192 (display-buffer-special): New function.
5193 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5194 display-buffer-reuse-or-pop-window. Split off special-display
5195 part into display-buffer-special.
5196 (display-buffer-use-some-window): Don't perform any special
5197 pop-up-frames handling.
5198 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5199 (display-buffer--maybe-same-window): Rename from
0d3ff375 5200 display-buffer-maybe-same-window.
8319e0bf 5201
919a69aa
CY
5202 * info.el: Don't set same-window-regexps.
5203 (info-setup): New function.
5204 (info-other-window, info): Call it.
5205
5206 * cus-edit.el: Don't set same-window-regexps.
5207 (customize-group): New argument.
5208 (customize-group-other-window): Use it.
5209 (customize-face, customize-face-other-window): Likewise.
5210 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5211
8319e0bf
CY
5212 * net/rlogin.el:
5213 * net/telnet.el:
5214 * progmodes/gud.el: Don't set same-window-regexps.
5215
5216 * cmuscheme.el:
5217 * ielm.el:
5218 * shell.el:
5219 * mail/sendmail.el:
5220 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5221
25173000
JL
52222011-09-10 Juri Linkov <juri@jurta.org>
5223
5224 * isearch.el (isearch-edit-string): Remove obsolete mention of
5225 `C-w' (`isearch-yank-word-or-char') from docstring.
5226 (isearch-query-replace): Fix typo in docstring (bug#9466).
5227
056e44ef
JL
52282011-09-10 Juri Linkov <juri@jurta.org>
5229
5230 * paren.el (show-paren-function): Don't show escaped parens.
5231 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5232
c3760c17
EZ
52332011-09-10 Eli Zaretskii <eliz@gnu.org>
5234
5235 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5236 (mm-default-file-encoding): Remove autoload forms, they are
5237 replaced with autoload cookies in mml.el and mm-encode.el.
5238 (mail-add-attachment): New command.
5239 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5240 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5241 the doc string.
5242 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5243
fece895e
RT
52442011-09-10 Reuben Thomas <rrt@sc3d.org>
5245
e69df516
SM
5246 * simple.el (count-words-region): Use buffer if there's no region
5247 (bug#9429).
fece895e 5248
5e68ce4a
JL
52492011-09-09 Juri Linkov <juri@jurta.org>
5250
5251 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5252 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5253 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5254
0a6b9622
AM
52552011-09-09 Alan Mackenzie <acm@muc.de>
5256
5257 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5258 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5259
14a29deb
EZ
52602011-09-09 Eli Zaretskii <eliz@gnu.org>
5261
5262 Fix for Savannah bug#9392.
5263 * simple.el (mail-encode-mml): New defvar.
5264
5265 * mail/rmail.el (mail-encode-mml): Add a defvar.
5266 (rmail-enable-mime-composing): Default to t.
5267 (rmail-forward): Use MIME method of forwarding only if both
5268 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5269 Set mail-encode-mml non-nil if the MIME method was used.
5270
5271 * mail/sendmail.el (mml-to-mime): Add autoload form.
5272 (mail-encode-mml): Add a defvar.
5273 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5274 to nil.
5275 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5276 message through mml-to-mime, and reset mail-encode-mml to nil.
5277
28c45130
GM
52782011-09-09 Glenn Morris <rgm@gnu.org>
5279
5280 * woman.el (woman-if-body): When processing an .el block,
5281 do not delete the next .el block as well. (Bug#9447)
69f4b618 5282 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5283
9b1c252e
MR
52842011-09-08 Martin Rudalics <rudalics@gmx.at>
5285
5286 * window.el (window-deletable-p): Make sure window is live before
5287 invoking window-prev-buffers.
5288
567457e3
LL
52892011-09-08 Leo Liu <sdl.web@gmail.com>
5290
5291 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5292
97f05794
JL
52932011-09-08 Juri Linkov <juri@jurta.org>
5294
5295 * progmodes/compile.el (compilation-environment): Make it
5296 a defcustom (bug#8340).
5297
8b0874b5
MR
52982011-09-08 Martin Rudalics <rudalics@gmx.at>
5299
5300 * window.el (frame-auto-delete): Rename to window-auto-delete.
5301 Make it control auto-deletion of windows and/or frames.
5302 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5303 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5304 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5305 Rewrite handling of case when window/frame can be deleted.
5306 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5307 argument t. (Bug#9456)
8b0874b5 5308
4feb6e73
CY
53092011-09-07 Chong Yidong <cyd@stupidchicken.com>
5310
5311 * help-mode.el (help-mode): Restore autoload.
5312
91ab9c13
JL
53132011-09-07 Juri Linkov <juri@jurta.org>
5314
5315 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5316 `compilation-environment'. Set buffer-local
5317 `compilation-environment' to `thisenv' later after (funcall mode).
5318 (Bug#8340)
5319
5320 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5321 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5322 instead of replacing its value. (Bug#8340)
5323
0527e251
JL
53242011-09-07 Juri Linkov <juri@jurta.org>
5325
5326 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5327 based on text properties put by `grep-filter' instead of matching
5328 escape sequences.
5329 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5330 to the value of `grep-error-screen-columns' (bug#9438).
5331
249f792c
JL
53322011-09-07 Juri Linkov <juri@jurta.org>
5333
5334 * simple.el (next-error-highlight, next-error-highlight-no-select):
5335 Doc fix (bug#9432).
5336
ff7271b9
OT
53372011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5338
5339 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5340 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5341
183fc730
LL
53422011-09-07 Leo Liu <sdl.web@gmail.com>
5343
5344 * net/rcirc.el (rcirc-mode): Conditionally initialize
5345 rcirc-input-ring.
5346
77694924
SM
53472011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/find-func.el (find-function-C-source): Only set
5350 find-function-C-source-directory after checking that we found a source
5351 file there (bug#9440).
5352
d809b8eb
AM
53532011-09-06 Alan Mackenzie <acm@muc.de>
5354
5355 * isearch.el (isearch-other-meta-char): Wherever a key list is
5356 unread, "unread" the prefix arg, too. This fixes bug #8901.
5357
453de99f
OG
53582011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5359
5360 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5361
90439906
JL
53622011-09-05 Juri Linkov <juri@jurta.org>
5363
5364 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5365
f62bd846
JL
53662011-09-05 Juri Linkov <juri@jurta.org>
5367
5368 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5369 keeping point where processing of grep matches begins, and
5370 continue to delete remaining escape sequences from the same point.
5371 (grep-filter): Make leading zero optional in "0?1;31m" because
5372 git-grep emits "\033[1;31m" escape sequences unlike expected
5373 "\033[01;31m" as GNU Grep does (bug#9408).
5374 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5375
045820ec
JL
53762011-09-05 Juri Linkov <juri@jurta.org>
5377
5378 * subr.el (y-or-n-p): Capitalize "yes".
5379
f5e29b9b
MA
53802011-09-04 Michael Albinus <michael.albinus@gmx.de>
5381
5382 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5383 `tramp-cache-unload-hook' where appropriate.
5384 (tramp-methods): Rename `tramp-remote-sh' to
5385 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5386 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5387
5388 * net/tramp-sh.el (top): Don't require 'shell.
5389 (tramp-methods): Add `tramp-remote-shell' and
5390 `tramp-remote-shell-args' entries.
5391 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5392 (tramp-sh-handle-shell-command): Remove.
5393 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5394 Use `tramp-remote-shell'.
5395
2784c434
CY
53962011-09-03 Chong Yidong <cyd@stupidchicken.com>
5397
393a301e 5398 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5399 (sendmail-query-once): Save directly to send-mail-function.
5400 Update message-send-mail-function too.
5401
5402 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5403
464cdf56
CS
54042011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5405
5406 * progmodes/python.el (python-mode-map): Use correct function to
5407 start python interpreter from menu-bar (as reported by Geert
5408 Kloosterman).
5409 (inferior-python-mode-map): Fix typo.
393a301e 5410 (python-shell-map): Remove.
464cdf56 5411
d37e5c87
DD
54122011-09-03 Deniz Dogan <deniz@dogan.se>
5413
5414 * net/rcirc.el (rcirc-print): Simplify code for
5415 rcirc-scroll-show-maximum-output. There is no need to walk
5416 through all windows to find the right one.
5417
f3ada0ee
CS
54182011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5419
5420 * help.el (help-return-method): Doc fix.
5421
1f3c99ca
MR
54222011-09-03 Martin Rudalics <rudalics@gmx.at>
5423
5424 * window.el (window-deletable-p): Don't return a non-nil value
5425 when there's a buffer that was shown in the window before.
5426 (Bug#9419)
393a301e
SM
5427 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5428 Set window's previous buffers to nil.
1f3c99ca 5429
a3cf097f
EZ
54302011-09-03 Eli Zaretskii <eliz@gnu.org>
5431
5432 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5433 newline before and after the tag line, so it doesn't interfere
5434 with determining the paragraph direction of bidirectional text.
5435
3d03de90
LL
54362011-09-03 Leo Liu <sdl.web@gmail.com>
5437
5438 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5439
c3313451
CY
54402011-09-02 Chong Yidong <cyd@stupidchicken.com>
5441
393a301e 5442 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5443 (pop-to-buffer): Change interactive spec. Pass second argument
5444 directly to display-buffer.
5445 (display-buffer): Fix interactive spec. Use functionp to
5446 distinguish between a function and a list of functions.
5447
5448 * abbrev.el (edit-abbrevs):
5449 * arc-mode.el (archive-extract):
5450 * autoinsert.el (auto-insert):
5451 * bookmark.el (bookmark-bmenu-list):
5452 * files.el (find-file):
5453 * view.el (view-buffer):
5454 * progmodes/compile.el (compilation-goto-locus):
5455 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5456
89894cd8
CY
54572011-09-02 Chong Yidong <cyd@stupidchicken.com>
5458
5459 * window.el (display-buffer-alist): Doc fix.
5460 (display-buffer): Add docstring. Don't treat
5461 display-buffer-default specially.
5462 (display-buffer-reuse-selected-window)
5463 (display-buffer-same-window, display-buffer-maybe-same-window)
5464 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5465 (display-buffer-pop-up-window)
5466 (display-buffer-reuse-or-pop-window)
5467 (display-buffer-use-some-window): New functions.
5468 (display-buffer-default-action): Use them.
393a301e 5469 (display-buffer-default): Delete.
89894cd8
CY
5470 (pop-to-buffer-1): Fix choice of actions.
5471
ae0bc9fb
SM
54722011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * minibuffer.el (completion--insert-strings): Don't get confused by
5475 completion entries that end with an LF char.
5476
e9d90883
EZ
54772011-09-01 Eli Zaretskii <eliz@gnu.org>
5478
5479 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5480
437014c8
CY
54812011-09-01 Chong Yidong <cyd@stupidchicken.com>
5482
5483 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5484 (display-buffer-same-window, display-buffer-other-window):
5485 New functions.
437014c8
CY
5486 (pop-to-buffer-1): New function. Use the above.
5487 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5488 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5489
5490 * view.el (view-buffer-other-window, view-buffer-other-frame):
5491 Just use pop-to-buffer.
5492
a5e063d5
TV
54932011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5494
5495 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5496
793d32bb
WH
54972011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5498
5499 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5500
d65e4c15
RS
55012011-08-31 Richard Stallman <rms@gnu.org>
5502
5503 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5504 of the separation of rmail-view-buffer from rmail-buffer.
5505 If you say no to "replace original", the decrypt is in the
5506 view buffer. If you say yes, the decrypt goes into the
5507 rmail buffer also.
5508
f818cd2a
MR
55092011-08-31 Martin Rudalics <rudalics@gmx.at>
5510
5511 * window.el (display-buffer-window): Rewrite doc-string.
5512 (display-buffer-record-window): New function.
5513 (display-buffer-macro-specifiers)
5514 (display-buffer-even-window-sizes, display-buffer-set-height)
5515 (display-buffer-set-width, display-buffer-in-window)
5516 (display-buffer-reuse-window, display-buffer-split-specifiers)
5517 (display-buffer-side-specifiers, display-buffer-split-window-1)
5518 (display-buffer-split-window, display-buffer-split-atom-window)
5519 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5520 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5521 (display-buffer-other-window-means-other-frame)
5522 (display-buffer-normalize-special)
5523 (display-buffer-normalize-default)
5524 (display-buffer-normalize-argument)
5525 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5526 (display-buffer-normalize-specifiers, display-buffer-frame)
5527 (display-buffer-same-window, display-buffer-same-frame)
5528 (display-buffer-other-window)
5529 (display-buffer-same-frame-other-window)
5530 (display-buffer-other-frame, pop-to-buffer-same-window)
5531 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5532 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5533 (switch-to-buffer-same-frame)
5534 (switch-to-buffer-other-window-same-frame)
5535 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5536 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5537 (display-buffer-alist-set): Remove.
5538 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5539 (special-display-regexps, special-display-function):
5540 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5541 parameter.
5542 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5543 (special-display-frame-alist, special-display-popup-frame)
5544 (same-window-buffer-names, same-window-regexps, same-window-p)
5545 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5546 (split-window-preferred-function, split-height-threshold)
5547 (split-width-threshold, window-splittable-p)
5548 (split-window-sensibly, window--try-to-split-window)
5549 (window--frame-usable-p, even-window-heights)
5550 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5551 (window--display-buffer-2, display-buffer-other-frame):
5552 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5553 (display-buffer-default, display-buffer-assq-regexp): New functions.
5554 (display-buffer-alist): Rewrite doc-string.
5555 (display-buffer-default-action)
5556 (display-buffer-overriding-action): New variables.
5557 (display-buffer, switch-to-buffer): Rewrite.
5558 (pop-to-buffer): Restore Emacs 23 behavior but use
5559 window-normalize-buffer-to-display.
5560 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5561 Restore Emacs 23 behavior but use
5562 window-normalize-buffer-to-switch-to.
5563 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5564 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5565 Rewrite using Emacs 23 options.
f818cd2a 5566
5bc3b51d
MA
55672011-08-31 Michael Albinus <michael.albinus@gmx.de>
5568
5569 * net/tramp.el (tramp-root-regexp): Remove.
5570 (tramp-completion-file-name-regexp-unified)
5571 (tramp-completion-file-name-regexp-separate)
5572 (tramp-completion-file-name-regexp-url): Don't use leading volume
5573 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5574 (tramp-drop-volume-letter): Simplify definition.
5575 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5576
b1a4f8e1
SM
55772011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5580 (bug#9356).
5581
5664fa7b
RT
55822011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5583
b1a4f8e1 5584 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5585
9a45d6c3
JL
55862011-08-29 Juri Linkov <juri@jurta.org>
5587
5588 * isearch.el (isearch-done): Don't display message "Mark saved"
5589 when arg `edit' is non-nil to prevent its flicker in the echo area.
5590
fb87e0fb
CY
55912011-08-28 Chong Yidong <cyd@stupidchicken.com>
5592
5593 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5594 obsolete packages for deletion.
5595
09ac1c2a
CS
55962011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5597
5598 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5599 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5600 view-mode from help-mode.
5601 (help-xref-override-view-map): Remove.
5602 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5603 view-mode is not used anymore.
5604
7a1ff57f
CY
56052011-08-28 Chong Yidong <cyd@stupidchicken.com>
5606
5607 * server.el (server-port): Doc fix.
5608
b9696605
CY
5609 * cus-theme.el (custom-theme-choose-mode): Inherit from
5610 special-mode (Bug#9124).
5611 (custom-theme-choose-mode-map): Add special-mode to parent.
5612
ef8cdf8c
AM
56132011-08-28 Alan Mackenzie <acm@muc.de>
5614
5615 * progmodes/cc-fonts.el
5616 (c-make-font-lock-BO-decl-search-function): New function.
5617 (c-basic-matchers-after - "Fontify the clauses after various
5618 keywords"): Extract the three keyword lists for the 3 erroneous
5619 constructs from the list of four, and use the new function above
5620 in place of an old one.
5621
27de4e20
DD
56222011-08-28 Deniz Dogan <deniz@dogan.se>
5623
5624 * net/rcirc.el (rcirc-insert-prev-input)
5625 (rcirc-insert-next-input): Remove unused argument.
5626
356a3681
SM
56272011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5630
3fc9b218
AM
56312011-08-27 Alan Mackenzie <acm@muc.de>
5632
5633 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5634 handle function pointer parameters properly.
5635
538a061c
MR
56362011-08-27 Martin Rudalics <rudalics@gmx.at>
5637
5638 * window.el (display-buffer-reuse-window): Fix case where
5639 selected window was reused with non-nil OTHER-WINDOW argument.
5640 (Bug#9381)
5641
35b1c40c
DD
56422011-08-27 Deniz Dogan <deniz@dogan.se>
5643
5644 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5645 oftc's NickServ messages.
5646
2f6a3e79
GM
56472011-08-27 Glenn Morris <rgm@gnu.org>
5648
5649 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5650
7254299e
CY
56512011-08-26 Chong Yidong <cyd@stupidchicken.com>
5652
5653 * emacs-lisp/package.el (package-install): Call package-initialize
5654 if called interactively.
5655
f8ccf167
LL
56562011-08-26 Leo Liu <sdl.web@gmail.com>
5657
5658 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5659
3e8cd5ce
JL
56602011-08-25 Juri Linkov <juri@jurta.org>
5661
5662 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5663 `search-whitespace-regexp' (bug#9364).
5664
93eb7113
JL
56652011-08-25 Juri Linkov <juri@jurta.org>
5666
5667 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5668 `regexp-search-ring' to their global values to protect from
5669 updating by `read-from-minibuffer' (bug#9185).
5670
f65d1611
JL
56712011-08-25 Juri Linkov <juri@jurta.org>
5672
5673 * textmodes/ispell.el (ispell-command-loop): Add newline
5674 at the end of the "Use option `i'..." line.
5675
f1cf7a31
JL
56762011-08-25 Juri Linkov <juri@jurta.org>
5677
5678 * battery.el (display-battery-mode): If `battery-status-function'
5679 or `battery-mode-line-format' is nil, display the message and set
5680 `display-battery-mode' to nil (bug#9363).
5681
0c95fcf7
EZ
56822011-08-25 Eli Zaretskii <eliz@gnu.org>
5683
5684 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5685 bidi-string-mark-left-to-right; they are unnecessary now.
5686
a2ebe600
DD
56872011-08-25 Deniz Dogan <deniz@dogan.se>
5688
5689 * net/quickurl.el: Documentation typo fixes.
5690
e4ed06f1
CY
56912011-08-25 Chong Yidong <cyd@stupidchicken.com>
5692
5693 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5694
e5f1c99e
GM
56952011-08-25 Glenn Morris <rgm@gnu.org>
5696
b2948976
GM
5697 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5698
e5f1c99e
GM
5699 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5700 (smtpmail-via-smtp): Handle nil response from smtp.
5701
f22f4808
JL
57022011-08-24 Juri Linkov <juri@jurta.org>
5703
5704 * proced.el (proced-marked): Inherit from `error' instead of
5705 `font-lock-warning-face'.
5706
5707 * ibuffer.el (ibuffer-marked-face): Change default face from
5708 `font-lock-warning-face' to `warning'.
5709 (ibuffer-deletion-face): Change default face from
5710 `font-lock-type-face' to `error'.
5711
5712 * battery.el (battery-update): Use the face `error' instead of
5713 `font-lock-warning-face' (bug#6117).
5714
6a93965e
JL
57152011-08-24 Juri Linkov <juri@jurta.org>
5716
5717 * faces.el (success): Change face color from "Green3" to
5718 "ForestGreen" on light background (bug#9353).
5719
1ed43b09
CY
57202011-08-24 Chong Yidong <cyd@stupidchicken.com>
5721
5664fa7b
RT
5722 * window.el (quit-window): Rename from quit-restore-window.
5723 Use same arglist as old quit-window.
1ed43b09
CY
5724 (frame-auto-delete): Doc fix.
5725
5726 * view.el (view-mode-exit): Use quit-window.
5727
11dcdbb2
JL
57282011-08-24 Juri Linkov <juri@jurta.org>
5729
5730 * isearch.el (isearch-ring-adjust1): Start visiting previous
5731 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5732 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5733 for empty search string (when the last search string is reused
5734 automatically) to adjust the isearch ring to the last element and
5735 prepare the correct index for further M-p commands (bug#9185).
5736
de62b4df
KH
57372011-08-24 Kenichi Handa <handa@m17n.org>
5738
5739 * international/ucs-normalize.el: If decomposition property of
5740 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5741 nil.
5742 (nfd, nfkd): Likewise.
5743
963b492b
SM
57442011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5747 from process filters aren't reliably transmitted to the surrounding
5748 accept-process-output.
5749 (mpc-proc-check): New function.
5750 (mpc-proc-sync): Use it (bug#8293)
5751
93b6b5e1
SM
57522011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5755 Add compatibility functions (bug#9313).
5756
bca633fb
EZ
57572011-08-23 Eli Zaretskii <eliz@gnu.org>
5758
b177498a
EZ
5759 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5760
6df6ae42 5761 * international/uni-bidi.el: Regenerate.
bca633fb 5762
0902a04e
KH
57632011-08-23 Kenichi Handa <handa@m17n.org>
5764
5765 * international/charprop.el:
5766 * international/uni-bidi.el:
5767 * international/uni-category.el:
5768 * international/uni-combining.el:
5769 * international/uni-comment.el:
5770 * international/uni-decimal.el:
5771 * international/uni-decomposition.el:
5772 * international/uni-digit.el:
5773 * international/uni-lowercase.el:
5774 * international/uni-mirrored.el:
5775 * international/uni-name.el:
5776 * international/uni-numeric.el:
5777 * international/uni-old-name.el:
5778 * international/uni-titlecase.el:
5779 * international/uni-uppercase.el: Regenerate.
5780
3bbf23bc
MR
57812011-08-23 Martin Rudalics <rudalics@gmx.at>
5782
5783 * help.el (help-window-setup): Fix message displayed when other
5784 window is reused. (Bug#9341)
5785
b3fd59bd
SM
57862011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5787
1802e444
SM
5788 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5789 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5790
b3fd59bd
SM
5791 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5792 Mark obsolete.
5793 * shell.el (shell-parse-pcomplete-arguments): New function.
5794 (shell-completion-vars): Use it instead (bug#9160).
5795
4eb61348
SM
57962011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5797
867cab74
SM
5798 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5799 strings and comments (bug#9333).
5800
4eb61348
SM
5801 * emacs-lisp/debug.el (debug-arglist): New function.
5802 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5803 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5804
262a1439
JL
58052011-08-22 Juri Linkov <juri@jurta.org>
5806
56ee679c
JL
5807 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5808 Revert regexp that highlights output switches to its old
5809 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5810
262a1439
JL
5811 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5812 to check for empty output (bug#9226).
5813
f13f86fb
CY
58142011-08-22 Chong Yidong <cyd@stupidchicken.com>
5815
5816 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5817 symbol-constituent as the default, as that stops font-lock from
5818 working properly (Bug#8843).
5819
c65c9622
LMI
58202011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5821
5822 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5823 `coding-system-for-*' around the process open call to avoid
5824 auth-source side effects.
e7f2c178 5825 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5826 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5827 probe hangs.
c65c9622 5828
23a8a5ab
CY
58292011-08-21 Chong Yidong <cyd@stupidchicken.com>
5830
ff98b2dd
CY
5831 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5832
23a8a5ab
CY
5833 * emacs-lisp/find-func.el (find-function-noselect): New arg
5834 lisp-only.
5835
5836 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5837 signal an error for built-in functions (Bug#6664).
5838
f5e3c598
LMI
58392011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5840
5841 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5842 (smtpmail-try-auth-methods): Use it.
5843
a3f2468a
CY
58442011-08-21 Chong Yidong <cyd@stupidchicken.com>
5845
2c34e8da
CY
5846 * font-lock.el (font-lock-fontify-region)
5847 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5848 (font-lock-default-unfontify-buffer)
5849 (font-lock-default-fontify-region)
5850 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5851
b3fd59bd
SM
5852 * progmodes/compile.el (compilation-error-properties):
5853 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5854 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5855 `ant' regexp.
ee31aabc 5856
a3f2468a
CY
5857 * net/browse-url.el (browse-url-firefox): Don't call
5858 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5859
8e999f70
GM
58602011-08-20 Glenn Morris <rgm@gnu.org>
5861
c21a496a
GM
5862 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5863
59ee0542
GM
5864 * tutorial.el (tutorial--default-keys): Update some default bindings.
5865
8e999f70
GM
5866 * files.el (hack-local-variables): Fully ignore case for "mode:".
5867
e3715033
AM
58682011-08-20 Alan Mackenzie <acm@muc.de>
5869
5870 Resolve invalid use of a regexp in regexp-opt.
5871
4d61f28d
JB
5872 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5873 detection for a java annotation.
e3715033 5874
4d61f28d 5875 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5876 detection for a java annotation.
5877
4d61f28d
JB
5878 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5879 handling for java.
e3715033
AM
5880 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5881
04ed2e9c
CY
58822011-08-20 Chong Yidong <cyd@stupidchicken.com>
5883
5884 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5885 (Bug#9274).
5886
826cee64
AM
58872011-08-20 Alan Mackenzie <acm@muc.de>
5888
58179cce 5889 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5890 such a construct. Mainly for when jit-lock etc. starts a chunk
5891 here.
5892
58179cce 5893 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5894 variable.
58179cce 5895 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5896 c-make-font-lock-search-function.
5897 (c-make-font-lock-search-function): Use the above function.
5898 (c-make-font-lock-context-search-function): New function.
5899 (c-cpp-matchers): Enhance the preprocessor expression case with
5900 the above function
5901 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5902 which takes an expression.
5903
5904 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5905
13009bd8
MR
59062011-08-20 Martin Rudalics <rudalics@gmx.at>
5907
5908 * window.el (display-buffer-reuse-window)
5909 (display-buffer-pop-up-window): Don't reuse or split a side
5910 window.
5911
9234ff7f
GM
59122011-08-19 Glenn Morris <rgm@gnu.org>
5913
5914 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5915 Downcase "Mode:". (Bug#9331)
9234ff7f 5916
f635daa1
CY
59172011-08-18 Chong Yidong <cyd@stupidchicken.com>
5918
5919 * international/characters.el: Add L and R categories.
5920
5921 * subr.el (bidi-string-mark-left-to-right): Rename from
5922 string-mark-left-to-right. Use category search.
5923
5924 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5925
bc987f8b
JL
59262011-08-18 Juri Linkov <juri@jurta.org>
5927
5928 * faces.el (error, warning, success): New faces with definitions
5929 copied from old default values of `font-lock-warning-face',
5930 `compilation-warning', `compilation-info' (bug#6117).
5931
5932 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5933
5934 * progmodes/compile.el (compilation-error): Inherit from `error'.
5935 (compilation-warning): Inherit from `warning'.
5936 (compilation-info): Inherit from `success'.
5937
5938 * dired.el (dired-marked): Inherit from `warning'.
5939 (dired-flagged): Inherit from `error'.
5940
57173b96
LMI
59412011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
3e79eb87
LMI
5943 * mail/smtpmail.el (auth-source): Require to avoid problems with
5944 binding variables (bug#9298). Also clean up some unused
5945 autoloads.
5946
b3fd59bd
SM
5947 * net/network-stream.el (network-stream-open-starttls):
5948 Support using starttls.el without using gnutls-cli.
57173b96 5949
02b404de
JL
59502011-08-17 Juri Linkov <juri@jurta.org>
5951
5952 * progmodes/grep.el (rgrep): Handle the case when
5953 `grep-find-command' is a cons cell (bug#9278).
5954
8c9177f2
MR
59552011-08-17 Martin Rudalics <rudalics@gmx.at>
5956
5957 * window.el (display-buffer-pop-up-frame): Run frame creation
5958 function with BUFFER current (as special-display-popup-frame
5959 does). Reported by Drew Adams.
5960
3644a0ab
DU
59612011-08-17 Daiki Ueno <ueno@unixuser.org>
5962
5963 * epa-mail.el: Simplify GnuPG group expansion using
5964 epg-expand-group.
5965 (epa-mail-group-alist, epa-mail-group-modtime)
5966 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5967 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5968 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5969 Remove.
5970
5e617bc2 59712011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5972
5973 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5974
9c4aeabf
AM
59752011-08-16 Alan Mackenzie <acm@muc.de>
5976
5977 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5978 Correct, to avoid the inside of macros.
5979
3a99bf64
RS
59802011-08-16 Richard Stallman <rms@gnu.org>
5981
04963aa8
RS
5982 * epa-mail.el: Handle GnuPG group definitions.
5983 (epa-mail-group-alist, epa-mail-group-modtime)
5984 (epa-mail-gnupg-conf-file): New variables.
5985 (epa-mail-parse-groups, epa-mail-sync-groups)
5986 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5987 (epa-mail-expand-recipients): New functions.
5988 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5989
177549d0
RS
5990 * mail/rmail.el (rmail-epa-decrypt): New command.
5991
fe38beef
RS
5992 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5993 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5994 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5995 (epa-decrypt-armor-in-region): Make error message clearer.
5996
934eacb9
SM
59972011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6000 and "a2b" to "ab" for `prefix'.
6001
d024fb4e
CY
60022011-08-14 Chong Yidong <cyd@stupidchicken.com>
6003
6004 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6005 filter groups.
de148fee
CY
6006 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6007 Fourquet (Bug#8804).
d024fb4e 6008
62f1ca49
JB
60092011-08-12 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * startup.el (argi): Declare as global variable (bug#9275).
6012
9ccaaa4b
CY
60132011-08-12 Chong Yidong <cyd@stupidchicken.com>
6014
6015 * subr.el (string-mark-left-to-right): Search the entire string
6016 for RTL script, not just the terminating character. Doc fix.
6017
a3dae87a
SM
60182011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6cd18349
SM
6020 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6021 New function.
6022 (js--regexp-literal, js-syntax-propertize-function): Remove.
6023 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6024 (js-mode-map): Don't rebind electric keys.
6025 (js-insert-and-indent): Remove.
6026 (js-mode): Setup electric-layout and electric-indent instead.
6027
a3dae87a
SM
6028 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6029
9d5cb631
DU
60302011-08-12 Daiki Ueno <ueno@unixuser.org>
6031
6032 * epa.el (epa-progress-callback-function): Fix the logic of
6033 displaying progress.
6034 * epa-file.el (epa-file-insert-file-contents): Make progress
6035 display more user-friendly.
6036 (epa-file-write-region): Ditto.
6037
3e26a4a2
CY
60382011-08-10 Chong Yidong <cyd@stupidchicken.com>
6039
6040 * subr.el (string-mark-left-to-right): New function.
6041
6042 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6043 Use string-mark-left-to-right.
6044 (list-buffers-noselect): Caller changed.
6045
a3dae87a
SM
6046 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6047 Use string-mark-left-to-right.
3e26a4a2
CY
6048 (tabulated-list-print): Recenter after moving point.
6049
ac8cf6e6
JL
60502011-08-10 Juri Linkov <juri@jurta.org>
6051
6052 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6053 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6054 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6055
8d96c9a4
CY
60562011-08-09 Chong Yidong <cyd@stupidchicken.com>
6057
6058 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6059 (Bug#7554).
6060
7be1c708 60612011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6062
6063 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6064 character. (Bug#6594)
6065
37e11a63
CY
60662011-08-08 Chong Yidong <cyd@stupidchicken.com>
6067
839dde57
CY
6068 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6069 (image-dired--with-db-file): New macro.
6070 (image-dired-write-tags, image-dired-remove-tag)
6071 (image-dired-create-gallery-lists, image-dired-write-comments)
6072 (image-dired-get-comment, image-dired-mark-tagged-files)
6073 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6074 (image-dired-gallery-generate): Use insert-file-contents.
6075
37e11a63
CY
6076 * time.el (display-time-world-list, display-time-world-display):
6077 * time-stamp.el (time-stamp-string):
6078 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6079 set-time-zone-rule (Bug#7337).
6080
0b4946c4
DU
60812011-08-08 Daiki Ueno <ueno@unixuser.org>
6082
6083 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6084 (epg-error-to-string, epg-errors-to-string): New function.
6085 (epg-wait-for-completion): Reverse errors list.
6086 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6087 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6088 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6089 (epg-sign-keys, epg-generate-key-from-file)
6090 (epg-generate-key-from-string): Format errors by using
6091 epg-errors-to-string (bug#9255).
6092 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6093
75bfc667
JL
60942011-08-07 Juri Linkov <juri@jurta.org>
6095
6096 * faces.el (list-faces-display): Remove extra angle bracket
6097 from `help-mode-map'.
6098
6099 * info.el (Info-history-toc-nodes): Doc fix.
6100
6101 * longlines.el (longlines-mode): Doc fix.
6102
673e08bb
SM
61032011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6104
4640dd88
SM
6105 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6106 of statements and in a few more cases (bug#9183).
6107
673e08bb
SM
6108 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6109 New functions.
6110 (cl-transform-lambda): Use them (bug#9239).
6111
89b3f019
MR
61122011-08-05 Martin Rudalics <rudalics@gmx.at>
6113
6114 * window.el (display-buffer-same-window)
6115 (display-buffer-same-frame, display-buffer-other-window)
6116 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6117 (pop-to-buffer-other-window)
6118 (pop-to-buffer-same-frame-other-window)
6119 (pop-to-buffer-other-frame): Make them defuns.
6120 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6121
640c8776
SM
61222011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 * subr.el (make-composed-keymap): Move from C. Change calling
6125 convention, and improve docstring to bring attention to a subtle point.
6126 * minibuffer.el (completing-read-default): Adjust accordingly.
6127
63648a95
MA
61282011-08-03 Michael Albinus <michael.albinus@gmx.de>
6129
6130 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6131 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6132
6133 * net/trampver.el: Update release number.
6134
b796c9b7
SM
61352011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6138 "in" (bug#9190).
6139
2239d7d5
LMI
61402011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
e07dd7c3
LMI
6142 * mail/sendmail.el (sendmail-query-once): Restore the current
6143 buffer after querying (bug#9074).
6144
0e6a2bd7
LMI
6145 * dired.el (dired-flagged): Use different faces for marked and
6146 flagged files (bug#6117).
6147
ce887515
LMI
6148 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6149 (bug#4433).
6150
92f2affc
LMI
6151 * ido.el (ido-mode): Switch off the message if called
6152 non-interactively.
6153
57d5aff0
LMI
6154 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6155 before 587, since it appears that that's more likely to work for
6156 more people.
6157
98cd6c18 6158 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6159 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6160 exist.
6161
b96dec83
LMI
6162 * info.el: Remove the `Info-beginning-of-buffer' function
6163 (bug#8325).
6164
b796c9b7
SM
6165 * net/network-stream.el (network-stream-open-starttls):
6166 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6167
d90e2ea0
MR
61682011-08-01 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (display-buffer-in-window): Don't set dedicated status
6171 of window here (Bug#9215).
6172 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6173 (display-buffer-pop-up-side-window)
b796c9b7 6174 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6175
cca09170
SM
61762011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6179 before binding generated-autoload-file.
6180
027b979c
DD
61812011-08-01 Deniz Dogan <deniz@dogan.se>
6182
6183 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6184
3c7ee4f3
MA
61852011-07-30 Michael Albinus <michael.albinus@gmx.de>
6186
6187 Sync with Tramp 2.2.2.
6188
6189 * net/trampver.el: Update release number.
6190
2cc8e51a
JL
61912011-07-30 Juri Linkov <juri@jurta.org>
6192
6193 * dired-aux.el (dired-touch-initial): Remove function.
6194 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6195 current time, and `default' to the last modification time of the
6196 current marked file (bug#6887).
6197
a514d856
JM
61982011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6199
6200 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6201 numeric argument to read-number (bug#9163).
a514d856 6202
8a7eddd7
MA
62032011-07-27 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6206 connection process, it could be nil.
6207
1ddd96f5
LL
62082011-07-27 Leo Liu <sdl.web@gmail.com>
6209
6210 Simplify url handling in rcirc-mode.
6211
6212 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6213 (rcirc-browse-url-at-mouse): Remove.
6214 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6215
b248a85d
AM
62162011-07-26 Alan Mackenzie <acm@muc.de>
6217
6218 Fontify bitfield declarations properly.
6219
6220 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6221 (c-symbol-chars): Now exported as a lang variable.
6222 (c-not-primitive-type-keywords): New lang variable.
6223
6224 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6225 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6226 parsed as a bitfield declaration.
b248a85d 6227
b796c9b7
SM
6228 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6229 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6230 (c-punctuation-in): New function.
6231 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6232 declarations properly.
6233
68575ab0
UJ
62342011-07-26 Ulf Jasper <ulf.jasper@web.de>
6235
6236 * calendar/icalendar.el (icalendar--all-events): Take care of
6237 multiple vcalendars in a single file.
b796c9b7 6238 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6239
0f0a88b9
DD
62402011-07-25 Deniz Dogan <deniz@dogan.se>
6241
6242 * image.el (insert-image): Clarifying docstring.
6243
0b3f36df
MA
62442011-07-24 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6247 `tramp-send-command-and-check' if there is no error.
6248 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6249
a9901f61
AM
62502011-07-22 Alan Mackenzie <acm@muc.de>
6251
6252 Prevent cc-langs.elc being loaded at run time.
6253
6254 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6255 cc-langs.
6256
4d61f28d 6257 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6258 "(require 'cc-langs)". Quote a form so it will evaluate at
6259 (cc-mode's) compilation time.
6260
11d074b2
MA
62612011-07-22 Michael Albinus <michael.albinus@gmx.de>
6262
6263 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6264 loading. (Bug#9114)
6265
938b94c8
MR
62662011-07-21 Martin Rudalics <rudalics@gmx.at>
6267
6268 * window.el (display-buffer-pop-up-window)
6269 (display-buffer-pop-up-side-window)
6270 (display-buffer-in-side-window): Call display-buffer-set-height
6271 and display-buffer-set-width after setting the new window's
b796c9b7 6272 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6273
bfa4f190
SS
62742011-07-20 Sam Steingold <sds@gnu.org>
6275
6276 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6277 (etags-tags-included-tables): Call `convert-standard-filename' on
6278 the file names contained in TAGS so that windows Emacs can handle
6279 TAGS files created by cygwin ctags.
6280
8ca42262
LMI
62812011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282
6283 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6284 which apparently didn't work.
6285
5db2afd2 62862011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6287
5db2afd2
RW
6288 * proced.el (proced-send-signal): For *Marked Processes* buffer
6289 put point at beginning of buffer.
6290
92e15d10
SB
62912011-07-19 Stephen Berman <stephen.berman@gmx.net>
6292
6293 * proced.el (proced-format): Make header lines align with the text
6294 (bug#1779).
6295
1bfd59e5
LMI
62962011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297
6298 * view.el (view-buffer): Allow running in `special' modes if we're
6299 visiting a file (bug#8615).
6300
f5aae37c
MR
63012011-07-19 Martin Rudalics <rudalics@gmx.at>
6302
6303 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6304 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6305 New functions.
f5aae37c
MR
6306 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6307 more accurately.
6308
bf2c1571
AM
63092011-07-18 Alan Mackenzie <acm@muc.de>
6310
6311 Fontify declarators properly when, e.g., a jit-lock chunk begins
6312 inside a declaration.
6313
6314 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6315
b796c9b7
SM
6316 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6317 New function.
bf2c1571
AM
6318 (c-complex-decl-matchers): Insert reference to
6319 c-font-lock-enclosing-decls.
6320
6321 * progmodes/cc-engine.el (c-backward-single-comment):
6322 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6323 to nil around calls to (forward-comment -1).
6324
4e190b80
LMI
63252011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6326
12dc863d
LMI
6327 * image.el (put-image): Doc typo fix.
6328
a762e966
LMI
6329 * progmodes/etags.el (tags-search): Doc typo fix.
6330
4e190b80
LMI
6331 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6332 password if we get errors 550 to 554.
6333
f019fb21
LMI
63342011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6335
b796c9b7 6336 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6337
81746738
LMI
6338 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6339 indentation character (bug#6380).
6340
3ee3a1b5
LMI
6341 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6342
c82f64de
LMI
6343 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6344 to clarify what the problem is (bug#4291).
6345
f019fb21
LMI
6346 * simple.el (current-kill): Clarify what
6347 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6348 (auto-fill-mode): Document `auto-fill-function' in relation to
6349 `auto-fill-mode' (bug#2470).
f019fb21 6350
0794775d
LM
63512011-07-16 Lawrence Mitchell <wence@gmx.li>
6352
6353 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6354 method if slot is read-only (bug#9035).
6355
be39b8cc
MR
63562011-07-16 Martin Rudalics <rudalics@gmx.at>
6357
b796c9b7 6358 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6359 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6360 selected before, see discussion of (Bug#8615), (Bug#6954).
6361 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6362
6ccf7859
GM
63632011-07-15 Glenn Morris <rgm@gnu.org>
6364
6365 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6366 Respect help-form.
6ccf7859 6367
87e86684
LM
63682011-07-09 Lawrence Mitchell <wence@gmx.li>
6369
6370 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6371 (gnutls-negotiate): Use it.
6372
d6066239
LMI
63732011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6374
b796c9b7
SM
6375 * net/gnutls.el (gnutls-negotiate):
6376 Upcase `gnutls-algorithm-priority'.
d6066239 6377
bd23ebc0
GM
63782011-07-15 Glenn Morris <rgm@gnu.org>
6379
c65bca65
GM
6380 * jka-compr.el (jka-compr-verbose): Move from here...
6381 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6382 Add missing :version tag.
6383 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6384
478615cc
LMI
63852011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6386
7b41decb
LMI
6387 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6388 (gnutls-negotiate): Use it.
6389
dbc44fcd
LMI
6390 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6391
06789f97
LMI
6392 * info.el (Info-beginning-of-buffer): New command.
6393 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6394 announcing `b' as the key (bug#8325).
ab896c37 6395 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6396
c39da690
LMI
6397 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6398
3aa5f34b
LMI
6399 * international/mule-cmds.el
6400 (describe-specified-language-support): Make the error message
6401 clearer (bug#8905).
6402
4bf0979f
LMI
6403 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6404
478615cc
LMI
6405 * isearch.el (isearch-barrier): Add a doc string, since it's
6406 mentioned in a function doc string (bug#8678).
6407
75c68aa1
MR
64082011-07-15 Martin Rudalics <rudalics@gmx.at>
6409
6410 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6411 buffer argument (Bug#9083) and self-identifying label argument.
6412
a7c33da2
GM
64132011-07-15 Glenn Morris <rgm@gnu.org>
6414
6415 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6416
2f5c6024
LMI
64172011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6418
6419 * man.el (Man-fontify-manpage): Fix message when formatting the
6420 man page (bug#7929).
6421
0bb23927 64222011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6423
6424 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6425 argument LRM; if non-nil, append an invisible LRM character to the
6426 buffer name.
6427 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6428 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6429 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6430 paragraph direction.
cce4b0a7 6431
621ef9ab
LMI
64322011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6433
d1583c48
LMI
6434 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6435 the man page name (bug#7929).
6436
6a57fb5f
LMI
6437 * image.el (put-image): Mention the `put-image' overlay property
6438 (bug#7834).
6439
d7956b14
LMI
6440 * scroll-bar.el (set-scroll-bar-mode): Mention that
6441 `scroll-bar-mode' lists the values (bug#7772).
6442
5b2d4a66
LMI
6443 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6444 command (bug#7729).
6445
7509a874
LMI
6446 * rect.el (apply-on-rectangle): Return the point after the last
6447 operation.
6448 (string-rectangle): Go to the point after the last operation
6449 (bug#7522).
6450
4fe74b19
LMI
6451 * printing.el (pr-toggle-region): Clarify the documentation
6452 slightly (bug#7493).
6453
b796c9b7
SM
6454 * time.el (display-time-update):
6455 Allow `display-time-mail-function' to return nil (bug#7158).
6456 Fix suggested by Detlev Zundel.
ab283561 6457
fc233c9d
LMI
6458 * vc/diff.el (diff): Clarify the order the file names are read
6459 (bug#7111).
6460
43f5740b
LMI
6461 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6462 the doc string (bug#7015).
6463
f2182a76
LMI
6464 * font-lock.el (font-lock-maximum-decoration): Mention what
6465 numeric levels mean (bug#6935).
6466
621ef9ab
LMI
6467 * startup.el (initial-buffer-choice): Don't mention the `none'
6468 selection, which is against policy.
6469
adc47434
MR
64702011-07-14 Martin Rudalics <rudalics@gmx.at>
6471
b796c9b7
SM
6472 * window.el (display-buffer-normalize-special):
6473 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6474
7e5bfb8f
EZ
64752011-07-14 Eli Zaretskii <eliz@gnu.org>
6476
6477 * subr.el (version<, version<=, version=): Mention "-CVS" and
6478 "-12345" alpha version numbers.
6479
27fa387a
CY
64802011-07-14 Chong Yidong <cyd@stupidchicken.com>
6481
6482 * bindings.el: Add advertised binding for set-mark-command
6483 (Bug#5772).
6484
8bdfa064
CY
64852011-07-14 Chong Yidong <cyd@stupidchicken.com>
6486
6487 * bindings.el (mode-line-other-buffer):
6488 * bookmark.el (bookmark-bmenu-2-window):
6489 * bs.el (bs-cycle-next, bs-cycle-previous):
6490 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6491 switch-to-buffer.
6492
6493 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6494 Delete.
8bdfa064 6495
5eba16a3
JB
64962011-07-14 Juanma Barranquero <lekktu@gmail.com>
6497
6498 * follow.el (follow-debug-message, follow-redisplay):
6499 * jka-cmpr-hook.el (with-auto-compression-mode):
6500 Fix typos in docstrings.
6501
15853710
LMI
65022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6503
a28e4607
LMI
6504 * subr.el (with-silent-modifications): Clarify somewhat what the
6505 macro inhibits (bug#6525).
6506
15853710
LMI
6507 * simple.el (eval-expression): Note what it does if called
6508 interactively (bug#6495).
6509
bee0fcef
CY
65102011-07-13 Chong Yidong <cyd@stupidchicken.com>
6511
b796c9b7
SM
6512 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6513 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6514
6515 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6516 Remove switch-to-buffer.
6517
58274504
LMI
65182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6519
bd2fcc8d
LMI
6520 * files.el (make-directory): Clarify that an error will be raised
6521 if there's an error (bug#6397).
6522
0f04b32c
LMI
6523 * startup.el (initial-buffer-choice): Add `none' as a choice
6524 (bug#6234).
6525
465c5fc8
LMI
6526 * subr.el (add-hook): Clarify section about buffer-local hooks
6527 (bug#6218).
6528
58274504
LMI
6529 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6530
bead9a43
JB
65312011-07-13 Juanma Barranquero <lekktu@gmail.com>
6532
6533 * tabify.el (untabify): Preserve the current column so that point
6534 doesn't move (bug#6032).
6535
3af98a7b
LMI
65362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537
b796c9b7
SM
6538 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6539 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6540
6240145a
GM
65412011-07-13 Glenn Morris <rgm@gnu.org>
6542
6543 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6544 (dired-insert-directory): Give a message the first time
6545 if ls is found not to support --dired.
6546
1d8c2ccc
LMI
65472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6548
6549 * simple.el (toggle-truncate-lines): Clarify what is toggled
6550 (bug#5580). Text by Drew Adams.
6551
5fc4038e
CY
65522011-07-13 Chong Yidong <cyd@stupidchicken.com>
6553
6554 * simple.el (blink-matching-open): Make the error message from the
6555 last change less verbose.
6556
bf6012e5
DN
65572011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6558
6559 * font-lock.el (font-lock-comment-face): Use the high contrast
6560 "yellow" color for font-lock-comment-face on low color terminals
6561 using a dark background color (bug#4221).
6562
343c3b5a
LMI
65632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6564
7e9505c5
LMI
6565 * dired.el (dired-insert-set-properties): Make the doc string
6566 reflect what it does now (bug#5325).
6567
c26fdcf5
LMI
6568 * simple.el (blink-matching-open): Say that we were unable to find
6569 the match within the limit, if we're limited (bug#5122).
6570
bb388cc5
LMI
6571 * international/mule-cmds.el (prefer-coding-system): Add an
6572 example (bug#4869).
6573
343c3b5a
LMI
6574 * progmodes/etags.el (tags-search): Document `file-list-form'
6575 (bug#4731).
6576
2a517d45
LM
65772011-07-13 Lawrence Mitchell <wence@gmx.li>
6578
6579 * net/browse-url.el (browse-url-default-browser)
6580 (browse-url-browser-function): Make the default browser choice a
6581 bit more logical (bug#4300). Also clean up the doc string.
6582
b6c78ef2
JB
65832011-07-13 Juanma Barranquero <lekktu@gmail.com>
6584
6585 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6586 binary endings (bug#4440).
6587
1c4dd947
LMI
65882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6589
a2014063
LMI
6590 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6591 which can be pretty annoying (bug#8971).
6592
9c9c2d88
LMI
6593 * jka-compr.el (jka-compr-verbose): New variable, and use
6594 throughout (bug#8971).
6595
1c4dd947
LMI
6596 * info.el (Info-find-file): Fall back on the installation
6597 directory if we can't find the info node anywhere else.
6598
a1c9f41b
SO
65992011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6600
6601 * vc/vc.el (vc-revert-file):
6602 Don't set file time-stamp in the past. (Bug#5181)
6603
536f3d36
LMI
66042011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6605
7152b011
LMI
6606 * files.el (after-find-file): Give a better error message when
6607 trying to find a symlink that points to a file that doesn't exist
6608 (bug#4398).
6609
536f3d36
LMI
6610 * progmodes/cc-vars.el: Remove (probably) misleading comment
6611 (bug#4396).
6612
460c0fba
JB
66132011-07-12 Johan Bockgård <bojohan@gnu.org>
6614
6615 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6616
7a6bda45
CY
66172011-07-12 Chong Yidong <cyd@stupidchicken.com>
6618
6619 * mouse-sel.el: Hack restoring functionality, while keeping
6620 compatibility with 2010-07-03 changes to mouse selection.
6621 (mouse-sel-primary-overlay): New var.
6622 (mouse-sel-selection-alist): Use it.
6623 (mouse-sel-mode): Doc fix; remove points that are default features
6624 of mouse.el.
6625
c79598ef
JB
66262011-07-12 Johan Bockgård <bojohan@gnu.org>
6627
6628 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6629 Fix previous fix (bug#2490).
6630
ff8be6ef
RW
66312011-07-12 Roland Winkler <winkler@gnu.org>
6632
b796c9b7
SM
6633 * textmodes/bibtex.el (bibtex-initialize):
6634 Use pop-to-buffer-same-window.
ff8be6ef
RW
6635 (bibtex-search-entries): Fix interactive call.
6636
296ba3ee
LMI
66372011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6638
f5242a02 6639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6640 Fontise bytecomp Error lines more correctly (bug#2490).
6641 Fix suggested by Johan Bockgård.
f5242a02 6642
296ba3ee
LMI
6643 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6644
6645 * dired-x.el (dired-guess-default): Use `delete-dups'.
6646
f69fd0d2
CY
66472011-07-12 Chong Yidong <cyd@stupidchicken.com>
6648
6649 * dired.el (dired-mark-prompt):
6650 * dired-aux.el (dired-read-shell-command): Doc fix.
6651
eab5dc07
LMI
66522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653
b796c9b7
SM
6654 * mail/sendmail.el (sendmail-query-once):
6655 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6656 emacs -Q.
6657
6658 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6659
eab5dc07
LMI
6660 * cus-edit.el (custom-file): Take an optional no-error variable.
6661 (customize-save-variable): Set the variable, and give a warning if
6662 running under "emacs -q".
6663
a1e65d42
JB
66642011-07-11 Juanma Barranquero <lekktu@gmail.com>
6665
6666 * loadhist.el (unload-feature-special-hooks):
6667 Add `auto-coding-functions', `fill-nobreak-predicate' and
6668 `find-directory-functions' (bug#5327).
6669
1d52da10
LMI
66702011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6671
be958f1d
LMI
6672 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6673
5bedb26c
LMI
6674 * cus-edit.el (custom-guess-name-alist): -alist variables should
6675 use the `alist' type (bug#3120). Suggested by Drew Adams.
6676
1d52da10
LMI
6677 * printing.el: Add documentation to all the `pr-toggle-' commands.
6678
cd394be1 66792011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6680
6681 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6682 backends where it makes sense (bug#2623).
6683
dcc88d8a
LMI
66842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6685
c3de9feb
LMI
6686 * dired-x.el (dired-guess-default): Remove duplicate shell command
6687 entries (bug#2028).
8a93078b 6688 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6689 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6690
dcc88d8a
LMI
6691 * subr.el (remove-duplicates): New conveniency function.
6692
505e3645
LMI
66932011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6694
6695 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6696 (bug#1526).
6697
66982011-07-10 Martin Rudalics <rudalics@gmx.at>
6699
6700 * window.el (display-buffer-normalize-default): Don't invert
6701 meaning of even-window-heights. Reported by Eli Zaretskii
6702 <eliz@gnu.org>.
6703
455e4fa1
BR
67042011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6705
6706 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6707
8e0bc3e9
CY
67082011-07-10 Chong Yidong <cyd@stupidchicken.com>
6709
6710 * window.el (display-buffer): Fix arguments to
6711 display-buffer-reuse-window in last change.
6712
fa7c3228
CY
6713 * faces.el (link): Use a less saturated blue on light backgrounds.
6714
6715 * startup.el (fancy-startup-text, fancy-about-text)
6716 (fancy-startup-tail): Use font-lock faces, for background safety.
6717
c0a7f300
BN
67182011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6719
b796c9b7
SM
6720 * emulation/viper-cmd.el (viper-change-state-to-vi):
6721 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6722
4dc2a129
MR
67232011-07-09 Martin Rudalics <rudalics@gmx.at>
6724
6725 * window.el (display-buffer-default-specifiers): Remove.
6726 (display-buffer-macro-specifiers): Remove default specifiers.
6727 (display-buffer-alist): Default to nil.
b796c9b7 6728 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6729 (display-buffer-pop-up-window): Allow splitting internal
6730 windows. Check whether a live window was created.
6731 (display-buffer-other-window-means-other-frame)
6732 (display-buffer-normalize-arguments): Rename to
6733 display-buffer-normalize-argument and rewrite. Set the
6734 other-window specifier.
6735 (display-buffer-normalize-special): New function.
6736 (display-buffer-normalize-options): Rename to
6737 display-buffer-normalize-default and rewrite.
6738 (display-buffer-normalize-options-inhibit): Remove.
6739 (display-buffer-normalize-specifiers): Rewrite.
6740 (display-buffer): Process other-window specifier and call
6741 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6742 more faithfully.
b796c9b7 6743 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6744 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6745 (display-buffer-in-window, display-buffer-alist-set):
6746 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6747 <tassilo@member.fsf.org>.
6748
2d43b8c9
LL
67492011-07-09 Leo Liu <sdl.web@gmail.com>
6750
6751 * register.el (insert-register): Restore accidental change on
6752 2011-06-26. (Bug#9028)
6753
7f9b7c53
GM
67542011-07-09 Glenn Morris <rgm@gnu.org>
6755
6756 * subr.el (remq): Handle the empty list. (Bug#9024)
6757
f042cfd8
AS
67582011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6759
6760 * mail/sendmail.el (send-mail-function): No longer delay custom
6761 initialization.
6762 * custom.el (custom-initialize-delay): Doc fix.
6763
856b2f11
SM
67642011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6767
afae1d68
MA
67682011-07-08 Michael Albinus <michael.albinus@gmx.de>
6769
6770 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6771 human-friendly prompt.
6772
0757af94
SM
67732011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6776 provided by a particular plugin.
6777
d760b731
LMI
67782011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779
6780 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6781 save customizations (with "emacs -Q"), just set the variable
6782 instead of erroring out.
6783
6784 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6785
cd79ce90
JL
67862011-07-08 Juri Linkov <juri@jurta.org>
6787
6788 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6789 (archive-zip-update-case): Use 7z if found by `executable-find'.
6790 The order of searching the available programs is the same as in
6791 `archive-zip-extract' (bug#8968).
6792
14cc04aa
CY
67932011-07-07 Chong Yidong <cyd@stupidchicken.com>
6794
6795 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6796 (menu-bar-options-menu): Tweak descriptions.
6797
0a1848ec
LMI
67982011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6799
6800 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6801 menu items into verb phrases (bug#1421). Also refill to fit under
6802 80 columns.
6803
f5bd0689
CY
68042011-07-07 Chong Yidong <cyd@stupidchicken.com>
6805
538e85c6
CY
6806 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6807 (Info-read-node-name): Doc fix (Bug#1084).
6808
f5bd0689
CY
6809 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6810 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6811 (end-of-sexp, beginning-of-sexp)
6812 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6813 (forward-symbol, forward-same-syntax, word-at-point)
6814 (sentence-at-point): Doc fix (Bug#1144).
6815
56ec5115
LMI
68162011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6817
f3f8e37f
LMI
6818 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6819 should cover it (bug#1281).
6820
0757af94 6821 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6822
e9fce1ac 6823 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6824 negotiation fails, then possibly try again with a non-encrypted
6825 connection (bug#9017).
6826
56ec5115
LMI
6827 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6828 be used.
6829
c2f9aec8
RS
68302011-07-07 Richard Stallman <rms@gnu.org>
6831
6832 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6833 property, and handle its changed format.
6834 Look for the correct line number.
6835 Use file's line contents (but not past first =) to find
6836 correct line in message.
6837
ef7b981d 68382011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6839
6840 * international/characters.el (build-unicode-category-table):
6841 Delete it.
0757af94 6842 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6843
0757af94 6844 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6845 to src/chartab.c.
6846 (get-char-code-property): Call unicode-property-table-internal to
6847 load a file. Call get-unicode-property-internal where necessary.
6848 (put-char-code-property): Call unicode-property-table-internal to
6849 load a file. Call put-unicode-property-internal where necessary.
6850 put-unicode-property-internal where necessary.
0757af94
SM
6851 (char-code-property-description):
6852 Call unicode-property-table-internal to load a file.
c805dec0
KH
6853
6854 * international/charprop.el:
6855 * international/uni-bidi.el:
6856 * international/uni-category.el:
6857 * international/uni-combining.el:
6858 * international/uni-comment.el:
6859 * international/uni-decimal.el:
6860 * international/uni-decomposition.el:
6861 * international/uni-digit.el:
6862 * international/uni-lowercase.el:
6863 * international/uni-mirrored.el:
6864 * international/uni-name.el:
6865 * international/uni-numeric.el:
6866 * international/uni-old-name.el:
6867 * international/uni-titlecase.el:
6868 * international/uni-uppercase.el: Regenerate.
6869
6870 * loadup.el: Load international/charprop.el before
6871 international/characters.
6872
e14b388a
CY
68732011-07-07 Chong Yidong <cyd@stupidchicken.com>
6874
6875 * window.el (next-buffer, previous-buffer): Signal an error if
6876 called from a minibuffer window.
6877
6878 * bindings.el: Revert 2011-07-04 change.
6879
354cf0ba
RS
68802011-07-06 Richard Stallman <rms@gnu.org>
6881
6882 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6883 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6884 Treat markers like ints.
6885 (rmail-mime-entity): Doc fix.
6886
a48868a7
LMI
68872011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6888
4906cd3d
LMI
6889 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6890 defcustom again for backwards compatibility.
6891
e0457abe
LMI
6892 * simple.el (shell-command-on-region): Fill.
6893
d67f7e1f
LMI
6894 * dired-aux.el (dired-kill-line): Add a doc string.
6895
fe204702
LMI
6896 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6897 to "\\sw\\|\\s_" (bug#358).
6898
a48868a7
LMI
6899 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6900 (dired-unmark-backward): Ditto.
6901 (dired-flag-backup-files): Ditto.
6902
6903 * dired-x.el (dired-mark-sexp): Ditto.
6904
aa8a705c
RS
69052011-07-06 Richard Stallman <rms@gnu.org>
6906
6907 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6908 (rmail-mime-entity): New arg TRUNCATED.
6909 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6910 New functions.
6911 (rmail-mime-save): Warn if entity is truncated.
6912 (rmail-mime-toggle-hidden): Likewise, for showing.
6913 (rmail-mime-process-multipart): Record when an entity is truncated.
6914
a9a936b9
RS
6915 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6916 if ENTITY is a string.
6917
1f2b92cb
LMI
69182011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6919
f4f73198 6920 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6921 of faces when `M-C-x'-ing their definitions (bug#8378).
6922 Also clean up the code slightly.
f4f73198 6923
12b16734 6924 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6925 because that makes the colors go away.
12b16734 6926
f0691d22
LMI
6927 * mail/sendmail.el (send-mail-function): Change the default to
6928 `sendmail-query-once'.
9e87df06 6929 (sendmail-query-once): Add an autoload cookie.
f0691d22 6930
1f2b92cb
LMI
6931 * net/network-stream.el (network-stream-open-starttls): Try using
6932 a plain connection even if the server offered STARTTLS, and we
6933 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6934 capability. This should make smtpmail.el work in slightly more
6935 configurations.
6936
1cdd2a1b
MA
69372011-07-06 Michael Albinus <michael.albinus@gmx.de>
6938
6939 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6940 New defun.
6941 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6942
fbcc67e2
MM
69432011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6944
6945 * progmodes/sql.el: Version 3.0
0757af94 6946 (sql-product-alist): Add product :completion-object,
fbcc67e2 6947 :completion-column, and :statement attributes.
0757af94 6948 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6949 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6950 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6951 ansi keywords.
6952 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6953 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6954 (sql-oracle-show-reserved-words): New function for development.
6955 (sql-product-font-lock): Simplify for source code buffers.
6956 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6957 New functions.
6958 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6959 (sql-mode-map): Add statement movement functions.
6960 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6961 New variable.
fbcc67e2
MM
6962 (sql-statement-regexp, sql-beginning-of-statement)
6963 (sql-end-of-statement, sql-signum): New functions.
0757af94 6964 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6965 (sql-show-sqli-buffer): Bug fix.
6966 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6967 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6968 with sql-interactive-mode.
6969 (sql-save-connection): Save buffer local settings.
0757af94 6970 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6971 (sql-product-interactive): Bug fix.
6972 (sql-preoutput-hold): New variable.
6973 (sql-interactive-remove-continuation-prompt): Bug fixes.
6974 (sql-debug-redirect): New variable.
6975 (sql-str-literal): New function.
6976 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6977 Redesign.
fbcc67e2
MM
6978 (sql-oracle-save-settings, sql-oracle-restore-settings)
6979 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6980 (sql-completion-object, sql-completion-column)
6981 (sql-completion-sqlbuf): New variables.
6982 (sql-build-completions-1, sql-build-completions)
6983 (sql-try-completion): New functions.
6984 (sql-read-table-name): Use them.
6985 (sql-contains-names): New buffer local variable.
6986 (sql-list-all, sql-list-table): Use it.
6987 (sql-oracle-completion-types): New variable.
6988 (sql-oracle-completion-object, sql-sqlite-completion-object)
6989 (sql-postgres-completion-object): New functions.
6990
d4eaeab1
GM
69912011-07-06 Glenn Morris <rgm@gnu.org>
6992
6993 * window.el (pop-to-buffer): Doc fix.
6994
322b7dab 69952011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6996
6997 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6998
322b7dab 69992011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7000
322b7dab 7001 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7002
322b7dab 7003 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7004
605dd5bf
CY
70052011-07-05 Chong Yidong <cyd@stupidchicken.com>
7006
7007 * button.el (button): Inherit from link face. Suggested by Dan
7008 Nicolaescu.
7009
7dbfa719
SM
70102011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7011
3db614b0
SM
7012 * progmodes/gdb-mi.el: Fit in 80 columns.
7013 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7014 switch-to-buffer.
7015
7dbfa719
SM
7016 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7017 if imenu is simply not configured (bug#8941).
7018
919d884a
KM
70192011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7020
7021 * allout.el (allout-post-undo-hook): New allout outline-change
7022 event hook to signal undo activity.
7023 (allout-post-command-business): Run allout-post-undo-hook if an
7024 undo just occurred.
7dbfa719
SM
7025 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7026 * allout-widgets.el (allout-widgets-after-undo-function):
7027 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7028 in the vicinity of an undo.
7029 (allout-widgets-mode): Include allout-widgets-after-undo-function
7030 on the new allout-post-undo-hook.
7031
450a0f09
SM
70322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7035 Let define-derived-mode define it.
7036 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7037 cycles of abbrev-table inheritance (bug#8998).
7038
2de69e00
RW
70392011-07-05 Roland Winkler <winkler@gnu.org>
7040
7041 * textmodes/bibtex.el: Add support for biblatex.
7042 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7043 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7044 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7045 (bibtex-entry-alist, bibtex-field-alist): New variables.
7046 (bibtex-entry-field-alist): Obsolete alias for
7047 bibtex-BibTeX-entry-alist.
7048 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7049 (bibtex-set-dialect): New command.
7050 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7051 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7052 Bind via bibtex-set-dialect.
2de69e00
RW
7053 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7054 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7055 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7056 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7057 Define via bibtex-set-dialect.
450a0f09
SM
7058 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7059 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7060 (bibtex-vec-push, bibtex-vec-incr): New functions.
7061 (bibtex-format-entry, bibtex-field-list)
7062 (bibtex-print-help-message, bibtex-validate)
7063 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7064
2dcdbdd9
SM
70652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * progmodes/compile.el (compilation-goto-locus):
7068 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7069 * bs.el (bs-cycle-next, bs-cycle-previous):
7070 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7071 * bindings.el (mode-line-other-buffer):
7072 * autoinsert.el (auto-insert):
7073 * arc-mode.el (archive-extract):
7074 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7075
b27640fe
JB
70762011-07-05 Juanma Barranquero <lekktu@gmail.com>
7077
7078 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7079 Fix check of `emacs-lock-unlockable-modes'.
7080 Coerce true values of `emacs-lock--try-unlocking' to t.
7081
53bbe3ad
JB
70822011-07-05 Juanma Barranquero <lekktu@gmail.com>
7083
7084 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7085 * emacs-lock.el: New file.
7086
1d3cdbc7
JD
70872011-07-05 Julien Danjou <julien@danjou.info>
7088
7089 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7090 than `boundp' to check if face is set.
7091
9173deec
JB
70922011-07-05 Juanma Barranquero <lekktu@gmail.com>
7093
7094 * register.el (registerv-make):
7095 * window.el (window-min-height): Fix typos in docstrings.
7096
869795d6
JD
70972011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7098
9173deec 7099 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7100 Update doc string.
7101
b768cdcd
JB
71022011-07-04 Juanma Barranquero <lekktu@gmail.com>
7103
7104 * server.el (server-execute): Catch quit and call
7105 `server-return-error' to pass the error back to emacsclient and
7106 close the connection (bug#8942).
7107
13aa217b
KM
71082011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7109
7110 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7111 insecure exception for current topic. Also note that auto-saves
7112 are handled differently.
7113
7114 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7115 State variables for tracking auto-save inhibition situation.
7116
7117 (allout-write-contents-hook-handler): Rename from
7118 'allout-write-file-hook-handler', and describe how it depends on
7119 write-contents-functions sensitivity to non-nil value to prevent
7120 file write.
7121
7122 (allout-auto-save-hook-handler): Remove. auto-save does not check
7123 this in individual buffers, only in the starting buffer, so this
7124 is not the right way for us to inhibit auto-save in a buffer
7125 according to its condition.
7126
7127 (allout-mode): Use new allout-write-contents-hook-handler, and
7128 only with write-contents-functions. Remove auto-save provisions -
7129 they're implemented elsewhere.
7130
7131 (allout-before-change-handler): If undo is in progress, note that
7132 for attention of allout-post-command-business.
7133
7134 (allout-post-command-business): If the command we're following was
7135 an undo, check for change in the status of encrypted items and
7136 adjust auto-save inhibitions accordingly.
7137
7138 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7139 according to whether there are or aren't any plain-text topics
7140 pending encryption.
7141
2dcdbdd9 7142 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7143 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7144 if there are plain-text topics pending encryption.
13aa217b
KM
7145
7146 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7147 buffer-saved-size and some allout state to not inhibit auto-saves
7148 if there are no longer any plain-text topics pending encryption.
7149
0757af94
SM
7150 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7151 No longer provide for exemption of the current topic.
13aa217b 7152
ac89b32c
JL
71532011-07-04 Juri Linkov <juri@jurta.org>
7154
7155 Add 7z operations to delete and save changed members (bug#8968).
7156 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7157 New defcustoms.
7158 (archive-7z-write-file-member): New function.
7159 (archive-7z-summarize): Fix the number of dashes in the
7160 listing output.
7161
8fa39615
SM
71622011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7165 (bug#8958).
7166
2f11b3f1
CY
71672011-07-04 Chong Yidong <cyd@stupidchicken.com>
7168
d66fef2b
CY
7169 * bindings.el: Ignore next-buffer and previous-buffer in
7170 minibuffer-local-map.
7171
2f11b3f1
CY
7172 * font-lock.el (font-lock-builtin-face): Change light background
7173 color to dark slate blue (Bug#6693).
7174
f932a347
WD
71752011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7176
7177 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7178
c8af70e1
SM
71792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7182 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7183 Add switch-to-buffer.
7184
f158badc
LMI
71852011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7186
7187 * isearch.el (isearch-search-fun-function): Clarify further the
7188 meaning of the function returned.
7189
6d95bd46
MA
71902011-07-04 Michael Albinus <michael.albinus@gmx.de>
7191
7192 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7193
7194 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7195 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7196 Use it.
7197 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7198 `tramp-default-remote-path' does not exist.
7199 (tramp-send-command-and-read): New optional argument NOERROR.
7200 (tramp-open-connection-setup-interactive-shell)
7201 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7202 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7203 (tramp-process-sentinel): Flush also process' connection property.
7204 (tramp-sh-handle-start-file-process): Do not set process
7205 sentinel. It is done now ...
7206 (tramp-maybe-open-connection): ... here. (Bug#8929)
7207
909e6b67
MK
72082011-07-04 MON KEY <monkey@sandpframing.com>
7209
7210 * play/animate.el (animate-string): Doc fixes and allow changing
7211 the buffer name (bug#5417).
7212
72132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7214
c8af70e1 7215 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7216
f34755dc
PE
72172011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7218
396cec72
PE
7219 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7220 This is simpler and helps future-proof the code.
7221 (timer-until): Use time-subtract and float-time.
08235028 7222 (timer--time-less-p): Use time-less-p.
f34755dc 7223
56e6cc31
JB
72242011-07-04 Juanma Barranquero <lekktu@gmail.com>
7225
3abb79e5
JB
7226 * type-break.el (timep): Use the value of `float-time' to avoid a
7227 byte-compiler warning.
7228
56e6cc31
JB
7229 * server.el (server-eval-and-print): Return any result, even nil.
7230
7b9430b4
PE
72312011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7232
7233 * type-break.el: Accept time formats that the builtins accept.
7234 (timep, type-break-time-difference): Accept any format that
7235 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7236 This is simpler and helps future-proof the code.
7237 (type-break-time-difference): Round rather than ignoring
7238 subseconds components.
7239
3034e9e7
LMI
72402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
7242 * info.el (Info-apropos-matches): Make non-interactive, since it
7243 doesn't seem to do anything useful as a command (bug#8829).
7244
1485f4c0
CY
72452011-07-03 Chong Yidong <cyd@stupidchicken.com>
7246
7247 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7248 Move from faces.el.
1485f4c0
CY
7249 (frame-default-terminal-background): New function.
7250
7251 * custom.el (custom-push-theme): Don't record faces in `changed'
7252 theme; this doesn't work correctly for per-frame face settings.
7253 (disable-theme): Use face-set-after-frame-default to reset faces.
7254 (custom--frame-color-default): New function.
7255
9fa3dd45
LMI
72562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7257
c8af70e1 7258 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7259 (bug#8769).
7260
6cbbc20c
KR
72612011-03-29 Kevin Ryde <user42@zip.com.au>
7262
7263 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7264 `perl-Test2' extend to match possible "fail #N" rep count
7265 (bug#8377).
7266
c7f98048
LMI
72672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7268
65676592
LMI
7269 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7270 `smtpmail-via-smtp' now returns the error instead of nil.
7271
c7f98048
LMI
7272 * isearch.el (isearch-search-fun-function): Clarify the doc string
7273 (bug#8101).
7274
56e6cc31 72752011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7276
7277 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7278 unnecessary spaces (bug#8987).
7279
2b216704
LMI
72802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7281
7282 * net/network-stream.el (open-network-stream): Use the
7283 :end-of-capability command thoughout.
7284
72852011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7286
7287 * net/network-stream.el (open-network-stream): Add the
7288 :end-of-capability command parameter, used by pop3.el.
7289
36adf6ce
LMI
72902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7291
1ca0da0e
LMI
7292 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7293
fc00f69c
LMI
7294 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7295 for list)" (bug#6475).
7296
28fd8759 7297 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7298 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7299 an error (bug#6297).
7300
0dd8b6da
LMI
7301 * man.el (Man-reference-regexp): Allow matching possible
7302 word-wrapped references (bug#6289).
7303
ce1438d6
LMI
7304 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7305 for consistency with the other vc buffers (bug#6197).
7306 (vc-checkin): Ditto.
7307
7308 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7309
36adf6ce
LMI
7310 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7311
e83cc1f7
LMI
73122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7313
8a20ca4c
LMI
7314 * custom.el (defcustom): Clarify that :set is only used in the
7315 Customize user interface (bug#6089).
7316
83319045
LMI
7317 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7318 associated with a file, refuse to run instead of erroring out
7319 (bug#6084).
7320
a8392169
LMI
7321 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7322 the doc string, since it appears that using `fill-column' always
7323 controls the width (bug#7845).
7324
e83cc1f7
LMI
7325 * simple.el (shell-command-on-region): Say where the error output
7326 went if `shell-command-default-error-buffer' is set (bug#6857).
7327
e47ca23b
KM
73282011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7329
7330 * allout.el (allout-yank-processing): Adjust cursor position for
7331 backwards-deleted space.
7332
7333 (allout-rebullet-heading): Register changes with
7334 allout-exposure-changed-hook, so the modified topic is properly
7335 decorated.
7336
5cf56143
LMI
73372011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7338
08549772
LMI
7339 * minibuffer.el (completion-in-region): Document PREDICATE
7340 (bug#7136).
7341
48e96771
LMI
7342 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7343 of keyword/argument pairs (bug#6904).
7344
c8af70e1
SM
7345 * replace.el (multi-occur):
7346 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7347
e17d05e2
LMI
73482011-07-02 Drew Adams <drew.adams@oracle.com>
7349
7350 * dired.el (dired-mark-if): Make the message about whether it's
7351 marking or unmarking clearer (bug#8523).
7352
063b0e45
LMI
73532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7354
7355 * disp-table.el (display-table-print-array): New function.
7356 (describe-display-table): Use it to print the vectors more pretty
7357 (Bug#8859).
7358
28545e04
MR
73592011-07-02 Martin Rudalics <rudalics@gmx.at>
7360
7361 * window.el (window-state-get-1): Don't assign clone numbers.
7362 Add clone-of item to list of window parameters.
7363 (window-state-put-2): Don't process clone numbers.
7364 (display-buffer-alist): Fix doc-string.
7365
3349e122
SM
73662011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * subr.el (remq): Don't allocate if it's not needed.
7369 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7370 (keymap--merge-bindings): New functions.
7371 (keymap-canonicalize): Use them to refine the canonicalization.
7372 * minibuffer.el (minibuffer-local-completion-map)
7373 (minibuffer-local-must-match-map): Move initialization from C.
7374 (minibuffer-local-filename-completion-map): Move initialization from C;
7375 don't inherit from anything here.
7376 (minibuffer-local-filename-must-match-map): Make obsolete.
7377 (completing-read-default): Use make-composed-keymap to combine
7378 minibuffer-local-filename-completion-map with either
7379 minibuffer-local-must-match-map or
7380 minibuffer-local-filename-completion-map.
7381
d224ac83
GM
73822011-07-01 Glenn Morris <rgm@gnu.org>
7383
3de63bf8
GM
7384 * type-break.el (type-break-time-sum): Use dolist.
7385
d224ac83
GM
7386 * textmodes/flyspell.el (flyspell-word-search-backward):
7387 Replace CL function.
7388
1a1e3f32
SM
73892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7390
fe3f64d5
SM
7391 * mouse.el (mouse--strip-first-event): New function.
7392 (function-key-map): Use it to map fringe clicks to normal clicks
7393 by default.
7394
eb604e34
SM
7395 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7396 (vc-bzr-revision-completion-table): Add support for annotate and date.
7397
1a1e3f32
SM
7398 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7399 inherit from parent.
7400
5bd35902
LMI
74012011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402
ace6c69c 7403 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7404 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7405
191e2bed
LMI
7406 * dired.el (dired-mode): Fix up the doc string as suggested by
7407 Drew Adams (bug#8817).
7408
5bd35902
LMI
7409 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7410 cookie, since the manual says that it should be possible to add
7411 this function to `find-file-hook' (bug#8709).
7412
eee8207a
TZ
74132011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7414
7415 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7416 here. Noted Ted Zlatanov as the maintainer.
7417 (cfengine-common-settings, cfengine-common-syntax): New functions
7418 to set up common things between `cfengine-mode' and
7419 `cfengine3-mode'.
7420 (cfengine3-mode): New mode.
7421 (cfengine3-defuns cfengine3-defuns-regex
7422 (cfengine3-class-selector-regex cfengine3-category-regex)
7423 (cfengine3-vartypes cfengine3-font-lock-keywords)
7424 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7425 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7426
36b148cf
MA
74272011-07-01 Michael Albinus <michael.albinus@gmx.de>
7428
7429 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7430
7431 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7432
0bf4ba9a
MR
74332011-07-01 Martin Rudalics <rudalics@gmx.at>
7434
7435 * window.el (same-window-buffer-names, same-window-regexps)
7436 (same-window-p, special-display-frame-alist)
7437 (special-display-popup-frame, special-display-function)
7438 (special-display-buffer-names, special-display-regexps)
7439 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7440 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7441 (split-window-preferred-function, split-height-threshold)
7442 (split-width-threshold, even-window-heights)
7443 (display-buffer-mark-dedicated, window-splittable-p)
7444 (split-window-sensibly, window-safely-shrinkable-p):
7445 Un-obsolete.
7446 (display-buffer): Don't spread args with function specifier
7447 because special-display-popup-frame won't like it.
7448
35837f51
PE
74492011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7450
d0672f86
PE
7451 Time-stamp simplifications and fixes.
7452 These improve accuracy slightly, and future-proof the code
7453 against some potential changes to current-time format.
7454
b9444d97
PE
7455 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7456 by using time-since and float-time.
7457
0ef923dc
PE
7458 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7459 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7460 + NNN microseconds".
7461
2f81380d
PE
7462 * type-break.el (type-break-time-sum): Rewrite using time-add.
7463
845b5c3e
PE
7464 * play/hanoi.el (hanoi-current-time-float): Remove.
7465 All uses replaced by float-time.
7466
ee6f1be0
PE
7467 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7468 This yields a more-accurate answer.
7469 (rng-time-to-float): Remove; no longer needed.
7470
fe955043
PE
7471 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7472
5777162a
PE
7473 * calendar/timeclock.el (timeclock-seconds-to-time):
7474 Defalias to seconds-to-time, since they're the same thing.
7475
3103f8b6 7476 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7477 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7478 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7479
0e61a35f
SM
74802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * window.el (bury-buffer): Don't iconify the only frame.
7483 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7484 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7485
ddd63a1e
CY
74862011-07-01 Chong Yidong <cyd@stupidchicken.com>
7487
0e61a35f
SM
7488 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7489 Add mouse-yank-primary.
ddd63a1e 7490
055f4923
TZ
74912011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7492
7493 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7494
6a2fb145
SM
74952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7498 (find-library-name): Use it to find relative load names when provided
7499 absolute file name (bug#8803).
7500
fd4983f2
LMI
75012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7502
887d14ad
LMI
7503 * textmodes/flyspell.el (flyspell-word): Consider words that
7504 differ only in case as potential doublons (bug#5687).
7505
c53dc7fc
LMI
7506 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7507 Remove two rather uninteresting debugging-like messages to make
7508 debbugs.el more silent.
7509
fd4983f2
LMI
7510 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7511 a password-like phrase.
7512
7a71b18d 75132011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7514
7515 * progmodes/cc-guess.el: New file.
7516
6a2fb145 7517 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7518
7519 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7520 derived from `c-basic-common-init'.
7521
7522 * progmodes/cc-mode.el (top-level): Require cc-guess.
7523 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7524
1fa280a3
LM
75252011-06-30 Lawrence Mitchell <wence@gmx.li>
7526
7527 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7528
e6597158
AM
75292011-06-30 Alan Mackenzie <acm@muc.de>
7530
1fa280a3
LM
7531 * progmodes/cc-engine.el (c-guess-continued-construct):
7532 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7533 lock is disabled. Name this case as "CASE G".
7534
68ba37fb
KM
75352011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7536
7537 * allout.el (allout-yank-processing): Fix injection of extra space
7538 between bullet and non-whitespace character in first topic when
7539 pasting, ensuring that the actual spacing in the pasted topic
7540 following the bullet char is preserved. This extra space was
7541 causing pasted encrypted topics to get a decrypted status even
7542 when the content was actually still encrypted. Now the decryption
7543 status from before the paste is preserved.
7544
7545 (allout-flag-region): Set all allout overlays so they evaporate
7546 when reduced to zero length (evanescent), to prevent overlay
7547 leakage.
7548
887a0b34
GM
75492011-06-30 Glenn Morris <rgm@gnu.org>
7550
94b9acce
GM
7551 * w32-fns.el (w32-charset-info-alist): Declare.
7552
1d9b46d4
GM
7553 * find-dired.el (find-grep-options): Simplify.
7554
cc232200
GM
7555 * term/ns-win.el (ns-set-resource): Declare.
7556
28e77c46
GM
7557 * ses.el (row, col): Declare dynamic variables honestly.
7558
887a0b34
GM
7559 * textmodes/reftex-parse.el (index-tags): Declare.
7560
658d8eb8
CY
75612011-06-30 Chong Yidong <cyd@stupidchicken.com>
7562
7563 * cus-edit.el (customize-push-and-save): New function.
7564
7565 * files.el (hack-local-variables-confirm): Use it.
7566
1fa280a3
LM
7567 * custom.el (load-theme): New arg NO-CONFIRM.
7568 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7569 (custom-enabled-themes): Doc fix.
7570
7571 * cus-theme.el (customize-create-theme)
7572 (custom-theme-merge-theme): Callers to load-theme changed.
7573
bb617717
LMI
75742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7575
d61bdd5d
LMI
7576 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7577 short URLs have at least one dot in them (bug #7614).
7578
bb617717
LMI
7579 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7580 nil, because using a pty is apparently too slow (bug #895).
7581
2f31f37a
LMI
75822011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7583
7584 * mail/sendmail.el (sendmail-query-once): New function.
7585 (sendmail-query-once-function): New variable.
7586
3076b24e
GM
75872011-06-29 Glenn Morris <rgm@gnu.org>
7588
faf2a174
GM
7589 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7590
3076b24e
GM
7591 * ses.el (top-level): Require cl when compiling.
7592 (ses-set-localvars): Fix error statement.
7593 Call it at compile time to silence a storm of warnings.
7594
5386012d
MR
75952011-06-29 Martin Rudalics <rudalics@gmx.at>
7596
7597 * window.el (normalize-live-buffer): Rename to
7598 window-normalize-buffer.
7599 (normalize-live-frame): Rename to window-normalize-frame.
7600 (normalize-any-window): Rename to window-normalize-any-window.
7601 (normalize-live-window): Rename to window-normalize-live-window.
7602 (make-window-atom): Rename to window-make-atom.
7603 (window-resize-reset): Rename to window--resize-reset.
7604 (window-resize-reset-1): Rename to window--resize-reset-1.
7605 (resize-mini-window): Rename to window--resize-mini-window.
7606 (resize-subwindows-skip-p): Rename to
7607 window--resize-subwindows-skip-p.
7608 (resize-subwindows-normal): Rename to
7609 window--resize-subwindows-normal.
7610 (resize-subwindows): Rename to window--resize-subwindows.
7611 (resize-other-windows): Rename to window--resize-siblings.
7612 (resize-this-window): Rename to window--resize-this-window.
7613 (resize-root-window): Rename to window--resize-root-window.
7614 (resize-root-window-vertically): Rename to
7615 window--resize-root-window-vertically.
7616 (normalize-buffer-to-display): Rename to
7617 window-normalize-buffer-to-display.
7618 (normalize-buffer-to-switch-to): Rename to
7619 window-normalize-buffer-to-switch-to.
7620 Correspondingly update all callers of the functions listed
7621 above.
7622 (display-buffer-alist, display-buffer-normalize-arguments)
7623 (display-buffer-normalize-options, display-buffer)
7624 (display-buffer-alist-set): Use "function" instead of
7625 "fun-with-args".
7626
1176868d
CY
76272011-06-28 Chong Yidong <cyd@stupidchicken.com>
7628
7629 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7630 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7631 debbugs.gnu.org. Mention acknowledgment email.
7632
20a7a65f
LMI
76332011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7634
7635 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7636 buffer multibyteness, since it shouldn't matter.
7637
5f45cca5
MR
76382011-06-28 Martin Rudalics <rudalics@gmx.at>
7639
7640 * window.el (display-buffer-in-side-window): Handle dedicated
7641 windows as in display-buffer-reuse-window.
7642 (display-buffer-normalize-alist): Use value of override
7643 specifier.
7644 (display-buffer-normalize-specifiers): Use value of
7645 other-window-means-other-frame specifier.
7646 (display-buffer-alist): Rewrite some texts in widgets.
7647 (display-buffer): Spread arguments when calling function
7648 specified by fun-with-args.
7649
ad85fe1f
DD
76502011-06-28 Deniz Dogan <deniz@dogan.se>
7651
1fa280a3
LM
7652 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7653 Unnest `let'.
da68c4c8 7654
ad85fe1f
DD
7655 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7656 selectors (Bug#5732).
ec49bd31 7657 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7658
a08cc025
JA
76592011-06-27 Jari Aalto <jari.aalto@cante.net>
7660
7661 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7662 (eshell-ls-date-format): New defcustom.
7663 (eshell-ls-file): Use it.
7664
e2b551c5
SM
76652011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7668
8982b231
KY
76692011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7670
7671 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7672 (ange-ftp-make-tmp-name): New arg.
7673 (ange-ftp-file-local-copy): Use it.
7674
36c9fa27
J
76752011-06-27 Jambunathan K <kjambunathan@gmail.com>
7676
7677 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7678 no-conversion (Bug#8870).
7679
d68443dc
MR
76802011-06-27 Martin Rudalics <rudalics@gmx.at>
7681
7682 * window.el (window-right, window-left, window-child)
7683 (window-child-count, window-last-child)
7684 (window-iso-combination-p, walk-window-tree-1)
7685 (window-atom-check-1, window-tree-1, delete-window)
7686 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7687 new naming conventions - window-vchild, window-hchild,
7688 window-next and window-prev are now called window-top-child,
7689 window-left-child, window-next-sibling and window-prev-sibling
7690 respectively.
d615d6d2
MR
7691 (resize-window-reset): Rename to window-resize-reset.
7692 (resize-window-reset-1): Rename to window-resize-reset-1.
7693 (resize-window): Rename to window-resize.
7694 (window-min-height, window-min-width)
7695 (resize-mini-window, resize-this-window, resize-root-window)
7696 (resize-root-window-vertically, adjust-window-trailing-edge)
7697 (enlarge-window, shrink-window, maximize-window)
7698 (minimize-window, delete-window, quit-restore-window)
7699 (split-window, balance-windows, balance-windows-area-adjust)
7700 (balance-windows-area, window-state-put-2)
7701 (display-buffer-even-window-sizes, display-buffer-set-height)
7702 (display-buffer-set-width, set-window-text-height)
7703 (fit-window-to-buffer): Rename all "resize-window" prefixed
7704 calls to use the "window-resize" prefix convention.
7705 (display-buffer-alist): Fix symbol for label specifier.
7706 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7707 corresponding specifier.
7708 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7709
b6458526
VB
77102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7711
7712 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7713 convention.
7714 (ses-call-printer): Does not pass an empty string to formatter when the
7715 cell is empty to keep from barking printer Calc math-format-value.
7716
d31fd9ac
RS
77172011-06-27 Richard Stallman <rms@gnu.org>
7718
43d5bf84
RS
7719 * battery.el (battery-mode-line-limit): New variable.
7720 (battery-update): Handle it.
7721
d31fd9ac
RS
7722 * mail/rmailmm.el (rmail-mime-process-multipart):
7723 Handle truncated messages.
7724
819a6054
GM
77252011-06-27 Glenn Morris <rgm@gnu.org>
7726
7727 * progmodes/flymake.el (flymake-err-line-patterns):
7728 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7729
cedc73f2
VB
77302011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7731
819a6054 7732 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7733 (ses--clean-!, ses--clean-_): New functions.
7734 (ses-range): Add configurability of readout order, and conversion
7735 to Calc vector.
7736
5e5d49b6
VB
7737 * ses.el (ses-repair-cell-reference-all): New function.
7738 (ses-cell-symbol): Set macro as safe, so that it can be used in
7739 formulas.
7740
56e6cc31 7741 * ses.el: Update cycle detection algorithm.
90ca8b49 7742 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7743 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7744 (ses-set-localvars): New function.
7745 (ses-make-cell): Add property-list as a cell element.
7746 (ses-cell-property-get-fun, ses-cell-property-get)
7747 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7748 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7749 New functions.
90ca8b49
VB
7750 (ses-cell-property-set, ses-cell-property-pop)
7751 (ses-cell-property-get-handle): New macro.
7752 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7753 New aliases, used for code readability.
7754 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7755 cycle detection.
7756 (ses-self-reference-early-detection): New defcustom.
fac916bf 7757 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7758 (ses-mode): Use ses-set-localvars.
7759 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7760 before lauching the update processing.
7761 (ses-initialize-Dijkstra-attempt): New function.
7762 (ses-recalculate-cell): Update for cycle detection based on
7763 Dijkstra algorithm.
7764
2bb63e81
VB
7765 * ses.el: Fix commenting and indenting convention.
7766
c9d29fb8
SM
77672011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * bs.el (bs-cycle-next): Complete last change.
7770
d8e4b68b
JB
77712011-06-27 Drew Adams <drew.adams@oracle.com>
7772
7773 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7774
40098786
LMI
77752011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776
c9d29fb8
SM
7777 * net/network-stream.el (network-stream-open-starttls):
7778 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7779 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7780
40098786
LMI
7781 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7782 to binary to possibly avoid line encoding issues on Windows (among
7783 other things).
7784
468d09d4
LMI
77852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7786
7787 * net/network-stream.el (open-network-stream): Return an :error
7788 saying what the problem was, if possible.
7789
7790 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7791 server.
7792
7793 * net/network-stream.el (network-stream-open-starttls): If we
7794 wanted to use STARTTLS, and the server offered it, but we weren't
7795 able to because we had no STARTTLS support, then close the connection.
7796 (open-network-stream): Return an :error element, if present.
7797
16f07dd7
CY
77982011-06-26 Chong Yidong <cyd@stupidchicken.com>
7799
88821ca0
CY
7800 * hl-line.el (hl-line-sticky-flag): Doc fix.
7801 (global-hl-line-sticky-flag): New option (Bug#8323).
7802 (global-hl-line-highlight): Obey it.
7803
16f07dd7
CY
7804 * vc/vc.el (vc-revert-show-diff): Default to t.
7805
6b5ccddf
KM
78062011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7807
c9d29fb8
SM
7808 * allout-widgets.el (allout-widgets-post-command-business):
7809 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7810 undecorated when an isearch is continued past, and isearch
7811 automatically collapses them. This leads to "widget leaks", where
7812 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7813 hidden widgets can slow down cursor travel, substantially.
7814 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7815 so we're doing without this nicety.
7816
7817 (allout-widgets-tally-string): Don't try to do a hash-table-count
7818 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7819 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7820 *Messages* when allout-widgets-maintain-tally is t.
7821
355f2e07
MR
78222011-06-26 Martin Rudalics <rudalics@gmx.at>
7823
7824 * window.el (display-buffer-normalize-argument): Rename to
7825 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7826 LABEL argument. Respect special-display-function when popping up
7827 a new frame. Fix code searching for a window showing the buffer
7828 on another frame.
c9d29fb8
SM
7829 (display-buffer-normalize-specifiers):
7830 Call display-buffer-normalize-arguments.
355f2e07
MR
7831 (display-buffer-in-window): Don't undedicate the window if its
7832 buffer remains the same.
7833 Reported by Drew Adams <drew.adams@oracle.com>.
7834 (display-buffer-alist): Add choice for same-window macro
7835 specfier.
7836 (display-buffer): Mention special meaning of LABEL argument in
7837 doc-string. Fix quoting. Don't pop up a new frame even as
7838 fallback.
7839
7ca8fc42
JB
78402011-06-26 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7843 avoid deleting the current window in some cases (bug#8911).
7844
bc312254
AS
78452011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7846
7847 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7848 (Bug#8934)
7849
2db18f3f
LMI
78502011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851
c9d29fb8
SM
7852 * net/network-stream.el (network-stream-open-starttls):
7853 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7854 (network-stream-open-tls): Ditto.
7855
6302e0d3
LL
78562011-06-26 Leo Liu <sdl.web@gmail.com>
7857
7858 * register.el (registerv): New struct.
7859 (registerv-make): New function.
c9d29fb8
SM
7860 (jump-to-register, describe-register-1, insert-register):
7861 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7862 struct. (Bug#8415)
7863
5fdd4046
CY
78642011-06-26 Chong Yidong <cyd@stupidchicken.com>
7865
2afef60a
CY
7866 * vc/vc.el (vc-revert-show-diff): New defcustom.
7867 (vc-diff-internal): New arg specifying diff buffer.
7868 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7869 reuse an existing *vc-diff* buffer (Bug#8927).
7870
5fdd4046
CY
7871 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7872
e93db24a
GM
78732011-06-26 Glenn Morris <rgm@gnu.org>
7874
7875 * progmodes/f90.el (f90-critical-indent): New option.
7876 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7877 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7878 (f90-mode): Doc fix.
7879 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7880 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7881 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7882 (f90-match-end): Handle block, critical.
7883
eefff499
GM
78842011-06-25 Glenn Morris <rgm@gnu.org>
7885
f6ba4cc9
GM
7886 * calendar/diary-lib.el (diary-included-files): Doc fix.
7887 (diary-include-files): New function, extracted from
7888 diary-include-other-diary-files and diary-mark-included-diary-files.
7889 (diary-include-other-diary-files, diary-mark-included-diary-files):
7890 Just call diary-include-files.
7891 (diary-mark-entries): Reset diary-included-files on first call.
7892
16712304
GM
7893 * calendar/diary-lib.el (diary-mark-entries)
7894 (diary-mark-included-diary-files):
7895 Visit included diary-files in temp buffers.
7896
5d8e0d43
GM
7897 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7898 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7899 (f90-start-block-re, f90-imenu-generic-expression)
7900 (f90-looking-at-program-block-start, f90-no-block-limit):
7901 Add support for submodules.
7902
ccf7a5d5
GM
7903 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7904 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7905
11fdef7d 79062011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7907
7908 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7909 buffer-file-type before setting its value, to avoid disastrous
eefff499 7910 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7911
74f53697
JB
79122011-06-25 Juanma Barranquero <lekktu@gmail.com>
7913
7914 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7915
7916 * ses.el (ses-unload-function):
7917 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7918
7919 * proced.el (proced-unload-function):
7920 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7921
18a4ce5e
AR
79222011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7923
7924 * server.el (server-create-window-system-frame): Add parameters arg.
7925 (server-process-filter): Doc fix. Handle frame-parameters.
7926
519d22cc
JB
79272011-06-25 Juanma Barranquero <lekktu@gmail.com>
7928
7929 Fix bug#8730, bug#8781.
7930
7931 * loadhist.el (unload--set-major-mode): New function.
7932 (unload-feature): Use it.
7933
7934 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7935 (python-unload-function): New function.
7936
c206f5b0
SM
79372011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7940
f9ad64f3
GS
79412011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7942
7943 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7944 the candidates list.
7945
7d0da90e
JB
79462011-06-24 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7949
14b4e83d
RS
79502011-06-23 Richard Stallman <rms@gnu.org>
7951
7952 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7953 (rmail-variables): Set next-error-move-function.
7954 (rmail-what-message): Take argument POS.
7955 (rmail-next-error-move): New function.
7956
273d2baf
SM
79572011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7960 messages for adjacent non-terminals.
7961
56c2cc9a
RS
79622011-06-23 Richard Stallman <rms@gnu.org>
7963
7964 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7965 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7966 (rmail-start-mail): Don't specify use of rmail-mail-return;
7967 that's done by mail-bury now.
7968 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7969
d59eb518
MA
79702011-06-23 Michael Albinus <michael.albinus@gmx.de>
7971
7972 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7973 SIZE is a number.
7974
02cfc6d6
MR
79752011-06-23 Martin Rudalics <rudalics@gmx.at>
7976
7977 * window.el (get-lru-window, get-mru-window)
7978 (get-largest-window): Never return a minibuffer window.
7979 (display-buffer-pop-up-window): Fix a bug that could lead to
7980 reusing the minibuffer window.
7981 (display-buffer): Pass original specifier argument to
7982 display-buffer-function instead of the normalized one.
7983 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7984
4e323265
LL
79852011-06-22 Leo Liu <sdl.web@gmail.com>
7986
7987 * minibuffer.el (completing-read-function)
7988 (completing-read-default): Move from minibuf.c
7989
7a70468f
RS
79902011-06-22 Richard Stallman <rms@gnu.org>
7991
50718fc2
RS
7992 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7993 to Rmail even if not started by a special Rmail command.
7994
7a70468f
RS
7995 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7996 Copy the buffer currently showing just one message.
7997
297dde5a
RW
79982011-06-22 Roland Winkler <winkler@gnu.org>
7999
8000 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8001 (bibtex-clean-entry): First delete the old key so that a
8002 customized algorithm for generating the new key does not get
8003 confused by the old key.
8004 (bibtex-url): Obey regexp of first step.
8005 (bibtex-search-entries): Do not use add-to-list with local
8006 list-var.
8007
97bb1093
LMI
80082011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8009
8010 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8011 stored a user name, then query for the password first, instead of
8012 waiting for SMTP to give an error message and the trying again.
8013
1c0f1a19
JD
80142011-06-22 Lawrence Mitchell <wence@gmx.li>
8015
8016 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8017 BUFFER in call-process.
8018
396f7c9d
LMI
80192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8020
8021 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8022 QUIT twice.
ddb7ffee
LMI
8023 (smtpmail-try-auth-methods): Require user name and password from
8024 auth-source.
396f7c9d 8025
8998d1b3
MR
80262011-06-22 Martin Rudalics <rudalics@gmx.at>
8027
8028 * window.el (display-buffer-default-specifiers)
8029 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8030 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8031 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8032
8033 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8034 (special-display-frame-alist, special-display-popup-frame):
8035 Remove duplicate declarations. These are now in window.el.
8036
4ea31e07
LMI
80372011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8038
c9d29fb8
SM
8039 * mail/smtpmail.el (smtpmail-via-smtp):
8040 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8041 server supports it. SMTP servers that support STARTTLS commonly
8042 require it.
8043
8044 * net/network-stream.el (network-stream-open-starttls): Support
8045 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8046 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8047
95f41d9a
LMI
8048 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8049 upgrades with `open-network-stream', and rely solely on
8050 auth-source for all credentials. Big changes throughout the file,
8051 but in particular:
c9d29fb8
SM
8052 (smtpmail-auth-credentials): Remove.
8053 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8054 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8055 MAIL FROM, too.
95f41d9a 8056
c9d29fb8
SM
8057 * net/network-stream.el (network-stream-open-starttls):
8058 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8059 STARTTLS.
8060 (auth-source): Require.
8061 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8062 (network-stream-certificate): Change cert-cert to cert and
8063 cert-key to key.
4ea31e07 8064
065ec2c7
MA
80652011-06-21 Michael Albinus <michael.albinus@gmx.de>
8066
8067 * net/tramp-cache.el (top): Don't load the persistency file when
8068 "emacs -Q" has been called.
8069
cd93b359
DR
80702011-06-21 Tim Harper <timcharper@gmail.com>
8071
d8e4b68b
JB
8072 * term/ns-win.el (ns-initialize-window-system):
8073 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8074 resource to NO as it is not yet supported by the NS port.
8075
ae9c0411
JB
80762011-06-21 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8079 (list-dynamic-libraries): ...not here.
8080
7f3f739f
LL
80812011-06-21 Leo Liu <sdl.web@gmail.com>
8082
8083 * subr.el (sha1): Implement sha1 using secure-hash.
8084
327c8fb1
MR
80852011-06-21 Martin Rudalics <rudalics@gmx.at>
8086
8087 * window.el (display-buffer-alist): In default value do not
8088 enforce searching a window on any but the selected frame.
8089 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8090 (display-buffer-select-window): Remove function.
8091 (display-buffer-in-window): When a window on another frame gets
8092 reused, do not select it any more but just raise its frame if
8093 necessary (Bug#8851) and (Bug#8856).
8094 (display-buffer-normalize-options): Handle pop-up-frames related
8095 options more faithfully.
8096 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8097 window if it is on another frame.
c9d29fb8
SM
8098 (display-buffer-alist, display-buffer-default-specifiers):
8099 Don't make new frame unsplittable by default.
9e9de014
MR
8100 (display-buffer-normalize-argument): Fix doc-string typo and use
8101 'same-frame-other-window instead of 'other-window when associating
8102 with display-buffer-macro-specifiers.
327c8fb1 8103
7cf3f556
VB
81042011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8105
8106 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8107 New functions.
8108 (5x5-mode-map, 5x5-mode-menu): Bind them.
8109 (5x5-draw-grid): Tweak the solver's rendering.
8110
60a406cf
SM
81112011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8114 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8115
d8e4b68b 81162011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8117
8118 * menu-bar.el: Use function variable instead of switch-to-buffer.
8119 (menu-bar-select-buffer-function): New variable.
60a406cf 8120 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8121
478d6f95
SM
81222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8125 variable's status.
8126
ca530739
JD
81272011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8128
8129 * x-dnd.el (x-dnd-version-from-flags)
8130 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8131 and long as number (Bug#8899).
8132 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8133
bcd70d97
SM
81342011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8135
60a406cf 8136 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8137 (completion-try-completion, completion-all-completions): Compute the
8138 metadata argument if it's missing; make it optional (bug#8795).
8139
60a406cf 8140 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8141 (widget-complete): Use new :completion-function property.
8142 (widget-completions-at-point): New function.
8143 (default): Use :completion-function instead of :complete.
60a406cf
SM
8144 (widget-default-completions): Rename from widget-default-complete;
8145 Rewrite.
bcd70d97
SM
8146 (widget-string-complete, widget-file-complete, widget-color-complete):
8147 Remove functions.
8148 (file, symbol, function, variable, coding-system, color):
8149 * international/mule-cmds.el (default-input-method, charset)
8150 (language-info-custom-alist):
8151 * cus-edit.el (face): Use new property :completions.
8152
8153 * progmodes/pascal.el (pascal-completions-at-point): New function.
8154 (pascal-mode): Use it.
8155 (pascal-mode-map): Use completion-at-point.
8156 (pascal-toggle-completions): Make obsolete.
8157 (pascal-complete-word, pascal-show-completions):
8158 * progmodes/octave-mod.el (octave-complete-symbol):
8159 Redefine as obsolete alias.
8160 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8161 Signal absence of completion info for old Octave,
8162 (inferior-octave-complete): Redefine as obsolete alias.
8163 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8164 (meta-completions-at-point): Rename from meta-complete-symbol and
8165 adapt it for use on completion-at-point-functions.
8166 (meta-common-mode): Use it.
8167 (meta-looking-at-backward, meta-match-buffer): Remove.
8168 (meta-complete-symbol): Redefine as obsolete alias.
8169 (meta-common-mode-map): Use completion-at-point.
8170 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8171 (makefile-mode-map): Use completion-at-point.
8172 (makefile-completions-at-point): Rename from makefile-complete and
8173 adapt it for use on completion-at-point-functions.
8174 (makefile-mode): Use it.
8175 (makefile-complete): Redefine as obsolete alias.
8176
aebf69c8
DD
81772011-06-20 Deniz Dogan <deniz@dogan.se>
8178
8179 * net/rcirc.el: Delete trailing whitespaces once and for all.
8180
bfbbb27d
DC
81812011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8182
8183 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8184
d264a46b
CY
81852011-06-19 Chong Yidong <cyd@stupidchicken.com>
8186
4ca009e5
CY
8187 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8188
d264a46b
CY
8189 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8190
fbf5b3ce
MR
81912011-06-19 Martin Rudalics <rudalics@gmx.at>
8192
8193 * window.el (display-buffer-other-window-means-other-frame):
8194 Call display-buffer-normalize-alist.
8195 (display-buffer-normalize-specifiers-1): Rename to
8196 display-buffer-normalize-argument. New argument other-frame.
8197 Rewrite.
8198 (display-buffer-normalize-specifiers-2): Rename to
8199 display-buffer-normalize-options.
8200 (display-buffer-normalize-alist-1): New function.
8201 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8202 display-buffer-normalize-alist.
8203 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8204 (display-buffer-normalize-options-inhibit): New variable.
8205 (display-buffer-normalize-specifiers): Rewrite calling
8206 display-buffer-normalize-alist,
8207 display-buffer-normalize-argument, and
8208 display-buffer-normalize-options. Don't call the latter if
8209 display-buffer-normalize-options-inhibit is non-nil.
8210 (frame-auto-delete): New option.
8211 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8212 (window-list-no-nils, window-state-ignored-parameters)
8213 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8214 (window-state-put-1, window-state-put-2, window-state-put):
8215 New functions.
9a028c23
MR
8216 (display-buffer-normalize-options): Move special-display-p group
8217 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8218
6d10d800
CY
82192011-06-18 Chong Yidong <cyd@stupidchicken.com>
8220
6420d28b
CY
8221 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8222 groups (Bug#8776).
8223 (rx-submatch-n): New function.
8224 (rx): Document it.
8225
ddb8b596
CY
8226 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8227 (Bug#8768).
8228
8229 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8230
77080289
CY
8231 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8232
61dfb316
CY
8233 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8234 anytime existing face settings are present (Bug#8889).
8235
6d10d800
CY
8236 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8237 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8238 Remove unused argument.
8239
be3fb2b8
MR
82402011-06-18 Martin Rudalics <rudalics@gmx.at>
8241
bcd70d97
SM
8242 * window.el (display-buffer-default-specifiers):
8243 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8244 pop-up-window-min-width, and another reuse-window specifier
8245 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8246 (display-buffer-normalize-specifiers-2):
8247 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8248 pop-up-windows is unset. Add a reuse-window specifier for the
8249 case popping up a new window fails.
8250 (special-display-popup-frame): Remove double quoting.
28dec25a 8251 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8252
1c6d8c76
SM
82532011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8256 according to comint-completion-addsuffix.
8257
8258 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8259 (pcomplete-suffix-list): Mark as obsolete.
8260 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8261 pcomplete-seen in the closure.
8262 (pcomplete-comint-setup): Setup completion-at-point as well.
8263 (pcomplete--entries): New function.
8264 (pcomplete--env-regexp): New var.
8265 (pcomplete-entries): Rewrite to work with partial-completion and
8266 without relying on pcomplete-suffix-list.
8267 (pcomplete-pare-list): Remove, unused.
8268
25aef8b8
MR
82692011-06-17 Martin Rudalics <rudalics@gmx.at>
8270
8271 * window.el (display-buffer-alist): Set pop-up-window-min-height
8272 and pop-up-window-min-width in default value. Reported by
8273 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8274 other-window-means-other-frame.
8275 (display-buffer-macro-specifiers): Comment out entry for
8276 other-window specifier.
8277 (display-buffer-other-window-means-other-frame): New function.
8278 (display-buffer-normalize-specifiers-1): New arguments
8279 buffer-name and label. Treat other-window case specially.
8280 (display-buffer-normalize-specifiers-2): Treat other-window case
8281 specially.
8282 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8283 (display-buffer-normalize-specifiers):
8284 Call display-buffer-normalize-specifiers-3.
25aef8b8 8285
dbad4f69
MR
82862011-06-17 Martin Rudalics <rudalics@gmx.at>
8287
8288 * window.el (same-window-p): Fix two typos introduced when
8289 adding with-no-warnings.
d1067961
MR
8290 (display-buffer-normalize-specifiers-1): Don't check
8291 pop-up-frames for 'unset initialization.
8292 (display-buffer-normalize-specifiers-2): Major rewrite using
8293 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8294 (pop-up-frames, display-buffer-reuse-frames)
8295 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8296 Suggested by David Engster <deng@randomsample.de>.
8297 (even-window-heights): Initialize to 'unset.
8298 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8299 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8300 other window case.
dbad4f69 8301
9b9c9e3a
MR
83022011-06-16 Martin Rudalics <rudalics@gmx.at>
8303
bcd70d97
SM
8304 * window.el (display-buffer-normalize-specifiers-1):
8305 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8306 second argument of display-buffer (Bug#8865).
981d5c09
MR
8307 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8308 (switch-to-buffer-other-window-same-frame)
8309 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8310 Adams (Bug#8875).
9c2755e9
MR
8311 (display-buffer): Don't check noninteractive when calling
8312 display-buffer-pop-up-frame.
8313 (display-buffer-pop-up-frame): Never pop up a frame in
8314 noninteractive mode (Bug#8857).
67222e1d
MR
8315 (enlarge-window, shrink-window): Don't report an error when the
8316 window can't be resized as requested (Bug#8862).
9b9c9e3a 8317
2b75be67
SM
83182011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8319
9ffdd3ba
SM
8320 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8321
cb581a67
SM
8322 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8323
2b75be67
SM
8324 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8325
8c0e3589
AM
83262011-06-15 Alan Mackenzie <acm@muc.de>
8327
cb581a67
SM
8328 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8329 for declarators, disable knr checking to speed up for normal files.
8330 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8331
b96e6cde
LMI
83322011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8333
4bba86e6
LMI
8334 * net/network-stream.el (open-network-stream): Add the keyword
8335 :always-query-capabilities for the case where you want to force a
8336 `plain' network connection, but the protocol still requires the
8337 capabilitiy command (i.e., SMTP and EHLO).
8338
2b75be67 8339 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8340 consistency with other `-live-p' functions.
8341
efdcdbf8
SM
83422011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * window.el (same-window-buffer-names, same-window-regexps)
8345 (special-display-frame-alist, special-display-popup-frame)
8346 (special-display-function, special-display-buffer-names)
8347 (special-display-regexps, pop-up-frame-alist)
8348 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8349 (pop-up-windows, split-window-preferred-function)
8350 (split-height-threshold, split-width-threshold, even-window-heights)
8351 (display-buffer-mark-dedicated): Don't encourage the use of
8352 display-buffer-alist from Elisp code.
8353
c5cde042
DN
83542011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8355
8356 * progmodes/python.el (python-mode): Derive from prog-mode.
8357 * progmodes/ps-mode.el (ps-mode):
8358 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8359 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8360 * progmodes/ld-script.el (ld-script-mode): Likewise.
8361
baa1c9ab
MR
83622011-06-15 Martin Rudalics <rudalics@gmx.at>
8363
8364 * window.el (display-buffer-alist): Trim default value to avoid
8365 popping up a new frame (Bug#8857) or reusing an arbitrary window
8366 on another frame.
8367 (display-buffer): Do not fall back on popping up a new frame in
8368 batch mode (Bug#8857).
8369
c5dd5a51
CY
83702011-06-14 Chong Yidong <cyd@stupidchicken.com>
8371
8372 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8373 (custom-theme-summary): New function.
8374 (customize-themes): Use it.
8375
d647b7c4
GM
83762011-06-13 Glenn Morris <rgm@gnu.org>
8377
8378 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8379
9481c002
MR
83802011-06-13 Martin Rudalics <rudalics@gmx.at>
8381
357f93d2
MR
8382 * help.el (help-window): Remove variable.
8383 (help-window-point-marker, temp-buffer-max-height)
8384 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8385 (help-print-return-message): Don't set help-window.
8386 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8387 (help-window-setup-finish): Remove.
8388 (help-window-display-message, help-window-setup)
8389 (with-help-window): Major rewrite based on new
8390 display-buffer-window variable.
8391
8392 * help-mode.el (help-mode-finish): Remove help-window related
8393 code.
8394
8395 * view.el (view-exits-all-viewing-windows): Remove reference to
8396 view-return-to-alist in doc-string.
8397 (view-return-to-alist): Make obsolete.
8398 (view-buffer): Call pop-to-buffer-same-window and remove
8399 undo-window code.
8400 (view-buffer-other-window): Call pop-to-buffer-other-window and
8401 simplify code. Ignore second argument.
8402 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8403 simplify code. Ignore second argument.
8404 (view-return-to-alist-update): Make obsolete.
8405 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8406 Rewrite using quit-restore window parameters.
2b75be67
SM
8407 (view-mode-exit): Rename second argument to EXIT-ONLY.
8408 Rewrite using quit-restore-window.
357f93d2
MR
8409 (View-exit, View-exit-and-edit, View-leave, View-quit)
8410 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8411 appropriate arguments.
8412 (view-end-message): Use quit-restore window parameter.
8413
9481c002
MR
8414 * window.el (display-buffer-function): Rewrite doc-string.
8415 (display-buffer-window, display-buffer-alist): New variables.
8416 (display-buffer-split-specifiers)
8417 (display-buffer-side-specifiers)
8418 (display-buffer-macro-specifiers): New constants.
8419 (display-buffer-even-window-sizes, display-buffer-set-height)
8420 (display-buffer-set-width, display-buffer-select-window)
8421 (display-buffer-in-window, display-buffer-reuse-window)
8422 (display-buffer-split-window-1, display-buffer-split-window)
8423 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8424 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8425 (display-buffer-in-side-window, normalize-buffer-to-display)
8426 (display-buffer-normalize-specifiers-1)
8427 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8428 (display-buffer-normalize-specifiers, display-buffer-frame):
8429 New functions.
9481c002
MR
8430 (display-buffer): Major rewrite.
8431 (display-buffer-other-window, display-buffer-other-frame)
8432 (pop-to-buffer, switch-to-buffer-other-window)
8433 (switch-to-buffer-other-frame): Rewrite.
8434 (display-buffer-same-window, display-buffer-same-frame)
8435 (display-buffer-same-frame-other-window)
8436 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8437 (pop-to-buffer-other-window)
8438 (pop-to-buffer-same-frame-other-window)
8439 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8440 (switch-to-buffer-other-window-same-frame): New functions.
8441 (same-window-p, special-display-p): Rewrite disabling warnings.
8442 Make obsolete.
8443 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8444 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8445 Make obsolete
8446 (same-window-buffer-names, same-window-regexps)
8447 (special-display-frame-alist, special-display-popup-frame)
8448 (special-display-function, special-display-buffer-names)
8449 (special-display-regexps, pop-up-frame-alist)
8450 (pop-up-frame-function, split-window-preferred-function)
8451 (split-height-threshold, split-width-threshold)
8452 (even-window-heights): Make obsolete.
8453
9db51aca
GM
84542011-06-12 Glenn Morris <rgm@gnu.org>
8455
8456 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8457 Misc simplifications.
9db51aca 8458
39cffb44
MR
84592011-06-12 Martin Rudalics <rudalics@gmx.at>
8460
8461 * window.el (window-safely-shrinkable-p): Restore function which
8462 was inadvertently removed in change from 2011-06-11. Declare as
8463 obsolete.
8464
2b75be67
SM
8465 * calendar/calendar.el (calendar-generate-window):
8466 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8467 window-safely-shrinkable-p.
8468
a8955be7
GM
84692011-06-12 Glenn Morris <rgm@gnu.org>
8470
8471 * progmodes/fortran.el (fortran-mode-syntax-table):
8472 * progmodes/f90.el (f90-mode-syntax-table):
8473 Set % to punctuation. (Bug#8820)
8474 (f90-find-tag-default): Remove, no longer needed.
8475
f0d4059d
DC
84762011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8477
8478 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8479
1100a63c
CY
84802011-06-11 Chong Yidong <cyd@stupidchicken.com>
8481
8482 * image.el (image-animated-p): Return animation delay in seconds.
8483 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8484 (image-animate-timeout): Remove DELAY argument. Don't assume
8485 every subimage has the same delay; get it from image-animated-p.
8486 (image-animate): Caller changed.
8487
def722bf
MA
84882011-06-11 Michael Albinus <michael.albinus@gmx.de>
8489
8490 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8491 to ignored backtrace functions.
8492
0a2bb1a9
GM
84932011-06-11 Glenn Morris <rgm@gnu.org>
8494
8495 * calendar/appt.el (appt-disp-window-function): Doc fix.
8496 (appt-check): Handle overlapping appointments. (Bug#8337)
8497
6198ccd0
MR
84982011-06-11 Martin Rudalics <rudalics@gmx.at>
8499
8500 * window.el (window-tree-1, window-tree): New functions, moving
8501 the latter to window.el.
8502 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8503 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8504 (bw-refresh-edges): Remove.
8505 (balance-windows-1, balance-windows-2): New functions.
8506 (balance-windows): Rewrite in terms of window tree functions,
8507 balance-windows-1 and balance-windows-2.
8508 (bw-adjust-window): Remove.
8509 (balance-windows-area-adjust): New function with functionality of
8510 bw-adjust-window but using resize-window.
2b75be67
SM
8511 (set-window-text-height): Rewrite doc-string.
8512 Use normalize-live-window and resize-window.
8513 (enlarge-window-horizontally, shrink-window-horizontally):
8514 Rename argument to DELTA.
6198ccd0
MR
8515 (window-buffer-height): New function.
8516 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8517 Rewrite using new window resize routines.
2b75be67
SM
8518 (kill-buffer-and-window, mouse-autoselect-window-select):
8519 Use ignore-errors instead of condition-case.
6198ccd0
MR
8520 (quit-window): Call delete-frame instead of delete-windows-on
8521 for the only buffer on frame.
8522
9397e56f
MR
85232011-06-10 Martin Rudalics <rudalics@gmx.at>
8524
8525 * loadup.el (top-level): Load window before files for the sake
8526 of replace-buffer-in-windows.
8527
8528 * files.el (read-buffer-to-switch)
8529 (switch-to-buffer-other-window)
2b75be67
SM
8530 (switch-to-buffer-other-frame, display-buffer-other-frame):
8531 Move to window.el.
9397e56f
MR
8532
8533 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8534 (previous-buffer): Move to window.el.
8535
8536 * bindings.el (unbury-buffer): Move to window.el.
8537
8538 * window.el (delete-other-windows-vertically): Move after
8539 definition of delete-other-windows.
8540 (other-window, delete-windows-on, replace-buffer-in-windows):
8541 Move here from window.c.
8542 (record-window-buffer, unrecord-window-buffer)
8543 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8544 (switch-to-next-buffer): New functions.
8545 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8546 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8547 (previous-buffer): Move here from simple.el.
8548 Call switch-to-prev-buffer.
9397e56f
MR
8549 (bury-buffer): Move here from buffer.c. Switch to previous
8550 buffer when window cannot be deleted.
8551 (unbury-buffer): Move here from bindings.el.
8552 (ctl-x-map): Move binding for other-window from window.c to
8553 here.
8554 (read-buffer-to-switch, switch-to-buffer-other-window)
8555 (switch-to-buffer-other-frame): Move here from files.el.
8556 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8557 (switch-to-buffer): Move here from buffer.c.
8558 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8559
562dd5e9
MR
85602011-06-10 Martin Rudalics <rudalics@gmx.at>
8561
8562 * window.el (window-min-height, window-min-width): Move here
8563 from window.c. Add defcustoms and rewrite doc-strings.
8564 (resize-mini-window, resize-window): New functions.
8565 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8566 Move here from window.c.
8567 (maximize-window, minimize-window): New functions.
8568 (delete-window, delete-other-windows, split-window): Move here
8569 from window.c.
8570 (window-split-min-size): New function.
8571 (split-window-keep-point): Mention split-window-above-each-other
8572 instead of split-window-vertically.
2b75be67 8573 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8574 Rename split-window-vertically to split-window-above-each-other
8575 and provide defalias for old definition.
8576 (split-window-side-by-side, split-window-horizontally):
8577 Rename split-window-horizontally to split-window-side-by-side
8578 and provide defalias for the old definition.
562dd5e9
MR
8579 (ctl-x-map): Move bindings for delete-window,
8580 delete-other-windows and enlarge-window here from window.c.
8581 Replace bindings for split-window-vertically and
8582 split-window-horizontally by bindings for
8583 split-window-above-each-other and split-window-side-by-side.
8584
8585 * cus-start.el (all): Remove entries for window-min-height and
8586 window-min-width. Add entries for window-splits and
8587 window-nest.
8588
f0da764a
GM
85892011-06-09 Glenn Morris <rgm@gnu.org>
8590
80675c21
GM
8591 * calendar/appt.el (appt-mode-line): New function.
8592 (appt-check, appt-disp-window): Use it.
8593
f0da764a
GM
8594 * files.el (hack-one-local-variable-eval-safep):
8595 Allow minor-modes with explicit +/-1 arguments.
8596
59f623b7
TZ
85972011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8598
8599 * term/xterm.el (xterm): Add defgroup.
8600 (xterm-extra-capabilities): Add defcustom to supply known xterm
8601 capabilities, skip querying them, or query them (default).
8602 (terminal-init-xterm): Use it.
8603 (terminal-init-xterm-modify-other-keys): New function to set up
8604 modifyOtherKeys support to simplify `terminal-init-xterm'.
8605
9aab8e0d
MR
86062011-06-09 Martin Rudalics <rudalics@gmx.at>
8607
8608 * window.el (resize-window-reset, resize-window-reset-1)
8609 (resize-subwindows-skip-p, resize-subwindows-normal)
8610 (resize-subwindows, resize-other-windows, resize-this-window)
8611 (resize-root-window, resize-root-window-vertically)
8612 (window-deletable-p, window-or-subwindow-p)
8613 (frame-root-window-p): New functions.
8614
e8b08aee
GM
86152011-06-09 Glenn Morris <rgm@gnu.org>
8616
8617 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8618 (ange-ftp-get-files): Use it.
8619
254c37a5
AK
86202011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8621
8622 * mail/sendmail.el (mail-recover-1, mail-recover):
8623 * files.el (recover-file, recover-session):
8624 Handle dired-listing-switches not being just a single short option.
8625
35d7dbd3
GM
86262011-06-09 Glenn Morris <rgm@gnu.org>
8627
8628 * calendar/appt.el (appt-display-message, appt-disp-window):
8629 Handle lists of appointments.
8630
387522b2
MR
86312011-06-08 Martin Rudalics <rudalics@gmx.at>
8632
2b75be67
SM
8633 * window.el (one-window-p): Move down in code.
8634 Rewrite doc-string.
8635 (window-current-scroll-bars): Rewrite doc-string.
8636 Normalize live window argument.
387522b2
MR
8637 (walk-windows, get-window-with-predicate, count-windows):
8638 Rewrite doc-string. Use window-list-1.
8639 (window-in-direction-2, window-in-direction, get-mru-window):
8640 New functions.
8641
d8e4b68b 86422011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8643
8644 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8645 Doc fix (Bug#8713).
8646
86472011-06-08 Chong Yidong <cyd@stupidchicken.com>
8648
8649 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8650
86512011-06-08 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * loadhist.el (unload-feature-special-hooks):
8654 Add `comint-output-filter-functions'.
8655
0de12c52
IK
86562011-06-08 Ivan Kanis <gnu@kanis.fr>
8657
8658 * calendar/appt.el (appt-check): Move some initializations into the let.
8659
f3d1777e
MR
86602011-06-08 Martin Rudalics <rudalics@gmx.at>
8661
8662 * window.el (window-height): Defalias to window-total-height.
8663 (window-width): Defalias to window-body-width.
8664
18af70d0
CY
86652011-06-07 Chong Yidong <cyd@stupidchicken.com>
8666
8667 * image-mode.el (image-toggle-animation): New command.
8668 (image-mode-map): Bind it to RET.
8669 (image-mode): Update message.
8670 (image-toggle-display-image): Avoid a spurious cache flush.
8671 (image-transform-rotation): Doc fix.
8672 (image-transform-properties): Return quickly in the normal case.
8673 (image-animate-loop): Rename from image-animate-max-time.
8674
2b75be67 8675 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8676 (create-animated-image): Remove unnecessary function.
8677 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8678 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8679 (image-animate-timer): Use car-safe.
8680 (image-animate-timeout): Rename argument.
8681
190b47e6
MR
86822011-06-07 Martin Rudalics <rudalics@gmx.at>
8683
8684 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8685 window.c. Rename first argument to ALL-FRAMES.
8686 Rephrase doc-strings.
8687 (get-buffer-window-list): Rewrite using window-list-1.
8688 Rephrase doc-string.
a1511caf
MR
8689 (window-safe-min-height, window-safe-min-width): New constants.
8690 (window-size-ignore, window-min-size, window-min-size-1)
8691 (window-sizable, window-sizable-p, window-size-fixed-1)
8692 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8693 (window-max-delta-1, window-max-delta, window-resizable)
8694 (window-resizable-p, window-total-height, window-total-width)
8695 (window-body-width): New functions.
8696 (window-full-height-p, window-full-width-p): Rewrite using
8697 window-total-size.
8698 (window-body-height): Rewrite using window-body-size.
190b47e6 8699
85cc1f11
MR
87002011-06-06 Martin Rudalics <rudalics@gmx.at>
8701
8702 * window.el (window-right, window-left, window-child)
8703 (window-child-count, window-last-child, window-any-p)
8704 (normalize-live-buffer, normalize-live-frame)
8705 (normalize-any-window, normalize-live-window)
8706 (window-iso-combination-p, window-iso-combined-p)
8707 (window-iso-combinations)
8708 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8709 (windows-with-parameter, window-with-parameter)
8710 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8711 (window-atom-check, window-side-check, window-check):
8712 New functions.
85cc1f11
MR
8713 (ignore-window-parameters, window-sides, window-sides-vertical)
8714 (window-sides-slots): New variables.
8715 (window-size-fixed): Move down in code. Minor doc-string fix.
8716
e7156492
AS
87172011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8718
8719 * comint.el (comint-dynamic-complete-as-filename)
8720 (comint-dynamic-complete-filename): Correctly call
8721 completion-in-region.
8722
7e821d0d
DD
87232011-06-05 Deniz Dogan <deniz@dogan.se>
8724
8725 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8726 in last change.
8727
ac09b8a1
DD
87282011-06-05 Deniz Dogan <deniz@dogan.se>
8729
8730 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8731 (rcirc): Use it to prompt for encryption.
8732
34699b85
RW
87332011-06-05 Roland Winkler <winkler@gnu.org>
8734
8735 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8736 (bibtex-search-entries): New command bound to C-c C-a.
8737 (bibtex-display-entries): New function.
8738
004dedd3
RW
87392011-06-05 Roland Winkler <winkler@gnu.org>
8740
8741 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8742 (bibtex-insert-kill): After yanking insert newline if necessary.
8743 (bibtex-initialize): Call bibtex-string-files-init only once.
8744 (bibtex-mode): Do not call easy-menu-add.
8745 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8746 (bibtex-yank): Set arg properly if nil.
8747
022fe7ce
RW
87482011-06-05 Roland Winkler <winkler@gnu.org>
8749
2b75be67
SM
8750 * textmodes/bibtex.el (bibtex-search-entry-globally):
8751 New variable.
022fe7ce
RW
8752 (bibtex-search-entry): Use it.
8753
b7c3692a
RW
87542011-06-05 Roland Winkler <winkler@gnu.org>
8755
8756 * textmodes/bibtex.el (bibtex-entry-format): New option
8757 sort-fields.
8758 (bibtex-format-entry, bibtex-reformat): Honor this option.
8759 (bibtex-parse-entry): Return fields in proper order.
8760
8eda563d
JB
87612011-06-05 Juanma Barranquero <lekktu@gmail.com>
8762
8763 * doc-view.el (doc-view-remove-if): Move computation of result out
8764 of `dolist' to silence misleading lexical-binding warning.
8765
7dbe3dbc
CY
87662011-06-04 Chong Yidong <cyd@stupidchicken.com>
8767
8768 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8769 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8770
0c33dd17
MA
87712011-06-04 Michael Albinus <michael.albinus@gmx.de>
8772
8773 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8774 "SunOS 5.10".
8775
f8f91c2b
MA
87762011-06-04 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8779 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8780 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8781 (tramp-parse-putty):
8782 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8783 (tramp-completion-function-alist-ssh)
8784 (tramp-completion-function-alist-telnet)
8785 (tramp-completion-function-alist-su)
8786 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8787 cookie.
8788
8789 * net/tramp-ftp.el:
8790 * net/tramp-sh.el:
8791 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8792 load "tramp.el" `tramp-set-completion-function'.
8793
e17d9003
SM
87942011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * shell.el: Require and use pcomplete.
8797 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8798 (shell-completion-vars): Set pcomplete-default-completion-function.
8799
6c4cab03
DD
88002011-06-04 Deniz Dogan <deniz@dogan.se>
8801
8802 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8803 `memq' (Bug#8799).
8804
ea9fafe0
SM
88052011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8808
b3e945d3
JB
88092011-06-02 Juanma Barranquero <lekktu@gmail.com>
8810
8811 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8812 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8813 * vc/log-view.el (log-view-beginning-of-defun):
8814 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8815 (smerge-refine-forward, smerge-refine-chopup-region):
8816 Silence warning for unused `dotimes' counter variables.
8817
7d520089
SM
88182011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * net/tramp.el (tramp-with-progress-reporter): Rename from
8821 with-progress-reporter. Use `declare'.
8822 * net/tramp-smb.el:
8823 * net/tramp-sh.el:
8824 * net/tramp-gvfs.el: Update all uses.
8825
a1c2400f
JB
88262011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8827
8828 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8829 buffer isn't killed before making it current.
8830
2403c841
SM
88312011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 Silence various byte-compiler warnings.
8834 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8835 `access-type' and new obsolescence format.
8836 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8837 new format.
8838 (byte-compile-check-variable): New `access-type' argument.
8839 Only warn if the access-type is obsolete.
8840 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8841 (byte-compile-variable-set): Adjust callers.
8842 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8843 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8844 setting it as obsolete.
8845 * simple.el (minibuffer-completing-symbol):
8846 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8847 access as obsolete.
8848 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8849 obsolete yet.
8850 * international/quail.el (quail-mouse-choose-completion): Remove unused
8851 code referring to obsolete var.
8852 (quail-choose-completion-string): Remove.
8853 * server.el (server-clients-with, server-kill-buffer-query-function)
8854 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8855 * proced.el (proced-send-signal):
8856 * emacs-lisp/lisp.el (lisp-complete-symbol):
8857 Replace completion-annotate-function with completion-extra-properties.
8858
2462470b
SM
88592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8860
fb5b2591
SM
8861 * simple.el (goto-line): Use read-number.
8862 (overriding-map-is-bound): Remove.
8863 (saved-overriding-map): Change default.
8864 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8865 Take the map as argument.
8866 (universal-argument, negative-argument, digit-argument): Use it.
8867 (restore-overriding-map): Adjust.
8868 (do-auto-fill): Use fill-forward-paragraph.
8869 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8870
fd6fa53f
SM
8871 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8872 (minibuffer-inactive-mode): New major mode.
8873 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8874 the *Messages* buffer" hack.
8875 (mouse-popup-menubar): Don't burp if the event is a normal key.
8876
2462470b
SM
8877 Miscellaneous tweaks.
8878 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8879 lexical scoping as in subr.el's dolist and dotimes.
8880 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8881 Silence compiler warning.
8882 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8883 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8884 * international/ccl.el (ccl-compile): Trivial simplification.
8885 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8886 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8887 `printflag' argument.
8888 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8889 Purecopy the whole obsolescence data.
8890
108bf785
LL
88912011-06-01 Leo Liu <sdl.web@gmail.com>
8892
8893 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8894 improve doc-string as suggested by Marco Pessotto
8895 <melmothx@gmail.com>.
8896 (rcirc-print): Fix last change.
8897
30a23501
SM
88982011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * minibuffer.el (complete-with-action): Return nil for the metadata and
8901 boundaries of non-functional tables.
8902 (completion-table-dynamic): Return nil for the metadata.
8903 (completion-table-with-terminator): Add default case, using
8904 complete-with-action.
8905 (completion--metadata): New function.
8906 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8907 to try and avoid pathological performance problems.
8908 (completion--embedded-envvar-table): Return `category' metadata.
8909
bcd54f83
LMI
89102011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8911
8912 * subr.el (process-alive-p): New tiny convenience function.
8913
e227544d
SM
89142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8917 content but also its previous major mode.
8918
e8296fdc
HE
89192011-05-31 Helmut Eller <eller.helmut@gmail.com>
8920
4d61f28d 8921 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8922 *Backtrace* buffer when we exit with C-M-c.
8923
620c53a6
SM
89242011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * minibuffer.el: Add metadata method to completion tables.
8927 (completion-category-overrides): New defcustom.
8928 (completion-metadata, completion--field-metadata)
8929 (completion-metadata-get, completion--styles)
8930 (completion--cycle-threshold): New functions.
8931 (completion-try-completion, completion-all-completions):
8932 Add `metadata' argument to choose completion-styles.
8933 (completion--do-completion): Use metadata to choose cycling.
8934 (completion-all-sorted-completions): Use metadata for sorting.
8935 Remove :completion-cycle-penalty which is not needed any more.
8936 (completion--try-word-completion): Add `metadata' argument.
8937 (minibuffer-completion-help): Check metadata for annotation function
8938 and sorting.
8939 (completion-file-name-table): Return `category' metadata.
8940 (minibuffer-completing-file-name): Make obsolete.
8941 * simple.el (minibuffer-completing-symbol): Make obsolete.
8942 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8943 completion-try-completion.
8944
1257e755
SM
89452011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8948
3767e706
LL
89492011-05-30 Leo Liu <sdl.web@gmail.com>
8950
8951 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8952 (rcirc-print): Decode all incoming messages (bug#8744).
8953 (rcirc-decode-coding-system): Allow value nil for automatic coding
8954 system detection.
3767e706 8955
d1a5d56a
GM
89562011-06-01 Glenn Morris <rgm@gnu.org>
8957
8958 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8959
e8cbec34
CY
89602011-05-29 Chong Yidong <cyd@stupidchicken.com>
8961
8962 * image.el (image-animate-max-time): Allow nil and t values.
8963 Default to nil.
8964 (create-animated-image): Doc fix.
8965 (image-animate-start): Remove second arg; just use
8966 image-animate-max-time.
8967 (image-animate-timeout): Doc fix. Args changed.
8968
8969 * image-mode.el (image-toggle-display-image): Ensure that the
8970 image spec passed to the animate timer is the same object as in
58179cce 8971 the buffer's display property (Bug#6981).
e8cbec34
CY
8972 (image-transform-properties): Doc fix.
8973
8974 * image.el (image-animate-max-time): Default to nil.
8975
159daf87
MR
89762011-05-29 Martin Rudalics <rudalics@gmx.at>
8977
8978 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8979 entire buffer list (Bug#8184).
8980
d66c4c7c
CY
89812011-05-29 Chong Yidong <cyd@stupidchicken.com>
8982
8983 * image.el (imagemagick-types-inhibit)
8984 (imagemagick-register-types): Doc fix.
8985
80aec780
DD
89862011-05-29 Deniz Dogan <deniz@dogan.se>
8987
8988 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8989 default.
8990
1dd3c2d9
CY
89912011-05-29 Chong Yidong <cyd@stupidchicken.com>
8992
8993 * select.el: Don't perform clipboard-manager saving in hooks;
8994 leave the hooks empty.
8995
60e56523
LL
89962011-05-28 Leo Liu <sdl.web@gmail.com>
8997
8998 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8999 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9000 (occur-edit-mode): New major mode (Bug#8463).
9001 (occur-after-change-function): New function.
9002 (occur-engine): Give Occur tags a read-only property.
9003
2b1e1a22
KR
90042011-05-28 Kevin Ryde <user42@zip.com.au>
9005
9006 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9007
5d344e88
CY
90082011-05-28 Chong Yidong <cyd@stupidchicken.com>
9009
8e6ca83d
CY
9010 * bindings.el (help-echo): Make the initial non-indicator dash
9011 empty on graphical terminals (Bug#7295).
9012
5d344e88
CY
9013 * files.el (auto-mode-alist): Move config rule after the
9014 in-stripping one (Bug#8547).
9015
bfbbace7
CY
9016 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9017
fbeba6e2
CY
9018 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9019 setting (Bug#8740).
9020
60ed8c72
AA
90212011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9022
4ac619f0
AA
9023 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9024 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9025 (Bug#8539).
60ed8c72 9026
23db196e
CY
90272011-05-28 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9030
5012f24c
DK
90312011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9032
9033 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9034 (hs-hide-block-at-point, hs-find-block-beginning)
9035 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9036 (Bug#8279).
9037
6a639b16
GM
90382011-05-28 Glenn Morris <rgm@gnu.org>
9039
9040 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9041
d43eaf2c
CY
90422011-05-28 Chong Yidong <cyd@stupidchicken.com>
9043
5199bde1
CY
9044 * help-fns.el (describe-function-1): If the function is a derived
9045 major mode, print the parent mode.
9046
d43eaf2c
CY
9047 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9048 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9049
423428a8
SM
90502011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9051
0ff8e1ba 9052 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9053 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9054 * progmodes/etags.el (tags-completion-at-point-function):
9055 * info-look.el (info-lookup-completions-at-point): Mark as
9056 non-exclusive.
9057 (info-complete): Adjust accordingly.
9058
423428a8
SM
9059 * info-look.el: Convert to lexical-binding and completion-at-point.
9060 (info-lookup-completions-at-point): New function.
9061 (info-complete): Use it and completion-in-region.
9062
b74aa22b
DA
90632011-05-28 Drew Adams <drew.adams@oracle.com>
9064
9065 * isearch.el: Let M-e start with point at the first mismatched char.
9066 (isearch-fail-pos): New function.
9067 (isearch-edit-string): Use it.
9068
66e2e71d
DK
90692011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9070
9071 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9072
b1890b0f 90732011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9074
9075 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9076 traversal functions for avl-trees.
9077 (avl-tree--stack): New struct.
9078 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9079 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9080 (avl-tree--do-enter): Add optional `updatefun' arg.
9081 Change return value.
eb95d01d 9082 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9083 (avl-tree--do-delete): Add `test' and `nilflag' args.
9084 Change return value.
eb95d01d
TC
9085 (avl-tree-member): Add optional `nilflag'
9086 (avl-tree-member-p): New function.
9087 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9088 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9089 (avl-tree-stack-empty-p): New functions.
9090
3769ddcf
TC
9091 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9092 avl-tree--del-balance1 and make it work both ways.
9093 (avl-tree--del-balance2): Remove.
9094 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9095 make it work both ways.
9096 (avl-tree--enter-balance2): Remove.
9097 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9098 New macros.
9099 (avl-tree--mapc, avl-tree-map): Add direction argument.
9100
eb95d01d 91012011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9102
9103 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9104
a9f737ee
CY
91052011-05-27 Chong Yidong <cyd@stupidchicken.com>
9106
9107 * select.el: Support clipboard managers with built-in function
9108 x-clipboard-manager-save, via delete-frame-functions and
9109 kill-emacs-hook.
9110 (xselect-convert-to-targets): Add MULTIPLE target to list.
9111 (xselect-convert-to-save-targets): New function.
9112
c92a1e54
KH
91132011-05-27 Kenichi Handa <handa@m17n.org>
9114
9115 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9116 let-binding rfc2047-encode-encoded-words to nil.
9117
e145f188
GM
91182011-05-27 Glenn Morris <rgm@gnu.org>
9119
5ec8a862
GM
9120 * mail/emacsbug.el: Don't require url-util.
9121
4b29d9fb
GM
9122 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9123
e145f188
GM
9124 * files.el (set-auto-mode):
9125 Also respect mode: entries at the end of the file. (Bug#8586)
9126
7d15102b
GM
91272011-05-26 Glenn Morris <rgm@gnu.org>
9128
98f593b8
GM
9129 * files.el (hack-local-variables-prop-line, hack-local-variables):
9130 Downcase mode names, as seems to be traditional.
27b48e63 9131 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9132
7d15102b
GM
9133 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9134 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9135
51d5b4ec
JD
91362011-05-25 Julien Danjou <julien@danjou.info>
9137
9138 * textmodes/rst.el (rst-define-level-faces): Do not define face
9139 symbol if it is already defined.
9140
91513f63
VB
91412011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9142
9143 * play/5x5.el (5x5-new-game, 5x5-randomize):
9144 Reset 5x5-solver-output to nil when a new grid is cast.
9145 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9146 these debugging traces, as defmacro breaks the compiled code.
9147
4d90d6d0
DK
91482011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9149
9150 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9151
e1b90ef6
LL
91522011-05-24 Leo Liu <sdl.web@gmail.com>
9153
9154 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9155 (vc-bzr-sha1): Adapt.
9156
d8e4b68b 9157 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9158
9159 * bindings.el: Provide sha1 feature.
9160
db0406bb 91612011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9162
9163 * mail/sendmail.el: Require `rfc2047'.
9164 (mail-insert-from-field): Do not perform RFC2047 encoding.
9165 (mail-encode-header): New function.
9166 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9167 buffer to the return value of select-message-coding-system.
9168 Call mail-encode-header.
b8d747b9
KH
9169
9170 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9171
db0406bb 91722011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9173
4d90d6d0
DK
9174 * mail/supercite.el (sc-default-cite-frame):
9175 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9176
eb8a5e9b
GM
91772011-05-24 Glenn Morris <rgm@gnu.org>
9178
f8630703
GM
9179 * progmodes/python.el (brm-menu): Declare.
9180
8831bbed
GM
9181 * emulation/viper.el (viper-set-hooks): Declare.
9182
eb8a5e9b
GM
9183 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9184 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9185 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9186 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9187 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9188 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9189
a2a25d24
SM
91902011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 Add an :exit-function for completion-at-point.
9193
9194 * minibuffer.el (completion--done): New fun.
9195 (completion--do-completion): Use it. New arg `expect-exact'.
9196 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9197 since completion--do-completion does it for us now.
9198 (minibuffer-force-complete): Use completion--done and
9199 completion--replace. Handle sole-completion case with more care.
9200 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9201 (completion-extra-properties): New var.
9202 (completion-annotate-function): Make obsolete.
9203 (minibuffer-completion-help): Adjust accordingly.
9204 Use completion-list-insert-choice-function.
9205 (completion-at-point, completion-help-at-point):
9206 Bind completion-extra-properties.
9207 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9208 * simple.el (completion-list-insert-choice-function): New var.
9209 (completion-setup-function): Preserve it.
9210 (choose-completion): Pay attention to it, shuffle the code a bit.
9211 (choose-completion-string): New arg `insert-function'.
9212
9213 * textmodes/bibtex.el: Convert to lexical binding.
9214 (bibtex-mode-map): Use completion-at-point.
9215 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9216 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9217 (bibtex-complete): Define as obsolete alias.
9218 (bibtex-complete-internal): Remove.
9219 (bibtex-format-entry): Remove unused sub-group in regexp.
9220 * shell.el (shell--command-completion-data)
9221 (shell-environment-variable-completion):
9222 * pcomplete.el (pcomplete-completions-at-point):
9223 * comint.el (comint--complete-file-name-data): Use :exit-function
9224 instead of completion-table-with-terminator so it also works for
9225 choose-completion.
9226
e44e373d
SM
92272011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9228
4f91a816
SM
9229 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9230
782fc819
SM
9231 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9232 (bug#8710).
9233
e44e373d
SM
9234 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9235
381987c3
KM
92362011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9237
9238 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9239 customization variable and implement: If non-nil, auto-fill will
9240 be inhibited while on topic's header line.
9241
b776bc70
VB
92422011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9243
9244 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9245 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9246 always have a solution in grid size = 5 cases.
9247 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9248 (5x5-solver-output, 5x5-log-buffer): New vars.
9249 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9250 Make these variables buffer local to achieve 5x5 multi-session-ness.
9251 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9252 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9253 (5x5-solve-suggest): New funs.
9254 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9255 randomize a grid so that we ensure that there is always a solution.
9256 (5x5-make-random-grid): Allow other movement than flipping.
9257
7de88b6e
KR
92582011-05-23 Kevin Ryde <user42@zip.com.au>
9259
9260 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9261 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9262 advice and passes PREDICATE.
9263
b1ef1257
SM
92642011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9265
bbca48fe
SM
9266 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9267 byte-compile-lambda if it's actually a lambda.
9268
b1ef1257
SM
9269 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9270 Fix function quoting. Use backquote better.
9271
92a9cc65
YS
92722011-05-22 Yuanle Song <sylecn@gmail.com>
9273
9274 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9275 matching (Bug#8516).
9276
f0fb8059
JA
92772011-01-22 Jari Aalto <jari.aalto@cante.net>
9278
9279 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9280 different face (Bug#8178).
9281
d5b44c93
CY
92822011-05-22 Chong Yidong <cyd@stupidchicken.com>
9283
9284 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9285 defface (Bug#8144).
9286
79106a44
SM
92872011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9c848d8a
SM
9289 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9290 funcall as well (bug#8712). Warn when performing those conversions.
9291 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9292
79106a44
SM
9293 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9294
88dfa756
GM
92952011-05-22 Glenn Morris <rgm@gnu.org>
9296
9297 * files.el (hack-local-variables-prop-line): Small simplifications.
9298 (hack-local-variables, hack-local-variables-prop-line):
9299 If MODE-ONLY, return the mode, rather than just `t'.
9300
b7cf2c79
SM
93012011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9304
3f1a8558
GM
93052011-05-21 Glenn Morris <rgm@gnu.org>
9306
7e4ccca3
GM
9307 * files.el (hack-local-variables-prop-line, hack-local-variables):
9308 If only interested in the mode, don't bother doing the other stuff.
9309
637d46ca
GM
9310 * image-mode.el (image-after-revert-hook):
9311 Redraw all frames on which the image is visible. (Bug#8567)
9312
973d955b
GM
9313 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9314
3f1a8558
GM
9315 * wid-edit.el (widget-checklist-match-inline):
9316 Fix 2011-04-19 change. (Bug#8649)
9317
96479927
SM
93182011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9319
1dcf791f
SM
9320 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9321 Also allow singlespace after single-letter capitals followed by a dot.
9322
96479927
SM
9323 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9324 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9325
35fd0881
N
93262011-05-20 Nix <nix@esperi.org.uk>
9327
9328 * files.el (basic-save-buffer-2):
9329 Fix handling of break-hardlink-on-save with non-existent files.
9330
82745640
DD
93312011-05-19 Deniz Dogan <deniz@dogan.se>
9332
9333 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9334 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9335
4a720484
GM
93362011-05-19 Glenn Morris <rgm@gnu.org>
9337
d1f21341
GM
9338 * progmodes/f90.el (f90-type-def-re):
9339 Handle "type, bind(c)". (Bug#8691)
9340
4a720484
GM
9341 * emacs-lisp/autoload.el (batch-update-autoloads):
9342 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9343
2fb0a219
MA
93442011-05-18 Michael Albinus <michael.albinus@gmx.de>
9345
9346 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9347 property for the correct connection in case of multihops.
9348
e565dd37
GM
93492011-05-18 Glenn Morris <rgm@gnu.org>
9350
c2571358 9351 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9352 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9353
e565dd37
GM
9354 Rationalize calendar handling of day and month abbrev-arrays.
9355 * calendar/calendar.el (calendar-customized-p): New function.
9356 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9357 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9358 Add :set function.
9359 (calendar-abbrev-length, calendar-day-abbrev-array)
9360 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9361 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9362 Elements may no longer be nil.
9363 (calendar-day-name, calendar-month-name):
9364 Update for changed nature of abbrev arrays.
9365 * calendar/diary-lib.el (diary-name-pattern):
9366 Update for changed nature of abbrev arrays.
9367 (diary-mark-entries-1): Update calendar-make-alist calls.
9368 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9369 * calendar/cal-html.el (cal-html-day-abbrev-array):
9370 Simply inherit from calendar-day-abbrev-array.
9371
1d99a745
SM
93722011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * progmodes/grep.el (grep-mode): Disable default
9375 compilation-directory-matcher setting (bug#8684).
9376
7c1d9aa0
MA
93772011-05-17 Michael Albinus <michael.albinus@gmx.de>
9378
9379 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9380 instead of "head" and "tail". There were problems with SunOS 5.9,
9381 and it performs better.
9382
3952e9d8
GM
93832011-05-17 Glenn Morris <rgm@gnu.org>
9384
2dd12e7f
GM
9385 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9386
e4157b9c
GM
9387 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9388 Replace obsolete function.
9389
8e249bbd
GM
9390 * shell.el (pcomplete-parse-arguments-function): Declare.
9391
3952e9d8
GM
9392 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9393 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9394 (appt-check): Doc fixes.
9395 (appt-disp-window-function, appt-delete-window-function):
9396 Remove needless special case in custom :type.
9397 (appt-display-count): Default to 0, not nil.
9398 (appt-check): Reset appt-display-count to 0, not nil.
9399
c71a0d48 94002011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9401
c71a0d48
GM
9402 * progmodes/python.el (python-font-lock-keywords):
9403 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9404
31d55be9
SM
94052011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9408
3bfacb2f
KR
94092011-05-16 Kevin Ryde <user42@zip.com.au>
9410
9411 * info-look.el (makefile-automake-mode): New setups, looking in
9412 automake manual, then makefile-mode.
9413 (makefile-mode): Remove automake manual, have it just in
9414 makefile-automake-mode since there's various things different or
9415 not relevant to plain make.
9416 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9417 believe a hypothetical automake-mode would go to makefile-mode,
9418 not the other way around.
9419
c8e83751
CY
94202011-05-15 Chong Yidong <cyd@stupidchicken.com>
9421
5e9e35cd
CY
9422 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9423 hunk-end tags (Bug#8672).
9424
c8e83751
CY
9425 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9426 vc-annotate-show-diff-revision-at-line (Bug#8671).
9427
50b23e5a
GM
94282011-05-14 Glenn Morris <rgm@gnu.org>
9429
7210a739
GM
9430 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9431 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9432 (change-log-font-lock-keywords): Also handle multiple author lines
9433 with leading tabs. (Bug#8644)
7210a739 9434
4691905a
GM
9435 * calendar/appt.el (appt-check): Rename some local variables.
9436 Some simplification/reordering.
9437
50b23e5a
GM
9438 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9439 (feedmail-sendmail-f-doesnt-sell-me-out)
9440 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9441 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9442 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9443 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9444 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9445 (feedmail-binmail-gnulinuxish-template):
9446 Rename from feedmail-binmail-linuxish-template.
9447 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9448 Use insert-buffer-substring.
9449
215cda7c
BC
94502011-05-14 Bill Carpenter <bill@carpenter.org>
9451
9452 * mail/feedmail.el (feedmail-patch-level): Increase.
9453 (feedmail-debug): New custom group.
9454 (feedmail-confirm-outgoing-timeout)
9455 (feedmail-sendmail-f-doesnt-sell-me-out)
9456 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9457 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9458 (feedmail-sender-line, feedmail-from-line)
9459 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9460 (feedmail-spray-this-address)
215cda7c
BC
9461 (feedmail-spray-address-fiddle-plex-list)
9462 (feedmail-queue-use-send-time-for-date)
9463 (feedmail-queue-use-send-time-for-message-id)
9464 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9465 (feedmail-buffer-eating-function):
9466 Doc fixes.
9467 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9468 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9469 (feedmail-message-action-scroll-down): New functions.
9470 (feedmail-queue-directory, feedmail-queue-draft-directory):
9471 Use expand-file-name.
9472 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9473 Remove C-v help entry.
9474 (feedmail-queue-buffer-file-name): New variable.
9475 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9476 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9477 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9478 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9479 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9480 (feedmail-message-action-toggle-spray)
9481 (feedmail-run-the-queue-no-prompts)
9482 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9483 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9484 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9485 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9486 (feedmail-envelope-deducer, feedmail-fiddle-from)
9487 (feedmail-fiddle-sender, feedmail-default-date-generator)
9488 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9489 (feedmail-fiddle-spray-address)
9490 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9491 (feedmail-fiddle-list-of-fiddle-plexes)
9492 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9493 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9494 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9495 Change default. Doc fix.
9496 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9497 (feedmail-binmail-linuxish-template): New constant.
9498 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9499 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9500 (feedmail-send-it): Add debug call.
9501 Use feedmail-queue-buffer-file-name, and
9502 feedmail-send-it-immediately-wrapper.
9503 (feedmail-message-action-send): Add debug call.
9504 Use feedmail-send-it-immediately-wrapper.
9505 (feedmail-queue-express-to-queue): Add debug call.
9506 Run feedmail-queue-express-hook.
9507 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9508 (feedmail-message-action-help-blat):
9509 Rename from feedmail-queue-send-edit-prompt-help-first.
9510 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9511 Check line-endings. Handle errors better.
9512 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9513 Doc fix. Add debug call.
9514 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9515 Use feedmail-queue-send-edit-prompt-inner.
9516 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9517 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9518 from feedmail-queue-send-edit-prompt.
9519 (feedmail-queue-send-edit-prompt-help)
9520 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9521 (feedmail-tidy-up-slug): Add debug call.
9522 Respect feedmail-queue-slug-suspect-regexp.
9523 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9524 (feedmail-dump-message-to-queue): Add debug call.
9525 Expand queue-directory.
9526 (feedmail-dump-message-to-queue): Change message slightly.
9527 Use feedmail-say-chatter.
9528 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9529 (feedmail-send-it-immediately-wrapper): New function.
9530 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9531 Insert empty string rather than newline. Handle full-frame case.
9532 Use catch/throw. Use feedmail-say-chatter.
9533 (feedmail-fiddle-from): Try mail-host-address.
9534 (feedmail-default-message-id-generator): Doc fix.
9535 Bind system-time-locale. Handle missing end.
9536 (feedmail-fiddle-x-mailer): Add debug call.
9537 Handle feedmail-x-mailer-line being nil.
9538 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9539 Add debug call. Use buffer-substring-no-properties.
9540 (feedmail-say-debug, feedmail-say-chatter): New functions.
9541 (feedmail-find-eoh): Give an explicit error.
9542
42c7e61e
UJ
95432011-05-13 Ulf Jasper <ulf.jasper@web.de>
9544
c2571358 9545 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9546 family from helvetica to sans.
c2571358 9547 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9548 etc/images/newsticker.
9549
c2571358 9550 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9551 family from helvetica to sans.
9552
9553 * net/newst-plainview.el (newsticker-new-item-face)
9554 (newsticker-old-item-face, newsticker-immortal-item-face)
9555 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9556 (newsticker-statistics-face): Change default family from
42c7e61e 9557 helvetica to sans.
c2571358 9558 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9559 etc/images/newsticker.
9560
9561 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9562 (newsticker--process-auto-mark-filter-match): : Tell user about
9563 auto-marking.
9564
8497a297
DV
95652011-05-13 Didier Verna <didier@xemacs.org>
9566
9567 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9568 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9569 TODO entries.
8497a297
DV
9570 (lisp-lambda-list-keyword-parameter-indentation)
9571 (lisp-lambda-list-keyword-parameter-alignment)
9572 (lisp-lambda-list-keyword-alignment): New customizable user options.
9573 (lisp-indent-defun-method): Improve docstring.
9574 (extended-loop-p): Fix comment.
9575 (lisp-indent-lambda-list-keywords-regexp): New variable.
9576 (lisp-indent-lambda-list): New function.
9577 (lisp-indent-259): Use it.
9578 (lisp-indent-defmethod): Support for more than one
9579 method qualifier and properly indent methods lambda-lists.
9580 (defgeneric): Provide a missing common-lisp-indent-function property.
9581
f278f87f
SM
95822011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9585 bounds for the empty string (bug#8667).
9586
5233edd7
GM
95872011-05-13 Glenn Morris <rgm@gnu.org>
9588
5237a44f
GM
9589 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9590
8340026c 9591 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9592 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9593
5233edd7 9594 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9595 (appt-time-msg-list): Doc fix.
a5464014 9596 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9597
92d10796
AS
95982011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9599
9600 * progmodes/ld-script.el (ld-script-keywords)
9601 (ld-script-builtins): Update keywords list.
9602
914a0ae1
SM
96032011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9604
c89be45f
SM
9605 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9606
914a0ae1
SM
9607 * shell.el (shell-completion-vars): New function.
9608 (shell-mode):
9609 * simple.el (read-shell-command): Use it.
9610 (blink-matching-open): No need for " [...]" in minibuffer-message.
9611
98dc3df3
GM
96122011-05-12 Glenn Morris <rgm@gnu.org>
9613
9614 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9615 (appt-check): Simplify.
9616
d2fc7e3d 96172011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9618
4d61f28d 9619 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9620 literal "/dev/null".
9621
d2fc7e3d 96222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9623
9624 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9625 Fix typo.
9626
d2fc7e3d 96272011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9628
3f254caa
SM
9629 * progmodes/which-func.el (which-function):
9630 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9631 which might not be defined (Bug#8260).
9632
d45885f7
GM
96332011-05-12 Glenn Morris <rgm@gnu.org>
9634
9635 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9636 Let byte-compile-initial-macro-environment always take precedence.
9637
488086f4
SM
96382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * net/rcirc.el: Add support for SSL/TLS connections.
9641 (rcirc-server-alist): New field `encryption'.
9642 (rcirc): Check `encryption' settings.
9643 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9644 Merge make-local-variable into `set'.
9645 (rcirc--connection-open-p): New function.
9646 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9647 the process is not a network process (e.g. running gnutls-cli).
9648 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9649 Make rcirc-(en|de)code-coding-system local here.
9650 (rcirc-mode): Merge make-local-variable into `set'.
9651 (rcirc-parent-buffer): Make permanent buffer-local.
9652 (rcirc-multiline-minor-mode): Don't do it here.
9653 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9654 there's no server buffer.
9655
7d3b9d44
GM
96562011-05-11 Glenn Morris <rgm@gnu.org>
9657
f64049c6
GM
9658 * newcomment.el (comment-kill): Prefix "unused" local.
9659
93c9df73
GM
9660 * term/w32console.el (get-screen-color): Declare.
9661
7d3b9d44
GM
9662 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9663 Handle symbol elements of byte-compile-initial-macro-environment.
9664
9e2dd53f
LL
96652011-05-10 Leo Liu <sdl.web@gmail.com>
9666
488086f4
SM
9667 * bookmark.el (bookmark-bmenu-mode-map):
9668 Bind bookmark-bmenu-search to `/'.
8b340240 9669
9e2dd53f 9670 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9671 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9672 (Footnote-unicode): New function.
9673 (footnote-style-alist): Add unicode style to the list.
9674 (footnote-style): Doc fix.
9e2dd53f 9675
79b70037
GM
96762011-05-10 Jim Meyering <meyering@redhat.com>
9677
9678 Fix doubled-word typos.
9679 * international/quail.el (quail-insert-kbd-layout): and and -> and
9680 * kermit.el: and and -> and
9681 * net/ldap.el (ldap-search-internal): to to -> to
9682 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9683 * progmodes/js.el (js-mode): and and -> and
9684 * textmodes/artist.el (artist-move-to-xy): at at -> at
9685 (artist-draw-region-trim-line-endings): if if -> if
9686 And Safetyc -> Safety.
9687 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9688
b8f82dc1 96892011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9690 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9691
9692 * files.el (hack-one-local-variable-eval-safep):
9693 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9694
4f99f44b
GM
96952011-05-10 Glenn Morris <rgm@gnu.org>
9696
9697 * calendar/diary-lib.el (diary-list-entries-hook)
9698 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9699 (diary-nongregorian-marking-hook, diary-list-entries)
9700 (diary-include-other-diary-files, diary-mark-entries)
9701 (diary-mark-included-diary-files): Doc fixes.
9702
84f29e6b
JB
97032011-05-09 Juanma Barranquero <lekktu@gmail.com>
9704
9705 * misc.el: Require tabulated-list.el during compilation.
9706
9bedd73a
CY
97072011-05-09 Chong Yidong <cyd@stupidchicken.com>
9708
488086f4
SM
9709 * progmodes/compile.el (compilation-start):
9710 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9711 (compilation-filter-hook): Doc fix.
9712
797c735c
DD
97132011-05-09 Deniz Dogan <deniz@dogan.se>
9714
9715 * wdired.el: Remove outdated installation comment. Fix usage
9716 comment.
9717
5f4b1dfe
JB
97182011-05-09 Juanma Barranquero <lekktu@gmail.com>
9719
9720 * misc.el: Implement new command `list-dynamic-libraries'.
9721 (list-dynamic-libraries--loaded-only-p): New variable.
9722 (list-dynamic-libraries--refresh): New function.
9723 (list-dynamic-libraries): New command.
9724
4c44026c
CY
97252011-05-09 Chong Yidong <cyd@stupidchicken.com>
9726
488086f4
SM
9727 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9728 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9729 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9730 higher priority to avoid clobbering by gnu.
9731
027f966d
CY
97322011-05-08 Chong Yidong <cyd@stupidchicken.com>
9733
9734 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9735 if the face has existing theme settings (Bug#8454).
9736
085f5d7d
CY
97372011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9738
488086f4
SM
9739 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9740 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9741
2a86a00c
RS
9742 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9743 special file names `.' and `..' (Bug#8259).
9744
d9c54a06
CY
97452011-05-08 Chong Yidong <cyd@stupidchicken.com>
9746
488086f4
SM
9747 * progmodes/grep.el (grep-mode-font-lock-keywords):
9748 Remove buffer-changing entries.
d9c54a06
CY
9749 (grep-filter): New function.
9750 (grep-mode): Add it to compilation-filter-hook.
9751
9752 * progmodes/compile.el (compilation-filter-hook)
9753 (compilation-filter-start): New defvars.
9754 (compilation-filter): Call compilation-filter-hook prior to
9755 updating the process mark.
9756
c4662635
SM
97572011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9760
b0512a1d
EZ
97612011-05-07 Eli Zaretskii <eliz@gnu.org>
9762
605c9376
EZ
9763 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9764 mailclient-send-it even if window-system is nil. (Bug#8595)
9765
c4662635
SM
9766 * term/w32console.el (terminal-init-w32console):
9767 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9768 background-mode. (Bug#8597)
9769
d1dc2cc2
SM
97702011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9771
9772 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9773 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9774 New functions.
9775 (defgeneric, eieio--defmethod): Use them.
9776 (eieio-defgeneric): Remove.
9777 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9778
915d1300
GM
97792011-05-07 Glenn Morris <rgm@gnu.org>
9780
a3961c3e
GM
9781 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9782 Use let rather than let*.
9783 (timeclock-find-discrep): Remove unused local.
9784
314347b9
GM
9785 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9786
915d1300
GM
9787 * calendar/appt.el (appt-time-msg-list): Doc fix.
9788
275b59b0
NF
97892011-05-06 Noah Friedman <friedman@splode.com>
9790
9791 * apropos.el (apropos-print-doc): Only use
9792 emacs-lisp-docstring-fill-column when it is bound to an integer,
9793 per that variable's documentation.
9794
6c19f744
SM
97952011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9798 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9799
60f884b2
GM
98002011-05-06 Glenn Morris <rgm@gnu.org>
9801
5006e634
GM
9802 * calendar/appt.el (appt-message-warning-time): Doc fix.
9803 (appt-warning-time-regexp): New option.
9804 (appt-make-list): Respect appt-message-warning-time.
9805
548d0a63
GM
9806 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9807 New options.
9808 (diary-add-to-list): Strip comments from the displayed string.
9809 (diary-mode): Set comment-start and comment-end.
9810
60f884b2
GM
9811 * vc/diff-mode.el (smerge-refine-subst): Declare.
9812 (diff-refine-hunk): Don't require smerge-mode when compiling.
9813
989681bb
JB
98142011-05-06 Juanma Barranquero <lekktu@gmail.com>
9815
9816 * simple.el (list-processes): Return nil as the docstring says.
9817
a6bc05e1
MA
98182011-05-05 Michael Albinus <michael.albinus@gmx.de>
9819
9820 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9821 to "".
9822 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9823 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9824 determining of binary transfer. (Bug#7383)
9825
23c22e9a
MA
98262011-05-05 Michael Albinus <michael.albinus@gmx.de>
9827
c4662635
SM
9828 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9829 Fix port computation bug. (Bug#8618)
23c22e9a 9830
0bff894f
GM
98312011-05-05 Glenn Morris <rgm@gnu.org>
9832
b8296902
GM
9833 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9834
1f522ce8
GM
9835 * simple.el (shell-dynamic-complete-functions)
9836 (comint-dynamic-complete-functions): Declare.
9837
cf5bee67
GM
9838 * net/network-stream.el (gnutls-negotiate):
9839 * simple.el (tabulated-list-print): Fix declarations.
9840
9841 * progmodes/gud.el (syntax-symbol, syntax-point):
9842 Remove unnecessary and incorrect declarations.
9843
0bff894f
GM
9844 * emacs-lisp/check-declare.el (check-declare-scan):
9845 Handle byte-compile-initial-macro-environment in bytecomp.el
9846
9869b3ae
SM
98472011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 Fix earlier half-done eieio-defmethod change (bug#8338).
9850 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9851 Streamline and change calling convention.
9852 (defmethod): Adjust accordingly and simplify.
9853 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9854 new eieio--defmethod.
9855 (slot-boundp): Minor CSE simplification.
9856
9c1d5ac5
MZ
98572011-05-05 Milan Zamazal <pdm@zamazal.org>
9858
9859 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9860 (glasses-make-readable): Use glasses-separate-capital-groups.
9861
455c834e
JB
98622011-05-05 Juanma Barranquero <lekktu@gmail.com>
9863
9864 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9865 (warning-series): Doc fix.
9866 (display-warning): Don't try to create the buffer if we just found it.
9867
9ed7c8cb
CY
98682011-05-04 Chong Yidong <cyd@stupidchicken.com>
9869
9870 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9871 (autoload-find-generated-file): New function.
9872 (generate-file-autoloads): Bind generated-autoload-file to
9873 buffer-file-name.
9869b3ae
SM
9874 (update-file-autoloads, update-directory-autoloads):
9875 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9876 output file (Bug#7989).
9877 (batch-update-autoloads): Doc fix.
9878
0898ca10
JB
98792011-05-04 Juanma Barranquero <lekktu@gmail.com>
9880
9881 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9882
31dfb76c
GM
98832011-05-04 Glenn Morris <rgm@gnu.org>
9884
f330b642
GM
9885 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9886 function, so it follows changes in calendar-date-style.
9887 (diary-fancy-date-matcher): New function.
9888 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9889 (diary-fancy-font-lock-fontify-region-function):
9890 Use diary-fancy-date-pattern as a function.
9891
31dfb76c
GM
9892 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9893 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9894
48e79d6a
TZ
98952011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9896
9897 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9898 instead of positional arguments. Allow :keylist and :crlfiles
9899 arguments.
9900 (open-gnutls-stream): Call it.
9901
9902 * net/network-stream.el (network-stream-open-starttls): Adjust to
9903 call `gnutls-negotiate' with :process and :hostname arguments.
9904
dd5a5ee0
SM
99052011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9906
ef80fc09
SM
9907 * minibuffer.el (completion--message): New function.
9908 (completion--do-completion, minibuffer-complete)
9909 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9910 (completion--do-completion): Don't ignore completion-auto-help when in
9911 icomplete-mode.
9912
dd5a5ee0
SM
9913 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9914 internal encoding (e.g. tibetan zero is not whitespace).
9915 (global-whitespace-mode): Prefer save-current-buffer.
9916 (whitespace-trailing-regexp): Remove useless save-match-data.
9917 (whitespace-empty-at-bob-regexp): Minor simplification.
9918
b7d22a83
CY
99192011-05-03 Chong Yidong <cyd@stupidchicken.com>
9920
9921 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9922
5192af46
AM
99232011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9924
9925 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9926 Use `concat' to create string for insertion.
5192af46 9927
5767d190
SM
99282011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9931 Avoid open-line which runs post-self-insert-hook.
9932 (bibtex-fill-entry): Remove unused `end' var.
9933
bf242939
AM
99342011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9935
5767d190
SM
9936 * textmodes/ispell.el (ispell-add-per-file-word-list):
9937 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9938
25666126
LL
99392011-05-03 Leo Liu <sdl.web@gmail.com>
9940
9941 * isearch.el (isearch-yank-pop): New command.
5767d190 9942 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9943 (isearch-forward): Mention it.
9944
52d3c2d0
SM
99452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9946
1bcace58
SM
9947 * simple.el (minibuffer-complete-shell-command): Remove.
9948 (minibuffer-local-shell-command-map): Use completion-at-point.
9949 (read-shell-command): Setup completion vars here instead.
9950 (read-expression-map): Bind TAB to symbol completion.
9951
52d3c2d0
SM
9952 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9953 error directly rather via storing it into `results'.
9954
35813471
LL
99552011-05-02 Leo Liu <sdl.web@gmail.com>
9956
9957 * vc/diff.el: Fix description.
9958
e793a940
LMI
99592011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9960
9961 * server.el (server-eval-at): New function.
9962
8de66e05
LMI
99632011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9964
9965 * net/network-stream.el (open-network-stream): Take a :nowait
9966 parameter and pass it on to `make-network-process'.
9967 (network-stream-open-plain): Ditto.
9968
dcb79f20
AS
99692011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9970
9971 * faces.el (face-spec-set-match-display): Don't match toolkit
9972 options on terminal frames.
9973
14a7fbd8
SM
99742011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9975
7eabc1be
SM
9976 * progmodes/pascal.el: Use lexical binding.
9977 (pascal-mode-map): Remove author preferences.
9978
14a7fbd8
SM
9979 * pcomplete.el (pcomplete-std-complete): Don't abuse
9980 completion-at-point.
9981
50f84510
JB
99822011-04-28 Juanma Barranquero <lekktu@gmail.com>
9983
6e087a44
JB
9984 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9985 removing code that has been dead since 1991 or so.
9986
50f84510
JB
9987 * startup.el (command-line): When warning about "_emacs", use a
9988 delayed warning to allow the user to filter it out.
9989
0ba690bd
DD
99902011-04-28 Deniz Dogan <deniz@dogan.se>
9991
9992 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9993 user has not joined.
9994
08abfaad
SM
99952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9998 aren't any completions at point.
9999
638f053a
JB
100002011-04-28 Juanma Barranquero <lekktu@gmail.com>
10001
10002 * subr.el (display-delayed-warnings): New function.
10003 (delayed-warnings-hook): New variable.
10004
8fff8daa
SM
100052011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10006
08abfaad
SM
10007 * minibuffer.el (completion-at-point, completion-help-at-point):
10008 Don't presume that a given completion-at-point-function will always
10009 use the same calling convention.
10010
8fff8daa
SM
10011 * pcomplete.el (pcomplete-completions-at-point):
10012 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10013 pcomplete-seen is non-nil.
10014 (pcomplete-comint-setup): Also recognize the new comint/shell
10015 completion functions.
10016 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10017 pcomplete-seen is non-nil.
10018
841a1577 100192011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10020
841a1577 10021 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10022 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10023 the first character in the entry. This allows for code to add its
211ec907
UJ
10024 own uid to the entry.
10025 (icalendar--convert-float-to-ical): Add export of
10026 `diary-float'-entries save for those with the optional DAY
10027 argument.
10028
2a782793
DC
100292011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10030
10031 * subr.el (shell-quote-argument): Use alternate escaping strategy
10032 when we spot a variable reference in a string.
10033
0438ce91
DC
100342011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10035
10036 * cus-start.el (all): Define customization for debug-on-event.
10037
841a1577 100382011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10039
10040 * subr.el (shell-quote-argument): Escape correctly under Windows.
10041
d090ed6c
SM
100422011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10043
10044 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10045
bfd31217
MA
100462011-04-25 Michael Albinus <michael.albinus@gmx.de>
10047
d090ed6c
SM
10048 * net/tramp.el (tramp-process-actions): Add POS argument.
10049 Delete region between POS and (pos).
bfd31217 10050
d090ed6c
SM
10051 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10052 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10053 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10054
10055 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10056 position in `tramp-process-actions' call.
10057
10058 * net/trampver.el: Update release number.
10059
e92f3bd3
SM
100602011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10061
850256b5
SM
10062 * custom.el (defcustom): Obey lexical-binding.
10063
e92f3bd3
SM
10064 Fix octave-inf completion problems reported by Alexander Klimov.
10065 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10066 Inherit from octave-mode-syntax-table.
10067 (inferior-octave-mode): Set info-lookup-mode.
10068 (inferior-octave-completion-at-point): New function.
10069 (inferior-octave-complete): Use it and completion-in-region.
10070 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10071 comint-filename-completion.
10072 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10073 symbol elements which shouldn't be word elements.
10074 (octave-font-lock-keywords, octave-beginning-of-defun)
10075 (octave-function-header-regexp): Adjust regexps accordingly.
10076 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10077
cd22b309
JB
100782011-04-25 Juanma Barranquero <lekktu@gmail.com>
10079
10080 * net/gnutls.el (gnutls-errorp): Declare before first use.
10081
8b492194
TZ
100822011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10083
10084 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10085 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10086 default trustfile exists before going to use it. Add missing
5a5fa834 10087 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10088 Reported by Claudio Bley <claudio.bley@gmail.com>.
10089 (open-gnutls-stream): Add usage example.
10090
10091 * net/network-stream.el (network-stream-open-starttls): Give host
10092 parameter to `gnutls-negotiate'.
10093 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10094 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10095
841a1577 100962011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10097
cd22b309
JB
10098 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10099 Use correct match group (bug#8438).
05842630 10100
3ba7869c
CY
101012011-04-24 Chong Yidong <cyd@stupidchicken.com>
10102
512e3ae1
CY
10103 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10104 (package-menu--generate): New arg specifying packages to show.
10105 (package-menu-refresh, package-menu-execute, list-packages):
10106 Callers changed.
10107 (package-show-package-list): New function, replacing deleted
10108 package--list-packages (renamed because it is non-internal).
10109
10110 * finder.el (finder-list-matches): Use package-show-package-list
10111 instead of deleted package--list-packages.
10112
e92f3bd3
SM
10113 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10114 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10115 (vc-annotate-mode-map): Bind it to RET.
10116
7031be6d
UR
101172011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10118
10119 * progmodes/etags.el (next-file): Don't use set-buffer to change
10120 buffers (Bug#8478).
10121
4ef177aa
CY
101222011-04-24 Chong Yidong <cyd@stupidchicken.com>
10123
c8d173eb
CY
10124 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10125
4ef177aa
CY
10126 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10127 (apropos-accumulator): Doc fix.
10128 (apropos-function, apropos-macro, apropos-command)
10129 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10130 (apropos-plist): Add face property.
10131 (apropos-symbols-internal): Fix indentation.
10132 (apropos-print): Simplify help, and recognize apropos-multi-type.
10133 (apropos-print-doc): Use button-type-get to extract the button's
10134 face property. Fill docstring (Bug#8352).
10135
4ffd0d6b 101362011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10137
10138 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10139
c6c32125 10140 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10141 (mpuz-mode-map): Use mapc.
c6c32125
JB
10142 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10143 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10144 Fix typos in docstrings.
10145
58d468b4
JB
10146 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10147 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10148
6470c3c6
JB
10149 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10150
4ffd0d6b 101512011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10152
10153 * minibuffer.el (completion--do-completion): Avoid the "Next char
10154 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10155
3ad8bad0
CY
10156 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10157 mouse-2 into unread-command-events, it is interpreted correctly.
10158
71d73c9c 10159 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10160 (image-toggle-display): Doc fix.
71d73c9c 10161
841a1577 101622011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10163
4ffd0d6b
GM
10164 * textmodes/page.el (what-page): Use line-number-at-pos to
10165 calculate line number (Bug#6825).
6e1dbaa9 10166
c2fb1b60
JB
101672011-04-22 Juanma Barranquero <lekktu@gmail.com>
10168
10169 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10170 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10171 Pass argument NO-DEFAULT to `find-tag-interactive'.
10172
e02f48d7
JB
101732011-04-22 Juanma Barranquero <lekktu@gmail.com>
10174
10175 Lexical-binding cleanup.
10176
10177 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10178 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10179 * progmodes/ada-prj.el (ada-prj-initialize-values)
10180 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10181 (ada-prj-show-value):
10182 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10183 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10184 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10185 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10186 * progmodes/bug-reference.el (bug-reference-push-button):
10187 * progmodes/fortran.el (fortran-line-length):
10188 * progmodes/glasses.el (glasses-change):
10189 * progmodes/octave-mod.el (octave-fill-paragraph):
10190 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10191 (python-pdbtrack-grub-for-buffer, python-sentinel):
10192 * progmodes/sql.el (sql-save-connection):
10193 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10194 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10195 Mark unused parameters.
10196
10197 * progmodes/compile.el (compilation--flush-directory-cache)
10198 (compilation--flush-parse, compile-internal): Mark unused parameters.
10199 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10200 (compilation-next-error-function): Remove unused variable `timestamp'.
10201
10202 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10203 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10204
10205 * progmodes/dcl-mode.el (dcl-end-of-command):
10206 Remove unused variable `start'.
10207 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10208 (dcl-option-value-basic, dcl-option-value-offset)
10209 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10210 Mark unused parameters.
10211 (dcl-save-local-variable): Remove unused variable `val'.
10212 (mode): Declare.
10213
10214 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10215 Mark unused parameters.
10216 (delphi-ignore-changes): Move before first use.
10217 (delphi-charset-token-at): Remove unused variable `start'.
10218 (delphi-else-start): Remove unused variable `if-count'.
10219 (delphi-comment-block-start, delphi-comment-block-end):
10220 Remove unused variable `kind'.
10221 (delphi-indent-line): Remove unused variable `new-point'.
10222
10223 * progmodes/ebrowse.el (ebrowse-files-list)
10224 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10225 Mark unused parameters. Don't quote `lambda'.
10226 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10227 Don't quote `lambda'.
10228 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10229 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10230 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10231 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10232 Use `ignore-errors'.
10233 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10234 (ebrowse-view/find-file-and-search-pattern)
10235 (ebrowse-view/find-member-declaration/definition):
10236 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10237 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10238 Rename parameter PREFIX-ARG to PREFIX.
10239 (ebrowse-tags-read-name): Remove unused variables `start' and
10240 `member-info'.
10241 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10242 to `tags-file'.
10243
10244 * progmodes/etags.el (local-find-tag-hook): Declare.
10245 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10246 Mark unused parameters.
10247
10248 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10249 (executable-interpret): Mark unused parameter.
10250
10251 * progmodes/flymake.el (flymake-process-sentinel)
10252 (flymake-after-change-function)
10253 (flymake-create-temp-with-folder-structure)
10254 (flymake-get-include-dirs-dot): Mark unused parameters.
10255 (flymake-safe-delete-directory): Remove unused variable `err'.
10256
10257 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10258 (speedbar-timer-fn, speedbar-line-text)
10259 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10260 (speedbar-center-buffer-smartly): Declare functions.
10261 (gdb-find-watch-expression): Remove unused variable `array'.
10262 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10263 (gdb-starting): Mark unused parameters.
10264 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10265 (gdb-table-string): Remove unused variable `res'.
10266 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10267 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10268 (gdb-display-buffer): Remove unused variable `cur-size'.
10269
10270 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10271 allow lexical-binding compilation.
10272 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10273 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10274 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10275 Mark unused parameters.
10276 (gud-gdb-marker-filter): Remove unused variable `match'.
10277 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10278 lambda expressions and funcall them, instead of using `fset'.
10279
10280 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10281 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10282
10283 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10284 variable `header-beg'; use `let'.
10285
10286 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10287 `restart', `last-sexp' and `at-do'.
10288
10289 * progmodes/js.el (js--debug): Mark unused parameter.
10290 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10291 (js--splice-into-items): Remove unused variable `item'.
10292 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10293
10294 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10295 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10296 (makefile-complete): Remove unused variable `try'.
10297 (makefile-fill-paragraph, makefile-match-function-end):
10298 Mark unused parameters.
10299
10300 * progmodes/octave-inf.el (inferior-octave-complete):
10301 Remove unused variable `proc'.
10302 (inferior-octave-output-digest): Mark unused parameter.
10303
10304 * progmodes/perl-mode.el (perl-calculate-indent):
10305 Remove unused variable `err'.
10306
10307 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10308 (prolog-indent-line): Mark unused parameters.
10309 (prolog-indent-line): Remove unused variable `beg'.
10310
10311 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10312 (reporter-dont-compact-list): Declare.
10313
10314 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10315 Remove unused variable `char'.
10316 (sh-debug): Mark unused parameter.
10317 (sh-get-indent-info): Remove unused variable `start'.
10318 (sh-calculate-indent): Remove unused variable `var'.
10319
10320 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10321 (simula-electric-keyword): Remove unused variable `null'.
10322 (simula-search-backward, simula-search-forward): Remove unused
10323 variables `begin' and `end'.
10324
10325 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10326 Remove unused variable `pos'.
10327 (vera-electric-tab, vera-comment-uncomment-region):
10328 Mark unused parameters.
10329 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10330
7ede3b65
CY
103312011-04-22 Chong Yidong <cyd@stupidchicken.com>
10332
10333 * emacs-lisp/package.el (package--builtins, package-alist)
10334 (package-load-descriptor, package-built-in-p, package-activate)
10335 (define-package, package-installed-p)
10336 (package-compute-transaction, package-buffer-info)
10337 (package--push): Doc fix. Distinguish more clearly between
10338 version strings and version lists.
10339
121656e9
JB
103402011-04-21 Juanma Barranquero <lekktu@gmail.com>
10341
10342 Lexical-binding cleanup.
10343
10344 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10345 (5x5-make-mutate-best):
10346 * play/fortune.el (fortune-in-buffer):
10347 * play/gomoku.el (gomoku-init-display):
10348 * play/solitaire.el (solitaire, solitaire-do-check):
10349 * play/tetris.el (tetris-default-update-speed-function):
10350 Mark unused parameters.
10351
10352 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10353 (bubbles--shift): Remove unused variable `char-org'.
10354 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10355 (bubbles--show-images): Remove unused variable `char'.
10356
10357 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10358 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10359 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10360 (decipher-analyze-buffer): Use ?\s.
10361 (decipher-make-checkpoint): Remove unused variable `mapping'.
10362
10363 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10364
10365 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10366 Remove unused variable `result'; use `let'.
10367
10368 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10369 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10370 (gametree-children-shown-p, gametree-compute-reduced-score):
10371 Use `ignore-errors'.
10372
10373 * play/handwrite.el (ps-lpr-switches): Declare.
10374 (handwrite): Remove unused variables `pmin' and `lastp'.
10375
10376 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10377
10378 * play/landmark.el (landmark-init-display)
10379 (landmark-update-naught-weights): Mark unused parameters.
10380 (landmark-y): Remove unused variable `noise'. Simplify.
10381 (landmark-human-plays): Remove unused variable `score'.
10382
10383 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10384 (mpuz-try-proposal): Remove unused variable `game'.
10385
10386 * play/zone.el (life-patterns): Declare.
10387
80f499c7
JB
103882011-04-20 Juanma Barranquero <lekktu@gmail.com>
10389
10390 * vc/vc.el (ediff-vc-internal): Declare function.
10391
024ff170
SM
103922011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10393
c0a193ea
SM
10394 * shell.el: Use lexical-binding and std completion UI.
10395 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10396 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10397 comint-preoutput-filter-functions rather than on
10398 comint-output-filter-functions.
10399 (shell-command-completion, shell--command-completion-data)
10400 (shell-filename-completion, shell-environment-variable-completion)
10401 (shell-c-a-p-replace-by-expanded-directory): New functions.
10402 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10403 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10404 (shell-dynamic-complete-environment-variable): Use them.
10405 (shell-dynamic-complete-as-environment-variable)
10406 (shell-dynamic-complete-as-command): Remove.
10407 (shell-match-partial-variable): Match past point.
10408 * comint.el: Clean up use of completion-at-point-functions.
10409 (comint-completion-at-point): New function.
10410 (comint-mode): Use it completion-at-point-functions.
10411 (comint-dynamic-complete): Make it obsolete.
10412 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10413 (comint-c-a-p-replace-by-expanded-history): New function.
10414 (comint-dynamic-complete-functions)
10415 (comint-replace-by-expanded-history): Use it.
10416 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10417 termination strings. Try harder to avoid second try-completion.
10418 (completion-in-region-mode-map): Disable bindings that don't work yet.
10419
2dbaa080
SM
10420 * comint.el: Use lexical-binding. Require CL.
10421 (comint-dynamic-complete-functions): Use comint-filename-completion.
10422 (comint-completion-addsuffix): Tweak custom type.
10423 (comint-filename-completion, comint--common-suffix)
10424 (comint--common-quoted-suffix, comint--table-subvert)
10425 (comint--complete-file-name-data): New functions.
10426 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10427 (comint-dynamic-list-filename-completions): Use them.
10428 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10429
2dbaa080
SM
10430 * minibuffer.el (completion-in-region-mode):
10431 Keep completion-in-region-mode--predicate global.
10432 (completion-in-region--postch):
10433 Assume completion-in-region-mode--predicate is not null.
10434
c79a6f38
SM
10435 * progmodes/flymake.el (flymake-start-syntax-check-process):
10436 Obey `dir'. Simplify.
10437
024ff170
SM
10438 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10439 we're in VC after all.
10440
1c6c854e
CS
104412011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10442
10443 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10444 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10445 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10446
bed7f140
SM
104472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10448
332e62ab
SM
10449 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10450 add sanity check.
10451
bed7f140
SM
10452 * obsolete/erc-hecomplete.el: Make obsolete.
10453 * obsolete/: Standardize obsolescence info in the header.
10454
f195c582
GM
104552011-04-20 Glenn Morris <rgm@gnu.org>
10456
10457 * calendar/solar.el (solar-horizontal-coordinates):
10458 Use the longitude argument rather than `calendar-longitude'.
10459 (solar-date-next-longitude): Remove unused locals.
10460
cb79b8c0
VJL
104612011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10462
10463 * whitespace.el: New version 13.2.1.
10464
104652011-04-20 felix <EmacsWiki> (tiny change)
10466
d8e4b68b 10467 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10468 switching between major modes on a file.
10469
602ea69d
SM
104702011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10473 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10474 multi-line comments as well.
10475
06b60517
JB
104762011-04-19 Juanma Barranquero <lekktu@gmail.com>
10477
10478 Lexical-binding cleanup.
10479
10480 * arc-mode.el (archive-mode-revert):
10481 * cmuscheme.el (scheme-interactively-start-process):
10482 * custom.el (custom-initialize-delay):
10483 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10484 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10485 * emacs-lock.el (emacs-lock-clear-sentinel):
10486 * ezimage.el (defezimage):
10487 * follow.el (follow-avoid-tail-recenter):
10488 * fringe.el (set-fringe-mode-1):
10489 * generic-x.el (bat-generic-mode-compile):
10490 * help-mode.el (help-info-variable, help-do-xref)
10491 (help-mode-revert-buffer):
10492 * help.el (view-emacs-todo):
10493 * iswitchb.el (iswitchb-completion-help):
10494 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10495 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10496 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10497 * locate.el (locate-update):
10498 * longlines.el (longlines-encode-region)
10499 (longlines-after-change-function):
10500 * outline.el (outline-isearch-open-invisible):
10501 * ps-def.el (declare-function, charset-dimension, char-width)
10502 (encode-char):
10503 * ps-mule.el (ps-mule-plot-string):
10504 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10505 (recentf-edit-list-select, recentf-edit-list-validate)
10506 (recentf-open-files-action):
10507 * rect.el (delete-whitespace-rectangle-line)
10508 (rectangle-number-line-callback):
10509 * register.el (window-configuration-to-register)
10510 (frame-configuration-to-register):
10511 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10512 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10513 (xselect-convert-to-targets, xselect-convert-to-delete)
10514 (xselect-convert-to-filename, xselect-convert-to-charpos)
10515 (xselect-convert-to-lineno, xselect-convert-to-colno)
10516 (xselect-convert-to-os, xselect-convert-to-host)
10517 (xselect-convert-to-user, xselect-convert-to-class)
10518 (xselect-convert-to-name, xselect-convert-to-integer)
10519 (xselect-convert-to-atom, xselect-convert-to-identity):
10520 * subr.el (declare, ignore, process-kill-without-query)
10521 (text-clone-maintain):
10522 * terminal.el (te-get-char, te-tic-sentinel):
10523 * tool-bar.el (tool-bar-make-keymap):
10524 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10525 * type-break.el (type-break-mode, type-break-noninteractive-query):
10526 * view.el (View-back-to-mark):
10527 * wid-browse.el (widget-browse-action, widget-browse-widget)
10528 (widget-browse-widgets, widget-browse-sexp):
10529 * widget.el (define-widget-keywords):
10530 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10531 Mark unused parameters.
10532
10533 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10534 (align-areas): Remove unused variable `look'.
10535 (align-region): Remove unused variables `real-end' and `pos-list'.
10536
10537 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10538
10539 * bindings.el (mode-line-modified, mode-line-remote):
10540 Mark unused parameters.
10541 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10542
10543 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10544 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10545
10546 * comint.el (comint-history-isearch-pop-state)
10547 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10548 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10549 (comint-substitute-in-file-name): Doc fix.
10550
10551 * completion.el (cmpl-statistics-block): Mark unused parameter.
10552 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10553 (save-completions-to-file, load-completions-from-file):
10554 Remove unused local variable `e'.
10555
10556 * composite.el (compose-chars): Remove unused variable `len'.
10557 (lgstring-insert-glyph): Remove unused variable `g'.
10558 (compose-glyph-string): Remove unused variables `ascent',
10559 `descent', `lbearing' and `rbearing'.
10560 (compose-glyph-string-relative): Remove unused variables
10561 `lbearing', `rbearing' and `wadjust'.
10562 (compose-gstring-for-graphic): Remove unused variables `header',
10563 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10564 (compose-gstring-for-terminal): Remove unused variables `header'
10565 and `nchars'. Use `let', not `let*'.
10566
10567 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10568 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10569 (Custom-buffer-done, custom-buffer-create-internal)
10570 (custom-browse-visibility-action, custom-browse-group-tag-action)
10571 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10572 (widget-magic-mouse-down-action, custom-toggle-parent)
10573 (custom-add-parent-links, custom-toggle-hide-variable)
10574 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10575 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10576 (custom-face-menu-create, custom-variable-menu-create, get)
10577 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10578 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10579 (customize-apropos): Remove unused variable `tests'.
10580 (custom-group-value-create): Remove unused variable `hidden-p'.
10581 (sort-fold-case): Declare.
10582
10583 * cus-theme.el (custom-reset-standard-faces-list)
10584 (custom-reset-standard-variables-list): Declare.
10585 (customize-create-theme, custom-theme-revert, custom-theme-write)
10586 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10587 Mark unused parameters.
10588
10589 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10590
10591 * delim-col.el (delimit-columns-max): Move defvar before first use.
10592
10593 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10594 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10595
10596 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10597 (auto-insert): Declare.
10598 (desktop-restore-file-buffer): Rename desktop-* parameters;
10599 mark unused ones.
10600 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10601 (desktop-buffer): Rename desktop-* parameters.
10602
10603 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10604 (dframe-reposition-frame-xemacs, dframe-help-echo)
10605 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10606 Mark unused parameters.
10607
10608 * dired-aux.el (backup-extract-version-start, overwrite-query)
10609 (overwrite-backup-query, rename-regexp-query)
10610 (rename-non-directory-query): Declare.
10611 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10612 (dired-add-entry): Remove unused variable `orig-file-name'.
10613 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10614 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10615 `dired-copy-preserve-time' directly.
10616 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10617 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10618
10619 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10620 (dired-virtual-revert, dired-make-relative-symlink):
10621 Mark unused parameters.
10622 (manual-program): Declare.
10623 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10624 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10625 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10626
10627 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10628
10629 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10630
10631 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10632 Declare.
10633
10634 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10635
10636 * electric.el (Electric-command-loop): Rename parameter
10637 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10638
10639 * expand.el (expand-in-literal): Remove unused variable `here'.
10640
10641 * facemenu.el (facemenu-add-new-color):
10642 Remove unused variable `docstring'.
10643
10644 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10645 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10646 (face-attr-construct): Mark unused parameter. Doc fix.
10647 (read-color): Remove unused variable `hex-string'.
10648
10649 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10650 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10651 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10652 (display-buffer-other-frame): Remove unused variable `old-window'.
10653 (kill-buffer-hook): Declare.
10654 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10655 Mark unused parameters.
10656 (after-find-file): Pass 1 to `auto-save-mode', not t.
10657
10658 * files-x.el (auto-insert): Declare.
10659 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10660
10661 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10662 variable `buf'. Mark unused parameter.
06b60517
JB
10663 (find-lisp-insert-directory): Mark unused parameter.
10664
10665 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10666 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10667 (format-common-tail): Remove, unused.
10668 (format-deannotate-region): Remove unused variable `loc'.
10669 (format-annotate-region): Remove unused variable `p'.
10670 (format-annotate-single-property-change): Remove unused variables
10671 `default' and `tail'.
10672
10673 * forms.el (read-file-filter): Declare.
10674 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10675
10676 * frame.el (frame-creation-function-alist): Mark unused parameter.
10677 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10678
10679 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10680 Remove unused parameters.
10681 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10682 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10683
10684 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10685 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10686 (hfy-prepare-tag-map): Mark unused parameters.
10687 (htmlfontify-buffer): Use `called-interactively-p'.
10688
10689 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10690 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10691 (ibuffer-do-occur): Mark unused parameters.
10692 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10693 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10694
10695 * ibuffer.el: Don't quote `lambda'.
10696 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10697 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10698 Mark unused parameters.
10699
10700 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10701 (ido-completing-read): Mark unused parameters.
10702 (ido-copy-current-word): Mark unused parameters;
10703 remove unused variable `name'.
10704 (ido-sort-merged-list): Remove unused parameter `dirs'.
10705
10706 * ielm.el (ielm-input-sender): Mark unused parameter.
10707 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10708 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10709 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10710 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10711 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10712
10713 * image-dired.el (image-dired-display-thumbs): Remove unused
10714 variables `curr-file' and `count'.
10715 (image-dired-remove-tag): Remove unused variable `start'.
10716 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10717 variable `curr-file'
10718 (image-dired-rotate-original): Remove unused variable `temp-file'.
10719 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10720 Remove unused variable `file'.
10721 (image-dired-gallery-generate): Remove unused variable `curr'.
10722 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10723
10724 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10725
10726 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10727
10728 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10729
10730 * isearch.el (minibuffer-history-symbol): Declare.
10731 (isearch-edit-string): Remove unused variable `err'.
10732 (isearch-message-prefix, isearch-message-suffix):
10733 Mark unused parameters.
10734
10735 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10736
10737 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10738
10739 * makesum.el (double-column): Remove unused variable `cnt'.
10740
10741 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10742 (ido-ignore-item-temp-list): Declare.
10743
10744 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10745 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10746 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10747 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10748 `mouse-col-delta'.
10749
10750 * mouse-sel.el (mouse-extend-internal):
10751 Remove unused variable `orig-window-frame'.
10752
10753 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10754 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10755 Move declarations before first use.
10756 (pcomplete-opt): Mark unused parameters; doc fix.
10757
10758 * proced.el (proced-revert): Mark unused parameter.
10759 (proced-send-signal): Remove unused variable `err'.
10760
10761 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10762 Rename parameter PREFIX-ARG to ARG.
10763 (ps-basic-plot-string, ps-basic-plot-whitespace):
10764 Mark unused parameters.
10765
10766 * replace.el (replace-count): Define.
10767 (occur-revert-function): Mark unused parameters.
10768 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10769 (isearch-case-fold-search, isearch-string): Declare.
10770 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10771 bind `case-fold-search'. Remove unused variables `beg' and `end',
10772 and simplify.
10773 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10774 COUNT and bind `replace-count'.
10775 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10776 to COUNT.
10777
10778 * savehist.el (print-readably, print-string-length): Declare.
10779
10780 * shadowfile.el (shadow-expand-cluster-in-file-name):
10781 Remove unused variable `cluster'.
10782 (shadow-copy-file): Remove unused variable `i'.
10783 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10784 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10785 (shadow-define-literal-group, shadow-define-regexp-group)
10786 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10787
10788 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10789 (shell): Use `called-interactively-p'.
10790 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10791
10792 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10793 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10794 (delete-backward-char): Remove unused variable `ocol'.
10795 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10796 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10797 (event-apply-hyper-modifier, event-apply-shift-modifier)
10798 (event-apply-control-modifier, event-apply-meta-modifier):
10799 Mark unused parameters.
10800 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10801 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10802
10803 * speedbar.el (speedbar-ignored-directory-expressions)
10804 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10805 (speedbar-find-file, speedbar-dir-follow)
10806 (speedbar-directory-buttons-follow, speedbar-tag-find)
10807 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10808 (speedbar-buffers-line-directory, speedbar-buffer-click):
10809 Mark unused parameters.
10810 (speedbar-tag-file): Remove unused variable `mode'.
10811 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10812
10813 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10814
10815 * talk.el (talk): Remove unused variable `display'.
10816
10817 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10818 (tar-write-region-annotate): Mark unused parameter.
10819
10820 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10821 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10822 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10823 warning by another.
10824
10825 * time-stamp.el (time-stamp-string-preprocess):
10826 Remove unused variable `require-padding'.
10827
10828 * tree-widget.el (widget-glyph-enable): Declare.
10829 (tree-widget-action): Mark unused parameter.
10830
10831 * w32-fns.el (x-get-selection): Mark unused parameter.
10832 (autoload-make-program, generated-autoload-file): Declare.
10833
10834 * wdired.el (wdired-revert): Mark unused parameters.
10835 (wdired-xcase-word): Remove unused variable `err'.
10836
10837 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10838 (whitespace-help-scroll): Remove unused variable `data-help'.
10839
10840 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10841 (widget-image-insert, widget-after-change, default)
10842 (widget-default-format-handler, widget-default-notify)
10843 (widget-default-prompt-value, widget-info-link-action)
10844 (widget-url-link-action, widget-function-link-action)
10845 (widget-variable-link-action, widget-file-link-action)
10846 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10847 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10848 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10849 (widget-insert-button-action, widget-delete-button-action, visibility)
10850 (widget-documentation-link-action, widget-documentation-string-action)
10851 (widget-const-prompt-value, widget-regexp-match, symbol)
10852 (widget-coding-system-prompt-value)
10853 (widget-key-sequence-value-to-external, sexp)
10854 (widget-sexp-value-to-internal, character, vector, cons)
10855 (widget-choice-prompt-value, widget-boolean-prompt-value)
10856 (widget-color--choose-action): Mark unused parameters.
10857 (widget-item-match-inline, widget-choice-match-inline)
10858 (widget-checklist-match, widget-checklist-match-inline)
10859 (widget-group-match): Rename parameter VALUES to VALS.
10860 (widget-field-value-set): Remove unused variable `size'.
10861 (widget-color-action): Remove unused variables `value' and `start'.
10862
10863 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10864 variable `dir'. Doc fix.
06b60517
JB
10865 (windmove-find-other-window): Don't pass it.
10866
10867 * window.el (count-windows): Mark unused parameter.
10868 (bw-adjust-window): Remove unused variable `err'.
10869
10870 * woman.el (woman-file-name): Remove unused variable `default'.
10871 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10872 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10873 (global-font-lock-mode): Declare.
10874 (woman-decode-region): Mark unused parameter.
10875 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10876
10877 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10878 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10879 (x-dnd-handle-moz-url): Remove unused variable `title'.
10880 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10881
10882 * xml.el (xml-parse-tag, xml-parse-attlist):
10883 Remove unused variable `pos'.
10884
bc4f7f3d
GM
108852011-04-19 Glenn Morris <rgm@gnu.org>
10886
10887 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10888 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10889 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10890 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10891 * calendar/cal-html.el (cal-html-insert-minical):
10892 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10893 (calendar-mark-date-pattern):
10894 Prefix "unused" locals.
10895
10896 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10897 optional argument `style'.
10898
10899 * calendar/appt.el (appt-make-list):
10900 * calendar/cal-china.el (calendar-chinese-date-string):
10901 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10902 (diary-hebrew-yahrzeit):
10903 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10904 * calendar/calendar.el (calendar-generate-window):
10905 * calendar/time-date.el (time-to-days):
10906 Remove unused local variables.
10907
16a43933
CY
109082011-04-18 Chong Yidong <cyd@stupidchicken.com>
10909
10910 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10911 glyphless-char-display table.
10912 (tabulated-list-glyphless-char-display): New var.
10913
7eed1860
SS
109142011-04-18 Sam Steingold <sds@gnu.org>
10915
10916 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10917 to acknowledgments.
10918
4d2d1ccd
GM
109192011-04-17 Glenn Morris <rgm@gnu.org>
10920
10921 * calendar/diary-lib.el (diary-sexp-entry):
10922 * calendar/holidays.el (holiday-sexp):
10923 Set debug-on-error rather than the removed stack-trace-on-error.
10924
239da61d
GM
109252011-04-16 Glenn Morris <rgm@gnu.org>
10926
10927 * progmodes/f90.el: Use lexical-binding.
10928 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10929
8b05752a
SM
109302011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10931
daca8ba5
SM
10932 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10933 (mail-mode): Setup mailalias completion here instead.
10934 * mail/mailalias.el: Use lexical-binding.
10935 (pattern, mailalias-done): Declare dynamic.
10936 (mail-completion-at-point-function): New function, from mail-complete.
10937 (mail-complete): Use it.
10938 (mail-completion-expand): New function.
10939 (mail-get-names): Use it.
10940 (mail-directory, mail-directory-process, mail-directory-stream):
10941 Don't use `pattern' for lexically bound arg.
10942
6f542485
SM
10943 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10944
037e7c3f
SM
10945 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10946 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10947 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10948
8b05752a
SM
10949 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10950 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10951 (byte-interactive-p): Define them again, for use when inlining
10952 old code.
10953
49093f60
JB
109542011-04-15 Juanma Barranquero <lekktu@gmail.com>
10955
10956 * loadup.el: Use `string-to-number', not `string-to-int'.
10957
b5b8e7de
SM
109582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10961 gud-gdb-complete-command.
10962 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10963 (gud-gdb-completion-at-point): New function.
10964 (gud-gdb-completions): Remove.
10965
f42efeb5
MA
109662011-04-14 Michael Albinus <michael.albinus@gmx.de>
10967
49093f60
JB
10968 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10969 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10970 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10971 whether `executable-find' is bound.
f42efeb5
MA
10972
10973 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10974
e240cc21
SM
109752011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * minibuffer.el (completion-in-region-mode-predicate)
10978 (completion-in-region-mode--predicate): New vars.
10979 (completion-in-region, completion-in-region--postch)
10980 (completion-in-region-mode): Use them.
10981 (completion--capf-wrapper): Also return the hook function.
10982 (completion-at-point, completion-help-at-point):
10983 Adjust and provide a predicate.
c2bd2ab0
SM
10984
10985 Preserve arg names for advice of subr and lexical functions (bug#8457).
10986 * help-fns.el (help-function-arglist): Consolidate the subr and
10987 new-byte-code cases. Add argument `preserve-names' to extract names
10988 from the docstring when needed.
10989 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10990 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10991 (ad-arglist): Use help-function-arglist's new arg.
10992 (ad-definition-type): Use cond.
10993
c183f693
JB
109942011-04-13 Juanma Barranquero <lekktu@gmail.com>
10995
06641a47
JB
10996 * autorevert.el (auto-revert-handler):
10997 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10998 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10999 Don't quote lambda.
11000
c183f693
JB
11001 * image-mode.el (image-transform-set-scale):
11002 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11003
1e3b6001
G
110042011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11005
11006 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11007 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11008 Upgrades via gnutls-cli are too slow to be done opportunistically.
11009
2d6af8dd
JB
110102011-04-12 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * dframe.el (dframe-current-frame): Remove spurious quote.
11013
c0749a51
GM
110142011-04-12 Glenn Morris <rgm@gnu.org>
11015
088d0d61
GM
11016 * calendar/cal-tex.el (cal-tex-end-document):
11017 Try to automatically use latin1 input if needed.
11018
c0749a51
GM
11019 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11020 Don't try to cons a mark onto an empty element.
11021
5c90fde0
LL
110222011-04-11 Leo Liu <sdl.web@gmail.com>
11023
11024 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11025 buffers.
11026 (ido-kill-buffer-at-head): Support killing virtual buffers.
11027
369e974d
CY
110282011-04-10 Chong Yidong <cyd@stupidchicken.com>
11029
11030 * minibuffer.el (completion-show-inline-help): New var.
11031 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11032 (minibuffer-force-complete, minibuffer-complete-word):
11033 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11034
11035 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11036 to avoid interference from inline help (Bug#5849).
11037
37f1c930
LL
110382011-04-10 Leo Liu <sdl.web@gmail.com>
11039
099c39a4
JB
11040 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11041 Fix typo.
37f1c930 11042
a32d4040
CY
110432011-04-09 Chong Yidong <cyd@stupidchicken.com>
11044
11045 * image-mode.el (image-toggle-display-image): Signal an error if
11046 not in Image mode.
11047 (image-transform-mode, image-transform-resize)
11048 (image-transform-set-rotation): Doc fix.
daca8ba5 11049 (image-transform-set-resize): Delete.
a32d4040
CY
11050 (image-transform-set-scale, image-transform-fit-to-height)
11051 (image-transform-fit-to-width): Handle image-toggle-display-image
11052 and image-transform-resize directly.
11053
099c39a4 110542011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11055
11056 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11057 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11058 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11059 (doc-view-mode-map): Add bindings for the new functions.
11060
099c39a4 110612011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11062
4d61f28d 11063 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11064 Fix typo in docstring.
11065
3726838a
EZ
110662011-04-08 Eli Zaretskii <eliz@gnu.org>
11067
04f33f1e
EZ
11068 * files.el (file-size-human-readable): Produce one digit after
11069 decimal, like "ls -lh" does.
11070
11071 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11072 the file size representation.
11073
3726838a
EZ
11074 * simple.el (list-processes): If async subprocesses are not
11075 available, error out with a clear error message.
11076
cbb59342
CY
110772011-04-08 Chong Yidong <cyd@stupidchicken.com>
11078
11079 * help.el (help-form-show): New function, to be called from C.
11080 Put help-form output in a buffer named differently than *Help*.
11081
e3971c44
EZ
110822011-04-08 Eli Zaretskii <eliz@gnu.org>
11083
11084 * files.el (file-size-human-readable): New function.
11085
11086 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11087 computing the representation inline. Don't require `cl'.
11088
12544bbe
GM
110892011-04-08 Glenn Morris <rgm@gnu.org>
11090
a1de6c6a
GM
11091 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11092
3c4671f4
GM
11093 * net/browse-url.el (browse-url-firefox):
11094 Test system-type, not system-configuration.
11095
b605679c
GM
11096 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11097 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11098 Use log-edit-empty-buffer-p. (Bug#7598)
11099
56442f0c
GM
11100 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11101 (rlogin-mode-map): Initialize in the defvar.
11102 (rlogin): Use ignore-errors.
11103
12544bbe
GM
11104 * replace.el (occur-mode-map): Some fixes for menu items.
11105
eb237b0f
AH
111062011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11107
11108 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11109
7d668f2c
CY
111102011-04-06 Chong Yidong <cyd@stupidchicken.com>
11111
e67a13ab
CY
11112 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11113 issuing unused warnings.
11114
11115 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11116 macro directly.
11117
7d668f2c
CY
11118 * simple.el: Lisp reimplement of list-processes. Based on an
11119 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11120 (process-menu-mode): New major mode.
11121 (list-processes--refresh, list-processes):
11122 (process-menu-visit-buffer): New functions.
11123
11124 * files.el (save-buffers-kill-emacs): Don't assume any return
11125 value of list-processes, which is undocumented anyway.
11126
a83ec3c9
CY
111272011-04-06 Chong Yidong <cyd@stupidchicken.com>
11128
11129 * emacs-lisp/tabulated-list.el: New file.
11130
e91a96fe
CY
11131 * emacs-lisp/package.el: Use Tabulated List mode.
11132 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11133 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11134 table format using Tabulated List mode variables.
11135 (package--push): New macro, replacing package-list-maybe-add.
11136 (package-menu--generate): Use package--push. Renamed from
11137 package--generate-package-list.
11138 (package-menu-refresh, list-packages): Use it.
daca8ba5 11139 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11140 Return insertion data instead of inserting it directly.
099c39a4
JB
11141 (package-menu-describe-package, package-menu-execute):
11142 Use tabulated-list-get-id.
e91a96fe
CY
11143 (package-menu-mark-delete, package-menu-mark-install)
11144 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11145 (package-menu-mark-obsolete-for-deletion):
11146 Use tabulated-list-put-tag.
e91a96fe
CY
11147 (package--list-packages, package-menu-revert)
11148 (package-menu-get-package, package-menu-get-version)
11149 (package-menu-sort-by-column): Functions deleted.
11150 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11151 (package-menu--status-predicate, package-menu--version-predicate)
11152 (package-menu--name-predicate)
11153 (package-menu--description-predicate): Handle arguments in the
11154 Tabulated List format.
11155 (package-list-packages-no-fetch): Call list-packages.
11156
3e214b50
JB
111572011-04-06 Juanma Barranquero <lekktu@gmail.com>
11158
11159 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11160 (after-find-file): Don't bind it.
3e214b50
JB
11161 (revert-buffer-in-progress-p): New variable.
11162 (revert-buffer): Bind it.
11163 Pass nil for `after-find-file-from-revert-buffer'.
11164
11165 * saveplace.el (save-place-find-file-hook): Use new variable
11166 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11167
3f0f1700
GM
111682011-04-06 Glenn Morris <rgm@gnu.org>
11169
c0274801
GM
11170 * Makefile.in (AUTOGEN_VCS): New variable.
11171 (autoloads): Use $AUTOGEN_VCS.
11172
3f0f1700
GM
11173 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11174 * calendar/calendar.el (calendar-mode-map):
11175 Check for toolkit scroll bars. (Bug#8305)
11176
41ea9e48
CY
111772011-04-05 Chong Yidong <cyd@stupidchicken.com>
11178
11179 * minibuffer.el (completion-in-region--postch)
11180 (completion-in-region-mode): Remove unnecessary messages.
11181
6194c800
JB
111822011-04-05 Juanma Barranquero <lekktu@gmail.com>
11183
33256f14
JB
11184 * font-lock.el (font-lock-refresh-defaults):
11185 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11186 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11187
6194c800
JB
11188 * info.el (Info-directory-list, Info-read-node-name-2)
11189 (Info-split-parameter-string): Doc fixes.
11190 (Info-virtual-nodes): Reflow docstring.
11191 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11192 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11193 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11194 Fix typos in docstrings.
11195 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11196 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11197 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11198 (Info-restore-desktop-buffer): Mark unused parameters.
11199 (Info-directory-find-file, Info-directory-find-node)
11200 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11201 (Info-virtual-index-find-node, Info-apropos-find-file)
11202 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11203 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11204 (Info-virtual-index): Remove unused local variable `nodename'.
11205
b87a8200 112062011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11207
b87a8200
DD
11208 * net/rcirc.el: Update my e-mail address.
11209 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11210
3b2ff876
CY
112112011-04-05 Chong Yidong <cyd@stupidchicken.com>
11212
11213 * startup.el (command-line): Save the cursor's theme-face
11214 directly, instead of using face-override-spec.
11215
11216 * custom.el (load-theme): Minor optimization in assigning faces.
11217
8d17e7ca
JB
112182011-04-04 Juanma Barranquero <lekktu@gmail.com>
11219
11220 * help-fns.el (describe-variable): Complete all variables having
11221 documentation, including keywords.
11222 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11223
2fbc1934
JB
112242011-04-04 Juanma Barranquero <lekktu@gmail.com>
11225
11226 Convert to lexical-binding.
11227
11228 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11229 (bs--get-marked-string, bs--get-modified-string)
11230 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11231 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11232 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11233
11234 * ehelp.el (electric-help-execute-extended)
11235 (electric-help-ctrl-x-prefix):
11236 * hexl.el (hexl-revert-buffer-function):
11237 * linum.el (linum-after-change, linum-after-scroll):
11238 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11239
11240 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11241
74f50695
DU
112422011-04-04 Daiki Ueno <ueno@unixuser.org>
11243
11244 * epa-dired.el:
11245 * epa-mail.el:
11246 * epa-hook.el:
11247 * epa-file.el:
11248 * epa.el:
11249 * epg.el: Use lexical binding.
11250
c11325f7
CY
112512011-04-03 Chong Yidong <cyd@stupidchicken.com>
11252
0d9e9a12
CY
11253 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11254
c11325f7 11255 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11256 dictionary case for flyspell-mark-duplications-exceptions.
11257 Use regexp matching for languages.
c11325f7
CY
11258 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11259 default dictionary (Bug#7926).
11260
da91b5f2
CY
112612011-04-02 Chong Yidong <cyd@stupidchicken.com>
11262
099c39a4
JB
11263 * emacs-lisp/package.el (package--with-work-buffer):
11264 Recognize https URLs.
da91b5f2 11265
099c39a4
JB
11266 * net/network-stream.el: Move from gnus/proto-stream.el.
11267 Change prefix to network-stream throughout.
da91b5f2
CY
11268 (open-protocol-stream): Merge into open-network-stream, leaving
11269 open-protocol-stream as an alias. Handle nil BUFFER args.
11270
11271 * subr.el (open-network-stream): Move to net/network-stream.el.
11272
afa8e9f6
GM
112732011-04-02 Glenn Morris <rgm@gnu.org>
11274
1d2e369d
GM
11275 * find-dired.el (find-exec-terminator): New option.
11276 (find-ls-option): Test for -ls support.
11277 (find-ls-subdir-switches): Test for -b in find-ls-option.
11278 (find-dired, find-grep-dired): Doc fixes.
11279 (find-dired): Use find-exec-terminator.
11280
8abb7da8 11281 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11282 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11283 (find-name-arg): Remove purecopy.
8abb7da8 11284
f3ca7378
GM
11285 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11286 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11287 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11288 accordingly. Don't add the null-device if not needed.
11289
afa8e9f6
GM
11290 * files.el (save-some-buffers): Doc fix.
11291
35eae264
EZ
112922011-04-02 Eli Zaretskii <eliz@gnu.org>
11293
11294 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11295
26b51db5
JB
112962011-04-01 Juanma Barranquero <lekktu@gmail.com>
11297
11298 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11299 Use `dolist' rather than `mapcar'.
11300
7200d79c
SM
113012011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11302
03408648 11303 Add lexical binding.
7200d79c 11304
03408648
SM
11305 * subr.el (apply-partially): Use new closures rather than CL.
11306 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11307 (dolist, dotimes): Use slightly different expansion for lexical code.
11308 (functionp): Move to C.
11309 (letrec): New macro.
11310 (with-wrapper-hook): Use it and apply-partially instead of CL.
11311 (eval-after-load): Preserve lexical-binding.
11312 (save-window-excursion, with-output-to-temp-buffer): Turn them
11313 into macros.
7200d79c 11314
03408648
SM
11315 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11316
11317 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11318 than the arglist.
11319 (help-add-fundoc-usage): Don't add `Not documented'.
11320 (help-function-arglist): Handle closures, subroutines, and new
11321 byte-code-functions.
11322 (help-make-usage): Remove leading underscores.
11323 (describe-function-1): Handle closures.
11324 (describe-variable): Use special-variable-p for completion.
11325
11326 * files.el (lexical-binding): Declare safe.
f488fb65 11327
03408648
SM
11328 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11329 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11330 (pcase): Add `let' pattern.
11331 Change memoization so it actually works.
11332 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11333 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11334 <let>: New case.
f488fb65 11335
03408648
SM
11336 * emacs-lisp/macroexp.el: Use lexical binding.
11337 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11338 Don't convert ' to #' without checking that it's indeed quoting
11339 a lambda.
11340
11341 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11342 Use eval-sexp-add-defvars.
03408648
SM
11343 (eval-sexp-add-defvars): New fun.
11344
11345 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11346
11347 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11348 Don't autoload.
11349 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11350 than the internal `byte-compile-lambda'.
11351 (defmethod): Don't hide code under quotes.
11352 (eieio-defmethod): New `code' argument.
11353
11354 * emacs-lisp/eieio-comp.el: Remove.
11355
11356 * emacs-lisp/edebug.el (edebug-eval-defun)
11357 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11358 (edebug-toggle): Avoid `eval'.
11359
11360 * emacs-lisp/disass.el (disassemble-internal): Handle new
11361 `closure' objects.
11362 (disassemble-1): Handle new byte codes.
11363
11364 * emacs-lisp/cl.el (pushnew): Silence warning.
11365
11366 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11367 (cl-byte-compile-throw): Remove.
11368 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11369
11370 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11371 closures.
11372
11373 * emacs-lisp/cconv.el: New file.
11374
11375 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11376 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11377 (byte-compile-initial-macro-environment):
11378 Handle declare-function here.
11379 (byte-compile--lexical-environment): New var.
11380 (byte-stack-ref, byte-stack-set, byte-discardN)
11381 (byte-discardN-preserve-tos): New lap codes.
11382 (byte-interactive-p): Don't use any more.
11383 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11384 New macros.
11385 (byte-compile-lapcode): Use them and handle new lap codes.
11386 (byte-compile-obsolete): Remove.
11387 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11388 (byte-compile-arglist-warn): Check late def of inlinable funs.
11389 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11390 since they should have been expanded by now.
11391 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11392 (byte-compile-from-buffer): Remove unused second arg.
11393 (byte-compile-preprocess): New function.
11394 (byte-compile-toplevel-file-form): New function to distinguish
11395 file-form calls from outside from file-form calls from hunk-handlers.
11396 (byte-compile-file-form): Simplify.
11397 (byte-compile-file-form-defsubst): Remove.
11398 (byte-compile-file-form-defmumble): Simplify now that
11399 byte-compile-lambda always returns a byte-code-function.
11400 (byte-compile): Preprocess.
11401 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11402 Remove, not used any more.
11403 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11404 (byte-compile-make-args-desc): New funs.
11405 (byte-compile-lambda): Handle lexical functions. Always return
11406 a byte-code-function.
11407 (byte-compile-reserved-constants): New var, to make up room for
11408 closed-over variables.
11409 (byte-compile-constants-vector): Obey it.
11410 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11411 (byte-compile-macroexpand-declare-function): New function.
11412 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11413 byte-code-functions.
11414 (byte-compile-form): Check obsolescence here.
11415 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11416 (byte-compile-variable-ref): Remove.
11417 (byte-compile-dynamic-variable-op): New fun.
11418 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11419 (byte-compile-variable-set): New funs.
11420 (byte-compile-discard): Add 2 args.
11421 (byte-compile-stack-ref, byte-compile-stack-set)
11422 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11423 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11424 macroexpand-all instead.
11425 (byte-compile-quote-form): Remove.
11426 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11427 (byte-compile-bind, byte-compile-unbind): New funs.
11428 (byte-compile-let): Handle let* and lexical binding.
11429 (byte-compile-let*): Remove.
11430 (byte-compile-catch, byte-compile-unwind-protect)
11431 (byte-compile-track-mouse, byte-compile-condition-case):
11432 Handle a new :fun-body form, used for lexical scoping.
11433 (byte-compile-save-window-excursion)
11434 (byte-compile-with-output-to-temp-buffer): Remove.
11435 (byte-compile-defun): Simplify.
11436 (byte-compile-stack-adjustment): New fun.
11437 (byte-compile-out): Use it.
11438 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11439
11440 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11441 handler any more.
11442
11443 * emacs-lisp/byte-opt.el: Use lexical binding.
11444 (byte-inline-lapcode): Remove (to bytecomp).
11445 (byte-compile-inline-expand): Pay attention to inlining to/from
11446 lexically bound code.
11447 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11448 any more.
11449 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11450 any more and don't call compiler-macros.
11451 (byte-compile-splice-in-already-compiled-code): Remove.
11452 (byte-code): Don't inline any more.
11453 (disassemble-offset): Receive `bytes' as argument rather than via
11454 dynamic scoping.
11455 (byte-compile-tag-number): Declare before first use.
11456 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11457 `return' even if make-spliceable.
11458 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11459 obsolete interactive-p.
11460 (byte-optimize-lapcode): Optimize new lap-codes.
11461 Don't trip up on new form of `byte-constant' lap code.
11462
11463 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11464
11465 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11466
11467 * custom.el (custom-initialize-default, custom-declare-variable):
11468 Use `defvar'.
11469
11470 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11471 New variables.
11472 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11473 (COMPILE_FIRST): Add macroexp and cconv.
11474 * makefile.w32-in: Mirror changes in Makefile.in.
11475
11476 * vc/cvs-status.el:
11477 * vc/diff-mode.el:
11478 * vc/log-edit.el:
11479 * vc/log-view.el:
11480 * vc/smerge-mode.el:
11481 * textmodes/bibtex-style.el:
11482 * textmodes/css.el:
11483 * startup.el:
11484 * uniquify.el:
da91b5f2
CY
11485 * minibuffer.el:
11486 * newcomment.el:
11487 * reveal.el:
11488 * server.el:
11489 * mpc.el:
11490 * emacs-lisp/smie.el:
11491 * doc-view.el:
11492 * dired.el:
03408648
SM
11493 * abbrev.el: Use lexical binding.
11494
0f0c1f27
EZ
114952011-04-01 Eli Zaretskii <eliz@gnu.org>
11496
11497 * info.el (info-display-manual): New function.
11498
c82b2579
SM
114992011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11502
221ddf68
TH
115032011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11504
11505 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11506 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11507
cba6e77e
GM
115082011-03-31 Glenn Morris <rgm@gnu.org>
11509
e040639f
GM
11510 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11511
cba6e77e
GM
11512 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11513
6d0f1c9e
CS
115142011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11515
11516 * progmodes/python.el (python-default-interpreter)
11517 (python-python-command-args, python-jython-command-args)
11518 (python-which-shell, python-which-args, python-which-bufname)
11519 (python-file-queue, python-comint-output-filter-function)
11520 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11521 variables and functions.
11522
3e2d70fd
SM
115232011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11524
11525 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11526 (completion-in-region-mode): New minor mode.
11527 (completion-in-region): Use it.
11528 (completion-in-region--data, completion-in-region-mode-map): New vars.
11529 (completion-in-region--postch): New function.
11530 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11531 New vars.
11532 (completion--capf-wrapper): New function.
11533 (completion-at-point): Use it to track well-behavedness of
11534 hook functions.
11535 (completion-help-at-point): New command.
11536
f3e4086c
JM
115372011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11538
11539 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11540 syntax class to search for whitespace on a single line
11541 (Message-ID: <4D938140.4030905@redhat.com>).
11542
eb7ffc14
LL
115432011-03-30 Leo Liu <sdl.web@gmail.com>
11544
11545 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11546 New commands.
11547 (edit-abbrevs-map): Bind them here.
11548 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11549
d806ab68
KM
115502011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11551
11552 * allout.el (allout-hide-by-annotation, allout-flag-region):
11553 Reduce possibility of overlay leakage by making them volatile.
11554
11555 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11556 hash is not shared between buffers. Mode initialization is
11557 responsible for giving it a useful starting value.
11558 (allout-item-span): Reduce possibility of overlay leakage by
11559 making them volatile.
11560 (allout-widgets-count-buttons-in-region): Add diagnostic function
11561 for tracking down button overlay leaks.
11562
ea622834
LL
115632011-03-29 Leo Liu <sdl.web@gmail.com>
11564
11565 * ido.el (ido-read-internal): Use the default history var
11566 minibuffer-history if no HISTORY is specified.
11567
b62f8267
G
115682011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11569
03408648
SM
11570 * net/imap.el (imap-shell-open, imap-process-connection-type):
11571 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11572 Kerberos, SSL, other subprocesses.
11573
947b6566
LL
115742011-03-28 Leo Liu <sdl.web@gmail.com>
11575
11576 * abbrev.el (abbrev-table-empty-p): New function.
11577 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11578 nonempty ones. (Bug#5937)
11579
5ffb62aa
JD
115802011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11581
11582 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11583
7a097943
LL
115842011-03-27 Leo Liu <sdl.web@gmail.com>
11585
11586 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11587 for foreground and background colors.
11588 (ansi-color-make-color-map): Adapt.
11589
c5b40130
LL
115902011-03-25 Leo Liu <sdl.web@gmail.com>
11591
1f48f7d2
LL
11592 * midnight.el (midnight-time-float): Remove. Note it calculates
11593 the microsecond component incorrectly and seconds-to-time does the
11594 same job.
625897ec 11595 Remove redundant (require 'timer).
1f48f7d2 11596
c5b40130
LL
11597 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11598 (ido-completions): Remove unused arguments. (Bug#8329)
11599
d86d2721
SM
116002011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11601
11602 * minibuffer.el (completion--flush-all-sorted-completions):
11603 Remove itself from hook.
11604 (completion-at-point): Let the functions perform the completion
11605 immediately and return nil or t.
11606 * comint.el (comint-dynamic-complete-functions): Now identical to
11607 completion-at-point-functions.
11608 (comint-dynamic-list-input-ring): Remove unused var `index'.
11609 (comint--match-partial-filename, comint--unquote&expand-filename):
11610 New funs, split from comint-match-partial-filename.
11611 (comint-dynamic-complete): Use completion-at-point.
11612 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11613
e8974c48
DA
116142011-03-24 Drew Adams <drew.adams@oracle.com>
11615
11616 * thingatpt.el: Support `defun'.
11617
def71b5e
LL
116182011-03-23 Leo Liu <sdl.web@gmail.com>
11619
cb5af48e
LL
11620 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11621
def71b5e
LL
11622 * help-mode.el (help-mode-finish): Tweak regexp.
11623
927c53e7
GM
116242011-03-23 Glenn Morris <rgm@gnu.org>
11625
18d05bed
GM
11626 * eshell/esh-opt.el (eshell-eval-using-options):
11627 Do not bind unused local variable `eshell-option-stub'.
11628
927c53e7
GM
11629 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11630
9d0da923
JB
116312011-03-22 Juanma Barranquero <lekktu@gmail.com>
11632
11633 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11634 keymap variable in `with-no-warnings' to avoid a warning when the
11635 keymap has been already `defconst'ed.
11636
4b978a67
LL
116372011-03-22 Leo Liu <sdl.web@gmail.com>
11638
11639 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11640 encode all chars in abbrevs; otherwise use emacs-mule or
11641 utf-8-emacs. (Bug#8308)
11642
5fd62452
JB
116432011-03-22 Juanma Barranquero <lekktu@gmail.com>
11644
0b1596c6
JB
11645 * simple.el (backward-delete-char-untabify):
11646 Avoid warning about using `delete-backward-char'.
11647
5fd62452
JB
11648 * image.el (image-type-file-name-regexps): Make it variable.
11649 `imagemagick-register-types' modifies it, and the user may want
11650 to add new extensions for known image types.
11651 (imagemagick-register-types): Throw error if not using ImageMagick.
11652
0b4e93f1
LL
116532011-03-22 Leo Liu <sdl.web@gmail.com>
11654
11655 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11656 located before rcirc-prompt-end-marker.
11657 (rcirc-complete): Error if point is not after rcirc prompt.
11658 Handle the case when table is nil.
9882e214 11659 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11660
fccee4ab
CY
116612011-03-22 Chong Yidong <cyd@stupidchicken.com>
11662
11663 * custom.el (custom--inhibit-theme-enable): Make it affect only
11664 custom-theme-set-variables and custom-theme-set-faces.
11665 (provide-theme): Ignore custom--inhibit-theme-enable.
11666 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11667 (custom-enabling-themes): Delete variable.
d86d2721
SM
11668 (enable-theme): Accept only loaded themes as arguments.
11669 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11670 (custom-enabled-themes): Forbid themes from setting this.
11671 Eliminate use of custom-enabling-themes.
11672 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11673
af896da6
LL
116742011-03-21 Leo Liu <sdl.web@gmail.com>
11675
11676 * ido.el (ido-read-internal): Add ido-selected to history instead
11677 of user input.
11678
78f64af0
SM
116792011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * subr.el (deferred-action-list, deferred-action-function):
11682 Mark obsolete.
11683
b16ac1ec
LL
116842011-03-21 Leo Liu <sdl.web@gmail.com>
11685
810f7698
LL
11686 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11687 change on 2011-02-13 (bug#8309).
11688
b16ac1ec
LL
11689 * minibuffer.el (read-file-name-function): Change default value.
11690 (read-file-name--defaults): Rename from read-file-name-defaults.
11691 (read-file-name-default): Rename from read-file-name.
11692 (read-file-name): Call read-file-name-function.
11693
4e05e67e
GM
116942011-03-21 Glenn Morris <rgm@gnu.org>
11695
11696 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11697 Doc fixes.
11698
4359915b
CY
116992011-03-21 Chong Yidong <cyd@stupidchicken.com>
11700
11701 * cus-theme.el: Add missing provide statement.
11702 (customize-create-theme): Extract theme value correctly.
11703 (custom-theme-visit-theme): Autoload.
11704 (customize-create-theme): Prompt before inserting default faces.
11705
1fe275ee
JB
117062011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11707
11708 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11709 units and musical notes.
11710
cd394be1 117112011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11712
11713 * ido.el (ido-read-internal): Use completing-read-default.
11714 (ido-completing-read): Fix compatibility with completing-read.
11715
7d476bde
CO
117162011-03-20 Christian Ohler <ohler@gnu.org>
11717
11718 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11719 (ert-delete-all-tests): Use `called-interactively-p' rather than
11720 `interactive-p'.
11721 (ert--make-xrefs-region): Respect END.
11722
fe0fb33e
CY
117232011-03-19 Chong Yidong <cyd@stupidchicken.com>
11724
ff854b0b
CY
11725 * dired-aux.el (dired-create-directory): Signal an error if the
11726 directory already exists (Bug#8246).
11727
fe0fb33e
CY
11728 * facemenu.el (list-colors-display): Call list-faces-display
11729 inside with-help-window.
11730 (list-colors-print): Use display property to align the final
11731 column, instead of checking window-width.
11732
576bce32
EZ
117332011-03-19 Eli Zaretskii <eliz@gnu.org>
11734
4d61f28d 11735 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11736 windows-nt systems.
11737 (emerge-protect-metachars): Quote correctly for ms-dos and
11738 windows-nt systems.
11739
89c41d68 117402011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11741
11742 * info.el (info-initialize): Replace all uses of `:' with
11743 path-separator for compatibility with non-Unix systems.
11744 Cache quoting of path-separator. (Bug#8258)
11745
b14e3e21 117462011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11747
11748 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11749 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11750 (mouse-avoidance-mode): Fix typos in docstrings.
11751
4525ce3e
CY
117522011-03-19 Chong Yidong <cyd@stupidchicken.com>
11753
11754 * startup.el (package-subdirectory-regexp): Move from package.el.
11755 Omit \\` and \\', and let callers add them.
11756
11757 * emacs-lisp/package.el (package-strip-version)
11758 (package-load-all-descriptors): Add \\` and \\' to
11759 package-subdirectory-regexp before using it.
11760 (package-untar-buffer): New arg DIR; ensure that file untars only
11761 into this expected directory. Remove superfluous delete-region.
11762 (package-unpack): Caller changed.
11763 (package-tar-file-info): Use package-subdirectory-regexp.
11764
a904a09a 117652011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11766
a904a09a
SM
11767 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11768 diff-mode-shared-map (bug#8284).
11769 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11770
117712011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11772
11773 * calendar/time-date.el (format-seconds): Use assoc instead of
11774 assoc-string, since assoc-string doesn't exist in XEmacs.
11775
171fc304
JB
117762011-03-17 Juanma Barranquero <lekktu@gmail.com>
11777
11778 * custom.el (custom-known-themes): Reflow docstring.
11779 (custom-theme-load-path): Fix typo in docstring.
11780 (load-theme): Fix typo in error message.
11781 (custom-available-themes, custom-variable-theme-value):
11782 Use `let', not `let*'.
11783
d71990a1
JB
117842011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11785
11786 * calc/README: Mention inclusion of musical notes.
11787
11788 * calc/calc-units.el (calc-lu-quant): Rename from
11789 `calc-logunits-quantity'.
11790 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11791 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11792 (calc-db): Rename from `calc-dblevel'.
11793 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11794 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11795 (calc-np): Rename from `calc-nplevel'.
11796 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11797 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11798 (calc-lu-plus): Rename from `calc-logunits-add'.
11799 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11800 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11801 (calc-lu-minus): Rename from `calc-logunits-sub'.
11802 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11803 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11804 (calc-lu-times): Rename from `calc-logunits-mul'.
11805 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11806 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11807 (calc-lu-divide): Rename from `calc-logunits-div'.
11808 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11809 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11810
11811 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11812 functions being autoloaded.
11813
11814 * calc/calc.el (calc-lu-power-reference): Rename from
11815 `calc-logunits-power-reference'.
11816 (calc-lu-field-reference): Rename from
11817 `calc-logunits-field-reference'.
11818
7a71b18d
GM
11819 * calc/calc-help.el (calc-l-prefix-help):
11820 Mention musical note functions.
d71990a1 11821
40c2934b
SM
118222011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * minibuffer.el (completion-all-sorted-completions):
11825 Use :completion-cycle-penalty text property if present.
11826
b0911414
KM
118272011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11828
11829 * allout.el (allout-yank-processing): Adjust for new rebulleting
11830 regime so bullet being yanked is used without prompting the user
11831 for a choice.
11832
8a05b668
JB
118332011-03-16 Juanma Barranquero <lekktu@gmail.com>
11834
11835 * startup.el (command-line): Warn the user that _emacs is deprecated.
11836
5ba5fb81
JB
118372011-03-16 Juanma Barranquero <lekktu@gmail.com>
11838
11839 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11840 (delphi-verbose, delphi-comment-face, delphi-string-face)
11841 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11842 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11843 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11844 (delphi-new-comment-line, delphi-font-lock-defaults)
11845 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11846 Fix typos in docstrings.
11847
2dab465b
KM
118482011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11849
5ba5fb81 11850 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11851 Invert the roles of character and string values for INSTEAD, so a
11852 string is used for the more common case of a defaulting prompt.
11853
0adf5618
SM
118542011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11855
11856 * progmodes/ruby-mode.el (ruby-backward-sexp):
11857 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11858 * play/gamegrid.el (gamegrid-make-face):
11859 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11860 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11861 * notifications.el (notifications-notify):
11862 * net/xesam.el (xesam-search-engines):
11863 * net/quickurl.el (quickurl-list-insert):
11864 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11865
d72700e5
CY
118662011-03-15 Chong Yidong <cyd@stupidchicken.com>
11867
11868 * startup.el (command-line): Update package subdirectory regexp.
11869
49c5410a
SM
118702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11871
c6eee9aa
SM
11872 * allout.el (allout-abbreviate-flattened-numbering)
11873 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11874
49c5410a
SM
11875 * subr.el (read-char-choice): Only show the cursor after the prompt,
11876 not after the answer.
11877
047b2bb9
KR
118782011-03-15 Kevin Ryde <user42@zip.com.au>
11879
11880 * help-fns.el (variable-at-point): Skip leading quotes, if any
11881 (bug#8253).
11882
0a57d256
SM
118832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11886 warning message.
11887
77c992bc
MA
118882011-03-14 Michael Albinus <michael.albinus@gmx.de>
11889
11890 * shell.el (shell): When called interactively, offer to change the
11891 shell file name on remote hosts.
11892
eebc475d
TZ
118932011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11894
11895 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11896 integration for LDAP parameters. The host, base, user or binddn,
11897 and secret tokens can be specified in a netrc file, for instance.
11898 This is optional because an `auth-source' parameter must be
11899 specified in the search attributes.
11900
9d05d1ba
JB
119012011-03-13 Juanma Barranquero <lekktu@gmail.com>
11902
11903 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11904
09d9db2c
GM
119052011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11908 into declaration. Remove redundant and harmful binding.
11909
119102011-03-12 Eli Zaretskii <eliz@gnu.org>
11911
11912 * files.el (file-ownership-preserved-p): Pass `integer' as an
11913 explicit 2nd argument to `file-attributes'. If the file's owner
11914 is the Administrators group on Windows, and the current user is
11915 Administrator, consider that a match.
11916
11917 * server.el (server-ensure-safe-dir): Consider server directory
11918 safe on MS-Windows if its owner is the Administrators group while
11919 the current Emacs user is Administrator. Use `=' to compare
11920 numerical UIDs, since they could be integers or floats.
11921
219bd536
JB
119222011-03-12 Juanma Barranquero <lekktu@gmail.com>
11923
11924 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11925
f3afd36b
MA
119262011-03-12 Michael Albinus <michael.albinus@gmx.de>
11927
11928 Sync with Tramp 2.2.1.
11929
11930 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11931
11932 * net/trampver.el: Update release number.
11933
3aaaa6f1
SM
119342011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11935
94642599
SM
11936 * progmodes/compile.el (compilation--previous-directory): Fix up
11937 various nil/dead-marker mismatches (bug#8014).
11938 (compilation-directory-properties, compilation-error-properties):
11939 Don't call it at a position past the one we're about to change.
11940
3aaaa6f1
SM
11941 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11942 Disable obsolescence warnings in the file that declares it.
11943
14239447
KM
119442011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11945
099c39a4
JB
11946 * allout-widgets.el (allout-widgets-tally):
11947 Initialize allout-widgets-tally as a hash table rather than nil to
11948 prevent mode-line redisplay warnings. Also, clarify the module
11949 description and fix a comment typo.
14239447 11950
135e287c
JB
119512011-03-11 Juanma Barranquero <lekktu@gmail.com>
11952
11953 * help-fns.el (describe-variable): Don't complete keywords.
11954 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11955
ffbf300e
CY
119562011-03-10 Chong Yidong <cyd@stupidchicken.com>
11957
ba08b241
CY
11958 * emacs-lisp/package.el (package-version-join): Impose a standard
11959 string representation for pre/alpha/beta version lists.
11960 (package-unpack-single): Standardize the directory name by passing
11961 it through package-version-join.
11962 (package-strip-rcs-id): Accept any version string that does not
11963 signal an error in version-to-list.
ffbf300e 11964
f346fd6b
MA
119652011-03-10 Michael Albinus <michael.albinus@gmx.de>
11966
11967 * simple.el (delete-trailing-whitespace): Return nil for the
11968 benefit of `write-file-functions'.
11969
ccb55d27
GM
119702011-03-10 Glenn Morris <rgm@gnu.org>
11971
5ceaac0c
GM
11972 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11973
02da65ff
GM
11974 * vc/vc-git.el (vc-git-program): New option.
11975 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11976 (vc-git--call): Use it.
11977
b2f603cc
GM
11978 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11979
5772caab
GM
11980 * cus-edit.el (Custom-newline): If no button at point, look
11981 for a subgroup button at start-of-line. (Bug#2298)
11982
ccb55d27
GM
11983 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11984
ec6ecaed
JD
119852011-03-10 Julien Danjou <julien@danjou.info>
11986
11987 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11988 `cursor-type' is nil.
11989
9d5aa01d
JB
119902011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11991
11992 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11993
b6a5875b
KM
119942011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11995
7a71b18d 11996 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11997 preserves the existing header prefix, rebulleting it if necessary,
11998 rather than replacing it. This is necessary for proper operation
11999 of cooperative addons like allout-widgets.
1154d12e
JB
12000 (allout-make-topic-prefix, allout-rebullet-heading):
12001 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12002 value as alternate bullet to be used, instead of prompting the user
12003 for a bullet character.
b6a5875b 12004
ee545c35
MA
120052011-03-09 Michael Albinus <michael.albinus@gmx.de>
12006
d86d2721
SM
12007 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12008 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12009 `tramp-default-port'.
12010
c47971d7
DD
120112011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12012
12013 * net/rcirc.el (rcirc-handler-001): Remove useless
12014 with-rcirc-process-buffer.
12015 (rcirc-check-auth-status): Swap arguments to string-match.
12016
13522cb4
GM
120172011-03-09 Glenn Morris <rgm@gnu.org>
12018
0be6f4f1
GM
12019 * shell.el (shell-mode):
12020 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12021
13522cb4
GM
12022 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12023 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12024
515de2e3
CY
120252011-03-08 Chong Yidong <cyd@stupidchicken.com>
12026
12027 * emacs-lisp/package.el (package-refresh-contents)
12028 (package-menu-execute): Use condition-case-no-debug.
12029
b511b994
MA
120302011-03-08 Michael Albinus <michael.albinus@gmx.de>
12031
12032 * simple.el (shell-command-to-string): Use `process-file'.
12033
12034 * emacs-lisp/package.el (package-tar-file-info): Handle also
12035 remote files.
12036
d86d2721
SM
12037 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12038 Use `equal' for upload base check.
b511b994 12039
25bbfb31
AM
120402011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12041
12042 * textmodes/texinfo.el (texinfo-environments):
12043 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12044
be996521
GM
120452011-03-08 Glenn Morris <rgm@gnu.org>
12046
e9c8529f
GM
12047 * cus-start.el (cursor-in-non-selected-windows):
12048 Fix :set quoting oddness. (Bug#8192)
12049
be996521
GM
12050 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12051 in some setf expressions. (Bug#2159)
12052
2bb5649e
CY
120532011-03-08 Chong Yidong <cyd@stupidchicken.com>
12054
12055 * custom.el (custom-available-themes): Return themes in
12056 alphabetical order.
12057
33383987 12058See ChangeLog.15 for earlier changes.
e3d51b27
MR
12059
12060;; Local Variables:
12061;; coding: utf-8
e3d51b27
MR
12062;; End:
12063
acaf905b 12064 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12065
12066 This file is part of GNU Emacs.
12067
12068 GNU Emacs is free software: you can redistribute it and/or modify
12069 it under the terms of the GNU General Public License as published by
12070 the Free Software Foundation, either version 3 of the License, or
12071 (at your option) any later version.
12072
12073 GNU Emacs is distributed in the hope that it will be useful,
12074 but WITHOUT ANY WARRANTY; without even the implied warranty of
12075 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12076 GNU General Public License for more details.
12077
12078 You should have received a copy of the GNU General Public License
12079 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.