Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5c5b8e23
GM
12012-04-08 Glenn Morris <rgm@gnu.org>
2
3 * loadup.el: Load bindings before cus-start.
4 This reduces somewhat the number of "rogue" settings in emacs -Q.
5
a1ed8b05
GM
62012-04-07 Glenn Morris <rgm@gnu.org>
7
8 * version.el (emacs-bzr-get-version): New function.
dfae128a 9 (emacs-bzr-version): New variable.
a1ed8b05
GM
10 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12
b142f158
EZ
132012-04-07 Eli Zaretskii <eliz@gnu.org>
14
dfae128a
GM
15 * international/uni-bidi.el, international/uni-category.el:
16 * international/uni-combining.el, international/uni-decimal.el:
17 * international/uni-decomposition.el, international/uni-digit.el:
18 * international/uni-lowercase.el, international/uni-mirrored.el:
19 * international/uni-name.el, international/uni-numeric.el:
20 * international/uni-titlecase.el, international/uni-uppercase.el:
21 Update for Unicode 6.1.
b142f158 22
9078ead6
EZ
232012-04-07 Eli Zaretskii <eliz@gnu.org>
24
25 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
26
f23d2c7d
LMI
272012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
28
29 * window.el (shrink-window): Mention the `window-min-height'
30 variable in the doc string.
31
0a0a3573
BG
322012-04-05 Bastien Guerry <bzg@altern.org>
33
34 * color.el (color-lighten-name): Fix typo.
35
e5248ac9
SM
362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * server.el (server--on-display-p): New function.
39 (server--on-display-p): Use it.
40
b4243e22
GV
412012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
42
43 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
44 (bug#11145).
45
305d9f44
SM
462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * comint.el (comint--common-quoted-suffix): Check string boundary
49 before comparing (bug#11158).
50 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
51
3d439cd1
CY
522012-04-04 Chong Yidong <cyd@gnu.org>
53
321cc491
CY
54 * minibuffer.el (completion-extra-properties): Doc fix.
55
3d439cd1
CY
56 * subr.el (delayed-warnings-hook): Doc fix.
57
2d562c0f
DU
582012-04-04 Daiki Ueno <ueno@unixuser.org>
59
60 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
61 selection (Bug#11159).
62 (epa-insert-keys): Inform that the default public key will be
63 exported if no key is selected.
64
4443f204
RS
652012-04-04 Richard Stallman <rms@gnu.org>
66
67 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
68
529c06b6
CY
692012-04-03 Chong Yidong <cyd@gnu.org>
70
71 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
72 mail-insert-file, not its obsolete alias mail-attach-file.
73
66b907dc
MA
742012-04-03 Michael Albinus <michael.albinus@gmx.de>
75
76 * notifications.el (notifications-notify): Fix docstring.
77
c0ea195d
GM
782012-04-02 Glenn Morris <rgm@gnu.org>
79
80 * emacs-lisp/authors.el (authors-aliases): Another addition.
81
5ca64e00
MA
822012-04-02 Michael Albinus <michael.albinus@gmx.de>
83
84 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
85 `tramp-compat-call-process' instead of `tramp-local-call-process'.
86 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
87
42ee526b
CY
882012-04-01 Chong Yidong <cyd@gnu.org>
89
90 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
91 Handle root directory properly.
92 (copy-directory): Caller changed.
93
94 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
95 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
96
0b021094
GM
972012-03-31 Glenn Morris <rgm@gnu.org>
98
40f86458
GM
99 * term/xterm.el (xterm-extra-capabilities): Doc fix.
100
7019c177
GM
101 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
102
a1daddd6
GM
103 * calendar/calendar.el (calendar-window-list)
104 (calendar-hide-window): Restore. (Bug#11140)
105 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
106
0b021094
GM
107 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
108
40311efc
TV
1092012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
110
111 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
112 Check if file is a symlink (Bug#10489).
113
114 * files.el (copy-directory): Likewise.
115
5319014e
CY
1162012-03-30 Chong Yidong <cyd@gnu.org>
117
118 * image.el (imagemagick-types-inhibit)
119 (imagemagick-register-types): Doc fix.
120
935d1290
AM
1212012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
122
123 * ispell.el (ispell-get-extended-character-mode): Disable
124 extended-char-mode for hunspell. hunspell does not support it and
125 treats ~word as ordinary words in pipe mode.
126
61c6e8fd
GM
1272012-03-30 Glenn Morris <rgm@gnu.org>
128
129 * tutorial.el (help-with-tutorial): Ensure local variables don't
130 happen to make the buffer read-only. (Bug#11127)
131
81fdff00
SM
1322012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
135 (perl-calculate-indent): Return `noindent' in strings.
136
6e7a6ec0
SS
1372012-03-28 Sam Steingold <sds@gnu.org>
138
139 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
140 instead of the broken adhockery which does not prevent calendar
141 buffers from being displayed at random after exit.
142 (calendar-window-list, calendar-hide-window): Remove the broken
143 adhockery.
144
fee88ca0
GM
1452012-03-28 Glenn Morris <rgm@gnu.org>
146
147 * replace.el (query-replace-map): Doc fix.
148
38de3354
AS
1492012-03-28 Andreas Schwab <schwab@linux-m68k.org>
150
151 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
152 contents. (Bug#11109)
153
b973155e
SM
1542012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
157 (bug#11077).
158 (avl-tree--check, avl-tree--check-node): New funs.
159
dcb6e7b3
MR
1602012-03-27 Martin Rudalics <rudalics@gmx.at>
161
162 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
163 (switch-to-prev-buffer, switch-to-next-buffer):
164 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
165 showing a buffer already is done on the same frame.
166
b4fa35fa
GM
1672012-03-27 Glenn Morris <rgm@gnu.org>
168
169 * startup.el (mail-host-address): Doc fix.
170
f9210e18
SM
1712012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
174 than 197 variables.
175
c0bf7753
AF
1762012-03-26 Ami Fischman <ami@fischman.org>
177
178 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
179
33da7b16
GM
1802012-03-26 Glenn Morris <rgm@gnu.org>
181
02243d9d
GM
182 * files.el (save-buffers-kill-emacs): Doc fix.
183
33da7b16
GM
184 * startup.el (normal-top-level, command-line, command-line-1):
185 Give them doc strings.
186
e5a69fd0
EZ
1872012-03-25 Eli Zaretskii <eliz@gnu.org>
188
189 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 190 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 191
9a69676a
CY
1922012-03-25 Chong Yidong <cyd@gnu.org>
193
4125cb8b
CY
194 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
195 theme if it was previously enabled before (Bug#11031).
196
dd470960
CY
197 * cus-theme.el (custom-theme-write-faces): Retrieve current face
198 spec with custom-face-get-current-spec if its :shown-value is not
199 determined yet (Bug#9337).
4125cb8b 200 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 201
9a69676a
CY
202 * button.el (button-at): Minor addition to docstring.
203
6e7e90fa
SL
2042012-03-24 Simon Leinen <simon.leinen@gmail.com>
205
206 * vc/vc.el (vc-merge): Fix a prompt.
207
f06e2758
CY
2082012-03-24 Chong Yidong <cyd@gnu.org>
209
210 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
211 point (Bug#9623).
212
6e7e90fa
SL
213 * button.el (button-at): Minor addition to docstring.
214
b9d0879b
SM
2152012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * newcomment.el (comment-choose-indent): No space after BOL.
218
e71cebb3
SS
2192012-03-22 Sam Steingold <sds@gnu.org>
220
221 * window.el (switch-to-prev-buffer): Revert last patch because the
222 bug turned out to be an advertised feature (Elisp manual 28.14).
223
335aff35
GM
2242012-03-22 Glenn Morris <rgm@gnu.org>
225
226 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
227 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
228
c676576a
LMI
2292012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
230
231 * net/network-stream.el (network-stream-open-starttls): Make error
232 message under Windows be less misleading.
233
126f3d39
LW
2342012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
235
236 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
237 understands (bug#9942).
238
64fee311
CY
2392012-03-22 Chong Yidong <cyd@gnu.org>
240
241 * simple.el (end-of-visible-line): Handle return value of
242 next-single-property-change properly (Bug#9371).
243
a640d29a
KH
2442012-03-22 Kenichi Handa <handa@m17n.org>
245
246 * international/quail.el (quail-insert-kbd-layout): Fix previous
247 change. To avoid unwanted bidi reordering, use
248 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
249
39675016
DG
2502012-03-21 Dmitry Gutov <dgutov@yandex.ru>
251
252 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
253 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
254 (ruby-beginning-of-indent): Be more careful with the difference
255 between word-boundary and symbol boundary.
256 (ruby-mode-syntax-table): Make : a symbol constituent.
257
0a6934fc 2582012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 259
3d008e4f
SM
260 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
261
0a6934fc
SM
2622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
263
af67c9d7
SM
264 * progmodes/etags.el (tags-completion-at-point-function):
265 Improve last fix.
266
1acad97c
SM
267 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
268
e298b5da
SS
2692012-03-21 Sam Steingold <sds@gnu.org>
270
271 * progmodes/etags.el (tags-completion-at-point-function):
272 Avoid the error when point is inside the pattern.
273
91d82a70
JY
2742012-03-21 John Yates <john@yates-sheets.org> (tiny change)
275
276 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
277 line (Bug#10855).
278
69188b79
CY
2792012-03-21 Drew Adams <drew.adams@oracle.com>
280
281 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
282
99fc91fe
AK
2832012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
284
285 * ido.el (ido-set-current-directory, ido-read-internal)
286 (ido-choose-completion-string, ido-completion-help): Handle nil
287 value of ido-completion-buffer (Bug#11008).
288
087bbb4c
SS
2892012-03-21 Sam Steingold <sds@gnu.org>
290
291 * window.el (switch-to-prev-buffer): Do not switch to a visible
292 window previous buffer, just like with the frame previous buffers.
293
fb5b8aca
CY
2942012-03-21 Chong Yidong <cyd@gnu.org>
295
296 * faces.el (make-face, make-empty-face, copy-face):
297 * face-remap.el (face-remap-add-relative, face-remap-set-base):
298 Doc fixes.
299
dc9924b8
SM
3002012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * wid-edit.el (widget-complete-field): Remove (bug#11051).
303 (widget-complete): Remove broken use of it.
304
f0bcceb9
CY
3052012-03-20 Chong Yidong <cyd@gnu.org>
306
dc9924b8
SM
307 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
308 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
309 characters.
310
ee52ebf3
TH
3112012-03-20 Tassilo Horn <tassilo@member.fsf.org>
312
313 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
314 to draw rectangles, not squares. (Regression introduced by revno
315 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
316
4c5779ab
CY
3172012-03-18 Chong Yidong <cyd@gnu.org>
318
319 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
320 it is not yet defined (for temacs).
321
15360934
LL
3222012-03-18 Leo Liu <sdl.web@gmail.com>
323
dc9924b8 324 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 325
d9a8eb66
EZ
3262012-03-17 Eli Zaretskii <eliz@gnu.org>
327
328 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
329 (ispell-choices-win-default-height, ispell-silently-savep)
330 (ispell-dictionary-alist, ispell-encoding8-command)
331 (ispell-check-version, ispell-aspell-find-dictionary)
332 (ispell-valid-dictionary-list, ispell-words-keyword)
333 (ispell-get-word, ispell-internal-change-dictionary)
334 (ispell-region, ispell-skip-region-list)
335 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
336 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
337 (ispell-message-text-end, ispell-message)
338 (ispell-buffer-local-parsing): Doc fix.
339
f02ff80d
J
3402012-03-13 Jambunathan K <kjambunathan@gmail.com>
341
342 * htmlfontify.el: Add support for code block fontification for ODT
343 export (Bug #9914).
344 (hfy-optimisations): Define new option
345 `body-text-only'
346 (hfy-fontify-buffer): Honor above setting.
347 (hfy-begin-span, hfy-end-span): New routines factored out form
348 `hfy-fontify-buffer'.
349 (hfy-begin-span-handler, hfy-end-span-handler): New variables
350 that permit insertion of custom tags.
351 (hfy-fontify-buffer): Use above handlers.
352 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
353 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 354 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
355 over multiple runs. This is made possible by having the caller let
356 bind a special variable `hfy-user-sheet-assoc'.
357 (htmlfontify-string): New defun.
358 (hfy-compile-face-map): Make sure that the last char in the
359 buffer is correctly fontified.
360 (hfy-face-resolve-face): Whitespace only change.
361
9ac7a13f
EZ
3622012-03-17 Eli Zaretskii <eliz@gnu.org>
363
364 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
365 message more clear.
366
e2b5bdd7
LL
3672012-03-16 Leo Liu <sdl.web@gmail.com>
368
369 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
370
2e492df3
AM
3712012-03-16 Alan Mackenzie <acm@muc.de>
372
373 Further optimise the handling of large macros.
374
375 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
376 limit to a call of `c-literal-limits'.
377 (c-determine-+ve-limit): New function.
dc9924b8
SM
378 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
379 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
380 In CASE 5B, restrict a search limit to 500.
381 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
382
383 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
384 Restrict macro bounds to +-500 from after-change's BEG END.
385
50e94f0c
LL
3862012-03-16 Leo Liu <sdl.web@gmail.com>
387
388 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
389
6f09f6ed
AH
3902012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
391
392 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 393 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 394
c7e73d51
GM
3952012-03-16 Glenn Morris <rgm@gnu.org>
396
da986230
GM
397 * view.el (view-buffer, view-buffer-other-window)
398 (view-buffer-other-frame): Doc fixes re special mode-class.
399
0835f01e
GM
400 * subr.el (eval-after-load): If named feature is provided not from
401 a file, run after-load forms. (Bug#10946)
402
c7e73d51
GM
403 * calendar/calendar.el (calendar-insert-at-column):
404 Handle non-unit-width characters a bit better. (Bug#10978)
405
3f2eafd1
CY
4062012-03-15 Chong Yidong <cyd@gnu.org>
407
408 * emacs-lisp/ring.el (ring-extend): New function.
409 (ring-insert+extend): Extend the ring correctly (Bug#11019).
410
411 * comint.el (comint-read-input-ring)
412 (comint-add-to-input-history): Grow comint-input-ring lazily.
413
103af3fe
SM
4142012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
415
663b1677
SM
416 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
417 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
418
103af3fe
SM
419 * imenu.el: Fix multiple inheritance breakage (bug#9199).
420 (imenu-add-to-menubar): Don't add a redundant index.
421 (imenu-update-menubar): Handle a dynamically composed keymap.
422
899cb7cb
KY
4232012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
424
425 * mail/sendmail.el (mail-encode-header):
426 Bind rfc2047-encode-encoded-words to nil.
427
3809f91d
GM
4282012-03-13 Glenn Morris <rgm@gnu.org>
429
430 * calendar/calendar.el (calendar-string-spread):
431 Handle non-unit-width characters a bit better. (Bug#10978)
432
9e345a01
LL
4332012-03-13 Leo Liu <sdl.web@gmail.com>
434
435 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
436 directory and file as argument (Bug#10822).
437
4a07df36
KS
4382012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
439
440 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
441 For dynamically generated code, follow $PC.
442 (gdb-disassembly-handler-custom): Handle no function name case.
443
4aaa9356
TL
4442012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
445
446 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
447 * emulation/ws-mode.el (ws-query-replace):
448 * sort.el (sort-regexp-fields):
449 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
450
225979da
SM
4512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * dabbrev.el: Fix cycle completion order (bug#10963).
454 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
455 (dabbrev-completion): Don't use an obarray; provide
456 a cycle-sort-function.
457
e2f1fdab
LL
4582012-03-12 Leo Liu <sdl.web@gmail.com>
459
dc9924b8 460 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
461 (kill-do-not-save-duplicates): Doc fix.
462
b19490ed
SM
4632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * dabbrev.el: Fix cycle completion (bug#10963).
466 Use lexical binding and wrap to 80 columns.
467 (dabbrev-completion): Delay computing the list of completions.
468
4b05d722
KH
4692012-03-12 Kenichi Handa <handa@m17n.org>
470
471 * international/quail.el (quail-insert-kbd-layout): Surround each
472 row by LRO and PDF instead of inserting many LRMs. Pad the left
473 and right of each non-spacing marks. Insert invisible space
474 between lower and upper characters to prevent composition.
475
dbbc2e69
SM
4762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * minibuffer.el (minibuffer-complete): Don't get confused when the
479 function is run twice via different commands (bug#10958).
480 (complete-with-action): Fix docstring.
481
292112ed
CY
4822012-03-12 Chong Yidong <cyd@gnu.org>
483
5d1ac394
CY
484 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
485 (nxml-completion-at-point-function): New function.
486 (nxml-mode): Use it.
487 (nxml-bind-meta-tab-to-complete-flag): Default to t.
488
292112ed
CY
489 * emacs-lisp/package.el (package-unpack, package-unpack-single):
490 Load generated autoloads file before byte compiling (Bug#10970).
491 (package--make-autoloads-and-compile): New helper fun.
492
4098f8f7
CS
4932012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
494
495 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
496
8f754691
MA
4972012-03-11 Michael Albinus <michael.albinus@gmx.de>
498
499 * autorevert.el (auto-revert-handler): Ensure, that
500 file-readable-p is applied only for local files or in
501 auto-revert-tail-mode.
502
e29ab36b
AS
5032012-03-11 Andreas Schwab <schwab@linux-m68k.org>
504
dbbc2e69
SM
505 * server.el (server-eval-at): Handle non-tcp connections.
506 Decode result string.
ad0bf5b6 507
e29ab36b
AS
508 * server.el (server-msg-size): New constant.
509 (server-reply-print): New function.
510 (server-eval-and-print): Use it.
511 (server-eval-at): Use server-quote-arg and server-unquote-arg.
512 Handle -print-nonl.
513
de5939ba
CS
5142012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
515
516 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
517 (Bug#10987).
518
0c93eabf
CY
5192012-03-11 Chong Yidong <cyd@gnu.org>
520
397a688f
CY
521 * simple.el (goto-line): Doc fix (Bug#9938).
522
2cc775f9
CY
523 * subr.el (save-window-excursion): Doc fix (Bug#9979).
524
0c93eabf
CY
525 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
526 when finished (Bug#10963).
527
c491fa41
MR
5282012-03-11 Martin Rudalics <rudalics@gmx.at>
529
530 * window.el (split-window-below): Fix bug in case where
531 split-window-keep-point is nil (Bug#10971).
532
300e8fa5
JL
5332012-03-11 Juri Linkov <juri@jurta.org>
534
535 * replace.el (replace-highlight): Set isearch-word to nil
536 unconditionally. (Bug#10887)
537
dbf6c5a1
EZ
5382012-03-10 Eli Zaretskii <eliz@gnu.org>
539
540 * net/mairix.el (mairix-replace-invalid-chars): Rename from
541 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 542 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
543 (mairix-widget-create-query): Add usage information about mairix
544 search forms: negating words, searching for substrings, etc.
545
b9e501de
JP
5462012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
547
548 * international/fontset.el (font-encoding-alist): Add an entry for
549 ksx1001 (Bug#5667).
550
92795c91
RS
5512012-03-10 Richard Stallman <rms@gnu.org>
552
1694e6c1
RS
553 * mail/sendmail.el (mail-encode-header):
554 Set rfc2047-encode-encoded-words.
555
607e8555
RS
556 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
557
de3bc99a
RS
558 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
559 view buffer means not swapped.
560 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
561 (rmail-write-region-annotate): Error if real text has disappeared.
562
92795c91
RS
563 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
564
699bd04e
CY
5652012-03-10 Chong Yidong <cyd@gnu.org>
566
567 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
568 * emulation/cua-base.el (cua--init-keymaps):
569 Add delete-forward-char to remappings (Bug#9666).
699bd04e 570
570a1714
MR
5712012-03-10 Martin Rudalics <rudalics@gmx.at>
572
dbbc2e69
SM
573 * speedbar.el (speedbar-unhighlight-one-tag-line):
574 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 575
82dcf4e4
CY
5762012-03-10 Chong Yidong <cyd@gnu.org>
577
7a2c7ca7
CY
578 * minibuffer.el (completion-in-region, completion-help-at-point):
579 Give the completion field overlay a high priority (Bug#6830).
580
82dcf4e4
CY
581 * dired.el (dired-goto-file): Recognize absolute file name
582 listings (Bug#7126).
583 (dired-goto-file-1): New helper function.
584 (dired-toggle-read-only): Inhibit warnings.
585
052e28ac
MA
5862012-03-09 Michael Albinus <michael.albinus@gmx.de>
587
588 * net/dbus.el: (dbus-property-handler): Return empty array if
589 there are no properties.
590
95d5e396
LL
5912012-03-09 Leo Liu <sdl.web@gmail.com>
592
593 * savehist.el (savehist-printable): Stricter check for string
594 value (Bug#10937).
595
3f018d6d
EZ
5962012-03-09 Eli Zaretskii <eliz@gnu.org>
597
dbbc2e69
SM
598 * mail/smtpmail.el (smtpmail-send-it):
599 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
600 valid mbox format.
601
f7fd3d79
GM
6022012-03-09 Glenn Morris <rgm@gnu.org>
603
604 * files.el (dir-locals-find-file):
605 Don't check result is regular, readable.
606 (dir-locals-read-from-file): Demote errors.
607
6ff6e72f
EZ
6082012-03-08 Eli Zaretskii <eliz@gnu.org>
609
dbbc2e69
SM
610 * international/quail.el (quail-insert-kbd-layout):
611 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
612 layout cell, to prevent their reordering by bidi display engine.
613 For details, see the discussion in
614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
615
9cec7834
AM
6162012-03-08 Alan Mackenzie <acm@muc.de>
617
618 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
619 the starting position; make it extend the marked region when
620 invoked repeatedly - all under appropriate circumstances.
621 Fixes bugs #5525, #10906.
622
9a40b8d4
GM
6232012-03-08 Glenn Morris <rgm@gnu.org>
624
625 * files.el (locate-dominating-file, dir-locals-find-file):
626 Undo 2012-03-06 change.
627
7a08ed35
EZ
6282012-03-07 Eli Zaretskii <eliz@gnu.org>
629
dbbc2e69
SM
630 * international/quail.el (quail-help):
631 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
632 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
633 for the reason.
634
5aca4f71 6352012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
636
637 Avoid superfluous registering of signals. (Bug#10807)
638
639 * notifications.el (notifications-on-action-object)
640 (notifications-on-close-object): New defvars.
641 (notifications-on-action-signal, notifications-on-closed-signal):
642 Unregister the signal if not needed any longer.
643 (notifications-notify): Register `notifications-action-signal' or
644 `notifications-closed-signal', if :on-action or :on-close has been
645 passed as argument.
646
78e8b10a
CY
6472012-03-07 Chong Yidong <cyd@gnu.org>
648
649 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
650 non-X platforms.
651
69481eb8
GM
6522012-03-06 Glenn Morris <rgm@gnu.org>
653
654 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
655 (x-disown-selection-internal, x-get-selection-internal):
656 Doc fix (add arglist signatures). (Bug#10783)
657
133b8e11
KS
6582012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
659
660 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
661 Handle breakpoints with no "type".
662
99a83064
GM
6632012-03-06 Glenn Morris <rgm@gnu.org>
664
665 * files.el (locate-dominating-file): Add optional predicate argument.
666 (dir-locals-find-file): Make use of above change.
667
17798e78
TTN
6682012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
669
670 * info.el (Info-insert-dir): Also try "dir.gz".
671
eb182446
GM
6722012-03-06 Glenn Morris <rgm@gnu.org>
673
8f2114ee
GM
674 * files.el (dir-locals-find-file):
675 Ignore non-readable or non-regular files. (Bug#10928)
676
eb182446
GM
677 * files.el (locate-dominating-file): Doc fix.
678
24679323
AS
6792012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
680
681 * calendar/calendar.el (calendar-set-mode-line):
682 `getenv' returns a string. (Bug#10951)
683
01d972a9
LL
6842012-03-05 Leo Liu <sdl.web@gmail.com>
685
109aa8a9
LL
686 * simple.el (backward-delete-char-untabify): Constrain point to
687 field (Bug#10939).
688
01d972a9
LL
689 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
690
10607bea
CY
6912012-03-05 Chong Yidong <cyd@gnu.org>
692
693 * simple.el (count-words): If called from Lisp, return the word
694 count, for symmetry with `count-lines'. Arglist changed.
695 (count-words--message): Args changed. Consolidate counting code
696 from count-words and count-words-region.
697 (count-words-region): Caller changed.
698 (count-lines-region): Make it an obsolete alias.
699
5dd11cfe
TH
7002012-03-04 Tassilo Horn <tassilo@member.fsf.org>
701
702 * saveplace.el (save-place-to-alist)
703 (save-place-ignore-files-regexp): Allow value nil to disable this
704 feature.
705
c349f4e6
CY
7062012-03-04 Chong Yidong <cyd@gnu.org>
707
708 * faces.el (face-spec-reset-face): For the default face, reset the
709 attributes to default values (Bug#10748).
710
e627be4c
LMI
7112012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
712
713 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
714 previous patch: Check `message-send-mail-function', and not the
715 default function (bug#10897).
716
ebeabff4
MA
7172012-03-04 Michael Albinus <michael.albinus@gmx.de>
718
a41a6cf4
MA
719 * notifications.el (notifications-on-action-signal)
720 (notifications-on-closed-signal): Check for unique service name of
721 incoming event. Fix error in removing entry.
ebeabff4 722 (top): Register for signals with wildcard service name.
a41a6cf4 723 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 724
c1ca42b4
CY
7252012-03-04 Chong Yidong <cyd@gnu.org>
726
dc9924b8 727 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 728
ea16568d
GM
7292012-03-04 Glenn Morris <rgm@gnu.org>
730
731 * abbrev.el (copy-abbrev-table, abbrev-table-p)
732 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
733 (expand-abbrev, define-abbrev-table): Doc fixes.
734
fbae4637
LMI
7352012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
736
737 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
738 `message-default-send-mail-function' and not `send-mail-function'
739 when doing the prompting for `sendmail-query-once' before sending
740 in Message buffers (bug#10897).
741
a1e7225c
LMI
742 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
743 This is inconsistent with all the other stream functions, which leave
744 the setting up to the higher levels (if so wanted) (bug#10931).
745
56d093a9
AM
7462012-03-02 Alan Mackenzie <acm@muc.de>
747
748 Depessimize the handling of very large macros.
749
750 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
751 (c-macro-cache-syntactic): New variables to implement a one
752 element macro cache.
753 (c-invalidate-macro-cache): New function.
754 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
755 Adapt to use the new cache.
756 (c-state-safe-place): Use better the cache of safe positions.
757 (c-state-semi-nonlit-pos-cache)
758 (c-state-semi-nonlit-pos-cache-limit):
759 New variables for...
760 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
761 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
762 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
763 Use c-state-semi-safe-place.
56d093a9 764
dbbc2e69
SM
765 * progmodes/cc-langs.el (c-get-state-before-change-functions):
766 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 767
817e5c3d
MA
7682012-03-02 Michael Albinus <michael.albinus@gmx.de>
769
dbbc2e69
SM
770 * jka-compr.el (jka-compr-call-process):
771 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
772 not remote.
773
a032a702
MA
7742012-03-01 Michael Albinus <michael.albinus@gmx.de>
775
776 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
777 access of FILE2, if FILE1 does not exist.
778
99a54f21
MA
779 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
780 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
781
782 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
783 Add "PAGER=" to `process-environment'.
784
f6561e1f
MM
7852012-03-01 Michael R. Mauger <mmaug@yahoo.com>
786
787 * progmodes/sql.el: Bug fix
788 (sql-get-login-ext): Save login values in globals.
789 (sql-get-login): Use new version of `sql-get-login-ext'.
790 (sql-interactive-mode): Set global `sql-connection' to nil.
791 (sql-connect): Set global values for connection.
792 (sql-product-interactive): Save global values as buffer local.
793
2d44d9cc
LL
7942012-02-29 Leo Liu <sdl.web@gmail.com>
795
796 * abbrev.el (define-abbrevs): Reset sys to nil.
797
96b49301 7982012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
799
bf7f9bc5
JB
800 * files.el (file-equal-p): Rename from `files-equal-p'.
801 Return nil when one or both files don't exist.
96b49301 802 (file-subdir-of-p): Now only top directory must exists,
803 return nil if it doesn't.
bf7f9bc5
JB
804 (copy-directory): No need to test with `file-subdir-of-p' after
805 creating dir.
806 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
807 to `file-equal-p'.
96b49301 808
44e97401
GM
8092012-02-28 Glenn Morris <rgm@gnu.org>
810
811 * shell.el (shell-mode):
812 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
813 * play/landmark.el (landmark-font-lock-face-O):
814 * play/handwrite.el (handwrite):
815 * play/gomoku.el (gomoku-O):
816 * net/browse-url.el (browse-url-browser-display):
817 * international/mule.el (define-charset):
818 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
819 * filesets.el (filesets-find-file-delay):
820 * eshell/em-xtra.el (eshell-xtra):
821 * eshell/em-unix.el (eshell-grep):
822 * emulation/viper.el (viper-mode):
823 * emacs-lisp/regexp-opt.el (regexp-opt-group):
824 * emacs-lisp/easymenu.el (easy-menu-define):
825 * calendar/timeclock.el (timeclock-use-display-time):
826 * bs.el (bs-mode):
827 * bookmark.el (bookmark-save-flag):
828 Doc fix (standardize possessive apostrophe usage).
829
c98c6276
CY
8302012-02-27 Chong Yidong <cyd@gnu.org>
831
bf7f9bc5
JB
832 * emulation/viper-cmd.el (viper-intercept-ESC-key):
833 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 834
c98c6276
CY
835 * font-lock.el (font-lock-specified-p): Rename from
836 font-lock-spec-present. Callers changed.
837
9c62cd04 8382012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 839
bf7f9bc5
JB
840 * emacs-lisp/package.el (package-compute-transaction):
841 Handle holding a package version to t in package-load-list.
8ac9e529 842
530739c9
MA
8432012-02-26 Michael Albinus <michael.albinus@gmx.de>
844
845 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
846 (tramp-get-inode, tramp-get-device): Use cached values.
847
487915d7
AM
8482012-02-26 Alan Mackenzie <acm@muc.de>
849
850 Check there is a font-lock specification before doing initial
851 fontification.
852
853 * font-core.el (font-lock-mode): Move the conditional from
854 :after-hook to font-lock-initial-fontify.
855 (font-lock-default-function): Move the check for a specification
856 to font-lock-spec-present.
857
dc9924b8 858 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
859 (font-lock-spec-present): New function.
860
4fd96557
JB
8612012-02-26 Jim Blandy <jimb@red-bean.com>
862
863 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
864 (gdb-send): Apply it to the operand of the '-interpreter-exec
865 console' command, so that we can pass arguments with (say) quotes
866 in them. Store exact string sent in gdb-debug-log (Bug#10765).
867
9a4888c0
CY
8682012-02-26 Chong Yidong <cyd@gnu.org>
869
07498861
CY
870 * help-fns.el (describe-function-1): Clarify description of
871 remapping (Bug#10844).
872
9a4888c0
CY
873 * files.el (files-equal-p): Doc fix.
874 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
875 and quit the loop once a mismatch is found.
876
ea8fb88d
JB
8772012-02-25 Juanma Barranquero <lekktu@gmail.com>
878
879 * bs.el (bs--show-with-configuration): Don't throw an error
880 if the window cannot be split; otherwise, subsequent calls to
881 bs-show fail, restoring a stale window config. (Bug#10882)
882
525795c1
JD
8832012-02-25 Jan Djärv <jan.h.d@swipnet.se>
884
885 * term/ns-win.el (global-map): Bind ns-drag-file to
886 ns-find-file (Bug#5855, Bug#10050).
887
f008086f
AS
8882012-02-25 Andreas Schwab <schwab@linux-m68k.org>
889
890 * calendar/parse-time.el (parse-time-string): Allow extractor to
891 return nil.
892
a3fcfa99
MA
8932012-02-25 Michael Albinus <michael.albinus@gmx.de>
894
91027d08
JB
895 * net/tramp.el (tramp-file-name-for-operation):
896 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
897
898 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
899 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
900 Add COPY-CONTENTS argument.
a3fcfa99 901
67b0de11
CY
9022012-02-25 Chong Yidong <cyd@gnu.org>
903
904 Add custom groups for VC backends, for consistency with vc-bzr.
905
906 * vc/vc-arch.el (vc-arch):
907 * vc/vc-cvs.el (vc-cvs):
908 * vc/vc-git.el (vc-git):
909 * vc/vc-hg.el (vc-hg):
910 * vc/vc-mtn.el (vc-mtn):
911 * vc/vc-rcs.el (vc-rcs):
912 * vc/vc-sccs.el (vc-sccs):
913 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
914 All relevant defcustoms reassigned.
915
3c9dfce6
CY
9162012-02-25 Chong Yidong <cyd@gnu.org>
917
1339bf43
CY
918 * newcomment.el (comment-styles): Add autoload (Bug#10868).
919
3c9dfce6
CY
920 * term/x-win.el (x-initialize-window-system): Reduce default for
921 x-selection-timeout to 5 seconds (Bug#8869).
922
53a46cd0 9232012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 924
53a46cd0 925 * files.el (file-subdir-of-p): Fix typo.
14a8a663 926
25b2e303 9272012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
928
ec70a47d
GM
929 * files.el (files-equal-p, file-subdir-of-p): New functions.
930 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 931 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
932 * dired-aux.el (dired-copy-file-recursive): Same.
933 (dired-create-files): Modify destination when source is equal to
934 dest when copying files.
53a46cd0 935 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 936
914260cd
MA
9372012-02-24 Michael Albinus <michael.albinus@gmx.de>
938
939 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
940 (Bug#10874)
941
2cb228f7
AM
9422012-02-23 Alan Mackenzie <acm@muc.de>
943
944 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
945 parameter "after-hook:" to allow the expansion to run code after
946 the execution of the mode hooks.
947
948 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 949 from font-lock-mode-internal.
2cb228f7 950
91027d08 951 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
952 :after-hook.
953
8f0fde21
SM
9542012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
955
3e88618b
SM
956 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
957 (completion--cache-all-sorted-completions): New function.
958 (completion-all-sorted-completions): Use it.
959 (completion--do-completion, minibuffer-force-complete):
960 Use it to re-instate the flush hook.
961
8f0fde21
SM
962 * icomplete.el (icomplete-completions): Replace last fix with a better
963 one (bug#10850).
964
8e911f6f
DG
9652012-02-23 Dmitry Gutov <dgutov@yandex.ru>
966
967 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
968 when it might call us back infinitely (bug#10797).
969
49fe4321
GM
9702012-02-23 Glenn Morris <rgm@gnu.org>
971
972 * minibuffer.el (completion-category-overrides): Doc fix.
973
b291b572
SM
9742012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * minibuffer.el (completion-table-with-context): Fix inf-loop.
977 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
978
31a9ef2e
GM
9792012-02-23 Glenn Morris <rgm@gnu.org>
980
5e6e6794 981 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
982 (authors-obsolete-files-regexps, authors-ignored-files)
983 (authors-ambiguous-files, authors-renamed-files-alist):
984 Add more entries.
985
0bd1e074
JL
9862012-02-23 Juri Linkov <juri@jurta.org>
987
988 * isearch.el (isearch-occur): Sync interactive spec with occur's
989 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
990
b617673c
JL
991 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
992
19e9789e
JL
9932012-02-22 Juri Linkov <juri@jurta.org>
994
995 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
996 (ucs-insert): Doc fix. Check for hex digits in the string.
997 Don't display `nil' in the error message. (Bug#10857)
998
f41ce09d
AM
9992012-02-22 Alan Mackenzie <acm@muc.de>
1000
7a71b18d 1001 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1002
ac2eceee
GM
10032012-02-22 Glenn Morris <rgm@gnu.org>
1004
1005 * ffap.el (ffap-c-path):
1006 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1007
abd1f678
CY
10082012-02-22 Chong Yidong <cyd@gnu.org>
1009
1010 * custom.el (load-theme): Doc fix.
1011
f25aef2e
GM
10122012-02-22 Glenn Morris <rgm@gnu.org>
1013
1014 * dired-x.el (dired-guess-shell-alist-default):
1015 Remove escape sequences from nroff output. (Bug#172)
1016
5f8dc2ca
GM
10172012-02-21 Glenn Morris <rgm@gnu.org>
1018
6ff86ec4
GM
1019 * vc/emerge.el (emerge-defvar-local):
1020 Set `permanent-local' property rather than unused `preserved'.
1021
be3223a3 1022 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1023 (picture-mode-map): Use it. (Bug#10860)
1024 (picture-mode): Doc fix.
1025
3fe58f4f
JB
10262012-02-21 Juanma Barranquero <lekktu@gmail.com>
1027
1028 * newcomment.el (uncomment-region-default): Remove unused binding.
1029
f9a998c3
GM
10302012-02-21 Glenn Morris <rgm@gnu.org>
1031
1032 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1033 (picture-self-insert, picture-tab-chars): Doc fix.
1034 (picture-mode-map): Fix C-a, C-e.
1035
c6029348
GM
10362012-02-20 Glenn Morris <rgm@gnu.org>
1037
1038 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1039
ab1ce9d7
LL
10402012-02-20 Leo Liu <sdl.web@gmail.com>
1041
1042 * icomplete.el (icomplete-completions): Check FROM arg before
1043 passing to substring (Bug#10850).
1044
0fd40f89
CY
10452012-02-19 Chong Yidong <cyd@gnu.org>
1046
1047 * comint.el: Require ansi-color.
1048 (comint-output-filter-functions): Add ansi-color-process-output.
1049
1050 * ansi-color.el: Don't set comint-output-filter-functions; it is
1051 now in the initial value defined in comint.el.
1052 (ansi-color-apply-face-function): New variable.
1053 (ansi-color-apply-on-region): Use it.
1054 (ansi-color-apply-overlay-face): New function.
1055
1056 * shell.el (shell): No need to require ansi-color.
1057 (shell-mode): Use ansi-color-apply-face-function to highlight
1058 color escapes using font-lock-face property (Bug#10835).
1059
20af2394
CY
10602012-02-19 Chong Yidong <cyd@gnu.org>
1061
1062 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1063 mode-line formats (Bug#10839).
1064
e23a3fbe
GM
10652012-02-18 Glenn Morris <rgm@gnu.org>
1066
b474519e
GM
1067 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1068
1069 * mail/undigest.el (unforward-rmail-message): Doc fix.
1070
e23a3fbe
GM
1071 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1072
57939ff4
EZ
10732012-02-18 Eli Zaretskii <eliz@gnu.org>
1074
1075 * international/characters.el (script-list): Sync with the latest
1076 Unicode Character Database.
1077
0c23686e
AS
10782012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1079
1080 * international/titdic-cnv.el: Remove duplicate coding tag.
1081 * language/cham.el: Likewise.
1082 * language/tai-viet.el: Likewise.
1083
6818b449
GM
10842012-02-18 Glenn Morris <rgm@gnu.org>
1085
1086 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1087 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1088 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1089 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1090 * calendar/holidays.el (holiday-bahai-holidays)
1091 (calendar-holidays, list-holidays):
1092 Use utf-8 Bahá'í in doc-strings, menus, etc.
1093
0311a3fc
TH
10942012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1095
1096 * saveplace.el (save-place-ignore-files-regexp): New variable
1097 allowing for excluding files from saving their location of point.
1098 The default value matches the temporary commit message editing
1099 files from Git, SVN, Bazaar, and Mercurial.
1100 (save-place-to-alist): Use it.
1101
eb864a71
LM
11022012-02-17 Lawrence Mitchell <wence@gmx.li>
1103 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * newcomment.el (uncomment-region-default): Don't leave extra space
1106 when an arg is provided (bug#8150).
1107
ee0ce425
TZ
11082012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1109
eb864a71 1110 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1111
95ddf442
GM
11122012-02-17 Glenn Morris <rgm@gnu.org>
1113
1114 * net/socks.el: Require network-stream. (Bug#10599)
1115
48dd1e39 11162012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1117
1118 * international/charprop.el:
1119 * international/uni-name.el:
1120 * international/uni-old-name.el:
1121 * international/uni-comment.el: Regenerate.
1122
d68cd087
GM
11232012-02-16 Glenn Morris <rgm@gnu.org>
1124
1125 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1126 Interactively in calendar buffer, give an error if not on a date.
1127
13932042
GM
11282012-02-15 Glenn Morris <rgm@gnu.org>
1129
1130 * shell.el (shell-delimiter-argument-list):
1131 Revert 2011-02-17 change. (Bug#8027)
1132
c3a70e2b
CY
11332012-02-15 Chong Yidong <cyd@gnu.org>
1134
60236b0d
CY
1135 * minibuffer.el (completion-at-point-functions): Doc fix.
1136
c3a70e2b
CY
1137 * custom.el (defcustom): Doc fix; note use of defvar.
1138
9f26dc24
GM
11392012-02-15 Glenn Morris <rgm@gnu.org>
1140
1141 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1142 Doc fixes.
1143
6546b134
GM
11442012-02-14 Glenn Morris <rgm@gnu.org>
1145
1146 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1147
d29b2b4c
LI
11482012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1149
1150 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1151 way the ports list is computed.
835bdcba
LI
1152 (smtpmail-query-smtp-server): Prompt the user for a port number if
1153 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1154
08dcdbc9
TZ
11552012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1156
1157 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1158
2605051a
GM
11592012-02-13 Glenn Morris <rgm@gnu.org>
1160
1161 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1162
7ee99f32
TZ
11632012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1164
1165 * net/gnutls.el (gnutls-trustfiles): New variable.
1166 (gnutls-negotiate): Use it.
1167
5f0af64f
LI
11682012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1169
1170 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1171 does its stuff if Gnus is running.
1172
c14fcc95
AM
11732012-02-13 Alan Mackenzie <acm@muc.de>
1174
1175 Fix a loop in c-set-fl-decl-start.
1176
7a71b18d 1177 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1178 c-backward-syntactic-ws actually moves backwards.
1179
142b4d90
LL
11802012-02-13 Leo Liu <sdl.web@gmail.com>
1181
1182 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1183 beginning so that all \C-o chars are removed.
1184
fa9958a6
TZ
11852012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1186
dc9924b8 1187 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1188
0bc5886a
AM
11892012-02-12 Alan Mackenzie <acm@muc.de>
1190
1191 Fix infinite loop with long macros.
1192 * cc-engine.el (c-state-safe-place): Handle macros properly.
1193
d4bd55e7
CY
11942012-02-12 Chong Yidong <cyd@gnu.org>
1195
1196 * window.el (display-buffer): Doc fix (Bug#10785).
1197
66f3fe22
GM
11982012-02-12 Glenn Morris <rgm@gnu.org>
1199
bd7da63e
GM
1200 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1201 (x-disown-selection-internal, x-get-selection-internal):
1202 Sync docs with the xselect.c versions.
1203
66f3fe22
GM
1204 * allout-widgets.el: Add missing license notice.
1205
3e0d2fa7
GM
12062012-02-11 Glenn Morris <rgm@gnu.org>
1207
cfecdf09
GM
1208 * select.el (x-get-selection-internal, x-own-selection-internal)
1209 (x-disown-selection-internal):
1210 * x-dnd.el (x-get-selection-internal): Update declarations.
1211
6d216d7f
GM
1212 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1213
2bed3f04
GM
1214 * window.el (window-sides-slots):
1215 * tool-bar.el (tool-bar-position):
1216 * term/xterm.el (xterm-extra-capabilities):
1217 * ses.el (ses-self-reference-early-detection):
1218 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1219 (verilog-auto-wire-type)
1220 (verilog-auto-delete-trailing-whitespace)
1221 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1222 (verilog-auto-tieoff-declaration):
1223 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1224 (sql-oracle-statement-starters, sql-oracle-scan-on):
1225 * progmodes/prolog.el (prolog-align-comments-flag)
1226 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1227 (prolog-left-indent-regexp, prolog-paren-indent-p)
1228 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1229 (prolog-types, prolog-mode-specificators)
1230 (prolog-determinism-specificators, prolog-directives)
1231 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1232 (prolog-electric-dot-flag)
1233 (prolog-electric-dot-full-predicate-template)
1234 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1235 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1236 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1237 (prolog-program-switches, prolog-prompt-regexp)
1238 (prolog-debug-on-string, prolog-debug-off-string)
1239 (prolog-trace-on-string, prolog-trace-off-string)
1240 (prolog-zip-on-string, prolog-zip-off-string)
1241 (prolog-use-standard-consult-compile-method-flag)
1242 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1243 (prolog-imenu-max-lines, prolog-info-predicate-index)
1244 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1245 (prolog-char-quote-workaround):
1246 * progmodes/cc-vars.el (c-defun-tactic):
1247 * net/tramp.el (tramp-encoding-command-interactive)
1248 (tramp-local-end-of-line):
1249 * net/soap-client.el (soap-client):
1250 * net/netrc.el (netrc-file):
1251 * net/gnutls.el (gnutls):
1252 * minibuffer.el (completion-category-overrides)
1253 (completion-cycle-threshold)
1254 (completion-pcm-complete-word-inserts-delimiters):
1255 * man.el (Man-name-local-regexp):
1256 * mail/feedmail.el (feedmail-display-full-frame):
1257 * international/characters.el (glyphless-char-display-control):
1258 * eshell/em-ls.el (eshell-ls-date-format):
1259 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1260 (lisp-lambda-list-keyword-parameter-indentation)
1261 (lisp-lambda-list-keyword-parameter-alignment):
1262 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1263 * dired-x.el (dired-omit-verbose):
1264 * cus-theme.el (custom-theme-allow-multiple-selections):
1265 * calc/calc.el (calc-highlight-selections-with-faces)
1266 (calc-lu-field-reference, calc-lu-power-reference)
1267 (calc-note-threshold):
1268 * battery.el (battery-mode-line-limit):
1269 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1270 (archive-7z-update):
1271 * allout.el (allout-prefixed-keybindings)
1272 (allout-unprefixed-keybindings)
1273 (allout-inhibit-auto-fill-on-headline)
1274 (allout-flattened-numbering-abbreviation):
1275 * allout-widgets.el (allout-widgets-auto-activation)
1276 (allout-widgets-icons-dark-subdir)
1277 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1278 (allout-widgets-theme-dark-background)
1279 (allout-widgets-theme-light-background)
1280 (allout-widgets-item-image-properties-emacs)
1281 (allout-widgets-item-image-properties-xemacs)
1282 (allout-widgets-run-unit-tests-on-load)
1283 (allout-widgets-time-decoration-activity)
1284 (allout-widgets-hook-error-post-time)
1285 (allout-widgets-track-decoration):
1286 Add missing :version tags to new defcustoms and defgroups.
1287
5fec1b8e
GM
1288 * progmodes/sql.el (sql-ansi-statement-starters)
1289 (sql-oracle-statement-starters): Add custom type.
1290
3e0d2fa7
GM
1291 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1292 (prolog-system-version): Give it a type.
1293
90b671e2
EZ
12942012-02-11 Eli Zaretskii <eliz@gnu.org>
1295
1296 * term/pc-win.el (x-select-text, x-selection-owner-p)
1297 (x-own-selection-internal, x-disown-selection-internal)
1298 (x-get-selection-internal): Sync doc strings and argument lists
1299 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1300
5eac0c02
LL
13012012-02-11 Leo Liu <sdl.web@gmail.com>
1302
1303 * progmodes/python.el (python-end-of-statement): Fix infinite
1304 loop. (Bug#10788)
1305
f82cb659
GM
13062012-02-10 Glenn Morris <rgm@gnu.org>
1307
1308 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1309 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1310
cc26d239
LI
13112012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1312
1313 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1314 about SMTP before checking the From header.
1315
91027d08 1316 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1317 into own function for reuse by emacsbug.el.
1318
1be3ca5a
LL
13192012-02-10 Leo Liu <sdl.web@gmail.com>
1320
1321 * subr.el (condition-case-unless-debug): Rename from
1322 condition-case-no-debug. All callers changed.
1323 (with-demoted-errors): Fix caller.
1324
1325 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1326 * nxml/rng-valid.el (rng-do-some-validation):
1327 * emacs-lisp/package.el (package-refresh-contents)
1328 (package-menu-execute):
1329 * desktop.el (desktop-create-buffer):
91027d08 1330 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1331
b011fbfe
GM
13322012-02-10 Glenn Morris <rgm@gnu.org>
1333
b2096d72
GM
1334 * textmodes/bibtex.el:
1335 Add missing :version tags for new/changed defcustoms.
1336
b011fbfe
GM
1337 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1338
4c7e65bf
LI
13392012-02-09 Lars Ingebrigtsen <larsi@rusty>
1340
1341 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1342 (smtpmail-via-smtp): Use it, or fall back on the From address.
1343 (smtpmail-send-it): Ditto.
1344
f3934f6f
SM
13452012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1348 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1349 (byte-compile-tmp-var): New const.
1350 (byte-compile-defvar): Use it to minimize .elc size.
1351 Just use `defvar' rather than simulate it (bug#10761).
1352
a075a2c5
GM
13532012-02-09 Glenn Morris <rgm@gnu.org>
1354
cf3aa21b
GM
1355 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1356
354998cd
GM
1357 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1358 Add :version tags.
1359
dc9924b8
SM
1360 * progmodes/compile.el (compilation-error-screen-columns)
1361 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1362
dab3703d
GM
1363 * vc/log-view.el (log-view-toggle-entry-display):
1364 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1365
3f88cd72
GM
1366 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1367 (report-emacs-bug-can-use-xdg-email):
1368 (report-emacs-bug-insert-to-mailer): Doc fixes.
1369 (report-emacs-bug): Message fix.
1370
d95b247d
GM
1371 * net/browse-url.el (browse-url-can-use-xdg-open)
1372 (browse-url-xdg-open): Doc fixes.
1373
a075a2c5
GM
1374 * electric.el (electric-indent-mode, electric-pair-mode)
1375 (electric-layout-rules, electric-layout-mode): Doc fixes.
1376 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1377
ffb6157e
MR
13782012-02-08 Martin Rudalics <rudalics@gmx.at>
1379
1380 * server.el (server-unselect-display): Don't inadvertently kill
1381 the current buffer. (Bug#10729)
1382
e1ac4066
GM
13832012-02-08 Glenn Morris <rgm@gnu.org>
1384
34e8a2da
GM
1385 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1386 (sql-list-table): Doc fixes.
1387
b4ac6e8c
GM
1388 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1389 Comment out (does nothing).
1390
e1ac4066
GM
1391 * completion.el (dynamic-completion-mode):
1392 * dirtrack.el (dirtrack-debug-mode):
1393 * electric.el (electric-layout-mode):
1394 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1395 * face-remap.el (text-scale-mode, buffer-face-mode):
1396 * iimage.el (iimage-mode):
1397 * image-mode.el (image-transform-mode):
1398 * minibuffer.el (completion-in-region-mode):
1399 * scroll-lock.el (scroll-lock-mode):
1400 * simple.el (next-error-follow-minor-mode):
1401 * tar-mode.el (tar-subfile-mode):
1402 * tooltip.el (tooltip-mode):
1403 * vcursor.el (vcursor-use-vcursor-map):
1404 * wid-browse.el (widget-minor-mode):
1405 * emulation/tpu-edt.el (tpu-edt-mode):
1406 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1407 * international/iso-ascii.el (iso-ascii-mode):
1408 * language/thai-util.el (thai-word-mode):
1409 * mail/supercite.el (sc-minor-mode):
1410 * net/goto-addr.el (goto-address-mode):
1411 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1412 * progmodes/cwarn.el (cwarn-mode):
1413 * progmodes/flymake.el (flymake-mode):
1414 * progmodes/glasses.el (glasses-mode):
1415 * progmodes/hideshow.el (hs-minor-mode):
1416 * progmodes/pascal.el (pascal-outline-mode):
1417 * textmodes/enriched.el (enriched-mode):
1418 * vc/smerge-mode.el (smerge-mode):
1419 Doc fixes (minor mode argument).
1420
5e0d957f
EZ
14212012-02-07 Eli Zaretskii <eliz@gnu.org>
1422
1423 * ls-lisp.el (ls-lisp-sanitize): New function.
1424 (ls-lisp-insert-directory): Use it to fix or remove any elements
1425 in file-alist with missing attributes. (Bug#4673)
1426
98d7371e
AM
14272012-02-07 Alan Mackenzie <acm@muc.de>
1428
1429 Fix spurious recognition of c-in-knr-argdecl.
1430
1431 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1432 putative K&R region.
1433
667ced3a
AM
14342012-02-07 Alan Mackenzie <acm@muc.de>
1435
eb864a71
LM
1436 * progmodes/cc-engine.el (c-forward-objc-directive):
1437 Prevent looping in "#pragma mark @implementation".
667ced3a 1438
5b77774d
MA
14392012-02-07 Michael Albinus <michael.albinus@gmx.de>
1440
1441 * notifications.el (notifications-on-closed-signal): Make `reason'
1442 optional. (Bug#10744)
1443
af008560
GM
14442012-02-07 Glenn Morris <rgm@gnu.org>
1445
60d47423
GM
1446 * emacs-lisp/easy-mmode.el (define-minor-mode):
1447 Doc fixes for the macro and the mode it defines.
1448
dd605cc4
GM
1449 * image.el (imagemagick-types-inhibit): Doc fix.
1450
af008560
GM
1451 * cus-start.el (imagemagick-render-type): Add it.
1452
5cc59a37
LI
14532012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1454
1455 * progmodes/cc-mode.el
1456 (c-standard-font-lock-fontify-region-function): Set the default at
1457 load time, too, so that `font-lock-fontify-buffer' can be called
1458 without setting up the entire mode first. This fixes a bug in
1459 `mm-inline-text' with C MIME parts.
1460
9a6dd747
CY
14612012-02-06 Chong Yidong <cyd@gnu.org>
1462
2d16b285
CY
1463 * simple.el (list-processes--refresh): Delete exited processes
1464 (Bug#8094).
1465
171e9b6e
CY
1466 * comint.el (comint-next-prompt): next-single-char-property-change
1467 and prev-single-char-property-change never return nil (Bug#8657).
1468
9a6dd747
CY
1469 * custom.el (defcustom): Doc fix (Bug#9711).
1470
aa4589a7
CY
14712012-02-05 Chong Yidong <cyd@gnu.org>
1472
5c2a252f
CY
1473 * cus-edit.el (custom-variable-reset-backup): Quote the value
1474 before storing it in the customized-value property (Bug#6712).
4aab9006 1475 (custom-display): Add a customization type tag.
983b9602 1476 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1477
aa4589a7
CY
1478 * wid-edit.el (widget-field-value-get): New optional arg to
1479 suppress trailing whitespace truncation.
1480 (character): Use it (Bug#2689).
1481
1ff980ae
AS
14822012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1483
1484 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1485 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1486
03988c98
CY
14872012-02-05 Chong Yidong <cyd@gnu.org>
1488
eeb6cc88
CY
1489 * cus-edit.el (custom-variable-value-create): For mismatched
1490 types, show the current value (Bug#7600).
1491
03988c98
CY
1492 * custom.el (defcustom): Doc fix.
1493
f8cdeef0
GM
14942012-02-05 Glenn Morris <rgm@gnu.org>
1495
1496 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1497
0696d255
JB
14982012-02-05 Juanma Barranquero <lekktu@gmail.com>
1499
1500 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1501 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1502 (pp-last-sexp): Use `looking-at-p'.
1503
34c99998
GM
15042012-02-04 Glenn Morris <rgm@gnu.org>
1505
8f05da42
GM
1506 * files.el (revert-buffer):
1507 Doc fix (mention revert-buffer-in-progress-p).
1508
f160676e
GM
1509 * emacs-lisp/ert-x.el (ert-simulate-command):
1510 Check deferred-action-list (which is obsolete) is bound.
1511
c7291ad9
GM
1512 * subr.el (with-wrapper-hook): Doc fixes.
1513
34c99998
GM
1514 * simple.el (filter-buffer-substring-functions)
1515 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1516
6283a7d3
LL
15172012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1518
1519 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1520 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1521
e96e3013
LL
15222012-02-04 Leo Liu <sdl.web@gmail.com>
1523
1524 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1525
8ded50f2
GM
15262012-02-04 Glenn Morris <rgm@gnu.org>
1527
82ff1d13
GM
1528 * image.el (image-extension-data): Add obsolete alias.
1529
987a0a16
GM
1530 * isearch.el (isearch-update): Doc fix.
1531
ea32ef46
GM
1532 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1533
8ded50f2
GM
1534 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1535
eea14f31
GM
15362012-02-03 Glenn Morris <rgm@gnu.org>
1537
1538 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1539 (image-animate-timeout): Doc fix.
1540
1541 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1542
12f381b7
GM
15432012-02-02 Glenn Morris <rgm@gnu.org>
1544
953cebf5
GM
1545 * server.el (server-auth-dir): Doc fix.
1546 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1547
12f381b7
GM
1548 * subr.el (run-mode-hooks): Doc fix.
1549
953a8c3b
JL
15502012-02-02 Juri Linkov <juri@jurta.org>
1551
1552 * image-mode.el (image-toggle-display-image): Remove tautological
1553 `major-mode' from the `derived-mode-p' test.
1554
c5d3843c
KH
15552012-02-02 Kenichi Handa <handa@m17n.org>
1556
9f6e692e 1557 * composite.el (compose-region): Cancel previous change.
c5d3843c 1558
159462d4 15592012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1560
1561 * composite.el (compose-region, compose-string): Signal error for
1562 a null string component (Bug#6988).
1563
9f562668
CY
15642012-02-01 Chong Yidong <cyd@gnu.org>
1565
e2cef717
CY
1566 * view.el (view-buffer-other-window, view-buffer-other-frame):
1567 Handle special modes like view-buffer (Bug#10650).
1568 (view-buffer): Simplify.
1569
9f562668
CY
1570 * frame.el (set-frame-font): Tweak meaning of third argument.
1571
9f6e692e
JB
1572 * dynamic-setting.el (font-setting-change-default-font):
1573 Use set-frame-font (Bug#9982).
9f562668 1574
781acb9f
GM
15752012-02-01 Glenn Morris <rgm@gnu.org>
1576
6035be52
GM
1577 * progmodes/compile.el (compilation-internal-error-properties):
1578 Respect compilation-first-column in the "*compilation*" buffer.
1579
781acb9f
GM
1580 * emacs-lisp/easy-mmode.el (define-minor-mode):
1581 Relax :variable's test for a named function.
1582
abbceb00
AM
15832012-01-31 Alan Mackenzie <acm@muc.de>
1584
1585 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1586 off by one error.
1587
fce3fdeb
CY
15882012-01-31 Chong Yidong <cyd@gnu.org>
1589
1590 * frame.el (set-frame-font): New arg ALL-FRAMES.
1591
1592 * menu-bar.el (menu-set-font): Use set-frame-font.
1593
1594 * faces.el (face-spec-reset-face): Don't apply unspecified
1595 attribute values to the default face.
1596
47893581
JB
15972012-01-31 Juanma Barranquero <lekktu@gmail.com>
1598
1599 * progmodes/cwarn.el (cwarn): Remove dead link.
1600 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1601 Remove * from defcustom docstrings.
1602 (turn-on-cwarn-mode): Make obsolete.
1603 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1604 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1605
e58e988a
GM
16062012-01-31 Glenn Morris <rgm@gnu.org>
1607
60dc2671 1608 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1609 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1610 Allow named functions to be used as the cdr of :variable.
e58e988a 1611
7a3f511d
GM
16122012-01-30 Glenn Morris <rgm@gnu.org>
1613
1614 * emacs-lisp/authors.el (authors-fixed-entries):
1615 Remove reference to deleted file rnewspost.el.
1616
cb882333
JB
16172012-01-29 Juanma Barranquero <lekktu@gmail.com>
1618
1619 * window.el (window-with-parameter): Remove unused variable `windows'.
1620 (window--side-check): Remove unused variable `code'.
1621 (window--resize-siblings): Remove unused variable `first'.
1622 (adjust-window-trailing-edge): Remove unused variable `failed'.
1623 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1624 Use `let', not `let*'.
1625 (balance-windows-2): Remove unused variable `found'.
1626 (window--state-put-2): Remove unused variable `splits'.
1627 (window-state-put): Remove unused variable `selected'.
1628 (same-window-p): Use `string-match-p'.
1629 (display-buffer-assq-regexp): Remove unused variable `value'.
1630 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1631 Mark argument ALIST as ignored.
1632 (pop-to-buffer): Remove unused variable `old-window'.
1633
907201af
EZ
16342012-01-29 Eli Zaretskii <eliz@gnu.org>
1635
1636 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1637 and .lzma compressed files.
1638
ea162670
CY
16392012-01-29 Chong Yidong <cyd@gnu.org>
1640
5b95ee8a
CY
1641 * frame.el (window-system-default-frame-alist): Doc fix.
1642
ea162670
CY
1643 * dynamic-setting.el (font-setting-change-default-font): Don't
1644 change the default face if SET-FONT argument is non-nil (Bug#9982).
1645
d6e6f4b1
SB
16462012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1647
1648 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1649
0f29fa41 16502012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1651
1652 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1653 breakpoints in files outside current directory (Bug#6098).
1654
db174434
CY
16552012-01-29 Chong Yidong <cyd@gnu.org>
1656
6b25e4e2
SE
1657 * progmodes/python.el: Require ansi-color at top-level.
1658
6df6ae42
JB
1659 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1660 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1661 (lisp-mode-abbrev-table): Add doc.
1662 (lisp-mode-variables): Don't set local-abbrev-table.
1663 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1664
e70ee681
RW
16652012-01-28 Roland Winkler <winkler@gnu.org>
1666
1667 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1668
ace88aa2
RW
16692012-01-28 Roland Winkler <winkler@gnu.org>
1670
1671 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1672 (bibtex-set-dialect): Use it. Either set global values of
1673 dialect-dependent variables or bind these variables buffer-locally
1674 (Bug#10254).
1675 (bibtex-mode): Call bibtex-set-dialect via
1676 hack-local-variables-hook.
eb864a71
LM
1677 (bibtex-dialect): Update docstring.
1678 Add safe-local-variable predicate.
ace88aa2
RW
1679 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1680 bibtex-set-dialect.
1681 (bibtex-mode-map): Define menu for each dialect.
1682 (bibtex-entry): Fix docstring.
1683
93376c5b
CY
16842012-01-28 Chong Yidong <cyd@gnu.org>
1685
1686 * eshell/esh-arg.el (eshell-quote-argument): New function.
1687
1688 * eshell/esh-ext.el (eshell-invoke-batch-file):
1689 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1690 first arg to eshell-parse-command (Bug#10523).
1691
4372494f
DA
16922012-01-28 Drew Adams <drew.adams@oracle.com>
1693
1694 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1695 `default-directory' is non-nil.
1696
4d4ec1f8
EZ
16972012-01-28 Eli Zaretskii <eliz@gnu.org>
1698
1699 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1700 line that displays system-configuration-options. (Bug#9924)
1701
7c188927
DA
17022012-01-28 Drew Adams <drew.adams@oracle.com>
1703
1704 * descr-text.el (describe-char): Show information about POS, in
1705 addition to information about the character at POS. Improve and
1706 update the doc string. Change "code point" to "code point in
1707 charset", to avoid confusion with the character's Unicode code
1708 point shown above that. (Bug#10129)
1709
e0da685a
EZ
17102012-01-28 Eli Zaretskii <eliz@gnu.org>
1711
1712 * descr-text.el (describe-char): Show the raw character, not only
1713 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1714 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1715 for the reasons.
1716
70550acf
PH
17172012-01-28 Phil Hagelberg <phil@hagelb.org>
1718
eb864a71
LM
1719 * emacs-lisp/package.el (package-install):
1720 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1721
0ce8e868
CY
17222012-01-28 Chong Yidong <cyd@gnu.org>
1723
cb882333
JB
1724 * emacs-lisp/package.el (package-maybe-load-descriptor):
1725 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1726 (package-maybe-load-descriptor): Use it.
1727 (package-download-transaction): Fully load required packages
1728 inside the loop, so that `require' calls work (Bug#10593).
1729 (package-install): No need to call package-initialize now.
1730
2e7f3bea
CY
17312012-01-28 Chong Yidong <cyd@gnu.org>
1732
6e9bad14
CY
1733 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1734
f823b8ca
CY
1735 * tooltip.el (tooltip-mode): Doc fix.
1736 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1737
2680c309
CY
1738 * frame.el (set-cursor-color): Doc fix (Bug#352).
1739
d7a9e63b
CY
1740 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1741 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1742
2e7f3bea
CY
1743 * cus-edit.el (custom-buffer-create-internal): Fix search button
1744 action (Bug#10542).
2ae01800 1745 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1746
fc4f7a23
EW
17472012-01-27 Eduard Wiebe <usenet@pusto.de>
1748
1749 * dired.el (dired-mark-files-regexp):
1750 Include any subdirectory components. (Bug#10445)
1751
7dd37071
ML
17522012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1753
1754 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1755 Handle [host]:port syntax. (Bug#10533)
1756
a268160b
AH
17572012-01-27 Alex Harsanyi <harsanyi@mac.com>
1758
1759 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1760
e43273ef
GM
17612012-01-26 Glenn Morris <rgm@gnu.org>
1762
1763 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1764 * term.el (term-raw-escape-map): Use Control-X-prefix.
1765 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1766
1edf595d
MR
17672012-01-25 Martin Rudalics <rudalics@gmx.at>
1768
1769 * window.el (window-state-get, window--state-get-1): Don't deal
1770 with fixed-sizeness of windows. Simplify code.
1771
fa8eafef
JC
17722012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1773
6df6ae42
JB
1774 * window.el (window--state-get-1, window--state-put-2):
1775 Don't save and restore the mark.
fa8eafef 1776
0b21c100
CY
17772012-01-25 Chong Yidong <cyd@gnu.org>
1778
1779 * custom.el (custom-variable-p): Doc fix.
1780
5ae1a6c8
GM
17812012-01-25 Glenn Morris <rgm@gnu.org>
1782
40047858
GM
1783 * dired.el (dired-goto-file): Handle some of the more common
1784 characters that `ls -b' escapes. (Bug#10596)
1785
5ddce96c
GM
1786 * progmodes/compile.el (compilation-next-error-function):
1787 Respect compilation-first-column in the "*compilation*" buffer.
1788 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1789
5ae1a6c8
GM
1790 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1791
b559f1a9
GM
17922012-01-24 Glenn Morris <rgm@gnu.org>
1793
1794 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1795
6725d21a
JD
17962012-01-24 Julien Danjou <julien@danjou.info>
1797
1798 * color.el (color-rgb-to-hsl): Fix value computing.
1799 (color-hue-to-rgb): New function.
1800 (color-hsl-to-rgb): New function.
1801 (color-clamp, color-saturate-hsl, color-saturate-name)
1802 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1803 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1804
70df4bbe
GM
18052012-01-24 Glenn Morris <rgm@gnu.org>
1806
1807 * vc/vc-rcs.el (vc-rcs-create-tag):
1808 * vc/vc-sccs.el (vc-sccs-create-tag):
1809 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1810
802a2ae2
ML
18112012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1812
1813 * eshell/esh-util.el (eshell-read-hosts-file):
1814 Skip comment lines. (Bug#10549)
1815
d7128bb1
ML
1816 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1817
d1a5c3b4
JB
18182012-01-23 Juanma Barranquero <lekktu@gmail.com>
1819
2724d9c7
JB
1820 * subr.el (display-delayed-warnings): Doc fix.
1821 (collapse-delayed-warnings): New function to collapse identical
1822 adjacent warnings.
1823 (delayed-warnings-hook): Add it.
d1a5c3b4 1824
a5509865
MA
18252012-01-22 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1828
1829 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1830 properties, when "login-as" is set.
1831
1832 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1833 (tramp-default-user-alist): Don't add "pscp".
1834 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1835 property "login-as", if set. (Bug#10530)
1836
cc6d5805
MA
18372012-01-21 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1840 "plink1" and "psftp". (Bug#10530)
1841
18422012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1843
1844 * international/mule-cmds.el (prefer-coding-system): Show a
1845 warning message if the default value of file-name-coding-system
1846 was not changed.
1847
f0960428
JC
18482012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1849
cb882333
JB
1850 * windmove.el (windmove-reference-loc):
1851 Fix windmove-reference-loc miscalculation.
f0960428 1852
dd6f2a63
JB
18532012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1854
1855 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1856 default unit.
1857
7b447e9b
GM
18582012-01-21 Glenn Morris <rgm@gnu.org>
1859
117a9ea1
GM
1860 * international/mule.el (auto-coding-alist): Add .tbz.
1861
7b447e9b
GM
1862 * files.el (local-enable-local-variables): Doc fix.
1863 (inhibit-local-variables-regexps): Rename from
1864 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1865 Doc fix. Add some extensions from auto-coding-alist.
1866 (inhibit-local-variables-suffixes):
1867 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1868 (inhibit-local-variables-p):
1869 New function, extracted from set-auto-mode-1.
1870 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1871 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1872 (hack-local-variables): Doc fix. Make the mode-only case
1873 respect enable-local-variables and friends.
1874 Respect inhibit-local-variables-regexps for file-locals, but
1875 not for directory-locals.
1876 (set-visited-file-name):
1877 Take account of inhibit-local-variables-regexps.
1878 Whether it applies may change as the file name is changed.
1879 * jka-cmpr-hook.el (jka-compr-install):
1880 * jka-compr.el (jka-compr-uninstall):
1881 Update for inhibit-first-line-modes-suffixes name change.
1882
dd6e3cdd
MR
18832012-01-20 Martin Rudalics <rudalics@gmx.at>
1884
1885 * help-macro.el (make-help-screen): Temporarily restore original
1886 binding for minor-mode-map-alist (Bug#10454).
1887
0d0deb38
JD
18882012-01-19 Julien Danjou <julien@danjou.info>
1889
1890 * color.el (color-name-to-rgb): Use the white color to find the max
1891 color component value and return correctly computed values.
1892 (color-name-to-rgb): Add missing float conversion for max value.
1893
34a02f46
MR
18942012-01-19 Martin Rudalics <rudalics@gmx.at>
1895
1896 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1897 special state value for window-persistent-parameters.
1898 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1899 (window--state-put-2): Reset all window parameters to nil before
1900 assigning values of persistent parameters.
1901
606c44c4
AM
19022012-01-18 Alan Mackenzie <acm@muc.de>
1903
1904 Eliminate sluggishness and hangs in fontification of "semicolon
1905 deserts".
1906
cb882333
JB
1907 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1908 Change value 10000 -> 3000.
606c44c4
AM
1909 (c-state-safe-place): Reformulate so it doesn't stack up an
1910 infinite number of wrong entries in c-state-nonlit-pos-cache.
1911 (c-determine-limit-get-base, c-determine-limit): New functions to
1912 determine backward search limits disregarding literals.
1913 (c-find-decl-spots): Amend commenting.
1914 (c-cheap-inside-bracelist-p): New function which detects "={".
1915
1916 * progmodes/cc-fonts.el
1917 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1918 backward search.
1919 (c-font-lock-declarations): Fix an occurrence of point being
1920 undefined. Check additionally for point being in a bracelist or
1921 near a macro invocation without a semicolon so as to avoid a
1922 fruitless time consuming search for a declarator. Give a more
1923 precise search limit for declarators using the new
1924 c-determine-limit.
1925
f3860cea
GM
19262012-01-18 Glenn Morris <rgm@gnu.org>
1927
1928 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1929 (set-auto-mode): Doc fixes.
1930
1db03b16
GM
19312012-01-17 Glenn Morris <rgm@gnu.org>
1932
0e6038be
GM
1933 * isearch.el (search-nonincremental-instead): Fix doc typo.
1934
1db03b16
GM
1935 * dired.el (dired-insert-directory): Handle newlines in directory name.
1936 (dired-build-subdir-alist): Unescape newlines in directory name.
1937
4cb0aa75
MA
19382012-01-17 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1941 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1942 (tramp-action-terminal): Use it. (Bug#10530)
1943
1d00653d
SM
19442012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1947
6a6ee00d
MR
19482012-01-16 Martin Rudalics <rudalics@gmx.at>
1949
1950 * window.el (window-state-ignored-parameters): Remove variable.
1951 (window--state-get-1): Rename argument MARKERS to IGNORE.
1952 Handle persistent window parameters. Make copy of clone-of
1953 parameter only if requested. (Bug#10348)
1954 (window--state-put-2): Install a window parameter only if it has
1955 a non-nil value or an existing parameter shall be overwritten.
1956
97912def
MA
19572012-01-15 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1960
688070a5
EZ
19612012-01-14 Eli Zaretskii <eliz@gnu.org>
1962
1963 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1964 don't pass the (nil) value of `upnode' to string-match.
1965
301afadc
CY
19662012-01-14 Chong Yidong <cyd@gnu.org>
1967
1968 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1969 Fix values recognized by the cursorBlink resource.
301afadc 1970
9e5788aa
PE
19712012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1972
1973 * epg.el (epg--make-temp-file): Avoid permission race condition
1974 when running on old Emacs versions (bug#10403).
1975
3cdb7f5a
GM
19762012-01-14 Glenn Morris <rgm@gnu.org>
1977
1978 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1979
8c82b1b4
AM
19802012-01-13 Alan Mackenzie <acm@muc.de>
1981
1982 Fix filling for when filladapt mode is enabled.
1983
1984 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1985 c-mask-paragraph, pass in `fill-paragraph' rather than
1986 `fill-region-as-paragraph'. (This is a reversion of a previous
1987 change.)
eb864a71
LM
1988 * progmodes/cc-mode.el (c-basic-common-init):
1989 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1990
e517eda4
GM
19912012-01-13 Glenn Morris <rgm@gnu.org>
1992
1498536e
GM
1993 * dired.el (dired-switches-escape-p): New function.
1994 (dired-insert-directory): Use dired-switches-escape-p.
1995 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1996
e517eda4
GM
1997 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1998
328f984d
GM
19992012-01-12 Glenn Morris <rgm@gnu.org>
2000
2001 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2002 changes in adaptive-fill-regexp. (Bug#10276)
2003
2cc769a8
AM
20042012-01-11 Alan Mackenzie <acm@muc.de>
2005
2006 Fix Emacs bug #10463 - put `widen's around the critical spots.
2007
1d00653d 2008 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2009 widen around each invocation of c-state-pp-to-literal. Remove an
2010 unused let variable.
2011
e52c37fa
GM
20122012-01-11 Glenn Morris <rgm@gnu.org>
2013
2014 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2015 Doc fix.
e52c37fa 2016
96f8741e
CY
20172012-01-10 Chong Yidong <cyd@gnu.org>
2018
1d00653d
SM
2019 * net/network-stream.el (network-stream-open-starttls):
2020 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2021 response to the capability command.
2022
b09a806e
GM
20232012-01-10 Glenn Morris <rgm@gnu.org>
2024
2025 * mail/unrmail.el (unrmail): Tweak previous change.
2026
7655cb66
CY
20272012-01-09 Chong Yidong <cyd@gnu.org>
2028
2029 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2030
9d5a8f0b
AM
20312012-01-08 Alan Mackenzie <acm@muc.de>
2032
2033 Optimise font locking in long enum definitions.
2034
2035 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2036 arm to a cond form to handle enums.
2037 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2038 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2039
9a0115ab 20402012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2041
2042 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2043 (Bug#10401)
6bb72cbd 2044
f186bb95
LMI
20452012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2046
29232a68
LMI
2047 * faces.el (set-face-attribute): Clarify the meaning of the nil
2048 frame (bug#10294).
2049
4e5d086d
LMI
2050 * subr.el (with-selected-frame): Mention that the selected frame
2051 is restored (bug#9980).
2052
8e66aebe
LMI
2053 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2054 (bug#9759).
2055
cd394be1 2056 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2057 (password-read): Don't autoload unused function.
2058
adf4e762
JB
20592012-01-07 Juanma Barranquero <lekktu@gmail.com>
2060
2061 * progmodes/which-func.el (which-func-mode): Turn into a
2062 non-interactive function and mark as obsolete (bug#10428).
2063
89bd9ccd
CY
20642012-01-06 Chong Yidong <cyd@gnu.org>
2065
2066 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2067 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2068 functions, along with 1 and -1.
2069
4afee9d5
EZ
20702012-01-06 Eli Zaretskii <eliz@gnu.org>
2071
2072 * time.el (display-time-load-average)
2073 (display-time-default-load-average): Doc fixes. See the thread
2074 starting at
2075 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2076 for the details.
2077
536aea70
GM
20782012-01-06 Glenn Morris <rgm@gnu.org>
2079
665ae865
GM
2080 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2081 has no messages. (Bug#10377)
2082
c869783d
GM
2083 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2084 than Info-edit. (Bug#10385)
2085
2bb4227e
GM
2086 * time.el (display-time-load-average, display-time-next-load-average):
2087 Doc fixes.
2088
7d5944b9
GM
2089 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2090 local setting of buffer-read-only to the input buffer. (Bug#10419)
2091
536aea70
GM
2092 * calendar/calendar.el (calendar-mode):
2093 Locally set scroll-margin to 0. (Bug#10379)
2094
7dccca16
UM
20952012-01-06 Ulrich Mueller <ulm@gentoo.org>
2096
2097 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2098
afbb7930
GM
20992012-01-05 Glenn Morris <rgm@gnu.org>
2100
2101 * eshell/em-unix.el (diff-no-select): Autoload it.
2102 (eshell/diff): Use diff-no-select. (Bug#10420)
2103
04482335
CY
21042012-01-05 Chong Yidong <cyd@gnu.org>
2105
7baca3bc
CY
2106 * shell.el (shell-dynamic-complete-functions): Revert last change.
2107 (shell-command-completion-function): New function.
2108 (shell-completion-vars): Use it to implement
2109 shell-completion-execonly (Bug#10417).
2110
04482335
CY
2111 * custom.el (enable-theme): Don't set custom-safe-themes.
2112
1d00653d
SM
2113 * cus-theme.el (custom-theme-merge-theme):
2114 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2115
bb5aa5d6
MM
21162012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2117
2118 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2119 first prompt in `sql-interacive-mode'.
2120 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2121 keywords.
6df6ae42 2122 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2123 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2124 context of original buffer. Invoke `sql-login-hook'.
2125
a7183d7c
EZ
21262012-01-04 Eli Zaretskii <eliz@gnu.org>
2127
2128 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2129 letters in cite-prefix.
2130
a1eacd1e
LMI
21312012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2132
2133 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2134
787cdb34
CY
21352012-01-03 Chong Yidong <cyd@gnu.org>
2136
1d00653d
SM
2137 * shell.el (shell-dynamic-complete-functions):
2138 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2139 comint-filename-completion first (Bug#10417).
2140
30710442
RS
21412012-01-02 Richard Stallman <rms@gnu.org>
2142
2143 * battery.el (battery-status-function):
2144 Detect when to use battery-yeeloong-sysfs.
2145 (battery-echo-area-format): Add string for Yeeloong.
2146 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2147 (battery-yeeloong-sysfs): New function.
2148
f75bfc33
CY
21492012-01-02 Chong Yidong <cyd@gnu.org>
2150
2151 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2152 (dirtrack): Merge code for handling relative filenames in prompt
2153 from shell-dir-cookie-watcher.
2154 (dirtrack-debug-message): New arg to avoid excess format calls.
2155
2156 * shell.el (shell-dir-cookie-re): Variable deleted.
2157 (shell-dir-cookie-watcher): Function deleted.
2158 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2159 with dirtrack-mode.
2160
651e947e
EZ
21612012-01-01 Eli Zaretskii <eliz@gnu.org>
2162
1d00653d
SM
2163 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2164 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2165 libgnutls-26.dll.
2166
94d4c7dc
AS
21672011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2168
2169 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2170
8d43f3cd
EZ
21712011-12-31 Eli Zaretskii <eliz@gnu.org>
2172
2173 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2174 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2175
98c8795a
MA
21762011-12-29 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2179 also for alternative shells.
2180 (tramp-open-connection-setup-interactive-shell): Check, whether
2181 the shell is a busybox.
2182 (tramp-send-command): Don't suppress multiple prompts for
2183 busyboxes, it hurts.
2184
51281b32
CY
21852011-12-28 Chong Yidong <cyd@gnu.org>
2186
2187 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2188 (gdb-get-source-file): Move mode line update to
2189 gdb-get-source-file (Bug#10087).
2190
2170cb53
CY
21912011-12-25 Chong Yidong <cyd@gnu.org>
2192
2193 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2194 gud-gdb-marker-filter without taking it as an argument.
2195 (gud-gdb-run-command-fetch-lines): Caller changed.
2196 (gud-gdb-completion-function): New variable.
2197 (gud-gdb-completion-at-point): Use it.
2198 (gud-gdb-completions-1): Split from gud-gdb-completions.
2199
2200 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2201 function as separate arguments.
2202 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2203 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2204 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2205 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2206 (gdb-stopped, def-gdb-auto-update-trigger)
2207 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2208 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2209 Callers changed.
2170cb53
CY
2210 (gud-gdbmi-completions): New function.
2211 (gdb): Use it for generating the completion table.
2212
be8b11bb
AM
22132011-12-24 Alan Mackenzie <acm@muc.de>
2214
2215 Introduce a mechanism to widen the region used in context font
1d00653d 2216 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2217
1d00653d
SM
2218 * progmodes/cc-langs.el (c-before-font-lock-functions):
2219 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2220 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2221 functions to be run just before context (etc.) font locking.
2222
2223 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2224 New, functionality extracted from
be8b11bb 2225 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2226 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2227 (c-after-change): Set c-in-after-change-fontification.
2228 (c-set-fl-decl-start): Rejig its interface, so it can be called
2229 from both after-change and context fontifying.
b81d40f0
JB
2230 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2231 New functions.
2232 (c-standard-font-lock-fontify-region-function): New variable.
2233 (c-font-lock-fontify-region): New function.
be8b11bb 2234
341cf6ac
JL
22352011-12-24 Juri Linkov <juri@jurta.org>
2236
2237 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2238 (Bug#10348)
2239
bffcee0a
MA
22402011-12-23 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2243 existence of source file. (Bug#10325)
2244
cb5e207c
AM
22452011-12-23 Alan Mackenzie <acm@muc.de>
2246
2247 Fix unstable fontification inside templates.
2248
b81d40f0
JB
2249 * progmodes/cc-langs.el (c-before-font-lock-functions):
2250 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2251 additionally has c-set-fl-decl-start. The other languages (apart
2252 from AWK) have that as a single entry.
2253
b81d40f0
JB
2254 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2255 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2256 c-set-fl-decl-start.
2257
b81d40f0
JB
2258 * progmodes/cc-mode.el (c-common-init, c-after-change):
2259 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2260 (c-set-fl-decl-start): New function, extracted from
2261 c-font-lock-enclosing-decls and enhanced.
2262
60ff536c
JB
22632011-12-23 Juanma Barranquero <lekktu@gmail.com>
2264
2265 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2266
1c4757d6
JL
22672011-12-22 Juri Linkov <juri@jurta.org>
2268
2269 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2270
d031f2c7
CY
22712011-12-22 Chong Yidong <cyd@gnu.org>
2272
2273 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2274
bace743a
DA
22752011-12-21 Drew Adams <drew.adams@oracle.com>
2276
2277 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2278
728a1f2b
JC
22792011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2280
2281 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2282
0d373f73
TZ
22832011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2284
fec0aaa4
TZ
2285 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2286 highlighting and support. Fix up comments for capitalization.
2287 (cfengine-mode-debug): New var.
2288 (cfengine3-mode): Change the modeline indicator to "CFE3".
2289 (cfengine3-font-lock-keywords): Improve defun highlighting.
2290 (cfengine2-actions): Rename from `cfengine-actions'.
2291 (cfengine2-font-lock-keywords): Rename from
2292 `cfengine-font-lock-keywords'.
2293 (cfengine2-imenu-expression): Rename from
2294 `cfengine-imenu-expression'.
2295 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2296 (cfengine2-beginning-of-defun): Rename from
2297 `cfengine-beginning-of-defun'.
2298 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2299 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2300 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2301 modeline indicator to "CFE2".
2302 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2303 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2304
bc86f573
CY
23052011-12-21 Chong Yidong <cyd@gnu.org>
2306
2307 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2308 filename argument.
2309
d45ba96b
MR
23102011-12-20 Martin Rudalics <rudalics@gmx.at>
2311
2312 * window.el (window-normalize-buffer-to-display): Remove.
2313 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2314
a6198c90
CY
23152011-12-19 Chong Yidong <cyd@gnu.org>
2316
2317 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2318 Don't signal an error in a predicate function; return non-nil.
2319 (vc-dir-mark-file): Move the error here.
2320 (vc-dir-mark-unmark): If acting on the region, keep going if one
2321 of the entries cannot be marked/unmarked.
2322 (vc-dir-mark-all-files): If current entry is a directory, mark
2323 only child files, as documented.
2324
34c5fb55
VB
23252011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2326
2327 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2328 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2329 addition.
2330
c803b2b7
JD
23312011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2332
2333 * term/ns-win.el (ns-get-selection-internal)
2334 (ns-store-selection-internal): Declare.
1154d12e
JB
2335 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2336 Declare as obsolete.
2337 (ns-get-pasteboard, ns-paste-secondary):
2338 Use ns-get-selection-internal.
2339 (ns-set-pasteboard, ns-copy-including-secondary):
2340 Use ns-store-selection-internal.
c803b2b7 2341
9cff91f8 23422011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2343
2344 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2345 (vc-deduce-fileset): Doc fix.
99a289d9 2346
f16c898a
AS
23472011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2348
2349 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2350
763237c4
SS
23512011-12-13 Sam Steingold <sds@gnu.org>
2352
2353 * man.el (Man-getpage-in-background): When running under a
2354 window-system, ignore $MANWIDTH and $COLUMNS.
2355
5fc1c122
KH
23562011-12-15 Kenichi Handa <handa@m17n.org>
2357
2358 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2359 (setup-ethiopic-environment-internal): Comment out key-binding for
2360 ethio-toggle-punctuation.
2361
13d49cbb
AM
23622011-12-13 Alan Mackenzie <acm@muc.de>
2363
898169a2
AM
2364 Add the switch statement to AWK Mode.
2365
7a71b18d 2366 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2367 "default" to the keywords regexp.
2368
7a71b18d 2369 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2370 expression as the rest.
1d00653d
SM
2371 (c-nonlabel-token-key): Allow string literals for AWK.
2372 Refactor for the other modes.
898169a2 2373
13d49cbb 2374 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2375 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2376 routines. Limit backward searching in c-font-lock-enclosing.decl.
2377
2378 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2379 pp-state and literal type in addition to the limits.
1d00653d 2380 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2381 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2382 (c-slow-in-literal, c-fast-in-literal): Remove.
2383 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2384
2385 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2386 being in a literal. Add a limit for backward searching.
2387
2388 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2389 c-slow-in-literal.
2390
15e0efc7
SM
23912011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2394
454592a6
MR
23952011-12-13 Martin Rudalics <rudalics@gmx.at>
2396
2397 * window.el (delete-other-windows): Use correct frame in call to
2398 window-with-parameter.
2399
87393f26
DP
24002011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2401
2402 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2403 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2404 (makefile-gmake-statements, makefile-makepp-statements):
2405 Use it and add new makepp keywords.
2406 (makefile-makepp-font-lock-keywords): Add new patterns.
2407 (makefile-match-function-end): Match new [...] and [[...]].
2408
11636b22
JB
24092011-12-11 Juanma Barranquero <lekktu@gmail.com>
2410
2411 * ses.el (ses-call-printer-return, ses-cell-property-get)
2412 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2413 (ses-create-cell-variable, ses-reset-header-string)
2414 (ses-cell-set-formula, ses-repair-cell-reference-all)
2415 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2416 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2417 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2418 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2419 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2420 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2421 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2422 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2423 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2424 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2425 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2426 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2427
cf018193
VB
24282011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2429
2430 * ses.el: The overall change is to add cell renaming, that is
2431 setting fancy names for cell symbols other than name matching
2432 "\\`[A-Z]+[0-9]+\\'" regexp .
2433 (ses-create-cell-variable): New defun.
2434 (ses-relocate-formula): Relocate formulas only for cells the
2435 symbols of which are not renamed, i.e. symbols whose names do not
2436 match regexp "\\`[A-Z]+[0-9]+\\'".
2437 (ses-relocate-all): Relocate values only for cells the symbols of
2438 which are not renamed.
2439 (ses-load): Create cells variables as the (ses-cell ...) are read,
2440 in order to check row col consistency with cell symbol name only
2441 for cells that are not renamed.
2442 (ses-replace-name-in-formula): New defun.
2443 (ses-rename-cell): New defun.
2444
ee957461
CY
24452011-12-11 Chong Yidong <cyd@gnu.org>
2446
2447 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2448 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2449
9a9e9ef0
MR
24502011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2451
2452 * window.el (other-window): Fix docstring.
2453
92a8eba5
EZ
24542011-12-10 Eli Zaretskii <eliz@gnu.org>
2455
2456 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2457 `from' or `to' address before taking its substring.
2458 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2459 encoded name is chopped in the middle of the encoded string, and
2460 thus displayed encoded.
2461
e152e577
JB
24622011-12-10 Juanma Barranquero <lekktu@gmail.com>
2463
2464 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2465
e5d84bfe
EZ
24662011-12-10 Eli Zaretskii <eliz@gnu.org>
2467
2468 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2469 to use texinfo-update-node and commands that call it if the
2470 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2471 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2472 (texinfo-all-menus-update, texinfo-master-menu)
2473 (texinfo-update-node, texinfo-every-node-update)
2474 (texinfo-multiple-files-update): Doc fix. Warn against updating
2475 all the @node lines.
2476 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2477 argument is numeric. Explain better in the doc string what the
2478 function really does.
2479 (texinfo-insert-master-menu-list): Improve the error message
2480 displayed if there's no menu in the Top node.
2481 (Bug#2975) See also this thread:
e5d84bfe
EZ
2482 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2483
1d84e9bb
MG
24842011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2485
2486 * speedbar.el (speedbar-supported-extension-expressions):
2487 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2488
382c953b
JB
24892011-12-09 Juanma Barranquero <lekktu@gmail.com>
2490
2491 * printing.el (pr-mode-alist):
2492 * simple.el (filter-buffer-substring-functions)
2493 (completion-list-insert-choice-function):
2494 * window.el (window-with-parameter, window-atom-root)
2495 (window-sides-slots, window-size-fixed, window-min-delta)
2496 (window-max-delta, window--resize-mini-window)
2497 (window--resize-child-windows-normal, window-tree)
2498 (delete-other-windows, quit-window, split-window)
2499 (display-buffer-record-window, special-display-buffer-names)
2500 (special-display-regexps, special-display-popup-frame)
2501 (same-window-p, split-window-sensibly)
2502 (display-buffer-overriding-action, display-buffer-alist)
2503 (display-buffer-base-action, display-buffer, switch-to-buffer)
2504 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2505 (fit-window-to-buffer, recenter-positions)
2506 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2507 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2508 and remove unneeded backslashes in docstrings.
2509
39c9faef
SM
25102011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2511
98449af8
SM
2512 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2513
39c9faef
SM
2514 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2515 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2516 end in ".mk".
2517 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2518 when reading the makefile (bug#10116).
2519
86ed9fdc
SM
25202011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2523 (bug#10116).
2524
5580f89d
GM
25252011-12-06 Glenn Morris <rgm@gnu.org>
2526
2527 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2528
28d3917c
CY
25292011-12-06 Chong Yidong <cyd@gnu.org>
2530
2531 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2532
a98edce9
JB
25332011-12-06 Juanma Barranquero <lekktu@gmail.com>
2534
2535 * textmodes/table.el (table-shorten-cell): Fix typo.
2536
e65adfac
CG
25372011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2538
2539 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2540
71cc0b74
EZ
25412011-12-05 Eli Zaretskii <eliz@gnu.org>
2542
2543 * descr-text.el (describe-char): Fix display of strong
2544 right-to-left characters and directional embeddings and overrides.
2545
2546 * simple.el (what-cursor-position): Fix display of codepoints of
2547 strong right-to-left characters.
2548
315bc30d
CY
25492011-12-05 Chong Yidong <cyd@gnu.org>
2550
2551 * faces.el (read-color): Doc fix.
2552
58a70b94
GM
25532011-12-05 Glenn Morris <rgm@gnu.org>
2554
2555 * align.el (align--set-marker): Add doc-string.
2556 Don't try to move something that is not a marker. (Bug#10216)
2557
5158face
GM
25582011-12-04 Glenn Morris <rgm@gnu.org>
2559
2560 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2561 overly zealous deletion of trailing whitespace.
2562
520fca41
JB
25632011-12-04 Juanma Barranquero <lekktu@gmail.com>
2564
2565 * server.el (server-delete-client): On Windows, do not try to delete
2566 the only terminal.
2567 (server-process-filter): On Windows, treat requests for a tty frame as
2568 if they were for a GUI frame if the running server is in GUI mode.
2569
5e605a2e
GM
25702011-12-03 Glenn Morris <rgm@gnu.org>
2571
2572 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2573
5c3fe83f
SM
25742011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2575
6f5e57e7
SM
2576 * electric.el: Streamline electric-indent's hook.
2577 (electric-indent-chars): Revert to simple list.
2578 (electric-indent-functions): New var.
2579 (electric-indent-post-self-insert-function): Use it.
2580
5c3fe83f
SM
2581 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2582 there's no inferior buffer (bug#10196).
2583 (prolog-consult-compile): Don't use toggle-read-only.
2584
6bdac736
MA
25852011-12-02 Michael Albinus <michael.albinus@gmx.de>
2586
2587 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2588 interrupt. (Bug#10187)
2589
6131ba7f
SM
25902011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2591
99c79fee
SM
2592 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2593 (bug#9160).
2594
6131ba7f
SM
2595 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2596 (bug#10191).
2597
cb0a02ea
JL
25982011-12-02 Juri Linkov <juri@jurta.org>
2599
2600 * info.el (Info-search): Display "end of manual" when Isearch
2601 reaches the end of single-file Info manual. (Bug#9918)
2602
66e0570c
EZ
26032011-12-02 Eli Zaretskii <eliz@gnu.org>
2604
2605 * isearch.el (isearch-message-prefix): Run the input method part
2606 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2607
02b16839
JL
26082011-12-02 Juri Linkov <juri@jurta.org>
2609
2610 * isearch.el (isearch-occur): Use `word-search-regexp' for
2611 `isearch-word'.
2612 (isearch-search-and-update): Add condition for `isearch-word' and
2613 call `word-search-regexp'. (Bug#10145)
2614
0b950688
GM
26152011-12-01 Glenn Morris <rgm@gnu.org>
2616
2617 * eshell/em-hist.el (eshell-hist-initialize):
2618 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2619 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2620
9505c3c7
SM
26212011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2624
1bbe96b2 26252011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2626
a1beca85
SM
2627 * progmodes/verilog-mode.el (verilog-pretty-expr):
2628 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2629 verilog, such as += *= and the like.
2630 (verilog-assignment-operator-re): Regular expression to find the
2631 assigment operator in a verilog assignment.
2632 (verilog-assignment-operation-re): Regular expression to find an
2633 assignment statement for pretty-expr.
2634 (verilog-in-attribute-p): Query returns true if point is in an
2635 attribute context; used to skip these for expression line up from
2636 pretty-expr.
2637 (verilog-in-parameter-p): Query returns true if point is in an
2638 parameter definition context; used to skip these for expression
2639 line up from pretty-expr.
2640 (verilog-in-parenthesis-p): Query returns true if point is in a
2641 parenthetical expression, specifically ( ) but not [ ] or { };
2642 used by pretty-expr.
2643 (verilog-just-one-space): If there is no space, don't add one.
2644 (verilog-get-lineup-indent-2): Specifically skip just attribute
2645 contexts for expression lineup, rather than skipping all
2646 parenthetical expressions.
2647 (verilog-calculate-indent): Fix comment, and fix indent.
2648 (verilog-do-indent): Indent declarations in lists (suggested by
2649 Joachim Lechner).
2650 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2651 skeleton items.
2652 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2653 by Alain Mellan).
2654
1bbe96b2 26552011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2656
2657 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2658 parameters with embedded comments. Reported by Ray Stevens.
2659 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2660 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2661 Reported by Tim Holt.
2662 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2663 instantiated by upper module causing wrong expansion until AUTOed a
2664 second time. Reported by K C Buckenmaier.
2665 (verilog-diff-auto): Fix showing .* as a difference when
2666 `verilog-auto-star-save' off. Reported by Dan Dever.
2667 (verilog-auto-reset, verilog-read-always-signals)
2668 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2669 temporary signals in reset list if
2670 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2671 style to each signal's assignment type, bug381.
2672 Reported by Thomas Esposito.
6288f0ca
WS
2673 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2674 (verilog-uvm-statement-re): Support UVM indentation and
2675 highlighting, with old OVM keywords only.
a1beca85 2676 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2677 Support AUTOTIEOFF creating non-wire data types.
2678 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2679 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2680 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2681 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2682 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2683 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2684 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2685 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2686 non-numeric vector width. Reported by Alex Reed.
2687 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2688 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2689 (verilog-auto-delete-trailing-whitespace):
2690 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2691 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2692 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2693 Fix verilog-scan-cache corruption when running user AUTO expansion
2694 hooks that call indentation routines.
2695 (verilog-simplify-range-expression): Fix typo ignoring lower case
2696 identifiers.
2697 (verilog-delete-auto): Fix delete-autos to also remove user created
2698 automatics, as long as they start with AUTO.
2699 (verilog-batch-diff-auto, verilog-diff-auto)
2700 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2701 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2702 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2703 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2704 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2705 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2706 is disabled and its cache will get corrupt, causing AUTOS not to
2707 expand. Instead use only -quick functions.
2708 (verilog-scan-region): Fix scanning over escaped quotes.
2709 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2710 (verilog-re-search-backward-quick)
2711 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2712 related functions now ignore strings, to fix misparsing of strings
2713 with magic comments embedded in them.
a1beca85
SM
2714 (verilog-read-auto-template):
2715 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2716 Reported by Brad Dobbie.
2717 (verilog-read-auto-template):
2718 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2719 Reported by Brad Dobbie.
6288f0ca
WS
2720 (verilog-auto-inst, verilog-auto-inst-param)
2721 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2722 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2723 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2724 debugging templates without merge conflicts, bug357.
2725 Reported by Brad Dobbie.
2726 (verilog-read-auto-template):
2727 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2728 Reported by Brad Dobbie.
2729 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2730 abbrevs so user won't be asked to save.
2731 (verilog-read-auto-lisp-present): Fix to start at beginning of
2732 buffer in case called outside of verilog-auto.
2733 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2734 to "X-2". Reported by Matthew Myers.
2735 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2736 all inputs from module templates. Reported by Leith Johnson.
2737 (verilog-module-inside-filename-p): Fix locating programs as with
2738 modules.
2739 (verilog-auto-inst-port): Fix vl-width expressions when using
2740 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2741 (verilog-decls-get-regs, verilog-decls-get-signals,
2742 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2743 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2744 verilog-read-decls): Combine reg and wire structures into one var
2745 structure to represent SystemVerilog concepts.
2746 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2747 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2748 (verilog-auto-wire-type, verilog-insert-definition):
2749 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2750 SystemVerilog "logic" keyword instead of "wire"/"reg".
2751 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2752 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2753 ifdef or generate if so there's not a driver conflict).
2754 Reported by Matthew Myers.
2755 (verilog-auto-declare-nettype, verilog-insert-definition):
2756 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2757 `default_nettype none. Reported by Julian Gorfajn.
2758 (verilog-read-always-signals-recurse, verilog-read-decls)
2759 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2760 malformed end statement, bug325. Reported by Joshua Wise and
2761 Andrew Drake.
2762 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2763 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2764 when expanding .* in interfaces, bug320.
2765 Reported by Pierre-David Pfister.
6288f0ca 2766 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2767 name and open parenthesis, bug317.
2768 Reported by Pierre-David Pfister.
6288f0ca
WS
2769 (verilog-simplify-range-expression): Fix simplification of
2770 multiplications inside AUTOWIRE connections, bug303.
2771 (verilog-auto-inst-port): Support parameter expansion in
2772 multidimensional arrays.
2773 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2774 after "assert property". Reported by Julian Gorfajn.
2775 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2776 with multiplication, bug303.
2777 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2778 Reported by Jan Frode Lonnum.
2779
1bbe96b2
GM
27802011-11-30 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2783 (hfy-shell-file-name, hfy-shell):
2784 * international/fontset.el (x-decompose-font-name): Fix typos.
2785
27862011-11-29 Ken Brown <kbrown@cornell.edu>
2787
2788 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2789 (gdb-version): Remove defvar.
2790 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2791 (gdb-gud-context-command, gdb-non-stop-handler)
2792 (gdb-current-context-command, gdb-stopped): Use it.
2793 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2794 (gdb-non-stop-handler): Don't enable pretty-printing here.
2795 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2796 non-stop mode. Use the following.
2797 (gdb-check-target-async): New defun.
2798 (gud-watch, gdb-stopped): Fix whitespace.
2799 (gdb-get-source-file): Don't try to display the source file if
2800 `gdb-main-file' is nil.
2801
28022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * align.el: Try to generate fewer markers (bug#10047).
2805 (align--set-marker): New macro.
2806 (align-region): Use it.
2807
c935221f
SM
28082011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2811
e70b5064
CY
28122011-11-29 Chong Yidong <cyd@gnu.org>
2813
2814 * indent.el (indent-for-tab-command, indent-according-to-mode):
2815 Doc fix.
2816 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2817
f3af92b7
MA
28182011-11-29 Michael Albinus <michael.albinus@gmx.de>
2819
2820 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2821 aware of remote file names. (Bug#10124)
2822
ed472be9
CY
28232011-11-29 Chong Yidong <cyd@gnu.org>
2824
2825 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2826
24510c22
SM
28272011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * files.el (find-file): Don't use force-same-window (bug#10144).
2830 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2831 use pop-to-buffer if the selected window can't be used.
2832 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2833
c60c3703
EZ
28342011-11-28 Eli Zaretskii <eliz@gnu.org>
2835
2836 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2837 special-mode-map.
2838
e95def75
CY
28392011-11-28 Chong Yidong <cyd@gnu.org>
2840
2841 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2842
c3f1c606
NR
28432011-11-27 Nick Roberts <nickrob@snap.net.nz>
2844
2845 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2846 gdb-get-source-file-list on gdb-create-source-file-list.
2847
00db469c
EZ
28482011-11-26 Eli Zaretskii <eliz@gnu.org>
2849
2850 * whitespace.el (whitespace-newline): Use a different foreground
2851 color for 16-color light-background displays.
2852
4ad3bc2a
CY
28532011-11-24 Chong Yidong <cyd@gnu.org>
2854
2855 * window.el (display-buffer--special-action): Doc fix.
2856
e9fce1ac
JB
28572011-11-25 Juanma Barranquero <lekktu@gmail.com>
2858
2859 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2860 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2861 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2862 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2863 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2864 (avl-tree-stack-first):
2865 * emacs-lisp/cconv.el (cconv--analyse-use):
2866 * net/gnutls.el (gnutls-negotiate): Fix typos.
2867
cb825e5d
GM
28682011-11-24 Glenn Morris <rgm@gnu.org>
2869
3adbe224
GM
2870 * lpr.el (lpr-windows-system, lpr-lp-system):
2871 * mail/binhex.el (binhex-begin-line):
2872 * progmodes/grep.el (grep-history, grep-find-history):
2873 * textmodes/flyspell.el:
2874 * vc/pcvs-defs.el (cvs-global-menu):
2875 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2876 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2877 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2878
321decc8
GM
2879 * net/tls.el: Fix case of "GnuTLS".
2880
420b63ad
GM
2881 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2882
cb825e5d
GM
2883 * version.el (emacs-build-system): Give it a doc-string.
2884
a0649f08
JL
28852011-11-24 Juri Linkov <juri@jurta.org>
2886
2887 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2888
c0bc0fd4
GM
28892011-11-24 Glenn Morris <rgm@gnu.org>
2890
2891 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2892 if called on a non-mime message just toggle the headers. (Bug#8006)
2893
20db1522
JB
28942011-11-24 Juanma Barranquero <lekktu@gmail.com>
2895
2896 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2897 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2898 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2899 (allout-rebullet-heading, allout-open-sibtopic)
2900 (allout-toggle-current-subtree-encryption)
2901 (allout-toggle-subtree-encryption, allout-encrypt-string)
2902 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2903 (allout-distinctive-bullets-string, allout-auto-activation):
2904 * window.el (window-normalize-buffer-to-display):
2905 * progmodes/verilog-mode.el (verilog-batch-indent):
2906 * textmodes/bibtex.el (bibtex-field-braces-opt)
2907 (bibtex-field-strings-opt):
2908 * vc/cvs-status.el (cvs-tree-merge):
2909 Fix typos.
2910
7262a87c
MA
29112011-11-23 Michael Albinus <michael.albinus@gmx.de>
2912
2913 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2914 `non-essential' to t, in order to avoid remote connections.
2915
283430a1
EZ
29162011-11-23 Eli Zaretskii <eliz@gnu.org>
2917
a1beca85
SM
2918 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2919 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2920 case-insensitively.
2921
d2992a38
ML
29222011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2923
2924 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2925
50419064
GM
29262011-11-23 Glenn Morris <rgm@gnu.org>
2927
da94eca1
GM
2928 * paths.el (rmail-file-name): Reformat the doc-string so that it
2929 is picked up.
2930
9aac4de2
GM
2931 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2932 (rmail-auto-file): Ignore case in the "special" field names,
2933 as mail-fetch-field does for all others.
2934
8038d2d2
GM
2935 * mail/rmail.el (rmail-forward):
2936 * mail/rmailkwd.el (rmail-set-label):
2937 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2938 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2939
f3fe222a
GM
2940 * mail/rmail.el (rmail-current-message): Doc fix.
2941
50419064
GM
2942 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2943
28109f49
SM
29442011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2947
394c65f1
GM
29482011-11-22 Glenn Morris <rgm@gnu.org>
2949
2950 * mail/rmailmm.el (test-rmail-mime-handler)
2951 (test-rmail-mime-bulk-handler)
2952 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2953
f2a0aa3a
JL
29542011-11-21 Juri Linkov <juri@jurta.org>
2955
1154d12e
JB
2956 * calc/calc.el (calc-read-key-sequence):
2957 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2958
9c34a344
LMI
29592011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2960
2961 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2962 Tell the caller that the next line needs recomputation, even
2963 though it doesn't start a sexp (bug#10094).
2964
f04a3be9
SM
29652011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2968
7978747f
SM
29692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2970
f04a3be9
SM
2971 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2972 Use force-same-window.
7978747f 2973
fe7a3057
JB
29742011-11-20 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * descr-text.el (describe-char-unicode-data):
2977 * json.el (json-string-escape):
2978 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2979 (Footnote-unicode, Footnote-style-p):
2980 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2981
24901d61
CY
29822011-11-20 Chong Yidong <cyd@gnu.org>
2983
2984 * window.el (replace-buffer-in-windows): Restore interactive spec.
2985
bac7ff22
SM
29862011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2987
24f3d7b9
SM
2988 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2989
bac7ff22
SM
2990 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2991 (byte-compile-global-not-obsolete-vars): New var.
2992 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2993 Use it.
2994 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2995
cd1181db
JB
29962011-11-20 Juanma Barranquero <lekktu@gmail.com>
2997
2998 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2999 * progmodes/pascal.el (electric-pascal-equal):
3000 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3001 * xml.el (xml-substitute-special): Fix typos.
3002
7fb18e9e
GM
30032011-11-20 Glenn Morris <rgm@gnu.org>
3004
3005 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3006 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3007 Doc fixes.
3008 (rmail-decode-mime-charset): Mark as obsolete.
3009
3010 * mail/rmailsum.el (rmail-message-regexp-p-1):
3011 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3012 Before using mime functions, check they are set. (Bug#10077)
3013
d5a6b3ba
JL
30142011-11-19 Juri Linkov <juri@jurta.org>
3015
3016 * info.el (Info-finder-find-node): Use `package--builtins' instead
3017 of `package-alist'. Use node names formed by the pattern "Keyword "
3018 and the keyword name.
3019
e981b61f
AS
30202011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3021
1d00653d 3022 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3023
3ffbc301
JL
30242011-11-19 Juri Linkov <juri@jurta.org>
3025
3026 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3027 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3028 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3029 `old-history', `old-history-forward'. Add let-binding
3030 `window-selected'. Remove calls to `kill-buffer',
3031 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3032 before calling `Info-find-node', so `Info-find-node-2' will reread
3033 the Info file. Restore window positions only when `window-selected'
3034 is non-nil.
3035
30c62133
JL
30362011-11-19 Juri Linkov <juri@jurta.org>
3037
3038 * isearch.el (isearch-lazy-highlight-new-loop):
3039 Remove condition `(not isearch-error)'. (Bug#9918)
3040
3041 * misearch.el (multi-isearch-search-fun): Add condition
3042 `(not bound)' to ignore lazy-highlighting search.
3043 Add the search-failed message "end of multi" when the end of
3044 multi-sequence is reached. Uncapitalize the search-failed
3045 message "Repeat for next buffer".
3046
3047 * info.el (Info-search): Add the search-failed message
3048 "end of the manual" when the end of the manual is reached
3049 in Isearch mode.
3050
645ca9cf
JL
30512011-11-19 Juri Linkov <juri@jurta.org>
3052
3053 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3054 Use non-destructive `remove' instead of `delete' because
3055 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3056 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3057
df754f66
JL
30582011-11-19 Juri Linkov <juri@jurta.org>
3059
3060 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3061 to nil instead of binding `search-ring' and `regexp-search-ring'.
3062 (Bug#9185)
3063
0e23d96a
EZ
30642011-11-19 Eli Zaretskii <eliz@gnu.org>
3065
3066 * simple.el (line-move): Force movement by logical lines for any
3067 hscrolled window, not only when auto-hscroll-mode is on.
3068 (line-move-visual): Update doc string to that effect. (Bug#10076)
3069
8a6ccb66
AS
30702011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3071
3072 * language/european.el (macintosh): Define as alias for mac-roman.
3073
49ae5b39
EZ
30742011-11-19 Eli Zaretskii <eliz@gnu.org>
3075
3076 * mail/rmailmm.el (rmail-mime-display-header)
3077 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3078 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3079 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3080 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3081 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3082 of a raw aref.
3083 (rmail-mime-entity-segment): To get past the tagline, move forward
3084 2 more lines, to account for the 2 empty lines that precede and
3085 follow the line with the buttons.
3086 (rmail-mime-update-tagline): Move one more line, to get past the
3087 empty line that follows the buttons in the tagline. (Bug#9520)
3088
c56cad4a
MR
30892011-11-19 Martin Rudalics <rudalics@gmx.at>
3090
3091 * window.el (window-max-delta-1, window-min-delta-1)
3092 (window-min-size-1, window-state-get-1, window-state-put-1)
3093 (window-state-put-2): Use "window--" prefix.
3094
cbe71af3
SM
30952011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3096
2ad52c60
SM
3097 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3098 (smie-warning-count): New var.
3099 (smie-set-prec2tab): Use it.
3100 (smie-bnf->prec2): Improve warnings. Add docstring.
3101 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3102 (smie-bnf--set-class): New function.
3103 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3104 corner case.
3105
6944dbc1
SM
3106 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3107 (compilation-error-properties, compilation-move-to-column):
3108 Handle compilation-first-column while in the target buffer.
3109
c400c4d7
SM
3110 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3111 Don't hardcode point-min==1.
3112
6dbe3e96
SM
3113 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3114 (eshell-rewrite-for-command): Remove workaround.
3115 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3116 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3117 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3118
cbe71af3
SM
3119 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3120
a8e1496d
GM
31212011-11-17 Glenn Morris <rgm@gnu.org>
3122
3123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3124 Ignore buffer-local generated-autoload-file if it is the same
3125 as the global value. (Bug#10049)
3126
df85d315
JB
31272011-11-17 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3130 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3131 (reftex-toc-previous-heading, reftex-toc-max-level)
3132 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3133 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3134 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3135 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3136 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3137 (reftex-toc-rename-label, reftex-toc-visit-location)
3138 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3139 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3140 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3141 leaving "*toc*" only for references to the buffer.
3142
a0c2d0ae
MR
31432011-11-17 Martin Rudalics <rudalics@gmx.at>
3144
3145 * window.el (window-resize, delete-window, split-window):
3146 Replace window-splits by window-combination-resize.
1d00653d 3147 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3148
35c0bac8
GM
31492011-11-17 Glenn Morris <rgm@gnu.org>
3150
3151 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3152 Make bash entry derive from sh entry, not shell entry.
3153
d0c8fc8a
MA
31542011-11-16 Michael Albinus <michael.albinus@gmx.de>
3155
d0c8fc8a
MA
3156 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3157 properties of linked files. (Bug#9879)
3158
7262a87c
MA
3159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3160 local file name.
3161
7877f373
JB
31622011-11-16 Juanma Barranquero <lekktu@gmail.com>
3163
3164 * menu-bar.el (menu-bar-file-menu):
3165 * printing.el (pr-ps-utility):
3166 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3167 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3168 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3169 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3170 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3171 (icalendar--convert-cyclic-to-ical)
3172 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3173 (icalendar--convert-ical-to-diary)
3174 (icalendar--convert-recurring-to-diary)
3175 (icalendar--convert-non-recurring-all-day-to-diary)
3176 (icalendar-import-format-sample):
3177 * progmodes/idlw-shell.el (idlwave-shell-mode):
3178 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3179 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3180 (vhdl-ps-print-init): Fix typos.
3181
10649b82
KM
31822011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3183
9d0cfcd6
GM
3184 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3185 FSF and collapse date sequence, obscure author/maintainer email address
3186 better, remove extra version line, track relocation of author's webpage.
10649b82 3187
9d0cfcd6
GM
3188 * progmodes/python.el (python-pdbtrack-input-prompt)
3189 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3190 regular python pdb prompts. Adjustments shamelessly taken exactly as
3191 suggested in EmacsWiki page (tiny change):
3192 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3193
58179cce
JB
31942011-11-16 Juanma Barranquero <lekktu@gmail.com>
3195
3196 * expand.el (expand-pos, expand-index, expand-point):
3197 Remove redundant info from docstring.
3198 (expand-add-abbrevs): Doc fix.
3199 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3200 (expand-sample-perl-mode-expand-list): Fix typos.
3201
3202 * net/dbus.el (dbus-event-member-name):
3203 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3204 * term/pc-win.el (msdos-create-frame-with-faces):
3205 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3206
b6f67890
MR
32072011-11-16 Martin Rudalics <rudalics@gmx.at>
3208
3209 * window.el (split-window, window-state-get-1)
3210 (window-state-put-1, window-state-put-2): Rename occurrences of
3211 window-nest to window-combination-limit.
1d00653d 3212 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3213
ce7ddba0
CY
32142011-11-16 Chong Yidong <cyd@gnu.org>
3215
3216 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3217 regexp (Bug#10033).
3218
3ae704f4
SM
32192011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3222 `completing-read' will remove *Completions* and will preserve
3223 current-buffer for us.
3224 (tmm-add-prompt): Users of *Completions* will always (re)set its
3225 major mode.
3226 (tmm-old-comp-map): Remove.
3227
6ad1cdde
GM
32282011-11-16 Glenn Morris <rgm@gnu.org>
3229
3230 * mail/rmailedit.el: Require rmailmm when compiling.
3231 (rmail-old-mime-state): New declaration.
3232 (rmail-edit-current-message): If editing a mime message,
3233 edit the "raw" message from the mbox buffer.
3234 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3235
d20faa20
GM
32362011-11-15 Glenn Morris <rgm@gnu.org>
3237
3238 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3239 which wasn't being used. Add optional arg to force given state.
3240 (rmail-mime): Add optional arg to force given state.
3241
c7015153
JB
32422011-11-15 Juanma Barranquero <lekktu@gmail.com>
3243
3244 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3245 * frame.el (display-mm-dimensions-alist):
3246 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3247 (outline-move-subtree-down):
3248 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3249 (newsticker--treeview-do-get-node):
3250 * net/quickurl.el (quickurl-list-buffer-name):
3251 * progmodes/dcl-mode.el (dcl-mode):
3252 * progmodes/gdb-mi.el (gdb-mapcar*):
3253 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3254
45261b50
GM
32552011-11-15 Glenn Morris <rgm@gnu.org>
3256
3257 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3258 in a boolean sense, so just make it a boolean, and fix the doc.
3259 (rmail-show-mime-function, rmail-mime-feature)
3260 (rmail-require-mime-maybe): Doc fixes.
3261 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3262
3263 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3264
0d26e0b6
JB
32652011-11-15 Juanma Barranquero <lekktu@gmail.com>
3266
3267 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3268 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3269 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3270 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3271
447f30f6
GM
32722011-11-15 Glenn Morris <rgm@gnu.org>
3273
672b871d
GM
3274 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3275 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3276 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3277 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3278 (rmail-mime, rmail-show-mime): Doc fixes.
3279
f6aa5bb1
GM
3280 * term/ns-win.el (mode-line-frame-identification):
3281 Leave it alone. (Bug#10051)
3282
947cd66b
GM
3283 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3284
447f30f6
GM
3285 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3286 Handle empty buffers. (Bug#9978)
3287
0b381c7e
JB
32882011-11-14 Juanma Barranquero <lekktu@gmail.com>
3289
3290 * international/mule.el (define-charset):
3291 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3292 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3293 * progmodes/verilog-mode.el (verilog-backward-token):
3294 * textmodes/ispell.el (lookup-words):
3295 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3296
71e027ac
GM
32972011-11-14 Glenn Morris <rgm@gnu.org>
3298
56632ce4
GM
3299 * progmodes/executable.el
3300 (executable-make-buffer-file-executable-if-script-p):
3301 Handle file-modes returning nil.
3302
40500957
GM
3303 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3304 message - not necessary, and causes problems. (Bug#9831)
3305
071c2340
GM
3306 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3307
d3cfca60
GM
3308 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3309
71e027ac
GM
3310 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3311 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3312 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3313
89d61221
MR
33142011-11-12 Martin Rudalics <rudalics@gmx.at>
3315
3316 * window.el (window-resize, delete-window): Use window-splits
3317 variable instead of function.
3318 (window-state-get-1, window-state-put-2, window-state-put):
3319 Don't deal with windows' splits status.
3320
98282f6f
GM
33212011-11-12 Glenn Morris <rgm@gnu.org>
3322
3323 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3324 (apropos-documentation): Doc fixes.
3325
40a8bdf6
JB
33262011-11-11 Juanma Barranquero <lekktu@gmail.com>
3327
3328 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3329 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3330
65bd19ff
SM
33312011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * electric.el (electric-indent-post-self-insert-function): Make it
3334 possible for a char to only indent in some circumstances.
3335 (electric-indent-mode): Simplify.
3336
54f9154c
MR
33372011-11-11 Martin Rudalics <rudalics@gmx.at>
3338
3339 * window.el (windows-with-parameter): Remove unused function.
3340 (windows-at-side): Rename to window-at-side-list.
3341 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3342 (window-side-check, window-size-ignore, window-size-fixed-1)
3343 (window-in-direction-2): Prefix with "window--".
3344 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3345
68cbc58b
GM
33462011-11-11 Glenn Morris <rgm@gnu.org>
3347
3348 * subr.el (eval-after-load): If FILE is already loaded,
3349 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3350
b2621720
GM
33512011-11-10 Glenn Morris <rgm@gnu.org>
3352
9a4de110
GM
3353 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3354 Call svn via vc-svn-command rather than vc-do-command.
3355 (vc-svn-command): Add --non-interactive. (Bug#9993)
3356 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3357
b2621720
GM
3358 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3359 Add toggle-read-only. (Bug#7292)
3360 * files.el (toggle-read-only): Mention that it should only
3361 be used interactively. (Bug#10006)
3362
1dce7193
SM
33632011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3364
d9ac1a1e
SM
3365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3366 Adjust regexp for OCaml warnings.
3367
0c325082
SM
3368 * electric.el (electric-pair-post-self-insert-function): Let user
3369 turn it off buffer-locally (bug#9932).
3370
90132c14
SM
3371 * progmodes/python.el (python-beginning-of-statement):
3372 Rewrite (bug#2703).
3373
1dce7193
SM
3374 * progmodes/compile.el: Better handle TABs (bug#9749).
3375 (compilation-internal-error-properties)
3376 (compilation-next-error-function): Obey the target buffer's
3377 compilation-error-screen-columns.
3378
c4e7c63a
JB
33792011-11-09 Juanma Barranquero <lekktu@gmail.com>
3380
3381 * progmodes/meta-mode.el: Remove obsolete comments.
3382 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3383 Fix typos in docstrings.
3384
2cffd681
MR
33852011-11-09 Martin Rudalics <rudalics@gmx.at>
3386
3387 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3388 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3389 (window--resizable): New function. Make all callers of
3390 window-resizable call window--resizable instead.
3391 (window-resizable): Rewrite in terms of window--resizable.
3392
0edcba87
GM
33932011-11-08 Glenn Morris <rgm@gnu.org>
3394
3395 * progmodes/delphi.el (delphi-mode-syntax-table):
3396 Let define-derived-mode define a proper syntax table. (Bug#9994)
3397
4b0d61e3
SM
33982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * window.el: Stay away from defsubst.
3401 (window-list-no-nils): Remove.
3402 (window-state-get-1, window-state-get): Use backquote instead.
3403
cd394be1 34042011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3405
4b0d61e3 3406 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3407 Fix incorrect use of default argument in `completing-read'.
3408
e1c2c6f2
MR
34092011-11-08 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (display-buffer-function, special-display-function):
3412 Mention display-buffer-record-window but do not mention
3413 help-setup parameter in doc-strings.
b3f4a882 3414 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3415
105216ed
CY
34162011-11-08 Chong Yidong <cyd@gnu.org>
3417
3418 * window.el (window-total-height, window-total-width): Doc fix.
3419 (window-body-size): Move from C.
3420 (window-body-height, window-body-width): Move to C.
3421
0a9f9ab5
SM
34222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * window.el: Make special-display like display-buffer-alist (bug#9532).
3425 (display-buffer--special-action): New function, morphed
3426 from display-buffer--special.
3427 (display-buffer): Use it to handle special-display-buffers at higher
3428 priority (just after display-buffer-alist).
3429 (display-buffer-fallback-action, display-buffer--other-frame-action)
3430 (pop-to-buffer-same-window): Remove display-buffer--special.
3431
a769dd15
GM
34322011-11-07 Glenn Morris <rgm@gnu.org>
3433
3434 * calendar/cal-menu.el (cal-menu-set-date-title):
3435 Do nothing if not in a calendar. (Bug#9976)
3436
05a61ee3
SM
34372011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * files.el (find-file): Always use selected-window.
3440
be7f5545
MR
34412011-11-07 Martin Rudalics <rudalics@gmx.at>
3442
3443 * window.el (window-combinations): Make WINDOW argument
3444 mandatory. Rewrite doc-string.
3445 (walk-window-subtree, window-atom-check, window-min-delta)
3446 (window-max-delta, window--resize-this-window)
3447 (window--resize-root-window-vertically, window-tree)
3448 (balance-windows, window-state-put): Rewrite doc-strings as to
3449 not mention the term "subwindow".
3450 (window--resize-subwindows-skip-p): Rename to
3451 window--resize-child-windows-skip-p.
3452 (window--resize-subwindows-normal): Rename to
3453 window--resize-child-windows-normal.
3454 (window--resize-subwindows): Rename to
3455 window--resize-child-windows.
3456 (window-or-subwindow-p): Rename to window--in-subtree-p.
3457
3c6702ef
ML
34582011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3459
3460 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3461 Ensure that mbox format messages end in two newlines (Bug#9974).
3462
49745b39
CY
34632011-11-06 Chong Yidong <cyd@gnu.org>
3464
3465 * window.el (window-combination-p): Function deleted; its
3466 side-effect is not used in any existing code.
3467 (window-combinations, window-combined-p): Call window-*-child
3468 directly.
3469
24300f5f
CY
34702011-11-05 Chong Yidong <cyd@gnu.org>
3471
3472 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3473 (window-size-ignore, window-state-get): Callers changed.
3474 (window-normalize-window): Rename from window-normalize-any-window.
3475 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3476 (window-normalize-live-window): Delete.
447f16b8
CY
3477 (window-combination-p, window-combined-p, window-combinations)
3478 (walk-window-subtree, window-atom-root, window-min-size)
3479 (window-sizable, window-sizable-p, window-size-fixed-p)
3480 (window-min-delta, window-max-delta, window-resizable)
3481 (window-resizable-p, window-full-height-p, window-full-width-p)
3482 (window-current-scroll-bars, window-point-1, set-window-point-1)
3483 (window-at-side-p, window-in-direction, window-resize)
3484 (adjust-window-trailing-edge, maximize-window, minimize-window)
3485 (window-deletable-p, delete-window, delete-other-windows)
3486 (record-window-buffer, unrecord-window-buffer)
3487 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3488 (quit-window, split-window, window-state-put)
3489 (set-window-text-height, fit-window-to-buffer)
3490 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3491
89bd5ee1
EZ
34922011-11-04 Eli Zaretskii <eliz@gnu.org>
3493
53479029
EZ
3494 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3495 rfc2047-decode-string.
3496 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3497 warnings.
3498
89bd5ee1
EZ
3499 * window.el (window-body-height, window-body-width): Mention in
3500 the doc string that the return values are in frame's canonical
3501 units. (Bug#9949)
3502
bd17fdee
AM
35032011-11-03 Alan Mackenzie <acm@muc.de>
3504
3505 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3506 change in cc-engine.el.
3507
acc825c5
SM
35082011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3511
1885e5b8
MR
35122011-11-02 Martin Rudalics <rudalics@gmx.at>
3513
3514 * window.el (quit-window): Call unrecord-window-buffer after
3515 showing another buffer in the window. (Bug#9937)
acc825c5 3516 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3517
ebe06da9
JB
35182011-11-02 Juanma Barranquero <lekktu@gmail.com>
3519
3520 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3521 Accept status with more than 9 shelves. (Bug#9935)
3522 Reported by Colin D Bennett <colin@gibibit.com>.
3523
4ee88440
MR
35242011-11-01 Martin Rudalics <rudalics@gmx.at>
3525
3526 * help.el (with-help-window): Don't reference
3527 temp-buffer-show-specifiers in doc-string.
3528
08e1d82c
AS
35292011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3530
3531 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3532 menu-item.
3533
84bd6e9e
VJL
35342011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3535
3536 * whitespace.el: New version 13.2.2.
3537 (whitespace-newline-mode): Disable properly. Reported by Sarah
3538 <EmacsWiki>.
3539
dba0634a
UJ
35402011-10-30 Ulf Jasper <ulf.jasper@web.de>
3541
3542 * net/newst-treeview.el: Remove "Time-stamp".
3543 (newsticker--group-manage-orphan-feeds): Do not call
3544 newsticker--treeview-tree-update.
db22a3c2
JB
3545 (newsticker-treeview-update, newsticker-treeview):
3546 Call newsticker--treeview-tree-update if necessary.
dba0634a 3547
3d8daefe
MR
35482011-10-30 Martin Rudalics <rudalics@gmx.at>
3549
3550 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3551 (window-iso-combinations): Remove "iso-" infix.
3552 Suggested by Chong Yidong.
3d8daefe
MR
3553 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3554 (window-max-delta-1, window-resize, window--resize-siblings)
3555 (window--resize-this-window, adjust-window-trailing-edge)
3556 (split-window, balance-windows-1)
3557 (shrink-window-if-larger-than-buffer):
3558 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3559 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3560
1bc4c3ae
SM
35612011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3564 in place (bug#9907).
3565 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3566 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3567 (eshell-structure-basic-command, eshell-rewrite-while-command)
3568 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3569 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3570 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3571 (eshell-do-pipelines-synchronously, eshell-eval-command):
3572 Use backquotes and prefer setq to set.
3573 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3574 (eshell-macrop): Use functionp.
c1e2f5fa 3575 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3576
30b65d9c
CY
35772011-10-30 Chong Yidong <cyd@gnu.org>
3578
3579 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3580 instead of set-mark (Bug#9810).
3581
2d197ffb
CY
35822011-10-30 Chong Yidong <cyd@gnu.org>
3583
3584 * window.el (split-window-below, split-window-right): Rename from
3585 split-window-above-each-other and split-window-side-by-side
3586 respectively. All callers changed.
3587 (split-window-sensibly, split-window-sensibly): Use them.
3588 (split-window-keep-point): Doc fix.
3589
3590 * isearch.el: Add isearch-scroll property to split-window-below
3591 and split-window-right.
3592
3593 * follow.el (follow-mode):
3594 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3595 * progmodes/ada-xref.el (ada-gdb-application):
3596 * emulation/vip.el (vip-buffer-in-two-windows):
3597 * image-dired.el (image-dired-dired-with-window-configuration):
3598 * dired-x.el (dired-do-find-marked-files):
3599 * dired.el (dired-pop-to-buffer):
3600 * bs.el (bs--show-with-configuration):
3601 * vc/emerge.el (emerge-setup-windows):
3602 * textmodes/two-column.el (2C-two-columns):
3603 * textmodes/reftex-toc.el (reftex-toc):
3604 * progmodes/gdb-mi.el (gdb-setup-windows):
3605 * progmodes/fortran.el (fortran-window-create):
3606 * net/newst-treeview.el (newsticker--treeview-window-init):
3607 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3608 * emulation/tpu-edt.el (tpu-gold-map):
3609 * emulation/crisp.el (crisp-mode-map):
3610 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3611
38bb2ca8
CY
36122011-10-29 Chong Yidong <cyd@gnu.org>
3613
aa4de341
CY
3614 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3615
e1eb5385
CY
3616 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3617
5d2ece3c
CY
3618 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3619 forged Ispell output (Bug#7904).
3620
38bb2ca8
CY
3621 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3622
d0af9f77
SM
36232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * doc-view.el: Avoid ugly errors about not finding nil.
3626 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3627 (doc-view-dvipdf-program, doc-view-unoconv-program)
3628 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3629 Avoid nil or absolute file name as default value.
3630 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3631
52bedd34
AM
36322011-10-28 Alan Mackenzie <acm@muc.de>
3633
db22a3c2 3634 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3635
7e43cfa5
AM
36362011-10-28 Alan Mackenzie <acm@muc.de>
3637
3638 Amend the handling of c-beginning/end-of-defun in nested declaration
3639 scopes.
3640
52bedd34
AM
3641 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3642 cc-langs.el. Change it to a defcustom.
7e43cfa5 3643
52bedd34
AM
3644 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3645 cc-vars.el.
7e43cfa5 3646
d0af9f77
SM
3647 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3648 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3649
52bedd34 3650 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3651 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3652 (c-widen-to-enclosing-decl-scope): New function.
3653 (c-while-widening-to-decl-block): New macro.
3654 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3655 outward for defun boundaries, and correspondingly change symbol
3656 `respect-enclosure' to `go-outward'.
3657 (c-declaration-limits): Change algorithm to report only the "innermost"
3658 defun's boundaries.
3659
1a2ce9ee
DD
36602011-10-28 Deniz Dogan <deniz@dogan.se>
3661
3662 * net/rcirc.el (rcirc-mode): Use hard newlines.
3663
bc97a826
AM
36642011-10-28 Alan Mackenzie <acm@muc.de>
3665
3666 Amend to indent and fontify macros "which include their own semicolon"
3667 correctly, using the "virtual semicolon" mechanism.
3668
52bedd34 3669 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3670
d0af9f77 3671 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3672 Recode to scan one line at a time rather than having \n and \r
58179cce 3673 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3674 (c-forward-label): Amend for virtual semicolons.
58179cce 3675 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3676
52bedd34
AM
3677 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3678 of the new C macros.
bc97a826 3679
52bedd34 3680 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3681 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3682 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3683 (c-opt-cpp-macro-define): Make into a full language variable.
3684 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3685 AWK Mode (including \n, \r) removed, no longer needed.
3686
d0af9f77
SM
3687 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3688 Invoke c-make-macro-with-semi-re.
bc97a826 3689
52bedd34
AM
3690 * progmodes/cc-vars.el (c-macro-with-semi-re):
3691 (c-macro-names-with-semicolon): New variables.
58179cce 3692 (c-make-macro-with-semi-re): New function.
bc97a826 3693
7a6c0941
SM
36942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * vc/log-edit.el: Fill empty field rather than adding new one.
3697 (log-edit-add-field): New function.
3698 (log-edit-insert-changelog): Use it.
3699
b0c4cdcf
ML
37002011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3701
3702 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3703
ee1f1da9
SM
37042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3707 (gdb--check-interpreter): New function.
3708 (gdb): Use it.
3709
51bc5f8b
GM
37102011-10-27 Glenn Morris <rgm@gnu.org>
3711
416a2c45
GM
3712 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3713 (least-positive-float, least-negative-float)
3714 (least-positive-normalized-float, least-negative-normalized-float)
3715 (float-epsilon, float-negative-epsilon):
3716 Remove unnecessary declarations.
3717
3718 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3719 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3720 (least-positive-float, least-negative-float)
3721 (least-positive-normalized-float, least-negative-normalized-float)
3722 (float-epsilon, float-negative-epsilon): Add doc-strings,
3723 based on those in cl.texi.
3724
51bc5f8b
GM
3725 * files.el (set-visited-file-name): If the major-mode changed,
3726 reload the local variables. (Bug#9796)
3727
15de15c6
CY
37282011-10-27 Chong Yidong <cyd@gnu.org>
3729
3730 * subr.el (change-major-mode-after-body-hook): New hook.
3731 (run-mode-hooks): Run it.
3732
ee1f1da9
SM
3733 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3734 Use change-major-mode-before-body-hook.
15de15c6
CY
3735
3736 * simple.el (fundamental-mode):
3737 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3738 change introducing fundamental-mode-hook.
3739
5430d399
JB
37402011-10-26 Juanma Barranquero <lekktu@gmail.com>
3741
acc825c5 3742 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3743
ad74a69e
MA
37442011-10-26 Michael Albinus <michael.albinus@gmx.de>
3745
3746 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3747 tramp.el explicitly. (Bug#7583)
ad74a69e 3748
71d4c2a5
SM
37492011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * progmodes/octave-mod.el:
3752 * progmodes/octave-inf.el: Update maintainer.
3753
b1f6fa26
CY
37542011-10-26 Chong Yidong <cyd@gnu.org>
3755
3756 * subr.el (with-wrapper-hook): Rewrite doc.
3757
3f04efd6
MA
37582011-10-25 Michael Albinus <michael.albinus@gmx.de>
3759
3760 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3761 filenames "/method:foo:". (Bug#9793)
3f04efd6 3762
410488d3
SM
37632011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3766 (bug#9865).
3767
c1ebb47e
GM
37682011-10-24 Glenn Morris <rgm@gnu.org>
3769
3770 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3771
7f5c46c7
MA
37722011-10-24 Michael Albinus <michael.albinus@gmx.de>
3773
3774 * notifications.el: Add the requirement of a running D-Bus session
3775 bus to the Commentary.
3776
db2440b6
JL
37772011-10-24 Juri Linkov <juri@jurta.org>
3778
3779 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3780 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3781 (Bug#9364)
3782
feecf435
JL
37832011-10-24 Juri Linkov <juri@jurta.org>
3784
3785 * info.el (Info-following-node-name-re): Add newline to the list
3786 of allowed characters for leading space. (Bug#9824)
3787
a3839de2
SM
37882011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3789
acc825c5
SM
3790 * progmodes/octave-inf.el (inferior-octave-mode-map):
3791 Fix C-c C-h binding.
a3839de2
SM
3792 * progmodes/octave-mod.el (octave-help): Remove.
3793
09388e76
MA
37942011-10-23 Michael Albinus <michael.albinus@gmx.de>
3795
3796 Sync with Tramp 2.2.3.
3797
3798 * net/tramp-cache.el (top): Pacify byte-compiler using
3799 `init-file-user' and `site-run-file'.
3800
3801 * net/trampver.el: Update release number.
3802
86c60681
CY
38032011-10-23 Chong Yidong <cyd@gnu.org>
3804
3805 * files.el (toggle-read-only): Remove obsolete comment about
3806 version control.
3807
3808 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3809 for toggle-read-only. Note that this hasn't called vc-next-action
3810 since 2008-05-02, though it wasn't documented at the time.
3811
a3839de2
SM
3812 * vc/ediff-init.el (ediff-toggle-read-only-function):
3813 Use toggle-read-only.
86c60681 3814
cd5495ff
AM
38152011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3816
3817 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3818 of c-parse-state.
3819
00b77525 3820 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3821 correct faulty logical expression.
cd5495ff
AM
3822 (c-parse-state-state, c-record-parse-state-state):
3823 (c-replay-parse-state-state): New defvar/defuns.
3824 (c-debug-parse-state): Use new functions.
3825
42ee24ed
MR
38262011-10-22 Martin Rudalics <rudalics@gmx.at>
3827
3828 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3829 last fix. Use window-in-direction correctly.
42ee24ed 3830
a7dee7e7
CY
38312011-10-21 Chong Yidong <cyd@gnu.org>
3832
3833 * progmodes/idlwave.el (idlwave-mode):
3834 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3835 require-final-newline; that's done in prog-mode.
3836 Suggested by Stefan Monnier.
a7dee7e7 3837
e07b9a6d
MR
38382011-10-21 Martin Rudalics <rudalics@gmx.at>
3839
3840 * mouse.el (mouse-drag-window-above)
3841 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3842 (mouse-drag-mode-line-1, mouse-drag-header-line)
3843 (mouse-drag-vertical-line-rightward-window): Remove.
3844 (mouse-drag-line): New function.
3845 (mouse-drag-mode-line, mouse-drag-header-line)
3846 (mouse-drag-vertical-line): Call mouse-drag-line.
3847 * window.el (window-at-side-p, windows-at-side): New functions.
3848
7e1361d9
UM
38492011-10-21 Ulrich Mueller <ulm@gentoo.org>
3850
3851 * tar-mode.el (tar-grind-file-mode):
3852 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3853
30fcaf3a
CY
38542011-10-21 Chong Yidong <cyd@gnu.org>
3855
3856 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3857 * progmodes/vera-mode.el (vera-mode):
3858 Use mode-require-final-newline.
30fcaf3a 3859
516eddb0
GM
38602011-10-20 Glenn Morris <rgm@gnu.org>
3861
db22a3c2 3862 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3863
10d5f513
CS
38642011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3865
3866 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3867
ac6c8639
CY
38682011-10-20 Chong Yidong <cyd@gnu.org>
3869
3870 * emulation/cua-base.el (cua-mode):
3871 * mail/footnote.el (footnote-mode):
3872 * mail/mailabbrev.el (mail-abbrevs-mode):
3873 * net/xesam.el (xesam-minor-mode):
3874 * progmodes/bug-reference.el (bug-reference-mode):
3875 * progmodes/cap-words.el (capitalized-words-mode):
3876 * progmodes/compile.el (compilation-minor-mode)
3877 (compilation-shell-minor-mode):
3878 * progmodes/gud.el (gud-tooltip-mode):
3879 * progmodes/hideif.el (hide-ifdef-mode):
3880 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3881 * progmodes/subword.el (subword-mode):
3882 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3883 * progmodes/which-func.el (which-function-mode):
3884 * term/tvi970.el (tvi970-set-keypad-mode):
3885 * term/vt100.el (vt100-wide-mode):
3886 * textmodes/flyspell.el (flyspell-mode):
3887 * textmodes/ispell.el (ispell-minor-mode):
3888 * textmodes/nroff-mode.el (nroff-electric-mode):
3889 * textmodes/paragraphs.el (use-hard-newlines):
3890 * textmodes/refill.el (refill-mode):
3891 * textmodes/reftex.el (reftex-mode):
3892 * textmodes/rst.el (rst-minor-mode):
3893 * textmodes/sgml-mode.el (html-autoview-mode)
3894 (sgml-electric-tag-pair-mode):
3895 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3896 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3897 * emulation/crisp.el (crisp-mode):
3898 * emacs-lisp/eldoc.el (eldoc-mode):
3899 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3900 minor mode behavior.
3901
aa42ab43
JL
39022011-10-19 Juri Linkov <juri@jurta.org>
3903
3904 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3905 the list of hard-coded chars with escape-glyph face.
3906
89400f1d
SM
39072011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3910
305c07f6
MA
39112011-10-19 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3914 running process.
3915
13754b54
GM
39162011-10-19 Glenn Morris <rgm@gnu.org>
3917
3918 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3919 Ignore ignored files. (Bug#9726)
3920
06e21633
CY
39212011-10-19 Chong Yidong <cyd@gnu.org>
3922
3923 Doc fix for minor modes, stating that an omitted argument enables
3924 the mode unconditionally when called from Lisp.
3925
3926 * abbrev.el (abbrev-mode):
3927 * allout.el (allout-mode):
3928 * autoinsert.el (auto-insert-mode):
3929 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3930 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3931 (global-auto-revert-mode):
3932 * battery.el (display-battery-mode):
3933 * composite.el (global-auto-composition-mode)
3934 (auto-composition-mode):
3935 * delsel.el (delete-selection-mode):
3936 * desktop.el (desktop-save-mode):
3937 * dired-x.el (dired-omit-mode):
3938 * dirtrack.el (dirtrack-mode):
3939 * doc-view.el (doc-view-minor-mode):
3940 * double.el (double-mode):
3941 * electric.el (electric-indent-mode, electric-pair-mode):
3942 * emacs-lock.el (emacs-lock-mode):
3943 * epa-hook.el (auto-encryption-mode):
3944 * follow.el (follow-mode):
3945 * font-core.el (font-lock-mode):
3946 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3947 * help.el (temp-buffer-resize-mode):
3948 * hilit-chg.el (highlight-changes-mode)
3949 (highlight-changes-visible-mode):
3950 * hi-lock.el (hi-lock-mode):
3951 * hl-line.el (hl-line-mode, global-hl-line-mode):
3952 * icomplete.el (icomplete-mode):
3953 * ido.el (ido-everywhere):
3954 * image-file.el (auto-image-file-mode):
3955 * image-mode.el (image-minor-mode):
3956 * iswitchb.el (iswitchb-mode):
3957 * jka-cmpr-hook.el (auto-compression-mode):
3958 * linum.el (linum-mode):
3959 * longlines.el (longlines-mode):
3960 * master.el (master-mode):
3961 * mb-depth.el (minibuffer-depth-indicate-mode):
3962 * menu-bar.el (menu-bar-mode):
3963 * minibuf-eldef.el (minibuffer-electric-default-mode):
3964 * mouse-sel.el (mouse-sel-mode):
3965 * msb.el (msb-mode):
3966 * mwheel.el (mouse-wheel-mode):
3967 * outline.el (outline-minor-mode):
3968 * paren.el (show-paren-mode):
3969 * recentf.el (recentf-mode):
3970 * reveal.el (reveal-mode, global-reveal-mode):
3971 * rfn-eshadow.el (file-name-shadow-mode):
3972 * ruler-mode.el (ruler-mode):
3973 * savehist.el (savehist-mode):
3974 * scroll-all.el (scroll-all-mode):
3975 * scroll-bar.el (scroll-bar-mode):
3976 * server.el (server-mode):
3977 * shell.el (shell-dirtrack-mode):
3978 * simple.el (auto-fill-mode, transient-mark-mode)
3979 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3980 (line-number-mode, column-number-mode, size-indication-mode)
3981 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3982 * strokes.el (strokes-mode):
3983 * time.el (display-time-mode):
3984 * t-mouse.el (gpm-mouse-mode):
3985 * tool-bar.el (tool-bar-mode):
3986 * tooltip.el (tooltip-mode):
3987 * type-break.el (type-break-mode-line-message-mode)
3988 (type-break-query-mode):
3989 * view.el (view-mode):
3990 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3991 (global-whitespace-mode, global-whitespace-newline-mode):
3992 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3993
a3839de2
SM
3994 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3995 Fix autogenerated docstring.
06e21633 3996
5214e501
JL
39972011-10-19 Juri Linkov <juri@jurta.org>
3998
3999 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4000 by checking environment variables "DESKTOP_SESSION" and
4001 "XDG_CURRENT_DESKTOP". (Bug#9779)
4002
195f8db9
JL
40032011-10-19 Juri Linkov <juri@jurta.org>
4004
4005 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4006 (browse-url-chromium-program, browse-url-chromium-arguments):
4007 New defcustoms.
4008 (browse-url-default-browser): Check for `browse-url-chromium' and
4009 call `browse-url-chromium-program'.
4010 (browse-url-chromium): New command. (Bug#9779)
4011
343a34ff
JB
40122011-10-18 Juanma Barranquero <lekktu@gmail.com>
4013
4014 * facemenu.el (list-colors-duplicates): On Windows, detect more
4015 duplicates by assuming that only colors matching "^System" are
4016 special "system colors". (Bug#9722)
4017
6978a151
SM
40182011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4021 to distinguish the author from the committer.
4022
6a80b297
MA
40232011-10-18 Michael Albinus <michael.albinus@gmx.de>
4024
4025 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4026
b31a5677
JK
40272011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4028
4029 * international/mule.el (sgml-html-meta-auto-coding-function):
4030 Add support for detecting encoding in HTML5 specified only as
4031 <meta charset="UTF-8">. Implementation just makes http-equiv and
4032 content-type parts from HTML4 encoding string optional. (Bug#9716)
4033
80c6d77f
GM
40342011-10-18 Glenn Morris <rgm@gnu.org>
4035
4036 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4037
08b0fee8
CY
40382011-10-18 Chong Yidong <cyd@gnu.org>
4039
4040 * faces.el (cursor): Doc fix.
4041
67e729a5
CY
40422011-10-17 Chong Yidong <cyd@gnu.org>
4043
4044 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4045
343a34ff 40462011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4047
4048 * dirtrack.el (dirtrack): Support shell buffers with path
4049 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4050
0bc06380
TZ
40512011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4052
4053 * json.el: Bump version to 1.3 and note change in History.
4054 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4055
8b79f3e0
SM
40562011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4057
5a7c536b
SM
4058 * comint.el (comint-insert-input, comint-send-input)
4059 (comint-get-old-input-default, comint-backward-matching-input)
4060 (comint-next-prompt): Use nil instead of `input' for field property of
4061 past user input (bug#114).
4062
96a8a0df
SM
4063 * minibuffer.el (completion--replace): Inherit surrounding properties
4064 (bug#114).
4065 (minibuffer-complete-and-exit): Use it.
4066
8b79f3e0
SM
4067 * comint.el (comint--table-subvert): Quote the all-completions output
4068 (bug#9160).
4069
b8f7ff0d
MR
40702011-10-17 Martin Rudalics <rudalics@gmx.at>
4071
8b79f3e0 4072 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4073
b8f7ff0d 4074 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4075 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4076 entries and separate them from frame entries.
4077
c235b555
GM
40782011-10-15 Glenn Morris <rgm@gnu.org>
4079
4080 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4081 Doc fixes.
4082
6bbfa6e1
CY
40832011-10-15 Chong Yidong <cyd@stupidchicken.com>
4084
8b79f3e0
SM
4085 * net/network-stream.el (network-stream-open-starttls):
4086 Improve detection of failure due to lack of TLS support.
ec5c990d 4087
6bbfa6e1
CY
4088 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4089 putting the input text in front and in bold.
4090
98488977
SM
40912011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4092
3d1337be
SM
4093 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4094
ee0b45e4
SM
4095 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4096 empty buffer.
4097
98488977
SM
4098 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4099 unread-command-events rather than pushing yet-another event.
4100
186f4720
EZ
41012011-10-14 Eli Zaretskii <eliz@gnu.org>
4102
4103 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4104 the explanation of the possible choices. Make the options passed
4105 to completing-read shorter.
4106
8b7a997c
AM
41072011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4108
4109 * textmodes/flyspell.el (flyspell-large-region): Make sure
4110 extended character mode is used if defined (Bug#1339).
4111
12587bbb
EZ
41122011-10-13 Eli Zaretskii <eliz@gnu.org>
4113
4114 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4115 character info for LRE, LRO, RLE, and RLO characters by appending
4116 an invisible PDF.
12587bbb 4117
bad41229
SM
41182011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4121 even in case of error; add debug spec; simplify data flow.
4122 (with-timeout-handler): Remove.
4123
28dbc92f
MA
41242011-10-12 Michael Albinus <michael.albinus@gmx.de>
4125
4126 Fix Bug#6019, Bug#9315.
4127
4128 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4129 complete `buffer-file-name', the local file name part could look
4130 remotely (for example on VMS).
4131
4132 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4133 `tramp-run-real-handler'.
4134 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4135 already quoted by '"'.
4136
4137 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4138 Let `file-name-handler-alist' be nil, the local file name part
4139 could look remotely (for example on VMS).
4140
e1b0b23a
SM
41412011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4144 from here...
4145 (flyspell-post-command-hook): ...to here.
4146
a120bde9
SM
41472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4150 if not needed.
4151 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4152 using completion. Protect against "slow" callers.
4153 Remove the "message hack".
4154
7ce7717b
JL
41552011-10-11 Juri Linkov <juri@jurta.org>
4156
4157 * isearch.el (isearch-lazy-highlight-word): New variable.
4158 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4159 Use it. (Bug#9727)
4160
c02ee9d6
GM
41612011-10-11 Glenn Morris <rgm@gnu.org>
4162
4163 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4164 like f90-previous-statement does.
4165
93e616fd 41662011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4167
1f190e73 4168 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4169 only in interactive use, to avoid error.
4170
af7b6078
SM
41712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4172
4173 * minibuffer.el (completion-file-name-table): Fix last change,
4174 i.e. ignore normal errors but not the other ones.
4175
0563dae9
MR
41762011-10-10 Martin Rudalics <rudalics@gmx.at>
4177
4178 * window.el (special-display-buffer-names)
4179 (special-display-regexps): Remove some remnants of earlier
4180 changes from doc-strings.
366ca7f3
MR
4181 (quit-windows-on): New function.
4182
4183 * vc/vc.el (vc-revert, vc-rollback):
4184 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4185 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4186 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4187
49677495
MR
41882011-10-09 Martin Rudalics <rudalics@gmx.at>
4189
4190 * window.el (frame-auto-hide-function): Add version tag.
4191 (Bug#9699)
4192
56f2d1e1
MA
41932011-10-09 Michael Albinus <michael.albinus@gmx.de>
4194
4195 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4196 condition.
4197
112a6592
LL
41982011-10-09 Leo Liu <sdl.web@gmail.com>
4199
4200 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4201 (Bug#9701)
4202
0812589b
GM
42032011-10-08 Glenn Morris <rgm@gnu.org>
4204
4205 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4206 before the first code statement zero indent. (Bug#9690)
4207
b2b0776e
CY
42082011-10-08 Chong Yidong <cyd@stupidchicken.com>
4209
4210 * simple.el (count-words-region): Always count in the region.
4211 Report the number of lines and characters too.
4212 (count-words): New command, which counts in the buffer if the
4213 region is inactive, as count-words-region used to.
4214 (count-words--message): New function. Handle plurals.
4215 (count-lines-region): Make it an alias for count-words-region.
4216
4217 * bindings.el (esc-map): Replace count-lines-region with
4218 count-words-region.
4219
c557cd6b
MR
42202011-10-08 Martin Rudalics <rudalics@gmx.at>
4221
4222 * window.el (window--delete): Delete dedicated frame
4223 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4224 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4225
61a57ef4 42262011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4227
3a7d293b 4228 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4229
c3833279
CY
42302011-10-07 Chong Yidong <cyd@stupidchicken.com>
4231
4232 * bindings.el ([M-left],[M-right]): Bind to left-word and
4233 right-word respectively.
4234
21ce8245
GM
42352011-10-07 Glenn Morris <rgm@gnu.org>
4236
4237 * cus-start.el (debug-on-quit): Fix custom type.
4238
6d823bb2
LMI
42392011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4240
0181e193
LMI
4241 * subr.el (define-key-after): Clarify that the function is not
4242 useful for non-menu keymaps.
4243
6d823bb2
LMI
4244 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4245
8e3459ce 42462011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4247
21ce8245 4248 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4249 in current minibuffer (Fix bug with recursive minibuffers).
4250
a1c2d21e
CY
42512011-10-06 Chong Yidong <cyd@stupidchicken.com>
4252
4253 * progmodes/gdb-mi.el (gdb): Doc fix.
4254
5a4cf282
MR
42552011-10-05 Martin Rudalics <rudalics@gmx.at>
4256
4257 * window.el (frame-auto-hide-function): New option replacing
4258 frame-auto-delete. Suggested by Stefan Monnier.
4259 (window--delete): Call frame-auto-hide-function instead of
4260 investigating frame-auto-delete.
c96111ea
MR
4261 (window-point-1, set-window-point-1): New functions.
4262 (window-in-direction, record-window-buffer, window-state-get-1)
4263 (display-buffer-record-window): Use window-point-1 instead of
4264 window-point.
4265 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4266
9854542e
SM
42672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4270
8943cfb0
GM
42712011-10-05 Glenn Morris <rgm@gnu.org>
4272
4273 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4274 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4275
647ab967
LL
42762011-10-05 Leo Liu <sdl.web@gmail.com>
4277
4278 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4279 works with buffer object.
4280
3ddfbced
SM
42812011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * mpc.el (mpc-tool-bar-map): Add labels.
4284
bdfa5dd2
GM
42852011-10-04 Glenn Morris <rgm@gnu.org>
4286
4287 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4288
0e2070b5
MR
42892011-10-04 Martin Rudalics <rudalics@gmx.at>
4290
4291 * window.el (window--delete): New function.
4292 (frame-auto-delete): Resuscitate option.
4293 (bury-buffer, replace-buffer-in-windows)
4294 (quit-window): Rewrite using window--delete.
4295 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4296 Pass display-buffer-mark-dedicated to window--display-buffer-2
4297 (Bug#9639).
4298
3dc61a09
SM
42992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4300
915a9b64
SM
4301 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4302 returns a list (bug#9554). Add remote file name completion.
4303 * comint.el (comint--table-subvert): Curry and get quote&unquote
4304 functions as arguments.
4305 (comint--complete-file-name-data): Adjust call accordingly.
4306 * pcomplete.el (pcomplete--table-subvert): Remove.
4307 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4308
3dc61a09
SM
4309 * minibuffer.el (completion-table-case-fold): Use currying.
4310 (completion--styles-type, completion--cycling-threshold-type):
4311 New constants.
4312 (completion-styles, completion-category-overrides)
4313 (completion-cycle-threshold): Use them.
4314 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4315 completion-table-case-fold.
4316
8ea0a993
SB
43172011-10-03 Stephen Berman <stephen.berman@gmx.net>
4318
4319 * minibuffer.el (completion-category-overrides): Fix type of styles
4320 and add more user friendly tags (bug#9660).
4321
8c24b7f6
SM
43222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4325 (mule-input-method-string): New widget.
4326 (default-input-method, language-info-custom-alist): Use it.
4327
428fe61a
SM
43282011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4329
32c1fffd
SM
4330 * pcomplete.el: Require comint.
4331 (pcomplete--common-suffix): Remove.
4332 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4333 (pcomplete--table-subvert): Sync with comint--table-subvert.
4334 (pcomplete--entries): Use comint-completion-file-name-table.
4335 * comint.el (comint-unquote-filename): Simplify.
4336 (comint-completion-file-name-table): New function (bug#9616).
4337 (comint--complete-file-name-data): Use it.
4338
428fe61a
SM
4339 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4340 (pcmpl-gnu-tar-buffer): Remove.
4341 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4342 around. Make sure pcomplete-suffix-list is only changed temporarily.
4343 Don't look inside the tar's file if it's too large.
428fe61a 4344
04c52e2f
CY
43452011-10-01 Chong Yidong <cyd@stupidchicken.com>
4346
ce3cefcc
CY
4347 * cus-edit.el (custom-mode-map):
4348 * epa.el (epa-key-list-mode-map):
4349 * man.el (Man-mode-map):
4350 * startup.el (splash-screen-keymap):
4351 * simple.el (special-mode-map): Use scroll-up-command and
4352 scroll-down-command.
4353
4354 * progmodes/idlw-help.el (idlwave-help-mode-map):
4355 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4356 * net/newst-plainview.el (newsticker-mode-map):
4357 * emulation/ws-mode.el (wordstar-mode-map):
4358 * emulation/vi.el (vi-com-map):
4359 * calc/calc-graph.el (calc-graph-show-dumb):
4360 * term/sun.el (terminal-init-sun):
4361 * term/ns-win.el (global-map):
4362 * progmodes/grep.el (grep-mode-map):
4363 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4364 * mail/rmail.el (rmail-mode-map):
4365 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4366
04c52e2f
CY
4367 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4368 custom-safe-themes as special.
4369
79adf8c8
JD
43702011-10-01 Julien Danjou <julien@danjou.info>
4371
4372 * notifications.el (notifications-notify): Fix docstring.
4373
63bd50d3
PS
43742011-10-01 Per Starbäck <per@starback.se>
4375
4376 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4377
199e4c7e
MR
43782011-09-30 Martin Rudalics <rudalics@gmx.at>
4379
4380 * startup.el (command-line-1): Fix last fix by inserting
4381 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4382 (Bug#9605) and (Bug#9636)
199e4c7e 4383
fe5f08dd
EZ
43842011-09-29 Eli Zaretskii <eliz@gnu.org>
4385
4386 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4387 window is hscrolled, move by logical lines. (Bug#9607)
4388 (line-move-visual): Update the doc string to the above effect.
4389
b5516bbd
MR
43902011-09-29 Martin Rudalics <rudalics@gmx.at>
4391
ccee00c0
MR
4392 * window.el (display-buffer-record-window): When WINDOW is the
4393 selected window use `point' instead of `window-point'. (Bug#9626)
4394
b5516bbd
MR
4395 * startup.el (command-line-1): Use insert-before-markers when
4396 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4397
b5516bbd
MR
4398 * help.el (help-window): Remove variable.
4399
52aa0014
GM
44002011-09-29 Glenn Morris <rgm@gnu.org>
4401
4402 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4403
df9a7357
JB
44042011-09-29 Juanma Barranquero <lekktu@gmail.com>
4405
4406 * descr-text.el (describe-char-categories): Accept category
4407 descriptions more than one line long.
4408
a8406c20
SM
44092011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4410
88d9610c
SM
4411 * simple.el (delete-trailing-whitespace): Fix last change.
4412
a5daf810
SM
4413 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4414 Don't confuse "y => 3" as the beginning of a `y' operation.
4415
a8406c20
SM
4416 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4417 object has more than 4 slots (bug#9613).
4418
a239d4e9
JB
44192011-09-28 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * subr.el (with-output-to-temp-buffer):
4422 * net/quickurl.el (quickurl, quickurl-browse-url):
4423 Fix typos in docstrings.
4424
693fbdb6
EZ
44252011-09-27 Eli Zaretskii <eliz@gnu.org>
4426
4427 * minibuffer.el (completion-styles)
4428 (completion-category-overrides): Cross reference each other in doc
4429 strings.
4430
8b457e28
GM
44312011-09-27 Glenn Morris <rgm@gnu.org>
4432
4433 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4434 to split-string. (Bug#9606)
4435
85a16208
LMI
44362011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4437
4438 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4439 (bug#9615).
4440
502f9ebd
CY
44412011-09-27 Chong Yidong <cyd@stupidchicken.com>
4442
4443 * emacs-lisp/package.el (list-packages): Fix echo area message.
4444
7690bdea
LL
44452011-09-27 Leo Liu <sdl.web@gmail.com>
4446
4447 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4448
e2ee6f30
MA
44492011-09-25 Michael Albinus <michael.albinus@gmx.de>
4450
4451 * net/dbus.el (dbus-unregister-object): Don't release services for
4452 registered signals. (Bug#9581)
4453
f3f98342
TZ
44542011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4455
4456 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4457 function that picks between cfengine 2 and 3 support
4458 automatically. Update docs accordingly.
4459
dd7aa8dd
KH
44602011-09-22 Kenichi Handa <handa@m17n.org>
4461
4462 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4463 ZERO.
4464 (indian-itrans-v5-table-for-tamil): New variable.
4465 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4466
3f2b07f8
KM
44672011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4468
4469 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4470 that's true if the current command involved collapsing of text.
4471 It's reset to false at the beginning of the next command.
4472 (allout-post-command-business): Move the cursor to the beginning
4473 of entry if the cursor is hidden and collapsing activity just
4474 happened.
4475
371d6a61
CY
44762011-09-24 Chong Yidong <cyd@stupidchicken.com>
4477
4478 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4479 tracking (Bug#9541).
4480
2ac2721a
UJ
44812011-09-24 Ulf Jasper <ulf.jasper@web.de>
4482
4483 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4484 (newsticker-show-news): Automatically load html rendering package
4485 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4486 because w3m-fill-column is let-bound" and the error "Symbol's value
4487 as variable is void: w3m-fill-column".
2ac2721a 4488
fac7ae53
MA
44892011-09-24 Michael Albinus <michael.albinus@gmx.de>
4490
4491 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4492 Release services only if they are defined. (Bug#9581)
4493
e08b633b
RS
44942011-09-23 Richard Stallman <rms@gnu.org>
4495
e488d29c
RS
4496 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4497 distinguish start of paragraph from start of its text.
4498
19c38752
RS
4499 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4500
e08b633b
RS
4501 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4502 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4503 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4504
0a39f27e
AS
45052011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4506
4507 * international/mule-diag.el (mule-diag): Insert a newline after
4508 each fontset description.
4509
db4e950d
SM
45102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * simple.el (delete-trailing-whitespace):
4513 Document last change; simplify.
4514
eca3f3ea
PW
45152011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4516
d68e189a
PW
4517 * simple.el (delete-trailing-whitespace): Also delete
4518 extra newlines at the end of the buffer.
4519
eca3f3ea
PW
4520 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4521 (picture-newline): Use forward-line so as to ignore fields.
4522
01c157cc
SM
45232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4524
4525 * subr.el (with-wrapper-hook): Fix edebug spec.
4526
022de23e
LMI
45272011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4528
4529 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4530 (bug#4538).
4531
91683089
MA
45322011-09-23 Michael Albinus <michael.albinus@gmx.de>
4533
eca3f3ea
PW
4534 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4535 Fix nasty bug using wrong cached values.
91683089 4536
5bdd6fa4
AM
45372011-09-23 Alan Mackenzie <acm@muc.de>
4538
4539 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4540
97adfb97
CY
45412011-09-23 Chong Yidong <cyd@stupidchicken.com>
4542
4543 * window.el (pop-to-buffer): Ensure right window is selected if we
4544 chose another frame.
4545
d4ef2b50
EZ
45462011-09-22 Eli Zaretskii <eliz@gnu.org>
4547
4548 * simple.el (what-cursor-position): Use get-char-property-change
4549 and next-single-char-property-change, to be able to show display
4550 properties that come from overlays as well as text properties.
4551
72258fe5
CY
45522011-09-22 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4555
4556 * cmuscheme.el (run-scheme, switch-to-scheme):
4557 * cus-edit.el (customize-group, custom-buffer-create)
4558 (customize-browse):
4559 * info.el (info):
4560 * shell.el (shell):
4561 * mail/sendmail.el (mail):
4562 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4563
8f098516
RS
45642011-09-22 Richard Stallman <rms@gnu.org>
4565
4566 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4567 move back only to line beg, don't move back over blank lines.
4568
e74f1bb6
MA
45692011-09-22 Michael Albinus <michael.albinus@gmx.de>
4570
4571 * files.el (copy-directory): Set directory attributes only in case
4572 they could be retrieved from the source directory. (Bug#9565)
4573
bfeef8b6
DK
45742011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4575
4576 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4577 (hs-find-block-beginning, hs-hide-level-recursive):
4578 Ignore strings as well as comments. (Bug#9502)
4579
7e423bb8
AS
45802011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4581
4582 * progmodes/sql.el (sql-comint-postgres):
4583 Convert port number to a string. (Bug#9566)
4584
b4d72fcf
MR
45852011-09-22 Martin Rudalics <rudalics@gmx.at>
4586
4587 * window.el (quit-window): Undedicate window when switching to
4588 previous buffer. Reported by Thierry Volpiatto
4589 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4590 (special-display-popup-frame): When popping up a new frame reset
4591 its previous buffers to nil. Simplify code.
b4d72fcf 4592
a7b88dc6
MA
45932011-09-21 Michael Albinus <michael.albinus@gmx.de>
4594
4595 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4596 and process filter, as done also in `shell-command'.
4597
cf4eacfd
MR
45982011-09-21 Martin Rudalics <rudalics@gmx.at>
4599
eca3f3ea 4600 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4601 Call set-window-start with NOFORCE argument t.
4602 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4603 (quit-window): Reword doc-string. Handle new format of
4604 quit-restore parameter. Don't delete window if it has a
4605 previous buffer we can show instead of the present one.
4606 (display-buffer-record-window): Rewrite using a new format for
4607 the quit-restore window parameter
4608 (special-display-popup-frame, display-buffer-same-window)
4609 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4610 (display-buffer-pop-up-window, display-buffer-use-some-window):
4611 Adapt symbol passed to display-buffer-record-window.
4612 * help.el (help-window-setup): Handle new format of quit-restore
4613 parameter.
4614
8d28cb95
SM
46152011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4616
94ab793f
SM
4617 * faces.el (face-list): Fix docstring (bug#9564).
4618
8d28cb95
SM
4619 * window.el (display-buffer--action-function-custom-type):
4620 Don't include internal functions in the Custom interface.
4621
3820edeb
JL
46222011-09-20 Juri Linkov <juri@jurta.org>
4623
4624 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4625 (Info-forward-node, Info-backward-node, Info-next-preorder)
4626 (Info-last-preorder): Use it. (Bug#9528)
4627
5147931d
JL
46282011-09-20 Juri Linkov <juri@jurta.org>
4629
4630 * info.el (Info-last-preorder): Visit last menu item only when
4631 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4632
cf499a1a
JD
46332011-09-20 Julien Danjou <julien@danjou.info>
4634
4635 * password-cache.el (password-cache-remove): Remove entries even if the
4636 value is nil, so that password with a nil value (negative caching) is
4637 possible to invalidate.
4638
f84e2fe2
LM
46392011-09-20 Lawrence Mitchell <wence@gmx.li>
4640
4641 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4642 all whitespace around breakpoint. (Bug#9553)
4643 (f90-find-breakpoint): Only break at whitespace inside a comment.
4644
78054a46
SM
46452011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * minibuffer.el (completion-file-name-table): Keep track of errors.
4648 (completion-table-with-predicate): Handle the case where pred1 is nil.
4649 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4650
345083b2
SM
46512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4652
e24e27be
SM
4653 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4654 (debugger-return-value): Signal an error if the debugging context does
4655 not await any return value.
4656
345083b2
SM
4657 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4658 * image-mode.el (image-toggle-display-text)
4659 (image-toggle-display-image): Stay away from evil `intangible'.
4660
08d355e3
LL
46612011-09-19 Leo Liu <sdl.web@gmail.com>
4662
4663 * replace.el (occur-revert-arguments): Make it permanent-local.
4664 (occur-mode): Don't call font-lock-defontify.
4665
f01da43f
CY
46662011-09-19 Chong Yidong <cyd@stupidchicken.com>
4667
4668 * net/ldap.el (ldap-search-internal): Don't push empty search
4669 result (Bug#9508).
4670
b6072fa6
SM
46712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4674
443d6696
MA
46752011-09-19 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4678 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4679
7cc6e154
JL
46802011-09-18 Juri Linkov <juri@jurta.org>
4681
4682 * buff-menu.el (Buffer-menu-mode-map):
4683 * dired.el (dired-mode-map):
4684 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4685 (lisp-interaction-mode-map):
4686 * emacs-lisp/package.el (package-menu-mode-map):
4687 * epa.el (epa-key-list-mode-map):
4688 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4689 (menu-bar-options-menu):
4690 * outline.el (outline-mode-menu-bar-map):
4691 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4692 * vc/vc-dir.el (vc-dir-menu-map):
4693 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4694 Capitalize non-function content words in menu item strings.
4695
4696 * dired.el (dired-mode-map): Add menu item for
4697 `image-dired-dired-toggle-marked-thumbs'.
4698
80302a81
JL
46992011-09-18 Juri Linkov <juri@jurta.org>
4700
4701 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4702 to `isearch-case-fold-search' and restore its original value
4703 after the `isearch-mode' call.
4704
46c5cf66
JL
47052011-09-18 Juri Linkov <juri@jurta.org>
4706
4707 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4708 because `zgrep' returns 1 for successful matches (bug#9226).
4709
d18b513b
JL
47102011-09-18 Juri Linkov <juri@jurta.org>
4711
4712 * info.el (Info-extract-menu-node-name): Check the second match
4713 for empty string (second test-case of bug#9528).
4714 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4715 intermediate nodes to the history (first test-case of bug#9528).
4716
72753f87
JL
47172011-09-18 Juri Linkov <juri@jurta.org>
4718
4719 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4720 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4721
c9384295
JL
47222011-09-18 Juri Linkov <juri@jurta.org>
4723
1154d12e
JB
4724 * info.el (Info-file-supports-index-cookies):
4725 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4726 outputs one more line for long file names (bug#4142).
c9384295 4727
d473dce8
CY
47282011-09-18 Chong Yidong <cyd@stupidchicken.com>
4729
4730 * newcomment.el (comment-normalize-vars): If prompting for
4731 comment-start, set comment-start-skip too (Bug#8424).
4732
2176854d
JB
47332011-09-18 Johan Bockgård <bojohan@gnu.org>
4734
4735 * icomplete.el: Fix previous fix of Bug#5849.
4736 (icomplete-mode): Don't set completion-show-inline-help.
4737 (icomplete-minibuffer-setup): Set completion-show-inline-help
4738 locally during icompletion.
4739
3aace4e4
CY
47402011-09-18 Chong Yidong <cyd@stupidchicken.com>
4741
c940224f
CY
4742 * woman.el (woman2-process-escapes): Don't delete unrecognized
4743 escapes (Bug#7843).
4744
3aace4e4
CY
4745 * files.el (inhibit-first-line-modes-regexps): Add image files.
4746 (hack-local-variables-prop-line): Return nil for malformed
4747 prop-lines (Bug#9044).
4748
710dec63
MA
47492011-09-18 Michael Albinus <michael.albinus@gmx.de>
4750
4751 * net/tramp.el (top): Don't require 'shell.
4752 (tramp-methods): Fix docstring.
4753 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4754 Return complete remote file name. Handle "smb" case.
4755 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4756 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4757
4758 * net/tramp-compat.el (top): Require 'shell.
4759
4760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4761 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4762 `tramp-current-host'.
4763 (tramp-get-remote-tmpdir): Remove.
4764
4765 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4766 `tramp-tmpdir' entries.
4767 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4768 (tramp-smb-handle-file-attributes): Ignore errors.
4769 (tramp-smb-wait-for-output): Check also for process end.
4770
5d5ac8ec
LMI
47712011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4772
4773 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4774 when sending QUIT (bug#9312).
4775
8c0f49f0
CY
47762011-09-17 Chong Yidong <cyd@stupidchicken.com>
4777
4778 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4779 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4780 occur-mode-display-occurrence.
4781 (occur-edit-mode): Add usage message.
4782 (occur-cease-edit): New command.
4783 (occur-after-change-function): Use text properties to find the
4784 position of the prefix text.
4785 (occur-engine): Set stickiness of prefix text properties.
4786
8f1383f7
GM
47872011-09-17 Glenn Morris <rgm@gnu.org>
4788
4789 * progmodes/etags.el (complete-tag):
4790 Fix call to completion-in-region. (Bug#9526)
4791
744ba0e3
JL
47922011-09-17 Juri Linkov <juri@jurta.org>
4793
4794 * textmodes/ispell.el (ispell-word): Add to the error message
4795 the word, ispell program name and current dictionary (bug#9121).
4796 (ispell-tex-arg-end): Capitalize "error" in the error message.
4797
d9bbf400
AS
47982011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4799
4800 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4801 check. (Bug#4251)
4802
8da11505
JL
48032011-09-17 Juri Linkov <juri@jurta.org>
4804
4805 * window.el (window-safe-min-height, window-safe-min-width):
4806 Fix typos (followup to bug#9522).
4807
a91adc7e
SJ
48082011-09-17 Sven Joachim <svenjoac@gmx.de>
4809
4810 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4811
064f328a
EZ
48122011-09-16 Eli Zaretskii <eliz@gnu.org>
4813
4814 * simple.el (line-move): If goal-column is set, move by logical
4815 lines, not by display lines. (Bug#971)
4816 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4817 to reflect the above change.
4818
e69df516
SM
48192011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * image.el (imagemagick-register-types): Use regexp-opt.
4822
cbb0f9ab
CY
48232011-09-15 Chong Yidong <cyd@stupidchicken.com>
4824
4825 * window.el (display-buffer-base-action): Rename from
4826 display-buffer-default-action. Make default value empty.
4827 (display-buffer-overriding-action): Convert to defvar.
4828 (display-buffer-fallback-action): New var.
4829
25322144
CY
48302011-09-15 Chong Yidong <cyd@stupidchicken.com>
4831
4832 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4833 declaration.
4834 (package--add-to-archive-contents): If there is a duplicate entry
4835 with an older version, remove it.
4836 (package-menu-mark-delete, package-menu-mark-install)
4837 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4838 (package-menu-mark-obsolete-for-deletion):
4839 Use package-menu-get-status instead of a regexp search.
25322144
CY
4840 (package-menu-get-status): Use tabulated-list-entry.
4841 (package-menu-mark-upgrades): New command.
d770725a 4842 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4843 (package-menu-execute): Do installation before deletion.
4844 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4845 instead of checking major-mode.
4846 (package-menu--find-upgrades): New function.
4847
7520339c
LMI
48482011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4849
4850 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4851 passwords in the log buffer.
65a046c4
LMI
4852 (smtpmail-process-filter): Update the process marker so that the
4853 "broken by peer" status message is inserted in the right place.
7520339c 4854
d3c30954
SM
48552011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4856
3fe48822
SM
4857 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4858 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4859 bibtex-completion-at-point-function.
4860 (bibtex-completion-at-point-function): Use them.
4861
1b8b3954
SM
4862 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4863
d3c30954
SM
4864 * mpc.el (mpc-constraints-tag-lookup): New function.
4865 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4866 also to browser "album|playlist".
4867
72779976
JL
48682011-09-14 Juri Linkov <juri@jurta.org>
4869
4870 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4871 (isearch-edit-string): Use length of `isearch-string' when
4872 `isearch-fail-pos' returns nil.
4873 (isearch-message): Remove duplicate code and call
4874 `isearch-fail-pos' with arg `t'.
4875
a0bf2bcd
CY
48762011-09-14 Chong Yidong <cyd@stupidchicken.com>
4877
17bb0a2d
CY
4878 * replace.el (occur-mode-goto-occurrence): Don't force using other
4879 window (Bug#9499).
4880
a0bf2bcd
CY
4881 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4882
f678e0b6
MR
48832011-09-14 Martin Rudalics <rudalics@gmx.at>
4884
4885 * window.el (display-buffer-window): Remove.
4886 (display-buffer-record-window): Use help-setup window parameter
4887 instead of variable display-buffer-window.
4888 (display-buffer-function, special-display-buffer-names)
4889 (special-display-function): Mention help-setup parameter instead
4890 of display-buffer-window in doc-string.
d3c30954
SM
4891 * help.el (help-window-setup): New argument help-window.
4892 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4893 Reword some messages.
4894 (with-help-window): Pass window used for displaying the buffer
4895 to help-window-setup. Don't set display-buffer-window.
4896
8e39b2e8
GM
48972011-09-13 Glenn Morris <rgm@gnu.org>
4898
4899 * emacs-lisp/debug.el (debugger-make-xrefs):
4900 Preserve point. (Bug#9462)
4901
85e9c04b
CY
49022011-09-13 Chong Yidong <cyd@stupidchicken.com>
4903
4904 * window.el (window-deletable-p): Use next-frame.
4905
1b36ed6a
MR
49062011-09-13 Martin Rudalics <rudalics@gmx.at>
4907
4908 * window.el (window-auto-delete): Remove.
4909 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4910 dedication and previous buffers.
1b36ed6a
MR
4911 (switch-to-prev-buffer): Don't delete window.
4912 (delete-windows-on): Delete a window's frame if and only if the
4913 window is dedicated.
4914 (replace-buffer-in-windows): Delete buffer's window or frame if
4915 and only if window is dedicated.
4916 (quit-window): Handle quit-restore as before last change.
4d61f28d 4917 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4918
ef8ef9fb
CY
49192011-09-13 Chong Yidong <cyd@stupidchicken.com>
4920
4921 * window.el (window-deletable-p): Never delete the last frame on a
4922 given terminal.
4923
b2cba41e
GM
49242011-09-13 Glenn Morris <rgm@gnu.org>
4925
4926 * help.el (describe-key-briefly): Copy previous standard-output change.
4927
51553db6 49282011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4929
4930 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4931
b7556719
GM
49322011-09-13 Glenn Morris <rgm@gnu.org>
4933
4934 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4935 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4936
64b51947
CY
49372011-09-12 Chong Yidong <cyd@stupidchicken.com>
4938
4939 * dired-aux.el (dired-mark-read-string): Don't return default
4940 value on empty input (Bug#9361).
4941 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4942 Omit initial minibuffer contents.
4943 (dired-do-chmod): Signal an error on empty input.
4944 (dired-mark-read-string): Don't return default on empty input.
4945
4946 * files.el (file-modes-symbolic-to-number): Doc fix.
4947
393a301e
SM
49482011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * international/mule-cmds.el (ucs-completions): Remove.
4951 (read-char-by-name): Use complete-with-action instead; add metadata.
4952
fa5660f9
CY
49532011-09-11 Chong Yidong <cyd@stupidchicken.com>
4954
4955 * window.el (display-buffer--action-function-custom-type)
4956 (display-buffer--action-custom-type): New vars.
4957 (display-buffer-alist, display-buffer-default-action)
4958 (display-buffer-overriding-action): Add defcustom types.
4959
4a592f66
CY
4960 * frame.el (delete-other-frames): Doc fix (Bug#276).
4961
73d56dbd
LMI
49622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963
4964 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4965
37ac18a3
CY
49662011-09-11 Chong Yidong <cyd@stupidchicken.com>
4967
4968 Change modes that used same-window-* vars to use switch-to-buffer.
4969
4970 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4971 Use switch-to-buffer.
4972
4973 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4974 (customize-browse, custom-buffer-create-other-window):
4975 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4976
4977 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4978 (Info-prev, Info-up, Info-speedbar-goto-node)
4979 (info-display-manual): Use switch-to-buffer.
4980 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4981
4982 * mail/sendmail.el (mail): Use switch-to-buffer.
4983 (mail-recover): Use switch-to-buffer-other-window.
4984
4985 * cmuscheme.el (run-scheme, switch-to-scheme):
4986 * ielm.el (ielm):
4987 * shell.el (shell):
4988 * net/rlogin.el (rlogin):
4989 * net/telnet.el (telnet, rsh):
4990 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4991
10195bd6
AS
49922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4993
4994 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4995
b322f63a
LMI
49962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4997
39d7fed6
LMI
4998 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4999 so don't mention it (bug#9301).
ba5a81f1 5000 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5001
ee0e9f11
LMI
5002 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5003 match `x', `w32' and `ns', like the manual says (bug#9029).
5004
0b1c89c1 5005 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5006 (process-kill-buffer-query-function): Mention the buffer name in
5007 the query.
0b1c89c1 5008
77549ea8
LMI
5009 * image-mode.el (image-next-line): The line parameter is mandatory
5010 (bug#9258).
5011
803ef892
LMI
5012 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5013 which can be useful (bug#9301).
5014
12980837
LMI
5015 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5016
91054f8f
LMI
5017 * subr.el (match-string): Mention that the current buffer should
5018 be the same as the search was done in (bug#9282).
5019
b322f63a
LMI
5020 * facemenu.el: Disable the remove-* commands if the mark isn't
5021 active (bug#9162).
5022
3199b96f
CY
50232011-09-10 Chong Yidong <cyd@stupidchicken.com>
5024
5025 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5026 of display-buffer.
5027 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5028
5029 * replace.el (occur-mode-goto-occurrence)
5030 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5031 and display-buffer.
5032
5033 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5034 display-buffer.
5035
5036 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5037 special-display and same-window variables.
5038 (mail-other-window): Use switch-to-buffer-other-window.
5039 (mail-other-frame): USe switch-to-buffer-other-frame.
5040
393a301e
SM
5041 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5042 Use display-buffer-other-frame.
3199b96f
CY
5043 (gdb-display-gdb-buffer): Use pop-to-buffer.
5044
5045 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5046
5047 * progmodes/python.el: Don't set same-window-buffer-names.
5048
5049 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5050
5051 * window.el (display-buffer-alist): Add *Python*.
5052
8319e0bf
CY
50532011-09-10 Chong Yidong <cyd@stupidchicken.com>
5054
5055 * window.el (display-buffer-alist): Add entry for buffers
5056 previously handled same-window-*.
5057 (display-buffer-alist, display-buffer-default-action)
5058 (display-buffer-overriding-action): Mark as risky.
5059 (display-buffer-alist): Document action function changes.
5060 (display-buffer--same-window-action)
5061 (display-buffer--other-frame-action): New variables.
5062 (switch-to-buffer, display-buffer-other-frame): Use them.
5063 (display-buffer): Rename reuse-frame entry to reusable-frames.
5064 (display-buffer-reuse-selected-window): Function deleted.
5065 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5066 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5067 (display-buffer-special): New function.
5068 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5069 display-buffer-reuse-or-pop-window. Split off special-display
5070 part into display-buffer-special.
5071 (display-buffer-use-some-window): Don't perform any special
5072 pop-up-frames handling.
5073 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5074 (display-buffer--maybe-same-window): Rename from
0d3ff375 5075 display-buffer-maybe-same-window.
8319e0bf 5076
919a69aa
CY
5077 * info.el: Don't set same-window-regexps.
5078 (info-setup): New function.
5079 (info-other-window, info): Call it.
5080
5081 * cus-edit.el: Don't set same-window-regexps.
5082 (customize-group): New argument.
5083 (customize-group-other-window): Use it.
5084 (customize-face, customize-face-other-window): Likewise.
5085 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5086
8319e0bf
CY
5087 * net/rlogin.el:
5088 * net/telnet.el:
5089 * progmodes/gud.el: Don't set same-window-regexps.
5090
5091 * cmuscheme.el:
5092 * ielm.el:
5093 * shell.el:
5094 * mail/sendmail.el:
5095 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5096
25173000
JL
50972011-09-10 Juri Linkov <juri@jurta.org>
5098
5099 * isearch.el (isearch-edit-string): Remove obsolete mention of
5100 `C-w' (`isearch-yank-word-or-char') from docstring.
5101 (isearch-query-replace): Fix typo in docstring (bug#9466).
5102
056e44ef
JL
51032011-09-10 Juri Linkov <juri@jurta.org>
5104
5105 * paren.el (show-paren-function): Don't show escaped parens.
5106 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5107
c3760c17
EZ
51082011-09-10 Eli Zaretskii <eliz@gnu.org>
5109
5110 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5111 (mm-default-file-encoding): Remove autoload forms, they are
5112 replaced with autoload cookies in mml.el and mm-encode.el.
5113 (mail-add-attachment): New command.
5114 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5115 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5116 the doc string.
5117 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5118
fece895e
RT
51192011-09-10 Reuben Thomas <rrt@sc3d.org>
5120
e69df516
SM
5121 * simple.el (count-words-region): Use buffer if there's no region
5122 (bug#9429).
fece895e 5123
5e68ce4a
JL
51242011-09-09 Juri Linkov <juri@jurta.org>
5125
5126 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5127 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5128 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5129
0a6b9622
AM
51302011-09-09 Alan Mackenzie <acm@muc.de>
5131
5132 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5133 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5134
14a29deb
EZ
51352011-09-09 Eli Zaretskii <eliz@gnu.org>
5136
5137 Fix for Savannah bug#9392.
5138 * simple.el (mail-encode-mml): New defvar.
5139
5140 * mail/rmail.el (mail-encode-mml): Add a defvar.
5141 (rmail-enable-mime-composing): Default to t.
5142 (rmail-forward): Use MIME method of forwarding only if both
5143 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5144 Set mail-encode-mml non-nil if the MIME method was used.
5145
5146 * mail/sendmail.el (mml-to-mime): Add autoload form.
5147 (mail-encode-mml): Add a defvar.
5148 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5149 to nil.
5150 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5151 message through mml-to-mime, and reset mail-encode-mml to nil.
5152
28c45130
GM
51532011-09-09 Glenn Morris <rgm@gnu.org>
5154
5155 * woman.el (woman-if-body): When processing an .el block,
5156 do not delete the next .el block as well. (Bug#9447)
69f4b618 5157 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5158
9b1c252e
MR
51592011-09-08 Martin Rudalics <rudalics@gmx.at>
5160
5161 * window.el (window-deletable-p): Make sure window is live before
5162 invoking window-prev-buffers.
5163
567457e3
LL
51642011-09-08 Leo Liu <sdl.web@gmail.com>
5165
5166 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5167
97f05794
JL
51682011-09-08 Juri Linkov <juri@jurta.org>
5169
5170 * progmodes/compile.el (compilation-environment): Make it
5171 a defcustom (bug#8340).
5172
8b0874b5
MR
51732011-09-08 Martin Rudalics <rudalics@gmx.at>
5174
5175 * window.el (frame-auto-delete): Rename to window-auto-delete.
5176 Make it control auto-deletion of windows and/or frames.
5177 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5178 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5179 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5180 Rewrite handling of case when window/frame can be deleted.
5181 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5182 argument t. (Bug#9456)
8b0874b5 5183
4feb6e73
CY
51842011-09-07 Chong Yidong <cyd@stupidchicken.com>
5185
5186 * help-mode.el (help-mode): Restore autoload.
5187
91ab9c13
JL
51882011-09-07 Juri Linkov <juri@jurta.org>
5189
5190 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5191 `compilation-environment'. Set buffer-local
5192 `compilation-environment' to `thisenv' later after (funcall mode).
5193 (Bug#8340)
5194
5195 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5196 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5197 instead of replacing its value. (Bug#8340)
5198
0527e251
JL
51992011-09-07 Juri Linkov <juri@jurta.org>
5200
5201 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5202 based on text properties put by `grep-filter' instead of matching
5203 escape sequences.
5204 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5205 to the value of `grep-error-screen-columns' (bug#9438).
5206
249f792c
JL
52072011-09-07 Juri Linkov <juri@jurta.org>
5208
5209 * simple.el (next-error-highlight, next-error-highlight-no-select):
5210 Doc fix (bug#9432).
5211
ff7271b9
OT
52122011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5213
5214 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5215 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5216
183fc730
LL
52172011-09-07 Leo Liu <sdl.web@gmail.com>
5218
5219 * net/rcirc.el (rcirc-mode): Conditionally initialize
5220 rcirc-input-ring.
5221
77694924
SM
52222011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * emacs-lisp/find-func.el (find-function-C-source): Only set
5225 find-function-C-source-directory after checking that we found a source
5226 file there (bug#9440).
5227
d809b8eb
AM
52282011-09-06 Alan Mackenzie <acm@muc.de>
5229
5230 * isearch.el (isearch-other-meta-char): Wherever a key list is
5231 unread, "unread" the prefix arg, too. This fixes bug #8901.
5232
453de99f
OG
52332011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5234
5235 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5236
90439906
JL
52372011-09-05 Juri Linkov <juri@jurta.org>
5238
5239 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5240
f62bd846
JL
52412011-09-05 Juri Linkov <juri@jurta.org>
5242
5243 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5244 keeping point where processing of grep matches begins, and
5245 continue to delete remaining escape sequences from the same point.
5246 (grep-filter): Make leading zero optional in "0?1;31m" because
5247 git-grep emits "\033[1;31m" escape sequences unlike expected
5248 "\033[01;31m" as GNU Grep does (bug#9408).
5249 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5250
045820ec
JL
52512011-09-05 Juri Linkov <juri@jurta.org>
5252
5253 * subr.el (y-or-n-p): Capitalize "yes".
5254
f5e29b9b
MA
52552011-09-04 Michael Albinus <michael.albinus@gmx.de>
5256
5257 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5258 `tramp-cache-unload-hook' where appropriate.
5259 (tramp-methods): Rename `tramp-remote-sh' to
5260 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5261 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5262
5263 * net/tramp-sh.el (top): Don't require 'shell.
5264 (tramp-methods): Add `tramp-remote-shell' and
5265 `tramp-remote-shell-args' entries.
5266 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5267 (tramp-sh-handle-shell-command): Remove.
5268 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5269 Use `tramp-remote-shell'.
5270
2784c434
CY
52712011-09-03 Chong Yidong <cyd@stupidchicken.com>
5272
393a301e 5273 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5274 (sendmail-query-once): Save directly to send-mail-function.
5275 Update message-send-mail-function too.
5276
5277 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5278
464cdf56
CS
52792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5280
5281 * progmodes/python.el (python-mode-map): Use correct function to
5282 start python interpreter from menu-bar (as reported by Geert
5283 Kloosterman).
5284 (inferior-python-mode-map): Fix typo.
393a301e 5285 (python-shell-map): Remove.
464cdf56 5286
d37e5c87
DD
52872011-09-03 Deniz Dogan <deniz@dogan.se>
5288
5289 * net/rcirc.el (rcirc-print): Simplify code for
5290 rcirc-scroll-show-maximum-output. There is no need to walk
5291 through all windows to find the right one.
5292
f3ada0ee
CS
52932011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5294
5295 * help.el (help-return-method): Doc fix.
5296
1f3c99ca
MR
52972011-09-03 Martin Rudalics <rudalics@gmx.at>
5298
5299 * window.el (window-deletable-p): Don't return a non-nil value
5300 when there's a buffer that was shown in the window before.
5301 (Bug#9419)
393a301e
SM
5302 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5303 Set window's previous buffers to nil.
1f3c99ca 5304
a3cf097f
EZ
53052011-09-03 Eli Zaretskii <eliz@gnu.org>
5306
5307 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5308 newline before and after the tag line, so it doesn't interfere
5309 with determining the paragraph direction of bidirectional text.
5310
3d03de90
LL
53112011-09-03 Leo Liu <sdl.web@gmail.com>
5312
5313 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5314
c3313451
CY
53152011-09-02 Chong Yidong <cyd@stupidchicken.com>
5316
393a301e 5317 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5318 (pop-to-buffer): Change interactive spec. Pass second argument
5319 directly to display-buffer.
5320 (display-buffer): Fix interactive spec. Use functionp to
5321 distinguish between a function and a list of functions.
5322
5323 * abbrev.el (edit-abbrevs):
5324 * arc-mode.el (archive-extract):
5325 * autoinsert.el (auto-insert):
5326 * bookmark.el (bookmark-bmenu-list):
5327 * files.el (find-file):
5328 * view.el (view-buffer):
5329 * progmodes/compile.el (compilation-goto-locus):
5330 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5331
89894cd8
CY
53322011-09-02 Chong Yidong <cyd@stupidchicken.com>
5333
5334 * window.el (display-buffer-alist): Doc fix.
5335 (display-buffer): Add docstring. Don't treat
5336 display-buffer-default specially.
5337 (display-buffer-reuse-selected-window)
5338 (display-buffer-same-window, display-buffer-maybe-same-window)
5339 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5340 (display-buffer-pop-up-window)
5341 (display-buffer-reuse-or-pop-window)
5342 (display-buffer-use-some-window): New functions.
5343 (display-buffer-default-action): Use them.
393a301e 5344 (display-buffer-default): Delete.
89894cd8
CY
5345 (pop-to-buffer-1): Fix choice of actions.
5346
ae0bc9fb
SM
53472011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * minibuffer.el (completion--insert-strings): Don't get confused by
5350 completion entries that end with an LF char.
5351
e9d90883
EZ
53522011-09-01 Eli Zaretskii <eliz@gnu.org>
5353
5354 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5355
437014c8
CY
53562011-09-01 Chong Yidong <cyd@stupidchicken.com>
5357
5358 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5359 (display-buffer-same-window, display-buffer-other-window):
5360 New functions.
437014c8
CY
5361 (pop-to-buffer-1): New function. Use the above.
5362 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5363 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5364
5365 * view.el (view-buffer-other-window, view-buffer-other-frame):
5366 Just use pop-to-buffer.
5367
a5e063d5
TV
53682011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5369
5370 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5371
793d32bb
WH
53722011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5373
5374 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5375
d65e4c15
RS
53762011-08-31 Richard Stallman <rms@gnu.org>
5377
5378 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5379 of the separation of rmail-view-buffer from rmail-buffer.
5380 If you say no to "replace original", the decrypt is in the
5381 view buffer. If you say yes, the decrypt goes into the
5382 rmail buffer also.
5383
f818cd2a
MR
53842011-08-31 Martin Rudalics <rudalics@gmx.at>
5385
5386 * window.el (display-buffer-window): Rewrite doc-string.
5387 (display-buffer-record-window): New function.
5388 (display-buffer-macro-specifiers)
5389 (display-buffer-even-window-sizes, display-buffer-set-height)
5390 (display-buffer-set-width, display-buffer-in-window)
5391 (display-buffer-reuse-window, display-buffer-split-specifiers)
5392 (display-buffer-side-specifiers, display-buffer-split-window-1)
5393 (display-buffer-split-window, display-buffer-split-atom-window)
5394 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5395 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5396 (display-buffer-other-window-means-other-frame)
5397 (display-buffer-normalize-special)
5398 (display-buffer-normalize-default)
5399 (display-buffer-normalize-argument)
5400 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5401 (display-buffer-normalize-specifiers, display-buffer-frame)
5402 (display-buffer-same-window, display-buffer-same-frame)
5403 (display-buffer-other-window)
5404 (display-buffer-same-frame-other-window)
5405 (display-buffer-other-frame, pop-to-buffer-same-window)
5406 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5407 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5408 (switch-to-buffer-same-frame)
5409 (switch-to-buffer-other-window-same-frame)
5410 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5411 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5412 (display-buffer-alist-set): Remove.
5413 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5414 (special-display-regexps, special-display-function):
5415 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5416 parameter.
5417 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5418 (special-display-frame-alist, special-display-popup-frame)
5419 (same-window-buffer-names, same-window-regexps, same-window-p)
5420 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5421 (split-window-preferred-function, split-height-threshold)
5422 (split-width-threshold, window-splittable-p)
5423 (split-window-sensibly, window--try-to-split-window)
5424 (window--frame-usable-p, even-window-heights)
5425 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5426 (window--display-buffer-2, display-buffer-other-frame):
5427 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5428 (display-buffer-default, display-buffer-assq-regexp): New functions.
5429 (display-buffer-alist): Rewrite doc-string.
5430 (display-buffer-default-action)
5431 (display-buffer-overriding-action): New variables.
5432 (display-buffer, switch-to-buffer): Rewrite.
5433 (pop-to-buffer): Restore Emacs 23 behavior but use
5434 window-normalize-buffer-to-display.
5435 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5436 Restore Emacs 23 behavior but use
5437 window-normalize-buffer-to-switch-to.
5438 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5439 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5440 Rewrite using Emacs 23 options.
f818cd2a 5441
5bc3b51d
MA
54422011-08-31 Michael Albinus <michael.albinus@gmx.de>
5443
5444 * net/tramp.el (tramp-root-regexp): Remove.
5445 (tramp-completion-file-name-regexp-unified)
5446 (tramp-completion-file-name-regexp-separate)
5447 (tramp-completion-file-name-regexp-url): Don't use leading volume
5448 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5449 (tramp-drop-volume-letter): Simplify definition.
5450 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5451
b1a4f8e1
SM
54522011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5455 (bug#9356).
5456
5664fa7b
RT
54572011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5458
b1a4f8e1 5459 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5460
9a45d6c3
JL
54612011-08-29 Juri Linkov <juri@jurta.org>
5462
5463 * isearch.el (isearch-done): Don't display message "Mark saved"
5464 when arg `edit' is non-nil to prevent its flicker in the echo area.
5465
fb87e0fb
CY
54662011-08-28 Chong Yidong <cyd@stupidchicken.com>
5467
5468 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5469 obsolete packages for deletion.
5470
09ac1c2a
CS
54712011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5472
5473 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5474 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5475 view-mode from help-mode.
5476 (help-xref-override-view-map): Remove.
5477 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5478 view-mode is not used anymore.
5479
7a1ff57f
CY
54802011-08-28 Chong Yidong <cyd@stupidchicken.com>
5481
5482 * server.el (server-port): Doc fix.
5483
b9696605
CY
5484 * cus-theme.el (custom-theme-choose-mode): Inherit from
5485 special-mode (Bug#9124).
5486 (custom-theme-choose-mode-map): Add special-mode to parent.
5487
ef8cdf8c
AM
54882011-08-28 Alan Mackenzie <acm@muc.de>
5489
5490 * progmodes/cc-fonts.el
5491 (c-make-font-lock-BO-decl-search-function): New function.
5492 (c-basic-matchers-after - "Fontify the clauses after various
5493 keywords"): Extract the three keyword lists for the 3 erroneous
5494 constructs from the list of four, and use the new function above
5495 in place of an old one.
5496
27de4e20
DD
54972011-08-28 Deniz Dogan <deniz@dogan.se>
5498
5499 * net/rcirc.el (rcirc-insert-prev-input)
5500 (rcirc-insert-next-input): Remove unused argument.
5501
356a3681
SM
55022011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5505
3fc9b218
AM
55062011-08-27 Alan Mackenzie <acm@muc.de>
5507
5508 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5509 handle function pointer parameters properly.
5510
538a061c
MR
55112011-08-27 Martin Rudalics <rudalics@gmx.at>
5512
5513 * window.el (display-buffer-reuse-window): Fix case where
5514 selected window was reused with non-nil OTHER-WINDOW argument.
5515 (Bug#9381)
5516
35b1c40c
DD
55172011-08-27 Deniz Dogan <deniz@dogan.se>
5518
5519 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5520 oftc's NickServ messages.
5521
2f6a3e79
GM
55222011-08-27 Glenn Morris <rgm@gnu.org>
5523
5524 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5525
7254299e
CY
55262011-08-26 Chong Yidong <cyd@stupidchicken.com>
5527
5528 * emacs-lisp/package.el (package-install): Call package-initialize
5529 if called interactively.
5530
f8ccf167
LL
55312011-08-26 Leo Liu <sdl.web@gmail.com>
5532
5533 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5534
3e8cd5ce
JL
55352011-08-25 Juri Linkov <juri@jurta.org>
5536
5537 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5538 `search-whitespace-regexp' (bug#9364).
5539
93eb7113
JL
55402011-08-25 Juri Linkov <juri@jurta.org>
5541
5542 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5543 `regexp-search-ring' to their global values to protect from
5544 updating by `read-from-minibuffer' (bug#9185).
5545
f65d1611
JL
55462011-08-25 Juri Linkov <juri@jurta.org>
5547
5548 * textmodes/ispell.el (ispell-command-loop): Add newline
5549 at the end of the "Use option `i'..." line.
5550
f1cf7a31
JL
55512011-08-25 Juri Linkov <juri@jurta.org>
5552
5553 * battery.el (display-battery-mode): If `battery-status-function'
5554 or `battery-mode-line-format' is nil, display the message and set
5555 `display-battery-mode' to nil (bug#9363).
5556
0c95fcf7
EZ
55572011-08-25 Eli Zaretskii <eliz@gnu.org>
5558
5559 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5560 bidi-string-mark-left-to-right; they are unnecessary now.
5561
a2ebe600
DD
55622011-08-25 Deniz Dogan <deniz@dogan.se>
5563
5564 * net/quickurl.el: Documentation typo fixes.
5565
e4ed06f1
CY
55662011-08-25 Chong Yidong <cyd@stupidchicken.com>
5567
5568 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5569
e5f1c99e
GM
55702011-08-25 Glenn Morris <rgm@gnu.org>
5571
b2948976
GM
5572 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5573
e5f1c99e
GM
5574 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5575 (smtpmail-via-smtp): Handle nil response from smtp.
5576
f22f4808
JL
55772011-08-24 Juri Linkov <juri@jurta.org>
5578
5579 * proced.el (proced-marked): Inherit from `error' instead of
5580 `font-lock-warning-face'.
5581
5582 * ibuffer.el (ibuffer-marked-face): Change default face from
5583 `font-lock-warning-face' to `warning'.
5584 (ibuffer-deletion-face): Change default face from
5585 `font-lock-type-face' to `error'.
5586
5587 * battery.el (battery-update): Use the face `error' instead of
5588 `font-lock-warning-face' (bug#6117).
5589
6a93965e
JL
55902011-08-24 Juri Linkov <juri@jurta.org>
5591
5592 * faces.el (success): Change face color from "Green3" to
5593 "ForestGreen" on light background (bug#9353).
5594
1ed43b09
CY
55952011-08-24 Chong Yidong <cyd@stupidchicken.com>
5596
5664fa7b
RT
5597 * window.el (quit-window): Rename from quit-restore-window.
5598 Use same arglist as old quit-window.
1ed43b09
CY
5599 (frame-auto-delete): Doc fix.
5600
5601 * view.el (view-mode-exit): Use quit-window.
5602
11dcdbb2
JL
56032011-08-24 Juri Linkov <juri@jurta.org>
5604
5605 * isearch.el (isearch-ring-adjust1): Start visiting previous
5606 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5607 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5608 for empty search string (when the last search string is reused
5609 automatically) to adjust the isearch ring to the last element and
5610 prepare the correct index for further M-p commands (bug#9185).
5611
de62b4df
KH
56122011-08-24 Kenichi Handa <handa@m17n.org>
5613
5614 * international/ucs-normalize.el: If decomposition property of
5615 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5616 nil.
5617 (nfd, nfkd): Likewise.
5618
963b492b
SM
56192011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5620
5621 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5622 from process filters aren't reliably transmitted to the surrounding
5623 accept-process-output.
5624 (mpc-proc-check): New function.
5625 (mpc-proc-sync): Use it (bug#8293)
5626
93b6b5e1
SM
56272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5630 Add compatibility functions (bug#9313).
5631
bca633fb
EZ
56322011-08-23 Eli Zaretskii <eliz@gnu.org>
5633
b177498a
EZ
5634 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5635
6df6ae42 5636 * international/uni-bidi.el: Regenerate.
bca633fb 5637
0902a04e
KH
56382011-08-23 Kenichi Handa <handa@m17n.org>
5639
5640 * international/charprop.el:
5641 * international/uni-bidi.el:
5642 * international/uni-category.el:
5643 * international/uni-combining.el:
5644 * international/uni-comment.el:
5645 * international/uni-decimal.el:
5646 * international/uni-decomposition.el:
5647 * international/uni-digit.el:
5648 * international/uni-lowercase.el:
5649 * international/uni-mirrored.el:
5650 * international/uni-name.el:
5651 * international/uni-numeric.el:
5652 * international/uni-old-name.el:
5653 * international/uni-titlecase.el:
5654 * international/uni-uppercase.el: Regenerate.
5655
3bbf23bc
MR
56562011-08-23 Martin Rudalics <rudalics@gmx.at>
5657
5658 * help.el (help-window-setup): Fix message displayed when other
5659 window is reused. (Bug#9341)
5660
b3fd59bd
SM
56612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5662
1802e444
SM
5663 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5664 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5665
b3fd59bd
SM
5666 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5667 Mark obsolete.
5668 * shell.el (shell-parse-pcomplete-arguments): New function.
5669 (shell-completion-vars): Use it instead (bug#9160).
5670
4eb61348
SM
56712011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5672
867cab74
SM
5673 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5674 strings and comments (bug#9333).
5675
4eb61348
SM
5676 * emacs-lisp/debug.el (debug-arglist): New function.
5677 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5678 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5679
262a1439
JL
56802011-08-22 Juri Linkov <juri@jurta.org>
5681
56ee679c
JL
5682 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5683 Revert regexp that highlights output switches to its old
5684 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5685
262a1439
JL
5686 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5687 to check for empty output (bug#9226).
5688
f13f86fb
CY
56892011-08-22 Chong Yidong <cyd@stupidchicken.com>
5690
5691 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5692 symbol-constituent as the default, as that stops font-lock from
5693 working properly (Bug#8843).
5694
c65c9622
LMI
56952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5696
5697 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5698 `coding-system-for-*' around the process open call to avoid
5699 auth-source side effects.
e7f2c178 5700 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5701 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5702 probe hangs.
c65c9622 5703
23a8a5ab
CY
57042011-08-21 Chong Yidong <cyd@stupidchicken.com>
5705
ff98b2dd
CY
5706 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5707
23a8a5ab
CY
5708 * emacs-lisp/find-func.el (find-function-noselect): New arg
5709 lisp-only.
5710
5711 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5712 signal an error for built-in functions (Bug#6664).
5713
f5e3c598
LMI
57142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5715
5716 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5717 (smtpmail-try-auth-methods): Use it.
5718
a3f2468a
CY
57192011-08-21 Chong Yidong <cyd@stupidchicken.com>
5720
2c34e8da
CY
5721 * font-lock.el (font-lock-fontify-region)
5722 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5723 (font-lock-default-unfontify-buffer)
5724 (font-lock-default-fontify-region)
5725 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5726
b3fd59bd
SM
5727 * progmodes/compile.el (compilation-error-properties):
5728 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5729 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5730 `ant' regexp.
ee31aabc 5731
a3f2468a
CY
5732 * net/browse-url.el (browse-url-firefox): Don't call
5733 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5734
8e999f70
GM
57352011-08-20 Glenn Morris <rgm@gnu.org>
5736
c21a496a
GM
5737 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5738
59ee0542
GM
5739 * tutorial.el (tutorial--default-keys): Update some default bindings.
5740
8e999f70
GM
5741 * files.el (hack-local-variables): Fully ignore case for "mode:".
5742
e3715033
AM
57432011-08-20 Alan Mackenzie <acm@muc.de>
5744
5745 Resolve invalid use of a regexp in regexp-opt.
5746
4d61f28d
JB
5747 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5748 detection for a java annotation.
e3715033 5749
4d61f28d 5750 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5751 detection for a java annotation.
5752
4d61f28d
JB
5753 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5754 handling for java.
e3715033
AM
5755 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5756
04ed2e9c
CY
57572011-08-20 Chong Yidong <cyd@stupidchicken.com>
5758
5759 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5760 (Bug#9274).
5761
826cee64
AM
57622011-08-20 Alan Mackenzie <acm@muc.de>
5763
58179cce 5764 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5765 such a construct. Mainly for when jit-lock etc. starts a chunk
5766 here.
5767
58179cce 5768 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5769 variable.
58179cce 5770 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5771 c-make-font-lock-search-function.
5772 (c-make-font-lock-search-function): Use the above function.
5773 (c-make-font-lock-context-search-function): New function.
5774 (c-cpp-matchers): Enhance the preprocessor expression case with
5775 the above function
5776 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5777 which takes an expression.
5778
5779 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5780
13009bd8
MR
57812011-08-20 Martin Rudalics <rudalics@gmx.at>
5782
5783 * window.el (display-buffer-reuse-window)
5784 (display-buffer-pop-up-window): Don't reuse or split a side
5785 window.
5786
9234ff7f
GM
57872011-08-19 Glenn Morris <rgm@gnu.org>
5788
5789 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5790 Downcase "Mode:". (Bug#9331)
9234ff7f 5791
f635daa1
CY
57922011-08-18 Chong Yidong <cyd@stupidchicken.com>
5793
5794 * international/characters.el: Add L and R categories.
5795
5796 * subr.el (bidi-string-mark-left-to-right): Rename from
5797 string-mark-left-to-right. Use category search.
5798
5799 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5800
bc987f8b
JL
58012011-08-18 Juri Linkov <juri@jurta.org>
5802
5803 * faces.el (error, warning, success): New faces with definitions
5804 copied from old default values of `font-lock-warning-face',
5805 `compilation-warning', `compilation-info' (bug#6117).
5806
5807 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5808
5809 * progmodes/compile.el (compilation-error): Inherit from `error'.
5810 (compilation-warning): Inherit from `warning'.
5811 (compilation-info): Inherit from `success'.
5812
5813 * dired.el (dired-marked): Inherit from `warning'.
5814 (dired-flagged): Inherit from `error'.
5815
57173b96
LMI
58162011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5817
3e79eb87
LMI
5818 * mail/smtpmail.el (auth-source): Require to avoid problems with
5819 binding variables (bug#9298). Also clean up some unused
5820 autoloads.
5821
b3fd59bd
SM
5822 * net/network-stream.el (network-stream-open-starttls):
5823 Support using starttls.el without using gnutls-cli.
57173b96 5824
02b404de
JL
58252011-08-17 Juri Linkov <juri@jurta.org>
5826
5827 * progmodes/grep.el (rgrep): Handle the case when
5828 `grep-find-command' is a cons cell (bug#9278).
5829
8c9177f2
MR
58302011-08-17 Martin Rudalics <rudalics@gmx.at>
5831
5832 * window.el (display-buffer-pop-up-frame): Run frame creation
5833 function with BUFFER current (as special-display-popup-frame
5834 does). Reported by Drew Adams.
5835
3644a0ab
DU
58362011-08-17 Daiki Ueno <ueno@unixuser.org>
5837
5838 * epa-mail.el: Simplify GnuPG group expansion using
5839 epg-expand-group.
5840 (epa-mail-group-alist, epa-mail-group-modtime)
5841 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5842 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5843 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5844 Remove.
5845
5e617bc2 58462011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5847
5848 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5849
9c4aeabf
AM
58502011-08-16 Alan Mackenzie <acm@muc.de>
5851
5852 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5853 Correct, to avoid the inside of macros.
5854
3a99bf64
RS
58552011-08-16 Richard Stallman <rms@gnu.org>
5856
04963aa8
RS
5857 * epa-mail.el: Handle GnuPG group definitions.
5858 (epa-mail-group-alist, epa-mail-group-modtime)
5859 (epa-mail-gnupg-conf-file): New variables.
5860 (epa-mail-parse-groups, epa-mail-sync-groups)
5861 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5862 (epa-mail-expand-recipients): New functions.
5863 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5864
177549d0
RS
5865 * mail/rmail.el (rmail-epa-decrypt): New command.
5866
fe38beef
RS
5867 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5868 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5869 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5870 (epa-decrypt-armor-in-region): Make error message clearer.
5871
934eacb9
SM
58722011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5875 and "a2b" to "ab" for `prefix'.
5876
d024fb4e
CY
58772011-08-14 Chong Yidong <cyd@stupidchicken.com>
5878
5879 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5880 filter groups.
de148fee
CY
5881 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5882 Fourquet (Bug#8804).
d024fb4e 5883
62f1ca49
JB
58842011-08-12 Juanma Barranquero <lekktu@gmail.com>
5885
5886 * startup.el (argi): Declare as global variable (bug#9275).
5887
9ccaaa4b
CY
58882011-08-12 Chong Yidong <cyd@stupidchicken.com>
5889
5890 * subr.el (string-mark-left-to-right): Search the entire string
5891 for RTL script, not just the terminating character. Doc fix.
5892
a3dae87a
SM
58932011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5894
6cd18349
SM
5895 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5896 New function.
5897 (js--regexp-literal, js-syntax-propertize-function): Remove.
5898 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5899 (js-mode-map): Don't rebind electric keys.
5900 (js-insert-and-indent): Remove.
5901 (js-mode): Setup electric-layout and electric-indent instead.
5902
a3dae87a
SM
5903 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5904
9d5cb631
DU
59052011-08-12 Daiki Ueno <ueno@unixuser.org>
5906
5907 * epa.el (epa-progress-callback-function): Fix the logic of
5908 displaying progress.
5909 * epa-file.el (epa-file-insert-file-contents): Make progress
5910 display more user-friendly.
5911 (epa-file-write-region): Ditto.
5912
3e26a4a2
CY
59132011-08-10 Chong Yidong <cyd@stupidchicken.com>
5914
5915 * subr.el (string-mark-left-to-right): New function.
5916
5917 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5918 Use string-mark-left-to-right.
5919 (list-buffers-noselect): Caller changed.
5920
a3dae87a
SM
5921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5922 Use string-mark-left-to-right.
3e26a4a2
CY
5923 (tabulated-list-print): Recenter after moving point.
5924
ac8cf6e6
JL
59252011-08-10 Juri Linkov <juri@jurta.org>
5926
5927 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5928 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5929 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5930
8d96c9a4
CY
59312011-08-09 Chong Yidong <cyd@stupidchicken.com>
5932
5933 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5934 (Bug#7554).
5935
7be1c708 59362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5937
5938 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5939 character. (Bug#6594)
5940
37e11a63
CY
59412011-08-08 Chong Yidong <cyd@stupidchicken.com>
5942
839dde57
CY
5943 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5944 (image-dired--with-db-file): New macro.
5945 (image-dired-write-tags, image-dired-remove-tag)
5946 (image-dired-create-gallery-lists, image-dired-write-comments)
5947 (image-dired-get-comment, image-dired-mark-tagged-files)
5948 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5949 (image-dired-gallery-generate): Use insert-file-contents.
5950
37e11a63
CY
5951 * time.el (display-time-world-list, display-time-world-display):
5952 * time-stamp.el (time-stamp-string):
5953 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5954 set-time-zone-rule (Bug#7337).
5955
0b4946c4
DU
59562011-08-08 Daiki Ueno <ueno@unixuser.org>
5957
5958 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5959 (epg-error-to-string, epg-errors-to-string): New function.
5960 (epg-wait-for-completion): Reverse errors list.
5961 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5962 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5963 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5964 (epg-sign-keys, epg-generate-key-from-file)
5965 (epg-generate-key-from-string): Format errors by using
5966 epg-errors-to-string (bug#9255).
5967 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5968
75bfc667
JL
59692011-08-07 Juri Linkov <juri@jurta.org>
5970
5971 * faces.el (list-faces-display): Remove extra angle bracket
5972 from `help-mode-map'.
5973
5974 * info.el (Info-history-toc-nodes): Doc fix.
5975
5976 * longlines.el (longlines-mode): Doc fix.
5977
673e08bb
SM
59782011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5979
4640dd88
SM
5980 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5981 of statements and in a few more cases (bug#9183).
5982
673e08bb
SM
5983 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5984 New functions.
5985 (cl-transform-lambda): Use them (bug#9239).
5986
89b3f019
MR
59872011-08-05 Martin Rudalics <rudalics@gmx.at>
5988
5989 * window.el (display-buffer-same-window)
5990 (display-buffer-same-frame, display-buffer-other-window)
5991 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5992 (pop-to-buffer-other-window)
5993 (pop-to-buffer-same-frame-other-window)
5994 (pop-to-buffer-other-frame): Make them defuns.
5995 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5996
640c8776
SM
59972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * subr.el (make-composed-keymap): Move from C. Change calling
6000 convention, and improve docstring to bring attention to a subtle point.
6001 * minibuffer.el (completing-read-default): Adjust accordingly.
6002
63648a95
MA
60032011-08-03 Michael Albinus <michael.albinus@gmx.de>
6004
6005 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6006 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6007
6008 * net/trampver.el: Update release number.
6009
b796c9b7
SM
60102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6013 "in" (bug#9190).
6014
2239d7d5
LMI
60152011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6016
e07dd7c3
LMI
6017 * mail/sendmail.el (sendmail-query-once): Restore the current
6018 buffer after querying (bug#9074).
6019
0e6a2bd7
LMI
6020 * dired.el (dired-flagged): Use different faces for marked and
6021 flagged files (bug#6117).
6022
ce887515
LMI
6023 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6024 (bug#4433).
6025
92f2affc
LMI
6026 * ido.el (ido-mode): Switch off the message if called
6027 non-interactively.
6028
57d5aff0
LMI
6029 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6030 before 587, since it appears that that's more likely to work for
6031 more people.
6032
98cd6c18 6033 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6034 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6035 exist.
6036
b96dec83
LMI
6037 * info.el: Remove the `Info-beginning-of-buffer' function
6038 (bug#8325).
6039
b796c9b7
SM
6040 * net/network-stream.el (network-stream-open-starttls):
6041 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6042
d90e2ea0
MR
60432011-08-01 Martin Rudalics <rudalics@gmx.at>
6044
6045 * window.el (display-buffer-in-window): Don't set dedicated status
6046 of window here (Bug#9215).
6047 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6048 (display-buffer-pop-up-side-window)
b796c9b7 6049 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6050
cca09170
SM
60512011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6054 before binding generated-autoload-file.
6055
027b979c
DD
60562011-08-01 Deniz Dogan <deniz@dogan.se>
6057
6058 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6059
3c7ee4f3
MA
60602011-07-30 Michael Albinus <michael.albinus@gmx.de>
6061
6062 Sync with Tramp 2.2.2.
6063
6064 * net/trampver.el: Update release number.
6065
2cc8e51a
JL
60662011-07-30 Juri Linkov <juri@jurta.org>
6067
6068 * dired-aux.el (dired-touch-initial): Remove function.
6069 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6070 current time, and `default' to the last modification time of the
6071 current marked file (bug#6887).
6072
a514d856
JM
60732011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6074
6075 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6076 numeric argument to read-number (bug#9163).
a514d856 6077
8a7eddd7
MA
60782011-07-27 Michael Albinus <michael.albinus@gmx.de>
6079
6080 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6081 connection process, it could be nil.
6082
1ddd96f5
LL
60832011-07-27 Leo Liu <sdl.web@gmail.com>
6084
6085 Simplify url handling in rcirc-mode.
6086
6087 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6088 (rcirc-browse-url-at-mouse): Remove.
6089 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6090
b248a85d
AM
60912011-07-26 Alan Mackenzie <acm@muc.de>
6092
6093 Fontify bitfield declarations properly.
6094
6095 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6096 (c-symbol-chars): Now exported as a lang variable.
6097 (c-not-primitive-type-keywords): New lang variable.
6098
6099 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6100 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6101 parsed as a bitfield declaration.
b248a85d 6102
b796c9b7
SM
6103 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6104 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6105 (c-punctuation-in): New function.
6106 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6107 declarations properly.
6108
68575ab0
UJ
61092011-07-26 Ulf Jasper <ulf.jasper@web.de>
6110
6111 * calendar/icalendar.el (icalendar--all-events): Take care of
6112 multiple vcalendars in a single file.
b796c9b7 6113 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6114
0f0a88b9
DD
61152011-07-25 Deniz Dogan <deniz@dogan.se>
6116
6117 * image.el (insert-image): Clarifying docstring.
6118
0b3f36df
MA
61192011-07-24 Michael Albinus <michael.albinus@gmx.de>
6120
6121 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6122 `tramp-send-command-and-check' if there is no error.
6123 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6124
a9901f61
AM
61252011-07-22 Alan Mackenzie <acm@muc.de>
6126
6127 Prevent cc-langs.elc being loaded at run time.
6128
6129 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6130 cc-langs.
6131
4d61f28d 6132 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6133 "(require 'cc-langs)". Quote a form so it will evaluate at
6134 (cc-mode's) compilation time.
6135
11d074b2
MA
61362011-07-22 Michael Albinus <michael.albinus@gmx.de>
6137
6138 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6139 loading. (Bug#9114)
6140
938b94c8
MR
61412011-07-21 Martin Rudalics <rudalics@gmx.at>
6142
6143 * window.el (display-buffer-pop-up-window)
6144 (display-buffer-pop-up-side-window)
6145 (display-buffer-in-side-window): Call display-buffer-set-height
6146 and display-buffer-set-width after setting the new window's
b796c9b7 6147 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6148
bfa4f190
SS
61492011-07-20 Sam Steingold <sds@gnu.org>
6150
6151 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6152 (etags-tags-included-tables): Call `convert-standard-filename' on
6153 the file names contained in TAGS so that windows Emacs can handle
6154 TAGS files created by cygwin ctags.
6155
8ca42262
LMI
61562011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6157
6158 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6159 which apparently didn't work.
6160
5db2afd2 61612011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6162
5db2afd2
RW
6163 * proced.el (proced-send-signal): For *Marked Processes* buffer
6164 put point at beginning of buffer.
6165
92e15d10
SB
61662011-07-19 Stephen Berman <stephen.berman@gmx.net>
6167
6168 * proced.el (proced-format): Make header lines align with the text
6169 (bug#1779).
6170
1bfd59e5
LMI
61712011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6172
6173 * view.el (view-buffer): Allow running in `special' modes if we're
6174 visiting a file (bug#8615).
6175
f5aae37c
MR
61762011-07-19 Martin Rudalics <rudalics@gmx.at>
6177
6178 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6179 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6180 New functions.
f5aae37c
MR
6181 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6182 more accurately.
6183
bf2c1571
AM
61842011-07-18 Alan Mackenzie <acm@muc.de>
6185
6186 Fontify declarators properly when, e.g., a jit-lock chunk begins
6187 inside a declaration.
6188
6189 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6190
b796c9b7
SM
6191 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6192 New function.
bf2c1571
AM
6193 (c-complex-decl-matchers): Insert reference to
6194 c-font-lock-enclosing-decls.
6195
6196 * progmodes/cc-engine.el (c-backward-single-comment):
6197 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6198 to nil around calls to (forward-comment -1).
6199
4e190b80
LMI
62002011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6201
12dc863d
LMI
6202 * image.el (put-image): Doc typo fix.
6203
a762e966
LMI
6204 * progmodes/etags.el (tags-search): Doc typo fix.
6205
4e190b80
LMI
6206 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6207 password if we get errors 550 to 554.
6208
f019fb21
LMI
62092011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6210
b796c9b7 6211 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6212
81746738
LMI
6213 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6214 indentation character (bug#6380).
6215
3ee3a1b5
LMI
6216 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6217
c82f64de
LMI
6218 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6219 to clarify what the problem is (bug#4291).
6220
f019fb21
LMI
6221 * simple.el (current-kill): Clarify what
6222 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6223 (auto-fill-mode): Document `auto-fill-function' in relation to
6224 `auto-fill-mode' (bug#2470).
f019fb21 6225
0794775d
LM
62262011-07-16 Lawrence Mitchell <wence@gmx.li>
6227
6228 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6229 method if slot is read-only (bug#9035).
6230
be39b8cc
MR
62312011-07-16 Martin Rudalics <rudalics@gmx.at>
6232
b796c9b7 6233 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6234 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6235 selected before, see discussion of (Bug#8615), (Bug#6954).
6236 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6237
6ccf7859
GM
62382011-07-15 Glenn Morris <rgm@gnu.org>
6239
6240 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6241 Respect help-form.
6ccf7859 6242
87e86684
LM
62432011-07-09 Lawrence Mitchell <wence@gmx.li>
6244
6245 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6246 (gnutls-negotiate): Use it.
6247
d6066239
LMI
62482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249
b796c9b7
SM
6250 * net/gnutls.el (gnutls-negotiate):
6251 Upcase `gnutls-algorithm-priority'.
d6066239 6252
bd23ebc0
GM
62532011-07-15 Glenn Morris <rgm@gnu.org>
6254
c65bca65
GM
6255 * jka-compr.el (jka-compr-verbose): Move from here...
6256 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6257 Add missing :version tag.
6258 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6259
478615cc
LMI
62602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6261
7b41decb
LMI
6262 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6263 (gnutls-negotiate): Use it.
6264
dbc44fcd
LMI
6265 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6266
06789f97
LMI
6267 * info.el (Info-beginning-of-buffer): New command.
6268 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6269 announcing `b' as the key (bug#8325).
ab896c37 6270 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6271
c39da690
LMI
6272 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6273
3aa5f34b
LMI
6274 * international/mule-cmds.el
6275 (describe-specified-language-support): Make the error message
6276 clearer (bug#8905).
6277
4bf0979f
LMI
6278 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6279
478615cc
LMI
6280 * isearch.el (isearch-barrier): Add a doc string, since it's
6281 mentioned in a function doc string (bug#8678).
6282
75c68aa1
MR
62832011-07-15 Martin Rudalics <rudalics@gmx.at>
6284
6285 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6286 buffer argument (Bug#9083) and self-identifying label argument.
6287
a7c33da2
GM
62882011-07-15 Glenn Morris <rgm@gnu.org>
6289
6290 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6291
2f5c6024
LMI
62922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6293
6294 * man.el (Man-fontify-manpage): Fix message when formatting the
6295 man page (bug#7929).
6296
0bb23927 62972011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6298
6299 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6300 argument LRM; if non-nil, append an invisible LRM character to the
6301 buffer name.
6302 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6303 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6304 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6305 paragraph direction.
cce4b0a7 6306
621ef9ab
LMI
63072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6308
d1583c48
LMI
6309 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6310 the man page name (bug#7929).
6311
6a57fb5f
LMI
6312 * image.el (put-image): Mention the `put-image' overlay property
6313 (bug#7834).
6314
d7956b14
LMI
6315 * scroll-bar.el (set-scroll-bar-mode): Mention that
6316 `scroll-bar-mode' lists the values (bug#7772).
6317
5b2d4a66
LMI
6318 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6319 command (bug#7729).
6320
7509a874
LMI
6321 * rect.el (apply-on-rectangle): Return the point after the last
6322 operation.
6323 (string-rectangle): Go to the point after the last operation
6324 (bug#7522).
6325
4fe74b19
LMI
6326 * printing.el (pr-toggle-region): Clarify the documentation
6327 slightly (bug#7493).
6328
b796c9b7
SM
6329 * time.el (display-time-update):
6330 Allow `display-time-mail-function' to return nil (bug#7158).
6331 Fix suggested by Detlev Zundel.
ab283561 6332
fc233c9d
LMI
6333 * vc/diff.el (diff): Clarify the order the file names are read
6334 (bug#7111).
6335
43f5740b
LMI
6336 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6337 the doc string (bug#7015).
6338
f2182a76
LMI
6339 * font-lock.el (font-lock-maximum-decoration): Mention what
6340 numeric levels mean (bug#6935).
6341
621ef9ab
LMI
6342 * startup.el (initial-buffer-choice): Don't mention the `none'
6343 selection, which is against policy.
6344
adc47434
MR
63452011-07-14 Martin Rudalics <rudalics@gmx.at>
6346
b796c9b7
SM
6347 * window.el (display-buffer-normalize-special):
6348 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6349
7e5bfb8f
EZ
63502011-07-14 Eli Zaretskii <eliz@gnu.org>
6351
6352 * subr.el (version<, version<=, version=): Mention "-CVS" and
6353 "-12345" alpha version numbers.
6354
27fa387a
CY
63552011-07-14 Chong Yidong <cyd@stupidchicken.com>
6356
6357 * bindings.el: Add advertised binding for set-mark-command
6358 (Bug#5772).
6359
8bdfa064
CY
63602011-07-14 Chong Yidong <cyd@stupidchicken.com>
6361
6362 * bindings.el (mode-line-other-buffer):
6363 * bookmark.el (bookmark-bmenu-2-window):
6364 * bs.el (bs-cycle-next, bs-cycle-previous):
6365 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6366 switch-to-buffer.
6367
6368 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6369 Delete.
8bdfa064 6370
5eba16a3
JB
63712011-07-14 Juanma Barranquero <lekktu@gmail.com>
6372
6373 * follow.el (follow-debug-message, follow-redisplay):
6374 * jka-cmpr-hook.el (with-auto-compression-mode):
6375 Fix typos in docstrings.
6376
15853710
LMI
63772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6378
a28e4607
LMI
6379 * subr.el (with-silent-modifications): Clarify somewhat what the
6380 macro inhibits (bug#6525).
6381
15853710
LMI
6382 * simple.el (eval-expression): Note what it does if called
6383 interactively (bug#6495).
6384
bee0fcef
CY
63852011-07-13 Chong Yidong <cyd@stupidchicken.com>
6386
b796c9b7
SM
6387 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6388 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6389
6390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6391 Remove switch-to-buffer.
6392
58274504
LMI
63932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6394
bd2fcc8d
LMI
6395 * files.el (make-directory): Clarify that an error will be raised
6396 if there's an error (bug#6397).
6397
0f04b32c
LMI
6398 * startup.el (initial-buffer-choice): Add `none' as a choice
6399 (bug#6234).
6400
465c5fc8
LMI
6401 * subr.el (add-hook): Clarify section about buffer-local hooks
6402 (bug#6218).
6403
58274504
LMI
6404 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6405
bead9a43
JB
64062011-07-13 Juanma Barranquero <lekktu@gmail.com>
6407
6408 * tabify.el (untabify): Preserve the current column so that point
6409 doesn't move (bug#6032).
6410
3af98a7b
LMI
64112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6412
b796c9b7
SM
6413 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6414 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6415
6240145a
GM
64162011-07-13 Glenn Morris <rgm@gnu.org>
6417
6418 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6419 (dired-insert-directory): Give a message the first time
6420 if ls is found not to support --dired.
6421
1d8c2ccc
LMI
64222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6423
6424 * simple.el (toggle-truncate-lines): Clarify what is toggled
6425 (bug#5580). Text by Drew Adams.
6426
5fc4038e
CY
64272011-07-13 Chong Yidong <cyd@stupidchicken.com>
6428
6429 * simple.el (blink-matching-open): Make the error message from the
6430 last change less verbose.
6431
bf6012e5
DN
64322011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6433
6434 * font-lock.el (font-lock-comment-face): Use the high contrast
6435 "yellow" color for font-lock-comment-face on low color terminals
6436 using a dark background color (bug#4221).
6437
343c3b5a
LMI
64382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6439
7e9505c5
LMI
6440 * dired.el (dired-insert-set-properties): Make the doc string
6441 reflect what it does now (bug#5325).
6442
c26fdcf5
LMI
6443 * simple.el (blink-matching-open): Say that we were unable to find
6444 the match within the limit, if we're limited (bug#5122).
6445
bb388cc5
LMI
6446 * international/mule-cmds.el (prefer-coding-system): Add an
6447 example (bug#4869).
6448
343c3b5a
LMI
6449 * progmodes/etags.el (tags-search): Document `file-list-form'
6450 (bug#4731).
6451
2a517d45
LM
64522011-07-13 Lawrence Mitchell <wence@gmx.li>
6453
6454 * net/browse-url.el (browse-url-default-browser)
6455 (browse-url-browser-function): Make the default browser choice a
6456 bit more logical (bug#4300). Also clean up the doc string.
6457
b6c78ef2
JB
64582011-07-13 Juanma Barranquero <lekktu@gmail.com>
6459
6460 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6461 binary endings (bug#4440).
6462
1c4dd947
LMI
64632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
a2014063
LMI
6465 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6466 which can be pretty annoying (bug#8971).
6467
9c9c2d88
LMI
6468 * jka-compr.el (jka-compr-verbose): New variable, and use
6469 throughout (bug#8971).
6470
1c4dd947
LMI
6471 * info.el (Info-find-file): Fall back on the installation
6472 directory if we can't find the info node anywhere else.
6473
a1c9f41b
SO
64742011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6475
6476 * vc/vc.el (vc-revert-file):
6477 Don't set file time-stamp in the past. (Bug#5181)
6478
536f3d36
LMI
64792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
7152b011
LMI
6481 * files.el (after-find-file): Give a better error message when
6482 trying to find a symlink that points to a file that doesn't exist
6483 (bug#4398).
6484
536f3d36
LMI
6485 * progmodes/cc-vars.el: Remove (probably) misleading comment
6486 (bug#4396).
6487
460c0fba
JB
64882011-07-12 Johan Bockgård <bojohan@gnu.org>
6489
6490 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6491
7a6bda45
CY
64922011-07-12 Chong Yidong <cyd@stupidchicken.com>
6493
6494 * mouse-sel.el: Hack restoring functionality, while keeping
6495 compatibility with 2010-07-03 changes to mouse selection.
6496 (mouse-sel-primary-overlay): New var.
6497 (mouse-sel-selection-alist): Use it.
6498 (mouse-sel-mode): Doc fix; remove points that are default features
6499 of mouse.el.
6500
c79598ef
JB
65012011-07-12 Johan Bockgård <bojohan@gnu.org>
6502
6503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6504 Fix previous fix (bug#2490).
6505
ff8be6ef
RW
65062011-07-12 Roland Winkler <winkler@gnu.org>
6507
b796c9b7
SM
6508 * textmodes/bibtex.el (bibtex-initialize):
6509 Use pop-to-buffer-same-window.
ff8be6ef
RW
6510 (bibtex-search-entries): Fix interactive call.
6511
296ba3ee
LMI
65122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6513
f5242a02 6514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6515 Fontise bytecomp Error lines more correctly (bug#2490).
6516 Fix suggested by Johan Bockgård.
f5242a02 6517
296ba3ee
LMI
6518 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6519
6520 * dired-x.el (dired-guess-default): Use `delete-dups'.
6521
f69fd0d2
CY
65222011-07-12 Chong Yidong <cyd@stupidchicken.com>
6523
6524 * dired.el (dired-mark-prompt):
6525 * dired-aux.el (dired-read-shell-command): Doc fix.
6526
eab5dc07
LMI
65272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6528
b796c9b7
SM
6529 * mail/sendmail.el (sendmail-query-once):
6530 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6531 emacs -Q.
6532
6533 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6534
eab5dc07
LMI
6535 * cus-edit.el (custom-file): Take an optional no-error variable.
6536 (customize-save-variable): Set the variable, and give a warning if
6537 running under "emacs -q".
6538
a1e65d42
JB
65392011-07-11 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * loadhist.el (unload-feature-special-hooks):
6542 Add `auto-coding-functions', `fill-nobreak-predicate' and
6543 `find-directory-functions' (bug#5327).
6544
1d52da10
LMI
65452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6546
be958f1d
LMI
6547 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6548
5bedb26c
LMI
6549 * cus-edit.el (custom-guess-name-alist): -alist variables should
6550 use the `alist' type (bug#3120). Suggested by Drew Adams.
6551
1d52da10
LMI
6552 * printing.el: Add documentation to all the `pr-toggle-' commands.
6553
cd394be1 65542011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6555
6556 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6557 backends where it makes sense (bug#2623).
6558
dcc88d8a
LMI
65592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6560
c3de9feb
LMI
6561 * dired-x.el (dired-guess-default): Remove duplicate shell command
6562 entries (bug#2028).
8a93078b 6563 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6564 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6565
dcc88d8a
LMI
6566 * subr.el (remove-duplicates): New conveniency function.
6567
505e3645
LMI
65682011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6569
6570 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6571 (bug#1526).
6572
65732011-07-10 Martin Rudalics <rudalics@gmx.at>
6574
6575 * window.el (display-buffer-normalize-default): Don't invert
6576 meaning of even-window-heights. Reported by Eli Zaretskii
6577 <eliz@gnu.org>.
6578
455e4fa1
BR
65792011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6580
6581 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6582
8e0bc3e9
CY
65832011-07-10 Chong Yidong <cyd@stupidchicken.com>
6584
6585 * window.el (display-buffer): Fix arguments to
6586 display-buffer-reuse-window in last change.
6587
fa7c3228
CY
6588 * faces.el (link): Use a less saturated blue on light backgrounds.
6589
6590 * startup.el (fancy-startup-text, fancy-about-text)
6591 (fancy-startup-tail): Use font-lock faces, for background safety.
6592
c0a7f300
BN
65932011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6594
b796c9b7
SM
6595 * emulation/viper-cmd.el (viper-change-state-to-vi):
6596 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6597
4dc2a129
MR
65982011-07-09 Martin Rudalics <rudalics@gmx.at>
6599
6600 * window.el (display-buffer-default-specifiers): Remove.
6601 (display-buffer-macro-specifiers): Remove default specifiers.
6602 (display-buffer-alist): Default to nil.
b796c9b7 6603 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6604 (display-buffer-pop-up-window): Allow splitting internal
6605 windows. Check whether a live window was created.
6606 (display-buffer-other-window-means-other-frame)
6607 (display-buffer-normalize-arguments): Rename to
6608 display-buffer-normalize-argument and rewrite. Set the
6609 other-window specifier.
6610 (display-buffer-normalize-special): New function.
6611 (display-buffer-normalize-options): Rename to
6612 display-buffer-normalize-default and rewrite.
6613 (display-buffer-normalize-options-inhibit): Remove.
6614 (display-buffer-normalize-specifiers): Rewrite.
6615 (display-buffer): Process other-window specifier and call
6616 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6617 more faithfully.
b796c9b7 6618 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6619 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6620 (display-buffer-in-window, display-buffer-alist-set):
6621 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6622 <tassilo@member.fsf.org>.
6623
2d43b8c9
LL
66242011-07-09 Leo Liu <sdl.web@gmail.com>
6625
6626 * register.el (insert-register): Restore accidental change on
6627 2011-06-26. (Bug#9028)
6628
7f9b7c53
GM
66292011-07-09 Glenn Morris <rgm@gnu.org>
6630
6631 * subr.el (remq): Handle the empty list. (Bug#9024)
6632
f042cfd8
AS
66332011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6634
6635 * mail/sendmail.el (send-mail-function): No longer delay custom
6636 initialization.
6637 * custom.el (custom-initialize-delay): Doc fix.
6638
856b2f11
SM
66392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6642
afae1d68
MA
66432011-07-08 Michael Albinus <michael.albinus@gmx.de>
6644
6645 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6646 human-friendly prompt.
6647
0757af94
SM
66482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6651 provided by a particular plugin.
6652
d760b731
LMI
66532011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6654
6655 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6656 save customizations (with "emacs -Q"), just set the variable
6657 instead of erroring out.
6658
6659 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6660
cd79ce90
JL
66612011-07-08 Juri Linkov <juri@jurta.org>
6662
6663 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6664 (archive-zip-update-case): Use 7z if found by `executable-find'.
6665 The order of searching the available programs is the same as in
6666 `archive-zip-extract' (bug#8968).
6667
14cc04aa
CY
66682011-07-07 Chong Yidong <cyd@stupidchicken.com>
6669
6670 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6671 (menu-bar-options-menu): Tweak descriptions.
6672
0a1848ec
LMI
66732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6674
6675 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6676 menu items into verb phrases (bug#1421). Also refill to fit under
6677 80 columns.
6678
f5bd0689
CY
66792011-07-07 Chong Yidong <cyd@stupidchicken.com>
6680
538e85c6
CY
6681 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6682 (Info-read-node-name): Doc fix (Bug#1084).
6683
f5bd0689
CY
6684 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6685 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6686 (end-of-sexp, beginning-of-sexp)
6687 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6688 (forward-symbol, forward-same-syntax, word-at-point)
6689 (sentence-at-point): Doc fix (Bug#1144).
6690
56ec5115
LMI
66912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6692
f3f8e37f
LMI
6693 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6694 should cover it (bug#1281).
6695
0757af94 6696 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6697
e9fce1ac 6698 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6699 negotiation fails, then possibly try again with a non-encrypted
6700 connection (bug#9017).
6701
56ec5115
LMI
6702 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6703 be used.
6704
c2f9aec8
RS
67052011-07-07 Richard Stallman <rms@gnu.org>
6706
6707 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6708 property, and handle its changed format.
6709 Look for the correct line number.
6710 Use file's line contents (but not past first =) to find
6711 correct line in message.
6712
ef7b981d 67132011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6714
6715 * international/characters.el (build-unicode-category-table):
6716 Delete it.
0757af94 6717 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6718
0757af94 6719 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6720 to src/chartab.c.
6721 (get-char-code-property): Call unicode-property-table-internal to
6722 load a file. Call get-unicode-property-internal where necessary.
6723 (put-char-code-property): Call unicode-property-table-internal to
6724 load a file. Call put-unicode-property-internal where necessary.
6725 put-unicode-property-internal where necessary.
0757af94
SM
6726 (char-code-property-description):
6727 Call unicode-property-table-internal to load a file.
c805dec0
KH
6728
6729 * international/charprop.el:
6730 * international/uni-bidi.el:
6731 * international/uni-category.el:
6732 * international/uni-combining.el:
6733 * international/uni-comment.el:
6734 * international/uni-decimal.el:
6735 * international/uni-decomposition.el:
6736 * international/uni-digit.el:
6737 * international/uni-lowercase.el:
6738 * international/uni-mirrored.el:
6739 * international/uni-name.el:
6740 * international/uni-numeric.el:
6741 * international/uni-old-name.el:
6742 * international/uni-titlecase.el:
6743 * international/uni-uppercase.el: Regenerate.
6744
6745 * loadup.el: Load international/charprop.el before
6746 international/characters.
6747
e14b388a
CY
67482011-07-07 Chong Yidong <cyd@stupidchicken.com>
6749
6750 * window.el (next-buffer, previous-buffer): Signal an error if
6751 called from a minibuffer window.
6752
6753 * bindings.el: Revert 2011-07-04 change.
6754
354cf0ba
RS
67552011-07-06 Richard Stallman <rms@gnu.org>
6756
6757 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6758 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6759 Treat markers like ints.
6760 (rmail-mime-entity): Doc fix.
6761
a48868a7
LMI
67622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6763
4906cd3d
LMI
6764 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6765 defcustom again for backwards compatibility.
6766
e0457abe
LMI
6767 * simple.el (shell-command-on-region): Fill.
6768
d67f7e1f
LMI
6769 * dired-aux.el (dired-kill-line): Add a doc string.
6770
fe204702
LMI
6771 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6772 to "\\sw\\|\\s_" (bug#358).
6773
a48868a7
LMI
6774 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6775 (dired-unmark-backward): Ditto.
6776 (dired-flag-backup-files): Ditto.
6777
6778 * dired-x.el (dired-mark-sexp): Ditto.
6779
aa8a705c
RS
67802011-07-06 Richard Stallman <rms@gnu.org>
6781
6782 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6783 (rmail-mime-entity): New arg TRUNCATED.
6784 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6785 New functions.
6786 (rmail-mime-save): Warn if entity is truncated.
6787 (rmail-mime-toggle-hidden): Likewise, for showing.
6788 (rmail-mime-process-multipart): Record when an entity is truncated.
6789
a9a936b9
RS
6790 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6791 if ENTITY is a string.
6792
1f2b92cb
LMI
67932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6794
f4f73198 6795 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6796 of faces when `M-C-x'-ing their definitions (bug#8378).
6797 Also clean up the code slightly.
f4f73198 6798
12b16734 6799 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6800 because that makes the colors go away.
12b16734 6801
f0691d22
LMI
6802 * mail/sendmail.el (send-mail-function): Change the default to
6803 `sendmail-query-once'.
9e87df06 6804 (sendmail-query-once): Add an autoload cookie.
f0691d22 6805
1f2b92cb
LMI
6806 * net/network-stream.el (network-stream-open-starttls): Try using
6807 a plain connection even if the server offered STARTTLS, and we
6808 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6809 capability. This should make smtpmail.el work in slightly more
6810 configurations.
6811
1cdd2a1b
MA
68122011-07-06 Michael Albinus <michael.albinus@gmx.de>
6813
6814 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6815 New defun.
6816 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6817
fbcc67e2
MM
68182011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6819
6820 * progmodes/sql.el: Version 3.0
0757af94 6821 (sql-product-alist): Add product :completion-object,
fbcc67e2 6822 :completion-column, and :statement attributes.
0757af94 6823 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6824 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6825 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6826 ansi keywords.
6827 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6828 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6829 (sql-oracle-show-reserved-words): New function for development.
6830 (sql-product-font-lock): Simplify for source code buffers.
6831 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6832 New functions.
6833 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6834 (sql-mode-map): Add statement movement functions.
6835 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6836 New variable.
fbcc67e2
MM
6837 (sql-statement-regexp, sql-beginning-of-statement)
6838 (sql-end-of-statement, sql-signum): New functions.
0757af94 6839 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6840 (sql-show-sqli-buffer): Bug fix.
6841 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6842 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6843 with sql-interactive-mode.
6844 (sql-save-connection): Save buffer local settings.
0757af94 6845 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6846 (sql-product-interactive): Bug fix.
6847 (sql-preoutput-hold): New variable.
6848 (sql-interactive-remove-continuation-prompt): Bug fixes.
6849 (sql-debug-redirect): New variable.
6850 (sql-str-literal): New function.
6851 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6852 Redesign.
fbcc67e2
MM
6853 (sql-oracle-save-settings, sql-oracle-restore-settings)
6854 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6855 (sql-completion-object, sql-completion-column)
6856 (sql-completion-sqlbuf): New variables.
6857 (sql-build-completions-1, sql-build-completions)
6858 (sql-try-completion): New functions.
6859 (sql-read-table-name): Use them.
6860 (sql-contains-names): New buffer local variable.
6861 (sql-list-all, sql-list-table): Use it.
6862 (sql-oracle-completion-types): New variable.
6863 (sql-oracle-completion-object, sql-sqlite-completion-object)
6864 (sql-postgres-completion-object): New functions.
6865
d4eaeab1
GM
68662011-07-06 Glenn Morris <rgm@gnu.org>
6867
6868 * window.el (pop-to-buffer): Doc fix.
6869
322b7dab 68702011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6871
6872 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6873
322b7dab 68742011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6875
322b7dab 6876 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6877
322b7dab 6878 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6879
605dd5bf
CY
68802011-07-05 Chong Yidong <cyd@stupidchicken.com>
6881
6882 * button.el (button): Inherit from link face. Suggested by Dan
6883 Nicolaescu.
6884
7dbfa719
SM
68852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6886
3db614b0
SM
6887 * progmodes/gdb-mi.el: Fit in 80 columns.
6888 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6889 switch-to-buffer.
6890
7dbfa719
SM
6891 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6892 if imenu is simply not configured (bug#8941).
6893
919d884a
KM
68942011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6895
6896 * allout.el (allout-post-undo-hook): New allout outline-change
6897 event hook to signal undo activity.
6898 (allout-post-command-business): Run allout-post-undo-hook if an
6899 undo just occurred.
7dbfa719
SM
6900 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6901 * allout-widgets.el (allout-widgets-after-undo-function):
6902 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6903 in the vicinity of an undo.
6904 (allout-widgets-mode): Include allout-widgets-after-undo-function
6905 on the new allout-post-undo-hook.
6906
450a0f09
SM
69072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6910 Let define-derived-mode define it.
6911 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6912 cycles of abbrev-table inheritance (bug#8998).
6913
2de69e00
RW
69142011-07-05 Roland Winkler <winkler@gnu.org>
6915
6916 * textmodes/bibtex.el: Add support for biblatex.
6917 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6918 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6919 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6920 (bibtex-entry-alist, bibtex-field-alist): New variables.
6921 (bibtex-entry-field-alist): Obsolete alias for
6922 bibtex-BibTeX-entry-alist.
6923 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6924 (bibtex-set-dialect): New command.
6925 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6926 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6927 Bind via bibtex-set-dialect.
2de69e00
RW
6928 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6929 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6930 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6931 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6932 Define via bibtex-set-dialect.
450a0f09
SM
6933 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6934 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6935 (bibtex-vec-push, bibtex-vec-incr): New functions.
6936 (bibtex-format-entry, bibtex-field-list)
6937 (bibtex-print-help-message, bibtex-validate)
6938 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6939
2dcdbdd9
SM
69402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * progmodes/compile.el (compilation-goto-locus):
6943 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6944 * bs.el (bs-cycle-next, bs-cycle-previous):
6945 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6946 * bindings.el (mode-line-other-buffer):
6947 * autoinsert.el (auto-insert):
6948 * arc-mode.el (archive-extract):
6949 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6950
b27640fe
JB
69512011-07-05 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6954 Fix check of `emacs-lock-unlockable-modes'.
6955 Coerce true values of `emacs-lock--try-unlocking' to t.
6956
53bbe3ad
JB
69572011-07-05 Juanma Barranquero <lekktu@gmail.com>
6958
6959 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6960 * emacs-lock.el: New file.
6961
1d3cdbc7
JD
69622011-07-05 Julien Danjou <julien@danjou.info>
6963
6964 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6965 than `boundp' to check if face is set.
6966
9173deec
JB
69672011-07-05 Juanma Barranquero <lekktu@gmail.com>
6968
6969 * register.el (registerv-make):
6970 * window.el (window-min-height): Fix typos in docstrings.
6971
869795d6
JD
69722011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6973
9173deec 6974 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6975 Update doc string.
6976
b768cdcd
JB
69772011-07-04 Juanma Barranquero <lekktu@gmail.com>
6978
6979 * server.el (server-execute): Catch quit and call
6980 `server-return-error' to pass the error back to emacsclient and
6981 close the connection (bug#8942).
6982
13aa217b
KM
69832011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6984
6985 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6986 insecure exception for current topic. Also note that auto-saves
6987 are handled differently.
6988
6989 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6990 State variables for tracking auto-save inhibition situation.
6991
6992 (allout-write-contents-hook-handler): Rename from
6993 'allout-write-file-hook-handler', and describe how it depends on
6994 write-contents-functions sensitivity to non-nil value to prevent
6995 file write.
6996
6997 (allout-auto-save-hook-handler): Remove. auto-save does not check
6998 this in individual buffers, only in the starting buffer, so this
6999 is not the right way for us to inhibit auto-save in a buffer
7000 according to its condition.
7001
7002 (allout-mode): Use new allout-write-contents-hook-handler, and
7003 only with write-contents-functions. Remove auto-save provisions -
7004 they're implemented elsewhere.
7005
7006 (allout-before-change-handler): If undo is in progress, note that
7007 for attention of allout-post-command-business.
7008
7009 (allout-post-command-business): If the command we're following was
7010 an undo, check for change in the status of encrypted items and
7011 adjust auto-save inhibitions accordingly.
7012
7013 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7014 according to whether there are or aren't any plain-text topics
7015 pending encryption.
7016
2dcdbdd9 7017 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7018 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7019 if there are plain-text topics pending encryption.
13aa217b
KM
7020
7021 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7022 buffer-saved-size and some allout state to not inhibit auto-saves
7023 if there are no longer any plain-text topics pending encryption.
7024
0757af94
SM
7025 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7026 No longer provide for exemption of the current topic.
13aa217b 7027
ac89b32c
JL
70282011-07-04 Juri Linkov <juri@jurta.org>
7029
7030 Add 7z operations to delete and save changed members (bug#8968).
7031 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7032 New defcustoms.
7033 (archive-7z-write-file-member): New function.
7034 (archive-7z-summarize): Fix the number of dashes in the
7035 listing output.
7036
8fa39615
SM
70372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7040 (bug#8958).
7041
2f11b3f1
CY
70422011-07-04 Chong Yidong <cyd@stupidchicken.com>
7043
d66fef2b
CY
7044 * bindings.el: Ignore next-buffer and previous-buffer in
7045 minibuffer-local-map.
7046
2f11b3f1
CY
7047 * font-lock.el (font-lock-builtin-face): Change light background
7048 color to dark slate blue (Bug#6693).
7049
f932a347
WD
70502011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7051
7052 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7053
c8af70e1
SM
70542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7057 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7058 Add switch-to-buffer.
7059
f158badc
LMI
70602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7061
7062 * isearch.el (isearch-search-fun-function): Clarify further the
7063 meaning of the function returned.
7064
6d95bd46
MA
70652011-07-04 Michael Albinus <michael.albinus@gmx.de>
7066
7067 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7068
7069 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7070 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7071 Use it.
7072 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7073 `tramp-default-remote-path' does not exist.
7074 (tramp-send-command-and-read): New optional argument NOERROR.
7075 (tramp-open-connection-setup-interactive-shell)
7076 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7077 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7078 (tramp-process-sentinel): Flush also process' connection property.
7079 (tramp-sh-handle-start-file-process): Do not set process
7080 sentinel. It is done now ...
7081 (tramp-maybe-open-connection): ... here. (Bug#8929)
7082
909e6b67
MK
70832011-07-04 MON KEY <monkey@sandpframing.com>
7084
7085 * play/animate.el (animate-string): Doc fixes and allow changing
7086 the buffer name (bug#5417).
7087
70882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7089
c8af70e1 7090 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7091
f34755dc
PE
70922011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7093
396cec72
PE
7094 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7095 This is simpler and helps future-proof the code.
7096 (timer-until): Use time-subtract and float-time.
08235028 7097 (timer--time-less-p): Use time-less-p.
f34755dc 7098
56e6cc31
JB
70992011-07-04 Juanma Barranquero <lekktu@gmail.com>
7100
3abb79e5
JB
7101 * type-break.el (timep): Use the value of `float-time' to avoid a
7102 byte-compiler warning.
7103
56e6cc31
JB
7104 * server.el (server-eval-and-print): Return any result, even nil.
7105
7b9430b4
PE
71062011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7107
7108 * type-break.el: Accept time formats that the builtins accept.
7109 (timep, type-break-time-difference): Accept any format that
7110 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7111 This is simpler and helps future-proof the code.
7112 (type-break-time-difference): Round rather than ignoring
7113 subseconds components.
7114
3034e9e7
LMI
71152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7116
7117 * info.el (Info-apropos-matches): Make non-interactive, since it
7118 doesn't seem to do anything useful as a command (bug#8829).
7119
1485f4c0
CY
71202011-07-03 Chong Yidong <cyd@stupidchicken.com>
7121
7122 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7123 Move from faces.el.
1485f4c0
CY
7124 (frame-default-terminal-background): New function.
7125
7126 * custom.el (custom-push-theme): Don't record faces in `changed'
7127 theme; this doesn't work correctly for per-frame face settings.
7128 (disable-theme): Use face-set-after-frame-default to reset faces.
7129 (custom--frame-color-default): New function.
7130
9fa3dd45
LMI
71312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7132
c8af70e1 7133 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7134 (bug#8769).
7135
6cbbc20c
KR
71362011-03-29 Kevin Ryde <user42@zip.com.au>
7137
7138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7139 `perl-Test2' extend to match possible "fail #N" rep count
7140 (bug#8377).
7141
c7f98048
LMI
71422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7143
65676592
LMI
7144 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7145 `smtpmail-via-smtp' now returns the error instead of nil.
7146
c7f98048
LMI
7147 * isearch.el (isearch-search-fun-function): Clarify the doc string
7148 (bug#8101).
7149
56e6cc31 71502011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7151
7152 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7153 unnecessary spaces (bug#8987).
7154
2b216704
LMI
71552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7156
7157 * net/network-stream.el (open-network-stream): Use the
7158 :end-of-capability command thoughout.
7159
71602011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7161
7162 * net/network-stream.el (open-network-stream): Add the
7163 :end-of-capability command parameter, used by pop3.el.
7164
36adf6ce
LMI
71652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7166
1ca0da0e
LMI
7167 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7168
fc00f69c
LMI
7169 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7170 for list)" (bug#6475).
7171
28fd8759 7172 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7173 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7174 an error (bug#6297).
7175
0dd8b6da
LMI
7176 * man.el (Man-reference-regexp): Allow matching possible
7177 word-wrapped references (bug#6289).
7178
ce1438d6
LMI
7179 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7180 for consistency with the other vc buffers (bug#6197).
7181 (vc-checkin): Ditto.
7182
7183 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7184
36adf6ce
LMI
7185 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7186
e83cc1f7
LMI
71872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7188
8a20ca4c
LMI
7189 * custom.el (defcustom): Clarify that :set is only used in the
7190 Customize user interface (bug#6089).
7191
83319045
LMI
7192 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7193 associated with a file, refuse to run instead of erroring out
7194 (bug#6084).
7195
a8392169
LMI
7196 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7197 the doc string, since it appears that using `fill-column' always
7198 controls the width (bug#7845).
7199
e83cc1f7
LMI
7200 * simple.el (shell-command-on-region): Say where the error output
7201 went if `shell-command-default-error-buffer' is set (bug#6857).
7202
e47ca23b
KM
72032011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7204
7205 * allout.el (allout-yank-processing): Adjust cursor position for
7206 backwards-deleted space.
7207
7208 (allout-rebullet-heading): Register changes with
7209 allout-exposure-changed-hook, so the modified topic is properly
7210 decorated.
7211
5cf56143
LMI
72122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7213
08549772
LMI
7214 * minibuffer.el (completion-in-region): Document PREDICATE
7215 (bug#7136).
7216
48e96771
LMI
7217 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7218 of keyword/argument pairs (bug#6904).
7219
c8af70e1
SM
7220 * replace.el (multi-occur):
7221 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7222
e17d05e2
LMI
72232011-07-02 Drew Adams <drew.adams@oracle.com>
7224
7225 * dired.el (dired-mark-if): Make the message about whether it's
7226 marking or unmarking clearer (bug#8523).
7227
063b0e45
LMI
72282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7229
7230 * disp-table.el (display-table-print-array): New function.
7231 (describe-display-table): Use it to print the vectors more pretty
7232 (Bug#8859).
7233
28545e04
MR
72342011-07-02 Martin Rudalics <rudalics@gmx.at>
7235
7236 * window.el (window-state-get-1): Don't assign clone numbers.
7237 Add clone-of item to list of window parameters.
7238 (window-state-put-2): Don't process clone numbers.
7239 (display-buffer-alist): Fix doc-string.
7240
3349e122
SM
72412011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * subr.el (remq): Don't allocate if it's not needed.
7244 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7245 (keymap--merge-bindings): New functions.
7246 (keymap-canonicalize): Use them to refine the canonicalization.
7247 * minibuffer.el (minibuffer-local-completion-map)
7248 (minibuffer-local-must-match-map): Move initialization from C.
7249 (minibuffer-local-filename-completion-map): Move initialization from C;
7250 don't inherit from anything here.
7251 (minibuffer-local-filename-must-match-map): Make obsolete.
7252 (completing-read-default): Use make-composed-keymap to combine
7253 minibuffer-local-filename-completion-map with either
7254 minibuffer-local-must-match-map or
7255 minibuffer-local-filename-completion-map.
7256
d224ac83
GM
72572011-07-01 Glenn Morris <rgm@gnu.org>
7258
3de63bf8
GM
7259 * type-break.el (type-break-time-sum): Use dolist.
7260
d224ac83
GM
7261 * textmodes/flyspell.el (flyspell-word-search-backward):
7262 Replace CL function.
7263
1a1e3f32
SM
72642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7265
fe3f64d5
SM
7266 * mouse.el (mouse--strip-first-event): New function.
7267 (function-key-map): Use it to map fringe clicks to normal clicks
7268 by default.
7269
eb604e34
SM
7270 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7271 (vc-bzr-revision-completion-table): Add support for annotate and date.
7272
1a1e3f32
SM
7273 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7274 inherit from parent.
7275
5bd35902
LMI
72762011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7277
ace6c69c 7278 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7279 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7280
191e2bed
LMI
7281 * dired.el (dired-mode): Fix up the doc string as suggested by
7282 Drew Adams (bug#8817).
7283
5bd35902
LMI
7284 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7285 cookie, since the manual says that it should be possible to add
7286 this function to `find-file-hook' (bug#8709).
7287
eee8207a
TZ
72882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7289
7290 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7291 here. Noted Ted Zlatanov as the maintainer.
7292 (cfengine-common-settings, cfengine-common-syntax): New functions
7293 to set up common things between `cfengine-mode' and
7294 `cfengine3-mode'.
7295 (cfengine3-mode): New mode.
7296 (cfengine3-defuns cfengine3-defuns-regex
7297 (cfengine3-class-selector-regex cfengine3-category-regex)
7298 (cfengine3-vartypes cfengine3-font-lock-keywords)
7299 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7300 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7301
36b148cf
MA
73022011-07-01 Michael Albinus <michael.albinus@gmx.de>
7303
7304 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7305
7306 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7307
0bf4ba9a
MR
73082011-07-01 Martin Rudalics <rudalics@gmx.at>
7309
7310 * window.el (same-window-buffer-names, same-window-regexps)
7311 (same-window-p, special-display-frame-alist)
7312 (special-display-popup-frame, special-display-function)
7313 (special-display-buffer-names, special-display-regexps)
7314 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7315 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7316 (split-window-preferred-function, split-height-threshold)
7317 (split-width-threshold, even-window-heights)
7318 (display-buffer-mark-dedicated, window-splittable-p)
7319 (split-window-sensibly, window-safely-shrinkable-p):
7320 Un-obsolete.
7321 (display-buffer): Don't spread args with function specifier
7322 because special-display-popup-frame won't like it.
7323
35837f51
PE
73242011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7325
d0672f86
PE
7326 Time-stamp simplifications and fixes.
7327 These improve accuracy slightly, and future-proof the code
7328 against some potential changes to current-time format.
7329
b9444d97
PE
7330 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7331 by using time-since and float-time.
7332
0ef923dc
PE
7333 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7334 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7335 + NNN microseconds".
7336
2f81380d
PE
7337 * type-break.el (type-break-time-sum): Rewrite using time-add.
7338
845b5c3e
PE
7339 * play/hanoi.el (hanoi-current-time-float): Remove.
7340 All uses replaced by float-time.
7341
ee6f1be0
PE
7342 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7343 This yields a more-accurate answer.
7344 (rng-time-to-float): Remove; no longer needed.
7345
fe955043
PE
7346 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7347
5777162a
PE
7348 * calendar/timeclock.el (timeclock-seconds-to-time):
7349 Defalias to seconds-to-time, since they're the same thing.
7350
3103f8b6 7351 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7352 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7353 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7354
0e61a35f
SM
73552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * window.el (bury-buffer): Don't iconify the only frame.
7358 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7359 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7360
ddd63a1e
CY
73612011-07-01 Chong Yidong <cyd@stupidchicken.com>
7362
0e61a35f
SM
7363 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7364 Add mouse-yank-primary.
ddd63a1e 7365
055f4923
TZ
73662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7367
7368 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7369
6a2fb145
SM
73702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7373 (find-library-name): Use it to find relative load names when provided
7374 absolute file name (bug#8803).
7375
fd4983f2
LMI
73762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7377
887d14ad
LMI
7378 * textmodes/flyspell.el (flyspell-word): Consider words that
7379 differ only in case as potential doublons (bug#5687).
7380
c53dc7fc
LMI
7381 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7382 Remove two rather uninteresting debugging-like messages to make
7383 debbugs.el more silent.
7384
fd4983f2
LMI
7385 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7386 a password-like phrase.
7387
7a71b18d 73882011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7389
7390 * progmodes/cc-guess.el: New file.
7391
6a2fb145 7392 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7393
7394 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7395 derived from `c-basic-common-init'.
7396
7397 * progmodes/cc-mode.el (top-level): Require cc-guess.
7398 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7399
1fa280a3
LM
74002011-06-30 Lawrence Mitchell <wence@gmx.li>
7401
7402 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7403
e6597158
AM
74042011-06-30 Alan Mackenzie <acm@muc.de>
7405
1fa280a3
LM
7406 * progmodes/cc-engine.el (c-guess-continued-construct):
7407 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7408 lock is disabled. Name this case as "CASE G".
7409
68ba37fb
KM
74102011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7411
7412 * allout.el (allout-yank-processing): Fix injection of extra space
7413 between bullet and non-whitespace character in first topic when
7414 pasting, ensuring that the actual spacing in the pasted topic
7415 following the bullet char is preserved. This extra space was
7416 causing pasted encrypted topics to get a decrypted status even
7417 when the content was actually still encrypted. Now the decryption
7418 status from before the paste is preserved.
7419
7420 (allout-flag-region): Set all allout overlays so they evaporate
7421 when reduced to zero length (evanescent), to prevent overlay
7422 leakage.
7423
887a0b34
GM
74242011-06-30 Glenn Morris <rgm@gnu.org>
7425
94b9acce
GM
7426 * w32-fns.el (w32-charset-info-alist): Declare.
7427
1d9b46d4
GM
7428 * find-dired.el (find-grep-options): Simplify.
7429
cc232200
GM
7430 * term/ns-win.el (ns-set-resource): Declare.
7431
28e77c46
GM
7432 * ses.el (row, col): Declare dynamic variables honestly.
7433
887a0b34
GM
7434 * textmodes/reftex-parse.el (index-tags): Declare.
7435
658d8eb8
CY
74362011-06-30 Chong Yidong <cyd@stupidchicken.com>
7437
7438 * cus-edit.el (customize-push-and-save): New function.
7439
7440 * files.el (hack-local-variables-confirm): Use it.
7441
1fa280a3
LM
7442 * custom.el (load-theme): New arg NO-CONFIRM.
7443 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7444 (custom-enabled-themes): Doc fix.
7445
7446 * cus-theme.el (customize-create-theme)
7447 (custom-theme-merge-theme): Callers to load-theme changed.
7448
bb617717
LMI
74492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450
d61bdd5d
LMI
7451 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7452 short URLs have at least one dot in them (bug #7614).
7453
bb617717
LMI
7454 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7455 nil, because using a pty is apparently too slow (bug #895).
7456
2f31f37a
LMI
74572011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * mail/sendmail.el (sendmail-query-once): New function.
7460 (sendmail-query-once-function): New variable.
7461
3076b24e
GM
74622011-06-29 Glenn Morris <rgm@gnu.org>
7463
faf2a174
GM
7464 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7465
3076b24e
GM
7466 * ses.el (top-level): Require cl when compiling.
7467 (ses-set-localvars): Fix error statement.
7468 Call it at compile time to silence a storm of warnings.
7469
5386012d
MR
74702011-06-29 Martin Rudalics <rudalics@gmx.at>
7471
7472 * window.el (normalize-live-buffer): Rename to
7473 window-normalize-buffer.
7474 (normalize-live-frame): Rename to window-normalize-frame.
7475 (normalize-any-window): Rename to window-normalize-any-window.
7476 (normalize-live-window): Rename to window-normalize-live-window.
7477 (make-window-atom): Rename to window-make-atom.
7478 (window-resize-reset): Rename to window--resize-reset.
7479 (window-resize-reset-1): Rename to window--resize-reset-1.
7480 (resize-mini-window): Rename to window--resize-mini-window.
7481 (resize-subwindows-skip-p): Rename to
7482 window--resize-subwindows-skip-p.
7483 (resize-subwindows-normal): Rename to
7484 window--resize-subwindows-normal.
7485 (resize-subwindows): Rename to window--resize-subwindows.
7486 (resize-other-windows): Rename to window--resize-siblings.
7487 (resize-this-window): Rename to window--resize-this-window.
7488 (resize-root-window): Rename to window--resize-root-window.
7489 (resize-root-window-vertically): Rename to
7490 window--resize-root-window-vertically.
7491 (normalize-buffer-to-display): Rename to
7492 window-normalize-buffer-to-display.
7493 (normalize-buffer-to-switch-to): Rename to
7494 window-normalize-buffer-to-switch-to.
7495 Correspondingly update all callers of the functions listed
7496 above.
7497 (display-buffer-alist, display-buffer-normalize-arguments)
7498 (display-buffer-normalize-options, display-buffer)
7499 (display-buffer-alist-set): Use "function" instead of
7500 "fun-with-args".
7501
1176868d
CY
75022011-06-28 Chong Yidong <cyd@stupidchicken.com>
7503
7504 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7505 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7506 debbugs.gnu.org. Mention acknowledgment email.
7507
20a7a65f
LMI
75082011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7509
7510 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7511 buffer multibyteness, since it shouldn't matter.
7512
5f45cca5
MR
75132011-06-28 Martin Rudalics <rudalics@gmx.at>
7514
7515 * window.el (display-buffer-in-side-window): Handle dedicated
7516 windows as in display-buffer-reuse-window.
7517 (display-buffer-normalize-alist): Use value of override
7518 specifier.
7519 (display-buffer-normalize-specifiers): Use value of
7520 other-window-means-other-frame specifier.
7521 (display-buffer-alist): Rewrite some texts in widgets.
7522 (display-buffer): Spread arguments when calling function
7523 specified by fun-with-args.
7524
ad85fe1f
DD
75252011-06-28 Deniz Dogan <deniz@dogan.se>
7526
1fa280a3
LM
7527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7528 Unnest `let'.
da68c4c8 7529
ad85fe1f
DD
7530 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7531 selectors (Bug#5732).
ec49bd31 7532 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7533
a08cc025
JA
75342011-06-27 Jari Aalto <jari.aalto@cante.net>
7535
7536 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7537 (eshell-ls-date-format): New defcustom.
7538 (eshell-ls-file): Use it.
7539
e2b551c5
SM
75402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7543
8982b231
KY
75442011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7545
7546 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7547 (ange-ftp-make-tmp-name): New arg.
7548 (ange-ftp-file-local-copy): Use it.
7549
36c9fa27
J
75502011-06-27 Jambunathan K <kjambunathan@gmail.com>
7551
7552 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7553 no-conversion (Bug#8870).
7554
d68443dc
MR
75552011-06-27 Martin Rudalics <rudalics@gmx.at>
7556
7557 * window.el (window-right, window-left, window-child)
7558 (window-child-count, window-last-child)
7559 (window-iso-combination-p, walk-window-tree-1)
7560 (window-atom-check-1, window-tree-1, delete-window)
7561 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7562 new naming conventions - window-vchild, window-hchild,
7563 window-next and window-prev are now called window-top-child,
7564 window-left-child, window-next-sibling and window-prev-sibling
7565 respectively.
d615d6d2
MR
7566 (resize-window-reset): Rename to window-resize-reset.
7567 (resize-window-reset-1): Rename to window-resize-reset-1.
7568 (resize-window): Rename to window-resize.
7569 (window-min-height, window-min-width)
7570 (resize-mini-window, resize-this-window, resize-root-window)
7571 (resize-root-window-vertically, adjust-window-trailing-edge)
7572 (enlarge-window, shrink-window, maximize-window)
7573 (minimize-window, delete-window, quit-restore-window)
7574 (split-window, balance-windows, balance-windows-area-adjust)
7575 (balance-windows-area, window-state-put-2)
7576 (display-buffer-even-window-sizes, display-buffer-set-height)
7577 (display-buffer-set-width, set-window-text-height)
7578 (fit-window-to-buffer): Rename all "resize-window" prefixed
7579 calls to use the "window-resize" prefix convention.
7580 (display-buffer-alist): Fix symbol for label specifier.
7581 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7582 corresponding specifier.
7583 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7584
b6458526
VB
75852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7586
7587 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7588 convention.
7589 (ses-call-printer): Does not pass an empty string to formatter when the
7590 cell is empty to keep from barking printer Calc math-format-value.
7591
d31fd9ac
RS
75922011-06-27 Richard Stallman <rms@gnu.org>
7593
43d5bf84
RS
7594 * battery.el (battery-mode-line-limit): New variable.
7595 (battery-update): Handle it.
7596
d31fd9ac
RS
7597 * mail/rmailmm.el (rmail-mime-process-multipart):
7598 Handle truncated messages.
7599
819a6054
GM
76002011-06-27 Glenn Morris <rgm@gnu.org>
7601
7602 * progmodes/flymake.el (flymake-err-line-patterns):
7603 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7604
cedc73f2
VB
76052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7606
819a6054 7607 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7608 (ses--clean-!, ses--clean-_): New functions.
7609 (ses-range): Add configurability of readout order, and conversion
7610 to Calc vector.
7611
5e5d49b6
VB
7612 * ses.el (ses-repair-cell-reference-all): New function.
7613 (ses-cell-symbol): Set macro as safe, so that it can be used in
7614 formulas.
7615
56e6cc31 7616 * ses.el: Update cycle detection algorithm.
90ca8b49 7617 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7618 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7619 (ses-set-localvars): New function.
7620 (ses-make-cell): Add property-list as a cell element.
7621 (ses-cell-property-get-fun, ses-cell-property-get)
7622 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7623 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7624 New functions.
90ca8b49
VB
7625 (ses-cell-property-set, ses-cell-property-pop)
7626 (ses-cell-property-get-handle): New macro.
7627 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7628 New aliases, used for code readability.
7629 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7630 cycle detection.
7631 (ses-self-reference-early-detection): New defcustom.
fac916bf 7632 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7633 (ses-mode): Use ses-set-localvars.
7634 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7635 before lauching the update processing.
7636 (ses-initialize-Dijkstra-attempt): New function.
7637 (ses-recalculate-cell): Update for cycle detection based on
7638 Dijkstra algorithm.
7639
2bb63e81
VB
7640 * ses.el: Fix commenting and indenting convention.
7641
c9d29fb8
SM
76422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * bs.el (bs-cycle-next): Complete last change.
7645
d8e4b68b
JB
76462011-06-27 Drew Adams <drew.adams@oracle.com>
7647
7648 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7649
40098786
LMI
76502011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7651
c9d29fb8
SM
7652 * net/network-stream.el (network-stream-open-starttls):
7653 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7654 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7655
40098786
LMI
7656 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7657 to binary to possibly avoid line encoding issues on Windows (among
7658 other things).
7659
468d09d4
LMI
76602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7661
7662 * net/network-stream.el (open-network-stream): Return an :error
7663 saying what the problem was, if possible.
7664
7665 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7666 server.
7667
7668 * net/network-stream.el (network-stream-open-starttls): If we
7669 wanted to use STARTTLS, and the server offered it, but we weren't
7670 able to because we had no STARTTLS support, then close the connection.
7671 (open-network-stream): Return an :error element, if present.
7672
16f07dd7
CY
76732011-06-26 Chong Yidong <cyd@stupidchicken.com>
7674
88821ca0
CY
7675 * hl-line.el (hl-line-sticky-flag): Doc fix.
7676 (global-hl-line-sticky-flag): New option (Bug#8323).
7677 (global-hl-line-highlight): Obey it.
7678
16f07dd7
CY
7679 * vc/vc.el (vc-revert-show-diff): Default to t.
7680
6b5ccddf
KM
76812011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7682
c9d29fb8
SM
7683 * allout-widgets.el (allout-widgets-post-command-business):
7684 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7685 undecorated when an isearch is continued past, and isearch
7686 automatically collapses them. This leads to "widget leaks", where
7687 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7688 hidden widgets can slow down cursor travel, substantially.
7689 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7690 so we're doing without this nicety.
7691
7692 (allout-widgets-tally-string): Don't try to do a hash-table-count
7693 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7694 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7695 *Messages* when allout-widgets-maintain-tally is t.
7696
355f2e07
MR
76972011-06-26 Martin Rudalics <rudalics@gmx.at>
7698
7699 * window.el (display-buffer-normalize-argument): Rename to
7700 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7701 LABEL argument. Respect special-display-function when popping up
7702 a new frame. Fix code searching for a window showing the buffer
7703 on another frame.
c9d29fb8
SM
7704 (display-buffer-normalize-specifiers):
7705 Call display-buffer-normalize-arguments.
355f2e07
MR
7706 (display-buffer-in-window): Don't undedicate the window if its
7707 buffer remains the same.
7708 Reported by Drew Adams <drew.adams@oracle.com>.
7709 (display-buffer-alist): Add choice for same-window macro
7710 specfier.
7711 (display-buffer): Mention special meaning of LABEL argument in
7712 doc-string. Fix quoting. Don't pop up a new frame even as
7713 fallback.
7714
7ca8fc42
JB
77152011-06-26 Juanma Barranquero <lekktu@gmail.com>
7716
7717 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7718 avoid deleting the current window in some cases (bug#8911).
7719
bc312254
AS
77202011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7721
7722 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7723 (Bug#8934)
7724
2db18f3f
LMI
77252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
c9d29fb8
SM
7727 * net/network-stream.el (network-stream-open-starttls):
7728 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7729 (network-stream-open-tls): Ditto.
7730
6302e0d3
LL
77312011-06-26 Leo Liu <sdl.web@gmail.com>
7732
7733 * register.el (registerv): New struct.
7734 (registerv-make): New function.
c9d29fb8
SM
7735 (jump-to-register, describe-register-1, insert-register):
7736 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7737 struct. (Bug#8415)
7738
5fdd4046
CY
77392011-06-26 Chong Yidong <cyd@stupidchicken.com>
7740
2afef60a
CY
7741 * vc/vc.el (vc-revert-show-diff): New defcustom.
7742 (vc-diff-internal): New arg specifying diff buffer.
7743 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7744 reuse an existing *vc-diff* buffer (Bug#8927).
7745
5fdd4046
CY
7746 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7747
e93db24a
GM
77482011-06-26 Glenn Morris <rgm@gnu.org>
7749
7750 * progmodes/f90.el (f90-critical-indent): New option.
7751 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7752 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7753 (f90-mode): Doc fix.
7754 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7755 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7756 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7757 (f90-match-end): Handle block, critical.
7758
eefff499
GM
77592011-06-25 Glenn Morris <rgm@gnu.org>
7760
f6ba4cc9
GM
7761 * calendar/diary-lib.el (diary-included-files): Doc fix.
7762 (diary-include-files): New function, extracted from
7763 diary-include-other-diary-files and diary-mark-included-diary-files.
7764 (diary-include-other-diary-files, diary-mark-included-diary-files):
7765 Just call diary-include-files.
7766 (diary-mark-entries): Reset diary-included-files on first call.
7767
16712304
GM
7768 * calendar/diary-lib.el (diary-mark-entries)
7769 (diary-mark-included-diary-files):
7770 Visit included diary-files in temp buffers.
7771
5d8e0d43
GM
7772 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7773 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7774 (f90-start-block-re, f90-imenu-generic-expression)
7775 (f90-looking-at-program-block-start, f90-no-block-limit):
7776 Add support for submodules.
7777
ccf7a5d5
GM
7778 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7779 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7780
11fdef7d 77812011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7782
7783 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7784 buffer-file-type before setting its value, to avoid disastrous
eefff499 7785 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7786
74f53697
JB
77872011-06-25 Juanma Barranquero <lekktu@gmail.com>
7788
7789 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7790
7791 * ses.el (ses-unload-function):
7792 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7793
7794 * proced.el (proced-unload-function):
7795 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7796
18a4ce5e
AR
77972011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7798
7799 * server.el (server-create-window-system-frame): Add parameters arg.
7800 (server-process-filter): Doc fix. Handle frame-parameters.
7801
519d22cc
JB
78022011-06-25 Juanma Barranquero <lekktu@gmail.com>
7803
7804 Fix bug#8730, bug#8781.
7805
7806 * loadhist.el (unload--set-major-mode): New function.
7807 (unload-feature): Use it.
7808
7809 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7810 (python-unload-function): New function.
7811
c206f5b0
SM
78122011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7815
f9ad64f3
GS
78162011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7817
7818 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7819 the candidates list.
7820
7d0da90e
JB
78212011-06-24 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7824
14b4e83d
RS
78252011-06-23 Richard Stallman <rms@gnu.org>
7826
7827 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7828 (rmail-variables): Set next-error-move-function.
7829 (rmail-what-message): Take argument POS.
7830 (rmail-next-error-move): New function.
7831
273d2baf
SM
78322011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7835 messages for adjacent non-terminals.
7836
56c2cc9a
RS
78372011-06-23 Richard Stallman <rms@gnu.org>
7838
7839 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7840 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7841 (rmail-start-mail): Don't specify use of rmail-mail-return;
7842 that's done by mail-bury now.
7843 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7844
d59eb518
MA
78452011-06-23 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7848 SIZE is a number.
7849
02cfc6d6
MR
78502011-06-23 Martin Rudalics <rudalics@gmx.at>
7851
7852 * window.el (get-lru-window, get-mru-window)
7853 (get-largest-window): Never return a minibuffer window.
7854 (display-buffer-pop-up-window): Fix a bug that could lead to
7855 reusing the minibuffer window.
7856 (display-buffer): Pass original specifier argument to
7857 display-buffer-function instead of the normalized one.
7858 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7859
4e323265
LL
78602011-06-22 Leo Liu <sdl.web@gmail.com>
7861
7862 * minibuffer.el (completing-read-function)
7863 (completing-read-default): Move from minibuf.c
7864
7a70468f
RS
78652011-06-22 Richard Stallman <rms@gnu.org>
7866
50718fc2
RS
7867 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7868 to Rmail even if not started by a special Rmail command.
7869
7a70468f
RS
7870 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7871 Copy the buffer currently showing just one message.
7872
297dde5a
RW
78732011-06-22 Roland Winkler <winkler@gnu.org>
7874
7875 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7876 (bibtex-clean-entry): First delete the old key so that a
7877 customized algorithm for generating the new key does not get
7878 confused by the old key.
7879 (bibtex-url): Obey regexp of first step.
7880 (bibtex-search-entries): Do not use add-to-list with local
7881 list-var.
7882
97bb1093
LMI
78832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7884
7885 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7886 stored a user name, then query for the password first, instead of
7887 waiting for SMTP to give an error message and the trying again.
7888
1c0f1a19
JD
78892011-06-22 Lawrence Mitchell <wence@gmx.li>
7890
7891 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7892 BUFFER in call-process.
7893
396f7c9d
LMI
78942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7895
7896 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7897 QUIT twice.
ddb7ffee
LMI
7898 (smtpmail-try-auth-methods): Require user name and password from
7899 auth-source.
396f7c9d 7900
8998d1b3
MR
79012011-06-22 Martin Rudalics <rudalics@gmx.at>
7902
7903 * window.el (display-buffer-default-specifiers)
7904 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7905 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7906 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7907
7908 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7909 (special-display-frame-alist, special-display-popup-frame):
7910 Remove duplicate declarations. These are now in window.el.
7911
4ea31e07
LMI
79122011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7913
c9d29fb8
SM
7914 * mail/smtpmail.el (smtpmail-via-smtp):
7915 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7916 server supports it. SMTP servers that support STARTTLS commonly
7917 require it.
7918
7919 * net/network-stream.el (network-stream-open-starttls): Support
7920 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7921 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7922
95f41d9a
LMI
7923 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7924 upgrades with `open-network-stream', and rely solely on
7925 auth-source for all credentials. Big changes throughout the file,
7926 but in particular:
c9d29fb8
SM
7927 (smtpmail-auth-credentials): Remove.
7928 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7929 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7930 MAIL FROM, too.
95f41d9a 7931
c9d29fb8
SM
7932 * net/network-stream.el (network-stream-open-starttls):
7933 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7934 STARTTLS.
7935 (auth-source): Require.
7936 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7937 (network-stream-certificate): Change cert-cert to cert and
7938 cert-key to key.
4ea31e07 7939
065ec2c7
MA
79402011-06-21 Michael Albinus <michael.albinus@gmx.de>
7941
7942 * net/tramp-cache.el (top): Don't load the persistency file when
7943 "emacs -Q" has been called.
7944
cd93b359
DR
79452011-06-21 Tim Harper <timcharper@gmail.com>
7946
d8e4b68b
JB
7947 * term/ns-win.el (ns-initialize-window-system):
7948 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7949 resource to NO as it is not yet supported by the NS port.
7950
ae9c0411
JB
79512011-06-21 Juanma Barranquero <lekktu@gmail.com>
7952
7953 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7954 (list-dynamic-libraries): ...not here.
7955
7f3f739f
LL
79562011-06-21 Leo Liu <sdl.web@gmail.com>
7957
7958 * subr.el (sha1): Implement sha1 using secure-hash.
7959
327c8fb1
MR
79602011-06-21 Martin Rudalics <rudalics@gmx.at>
7961
7962 * window.el (display-buffer-alist): In default value do not
7963 enforce searching a window on any but the selected frame.
7964 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7965 (display-buffer-select-window): Remove function.
7966 (display-buffer-in-window): When a window on another frame gets
7967 reused, do not select it any more but just raise its frame if
7968 necessary (Bug#8851) and (Bug#8856).
7969 (display-buffer-normalize-options): Handle pop-up-frames related
7970 options more faithfully.
7971 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7972 window if it is on another frame.
c9d29fb8
SM
7973 (display-buffer-alist, display-buffer-default-specifiers):
7974 Don't make new frame unsplittable by default.
9e9de014
MR
7975 (display-buffer-normalize-argument): Fix doc-string typo and use
7976 'same-frame-other-window instead of 'other-window when associating
7977 with display-buffer-macro-specifiers.
327c8fb1 7978
7cf3f556
VB
79792011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7980
7981 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7982 New functions.
7983 (5x5-mode-map, 5x5-mode-menu): Bind them.
7984 (5x5-draw-grid): Tweak the solver's rendering.
7985
60a406cf
SM
79862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7989 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7990
d8e4b68b 79912011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7992
7993 * menu-bar.el: Use function variable instead of switch-to-buffer.
7994 (menu-bar-select-buffer-function): New variable.
60a406cf 7995 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7996
478d6f95
SM
79972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8000 variable's status.
8001
ca530739
JD
80022011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8003
8004 * x-dnd.el (x-dnd-version-from-flags)
8005 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8006 and long as number (Bug#8899).
8007 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8008
bcd70d97
SM
80092011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8010
60a406cf 8011 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8012 (completion-try-completion, completion-all-completions): Compute the
8013 metadata argument if it's missing; make it optional (bug#8795).
8014
60a406cf 8015 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8016 (widget-complete): Use new :completion-function property.
8017 (widget-completions-at-point): New function.
8018 (default): Use :completion-function instead of :complete.
60a406cf
SM
8019 (widget-default-completions): Rename from widget-default-complete;
8020 Rewrite.
bcd70d97
SM
8021 (widget-string-complete, widget-file-complete, widget-color-complete):
8022 Remove functions.
8023 (file, symbol, function, variable, coding-system, color):
8024 * international/mule-cmds.el (default-input-method, charset)
8025 (language-info-custom-alist):
8026 * cus-edit.el (face): Use new property :completions.
8027
8028 * progmodes/pascal.el (pascal-completions-at-point): New function.
8029 (pascal-mode): Use it.
8030 (pascal-mode-map): Use completion-at-point.
8031 (pascal-toggle-completions): Make obsolete.
8032 (pascal-complete-word, pascal-show-completions):
8033 * progmodes/octave-mod.el (octave-complete-symbol):
8034 Redefine as obsolete alias.
8035 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8036 Signal absence of completion info for old Octave,
8037 (inferior-octave-complete): Redefine as obsolete alias.
8038 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8039 (meta-completions-at-point): Rename from meta-complete-symbol and
8040 adapt it for use on completion-at-point-functions.
8041 (meta-common-mode): Use it.
8042 (meta-looking-at-backward, meta-match-buffer): Remove.
8043 (meta-complete-symbol): Redefine as obsolete alias.
8044 (meta-common-mode-map): Use completion-at-point.
8045 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8046 (makefile-mode-map): Use completion-at-point.
8047 (makefile-completions-at-point): Rename from makefile-complete and
8048 adapt it for use on completion-at-point-functions.
8049 (makefile-mode): Use it.
8050 (makefile-complete): Redefine as obsolete alias.
8051
aebf69c8
DD
80522011-06-20 Deniz Dogan <deniz@dogan.se>
8053
8054 * net/rcirc.el: Delete trailing whitespaces once and for all.
8055
bfbbb27d
DC
80562011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8057
8058 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8059
d264a46b
CY
80602011-06-19 Chong Yidong <cyd@stupidchicken.com>
8061
4ca009e5
CY
8062 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8063
d264a46b
CY
8064 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8065
fbf5b3ce
MR
80662011-06-19 Martin Rudalics <rudalics@gmx.at>
8067
8068 * window.el (display-buffer-other-window-means-other-frame):
8069 Call display-buffer-normalize-alist.
8070 (display-buffer-normalize-specifiers-1): Rename to
8071 display-buffer-normalize-argument. New argument other-frame.
8072 Rewrite.
8073 (display-buffer-normalize-specifiers-2): Rename to
8074 display-buffer-normalize-options.
8075 (display-buffer-normalize-alist-1): New function.
8076 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8077 display-buffer-normalize-alist.
8078 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8079 (display-buffer-normalize-options-inhibit): New variable.
8080 (display-buffer-normalize-specifiers): Rewrite calling
8081 display-buffer-normalize-alist,
8082 display-buffer-normalize-argument, and
8083 display-buffer-normalize-options. Don't call the latter if
8084 display-buffer-normalize-options-inhibit is non-nil.
8085 (frame-auto-delete): New option.
8086 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8087 (window-list-no-nils, window-state-ignored-parameters)
8088 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8089 (window-state-put-1, window-state-put-2, window-state-put):
8090 New functions.
9a028c23
MR
8091 (display-buffer-normalize-options): Move special-display-p group
8092 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8093
6d10d800
CY
80942011-06-18 Chong Yidong <cyd@stupidchicken.com>
8095
6420d28b
CY
8096 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8097 groups (Bug#8776).
8098 (rx-submatch-n): New function.
8099 (rx): Document it.
8100
ddb8b596
CY
8101 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8102 (Bug#8768).
8103
8104 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8105
77080289
CY
8106 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8107
61dfb316
CY
8108 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8109 anytime existing face settings are present (Bug#8889).
8110
6d10d800
CY
8111 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8112 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8113 Remove unused argument.
8114
be3fb2b8
MR
81152011-06-18 Martin Rudalics <rudalics@gmx.at>
8116
bcd70d97
SM
8117 * window.el (display-buffer-default-specifiers):
8118 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8119 pop-up-window-min-width, and another reuse-window specifier
8120 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8121 (display-buffer-normalize-specifiers-2):
8122 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8123 pop-up-windows is unset. Add a reuse-window specifier for the
8124 case popping up a new window fails.
8125 (special-display-popup-frame): Remove double quoting.
28dec25a 8126 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8127
1c6d8c76
SM
81282011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8131 according to comint-completion-addsuffix.
8132
8133 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8134 (pcomplete-suffix-list): Mark as obsolete.
8135 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8136 pcomplete-seen in the closure.
8137 (pcomplete-comint-setup): Setup completion-at-point as well.
8138 (pcomplete--entries): New function.
8139 (pcomplete--env-regexp): New var.
8140 (pcomplete-entries): Rewrite to work with partial-completion and
8141 without relying on pcomplete-suffix-list.
8142 (pcomplete-pare-list): Remove, unused.
8143
25aef8b8
MR
81442011-06-17 Martin Rudalics <rudalics@gmx.at>
8145
8146 * window.el (display-buffer-alist): Set pop-up-window-min-height
8147 and pop-up-window-min-width in default value. Reported by
8148 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8149 other-window-means-other-frame.
8150 (display-buffer-macro-specifiers): Comment out entry for
8151 other-window specifier.
8152 (display-buffer-other-window-means-other-frame): New function.
8153 (display-buffer-normalize-specifiers-1): New arguments
8154 buffer-name and label. Treat other-window case specially.
8155 (display-buffer-normalize-specifiers-2): Treat other-window case
8156 specially.
8157 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8158 (display-buffer-normalize-specifiers):
8159 Call display-buffer-normalize-specifiers-3.
25aef8b8 8160
dbad4f69
MR
81612011-06-17 Martin Rudalics <rudalics@gmx.at>
8162
8163 * window.el (same-window-p): Fix two typos introduced when
8164 adding with-no-warnings.
d1067961
MR
8165 (display-buffer-normalize-specifiers-1): Don't check
8166 pop-up-frames for 'unset initialization.
8167 (display-buffer-normalize-specifiers-2): Major rewrite using
8168 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8169 (pop-up-frames, display-buffer-reuse-frames)
8170 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8171 Suggested by David Engster <deng@randomsample.de>.
8172 (even-window-heights): Initialize to 'unset.
8173 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8174 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8175 other window case.
dbad4f69 8176
9b9c9e3a
MR
81772011-06-16 Martin Rudalics <rudalics@gmx.at>
8178
bcd70d97
SM
8179 * window.el (display-buffer-normalize-specifiers-1):
8180 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8181 second argument of display-buffer (Bug#8865).
981d5c09
MR
8182 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8183 (switch-to-buffer-other-window-same-frame)
8184 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8185 Adams (Bug#8875).
9c2755e9
MR
8186 (display-buffer): Don't check noninteractive when calling
8187 display-buffer-pop-up-frame.
8188 (display-buffer-pop-up-frame): Never pop up a frame in
8189 noninteractive mode (Bug#8857).
67222e1d
MR
8190 (enlarge-window, shrink-window): Don't report an error when the
8191 window can't be resized as requested (Bug#8862).
9b9c9e3a 8192
2b75be67
SM
81932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8194
9ffdd3ba
SM
8195 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8196
cb581a67
SM
8197 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8198
2b75be67
SM
8199 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8200
8c0e3589
AM
82012011-06-15 Alan Mackenzie <acm@muc.de>
8202
cb581a67
SM
8203 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8204 for declarators, disable knr checking to speed up for normal files.
8205 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8206
b96e6cde
LMI
82072011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208
4bba86e6
LMI
8209 * net/network-stream.el (open-network-stream): Add the keyword
8210 :always-query-capabilities for the case where you want to force a
8211 `plain' network connection, but the protocol still requires the
8212 capabilitiy command (i.e., SMTP and EHLO).
8213
2b75be67 8214 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8215 consistency with other `-live-p' functions.
8216
efdcdbf8
SM
82172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * window.el (same-window-buffer-names, same-window-regexps)
8220 (special-display-frame-alist, special-display-popup-frame)
8221 (special-display-function, special-display-buffer-names)
8222 (special-display-regexps, pop-up-frame-alist)
8223 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8224 (pop-up-windows, split-window-preferred-function)
8225 (split-height-threshold, split-width-threshold, even-window-heights)
8226 (display-buffer-mark-dedicated): Don't encourage the use of
8227 display-buffer-alist from Elisp code.
8228
c5cde042
DN
82292011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8230
8231 * progmodes/python.el (python-mode): Derive from prog-mode.
8232 * progmodes/ps-mode.el (ps-mode):
8233 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8234 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8235 * progmodes/ld-script.el (ld-script-mode): Likewise.
8236
baa1c9ab
MR
82372011-06-15 Martin Rudalics <rudalics@gmx.at>
8238
8239 * window.el (display-buffer-alist): Trim default value to avoid
8240 popping up a new frame (Bug#8857) or reusing an arbitrary window
8241 on another frame.
8242 (display-buffer): Do not fall back on popping up a new frame in
8243 batch mode (Bug#8857).
8244
c5dd5a51
CY
82452011-06-14 Chong Yidong <cyd@stupidchicken.com>
8246
8247 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8248 (custom-theme-summary): New function.
8249 (customize-themes): Use it.
8250
d647b7c4
GM
82512011-06-13 Glenn Morris <rgm@gnu.org>
8252
8253 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8254
9481c002
MR
82552011-06-13 Martin Rudalics <rudalics@gmx.at>
8256
357f93d2
MR
8257 * help.el (help-window): Remove variable.
8258 (help-window-point-marker, temp-buffer-max-height)
8259 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8260 (help-print-return-message): Don't set help-window.
8261 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8262 (help-window-setup-finish): Remove.
8263 (help-window-display-message, help-window-setup)
8264 (with-help-window): Major rewrite based on new
8265 display-buffer-window variable.
8266
8267 * help-mode.el (help-mode-finish): Remove help-window related
8268 code.
8269
8270 * view.el (view-exits-all-viewing-windows): Remove reference to
8271 view-return-to-alist in doc-string.
8272 (view-return-to-alist): Make obsolete.
8273 (view-buffer): Call pop-to-buffer-same-window and remove
8274 undo-window code.
8275 (view-buffer-other-window): Call pop-to-buffer-other-window and
8276 simplify code. Ignore second argument.
8277 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8278 simplify code. Ignore second argument.
8279 (view-return-to-alist-update): Make obsolete.
8280 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8281 Rewrite using quit-restore window parameters.
2b75be67
SM
8282 (view-mode-exit): Rename second argument to EXIT-ONLY.
8283 Rewrite using quit-restore-window.
357f93d2
MR
8284 (View-exit, View-exit-and-edit, View-leave, View-quit)
8285 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8286 appropriate arguments.
8287 (view-end-message): Use quit-restore window parameter.
8288
9481c002
MR
8289 * window.el (display-buffer-function): Rewrite doc-string.
8290 (display-buffer-window, display-buffer-alist): New variables.
8291 (display-buffer-split-specifiers)
8292 (display-buffer-side-specifiers)
8293 (display-buffer-macro-specifiers): New constants.
8294 (display-buffer-even-window-sizes, display-buffer-set-height)
8295 (display-buffer-set-width, display-buffer-select-window)
8296 (display-buffer-in-window, display-buffer-reuse-window)
8297 (display-buffer-split-window-1, display-buffer-split-window)
8298 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8299 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8300 (display-buffer-in-side-window, normalize-buffer-to-display)
8301 (display-buffer-normalize-specifiers-1)
8302 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8303 (display-buffer-normalize-specifiers, display-buffer-frame):
8304 New functions.
9481c002
MR
8305 (display-buffer): Major rewrite.
8306 (display-buffer-other-window, display-buffer-other-frame)
8307 (pop-to-buffer, switch-to-buffer-other-window)
8308 (switch-to-buffer-other-frame): Rewrite.
8309 (display-buffer-same-window, display-buffer-same-frame)
8310 (display-buffer-same-frame-other-window)
8311 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8312 (pop-to-buffer-other-window)
8313 (pop-to-buffer-same-frame-other-window)
8314 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8315 (switch-to-buffer-other-window-same-frame): New functions.
8316 (same-window-p, special-display-p): Rewrite disabling warnings.
8317 Make obsolete.
8318 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8319 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8320 Make obsolete
8321 (same-window-buffer-names, same-window-regexps)
8322 (special-display-frame-alist, special-display-popup-frame)
8323 (special-display-function, special-display-buffer-names)
8324 (special-display-regexps, pop-up-frame-alist)
8325 (pop-up-frame-function, split-window-preferred-function)
8326 (split-height-threshold, split-width-threshold)
8327 (even-window-heights): Make obsolete.
8328
9db51aca
GM
83292011-06-12 Glenn Morris <rgm@gnu.org>
8330
8331 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8332 Misc simplifications.
9db51aca 8333
39cffb44
MR
83342011-06-12 Martin Rudalics <rudalics@gmx.at>
8335
8336 * window.el (window-safely-shrinkable-p): Restore function which
8337 was inadvertently removed in change from 2011-06-11. Declare as
8338 obsolete.
8339
2b75be67
SM
8340 * calendar/calendar.el (calendar-generate-window):
8341 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8342 window-safely-shrinkable-p.
8343
a8955be7
GM
83442011-06-12 Glenn Morris <rgm@gnu.org>
8345
8346 * progmodes/fortran.el (fortran-mode-syntax-table):
8347 * progmodes/f90.el (f90-mode-syntax-table):
8348 Set % to punctuation. (Bug#8820)
8349 (f90-find-tag-default): Remove, no longer needed.
8350
f0d4059d
DC
83512011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8352
8353 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8354
1100a63c
CY
83552011-06-11 Chong Yidong <cyd@stupidchicken.com>
8356
8357 * image.el (image-animated-p): Return animation delay in seconds.
8358 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8359 (image-animate-timeout): Remove DELAY argument. Don't assume
8360 every subimage has the same delay; get it from image-animated-p.
8361 (image-animate): Caller changed.
8362
def722bf
MA
83632011-06-11 Michael Albinus <michael.albinus@gmx.de>
8364
8365 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8366 to ignored backtrace functions.
8367
0a2bb1a9
GM
83682011-06-11 Glenn Morris <rgm@gnu.org>
8369
8370 * calendar/appt.el (appt-disp-window-function): Doc fix.
8371 (appt-check): Handle overlapping appointments. (Bug#8337)
8372
6198ccd0
MR
83732011-06-11 Martin Rudalics <rudalics@gmx.at>
8374
8375 * window.el (window-tree-1, window-tree): New functions, moving
8376 the latter to window.el.
8377 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8378 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8379 (bw-refresh-edges): Remove.
8380 (balance-windows-1, balance-windows-2): New functions.
8381 (balance-windows): Rewrite in terms of window tree functions,
8382 balance-windows-1 and balance-windows-2.
8383 (bw-adjust-window): Remove.
8384 (balance-windows-area-adjust): New function with functionality of
8385 bw-adjust-window but using resize-window.
2b75be67
SM
8386 (set-window-text-height): Rewrite doc-string.
8387 Use normalize-live-window and resize-window.
8388 (enlarge-window-horizontally, shrink-window-horizontally):
8389 Rename argument to DELTA.
6198ccd0
MR
8390 (window-buffer-height): New function.
8391 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8392 Rewrite using new window resize routines.
2b75be67
SM
8393 (kill-buffer-and-window, mouse-autoselect-window-select):
8394 Use ignore-errors instead of condition-case.
6198ccd0
MR
8395 (quit-window): Call delete-frame instead of delete-windows-on
8396 for the only buffer on frame.
8397
9397e56f
MR
83982011-06-10 Martin Rudalics <rudalics@gmx.at>
8399
8400 * loadup.el (top-level): Load window before files for the sake
8401 of replace-buffer-in-windows.
8402
8403 * files.el (read-buffer-to-switch)
8404 (switch-to-buffer-other-window)
2b75be67
SM
8405 (switch-to-buffer-other-frame, display-buffer-other-frame):
8406 Move to window.el.
9397e56f
MR
8407
8408 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8409 (previous-buffer): Move to window.el.
8410
8411 * bindings.el (unbury-buffer): Move to window.el.
8412
8413 * window.el (delete-other-windows-vertically): Move after
8414 definition of delete-other-windows.
8415 (other-window, delete-windows-on, replace-buffer-in-windows):
8416 Move here from window.c.
8417 (record-window-buffer, unrecord-window-buffer)
8418 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8419 (switch-to-next-buffer): New functions.
8420 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8421 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8422 (previous-buffer): Move here from simple.el.
8423 Call switch-to-prev-buffer.
9397e56f
MR
8424 (bury-buffer): Move here from buffer.c. Switch to previous
8425 buffer when window cannot be deleted.
8426 (unbury-buffer): Move here from bindings.el.
8427 (ctl-x-map): Move binding for other-window from window.c to
8428 here.
8429 (read-buffer-to-switch, switch-to-buffer-other-window)
8430 (switch-to-buffer-other-frame): Move here from files.el.
8431 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8432 (switch-to-buffer): Move here from buffer.c.
8433 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8434
562dd5e9
MR
84352011-06-10 Martin Rudalics <rudalics@gmx.at>
8436
8437 * window.el (window-min-height, window-min-width): Move here
8438 from window.c. Add defcustoms and rewrite doc-strings.
8439 (resize-mini-window, resize-window): New functions.
8440 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8441 Move here from window.c.
8442 (maximize-window, minimize-window): New functions.
8443 (delete-window, delete-other-windows, split-window): Move here
8444 from window.c.
8445 (window-split-min-size): New function.
8446 (split-window-keep-point): Mention split-window-above-each-other
8447 instead of split-window-vertically.
2b75be67 8448 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8449 Rename split-window-vertically to split-window-above-each-other
8450 and provide defalias for old definition.
8451 (split-window-side-by-side, split-window-horizontally):
8452 Rename split-window-horizontally to split-window-side-by-side
8453 and provide defalias for the old definition.
562dd5e9
MR
8454 (ctl-x-map): Move bindings for delete-window,
8455 delete-other-windows and enlarge-window here from window.c.
8456 Replace bindings for split-window-vertically and
8457 split-window-horizontally by bindings for
8458 split-window-above-each-other and split-window-side-by-side.
8459
8460 * cus-start.el (all): Remove entries for window-min-height and
8461 window-min-width. Add entries for window-splits and
8462 window-nest.
8463
f0da764a
GM
84642011-06-09 Glenn Morris <rgm@gnu.org>
8465
80675c21
GM
8466 * calendar/appt.el (appt-mode-line): New function.
8467 (appt-check, appt-disp-window): Use it.
8468
f0da764a
GM
8469 * files.el (hack-one-local-variable-eval-safep):
8470 Allow minor-modes with explicit +/-1 arguments.
8471
59f623b7
TZ
84722011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8473
8474 * term/xterm.el (xterm): Add defgroup.
8475 (xterm-extra-capabilities): Add defcustom to supply known xterm
8476 capabilities, skip querying them, or query them (default).
8477 (terminal-init-xterm): Use it.
8478 (terminal-init-xterm-modify-other-keys): New function to set up
8479 modifyOtherKeys support to simplify `terminal-init-xterm'.
8480
9aab8e0d
MR
84812011-06-09 Martin Rudalics <rudalics@gmx.at>
8482
8483 * window.el (resize-window-reset, resize-window-reset-1)
8484 (resize-subwindows-skip-p, resize-subwindows-normal)
8485 (resize-subwindows, resize-other-windows, resize-this-window)
8486 (resize-root-window, resize-root-window-vertically)
8487 (window-deletable-p, window-or-subwindow-p)
8488 (frame-root-window-p): New functions.
8489
e8b08aee
GM
84902011-06-09 Glenn Morris <rgm@gnu.org>
8491
8492 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8493 (ange-ftp-get-files): Use it.
8494
254c37a5
AK
84952011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8496
8497 * mail/sendmail.el (mail-recover-1, mail-recover):
8498 * files.el (recover-file, recover-session):
8499 Handle dired-listing-switches not being just a single short option.
8500
35d7dbd3
GM
85012011-06-09 Glenn Morris <rgm@gnu.org>
8502
8503 * calendar/appt.el (appt-display-message, appt-disp-window):
8504 Handle lists of appointments.
8505
387522b2
MR
85062011-06-08 Martin Rudalics <rudalics@gmx.at>
8507
2b75be67
SM
8508 * window.el (one-window-p): Move down in code.
8509 Rewrite doc-string.
8510 (window-current-scroll-bars): Rewrite doc-string.
8511 Normalize live window argument.
387522b2
MR
8512 (walk-windows, get-window-with-predicate, count-windows):
8513 Rewrite doc-string. Use window-list-1.
8514 (window-in-direction-2, window-in-direction, get-mru-window):
8515 New functions.
8516
d8e4b68b 85172011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8518
8519 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8520 Doc fix (Bug#8713).
8521
85222011-06-08 Chong Yidong <cyd@stupidchicken.com>
8523
8524 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8525
85262011-06-08 Juanma Barranquero <lekktu@gmail.com>
8527
8528 * loadhist.el (unload-feature-special-hooks):
8529 Add `comint-output-filter-functions'.
8530
0de12c52
IK
85312011-06-08 Ivan Kanis <gnu@kanis.fr>
8532
8533 * calendar/appt.el (appt-check): Move some initializations into the let.
8534
f3d1777e
MR
85352011-06-08 Martin Rudalics <rudalics@gmx.at>
8536
8537 * window.el (window-height): Defalias to window-total-height.
8538 (window-width): Defalias to window-body-width.
8539
18af70d0
CY
85402011-06-07 Chong Yidong <cyd@stupidchicken.com>
8541
8542 * image-mode.el (image-toggle-animation): New command.
8543 (image-mode-map): Bind it to RET.
8544 (image-mode): Update message.
8545 (image-toggle-display-image): Avoid a spurious cache flush.
8546 (image-transform-rotation): Doc fix.
8547 (image-transform-properties): Return quickly in the normal case.
8548 (image-animate-loop): Rename from image-animate-max-time.
8549
2b75be67 8550 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8551 (create-animated-image): Remove unnecessary function.
8552 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8553 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8554 (image-animate-timer): Use car-safe.
8555 (image-animate-timeout): Rename argument.
8556
190b47e6
MR
85572011-06-07 Martin Rudalics <rudalics@gmx.at>
8558
8559 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8560 window.c. Rename first argument to ALL-FRAMES.
8561 Rephrase doc-strings.
8562 (get-buffer-window-list): Rewrite using window-list-1.
8563 Rephrase doc-string.
a1511caf
MR
8564 (window-safe-min-height, window-safe-min-width): New constants.
8565 (window-size-ignore, window-min-size, window-min-size-1)
8566 (window-sizable, window-sizable-p, window-size-fixed-1)
8567 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8568 (window-max-delta-1, window-max-delta, window-resizable)
8569 (window-resizable-p, window-total-height, window-total-width)
8570 (window-body-width): New functions.
8571 (window-full-height-p, window-full-width-p): Rewrite using
8572 window-total-size.
8573 (window-body-height): Rewrite using window-body-size.
190b47e6 8574
85cc1f11
MR
85752011-06-06 Martin Rudalics <rudalics@gmx.at>
8576
8577 * window.el (window-right, window-left, window-child)
8578 (window-child-count, window-last-child, window-any-p)
8579 (normalize-live-buffer, normalize-live-frame)
8580 (normalize-any-window, normalize-live-window)
8581 (window-iso-combination-p, window-iso-combined-p)
8582 (window-iso-combinations)
8583 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8584 (windows-with-parameter, window-with-parameter)
8585 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8586 (window-atom-check, window-side-check, window-check):
8587 New functions.
85cc1f11
MR
8588 (ignore-window-parameters, window-sides, window-sides-vertical)
8589 (window-sides-slots): New variables.
8590 (window-size-fixed): Move down in code. Minor doc-string fix.
8591
e7156492
AS
85922011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8593
8594 * comint.el (comint-dynamic-complete-as-filename)
8595 (comint-dynamic-complete-filename): Correctly call
8596 completion-in-region.
8597
7e821d0d
DD
85982011-06-05 Deniz Dogan <deniz@dogan.se>
8599
8600 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8601 in last change.
8602
ac09b8a1
DD
86032011-06-05 Deniz Dogan <deniz@dogan.se>
8604
8605 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8606 (rcirc): Use it to prompt for encryption.
8607
34699b85
RW
86082011-06-05 Roland Winkler <winkler@gnu.org>
8609
8610 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8611 (bibtex-search-entries): New command bound to C-c C-a.
8612 (bibtex-display-entries): New function.
8613
004dedd3
RW
86142011-06-05 Roland Winkler <winkler@gnu.org>
8615
8616 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8617 (bibtex-insert-kill): After yanking insert newline if necessary.
8618 (bibtex-initialize): Call bibtex-string-files-init only once.
8619 (bibtex-mode): Do not call easy-menu-add.
8620 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8621 (bibtex-yank): Set arg properly if nil.
8622
022fe7ce
RW
86232011-06-05 Roland Winkler <winkler@gnu.org>
8624
2b75be67
SM
8625 * textmodes/bibtex.el (bibtex-search-entry-globally):
8626 New variable.
022fe7ce
RW
8627 (bibtex-search-entry): Use it.
8628
b7c3692a
RW
86292011-06-05 Roland Winkler <winkler@gnu.org>
8630
8631 * textmodes/bibtex.el (bibtex-entry-format): New option
8632 sort-fields.
8633 (bibtex-format-entry, bibtex-reformat): Honor this option.
8634 (bibtex-parse-entry): Return fields in proper order.
8635
8eda563d
JB
86362011-06-05 Juanma Barranquero <lekktu@gmail.com>
8637
8638 * doc-view.el (doc-view-remove-if): Move computation of result out
8639 of `dolist' to silence misleading lexical-binding warning.
8640
7dbe3dbc
CY
86412011-06-04 Chong Yidong <cyd@stupidchicken.com>
8642
8643 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8644 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8645
0c33dd17
MA
86462011-06-04 Michael Albinus <michael.albinus@gmx.de>
8647
8648 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8649 "SunOS 5.10".
8650
f8f91c2b
MA
86512011-06-04 Michael Albinus <michael.albinus@gmx.de>
8652
8653 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8654 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8655 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8656 (tramp-parse-putty):
8657 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8658 (tramp-completion-function-alist-ssh)
8659 (tramp-completion-function-alist-telnet)
8660 (tramp-completion-function-alist-su)
8661 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8662 cookie.
8663
8664 * net/tramp-ftp.el:
8665 * net/tramp-sh.el:
8666 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8667 load "tramp.el" `tramp-set-completion-function'.
8668
e17d9003
SM
86692011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * shell.el: Require and use pcomplete.
8672 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8673 (shell-completion-vars): Set pcomplete-default-completion-function.
8674
6c4cab03
DD
86752011-06-04 Deniz Dogan <deniz@dogan.se>
8676
8677 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8678 `memq' (Bug#8799).
8679
ea9fafe0
SM
86802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8683
b3e945d3
JB
86842011-06-02 Juanma Barranquero <lekktu@gmail.com>
8685
8686 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8687 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8688 * vc/log-view.el (log-view-beginning-of-defun):
8689 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8690 (smerge-refine-forward, smerge-refine-chopup-region):
8691 Silence warning for unused `dotimes' counter variables.
8692
7d520089
SM
86932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * net/tramp.el (tramp-with-progress-reporter): Rename from
8696 with-progress-reporter. Use `declare'.
8697 * net/tramp-smb.el:
8698 * net/tramp-sh.el:
8699 * net/tramp-gvfs.el: Update all uses.
8700
a1c2400f
JB
87012011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8702
8703 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8704 buffer isn't killed before making it current.
8705
2403c841
SM
87062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 Silence various byte-compiler warnings.
8709 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8710 `access-type' and new obsolescence format.
8711 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8712 new format.
8713 (byte-compile-check-variable): New `access-type' argument.
8714 Only warn if the access-type is obsolete.
8715 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8716 (byte-compile-variable-set): Adjust callers.
8717 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8718 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8719 setting it as obsolete.
8720 * simple.el (minibuffer-completing-symbol):
8721 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8722 access as obsolete.
8723 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8724 obsolete yet.
8725 * international/quail.el (quail-mouse-choose-completion): Remove unused
8726 code referring to obsolete var.
8727 (quail-choose-completion-string): Remove.
8728 * server.el (server-clients-with, server-kill-buffer-query-function)
8729 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8730 * proced.el (proced-send-signal):
8731 * emacs-lisp/lisp.el (lisp-complete-symbol):
8732 Replace completion-annotate-function with completion-extra-properties.
8733
2462470b
SM
87342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8735
fb5b2591
SM
8736 * simple.el (goto-line): Use read-number.
8737 (overriding-map-is-bound): Remove.
8738 (saved-overriding-map): Change default.
8739 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8740 Take the map as argument.
8741 (universal-argument, negative-argument, digit-argument): Use it.
8742 (restore-overriding-map): Adjust.
8743 (do-auto-fill): Use fill-forward-paragraph.
8744 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8745
fd6fa53f
SM
8746 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8747 (minibuffer-inactive-mode): New major mode.
8748 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8749 the *Messages* buffer" hack.
8750 (mouse-popup-menubar): Don't burp if the event is a normal key.
8751
2462470b
SM
8752 Miscellaneous tweaks.
8753 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8754 lexical scoping as in subr.el's dolist and dotimes.
8755 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8756 Silence compiler warning.
8757 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8758 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8759 * international/ccl.el (ccl-compile): Trivial simplification.
8760 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8761 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8762 `printflag' argument.
8763 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8764 Purecopy the whole obsolescence data.
8765
108bf785
LL
87662011-06-01 Leo Liu <sdl.web@gmail.com>
8767
8768 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8769 improve doc-string as suggested by Marco Pessotto
8770 <melmothx@gmail.com>.
8771 (rcirc-print): Fix last change.
8772
30a23501
SM
87732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * minibuffer.el (complete-with-action): Return nil for the metadata and
8776 boundaries of non-functional tables.
8777 (completion-table-dynamic): Return nil for the metadata.
8778 (completion-table-with-terminator): Add default case, using
8779 complete-with-action.
8780 (completion--metadata): New function.
8781 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8782 to try and avoid pathological performance problems.
8783 (completion--embedded-envvar-table): Return `category' metadata.
8784
bcd54f83
LMI
87852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8786
8787 * subr.el (process-alive-p): New tiny convenience function.
8788
e227544d
SM
87892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8792 content but also its previous major mode.
8793
e8296fdc
HE
87942011-05-31 Helmut Eller <eller.helmut@gmail.com>
8795
4d61f28d 8796 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8797 *Backtrace* buffer when we exit with C-M-c.
8798
620c53a6
SM
87992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * minibuffer.el: Add metadata method to completion tables.
8802 (completion-category-overrides): New defcustom.
8803 (completion-metadata, completion--field-metadata)
8804 (completion-metadata-get, completion--styles)
8805 (completion--cycle-threshold): New functions.
8806 (completion-try-completion, completion-all-completions):
8807 Add `metadata' argument to choose completion-styles.
8808 (completion--do-completion): Use metadata to choose cycling.
8809 (completion-all-sorted-completions): Use metadata for sorting.
8810 Remove :completion-cycle-penalty which is not needed any more.
8811 (completion--try-word-completion): Add `metadata' argument.
8812 (minibuffer-completion-help): Check metadata for annotation function
8813 and sorting.
8814 (completion-file-name-table): Return `category' metadata.
8815 (minibuffer-completing-file-name): Make obsolete.
8816 * simple.el (minibuffer-completing-symbol): Make obsolete.
8817 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8818 completion-try-completion.
8819
1257e755
SM
88202011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8823
3767e706
LL
88242011-05-30 Leo Liu <sdl.web@gmail.com>
8825
8826 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8827 (rcirc-print): Decode all incoming messages (bug#8744).
8828 (rcirc-decode-coding-system): Allow value nil for automatic coding
8829 system detection.
3767e706 8830
d1a5d56a
GM
88312011-06-01 Glenn Morris <rgm@gnu.org>
8832
8833 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8834
e8cbec34
CY
88352011-05-29 Chong Yidong <cyd@stupidchicken.com>
8836
8837 * image.el (image-animate-max-time): Allow nil and t values.
8838 Default to nil.
8839 (create-animated-image): Doc fix.
8840 (image-animate-start): Remove second arg; just use
8841 image-animate-max-time.
8842 (image-animate-timeout): Doc fix. Args changed.
8843
8844 * image-mode.el (image-toggle-display-image): Ensure that the
8845 image spec passed to the animate timer is the same object as in
58179cce 8846 the buffer's display property (Bug#6981).
e8cbec34
CY
8847 (image-transform-properties): Doc fix.
8848
8849 * image.el (image-animate-max-time): Default to nil.
8850
159daf87
MR
88512011-05-29 Martin Rudalics <rudalics@gmx.at>
8852
8853 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8854 entire buffer list (Bug#8184).
8855
d66c4c7c
CY
88562011-05-29 Chong Yidong <cyd@stupidchicken.com>
8857
8858 * image.el (imagemagick-types-inhibit)
8859 (imagemagick-register-types): Doc fix.
8860
80aec780
DD
88612011-05-29 Deniz Dogan <deniz@dogan.se>
8862
8863 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8864 default.
8865
1dd3c2d9
CY
88662011-05-29 Chong Yidong <cyd@stupidchicken.com>
8867
8868 * select.el: Don't perform clipboard-manager saving in hooks;
8869 leave the hooks empty.
8870
60e56523
LL
88712011-05-28 Leo Liu <sdl.web@gmail.com>
8872
8873 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8874 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8875 (occur-edit-mode): New major mode (Bug#8463).
8876 (occur-after-change-function): New function.
8877 (occur-engine): Give Occur tags a read-only property.
8878
2b1e1a22
KR
88792011-05-28 Kevin Ryde <user42@zip.com.au>
8880
8881 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8882
5d344e88
CY
88832011-05-28 Chong Yidong <cyd@stupidchicken.com>
8884
8e6ca83d
CY
8885 * bindings.el (help-echo): Make the initial non-indicator dash
8886 empty on graphical terminals (Bug#7295).
8887
5d344e88
CY
8888 * files.el (auto-mode-alist): Move config rule after the
8889 in-stripping one (Bug#8547).
8890
bfbbace7
CY
8891 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8892
fbeba6e2
CY
8893 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8894 setting (Bug#8740).
8895
60ed8c72
AA
88962011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8897
4ac619f0
AA
8898 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8899 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8900 (Bug#8539).
60ed8c72 8901
23db196e
CY
89022011-05-28 Chong Yidong <cyd@stupidchicken.com>
8903
8904 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8905
5012f24c
DK
89062011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8907
8908 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8909 (hs-hide-block-at-point, hs-find-block-beginning)
8910 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8911 (Bug#8279).
8912
6a639b16
GM
89132011-05-28 Glenn Morris <rgm@gnu.org>
8914
8915 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8916
d43eaf2c
CY
89172011-05-28 Chong Yidong <cyd@stupidchicken.com>
8918
5199bde1
CY
8919 * help-fns.el (describe-function-1): If the function is a derived
8920 major mode, print the parent mode.
8921
d43eaf2c
CY
8922 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8923 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8924
423428a8
SM
89252011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8926
0ff8e1ba 8927 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8928 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8929 * progmodes/etags.el (tags-completion-at-point-function):
8930 * info-look.el (info-lookup-completions-at-point): Mark as
8931 non-exclusive.
8932 (info-complete): Adjust accordingly.
8933
423428a8
SM
8934 * info-look.el: Convert to lexical-binding and completion-at-point.
8935 (info-lookup-completions-at-point): New function.
8936 (info-complete): Use it and completion-in-region.
8937
b74aa22b
DA
89382011-05-28 Drew Adams <drew.adams@oracle.com>
8939
8940 * isearch.el: Let M-e start with point at the first mismatched char.
8941 (isearch-fail-pos): New function.
8942 (isearch-edit-string): Use it.
8943
66e2e71d
DK
89442011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8945
8946 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8947
b1890b0f 89482011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8949
8950 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8951 traversal functions for avl-trees.
8952 (avl-tree--stack): New struct.
8953 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8954 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8955 (avl-tree--do-enter): Add optional `updatefun' arg.
8956 Change return value.
eb95d01d 8957 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8958 (avl-tree--do-delete): Add `test' and `nilflag' args.
8959 Change return value.
eb95d01d
TC
8960 (avl-tree-member): Add optional `nilflag'
8961 (avl-tree-member-p): New function.
8962 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8963 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8964 (avl-tree-stack-empty-p): New functions.
8965
3769ddcf
TC
8966 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8967 avl-tree--del-balance1 and make it work both ways.
8968 (avl-tree--del-balance2): Remove.
8969 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8970 make it work both ways.
8971 (avl-tree--enter-balance2): Remove.
8972 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8973 New macros.
8974 (avl-tree--mapc, avl-tree-map): Add direction argument.
8975
eb95d01d 89762011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8977
8978 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8979
a9f737ee
CY
89802011-05-27 Chong Yidong <cyd@stupidchicken.com>
8981
8982 * select.el: Support clipboard managers with built-in function
8983 x-clipboard-manager-save, via delete-frame-functions and
8984 kill-emacs-hook.
8985 (xselect-convert-to-targets): Add MULTIPLE target to list.
8986 (xselect-convert-to-save-targets): New function.
8987
c92a1e54
KH
89882011-05-27 Kenichi Handa <handa@m17n.org>
8989
8990 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8991 let-binding rfc2047-encode-encoded-words to nil.
8992
e145f188
GM
89932011-05-27 Glenn Morris <rgm@gnu.org>
8994
5ec8a862
GM
8995 * mail/emacsbug.el: Don't require url-util.
8996
4b29d9fb
GM
8997 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8998
e145f188
GM
8999 * files.el (set-auto-mode):
9000 Also respect mode: entries at the end of the file. (Bug#8586)
9001
7d15102b
GM
90022011-05-26 Glenn Morris <rgm@gnu.org>
9003
98f593b8
GM
9004 * files.el (hack-local-variables-prop-line, hack-local-variables):
9005 Downcase mode names, as seems to be traditional.
27b48e63 9006 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9007
7d15102b
GM
9008 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9009 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9010
51d5b4ec
JD
90112011-05-25 Julien Danjou <julien@danjou.info>
9012
9013 * textmodes/rst.el (rst-define-level-faces): Do not define face
9014 symbol if it is already defined.
9015
91513f63
VB
90162011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9017
9018 * play/5x5.el (5x5-new-game, 5x5-randomize):
9019 Reset 5x5-solver-output to nil when a new grid is cast.
9020 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9021 these debugging traces, as defmacro breaks the compiled code.
9022
4d90d6d0
DK
90232011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9024
9025 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9026
e1b90ef6
LL
90272011-05-24 Leo Liu <sdl.web@gmail.com>
9028
9029 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9030 (vc-bzr-sha1): Adapt.
9031
d8e4b68b 9032 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9033
9034 * bindings.el: Provide sha1 feature.
9035
db0406bb 90362011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9037
9038 * mail/sendmail.el: Require `rfc2047'.
9039 (mail-insert-from-field): Do not perform RFC2047 encoding.
9040 (mail-encode-header): New function.
9041 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9042 buffer to the return value of select-message-coding-system.
9043 Call mail-encode-header.
b8d747b9
KH
9044
9045 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9046
db0406bb 90472011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9048
4d90d6d0
DK
9049 * mail/supercite.el (sc-default-cite-frame):
9050 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9051
eb8a5e9b
GM
90522011-05-24 Glenn Morris <rgm@gnu.org>
9053
f8630703
GM
9054 * progmodes/python.el (brm-menu): Declare.
9055
8831bbed
GM
9056 * emulation/viper.el (viper-set-hooks): Declare.
9057
eb8a5e9b
GM
9058 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9059 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9060 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9061 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9062 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9063 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9064
a2a25d24
SM
90652011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 Add an :exit-function for completion-at-point.
9068
9069 * minibuffer.el (completion--done): New fun.
9070 (completion--do-completion): Use it. New arg `expect-exact'.
9071 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9072 since completion--do-completion does it for us now.
9073 (minibuffer-force-complete): Use completion--done and
9074 completion--replace. Handle sole-completion case with more care.
9075 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9076 (completion-extra-properties): New var.
9077 (completion-annotate-function): Make obsolete.
9078 (minibuffer-completion-help): Adjust accordingly.
9079 Use completion-list-insert-choice-function.
9080 (completion-at-point, completion-help-at-point):
9081 Bind completion-extra-properties.
9082 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9083 * simple.el (completion-list-insert-choice-function): New var.
9084 (completion-setup-function): Preserve it.
9085 (choose-completion): Pay attention to it, shuffle the code a bit.
9086 (choose-completion-string): New arg `insert-function'.
9087
9088 * textmodes/bibtex.el: Convert to lexical binding.
9089 (bibtex-mode-map): Use completion-at-point.
9090 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9091 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9092 (bibtex-complete): Define as obsolete alias.
9093 (bibtex-complete-internal): Remove.
9094 (bibtex-format-entry): Remove unused sub-group in regexp.
9095 * shell.el (shell--command-completion-data)
9096 (shell-environment-variable-completion):
9097 * pcomplete.el (pcomplete-completions-at-point):
9098 * comint.el (comint--complete-file-name-data): Use :exit-function
9099 instead of completion-table-with-terminator so it also works for
9100 choose-completion.
9101
e44e373d
SM
91022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9103
4f91a816
SM
9104 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9105
782fc819
SM
9106 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9107 (bug#8710).
9108
e44e373d
SM
9109 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9110
381987c3
KM
91112011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9112
9113 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9114 customization variable and implement: If non-nil, auto-fill will
9115 be inhibited while on topic's header line.
9116
b776bc70
VB
91172011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9118
9119 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9120 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9121 always have a solution in grid size = 5 cases.
9122 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9123 (5x5-solver-output, 5x5-log-buffer): New vars.
9124 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9125 Make these variables buffer local to achieve 5x5 multi-session-ness.
9126 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9127 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9128 (5x5-solve-suggest): New funs.
9129 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9130 randomize a grid so that we ensure that there is always a solution.
9131 (5x5-make-random-grid): Allow other movement than flipping.
9132
7de88b6e
KR
91332011-05-23 Kevin Ryde <user42@zip.com.au>
9134
9135 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9136 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9137 advice and passes PREDICATE.
9138
b1ef1257
SM
91392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9140
bbca48fe
SM
9141 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9142 byte-compile-lambda if it's actually a lambda.
9143
b1ef1257
SM
9144 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9145 Fix function quoting. Use backquote better.
9146
92a9cc65
YS
91472011-05-22 Yuanle Song <sylecn@gmail.com>
9148
9149 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9150 matching (Bug#8516).
9151
f0fb8059
JA
91522011-01-22 Jari Aalto <jari.aalto@cante.net>
9153
9154 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9155 different face (Bug#8178).
9156
d5b44c93
CY
91572011-05-22 Chong Yidong <cyd@stupidchicken.com>
9158
9159 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9160 defface (Bug#8144).
9161
79106a44
SM
91622011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9c848d8a
SM
9164 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9165 funcall as well (bug#8712). Warn when performing those conversions.
9166 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9167
79106a44
SM
9168 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9169
88dfa756
GM
91702011-05-22 Glenn Morris <rgm@gnu.org>
9171
9172 * files.el (hack-local-variables-prop-line): Small simplifications.
9173 (hack-local-variables, hack-local-variables-prop-line):
9174 If MODE-ONLY, return the mode, rather than just `t'.
9175
b7cf2c79
SM
91762011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9179
3f1a8558
GM
91802011-05-21 Glenn Morris <rgm@gnu.org>
9181
7e4ccca3
GM
9182 * files.el (hack-local-variables-prop-line, hack-local-variables):
9183 If only interested in the mode, don't bother doing the other stuff.
9184
637d46ca
GM
9185 * image-mode.el (image-after-revert-hook):
9186 Redraw all frames on which the image is visible. (Bug#8567)
9187
973d955b
GM
9188 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9189
3f1a8558
GM
9190 * wid-edit.el (widget-checklist-match-inline):
9191 Fix 2011-04-19 change. (Bug#8649)
9192
96479927
SM
91932011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9194
1dcf791f
SM
9195 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9196 Also allow singlespace after single-letter capitals followed by a dot.
9197
96479927
SM
9198 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9199 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9200
35fd0881
N
92012011-05-20 Nix <nix@esperi.org.uk>
9202
9203 * files.el (basic-save-buffer-2):
9204 Fix handling of break-hardlink-on-save with non-existent files.
9205
82745640
DD
92062011-05-19 Deniz Dogan <deniz@dogan.se>
9207
9208 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9209 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9210
4a720484
GM
92112011-05-19 Glenn Morris <rgm@gnu.org>
9212
d1f21341
GM
9213 * progmodes/f90.el (f90-type-def-re):
9214 Handle "type, bind(c)". (Bug#8691)
9215
4a720484
GM
9216 * emacs-lisp/autoload.el (batch-update-autoloads):
9217 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9218
2fb0a219
MA
92192011-05-18 Michael Albinus <michael.albinus@gmx.de>
9220
9221 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9222 property for the correct connection in case of multihops.
9223
e565dd37
GM
92242011-05-18 Glenn Morris <rgm@gnu.org>
9225
c2571358 9226 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9227 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9228
e565dd37
GM
9229 Rationalize calendar handling of day and month abbrev-arrays.
9230 * calendar/calendar.el (calendar-customized-p): New function.
9231 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9232 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9233 Add :set function.
9234 (calendar-abbrev-length, calendar-day-abbrev-array)
9235 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9236 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9237 Elements may no longer be nil.
9238 (calendar-day-name, calendar-month-name):
9239 Update for changed nature of abbrev arrays.
9240 * calendar/diary-lib.el (diary-name-pattern):
9241 Update for changed nature of abbrev arrays.
9242 (diary-mark-entries-1): Update calendar-make-alist calls.
9243 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9244 * calendar/cal-html.el (cal-html-day-abbrev-array):
9245 Simply inherit from calendar-day-abbrev-array.
9246
1d99a745
SM
92472011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * progmodes/grep.el (grep-mode): Disable default
9250 compilation-directory-matcher setting (bug#8684).
9251
7c1d9aa0
MA
92522011-05-17 Michael Albinus <michael.albinus@gmx.de>
9253
9254 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9255 instead of "head" and "tail". There were problems with SunOS 5.9,
9256 and it performs better.
9257
3952e9d8
GM
92582011-05-17 Glenn Morris <rgm@gnu.org>
9259
2dd12e7f
GM
9260 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9261
e4157b9c
GM
9262 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9263 Replace obsolete function.
9264
8e249bbd
GM
9265 * shell.el (pcomplete-parse-arguments-function): Declare.
9266
3952e9d8
GM
9267 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9268 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9269 (appt-check): Doc fixes.
9270 (appt-disp-window-function, appt-delete-window-function):
9271 Remove needless special case in custom :type.
9272 (appt-display-count): Default to 0, not nil.
9273 (appt-check): Reset appt-display-count to 0, not nil.
9274
c71a0d48 92752011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9276
c71a0d48
GM
9277 * progmodes/python.el (python-font-lock-keywords):
9278 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9279
31d55be9
SM
92802011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9283
3bfacb2f
KR
92842011-05-16 Kevin Ryde <user42@zip.com.au>
9285
9286 * info-look.el (makefile-automake-mode): New setups, looking in
9287 automake manual, then makefile-mode.
9288 (makefile-mode): Remove automake manual, have it just in
9289 makefile-automake-mode since there's various things different or
9290 not relevant to plain make.
9291 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9292 believe a hypothetical automake-mode would go to makefile-mode,
9293 not the other way around.
9294
c8e83751
CY
92952011-05-15 Chong Yidong <cyd@stupidchicken.com>
9296
5e9e35cd
CY
9297 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9298 hunk-end tags (Bug#8672).
9299
c8e83751
CY
9300 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9301 vc-annotate-show-diff-revision-at-line (Bug#8671).
9302
50b23e5a
GM
93032011-05-14 Glenn Morris <rgm@gnu.org>
9304
7210a739
GM
9305 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9306 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9307 (change-log-font-lock-keywords): Also handle multiple author lines
9308 with leading tabs. (Bug#8644)
7210a739 9309
4691905a
GM
9310 * calendar/appt.el (appt-check): Rename some local variables.
9311 Some simplification/reordering.
9312
50b23e5a
GM
9313 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9314 (feedmail-sendmail-f-doesnt-sell-me-out)
9315 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9316 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9317 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9318 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9319 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9320 (feedmail-binmail-gnulinuxish-template):
9321 Rename from feedmail-binmail-linuxish-template.
9322 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9323 Use insert-buffer-substring.
9324
215cda7c
BC
93252011-05-14 Bill Carpenter <bill@carpenter.org>
9326
9327 * mail/feedmail.el (feedmail-patch-level): Increase.
9328 (feedmail-debug): New custom group.
9329 (feedmail-confirm-outgoing-timeout)
9330 (feedmail-sendmail-f-doesnt-sell-me-out)
9331 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9332 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9333 (feedmail-sender-line, feedmail-from-line)
9334 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9335 (feedmail-spray-this-address)
215cda7c
BC
9336 (feedmail-spray-address-fiddle-plex-list)
9337 (feedmail-queue-use-send-time-for-date)
9338 (feedmail-queue-use-send-time-for-message-id)
9339 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9340 (feedmail-buffer-eating-function):
9341 Doc fixes.
9342 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9343 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9344 (feedmail-message-action-scroll-down): New functions.
9345 (feedmail-queue-directory, feedmail-queue-draft-directory):
9346 Use expand-file-name.
9347 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9348 Remove C-v help entry.
9349 (feedmail-queue-buffer-file-name): New variable.
9350 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9351 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9352 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9353 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9354 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9355 (feedmail-message-action-toggle-spray)
9356 (feedmail-run-the-queue-no-prompts)
9357 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9358 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9359 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9360 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9361 (feedmail-envelope-deducer, feedmail-fiddle-from)
9362 (feedmail-fiddle-sender, feedmail-default-date-generator)
9363 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9364 (feedmail-fiddle-spray-address)
9365 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9366 (feedmail-fiddle-list-of-fiddle-plexes)
9367 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9368 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9369 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9370 Change default. Doc fix.
9371 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9372 (feedmail-binmail-linuxish-template): New constant.
9373 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9374 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9375 (feedmail-send-it): Add debug call.
9376 Use feedmail-queue-buffer-file-name, and
9377 feedmail-send-it-immediately-wrapper.
9378 (feedmail-message-action-send): Add debug call.
9379 Use feedmail-send-it-immediately-wrapper.
9380 (feedmail-queue-express-to-queue): Add debug call.
9381 Run feedmail-queue-express-hook.
9382 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9383 (feedmail-message-action-help-blat):
9384 Rename from feedmail-queue-send-edit-prompt-help-first.
9385 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9386 Check line-endings. Handle errors better.
9387 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9388 Doc fix. Add debug call.
9389 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9390 Use feedmail-queue-send-edit-prompt-inner.
9391 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9392 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9393 from feedmail-queue-send-edit-prompt.
9394 (feedmail-queue-send-edit-prompt-help)
9395 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9396 (feedmail-tidy-up-slug): Add debug call.
9397 Respect feedmail-queue-slug-suspect-regexp.
9398 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9399 (feedmail-dump-message-to-queue): Add debug call.
9400 Expand queue-directory.
9401 (feedmail-dump-message-to-queue): Change message slightly.
9402 Use feedmail-say-chatter.
9403 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9404 (feedmail-send-it-immediately-wrapper): New function.
9405 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9406 Insert empty string rather than newline. Handle full-frame case.
9407 Use catch/throw. Use feedmail-say-chatter.
9408 (feedmail-fiddle-from): Try mail-host-address.
9409 (feedmail-default-message-id-generator): Doc fix.
9410 Bind system-time-locale. Handle missing end.
9411 (feedmail-fiddle-x-mailer): Add debug call.
9412 Handle feedmail-x-mailer-line being nil.
9413 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9414 Add debug call. Use buffer-substring-no-properties.
9415 (feedmail-say-debug, feedmail-say-chatter): New functions.
9416 (feedmail-find-eoh): Give an explicit error.
9417
42c7e61e
UJ
94182011-05-13 Ulf Jasper <ulf.jasper@web.de>
9419
c2571358 9420 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9421 family from helvetica to sans.
c2571358 9422 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9423 etc/images/newsticker.
9424
c2571358 9425 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9426 family from helvetica to sans.
9427
9428 * net/newst-plainview.el (newsticker-new-item-face)
9429 (newsticker-old-item-face, newsticker-immortal-item-face)
9430 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9431 (newsticker-statistics-face): Change default family from
42c7e61e 9432 helvetica to sans.
c2571358 9433 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9434 etc/images/newsticker.
9435
9436 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9437 (newsticker--process-auto-mark-filter-match): : Tell user about
9438 auto-marking.
9439
8497a297
DV
94402011-05-13 Didier Verna <didier@xemacs.org>
9441
9442 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9443 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9444 TODO entries.
8497a297
DV
9445 (lisp-lambda-list-keyword-parameter-indentation)
9446 (lisp-lambda-list-keyword-parameter-alignment)
9447 (lisp-lambda-list-keyword-alignment): New customizable user options.
9448 (lisp-indent-defun-method): Improve docstring.
9449 (extended-loop-p): Fix comment.
9450 (lisp-indent-lambda-list-keywords-regexp): New variable.
9451 (lisp-indent-lambda-list): New function.
9452 (lisp-indent-259): Use it.
9453 (lisp-indent-defmethod): Support for more than one
9454 method qualifier and properly indent methods lambda-lists.
9455 (defgeneric): Provide a missing common-lisp-indent-function property.
9456
f278f87f
SM
94572011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9460 bounds for the empty string (bug#8667).
9461
5233edd7
GM
94622011-05-13 Glenn Morris <rgm@gnu.org>
9463
5237a44f
GM
9464 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9465
8340026c 9466 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9467 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9468
5233edd7 9469 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9470 (appt-time-msg-list): Doc fix.
a5464014 9471 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9472
92d10796
AS
94732011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9474
9475 * progmodes/ld-script.el (ld-script-keywords)
9476 (ld-script-builtins): Update keywords list.
9477
914a0ae1
SM
94782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9479
c89be45f
SM
9480 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9481
914a0ae1
SM
9482 * shell.el (shell-completion-vars): New function.
9483 (shell-mode):
9484 * simple.el (read-shell-command): Use it.
9485 (blink-matching-open): No need for " [...]" in minibuffer-message.
9486
98dc3df3
GM
94872011-05-12 Glenn Morris <rgm@gnu.org>
9488
9489 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9490 (appt-check): Simplify.
9491
d2fc7e3d 94922011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9493
4d61f28d 9494 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9495 literal "/dev/null".
9496
d2fc7e3d 94972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9498
9499 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9500 Fix typo.
9501
d2fc7e3d 95022011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9503
3f254caa
SM
9504 * progmodes/which-func.el (which-function):
9505 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9506 which might not be defined (Bug#8260).
9507
d45885f7
GM
95082011-05-12 Glenn Morris <rgm@gnu.org>
9509
9510 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9511 Let byte-compile-initial-macro-environment always take precedence.
9512
488086f4
SM
95132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * net/rcirc.el: Add support for SSL/TLS connections.
9516 (rcirc-server-alist): New field `encryption'.
9517 (rcirc): Check `encryption' settings.
9518 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9519 Merge make-local-variable into `set'.
9520 (rcirc--connection-open-p): New function.
9521 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9522 the process is not a network process (e.g. running gnutls-cli).
9523 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9524 Make rcirc-(en|de)code-coding-system local here.
9525 (rcirc-mode): Merge make-local-variable into `set'.
9526 (rcirc-parent-buffer): Make permanent buffer-local.
9527 (rcirc-multiline-minor-mode): Don't do it here.
9528 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9529 there's no server buffer.
9530
7d3b9d44
GM
95312011-05-11 Glenn Morris <rgm@gnu.org>
9532
f64049c6
GM
9533 * newcomment.el (comment-kill): Prefix "unused" local.
9534
93c9df73
GM
9535 * term/w32console.el (get-screen-color): Declare.
9536
7d3b9d44
GM
9537 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9538 Handle symbol elements of byte-compile-initial-macro-environment.
9539
9e2dd53f
LL
95402011-05-10 Leo Liu <sdl.web@gmail.com>
9541
488086f4
SM
9542 * bookmark.el (bookmark-bmenu-mode-map):
9543 Bind bookmark-bmenu-search to `/'.
8b340240 9544
9e2dd53f 9545 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9546 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9547 (Footnote-unicode): New function.
9548 (footnote-style-alist): Add unicode style to the list.
9549 (footnote-style): Doc fix.
9e2dd53f 9550
79b70037
GM
95512011-05-10 Jim Meyering <meyering@redhat.com>
9552
9553 Fix doubled-word typos.
9554 * international/quail.el (quail-insert-kbd-layout): and and -> and
9555 * kermit.el: and and -> and
9556 * net/ldap.el (ldap-search-internal): to to -> to
9557 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9558 * progmodes/js.el (js-mode): and and -> and
9559 * textmodes/artist.el (artist-move-to-xy): at at -> at
9560 (artist-draw-region-trim-line-endings): if if -> if
9561 And Safetyc -> Safety.
9562 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9563
b8f82dc1 95642011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9565 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9566
9567 * files.el (hack-one-local-variable-eval-safep):
9568 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9569
4f99f44b
GM
95702011-05-10 Glenn Morris <rgm@gnu.org>
9571
9572 * calendar/diary-lib.el (diary-list-entries-hook)
9573 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9574 (diary-nongregorian-marking-hook, diary-list-entries)
9575 (diary-include-other-diary-files, diary-mark-entries)
9576 (diary-mark-included-diary-files): Doc fixes.
9577
84f29e6b
JB
95782011-05-09 Juanma Barranquero <lekktu@gmail.com>
9579
9580 * misc.el: Require tabulated-list.el during compilation.
9581
9bedd73a
CY
95822011-05-09 Chong Yidong <cyd@stupidchicken.com>
9583
488086f4
SM
9584 * progmodes/compile.el (compilation-start):
9585 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9586 (compilation-filter-hook): Doc fix.
9587
797c735c
DD
95882011-05-09 Deniz Dogan <deniz@dogan.se>
9589
9590 * wdired.el: Remove outdated installation comment. Fix usage
9591 comment.
9592
5f4b1dfe
JB
95932011-05-09 Juanma Barranquero <lekktu@gmail.com>
9594
9595 * misc.el: Implement new command `list-dynamic-libraries'.
9596 (list-dynamic-libraries--loaded-only-p): New variable.
9597 (list-dynamic-libraries--refresh): New function.
9598 (list-dynamic-libraries): New command.
9599
4c44026c
CY
96002011-05-09 Chong Yidong <cyd@stupidchicken.com>
9601
488086f4
SM
9602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9603 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9604 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9605 higher priority to avoid clobbering by gnu.
9606
027f966d
CY
96072011-05-08 Chong Yidong <cyd@stupidchicken.com>
9608
9609 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9610 if the face has existing theme settings (Bug#8454).
9611
085f5d7d
CY
96122011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9613
488086f4
SM
9614 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9615 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9616
2a86a00c
RS
9617 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9618 special file names `.' and `..' (Bug#8259).
9619
d9c54a06
CY
96202011-05-08 Chong Yidong <cyd@stupidchicken.com>
9621
488086f4
SM
9622 * progmodes/grep.el (grep-mode-font-lock-keywords):
9623 Remove buffer-changing entries.
d9c54a06
CY
9624 (grep-filter): New function.
9625 (grep-mode): Add it to compilation-filter-hook.
9626
9627 * progmodes/compile.el (compilation-filter-hook)
9628 (compilation-filter-start): New defvars.
9629 (compilation-filter): Call compilation-filter-hook prior to
9630 updating the process mark.
9631
c4662635
SM
96322011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9635
b0512a1d
EZ
96362011-05-07 Eli Zaretskii <eliz@gnu.org>
9637
605c9376
EZ
9638 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9639 mailclient-send-it even if window-system is nil. (Bug#8595)
9640
c4662635
SM
9641 * term/w32console.el (terminal-init-w32console):
9642 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9643 background-mode. (Bug#8597)
9644
d1dc2cc2
SM
96452011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9648 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9649 New functions.
9650 (defgeneric, eieio--defmethod): Use them.
9651 (eieio-defgeneric): Remove.
9652 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9653
915d1300
GM
96542011-05-07 Glenn Morris <rgm@gnu.org>
9655
a3961c3e
GM
9656 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9657 Use let rather than let*.
9658 (timeclock-find-discrep): Remove unused local.
9659
314347b9
GM
9660 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9661
915d1300
GM
9662 * calendar/appt.el (appt-time-msg-list): Doc fix.
9663
275b59b0
NF
96642011-05-06 Noah Friedman <friedman@splode.com>
9665
9666 * apropos.el (apropos-print-doc): Only use
9667 emacs-lisp-docstring-fill-column when it is bound to an integer,
9668 per that variable's documentation.
9669
6c19f744
SM
96702011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9673 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9674
60f884b2
GM
96752011-05-06 Glenn Morris <rgm@gnu.org>
9676
5006e634
GM
9677 * calendar/appt.el (appt-message-warning-time): Doc fix.
9678 (appt-warning-time-regexp): New option.
9679 (appt-make-list): Respect appt-message-warning-time.
9680
548d0a63
GM
9681 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9682 New options.
9683 (diary-add-to-list): Strip comments from the displayed string.
9684 (diary-mode): Set comment-start and comment-end.
9685
60f884b2
GM
9686 * vc/diff-mode.el (smerge-refine-subst): Declare.
9687 (diff-refine-hunk): Don't require smerge-mode when compiling.
9688
989681bb
JB
96892011-05-06 Juanma Barranquero <lekktu@gmail.com>
9690
9691 * simple.el (list-processes): Return nil as the docstring says.
9692
a6bc05e1
MA
96932011-05-05 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9696 to "".
9697 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9698 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9699 determining of binary transfer. (Bug#7383)
9700
23c22e9a
MA
97012011-05-05 Michael Albinus <michael.albinus@gmx.de>
9702
c4662635
SM
9703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9704 Fix port computation bug. (Bug#8618)
23c22e9a 9705
0bff894f
GM
97062011-05-05 Glenn Morris <rgm@gnu.org>
9707
b8296902
GM
9708 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9709
1f522ce8
GM
9710 * simple.el (shell-dynamic-complete-functions)
9711 (comint-dynamic-complete-functions): Declare.
9712
cf5bee67
GM
9713 * net/network-stream.el (gnutls-negotiate):
9714 * simple.el (tabulated-list-print): Fix declarations.
9715
9716 * progmodes/gud.el (syntax-symbol, syntax-point):
9717 Remove unnecessary and incorrect declarations.
9718
0bff894f
GM
9719 * emacs-lisp/check-declare.el (check-declare-scan):
9720 Handle byte-compile-initial-macro-environment in bytecomp.el
9721
9869b3ae
SM
97222011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 Fix earlier half-done eieio-defmethod change (bug#8338).
9725 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9726 Streamline and change calling convention.
9727 (defmethod): Adjust accordingly and simplify.
9728 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9729 new eieio--defmethod.
9730 (slot-boundp): Minor CSE simplification.
9731
9c1d5ac5
MZ
97322011-05-05 Milan Zamazal <pdm@zamazal.org>
9733
9734 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9735 (glasses-make-readable): Use glasses-separate-capital-groups.
9736
455c834e
JB
97372011-05-05 Juanma Barranquero <lekktu@gmail.com>
9738
9739 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9740 (warning-series): Doc fix.
9741 (display-warning): Don't try to create the buffer if we just found it.
9742
9ed7c8cb
CY
97432011-05-04 Chong Yidong <cyd@stupidchicken.com>
9744
9745 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9746 (autoload-find-generated-file): New function.
9747 (generate-file-autoloads): Bind generated-autoload-file to
9748 buffer-file-name.
9869b3ae
SM
9749 (update-file-autoloads, update-directory-autoloads):
9750 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9751 output file (Bug#7989).
9752 (batch-update-autoloads): Doc fix.
9753
0898ca10
JB
97542011-05-04 Juanma Barranquero <lekktu@gmail.com>
9755
9756 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9757
31dfb76c
GM
97582011-05-04 Glenn Morris <rgm@gnu.org>
9759
f330b642
GM
9760 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9761 function, so it follows changes in calendar-date-style.
9762 (diary-fancy-date-matcher): New function.
9763 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9764 (diary-fancy-font-lock-fontify-region-function):
9765 Use diary-fancy-date-pattern as a function.
9766
31dfb76c
GM
9767 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9768 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9769
48e79d6a
TZ
97702011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9771
9772 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9773 instead of positional arguments. Allow :keylist and :crlfiles
9774 arguments.
9775 (open-gnutls-stream): Call it.
9776
9777 * net/network-stream.el (network-stream-open-starttls): Adjust to
9778 call `gnutls-negotiate' with :process and :hostname arguments.
9779
dd5a5ee0
SM
97802011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9781
ef80fc09
SM
9782 * minibuffer.el (completion--message): New function.
9783 (completion--do-completion, minibuffer-complete)
9784 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9785 (completion--do-completion): Don't ignore completion-auto-help when in
9786 icomplete-mode.
9787
dd5a5ee0
SM
9788 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9789 internal encoding (e.g. tibetan zero is not whitespace).
9790 (global-whitespace-mode): Prefer save-current-buffer.
9791 (whitespace-trailing-regexp): Remove useless save-match-data.
9792 (whitespace-empty-at-bob-regexp): Minor simplification.
9793
b7d22a83
CY
97942011-05-03 Chong Yidong <cyd@stupidchicken.com>
9795
9796 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9797
5192af46
AM
97982011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9799
9800 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9801 Use `concat' to create string for insertion.
5192af46 9802
5767d190
SM
98032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9806 Avoid open-line which runs post-self-insert-hook.
9807 (bibtex-fill-entry): Remove unused `end' var.
9808
bf242939
AM
98092011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9810
5767d190
SM
9811 * textmodes/ispell.el (ispell-add-per-file-word-list):
9812 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9813
25666126
LL
98142011-05-03 Leo Liu <sdl.web@gmail.com>
9815
9816 * isearch.el (isearch-yank-pop): New command.
5767d190 9817 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9818 (isearch-forward): Mention it.
9819
52d3c2d0
SM
98202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9821
1bcace58
SM
9822 * simple.el (minibuffer-complete-shell-command): Remove.
9823 (minibuffer-local-shell-command-map): Use completion-at-point.
9824 (read-shell-command): Setup completion vars here instead.
9825 (read-expression-map): Bind TAB to symbol completion.
9826
52d3c2d0
SM
9827 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9828 error directly rather via storing it into `results'.
9829
35813471
LL
98302011-05-02 Leo Liu <sdl.web@gmail.com>
9831
9832 * vc/diff.el: Fix description.
9833
e793a940
LMI
98342011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9835
9836 * server.el (server-eval-at): New function.
9837
8de66e05
LMI
98382011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9839
9840 * net/network-stream.el (open-network-stream): Take a :nowait
9841 parameter and pass it on to `make-network-process'.
9842 (network-stream-open-plain): Ditto.
9843
dcb79f20
AS
98442011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9845
9846 * faces.el (face-spec-set-match-display): Don't match toolkit
9847 options on terminal frames.
9848
14a7fbd8
SM
98492011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9850
7eabc1be
SM
9851 * progmodes/pascal.el: Use lexical binding.
9852 (pascal-mode-map): Remove author preferences.
9853
14a7fbd8
SM
9854 * pcomplete.el (pcomplete-std-complete): Don't abuse
9855 completion-at-point.
9856
50f84510
JB
98572011-04-28 Juanma Barranquero <lekktu@gmail.com>
9858
6e087a44
JB
9859 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9860 removing code that has been dead since 1991 or so.
9861
50f84510
JB
9862 * startup.el (command-line): When warning about "_emacs", use a
9863 delayed warning to allow the user to filter it out.
9864
0ba690bd
DD
98652011-04-28 Deniz Dogan <deniz@dogan.se>
9866
9867 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9868 user has not joined.
9869
08abfaad
SM
98702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9873 aren't any completions at point.
9874
638f053a
JB
98752011-04-28 Juanma Barranquero <lekktu@gmail.com>
9876
9877 * subr.el (display-delayed-warnings): New function.
9878 (delayed-warnings-hook): New variable.
9879
8fff8daa
SM
98802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9881
08abfaad
SM
9882 * minibuffer.el (completion-at-point, completion-help-at-point):
9883 Don't presume that a given completion-at-point-function will always
9884 use the same calling convention.
9885
8fff8daa
SM
9886 * pcomplete.el (pcomplete-completions-at-point):
9887 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9888 pcomplete-seen is non-nil.
9889 (pcomplete-comint-setup): Also recognize the new comint/shell
9890 completion functions.
9891 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9892 pcomplete-seen is non-nil.
9893
841a1577 98942011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9895
841a1577 9896 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9897 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9898 the first character in the entry. This allows for code to add its
211ec907
UJ
9899 own uid to the entry.
9900 (icalendar--convert-float-to-ical): Add export of
9901 `diary-float'-entries save for those with the optional DAY
9902 argument.
9903
2a782793
DC
99042011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9905
9906 * subr.el (shell-quote-argument): Use alternate escaping strategy
9907 when we spot a variable reference in a string.
9908
0438ce91
DC
99092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9910
9911 * cus-start.el (all): Define customization for debug-on-event.
9912
841a1577 99132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9914
9915 * subr.el (shell-quote-argument): Escape correctly under Windows.
9916
d090ed6c
SM
99172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9920
bfd31217
MA
99212011-04-25 Michael Albinus <michael.albinus@gmx.de>
9922
d090ed6c
SM
9923 * net/tramp.el (tramp-process-actions): Add POS argument.
9924 Delete region between POS and (pos).
bfd31217 9925
d090ed6c
SM
9926 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9927 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9928 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9929
9930 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9931 position in `tramp-process-actions' call.
9932
9933 * net/trampver.el: Update release number.
9934
e92f3bd3
SM
99352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9936
850256b5
SM
9937 * custom.el (defcustom): Obey lexical-binding.
9938
e92f3bd3
SM
9939 Fix octave-inf completion problems reported by Alexander Klimov.
9940 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9941 Inherit from octave-mode-syntax-table.
9942 (inferior-octave-mode): Set info-lookup-mode.
9943 (inferior-octave-completion-at-point): New function.
9944 (inferior-octave-complete): Use it and completion-in-region.
9945 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9946 comint-filename-completion.
9947 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9948 symbol elements which shouldn't be word elements.
9949 (octave-font-lock-keywords, octave-beginning-of-defun)
9950 (octave-function-header-regexp): Adjust regexps accordingly.
9951 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9952
cd22b309
JB
99532011-04-25 Juanma Barranquero <lekktu@gmail.com>
9954
9955 * net/gnutls.el (gnutls-errorp): Declare before first use.
9956
8b492194
TZ
99572011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9958
9959 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9960 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9961 default trustfile exists before going to use it. Add missing
5a5fa834 9962 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9963 Reported by Claudio Bley <claudio.bley@gmail.com>.
9964 (open-gnutls-stream): Add usage example.
9965
9966 * net/network-stream.el (network-stream-open-starttls): Give host
9967 parameter to `gnutls-negotiate'.
9968 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9969 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9970
841a1577 99712011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9972
cd22b309
JB
9973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9974 Use correct match group (bug#8438).
05842630 9975
3ba7869c
CY
99762011-04-24 Chong Yidong <cyd@stupidchicken.com>
9977
512e3ae1
CY
9978 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9979 (package-menu--generate): New arg specifying packages to show.
9980 (package-menu-refresh, package-menu-execute, list-packages):
9981 Callers changed.
9982 (package-show-package-list): New function, replacing deleted
9983 package--list-packages (renamed because it is non-internal).
9984
9985 * finder.el (finder-list-matches): Use package-show-package-list
9986 instead of deleted package--list-packages.
9987
e92f3bd3
SM
9988 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9989 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9990 (vc-annotate-mode-map): Bind it to RET.
9991
7031be6d
UR
99922011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9993
9994 * progmodes/etags.el (next-file): Don't use set-buffer to change
9995 buffers (Bug#8478).
9996
4ef177aa
CY
99972011-04-24 Chong Yidong <cyd@stupidchicken.com>
9998
c8d173eb
CY
9999 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10000
4ef177aa
CY
10001 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10002 (apropos-accumulator): Doc fix.
10003 (apropos-function, apropos-macro, apropos-command)
10004 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10005 (apropos-plist): Add face property.
10006 (apropos-symbols-internal): Fix indentation.
10007 (apropos-print): Simplify help, and recognize apropos-multi-type.
10008 (apropos-print-doc): Use button-type-get to extract the button's
10009 face property. Fill docstring (Bug#8352).
10010
4ffd0d6b 100112011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10012
10013 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10014
c6c32125 10015 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10016 (mpuz-mode-map): Use mapc.
c6c32125
JB
10017 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10018 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10019 Fix typos in docstrings.
10020
58d468b4
JB
10021 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10022 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10023
6470c3c6
JB
10024 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10025
4ffd0d6b 100262011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10027
10028 * minibuffer.el (completion--do-completion): Avoid the "Next char
10029 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10030
3ad8bad0
CY
10031 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10032 mouse-2 into unread-command-events, it is interpreted correctly.
10033
71d73c9c 10034 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10035 (image-toggle-display): Doc fix.
71d73c9c 10036
841a1577 100372011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10038
4ffd0d6b
GM
10039 * textmodes/page.el (what-page): Use line-number-at-pos to
10040 calculate line number (Bug#6825).
6e1dbaa9 10041
c2fb1b60
JB
100422011-04-22 Juanma Barranquero <lekktu@gmail.com>
10043
10044 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10045 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10046 Pass argument NO-DEFAULT to `find-tag-interactive'.
10047
e02f48d7
JB
100482011-04-22 Juanma Barranquero <lekktu@gmail.com>
10049
10050 Lexical-binding cleanup.
10051
10052 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10053 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10054 * progmodes/ada-prj.el (ada-prj-initialize-values)
10055 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10056 (ada-prj-show-value):
10057 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10058 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10059 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10060 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10061 * progmodes/bug-reference.el (bug-reference-push-button):
10062 * progmodes/fortran.el (fortran-line-length):
10063 * progmodes/glasses.el (glasses-change):
10064 * progmodes/octave-mod.el (octave-fill-paragraph):
10065 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10066 (python-pdbtrack-grub-for-buffer, python-sentinel):
10067 * progmodes/sql.el (sql-save-connection):
10068 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10069 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10070 Mark unused parameters.
10071
10072 * progmodes/compile.el (compilation--flush-directory-cache)
10073 (compilation--flush-parse, compile-internal): Mark unused parameters.
10074 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10075 (compilation-next-error-function): Remove unused variable `timestamp'.
10076
10077 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10078 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10079
10080 * progmodes/dcl-mode.el (dcl-end-of-command):
10081 Remove unused variable `start'.
10082 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10083 (dcl-option-value-basic, dcl-option-value-offset)
10084 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10085 Mark unused parameters.
10086 (dcl-save-local-variable): Remove unused variable `val'.
10087 (mode): Declare.
10088
10089 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10090 Mark unused parameters.
10091 (delphi-ignore-changes): Move before first use.
10092 (delphi-charset-token-at): Remove unused variable `start'.
10093 (delphi-else-start): Remove unused variable `if-count'.
10094 (delphi-comment-block-start, delphi-comment-block-end):
10095 Remove unused variable `kind'.
10096 (delphi-indent-line): Remove unused variable `new-point'.
10097
10098 * progmodes/ebrowse.el (ebrowse-files-list)
10099 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10100 Mark unused parameters. Don't quote `lambda'.
10101 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10102 Don't quote `lambda'.
10103 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10104 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10105 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10106 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10107 Use `ignore-errors'.
10108 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10109 (ebrowse-view/find-file-and-search-pattern)
10110 (ebrowse-view/find-member-declaration/definition):
10111 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10112 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10113 Rename parameter PREFIX-ARG to PREFIX.
10114 (ebrowse-tags-read-name): Remove unused variables `start' and
10115 `member-info'.
10116 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10117 to `tags-file'.
10118
10119 * progmodes/etags.el (local-find-tag-hook): Declare.
10120 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10121 Mark unused parameters.
10122
10123 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10124 (executable-interpret): Mark unused parameter.
10125
10126 * progmodes/flymake.el (flymake-process-sentinel)
10127 (flymake-after-change-function)
10128 (flymake-create-temp-with-folder-structure)
10129 (flymake-get-include-dirs-dot): Mark unused parameters.
10130 (flymake-safe-delete-directory): Remove unused variable `err'.
10131
10132 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10133 (speedbar-timer-fn, speedbar-line-text)
10134 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10135 (speedbar-center-buffer-smartly): Declare functions.
10136 (gdb-find-watch-expression): Remove unused variable `array'.
10137 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10138 (gdb-starting): Mark unused parameters.
10139 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10140 (gdb-table-string): Remove unused variable `res'.
10141 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10142 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10143 (gdb-display-buffer): Remove unused variable `cur-size'.
10144
10145 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10146 allow lexical-binding compilation.
10147 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10148 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10149 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10150 Mark unused parameters.
10151 (gud-gdb-marker-filter): Remove unused variable `match'.
10152 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10153 lambda expressions and funcall them, instead of using `fset'.
10154
10155 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10156 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10157
10158 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10159 variable `header-beg'; use `let'.
10160
10161 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10162 `restart', `last-sexp' and `at-do'.
10163
10164 * progmodes/js.el (js--debug): Mark unused parameter.
10165 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10166 (js--splice-into-items): Remove unused variable `item'.
10167 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10168
10169 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10170 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10171 (makefile-complete): Remove unused variable `try'.
10172 (makefile-fill-paragraph, makefile-match-function-end):
10173 Mark unused parameters.
10174
10175 * progmodes/octave-inf.el (inferior-octave-complete):
10176 Remove unused variable `proc'.
10177 (inferior-octave-output-digest): Mark unused parameter.
10178
10179 * progmodes/perl-mode.el (perl-calculate-indent):
10180 Remove unused variable `err'.
10181
10182 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10183 (prolog-indent-line): Mark unused parameters.
10184 (prolog-indent-line): Remove unused variable `beg'.
10185
10186 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10187 (reporter-dont-compact-list): Declare.
10188
10189 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10190 Remove unused variable `char'.
10191 (sh-debug): Mark unused parameter.
10192 (sh-get-indent-info): Remove unused variable `start'.
10193 (sh-calculate-indent): Remove unused variable `var'.
10194
10195 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10196 (simula-electric-keyword): Remove unused variable `null'.
10197 (simula-search-backward, simula-search-forward): Remove unused
10198 variables `begin' and `end'.
10199
10200 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10201 Remove unused variable `pos'.
10202 (vera-electric-tab, vera-comment-uncomment-region):
10203 Mark unused parameters.
10204 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10205
7ede3b65
CY
102062011-04-22 Chong Yidong <cyd@stupidchicken.com>
10207
10208 * emacs-lisp/package.el (package--builtins, package-alist)
10209 (package-load-descriptor, package-built-in-p, package-activate)
10210 (define-package, package-installed-p)
10211 (package-compute-transaction, package-buffer-info)
10212 (package--push): Doc fix. Distinguish more clearly between
10213 version strings and version lists.
10214
121656e9
JB
102152011-04-21 Juanma Barranquero <lekktu@gmail.com>
10216
10217 Lexical-binding cleanup.
10218
10219 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10220 (5x5-make-mutate-best):
10221 * play/fortune.el (fortune-in-buffer):
10222 * play/gomoku.el (gomoku-init-display):
10223 * play/solitaire.el (solitaire, solitaire-do-check):
10224 * play/tetris.el (tetris-default-update-speed-function):
10225 Mark unused parameters.
10226
10227 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10228 (bubbles--shift): Remove unused variable `char-org'.
10229 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10230 (bubbles--show-images): Remove unused variable `char'.
10231
10232 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10233 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10234 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10235 (decipher-analyze-buffer): Use ?\s.
10236 (decipher-make-checkpoint): Remove unused variable `mapping'.
10237
10238 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10239
10240 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10241 Remove unused variable `result'; use `let'.
10242
10243 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10244 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10245 (gametree-children-shown-p, gametree-compute-reduced-score):
10246 Use `ignore-errors'.
10247
10248 * play/handwrite.el (ps-lpr-switches): Declare.
10249 (handwrite): Remove unused variables `pmin' and `lastp'.
10250
10251 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10252
10253 * play/landmark.el (landmark-init-display)
10254 (landmark-update-naught-weights): Mark unused parameters.
10255 (landmark-y): Remove unused variable `noise'. Simplify.
10256 (landmark-human-plays): Remove unused variable `score'.
10257
10258 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10259 (mpuz-try-proposal): Remove unused variable `game'.
10260
10261 * play/zone.el (life-patterns): Declare.
10262
80f499c7
JB
102632011-04-20 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * vc/vc.el (ediff-vc-internal): Declare function.
10266
024ff170
SM
102672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10268
c0a193ea
SM
10269 * shell.el: Use lexical-binding and std completion UI.
10270 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10271 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10272 comint-preoutput-filter-functions rather than on
10273 comint-output-filter-functions.
10274 (shell-command-completion, shell--command-completion-data)
10275 (shell-filename-completion, shell-environment-variable-completion)
10276 (shell-c-a-p-replace-by-expanded-directory): New functions.
10277 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10278 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10279 (shell-dynamic-complete-environment-variable): Use them.
10280 (shell-dynamic-complete-as-environment-variable)
10281 (shell-dynamic-complete-as-command): Remove.
10282 (shell-match-partial-variable): Match past point.
10283 * comint.el: Clean up use of completion-at-point-functions.
10284 (comint-completion-at-point): New function.
10285 (comint-mode): Use it completion-at-point-functions.
10286 (comint-dynamic-complete): Make it obsolete.
10287 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10288 (comint-c-a-p-replace-by-expanded-history): New function.
10289 (comint-dynamic-complete-functions)
10290 (comint-replace-by-expanded-history): Use it.
10291 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10292 termination strings. Try harder to avoid second try-completion.
10293 (completion-in-region-mode-map): Disable bindings that don't work yet.
10294
2dbaa080
SM
10295 * comint.el: Use lexical-binding. Require CL.
10296 (comint-dynamic-complete-functions): Use comint-filename-completion.
10297 (comint-completion-addsuffix): Tweak custom type.
10298 (comint-filename-completion, comint--common-suffix)
10299 (comint--common-quoted-suffix, comint--table-subvert)
10300 (comint--complete-file-name-data): New functions.
10301 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10302 (comint-dynamic-list-filename-completions): Use them.
10303 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10304
2dbaa080
SM
10305 * minibuffer.el (completion-in-region-mode):
10306 Keep completion-in-region-mode--predicate global.
10307 (completion-in-region--postch):
10308 Assume completion-in-region-mode--predicate is not null.
10309
c79a6f38
SM
10310 * progmodes/flymake.el (flymake-start-syntax-check-process):
10311 Obey `dir'. Simplify.
10312
024ff170
SM
10313 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10314 we're in VC after all.
10315
1c6c854e
CS
103162011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10317
10318 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10319 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10320 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10321
bed7f140
SM
103222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10323
332e62ab
SM
10324 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10325 add sanity check.
10326
bed7f140
SM
10327 * obsolete/erc-hecomplete.el: Make obsolete.
10328 * obsolete/: Standardize obsolescence info in the header.
10329
f195c582
GM
103302011-04-20 Glenn Morris <rgm@gnu.org>
10331
10332 * calendar/solar.el (solar-horizontal-coordinates):
10333 Use the longitude argument rather than `calendar-longitude'.
10334 (solar-date-next-longitude): Remove unused locals.
10335
cb79b8c0
VJL
103362011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10337
10338 * whitespace.el: New version 13.2.1.
10339
103402011-04-20 felix <EmacsWiki> (tiny change)
10341
d8e4b68b 10342 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10343 switching between major modes on a file.
10344
602ea69d
SM
103452011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10348 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10349 multi-line comments as well.
10350
06b60517
JB
103512011-04-19 Juanma Barranquero <lekktu@gmail.com>
10352
10353 Lexical-binding cleanup.
10354
10355 * arc-mode.el (archive-mode-revert):
10356 * cmuscheme.el (scheme-interactively-start-process):
10357 * custom.el (custom-initialize-delay):
10358 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10359 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10360 * emacs-lock.el (emacs-lock-clear-sentinel):
10361 * ezimage.el (defezimage):
10362 * follow.el (follow-avoid-tail-recenter):
10363 * fringe.el (set-fringe-mode-1):
10364 * generic-x.el (bat-generic-mode-compile):
10365 * help-mode.el (help-info-variable, help-do-xref)
10366 (help-mode-revert-buffer):
10367 * help.el (view-emacs-todo):
10368 * iswitchb.el (iswitchb-completion-help):
10369 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10370 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10371 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10372 * locate.el (locate-update):
10373 * longlines.el (longlines-encode-region)
10374 (longlines-after-change-function):
10375 * outline.el (outline-isearch-open-invisible):
10376 * ps-def.el (declare-function, charset-dimension, char-width)
10377 (encode-char):
10378 * ps-mule.el (ps-mule-plot-string):
10379 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10380 (recentf-edit-list-select, recentf-edit-list-validate)
10381 (recentf-open-files-action):
10382 * rect.el (delete-whitespace-rectangle-line)
10383 (rectangle-number-line-callback):
10384 * register.el (window-configuration-to-register)
10385 (frame-configuration-to-register):
10386 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10387 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10388 (xselect-convert-to-targets, xselect-convert-to-delete)
10389 (xselect-convert-to-filename, xselect-convert-to-charpos)
10390 (xselect-convert-to-lineno, xselect-convert-to-colno)
10391 (xselect-convert-to-os, xselect-convert-to-host)
10392 (xselect-convert-to-user, xselect-convert-to-class)
10393 (xselect-convert-to-name, xselect-convert-to-integer)
10394 (xselect-convert-to-atom, xselect-convert-to-identity):
10395 * subr.el (declare, ignore, process-kill-without-query)
10396 (text-clone-maintain):
10397 * terminal.el (te-get-char, te-tic-sentinel):
10398 * tool-bar.el (tool-bar-make-keymap):
10399 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10400 * type-break.el (type-break-mode, type-break-noninteractive-query):
10401 * view.el (View-back-to-mark):
10402 * wid-browse.el (widget-browse-action, widget-browse-widget)
10403 (widget-browse-widgets, widget-browse-sexp):
10404 * widget.el (define-widget-keywords):
10405 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10406 Mark unused parameters.
10407
10408 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10409 (align-areas): Remove unused variable `look'.
10410 (align-region): Remove unused variables `real-end' and `pos-list'.
10411
10412 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10413
10414 * bindings.el (mode-line-modified, mode-line-remote):
10415 Mark unused parameters.
10416 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10417
10418 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10419 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10420
10421 * comint.el (comint-history-isearch-pop-state)
10422 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10423 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10424 (comint-substitute-in-file-name): Doc fix.
10425
10426 * completion.el (cmpl-statistics-block): Mark unused parameter.
10427 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10428 (save-completions-to-file, load-completions-from-file):
10429 Remove unused local variable `e'.
10430
10431 * composite.el (compose-chars): Remove unused variable `len'.
10432 (lgstring-insert-glyph): Remove unused variable `g'.
10433 (compose-glyph-string): Remove unused variables `ascent',
10434 `descent', `lbearing' and `rbearing'.
10435 (compose-glyph-string-relative): Remove unused variables
10436 `lbearing', `rbearing' and `wadjust'.
10437 (compose-gstring-for-graphic): Remove unused variables `header',
10438 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10439 (compose-gstring-for-terminal): Remove unused variables `header'
10440 and `nchars'. Use `let', not `let*'.
10441
10442 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10443 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10444 (Custom-buffer-done, custom-buffer-create-internal)
10445 (custom-browse-visibility-action, custom-browse-group-tag-action)
10446 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10447 (widget-magic-mouse-down-action, custom-toggle-parent)
10448 (custom-add-parent-links, custom-toggle-hide-variable)
10449 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10450 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10451 (custom-face-menu-create, custom-variable-menu-create, get)
10452 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10453 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10454 (customize-apropos): Remove unused variable `tests'.
10455 (custom-group-value-create): Remove unused variable `hidden-p'.
10456 (sort-fold-case): Declare.
10457
10458 * cus-theme.el (custom-reset-standard-faces-list)
10459 (custom-reset-standard-variables-list): Declare.
10460 (customize-create-theme, custom-theme-revert, custom-theme-write)
10461 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10462 Mark unused parameters.
10463
10464 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10465
10466 * delim-col.el (delimit-columns-max): Move defvar before first use.
10467
10468 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10469 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10470
10471 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10472 (auto-insert): Declare.
10473 (desktop-restore-file-buffer): Rename desktop-* parameters;
10474 mark unused ones.
10475 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10476 (desktop-buffer): Rename desktop-* parameters.
10477
10478 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10479 (dframe-reposition-frame-xemacs, dframe-help-echo)
10480 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10481 Mark unused parameters.
10482
10483 * dired-aux.el (backup-extract-version-start, overwrite-query)
10484 (overwrite-backup-query, rename-regexp-query)
10485 (rename-non-directory-query): Declare.
10486 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10487 (dired-add-entry): Remove unused variable `orig-file-name'.
10488 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10489 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10490 `dired-copy-preserve-time' directly.
10491 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10492 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10493
10494 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10495 (dired-virtual-revert, dired-make-relative-symlink):
10496 Mark unused parameters.
10497 (manual-program): Declare.
10498 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10499 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10500 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10501
10502 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10503
10504 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10505
10506 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10507 Declare.
10508
10509 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10510
10511 * electric.el (Electric-command-loop): Rename parameter
10512 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10513
10514 * expand.el (expand-in-literal): Remove unused variable `here'.
10515
10516 * facemenu.el (facemenu-add-new-color):
10517 Remove unused variable `docstring'.
10518
10519 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10520 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10521 (face-attr-construct): Mark unused parameter. Doc fix.
10522 (read-color): Remove unused variable `hex-string'.
10523
10524 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10525 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10526 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10527 (display-buffer-other-frame): Remove unused variable `old-window'.
10528 (kill-buffer-hook): Declare.
10529 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10530 Mark unused parameters.
10531 (after-find-file): Pass 1 to `auto-save-mode', not t.
10532
10533 * files-x.el (auto-insert): Declare.
10534 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10535
10536 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10537 variable `buf'. Mark unused parameter.
06b60517
JB
10538 (find-lisp-insert-directory): Mark unused parameter.
10539
10540 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10541 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10542 (format-common-tail): Remove, unused.
10543 (format-deannotate-region): Remove unused variable `loc'.
10544 (format-annotate-region): Remove unused variable `p'.
10545 (format-annotate-single-property-change): Remove unused variables
10546 `default' and `tail'.
10547
10548 * forms.el (read-file-filter): Declare.
10549 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10550
10551 * frame.el (frame-creation-function-alist): Mark unused parameter.
10552 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10553
10554 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10555 Remove unused parameters.
10556 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10557 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10558
10559 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10560 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10561 (hfy-prepare-tag-map): Mark unused parameters.
10562 (htmlfontify-buffer): Use `called-interactively-p'.
10563
10564 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10565 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10566 (ibuffer-do-occur): Mark unused parameters.
10567 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10568 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10569
10570 * ibuffer.el: Don't quote `lambda'.
10571 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10572 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10573 Mark unused parameters.
10574
10575 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10576 (ido-completing-read): Mark unused parameters.
10577 (ido-copy-current-word): Mark unused parameters;
10578 remove unused variable `name'.
10579 (ido-sort-merged-list): Remove unused parameter `dirs'.
10580
10581 * ielm.el (ielm-input-sender): Mark unused parameter.
10582 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10583 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10584 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10585 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10586 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10587
10588 * image-dired.el (image-dired-display-thumbs): Remove unused
10589 variables `curr-file' and `count'.
10590 (image-dired-remove-tag): Remove unused variable `start'.
10591 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10592 variable `curr-file'
10593 (image-dired-rotate-original): Remove unused variable `temp-file'.
10594 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10595 Remove unused variable `file'.
10596 (image-dired-gallery-generate): Remove unused variable `curr'.
10597 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10598
10599 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10600
10601 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10602
10603 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10604
10605 * isearch.el (minibuffer-history-symbol): Declare.
10606 (isearch-edit-string): Remove unused variable `err'.
10607 (isearch-message-prefix, isearch-message-suffix):
10608 Mark unused parameters.
10609
10610 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10611
10612 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10613
10614 * makesum.el (double-column): Remove unused variable `cnt'.
10615
10616 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10617 (ido-ignore-item-temp-list): Declare.
10618
10619 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10620 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10621 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10622 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10623 `mouse-col-delta'.
10624
10625 * mouse-sel.el (mouse-extend-internal):
10626 Remove unused variable `orig-window-frame'.
10627
10628 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10629 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10630 Move declarations before first use.
10631 (pcomplete-opt): Mark unused parameters; doc fix.
10632
10633 * proced.el (proced-revert): Mark unused parameter.
10634 (proced-send-signal): Remove unused variable `err'.
10635
10636 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10637 Rename parameter PREFIX-ARG to ARG.
10638 (ps-basic-plot-string, ps-basic-plot-whitespace):
10639 Mark unused parameters.
10640
10641 * replace.el (replace-count): Define.
10642 (occur-revert-function): Mark unused parameters.
10643 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10644 (isearch-case-fold-search, isearch-string): Declare.
10645 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10646 bind `case-fold-search'. Remove unused variables `beg' and `end',
10647 and simplify.
10648 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10649 COUNT and bind `replace-count'.
10650 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10651 to COUNT.
10652
10653 * savehist.el (print-readably, print-string-length): Declare.
10654
10655 * shadowfile.el (shadow-expand-cluster-in-file-name):
10656 Remove unused variable `cluster'.
10657 (shadow-copy-file): Remove unused variable `i'.
10658 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10659 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10660 (shadow-define-literal-group, shadow-define-regexp-group)
10661 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10662
10663 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10664 (shell): Use `called-interactively-p'.
10665 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10666
10667 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10668 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10669 (delete-backward-char): Remove unused variable `ocol'.
10670 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10671 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10672 (event-apply-hyper-modifier, event-apply-shift-modifier)
10673 (event-apply-control-modifier, event-apply-meta-modifier):
10674 Mark unused parameters.
10675 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10676 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10677
10678 * speedbar.el (speedbar-ignored-directory-expressions)
10679 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10680 (speedbar-find-file, speedbar-dir-follow)
10681 (speedbar-directory-buttons-follow, speedbar-tag-find)
10682 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10683 (speedbar-buffers-line-directory, speedbar-buffer-click):
10684 Mark unused parameters.
10685 (speedbar-tag-file): Remove unused variable `mode'.
10686 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10687
10688 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10689
10690 * talk.el (talk): Remove unused variable `display'.
10691
10692 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10693 (tar-write-region-annotate): Mark unused parameter.
10694
10695 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10696 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10697 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10698 warning by another.
10699
10700 * time-stamp.el (time-stamp-string-preprocess):
10701 Remove unused variable `require-padding'.
10702
10703 * tree-widget.el (widget-glyph-enable): Declare.
10704 (tree-widget-action): Mark unused parameter.
10705
10706 * w32-fns.el (x-get-selection): Mark unused parameter.
10707 (autoload-make-program, generated-autoload-file): Declare.
10708
10709 * wdired.el (wdired-revert): Mark unused parameters.
10710 (wdired-xcase-word): Remove unused variable `err'.
10711
10712 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10713 (whitespace-help-scroll): Remove unused variable `data-help'.
10714
10715 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10716 (widget-image-insert, widget-after-change, default)
10717 (widget-default-format-handler, widget-default-notify)
10718 (widget-default-prompt-value, widget-info-link-action)
10719 (widget-url-link-action, widget-function-link-action)
10720 (widget-variable-link-action, widget-file-link-action)
10721 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10722 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10723 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10724 (widget-insert-button-action, widget-delete-button-action, visibility)
10725 (widget-documentation-link-action, widget-documentation-string-action)
10726 (widget-const-prompt-value, widget-regexp-match, symbol)
10727 (widget-coding-system-prompt-value)
10728 (widget-key-sequence-value-to-external, sexp)
10729 (widget-sexp-value-to-internal, character, vector, cons)
10730 (widget-choice-prompt-value, widget-boolean-prompt-value)
10731 (widget-color--choose-action): Mark unused parameters.
10732 (widget-item-match-inline, widget-choice-match-inline)
10733 (widget-checklist-match, widget-checklist-match-inline)
10734 (widget-group-match): Rename parameter VALUES to VALS.
10735 (widget-field-value-set): Remove unused variable `size'.
10736 (widget-color-action): Remove unused variables `value' and `start'.
10737
10738 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10739 variable `dir'. Doc fix.
06b60517
JB
10740 (windmove-find-other-window): Don't pass it.
10741
10742 * window.el (count-windows): Mark unused parameter.
10743 (bw-adjust-window): Remove unused variable `err'.
10744
10745 * woman.el (woman-file-name): Remove unused variable `default'.
10746 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10747 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10748 (global-font-lock-mode): Declare.
10749 (woman-decode-region): Mark unused parameter.
10750 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10751
10752 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10753 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10754 (x-dnd-handle-moz-url): Remove unused variable `title'.
10755 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10756
10757 * xml.el (xml-parse-tag, xml-parse-attlist):
10758 Remove unused variable `pos'.
10759
bc4f7f3d
GM
107602011-04-19 Glenn Morris <rgm@gnu.org>
10761
10762 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10763 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10764 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10765 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10766 * calendar/cal-html.el (cal-html-insert-minical):
10767 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10768 (calendar-mark-date-pattern):
10769 Prefix "unused" locals.
10770
10771 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10772 optional argument `style'.
10773
10774 * calendar/appt.el (appt-make-list):
10775 * calendar/cal-china.el (calendar-chinese-date-string):
10776 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10777 (diary-hebrew-yahrzeit):
10778 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10779 * calendar/calendar.el (calendar-generate-window):
10780 * calendar/time-date.el (time-to-days):
10781 Remove unused local variables.
10782
16a43933
CY
107832011-04-18 Chong Yidong <cyd@stupidchicken.com>
10784
10785 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10786 glyphless-char-display table.
10787 (tabulated-list-glyphless-char-display): New var.
10788
7eed1860
SS
107892011-04-18 Sam Steingold <sds@gnu.org>
10790
10791 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10792 to acknowledgments.
10793
4d2d1ccd
GM
107942011-04-17 Glenn Morris <rgm@gnu.org>
10795
10796 * calendar/diary-lib.el (diary-sexp-entry):
10797 * calendar/holidays.el (holiday-sexp):
10798 Set debug-on-error rather than the removed stack-trace-on-error.
10799
239da61d
GM
108002011-04-16 Glenn Morris <rgm@gnu.org>
10801
10802 * progmodes/f90.el: Use lexical-binding.
10803 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10804
8b05752a
SM
108052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10806
daca8ba5
SM
10807 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10808 (mail-mode): Setup mailalias completion here instead.
10809 * mail/mailalias.el: Use lexical-binding.
10810 (pattern, mailalias-done): Declare dynamic.
10811 (mail-completion-at-point-function): New function, from mail-complete.
10812 (mail-complete): Use it.
10813 (mail-completion-expand): New function.
10814 (mail-get-names): Use it.
10815 (mail-directory, mail-directory-process, mail-directory-stream):
10816 Don't use `pattern' for lexically bound arg.
10817
6f542485
SM
10818 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10819
037e7c3f
SM
10820 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10821 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10822 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10823
8b05752a
SM
10824 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10825 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10826 (byte-interactive-p): Define them again, for use when inlining
10827 old code.
10828
49093f60
JB
108292011-04-15 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * loadup.el: Use `string-to-number', not `string-to-int'.
10832
b5b8e7de
SM
108332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10836 gud-gdb-complete-command.
10837 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10838 (gud-gdb-completion-at-point): New function.
10839 (gud-gdb-completions): Remove.
10840
f42efeb5
MA
108412011-04-14 Michael Albinus <michael.albinus@gmx.de>
10842
49093f60
JB
10843 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10844 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10845 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10846 whether `executable-find' is bound.
f42efeb5
MA
10847
10848 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10849
e240cc21
SM
108502011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * minibuffer.el (completion-in-region-mode-predicate)
10853 (completion-in-region-mode--predicate): New vars.
10854 (completion-in-region, completion-in-region--postch)
10855 (completion-in-region-mode): Use them.
10856 (completion--capf-wrapper): Also return the hook function.
10857 (completion-at-point, completion-help-at-point):
10858 Adjust and provide a predicate.
c2bd2ab0
SM
10859
10860 Preserve arg names for advice of subr and lexical functions (bug#8457).
10861 * help-fns.el (help-function-arglist): Consolidate the subr and
10862 new-byte-code cases. Add argument `preserve-names' to extract names
10863 from the docstring when needed.
10864 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10865 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10866 (ad-arglist): Use help-function-arglist's new arg.
10867 (ad-definition-type): Use cond.
10868
c183f693
JB
108692011-04-13 Juanma Barranquero <lekktu@gmail.com>
10870
06641a47
JB
10871 * autorevert.el (auto-revert-handler):
10872 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10873 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10874 Don't quote lambda.
10875
c183f693
JB
10876 * image-mode.el (image-transform-set-scale):
10877 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10878
1e3b6001
G
108792011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10880
10881 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10882 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10883 Upgrades via gnutls-cli are too slow to be done opportunistically.
10884
2d6af8dd
JB
108852011-04-12 Juanma Barranquero <lekktu@gmail.com>
10886
10887 * dframe.el (dframe-current-frame): Remove spurious quote.
10888
c0749a51
GM
108892011-04-12 Glenn Morris <rgm@gnu.org>
10890
088d0d61
GM
10891 * calendar/cal-tex.el (cal-tex-end-document):
10892 Try to automatically use latin1 input if needed.
10893
c0749a51
GM
10894 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10895 Don't try to cons a mark onto an empty element.
10896
5c90fde0
LL
108972011-04-11 Leo Liu <sdl.web@gmail.com>
10898
10899 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10900 buffers.
10901 (ido-kill-buffer-at-head): Support killing virtual buffers.
10902
369e974d
CY
109032011-04-10 Chong Yidong <cyd@stupidchicken.com>
10904
10905 * minibuffer.el (completion-show-inline-help): New var.
10906 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10907 (minibuffer-force-complete, minibuffer-complete-word):
10908 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10909
10910 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10911 to avoid interference from inline help (Bug#5849).
10912
37f1c930
LL
109132011-04-10 Leo Liu <sdl.web@gmail.com>
10914
099c39a4
JB
10915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10916 Fix typo.
37f1c930 10917
a32d4040
CY
109182011-04-09 Chong Yidong <cyd@stupidchicken.com>
10919
10920 * image-mode.el (image-toggle-display-image): Signal an error if
10921 not in Image mode.
10922 (image-transform-mode, image-transform-resize)
10923 (image-transform-set-rotation): Doc fix.
daca8ba5 10924 (image-transform-set-resize): Delete.
a32d4040
CY
10925 (image-transform-set-scale, image-transform-fit-to-height)
10926 (image-transform-fit-to-width): Handle image-toggle-display-image
10927 and image-transform-resize directly.
10928
099c39a4 109292011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10930
10931 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10932 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10933 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10934 (doc-view-mode-map): Add bindings for the new functions.
10935
099c39a4 109362011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10937
4d61f28d 10938 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10939 Fix typo in docstring.
10940
3726838a
EZ
109412011-04-08 Eli Zaretskii <eliz@gnu.org>
10942
04f33f1e
EZ
10943 * files.el (file-size-human-readable): Produce one digit after
10944 decimal, like "ls -lh" does.
10945
10946 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10947 the file size representation.
10948
3726838a
EZ
10949 * simple.el (list-processes): If async subprocesses are not
10950 available, error out with a clear error message.
10951
cbb59342
CY
109522011-04-08 Chong Yidong <cyd@stupidchicken.com>
10953
10954 * help.el (help-form-show): New function, to be called from C.
10955 Put help-form output in a buffer named differently than *Help*.
10956
e3971c44
EZ
109572011-04-08 Eli Zaretskii <eliz@gnu.org>
10958
10959 * files.el (file-size-human-readable): New function.
10960
10961 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10962 computing the representation inline. Don't require `cl'.
10963
12544bbe
GM
109642011-04-08 Glenn Morris <rgm@gnu.org>
10965
a1de6c6a
GM
10966 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10967
3c4671f4
GM
10968 * net/browse-url.el (browse-url-firefox):
10969 Test system-type, not system-configuration.
10970
b605679c
GM
10971 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10972 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10973 Use log-edit-empty-buffer-p. (Bug#7598)
10974
56442f0c
GM
10975 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10976 (rlogin-mode-map): Initialize in the defvar.
10977 (rlogin): Use ignore-errors.
10978
12544bbe
GM
10979 * replace.el (occur-mode-map): Some fixes for menu items.
10980
eb237b0f
AH
109812011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10982
10983 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10984
7d668f2c
CY
109852011-04-06 Chong Yidong <cyd@stupidchicken.com>
10986
e67a13ab
CY
10987 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10988 issuing unused warnings.
10989
10990 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10991 macro directly.
10992
7d668f2c
CY
10993 * simple.el: Lisp reimplement of list-processes. Based on an
10994 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10995 (process-menu-mode): New major mode.
10996 (list-processes--refresh, list-processes):
10997 (process-menu-visit-buffer): New functions.
10998
10999 * files.el (save-buffers-kill-emacs): Don't assume any return
11000 value of list-processes, which is undocumented anyway.
11001
a83ec3c9
CY
110022011-04-06 Chong Yidong <cyd@stupidchicken.com>
11003
11004 * emacs-lisp/tabulated-list.el: New file.
11005
e91a96fe
CY
11006 * emacs-lisp/package.el: Use Tabulated List mode.
11007 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11008 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11009 table format using Tabulated List mode variables.
11010 (package--push): New macro, replacing package-list-maybe-add.
11011 (package-menu--generate): Use package--push. Renamed from
11012 package--generate-package-list.
11013 (package-menu-refresh, list-packages): Use it.
daca8ba5 11014 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11015 Return insertion data instead of inserting it directly.
099c39a4
JB
11016 (package-menu-describe-package, package-menu-execute):
11017 Use tabulated-list-get-id.
e91a96fe
CY
11018 (package-menu-mark-delete, package-menu-mark-install)
11019 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11020 (package-menu-mark-obsolete-for-deletion):
11021 Use tabulated-list-put-tag.
e91a96fe
CY
11022 (package--list-packages, package-menu-revert)
11023 (package-menu-get-package, package-menu-get-version)
11024 (package-menu-sort-by-column): Functions deleted.
11025 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11026 (package-menu--status-predicate, package-menu--version-predicate)
11027 (package-menu--name-predicate)
11028 (package-menu--description-predicate): Handle arguments in the
11029 Tabulated List format.
11030 (package-list-packages-no-fetch): Call list-packages.
11031
3e214b50
JB
110322011-04-06 Juanma Barranquero <lekktu@gmail.com>
11033
11034 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11035 (after-find-file): Don't bind it.
3e214b50
JB
11036 (revert-buffer-in-progress-p): New variable.
11037 (revert-buffer): Bind it.
11038 Pass nil for `after-find-file-from-revert-buffer'.
11039
11040 * saveplace.el (save-place-find-file-hook): Use new variable
11041 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11042
3f0f1700
GM
110432011-04-06 Glenn Morris <rgm@gnu.org>
11044
c0274801
GM
11045 * Makefile.in (AUTOGEN_VCS): New variable.
11046 (autoloads): Use $AUTOGEN_VCS.
11047
3f0f1700
GM
11048 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11049 * calendar/calendar.el (calendar-mode-map):
11050 Check for toolkit scroll bars. (Bug#8305)
11051
41ea9e48
CY
110522011-04-05 Chong Yidong <cyd@stupidchicken.com>
11053
11054 * minibuffer.el (completion-in-region--postch)
11055 (completion-in-region-mode): Remove unnecessary messages.
11056
6194c800
JB
110572011-04-05 Juanma Barranquero <lekktu@gmail.com>
11058
33256f14
JB
11059 * font-lock.el (font-lock-refresh-defaults):
11060 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11061 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11062
6194c800
JB
11063 * info.el (Info-directory-list, Info-read-node-name-2)
11064 (Info-split-parameter-string): Doc fixes.
11065 (Info-virtual-nodes): Reflow docstring.
11066 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11067 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11068 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11069 Fix typos in docstrings.
11070 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11071 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11072 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11073 (Info-restore-desktop-buffer): Mark unused parameters.
11074 (Info-directory-find-file, Info-directory-find-node)
11075 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11076 (Info-virtual-index-find-node, Info-apropos-find-file)
11077 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11078 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11079 (Info-virtual-index): Remove unused local variable `nodename'.
11080
b87a8200 110812011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11082
b87a8200
DD
11083 * net/rcirc.el: Update my e-mail address.
11084 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11085
3b2ff876
CY
110862011-04-05 Chong Yidong <cyd@stupidchicken.com>
11087
11088 * startup.el (command-line): Save the cursor's theme-face
11089 directly, instead of using face-override-spec.
11090
11091 * custom.el (load-theme): Minor optimization in assigning faces.
11092
8d17e7ca
JB
110932011-04-04 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * help-fns.el (describe-variable): Complete all variables having
11096 documentation, including keywords.
11097 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11098
2fbc1934
JB
110992011-04-04 Juanma Barranquero <lekktu@gmail.com>
11100
11101 Convert to lexical-binding.
11102
11103 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11104 (bs--get-marked-string, bs--get-modified-string)
11105 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11106 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11107 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11108
11109 * ehelp.el (electric-help-execute-extended)
11110 (electric-help-ctrl-x-prefix):
11111 * hexl.el (hexl-revert-buffer-function):
11112 * linum.el (linum-after-change, linum-after-scroll):
11113 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11114
11115 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11116
74f50695
DU
111172011-04-04 Daiki Ueno <ueno@unixuser.org>
11118
11119 * epa-dired.el:
11120 * epa-mail.el:
11121 * epa-hook.el:
11122 * epa-file.el:
11123 * epa.el:
11124 * epg.el: Use lexical binding.
11125
c11325f7
CY
111262011-04-03 Chong Yidong <cyd@stupidchicken.com>
11127
0d9e9a12
CY
11128 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11129
c11325f7 11130 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11131 dictionary case for flyspell-mark-duplications-exceptions.
11132 Use regexp matching for languages.
c11325f7
CY
11133 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11134 default dictionary (Bug#7926).
11135
da91b5f2
CY
111362011-04-02 Chong Yidong <cyd@stupidchicken.com>
11137
099c39a4
JB
11138 * emacs-lisp/package.el (package--with-work-buffer):
11139 Recognize https URLs.
da91b5f2 11140
099c39a4
JB
11141 * net/network-stream.el: Move from gnus/proto-stream.el.
11142 Change prefix to network-stream throughout.
da91b5f2
CY
11143 (open-protocol-stream): Merge into open-network-stream, leaving
11144 open-protocol-stream as an alias. Handle nil BUFFER args.
11145
11146 * subr.el (open-network-stream): Move to net/network-stream.el.
11147
afa8e9f6
GM
111482011-04-02 Glenn Morris <rgm@gnu.org>
11149
1d2e369d
GM
11150 * find-dired.el (find-exec-terminator): New option.
11151 (find-ls-option): Test for -ls support.
11152 (find-ls-subdir-switches): Test for -b in find-ls-option.
11153 (find-dired, find-grep-dired): Doc fixes.
11154 (find-dired): Use find-exec-terminator.
11155
8abb7da8 11156 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11157 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11158 (find-name-arg): Remove purecopy.
8abb7da8 11159
f3ca7378
GM
11160 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11161 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11162 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11163 accordingly. Don't add the null-device if not needed.
11164
afa8e9f6
GM
11165 * files.el (save-some-buffers): Doc fix.
11166
35eae264
EZ
111672011-04-02 Eli Zaretskii <eliz@gnu.org>
11168
11169 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11170
26b51db5
JB
111712011-04-01 Juanma Barranquero <lekktu@gmail.com>
11172
11173 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11174 Use `dolist' rather than `mapcar'.
11175
7200d79c
SM
111762011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11177
03408648 11178 Add lexical binding.
7200d79c 11179
03408648
SM
11180 * subr.el (apply-partially): Use new closures rather than CL.
11181 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11182 (dolist, dotimes): Use slightly different expansion for lexical code.
11183 (functionp): Move to C.
11184 (letrec): New macro.
11185 (with-wrapper-hook): Use it and apply-partially instead of CL.
11186 (eval-after-load): Preserve lexical-binding.
11187 (save-window-excursion, with-output-to-temp-buffer): Turn them
11188 into macros.
7200d79c 11189
03408648
SM
11190 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11191
11192 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11193 than the arglist.
11194 (help-add-fundoc-usage): Don't add `Not documented'.
11195 (help-function-arglist): Handle closures, subroutines, and new
11196 byte-code-functions.
11197 (help-make-usage): Remove leading underscores.
11198 (describe-function-1): Handle closures.
11199 (describe-variable): Use special-variable-p for completion.
11200
11201 * files.el (lexical-binding): Declare safe.
f488fb65 11202
03408648
SM
11203 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11204 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11205 (pcase): Add `let' pattern.
11206 Change memoization so it actually works.
11207 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11208 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11209 <let>: New case.
f488fb65 11210
03408648
SM
11211 * emacs-lisp/macroexp.el: Use lexical binding.
11212 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11213 Don't convert ' to #' without checking that it's indeed quoting
11214 a lambda.
11215
11216 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11217 Use eval-sexp-add-defvars.
03408648
SM
11218 (eval-sexp-add-defvars): New fun.
11219
11220 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11221
11222 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11223 Don't autoload.
11224 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11225 than the internal `byte-compile-lambda'.
11226 (defmethod): Don't hide code under quotes.
11227 (eieio-defmethod): New `code' argument.
11228
11229 * emacs-lisp/eieio-comp.el: Remove.
11230
11231 * emacs-lisp/edebug.el (edebug-eval-defun)
11232 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11233 (edebug-toggle): Avoid `eval'.
11234
11235 * emacs-lisp/disass.el (disassemble-internal): Handle new
11236 `closure' objects.
11237 (disassemble-1): Handle new byte codes.
11238
11239 * emacs-lisp/cl.el (pushnew): Silence warning.
11240
11241 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11242 (cl-byte-compile-throw): Remove.
11243 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11244
11245 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11246 closures.
11247
11248 * emacs-lisp/cconv.el: New file.
11249
11250 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11251 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11252 (byte-compile-initial-macro-environment):
11253 Handle declare-function here.
11254 (byte-compile--lexical-environment): New var.
11255 (byte-stack-ref, byte-stack-set, byte-discardN)
11256 (byte-discardN-preserve-tos): New lap codes.
11257 (byte-interactive-p): Don't use any more.
11258 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11259 New macros.
11260 (byte-compile-lapcode): Use them and handle new lap codes.
11261 (byte-compile-obsolete): Remove.
11262 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11263 (byte-compile-arglist-warn): Check late def of inlinable funs.
11264 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11265 since they should have been expanded by now.
11266 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11267 (byte-compile-from-buffer): Remove unused second arg.
11268 (byte-compile-preprocess): New function.
11269 (byte-compile-toplevel-file-form): New function to distinguish
11270 file-form calls from outside from file-form calls from hunk-handlers.
11271 (byte-compile-file-form): Simplify.
11272 (byte-compile-file-form-defsubst): Remove.
11273 (byte-compile-file-form-defmumble): Simplify now that
11274 byte-compile-lambda always returns a byte-code-function.
11275 (byte-compile): Preprocess.
11276 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11277 Remove, not used any more.
11278 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11279 (byte-compile-make-args-desc): New funs.
11280 (byte-compile-lambda): Handle lexical functions. Always return
11281 a byte-code-function.
11282 (byte-compile-reserved-constants): New var, to make up room for
11283 closed-over variables.
11284 (byte-compile-constants-vector): Obey it.
11285 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11286 (byte-compile-macroexpand-declare-function): New function.
11287 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11288 byte-code-functions.
11289 (byte-compile-form): Check obsolescence here.
11290 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11291 (byte-compile-variable-ref): Remove.
11292 (byte-compile-dynamic-variable-op): New fun.
11293 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11294 (byte-compile-variable-set): New funs.
11295 (byte-compile-discard): Add 2 args.
11296 (byte-compile-stack-ref, byte-compile-stack-set)
11297 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11298 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11299 macroexpand-all instead.
11300 (byte-compile-quote-form): Remove.
11301 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11302 (byte-compile-bind, byte-compile-unbind): New funs.
11303 (byte-compile-let): Handle let* and lexical binding.
11304 (byte-compile-let*): Remove.
11305 (byte-compile-catch, byte-compile-unwind-protect)
11306 (byte-compile-track-mouse, byte-compile-condition-case):
11307 Handle a new :fun-body form, used for lexical scoping.
11308 (byte-compile-save-window-excursion)
11309 (byte-compile-with-output-to-temp-buffer): Remove.
11310 (byte-compile-defun): Simplify.
11311 (byte-compile-stack-adjustment): New fun.
11312 (byte-compile-out): Use it.
11313 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11314
11315 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11316 handler any more.
11317
11318 * emacs-lisp/byte-opt.el: Use lexical binding.
11319 (byte-inline-lapcode): Remove (to bytecomp).
11320 (byte-compile-inline-expand): Pay attention to inlining to/from
11321 lexically bound code.
11322 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11323 any more.
11324 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11325 any more and don't call compiler-macros.
11326 (byte-compile-splice-in-already-compiled-code): Remove.
11327 (byte-code): Don't inline any more.
11328 (disassemble-offset): Receive `bytes' as argument rather than via
11329 dynamic scoping.
11330 (byte-compile-tag-number): Declare before first use.
11331 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11332 `return' even if make-spliceable.
11333 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11334 obsolete interactive-p.
11335 (byte-optimize-lapcode): Optimize new lap-codes.
11336 Don't trip up on new form of `byte-constant' lap code.
11337
11338 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11339
11340 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11341
11342 * custom.el (custom-initialize-default, custom-declare-variable):
11343 Use `defvar'.
11344
11345 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11346 New variables.
11347 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11348 (COMPILE_FIRST): Add macroexp and cconv.
11349 * makefile.w32-in: Mirror changes in Makefile.in.
11350
11351 * vc/cvs-status.el:
11352 * vc/diff-mode.el:
11353 * vc/log-edit.el:
11354 * vc/log-view.el:
11355 * vc/smerge-mode.el:
11356 * textmodes/bibtex-style.el:
11357 * textmodes/css.el:
11358 * startup.el:
11359 * uniquify.el:
da91b5f2
CY
11360 * minibuffer.el:
11361 * newcomment.el:
11362 * reveal.el:
11363 * server.el:
11364 * mpc.el:
11365 * emacs-lisp/smie.el:
11366 * doc-view.el:
11367 * dired.el:
03408648
SM
11368 * abbrev.el: Use lexical binding.
11369
0f0c1f27
EZ
113702011-04-01 Eli Zaretskii <eliz@gnu.org>
11371
11372 * info.el (info-display-manual): New function.
11373
c82b2579
SM
113742011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11377
221ddf68
TH
113782011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11379
11380 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11381 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11382
cba6e77e
GM
113832011-03-31 Glenn Morris <rgm@gnu.org>
11384
e040639f
GM
11385 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11386
cba6e77e
GM
11387 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11388
6d0f1c9e
CS
113892011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11390
11391 * progmodes/python.el (python-default-interpreter)
11392 (python-python-command-args, python-jython-command-args)
11393 (python-which-shell, python-which-args, python-which-bufname)
11394 (python-file-queue, python-comint-output-filter-function)
11395 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11396 variables and functions.
11397
3e2d70fd
SM
113982011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11401 (completion-in-region-mode): New minor mode.
11402 (completion-in-region): Use it.
11403 (completion-in-region--data, completion-in-region-mode-map): New vars.
11404 (completion-in-region--postch): New function.
11405 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11406 New vars.
11407 (completion--capf-wrapper): New function.
11408 (completion-at-point): Use it to track well-behavedness of
11409 hook functions.
11410 (completion-help-at-point): New command.
11411
f3e4086c
JM
114122011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11413
11414 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11415 syntax class to search for whitespace on a single line
11416 (Message-ID: <4D938140.4030905@redhat.com>).
11417
eb7ffc14
LL
114182011-03-30 Leo Liu <sdl.web@gmail.com>
11419
11420 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11421 New commands.
11422 (edit-abbrevs-map): Bind them here.
11423 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11424
d806ab68
KM
114252011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11426
11427 * allout.el (allout-hide-by-annotation, allout-flag-region):
11428 Reduce possibility of overlay leakage by making them volatile.
11429
11430 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11431 hash is not shared between buffers. Mode initialization is
11432 responsible for giving it a useful starting value.
11433 (allout-item-span): Reduce possibility of overlay leakage by
11434 making them volatile.
11435 (allout-widgets-count-buttons-in-region): Add diagnostic function
11436 for tracking down button overlay leaks.
11437
ea622834
LL
114382011-03-29 Leo Liu <sdl.web@gmail.com>
11439
11440 * ido.el (ido-read-internal): Use the default history var
11441 minibuffer-history if no HISTORY is specified.
11442
b62f8267
G
114432011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11444
03408648
SM
11445 * net/imap.el (imap-shell-open, imap-process-connection-type):
11446 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11447 Kerberos, SSL, other subprocesses.
11448
947b6566
LL
114492011-03-28 Leo Liu <sdl.web@gmail.com>
11450
11451 * abbrev.el (abbrev-table-empty-p): New function.
11452 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11453 nonempty ones. (Bug#5937)
11454
5ffb62aa
JD
114552011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11456
11457 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11458
7a097943
LL
114592011-03-27 Leo Liu <sdl.web@gmail.com>
11460
11461 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11462 for foreground and background colors.
11463 (ansi-color-make-color-map): Adapt.
11464
c5b40130
LL
114652011-03-25 Leo Liu <sdl.web@gmail.com>
11466
1f48f7d2
LL
11467 * midnight.el (midnight-time-float): Remove. Note it calculates
11468 the microsecond component incorrectly and seconds-to-time does the
11469 same job.
625897ec 11470 Remove redundant (require 'timer).
1f48f7d2 11471
c5b40130
LL
11472 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11473 (ido-completions): Remove unused arguments. (Bug#8329)
11474
d86d2721
SM
114752011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * minibuffer.el (completion--flush-all-sorted-completions):
11478 Remove itself from hook.
11479 (completion-at-point): Let the functions perform the completion
11480 immediately and return nil or t.
11481 * comint.el (comint-dynamic-complete-functions): Now identical to
11482 completion-at-point-functions.
11483 (comint-dynamic-list-input-ring): Remove unused var `index'.
11484 (comint--match-partial-filename, comint--unquote&expand-filename):
11485 New funs, split from comint-match-partial-filename.
11486 (comint-dynamic-complete): Use completion-at-point.
11487 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11488
e8974c48
DA
114892011-03-24 Drew Adams <drew.adams@oracle.com>
11490
11491 * thingatpt.el: Support `defun'.
11492
def71b5e
LL
114932011-03-23 Leo Liu <sdl.web@gmail.com>
11494
cb5af48e
LL
11495 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11496
def71b5e
LL
11497 * help-mode.el (help-mode-finish): Tweak regexp.
11498
927c53e7
GM
114992011-03-23 Glenn Morris <rgm@gnu.org>
11500
18d05bed
GM
11501 * eshell/esh-opt.el (eshell-eval-using-options):
11502 Do not bind unused local variable `eshell-option-stub'.
11503
927c53e7
GM
11504 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11505
9d0da923
JB
115062011-03-22 Juanma Barranquero <lekktu@gmail.com>
11507
11508 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11509 keymap variable in `with-no-warnings' to avoid a warning when the
11510 keymap has been already `defconst'ed.
11511
4b978a67
LL
115122011-03-22 Leo Liu <sdl.web@gmail.com>
11513
11514 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11515 encode all chars in abbrevs; otherwise use emacs-mule or
11516 utf-8-emacs. (Bug#8308)
11517
5fd62452
JB
115182011-03-22 Juanma Barranquero <lekktu@gmail.com>
11519
0b1596c6
JB
11520 * simple.el (backward-delete-char-untabify):
11521 Avoid warning about using `delete-backward-char'.
11522
5fd62452
JB
11523 * image.el (image-type-file-name-regexps): Make it variable.
11524 `imagemagick-register-types' modifies it, and the user may want
11525 to add new extensions for known image types.
11526 (imagemagick-register-types): Throw error if not using ImageMagick.
11527
0b4e93f1
LL
115282011-03-22 Leo Liu <sdl.web@gmail.com>
11529
11530 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11531 located before rcirc-prompt-end-marker.
11532 (rcirc-complete): Error if point is not after rcirc prompt.
11533 Handle the case when table is nil.
9882e214 11534 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11535
fccee4ab
CY
115362011-03-22 Chong Yidong <cyd@stupidchicken.com>
11537
11538 * custom.el (custom--inhibit-theme-enable): Make it affect only
11539 custom-theme-set-variables and custom-theme-set-faces.
11540 (provide-theme): Ignore custom--inhibit-theme-enable.
11541 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11542 (custom-enabling-themes): Delete variable.
d86d2721
SM
11543 (enable-theme): Accept only loaded themes as arguments.
11544 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11545 (custom-enabled-themes): Forbid themes from setting this.
11546 Eliminate use of custom-enabling-themes.
11547 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11548
af896da6
LL
115492011-03-21 Leo Liu <sdl.web@gmail.com>
11550
11551 * ido.el (ido-read-internal): Add ido-selected to history instead
11552 of user input.
11553
78f64af0
SM
115542011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * subr.el (deferred-action-list, deferred-action-function):
11557 Mark obsolete.
11558
b16ac1ec
LL
115592011-03-21 Leo Liu <sdl.web@gmail.com>
11560
810f7698
LL
11561 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11562 change on 2011-02-13 (bug#8309).
11563
b16ac1ec
LL
11564 * minibuffer.el (read-file-name-function): Change default value.
11565 (read-file-name--defaults): Rename from read-file-name-defaults.
11566 (read-file-name-default): Rename from read-file-name.
11567 (read-file-name): Call read-file-name-function.
11568
4e05e67e
GM
115692011-03-21 Glenn Morris <rgm@gnu.org>
11570
11571 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11572 Doc fixes.
11573
4359915b
CY
115742011-03-21 Chong Yidong <cyd@stupidchicken.com>
11575
11576 * cus-theme.el: Add missing provide statement.
11577 (customize-create-theme): Extract theme value correctly.
11578 (custom-theme-visit-theme): Autoload.
11579 (customize-create-theme): Prompt before inserting default faces.
11580
1fe275ee
JB
115812011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11582
11583 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11584 units and musical notes.
11585
cd394be1 115862011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11587
11588 * ido.el (ido-read-internal): Use completing-read-default.
11589 (ido-completing-read): Fix compatibility with completing-read.
11590
7d476bde
CO
115912011-03-20 Christian Ohler <ohler@gnu.org>
11592
11593 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11594 (ert-delete-all-tests): Use `called-interactively-p' rather than
11595 `interactive-p'.
11596 (ert--make-xrefs-region): Respect END.
11597
fe0fb33e
CY
115982011-03-19 Chong Yidong <cyd@stupidchicken.com>
11599
ff854b0b
CY
11600 * dired-aux.el (dired-create-directory): Signal an error if the
11601 directory already exists (Bug#8246).
11602
fe0fb33e
CY
11603 * facemenu.el (list-colors-display): Call list-faces-display
11604 inside with-help-window.
11605 (list-colors-print): Use display property to align the final
11606 column, instead of checking window-width.
11607
576bce32
EZ
116082011-03-19 Eli Zaretskii <eliz@gnu.org>
11609
4d61f28d 11610 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11611 windows-nt systems.
11612 (emerge-protect-metachars): Quote correctly for ms-dos and
11613 windows-nt systems.
11614
89c41d68 116152011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11616
11617 * info.el (info-initialize): Replace all uses of `:' with
11618 path-separator for compatibility with non-Unix systems.
11619 Cache quoting of path-separator. (Bug#8258)
11620
b14e3e21 116212011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11622
11623 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11624 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11625 (mouse-avoidance-mode): Fix typos in docstrings.
11626
4525ce3e
CY
116272011-03-19 Chong Yidong <cyd@stupidchicken.com>
11628
11629 * startup.el (package-subdirectory-regexp): Move from package.el.
11630 Omit \\` and \\', and let callers add them.
11631
11632 * emacs-lisp/package.el (package-strip-version)
11633 (package-load-all-descriptors): Add \\` and \\' to
11634 package-subdirectory-regexp before using it.
11635 (package-untar-buffer): New arg DIR; ensure that file untars only
11636 into this expected directory. Remove superfluous delete-region.
11637 (package-unpack): Caller changed.
11638 (package-tar-file-info): Use package-subdirectory-regexp.
11639
a904a09a 116402011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11641
a904a09a
SM
11642 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11643 diff-mode-shared-map (bug#8284).
11644 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11645
116462011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647
11648 * calendar/time-date.el (format-seconds): Use assoc instead of
11649 assoc-string, since assoc-string doesn't exist in XEmacs.
11650
171fc304
JB
116512011-03-17 Juanma Barranquero <lekktu@gmail.com>
11652
11653 * custom.el (custom-known-themes): Reflow docstring.
11654 (custom-theme-load-path): Fix typo in docstring.
11655 (load-theme): Fix typo in error message.
11656 (custom-available-themes, custom-variable-theme-value):
11657 Use `let', not `let*'.
11658
d71990a1
JB
116592011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11660
11661 * calc/README: Mention inclusion of musical notes.
11662
11663 * calc/calc-units.el (calc-lu-quant): Rename from
11664 `calc-logunits-quantity'.
11665 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11666 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11667 (calc-db): Rename from `calc-dblevel'.
11668 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11669 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11670 (calc-np): Rename from `calc-nplevel'.
11671 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11672 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11673 (calc-lu-plus): Rename from `calc-logunits-add'.
11674 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11675 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11676 (calc-lu-minus): Rename from `calc-logunits-sub'.
11677 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11678 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11679 (calc-lu-times): Rename from `calc-logunits-mul'.
11680 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11681 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11682 (calc-lu-divide): Rename from `calc-logunits-div'.
11683 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11684 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11685
11686 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11687 functions being autoloaded.
11688
11689 * calc/calc.el (calc-lu-power-reference): Rename from
11690 `calc-logunits-power-reference'.
11691 (calc-lu-field-reference): Rename from
11692 `calc-logunits-field-reference'.
11693
7a71b18d
GM
11694 * calc/calc-help.el (calc-l-prefix-help):
11695 Mention musical note functions.
d71990a1 11696
40c2934b
SM
116972011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * minibuffer.el (completion-all-sorted-completions):
11700 Use :completion-cycle-penalty text property if present.
11701
b0911414
KM
117022011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11703
11704 * allout.el (allout-yank-processing): Adjust for new rebulleting
11705 regime so bullet being yanked is used without prompting the user
11706 for a choice.
11707
8a05b668
JB
117082011-03-16 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * startup.el (command-line): Warn the user that _emacs is deprecated.
11711
5ba5fb81
JB
117122011-03-16 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11715 (delphi-verbose, delphi-comment-face, delphi-string-face)
11716 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11717 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11718 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11719 (delphi-new-comment-line, delphi-font-lock-defaults)
11720 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11721 Fix typos in docstrings.
11722
2dab465b
KM
117232011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11724
5ba5fb81 11725 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11726 Invert the roles of character and string values for INSTEAD, so a
11727 string is used for the more common case of a defaulting prompt.
11728
0adf5618
SM
117292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * progmodes/ruby-mode.el (ruby-backward-sexp):
11732 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11733 * play/gamegrid.el (gamegrid-make-face):
11734 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11735 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11736 * notifications.el (notifications-notify):
11737 * net/xesam.el (xesam-search-engines):
11738 * net/quickurl.el (quickurl-list-insert):
11739 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11740
d72700e5
CY
117412011-03-15 Chong Yidong <cyd@stupidchicken.com>
11742
11743 * startup.el (command-line): Update package subdirectory regexp.
11744
49c5410a
SM
117452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11746
c6eee9aa
SM
11747 * allout.el (allout-abbreviate-flattened-numbering)
11748 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11749
49c5410a
SM
11750 * subr.el (read-char-choice): Only show the cursor after the prompt,
11751 not after the answer.
11752
047b2bb9
KR
117532011-03-15 Kevin Ryde <user42@zip.com.au>
11754
11755 * help-fns.el (variable-at-point): Skip leading quotes, if any
11756 (bug#8253).
11757
0a57d256
SM
117582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11761 warning message.
11762
77c992bc
MA
117632011-03-14 Michael Albinus <michael.albinus@gmx.de>
11764
11765 * shell.el (shell): When called interactively, offer to change the
11766 shell file name on remote hosts.
11767
eebc475d
TZ
117682011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11769
11770 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11771 integration for LDAP parameters. The host, base, user or binddn,
11772 and secret tokens can be specified in a netrc file, for instance.
11773 This is optional because an `auth-source' parameter must be
11774 specified in the search attributes.
11775
9d05d1ba
JB
117762011-03-13 Juanma Barranquero <lekktu@gmail.com>
11777
11778 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11779
09d9db2c
GM
117802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11783 into declaration. Remove redundant and harmful binding.
11784
117852011-03-12 Eli Zaretskii <eliz@gnu.org>
11786
11787 * files.el (file-ownership-preserved-p): Pass `integer' as an
11788 explicit 2nd argument to `file-attributes'. If the file's owner
11789 is the Administrators group on Windows, and the current user is
11790 Administrator, consider that a match.
11791
11792 * server.el (server-ensure-safe-dir): Consider server directory
11793 safe on MS-Windows if its owner is the Administrators group while
11794 the current Emacs user is Administrator. Use `=' to compare
11795 numerical UIDs, since they could be integers or floats.
11796
219bd536
JB
117972011-03-12 Juanma Barranquero <lekktu@gmail.com>
11798
11799 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11800
f3afd36b
MA
118012011-03-12 Michael Albinus <michael.albinus@gmx.de>
11802
11803 Sync with Tramp 2.2.1.
11804
11805 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11806
11807 * net/trampver.el: Update release number.
11808
3aaaa6f1
SM
118092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11810
94642599
SM
11811 * progmodes/compile.el (compilation--previous-directory): Fix up
11812 various nil/dead-marker mismatches (bug#8014).
11813 (compilation-directory-properties, compilation-error-properties):
11814 Don't call it at a position past the one we're about to change.
11815
3aaaa6f1
SM
11816 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11817 Disable obsolescence warnings in the file that declares it.
11818
14239447
KM
118192011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11820
099c39a4
JB
11821 * allout-widgets.el (allout-widgets-tally):
11822 Initialize allout-widgets-tally as a hash table rather than nil to
11823 prevent mode-line redisplay warnings. Also, clarify the module
11824 description and fix a comment typo.
14239447 11825
135e287c
JB
118262011-03-11 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * help-fns.el (describe-variable): Don't complete keywords.
11829 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11830
ffbf300e
CY
118312011-03-10 Chong Yidong <cyd@stupidchicken.com>
11832
ba08b241
CY
11833 * emacs-lisp/package.el (package-version-join): Impose a standard
11834 string representation for pre/alpha/beta version lists.
11835 (package-unpack-single): Standardize the directory name by passing
11836 it through package-version-join.
11837 (package-strip-rcs-id): Accept any version string that does not
11838 signal an error in version-to-list.
ffbf300e 11839
f346fd6b
MA
118402011-03-10 Michael Albinus <michael.albinus@gmx.de>
11841
11842 * simple.el (delete-trailing-whitespace): Return nil for the
11843 benefit of `write-file-functions'.
11844
ccb55d27
GM
118452011-03-10 Glenn Morris <rgm@gnu.org>
11846
5ceaac0c
GM
11847 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11848
02da65ff
GM
11849 * vc/vc-git.el (vc-git-program): New option.
11850 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11851 (vc-git--call): Use it.
11852
b2f603cc
GM
11853 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11854
5772caab
GM
11855 * cus-edit.el (Custom-newline): If no button at point, look
11856 for a subgroup button at start-of-line. (Bug#2298)
11857
ccb55d27
GM
11858 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11859
ec6ecaed
JD
118602011-03-10 Julien Danjou <julien@danjou.info>
11861
11862 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11863 `cursor-type' is nil.
11864
9d5aa01d
JB
118652011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11866
11867 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11868
b6a5875b
KM
118692011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11870
7a71b18d 11871 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11872 preserves the existing header prefix, rebulleting it if necessary,
11873 rather than replacing it. This is necessary for proper operation
11874 of cooperative addons like allout-widgets.
1154d12e
JB
11875 (allout-make-topic-prefix, allout-rebullet-heading):
11876 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11877 value as alternate bullet to be used, instead of prompting the user
11878 for a bullet character.
b6a5875b 11879
ee545c35
MA
118802011-03-09 Michael Albinus <michael.albinus@gmx.de>
11881
d86d2721
SM
11882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11883 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11884 `tramp-default-port'.
11885
c47971d7
DD
118862011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11887
11888 * net/rcirc.el (rcirc-handler-001): Remove useless
11889 with-rcirc-process-buffer.
11890 (rcirc-check-auth-status): Swap arguments to string-match.
11891
13522cb4
GM
118922011-03-09 Glenn Morris <rgm@gnu.org>
11893
0be6f4f1
GM
11894 * shell.el (shell-mode):
11895 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11896
13522cb4
GM
11897 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11898 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11899
515de2e3
CY
119002011-03-08 Chong Yidong <cyd@stupidchicken.com>
11901
11902 * emacs-lisp/package.el (package-refresh-contents)
11903 (package-menu-execute): Use condition-case-no-debug.
11904
b511b994
MA
119052011-03-08 Michael Albinus <michael.albinus@gmx.de>
11906
11907 * simple.el (shell-command-to-string): Use `process-file'.
11908
11909 * emacs-lisp/package.el (package-tar-file-info): Handle also
11910 remote files.
11911
d86d2721
SM
11912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11913 Use `equal' for upload base check.
b511b994 11914
25bbfb31
AM
119152011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11916
11917 * textmodes/texinfo.el (texinfo-environments):
11918 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11919
be996521
GM
119202011-03-08 Glenn Morris <rgm@gnu.org>
11921
e9c8529f
GM
11922 * cus-start.el (cursor-in-non-selected-windows):
11923 Fix :set quoting oddness. (Bug#8192)
11924
be996521
GM
11925 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11926 in some setf expressions. (Bug#2159)
11927
2bb5649e
CY
119282011-03-08 Chong Yidong <cyd@stupidchicken.com>
11929
11930 * custom.el (custom-available-themes): Return themes in
11931 alphabetical order.
11932
33383987 11933See ChangeLog.15 for earlier changes.
e3d51b27
MR
11934
11935;; Local Variables:
11936;; coding: utf-8
e3d51b27
MR
11937;; End:
11938
acaf905b 11939 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11940
11941 This file is part of GNU Emacs.
11942
11943 GNU Emacs is free software: you can redistribute it and/or modify
11944 it under the terms of the GNU General Public License as published by
11945 the Free Software Foundation, either version 3 of the License, or
11946 (at your option) any later version.
11947
11948 GNU Emacs is distributed in the hope that it will be useful,
11949 but WITHOUT ANY WARRANTY; without even the implied warranty of
11950 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11951 GNU General Public License for more details.
11952
11953 You should have received a copy of the GNU General Public License
11954 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.