* lisp/outline.el (outline-flag-region): Evaporate overlays.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1acad97c
SM
12012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3d008e4f
SM
3 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4
af67c9d7
SM
5 * progmodes/etags.el (tags-completion-at-point-function):
6 Improve last fix.
7
1acad97c
SM
8 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9
e298b5da
SS
102012-03-21 Sam Steingold <sds@gnu.org>
11
12 * progmodes/etags.el (tags-completion-at-point-function):
13 Avoid the error when point is inside the pattern.
14
91d82a70
JY
152012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16
17 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
18 line (Bug#10855).
19
69188b79
CY
202012-03-21 Drew Adams <drew.adams@oracle.com>
21
22 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
23
99fc91fe
AK
242012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
25
26 * ido.el (ido-set-current-directory, ido-read-internal)
27 (ido-choose-completion-string, ido-completion-help): Handle nil
28 value of ido-completion-buffer (Bug#11008).
29
087bbb4c
SS
302012-03-21 Sam Steingold <sds@gnu.org>
31
32 * window.el (switch-to-prev-buffer): Do not switch to a visible
33 window previous buffer, just like with the frame previous buffers.
34
fb5b8aca
CY
352012-03-21 Chong Yidong <cyd@gnu.org>
36
37 * faces.el (make-face, make-empty-face, copy-face):
38 * face-remap.el (face-remap-add-relative, face-remap-set-base):
39 Doc fixes.
40
dc9924b8
SM
412012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * wid-edit.el (widget-complete-field): Remove (bug#11051).
44 (widget-complete): Remove broken use of it.
45
f0bcceb9
CY
462012-03-20 Chong Yidong <cyd@gnu.org>
47
dc9924b8
SM
48 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
49 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
50 characters.
51
ee52ebf3
TH
522012-03-20 Tassilo Horn <tassilo@member.fsf.org>
53
54 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
55 to draw rectangles, not squares. (Regression introduced by revno
56 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
57
4c5779ab
CY
582012-03-18 Chong Yidong <cyd@gnu.org>
59
60 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
61 it is not yet defined (for temacs).
62
15360934
LL
632012-03-18 Leo Liu <sdl.web@gmail.com>
64
dc9924b8 65 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 66
d9a8eb66
EZ
672012-03-17 Eli Zaretskii <eliz@gnu.org>
68
69 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
70 (ispell-choices-win-default-height, ispell-silently-savep)
71 (ispell-dictionary-alist, ispell-encoding8-command)
72 (ispell-check-version, ispell-aspell-find-dictionary)
73 (ispell-valid-dictionary-list, ispell-words-keyword)
74 (ispell-get-word, ispell-internal-change-dictionary)
75 (ispell-region, ispell-skip-region-list)
76 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
77 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
78 (ispell-message-text-end, ispell-message)
79 (ispell-buffer-local-parsing): Doc fix.
80
f02ff80d
J
812012-03-13 Jambunathan K <kjambunathan@gmail.com>
82
83 * htmlfontify.el: Add support for code block fontification for ODT
84 export (Bug #9914).
85 (hfy-optimisations): Define new option
86 `body-text-only'
87 (hfy-fontify-buffer): Honor above setting.
88 (hfy-begin-span, hfy-end-span): New routines factored out form
89 `hfy-fontify-buffer'.
90 (hfy-begin-span-handler, hfy-end-span-handler): New variables
91 that permit insertion of custom tags.
92 (hfy-fontify-buffer): Use above handlers.
93 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
94 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 95 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
96 over multiple runs. This is made possible by having the caller let
97 bind a special variable `hfy-user-sheet-assoc'.
98 (htmlfontify-string): New defun.
99 (hfy-compile-face-map): Make sure that the last char in the
100 buffer is correctly fontified.
101 (hfy-face-resolve-face): Whitespace only change.
102
9ac7a13f
EZ
1032012-03-17 Eli Zaretskii <eliz@gnu.org>
104
105 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
106 message more clear.
107
e2b5bdd7
LL
1082012-03-16 Leo Liu <sdl.web@gmail.com>
109
110 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
111
2e492df3
AM
1122012-03-16 Alan Mackenzie <acm@muc.de>
113
114 Further optimise the handling of large macros.
115
116 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
117 limit to a call of `c-literal-limits'.
118 (c-determine-+ve-limit): New function.
dc9924b8
SM
119 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
120 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
121 In CASE 5B, restrict a search limit to 500.
122 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
123
124 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
125 Restrict macro bounds to +-500 from after-change's BEG END.
126
50e94f0c
LL
1272012-03-16 Leo Liu <sdl.web@gmail.com>
128
129 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
130
6f09f6ed
AH
1312012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
132
133 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 134 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 135
c7e73d51
GM
1362012-03-16 Glenn Morris <rgm@gnu.org>
137
da986230
GM
138 * view.el (view-buffer, view-buffer-other-window)
139 (view-buffer-other-frame): Doc fixes re special mode-class.
140
0835f01e
GM
141 * subr.el (eval-after-load): If named feature is provided not from
142 a file, run after-load forms. (Bug#10946)
143
c7e73d51
GM
144 * calendar/calendar.el (calendar-insert-at-column):
145 Handle non-unit-width characters a bit better. (Bug#10978)
146
3f2eafd1
CY
1472012-03-15 Chong Yidong <cyd@gnu.org>
148
149 * emacs-lisp/ring.el (ring-extend): New function.
150 (ring-insert+extend): Extend the ring correctly (Bug#11019).
151
152 * comint.el (comint-read-input-ring)
153 (comint-add-to-input-history): Grow comint-input-ring lazily.
154
103af3fe
SM
1552012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
156
663b1677
SM
157 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
158 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
159
103af3fe
SM
160 * imenu.el: Fix multiple inheritance breakage (bug#9199).
161 (imenu-add-to-menubar): Don't add a redundant index.
162 (imenu-update-menubar): Handle a dynamically composed keymap.
163
899cb7cb
KY
1642012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
165
166 * mail/sendmail.el (mail-encode-header):
167 Bind rfc2047-encode-encoded-words to nil.
168
3809f91d
GM
1692012-03-13 Glenn Morris <rgm@gnu.org>
170
171 * calendar/calendar.el (calendar-string-spread):
172 Handle non-unit-width characters a bit better. (Bug#10978)
173
9e345a01
LL
1742012-03-13 Leo Liu <sdl.web@gmail.com>
175
176 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
177 directory and file as argument (Bug#10822).
178
4a07df36
KS
1792012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
180
181 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
182 For dynamically generated code, follow $PC.
183 (gdb-disassembly-handler-custom): Handle no function name case.
184
4aaa9356
TL
1852012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
186
187 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
188 * emulation/ws-mode.el (ws-query-replace):
189 * sort.el (sort-regexp-fields):
190 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
191
225979da
SM
1922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * dabbrev.el: Fix cycle completion order (bug#10963).
195 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
196 (dabbrev-completion): Don't use an obarray; provide
197 a cycle-sort-function.
198
e2f1fdab
LL
1992012-03-12 Leo Liu <sdl.web@gmail.com>
200
dc9924b8 201 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
202 (kill-do-not-save-duplicates): Doc fix.
203
b19490ed
SM
2042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * dabbrev.el: Fix cycle completion (bug#10963).
207 Use lexical binding and wrap to 80 columns.
208 (dabbrev-completion): Delay computing the list of completions.
209
4b05d722
KH
2102012-03-12 Kenichi Handa <handa@m17n.org>
211
212 * international/quail.el (quail-insert-kbd-layout): Surround each
213 row by LRO and PDF instead of inserting many LRMs. Pad the left
214 and right of each non-spacing marks. Insert invisible space
215 between lower and upper characters to prevent composition.
216
dbbc2e69
SM
2172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * minibuffer.el (minibuffer-complete): Don't get confused when the
220 function is run twice via different commands (bug#10958).
221 (complete-with-action): Fix docstring.
222
292112ed
CY
2232012-03-12 Chong Yidong <cyd@gnu.org>
224
5d1ac394
CY
225 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
226 (nxml-completion-at-point-function): New function.
227 (nxml-mode): Use it.
228 (nxml-bind-meta-tab-to-complete-flag): Default to t.
229
292112ed
CY
230 * emacs-lisp/package.el (package-unpack, package-unpack-single):
231 Load generated autoloads file before byte compiling (Bug#10970).
232 (package--make-autoloads-and-compile): New helper fun.
233
4098f8f7
CS
2342012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
235
236 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
237
8f754691
MA
2382012-03-11 Michael Albinus <michael.albinus@gmx.de>
239
240 * autorevert.el (auto-revert-handler): Ensure, that
241 file-readable-p is applied only for local files or in
242 auto-revert-tail-mode.
243
e29ab36b
AS
2442012-03-11 Andreas Schwab <schwab@linux-m68k.org>
245
dbbc2e69
SM
246 * server.el (server-eval-at): Handle non-tcp connections.
247 Decode result string.
ad0bf5b6 248
e29ab36b
AS
249 * server.el (server-msg-size): New constant.
250 (server-reply-print): New function.
251 (server-eval-and-print): Use it.
252 (server-eval-at): Use server-quote-arg and server-unquote-arg.
253 Handle -print-nonl.
254
de5939ba
CS
2552012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
256
257 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
258 (Bug#10987).
259
0c93eabf
CY
2602012-03-11 Chong Yidong <cyd@gnu.org>
261
397a688f
CY
262 * simple.el (goto-line): Doc fix (Bug#9938).
263
2cc775f9
CY
264 * subr.el (save-window-excursion): Doc fix (Bug#9979).
265
0c93eabf
CY
266 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
267 when finished (Bug#10963).
268
c491fa41
MR
2692012-03-11 Martin Rudalics <rudalics@gmx.at>
270
271 * window.el (split-window-below): Fix bug in case where
272 split-window-keep-point is nil (Bug#10971).
273
300e8fa5
JL
2742012-03-11 Juri Linkov <juri@jurta.org>
275
276 * replace.el (replace-highlight): Set isearch-word to nil
277 unconditionally. (Bug#10887)
278
dbf6c5a1
EZ
2792012-03-10 Eli Zaretskii <eliz@gnu.org>
280
281 * net/mairix.el (mairix-replace-invalid-chars): Rename from
282 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 283 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
284 (mairix-widget-create-query): Add usage information about mairix
285 search forms: negating words, searching for substrings, etc.
286
b9e501de
JP
2872012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
288
289 * international/fontset.el (font-encoding-alist): Add an entry for
290 ksx1001 (Bug#5667).
291
92795c91
RS
2922012-03-10 Richard Stallman <rms@gnu.org>
293
1694e6c1
RS
294 * mail/sendmail.el (mail-encode-header):
295 Set rfc2047-encode-encoded-words.
296
607e8555
RS
297 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
298
de3bc99a
RS
299 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
300 view buffer means not swapped.
301 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
302 (rmail-write-region-annotate): Error if real text has disappeared.
303
92795c91
RS
304 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
305
699bd04e
CY
3062012-03-10 Chong Yidong <cyd@gnu.org>
307
308 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
309 * emulation/cua-base.el (cua--init-keymaps):
310 Add delete-forward-char to remappings (Bug#9666).
699bd04e 311
570a1714
MR
3122012-03-10 Martin Rudalics <rudalics@gmx.at>
313
dbbc2e69
SM
314 * speedbar.el (speedbar-unhighlight-one-tag-line):
315 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 316
82dcf4e4
CY
3172012-03-10 Chong Yidong <cyd@gnu.org>
318
7a2c7ca7
CY
319 * minibuffer.el (completion-in-region, completion-help-at-point):
320 Give the completion field overlay a high priority (Bug#6830).
321
82dcf4e4
CY
322 * dired.el (dired-goto-file): Recognize absolute file name
323 listings (Bug#7126).
324 (dired-goto-file-1): New helper function.
325 (dired-toggle-read-only): Inhibit warnings.
326
052e28ac
MA
3272012-03-09 Michael Albinus <michael.albinus@gmx.de>
328
329 * net/dbus.el: (dbus-property-handler): Return empty array if
330 there are no properties.
331
95d5e396
LL
3322012-03-09 Leo Liu <sdl.web@gmail.com>
333
334 * savehist.el (savehist-printable): Stricter check for string
335 value (Bug#10937).
336
3f018d6d
EZ
3372012-03-09 Eli Zaretskii <eliz@gnu.org>
338
dbbc2e69
SM
339 * mail/smtpmail.el (smtpmail-send-it):
340 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
341 valid mbox format.
342
f7fd3d79
GM
3432012-03-09 Glenn Morris <rgm@gnu.org>
344
345 * files.el (dir-locals-find-file):
346 Don't check result is regular, readable.
347 (dir-locals-read-from-file): Demote errors.
348
6ff6e72f
EZ
3492012-03-08 Eli Zaretskii <eliz@gnu.org>
350
dbbc2e69
SM
351 * international/quail.el (quail-insert-kbd-layout):
352 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
353 layout cell, to prevent their reordering by bidi display engine.
354 For details, see the discussion in
355 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
356
9cec7834
AM
3572012-03-08 Alan Mackenzie <acm@muc.de>
358
359 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
360 the starting position; make it extend the marked region when
361 invoked repeatedly - all under appropriate circumstances.
362 Fixes bugs #5525, #10906.
363
9a40b8d4
GM
3642012-03-08 Glenn Morris <rgm@gnu.org>
365
366 * files.el (locate-dominating-file, dir-locals-find-file):
367 Undo 2012-03-06 change.
368
7a08ed35
EZ
3692012-03-07 Eli Zaretskii <eliz@gnu.org>
370
dbbc2e69
SM
371 * international/quail.el (quail-help):
372 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
373 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
374 for the reason.
375
5aca4f71 3762012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
377
378 Avoid superfluous registering of signals. (Bug#10807)
379
380 * notifications.el (notifications-on-action-object)
381 (notifications-on-close-object): New defvars.
382 (notifications-on-action-signal, notifications-on-closed-signal):
383 Unregister the signal if not needed any longer.
384 (notifications-notify): Register `notifications-action-signal' or
385 `notifications-closed-signal', if :on-action or :on-close has been
386 passed as argument.
387
78e8b10a
CY
3882012-03-07 Chong Yidong <cyd@gnu.org>
389
390 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
391 non-X platforms.
392
69481eb8
GM
3932012-03-06 Glenn Morris <rgm@gnu.org>
394
395 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
396 (x-disown-selection-internal, x-get-selection-internal):
397 Doc fix (add arglist signatures). (Bug#10783)
398
133b8e11
KS
3992012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
400
401 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
402 Handle breakpoints with no "type".
403
99a83064
GM
4042012-03-06 Glenn Morris <rgm@gnu.org>
405
406 * files.el (locate-dominating-file): Add optional predicate argument.
407 (dir-locals-find-file): Make use of above change.
408
17798e78
TTN
4092012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
410
411 * info.el (Info-insert-dir): Also try "dir.gz".
412
eb182446
GM
4132012-03-06 Glenn Morris <rgm@gnu.org>
414
8f2114ee
GM
415 * files.el (dir-locals-find-file):
416 Ignore non-readable or non-regular files. (Bug#10928)
417
eb182446
GM
418 * files.el (locate-dominating-file): Doc fix.
419
24679323
AS
4202012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
421
422 * calendar/calendar.el (calendar-set-mode-line):
423 `getenv' returns a string. (Bug#10951)
424
01d972a9
LL
4252012-03-05 Leo Liu <sdl.web@gmail.com>
426
109aa8a9
LL
427 * simple.el (backward-delete-char-untabify): Constrain point to
428 field (Bug#10939).
429
01d972a9
LL
430 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
431
10607bea
CY
4322012-03-05 Chong Yidong <cyd@gnu.org>
433
434 * simple.el (count-words): If called from Lisp, return the word
435 count, for symmetry with `count-lines'. Arglist changed.
436 (count-words--message): Args changed. Consolidate counting code
437 from count-words and count-words-region.
438 (count-words-region): Caller changed.
439 (count-lines-region): Make it an obsolete alias.
440
5dd11cfe
TH
4412012-03-04 Tassilo Horn <tassilo@member.fsf.org>
442
443 * saveplace.el (save-place-to-alist)
444 (save-place-ignore-files-regexp): Allow value nil to disable this
445 feature.
446
c349f4e6
CY
4472012-03-04 Chong Yidong <cyd@gnu.org>
448
449 * faces.el (face-spec-reset-face): For the default face, reset the
450 attributes to default values (Bug#10748).
451
e627be4c
LMI
4522012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
453
454 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
455 previous patch: Check `message-send-mail-function', and not the
456 default function (bug#10897).
457
ebeabff4
MA
4582012-03-04 Michael Albinus <michael.albinus@gmx.de>
459
a41a6cf4
MA
460 * notifications.el (notifications-on-action-signal)
461 (notifications-on-closed-signal): Check for unique service name of
462 incoming event. Fix error in removing entry.
ebeabff4 463 (top): Register for signals with wildcard service name.
a41a6cf4 464 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 465
c1ca42b4
CY
4662012-03-04 Chong Yidong <cyd@gnu.org>
467
dc9924b8 468 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 469
ea16568d
GM
4702012-03-04 Glenn Morris <rgm@gnu.org>
471
472 * abbrev.el (copy-abbrev-table, abbrev-table-p)
473 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
474 (expand-abbrev, define-abbrev-table): Doc fixes.
475
fbae4637
LMI
4762012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
477
478 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
479 `message-default-send-mail-function' and not `send-mail-function'
480 when doing the prompting for `sendmail-query-once' before sending
481 in Message buffers (bug#10897).
482
a1e7225c
LMI
483 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
484 This is inconsistent with all the other stream functions, which leave
485 the setting up to the higher levels (if so wanted) (bug#10931).
486
56d093a9
AM
4872012-03-02 Alan Mackenzie <acm@muc.de>
488
489 Depessimize the handling of very large macros.
490
491 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
492 (c-macro-cache-syntactic): New variables to implement a one
493 element macro cache.
494 (c-invalidate-macro-cache): New function.
495 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
496 Adapt to use the new cache.
497 (c-state-safe-place): Use better the cache of safe positions.
498 (c-state-semi-nonlit-pos-cache)
499 (c-state-semi-nonlit-pos-cache-limit):
500 New variables for...
501 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
502 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
503 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
504 Use c-state-semi-safe-place.
56d093a9 505
dbbc2e69
SM
506 * progmodes/cc-langs.el (c-get-state-before-change-functions):
507 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 508
817e5c3d
MA
5092012-03-02 Michael Albinus <michael.albinus@gmx.de>
510
dbbc2e69
SM
511 * jka-compr.el (jka-compr-call-process):
512 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
513 not remote.
514
a032a702
MA
5152012-03-01 Michael Albinus <michael.albinus@gmx.de>
516
517 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
518 access of FILE2, if FILE1 does not exist.
519
99a54f21
MA
520 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
521 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
522
523 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
524 Add "PAGER=" to `process-environment'.
525
f6561e1f
MM
5262012-03-01 Michael R. Mauger <mmaug@yahoo.com>
527
528 * progmodes/sql.el: Bug fix
529 (sql-get-login-ext): Save login values in globals.
530 (sql-get-login): Use new version of `sql-get-login-ext'.
531 (sql-interactive-mode): Set global `sql-connection' to nil.
532 (sql-connect): Set global values for connection.
533 (sql-product-interactive): Save global values as buffer local.
534
2d44d9cc
LL
5352012-02-29 Leo Liu <sdl.web@gmail.com>
536
537 * abbrev.el (define-abbrevs): Reset sys to nil.
538
96b49301 5392012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
540
bf7f9bc5
JB
541 * files.el (file-equal-p): Rename from `files-equal-p'.
542 Return nil when one or both files don't exist.
96b49301 543 (file-subdir-of-p): Now only top directory must exists,
544 return nil if it doesn't.
bf7f9bc5
JB
545 (copy-directory): No need to test with `file-subdir-of-p' after
546 creating dir.
547 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
548 to `file-equal-p'.
96b49301 549
44e97401
GM
5502012-02-28 Glenn Morris <rgm@gnu.org>
551
552 * shell.el (shell-mode):
553 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
554 * play/landmark.el (landmark-font-lock-face-O):
555 * play/handwrite.el (handwrite):
556 * play/gomoku.el (gomoku-O):
557 * net/browse-url.el (browse-url-browser-display):
558 * international/mule.el (define-charset):
559 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
560 * filesets.el (filesets-find-file-delay):
561 * eshell/em-xtra.el (eshell-xtra):
562 * eshell/em-unix.el (eshell-grep):
563 * emulation/viper.el (viper-mode):
564 * emacs-lisp/regexp-opt.el (regexp-opt-group):
565 * emacs-lisp/easymenu.el (easy-menu-define):
566 * calendar/timeclock.el (timeclock-use-display-time):
567 * bs.el (bs-mode):
568 * bookmark.el (bookmark-save-flag):
569 Doc fix (standardize possessive apostrophe usage).
570
c98c6276
CY
5712012-02-27 Chong Yidong <cyd@gnu.org>
572
bf7f9bc5
JB
573 * emulation/viper-cmd.el (viper-intercept-ESC-key):
574 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 575
c98c6276
CY
576 * font-lock.el (font-lock-specified-p): Rename from
577 font-lock-spec-present. Callers changed.
578
9c62cd04 5792012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 580
bf7f9bc5
JB
581 * emacs-lisp/package.el (package-compute-transaction):
582 Handle holding a package version to t in package-load-list.
8ac9e529 583
530739c9
MA
5842012-02-26 Michael Albinus <michael.albinus@gmx.de>
585
586 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
587 (tramp-get-inode, tramp-get-device): Use cached values.
588
487915d7
AM
5892012-02-26 Alan Mackenzie <acm@muc.de>
590
591 Check there is a font-lock specification before doing initial
592 fontification.
593
594 * font-core.el (font-lock-mode): Move the conditional from
595 :after-hook to font-lock-initial-fontify.
596 (font-lock-default-function): Move the check for a specification
597 to font-lock-spec-present.
598
dc9924b8 599 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
600 (font-lock-spec-present): New function.
601
4fd96557
JB
6022012-02-26 Jim Blandy <jimb@red-bean.com>
603
604 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
605 (gdb-send): Apply it to the operand of the '-interpreter-exec
606 console' command, so that we can pass arguments with (say) quotes
607 in them. Store exact string sent in gdb-debug-log (Bug#10765).
608
9a4888c0
CY
6092012-02-26 Chong Yidong <cyd@gnu.org>
610
07498861
CY
611 * help-fns.el (describe-function-1): Clarify description of
612 remapping (Bug#10844).
613
9a4888c0
CY
614 * files.el (files-equal-p): Doc fix.
615 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
616 and quit the loop once a mismatch is found.
617
ea8fb88d
JB
6182012-02-25 Juanma Barranquero <lekktu@gmail.com>
619
620 * bs.el (bs--show-with-configuration): Don't throw an error
621 if the window cannot be split; otherwise, subsequent calls to
622 bs-show fail, restoring a stale window config. (Bug#10882)
623
525795c1
JD
6242012-02-25 Jan Djärv <jan.h.d@swipnet.se>
625
626 * term/ns-win.el (global-map): Bind ns-drag-file to
627 ns-find-file (Bug#5855, Bug#10050).
628
f008086f
AS
6292012-02-25 Andreas Schwab <schwab@linux-m68k.org>
630
631 * calendar/parse-time.el (parse-time-string): Allow extractor to
632 return nil.
633
a3fcfa99
MA
6342012-02-25 Michael Albinus <michael.albinus@gmx.de>
635
91027d08
JB
636 * net/tramp.el (tramp-file-name-for-operation):
637 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
638
639 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
640 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
641 Add COPY-CONTENTS argument.
a3fcfa99 642
67b0de11
CY
6432012-02-25 Chong Yidong <cyd@gnu.org>
644
645 Add custom groups for VC backends, for consistency with vc-bzr.
646
647 * vc/vc-arch.el (vc-arch):
648 * vc/vc-cvs.el (vc-cvs):
649 * vc/vc-git.el (vc-git):
650 * vc/vc-hg.el (vc-hg):
651 * vc/vc-mtn.el (vc-mtn):
652 * vc/vc-rcs.el (vc-rcs):
653 * vc/vc-sccs.el (vc-sccs):
654 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
655 All relevant defcustoms reassigned.
656
3c9dfce6
CY
6572012-02-25 Chong Yidong <cyd@gnu.org>
658
1339bf43
CY
659 * newcomment.el (comment-styles): Add autoload (Bug#10868).
660
3c9dfce6
CY
661 * term/x-win.el (x-initialize-window-system): Reduce default for
662 x-selection-timeout to 5 seconds (Bug#8869).
663
53a46cd0 6642012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 665
53a46cd0 666 * files.el (file-subdir-of-p): Fix typo.
14a8a663 667
25b2e303 6682012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
669
ec70a47d
GM
670 * files.el (files-equal-p, file-subdir-of-p): New functions.
671 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 672 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
673 * dired-aux.el (dired-copy-file-recursive): Same.
674 (dired-create-files): Modify destination when source is equal to
675 dest when copying files.
53a46cd0 676 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 677
914260cd
MA
6782012-02-24 Michael Albinus <michael.albinus@gmx.de>
679
680 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
681 (Bug#10874)
682
2cb228f7
AM
6832012-02-23 Alan Mackenzie <acm@muc.de>
684
685 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
686 parameter "after-hook:" to allow the expansion to run code after
687 the execution of the mode hooks.
688
689 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 690 from font-lock-mode-internal.
2cb228f7 691
91027d08 692 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
693 :after-hook.
694
8f0fde21
SM
6952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
696
3e88618b
SM
697 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
698 (completion--cache-all-sorted-completions): New function.
699 (completion-all-sorted-completions): Use it.
700 (completion--do-completion, minibuffer-force-complete):
701 Use it to re-instate the flush hook.
702
8f0fde21
SM
703 * icomplete.el (icomplete-completions): Replace last fix with a better
704 one (bug#10850).
705
8e911f6f
DG
7062012-02-23 Dmitry Gutov <dgutov@yandex.ru>
707
708 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
709 when it might call us back infinitely (bug#10797).
710
49fe4321
GM
7112012-02-23 Glenn Morris <rgm@gnu.org>
712
713 * minibuffer.el (completion-category-overrides): Doc fix.
714
b291b572
SM
7152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * minibuffer.el (completion-table-with-context): Fix inf-loop.
718 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
719
31a9ef2e
GM
7202012-02-23 Glenn Morris <rgm@gnu.org>
721
5e6e6794 722 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
723 (authors-obsolete-files-regexps, authors-ignored-files)
724 (authors-ambiguous-files, authors-renamed-files-alist):
725 Add more entries.
726
0bd1e074
JL
7272012-02-23 Juri Linkov <juri@jurta.org>
728
729 * isearch.el (isearch-occur): Sync interactive spec with occur's
730 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
731
b617673c
JL
732 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
733
19e9789e
JL
7342012-02-22 Juri Linkov <juri@jurta.org>
735
736 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
737 (ucs-insert): Doc fix. Check for hex digits in the string.
738 Don't display `nil' in the error message. (Bug#10857)
739
f41ce09d
AM
7402012-02-22 Alan Mackenzie <acm@muc.de>
741
7a71b18d 742 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 743
ac2eceee
GM
7442012-02-22 Glenn Morris <rgm@gnu.org>
745
746 * ffap.el (ffap-c-path):
747 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
748
abd1f678
CY
7492012-02-22 Chong Yidong <cyd@gnu.org>
750
751 * custom.el (load-theme): Doc fix.
752
f25aef2e
GM
7532012-02-22 Glenn Morris <rgm@gnu.org>
754
755 * dired-x.el (dired-guess-shell-alist-default):
756 Remove escape sequences from nroff output. (Bug#172)
757
5f8dc2ca
GM
7582012-02-21 Glenn Morris <rgm@gnu.org>
759
6ff86ec4
GM
760 * vc/emerge.el (emerge-defvar-local):
761 Set `permanent-local' property rather than unused `preserved'.
762
be3223a3 763 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
764 (picture-mode-map): Use it. (Bug#10860)
765 (picture-mode): Doc fix.
766
3fe58f4f
JB
7672012-02-21 Juanma Barranquero <lekktu@gmail.com>
768
769 * newcomment.el (uncomment-region-default): Remove unused binding.
770
f9a998c3
GM
7712012-02-21 Glenn Morris <rgm@gnu.org>
772
773 * textmodes/picture.el (picture-motion, picture-motion-reverse)
774 (picture-self-insert, picture-tab-chars): Doc fix.
775 (picture-mode-map): Fix C-a, C-e.
776
c6029348
GM
7772012-02-20 Glenn Morris <rgm@gnu.org>
778
779 * emacs-lisp/authors.el (authors-aliases): Add another entry.
780
ab1ce9d7
LL
7812012-02-20 Leo Liu <sdl.web@gmail.com>
782
783 * icomplete.el (icomplete-completions): Check FROM arg before
784 passing to substring (Bug#10850).
785
0fd40f89
CY
7862012-02-19 Chong Yidong <cyd@gnu.org>
787
788 * comint.el: Require ansi-color.
789 (comint-output-filter-functions): Add ansi-color-process-output.
790
791 * ansi-color.el: Don't set comint-output-filter-functions; it is
792 now in the initial value defined in comint.el.
793 (ansi-color-apply-face-function): New variable.
794 (ansi-color-apply-on-region): Use it.
795 (ansi-color-apply-overlay-face): New function.
796
797 * shell.el (shell): No need to require ansi-color.
798 (shell-mode): Use ansi-color-apply-face-function to highlight
799 color escapes using font-lock-face property (Bug#10835).
800
20af2394
CY
8012012-02-19 Chong Yidong <cyd@gnu.org>
802
803 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
804 mode-line formats (Bug#10839).
805
e23a3fbe
GM
8062012-02-18 Glenn Morris <rgm@gnu.org>
807
b474519e
GM
808 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
809
810 * mail/undigest.el (unforward-rmail-message): Doc fix.
811
e23a3fbe
GM
812 * saveplace.el (save-place-ignore-files-regexp): Add :version.
813
57939ff4
EZ
8142012-02-18 Eli Zaretskii <eliz@gnu.org>
815
816 * international/characters.el (script-list): Sync with the latest
817 Unicode Character Database.
818
0c23686e
AS
8192012-02-18 Andreas Schwab <schwab@linux-m68k.org>
820
821 * international/titdic-cnv.el: Remove duplicate coding tag.
822 * language/cham.el: Likewise.
823 * language/tai-viet.el: Likewise.
824
6818b449
GM
8252012-02-18 Glenn Morris <rgm@gnu.org>
826
827 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
828 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
829 (calendar-bahai-all-holidays-flag, calendar-other-dates):
830 * calendar/diary-lib.el (diary-abbreviated-year-flag):
831 * calendar/holidays.el (holiday-bahai-holidays)
832 (calendar-holidays, list-holidays):
833 Use utf-8 Bahá'í in doc-strings, menus, etc.
834
0311a3fc
TH
8352012-02-17 Tassilo Horn <tassilo@member.fsf.org>
836
837 * saveplace.el (save-place-ignore-files-regexp): New variable
838 allowing for excluding files from saving their location of point.
839 The default value matches the temporary commit message editing
840 files from Git, SVN, Bazaar, and Mercurial.
841 (save-place-to-alist): Use it.
842
eb864a71
LM
8432012-02-17 Lawrence Mitchell <wence@gmx.li>
844 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * newcomment.el (uncomment-region-default): Don't leave extra space
847 when an arg is provided (bug#8150).
848
ee0ce425
TZ
8492012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
850
eb864a71 851 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 852
95ddf442
GM
8532012-02-17 Glenn Morris <rgm@gnu.org>
854
855 * net/socks.el: Require network-stream. (Bug#10599)
856
48dd1e39 8572012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
858
859 * international/charprop.el:
860 * international/uni-name.el:
861 * international/uni-old-name.el:
862 * international/uni-comment.el: Regenerate.
863
d68cd087
GM
8642012-02-16 Glenn Morris <rgm@gnu.org>
865
866 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
867 Interactively in calendar buffer, give an error if not on a date.
868
13932042
GM
8692012-02-15 Glenn Morris <rgm@gnu.org>
870
871 * shell.el (shell-delimiter-argument-list):
872 Revert 2011-02-17 change. (Bug#8027)
873
c3a70e2b
CY
8742012-02-15 Chong Yidong <cyd@gnu.org>
875
60236b0d
CY
876 * minibuffer.el (completion-at-point-functions): Doc fix.
877
c3a70e2b
CY
878 * custom.el (defcustom): Doc fix; note use of defvar.
879
9f26dc24
GM
8802012-02-15 Glenn Morris <rgm@gnu.org>
881
882 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
883 Doc fixes.
884
6546b134
GM
8852012-02-14 Glenn Morris <rgm@gnu.org>
886
887 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
888
d29b2b4c
LI
8892012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
890
891 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
892 way the ports list is computed.
835bdcba
LI
893 (smtpmail-query-smtp-server): Prompt the user for a port number if
894 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 895
08dcdbc9
TZ
8962012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
897
898 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
899
2605051a
GM
9002012-02-13 Glenn Morris <rgm@gnu.org>
901
902 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
903
7ee99f32
TZ
9042012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
905
906 * net/gnutls.el (gnutls-trustfiles): New variable.
907 (gnutls-negotiate): Use it.
908
5f0af64f
LI
9092012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
910
911 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
912 does its stuff if Gnus is running.
913
c14fcc95
AM
9142012-02-13 Alan Mackenzie <acm@muc.de>
915
916 Fix a loop in c-set-fl-decl-start.
917
7a71b18d 918 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
919 c-backward-syntactic-ws actually moves backwards.
920
142b4d90
LL
9212012-02-13 Leo Liu <sdl.web@gmail.com>
922
923 * net/rcirc.el (rcirc-markup-attributes): Move point to the
924 beginning so that all \C-o chars are removed.
925
fa9958a6
TZ
9262012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
927
dc9924b8 928 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 929
0bc5886a
AM
9302012-02-12 Alan Mackenzie <acm@muc.de>
931
932 Fix infinite loop with long macros.
933 * cc-engine.el (c-state-safe-place): Handle macros properly.
934
d4bd55e7
CY
9352012-02-12 Chong Yidong <cyd@gnu.org>
936
937 * window.el (display-buffer): Doc fix (Bug#10785).
938
66f3fe22
GM
9392012-02-12 Glenn Morris <rgm@gnu.org>
940
bd7da63e
GM
941 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
942 (x-disown-selection-internal, x-get-selection-internal):
943 Sync docs with the xselect.c versions.
944
66f3fe22
GM
945 * allout-widgets.el: Add missing license notice.
946
3e0d2fa7
GM
9472012-02-11 Glenn Morris <rgm@gnu.org>
948
cfecdf09
GM
949 * select.el (x-get-selection-internal, x-own-selection-internal)
950 (x-disown-selection-internal):
951 * x-dnd.el (x-get-selection-internal): Update declarations.
952
6d216d7f
GM
953 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
954
2bed3f04
GM
955 * window.el (window-sides-slots):
956 * tool-bar.el (tool-bar-position):
957 * term/xterm.el (xterm-extra-capabilities):
958 * ses.el (ses-self-reference-early-detection):
959 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
960 (verilog-auto-wire-type)
961 (verilog-auto-delete-trailing-whitespace)
962 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
963 (verilog-auto-tieoff-declaration):
964 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
965 (sql-oracle-statement-starters, sql-oracle-scan-on):
966 * progmodes/prolog.el (prolog-align-comments-flag)
967 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
968 (prolog-left-indent-regexp, prolog-paren-indent-p)
969 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
970 (prolog-types, prolog-mode-specificators)
971 (prolog-determinism-specificators, prolog-directives)
972 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
973 (prolog-electric-dot-flag)
974 (prolog-electric-dot-full-predicate-template)
975 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
976 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
977 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
978 (prolog-program-switches, prolog-prompt-regexp)
979 (prolog-debug-on-string, prolog-debug-off-string)
980 (prolog-trace-on-string, prolog-trace-off-string)
981 (prolog-zip-on-string, prolog-zip-off-string)
982 (prolog-use-standard-consult-compile-method-flag)
983 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
984 (prolog-imenu-max-lines, prolog-info-predicate-index)
985 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
986 (prolog-char-quote-workaround):
987 * progmodes/cc-vars.el (c-defun-tactic):
988 * net/tramp.el (tramp-encoding-command-interactive)
989 (tramp-local-end-of-line):
990 * net/soap-client.el (soap-client):
991 * net/netrc.el (netrc-file):
992 * net/gnutls.el (gnutls):
993 * minibuffer.el (completion-category-overrides)
994 (completion-cycle-threshold)
995 (completion-pcm-complete-word-inserts-delimiters):
996 * man.el (Man-name-local-regexp):
997 * mail/feedmail.el (feedmail-display-full-frame):
998 * international/characters.el (glyphless-char-display-control):
999 * eshell/em-ls.el (eshell-ls-date-format):
1000 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1001 (lisp-lambda-list-keyword-parameter-indentation)
1002 (lisp-lambda-list-keyword-parameter-alignment):
1003 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1004 * dired-x.el (dired-omit-verbose):
1005 * cus-theme.el (custom-theme-allow-multiple-selections):
1006 * calc/calc.el (calc-highlight-selections-with-faces)
1007 (calc-lu-field-reference, calc-lu-power-reference)
1008 (calc-note-threshold):
1009 * battery.el (battery-mode-line-limit):
1010 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1011 (archive-7z-update):
1012 * allout.el (allout-prefixed-keybindings)
1013 (allout-unprefixed-keybindings)
1014 (allout-inhibit-auto-fill-on-headline)
1015 (allout-flattened-numbering-abbreviation):
1016 * allout-widgets.el (allout-widgets-auto-activation)
1017 (allout-widgets-icons-dark-subdir)
1018 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1019 (allout-widgets-theme-dark-background)
1020 (allout-widgets-theme-light-background)
1021 (allout-widgets-item-image-properties-emacs)
1022 (allout-widgets-item-image-properties-xemacs)
1023 (allout-widgets-run-unit-tests-on-load)
1024 (allout-widgets-time-decoration-activity)
1025 (allout-widgets-hook-error-post-time)
1026 (allout-widgets-track-decoration):
1027 Add missing :version tags to new defcustoms and defgroups.
1028
5fec1b8e
GM
1029 * progmodes/sql.el (sql-ansi-statement-starters)
1030 (sql-oracle-statement-starters): Add custom type.
1031
3e0d2fa7
GM
1032 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1033 (prolog-system-version): Give it a type.
1034
90b671e2
EZ
10352012-02-11 Eli Zaretskii <eliz@gnu.org>
1036
1037 * term/pc-win.el (x-select-text, x-selection-owner-p)
1038 (x-own-selection-internal, x-disown-selection-internal)
1039 (x-get-selection-internal): Sync doc strings and argument lists
1040 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1041
5eac0c02
LL
10422012-02-11 Leo Liu <sdl.web@gmail.com>
1043
1044 * progmodes/python.el (python-end-of-statement): Fix infinite
1045 loop. (Bug#10788)
1046
f82cb659
GM
10472012-02-10 Glenn Morris <rgm@gnu.org>
1048
1049 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1050 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1051
cc26d239
LI
10522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1053
1054 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1055 about SMTP before checking the From header.
1056
91027d08 1057 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1058 into own function for reuse by emacsbug.el.
1059
1be3ca5a
LL
10602012-02-10 Leo Liu <sdl.web@gmail.com>
1061
1062 * subr.el (condition-case-unless-debug): Rename from
1063 condition-case-no-debug. All callers changed.
1064 (with-demoted-errors): Fix caller.
1065
1066 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1067 * nxml/rng-valid.el (rng-do-some-validation):
1068 * emacs-lisp/package.el (package-refresh-contents)
1069 (package-menu-execute):
1070 * desktop.el (desktop-create-buffer):
91027d08 1071 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1072
b011fbfe
GM
10732012-02-10 Glenn Morris <rgm@gnu.org>
1074
b2096d72
GM
1075 * textmodes/bibtex.el:
1076 Add missing :version tags for new/changed defcustoms.
1077
b011fbfe
GM
1078 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1079
4c7e65bf
LI
10802012-02-09 Lars Ingebrigtsen <larsi@rusty>
1081
1082 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1083 (smtpmail-via-smtp): Use it, or fall back on the From address.
1084 (smtpmail-send-it): Ditto.
1085
f3934f6f
SM
10862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1089 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1090 (byte-compile-tmp-var): New const.
1091 (byte-compile-defvar): Use it to minimize .elc size.
1092 Just use `defvar' rather than simulate it (bug#10761).
1093
a075a2c5
GM
10942012-02-09 Glenn Morris <rgm@gnu.org>
1095
cf3aa21b
GM
1096 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1097
354998cd
GM
1098 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1099 Add :version tags.
1100
dc9924b8
SM
1101 * progmodes/compile.el (compilation-error-screen-columns)
1102 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1103
dab3703d
GM
1104 * vc/log-view.el (log-view-toggle-entry-display):
1105 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1106
3f88cd72
GM
1107 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1108 (report-emacs-bug-can-use-xdg-email):
1109 (report-emacs-bug-insert-to-mailer): Doc fixes.
1110 (report-emacs-bug): Message fix.
1111
d95b247d
GM
1112 * net/browse-url.el (browse-url-can-use-xdg-open)
1113 (browse-url-xdg-open): Doc fixes.
1114
a075a2c5
GM
1115 * electric.el (electric-indent-mode, electric-pair-mode)
1116 (electric-layout-rules, electric-layout-mode): Doc fixes.
1117 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1118
ffb6157e
MR
11192012-02-08 Martin Rudalics <rudalics@gmx.at>
1120
1121 * server.el (server-unselect-display): Don't inadvertently kill
1122 the current buffer. (Bug#10729)
1123
e1ac4066
GM
11242012-02-08 Glenn Morris <rgm@gnu.org>
1125
34e8a2da
GM
1126 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1127 (sql-list-table): Doc fixes.
1128
b4ac6e8c
GM
1129 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1130 Comment out (does nothing).
1131
e1ac4066
GM
1132 * completion.el (dynamic-completion-mode):
1133 * dirtrack.el (dirtrack-debug-mode):
1134 * electric.el (electric-layout-mode):
1135 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1136 * face-remap.el (text-scale-mode, buffer-face-mode):
1137 * iimage.el (iimage-mode):
1138 * image-mode.el (image-transform-mode):
1139 * minibuffer.el (completion-in-region-mode):
1140 * scroll-lock.el (scroll-lock-mode):
1141 * simple.el (next-error-follow-minor-mode):
1142 * tar-mode.el (tar-subfile-mode):
1143 * tooltip.el (tooltip-mode):
1144 * vcursor.el (vcursor-use-vcursor-map):
1145 * wid-browse.el (widget-minor-mode):
1146 * emulation/tpu-edt.el (tpu-edt-mode):
1147 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1148 * international/iso-ascii.el (iso-ascii-mode):
1149 * language/thai-util.el (thai-word-mode):
1150 * mail/supercite.el (sc-minor-mode):
1151 * net/goto-addr.el (goto-address-mode):
1152 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1153 * progmodes/cwarn.el (cwarn-mode):
1154 * progmodes/flymake.el (flymake-mode):
1155 * progmodes/glasses.el (glasses-mode):
1156 * progmodes/hideshow.el (hs-minor-mode):
1157 * progmodes/pascal.el (pascal-outline-mode):
1158 * textmodes/enriched.el (enriched-mode):
1159 * vc/smerge-mode.el (smerge-mode):
1160 Doc fixes (minor mode argument).
1161
5e0d957f
EZ
11622012-02-07 Eli Zaretskii <eliz@gnu.org>
1163
1164 * ls-lisp.el (ls-lisp-sanitize): New function.
1165 (ls-lisp-insert-directory): Use it to fix or remove any elements
1166 in file-alist with missing attributes. (Bug#4673)
1167
98d7371e
AM
11682012-02-07 Alan Mackenzie <acm@muc.de>
1169
1170 Fix spurious recognition of c-in-knr-argdecl.
1171
1172 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1173 putative K&R region.
1174
667ced3a
AM
11752012-02-07 Alan Mackenzie <acm@muc.de>
1176
eb864a71
LM
1177 * progmodes/cc-engine.el (c-forward-objc-directive):
1178 Prevent looping in "#pragma mark @implementation".
667ced3a 1179
5b77774d
MA
11802012-02-07 Michael Albinus <michael.albinus@gmx.de>
1181
1182 * notifications.el (notifications-on-closed-signal): Make `reason'
1183 optional. (Bug#10744)
1184
af008560
GM
11852012-02-07 Glenn Morris <rgm@gnu.org>
1186
60d47423
GM
1187 * emacs-lisp/easy-mmode.el (define-minor-mode):
1188 Doc fixes for the macro and the mode it defines.
1189
dd605cc4
GM
1190 * image.el (imagemagick-types-inhibit): Doc fix.
1191
af008560
GM
1192 * cus-start.el (imagemagick-render-type): Add it.
1193
5cc59a37
LI
11942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1195
1196 * progmodes/cc-mode.el
1197 (c-standard-font-lock-fontify-region-function): Set the default at
1198 load time, too, so that `font-lock-fontify-buffer' can be called
1199 without setting up the entire mode first. This fixes a bug in
1200 `mm-inline-text' with C MIME parts.
1201
9a6dd747
CY
12022012-02-06 Chong Yidong <cyd@gnu.org>
1203
2d16b285
CY
1204 * simple.el (list-processes--refresh): Delete exited processes
1205 (Bug#8094).
1206
171e9b6e
CY
1207 * comint.el (comint-next-prompt): next-single-char-property-change
1208 and prev-single-char-property-change never return nil (Bug#8657).
1209
9a6dd747
CY
1210 * custom.el (defcustom): Doc fix (Bug#9711).
1211
aa4589a7
CY
12122012-02-05 Chong Yidong <cyd@gnu.org>
1213
5c2a252f
CY
1214 * cus-edit.el (custom-variable-reset-backup): Quote the value
1215 before storing it in the customized-value property (Bug#6712).
4aab9006 1216 (custom-display): Add a customization type tag.
983b9602 1217 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1218
aa4589a7
CY
1219 * wid-edit.el (widget-field-value-get): New optional arg to
1220 suppress trailing whitespace truncation.
1221 (character): Use it (Bug#2689).
1222
1ff980ae
AS
12232012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1224
1225 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1226 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1227
03988c98
CY
12282012-02-05 Chong Yidong <cyd@gnu.org>
1229
eeb6cc88
CY
1230 * cus-edit.el (custom-variable-value-create): For mismatched
1231 types, show the current value (Bug#7600).
1232
03988c98
CY
1233 * custom.el (defcustom): Doc fix.
1234
f8cdeef0
GM
12352012-02-05 Glenn Morris <rgm@gnu.org>
1236
1237 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1238
0696d255
JB
12392012-02-05 Juanma Barranquero <lekktu@gmail.com>
1240
1241 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1242 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1243 (pp-last-sexp): Use `looking-at-p'.
1244
34c99998
GM
12452012-02-04 Glenn Morris <rgm@gnu.org>
1246
8f05da42
GM
1247 * files.el (revert-buffer):
1248 Doc fix (mention revert-buffer-in-progress-p).
1249
f160676e
GM
1250 * emacs-lisp/ert-x.el (ert-simulate-command):
1251 Check deferred-action-list (which is obsolete) is bound.
1252
c7291ad9
GM
1253 * subr.el (with-wrapper-hook): Doc fixes.
1254
34c99998
GM
1255 * simple.el (filter-buffer-substring-functions)
1256 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1257
6283a7d3
LL
12582012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1259
1260 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1261 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1262
e96e3013
LL
12632012-02-04 Leo Liu <sdl.web@gmail.com>
1264
1265 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1266
8ded50f2
GM
12672012-02-04 Glenn Morris <rgm@gnu.org>
1268
82ff1d13
GM
1269 * image.el (image-extension-data): Add obsolete alias.
1270
987a0a16
GM
1271 * isearch.el (isearch-update): Doc fix.
1272
ea32ef46
GM
1273 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1274
8ded50f2
GM
1275 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1276
eea14f31
GM
12772012-02-03 Glenn Morris <rgm@gnu.org>
1278
1279 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1280 (image-animate-timeout): Doc fix.
1281
1282 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1283
12f381b7
GM
12842012-02-02 Glenn Morris <rgm@gnu.org>
1285
953cebf5
GM
1286 * server.el (server-auth-dir): Doc fix.
1287 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1288
12f381b7
GM
1289 * subr.el (run-mode-hooks): Doc fix.
1290
953a8c3b
JL
12912012-02-02 Juri Linkov <juri@jurta.org>
1292
1293 * image-mode.el (image-toggle-display-image): Remove tautological
1294 `major-mode' from the `derived-mode-p' test.
1295
c5d3843c
KH
12962012-02-02 Kenichi Handa <handa@m17n.org>
1297
9f6e692e 1298 * composite.el (compose-region): Cancel previous change.
c5d3843c 1299
159462d4 13002012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1301
1302 * composite.el (compose-region, compose-string): Signal error for
1303 a null string component (Bug#6988).
1304
9f562668
CY
13052012-02-01 Chong Yidong <cyd@gnu.org>
1306
e2cef717
CY
1307 * view.el (view-buffer-other-window, view-buffer-other-frame):
1308 Handle special modes like view-buffer (Bug#10650).
1309 (view-buffer): Simplify.
1310
9f562668
CY
1311 * frame.el (set-frame-font): Tweak meaning of third argument.
1312
9f6e692e
JB
1313 * dynamic-setting.el (font-setting-change-default-font):
1314 Use set-frame-font (Bug#9982).
9f562668 1315
781acb9f
GM
13162012-02-01 Glenn Morris <rgm@gnu.org>
1317
6035be52
GM
1318 * progmodes/compile.el (compilation-internal-error-properties):
1319 Respect compilation-first-column in the "*compilation*" buffer.
1320
781acb9f
GM
1321 * emacs-lisp/easy-mmode.el (define-minor-mode):
1322 Relax :variable's test for a named function.
1323
abbceb00
AM
13242012-01-31 Alan Mackenzie <acm@muc.de>
1325
1326 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1327 off by one error.
1328
fce3fdeb
CY
13292012-01-31 Chong Yidong <cyd@gnu.org>
1330
1331 * frame.el (set-frame-font): New arg ALL-FRAMES.
1332
1333 * menu-bar.el (menu-set-font): Use set-frame-font.
1334
1335 * faces.el (face-spec-reset-face): Don't apply unspecified
1336 attribute values to the default face.
1337
47893581
JB
13382012-01-31 Juanma Barranquero <lekktu@gmail.com>
1339
1340 * progmodes/cwarn.el (cwarn): Remove dead link.
1341 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1342 Remove * from defcustom docstrings.
1343 (turn-on-cwarn-mode): Make obsolete.
1344 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1345 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1346
e58e988a
GM
13472012-01-31 Glenn Morris <rgm@gnu.org>
1348
60dc2671 1349 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1350 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1351 Allow named functions to be used as the cdr of :variable.
e58e988a 1352
7a3f511d
GM
13532012-01-30 Glenn Morris <rgm@gnu.org>
1354
1355 * emacs-lisp/authors.el (authors-fixed-entries):
1356 Remove reference to deleted file rnewspost.el.
1357
cb882333
JB
13582012-01-29 Juanma Barranquero <lekktu@gmail.com>
1359
1360 * window.el (window-with-parameter): Remove unused variable `windows'.
1361 (window--side-check): Remove unused variable `code'.
1362 (window--resize-siblings): Remove unused variable `first'.
1363 (adjust-window-trailing-edge): Remove unused variable `failed'.
1364 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1365 Use `let', not `let*'.
1366 (balance-windows-2): Remove unused variable `found'.
1367 (window--state-put-2): Remove unused variable `splits'.
1368 (window-state-put): Remove unused variable `selected'.
1369 (same-window-p): Use `string-match-p'.
1370 (display-buffer-assq-regexp): Remove unused variable `value'.
1371 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1372 Mark argument ALIST as ignored.
1373 (pop-to-buffer): Remove unused variable `old-window'.
1374
907201af
EZ
13752012-01-29 Eli Zaretskii <eliz@gnu.org>
1376
1377 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1378 and .lzma compressed files.
1379
ea162670
CY
13802012-01-29 Chong Yidong <cyd@gnu.org>
1381
5b95ee8a
CY
1382 * frame.el (window-system-default-frame-alist): Doc fix.
1383
ea162670
CY
1384 * dynamic-setting.el (font-setting-change-default-font): Don't
1385 change the default face if SET-FONT argument is non-nil (Bug#9982).
1386
d6e6f4b1
SB
13872012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1388
1389 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1390
0f29fa41 13912012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1392
1393 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1394 breakpoints in files outside current directory (Bug#6098).
1395
db174434
CY
13962012-01-29 Chong Yidong <cyd@gnu.org>
1397
6b25e4e2
SE
1398 * progmodes/python.el: Require ansi-color at top-level.
1399
6df6ae42
JB
1400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1401 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1402 (lisp-mode-abbrev-table): Add doc.
1403 (lisp-mode-variables): Don't set local-abbrev-table.
1404 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1405
e70ee681
RW
14062012-01-28 Roland Winkler <winkler@gnu.org>
1407
1408 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1409
ace88aa2
RW
14102012-01-28 Roland Winkler <winkler@gnu.org>
1411
1412 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1413 (bibtex-set-dialect): Use it. Either set global values of
1414 dialect-dependent variables or bind these variables buffer-locally
1415 (Bug#10254).
1416 (bibtex-mode): Call bibtex-set-dialect via
1417 hack-local-variables-hook.
eb864a71
LM
1418 (bibtex-dialect): Update docstring.
1419 Add safe-local-variable predicate.
ace88aa2
RW
1420 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1421 bibtex-set-dialect.
1422 (bibtex-mode-map): Define menu for each dialect.
1423 (bibtex-entry): Fix docstring.
1424
93376c5b
CY
14252012-01-28 Chong Yidong <cyd@gnu.org>
1426
1427 * eshell/esh-arg.el (eshell-quote-argument): New function.
1428
1429 * eshell/esh-ext.el (eshell-invoke-batch-file):
1430 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1431 first arg to eshell-parse-command (Bug#10523).
1432
4372494f
DA
14332012-01-28 Drew Adams <drew.adams@oracle.com>
1434
1435 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1436 `default-directory' is non-nil.
1437
4d4ec1f8
EZ
14382012-01-28 Eli Zaretskii <eliz@gnu.org>
1439
1440 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1441 line that displays system-configuration-options. (Bug#9924)
1442
7c188927
DA
14432012-01-28 Drew Adams <drew.adams@oracle.com>
1444
1445 * descr-text.el (describe-char): Show information about POS, in
1446 addition to information about the character at POS. Improve and
1447 update the doc string. Change "code point" to "code point in
1448 charset", to avoid confusion with the character's Unicode code
1449 point shown above that. (Bug#10129)
1450
e0da685a
EZ
14512012-01-28 Eli Zaretskii <eliz@gnu.org>
1452
1453 * descr-text.el (describe-char): Show the raw character, not only
1454 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1455 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1456 for the reasons.
1457
70550acf
PH
14582012-01-28 Phil Hagelberg <phil@hagelb.org>
1459
eb864a71
LM
1460 * emacs-lisp/package.el (package-install):
1461 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1462
0ce8e868
CY
14632012-01-28 Chong Yidong <cyd@gnu.org>
1464
cb882333
JB
1465 * emacs-lisp/package.el (package-maybe-load-descriptor):
1466 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1467 (package-maybe-load-descriptor): Use it.
1468 (package-download-transaction): Fully load required packages
1469 inside the loop, so that `require' calls work (Bug#10593).
1470 (package-install): No need to call package-initialize now.
1471
2e7f3bea
CY
14722012-01-28 Chong Yidong <cyd@gnu.org>
1473
6e9bad14
CY
1474 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1475
f823b8ca
CY
1476 * tooltip.el (tooltip-mode): Doc fix.
1477 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1478
2680c309
CY
1479 * frame.el (set-cursor-color): Doc fix (Bug#352).
1480
d7a9e63b
CY
1481 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1482 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1483
2e7f3bea
CY
1484 * cus-edit.el (custom-buffer-create-internal): Fix search button
1485 action (Bug#10542).
2ae01800 1486 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1487
fc4f7a23
EW
14882012-01-27 Eduard Wiebe <usenet@pusto.de>
1489
1490 * dired.el (dired-mark-files-regexp):
1491 Include any subdirectory components. (Bug#10445)
1492
7dd37071
ML
14932012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1494
1495 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1496 Handle [host]:port syntax. (Bug#10533)
1497
a268160b
AH
14982012-01-27 Alex Harsanyi <harsanyi@mac.com>
1499
1500 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1501
e43273ef
GM
15022012-01-26 Glenn Morris <rgm@gnu.org>
1503
1504 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1505 * term.el (term-raw-escape-map): Use Control-X-prefix.
1506 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1507
1edf595d
MR
15082012-01-25 Martin Rudalics <rudalics@gmx.at>
1509
1510 * window.el (window-state-get, window--state-get-1): Don't deal
1511 with fixed-sizeness of windows. Simplify code.
1512
fa8eafef
JC
15132012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1514
6df6ae42
JB
1515 * window.el (window--state-get-1, window--state-put-2):
1516 Don't save and restore the mark.
fa8eafef 1517
0b21c100
CY
15182012-01-25 Chong Yidong <cyd@gnu.org>
1519
1520 * custom.el (custom-variable-p): Doc fix.
1521
5ae1a6c8
GM
15222012-01-25 Glenn Morris <rgm@gnu.org>
1523
40047858
GM
1524 * dired.el (dired-goto-file): Handle some of the more common
1525 characters that `ls -b' escapes. (Bug#10596)
1526
5ddce96c
GM
1527 * progmodes/compile.el (compilation-next-error-function):
1528 Respect compilation-first-column in the "*compilation*" buffer.
1529 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1530
5ae1a6c8
GM
1531 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1532
b559f1a9
GM
15332012-01-24 Glenn Morris <rgm@gnu.org>
1534
1535 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1536
6725d21a
JD
15372012-01-24 Julien Danjou <julien@danjou.info>
1538
1539 * color.el (color-rgb-to-hsl): Fix value computing.
1540 (color-hue-to-rgb): New function.
1541 (color-hsl-to-rgb): New function.
1542 (color-clamp, color-saturate-hsl, color-saturate-name)
1543 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1544 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1545
70df4bbe
GM
15462012-01-24 Glenn Morris <rgm@gnu.org>
1547
1548 * vc/vc-rcs.el (vc-rcs-create-tag):
1549 * vc/vc-sccs.el (vc-sccs-create-tag):
1550 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1551
802a2ae2
ML
15522012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1553
1554 * eshell/esh-util.el (eshell-read-hosts-file):
1555 Skip comment lines. (Bug#10549)
1556
d7128bb1
ML
1557 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1558
d1a5c3b4
JB
15592012-01-23 Juanma Barranquero <lekktu@gmail.com>
1560
2724d9c7
JB
1561 * subr.el (display-delayed-warnings): Doc fix.
1562 (collapse-delayed-warnings): New function to collapse identical
1563 adjacent warnings.
1564 (delayed-warnings-hook): Add it.
d1a5c3b4 1565
a5509865
MA
15662012-01-22 Michael Albinus <michael.albinus@gmx.de>
1567
1568 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1569
1570 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1571 properties, when "login-as" is set.
1572
1573 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1574 (tramp-default-user-alist): Don't add "pscp".
1575 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1576 property "login-as", if set. (Bug#10530)
1577
cc6d5805
MA
15782012-01-21 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1581 "plink1" and "psftp". (Bug#10530)
1582
15832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1584
1585 * international/mule-cmds.el (prefer-coding-system): Show a
1586 warning message if the default value of file-name-coding-system
1587 was not changed.
1588
f0960428
JC
15892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1590
cb882333
JB
1591 * windmove.el (windmove-reference-loc):
1592 Fix windmove-reference-loc miscalculation.
f0960428 1593
dd6f2a63
JB
15942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1595
1596 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1597 default unit.
1598
7b447e9b
GM
15992012-01-21 Glenn Morris <rgm@gnu.org>
1600
117a9ea1
GM
1601 * international/mule.el (auto-coding-alist): Add .tbz.
1602
7b447e9b
GM
1603 * files.el (local-enable-local-variables): Doc fix.
1604 (inhibit-local-variables-regexps): Rename from
1605 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1606 Doc fix. Add some extensions from auto-coding-alist.
1607 (inhibit-local-variables-suffixes):
1608 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1609 (inhibit-local-variables-p):
1610 New function, extracted from set-auto-mode-1.
1611 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1612 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1613 (hack-local-variables): Doc fix. Make the mode-only case
1614 respect enable-local-variables and friends.
1615 Respect inhibit-local-variables-regexps for file-locals, but
1616 not for directory-locals.
1617 (set-visited-file-name):
1618 Take account of inhibit-local-variables-regexps.
1619 Whether it applies may change as the file name is changed.
1620 * jka-cmpr-hook.el (jka-compr-install):
1621 * jka-compr.el (jka-compr-uninstall):
1622 Update for inhibit-first-line-modes-suffixes name change.
1623
dd6e3cdd
MR
16242012-01-20 Martin Rudalics <rudalics@gmx.at>
1625
1626 * help-macro.el (make-help-screen): Temporarily restore original
1627 binding for minor-mode-map-alist (Bug#10454).
1628
0d0deb38
JD
16292012-01-19 Julien Danjou <julien@danjou.info>
1630
1631 * color.el (color-name-to-rgb): Use the white color to find the max
1632 color component value and return correctly computed values.
1633 (color-name-to-rgb): Add missing float conversion for max value.
1634
34a02f46
MR
16352012-01-19 Martin Rudalics <rudalics@gmx.at>
1636
1637 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1638 special state value for window-persistent-parameters.
1639 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1640 (window--state-put-2): Reset all window parameters to nil before
1641 assigning values of persistent parameters.
1642
606c44c4
AM
16432012-01-18 Alan Mackenzie <acm@muc.de>
1644
1645 Eliminate sluggishness and hangs in fontification of "semicolon
1646 deserts".
1647
cb882333
JB
1648 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1649 Change value 10000 -> 3000.
606c44c4
AM
1650 (c-state-safe-place): Reformulate so it doesn't stack up an
1651 infinite number of wrong entries in c-state-nonlit-pos-cache.
1652 (c-determine-limit-get-base, c-determine-limit): New functions to
1653 determine backward search limits disregarding literals.
1654 (c-find-decl-spots): Amend commenting.
1655 (c-cheap-inside-bracelist-p): New function which detects "={".
1656
1657 * progmodes/cc-fonts.el
1658 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1659 backward search.
1660 (c-font-lock-declarations): Fix an occurrence of point being
1661 undefined. Check additionally for point being in a bracelist or
1662 near a macro invocation without a semicolon so as to avoid a
1663 fruitless time consuming search for a declarator. Give a more
1664 precise search limit for declarators using the new
1665 c-determine-limit.
1666
f3860cea
GM
16672012-01-18 Glenn Morris <rgm@gnu.org>
1668
1669 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1670 (set-auto-mode): Doc fixes.
1671
1db03b16
GM
16722012-01-17 Glenn Morris <rgm@gnu.org>
1673
0e6038be
GM
1674 * isearch.el (search-nonincremental-instead): Fix doc typo.
1675
1db03b16
GM
1676 * dired.el (dired-insert-directory): Handle newlines in directory name.
1677 (dired-build-subdir-alist): Unescape newlines in directory name.
1678
4cb0aa75
MA
16792012-01-17 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1682 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1683 (tramp-action-terminal): Use it. (Bug#10530)
1684
1d00653d
SM
16852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1688
6a6ee00d
MR
16892012-01-16 Martin Rudalics <rudalics@gmx.at>
1690
1691 * window.el (window-state-ignored-parameters): Remove variable.
1692 (window--state-get-1): Rename argument MARKERS to IGNORE.
1693 Handle persistent window parameters. Make copy of clone-of
1694 parameter only if requested. (Bug#10348)
1695 (window--state-put-2): Install a window parameter only if it has
1696 a non-nil value or an existing parameter shall be overwritten.
1697
97912def
MA
16982012-01-15 Michael Albinus <michael.albinus@gmx.de>
1699
1700 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1701
688070a5
EZ
17022012-01-14 Eli Zaretskii <eliz@gnu.org>
1703
1704 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1705 don't pass the (nil) value of `upnode' to string-match.
1706
301afadc
CY
17072012-01-14 Chong Yidong <cyd@gnu.org>
1708
1709 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1710 Fix values recognized by the cursorBlink resource.
301afadc 1711
9e5788aa
PE
17122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1713
1714 * epg.el (epg--make-temp-file): Avoid permission race condition
1715 when running on old Emacs versions (bug#10403).
1716
3cdb7f5a
GM
17172012-01-14 Glenn Morris <rgm@gnu.org>
1718
1719 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1720
8c82b1b4
AM
17212012-01-13 Alan Mackenzie <acm@muc.de>
1722
1723 Fix filling for when filladapt mode is enabled.
1724
1725 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1726 c-mask-paragraph, pass in `fill-paragraph' rather than
1727 `fill-region-as-paragraph'. (This is a reversion of a previous
1728 change.)
eb864a71
LM
1729 * progmodes/cc-mode.el (c-basic-common-init):
1730 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1731
e517eda4
GM
17322012-01-13 Glenn Morris <rgm@gnu.org>
1733
1498536e
GM
1734 * dired.el (dired-switches-escape-p): New function.
1735 (dired-insert-directory): Use dired-switches-escape-p.
1736 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1737
e517eda4
GM
1738 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1739
328f984d
GM
17402012-01-12 Glenn Morris <rgm@gnu.org>
1741
1742 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1743 changes in adaptive-fill-regexp. (Bug#10276)
1744
2cc769a8
AM
17452012-01-11 Alan Mackenzie <acm@muc.de>
1746
1747 Fix Emacs bug #10463 - put `widen's around the critical spots.
1748
1d00653d 1749 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1750 widen around each invocation of c-state-pp-to-literal. Remove an
1751 unused let variable.
1752
e52c37fa
GM
17532012-01-11 Glenn Morris <rgm@gnu.org>
1754
1755 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1756 Doc fix.
e52c37fa 1757
96f8741e
CY
17582012-01-10 Chong Yidong <cyd@gnu.org>
1759
1d00653d
SM
1760 * net/network-stream.el (network-stream-open-starttls):
1761 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1762 response to the capability command.
1763
b09a806e
GM
17642012-01-10 Glenn Morris <rgm@gnu.org>
1765
1766 * mail/unrmail.el (unrmail): Tweak previous change.
1767
7655cb66
CY
17682012-01-09 Chong Yidong <cyd@gnu.org>
1769
1770 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1771
9d5a8f0b
AM
17722012-01-08 Alan Mackenzie <acm@muc.de>
1773
1774 Optimise font locking in long enum definitions.
1775
1776 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1777 arm to a cond form to handle enums.
1778 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1779 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1780
9a0115ab 17812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1782
1783 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1784 (Bug#10401)
6bb72cbd 1785
f186bb95
LMI
17862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1787
29232a68
LMI
1788 * faces.el (set-face-attribute): Clarify the meaning of the nil
1789 frame (bug#10294).
1790
4e5d086d
LMI
1791 * subr.el (with-selected-frame): Mention that the selected frame
1792 is restored (bug#9980).
1793
8e66aebe
LMI
1794 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1795 (bug#9759).
1796
cd394be1 1797 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1798 (password-read): Don't autoload unused function.
1799
adf4e762
JB
18002012-01-07 Juanma Barranquero <lekktu@gmail.com>
1801
1802 * progmodes/which-func.el (which-func-mode): Turn into a
1803 non-interactive function and mark as obsolete (bug#10428).
1804
89bd9ccd
CY
18052012-01-06 Chong Yidong <cyd@gnu.org>
1806
1807 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1808 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1809 functions, along with 1 and -1.
1810
4afee9d5
EZ
18112012-01-06 Eli Zaretskii <eliz@gnu.org>
1812
1813 * time.el (display-time-load-average)
1814 (display-time-default-load-average): Doc fixes. See the thread
1815 starting at
1816 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1817 for the details.
1818
536aea70
GM
18192012-01-06 Glenn Morris <rgm@gnu.org>
1820
665ae865
GM
1821 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1822 has no messages. (Bug#10377)
1823
c869783d
GM
1824 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1825 than Info-edit. (Bug#10385)
1826
2bb4227e
GM
1827 * time.el (display-time-load-average, display-time-next-load-average):
1828 Doc fixes.
1829
7d5944b9
GM
1830 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1831 local setting of buffer-read-only to the input buffer. (Bug#10419)
1832
536aea70
GM
1833 * calendar/calendar.el (calendar-mode):
1834 Locally set scroll-margin to 0. (Bug#10379)
1835
7dccca16
UM
18362012-01-06 Ulrich Mueller <ulm@gentoo.org>
1837
1838 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1839
afbb7930
GM
18402012-01-05 Glenn Morris <rgm@gnu.org>
1841
1842 * eshell/em-unix.el (diff-no-select): Autoload it.
1843 (eshell/diff): Use diff-no-select. (Bug#10420)
1844
04482335
CY
18452012-01-05 Chong Yidong <cyd@gnu.org>
1846
7baca3bc
CY
1847 * shell.el (shell-dynamic-complete-functions): Revert last change.
1848 (shell-command-completion-function): New function.
1849 (shell-completion-vars): Use it to implement
1850 shell-completion-execonly (Bug#10417).
1851
04482335
CY
1852 * custom.el (enable-theme): Don't set custom-safe-themes.
1853
1d00653d
SM
1854 * cus-theme.el (custom-theme-merge-theme):
1855 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1856
bb5aa5d6
MM
18572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1858
1859 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1860 first prompt in `sql-interacive-mode'.
1861 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1862 keywords.
6df6ae42 1863 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1864 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1865 context of original buffer. Invoke `sql-login-hook'.
1866
a7183d7c
EZ
18672012-01-04 Eli Zaretskii <eliz@gnu.org>
1868
1869 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1870 letters in cite-prefix.
1871
a1eacd1e
LMI
18722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1873
1874 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1875
787cdb34
CY
18762012-01-03 Chong Yidong <cyd@gnu.org>
1877
1d00653d
SM
1878 * shell.el (shell-dynamic-complete-functions):
1879 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1880 comint-filename-completion first (Bug#10417).
1881
30710442
RS
18822012-01-02 Richard Stallman <rms@gnu.org>
1883
1884 * battery.el (battery-status-function):
1885 Detect when to use battery-yeeloong-sysfs.
1886 (battery-echo-area-format): Add string for Yeeloong.
1887 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1888 (battery-yeeloong-sysfs): New function.
1889
f75bfc33
CY
18902012-01-02 Chong Yidong <cyd@gnu.org>
1891
1892 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1893 (dirtrack): Merge code for handling relative filenames in prompt
1894 from shell-dir-cookie-watcher.
1895 (dirtrack-debug-message): New arg to avoid excess format calls.
1896
1897 * shell.el (shell-dir-cookie-re): Variable deleted.
1898 (shell-dir-cookie-watcher): Function deleted.
1899 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1900 with dirtrack-mode.
1901
651e947e
EZ
19022012-01-01 Eli Zaretskii <eliz@gnu.org>
1903
1d00653d
SM
1904 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1905 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1906 libgnutls-26.dll.
1907
94d4c7dc
AS
19082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1909
1910 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1911
8d43f3cd
EZ
19122011-12-31 Eli Zaretskii <eliz@gnu.org>
1913
1914 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1915 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1916
98c8795a
MA
19172011-12-29 Michael Albinus <michael.albinus@gmx.de>
1918
1919 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1920 also for alternative shells.
1921 (tramp-open-connection-setup-interactive-shell): Check, whether
1922 the shell is a busybox.
1923 (tramp-send-command): Don't suppress multiple prompts for
1924 busyboxes, it hurts.
1925
51281b32
CY
19262011-12-28 Chong Yidong <cyd@gnu.org>
1927
1928 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1929 (gdb-get-source-file): Move mode line update to
1930 gdb-get-source-file (Bug#10087).
1931
2170cb53
CY
19322011-12-25 Chong Yidong <cyd@gnu.org>
1933
1934 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1935 gud-gdb-marker-filter without taking it as an argument.
1936 (gud-gdb-run-command-fetch-lines): Caller changed.
1937 (gud-gdb-completion-function): New variable.
1938 (gud-gdb-completion-at-point): Use it.
1939 (gud-gdb-completions-1): Split from gud-gdb-completions.
1940
1941 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1942 function as separate arguments.
1943 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1944 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1945 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1946 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1947 (gdb-stopped, def-gdb-auto-update-trigger)
1948 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1949 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1950 Callers changed.
2170cb53
CY
1951 (gud-gdbmi-completions): New function.
1952 (gdb): Use it for generating the completion table.
1953
be8b11bb
AM
19542011-12-24 Alan Mackenzie <acm@muc.de>
1955
1956 Introduce a mechanism to widen the region used in context font
1d00653d 1957 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1958
1d00653d
SM
1959 * progmodes/cc-langs.el (c-before-font-lock-functions):
1960 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1961 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1962 functions to be run just before context (etc.) font locking.
1963
1964 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1965 New, functionality extracted from
be8b11bb 1966 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1967 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1968 (c-after-change): Set c-in-after-change-fontification.
1969 (c-set-fl-decl-start): Rejig its interface, so it can be called
1970 from both after-change and context fontifying.
b81d40f0
JB
1971 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1972 New functions.
1973 (c-standard-font-lock-fontify-region-function): New variable.
1974 (c-font-lock-fontify-region): New function.
be8b11bb 1975
341cf6ac
JL
19762011-12-24 Juri Linkov <juri@jurta.org>
1977
1978 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1979 (Bug#10348)
1980
bffcee0a
MA
19812011-12-23 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1984 existence of source file. (Bug#10325)
1985
cb5e207c
AM
19862011-12-23 Alan Mackenzie <acm@muc.de>
1987
1988 Fix unstable fontification inside templates.
1989
b81d40f0
JB
1990 * progmodes/cc-langs.el (c-before-font-lock-functions):
1991 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1992 additionally has c-set-fl-decl-start. The other languages (apart
1993 from AWK) have that as a single entry.
1994
b81d40f0
JB
1995 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1996 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1997 c-set-fl-decl-start.
1998
b81d40f0
JB
1999 * progmodes/cc-mode.el (c-common-init, c-after-change):
2000 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2001 (c-set-fl-decl-start): New function, extracted from
2002 c-font-lock-enclosing-decls and enhanced.
2003
60ff536c
JB
20042011-12-23 Juanma Barranquero <lekktu@gmail.com>
2005
2006 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2007
1c4757d6
JL
20082011-12-22 Juri Linkov <juri@jurta.org>
2009
2010 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2011
d031f2c7
CY
20122011-12-22 Chong Yidong <cyd@gnu.org>
2013
2014 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2015
bace743a
DA
20162011-12-21 Drew Adams <drew.adams@oracle.com>
2017
2018 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2019
728a1f2b
JC
20202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2021
2022 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2023
0d373f73
TZ
20242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2025
fec0aaa4
TZ
2026 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2027 highlighting and support. Fix up comments for capitalization.
2028 (cfengine-mode-debug): New var.
2029 (cfengine3-mode): Change the modeline indicator to "CFE3".
2030 (cfengine3-font-lock-keywords): Improve defun highlighting.
2031 (cfengine2-actions): Rename from `cfengine-actions'.
2032 (cfengine2-font-lock-keywords): Rename from
2033 `cfengine-font-lock-keywords'.
2034 (cfengine2-imenu-expression): Rename from
2035 `cfengine-imenu-expression'.
2036 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2037 (cfengine2-beginning-of-defun): Rename from
2038 `cfengine-beginning-of-defun'.
2039 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2040 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2041 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2042 modeline indicator to "CFE2".
2043 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2044 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2045
bc86f573
CY
20462011-12-21 Chong Yidong <cyd@gnu.org>
2047
2048 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2049 filename argument.
2050
d45ba96b
MR
20512011-12-20 Martin Rudalics <rudalics@gmx.at>
2052
2053 * window.el (window-normalize-buffer-to-display): Remove.
2054 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2055
a6198c90
CY
20562011-12-19 Chong Yidong <cyd@gnu.org>
2057
2058 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2059 Don't signal an error in a predicate function; return non-nil.
2060 (vc-dir-mark-file): Move the error here.
2061 (vc-dir-mark-unmark): If acting on the region, keep going if one
2062 of the entries cannot be marked/unmarked.
2063 (vc-dir-mark-all-files): If current entry is a directory, mark
2064 only child files, as documented.
2065
34c5fb55
VB
20662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2067
2068 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2069 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2070 addition.
2071
c803b2b7
JD
20722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2073
2074 * term/ns-win.el (ns-get-selection-internal)
2075 (ns-store-selection-internal): Declare.
1154d12e
JB
2076 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2077 Declare as obsolete.
2078 (ns-get-pasteboard, ns-paste-secondary):
2079 Use ns-get-selection-internal.
2080 (ns-set-pasteboard, ns-copy-including-secondary):
2081 Use ns-store-selection-internal.
c803b2b7 2082
9cff91f8 20832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2084
2085 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2086 (vc-deduce-fileset): Doc fix.
99a289d9 2087
f16c898a
AS
20882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2089
2090 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2091
763237c4
SS
20922011-12-13 Sam Steingold <sds@gnu.org>
2093
2094 * man.el (Man-getpage-in-background): When running under a
2095 window-system, ignore $MANWIDTH and $COLUMNS.
2096
5fc1c122
KH
20972011-12-15 Kenichi Handa <handa@m17n.org>
2098
2099 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2100 (setup-ethiopic-environment-internal): Comment out key-binding for
2101 ethio-toggle-punctuation.
2102
13d49cbb
AM
21032011-12-13 Alan Mackenzie <acm@muc.de>
2104
898169a2
AM
2105 Add the switch statement to AWK Mode.
2106
7a71b18d 2107 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2108 "default" to the keywords regexp.
2109
7a71b18d 2110 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2111 expression as the rest.
1d00653d
SM
2112 (c-nonlabel-token-key): Allow string literals for AWK.
2113 Refactor for the other modes.
898169a2 2114
13d49cbb 2115 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2116 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2117 routines. Limit backward searching in c-font-lock-enclosing.decl.
2118
2119 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2120 pp-state and literal type in addition to the limits.
1d00653d 2121 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2122 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2123 (c-slow-in-literal, c-fast-in-literal): Remove.
2124 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2125
2126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2127 being in a literal. Add a limit for backward searching.
2128
2129 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2130 c-slow-in-literal.
2131
15e0efc7
SM
21322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2135
454592a6
MR
21362011-12-13 Martin Rudalics <rudalics@gmx.at>
2137
2138 * window.el (delete-other-windows): Use correct frame in call to
2139 window-with-parameter.
2140
87393f26
DP
21412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2142
2143 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2144 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2145 (makefile-gmake-statements, makefile-makepp-statements):
2146 Use it and add new makepp keywords.
2147 (makefile-makepp-font-lock-keywords): Add new patterns.
2148 (makefile-match-function-end): Match new [...] and [[...]].
2149
11636b22
JB
21502011-12-11 Juanma Barranquero <lekktu@gmail.com>
2151
2152 * ses.el (ses-call-printer-return, ses-cell-property-get)
2153 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2154 (ses-create-cell-variable, ses-reset-header-string)
2155 (ses-cell-set-formula, ses-repair-cell-reference-all)
2156 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2157 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2158 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2159 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2160 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2161 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2162 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2163 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2164 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2165 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2166 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2167 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2168
cf018193
VB
21692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2170
2171 * ses.el: The overall change is to add cell renaming, that is
2172 setting fancy names for cell symbols other than name matching
2173 "\\`[A-Z]+[0-9]+\\'" regexp .
2174 (ses-create-cell-variable): New defun.
2175 (ses-relocate-formula): Relocate formulas only for cells the
2176 symbols of which are not renamed, i.e. symbols whose names do not
2177 match regexp "\\`[A-Z]+[0-9]+\\'".
2178 (ses-relocate-all): Relocate values only for cells the symbols of
2179 which are not renamed.
2180 (ses-load): Create cells variables as the (ses-cell ...) are read,
2181 in order to check row col consistency with cell symbol name only
2182 for cells that are not renamed.
2183 (ses-replace-name-in-formula): New defun.
2184 (ses-rename-cell): New defun.
2185
ee957461
CY
21862011-12-11 Chong Yidong <cyd@gnu.org>
2187
2188 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2189 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2190
9a9e9ef0
MR
21912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2192
2193 * window.el (other-window): Fix docstring.
2194
92a8eba5
EZ
21952011-12-10 Eli Zaretskii <eliz@gnu.org>
2196
2197 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2198 `from' or `to' address before taking its substring.
2199 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2200 encoded name is chopped in the middle of the encoded string, and
2201 thus displayed encoded.
2202
e152e577
JB
22032011-12-10 Juanma Barranquero <lekktu@gmail.com>
2204
2205 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2206
e5d84bfe
EZ
22072011-12-10 Eli Zaretskii <eliz@gnu.org>
2208
2209 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2210 to use texinfo-update-node and commands that call it if the
2211 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2212 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2213 (texinfo-all-menus-update, texinfo-master-menu)
2214 (texinfo-update-node, texinfo-every-node-update)
2215 (texinfo-multiple-files-update): Doc fix. Warn against updating
2216 all the @node lines.
2217 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2218 argument is numeric. Explain better in the doc string what the
2219 function really does.
2220 (texinfo-insert-master-menu-list): Improve the error message
2221 displayed if there's no menu in the Top node.
2222 (Bug#2975) See also this thread:
e5d84bfe
EZ
2223 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2224
1d84e9bb
MG
22252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2226
2227 * speedbar.el (speedbar-supported-extension-expressions):
2228 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2229
382c953b
JB
22302011-12-09 Juanma Barranquero <lekktu@gmail.com>
2231
2232 * printing.el (pr-mode-alist):
2233 * simple.el (filter-buffer-substring-functions)
2234 (completion-list-insert-choice-function):
2235 * window.el (window-with-parameter, window-atom-root)
2236 (window-sides-slots, window-size-fixed, window-min-delta)
2237 (window-max-delta, window--resize-mini-window)
2238 (window--resize-child-windows-normal, window-tree)
2239 (delete-other-windows, quit-window, split-window)
2240 (display-buffer-record-window, special-display-buffer-names)
2241 (special-display-regexps, special-display-popup-frame)
2242 (same-window-p, split-window-sensibly)
2243 (display-buffer-overriding-action, display-buffer-alist)
2244 (display-buffer-base-action, display-buffer, switch-to-buffer)
2245 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2246 (fit-window-to-buffer, recenter-positions)
2247 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2248 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2249 and remove unneeded backslashes in docstrings.
2250
39c9faef
SM
22512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2252
98449af8
SM
2253 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2254
39c9faef
SM
2255 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2256 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2257 end in ".mk".
2258 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2259 when reading the makefile (bug#10116).
2260
86ed9fdc
SM
22612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2264 (bug#10116).
2265
5580f89d
GM
22662011-12-06 Glenn Morris <rgm@gnu.org>
2267
2268 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2269
28d3917c
CY
22702011-12-06 Chong Yidong <cyd@gnu.org>
2271
2272 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2273
a98edce9
JB
22742011-12-06 Juanma Barranquero <lekktu@gmail.com>
2275
2276 * textmodes/table.el (table-shorten-cell): Fix typo.
2277
e65adfac
CG
22782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2279
2280 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2281
71cc0b74
EZ
22822011-12-05 Eli Zaretskii <eliz@gnu.org>
2283
2284 * descr-text.el (describe-char): Fix display of strong
2285 right-to-left characters and directional embeddings and overrides.
2286
2287 * simple.el (what-cursor-position): Fix display of codepoints of
2288 strong right-to-left characters.
2289
315bc30d
CY
22902011-12-05 Chong Yidong <cyd@gnu.org>
2291
2292 * faces.el (read-color): Doc fix.
2293
58a70b94
GM
22942011-12-05 Glenn Morris <rgm@gnu.org>
2295
2296 * align.el (align--set-marker): Add doc-string.
2297 Don't try to move something that is not a marker. (Bug#10216)
2298
5158face
GM
22992011-12-04 Glenn Morris <rgm@gnu.org>
2300
2301 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2302 overly zealous deletion of trailing whitespace.
2303
520fca41
JB
23042011-12-04 Juanma Barranquero <lekktu@gmail.com>
2305
2306 * server.el (server-delete-client): On Windows, do not try to delete
2307 the only terminal.
2308 (server-process-filter): On Windows, treat requests for a tty frame as
2309 if they were for a GUI frame if the running server is in GUI mode.
2310
5e605a2e
GM
23112011-12-03 Glenn Morris <rgm@gnu.org>
2312
2313 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2314
5c3fe83f
SM
23152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2316
6f5e57e7
SM
2317 * electric.el: Streamline electric-indent's hook.
2318 (electric-indent-chars): Revert to simple list.
2319 (electric-indent-functions): New var.
2320 (electric-indent-post-self-insert-function): Use it.
2321
5c3fe83f
SM
2322 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2323 there's no inferior buffer (bug#10196).
2324 (prolog-consult-compile): Don't use toggle-read-only.
2325
6bdac736
MA
23262011-12-02 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2329 interrupt. (Bug#10187)
2330
6131ba7f
SM
23312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2332
99c79fee
SM
2333 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2334 (bug#9160).
2335
6131ba7f
SM
2336 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2337 (bug#10191).
2338
cb0a02ea
JL
23392011-12-02 Juri Linkov <juri@jurta.org>
2340
2341 * info.el (Info-search): Display "end of manual" when Isearch
2342 reaches the end of single-file Info manual. (Bug#9918)
2343
66e0570c
EZ
23442011-12-02 Eli Zaretskii <eliz@gnu.org>
2345
2346 * isearch.el (isearch-message-prefix): Run the input method part
2347 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2348
02b16839
JL
23492011-12-02 Juri Linkov <juri@jurta.org>
2350
2351 * isearch.el (isearch-occur): Use `word-search-regexp' for
2352 `isearch-word'.
2353 (isearch-search-and-update): Add condition for `isearch-word' and
2354 call `word-search-regexp'. (Bug#10145)
2355
0b950688
GM
23562011-12-01 Glenn Morris <rgm@gnu.org>
2357
2358 * eshell/em-hist.el (eshell-hist-initialize):
2359 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2360 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2361
9505c3c7
SM
23622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2365
1bbe96b2 23662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2367
a1beca85
SM
2368 * progmodes/verilog-mode.el (verilog-pretty-expr):
2369 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2370 verilog, such as += *= and the like.
2371 (verilog-assignment-operator-re): Regular expression to find the
2372 assigment operator in a verilog assignment.
2373 (verilog-assignment-operation-re): Regular expression to find an
2374 assignment statement for pretty-expr.
2375 (verilog-in-attribute-p): Query returns true if point is in an
2376 attribute context; used to skip these for expression line up from
2377 pretty-expr.
2378 (verilog-in-parameter-p): Query returns true if point is in an
2379 parameter definition context; used to skip these for expression
2380 line up from pretty-expr.
2381 (verilog-in-parenthesis-p): Query returns true if point is in a
2382 parenthetical expression, specifically ( ) but not [ ] or { };
2383 used by pretty-expr.
2384 (verilog-just-one-space): If there is no space, don't add one.
2385 (verilog-get-lineup-indent-2): Specifically skip just attribute
2386 contexts for expression lineup, rather than skipping all
2387 parenthetical expressions.
2388 (verilog-calculate-indent): Fix comment, and fix indent.
2389 (verilog-do-indent): Indent declarations in lists (suggested by
2390 Joachim Lechner).
2391 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2392 skeleton items.
2393 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2394 by Alain Mellan).
2395
1bbe96b2 23962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2397
2398 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2399 parameters with embedded comments. Reported by Ray Stevens.
2400 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2401 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2402 Reported by Tim Holt.
2403 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2404 instantiated by upper module causing wrong expansion until AUTOed a
2405 second time. Reported by K C Buckenmaier.
2406 (verilog-diff-auto): Fix showing .* as a difference when
2407 `verilog-auto-star-save' off. Reported by Dan Dever.
2408 (verilog-auto-reset, verilog-read-always-signals)
2409 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2410 temporary signals in reset list if
2411 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2412 style to each signal's assignment type, bug381.
2413 Reported by Thomas Esposito.
6288f0ca
WS
2414 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2415 (verilog-uvm-statement-re): Support UVM indentation and
2416 highlighting, with old OVM keywords only.
a1beca85 2417 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2418 Support AUTOTIEOFF creating non-wire data types.
2419 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2420 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2421 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2422 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2423 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2424 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2425 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2426 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2427 non-numeric vector width. Reported by Alex Reed.
2428 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2429 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2430 (verilog-auto-delete-trailing-whitespace):
2431 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2432 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2433 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2434 Fix verilog-scan-cache corruption when running user AUTO expansion
2435 hooks that call indentation routines.
2436 (verilog-simplify-range-expression): Fix typo ignoring lower case
2437 identifiers.
2438 (verilog-delete-auto): Fix delete-autos to also remove user created
2439 automatics, as long as they start with AUTO.
2440 (verilog-batch-diff-auto, verilog-diff-auto)
2441 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2442 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2443 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2444 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2445 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2446 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2447 is disabled and its cache will get corrupt, causing AUTOS not to
2448 expand. Instead use only -quick functions.
2449 (verilog-scan-region): Fix scanning over escaped quotes.
2450 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2451 (verilog-re-search-backward-quick)
2452 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2453 related functions now ignore strings, to fix misparsing of strings
2454 with magic comments embedded in them.
a1beca85
SM
2455 (verilog-read-auto-template):
2456 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2457 Reported by Brad Dobbie.
2458 (verilog-read-auto-template):
2459 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2460 Reported by Brad Dobbie.
6288f0ca
WS
2461 (verilog-auto-inst, verilog-auto-inst-param)
2462 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2463 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2464 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2465 debugging templates without merge conflicts, bug357.
2466 Reported by Brad Dobbie.
2467 (verilog-read-auto-template):
2468 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2469 Reported by Brad Dobbie.
2470 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2471 abbrevs so user won't be asked to save.
2472 (verilog-read-auto-lisp-present): Fix to start at beginning of
2473 buffer in case called outside of verilog-auto.
2474 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2475 to "X-2". Reported by Matthew Myers.
2476 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2477 all inputs from module templates. Reported by Leith Johnson.
2478 (verilog-module-inside-filename-p): Fix locating programs as with
2479 modules.
2480 (verilog-auto-inst-port): Fix vl-width expressions when using
2481 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2482 (verilog-decls-get-regs, verilog-decls-get-signals,
2483 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2484 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2485 verilog-read-decls): Combine reg and wire structures into one var
2486 structure to represent SystemVerilog concepts.
2487 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2488 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2489 (verilog-auto-wire-type, verilog-insert-definition):
2490 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2491 SystemVerilog "logic" keyword instead of "wire"/"reg".
2492 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2493 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2494 ifdef or generate if so there's not a driver conflict).
2495 Reported by Matthew Myers.
2496 (verilog-auto-declare-nettype, verilog-insert-definition):
2497 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2498 `default_nettype none. Reported by Julian Gorfajn.
2499 (verilog-read-always-signals-recurse, verilog-read-decls)
2500 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2501 malformed end statement, bug325. Reported by Joshua Wise and
2502 Andrew Drake.
2503 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2504 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2505 when expanding .* in interfaces, bug320.
2506 Reported by Pierre-David Pfister.
6288f0ca 2507 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2508 name and open parenthesis, bug317.
2509 Reported by Pierre-David Pfister.
6288f0ca
WS
2510 (verilog-simplify-range-expression): Fix simplification of
2511 multiplications inside AUTOWIRE connections, bug303.
2512 (verilog-auto-inst-port): Support parameter expansion in
2513 multidimensional arrays.
2514 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2515 after "assert property". Reported by Julian Gorfajn.
2516 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2517 with multiplication, bug303.
2518 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2519 Reported by Jan Frode Lonnum.
2520
1bbe96b2
GM
25212011-11-30 Juanma Barranquero <lekktu@gmail.com>
2522
2523 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2524 (hfy-shell-file-name, hfy-shell):
2525 * international/fontset.el (x-decompose-font-name): Fix typos.
2526
25272011-11-29 Ken Brown <kbrown@cornell.edu>
2528
2529 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2530 (gdb-version): Remove defvar.
2531 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2532 (gdb-gud-context-command, gdb-non-stop-handler)
2533 (gdb-current-context-command, gdb-stopped): Use it.
2534 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2535 (gdb-non-stop-handler): Don't enable pretty-printing here.
2536 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2537 non-stop mode. Use the following.
2538 (gdb-check-target-async): New defun.
2539 (gud-watch, gdb-stopped): Fix whitespace.
2540 (gdb-get-source-file): Don't try to display the source file if
2541 `gdb-main-file' is nil.
2542
25432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * align.el: Try to generate fewer markers (bug#10047).
2546 (align--set-marker): New macro.
2547 (align-region): Use it.
2548
c935221f
SM
25492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2552
e70b5064
CY
25532011-11-29 Chong Yidong <cyd@gnu.org>
2554
2555 * indent.el (indent-for-tab-command, indent-according-to-mode):
2556 Doc fix.
2557 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2558
f3af92b7
MA
25592011-11-29 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2562 aware of remote file names. (Bug#10124)
2563
ed472be9
CY
25642011-11-29 Chong Yidong <cyd@gnu.org>
2565
2566 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2567
24510c22
SM
25682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * files.el (find-file): Don't use force-same-window (bug#10144).
2571 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2572 use pop-to-buffer if the selected window can't be used.
2573 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2574
c60c3703
EZ
25752011-11-28 Eli Zaretskii <eliz@gnu.org>
2576
2577 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2578 special-mode-map.
2579
e95def75
CY
25802011-11-28 Chong Yidong <cyd@gnu.org>
2581
2582 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2583
c3f1c606
NR
25842011-11-27 Nick Roberts <nickrob@snap.net.nz>
2585
2586 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2587 gdb-get-source-file-list on gdb-create-source-file-list.
2588
00db469c
EZ
25892011-11-26 Eli Zaretskii <eliz@gnu.org>
2590
2591 * whitespace.el (whitespace-newline): Use a different foreground
2592 color for 16-color light-background displays.
2593
4ad3bc2a
CY
25942011-11-24 Chong Yidong <cyd@gnu.org>
2595
2596 * window.el (display-buffer--special-action): Doc fix.
2597
e9fce1ac
JB
25982011-11-25 Juanma Barranquero <lekktu@gmail.com>
2599
2600 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2601 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2602 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2603 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2604 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2605 (avl-tree-stack-first):
2606 * emacs-lisp/cconv.el (cconv--analyse-use):
2607 * net/gnutls.el (gnutls-negotiate): Fix typos.
2608
cb825e5d
GM
26092011-11-24 Glenn Morris <rgm@gnu.org>
2610
3adbe224
GM
2611 * lpr.el (lpr-windows-system, lpr-lp-system):
2612 * mail/binhex.el (binhex-begin-line):
2613 * progmodes/grep.el (grep-history, grep-find-history):
2614 * textmodes/flyspell.el:
2615 * vc/pcvs-defs.el (cvs-global-menu):
2616 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2617 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2618 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2619
321decc8
GM
2620 * net/tls.el: Fix case of "GnuTLS".
2621
420b63ad
GM
2622 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2623
cb825e5d
GM
2624 * version.el (emacs-build-system): Give it a doc-string.
2625
a0649f08
JL
26262011-11-24 Juri Linkov <juri@jurta.org>
2627
2628 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2629
c0bc0fd4
GM
26302011-11-24 Glenn Morris <rgm@gnu.org>
2631
2632 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2633 if called on a non-mime message just toggle the headers. (Bug#8006)
2634
20db1522
JB
26352011-11-24 Juanma Barranquero <lekktu@gmail.com>
2636
2637 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2638 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2639 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2640 (allout-rebullet-heading, allout-open-sibtopic)
2641 (allout-toggle-current-subtree-encryption)
2642 (allout-toggle-subtree-encryption, allout-encrypt-string)
2643 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2644 (allout-distinctive-bullets-string, allout-auto-activation):
2645 * window.el (window-normalize-buffer-to-display):
2646 * progmodes/verilog-mode.el (verilog-batch-indent):
2647 * textmodes/bibtex.el (bibtex-field-braces-opt)
2648 (bibtex-field-strings-opt):
2649 * vc/cvs-status.el (cvs-tree-merge):
2650 Fix typos.
2651
7262a87c
MA
26522011-11-23 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2655 `non-essential' to t, in order to avoid remote connections.
2656
283430a1
EZ
26572011-11-23 Eli Zaretskii <eliz@gnu.org>
2658
a1beca85
SM
2659 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2660 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2661 case-insensitively.
2662
d2992a38
ML
26632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2664
2665 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2666
50419064
GM
26672011-11-23 Glenn Morris <rgm@gnu.org>
2668
da94eca1
GM
2669 * paths.el (rmail-file-name): Reformat the doc-string so that it
2670 is picked up.
2671
9aac4de2
GM
2672 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2673 (rmail-auto-file): Ignore case in the "special" field names,
2674 as mail-fetch-field does for all others.
2675
8038d2d2
GM
2676 * mail/rmail.el (rmail-forward):
2677 * mail/rmailkwd.el (rmail-set-label):
2678 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2679 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2680
f3fe222a
GM
2681 * mail/rmail.el (rmail-current-message): Doc fix.
2682
50419064
GM
2683 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2684
28109f49
SM
26852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2688
394c65f1
GM
26892011-11-22 Glenn Morris <rgm@gnu.org>
2690
2691 * mail/rmailmm.el (test-rmail-mime-handler)
2692 (test-rmail-mime-bulk-handler)
2693 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2694
f2a0aa3a
JL
26952011-11-21 Juri Linkov <juri@jurta.org>
2696
1154d12e
JB
2697 * calc/calc.el (calc-read-key-sequence):
2698 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2699
9c34a344
LMI
27002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2701
2702 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2703 Tell the caller that the next line needs recomputation, even
2704 though it doesn't start a sexp (bug#10094).
2705
f04a3be9
SM
27062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2709
7978747f
SM
27102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2711
f04a3be9
SM
2712 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2713 Use force-same-window.
7978747f 2714
fe7a3057
JB
27152011-11-20 Juanma Barranquero <lekktu@gmail.com>
2716
2717 * descr-text.el (describe-char-unicode-data):
2718 * json.el (json-string-escape):
2719 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2720 (Footnote-unicode, Footnote-style-p):
2721 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2722
24901d61
CY
27232011-11-20 Chong Yidong <cyd@gnu.org>
2724
2725 * window.el (replace-buffer-in-windows): Restore interactive spec.
2726
bac7ff22
SM
27272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2728
24f3d7b9
SM
2729 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2730
bac7ff22
SM
2731 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2732 (byte-compile-global-not-obsolete-vars): New var.
2733 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2734 Use it.
2735 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2736
cd1181db
JB
27372011-11-20 Juanma Barranquero <lekktu@gmail.com>
2738
2739 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2740 * progmodes/pascal.el (electric-pascal-equal):
2741 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2742 * xml.el (xml-substitute-special): Fix typos.
2743
7fb18e9e
GM
27442011-11-20 Glenn Morris <rgm@gnu.org>
2745
2746 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2747 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2748 Doc fixes.
2749 (rmail-decode-mime-charset): Mark as obsolete.
2750
2751 * mail/rmailsum.el (rmail-message-regexp-p-1):
2752 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2753 Before using mime functions, check they are set. (Bug#10077)
2754
d5a6b3ba
JL
27552011-11-19 Juri Linkov <juri@jurta.org>
2756
2757 * info.el (Info-finder-find-node): Use `package--builtins' instead
2758 of `package-alist'. Use node names formed by the pattern "Keyword "
2759 and the keyword name.
2760
e981b61f
AS
27612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2762
1d00653d 2763 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2764
3ffbc301
JL
27652011-11-19 Juri Linkov <juri@jurta.org>
2766
2767 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2768 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2769 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2770 `old-history', `old-history-forward'. Add let-binding
2771 `window-selected'. Remove calls to `kill-buffer',
2772 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2773 before calling `Info-find-node', so `Info-find-node-2' will reread
2774 the Info file. Restore window positions only when `window-selected'
2775 is non-nil.
2776
30c62133
JL
27772011-11-19 Juri Linkov <juri@jurta.org>
2778
2779 * isearch.el (isearch-lazy-highlight-new-loop):
2780 Remove condition `(not isearch-error)'. (Bug#9918)
2781
2782 * misearch.el (multi-isearch-search-fun): Add condition
2783 `(not bound)' to ignore lazy-highlighting search.
2784 Add the search-failed message "end of multi" when the end of
2785 multi-sequence is reached. Uncapitalize the search-failed
2786 message "Repeat for next buffer".
2787
2788 * info.el (Info-search): Add the search-failed message
2789 "end of the manual" when the end of the manual is reached
2790 in Isearch mode.
2791
645ca9cf
JL
27922011-11-19 Juri Linkov <juri@jurta.org>
2793
2794 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2795 Use non-destructive `remove' instead of `delete' because
2796 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2797 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2798
df754f66
JL
27992011-11-19 Juri Linkov <juri@jurta.org>
2800
2801 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2802 to nil instead of binding `search-ring' and `regexp-search-ring'.
2803 (Bug#9185)
2804
0e23d96a
EZ
28052011-11-19 Eli Zaretskii <eliz@gnu.org>
2806
2807 * simple.el (line-move): Force movement by logical lines for any
2808 hscrolled window, not only when auto-hscroll-mode is on.
2809 (line-move-visual): Update doc string to that effect. (Bug#10076)
2810
8a6ccb66
AS
28112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2812
2813 * language/european.el (macintosh): Define as alias for mac-roman.
2814
49ae5b39
EZ
28152011-11-19 Eli Zaretskii <eliz@gnu.org>
2816
2817 * mail/rmailmm.el (rmail-mime-display-header)
2818 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2819 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2820 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2821 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2822 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2823 of a raw aref.
2824 (rmail-mime-entity-segment): To get past the tagline, move forward
2825 2 more lines, to account for the 2 empty lines that precede and
2826 follow the line with the buttons.
2827 (rmail-mime-update-tagline): Move one more line, to get past the
2828 empty line that follows the buttons in the tagline. (Bug#9520)
2829
c56cad4a
MR
28302011-11-19 Martin Rudalics <rudalics@gmx.at>
2831
2832 * window.el (window-max-delta-1, window-min-delta-1)
2833 (window-min-size-1, window-state-get-1, window-state-put-1)
2834 (window-state-put-2): Use "window--" prefix.
2835
cbe71af3
SM
28362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2ad52c60
SM
2838 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2839 (smie-warning-count): New var.
2840 (smie-set-prec2tab): Use it.
2841 (smie-bnf->prec2): Improve warnings. Add docstring.
2842 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2843 (smie-bnf--set-class): New function.
2844 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2845 corner case.
2846
6944dbc1
SM
2847 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2848 (compilation-error-properties, compilation-move-to-column):
2849 Handle compilation-first-column while in the target buffer.
2850
c400c4d7
SM
2851 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2852 Don't hardcode point-min==1.
2853
6dbe3e96
SM
2854 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2855 (eshell-rewrite-for-command): Remove workaround.
2856 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2857 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2858 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2859
cbe71af3
SM
2860 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2861
a8e1496d
GM
28622011-11-17 Glenn Morris <rgm@gnu.org>
2863
2864 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2865 Ignore buffer-local generated-autoload-file if it is the same
2866 as the global value. (Bug#10049)
2867
df85d315
JB
28682011-11-17 Juanma Barranquero <lekktu@gmail.com>
2869
2870 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2871 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2872 (reftex-toc-previous-heading, reftex-toc-max-level)
2873 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2874 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2875 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2876 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2877 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2878 (reftex-toc-rename-label, reftex-toc-visit-location)
2879 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2880 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2881 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2882 leaving "*toc*" only for references to the buffer.
2883
a0c2d0ae
MR
28842011-11-17 Martin Rudalics <rudalics@gmx.at>
2885
2886 * window.el (window-resize, delete-window, split-window):
2887 Replace window-splits by window-combination-resize.
1d00653d 2888 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2889
35c0bac8
GM
28902011-11-17 Glenn Morris <rgm@gnu.org>
2891
2892 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2893 Make bash entry derive from sh entry, not shell entry.
2894
d0c8fc8a
MA
28952011-11-16 Michael Albinus <michael.albinus@gmx.de>
2896
d0c8fc8a
MA
2897 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2898 properties of linked files. (Bug#9879)
2899
7262a87c
MA
2900 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2901 local file name.
2902
7877f373
JB
29032011-11-16 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * menu-bar.el (menu-bar-file-menu):
2906 * printing.el (pr-ps-utility):
2907 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2908 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2909 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2910 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2911 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2912 (icalendar--convert-cyclic-to-ical)
2913 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2914 (icalendar--convert-ical-to-diary)
2915 (icalendar--convert-recurring-to-diary)
2916 (icalendar--convert-non-recurring-all-day-to-diary)
2917 (icalendar-import-format-sample):
2918 * progmodes/idlw-shell.el (idlwave-shell-mode):
2919 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2920 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2921 (vhdl-ps-print-init): Fix typos.
2922
10649b82
KM
29232011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2924
9d0cfcd6
GM
2925 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2926 FSF and collapse date sequence, obscure author/maintainer email address
2927 better, remove extra version line, track relocation of author's webpage.
10649b82 2928
9d0cfcd6
GM
2929 * progmodes/python.el (python-pdbtrack-input-prompt)
2930 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2931 regular python pdb prompts. Adjustments shamelessly taken exactly as
2932 suggested in EmacsWiki page (tiny change):
2933 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2934
58179cce
JB
29352011-11-16 Juanma Barranquero <lekktu@gmail.com>
2936
2937 * expand.el (expand-pos, expand-index, expand-point):
2938 Remove redundant info from docstring.
2939 (expand-add-abbrevs): Doc fix.
2940 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2941 (expand-sample-perl-mode-expand-list): Fix typos.
2942
2943 * net/dbus.el (dbus-event-member-name):
2944 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2945 * term/pc-win.el (msdos-create-frame-with-faces):
2946 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2947
b6f67890
MR
29482011-11-16 Martin Rudalics <rudalics@gmx.at>
2949
2950 * window.el (split-window, window-state-get-1)
2951 (window-state-put-1, window-state-put-2): Rename occurrences of
2952 window-nest to window-combination-limit.
1d00653d 2953 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2954
ce7ddba0
CY
29552011-11-16 Chong Yidong <cyd@gnu.org>
2956
2957 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2958 regexp (Bug#10033).
2959
3ae704f4
SM
29602011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2963 `completing-read' will remove *Completions* and will preserve
2964 current-buffer for us.
2965 (tmm-add-prompt): Users of *Completions* will always (re)set its
2966 major mode.
2967 (tmm-old-comp-map): Remove.
2968
6ad1cdde
GM
29692011-11-16 Glenn Morris <rgm@gnu.org>
2970
2971 * mail/rmailedit.el: Require rmailmm when compiling.
2972 (rmail-old-mime-state): New declaration.
2973 (rmail-edit-current-message): If editing a mime message,
2974 edit the "raw" message from the mbox buffer.
2975 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2976
d20faa20
GM
29772011-11-15 Glenn Morris <rgm@gnu.org>
2978
2979 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2980 which wasn't being used. Add optional arg to force given state.
2981 (rmail-mime): Add optional arg to force given state.
2982
c7015153
JB
29832011-11-15 Juanma Barranquero <lekktu@gmail.com>
2984
2985 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2986 * frame.el (display-mm-dimensions-alist):
2987 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2988 (outline-move-subtree-down):
2989 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2990 (newsticker--treeview-do-get-node):
2991 * net/quickurl.el (quickurl-list-buffer-name):
2992 * progmodes/dcl-mode.el (dcl-mode):
2993 * progmodes/gdb-mi.el (gdb-mapcar*):
2994 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2995
45261b50
GM
29962011-11-15 Glenn Morris <rgm@gnu.org>
2997
2998 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2999 in a boolean sense, so just make it a boolean, and fix the doc.
3000 (rmail-show-mime-function, rmail-mime-feature)
3001 (rmail-require-mime-maybe): Doc fixes.
3002 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3003
3004 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3005
0d26e0b6
JB
30062011-11-15 Juanma Barranquero <lekktu@gmail.com>
3007
3008 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3009 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3010 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3011 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3012
447f30f6
GM
30132011-11-15 Glenn Morris <rgm@gnu.org>
3014
672b871d
GM
3015 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3016 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3017 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3018 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3019 (rmail-mime, rmail-show-mime): Doc fixes.
3020
f6aa5bb1
GM
3021 * term/ns-win.el (mode-line-frame-identification):
3022 Leave it alone. (Bug#10051)
3023
947cd66b
GM
3024 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3025
447f30f6
GM
3026 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3027 Handle empty buffers. (Bug#9978)
3028
0b381c7e
JB
30292011-11-14 Juanma Barranquero <lekktu@gmail.com>
3030
3031 * international/mule.el (define-charset):
3032 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3033 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3034 * progmodes/verilog-mode.el (verilog-backward-token):
3035 * textmodes/ispell.el (lookup-words):
3036 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3037
71e027ac
GM
30382011-11-14 Glenn Morris <rgm@gnu.org>
3039
56632ce4
GM
3040 * progmodes/executable.el
3041 (executable-make-buffer-file-executable-if-script-p):
3042 Handle file-modes returning nil.
3043
40500957
GM
3044 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3045 message - not necessary, and causes problems. (Bug#9831)
3046
071c2340
GM
3047 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3048
d3cfca60
GM
3049 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3050
71e027ac
GM
3051 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3052 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3053 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3054
89d61221
MR
30552011-11-12 Martin Rudalics <rudalics@gmx.at>
3056
3057 * window.el (window-resize, delete-window): Use window-splits
3058 variable instead of function.
3059 (window-state-get-1, window-state-put-2, window-state-put):
3060 Don't deal with windows' splits status.
3061
98282f6f
GM
30622011-11-12 Glenn Morris <rgm@gnu.org>
3063
3064 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3065 (apropos-documentation): Doc fixes.
3066
40a8bdf6
JB
30672011-11-11 Juanma Barranquero <lekktu@gmail.com>
3068
3069 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3070 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3071
65bd19ff
SM
30722011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * electric.el (electric-indent-post-self-insert-function): Make it
3075 possible for a char to only indent in some circumstances.
3076 (electric-indent-mode): Simplify.
3077
54f9154c
MR
30782011-11-11 Martin Rudalics <rudalics@gmx.at>
3079
3080 * window.el (windows-with-parameter): Remove unused function.
3081 (windows-at-side): Rename to window-at-side-list.
3082 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3083 (window-side-check, window-size-ignore, window-size-fixed-1)
3084 (window-in-direction-2): Prefix with "window--".
3085 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3086
68cbc58b
GM
30872011-11-11 Glenn Morris <rgm@gnu.org>
3088
3089 * subr.el (eval-after-load): If FILE is already loaded,
3090 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3091
b2621720
GM
30922011-11-10 Glenn Morris <rgm@gnu.org>
3093
9a4de110
GM
3094 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3095 Call svn via vc-svn-command rather than vc-do-command.
3096 (vc-svn-command): Add --non-interactive. (Bug#9993)
3097 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3098
b2621720
GM
3099 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3100 Add toggle-read-only. (Bug#7292)
3101 * files.el (toggle-read-only): Mention that it should only
3102 be used interactively. (Bug#10006)
3103
1dce7193
SM
31042011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3105
d9ac1a1e
SM
3106 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3107 Adjust regexp for OCaml warnings.
3108
0c325082
SM
3109 * electric.el (electric-pair-post-self-insert-function): Let user
3110 turn it off buffer-locally (bug#9932).
3111
90132c14
SM
3112 * progmodes/python.el (python-beginning-of-statement):
3113 Rewrite (bug#2703).
3114
1dce7193
SM
3115 * progmodes/compile.el: Better handle TABs (bug#9749).
3116 (compilation-internal-error-properties)
3117 (compilation-next-error-function): Obey the target buffer's
3118 compilation-error-screen-columns.
3119
c4e7c63a
JB
31202011-11-09 Juanma Barranquero <lekktu@gmail.com>
3121
3122 * progmodes/meta-mode.el: Remove obsolete comments.
3123 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3124 Fix typos in docstrings.
3125
2cffd681
MR
31262011-11-09 Martin Rudalics <rudalics@gmx.at>
3127
3128 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3129 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3130 (window--resizable): New function. Make all callers of
3131 window-resizable call window--resizable instead.
3132 (window-resizable): Rewrite in terms of window--resizable.
3133
0edcba87
GM
31342011-11-08 Glenn Morris <rgm@gnu.org>
3135
3136 * progmodes/delphi.el (delphi-mode-syntax-table):
3137 Let define-derived-mode define a proper syntax table. (Bug#9994)
3138
4b0d61e3
SM
31392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * window.el: Stay away from defsubst.
3142 (window-list-no-nils): Remove.
3143 (window-state-get-1, window-state-get): Use backquote instead.
3144
cd394be1 31452011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3146
4b0d61e3 3147 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3148 Fix incorrect use of default argument in `completing-read'.
3149
e1c2c6f2
MR
31502011-11-08 Martin Rudalics <rudalics@gmx.at>
3151
3152 * window.el (display-buffer-function, special-display-function):
3153 Mention display-buffer-record-window but do not mention
3154 help-setup parameter in doc-strings.
b3f4a882 3155 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3156
105216ed
CY
31572011-11-08 Chong Yidong <cyd@gnu.org>
3158
3159 * window.el (window-total-height, window-total-width): Doc fix.
3160 (window-body-size): Move from C.
3161 (window-body-height, window-body-width): Move to C.
3162
0a9f9ab5
SM
31632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * window.el: Make special-display like display-buffer-alist (bug#9532).
3166 (display-buffer--special-action): New function, morphed
3167 from display-buffer--special.
3168 (display-buffer): Use it to handle special-display-buffers at higher
3169 priority (just after display-buffer-alist).
3170 (display-buffer-fallback-action, display-buffer--other-frame-action)
3171 (pop-to-buffer-same-window): Remove display-buffer--special.
3172
a769dd15
GM
31732011-11-07 Glenn Morris <rgm@gnu.org>
3174
3175 * calendar/cal-menu.el (cal-menu-set-date-title):
3176 Do nothing if not in a calendar. (Bug#9976)
3177
05a61ee3
SM
31782011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * files.el (find-file): Always use selected-window.
3181
be7f5545
MR
31822011-11-07 Martin Rudalics <rudalics@gmx.at>
3183
3184 * window.el (window-combinations): Make WINDOW argument
3185 mandatory. Rewrite doc-string.
3186 (walk-window-subtree, window-atom-check, window-min-delta)
3187 (window-max-delta, window--resize-this-window)
3188 (window--resize-root-window-vertically, window-tree)
3189 (balance-windows, window-state-put): Rewrite doc-strings as to
3190 not mention the term "subwindow".
3191 (window--resize-subwindows-skip-p): Rename to
3192 window--resize-child-windows-skip-p.
3193 (window--resize-subwindows-normal): Rename to
3194 window--resize-child-windows-normal.
3195 (window--resize-subwindows): Rename to
3196 window--resize-child-windows.
3197 (window-or-subwindow-p): Rename to window--in-subtree-p.
3198
3c6702ef
ML
31992011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3200
3201 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3202 Ensure that mbox format messages end in two newlines (Bug#9974).
3203
49745b39
CY
32042011-11-06 Chong Yidong <cyd@gnu.org>
3205
3206 * window.el (window-combination-p): Function deleted; its
3207 side-effect is not used in any existing code.
3208 (window-combinations, window-combined-p): Call window-*-child
3209 directly.
3210
24300f5f
CY
32112011-11-05 Chong Yidong <cyd@gnu.org>
3212
3213 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3214 (window-size-ignore, window-state-get): Callers changed.
3215 (window-normalize-window): Rename from window-normalize-any-window.
3216 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3217 (window-normalize-live-window): Delete.
447f16b8
CY
3218 (window-combination-p, window-combined-p, window-combinations)
3219 (walk-window-subtree, window-atom-root, window-min-size)
3220 (window-sizable, window-sizable-p, window-size-fixed-p)
3221 (window-min-delta, window-max-delta, window-resizable)
3222 (window-resizable-p, window-full-height-p, window-full-width-p)
3223 (window-current-scroll-bars, window-point-1, set-window-point-1)
3224 (window-at-side-p, window-in-direction, window-resize)
3225 (adjust-window-trailing-edge, maximize-window, minimize-window)
3226 (window-deletable-p, delete-window, delete-other-windows)
3227 (record-window-buffer, unrecord-window-buffer)
3228 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3229 (quit-window, split-window, window-state-put)
3230 (set-window-text-height, fit-window-to-buffer)
3231 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3232
89bd5ee1
EZ
32332011-11-04 Eli Zaretskii <eliz@gnu.org>
3234
53479029
EZ
3235 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3236 rfc2047-decode-string.
3237 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3238 warnings.
3239
89bd5ee1
EZ
3240 * window.el (window-body-height, window-body-width): Mention in
3241 the doc string that the return values are in frame's canonical
3242 units. (Bug#9949)
3243
bd17fdee
AM
32442011-11-03 Alan Mackenzie <acm@muc.de>
3245
3246 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3247 change in cc-engine.el.
3248
acc825c5
SM
32492011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3252
1885e5b8
MR
32532011-11-02 Martin Rudalics <rudalics@gmx.at>
3254
3255 * window.el (quit-window): Call unrecord-window-buffer after
3256 showing another buffer in the window. (Bug#9937)
acc825c5 3257 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3258
ebe06da9
JB
32592011-11-02 Juanma Barranquero <lekktu@gmail.com>
3260
3261 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3262 Accept status with more than 9 shelves. (Bug#9935)
3263 Reported by Colin D Bennett <colin@gibibit.com>.
3264
4ee88440
MR
32652011-11-01 Martin Rudalics <rudalics@gmx.at>
3266
3267 * help.el (with-help-window): Don't reference
3268 temp-buffer-show-specifiers in doc-string.
3269
08e1d82c
AS
32702011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3273 menu-item.
3274
84bd6e9e
VJL
32752011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3276
3277 * whitespace.el: New version 13.2.2.
3278 (whitespace-newline-mode): Disable properly. Reported by Sarah
3279 <EmacsWiki>.
3280
dba0634a
UJ
32812011-10-30 Ulf Jasper <ulf.jasper@web.de>
3282
3283 * net/newst-treeview.el: Remove "Time-stamp".
3284 (newsticker--group-manage-orphan-feeds): Do not call
3285 newsticker--treeview-tree-update.
db22a3c2
JB
3286 (newsticker-treeview-update, newsticker-treeview):
3287 Call newsticker--treeview-tree-update if necessary.
dba0634a 3288
3d8daefe
MR
32892011-10-30 Martin Rudalics <rudalics@gmx.at>
3290
3291 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3292 (window-iso-combinations): Remove "iso-" infix.
3293 Suggested by Chong Yidong.
3d8daefe
MR
3294 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3295 (window-max-delta-1, window-resize, window--resize-siblings)
3296 (window--resize-this-window, adjust-window-trailing-edge)
3297 (split-window, balance-windows-1)
3298 (shrink-window-if-larger-than-buffer):
3299 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3300 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3301
1bc4c3ae
SM
33022011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3305 in place (bug#9907).
3306 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3307 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3308 (eshell-structure-basic-command, eshell-rewrite-while-command)
3309 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3310 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3311 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3312 (eshell-do-pipelines-synchronously, eshell-eval-command):
3313 Use backquotes and prefer setq to set.
3314 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3315 (eshell-macrop): Use functionp.
c1e2f5fa 3316 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3317
30b65d9c
CY
33182011-10-30 Chong Yidong <cyd@gnu.org>
3319
3320 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3321 instead of set-mark (Bug#9810).
3322
2d197ffb
CY
33232011-10-30 Chong Yidong <cyd@gnu.org>
3324
3325 * window.el (split-window-below, split-window-right): Rename from
3326 split-window-above-each-other and split-window-side-by-side
3327 respectively. All callers changed.
3328 (split-window-sensibly, split-window-sensibly): Use them.
3329 (split-window-keep-point): Doc fix.
3330
3331 * isearch.el: Add isearch-scroll property to split-window-below
3332 and split-window-right.
3333
3334 * follow.el (follow-mode):
3335 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3336 * progmodes/ada-xref.el (ada-gdb-application):
3337 * emulation/vip.el (vip-buffer-in-two-windows):
3338 * image-dired.el (image-dired-dired-with-window-configuration):
3339 * dired-x.el (dired-do-find-marked-files):
3340 * dired.el (dired-pop-to-buffer):
3341 * bs.el (bs--show-with-configuration):
3342 * vc/emerge.el (emerge-setup-windows):
3343 * textmodes/two-column.el (2C-two-columns):
3344 * textmodes/reftex-toc.el (reftex-toc):
3345 * progmodes/gdb-mi.el (gdb-setup-windows):
3346 * progmodes/fortran.el (fortran-window-create):
3347 * net/newst-treeview.el (newsticker--treeview-window-init):
3348 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3349 * emulation/tpu-edt.el (tpu-gold-map):
3350 * emulation/crisp.el (crisp-mode-map):
3351 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3352
38bb2ca8
CY
33532011-10-29 Chong Yidong <cyd@gnu.org>
3354
aa4de341
CY
3355 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3356
e1eb5385
CY
3357 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3358
5d2ece3c
CY
3359 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3360 forged Ispell output (Bug#7904).
3361
38bb2ca8
CY
3362 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3363
d0af9f77
SM
33642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * doc-view.el: Avoid ugly errors about not finding nil.
3367 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3368 (doc-view-dvipdf-program, doc-view-unoconv-program)
3369 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3370 Avoid nil or absolute file name as default value.
3371 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3372
52bedd34
AM
33732011-10-28 Alan Mackenzie <acm@muc.de>
3374
db22a3c2 3375 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3376
7e43cfa5
AM
33772011-10-28 Alan Mackenzie <acm@muc.de>
3378
3379 Amend the handling of c-beginning/end-of-defun in nested declaration
3380 scopes.
3381
52bedd34
AM
3382 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3383 cc-langs.el. Change it to a defcustom.
7e43cfa5 3384
52bedd34
AM
3385 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3386 cc-vars.el.
7e43cfa5 3387
d0af9f77
SM
3388 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3389 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3390
52bedd34 3391 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3392 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3393 (c-widen-to-enclosing-decl-scope): New function.
3394 (c-while-widening-to-decl-block): New macro.
3395 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3396 outward for defun boundaries, and correspondingly change symbol
3397 `respect-enclosure' to `go-outward'.
3398 (c-declaration-limits): Change algorithm to report only the "innermost"
3399 defun's boundaries.
3400
1a2ce9ee
DD
34012011-10-28 Deniz Dogan <deniz@dogan.se>
3402
3403 * net/rcirc.el (rcirc-mode): Use hard newlines.
3404
bc97a826
AM
34052011-10-28 Alan Mackenzie <acm@muc.de>
3406
3407 Amend to indent and fontify macros "which include their own semicolon"
3408 correctly, using the "virtual semicolon" mechanism.
3409
52bedd34 3410 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3411
d0af9f77 3412 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3413 Recode to scan one line at a time rather than having \n and \r
58179cce 3414 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3415 (c-forward-label): Amend for virtual semicolons.
58179cce 3416 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3417
52bedd34
AM
3418 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3419 of the new C macros.
bc97a826 3420
52bedd34 3421 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3422 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3423 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3424 (c-opt-cpp-macro-define): Make into a full language variable.
3425 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3426 AWK Mode (including \n, \r) removed, no longer needed.
3427
d0af9f77
SM
3428 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3429 Invoke c-make-macro-with-semi-re.
bc97a826 3430
52bedd34
AM
3431 * progmodes/cc-vars.el (c-macro-with-semi-re):
3432 (c-macro-names-with-semicolon): New variables.
58179cce 3433 (c-make-macro-with-semi-re): New function.
bc97a826 3434
7a6c0941
SM
34352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * vc/log-edit.el: Fill empty field rather than adding new one.
3438 (log-edit-add-field): New function.
3439 (log-edit-insert-changelog): Use it.
3440
b0c4cdcf
ML
34412011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3442
3443 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3444
ee1f1da9
SM
34452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3448 (gdb--check-interpreter): New function.
3449 (gdb): Use it.
3450
51bc5f8b
GM
34512011-10-27 Glenn Morris <rgm@gnu.org>
3452
416a2c45
GM
3453 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3454 (least-positive-float, least-negative-float)
3455 (least-positive-normalized-float, least-negative-normalized-float)
3456 (float-epsilon, float-negative-epsilon):
3457 Remove unnecessary declarations.
3458
3459 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3460 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3461 (least-positive-float, least-negative-float)
3462 (least-positive-normalized-float, least-negative-normalized-float)
3463 (float-epsilon, float-negative-epsilon): Add doc-strings,
3464 based on those in cl.texi.
3465
51bc5f8b
GM
3466 * files.el (set-visited-file-name): If the major-mode changed,
3467 reload the local variables. (Bug#9796)
3468
15de15c6
CY
34692011-10-27 Chong Yidong <cyd@gnu.org>
3470
3471 * subr.el (change-major-mode-after-body-hook): New hook.
3472 (run-mode-hooks): Run it.
3473
ee1f1da9
SM
3474 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3475 Use change-major-mode-before-body-hook.
15de15c6
CY
3476
3477 * simple.el (fundamental-mode):
3478 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3479 change introducing fundamental-mode-hook.
3480
5430d399
JB
34812011-10-26 Juanma Barranquero <lekktu@gmail.com>
3482
acc825c5 3483 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3484
ad74a69e
MA
34852011-10-26 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3488 tramp.el explicitly. (Bug#7583)
ad74a69e 3489
71d4c2a5
SM
34902011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * progmodes/octave-mod.el:
3493 * progmodes/octave-inf.el: Update maintainer.
3494
b1f6fa26
CY
34952011-10-26 Chong Yidong <cyd@gnu.org>
3496
3497 * subr.el (with-wrapper-hook): Rewrite doc.
3498
3f04efd6
MA
34992011-10-25 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3502 filenames "/method:foo:". (Bug#9793)
3f04efd6 3503
410488d3
SM
35042011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3507 (bug#9865).
3508
c1ebb47e
GM
35092011-10-24 Glenn Morris <rgm@gnu.org>
3510
3511 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3512
7f5c46c7
MA
35132011-10-24 Michael Albinus <michael.albinus@gmx.de>
3514
3515 * notifications.el: Add the requirement of a running D-Bus session
3516 bus to the Commentary.
3517
db2440b6
JL
35182011-10-24 Juri Linkov <juri@jurta.org>
3519
3520 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3521 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3522 (Bug#9364)
3523
feecf435
JL
35242011-10-24 Juri Linkov <juri@jurta.org>
3525
3526 * info.el (Info-following-node-name-re): Add newline to the list
3527 of allowed characters for leading space. (Bug#9824)
3528
a3839de2
SM
35292011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3530
acc825c5
SM
3531 * progmodes/octave-inf.el (inferior-octave-mode-map):
3532 Fix C-c C-h binding.
a3839de2
SM
3533 * progmodes/octave-mod.el (octave-help): Remove.
3534
09388e76
MA
35352011-10-23 Michael Albinus <michael.albinus@gmx.de>
3536
3537 Sync with Tramp 2.2.3.
3538
3539 * net/tramp-cache.el (top): Pacify byte-compiler using
3540 `init-file-user' and `site-run-file'.
3541
3542 * net/trampver.el: Update release number.
3543
86c60681
CY
35442011-10-23 Chong Yidong <cyd@gnu.org>
3545
3546 * files.el (toggle-read-only): Remove obsolete comment about
3547 version control.
3548
3549 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3550 for toggle-read-only. Note that this hasn't called vc-next-action
3551 since 2008-05-02, though it wasn't documented at the time.
3552
a3839de2
SM
3553 * vc/ediff-init.el (ediff-toggle-read-only-function):
3554 Use toggle-read-only.
86c60681 3555
cd5495ff
AM
35562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3557
3558 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3559 of c-parse-state.
3560
00b77525 3561 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3562 correct faulty logical expression.
cd5495ff
AM
3563 (c-parse-state-state, c-record-parse-state-state):
3564 (c-replay-parse-state-state): New defvar/defuns.
3565 (c-debug-parse-state): Use new functions.
3566
42ee24ed
MR
35672011-10-22 Martin Rudalics <rudalics@gmx.at>
3568
3569 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3570 last fix. Use window-in-direction correctly.
42ee24ed 3571
a7dee7e7
CY
35722011-10-21 Chong Yidong <cyd@gnu.org>
3573
3574 * progmodes/idlwave.el (idlwave-mode):
3575 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3576 require-final-newline; that's done in prog-mode.
3577 Suggested by Stefan Monnier.
a7dee7e7 3578
e07b9a6d
MR
35792011-10-21 Martin Rudalics <rudalics@gmx.at>
3580
3581 * mouse.el (mouse-drag-window-above)
3582 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3583 (mouse-drag-mode-line-1, mouse-drag-header-line)
3584 (mouse-drag-vertical-line-rightward-window): Remove.
3585 (mouse-drag-line): New function.
3586 (mouse-drag-mode-line, mouse-drag-header-line)
3587 (mouse-drag-vertical-line): Call mouse-drag-line.
3588 * window.el (window-at-side-p, windows-at-side): New functions.
3589
7e1361d9
UM
35902011-10-21 Ulrich Mueller <ulm@gentoo.org>
3591
3592 * tar-mode.el (tar-grind-file-mode):
3593 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3594
30fcaf3a
CY
35952011-10-21 Chong Yidong <cyd@gnu.org>
3596
3597 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3598 * progmodes/vera-mode.el (vera-mode):
3599 Use mode-require-final-newline.
30fcaf3a 3600
516eddb0
GM
36012011-10-20 Glenn Morris <rgm@gnu.org>
3602
db22a3c2 3603 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3604
10d5f513
CS
36052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3606
3607 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3608
ac6c8639
CY
36092011-10-20 Chong Yidong <cyd@gnu.org>
3610
3611 * emulation/cua-base.el (cua-mode):
3612 * mail/footnote.el (footnote-mode):
3613 * mail/mailabbrev.el (mail-abbrevs-mode):
3614 * net/xesam.el (xesam-minor-mode):
3615 * progmodes/bug-reference.el (bug-reference-mode):
3616 * progmodes/cap-words.el (capitalized-words-mode):
3617 * progmodes/compile.el (compilation-minor-mode)
3618 (compilation-shell-minor-mode):
3619 * progmodes/gud.el (gud-tooltip-mode):
3620 * progmodes/hideif.el (hide-ifdef-mode):
3621 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3622 * progmodes/subword.el (subword-mode):
3623 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3624 * progmodes/which-func.el (which-function-mode):
3625 * term/tvi970.el (tvi970-set-keypad-mode):
3626 * term/vt100.el (vt100-wide-mode):
3627 * textmodes/flyspell.el (flyspell-mode):
3628 * textmodes/ispell.el (ispell-minor-mode):
3629 * textmodes/nroff-mode.el (nroff-electric-mode):
3630 * textmodes/paragraphs.el (use-hard-newlines):
3631 * textmodes/refill.el (refill-mode):
3632 * textmodes/reftex.el (reftex-mode):
3633 * textmodes/rst.el (rst-minor-mode):
3634 * textmodes/sgml-mode.el (html-autoview-mode)
3635 (sgml-electric-tag-pair-mode):
3636 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3637 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3638 * emulation/crisp.el (crisp-mode):
3639 * emacs-lisp/eldoc.el (eldoc-mode):
3640 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3641 minor mode behavior.
3642
aa42ab43
JL
36432011-10-19 Juri Linkov <juri@jurta.org>
3644
3645 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3646 the list of hard-coded chars with escape-glyph face.
3647
89400f1d
SM
36482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3651
305c07f6
MA
36522011-10-19 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3655 running process.
3656
13754b54
GM
36572011-10-19 Glenn Morris <rgm@gnu.org>
3658
3659 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3660 Ignore ignored files. (Bug#9726)
3661
06e21633
CY
36622011-10-19 Chong Yidong <cyd@gnu.org>
3663
3664 Doc fix for minor modes, stating that an omitted argument enables
3665 the mode unconditionally when called from Lisp.
3666
3667 * abbrev.el (abbrev-mode):
3668 * allout.el (allout-mode):
3669 * autoinsert.el (auto-insert-mode):
3670 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3671 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3672 (global-auto-revert-mode):
3673 * battery.el (display-battery-mode):
3674 * composite.el (global-auto-composition-mode)
3675 (auto-composition-mode):
3676 * delsel.el (delete-selection-mode):
3677 * desktop.el (desktop-save-mode):
3678 * dired-x.el (dired-omit-mode):
3679 * dirtrack.el (dirtrack-mode):
3680 * doc-view.el (doc-view-minor-mode):
3681 * double.el (double-mode):
3682 * electric.el (electric-indent-mode, electric-pair-mode):
3683 * emacs-lock.el (emacs-lock-mode):
3684 * epa-hook.el (auto-encryption-mode):
3685 * follow.el (follow-mode):
3686 * font-core.el (font-lock-mode):
3687 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3688 * help.el (temp-buffer-resize-mode):
3689 * hilit-chg.el (highlight-changes-mode)
3690 (highlight-changes-visible-mode):
3691 * hi-lock.el (hi-lock-mode):
3692 * hl-line.el (hl-line-mode, global-hl-line-mode):
3693 * icomplete.el (icomplete-mode):
3694 * ido.el (ido-everywhere):
3695 * image-file.el (auto-image-file-mode):
3696 * image-mode.el (image-minor-mode):
3697 * iswitchb.el (iswitchb-mode):
3698 * jka-cmpr-hook.el (auto-compression-mode):
3699 * linum.el (linum-mode):
3700 * longlines.el (longlines-mode):
3701 * master.el (master-mode):
3702 * mb-depth.el (minibuffer-depth-indicate-mode):
3703 * menu-bar.el (menu-bar-mode):
3704 * minibuf-eldef.el (minibuffer-electric-default-mode):
3705 * mouse-sel.el (mouse-sel-mode):
3706 * msb.el (msb-mode):
3707 * mwheel.el (mouse-wheel-mode):
3708 * outline.el (outline-minor-mode):
3709 * paren.el (show-paren-mode):
3710 * recentf.el (recentf-mode):
3711 * reveal.el (reveal-mode, global-reveal-mode):
3712 * rfn-eshadow.el (file-name-shadow-mode):
3713 * ruler-mode.el (ruler-mode):
3714 * savehist.el (savehist-mode):
3715 * scroll-all.el (scroll-all-mode):
3716 * scroll-bar.el (scroll-bar-mode):
3717 * server.el (server-mode):
3718 * shell.el (shell-dirtrack-mode):
3719 * simple.el (auto-fill-mode, transient-mark-mode)
3720 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3721 (line-number-mode, column-number-mode, size-indication-mode)
3722 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3723 * strokes.el (strokes-mode):
3724 * time.el (display-time-mode):
3725 * t-mouse.el (gpm-mouse-mode):
3726 * tool-bar.el (tool-bar-mode):
3727 * tooltip.el (tooltip-mode):
3728 * type-break.el (type-break-mode-line-message-mode)
3729 (type-break-query-mode):
3730 * view.el (view-mode):
3731 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3732 (global-whitespace-mode, global-whitespace-newline-mode):
3733 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3734
a3839de2
SM
3735 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3736 Fix autogenerated docstring.
06e21633 3737
5214e501
JL
37382011-10-19 Juri Linkov <juri@jurta.org>
3739
3740 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3741 by checking environment variables "DESKTOP_SESSION" and
3742 "XDG_CURRENT_DESKTOP". (Bug#9779)
3743
195f8db9
JL
37442011-10-19 Juri Linkov <juri@jurta.org>
3745
3746 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3747 (browse-url-chromium-program, browse-url-chromium-arguments):
3748 New defcustoms.
3749 (browse-url-default-browser): Check for `browse-url-chromium' and
3750 call `browse-url-chromium-program'.
3751 (browse-url-chromium): New command. (Bug#9779)
3752
343a34ff
JB
37532011-10-18 Juanma Barranquero <lekktu@gmail.com>
3754
3755 * facemenu.el (list-colors-duplicates): On Windows, detect more
3756 duplicates by assuming that only colors matching "^System" are
3757 special "system colors". (Bug#9722)
3758
6978a151
SM
37592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3762 to distinguish the author from the committer.
3763
6a80b297
MA
37642011-10-18 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3767
b31a5677
JK
37682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3769
3770 * international/mule.el (sgml-html-meta-auto-coding-function):
3771 Add support for detecting encoding in HTML5 specified only as
3772 <meta charset="UTF-8">. Implementation just makes http-equiv and
3773 content-type parts from HTML4 encoding string optional. (Bug#9716)
3774
80c6d77f
GM
37752011-10-18 Glenn Morris <rgm@gnu.org>
3776
3777 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3778
08b0fee8
CY
37792011-10-18 Chong Yidong <cyd@gnu.org>
3780
3781 * faces.el (cursor): Doc fix.
3782
67e729a5
CY
37832011-10-17 Chong Yidong <cyd@gnu.org>
3784
3785 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3786
343a34ff 37872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3788
3789 * dirtrack.el (dirtrack): Support shell buffers with path
3790 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3791
0bc06380
TZ
37922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3793
3794 * json.el: Bump version to 1.3 and note change in History.
3795 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3796
8b79f3e0
SM
37972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3798
5a7c536b
SM
3799 * comint.el (comint-insert-input, comint-send-input)
3800 (comint-get-old-input-default, comint-backward-matching-input)
3801 (comint-next-prompt): Use nil instead of `input' for field property of
3802 past user input (bug#114).
3803
96a8a0df
SM
3804 * minibuffer.el (completion--replace): Inherit surrounding properties
3805 (bug#114).
3806 (minibuffer-complete-and-exit): Use it.
3807
8b79f3e0
SM
3808 * comint.el (comint--table-subvert): Quote the all-completions output
3809 (bug#9160).
3810
b8f7ff0d
MR
38112011-10-17 Martin Rudalics <rudalics@gmx.at>
3812
8b79f3e0 3813 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3814
b8f7ff0d 3815 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3816 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3817 entries and separate them from frame entries.
3818
c235b555
GM
38192011-10-15 Glenn Morris <rgm@gnu.org>
3820
3821 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3822 Doc fixes.
3823
6bbfa6e1
CY
38242011-10-15 Chong Yidong <cyd@stupidchicken.com>
3825
8b79f3e0
SM
3826 * net/network-stream.el (network-stream-open-starttls):
3827 Improve detection of failure due to lack of TLS support.
ec5c990d 3828
6bbfa6e1
CY
3829 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3830 putting the input text in front and in bold.
3831
98488977
SM
38322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3d1337be
SM
3834 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3835
ee0b45e4
SM
3836 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3837 empty buffer.
3838
98488977
SM
3839 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3840 unread-command-events rather than pushing yet-another event.
3841
186f4720
EZ
38422011-10-14 Eli Zaretskii <eliz@gnu.org>
3843
3844 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3845 the explanation of the possible choices. Make the options passed
3846 to completing-read shorter.
3847
8b7a997c
AM
38482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3849
3850 * textmodes/flyspell.el (flyspell-large-region): Make sure
3851 extended character mode is used if defined (Bug#1339).
3852
12587bbb
EZ
38532011-10-13 Eli Zaretskii <eliz@gnu.org>
3854
3855 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3856 character info for LRE, LRO, RLE, and RLO characters by appending
3857 an invisible PDF.
12587bbb 3858
bad41229
SM
38592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3862 even in case of error; add debug spec; simplify data flow.
3863 (with-timeout-handler): Remove.
3864
28dbc92f
MA
38652011-10-12 Michael Albinus <michael.albinus@gmx.de>
3866
3867 Fix Bug#6019, Bug#9315.
3868
3869 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3870 complete `buffer-file-name', the local file name part could look
3871 remotely (for example on VMS).
3872
3873 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3874 `tramp-run-real-handler'.
3875 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3876 already quoted by '"'.
3877
3878 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3879 Let `file-name-handler-alist' be nil, the local file name part
3880 could look remotely (for example on VMS).
3881
e1b0b23a
SM
38822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3885 from here...
3886 (flyspell-post-command-hook): ...to here.
3887
a120bde9
SM
38882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3889
3890 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3891 if not needed.
3892 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3893 using completion. Protect against "slow" callers.
3894 Remove the "message hack".
3895
7ce7717b
JL
38962011-10-11 Juri Linkov <juri@jurta.org>
3897
3898 * isearch.el (isearch-lazy-highlight-word): New variable.
3899 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3900 Use it. (Bug#9727)
3901
c02ee9d6
GM
39022011-10-11 Glenn Morris <rgm@gnu.org>
3903
3904 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3905 like f90-previous-statement does.
3906
93e616fd 39072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3908
1f190e73 3909 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3910 only in interactive use, to avoid error.
3911
af7b6078
SM
39122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * minibuffer.el (completion-file-name-table): Fix last change,
3915 i.e. ignore normal errors but not the other ones.
3916
0563dae9
MR
39172011-10-10 Martin Rudalics <rudalics@gmx.at>
3918
3919 * window.el (special-display-buffer-names)
3920 (special-display-regexps): Remove some remnants of earlier
3921 changes from doc-strings.
366ca7f3
MR
3922 (quit-windows-on): New function.
3923
3924 * vc/vc.el (vc-revert, vc-rollback):
3925 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3926 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3927 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3928
49677495
MR
39292011-10-09 Martin Rudalics <rudalics@gmx.at>
3930
3931 * window.el (frame-auto-hide-function): Add version tag.
3932 (Bug#9699)
3933
56f2d1e1
MA
39342011-10-09 Michael Albinus <michael.albinus@gmx.de>
3935
3936 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3937 condition.
3938
112a6592
LL
39392011-10-09 Leo Liu <sdl.web@gmail.com>
3940
3941 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3942 (Bug#9701)
3943
0812589b
GM
39442011-10-08 Glenn Morris <rgm@gnu.org>
3945
3946 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3947 before the first code statement zero indent. (Bug#9690)
3948
b2b0776e
CY
39492011-10-08 Chong Yidong <cyd@stupidchicken.com>
3950
3951 * simple.el (count-words-region): Always count in the region.
3952 Report the number of lines and characters too.
3953 (count-words): New command, which counts in the buffer if the
3954 region is inactive, as count-words-region used to.
3955 (count-words--message): New function. Handle plurals.
3956 (count-lines-region): Make it an alias for count-words-region.
3957
3958 * bindings.el (esc-map): Replace count-lines-region with
3959 count-words-region.
3960
c557cd6b
MR
39612011-10-08 Martin Rudalics <rudalics@gmx.at>
3962
3963 * window.el (window--delete): Delete dedicated frame
3964 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3965 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3966
61a57ef4 39672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3968
3a7d293b 3969 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3970
c3833279
CY
39712011-10-07 Chong Yidong <cyd@stupidchicken.com>
3972
3973 * bindings.el ([M-left],[M-right]): Bind to left-word and
3974 right-word respectively.
3975
21ce8245
GM
39762011-10-07 Glenn Morris <rgm@gnu.org>
3977
3978 * cus-start.el (debug-on-quit): Fix custom type.
3979
6d823bb2
LMI
39802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3981
0181e193
LMI
3982 * subr.el (define-key-after): Clarify that the function is not
3983 useful for non-menu keymaps.
3984
6d823bb2
LMI
3985 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3986
8e3459ce 39872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3988
21ce8245 3989 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3990 in current minibuffer (Fix bug with recursive minibuffers).
3991
a1c2d21e
CY
39922011-10-06 Chong Yidong <cyd@stupidchicken.com>
3993
3994 * progmodes/gdb-mi.el (gdb): Doc fix.
3995
5a4cf282
MR
39962011-10-05 Martin Rudalics <rudalics@gmx.at>
3997
3998 * window.el (frame-auto-hide-function): New option replacing
3999 frame-auto-delete. Suggested by Stefan Monnier.
4000 (window--delete): Call frame-auto-hide-function instead of
4001 investigating frame-auto-delete.
c96111ea
MR
4002 (window-point-1, set-window-point-1): New functions.
4003 (window-in-direction, record-window-buffer, window-state-get-1)
4004 (display-buffer-record-window): Use window-point-1 instead of
4005 window-point.
4006 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4007
9854542e
SM
40082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4011
8943cfb0
GM
40122011-10-05 Glenn Morris <rgm@gnu.org>
4013
4014 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4015 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4016
647ab967
LL
40172011-10-05 Leo Liu <sdl.web@gmail.com>
4018
4019 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4020 works with buffer object.
4021
3ddfbced
SM
40222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * mpc.el (mpc-tool-bar-map): Add labels.
4025
bdfa5dd2
GM
40262011-10-04 Glenn Morris <rgm@gnu.org>
4027
4028 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4029
0e2070b5
MR
40302011-10-04 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (window--delete): New function.
4033 (frame-auto-delete): Resuscitate option.
4034 (bury-buffer, replace-buffer-in-windows)
4035 (quit-window): Rewrite using window--delete.
4036 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4037 Pass display-buffer-mark-dedicated to window--display-buffer-2
4038 (Bug#9639).
4039
3dc61a09
SM
40402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4041
915a9b64
SM
4042 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4043 returns a list (bug#9554). Add remote file name completion.
4044 * comint.el (comint--table-subvert): Curry and get quote&unquote
4045 functions as arguments.
4046 (comint--complete-file-name-data): Adjust call accordingly.
4047 * pcomplete.el (pcomplete--table-subvert): Remove.
4048 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4049
3dc61a09
SM
4050 * minibuffer.el (completion-table-case-fold): Use currying.
4051 (completion--styles-type, completion--cycling-threshold-type):
4052 New constants.
4053 (completion-styles, completion-category-overrides)
4054 (completion-cycle-threshold): Use them.
4055 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4056 completion-table-case-fold.
4057
8ea0a993
SB
40582011-10-03 Stephen Berman <stephen.berman@gmx.net>
4059
4060 * minibuffer.el (completion-category-overrides): Fix type of styles
4061 and add more user friendly tags (bug#9660).
4062
8c24b7f6
SM
40632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4066 (mule-input-method-string): New widget.
4067 (default-input-method, language-info-custom-alist): Use it.
4068
428fe61a
SM
40692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4070
32c1fffd
SM
4071 * pcomplete.el: Require comint.
4072 (pcomplete--common-suffix): Remove.
4073 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4074 (pcomplete--table-subvert): Sync with comint--table-subvert.
4075 (pcomplete--entries): Use comint-completion-file-name-table.
4076 * comint.el (comint-unquote-filename): Simplify.
4077 (comint-completion-file-name-table): New function (bug#9616).
4078 (comint--complete-file-name-data): Use it.
4079
428fe61a
SM
4080 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4081 (pcmpl-gnu-tar-buffer): Remove.
4082 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4083 around. Make sure pcomplete-suffix-list is only changed temporarily.
4084 Don't look inside the tar's file if it's too large.
428fe61a 4085
04c52e2f
CY
40862011-10-01 Chong Yidong <cyd@stupidchicken.com>
4087
ce3cefcc
CY
4088 * cus-edit.el (custom-mode-map):
4089 * epa.el (epa-key-list-mode-map):
4090 * man.el (Man-mode-map):
4091 * startup.el (splash-screen-keymap):
4092 * simple.el (special-mode-map): Use scroll-up-command and
4093 scroll-down-command.
4094
4095 * progmodes/idlw-help.el (idlwave-help-mode-map):
4096 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4097 * net/newst-plainview.el (newsticker-mode-map):
4098 * emulation/ws-mode.el (wordstar-mode-map):
4099 * emulation/vi.el (vi-com-map):
4100 * calc/calc-graph.el (calc-graph-show-dumb):
4101 * term/sun.el (terminal-init-sun):
4102 * term/ns-win.el (global-map):
4103 * progmodes/grep.el (grep-mode-map):
4104 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4105 * mail/rmail.el (rmail-mode-map):
4106 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4107
04c52e2f
CY
4108 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4109 custom-safe-themes as special.
4110
79adf8c8
JD
41112011-10-01 Julien Danjou <julien@danjou.info>
4112
4113 * notifications.el (notifications-notify): Fix docstring.
4114
63bd50d3
PS
41152011-10-01 Per Starbäck <per@starback.se>
4116
4117 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4118
199e4c7e
MR
41192011-09-30 Martin Rudalics <rudalics@gmx.at>
4120
4121 * startup.el (command-line-1): Fix last fix by inserting
4122 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4123 (Bug#9605) and (Bug#9636)
199e4c7e 4124
fe5f08dd
EZ
41252011-09-29 Eli Zaretskii <eliz@gnu.org>
4126
4127 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4128 window is hscrolled, move by logical lines. (Bug#9607)
4129 (line-move-visual): Update the doc string to the above effect.
4130
b5516bbd
MR
41312011-09-29 Martin Rudalics <rudalics@gmx.at>
4132
ccee00c0
MR
4133 * window.el (display-buffer-record-window): When WINDOW is the
4134 selected window use `point' instead of `window-point'. (Bug#9626)
4135
b5516bbd
MR
4136 * startup.el (command-line-1): Use insert-before-markers when
4137 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4138
b5516bbd
MR
4139 * help.el (help-window): Remove variable.
4140
52aa0014
GM
41412011-09-29 Glenn Morris <rgm@gnu.org>
4142
4143 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4144
df9a7357
JB
41452011-09-29 Juanma Barranquero <lekktu@gmail.com>
4146
4147 * descr-text.el (describe-char-categories): Accept category
4148 descriptions more than one line long.
4149
a8406c20
SM
41502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4151
88d9610c
SM
4152 * simple.el (delete-trailing-whitespace): Fix last change.
4153
a5daf810
SM
4154 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4155 Don't confuse "y => 3" as the beginning of a `y' operation.
4156
a8406c20
SM
4157 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4158 object has more than 4 slots (bug#9613).
4159
a239d4e9
JB
41602011-09-28 Juanma Barranquero <lekktu@gmail.com>
4161
4162 * subr.el (with-output-to-temp-buffer):
4163 * net/quickurl.el (quickurl, quickurl-browse-url):
4164 Fix typos in docstrings.
4165
693fbdb6
EZ
41662011-09-27 Eli Zaretskii <eliz@gnu.org>
4167
4168 * minibuffer.el (completion-styles)
4169 (completion-category-overrides): Cross reference each other in doc
4170 strings.
4171
8b457e28
GM
41722011-09-27 Glenn Morris <rgm@gnu.org>
4173
4174 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4175 to split-string. (Bug#9606)
4176
85a16208
LMI
41772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4178
4179 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4180 (bug#9615).
4181
502f9ebd
CY
41822011-09-27 Chong Yidong <cyd@stupidchicken.com>
4183
4184 * emacs-lisp/package.el (list-packages): Fix echo area message.
4185
7690bdea
LL
41862011-09-27 Leo Liu <sdl.web@gmail.com>
4187
4188 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4189
e2ee6f30
MA
41902011-09-25 Michael Albinus <michael.albinus@gmx.de>
4191
4192 * net/dbus.el (dbus-unregister-object): Don't release services for
4193 registered signals. (Bug#9581)
4194
f3f98342
TZ
41952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4196
4197 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4198 function that picks between cfengine 2 and 3 support
4199 automatically. Update docs accordingly.
4200
dd7aa8dd
KH
42012011-09-22 Kenichi Handa <handa@m17n.org>
4202
4203 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4204 ZERO.
4205 (indian-itrans-v5-table-for-tamil): New variable.
4206 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4207
3f2b07f8
KM
42082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4209
4210 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4211 that's true if the current command involved collapsing of text.
4212 It's reset to false at the beginning of the next command.
4213 (allout-post-command-business): Move the cursor to the beginning
4214 of entry if the cursor is hidden and collapsing activity just
4215 happened.
4216
371d6a61
CY
42172011-09-24 Chong Yidong <cyd@stupidchicken.com>
4218
4219 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4220 tracking (Bug#9541).
4221
2ac2721a
UJ
42222011-09-24 Ulf Jasper <ulf.jasper@web.de>
4223
4224 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4225 (newsticker-show-news): Automatically load html rendering package
4226 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4227 because w3m-fill-column is let-bound" and the error "Symbol's value
4228 as variable is void: w3m-fill-column".
2ac2721a 4229
fac7ae53
MA
42302011-09-24 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4233 Release services only if they are defined. (Bug#9581)
4234
e08b633b
RS
42352011-09-23 Richard Stallman <rms@gnu.org>
4236
e488d29c
RS
4237 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4238 distinguish start of paragraph from start of its text.
4239
19c38752
RS
4240 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4241
e08b633b
RS
4242 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4243 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4244 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4245
0a39f27e
AS
42462011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4247
4248 * international/mule-diag.el (mule-diag): Insert a newline after
4249 each fontset description.
4250
db4e950d
SM
42512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * simple.el (delete-trailing-whitespace):
4254 Document last change; simplify.
4255
eca3f3ea
PW
42562011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4257
d68e189a
PW
4258 * simple.el (delete-trailing-whitespace): Also delete
4259 extra newlines at the end of the buffer.
4260
eca3f3ea
PW
4261 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4262 (picture-newline): Use forward-line so as to ignore fields.
4263
01c157cc
SM
42642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * subr.el (with-wrapper-hook): Fix edebug spec.
4267
022de23e
LMI
42682011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4271 (bug#4538).
4272
91683089
MA
42732011-09-23 Michael Albinus <michael.albinus@gmx.de>
4274
eca3f3ea
PW
4275 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4276 Fix nasty bug using wrong cached values.
91683089 4277
5bdd6fa4
AM
42782011-09-23 Alan Mackenzie <acm@muc.de>
4279
4280 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4281
97adfb97
CY
42822011-09-23 Chong Yidong <cyd@stupidchicken.com>
4283
4284 * window.el (pop-to-buffer): Ensure right window is selected if we
4285 chose another frame.
4286
d4ef2b50
EZ
42872011-09-22 Eli Zaretskii <eliz@gnu.org>
4288
4289 * simple.el (what-cursor-position): Use get-char-property-change
4290 and next-single-char-property-change, to be able to show display
4291 properties that come from overlays as well as text properties.
4292
72258fe5
CY
42932011-09-22 Chong Yidong <cyd@stupidchicken.com>
4294
4295 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4296
4297 * cmuscheme.el (run-scheme, switch-to-scheme):
4298 * cus-edit.el (customize-group, custom-buffer-create)
4299 (customize-browse):
4300 * info.el (info):
4301 * shell.el (shell):
4302 * mail/sendmail.el (mail):
4303 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4304
8f098516
RS
43052011-09-22 Richard Stallman <rms@gnu.org>
4306
4307 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4308 move back only to line beg, don't move back over blank lines.
4309
e74f1bb6
MA
43102011-09-22 Michael Albinus <michael.albinus@gmx.de>
4311
4312 * files.el (copy-directory): Set directory attributes only in case
4313 they could be retrieved from the source directory. (Bug#9565)
4314
bfeef8b6
DK
43152011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4316
4317 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4318 (hs-find-block-beginning, hs-hide-level-recursive):
4319 Ignore strings as well as comments. (Bug#9502)
4320
7e423bb8
AS
43212011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4322
4323 * progmodes/sql.el (sql-comint-postgres):
4324 Convert port number to a string. (Bug#9566)
4325
b4d72fcf
MR
43262011-09-22 Martin Rudalics <rudalics@gmx.at>
4327
4328 * window.el (quit-window): Undedicate window when switching to
4329 previous buffer. Reported by Thierry Volpiatto
4330 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4331 (special-display-popup-frame): When popping up a new frame reset
4332 its previous buffers to nil. Simplify code.
b4d72fcf 4333
a7b88dc6
MA
43342011-09-21 Michael Albinus <michael.albinus@gmx.de>
4335
4336 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4337 and process filter, as done also in `shell-command'.
4338
cf4eacfd
MR
43392011-09-21 Martin Rudalics <rudalics@gmx.at>
4340
eca3f3ea 4341 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4342 Call set-window-start with NOFORCE argument t.
4343 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4344 (quit-window): Reword doc-string. Handle new format of
4345 quit-restore parameter. Don't delete window if it has a
4346 previous buffer we can show instead of the present one.
4347 (display-buffer-record-window): Rewrite using a new format for
4348 the quit-restore window parameter
4349 (special-display-popup-frame, display-buffer-same-window)
4350 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4351 (display-buffer-pop-up-window, display-buffer-use-some-window):
4352 Adapt symbol passed to display-buffer-record-window.
4353 * help.el (help-window-setup): Handle new format of quit-restore
4354 parameter.
4355
8d28cb95
SM
43562011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4357
94ab793f
SM
4358 * faces.el (face-list): Fix docstring (bug#9564).
4359
8d28cb95
SM
4360 * window.el (display-buffer--action-function-custom-type):
4361 Don't include internal functions in the Custom interface.
4362
3820edeb
JL
43632011-09-20 Juri Linkov <juri@jurta.org>
4364
4365 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4366 (Info-forward-node, Info-backward-node, Info-next-preorder)
4367 (Info-last-preorder): Use it. (Bug#9528)
4368
5147931d
JL
43692011-09-20 Juri Linkov <juri@jurta.org>
4370
4371 * info.el (Info-last-preorder): Visit last menu item only when
4372 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4373
cf499a1a
JD
43742011-09-20 Julien Danjou <julien@danjou.info>
4375
4376 * password-cache.el (password-cache-remove): Remove entries even if the
4377 value is nil, so that password with a nil value (negative caching) is
4378 possible to invalidate.
4379
f84e2fe2
LM
43802011-09-20 Lawrence Mitchell <wence@gmx.li>
4381
4382 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4383 all whitespace around breakpoint. (Bug#9553)
4384 (f90-find-breakpoint): Only break at whitespace inside a comment.
4385
78054a46
SM
43862011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * minibuffer.el (completion-file-name-table): Keep track of errors.
4389 (completion-table-with-predicate): Handle the case where pred1 is nil.
4390 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4391
345083b2
SM
43922011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4393
e24e27be
SM
4394 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4395 (debugger-return-value): Signal an error if the debugging context does
4396 not await any return value.
4397
345083b2
SM
4398 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4399 * image-mode.el (image-toggle-display-text)
4400 (image-toggle-display-image): Stay away from evil `intangible'.
4401
08d355e3
LL
44022011-09-19 Leo Liu <sdl.web@gmail.com>
4403
4404 * replace.el (occur-revert-arguments): Make it permanent-local.
4405 (occur-mode): Don't call font-lock-defontify.
4406
f01da43f
CY
44072011-09-19 Chong Yidong <cyd@stupidchicken.com>
4408
4409 * net/ldap.el (ldap-search-internal): Don't push empty search
4410 result (Bug#9508).
4411
b6072fa6
SM
44122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4415
443d6696
MA
44162011-09-19 Michael Albinus <michael.albinus@gmx.de>
4417
4418 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4419 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4420
7cc6e154
JL
44212011-09-18 Juri Linkov <juri@jurta.org>
4422
4423 * buff-menu.el (Buffer-menu-mode-map):
4424 * dired.el (dired-mode-map):
4425 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4426 (lisp-interaction-mode-map):
4427 * emacs-lisp/package.el (package-menu-mode-map):
4428 * epa.el (epa-key-list-mode-map):
4429 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4430 (menu-bar-options-menu):
4431 * outline.el (outline-mode-menu-bar-map):
4432 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4433 * vc/vc-dir.el (vc-dir-menu-map):
4434 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4435 Capitalize non-function content words in menu item strings.
4436
4437 * dired.el (dired-mode-map): Add menu item for
4438 `image-dired-dired-toggle-marked-thumbs'.
4439
80302a81
JL
44402011-09-18 Juri Linkov <juri@jurta.org>
4441
4442 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4443 to `isearch-case-fold-search' and restore its original value
4444 after the `isearch-mode' call.
4445
46c5cf66
JL
44462011-09-18 Juri Linkov <juri@jurta.org>
4447
4448 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4449 because `zgrep' returns 1 for successful matches (bug#9226).
4450
d18b513b
JL
44512011-09-18 Juri Linkov <juri@jurta.org>
4452
4453 * info.el (Info-extract-menu-node-name): Check the second match
4454 for empty string (second test-case of bug#9528).
4455 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4456 intermediate nodes to the history (first test-case of bug#9528).
4457
72753f87
JL
44582011-09-18 Juri Linkov <juri@jurta.org>
4459
4460 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4461 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4462
c9384295
JL
44632011-09-18 Juri Linkov <juri@jurta.org>
4464
1154d12e
JB
4465 * info.el (Info-file-supports-index-cookies):
4466 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4467 outputs one more line for long file names (bug#4142).
c9384295 4468
d473dce8
CY
44692011-09-18 Chong Yidong <cyd@stupidchicken.com>
4470
4471 * newcomment.el (comment-normalize-vars): If prompting for
4472 comment-start, set comment-start-skip too (Bug#8424).
4473
2176854d
JB
44742011-09-18 Johan Bockgård <bojohan@gnu.org>
4475
4476 * icomplete.el: Fix previous fix of Bug#5849.
4477 (icomplete-mode): Don't set completion-show-inline-help.
4478 (icomplete-minibuffer-setup): Set completion-show-inline-help
4479 locally during icompletion.
4480
3aace4e4
CY
44812011-09-18 Chong Yidong <cyd@stupidchicken.com>
4482
c940224f
CY
4483 * woman.el (woman2-process-escapes): Don't delete unrecognized
4484 escapes (Bug#7843).
4485
3aace4e4
CY
4486 * files.el (inhibit-first-line-modes-regexps): Add image files.
4487 (hack-local-variables-prop-line): Return nil for malformed
4488 prop-lines (Bug#9044).
4489
710dec63
MA
44902011-09-18 Michael Albinus <michael.albinus@gmx.de>
4491
4492 * net/tramp.el (top): Don't require 'shell.
4493 (tramp-methods): Fix docstring.
4494 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4495 Return complete remote file name. Handle "smb" case.
4496 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4497 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4498
4499 * net/tramp-compat.el (top): Require 'shell.
4500
4501 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4502 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4503 `tramp-current-host'.
4504 (tramp-get-remote-tmpdir): Remove.
4505
4506 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4507 `tramp-tmpdir' entries.
4508 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4509 (tramp-smb-handle-file-attributes): Ignore errors.
4510 (tramp-smb-wait-for-output): Check also for process end.
4511
5d5ac8ec
LMI
45122011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4513
4514 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4515 when sending QUIT (bug#9312).
4516
8c0f49f0
CY
45172011-09-17 Chong Yidong <cyd@stupidchicken.com>
4518
4519 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4520 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4521 occur-mode-display-occurrence.
4522 (occur-edit-mode): Add usage message.
4523 (occur-cease-edit): New command.
4524 (occur-after-change-function): Use text properties to find the
4525 position of the prefix text.
4526 (occur-engine): Set stickiness of prefix text properties.
4527
8f1383f7
GM
45282011-09-17 Glenn Morris <rgm@gnu.org>
4529
4530 * progmodes/etags.el (complete-tag):
4531 Fix call to completion-in-region. (Bug#9526)
4532
744ba0e3
JL
45332011-09-17 Juri Linkov <juri@jurta.org>
4534
4535 * textmodes/ispell.el (ispell-word): Add to the error message
4536 the word, ispell program name and current dictionary (bug#9121).
4537 (ispell-tex-arg-end): Capitalize "error" in the error message.
4538
d9bbf400
AS
45392011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4540
4541 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4542 check. (Bug#4251)
4543
8da11505
JL
45442011-09-17 Juri Linkov <juri@jurta.org>
4545
4546 * window.el (window-safe-min-height, window-safe-min-width):
4547 Fix typos (followup to bug#9522).
4548
a91adc7e
SJ
45492011-09-17 Sven Joachim <svenjoac@gmx.de>
4550
4551 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4552
064f328a
EZ
45532011-09-16 Eli Zaretskii <eliz@gnu.org>
4554
4555 * simple.el (line-move): If goal-column is set, move by logical
4556 lines, not by display lines. (Bug#971)
4557 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4558 to reflect the above change.
4559
e69df516
SM
45602011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * image.el (imagemagick-register-types): Use regexp-opt.
4563
cbb0f9ab
CY
45642011-09-15 Chong Yidong <cyd@stupidchicken.com>
4565
4566 * window.el (display-buffer-base-action): Rename from
4567 display-buffer-default-action. Make default value empty.
4568 (display-buffer-overriding-action): Convert to defvar.
4569 (display-buffer-fallback-action): New var.
4570
25322144
CY
45712011-09-15 Chong Yidong <cyd@stupidchicken.com>
4572
4573 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4574 declaration.
4575 (package--add-to-archive-contents): If there is a duplicate entry
4576 with an older version, remove it.
4577 (package-menu-mark-delete, package-menu-mark-install)
4578 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4579 (package-menu-mark-obsolete-for-deletion):
4580 Use package-menu-get-status instead of a regexp search.
25322144
CY
4581 (package-menu-get-status): Use tabulated-list-entry.
4582 (package-menu-mark-upgrades): New command.
d770725a 4583 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4584 (package-menu-execute): Do installation before deletion.
4585 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4586 instead of checking major-mode.
4587 (package-menu--find-upgrades): New function.
4588
7520339c
LMI
45892011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4590
4591 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4592 passwords in the log buffer.
65a046c4
LMI
4593 (smtpmail-process-filter): Update the process marker so that the
4594 "broken by peer" status message is inserted in the right place.
7520339c 4595
d3c30954
SM
45962011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4597
3fe48822
SM
4598 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4599 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4600 bibtex-completion-at-point-function.
4601 (bibtex-completion-at-point-function): Use them.
4602
1b8b3954
SM
4603 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4604
d3c30954
SM
4605 * mpc.el (mpc-constraints-tag-lookup): New function.
4606 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4607 also to browser "album|playlist".
4608
72779976
JL
46092011-09-14 Juri Linkov <juri@jurta.org>
4610
4611 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4612 (isearch-edit-string): Use length of `isearch-string' when
4613 `isearch-fail-pos' returns nil.
4614 (isearch-message): Remove duplicate code and call
4615 `isearch-fail-pos' with arg `t'.
4616
a0bf2bcd
CY
46172011-09-14 Chong Yidong <cyd@stupidchicken.com>
4618
17bb0a2d
CY
4619 * replace.el (occur-mode-goto-occurrence): Don't force using other
4620 window (Bug#9499).
4621
a0bf2bcd
CY
4622 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4623
f678e0b6
MR
46242011-09-14 Martin Rudalics <rudalics@gmx.at>
4625
4626 * window.el (display-buffer-window): Remove.
4627 (display-buffer-record-window): Use help-setup window parameter
4628 instead of variable display-buffer-window.
4629 (display-buffer-function, special-display-buffer-names)
4630 (special-display-function): Mention help-setup parameter instead
4631 of display-buffer-window in doc-string.
d3c30954
SM
4632 * help.el (help-window-setup): New argument help-window.
4633 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4634 Reword some messages.
4635 (with-help-window): Pass window used for displaying the buffer
4636 to help-window-setup. Don't set display-buffer-window.
4637
8e39b2e8
GM
46382011-09-13 Glenn Morris <rgm@gnu.org>
4639
4640 * emacs-lisp/debug.el (debugger-make-xrefs):
4641 Preserve point. (Bug#9462)
4642
85e9c04b
CY
46432011-09-13 Chong Yidong <cyd@stupidchicken.com>
4644
4645 * window.el (window-deletable-p): Use next-frame.
4646
1b36ed6a
MR
46472011-09-13 Martin Rudalics <rudalics@gmx.at>
4648
4649 * window.el (window-auto-delete): Remove.
4650 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4651 dedication and previous buffers.
1b36ed6a
MR
4652 (switch-to-prev-buffer): Don't delete window.
4653 (delete-windows-on): Delete a window's frame if and only if the
4654 window is dedicated.
4655 (replace-buffer-in-windows): Delete buffer's window or frame if
4656 and only if window is dedicated.
4657 (quit-window): Handle quit-restore as before last change.
4d61f28d 4658 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4659
ef8ef9fb
CY
46602011-09-13 Chong Yidong <cyd@stupidchicken.com>
4661
4662 * window.el (window-deletable-p): Never delete the last frame on a
4663 given terminal.
4664
b2cba41e
GM
46652011-09-13 Glenn Morris <rgm@gnu.org>
4666
4667 * help.el (describe-key-briefly): Copy previous standard-output change.
4668
51553db6 46692011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4670
4671 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4672
b7556719
GM
46732011-09-13 Glenn Morris <rgm@gnu.org>
4674
4675 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4676 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4677
64b51947
CY
46782011-09-12 Chong Yidong <cyd@stupidchicken.com>
4679
4680 * dired-aux.el (dired-mark-read-string): Don't return default
4681 value on empty input (Bug#9361).
4682 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4683 Omit initial minibuffer contents.
4684 (dired-do-chmod): Signal an error on empty input.
4685 (dired-mark-read-string): Don't return default on empty input.
4686
4687 * files.el (file-modes-symbolic-to-number): Doc fix.
4688
393a301e
SM
46892011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * international/mule-cmds.el (ucs-completions): Remove.
4692 (read-char-by-name): Use complete-with-action instead; add metadata.
4693
fa5660f9
CY
46942011-09-11 Chong Yidong <cyd@stupidchicken.com>
4695
4696 * window.el (display-buffer--action-function-custom-type)
4697 (display-buffer--action-custom-type): New vars.
4698 (display-buffer-alist, display-buffer-default-action)
4699 (display-buffer-overriding-action): Add defcustom types.
4700
4a592f66
CY
4701 * frame.el (delete-other-frames): Doc fix (Bug#276).
4702
73d56dbd
LMI
47032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4704
4705 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4706
37ac18a3
CY
47072011-09-11 Chong Yidong <cyd@stupidchicken.com>
4708
4709 Change modes that used same-window-* vars to use switch-to-buffer.
4710
4711 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4712 Use switch-to-buffer.
4713
4714 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4715 (customize-browse, custom-buffer-create-other-window):
4716 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4717
4718 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4719 (Info-prev, Info-up, Info-speedbar-goto-node)
4720 (info-display-manual): Use switch-to-buffer.
4721 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4722
4723 * mail/sendmail.el (mail): Use switch-to-buffer.
4724 (mail-recover): Use switch-to-buffer-other-window.
4725
4726 * cmuscheme.el (run-scheme, switch-to-scheme):
4727 * ielm.el (ielm):
4728 * shell.el (shell):
4729 * net/rlogin.el (rlogin):
4730 * net/telnet.el (telnet, rsh):
4731 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4732
10195bd6
AS
47332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4734
4735 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4736
b322f63a
LMI
47372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4738
39d7fed6
LMI
4739 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4740 so don't mention it (bug#9301).
ba5a81f1 4741 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4742
ee0e9f11
LMI
4743 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4744 match `x', `w32' and `ns', like the manual says (bug#9029).
4745
0b1c89c1 4746 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4747 (process-kill-buffer-query-function): Mention the buffer name in
4748 the query.
0b1c89c1 4749
77549ea8
LMI
4750 * image-mode.el (image-next-line): The line parameter is mandatory
4751 (bug#9258).
4752
803ef892
LMI
4753 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4754 which can be useful (bug#9301).
4755
12980837
LMI
4756 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4757
91054f8f
LMI
4758 * subr.el (match-string): Mention that the current buffer should
4759 be the same as the search was done in (bug#9282).
4760
b322f63a
LMI
4761 * facemenu.el: Disable the remove-* commands if the mark isn't
4762 active (bug#9162).
4763
3199b96f
CY
47642011-09-10 Chong Yidong <cyd@stupidchicken.com>
4765
4766 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4767 of display-buffer.
4768 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4769
4770 * replace.el (occur-mode-goto-occurrence)
4771 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4772 and display-buffer.
4773
4774 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4775 display-buffer.
4776
4777 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4778 special-display and same-window variables.
4779 (mail-other-window): Use switch-to-buffer-other-window.
4780 (mail-other-frame): USe switch-to-buffer-other-frame.
4781
393a301e
SM
4782 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4783 Use display-buffer-other-frame.
3199b96f
CY
4784 (gdb-display-gdb-buffer): Use pop-to-buffer.
4785
4786 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4787
4788 * progmodes/python.el: Don't set same-window-buffer-names.
4789
4790 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4791
4792 * window.el (display-buffer-alist): Add *Python*.
4793
8319e0bf
CY
47942011-09-10 Chong Yidong <cyd@stupidchicken.com>
4795
4796 * window.el (display-buffer-alist): Add entry for buffers
4797 previously handled same-window-*.
4798 (display-buffer-alist, display-buffer-default-action)
4799 (display-buffer-overriding-action): Mark as risky.
4800 (display-buffer-alist): Document action function changes.
4801 (display-buffer--same-window-action)
4802 (display-buffer--other-frame-action): New variables.
4803 (switch-to-buffer, display-buffer-other-frame): Use them.
4804 (display-buffer): Rename reuse-frame entry to reusable-frames.
4805 (display-buffer-reuse-selected-window): Function deleted.
4806 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4807 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4808 (display-buffer-special): New function.
4809 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4810 display-buffer-reuse-or-pop-window. Split off special-display
4811 part into display-buffer-special.
4812 (display-buffer-use-some-window): Don't perform any special
4813 pop-up-frames handling.
4814 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4815 (display-buffer--maybe-same-window): Rename from
0d3ff375 4816 display-buffer-maybe-same-window.
8319e0bf 4817
919a69aa
CY
4818 * info.el: Don't set same-window-regexps.
4819 (info-setup): New function.
4820 (info-other-window, info): Call it.
4821
4822 * cus-edit.el: Don't set same-window-regexps.
4823 (customize-group): New argument.
4824 (customize-group-other-window): Use it.
4825 (customize-face, customize-face-other-window): Likewise.
4826 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4827
8319e0bf
CY
4828 * net/rlogin.el:
4829 * net/telnet.el:
4830 * progmodes/gud.el: Don't set same-window-regexps.
4831
4832 * cmuscheme.el:
4833 * ielm.el:
4834 * shell.el:
4835 * mail/sendmail.el:
4836 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4837
25173000
JL
48382011-09-10 Juri Linkov <juri@jurta.org>
4839
4840 * isearch.el (isearch-edit-string): Remove obsolete mention of
4841 `C-w' (`isearch-yank-word-or-char') from docstring.
4842 (isearch-query-replace): Fix typo in docstring (bug#9466).
4843
056e44ef
JL
48442011-09-10 Juri Linkov <juri@jurta.org>
4845
4846 * paren.el (show-paren-function): Don't show escaped parens.
4847 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4848
c3760c17
EZ
48492011-09-10 Eli Zaretskii <eliz@gnu.org>
4850
4851 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4852 (mm-default-file-encoding): Remove autoload forms, they are
4853 replaced with autoload cookies in mml.el and mm-encode.el.
4854 (mail-add-attachment): New command.
4855 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4856 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4857 the doc string.
4858 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4859
fece895e
RT
48602011-09-10 Reuben Thomas <rrt@sc3d.org>
4861
e69df516
SM
4862 * simple.el (count-words-region): Use buffer if there's no region
4863 (bug#9429).
fece895e 4864
5e68ce4a
JL
48652011-09-09 Juri Linkov <juri@jurta.org>
4866
4867 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4868 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4869 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4870
0a6b9622
AM
48712011-09-09 Alan Mackenzie <acm@muc.de>
4872
4873 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4874 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4875
14a29deb
EZ
48762011-09-09 Eli Zaretskii <eliz@gnu.org>
4877
4878 Fix for Savannah bug#9392.
4879 * simple.el (mail-encode-mml): New defvar.
4880
4881 * mail/rmail.el (mail-encode-mml): Add a defvar.
4882 (rmail-enable-mime-composing): Default to t.
4883 (rmail-forward): Use MIME method of forwarding only if both
4884 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4885 Set mail-encode-mml non-nil if the MIME method was used.
4886
4887 * mail/sendmail.el (mml-to-mime): Add autoload form.
4888 (mail-encode-mml): Add a defvar.
4889 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4890 to nil.
4891 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4892 message through mml-to-mime, and reset mail-encode-mml to nil.
4893
28c45130
GM
48942011-09-09 Glenn Morris <rgm@gnu.org>
4895
4896 * woman.el (woman-if-body): When processing an .el block,
4897 do not delete the next .el block as well. (Bug#9447)
69f4b618 4898 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4899
9b1c252e
MR
49002011-09-08 Martin Rudalics <rudalics@gmx.at>
4901
4902 * window.el (window-deletable-p): Make sure window is live before
4903 invoking window-prev-buffers.
4904
567457e3
LL
49052011-09-08 Leo Liu <sdl.web@gmail.com>
4906
4907 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4908
97f05794
JL
49092011-09-08 Juri Linkov <juri@jurta.org>
4910
4911 * progmodes/compile.el (compilation-environment): Make it
4912 a defcustom (bug#8340).
4913
8b0874b5
MR
49142011-09-08 Martin Rudalics <rudalics@gmx.at>
4915
4916 * window.el (frame-auto-delete): Rename to window-auto-delete.
4917 Make it control auto-deletion of windows and/or frames.
4918 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4919 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4920 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4921 Rewrite handling of case when window/frame can be deleted.
4922 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4923 argument t. (Bug#9456)
8b0874b5 4924
4feb6e73
CY
49252011-09-07 Chong Yidong <cyd@stupidchicken.com>
4926
4927 * help-mode.el (help-mode): Restore autoload.
4928
91ab9c13
JL
49292011-09-07 Juri Linkov <juri@jurta.org>
4930
4931 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4932 `compilation-environment'. Set buffer-local
4933 `compilation-environment' to `thisenv' later after (funcall mode).
4934 (Bug#8340)
4935
4936 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4937 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4938 instead of replacing its value. (Bug#8340)
4939
0527e251
JL
49402011-09-07 Juri Linkov <juri@jurta.org>
4941
4942 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4943 based on text properties put by `grep-filter' instead of matching
4944 escape sequences.
4945 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4946 to the value of `grep-error-screen-columns' (bug#9438).
4947
249f792c
JL
49482011-09-07 Juri Linkov <juri@jurta.org>
4949
4950 * simple.el (next-error-highlight, next-error-highlight-no-select):
4951 Doc fix (bug#9432).
4952
ff7271b9
OT
49532011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4954
4955 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4956 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4957
183fc730
LL
49582011-09-07 Leo Liu <sdl.web@gmail.com>
4959
4960 * net/rcirc.el (rcirc-mode): Conditionally initialize
4961 rcirc-input-ring.
4962
77694924
SM
49632011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * emacs-lisp/find-func.el (find-function-C-source): Only set
4966 find-function-C-source-directory after checking that we found a source
4967 file there (bug#9440).
4968
d809b8eb
AM
49692011-09-06 Alan Mackenzie <acm@muc.de>
4970
4971 * isearch.el (isearch-other-meta-char): Wherever a key list is
4972 unread, "unread" the prefix arg, too. This fixes bug #8901.
4973
453de99f
OG
49742011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4975
4976 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4977
90439906
JL
49782011-09-05 Juri Linkov <juri@jurta.org>
4979
4980 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4981
f62bd846
JL
49822011-09-05 Juri Linkov <juri@jurta.org>
4983
4984 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4985 keeping point where processing of grep matches begins, and
4986 continue to delete remaining escape sequences from the same point.
4987 (grep-filter): Make leading zero optional in "0?1;31m" because
4988 git-grep emits "\033[1;31m" escape sequences unlike expected
4989 "\033[01;31m" as GNU Grep does (bug#9408).
4990 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4991
045820ec
JL
49922011-09-05 Juri Linkov <juri@jurta.org>
4993
4994 * subr.el (y-or-n-p): Capitalize "yes".
4995
f5e29b9b
MA
49962011-09-04 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4999 `tramp-cache-unload-hook' where appropriate.
5000 (tramp-methods): Rename `tramp-remote-sh' to
5001 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5002 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5003
5004 * net/tramp-sh.el (top): Don't require 'shell.
5005 (tramp-methods): Add `tramp-remote-shell' and
5006 `tramp-remote-shell-args' entries.
5007 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5008 (tramp-sh-handle-shell-command): Remove.
5009 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5010 Use `tramp-remote-shell'.
5011
2784c434
CY
50122011-09-03 Chong Yidong <cyd@stupidchicken.com>
5013
393a301e 5014 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5015 (sendmail-query-once): Save directly to send-mail-function.
5016 Update message-send-mail-function too.
5017
5018 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5019
464cdf56
CS
50202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5021
5022 * progmodes/python.el (python-mode-map): Use correct function to
5023 start python interpreter from menu-bar (as reported by Geert
5024 Kloosterman).
5025 (inferior-python-mode-map): Fix typo.
393a301e 5026 (python-shell-map): Remove.
464cdf56 5027
d37e5c87
DD
50282011-09-03 Deniz Dogan <deniz@dogan.se>
5029
5030 * net/rcirc.el (rcirc-print): Simplify code for
5031 rcirc-scroll-show-maximum-output. There is no need to walk
5032 through all windows to find the right one.
5033
f3ada0ee
CS
50342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5035
5036 * help.el (help-return-method): Doc fix.
5037
1f3c99ca
MR
50382011-09-03 Martin Rudalics <rudalics@gmx.at>
5039
5040 * window.el (window-deletable-p): Don't return a non-nil value
5041 when there's a buffer that was shown in the window before.
5042 (Bug#9419)
393a301e
SM
5043 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5044 Set window's previous buffers to nil.
1f3c99ca 5045
a3cf097f
EZ
50462011-09-03 Eli Zaretskii <eliz@gnu.org>
5047
5048 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5049 newline before and after the tag line, so it doesn't interfere
5050 with determining the paragraph direction of bidirectional text.
5051
3d03de90
LL
50522011-09-03 Leo Liu <sdl.web@gmail.com>
5053
5054 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5055
c3313451
CY
50562011-09-02 Chong Yidong <cyd@stupidchicken.com>
5057
393a301e 5058 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5059 (pop-to-buffer): Change interactive spec. Pass second argument
5060 directly to display-buffer.
5061 (display-buffer): Fix interactive spec. Use functionp to
5062 distinguish between a function and a list of functions.
5063
5064 * abbrev.el (edit-abbrevs):
5065 * arc-mode.el (archive-extract):
5066 * autoinsert.el (auto-insert):
5067 * bookmark.el (bookmark-bmenu-list):
5068 * files.el (find-file):
5069 * view.el (view-buffer):
5070 * progmodes/compile.el (compilation-goto-locus):
5071 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5072
89894cd8
CY
50732011-09-02 Chong Yidong <cyd@stupidchicken.com>
5074
5075 * window.el (display-buffer-alist): Doc fix.
5076 (display-buffer): Add docstring. Don't treat
5077 display-buffer-default specially.
5078 (display-buffer-reuse-selected-window)
5079 (display-buffer-same-window, display-buffer-maybe-same-window)
5080 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5081 (display-buffer-pop-up-window)
5082 (display-buffer-reuse-or-pop-window)
5083 (display-buffer-use-some-window): New functions.
5084 (display-buffer-default-action): Use them.
393a301e 5085 (display-buffer-default): Delete.
89894cd8
CY
5086 (pop-to-buffer-1): Fix choice of actions.
5087
ae0bc9fb
SM
50882011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * minibuffer.el (completion--insert-strings): Don't get confused by
5091 completion entries that end with an LF char.
5092
e9d90883
EZ
50932011-09-01 Eli Zaretskii <eliz@gnu.org>
5094
5095 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5096
437014c8
CY
50972011-09-01 Chong Yidong <cyd@stupidchicken.com>
5098
5099 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5100 (display-buffer-same-window, display-buffer-other-window):
5101 New functions.
437014c8
CY
5102 (pop-to-buffer-1): New function. Use the above.
5103 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5104 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5105
5106 * view.el (view-buffer-other-window, view-buffer-other-frame):
5107 Just use pop-to-buffer.
5108
a5e063d5
TV
51092011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5110
5111 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5112
793d32bb
WH
51132011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5114
5115 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5116
d65e4c15
RS
51172011-08-31 Richard Stallman <rms@gnu.org>
5118
5119 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5120 of the separation of rmail-view-buffer from rmail-buffer.
5121 If you say no to "replace original", the decrypt is in the
5122 view buffer. If you say yes, the decrypt goes into the
5123 rmail buffer also.
5124
f818cd2a
MR
51252011-08-31 Martin Rudalics <rudalics@gmx.at>
5126
5127 * window.el (display-buffer-window): Rewrite doc-string.
5128 (display-buffer-record-window): New function.
5129 (display-buffer-macro-specifiers)
5130 (display-buffer-even-window-sizes, display-buffer-set-height)
5131 (display-buffer-set-width, display-buffer-in-window)
5132 (display-buffer-reuse-window, display-buffer-split-specifiers)
5133 (display-buffer-side-specifiers, display-buffer-split-window-1)
5134 (display-buffer-split-window, display-buffer-split-atom-window)
5135 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5136 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5137 (display-buffer-other-window-means-other-frame)
5138 (display-buffer-normalize-special)
5139 (display-buffer-normalize-default)
5140 (display-buffer-normalize-argument)
5141 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5142 (display-buffer-normalize-specifiers, display-buffer-frame)
5143 (display-buffer-same-window, display-buffer-same-frame)
5144 (display-buffer-other-window)
5145 (display-buffer-same-frame-other-window)
5146 (display-buffer-other-frame, pop-to-buffer-same-window)
5147 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5148 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5149 (switch-to-buffer-same-frame)
5150 (switch-to-buffer-other-window-same-frame)
5151 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5152 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5153 (display-buffer-alist-set): Remove.
5154 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5155 (special-display-regexps, special-display-function):
5156 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5157 parameter.
5158 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5159 (special-display-frame-alist, special-display-popup-frame)
5160 (same-window-buffer-names, same-window-regexps, same-window-p)
5161 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5162 (split-window-preferred-function, split-height-threshold)
5163 (split-width-threshold, window-splittable-p)
5164 (split-window-sensibly, window--try-to-split-window)
5165 (window--frame-usable-p, even-window-heights)
5166 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5167 (window--display-buffer-2, display-buffer-other-frame):
5168 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5169 (display-buffer-default, display-buffer-assq-regexp): New functions.
5170 (display-buffer-alist): Rewrite doc-string.
5171 (display-buffer-default-action)
5172 (display-buffer-overriding-action): New variables.
5173 (display-buffer, switch-to-buffer): Rewrite.
5174 (pop-to-buffer): Restore Emacs 23 behavior but use
5175 window-normalize-buffer-to-display.
5176 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5177 Restore Emacs 23 behavior but use
5178 window-normalize-buffer-to-switch-to.
5179 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5180 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5181 Rewrite using Emacs 23 options.
f818cd2a 5182
5bc3b51d
MA
51832011-08-31 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * net/tramp.el (tramp-root-regexp): Remove.
5186 (tramp-completion-file-name-regexp-unified)
5187 (tramp-completion-file-name-regexp-separate)
5188 (tramp-completion-file-name-regexp-url): Don't use leading volume
5189 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5190 (tramp-drop-volume-letter): Simplify definition.
5191 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5192
b1a4f8e1
SM
51932011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5196 (bug#9356).
5197
5664fa7b
RT
51982011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5199
b1a4f8e1 5200 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5201
9a45d6c3
JL
52022011-08-29 Juri Linkov <juri@jurta.org>
5203
5204 * isearch.el (isearch-done): Don't display message "Mark saved"
5205 when arg `edit' is non-nil to prevent its flicker in the echo area.
5206
fb87e0fb
CY
52072011-08-28 Chong Yidong <cyd@stupidchicken.com>
5208
5209 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5210 obsolete packages for deletion.
5211
09ac1c2a
CS
52122011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5213
5214 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5215 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5216 view-mode from help-mode.
5217 (help-xref-override-view-map): Remove.
5218 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5219 view-mode is not used anymore.
5220
7a1ff57f
CY
52212011-08-28 Chong Yidong <cyd@stupidchicken.com>
5222
5223 * server.el (server-port): Doc fix.
5224
b9696605
CY
5225 * cus-theme.el (custom-theme-choose-mode): Inherit from
5226 special-mode (Bug#9124).
5227 (custom-theme-choose-mode-map): Add special-mode to parent.
5228
ef8cdf8c
AM
52292011-08-28 Alan Mackenzie <acm@muc.de>
5230
5231 * progmodes/cc-fonts.el
5232 (c-make-font-lock-BO-decl-search-function): New function.
5233 (c-basic-matchers-after - "Fontify the clauses after various
5234 keywords"): Extract the three keyword lists for the 3 erroneous
5235 constructs from the list of four, and use the new function above
5236 in place of an old one.
5237
27de4e20
DD
52382011-08-28 Deniz Dogan <deniz@dogan.se>
5239
5240 * net/rcirc.el (rcirc-insert-prev-input)
5241 (rcirc-insert-next-input): Remove unused argument.
5242
356a3681
SM
52432011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5246
3fc9b218
AM
52472011-08-27 Alan Mackenzie <acm@muc.de>
5248
5249 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5250 handle function pointer parameters properly.
5251
538a061c
MR
52522011-08-27 Martin Rudalics <rudalics@gmx.at>
5253
5254 * window.el (display-buffer-reuse-window): Fix case where
5255 selected window was reused with non-nil OTHER-WINDOW argument.
5256 (Bug#9381)
5257
35b1c40c
DD
52582011-08-27 Deniz Dogan <deniz@dogan.se>
5259
5260 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5261 oftc's NickServ messages.
5262
2f6a3e79
GM
52632011-08-27 Glenn Morris <rgm@gnu.org>
5264
5265 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5266
7254299e
CY
52672011-08-26 Chong Yidong <cyd@stupidchicken.com>
5268
5269 * emacs-lisp/package.el (package-install): Call package-initialize
5270 if called interactively.
5271
f8ccf167
LL
52722011-08-26 Leo Liu <sdl.web@gmail.com>
5273
5274 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5275
3e8cd5ce
JL
52762011-08-25 Juri Linkov <juri@jurta.org>
5277
5278 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5279 `search-whitespace-regexp' (bug#9364).
5280
93eb7113
JL
52812011-08-25 Juri Linkov <juri@jurta.org>
5282
5283 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5284 `regexp-search-ring' to their global values to protect from
5285 updating by `read-from-minibuffer' (bug#9185).
5286
f65d1611
JL
52872011-08-25 Juri Linkov <juri@jurta.org>
5288
5289 * textmodes/ispell.el (ispell-command-loop): Add newline
5290 at the end of the "Use option `i'..." line.
5291
f1cf7a31
JL
52922011-08-25 Juri Linkov <juri@jurta.org>
5293
5294 * battery.el (display-battery-mode): If `battery-status-function'
5295 or `battery-mode-line-format' is nil, display the message and set
5296 `display-battery-mode' to nil (bug#9363).
5297
0c95fcf7
EZ
52982011-08-25 Eli Zaretskii <eliz@gnu.org>
5299
5300 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5301 bidi-string-mark-left-to-right; they are unnecessary now.
5302
a2ebe600
DD
53032011-08-25 Deniz Dogan <deniz@dogan.se>
5304
5305 * net/quickurl.el: Documentation typo fixes.
5306
e4ed06f1
CY
53072011-08-25 Chong Yidong <cyd@stupidchicken.com>
5308
5309 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5310
e5f1c99e
GM
53112011-08-25 Glenn Morris <rgm@gnu.org>
5312
b2948976
GM
5313 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5314
e5f1c99e
GM
5315 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5316 (smtpmail-via-smtp): Handle nil response from smtp.
5317
f22f4808
JL
53182011-08-24 Juri Linkov <juri@jurta.org>
5319
5320 * proced.el (proced-marked): Inherit from `error' instead of
5321 `font-lock-warning-face'.
5322
5323 * ibuffer.el (ibuffer-marked-face): Change default face from
5324 `font-lock-warning-face' to `warning'.
5325 (ibuffer-deletion-face): Change default face from
5326 `font-lock-type-face' to `error'.
5327
5328 * battery.el (battery-update): Use the face `error' instead of
5329 `font-lock-warning-face' (bug#6117).
5330
6a93965e
JL
53312011-08-24 Juri Linkov <juri@jurta.org>
5332
5333 * faces.el (success): Change face color from "Green3" to
5334 "ForestGreen" on light background (bug#9353).
5335
1ed43b09
CY
53362011-08-24 Chong Yidong <cyd@stupidchicken.com>
5337
5664fa7b
RT
5338 * window.el (quit-window): Rename from quit-restore-window.
5339 Use same arglist as old quit-window.
1ed43b09
CY
5340 (frame-auto-delete): Doc fix.
5341
5342 * view.el (view-mode-exit): Use quit-window.
5343
11dcdbb2
JL
53442011-08-24 Juri Linkov <juri@jurta.org>
5345
5346 * isearch.el (isearch-ring-adjust1): Start visiting previous
5347 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5348 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5349 for empty search string (when the last search string is reused
5350 automatically) to adjust the isearch ring to the last element and
5351 prepare the correct index for further M-p commands (bug#9185).
5352
de62b4df
KH
53532011-08-24 Kenichi Handa <handa@m17n.org>
5354
5355 * international/ucs-normalize.el: If decomposition property of
5356 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5357 nil.
5358 (nfd, nfkd): Likewise.
5359
963b492b
SM
53602011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5363 from process filters aren't reliably transmitted to the surrounding
5364 accept-process-output.
5365 (mpc-proc-check): New function.
5366 (mpc-proc-sync): Use it (bug#8293)
5367
93b6b5e1
SM
53682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5371 Add compatibility functions (bug#9313).
5372
bca633fb
EZ
53732011-08-23 Eli Zaretskii <eliz@gnu.org>
5374
b177498a
EZ
5375 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5376
6df6ae42 5377 * international/uni-bidi.el: Regenerate.
bca633fb 5378
0902a04e
KH
53792011-08-23 Kenichi Handa <handa@m17n.org>
5380
5381 * international/charprop.el:
5382 * international/uni-bidi.el:
5383 * international/uni-category.el:
5384 * international/uni-combining.el:
5385 * international/uni-comment.el:
5386 * international/uni-decimal.el:
5387 * international/uni-decomposition.el:
5388 * international/uni-digit.el:
5389 * international/uni-lowercase.el:
5390 * international/uni-mirrored.el:
5391 * international/uni-name.el:
5392 * international/uni-numeric.el:
5393 * international/uni-old-name.el:
5394 * international/uni-titlecase.el:
5395 * international/uni-uppercase.el: Regenerate.
5396
3bbf23bc
MR
53972011-08-23 Martin Rudalics <rudalics@gmx.at>
5398
5399 * help.el (help-window-setup): Fix message displayed when other
5400 window is reused. (Bug#9341)
5401
b3fd59bd
SM
54022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5403
1802e444
SM
5404 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5405 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5406
b3fd59bd
SM
5407 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5408 Mark obsolete.
5409 * shell.el (shell-parse-pcomplete-arguments): New function.
5410 (shell-completion-vars): Use it instead (bug#9160).
5411
4eb61348
SM
54122011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5413
867cab74
SM
5414 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5415 strings and comments (bug#9333).
5416
4eb61348
SM
5417 * emacs-lisp/debug.el (debug-arglist): New function.
5418 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5419 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5420
262a1439
JL
54212011-08-22 Juri Linkov <juri@jurta.org>
5422
56ee679c
JL
5423 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5424 Revert regexp that highlights output switches to its old
5425 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5426
262a1439
JL
5427 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5428 to check for empty output (bug#9226).
5429
f13f86fb
CY
54302011-08-22 Chong Yidong <cyd@stupidchicken.com>
5431
5432 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5433 symbol-constituent as the default, as that stops font-lock from
5434 working properly (Bug#8843).
5435
c65c9622
LMI
54362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437
5438 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5439 `coding-system-for-*' around the process open call to avoid
5440 auth-source side effects.
e7f2c178 5441 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5442 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5443 probe hangs.
c65c9622 5444
23a8a5ab
CY
54452011-08-21 Chong Yidong <cyd@stupidchicken.com>
5446
ff98b2dd
CY
5447 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5448
23a8a5ab
CY
5449 * emacs-lisp/find-func.el (find-function-noselect): New arg
5450 lisp-only.
5451
5452 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5453 signal an error for built-in functions (Bug#6664).
5454
f5e3c598
LMI
54552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5456
5457 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5458 (smtpmail-try-auth-methods): Use it.
5459
a3f2468a
CY
54602011-08-21 Chong Yidong <cyd@stupidchicken.com>
5461
2c34e8da
CY
5462 * font-lock.el (font-lock-fontify-region)
5463 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5464 (font-lock-default-unfontify-buffer)
5465 (font-lock-default-fontify-region)
5466 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5467
b3fd59bd
SM
5468 * progmodes/compile.el (compilation-error-properties):
5469 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5470 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5471 `ant' regexp.
ee31aabc 5472
a3f2468a
CY
5473 * net/browse-url.el (browse-url-firefox): Don't call
5474 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5475
8e999f70
GM
54762011-08-20 Glenn Morris <rgm@gnu.org>
5477
c21a496a
GM
5478 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5479
59ee0542
GM
5480 * tutorial.el (tutorial--default-keys): Update some default bindings.
5481
8e999f70
GM
5482 * files.el (hack-local-variables): Fully ignore case for "mode:".
5483
e3715033
AM
54842011-08-20 Alan Mackenzie <acm@muc.de>
5485
5486 Resolve invalid use of a regexp in regexp-opt.
5487
4d61f28d
JB
5488 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5489 detection for a java annotation.
e3715033 5490
4d61f28d 5491 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5492 detection for a java annotation.
5493
4d61f28d
JB
5494 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5495 handling for java.
e3715033
AM
5496 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5497
04ed2e9c
CY
54982011-08-20 Chong Yidong <cyd@stupidchicken.com>
5499
5500 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5501 (Bug#9274).
5502
826cee64
AM
55032011-08-20 Alan Mackenzie <acm@muc.de>
5504
58179cce 5505 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5506 such a construct. Mainly for when jit-lock etc. starts a chunk
5507 here.
5508
58179cce 5509 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5510 variable.
58179cce 5511 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5512 c-make-font-lock-search-function.
5513 (c-make-font-lock-search-function): Use the above function.
5514 (c-make-font-lock-context-search-function): New function.
5515 (c-cpp-matchers): Enhance the preprocessor expression case with
5516 the above function
5517 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5518 which takes an expression.
5519
5520 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5521
13009bd8
MR
55222011-08-20 Martin Rudalics <rudalics@gmx.at>
5523
5524 * window.el (display-buffer-reuse-window)
5525 (display-buffer-pop-up-window): Don't reuse or split a side
5526 window.
5527
9234ff7f
GM
55282011-08-19 Glenn Morris <rgm@gnu.org>
5529
5530 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5531 Downcase "Mode:". (Bug#9331)
9234ff7f 5532
f635daa1
CY
55332011-08-18 Chong Yidong <cyd@stupidchicken.com>
5534
5535 * international/characters.el: Add L and R categories.
5536
5537 * subr.el (bidi-string-mark-left-to-right): Rename from
5538 string-mark-left-to-right. Use category search.
5539
5540 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5541
bc987f8b
JL
55422011-08-18 Juri Linkov <juri@jurta.org>
5543
5544 * faces.el (error, warning, success): New faces with definitions
5545 copied from old default values of `font-lock-warning-face',
5546 `compilation-warning', `compilation-info' (bug#6117).
5547
5548 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5549
5550 * progmodes/compile.el (compilation-error): Inherit from `error'.
5551 (compilation-warning): Inherit from `warning'.
5552 (compilation-info): Inherit from `success'.
5553
5554 * dired.el (dired-marked): Inherit from `warning'.
5555 (dired-flagged): Inherit from `error'.
5556
57173b96
LMI
55572011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5558
3e79eb87
LMI
5559 * mail/smtpmail.el (auth-source): Require to avoid problems with
5560 binding variables (bug#9298). Also clean up some unused
5561 autoloads.
5562
b3fd59bd
SM
5563 * net/network-stream.el (network-stream-open-starttls):
5564 Support using starttls.el without using gnutls-cli.
57173b96 5565
02b404de
JL
55662011-08-17 Juri Linkov <juri@jurta.org>
5567
5568 * progmodes/grep.el (rgrep): Handle the case when
5569 `grep-find-command' is a cons cell (bug#9278).
5570
8c9177f2
MR
55712011-08-17 Martin Rudalics <rudalics@gmx.at>
5572
5573 * window.el (display-buffer-pop-up-frame): Run frame creation
5574 function with BUFFER current (as special-display-popup-frame
5575 does). Reported by Drew Adams.
5576
3644a0ab
DU
55772011-08-17 Daiki Ueno <ueno@unixuser.org>
5578
5579 * epa-mail.el: Simplify GnuPG group expansion using
5580 epg-expand-group.
5581 (epa-mail-group-alist, epa-mail-group-modtime)
5582 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5583 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5584 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5585 Remove.
5586
5e617bc2 55872011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5588
5589 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5590
9c4aeabf
AM
55912011-08-16 Alan Mackenzie <acm@muc.de>
5592
5593 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5594 Correct, to avoid the inside of macros.
5595
3a99bf64
RS
55962011-08-16 Richard Stallman <rms@gnu.org>
5597
04963aa8
RS
5598 * epa-mail.el: Handle GnuPG group definitions.
5599 (epa-mail-group-alist, epa-mail-group-modtime)
5600 (epa-mail-gnupg-conf-file): New variables.
5601 (epa-mail-parse-groups, epa-mail-sync-groups)
5602 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5603 (epa-mail-expand-recipients): New functions.
5604 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5605
177549d0
RS
5606 * mail/rmail.el (rmail-epa-decrypt): New command.
5607
fe38beef
RS
5608 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5609 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5610 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5611 (epa-decrypt-armor-in-region): Make error message clearer.
5612
934eacb9
SM
56132011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5616 and "a2b" to "ab" for `prefix'.
5617
d024fb4e
CY
56182011-08-14 Chong Yidong <cyd@stupidchicken.com>
5619
5620 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5621 filter groups.
de148fee
CY
5622 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5623 Fourquet (Bug#8804).
d024fb4e 5624
62f1ca49
JB
56252011-08-12 Juanma Barranquero <lekktu@gmail.com>
5626
5627 * startup.el (argi): Declare as global variable (bug#9275).
5628
9ccaaa4b
CY
56292011-08-12 Chong Yidong <cyd@stupidchicken.com>
5630
5631 * subr.el (string-mark-left-to-right): Search the entire string
5632 for RTL script, not just the terminating character. Doc fix.
5633
a3dae87a
SM
56342011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5635
6cd18349
SM
5636 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5637 New function.
5638 (js--regexp-literal, js-syntax-propertize-function): Remove.
5639 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5640 (js-mode-map): Don't rebind electric keys.
5641 (js-insert-and-indent): Remove.
5642 (js-mode): Setup electric-layout and electric-indent instead.
5643
a3dae87a
SM
5644 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5645
9d5cb631
DU
56462011-08-12 Daiki Ueno <ueno@unixuser.org>
5647
5648 * epa.el (epa-progress-callback-function): Fix the logic of
5649 displaying progress.
5650 * epa-file.el (epa-file-insert-file-contents): Make progress
5651 display more user-friendly.
5652 (epa-file-write-region): Ditto.
5653
3e26a4a2
CY
56542011-08-10 Chong Yidong <cyd@stupidchicken.com>
5655
5656 * subr.el (string-mark-left-to-right): New function.
5657
5658 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5659 Use string-mark-left-to-right.
5660 (list-buffers-noselect): Caller changed.
5661
a3dae87a
SM
5662 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5663 Use string-mark-left-to-right.
3e26a4a2
CY
5664 (tabulated-list-print): Recenter after moving point.
5665
ac8cf6e6
JL
56662011-08-10 Juri Linkov <juri@jurta.org>
5667
5668 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5669 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5670 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5671
8d96c9a4
CY
56722011-08-09 Chong Yidong <cyd@stupidchicken.com>
5673
5674 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5675 (Bug#7554).
5676
7be1c708 56772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5678
5679 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5680 character. (Bug#6594)
5681
37e11a63
CY
56822011-08-08 Chong Yidong <cyd@stupidchicken.com>
5683
839dde57
CY
5684 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5685 (image-dired--with-db-file): New macro.
5686 (image-dired-write-tags, image-dired-remove-tag)
5687 (image-dired-create-gallery-lists, image-dired-write-comments)
5688 (image-dired-get-comment, image-dired-mark-tagged-files)
5689 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5690 (image-dired-gallery-generate): Use insert-file-contents.
5691
37e11a63
CY
5692 * time.el (display-time-world-list, display-time-world-display):
5693 * time-stamp.el (time-stamp-string):
5694 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5695 set-time-zone-rule (Bug#7337).
5696
0b4946c4
DU
56972011-08-08 Daiki Ueno <ueno@unixuser.org>
5698
5699 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5700 (epg-error-to-string, epg-errors-to-string): New function.
5701 (epg-wait-for-completion): Reverse errors list.
5702 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5703 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5704 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5705 (epg-sign-keys, epg-generate-key-from-file)
5706 (epg-generate-key-from-string): Format errors by using
5707 epg-errors-to-string (bug#9255).
5708 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5709
75bfc667
JL
57102011-08-07 Juri Linkov <juri@jurta.org>
5711
5712 * faces.el (list-faces-display): Remove extra angle bracket
5713 from `help-mode-map'.
5714
5715 * info.el (Info-history-toc-nodes): Doc fix.
5716
5717 * longlines.el (longlines-mode): Doc fix.
5718
673e08bb
SM
57192011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5720
4640dd88
SM
5721 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5722 of statements and in a few more cases (bug#9183).
5723
673e08bb
SM
5724 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5725 New functions.
5726 (cl-transform-lambda): Use them (bug#9239).
5727
89b3f019
MR
57282011-08-05 Martin Rudalics <rudalics@gmx.at>
5729
5730 * window.el (display-buffer-same-window)
5731 (display-buffer-same-frame, display-buffer-other-window)
5732 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5733 (pop-to-buffer-other-window)
5734 (pop-to-buffer-same-frame-other-window)
5735 (pop-to-buffer-other-frame): Make them defuns.
5736 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5737
640c8776
SM
57382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * subr.el (make-composed-keymap): Move from C. Change calling
5741 convention, and improve docstring to bring attention to a subtle point.
5742 * minibuffer.el (completing-read-default): Adjust accordingly.
5743
63648a95
MA
57442011-08-03 Michael Albinus <michael.albinus@gmx.de>
5745
5746 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5747 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5748
5749 * net/trampver.el: Update release number.
5750
b796c9b7
SM
57512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5754 "in" (bug#9190).
5755
2239d7d5
LMI
57562011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5757
e07dd7c3
LMI
5758 * mail/sendmail.el (sendmail-query-once): Restore the current
5759 buffer after querying (bug#9074).
5760
0e6a2bd7
LMI
5761 * dired.el (dired-flagged): Use different faces for marked and
5762 flagged files (bug#6117).
5763
ce887515
LMI
5764 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5765 (bug#4433).
5766
92f2affc
LMI
5767 * ido.el (ido-mode): Switch off the message if called
5768 non-interactively.
5769
57d5aff0
LMI
5770 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5771 before 587, since it appears that that's more likely to work for
5772 more people.
5773
98cd6c18 5774 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5775 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5776 exist.
5777
b96dec83
LMI
5778 * info.el: Remove the `Info-beginning-of-buffer' function
5779 (bug#8325).
5780
b796c9b7
SM
5781 * net/network-stream.el (network-stream-open-starttls):
5782 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5783
d90e2ea0
MR
57842011-08-01 Martin Rudalics <rudalics@gmx.at>
5785
5786 * window.el (display-buffer-in-window): Don't set dedicated status
5787 of window here (Bug#9215).
5788 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5789 (display-buffer-pop-up-side-window)
b796c9b7 5790 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5791
cca09170
SM
57922011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5795 before binding generated-autoload-file.
5796
027b979c
DD
57972011-08-01 Deniz Dogan <deniz@dogan.se>
5798
5799 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5800
3c7ee4f3
MA
58012011-07-30 Michael Albinus <michael.albinus@gmx.de>
5802
5803 Sync with Tramp 2.2.2.
5804
5805 * net/trampver.el: Update release number.
5806
2cc8e51a
JL
58072011-07-30 Juri Linkov <juri@jurta.org>
5808
5809 * dired-aux.el (dired-touch-initial): Remove function.
5810 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5811 current time, and `default' to the last modification time of the
5812 current marked file (bug#6887).
5813
a514d856
JM
58142011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5815
5816 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5817 numeric argument to read-number (bug#9163).
a514d856 5818
8a7eddd7
MA
58192011-07-27 Michael Albinus <michael.albinus@gmx.de>
5820
5821 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5822 connection process, it could be nil.
5823
1ddd96f5
LL
58242011-07-27 Leo Liu <sdl.web@gmail.com>
5825
5826 Simplify url handling in rcirc-mode.
5827
5828 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5829 (rcirc-browse-url-at-mouse): Remove.
5830 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5831
b248a85d
AM
58322011-07-26 Alan Mackenzie <acm@muc.de>
5833
5834 Fontify bitfield declarations properly.
5835
5836 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5837 (c-symbol-chars): Now exported as a lang variable.
5838 (c-not-primitive-type-keywords): New lang variable.
5839
5840 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5841 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5842 parsed as a bitfield declaration.
b248a85d 5843
b796c9b7
SM
5844 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5845 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5846 (c-punctuation-in): New function.
5847 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5848 declarations properly.
5849
68575ab0
UJ
58502011-07-26 Ulf Jasper <ulf.jasper@web.de>
5851
5852 * calendar/icalendar.el (icalendar--all-events): Take care of
5853 multiple vcalendars in a single file.
b796c9b7 5854 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5855
0f0a88b9
DD
58562011-07-25 Deniz Dogan <deniz@dogan.se>
5857
5858 * image.el (insert-image): Clarifying docstring.
5859
0b3f36df
MA
58602011-07-24 Michael Albinus <michael.albinus@gmx.de>
5861
5862 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5863 `tramp-send-command-and-check' if there is no error.
5864 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5865
a9901f61
AM
58662011-07-22 Alan Mackenzie <acm@muc.de>
5867
5868 Prevent cc-langs.elc being loaded at run time.
5869
5870 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5871 cc-langs.
5872
4d61f28d 5873 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5874 "(require 'cc-langs)". Quote a form so it will evaluate at
5875 (cc-mode's) compilation time.
5876
11d074b2
MA
58772011-07-22 Michael Albinus <michael.albinus@gmx.de>
5878
5879 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5880 loading. (Bug#9114)
5881
938b94c8
MR
58822011-07-21 Martin Rudalics <rudalics@gmx.at>
5883
5884 * window.el (display-buffer-pop-up-window)
5885 (display-buffer-pop-up-side-window)
5886 (display-buffer-in-side-window): Call display-buffer-set-height
5887 and display-buffer-set-width after setting the new window's
b796c9b7 5888 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5889
bfa4f190
SS
58902011-07-20 Sam Steingold <sds@gnu.org>
5891
5892 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5893 (etags-tags-included-tables): Call `convert-standard-filename' on
5894 the file names contained in TAGS so that windows Emacs can handle
5895 TAGS files created by cygwin ctags.
5896
8ca42262
LMI
58972011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5898
5899 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5900 which apparently didn't work.
5901
5db2afd2 59022011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5903
5db2afd2
RW
5904 * proced.el (proced-send-signal): For *Marked Processes* buffer
5905 put point at beginning of buffer.
5906
92e15d10
SB
59072011-07-19 Stephen Berman <stephen.berman@gmx.net>
5908
5909 * proced.el (proced-format): Make header lines align with the text
5910 (bug#1779).
5911
1bfd59e5
LMI
59122011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5913
5914 * view.el (view-buffer): Allow running in `special' modes if we're
5915 visiting a file (bug#8615).
5916
f5aae37c
MR
59172011-07-19 Martin Rudalics <rudalics@gmx.at>
5918
5919 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5920 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5921 New functions.
f5aae37c
MR
5922 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5923 more accurately.
5924
bf2c1571
AM
59252011-07-18 Alan Mackenzie <acm@muc.de>
5926
5927 Fontify declarators properly when, e.g., a jit-lock chunk begins
5928 inside a declaration.
5929
5930 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5931
b796c9b7
SM
5932 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5933 New function.
bf2c1571
AM
5934 (c-complex-decl-matchers): Insert reference to
5935 c-font-lock-enclosing-decls.
5936
5937 * progmodes/cc-engine.el (c-backward-single-comment):
5938 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5939 to nil around calls to (forward-comment -1).
5940
4e190b80
LMI
59412011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
12dc863d
LMI
5943 * image.el (put-image): Doc typo fix.
5944
a762e966
LMI
5945 * progmodes/etags.el (tags-search): Doc typo fix.
5946
4e190b80
LMI
5947 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5948 password if we get errors 550 to 554.
5949
f019fb21
LMI
59502011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5951
b796c9b7 5952 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5953
81746738
LMI
5954 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5955 indentation character (bug#6380).
5956
3ee3a1b5
LMI
5957 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5958
c82f64de
LMI
5959 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5960 to clarify what the problem is (bug#4291).
5961
f019fb21
LMI
5962 * simple.el (current-kill): Clarify what
5963 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5964 (auto-fill-mode): Document `auto-fill-function' in relation to
5965 `auto-fill-mode' (bug#2470).
f019fb21 5966
0794775d
LM
59672011-07-16 Lawrence Mitchell <wence@gmx.li>
5968
5969 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5970 method if slot is read-only (bug#9035).
5971
be39b8cc
MR
59722011-07-16 Martin Rudalics <rudalics@gmx.at>
5973
b796c9b7 5974 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5975 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5976 selected before, see discussion of (Bug#8615), (Bug#6954).
5977 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5978
6ccf7859
GM
59792011-07-15 Glenn Morris <rgm@gnu.org>
5980
5981 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5982 Respect help-form.
6ccf7859 5983
87e86684
LM
59842011-07-09 Lawrence Mitchell <wence@gmx.li>
5985
5986 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5987 (gnutls-negotiate): Use it.
5988
d6066239
LMI
59892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5990
b796c9b7
SM
5991 * net/gnutls.el (gnutls-negotiate):
5992 Upcase `gnutls-algorithm-priority'.
d6066239 5993
bd23ebc0
GM
59942011-07-15 Glenn Morris <rgm@gnu.org>
5995
c65bca65
GM
5996 * jka-compr.el (jka-compr-verbose): Move from here...
5997 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5998 Add missing :version tag.
5999 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6000
478615cc
LMI
60012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002
7b41decb
LMI
6003 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6004 (gnutls-negotiate): Use it.
6005
dbc44fcd
LMI
6006 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6007
06789f97
LMI
6008 * info.el (Info-beginning-of-buffer): New command.
6009 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6010 announcing `b' as the key (bug#8325).
ab896c37 6011 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6012
c39da690
LMI
6013 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6014
3aa5f34b
LMI
6015 * international/mule-cmds.el
6016 (describe-specified-language-support): Make the error message
6017 clearer (bug#8905).
6018
4bf0979f
LMI
6019 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6020
478615cc
LMI
6021 * isearch.el (isearch-barrier): Add a doc string, since it's
6022 mentioned in a function doc string (bug#8678).
6023
75c68aa1
MR
60242011-07-15 Martin Rudalics <rudalics@gmx.at>
6025
6026 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6027 buffer argument (Bug#9083) and self-identifying label argument.
6028
a7c33da2
GM
60292011-07-15 Glenn Morris <rgm@gnu.org>
6030
6031 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6032
2f5c6024
LMI
60332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6034
6035 * man.el (Man-fontify-manpage): Fix message when formatting the
6036 man page (bug#7929).
6037
0bb23927 60382011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6039
6040 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6041 argument LRM; if non-nil, append an invisible LRM character to the
6042 buffer name.
6043 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6044 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6045 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6046 paragraph direction.
cce4b0a7 6047
621ef9ab
LMI
60482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049
d1583c48
LMI
6050 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6051 the man page name (bug#7929).
6052
6a57fb5f
LMI
6053 * image.el (put-image): Mention the `put-image' overlay property
6054 (bug#7834).
6055
d7956b14
LMI
6056 * scroll-bar.el (set-scroll-bar-mode): Mention that
6057 `scroll-bar-mode' lists the values (bug#7772).
6058
5b2d4a66
LMI
6059 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6060 command (bug#7729).
6061
7509a874
LMI
6062 * rect.el (apply-on-rectangle): Return the point after the last
6063 operation.
6064 (string-rectangle): Go to the point after the last operation
6065 (bug#7522).
6066
4fe74b19
LMI
6067 * printing.el (pr-toggle-region): Clarify the documentation
6068 slightly (bug#7493).
6069
b796c9b7
SM
6070 * time.el (display-time-update):
6071 Allow `display-time-mail-function' to return nil (bug#7158).
6072 Fix suggested by Detlev Zundel.
ab283561 6073
fc233c9d
LMI
6074 * vc/diff.el (diff): Clarify the order the file names are read
6075 (bug#7111).
6076
43f5740b
LMI
6077 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6078 the doc string (bug#7015).
6079
f2182a76
LMI
6080 * font-lock.el (font-lock-maximum-decoration): Mention what
6081 numeric levels mean (bug#6935).
6082
621ef9ab
LMI
6083 * startup.el (initial-buffer-choice): Don't mention the `none'
6084 selection, which is against policy.
6085
adc47434
MR
60862011-07-14 Martin Rudalics <rudalics@gmx.at>
6087
b796c9b7
SM
6088 * window.el (display-buffer-normalize-special):
6089 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6090
7e5bfb8f
EZ
60912011-07-14 Eli Zaretskii <eliz@gnu.org>
6092
6093 * subr.el (version<, version<=, version=): Mention "-CVS" and
6094 "-12345" alpha version numbers.
6095
27fa387a
CY
60962011-07-14 Chong Yidong <cyd@stupidchicken.com>
6097
6098 * bindings.el: Add advertised binding for set-mark-command
6099 (Bug#5772).
6100
8bdfa064
CY
61012011-07-14 Chong Yidong <cyd@stupidchicken.com>
6102
6103 * bindings.el (mode-line-other-buffer):
6104 * bookmark.el (bookmark-bmenu-2-window):
6105 * bs.el (bs-cycle-next, bs-cycle-previous):
6106 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6107 switch-to-buffer.
6108
6109 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6110 Delete.
8bdfa064 6111
5eba16a3
JB
61122011-07-14 Juanma Barranquero <lekktu@gmail.com>
6113
6114 * follow.el (follow-debug-message, follow-redisplay):
6115 * jka-cmpr-hook.el (with-auto-compression-mode):
6116 Fix typos in docstrings.
6117
15853710
LMI
61182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6119
a28e4607
LMI
6120 * subr.el (with-silent-modifications): Clarify somewhat what the
6121 macro inhibits (bug#6525).
6122
15853710
LMI
6123 * simple.el (eval-expression): Note what it does if called
6124 interactively (bug#6495).
6125
bee0fcef
CY
61262011-07-13 Chong Yidong <cyd@stupidchicken.com>
6127
b796c9b7
SM
6128 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6129 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6130
6131 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6132 Remove switch-to-buffer.
6133
58274504
LMI
61342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6135
bd2fcc8d
LMI
6136 * files.el (make-directory): Clarify that an error will be raised
6137 if there's an error (bug#6397).
6138
0f04b32c
LMI
6139 * startup.el (initial-buffer-choice): Add `none' as a choice
6140 (bug#6234).
6141
465c5fc8
LMI
6142 * subr.el (add-hook): Clarify section about buffer-local hooks
6143 (bug#6218).
6144
58274504
LMI
6145 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6146
bead9a43
JB
61472011-07-13 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * tabify.el (untabify): Preserve the current column so that point
6150 doesn't move (bug#6032).
6151
3af98a7b
LMI
61522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6153
b796c9b7
SM
6154 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6155 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6156
6240145a
GM
61572011-07-13 Glenn Morris <rgm@gnu.org>
6158
6159 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6160 (dired-insert-directory): Give a message the first time
6161 if ls is found not to support --dired.
6162
1d8c2ccc
LMI
61632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6164
6165 * simple.el (toggle-truncate-lines): Clarify what is toggled
6166 (bug#5580). Text by Drew Adams.
6167
5fc4038e
CY
61682011-07-13 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * simple.el (blink-matching-open): Make the error message from the
6171 last change less verbose.
6172
bf6012e5
DN
61732011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6174
6175 * font-lock.el (font-lock-comment-face): Use the high contrast
6176 "yellow" color for font-lock-comment-face on low color terminals
6177 using a dark background color (bug#4221).
6178
343c3b5a
LMI
61792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6180
7e9505c5
LMI
6181 * dired.el (dired-insert-set-properties): Make the doc string
6182 reflect what it does now (bug#5325).
6183
c26fdcf5
LMI
6184 * simple.el (blink-matching-open): Say that we were unable to find
6185 the match within the limit, if we're limited (bug#5122).
6186
bb388cc5
LMI
6187 * international/mule-cmds.el (prefer-coding-system): Add an
6188 example (bug#4869).
6189
343c3b5a
LMI
6190 * progmodes/etags.el (tags-search): Document `file-list-form'
6191 (bug#4731).
6192
2a517d45
LM
61932011-07-13 Lawrence Mitchell <wence@gmx.li>
6194
6195 * net/browse-url.el (browse-url-default-browser)
6196 (browse-url-browser-function): Make the default browser choice a
6197 bit more logical (bug#4300). Also clean up the doc string.
6198
b6c78ef2
JB
61992011-07-13 Juanma Barranquero <lekktu@gmail.com>
6200
6201 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6202 binary endings (bug#4440).
6203
1c4dd947
LMI
62042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6205
a2014063
LMI
6206 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6207 which can be pretty annoying (bug#8971).
6208
9c9c2d88
LMI
6209 * jka-compr.el (jka-compr-verbose): New variable, and use
6210 throughout (bug#8971).
6211
1c4dd947
LMI
6212 * info.el (Info-find-file): Fall back on the installation
6213 directory if we can't find the info node anywhere else.
6214
a1c9f41b
SO
62152011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6216
6217 * vc/vc.el (vc-revert-file):
6218 Don't set file time-stamp in the past. (Bug#5181)
6219
536f3d36
LMI
62202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6221
7152b011
LMI
6222 * files.el (after-find-file): Give a better error message when
6223 trying to find a symlink that points to a file that doesn't exist
6224 (bug#4398).
6225
536f3d36
LMI
6226 * progmodes/cc-vars.el: Remove (probably) misleading comment
6227 (bug#4396).
6228
460c0fba
JB
62292011-07-12 Johan Bockgård <bojohan@gnu.org>
6230
6231 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6232
7a6bda45
CY
62332011-07-12 Chong Yidong <cyd@stupidchicken.com>
6234
6235 * mouse-sel.el: Hack restoring functionality, while keeping
6236 compatibility with 2010-07-03 changes to mouse selection.
6237 (mouse-sel-primary-overlay): New var.
6238 (mouse-sel-selection-alist): Use it.
6239 (mouse-sel-mode): Doc fix; remove points that are default features
6240 of mouse.el.
6241
c79598ef
JB
62422011-07-12 Johan Bockgård <bojohan@gnu.org>
6243
6244 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6245 Fix previous fix (bug#2490).
6246
ff8be6ef
RW
62472011-07-12 Roland Winkler <winkler@gnu.org>
6248
b796c9b7
SM
6249 * textmodes/bibtex.el (bibtex-initialize):
6250 Use pop-to-buffer-same-window.
ff8be6ef
RW
6251 (bibtex-search-entries): Fix interactive call.
6252
296ba3ee
LMI
62532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254
f5242a02 6255 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6256 Fontise bytecomp Error lines more correctly (bug#2490).
6257 Fix suggested by Johan Bockgård.
f5242a02 6258
296ba3ee
LMI
6259 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6260
6261 * dired-x.el (dired-guess-default): Use `delete-dups'.
6262
f69fd0d2
CY
62632011-07-12 Chong Yidong <cyd@stupidchicken.com>
6264
6265 * dired.el (dired-mark-prompt):
6266 * dired-aux.el (dired-read-shell-command): Doc fix.
6267
eab5dc07
LMI
62682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6269
b796c9b7
SM
6270 * mail/sendmail.el (sendmail-query-once):
6271 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6272 emacs -Q.
6273
6274 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6275
eab5dc07
LMI
6276 * cus-edit.el (custom-file): Take an optional no-error variable.
6277 (customize-save-variable): Set the variable, and give a warning if
6278 running under "emacs -q".
6279
a1e65d42
JB
62802011-07-11 Juanma Barranquero <lekktu@gmail.com>
6281
6282 * loadhist.el (unload-feature-special-hooks):
6283 Add `auto-coding-functions', `fill-nobreak-predicate' and
6284 `find-directory-functions' (bug#5327).
6285
1d52da10
LMI
62862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6287
be958f1d
LMI
6288 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6289
5bedb26c
LMI
6290 * cus-edit.el (custom-guess-name-alist): -alist variables should
6291 use the `alist' type (bug#3120). Suggested by Drew Adams.
6292
1d52da10
LMI
6293 * printing.el: Add documentation to all the `pr-toggle-' commands.
6294
cd394be1 62952011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6296
6297 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6298 backends where it makes sense (bug#2623).
6299
dcc88d8a
LMI
63002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
c3de9feb
LMI
6302 * dired-x.el (dired-guess-default): Remove duplicate shell command
6303 entries (bug#2028).
8a93078b 6304 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6305 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6306
dcc88d8a
LMI
6307 * subr.el (remove-duplicates): New conveniency function.
6308
505e3645
LMI
63092011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6310
6311 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6312 (bug#1526).
6313
63142011-07-10 Martin Rudalics <rudalics@gmx.at>
6315
6316 * window.el (display-buffer-normalize-default): Don't invert
6317 meaning of even-window-heights. Reported by Eli Zaretskii
6318 <eliz@gnu.org>.
6319
455e4fa1
BR
63202011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6321
6322 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6323
8e0bc3e9
CY
63242011-07-10 Chong Yidong <cyd@stupidchicken.com>
6325
6326 * window.el (display-buffer): Fix arguments to
6327 display-buffer-reuse-window in last change.
6328
fa7c3228
CY
6329 * faces.el (link): Use a less saturated blue on light backgrounds.
6330
6331 * startup.el (fancy-startup-text, fancy-about-text)
6332 (fancy-startup-tail): Use font-lock faces, for background safety.
6333
c0a7f300
BN
63342011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6335
b796c9b7
SM
6336 * emulation/viper-cmd.el (viper-change-state-to-vi):
6337 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6338
4dc2a129
MR
63392011-07-09 Martin Rudalics <rudalics@gmx.at>
6340
6341 * window.el (display-buffer-default-specifiers): Remove.
6342 (display-buffer-macro-specifiers): Remove default specifiers.
6343 (display-buffer-alist): Default to nil.
b796c9b7 6344 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6345 (display-buffer-pop-up-window): Allow splitting internal
6346 windows. Check whether a live window was created.
6347 (display-buffer-other-window-means-other-frame)
6348 (display-buffer-normalize-arguments): Rename to
6349 display-buffer-normalize-argument and rewrite. Set the
6350 other-window specifier.
6351 (display-buffer-normalize-special): New function.
6352 (display-buffer-normalize-options): Rename to
6353 display-buffer-normalize-default and rewrite.
6354 (display-buffer-normalize-options-inhibit): Remove.
6355 (display-buffer-normalize-specifiers): Rewrite.
6356 (display-buffer): Process other-window specifier and call
6357 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6358 more faithfully.
b796c9b7 6359 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6360 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6361 (display-buffer-in-window, display-buffer-alist-set):
6362 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6363 <tassilo@member.fsf.org>.
6364
2d43b8c9
LL
63652011-07-09 Leo Liu <sdl.web@gmail.com>
6366
6367 * register.el (insert-register): Restore accidental change on
6368 2011-06-26. (Bug#9028)
6369
7f9b7c53
GM
63702011-07-09 Glenn Morris <rgm@gnu.org>
6371
6372 * subr.el (remq): Handle the empty list. (Bug#9024)
6373
f042cfd8
AS
63742011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6375
6376 * mail/sendmail.el (send-mail-function): No longer delay custom
6377 initialization.
6378 * custom.el (custom-initialize-delay): Doc fix.
6379
856b2f11
SM
63802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6383
afae1d68
MA
63842011-07-08 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6387 human-friendly prompt.
6388
0757af94
SM
63892011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6392 provided by a particular plugin.
6393
d760b731
LMI
63942011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6395
6396 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6397 save customizations (with "emacs -Q"), just set the variable
6398 instead of erroring out.
6399
6400 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6401
cd79ce90
JL
64022011-07-08 Juri Linkov <juri@jurta.org>
6403
6404 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6405 (archive-zip-update-case): Use 7z if found by `executable-find'.
6406 The order of searching the available programs is the same as in
6407 `archive-zip-extract' (bug#8968).
6408
14cc04aa
CY
64092011-07-07 Chong Yidong <cyd@stupidchicken.com>
6410
6411 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6412 (menu-bar-options-menu): Tweak descriptions.
6413
0a1848ec
LMI
64142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6415
6416 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6417 menu items into verb phrases (bug#1421). Also refill to fit under
6418 80 columns.
6419
f5bd0689
CY
64202011-07-07 Chong Yidong <cyd@stupidchicken.com>
6421
538e85c6
CY
6422 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6423 (Info-read-node-name): Doc fix (Bug#1084).
6424
f5bd0689
CY
6425 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6426 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6427 (end-of-sexp, beginning-of-sexp)
6428 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6429 (forward-symbol, forward-same-syntax, word-at-point)
6430 (sentence-at-point): Doc fix (Bug#1144).
6431
56ec5115
LMI
64322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6433
f3f8e37f
LMI
6434 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6435 should cover it (bug#1281).
6436
0757af94 6437 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6438
e9fce1ac 6439 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6440 negotiation fails, then possibly try again with a non-encrypted
6441 connection (bug#9017).
6442
56ec5115
LMI
6443 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6444 be used.
6445
c2f9aec8
RS
64462011-07-07 Richard Stallman <rms@gnu.org>
6447
6448 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6449 property, and handle its changed format.
6450 Look for the correct line number.
6451 Use file's line contents (but not past first =) to find
6452 correct line in message.
6453
ef7b981d 64542011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6455
6456 * international/characters.el (build-unicode-category-table):
6457 Delete it.
0757af94 6458 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6459
0757af94 6460 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6461 to src/chartab.c.
6462 (get-char-code-property): Call unicode-property-table-internal to
6463 load a file. Call get-unicode-property-internal where necessary.
6464 (put-char-code-property): Call unicode-property-table-internal to
6465 load a file. Call put-unicode-property-internal where necessary.
6466 put-unicode-property-internal where necessary.
0757af94
SM
6467 (char-code-property-description):
6468 Call unicode-property-table-internal to load a file.
c805dec0
KH
6469
6470 * international/charprop.el:
6471 * international/uni-bidi.el:
6472 * international/uni-category.el:
6473 * international/uni-combining.el:
6474 * international/uni-comment.el:
6475 * international/uni-decimal.el:
6476 * international/uni-decomposition.el:
6477 * international/uni-digit.el:
6478 * international/uni-lowercase.el:
6479 * international/uni-mirrored.el:
6480 * international/uni-name.el:
6481 * international/uni-numeric.el:
6482 * international/uni-old-name.el:
6483 * international/uni-titlecase.el:
6484 * international/uni-uppercase.el: Regenerate.
6485
6486 * loadup.el: Load international/charprop.el before
6487 international/characters.
6488
e14b388a
CY
64892011-07-07 Chong Yidong <cyd@stupidchicken.com>
6490
6491 * window.el (next-buffer, previous-buffer): Signal an error if
6492 called from a minibuffer window.
6493
6494 * bindings.el: Revert 2011-07-04 change.
6495
354cf0ba
RS
64962011-07-06 Richard Stallman <rms@gnu.org>
6497
6498 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6499 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6500 Treat markers like ints.
6501 (rmail-mime-entity): Doc fix.
6502
a48868a7
LMI
65032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6504
4906cd3d
LMI
6505 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6506 defcustom again for backwards compatibility.
6507
e0457abe
LMI
6508 * simple.el (shell-command-on-region): Fill.
6509
d67f7e1f
LMI
6510 * dired-aux.el (dired-kill-line): Add a doc string.
6511
fe204702
LMI
6512 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6513 to "\\sw\\|\\s_" (bug#358).
6514
a48868a7
LMI
6515 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6516 (dired-unmark-backward): Ditto.
6517 (dired-flag-backup-files): Ditto.
6518
6519 * dired-x.el (dired-mark-sexp): Ditto.
6520
aa8a705c
RS
65212011-07-06 Richard Stallman <rms@gnu.org>
6522
6523 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6524 (rmail-mime-entity): New arg TRUNCATED.
6525 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6526 New functions.
6527 (rmail-mime-save): Warn if entity is truncated.
6528 (rmail-mime-toggle-hidden): Likewise, for showing.
6529 (rmail-mime-process-multipart): Record when an entity is truncated.
6530
a9a936b9
RS
6531 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6532 if ENTITY is a string.
6533
1f2b92cb
LMI
65342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535
f4f73198 6536 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6537 of faces when `M-C-x'-ing their definitions (bug#8378).
6538 Also clean up the code slightly.
f4f73198 6539
12b16734 6540 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6541 because that makes the colors go away.
12b16734 6542
f0691d22
LMI
6543 * mail/sendmail.el (send-mail-function): Change the default to
6544 `sendmail-query-once'.
9e87df06 6545 (sendmail-query-once): Add an autoload cookie.
f0691d22 6546
1f2b92cb
LMI
6547 * net/network-stream.el (network-stream-open-starttls): Try using
6548 a plain connection even if the server offered STARTTLS, and we
6549 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6550 capability. This should make smtpmail.el work in slightly more
6551 configurations.
6552
1cdd2a1b
MA
65532011-07-06 Michael Albinus <michael.albinus@gmx.de>
6554
6555 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6556 New defun.
6557 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6558
fbcc67e2
MM
65592011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6560
6561 * progmodes/sql.el: Version 3.0
0757af94 6562 (sql-product-alist): Add product :completion-object,
fbcc67e2 6563 :completion-column, and :statement attributes.
0757af94 6564 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6565 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6566 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6567 ansi keywords.
6568 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6569 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6570 (sql-oracle-show-reserved-words): New function for development.
6571 (sql-product-font-lock): Simplify for source code buffers.
6572 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6573 New functions.
6574 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6575 (sql-mode-map): Add statement movement functions.
6576 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6577 New variable.
fbcc67e2
MM
6578 (sql-statement-regexp, sql-beginning-of-statement)
6579 (sql-end-of-statement, sql-signum): New functions.
0757af94 6580 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6581 (sql-show-sqli-buffer): Bug fix.
6582 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6583 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6584 with sql-interactive-mode.
6585 (sql-save-connection): Save buffer local settings.
0757af94 6586 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6587 (sql-product-interactive): Bug fix.
6588 (sql-preoutput-hold): New variable.
6589 (sql-interactive-remove-continuation-prompt): Bug fixes.
6590 (sql-debug-redirect): New variable.
6591 (sql-str-literal): New function.
6592 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6593 Redesign.
fbcc67e2
MM
6594 (sql-oracle-save-settings, sql-oracle-restore-settings)
6595 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6596 (sql-completion-object, sql-completion-column)
6597 (sql-completion-sqlbuf): New variables.
6598 (sql-build-completions-1, sql-build-completions)
6599 (sql-try-completion): New functions.
6600 (sql-read-table-name): Use them.
6601 (sql-contains-names): New buffer local variable.
6602 (sql-list-all, sql-list-table): Use it.
6603 (sql-oracle-completion-types): New variable.
6604 (sql-oracle-completion-object, sql-sqlite-completion-object)
6605 (sql-postgres-completion-object): New functions.
6606
d4eaeab1
GM
66072011-07-06 Glenn Morris <rgm@gnu.org>
6608
6609 * window.el (pop-to-buffer): Doc fix.
6610
322b7dab 66112011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6612
6613 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6614
322b7dab 66152011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6616
322b7dab 6617 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6618
322b7dab 6619 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6620
605dd5bf
CY
66212011-07-05 Chong Yidong <cyd@stupidchicken.com>
6622
6623 * button.el (button): Inherit from link face. Suggested by Dan
6624 Nicolaescu.
6625
7dbfa719
SM
66262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6627
3db614b0
SM
6628 * progmodes/gdb-mi.el: Fit in 80 columns.
6629 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6630 switch-to-buffer.
6631
7dbfa719
SM
6632 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6633 if imenu is simply not configured (bug#8941).
6634
919d884a
KM
66352011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6636
6637 * allout.el (allout-post-undo-hook): New allout outline-change
6638 event hook to signal undo activity.
6639 (allout-post-command-business): Run allout-post-undo-hook if an
6640 undo just occurred.
7dbfa719
SM
6641 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6642 * allout-widgets.el (allout-widgets-after-undo-function):
6643 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6644 in the vicinity of an undo.
6645 (allout-widgets-mode): Include allout-widgets-after-undo-function
6646 on the new allout-post-undo-hook.
6647
450a0f09
SM
66482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6651 Let define-derived-mode define it.
6652 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6653 cycles of abbrev-table inheritance (bug#8998).
6654
2de69e00
RW
66552011-07-05 Roland Winkler <winkler@gnu.org>
6656
6657 * textmodes/bibtex.el: Add support for biblatex.
6658 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6659 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6660 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6661 (bibtex-entry-alist, bibtex-field-alist): New variables.
6662 (bibtex-entry-field-alist): Obsolete alias for
6663 bibtex-BibTeX-entry-alist.
6664 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6665 (bibtex-set-dialect): New command.
6666 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6667 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6668 Bind via bibtex-set-dialect.
2de69e00
RW
6669 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6670 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6671 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6672 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6673 Define via bibtex-set-dialect.
450a0f09
SM
6674 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6675 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6676 (bibtex-vec-push, bibtex-vec-incr): New functions.
6677 (bibtex-format-entry, bibtex-field-list)
6678 (bibtex-print-help-message, bibtex-validate)
6679 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6680
2dcdbdd9
SM
66812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * progmodes/compile.el (compilation-goto-locus):
6684 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6685 * bs.el (bs-cycle-next, bs-cycle-previous):
6686 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6687 * bindings.el (mode-line-other-buffer):
6688 * autoinsert.el (auto-insert):
6689 * arc-mode.el (archive-extract):
6690 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6691
b27640fe
JB
66922011-07-05 Juanma Barranquero <lekktu@gmail.com>
6693
6694 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6695 Fix check of `emacs-lock-unlockable-modes'.
6696 Coerce true values of `emacs-lock--try-unlocking' to t.
6697
53bbe3ad
JB
66982011-07-05 Juanma Barranquero <lekktu@gmail.com>
6699
6700 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6701 * emacs-lock.el: New file.
6702
1d3cdbc7
JD
67032011-07-05 Julien Danjou <julien@danjou.info>
6704
6705 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6706 than `boundp' to check if face is set.
6707
9173deec
JB
67082011-07-05 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * register.el (registerv-make):
6711 * window.el (window-min-height): Fix typos in docstrings.
6712
869795d6
JD
67132011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6714
9173deec 6715 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6716 Update doc string.
6717
b768cdcd
JB
67182011-07-04 Juanma Barranquero <lekktu@gmail.com>
6719
6720 * server.el (server-execute): Catch quit and call
6721 `server-return-error' to pass the error back to emacsclient and
6722 close the connection (bug#8942).
6723
13aa217b
KM
67242011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6725
6726 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6727 insecure exception for current topic. Also note that auto-saves
6728 are handled differently.
6729
6730 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6731 State variables for tracking auto-save inhibition situation.
6732
6733 (allout-write-contents-hook-handler): Rename from
6734 'allout-write-file-hook-handler', and describe how it depends on
6735 write-contents-functions sensitivity to non-nil value to prevent
6736 file write.
6737
6738 (allout-auto-save-hook-handler): Remove. auto-save does not check
6739 this in individual buffers, only in the starting buffer, so this
6740 is not the right way for us to inhibit auto-save in a buffer
6741 according to its condition.
6742
6743 (allout-mode): Use new allout-write-contents-hook-handler, and
6744 only with write-contents-functions. Remove auto-save provisions -
6745 they're implemented elsewhere.
6746
6747 (allout-before-change-handler): If undo is in progress, note that
6748 for attention of allout-post-command-business.
6749
6750 (allout-post-command-business): If the command we're following was
6751 an undo, check for change in the status of encrypted items and
6752 adjust auto-save inhibitions accordingly.
6753
6754 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6755 according to whether there are or aren't any plain-text topics
6756 pending encryption.
6757
2dcdbdd9 6758 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6759 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6760 if there are plain-text topics pending encryption.
13aa217b
KM
6761
6762 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6763 buffer-saved-size and some allout state to not inhibit auto-saves
6764 if there are no longer any plain-text topics pending encryption.
6765
0757af94
SM
6766 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6767 No longer provide for exemption of the current topic.
13aa217b 6768
ac89b32c
JL
67692011-07-04 Juri Linkov <juri@jurta.org>
6770
6771 Add 7z operations to delete and save changed members (bug#8968).
6772 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6773 New defcustoms.
6774 (archive-7z-write-file-member): New function.
6775 (archive-7z-summarize): Fix the number of dashes in the
6776 listing output.
6777
8fa39615
SM
67782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6781 (bug#8958).
6782
2f11b3f1
CY
67832011-07-04 Chong Yidong <cyd@stupidchicken.com>
6784
d66fef2b
CY
6785 * bindings.el: Ignore next-buffer and previous-buffer in
6786 minibuffer-local-map.
6787
2f11b3f1
CY
6788 * font-lock.el (font-lock-builtin-face): Change light background
6789 color to dark slate blue (Bug#6693).
6790
f932a347
WD
67912011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6792
6793 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6794
c8af70e1
SM
67952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6798 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6799 Add switch-to-buffer.
6800
f158badc
LMI
68012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * isearch.el (isearch-search-fun-function): Clarify further the
6804 meaning of the function returned.
6805
6d95bd46
MA
68062011-07-04 Michael Albinus <michael.albinus@gmx.de>
6807
6808 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6809
6810 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6811 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6812 Use it.
6813 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6814 `tramp-default-remote-path' does not exist.
6815 (tramp-send-command-and-read): New optional argument NOERROR.
6816 (tramp-open-connection-setup-interactive-shell)
6817 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6818 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6819 (tramp-process-sentinel): Flush also process' connection property.
6820 (tramp-sh-handle-start-file-process): Do not set process
6821 sentinel. It is done now ...
6822 (tramp-maybe-open-connection): ... here. (Bug#8929)
6823
909e6b67
MK
68242011-07-04 MON KEY <monkey@sandpframing.com>
6825
6826 * play/animate.el (animate-string): Doc fixes and allow changing
6827 the buffer name (bug#5417).
6828
68292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6830
c8af70e1 6831 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6832
f34755dc
PE
68332011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6834
396cec72
PE
6835 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6836 This is simpler and helps future-proof the code.
6837 (timer-until): Use time-subtract and float-time.
08235028 6838 (timer--time-less-p): Use time-less-p.
f34755dc 6839
56e6cc31
JB
68402011-07-04 Juanma Barranquero <lekktu@gmail.com>
6841
3abb79e5
JB
6842 * type-break.el (timep): Use the value of `float-time' to avoid a
6843 byte-compiler warning.
6844
56e6cc31
JB
6845 * server.el (server-eval-and-print): Return any result, even nil.
6846
7b9430b4
PE
68472011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6848
6849 * type-break.el: Accept time formats that the builtins accept.
6850 (timep, type-break-time-difference): Accept any format that
6851 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6852 This is simpler and helps future-proof the code.
6853 (type-break-time-difference): Round rather than ignoring
6854 subseconds components.
6855
3034e9e7
LMI
68562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857
6858 * info.el (Info-apropos-matches): Make non-interactive, since it
6859 doesn't seem to do anything useful as a command (bug#8829).
6860
1485f4c0
CY
68612011-07-03 Chong Yidong <cyd@stupidchicken.com>
6862
6863 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6864 Move from faces.el.
1485f4c0
CY
6865 (frame-default-terminal-background): New function.
6866
6867 * custom.el (custom-push-theme): Don't record faces in `changed'
6868 theme; this doesn't work correctly for per-frame face settings.
6869 (disable-theme): Use face-set-after-frame-default to reset faces.
6870 (custom--frame-color-default): New function.
6871
9fa3dd45
LMI
68722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
c8af70e1 6874 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6875 (bug#8769).
6876
6cbbc20c
KR
68772011-03-29 Kevin Ryde <user42@zip.com.au>
6878
6879 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6880 `perl-Test2' extend to match possible "fail #N" rep count
6881 (bug#8377).
6882
c7f98048
LMI
68832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6884
65676592
LMI
6885 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6886 `smtpmail-via-smtp' now returns the error instead of nil.
6887
c7f98048
LMI
6888 * isearch.el (isearch-search-fun-function): Clarify the doc string
6889 (bug#8101).
6890
56e6cc31 68912011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6892
6893 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6894 unnecessary spaces (bug#8987).
6895
2b216704
LMI
68962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
6898 * net/network-stream.el (open-network-stream): Use the
6899 :end-of-capability command thoughout.
6900
69012011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6902
6903 * net/network-stream.el (open-network-stream): Add the
6904 :end-of-capability command parameter, used by pop3.el.
6905
36adf6ce
LMI
69062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6907
1ca0da0e
LMI
6908 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6909
fc00f69c
LMI
6910 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6911 for list)" (bug#6475).
6912
28fd8759 6913 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6914 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6915 an error (bug#6297).
6916
0dd8b6da
LMI
6917 * man.el (Man-reference-regexp): Allow matching possible
6918 word-wrapped references (bug#6289).
6919
ce1438d6
LMI
6920 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6921 for consistency with the other vc buffers (bug#6197).
6922 (vc-checkin): Ditto.
6923
6924 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6925
36adf6ce
LMI
6926 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6927
e83cc1f7
LMI
69282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6929
8a20ca4c
LMI
6930 * custom.el (defcustom): Clarify that :set is only used in the
6931 Customize user interface (bug#6089).
6932
83319045
LMI
6933 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6934 associated with a file, refuse to run instead of erroring out
6935 (bug#6084).
6936
a8392169
LMI
6937 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6938 the doc string, since it appears that using `fill-column' always
6939 controls the width (bug#7845).
6940
e83cc1f7
LMI
6941 * simple.el (shell-command-on-region): Say where the error output
6942 went if `shell-command-default-error-buffer' is set (bug#6857).
6943
e47ca23b
KM
69442011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6945
6946 * allout.el (allout-yank-processing): Adjust cursor position for
6947 backwards-deleted space.
6948
6949 (allout-rebullet-heading): Register changes with
6950 allout-exposure-changed-hook, so the modified topic is properly
6951 decorated.
6952
5cf56143
LMI
69532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6954
08549772
LMI
6955 * minibuffer.el (completion-in-region): Document PREDICATE
6956 (bug#7136).
6957
48e96771
LMI
6958 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6959 of keyword/argument pairs (bug#6904).
6960
c8af70e1
SM
6961 * replace.el (multi-occur):
6962 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6963
e17d05e2
LMI
69642011-07-02 Drew Adams <drew.adams@oracle.com>
6965
6966 * dired.el (dired-mark-if): Make the message about whether it's
6967 marking or unmarking clearer (bug#8523).
6968
063b0e45
LMI
69692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6970
6971 * disp-table.el (display-table-print-array): New function.
6972 (describe-display-table): Use it to print the vectors more pretty
6973 (Bug#8859).
6974
28545e04
MR
69752011-07-02 Martin Rudalics <rudalics@gmx.at>
6976
6977 * window.el (window-state-get-1): Don't assign clone numbers.
6978 Add clone-of item to list of window parameters.
6979 (window-state-put-2): Don't process clone numbers.
6980 (display-buffer-alist): Fix doc-string.
6981
3349e122
SM
69822011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * subr.el (remq): Don't allocate if it's not needed.
6985 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6986 (keymap--merge-bindings): New functions.
6987 (keymap-canonicalize): Use them to refine the canonicalization.
6988 * minibuffer.el (minibuffer-local-completion-map)
6989 (minibuffer-local-must-match-map): Move initialization from C.
6990 (minibuffer-local-filename-completion-map): Move initialization from C;
6991 don't inherit from anything here.
6992 (minibuffer-local-filename-must-match-map): Make obsolete.
6993 (completing-read-default): Use make-composed-keymap to combine
6994 minibuffer-local-filename-completion-map with either
6995 minibuffer-local-must-match-map or
6996 minibuffer-local-filename-completion-map.
6997
d224ac83
GM
69982011-07-01 Glenn Morris <rgm@gnu.org>
6999
3de63bf8
GM
7000 * type-break.el (type-break-time-sum): Use dolist.
7001
d224ac83
GM
7002 * textmodes/flyspell.el (flyspell-word-search-backward):
7003 Replace CL function.
7004
1a1e3f32
SM
70052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7006
fe3f64d5
SM
7007 * mouse.el (mouse--strip-first-event): New function.
7008 (function-key-map): Use it to map fringe clicks to normal clicks
7009 by default.
7010
eb604e34
SM
7011 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7012 (vc-bzr-revision-completion-table): Add support for annotate and date.
7013
1a1e3f32
SM
7014 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7015 inherit from parent.
7016
5bd35902
LMI
70172011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7018
ace6c69c 7019 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7020 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7021
191e2bed
LMI
7022 * dired.el (dired-mode): Fix up the doc string as suggested by
7023 Drew Adams (bug#8817).
7024
5bd35902
LMI
7025 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7026 cookie, since the manual says that it should be possible to add
7027 this function to `find-file-hook' (bug#8709).
7028
eee8207a
TZ
70292011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7030
7031 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7032 here. Noted Ted Zlatanov as the maintainer.
7033 (cfengine-common-settings, cfengine-common-syntax): New functions
7034 to set up common things between `cfengine-mode' and
7035 `cfengine3-mode'.
7036 (cfengine3-mode): New mode.
7037 (cfengine3-defuns cfengine3-defuns-regex
7038 (cfengine3-class-selector-regex cfengine3-category-regex)
7039 (cfengine3-vartypes cfengine3-font-lock-keywords)
7040 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7041 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7042
36b148cf
MA
70432011-07-01 Michael Albinus <michael.albinus@gmx.de>
7044
7045 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7046
7047 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7048
0bf4ba9a
MR
70492011-07-01 Martin Rudalics <rudalics@gmx.at>
7050
7051 * window.el (same-window-buffer-names, same-window-regexps)
7052 (same-window-p, special-display-frame-alist)
7053 (special-display-popup-frame, special-display-function)
7054 (special-display-buffer-names, special-display-regexps)
7055 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7056 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7057 (split-window-preferred-function, split-height-threshold)
7058 (split-width-threshold, even-window-heights)
7059 (display-buffer-mark-dedicated, window-splittable-p)
7060 (split-window-sensibly, window-safely-shrinkable-p):
7061 Un-obsolete.
7062 (display-buffer): Don't spread args with function specifier
7063 because special-display-popup-frame won't like it.
7064
35837f51
PE
70652011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7066
d0672f86
PE
7067 Time-stamp simplifications and fixes.
7068 These improve accuracy slightly, and future-proof the code
7069 against some potential changes to current-time format.
7070
b9444d97
PE
7071 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7072 by using time-since and float-time.
7073
0ef923dc
PE
7074 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7075 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7076 + NNN microseconds".
7077
2f81380d
PE
7078 * type-break.el (type-break-time-sum): Rewrite using time-add.
7079
845b5c3e
PE
7080 * play/hanoi.el (hanoi-current-time-float): Remove.
7081 All uses replaced by float-time.
7082
ee6f1be0
PE
7083 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7084 This yields a more-accurate answer.
7085 (rng-time-to-float): Remove; no longer needed.
7086
fe955043
PE
7087 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7088
5777162a
PE
7089 * calendar/timeclock.el (timeclock-seconds-to-time):
7090 Defalias to seconds-to-time, since they're the same thing.
7091
3103f8b6 7092 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7093 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7094 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7095
0e61a35f
SM
70962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * window.el (bury-buffer): Don't iconify the only frame.
7099 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7100 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7101
ddd63a1e
CY
71022011-07-01 Chong Yidong <cyd@stupidchicken.com>
7103
0e61a35f
SM
7104 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7105 Add mouse-yank-primary.
ddd63a1e 7106
055f4923
TZ
71072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7108
7109 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7110
6a2fb145
SM
71112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7114 (find-library-name): Use it to find relative load names when provided
7115 absolute file name (bug#8803).
7116
fd4983f2
LMI
71172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118
887d14ad
LMI
7119 * textmodes/flyspell.el (flyspell-word): Consider words that
7120 differ only in case as potential doublons (bug#5687).
7121
c53dc7fc
LMI
7122 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7123 Remove two rather uninteresting debugging-like messages to make
7124 debbugs.el more silent.
7125
fd4983f2
LMI
7126 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7127 a password-like phrase.
7128
7a71b18d 71292011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7130
7131 * progmodes/cc-guess.el: New file.
7132
6a2fb145 7133 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7134
7135 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7136 derived from `c-basic-common-init'.
7137
7138 * progmodes/cc-mode.el (top-level): Require cc-guess.
7139 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7140
1fa280a3
LM
71412011-06-30 Lawrence Mitchell <wence@gmx.li>
7142
7143 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7144
e6597158
AM
71452011-06-30 Alan Mackenzie <acm@muc.de>
7146
1fa280a3
LM
7147 * progmodes/cc-engine.el (c-guess-continued-construct):
7148 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7149 lock is disabled. Name this case as "CASE G".
7150
68ba37fb
KM
71512011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7152
7153 * allout.el (allout-yank-processing): Fix injection of extra space
7154 between bullet and non-whitespace character in first topic when
7155 pasting, ensuring that the actual spacing in the pasted topic
7156 following the bullet char is preserved. This extra space was
7157 causing pasted encrypted topics to get a decrypted status even
7158 when the content was actually still encrypted. Now the decryption
7159 status from before the paste is preserved.
7160
7161 (allout-flag-region): Set all allout overlays so they evaporate
7162 when reduced to zero length (evanescent), to prevent overlay
7163 leakage.
7164
887a0b34
GM
71652011-06-30 Glenn Morris <rgm@gnu.org>
7166
94b9acce
GM
7167 * w32-fns.el (w32-charset-info-alist): Declare.
7168
1d9b46d4
GM
7169 * find-dired.el (find-grep-options): Simplify.
7170
cc232200
GM
7171 * term/ns-win.el (ns-set-resource): Declare.
7172
28e77c46
GM
7173 * ses.el (row, col): Declare dynamic variables honestly.
7174
887a0b34
GM
7175 * textmodes/reftex-parse.el (index-tags): Declare.
7176
658d8eb8
CY
71772011-06-30 Chong Yidong <cyd@stupidchicken.com>
7178
7179 * cus-edit.el (customize-push-and-save): New function.
7180
7181 * files.el (hack-local-variables-confirm): Use it.
7182
1fa280a3
LM
7183 * custom.el (load-theme): New arg NO-CONFIRM.
7184 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7185 (custom-enabled-themes): Doc fix.
7186
7187 * cus-theme.el (customize-create-theme)
7188 (custom-theme-merge-theme): Callers to load-theme changed.
7189
bb617717
LMI
71902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7191
d61bdd5d
LMI
7192 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7193 short URLs have at least one dot in them (bug #7614).
7194
bb617717
LMI
7195 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7196 nil, because using a pty is apparently too slow (bug #895).
7197
2f31f37a
LMI
71982011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7199
7200 * mail/sendmail.el (sendmail-query-once): New function.
7201 (sendmail-query-once-function): New variable.
7202
3076b24e
GM
72032011-06-29 Glenn Morris <rgm@gnu.org>
7204
faf2a174
GM
7205 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7206
3076b24e
GM
7207 * ses.el (top-level): Require cl when compiling.
7208 (ses-set-localvars): Fix error statement.
7209 Call it at compile time to silence a storm of warnings.
7210
5386012d
MR
72112011-06-29 Martin Rudalics <rudalics@gmx.at>
7212
7213 * window.el (normalize-live-buffer): Rename to
7214 window-normalize-buffer.
7215 (normalize-live-frame): Rename to window-normalize-frame.
7216 (normalize-any-window): Rename to window-normalize-any-window.
7217 (normalize-live-window): Rename to window-normalize-live-window.
7218 (make-window-atom): Rename to window-make-atom.
7219 (window-resize-reset): Rename to window--resize-reset.
7220 (window-resize-reset-1): Rename to window--resize-reset-1.
7221 (resize-mini-window): Rename to window--resize-mini-window.
7222 (resize-subwindows-skip-p): Rename to
7223 window--resize-subwindows-skip-p.
7224 (resize-subwindows-normal): Rename to
7225 window--resize-subwindows-normal.
7226 (resize-subwindows): Rename to window--resize-subwindows.
7227 (resize-other-windows): Rename to window--resize-siblings.
7228 (resize-this-window): Rename to window--resize-this-window.
7229 (resize-root-window): Rename to window--resize-root-window.
7230 (resize-root-window-vertically): Rename to
7231 window--resize-root-window-vertically.
7232 (normalize-buffer-to-display): Rename to
7233 window-normalize-buffer-to-display.
7234 (normalize-buffer-to-switch-to): Rename to
7235 window-normalize-buffer-to-switch-to.
7236 Correspondingly update all callers of the functions listed
7237 above.
7238 (display-buffer-alist, display-buffer-normalize-arguments)
7239 (display-buffer-normalize-options, display-buffer)
7240 (display-buffer-alist-set): Use "function" instead of
7241 "fun-with-args".
7242
1176868d
CY
72432011-06-28 Chong Yidong <cyd@stupidchicken.com>
7244
7245 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7246 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7247 debbugs.gnu.org. Mention acknowledgment email.
7248
20a7a65f
LMI
72492011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7250
7251 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7252 buffer multibyteness, since it shouldn't matter.
7253
5f45cca5
MR
72542011-06-28 Martin Rudalics <rudalics@gmx.at>
7255
7256 * window.el (display-buffer-in-side-window): Handle dedicated
7257 windows as in display-buffer-reuse-window.
7258 (display-buffer-normalize-alist): Use value of override
7259 specifier.
7260 (display-buffer-normalize-specifiers): Use value of
7261 other-window-means-other-frame specifier.
7262 (display-buffer-alist): Rewrite some texts in widgets.
7263 (display-buffer): Spread arguments when calling function
7264 specified by fun-with-args.
7265
ad85fe1f
DD
72662011-06-28 Deniz Dogan <deniz@dogan.se>
7267
1fa280a3
LM
7268 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7269 Unnest `let'.
da68c4c8 7270
ad85fe1f
DD
7271 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7272 selectors (Bug#5732).
ec49bd31 7273 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7274
a08cc025
JA
72752011-06-27 Jari Aalto <jari.aalto@cante.net>
7276
7277 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7278 (eshell-ls-date-format): New defcustom.
7279 (eshell-ls-file): Use it.
7280
e2b551c5
SM
72812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7284
8982b231
KY
72852011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7286
7287 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7288 (ange-ftp-make-tmp-name): New arg.
7289 (ange-ftp-file-local-copy): Use it.
7290
36c9fa27
J
72912011-06-27 Jambunathan K <kjambunathan@gmail.com>
7292
7293 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7294 no-conversion (Bug#8870).
7295
d68443dc
MR
72962011-06-27 Martin Rudalics <rudalics@gmx.at>
7297
7298 * window.el (window-right, window-left, window-child)
7299 (window-child-count, window-last-child)
7300 (window-iso-combination-p, walk-window-tree-1)
7301 (window-atom-check-1, window-tree-1, delete-window)
7302 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7303 new naming conventions - window-vchild, window-hchild,
7304 window-next and window-prev are now called window-top-child,
7305 window-left-child, window-next-sibling and window-prev-sibling
7306 respectively.
d615d6d2
MR
7307 (resize-window-reset): Rename to window-resize-reset.
7308 (resize-window-reset-1): Rename to window-resize-reset-1.
7309 (resize-window): Rename to window-resize.
7310 (window-min-height, window-min-width)
7311 (resize-mini-window, resize-this-window, resize-root-window)
7312 (resize-root-window-vertically, adjust-window-trailing-edge)
7313 (enlarge-window, shrink-window, maximize-window)
7314 (minimize-window, delete-window, quit-restore-window)
7315 (split-window, balance-windows, balance-windows-area-adjust)
7316 (balance-windows-area, window-state-put-2)
7317 (display-buffer-even-window-sizes, display-buffer-set-height)
7318 (display-buffer-set-width, set-window-text-height)
7319 (fit-window-to-buffer): Rename all "resize-window" prefixed
7320 calls to use the "window-resize" prefix convention.
7321 (display-buffer-alist): Fix symbol for label specifier.
7322 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7323 corresponding specifier.
7324 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7325
b6458526
VB
73262011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7327
7328 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7329 convention.
7330 (ses-call-printer): Does not pass an empty string to formatter when the
7331 cell is empty to keep from barking printer Calc math-format-value.
7332
d31fd9ac
RS
73332011-06-27 Richard Stallman <rms@gnu.org>
7334
43d5bf84
RS
7335 * battery.el (battery-mode-line-limit): New variable.
7336 (battery-update): Handle it.
7337
d31fd9ac
RS
7338 * mail/rmailmm.el (rmail-mime-process-multipart):
7339 Handle truncated messages.
7340
819a6054
GM
73412011-06-27 Glenn Morris <rgm@gnu.org>
7342
7343 * progmodes/flymake.el (flymake-err-line-patterns):
7344 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7345
cedc73f2
VB
73462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7347
819a6054 7348 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7349 (ses--clean-!, ses--clean-_): New functions.
7350 (ses-range): Add configurability of readout order, and conversion
7351 to Calc vector.
7352
5e5d49b6
VB
7353 * ses.el (ses-repair-cell-reference-all): New function.
7354 (ses-cell-symbol): Set macro as safe, so that it can be used in
7355 formulas.
7356
56e6cc31 7357 * ses.el: Update cycle detection algorithm.
90ca8b49 7358 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7359 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7360 (ses-set-localvars): New function.
7361 (ses-make-cell): Add property-list as a cell element.
7362 (ses-cell-property-get-fun, ses-cell-property-get)
7363 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7364 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7365 New functions.
90ca8b49
VB
7366 (ses-cell-property-set, ses-cell-property-pop)
7367 (ses-cell-property-get-handle): New macro.
7368 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7369 New aliases, used for code readability.
7370 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7371 cycle detection.
7372 (ses-self-reference-early-detection): New defcustom.
fac916bf 7373 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7374 (ses-mode): Use ses-set-localvars.
7375 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7376 before lauching the update processing.
7377 (ses-initialize-Dijkstra-attempt): New function.
7378 (ses-recalculate-cell): Update for cycle detection based on
7379 Dijkstra algorithm.
7380
2bb63e81
VB
7381 * ses.el: Fix commenting and indenting convention.
7382
c9d29fb8
SM
73832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * bs.el (bs-cycle-next): Complete last change.
7386
d8e4b68b
JB
73872011-06-27 Drew Adams <drew.adams@oracle.com>
7388
7389 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7390
40098786
LMI
73912011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7392
c9d29fb8
SM
7393 * net/network-stream.el (network-stream-open-starttls):
7394 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7395 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7396
40098786
LMI
7397 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7398 to binary to possibly avoid line encoding issues on Windows (among
7399 other things).
7400
468d09d4
LMI
74012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402
7403 * net/network-stream.el (open-network-stream): Return an :error
7404 saying what the problem was, if possible.
7405
7406 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7407 server.
7408
7409 * net/network-stream.el (network-stream-open-starttls): If we
7410 wanted to use STARTTLS, and the server offered it, but we weren't
7411 able to because we had no STARTTLS support, then close the connection.
7412 (open-network-stream): Return an :error element, if present.
7413
16f07dd7
CY
74142011-06-26 Chong Yidong <cyd@stupidchicken.com>
7415
88821ca0
CY
7416 * hl-line.el (hl-line-sticky-flag): Doc fix.
7417 (global-hl-line-sticky-flag): New option (Bug#8323).
7418 (global-hl-line-highlight): Obey it.
7419
16f07dd7
CY
7420 * vc/vc.el (vc-revert-show-diff): Default to t.
7421
6b5ccddf
KM
74222011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7423
c9d29fb8
SM
7424 * allout-widgets.el (allout-widgets-post-command-business):
7425 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7426 undecorated when an isearch is continued past, and isearch
7427 automatically collapses them. This leads to "widget leaks", where
7428 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7429 hidden widgets can slow down cursor travel, substantially.
7430 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7431 so we're doing without this nicety.
7432
7433 (allout-widgets-tally-string): Don't try to do a hash-table-count
7434 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7435 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7436 *Messages* when allout-widgets-maintain-tally is t.
7437
355f2e07
MR
74382011-06-26 Martin Rudalics <rudalics@gmx.at>
7439
7440 * window.el (display-buffer-normalize-argument): Rename to
7441 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7442 LABEL argument. Respect special-display-function when popping up
7443 a new frame. Fix code searching for a window showing the buffer
7444 on another frame.
c9d29fb8
SM
7445 (display-buffer-normalize-specifiers):
7446 Call display-buffer-normalize-arguments.
355f2e07
MR
7447 (display-buffer-in-window): Don't undedicate the window if its
7448 buffer remains the same.
7449 Reported by Drew Adams <drew.adams@oracle.com>.
7450 (display-buffer-alist): Add choice for same-window macro
7451 specfier.
7452 (display-buffer): Mention special meaning of LABEL argument in
7453 doc-string. Fix quoting. Don't pop up a new frame even as
7454 fallback.
7455
7ca8fc42
JB
74562011-06-26 Juanma Barranquero <lekktu@gmail.com>
7457
7458 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7459 avoid deleting the current window in some cases (bug#8911).
7460
bc312254
AS
74612011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7462
7463 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7464 (Bug#8934)
7465
2db18f3f
LMI
74662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7467
c9d29fb8
SM
7468 * net/network-stream.el (network-stream-open-starttls):
7469 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7470 (network-stream-open-tls): Ditto.
7471
6302e0d3
LL
74722011-06-26 Leo Liu <sdl.web@gmail.com>
7473
7474 * register.el (registerv): New struct.
7475 (registerv-make): New function.
c9d29fb8
SM
7476 (jump-to-register, describe-register-1, insert-register):
7477 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7478 struct. (Bug#8415)
7479
5fdd4046
CY
74802011-06-26 Chong Yidong <cyd@stupidchicken.com>
7481
2afef60a
CY
7482 * vc/vc.el (vc-revert-show-diff): New defcustom.
7483 (vc-diff-internal): New arg specifying diff buffer.
7484 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7485 reuse an existing *vc-diff* buffer (Bug#8927).
7486
5fdd4046
CY
7487 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7488
e93db24a
GM
74892011-06-26 Glenn Morris <rgm@gnu.org>
7490
7491 * progmodes/f90.el (f90-critical-indent): New option.
7492 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7493 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7494 (f90-mode): Doc fix.
7495 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7496 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7497 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7498 (f90-match-end): Handle block, critical.
7499
eefff499
GM
75002011-06-25 Glenn Morris <rgm@gnu.org>
7501
f6ba4cc9
GM
7502 * calendar/diary-lib.el (diary-included-files): Doc fix.
7503 (diary-include-files): New function, extracted from
7504 diary-include-other-diary-files and diary-mark-included-diary-files.
7505 (diary-include-other-diary-files, diary-mark-included-diary-files):
7506 Just call diary-include-files.
7507 (diary-mark-entries): Reset diary-included-files on first call.
7508
16712304
GM
7509 * calendar/diary-lib.el (diary-mark-entries)
7510 (diary-mark-included-diary-files):
7511 Visit included diary-files in temp buffers.
7512
5d8e0d43
GM
7513 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7514 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7515 (f90-start-block-re, f90-imenu-generic-expression)
7516 (f90-looking-at-program-block-start, f90-no-block-limit):
7517 Add support for submodules.
7518
ccf7a5d5
GM
7519 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7520 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7521
11fdef7d 75222011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7523
7524 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7525 buffer-file-type before setting its value, to avoid disastrous
eefff499 7526 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7527
74f53697
JB
75282011-06-25 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7531
7532 * ses.el (ses-unload-function):
7533 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7534
7535 * proced.el (proced-unload-function):
7536 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7537
18a4ce5e
AR
75382011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7539
7540 * server.el (server-create-window-system-frame): Add parameters arg.
7541 (server-process-filter): Doc fix. Handle frame-parameters.
7542
519d22cc
JB
75432011-06-25 Juanma Barranquero <lekktu@gmail.com>
7544
7545 Fix bug#8730, bug#8781.
7546
7547 * loadhist.el (unload--set-major-mode): New function.
7548 (unload-feature): Use it.
7549
7550 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7551 (python-unload-function): New function.
7552
c206f5b0
SM
75532011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7556
f9ad64f3
GS
75572011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7558
7559 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7560 the candidates list.
7561
7d0da90e
JB
75622011-06-24 Juanma Barranquero <lekktu@gmail.com>
7563
7564 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7565
14b4e83d
RS
75662011-06-23 Richard Stallman <rms@gnu.org>
7567
7568 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7569 (rmail-variables): Set next-error-move-function.
7570 (rmail-what-message): Take argument POS.
7571 (rmail-next-error-move): New function.
7572
273d2baf
SM
75732011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7576 messages for adjacent non-terminals.
7577
56c2cc9a
RS
75782011-06-23 Richard Stallman <rms@gnu.org>
7579
7580 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7581 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7582 (rmail-start-mail): Don't specify use of rmail-mail-return;
7583 that's done by mail-bury now.
7584 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7585
d59eb518
MA
75862011-06-23 Michael Albinus <michael.albinus@gmx.de>
7587
7588 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7589 SIZE is a number.
7590
02cfc6d6
MR
75912011-06-23 Martin Rudalics <rudalics@gmx.at>
7592
7593 * window.el (get-lru-window, get-mru-window)
7594 (get-largest-window): Never return a minibuffer window.
7595 (display-buffer-pop-up-window): Fix a bug that could lead to
7596 reusing the minibuffer window.
7597 (display-buffer): Pass original specifier argument to
7598 display-buffer-function instead of the normalized one.
7599 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7600
4e323265
LL
76012011-06-22 Leo Liu <sdl.web@gmail.com>
7602
7603 * minibuffer.el (completing-read-function)
7604 (completing-read-default): Move from minibuf.c
7605
7a70468f
RS
76062011-06-22 Richard Stallman <rms@gnu.org>
7607
50718fc2
RS
7608 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7609 to Rmail even if not started by a special Rmail command.
7610
7a70468f
RS
7611 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7612 Copy the buffer currently showing just one message.
7613
297dde5a
RW
76142011-06-22 Roland Winkler <winkler@gnu.org>
7615
7616 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7617 (bibtex-clean-entry): First delete the old key so that a
7618 customized algorithm for generating the new key does not get
7619 confused by the old key.
7620 (bibtex-url): Obey regexp of first step.
7621 (bibtex-search-entries): Do not use add-to-list with local
7622 list-var.
7623
97bb1093
LMI
76242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7625
7626 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7627 stored a user name, then query for the password first, instead of
7628 waiting for SMTP to give an error message and the trying again.
7629
1c0f1a19
JD
76302011-06-22 Lawrence Mitchell <wence@gmx.li>
7631
7632 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7633 BUFFER in call-process.
7634
396f7c9d
LMI
76352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7636
7637 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7638 QUIT twice.
ddb7ffee
LMI
7639 (smtpmail-try-auth-methods): Require user name and password from
7640 auth-source.
396f7c9d 7641
8998d1b3
MR
76422011-06-22 Martin Rudalics <rudalics@gmx.at>
7643
7644 * window.el (display-buffer-default-specifiers)
7645 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7646 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7647 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7648
7649 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7650 (special-display-frame-alist, special-display-popup-frame):
7651 Remove duplicate declarations. These are now in window.el.
7652
4ea31e07
LMI
76532011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
c9d29fb8
SM
7655 * mail/smtpmail.el (smtpmail-via-smtp):
7656 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7657 server supports it. SMTP servers that support STARTTLS commonly
7658 require it.
7659
7660 * net/network-stream.el (network-stream-open-starttls): Support
7661 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7662 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7663
95f41d9a
LMI
7664 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7665 upgrades with `open-network-stream', and rely solely on
7666 auth-source for all credentials. Big changes throughout the file,
7667 but in particular:
c9d29fb8
SM
7668 (smtpmail-auth-credentials): Remove.
7669 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7670 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7671 MAIL FROM, too.
95f41d9a 7672
c9d29fb8
SM
7673 * net/network-stream.el (network-stream-open-starttls):
7674 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7675 STARTTLS.
7676 (auth-source): Require.
7677 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7678 (network-stream-certificate): Change cert-cert to cert and
7679 cert-key to key.
4ea31e07 7680
065ec2c7
MA
76812011-06-21 Michael Albinus <michael.albinus@gmx.de>
7682
7683 * net/tramp-cache.el (top): Don't load the persistency file when
7684 "emacs -Q" has been called.
7685
cd93b359
DR
76862011-06-21 Tim Harper <timcharper@gmail.com>
7687
d8e4b68b
JB
7688 * term/ns-win.el (ns-initialize-window-system):
7689 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7690 resource to NO as it is not yet supported by the NS port.
7691
ae9c0411
JB
76922011-06-21 Juanma Barranquero <lekktu@gmail.com>
7693
7694 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7695 (list-dynamic-libraries): ...not here.
7696
7f3f739f
LL
76972011-06-21 Leo Liu <sdl.web@gmail.com>
7698
7699 * subr.el (sha1): Implement sha1 using secure-hash.
7700
327c8fb1
MR
77012011-06-21 Martin Rudalics <rudalics@gmx.at>
7702
7703 * window.el (display-buffer-alist): In default value do not
7704 enforce searching a window on any but the selected frame.
7705 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7706 (display-buffer-select-window): Remove function.
7707 (display-buffer-in-window): When a window on another frame gets
7708 reused, do not select it any more but just raise its frame if
7709 necessary (Bug#8851) and (Bug#8856).
7710 (display-buffer-normalize-options): Handle pop-up-frames related
7711 options more faithfully.
7712 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7713 window if it is on another frame.
c9d29fb8
SM
7714 (display-buffer-alist, display-buffer-default-specifiers):
7715 Don't make new frame unsplittable by default.
9e9de014
MR
7716 (display-buffer-normalize-argument): Fix doc-string typo and use
7717 'same-frame-other-window instead of 'other-window when associating
7718 with display-buffer-macro-specifiers.
327c8fb1 7719
7cf3f556
VB
77202011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7721
7722 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7723 New functions.
7724 (5x5-mode-map, 5x5-mode-menu): Bind them.
7725 (5x5-draw-grid): Tweak the solver's rendering.
7726
60a406cf
SM
77272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7730 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7731
d8e4b68b 77322011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7733
7734 * menu-bar.el: Use function variable instead of switch-to-buffer.
7735 (menu-bar-select-buffer-function): New variable.
60a406cf 7736 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7737
478d6f95
SM
77382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7741 variable's status.
7742
ca530739
JD
77432011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7744
7745 * x-dnd.el (x-dnd-version-from-flags)
7746 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7747 and long as number (Bug#8899).
7748 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7749
bcd70d97
SM
77502011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7751
60a406cf 7752 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7753 (completion-try-completion, completion-all-completions): Compute the
7754 metadata argument if it's missing; make it optional (bug#8795).
7755
60a406cf 7756 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7757 (widget-complete): Use new :completion-function property.
7758 (widget-completions-at-point): New function.
7759 (default): Use :completion-function instead of :complete.
60a406cf
SM
7760 (widget-default-completions): Rename from widget-default-complete;
7761 Rewrite.
bcd70d97
SM
7762 (widget-string-complete, widget-file-complete, widget-color-complete):
7763 Remove functions.
7764 (file, symbol, function, variable, coding-system, color):
7765 * international/mule-cmds.el (default-input-method, charset)
7766 (language-info-custom-alist):
7767 * cus-edit.el (face): Use new property :completions.
7768
7769 * progmodes/pascal.el (pascal-completions-at-point): New function.
7770 (pascal-mode): Use it.
7771 (pascal-mode-map): Use completion-at-point.
7772 (pascal-toggle-completions): Make obsolete.
7773 (pascal-complete-word, pascal-show-completions):
7774 * progmodes/octave-mod.el (octave-complete-symbol):
7775 Redefine as obsolete alias.
7776 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7777 Signal absence of completion info for old Octave,
7778 (inferior-octave-complete): Redefine as obsolete alias.
7779 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7780 (meta-completions-at-point): Rename from meta-complete-symbol and
7781 adapt it for use on completion-at-point-functions.
7782 (meta-common-mode): Use it.
7783 (meta-looking-at-backward, meta-match-buffer): Remove.
7784 (meta-complete-symbol): Redefine as obsolete alias.
7785 (meta-common-mode-map): Use completion-at-point.
7786 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7787 (makefile-mode-map): Use completion-at-point.
7788 (makefile-completions-at-point): Rename from makefile-complete and
7789 adapt it for use on completion-at-point-functions.
7790 (makefile-mode): Use it.
7791 (makefile-complete): Redefine as obsolete alias.
7792
aebf69c8
DD
77932011-06-20 Deniz Dogan <deniz@dogan.se>
7794
7795 * net/rcirc.el: Delete trailing whitespaces once and for all.
7796
bfbbb27d
DC
77972011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7798
7799 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7800
d264a46b
CY
78012011-06-19 Chong Yidong <cyd@stupidchicken.com>
7802
4ca009e5
CY
7803 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7804
d264a46b
CY
7805 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7806
fbf5b3ce
MR
78072011-06-19 Martin Rudalics <rudalics@gmx.at>
7808
7809 * window.el (display-buffer-other-window-means-other-frame):
7810 Call display-buffer-normalize-alist.
7811 (display-buffer-normalize-specifiers-1): Rename to
7812 display-buffer-normalize-argument. New argument other-frame.
7813 Rewrite.
7814 (display-buffer-normalize-specifiers-2): Rename to
7815 display-buffer-normalize-options.
7816 (display-buffer-normalize-alist-1): New function.
7817 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7818 display-buffer-normalize-alist.
7819 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7820 (display-buffer-normalize-options-inhibit): New variable.
7821 (display-buffer-normalize-specifiers): Rewrite calling
7822 display-buffer-normalize-alist,
7823 display-buffer-normalize-argument, and
7824 display-buffer-normalize-options. Don't call the latter if
7825 display-buffer-normalize-options-inhibit is non-nil.
7826 (frame-auto-delete): New option.
7827 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7828 (window-list-no-nils, window-state-ignored-parameters)
7829 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7830 (window-state-put-1, window-state-put-2, window-state-put):
7831 New functions.
9a028c23
MR
7832 (display-buffer-normalize-options): Move special-display-p group
7833 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7834
6d10d800
CY
78352011-06-18 Chong Yidong <cyd@stupidchicken.com>
7836
6420d28b
CY
7837 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7838 groups (Bug#8776).
7839 (rx-submatch-n): New function.
7840 (rx): Document it.
7841
ddb8b596
CY
7842 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7843 (Bug#8768).
7844
7845 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7846
77080289
CY
7847 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7848
61dfb316
CY
7849 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7850 anytime existing face settings are present (Bug#8889).
7851
6d10d800
CY
7852 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7853 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7854 Remove unused argument.
7855
be3fb2b8
MR
78562011-06-18 Martin Rudalics <rudalics@gmx.at>
7857
bcd70d97
SM
7858 * window.el (display-buffer-default-specifiers):
7859 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7860 pop-up-window-min-width, and another reuse-window specifier
7861 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7862 (display-buffer-normalize-specifiers-2):
7863 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7864 pop-up-windows is unset. Add a reuse-window specifier for the
7865 case popping up a new window fails.
7866 (special-display-popup-frame): Remove double quoting.
28dec25a 7867 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7868
1c6d8c76
SM
78692011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7872 according to comint-completion-addsuffix.
7873
7874 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7875 (pcomplete-suffix-list): Mark as obsolete.
7876 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7877 pcomplete-seen in the closure.
7878 (pcomplete-comint-setup): Setup completion-at-point as well.
7879 (pcomplete--entries): New function.
7880 (pcomplete--env-regexp): New var.
7881 (pcomplete-entries): Rewrite to work with partial-completion and
7882 without relying on pcomplete-suffix-list.
7883 (pcomplete-pare-list): Remove, unused.
7884
25aef8b8
MR
78852011-06-17 Martin Rudalics <rudalics@gmx.at>
7886
7887 * window.el (display-buffer-alist): Set pop-up-window-min-height
7888 and pop-up-window-min-width in default value. Reported by
7889 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7890 other-window-means-other-frame.
7891 (display-buffer-macro-specifiers): Comment out entry for
7892 other-window specifier.
7893 (display-buffer-other-window-means-other-frame): New function.
7894 (display-buffer-normalize-specifiers-1): New arguments
7895 buffer-name and label. Treat other-window case specially.
7896 (display-buffer-normalize-specifiers-2): Treat other-window case
7897 specially.
7898 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7899 (display-buffer-normalize-specifiers):
7900 Call display-buffer-normalize-specifiers-3.
25aef8b8 7901
dbad4f69
MR
79022011-06-17 Martin Rudalics <rudalics@gmx.at>
7903
7904 * window.el (same-window-p): Fix two typos introduced when
7905 adding with-no-warnings.
d1067961
MR
7906 (display-buffer-normalize-specifiers-1): Don't check
7907 pop-up-frames for 'unset initialization.
7908 (display-buffer-normalize-specifiers-2): Major rewrite using
7909 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7910 (pop-up-frames, display-buffer-reuse-frames)
7911 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7912 Suggested by David Engster <deng@randomsample.de>.
7913 (even-window-heights): Initialize to 'unset.
7914 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7915 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7916 other window case.
dbad4f69 7917
9b9c9e3a
MR
79182011-06-16 Martin Rudalics <rudalics@gmx.at>
7919
bcd70d97
SM
7920 * window.el (display-buffer-normalize-specifiers-1):
7921 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7922 second argument of display-buffer (Bug#8865).
981d5c09
MR
7923 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7924 (switch-to-buffer-other-window-same-frame)
7925 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7926 Adams (Bug#8875).
9c2755e9
MR
7927 (display-buffer): Don't check noninteractive when calling
7928 display-buffer-pop-up-frame.
7929 (display-buffer-pop-up-frame): Never pop up a frame in
7930 noninteractive mode (Bug#8857).
67222e1d
MR
7931 (enlarge-window, shrink-window): Don't report an error when the
7932 window can't be resized as requested (Bug#8862).
9b9c9e3a 7933
2b75be67
SM
79342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7935
9ffdd3ba
SM
7936 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7937
cb581a67
SM
7938 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7939
2b75be67
SM
7940 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7941
8c0e3589
AM
79422011-06-15 Alan Mackenzie <acm@muc.de>
7943
cb581a67
SM
7944 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7945 for declarators, disable knr checking to speed up for normal files.
7946 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7947
b96e6cde
LMI
79482011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7949
4bba86e6
LMI
7950 * net/network-stream.el (open-network-stream): Add the keyword
7951 :always-query-capabilities for the case where you want to force a
7952 `plain' network connection, but the protocol still requires the
7953 capabilitiy command (i.e., SMTP and EHLO).
7954
2b75be67 7955 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7956 consistency with other `-live-p' functions.
7957
efdcdbf8
SM
79582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * window.el (same-window-buffer-names, same-window-regexps)
7961 (special-display-frame-alist, special-display-popup-frame)
7962 (special-display-function, special-display-buffer-names)
7963 (special-display-regexps, pop-up-frame-alist)
7964 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7965 (pop-up-windows, split-window-preferred-function)
7966 (split-height-threshold, split-width-threshold, even-window-heights)
7967 (display-buffer-mark-dedicated): Don't encourage the use of
7968 display-buffer-alist from Elisp code.
7969
c5cde042
DN
79702011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7971
7972 * progmodes/python.el (python-mode): Derive from prog-mode.
7973 * progmodes/ps-mode.el (ps-mode):
7974 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7975 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7976 * progmodes/ld-script.el (ld-script-mode): Likewise.
7977
baa1c9ab
MR
79782011-06-15 Martin Rudalics <rudalics@gmx.at>
7979
7980 * window.el (display-buffer-alist): Trim default value to avoid
7981 popping up a new frame (Bug#8857) or reusing an arbitrary window
7982 on another frame.
7983 (display-buffer): Do not fall back on popping up a new frame in
7984 batch mode (Bug#8857).
7985
c5dd5a51
CY
79862011-06-14 Chong Yidong <cyd@stupidchicken.com>
7987
7988 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7989 (custom-theme-summary): New function.
7990 (customize-themes): Use it.
7991
d647b7c4
GM
79922011-06-13 Glenn Morris <rgm@gnu.org>
7993
7994 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7995
9481c002
MR
79962011-06-13 Martin Rudalics <rudalics@gmx.at>
7997
357f93d2
MR
7998 * help.el (help-window): Remove variable.
7999 (help-window-point-marker, temp-buffer-max-height)
8000 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8001 (help-print-return-message): Don't set help-window.
8002 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8003 (help-window-setup-finish): Remove.
8004 (help-window-display-message, help-window-setup)
8005 (with-help-window): Major rewrite based on new
8006 display-buffer-window variable.
8007
8008 * help-mode.el (help-mode-finish): Remove help-window related
8009 code.
8010
8011 * view.el (view-exits-all-viewing-windows): Remove reference to
8012 view-return-to-alist in doc-string.
8013 (view-return-to-alist): Make obsolete.
8014 (view-buffer): Call pop-to-buffer-same-window and remove
8015 undo-window code.
8016 (view-buffer-other-window): Call pop-to-buffer-other-window and
8017 simplify code. Ignore second argument.
8018 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8019 simplify code. Ignore second argument.
8020 (view-return-to-alist-update): Make obsolete.
8021 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8022 Rewrite using quit-restore window parameters.
2b75be67
SM
8023 (view-mode-exit): Rename second argument to EXIT-ONLY.
8024 Rewrite using quit-restore-window.
357f93d2
MR
8025 (View-exit, View-exit-and-edit, View-leave, View-quit)
8026 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8027 appropriate arguments.
8028 (view-end-message): Use quit-restore window parameter.
8029
9481c002
MR
8030 * window.el (display-buffer-function): Rewrite doc-string.
8031 (display-buffer-window, display-buffer-alist): New variables.
8032 (display-buffer-split-specifiers)
8033 (display-buffer-side-specifiers)
8034 (display-buffer-macro-specifiers): New constants.
8035 (display-buffer-even-window-sizes, display-buffer-set-height)
8036 (display-buffer-set-width, display-buffer-select-window)
8037 (display-buffer-in-window, display-buffer-reuse-window)
8038 (display-buffer-split-window-1, display-buffer-split-window)
8039 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8040 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8041 (display-buffer-in-side-window, normalize-buffer-to-display)
8042 (display-buffer-normalize-specifiers-1)
8043 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8044 (display-buffer-normalize-specifiers, display-buffer-frame):
8045 New functions.
9481c002
MR
8046 (display-buffer): Major rewrite.
8047 (display-buffer-other-window, display-buffer-other-frame)
8048 (pop-to-buffer, switch-to-buffer-other-window)
8049 (switch-to-buffer-other-frame): Rewrite.
8050 (display-buffer-same-window, display-buffer-same-frame)
8051 (display-buffer-same-frame-other-window)
8052 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8053 (pop-to-buffer-other-window)
8054 (pop-to-buffer-same-frame-other-window)
8055 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8056 (switch-to-buffer-other-window-same-frame): New functions.
8057 (same-window-p, special-display-p): Rewrite disabling warnings.
8058 Make obsolete.
8059 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8060 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8061 Make obsolete
8062 (same-window-buffer-names, same-window-regexps)
8063 (special-display-frame-alist, special-display-popup-frame)
8064 (special-display-function, special-display-buffer-names)
8065 (special-display-regexps, pop-up-frame-alist)
8066 (pop-up-frame-function, split-window-preferred-function)
8067 (split-height-threshold, split-width-threshold)
8068 (even-window-heights): Make obsolete.
8069
9db51aca
GM
80702011-06-12 Glenn Morris <rgm@gnu.org>
8071
8072 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8073 Misc simplifications.
9db51aca 8074
39cffb44
MR
80752011-06-12 Martin Rudalics <rudalics@gmx.at>
8076
8077 * window.el (window-safely-shrinkable-p): Restore function which
8078 was inadvertently removed in change from 2011-06-11. Declare as
8079 obsolete.
8080
2b75be67
SM
8081 * calendar/calendar.el (calendar-generate-window):
8082 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8083 window-safely-shrinkable-p.
8084
a8955be7
GM
80852011-06-12 Glenn Morris <rgm@gnu.org>
8086
8087 * progmodes/fortran.el (fortran-mode-syntax-table):
8088 * progmodes/f90.el (f90-mode-syntax-table):
8089 Set % to punctuation. (Bug#8820)
8090 (f90-find-tag-default): Remove, no longer needed.
8091
f0d4059d
DC
80922011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8093
8094 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8095
1100a63c
CY
80962011-06-11 Chong Yidong <cyd@stupidchicken.com>
8097
8098 * image.el (image-animated-p): Return animation delay in seconds.
8099 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8100 (image-animate-timeout): Remove DELAY argument. Don't assume
8101 every subimage has the same delay; get it from image-animated-p.
8102 (image-animate): Caller changed.
8103
def722bf
MA
81042011-06-11 Michael Albinus <michael.albinus@gmx.de>
8105
8106 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8107 to ignored backtrace functions.
8108
0a2bb1a9
GM
81092011-06-11 Glenn Morris <rgm@gnu.org>
8110
8111 * calendar/appt.el (appt-disp-window-function): Doc fix.
8112 (appt-check): Handle overlapping appointments. (Bug#8337)
8113
6198ccd0
MR
81142011-06-11 Martin Rudalics <rudalics@gmx.at>
8115
8116 * window.el (window-tree-1, window-tree): New functions, moving
8117 the latter to window.el.
8118 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8119 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8120 (bw-refresh-edges): Remove.
8121 (balance-windows-1, balance-windows-2): New functions.
8122 (balance-windows): Rewrite in terms of window tree functions,
8123 balance-windows-1 and balance-windows-2.
8124 (bw-adjust-window): Remove.
8125 (balance-windows-area-adjust): New function with functionality of
8126 bw-adjust-window but using resize-window.
2b75be67
SM
8127 (set-window-text-height): Rewrite doc-string.
8128 Use normalize-live-window and resize-window.
8129 (enlarge-window-horizontally, shrink-window-horizontally):
8130 Rename argument to DELTA.
6198ccd0
MR
8131 (window-buffer-height): New function.
8132 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8133 Rewrite using new window resize routines.
2b75be67
SM
8134 (kill-buffer-and-window, mouse-autoselect-window-select):
8135 Use ignore-errors instead of condition-case.
6198ccd0
MR
8136 (quit-window): Call delete-frame instead of delete-windows-on
8137 for the only buffer on frame.
8138
9397e56f
MR
81392011-06-10 Martin Rudalics <rudalics@gmx.at>
8140
8141 * loadup.el (top-level): Load window before files for the sake
8142 of replace-buffer-in-windows.
8143
8144 * files.el (read-buffer-to-switch)
8145 (switch-to-buffer-other-window)
2b75be67
SM
8146 (switch-to-buffer-other-frame, display-buffer-other-frame):
8147 Move to window.el.
9397e56f
MR
8148
8149 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8150 (previous-buffer): Move to window.el.
8151
8152 * bindings.el (unbury-buffer): Move to window.el.
8153
8154 * window.el (delete-other-windows-vertically): Move after
8155 definition of delete-other-windows.
8156 (other-window, delete-windows-on, replace-buffer-in-windows):
8157 Move here from window.c.
8158 (record-window-buffer, unrecord-window-buffer)
8159 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8160 (switch-to-next-buffer): New functions.
8161 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8162 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8163 (previous-buffer): Move here from simple.el.
8164 Call switch-to-prev-buffer.
9397e56f
MR
8165 (bury-buffer): Move here from buffer.c. Switch to previous
8166 buffer when window cannot be deleted.
8167 (unbury-buffer): Move here from bindings.el.
8168 (ctl-x-map): Move binding for other-window from window.c to
8169 here.
8170 (read-buffer-to-switch, switch-to-buffer-other-window)
8171 (switch-to-buffer-other-frame): Move here from files.el.
8172 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8173 (switch-to-buffer): Move here from buffer.c.
8174 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8175
562dd5e9
MR
81762011-06-10 Martin Rudalics <rudalics@gmx.at>
8177
8178 * window.el (window-min-height, window-min-width): Move here
8179 from window.c. Add defcustoms and rewrite doc-strings.
8180 (resize-mini-window, resize-window): New functions.
8181 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8182 Move here from window.c.
8183 (maximize-window, minimize-window): New functions.
8184 (delete-window, delete-other-windows, split-window): Move here
8185 from window.c.
8186 (window-split-min-size): New function.
8187 (split-window-keep-point): Mention split-window-above-each-other
8188 instead of split-window-vertically.
2b75be67 8189 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8190 Rename split-window-vertically to split-window-above-each-other
8191 and provide defalias for old definition.
8192 (split-window-side-by-side, split-window-horizontally):
8193 Rename split-window-horizontally to split-window-side-by-side
8194 and provide defalias for the old definition.
562dd5e9
MR
8195 (ctl-x-map): Move bindings for delete-window,
8196 delete-other-windows and enlarge-window here from window.c.
8197 Replace bindings for split-window-vertically and
8198 split-window-horizontally by bindings for
8199 split-window-above-each-other and split-window-side-by-side.
8200
8201 * cus-start.el (all): Remove entries for window-min-height and
8202 window-min-width. Add entries for window-splits and
8203 window-nest.
8204
f0da764a
GM
82052011-06-09 Glenn Morris <rgm@gnu.org>
8206
80675c21
GM
8207 * calendar/appt.el (appt-mode-line): New function.
8208 (appt-check, appt-disp-window): Use it.
8209
f0da764a
GM
8210 * files.el (hack-one-local-variable-eval-safep):
8211 Allow minor-modes with explicit +/-1 arguments.
8212
59f623b7
TZ
82132011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8214
8215 * term/xterm.el (xterm): Add defgroup.
8216 (xterm-extra-capabilities): Add defcustom to supply known xterm
8217 capabilities, skip querying them, or query them (default).
8218 (terminal-init-xterm): Use it.
8219 (terminal-init-xterm-modify-other-keys): New function to set up
8220 modifyOtherKeys support to simplify `terminal-init-xterm'.
8221
9aab8e0d
MR
82222011-06-09 Martin Rudalics <rudalics@gmx.at>
8223
8224 * window.el (resize-window-reset, resize-window-reset-1)
8225 (resize-subwindows-skip-p, resize-subwindows-normal)
8226 (resize-subwindows, resize-other-windows, resize-this-window)
8227 (resize-root-window, resize-root-window-vertically)
8228 (window-deletable-p, window-or-subwindow-p)
8229 (frame-root-window-p): New functions.
8230
e8b08aee
GM
82312011-06-09 Glenn Morris <rgm@gnu.org>
8232
8233 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8234 (ange-ftp-get-files): Use it.
8235
254c37a5
AK
82362011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8237
8238 * mail/sendmail.el (mail-recover-1, mail-recover):
8239 * files.el (recover-file, recover-session):
8240 Handle dired-listing-switches not being just a single short option.
8241
35d7dbd3
GM
82422011-06-09 Glenn Morris <rgm@gnu.org>
8243
8244 * calendar/appt.el (appt-display-message, appt-disp-window):
8245 Handle lists of appointments.
8246
387522b2
MR
82472011-06-08 Martin Rudalics <rudalics@gmx.at>
8248
2b75be67
SM
8249 * window.el (one-window-p): Move down in code.
8250 Rewrite doc-string.
8251 (window-current-scroll-bars): Rewrite doc-string.
8252 Normalize live window argument.
387522b2
MR
8253 (walk-windows, get-window-with-predicate, count-windows):
8254 Rewrite doc-string. Use window-list-1.
8255 (window-in-direction-2, window-in-direction, get-mru-window):
8256 New functions.
8257
d8e4b68b 82582011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8259
8260 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8261 Doc fix (Bug#8713).
8262
82632011-06-08 Chong Yidong <cyd@stupidchicken.com>
8264
8265 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8266
82672011-06-08 Juanma Barranquero <lekktu@gmail.com>
8268
8269 * loadhist.el (unload-feature-special-hooks):
8270 Add `comint-output-filter-functions'.
8271
0de12c52
IK
82722011-06-08 Ivan Kanis <gnu@kanis.fr>
8273
8274 * calendar/appt.el (appt-check): Move some initializations into the let.
8275
f3d1777e
MR
82762011-06-08 Martin Rudalics <rudalics@gmx.at>
8277
8278 * window.el (window-height): Defalias to window-total-height.
8279 (window-width): Defalias to window-body-width.
8280
18af70d0
CY
82812011-06-07 Chong Yidong <cyd@stupidchicken.com>
8282
8283 * image-mode.el (image-toggle-animation): New command.
8284 (image-mode-map): Bind it to RET.
8285 (image-mode): Update message.
8286 (image-toggle-display-image): Avoid a spurious cache flush.
8287 (image-transform-rotation): Doc fix.
8288 (image-transform-properties): Return quickly in the normal case.
8289 (image-animate-loop): Rename from image-animate-max-time.
8290
2b75be67 8291 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8292 (create-animated-image): Remove unnecessary function.
8293 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8294 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8295 (image-animate-timer): Use car-safe.
8296 (image-animate-timeout): Rename argument.
8297
190b47e6
MR
82982011-06-07 Martin Rudalics <rudalics@gmx.at>
8299
8300 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8301 window.c. Rename first argument to ALL-FRAMES.
8302 Rephrase doc-strings.
8303 (get-buffer-window-list): Rewrite using window-list-1.
8304 Rephrase doc-string.
a1511caf
MR
8305 (window-safe-min-height, window-safe-min-width): New constants.
8306 (window-size-ignore, window-min-size, window-min-size-1)
8307 (window-sizable, window-sizable-p, window-size-fixed-1)
8308 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8309 (window-max-delta-1, window-max-delta, window-resizable)
8310 (window-resizable-p, window-total-height, window-total-width)
8311 (window-body-width): New functions.
8312 (window-full-height-p, window-full-width-p): Rewrite using
8313 window-total-size.
8314 (window-body-height): Rewrite using window-body-size.
190b47e6 8315
85cc1f11
MR
83162011-06-06 Martin Rudalics <rudalics@gmx.at>
8317
8318 * window.el (window-right, window-left, window-child)
8319 (window-child-count, window-last-child, window-any-p)
8320 (normalize-live-buffer, normalize-live-frame)
8321 (normalize-any-window, normalize-live-window)
8322 (window-iso-combination-p, window-iso-combined-p)
8323 (window-iso-combinations)
8324 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8325 (windows-with-parameter, window-with-parameter)
8326 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8327 (window-atom-check, window-side-check, window-check):
8328 New functions.
85cc1f11
MR
8329 (ignore-window-parameters, window-sides, window-sides-vertical)
8330 (window-sides-slots): New variables.
8331 (window-size-fixed): Move down in code. Minor doc-string fix.
8332
e7156492
AS
83332011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8334
8335 * comint.el (comint-dynamic-complete-as-filename)
8336 (comint-dynamic-complete-filename): Correctly call
8337 completion-in-region.
8338
7e821d0d
DD
83392011-06-05 Deniz Dogan <deniz@dogan.se>
8340
8341 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8342 in last change.
8343
ac09b8a1
DD
83442011-06-05 Deniz Dogan <deniz@dogan.se>
8345
8346 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8347 (rcirc): Use it to prompt for encryption.
8348
34699b85
RW
83492011-06-05 Roland Winkler <winkler@gnu.org>
8350
8351 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8352 (bibtex-search-entries): New command bound to C-c C-a.
8353 (bibtex-display-entries): New function.
8354
004dedd3
RW
83552011-06-05 Roland Winkler <winkler@gnu.org>
8356
8357 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8358 (bibtex-insert-kill): After yanking insert newline if necessary.
8359 (bibtex-initialize): Call bibtex-string-files-init only once.
8360 (bibtex-mode): Do not call easy-menu-add.
8361 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8362 (bibtex-yank): Set arg properly if nil.
8363
022fe7ce
RW
83642011-06-05 Roland Winkler <winkler@gnu.org>
8365
2b75be67
SM
8366 * textmodes/bibtex.el (bibtex-search-entry-globally):
8367 New variable.
022fe7ce
RW
8368 (bibtex-search-entry): Use it.
8369
b7c3692a
RW
83702011-06-05 Roland Winkler <winkler@gnu.org>
8371
8372 * textmodes/bibtex.el (bibtex-entry-format): New option
8373 sort-fields.
8374 (bibtex-format-entry, bibtex-reformat): Honor this option.
8375 (bibtex-parse-entry): Return fields in proper order.
8376
8eda563d
JB
83772011-06-05 Juanma Barranquero <lekktu@gmail.com>
8378
8379 * doc-view.el (doc-view-remove-if): Move computation of result out
8380 of `dolist' to silence misleading lexical-binding warning.
8381
7dbe3dbc
CY
83822011-06-04 Chong Yidong <cyd@stupidchicken.com>
8383
8384 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8385 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8386
0c33dd17
MA
83872011-06-04 Michael Albinus <michael.albinus@gmx.de>
8388
8389 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8390 "SunOS 5.10".
8391
f8f91c2b
MA
83922011-06-04 Michael Albinus <michael.albinus@gmx.de>
8393
8394 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8395 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8396 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8397 (tramp-parse-putty):
8398 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8399 (tramp-completion-function-alist-ssh)
8400 (tramp-completion-function-alist-telnet)
8401 (tramp-completion-function-alist-su)
8402 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8403 cookie.
8404
8405 * net/tramp-ftp.el:
8406 * net/tramp-sh.el:
8407 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8408 load "tramp.el" `tramp-set-completion-function'.
8409
e17d9003
SM
84102011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * shell.el: Require and use pcomplete.
8413 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8414 (shell-completion-vars): Set pcomplete-default-completion-function.
8415
6c4cab03
DD
84162011-06-04 Deniz Dogan <deniz@dogan.se>
8417
8418 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8419 `memq' (Bug#8799).
8420
ea9fafe0
SM
84212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8424
b3e945d3
JB
84252011-06-02 Juanma Barranquero <lekktu@gmail.com>
8426
8427 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8428 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8429 * vc/log-view.el (log-view-beginning-of-defun):
8430 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8431 (smerge-refine-forward, smerge-refine-chopup-region):
8432 Silence warning for unused `dotimes' counter variables.
8433
7d520089
SM
84342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * net/tramp.el (tramp-with-progress-reporter): Rename from
8437 with-progress-reporter. Use `declare'.
8438 * net/tramp-smb.el:
8439 * net/tramp-sh.el:
8440 * net/tramp-gvfs.el: Update all uses.
8441
a1c2400f
JB
84422011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8443
8444 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8445 buffer isn't killed before making it current.
8446
2403c841
SM
84472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8448
8449 Silence various byte-compiler warnings.
8450 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8451 `access-type' and new obsolescence format.
8452 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8453 new format.
8454 (byte-compile-check-variable): New `access-type' argument.
8455 Only warn if the access-type is obsolete.
8456 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8457 (byte-compile-variable-set): Adjust callers.
8458 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8459 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8460 setting it as obsolete.
8461 * simple.el (minibuffer-completing-symbol):
8462 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8463 access as obsolete.
8464 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8465 obsolete yet.
8466 * international/quail.el (quail-mouse-choose-completion): Remove unused
8467 code referring to obsolete var.
8468 (quail-choose-completion-string): Remove.
8469 * server.el (server-clients-with, server-kill-buffer-query-function)
8470 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8471 * proced.el (proced-send-signal):
8472 * emacs-lisp/lisp.el (lisp-complete-symbol):
8473 Replace completion-annotate-function with completion-extra-properties.
8474
2462470b
SM
84752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8476
fb5b2591
SM
8477 * simple.el (goto-line): Use read-number.
8478 (overriding-map-is-bound): Remove.
8479 (saved-overriding-map): Change default.
8480 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8481 Take the map as argument.
8482 (universal-argument, negative-argument, digit-argument): Use it.
8483 (restore-overriding-map): Adjust.
8484 (do-auto-fill): Use fill-forward-paragraph.
8485 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8486
fd6fa53f
SM
8487 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8488 (minibuffer-inactive-mode): New major mode.
8489 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8490 the *Messages* buffer" hack.
8491 (mouse-popup-menubar): Don't burp if the event is a normal key.
8492
2462470b
SM
8493 Miscellaneous tweaks.
8494 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8495 lexical scoping as in subr.el's dolist and dotimes.
8496 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8497 Silence compiler warning.
8498 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8499 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8500 * international/ccl.el (ccl-compile): Trivial simplification.
8501 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8502 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8503 `printflag' argument.
8504 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8505 Purecopy the whole obsolescence data.
8506
108bf785
LL
85072011-06-01 Leo Liu <sdl.web@gmail.com>
8508
8509 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8510 improve doc-string as suggested by Marco Pessotto
8511 <melmothx@gmail.com>.
8512 (rcirc-print): Fix last change.
8513
30a23501
SM
85142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * minibuffer.el (complete-with-action): Return nil for the metadata and
8517 boundaries of non-functional tables.
8518 (completion-table-dynamic): Return nil for the metadata.
8519 (completion-table-with-terminator): Add default case, using
8520 complete-with-action.
8521 (completion--metadata): New function.
8522 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8523 to try and avoid pathological performance problems.
8524 (completion--embedded-envvar-table): Return `category' metadata.
8525
bcd54f83
LMI
85262011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * subr.el (process-alive-p): New tiny convenience function.
8529
e227544d
SM
85302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8533 content but also its previous major mode.
8534
e8296fdc
HE
85352011-05-31 Helmut Eller <eller.helmut@gmail.com>
8536
4d61f28d 8537 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8538 *Backtrace* buffer when we exit with C-M-c.
8539
620c53a6
SM
85402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * minibuffer.el: Add metadata method to completion tables.
8543 (completion-category-overrides): New defcustom.
8544 (completion-metadata, completion--field-metadata)
8545 (completion-metadata-get, completion--styles)
8546 (completion--cycle-threshold): New functions.
8547 (completion-try-completion, completion-all-completions):
8548 Add `metadata' argument to choose completion-styles.
8549 (completion--do-completion): Use metadata to choose cycling.
8550 (completion-all-sorted-completions): Use metadata for sorting.
8551 Remove :completion-cycle-penalty which is not needed any more.
8552 (completion--try-word-completion): Add `metadata' argument.
8553 (minibuffer-completion-help): Check metadata for annotation function
8554 and sorting.
8555 (completion-file-name-table): Return `category' metadata.
8556 (minibuffer-completing-file-name): Make obsolete.
8557 * simple.el (minibuffer-completing-symbol): Make obsolete.
8558 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8559 completion-try-completion.
8560
1257e755
SM
85612011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8564
3767e706
LL
85652011-05-30 Leo Liu <sdl.web@gmail.com>
8566
8567 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8568 (rcirc-print): Decode all incoming messages (bug#8744).
8569 (rcirc-decode-coding-system): Allow value nil for automatic coding
8570 system detection.
3767e706 8571
d1a5d56a
GM
85722011-06-01 Glenn Morris <rgm@gnu.org>
8573
8574 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8575
e8cbec34
CY
85762011-05-29 Chong Yidong <cyd@stupidchicken.com>
8577
8578 * image.el (image-animate-max-time): Allow nil and t values.
8579 Default to nil.
8580 (create-animated-image): Doc fix.
8581 (image-animate-start): Remove second arg; just use
8582 image-animate-max-time.
8583 (image-animate-timeout): Doc fix. Args changed.
8584
8585 * image-mode.el (image-toggle-display-image): Ensure that the
8586 image spec passed to the animate timer is the same object as in
58179cce 8587 the buffer's display property (Bug#6981).
e8cbec34
CY
8588 (image-transform-properties): Doc fix.
8589
8590 * image.el (image-animate-max-time): Default to nil.
8591
159daf87
MR
85922011-05-29 Martin Rudalics <rudalics@gmx.at>
8593
8594 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8595 entire buffer list (Bug#8184).
8596
d66c4c7c
CY
85972011-05-29 Chong Yidong <cyd@stupidchicken.com>
8598
8599 * image.el (imagemagick-types-inhibit)
8600 (imagemagick-register-types): Doc fix.
8601
80aec780
DD
86022011-05-29 Deniz Dogan <deniz@dogan.se>
8603
8604 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8605 default.
8606
1dd3c2d9
CY
86072011-05-29 Chong Yidong <cyd@stupidchicken.com>
8608
8609 * select.el: Don't perform clipboard-manager saving in hooks;
8610 leave the hooks empty.
8611
60e56523
LL
86122011-05-28 Leo Liu <sdl.web@gmail.com>
8613
8614 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8615 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8616 (occur-edit-mode): New major mode (Bug#8463).
8617 (occur-after-change-function): New function.
8618 (occur-engine): Give Occur tags a read-only property.
8619
2b1e1a22
KR
86202011-05-28 Kevin Ryde <user42@zip.com.au>
8621
8622 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8623
5d344e88
CY
86242011-05-28 Chong Yidong <cyd@stupidchicken.com>
8625
8e6ca83d
CY
8626 * bindings.el (help-echo): Make the initial non-indicator dash
8627 empty on graphical terminals (Bug#7295).
8628
5d344e88
CY
8629 * files.el (auto-mode-alist): Move config rule after the
8630 in-stripping one (Bug#8547).
8631
bfbbace7
CY
8632 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8633
fbeba6e2
CY
8634 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8635 setting (Bug#8740).
8636
60ed8c72
AA
86372011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8638
4ac619f0
AA
8639 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8640 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8641 (Bug#8539).
60ed8c72 8642
23db196e
CY
86432011-05-28 Chong Yidong <cyd@stupidchicken.com>
8644
8645 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8646
5012f24c
DK
86472011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8648
8649 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8650 (hs-hide-block-at-point, hs-find-block-beginning)
8651 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8652 (Bug#8279).
8653
6a639b16
GM
86542011-05-28 Glenn Morris <rgm@gnu.org>
8655
8656 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8657
d43eaf2c
CY
86582011-05-28 Chong Yidong <cyd@stupidchicken.com>
8659
5199bde1
CY
8660 * help-fns.el (describe-function-1): If the function is a derived
8661 major mode, print the parent mode.
8662
d43eaf2c
CY
8663 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8664 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8665
423428a8
SM
86662011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8667
0ff8e1ba 8668 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8669 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8670 * progmodes/etags.el (tags-completion-at-point-function):
8671 * info-look.el (info-lookup-completions-at-point): Mark as
8672 non-exclusive.
8673 (info-complete): Adjust accordingly.
8674
423428a8
SM
8675 * info-look.el: Convert to lexical-binding and completion-at-point.
8676 (info-lookup-completions-at-point): New function.
8677 (info-complete): Use it and completion-in-region.
8678
b74aa22b
DA
86792011-05-28 Drew Adams <drew.adams@oracle.com>
8680
8681 * isearch.el: Let M-e start with point at the first mismatched char.
8682 (isearch-fail-pos): New function.
8683 (isearch-edit-string): Use it.
8684
66e2e71d
DK
86852011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8686
8687 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8688
b1890b0f 86892011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8690
8691 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8692 traversal functions for avl-trees.
8693 (avl-tree--stack): New struct.
8694 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8695 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8696 (avl-tree--do-enter): Add optional `updatefun' arg.
8697 Change return value.
eb95d01d 8698 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8699 (avl-tree--do-delete): Add `test' and `nilflag' args.
8700 Change return value.
eb95d01d
TC
8701 (avl-tree-member): Add optional `nilflag'
8702 (avl-tree-member-p): New function.
8703 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8704 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8705 (avl-tree-stack-empty-p): New functions.
8706
3769ddcf
TC
8707 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8708 avl-tree--del-balance1 and make it work both ways.
8709 (avl-tree--del-balance2): Remove.
8710 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8711 make it work both ways.
8712 (avl-tree--enter-balance2): Remove.
8713 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8714 New macros.
8715 (avl-tree--mapc, avl-tree-map): Add direction argument.
8716
eb95d01d 87172011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8718
8719 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8720
a9f737ee
CY
87212011-05-27 Chong Yidong <cyd@stupidchicken.com>
8722
8723 * select.el: Support clipboard managers with built-in function
8724 x-clipboard-manager-save, via delete-frame-functions and
8725 kill-emacs-hook.
8726 (xselect-convert-to-targets): Add MULTIPLE target to list.
8727 (xselect-convert-to-save-targets): New function.
8728
c92a1e54
KH
87292011-05-27 Kenichi Handa <handa@m17n.org>
8730
8731 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8732 let-binding rfc2047-encode-encoded-words to nil.
8733
e145f188
GM
87342011-05-27 Glenn Morris <rgm@gnu.org>
8735
5ec8a862
GM
8736 * mail/emacsbug.el: Don't require url-util.
8737
4b29d9fb
GM
8738 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8739
e145f188
GM
8740 * files.el (set-auto-mode):
8741 Also respect mode: entries at the end of the file. (Bug#8586)
8742
7d15102b
GM
87432011-05-26 Glenn Morris <rgm@gnu.org>
8744
98f593b8
GM
8745 * files.el (hack-local-variables-prop-line, hack-local-variables):
8746 Downcase mode names, as seems to be traditional.
27b48e63 8747 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8748
7d15102b
GM
8749 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8750 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8751
51d5b4ec
JD
87522011-05-25 Julien Danjou <julien@danjou.info>
8753
8754 * textmodes/rst.el (rst-define-level-faces): Do not define face
8755 symbol if it is already defined.
8756
91513f63
VB
87572011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8758
8759 * play/5x5.el (5x5-new-game, 5x5-randomize):
8760 Reset 5x5-solver-output to nil when a new grid is cast.
8761 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8762 these debugging traces, as defmacro breaks the compiled code.
8763
4d90d6d0
DK
87642011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8765
8766 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8767
e1b90ef6
LL
87682011-05-24 Leo Liu <sdl.web@gmail.com>
8769
8770 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8771 (vc-bzr-sha1): Adapt.
8772
d8e4b68b 8773 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8774
8775 * bindings.el: Provide sha1 feature.
8776
db0406bb 87772011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8778
8779 * mail/sendmail.el: Require `rfc2047'.
8780 (mail-insert-from-field): Do not perform RFC2047 encoding.
8781 (mail-encode-header): New function.
8782 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8783 buffer to the return value of select-message-coding-system.
8784 Call mail-encode-header.
b8d747b9
KH
8785
8786 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8787
db0406bb 87882011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8789
4d90d6d0
DK
8790 * mail/supercite.el (sc-default-cite-frame):
8791 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8792
eb8a5e9b
GM
87932011-05-24 Glenn Morris <rgm@gnu.org>
8794
f8630703
GM
8795 * progmodes/python.el (brm-menu): Declare.
8796
8831bbed
GM
8797 * emulation/viper.el (viper-set-hooks): Declare.
8798
eb8a5e9b
GM
8799 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8800 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8801 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8802 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8803 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8804 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8805
a2a25d24
SM
88062011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 Add an :exit-function for completion-at-point.
8809
8810 * minibuffer.el (completion--done): New fun.
8811 (completion--do-completion): Use it. New arg `expect-exact'.
8812 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8813 since completion--do-completion does it for us now.
8814 (minibuffer-force-complete): Use completion--done and
8815 completion--replace. Handle sole-completion case with more care.
8816 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8817 (completion-extra-properties): New var.
8818 (completion-annotate-function): Make obsolete.
8819 (minibuffer-completion-help): Adjust accordingly.
8820 Use completion-list-insert-choice-function.
8821 (completion-at-point, completion-help-at-point):
8822 Bind completion-extra-properties.
8823 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8824 * simple.el (completion-list-insert-choice-function): New var.
8825 (completion-setup-function): Preserve it.
8826 (choose-completion): Pay attention to it, shuffle the code a bit.
8827 (choose-completion-string): New arg `insert-function'.
8828
8829 * textmodes/bibtex.el: Convert to lexical binding.
8830 (bibtex-mode-map): Use completion-at-point.
8831 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8832 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8833 (bibtex-complete): Define as obsolete alias.
8834 (bibtex-complete-internal): Remove.
8835 (bibtex-format-entry): Remove unused sub-group in regexp.
8836 * shell.el (shell--command-completion-data)
8837 (shell-environment-variable-completion):
8838 * pcomplete.el (pcomplete-completions-at-point):
8839 * comint.el (comint--complete-file-name-data): Use :exit-function
8840 instead of completion-table-with-terminator so it also works for
8841 choose-completion.
8842
e44e373d
SM
88432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8844
4f91a816
SM
8845 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8846
782fc819
SM
8847 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8848 (bug#8710).
8849
e44e373d
SM
8850 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8851
381987c3
KM
88522011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8853
8854 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8855 customization variable and implement: If non-nil, auto-fill will
8856 be inhibited while on topic's header line.
8857
b776bc70
VB
88582011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8859
8860 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8861 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8862 always have a solution in grid size = 5 cases.
8863 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8864 (5x5-solver-output, 5x5-log-buffer): New vars.
8865 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8866 Make these variables buffer local to achieve 5x5 multi-session-ness.
8867 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8868 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8869 (5x5-solve-suggest): New funs.
8870 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8871 randomize a grid so that we ensure that there is always a solution.
8872 (5x5-make-random-grid): Allow other movement than flipping.
8873
7de88b6e
KR
88742011-05-23 Kevin Ryde <user42@zip.com.au>
8875
8876 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8877 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8878 advice and passes PREDICATE.
8879
b1ef1257
SM
88802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8881
bbca48fe
SM
8882 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8883 byte-compile-lambda if it's actually a lambda.
8884
b1ef1257
SM
8885 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8886 Fix function quoting. Use backquote better.
8887
92a9cc65
YS
88882011-05-22 Yuanle Song <sylecn@gmail.com>
8889
8890 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8891 matching (Bug#8516).
8892
f0fb8059
JA
88932011-01-22 Jari Aalto <jari.aalto@cante.net>
8894
8895 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8896 different face (Bug#8178).
8897
d5b44c93
CY
88982011-05-22 Chong Yidong <cyd@stupidchicken.com>
8899
8900 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8901 defface (Bug#8144).
8902
79106a44
SM
89032011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8904
9c848d8a
SM
8905 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8906 funcall as well (bug#8712). Warn when performing those conversions.
8907 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8908
79106a44
SM
8909 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8910
88dfa756
GM
89112011-05-22 Glenn Morris <rgm@gnu.org>
8912
8913 * files.el (hack-local-variables-prop-line): Small simplifications.
8914 (hack-local-variables, hack-local-variables-prop-line):
8915 If MODE-ONLY, return the mode, rather than just `t'.
8916
b7cf2c79
SM
89172011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8920
3f1a8558
GM
89212011-05-21 Glenn Morris <rgm@gnu.org>
8922
7e4ccca3
GM
8923 * files.el (hack-local-variables-prop-line, hack-local-variables):
8924 If only interested in the mode, don't bother doing the other stuff.
8925
637d46ca
GM
8926 * image-mode.el (image-after-revert-hook):
8927 Redraw all frames on which the image is visible. (Bug#8567)
8928
973d955b
GM
8929 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8930
3f1a8558
GM
8931 * wid-edit.el (widget-checklist-match-inline):
8932 Fix 2011-04-19 change. (Bug#8649)
8933
96479927
SM
89342011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8935
1dcf791f
SM
8936 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8937 Also allow singlespace after single-letter capitals followed by a dot.
8938
96479927
SM
8939 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8940 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8941
35fd0881
N
89422011-05-20 Nix <nix@esperi.org.uk>
8943
8944 * files.el (basic-save-buffer-2):
8945 Fix handling of break-hardlink-on-save with non-existent files.
8946
82745640
DD
89472011-05-19 Deniz Dogan <deniz@dogan.se>
8948
8949 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8950 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8951
4a720484
GM
89522011-05-19 Glenn Morris <rgm@gnu.org>
8953
d1f21341
GM
8954 * progmodes/f90.el (f90-type-def-re):
8955 Handle "type, bind(c)". (Bug#8691)
8956
4a720484
GM
8957 * emacs-lisp/autoload.el (batch-update-autoloads):
8958 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8959
2fb0a219
MA
89602011-05-18 Michael Albinus <michael.albinus@gmx.de>
8961
8962 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8963 property for the correct connection in case of multihops.
8964
e565dd37
GM
89652011-05-18 Glenn Morris <rgm@gnu.org>
8966
c2571358 8967 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8968 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8969
e565dd37
GM
8970 Rationalize calendar handling of day and month abbrev-arrays.
8971 * calendar/calendar.el (calendar-customized-p): New function.
8972 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8973 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8974 Add :set function.
8975 (calendar-abbrev-length, calendar-day-abbrev-array)
8976 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8977 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8978 Elements may no longer be nil.
8979 (calendar-day-name, calendar-month-name):
8980 Update for changed nature of abbrev arrays.
8981 * calendar/diary-lib.el (diary-name-pattern):
8982 Update for changed nature of abbrev arrays.
8983 (diary-mark-entries-1): Update calendar-make-alist calls.
8984 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8985 * calendar/cal-html.el (cal-html-day-abbrev-array):
8986 Simply inherit from calendar-day-abbrev-array.
8987
1d99a745
SM
89882011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * progmodes/grep.el (grep-mode): Disable default
8991 compilation-directory-matcher setting (bug#8684).
8992
7c1d9aa0
MA
89932011-05-17 Michael Albinus <michael.albinus@gmx.de>
8994
8995 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8996 instead of "head" and "tail". There were problems with SunOS 5.9,
8997 and it performs better.
8998
3952e9d8
GM
89992011-05-17 Glenn Morris <rgm@gnu.org>
9000
2dd12e7f
GM
9001 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9002
e4157b9c
GM
9003 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9004 Replace obsolete function.
9005
8e249bbd
GM
9006 * shell.el (pcomplete-parse-arguments-function): Declare.
9007
3952e9d8
GM
9008 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9009 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9010 (appt-check): Doc fixes.
9011 (appt-disp-window-function, appt-delete-window-function):
9012 Remove needless special case in custom :type.
9013 (appt-display-count): Default to 0, not nil.
9014 (appt-check): Reset appt-display-count to 0, not nil.
9015
c71a0d48 90162011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9017
c71a0d48
GM
9018 * progmodes/python.el (python-font-lock-keywords):
9019 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9020
31d55be9
SM
90212011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9024
3bfacb2f
KR
90252011-05-16 Kevin Ryde <user42@zip.com.au>
9026
9027 * info-look.el (makefile-automake-mode): New setups, looking in
9028 automake manual, then makefile-mode.
9029 (makefile-mode): Remove automake manual, have it just in
9030 makefile-automake-mode since there's various things different or
9031 not relevant to plain make.
9032 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9033 believe a hypothetical automake-mode would go to makefile-mode,
9034 not the other way around.
9035
c8e83751
CY
90362011-05-15 Chong Yidong <cyd@stupidchicken.com>
9037
5e9e35cd
CY
9038 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9039 hunk-end tags (Bug#8672).
9040
c8e83751
CY
9041 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9042 vc-annotate-show-diff-revision-at-line (Bug#8671).
9043
50b23e5a
GM
90442011-05-14 Glenn Morris <rgm@gnu.org>
9045
7210a739
GM
9046 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9047 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9048 (change-log-font-lock-keywords): Also handle multiple author lines
9049 with leading tabs. (Bug#8644)
7210a739 9050
4691905a
GM
9051 * calendar/appt.el (appt-check): Rename some local variables.
9052 Some simplification/reordering.
9053
50b23e5a
GM
9054 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9055 (feedmail-sendmail-f-doesnt-sell-me-out)
9056 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9057 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9058 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9059 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9060 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9061 (feedmail-binmail-gnulinuxish-template):
9062 Rename from feedmail-binmail-linuxish-template.
9063 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9064 Use insert-buffer-substring.
9065
215cda7c
BC
90662011-05-14 Bill Carpenter <bill@carpenter.org>
9067
9068 * mail/feedmail.el (feedmail-patch-level): Increase.
9069 (feedmail-debug): New custom group.
9070 (feedmail-confirm-outgoing-timeout)
9071 (feedmail-sendmail-f-doesnt-sell-me-out)
9072 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9073 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9074 (feedmail-sender-line, feedmail-from-line)
9075 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9076 (feedmail-spray-this-address)
215cda7c
BC
9077 (feedmail-spray-address-fiddle-plex-list)
9078 (feedmail-queue-use-send-time-for-date)
9079 (feedmail-queue-use-send-time-for-message-id)
9080 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9081 (feedmail-buffer-eating-function):
9082 Doc fixes.
9083 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9084 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9085 (feedmail-message-action-scroll-down): New functions.
9086 (feedmail-queue-directory, feedmail-queue-draft-directory):
9087 Use expand-file-name.
9088 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9089 Remove C-v help entry.
9090 (feedmail-queue-buffer-file-name): New variable.
9091 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9092 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9093 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9094 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9095 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9096 (feedmail-message-action-toggle-spray)
9097 (feedmail-run-the-queue-no-prompts)
9098 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9099 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9100 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9101 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9102 (feedmail-envelope-deducer, feedmail-fiddle-from)
9103 (feedmail-fiddle-sender, feedmail-default-date-generator)
9104 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9105 (feedmail-fiddle-spray-address)
9106 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9107 (feedmail-fiddle-list-of-fiddle-plexes)
9108 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9109 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9110 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9111 Change default. Doc fix.
9112 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9113 (feedmail-binmail-linuxish-template): New constant.
9114 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9115 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9116 (feedmail-send-it): Add debug call.
9117 Use feedmail-queue-buffer-file-name, and
9118 feedmail-send-it-immediately-wrapper.
9119 (feedmail-message-action-send): Add debug call.
9120 Use feedmail-send-it-immediately-wrapper.
9121 (feedmail-queue-express-to-queue): Add debug call.
9122 Run feedmail-queue-express-hook.
9123 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9124 (feedmail-message-action-help-blat):
9125 Rename from feedmail-queue-send-edit-prompt-help-first.
9126 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9127 Check line-endings. Handle errors better.
9128 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9129 Doc fix. Add debug call.
9130 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9131 Use feedmail-queue-send-edit-prompt-inner.
9132 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9133 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9134 from feedmail-queue-send-edit-prompt.
9135 (feedmail-queue-send-edit-prompt-help)
9136 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9137 (feedmail-tidy-up-slug): Add debug call.
9138 Respect feedmail-queue-slug-suspect-regexp.
9139 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9140 (feedmail-dump-message-to-queue): Add debug call.
9141 Expand queue-directory.
9142 (feedmail-dump-message-to-queue): Change message slightly.
9143 Use feedmail-say-chatter.
9144 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9145 (feedmail-send-it-immediately-wrapper): New function.
9146 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9147 Insert empty string rather than newline. Handle full-frame case.
9148 Use catch/throw. Use feedmail-say-chatter.
9149 (feedmail-fiddle-from): Try mail-host-address.
9150 (feedmail-default-message-id-generator): Doc fix.
9151 Bind system-time-locale. Handle missing end.
9152 (feedmail-fiddle-x-mailer): Add debug call.
9153 Handle feedmail-x-mailer-line being nil.
9154 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9155 Add debug call. Use buffer-substring-no-properties.
9156 (feedmail-say-debug, feedmail-say-chatter): New functions.
9157 (feedmail-find-eoh): Give an explicit error.
9158
42c7e61e
UJ
91592011-05-13 Ulf Jasper <ulf.jasper@web.de>
9160
c2571358 9161 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9162 family from helvetica to sans.
c2571358 9163 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9164 etc/images/newsticker.
9165
c2571358 9166 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9167 family from helvetica to sans.
9168
9169 * net/newst-plainview.el (newsticker-new-item-face)
9170 (newsticker-old-item-face, newsticker-immortal-item-face)
9171 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9172 (newsticker-statistics-face): Change default family from
42c7e61e 9173 helvetica to sans.
c2571358 9174 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9175 etc/images/newsticker.
9176
9177 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9178 (newsticker--process-auto-mark-filter-match): : Tell user about
9179 auto-marking.
9180
8497a297
DV
91812011-05-13 Didier Verna <didier@xemacs.org>
9182
9183 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9184 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9185 TODO entries.
8497a297
DV
9186 (lisp-lambda-list-keyword-parameter-indentation)
9187 (lisp-lambda-list-keyword-parameter-alignment)
9188 (lisp-lambda-list-keyword-alignment): New customizable user options.
9189 (lisp-indent-defun-method): Improve docstring.
9190 (extended-loop-p): Fix comment.
9191 (lisp-indent-lambda-list-keywords-regexp): New variable.
9192 (lisp-indent-lambda-list): New function.
9193 (lisp-indent-259): Use it.
9194 (lisp-indent-defmethod): Support for more than one
9195 method qualifier and properly indent methods lambda-lists.
9196 (defgeneric): Provide a missing common-lisp-indent-function property.
9197
f278f87f
SM
91982011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9201 bounds for the empty string (bug#8667).
9202
5233edd7
GM
92032011-05-13 Glenn Morris <rgm@gnu.org>
9204
5237a44f
GM
9205 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9206
8340026c 9207 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9208 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9209
5233edd7 9210 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9211 (appt-time-msg-list): Doc fix.
a5464014 9212 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9213
92d10796
AS
92142011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9215
9216 * progmodes/ld-script.el (ld-script-keywords)
9217 (ld-script-builtins): Update keywords list.
9218
914a0ae1
SM
92192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9220
c89be45f
SM
9221 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9222
914a0ae1
SM
9223 * shell.el (shell-completion-vars): New function.
9224 (shell-mode):
9225 * simple.el (read-shell-command): Use it.
9226 (blink-matching-open): No need for " [...]" in minibuffer-message.
9227
98dc3df3
GM
92282011-05-12 Glenn Morris <rgm@gnu.org>
9229
9230 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9231 (appt-check): Simplify.
9232
d2fc7e3d 92332011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9234
4d61f28d 9235 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9236 literal "/dev/null".
9237
d2fc7e3d 92382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9239
9240 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9241 Fix typo.
9242
d2fc7e3d 92432011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9244
3f254caa
SM
9245 * progmodes/which-func.el (which-function):
9246 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9247 which might not be defined (Bug#8260).
9248
d45885f7
GM
92492011-05-12 Glenn Morris <rgm@gnu.org>
9250
9251 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9252 Let byte-compile-initial-macro-environment always take precedence.
9253
488086f4
SM
92542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * net/rcirc.el: Add support for SSL/TLS connections.
9257 (rcirc-server-alist): New field `encryption'.
9258 (rcirc): Check `encryption' settings.
9259 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9260 Merge make-local-variable into `set'.
9261 (rcirc--connection-open-p): New function.
9262 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9263 the process is not a network process (e.g. running gnutls-cli).
9264 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9265 Make rcirc-(en|de)code-coding-system local here.
9266 (rcirc-mode): Merge make-local-variable into `set'.
9267 (rcirc-parent-buffer): Make permanent buffer-local.
9268 (rcirc-multiline-minor-mode): Don't do it here.
9269 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9270 there's no server buffer.
9271
7d3b9d44
GM
92722011-05-11 Glenn Morris <rgm@gnu.org>
9273
f64049c6
GM
9274 * newcomment.el (comment-kill): Prefix "unused" local.
9275
93c9df73
GM
9276 * term/w32console.el (get-screen-color): Declare.
9277
7d3b9d44
GM
9278 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9279 Handle symbol elements of byte-compile-initial-macro-environment.
9280
9e2dd53f
LL
92812011-05-10 Leo Liu <sdl.web@gmail.com>
9282
488086f4
SM
9283 * bookmark.el (bookmark-bmenu-mode-map):
9284 Bind bookmark-bmenu-search to `/'.
8b340240 9285
9e2dd53f 9286 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9287 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9288 (Footnote-unicode): New function.
9289 (footnote-style-alist): Add unicode style to the list.
9290 (footnote-style): Doc fix.
9e2dd53f 9291
79b70037
GM
92922011-05-10 Jim Meyering <meyering@redhat.com>
9293
9294 Fix doubled-word typos.
9295 * international/quail.el (quail-insert-kbd-layout): and and -> and
9296 * kermit.el: and and -> and
9297 * net/ldap.el (ldap-search-internal): to to -> to
9298 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9299 * progmodes/js.el (js-mode): and and -> and
9300 * textmodes/artist.el (artist-move-to-xy): at at -> at
9301 (artist-draw-region-trim-line-endings): if if -> if
9302 And Safetyc -> Safety.
9303 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9304
b8f82dc1 93052011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9306 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9307
9308 * files.el (hack-one-local-variable-eval-safep):
9309 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9310
4f99f44b
GM
93112011-05-10 Glenn Morris <rgm@gnu.org>
9312
9313 * calendar/diary-lib.el (diary-list-entries-hook)
9314 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9315 (diary-nongregorian-marking-hook, diary-list-entries)
9316 (diary-include-other-diary-files, diary-mark-entries)
9317 (diary-mark-included-diary-files): Doc fixes.
9318
84f29e6b
JB
93192011-05-09 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * misc.el: Require tabulated-list.el during compilation.
9322
9bedd73a
CY
93232011-05-09 Chong Yidong <cyd@stupidchicken.com>
9324
488086f4
SM
9325 * progmodes/compile.el (compilation-start):
9326 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9327 (compilation-filter-hook): Doc fix.
9328
797c735c
DD
93292011-05-09 Deniz Dogan <deniz@dogan.se>
9330
9331 * wdired.el: Remove outdated installation comment. Fix usage
9332 comment.
9333
5f4b1dfe
JB
93342011-05-09 Juanma Barranquero <lekktu@gmail.com>
9335
9336 * misc.el: Implement new command `list-dynamic-libraries'.
9337 (list-dynamic-libraries--loaded-only-p): New variable.
9338 (list-dynamic-libraries--refresh): New function.
9339 (list-dynamic-libraries): New command.
9340
4c44026c
CY
93412011-05-09 Chong Yidong <cyd@stupidchicken.com>
9342
488086f4
SM
9343 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9344 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9345 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9346 higher priority to avoid clobbering by gnu.
9347
027f966d
CY
93482011-05-08 Chong Yidong <cyd@stupidchicken.com>
9349
9350 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9351 if the face has existing theme settings (Bug#8454).
9352
085f5d7d
CY
93532011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9354
488086f4
SM
9355 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9356 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9357
2a86a00c
RS
9358 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9359 special file names `.' and `..' (Bug#8259).
9360
d9c54a06
CY
93612011-05-08 Chong Yidong <cyd@stupidchicken.com>
9362
488086f4
SM
9363 * progmodes/grep.el (grep-mode-font-lock-keywords):
9364 Remove buffer-changing entries.
d9c54a06
CY
9365 (grep-filter): New function.
9366 (grep-mode): Add it to compilation-filter-hook.
9367
9368 * progmodes/compile.el (compilation-filter-hook)
9369 (compilation-filter-start): New defvars.
9370 (compilation-filter): Call compilation-filter-hook prior to
9371 updating the process mark.
9372
c4662635
SM
93732011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9374
9375 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9376
b0512a1d
EZ
93772011-05-07 Eli Zaretskii <eliz@gnu.org>
9378
605c9376
EZ
9379 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9380 mailclient-send-it even if window-system is nil. (Bug#8595)
9381
c4662635
SM
9382 * term/w32console.el (terminal-init-w32console):
9383 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9384 background-mode. (Bug#8597)
9385
d1dc2cc2
SM
93862011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9389 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9390 New functions.
9391 (defgeneric, eieio--defmethod): Use them.
9392 (eieio-defgeneric): Remove.
9393 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9394
915d1300
GM
93952011-05-07 Glenn Morris <rgm@gnu.org>
9396
a3961c3e
GM
9397 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9398 Use let rather than let*.
9399 (timeclock-find-discrep): Remove unused local.
9400
314347b9
GM
9401 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9402
915d1300
GM
9403 * calendar/appt.el (appt-time-msg-list): Doc fix.
9404
275b59b0
NF
94052011-05-06 Noah Friedman <friedman@splode.com>
9406
9407 * apropos.el (apropos-print-doc): Only use
9408 emacs-lisp-docstring-fill-column when it is bound to an integer,
9409 per that variable's documentation.
9410
6c19f744
SM
94112011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9414 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9415
60f884b2
GM
94162011-05-06 Glenn Morris <rgm@gnu.org>
9417
5006e634
GM
9418 * calendar/appt.el (appt-message-warning-time): Doc fix.
9419 (appt-warning-time-regexp): New option.
9420 (appt-make-list): Respect appt-message-warning-time.
9421
548d0a63
GM
9422 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9423 New options.
9424 (diary-add-to-list): Strip comments from the displayed string.
9425 (diary-mode): Set comment-start and comment-end.
9426
60f884b2
GM
9427 * vc/diff-mode.el (smerge-refine-subst): Declare.
9428 (diff-refine-hunk): Don't require smerge-mode when compiling.
9429
989681bb
JB
94302011-05-06 Juanma Barranquero <lekktu@gmail.com>
9431
9432 * simple.el (list-processes): Return nil as the docstring says.
9433
a6bc05e1
MA
94342011-05-05 Michael Albinus <michael.albinus@gmx.de>
9435
9436 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9437 to "".
9438 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9439 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9440 determining of binary transfer. (Bug#7383)
9441
23c22e9a
MA
94422011-05-05 Michael Albinus <michael.albinus@gmx.de>
9443
c4662635
SM
9444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9445 Fix port computation bug. (Bug#8618)
23c22e9a 9446
0bff894f
GM
94472011-05-05 Glenn Morris <rgm@gnu.org>
9448
b8296902
GM
9449 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9450
1f522ce8
GM
9451 * simple.el (shell-dynamic-complete-functions)
9452 (comint-dynamic-complete-functions): Declare.
9453
cf5bee67
GM
9454 * net/network-stream.el (gnutls-negotiate):
9455 * simple.el (tabulated-list-print): Fix declarations.
9456
9457 * progmodes/gud.el (syntax-symbol, syntax-point):
9458 Remove unnecessary and incorrect declarations.
9459
0bff894f
GM
9460 * emacs-lisp/check-declare.el (check-declare-scan):
9461 Handle byte-compile-initial-macro-environment in bytecomp.el
9462
9869b3ae
SM
94632011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9464
9465 Fix earlier half-done eieio-defmethod change (bug#8338).
9466 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9467 Streamline and change calling convention.
9468 (defmethod): Adjust accordingly and simplify.
9469 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9470 new eieio--defmethod.
9471 (slot-boundp): Minor CSE simplification.
9472
9c1d5ac5
MZ
94732011-05-05 Milan Zamazal <pdm@zamazal.org>
9474
9475 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9476 (glasses-make-readable): Use glasses-separate-capital-groups.
9477
455c834e
JB
94782011-05-05 Juanma Barranquero <lekktu@gmail.com>
9479
9480 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9481 (warning-series): Doc fix.
9482 (display-warning): Don't try to create the buffer if we just found it.
9483
9ed7c8cb
CY
94842011-05-04 Chong Yidong <cyd@stupidchicken.com>
9485
9486 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9487 (autoload-find-generated-file): New function.
9488 (generate-file-autoloads): Bind generated-autoload-file to
9489 buffer-file-name.
9869b3ae
SM
9490 (update-file-autoloads, update-directory-autoloads):
9491 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9492 output file (Bug#7989).
9493 (batch-update-autoloads): Doc fix.
9494
0898ca10
JB
94952011-05-04 Juanma Barranquero <lekktu@gmail.com>
9496
9497 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9498
31dfb76c
GM
94992011-05-04 Glenn Morris <rgm@gnu.org>
9500
f330b642
GM
9501 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9502 function, so it follows changes in calendar-date-style.
9503 (diary-fancy-date-matcher): New function.
9504 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9505 (diary-fancy-font-lock-fontify-region-function):
9506 Use diary-fancy-date-pattern as a function.
9507
31dfb76c
GM
9508 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9509 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9510
48e79d6a
TZ
95112011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9512
9513 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9514 instead of positional arguments. Allow :keylist and :crlfiles
9515 arguments.
9516 (open-gnutls-stream): Call it.
9517
9518 * net/network-stream.el (network-stream-open-starttls): Adjust to
9519 call `gnutls-negotiate' with :process and :hostname arguments.
9520
dd5a5ee0
SM
95212011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9522
ef80fc09
SM
9523 * minibuffer.el (completion--message): New function.
9524 (completion--do-completion, minibuffer-complete)
9525 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9526 (completion--do-completion): Don't ignore completion-auto-help when in
9527 icomplete-mode.
9528
dd5a5ee0
SM
9529 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9530 internal encoding (e.g. tibetan zero is not whitespace).
9531 (global-whitespace-mode): Prefer save-current-buffer.
9532 (whitespace-trailing-regexp): Remove useless save-match-data.
9533 (whitespace-empty-at-bob-regexp): Minor simplification.
9534
b7d22a83
CY
95352011-05-03 Chong Yidong <cyd@stupidchicken.com>
9536
9537 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9538
5192af46
AM
95392011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9540
9541 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9542 Use `concat' to create string for insertion.
5192af46 9543
5767d190
SM
95442011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9547 Avoid open-line which runs post-self-insert-hook.
9548 (bibtex-fill-entry): Remove unused `end' var.
9549
bf242939
AM
95502011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9551
5767d190
SM
9552 * textmodes/ispell.el (ispell-add-per-file-word-list):
9553 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9554
25666126
LL
95552011-05-03 Leo Liu <sdl.web@gmail.com>
9556
9557 * isearch.el (isearch-yank-pop): New command.
5767d190 9558 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9559 (isearch-forward): Mention it.
9560
52d3c2d0
SM
95612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9562
1bcace58
SM
9563 * simple.el (minibuffer-complete-shell-command): Remove.
9564 (minibuffer-local-shell-command-map): Use completion-at-point.
9565 (read-shell-command): Setup completion vars here instead.
9566 (read-expression-map): Bind TAB to symbol completion.
9567
52d3c2d0
SM
9568 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9569 error directly rather via storing it into `results'.
9570
35813471
LL
95712011-05-02 Leo Liu <sdl.web@gmail.com>
9572
9573 * vc/diff.el: Fix description.
9574
e793a940
LMI
95752011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9576
9577 * server.el (server-eval-at): New function.
9578
8de66e05
LMI
95792011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9580
9581 * net/network-stream.el (open-network-stream): Take a :nowait
9582 parameter and pass it on to `make-network-process'.
9583 (network-stream-open-plain): Ditto.
9584
dcb79f20
AS
95852011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9586
9587 * faces.el (face-spec-set-match-display): Don't match toolkit
9588 options on terminal frames.
9589
14a7fbd8
SM
95902011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9591
7eabc1be
SM
9592 * progmodes/pascal.el: Use lexical binding.
9593 (pascal-mode-map): Remove author preferences.
9594
14a7fbd8
SM
9595 * pcomplete.el (pcomplete-std-complete): Don't abuse
9596 completion-at-point.
9597
50f84510
JB
95982011-04-28 Juanma Barranquero <lekktu@gmail.com>
9599
6e087a44
JB
9600 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9601 removing code that has been dead since 1991 or so.
9602
50f84510
JB
9603 * startup.el (command-line): When warning about "_emacs", use a
9604 delayed warning to allow the user to filter it out.
9605
0ba690bd
DD
96062011-04-28 Deniz Dogan <deniz@dogan.se>
9607
9608 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9609 user has not joined.
9610
08abfaad
SM
96112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9614 aren't any completions at point.
9615
638f053a
JB
96162011-04-28 Juanma Barranquero <lekktu@gmail.com>
9617
9618 * subr.el (display-delayed-warnings): New function.
9619 (delayed-warnings-hook): New variable.
9620
8fff8daa
SM
96212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9622
08abfaad
SM
9623 * minibuffer.el (completion-at-point, completion-help-at-point):
9624 Don't presume that a given completion-at-point-function will always
9625 use the same calling convention.
9626
8fff8daa
SM
9627 * pcomplete.el (pcomplete-completions-at-point):
9628 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9629 pcomplete-seen is non-nil.
9630 (pcomplete-comint-setup): Also recognize the new comint/shell
9631 completion functions.
9632 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9633 pcomplete-seen is non-nil.
9634
841a1577 96352011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9636
841a1577 9637 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9638 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9639 the first character in the entry. This allows for code to add its
211ec907
UJ
9640 own uid to the entry.
9641 (icalendar--convert-float-to-ical): Add export of
9642 `diary-float'-entries save for those with the optional DAY
9643 argument.
9644
2a782793
DC
96452011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9646
9647 * subr.el (shell-quote-argument): Use alternate escaping strategy
9648 when we spot a variable reference in a string.
9649
0438ce91
DC
96502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9651
9652 * cus-start.el (all): Define customization for debug-on-event.
9653
841a1577 96542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9655
9656 * subr.el (shell-quote-argument): Escape correctly under Windows.
9657
d090ed6c
SM
96582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9661
bfd31217
MA
96622011-04-25 Michael Albinus <michael.albinus@gmx.de>
9663
d090ed6c
SM
9664 * net/tramp.el (tramp-process-actions): Add POS argument.
9665 Delete region between POS and (pos).
bfd31217 9666
d090ed6c
SM
9667 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9668 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9669 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9670
9671 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9672 position in `tramp-process-actions' call.
9673
9674 * net/trampver.el: Update release number.
9675
e92f3bd3
SM
96762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9677
850256b5
SM
9678 * custom.el (defcustom): Obey lexical-binding.
9679
e92f3bd3
SM
9680 Fix octave-inf completion problems reported by Alexander Klimov.
9681 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9682 Inherit from octave-mode-syntax-table.
9683 (inferior-octave-mode): Set info-lookup-mode.
9684 (inferior-octave-completion-at-point): New function.
9685 (inferior-octave-complete): Use it and completion-in-region.
9686 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9687 comint-filename-completion.
9688 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9689 symbol elements which shouldn't be word elements.
9690 (octave-font-lock-keywords, octave-beginning-of-defun)
9691 (octave-function-header-regexp): Adjust regexps accordingly.
9692 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9693
cd22b309
JB
96942011-04-25 Juanma Barranquero <lekktu@gmail.com>
9695
9696 * net/gnutls.el (gnutls-errorp): Declare before first use.
9697
8b492194
TZ
96982011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9699
9700 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9701 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9702 default trustfile exists before going to use it. Add missing
5a5fa834 9703 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9704 Reported by Claudio Bley <claudio.bley@gmail.com>.
9705 (open-gnutls-stream): Add usage example.
9706
9707 * net/network-stream.el (network-stream-open-starttls): Give host
9708 parameter to `gnutls-negotiate'.
9709 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9710 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9711
841a1577 97122011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9713
cd22b309
JB
9714 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9715 Use correct match group (bug#8438).
05842630 9716
3ba7869c
CY
97172011-04-24 Chong Yidong <cyd@stupidchicken.com>
9718
512e3ae1
CY
9719 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9720 (package-menu--generate): New arg specifying packages to show.
9721 (package-menu-refresh, package-menu-execute, list-packages):
9722 Callers changed.
9723 (package-show-package-list): New function, replacing deleted
9724 package--list-packages (renamed because it is non-internal).
9725
9726 * finder.el (finder-list-matches): Use package-show-package-list
9727 instead of deleted package--list-packages.
9728
e92f3bd3
SM
9729 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9730 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9731 (vc-annotate-mode-map): Bind it to RET.
9732
7031be6d
UR
97332011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9734
9735 * progmodes/etags.el (next-file): Don't use set-buffer to change
9736 buffers (Bug#8478).
9737
4ef177aa
CY
97382011-04-24 Chong Yidong <cyd@stupidchicken.com>
9739
c8d173eb
CY
9740 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9741
4ef177aa
CY
9742 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9743 (apropos-accumulator): Doc fix.
9744 (apropos-function, apropos-macro, apropos-command)
9745 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9746 (apropos-plist): Add face property.
9747 (apropos-symbols-internal): Fix indentation.
9748 (apropos-print): Simplify help, and recognize apropos-multi-type.
9749 (apropos-print-doc): Use button-type-get to extract the button's
9750 face property. Fill docstring (Bug#8352).
9751
4ffd0d6b 97522011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9753
9754 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9755
c6c32125 9756 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9757 (mpuz-mode-map): Use mapc.
c6c32125
JB
9758 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9759 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9760 Fix typos in docstrings.
9761
58d468b4
JB
9762 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9763 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9764
6470c3c6
JB
9765 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9766
4ffd0d6b 97672011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9768
9769 * minibuffer.el (completion--do-completion): Avoid the "Next char
9770 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9771
3ad8bad0
CY
9772 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9773 mouse-2 into unread-command-events, it is interpreted correctly.
9774
71d73c9c 9775 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9776 (image-toggle-display): Doc fix.
71d73c9c 9777
841a1577 97782011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9779
4ffd0d6b
GM
9780 * textmodes/page.el (what-page): Use line-number-at-pos to
9781 calculate line number (Bug#6825).
6e1dbaa9 9782
c2fb1b60
JB
97832011-04-22 Juanma Barranquero <lekktu@gmail.com>
9784
9785 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9786 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9787 Pass argument NO-DEFAULT to `find-tag-interactive'.
9788
e02f48d7
JB
97892011-04-22 Juanma Barranquero <lekktu@gmail.com>
9790
9791 Lexical-binding cleanup.
9792
9793 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9794 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9795 * progmodes/ada-prj.el (ada-prj-initialize-values)
9796 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9797 (ada-prj-show-value):
9798 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9799 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9800 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9801 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9802 * progmodes/bug-reference.el (bug-reference-push-button):
9803 * progmodes/fortran.el (fortran-line-length):
9804 * progmodes/glasses.el (glasses-change):
9805 * progmodes/octave-mod.el (octave-fill-paragraph):
9806 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9807 (python-pdbtrack-grub-for-buffer, python-sentinel):
9808 * progmodes/sql.el (sql-save-connection):
9809 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9810 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9811 Mark unused parameters.
9812
9813 * progmodes/compile.el (compilation--flush-directory-cache)
9814 (compilation--flush-parse, compile-internal): Mark unused parameters.
9815 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9816 (compilation-next-error-function): Remove unused variable `timestamp'.
9817
9818 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9819 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9820
9821 * progmodes/dcl-mode.el (dcl-end-of-command):
9822 Remove unused variable `start'.
9823 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9824 (dcl-option-value-basic, dcl-option-value-offset)
9825 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9826 Mark unused parameters.
9827 (dcl-save-local-variable): Remove unused variable `val'.
9828 (mode): Declare.
9829
9830 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9831 Mark unused parameters.
9832 (delphi-ignore-changes): Move before first use.
9833 (delphi-charset-token-at): Remove unused variable `start'.
9834 (delphi-else-start): Remove unused variable `if-count'.
9835 (delphi-comment-block-start, delphi-comment-block-end):
9836 Remove unused variable `kind'.
9837 (delphi-indent-line): Remove unused variable `new-point'.
9838
9839 * progmodes/ebrowse.el (ebrowse-files-list)
9840 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9841 Mark unused parameters. Don't quote `lambda'.
9842 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9843 Don't quote `lambda'.
9844 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9845 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9846 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9847 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9848 Use `ignore-errors'.
9849 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9850 (ebrowse-view/find-file-and-search-pattern)
9851 (ebrowse-view/find-member-declaration/definition):
9852 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9853 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9854 Rename parameter PREFIX-ARG to PREFIX.
9855 (ebrowse-tags-read-name): Remove unused variables `start' and
9856 `member-info'.
9857 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9858 to `tags-file'.
9859
9860 * progmodes/etags.el (local-find-tag-hook): Declare.
9861 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9862 Mark unused parameters.
9863
9864 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9865 (executable-interpret): Mark unused parameter.
9866
9867 * progmodes/flymake.el (flymake-process-sentinel)
9868 (flymake-after-change-function)
9869 (flymake-create-temp-with-folder-structure)
9870 (flymake-get-include-dirs-dot): Mark unused parameters.
9871 (flymake-safe-delete-directory): Remove unused variable `err'.
9872
9873 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9874 (speedbar-timer-fn, speedbar-line-text)
9875 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9876 (speedbar-center-buffer-smartly): Declare functions.
9877 (gdb-find-watch-expression): Remove unused variable `array'.
9878 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9879 (gdb-starting): Mark unused parameters.
9880 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9881 (gdb-table-string): Remove unused variable `res'.
9882 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9883 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9884 (gdb-display-buffer): Remove unused variable `cur-size'.
9885
9886 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9887 allow lexical-binding compilation.
9888 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9889 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9890 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9891 Mark unused parameters.
9892 (gud-gdb-marker-filter): Remove unused variable `match'.
9893 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9894 lambda expressions and funcall them, instead of using `fset'.
9895
9896 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9897 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9898
9899 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9900 variable `header-beg'; use `let'.
9901
9902 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9903 `restart', `last-sexp' and `at-do'.
9904
9905 * progmodes/js.el (js--debug): Mark unused parameter.
9906 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9907 (js--splice-into-items): Remove unused variable `item'.
9908 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9909
9910 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9911 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9912 (makefile-complete): Remove unused variable `try'.
9913 (makefile-fill-paragraph, makefile-match-function-end):
9914 Mark unused parameters.
9915
9916 * progmodes/octave-inf.el (inferior-octave-complete):
9917 Remove unused variable `proc'.
9918 (inferior-octave-output-digest): Mark unused parameter.
9919
9920 * progmodes/perl-mode.el (perl-calculate-indent):
9921 Remove unused variable `err'.
9922
9923 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9924 (prolog-indent-line): Mark unused parameters.
9925 (prolog-indent-line): Remove unused variable `beg'.
9926
9927 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9928 (reporter-dont-compact-list): Declare.
9929
9930 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9931 Remove unused variable `char'.
9932 (sh-debug): Mark unused parameter.
9933 (sh-get-indent-info): Remove unused variable `start'.
9934 (sh-calculate-indent): Remove unused variable `var'.
9935
9936 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9937 (simula-electric-keyword): Remove unused variable `null'.
9938 (simula-search-backward, simula-search-forward): Remove unused
9939 variables `begin' and `end'.
9940
9941 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9942 Remove unused variable `pos'.
9943 (vera-electric-tab, vera-comment-uncomment-region):
9944 Mark unused parameters.
9945 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9946
7ede3b65
CY
99472011-04-22 Chong Yidong <cyd@stupidchicken.com>
9948
9949 * emacs-lisp/package.el (package--builtins, package-alist)
9950 (package-load-descriptor, package-built-in-p, package-activate)
9951 (define-package, package-installed-p)
9952 (package-compute-transaction, package-buffer-info)
9953 (package--push): Doc fix. Distinguish more clearly between
9954 version strings and version lists.
9955
121656e9
JB
99562011-04-21 Juanma Barranquero <lekktu@gmail.com>
9957
9958 Lexical-binding cleanup.
9959
9960 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9961 (5x5-make-mutate-best):
9962 * play/fortune.el (fortune-in-buffer):
9963 * play/gomoku.el (gomoku-init-display):
9964 * play/solitaire.el (solitaire, solitaire-do-check):
9965 * play/tetris.el (tetris-default-update-speed-function):
9966 Mark unused parameters.
9967
9968 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9969 (bubbles--shift): Remove unused variable `char-org'.
9970 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9971 (bubbles--show-images): Remove unused variable `char'.
9972
9973 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9974 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9975 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9976 (decipher-analyze-buffer): Use ?\s.
9977 (decipher-make-checkpoint): Remove unused variable `mapping'.
9978
9979 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9980
9981 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9982 Remove unused variable `result'; use `let'.
9983
9984 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9985 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9986 (gametree-children-shown-p, gametree-compute-reduced-score):
9987 Use `ignore-errors'.
9988
9989 * play/handwrite.el (ps-lpr-switches): Declare.
9990 (handwrite): Remove unused variables `pmin' and `lastp'.
9991
9992 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9993
9994 * play/landmark.el (landmark-init-display)
9995 (landmark-update-naught-weights): Mark unused parameters.
9996 (landmark-y): Remove unused variable `noise'. Simplify.
9997 (landmark-human-plays): Remove unused variable `score'.
9998
9999 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10000 (mpuz-try-proposal): Remove unused variable `game'.
10001
10002 * play/zone.el (life-patterns): Declare.
10003
80f499c7
JB
100042011-04-20 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * vc/vc.el (ediff-vc-internal): Declare function.
10007
024ff170
SM
100082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10009
c0a193ea
SM
10010 * shell.el: Use lexical-binding and std completion UI.
10011 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10012 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10013 comint-preoutput-filter-functions rather than on
10014 comint-output-filter-functions.
10015 (shell-command-completion, shell--command-completion-data)
10016 (shell-filename-completion, shell-environment-variable-completion)
10017 (shell-c-a-p-replace-by-expanded-directory): New functions.
10018 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10019 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10020 (shell-dynamic-complete-environment-variable): Use them.
10021 (shell-dynamic-complete-as-environment-variable)
10022 (shell-dynamic-complete-as-command): Remove.
10023 (shell-match-partial-variable): Match past point.
10024 * comint.el: Clean up use of completion-at-point-functions.
10025 (comint-completion-at-point): New function.
10026 (comint-mode): Use it completion-at-point-functions.
10027 (comint-dynamic-complete): Make it obsolete.
10028 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10029 (comint-c-a-p-replace-by-expanded-history): New function.
10030 (comint-dynamic-complete-functions)
10031 (comint-replace-by-expanded-history): Use it.
10032 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10033 termination strings. Try harder to avoid second try-completion.
10034 (completion-in-region-mode-map): Disable bindings that don't work yet.
10035
2dbaa080
SM
10036 * comint.el: Use lexical-binding. Require CL.
10037 (comint-dynamic-complete-functions): Use comint-filename-completion.
10038 (comint-completion-addsuffix): Tweak custom type.
10039 (comint-filename-completion, comint--common-suffix)
10040 (comint--common-quoted-suffix, comint--table-subvert)
10041 (comint--complete-file-name-data): New functions.
10042 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10043 (comint-dynamic-list-filename-completions): Use them.
10044 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10045
2dbaa080
SM
10046 * minibuffer.el (completion-in-region-mode):
10047 Keep completion-in-region-mode--predicate global.
10048 (completion-in-region--postch):
10049 Assume completion-in-region-mode--predicate is not null.
10050
c79a6f38
SM
10051 * progmodes/flymake.el (flymake-start-syntax-check-process):
10052 Obey `dir'. Simplify.
10053
024ff170
SM
10054 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10055 we're in VC after all.
10056
1c6c854e
CS
100572011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10058
10059 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10060 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10061 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10062
bed7f140
SM
100632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10064
332e62ab
SM
10065 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10066 add sanity check.
10067
bed7f140
SM
10068 * obsolete/erc-hecomplete.el: Make obsolete.
10069 * obsolete/: Standardize obsolescence info in the header.
10070
f195c582
GM
100712011-04-20 Glenn Morris <rgm@gnu.org>
10072
10073 * calendar/solar.el (solar-horizontal-coordinates):
10074 Use the longitude argument rather than `calendar-longitude'.
10075 (solar-date-next-longitude): Remove unused locals.
10076
cb79b8c0
VJL
100772011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10078
10079 * whitespace.el: New version 13.2.1.
10080
100812011-04-20 felix <EmacsWiki> (tiny change)
10082
d8e4b68b 10083 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10084 switching between major modes on a file.
10085
602ea69d
SM
100862011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10089 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10090 multi-line comments as well.
10091
06b60517
JB
100922011-04-19 Juanma Barranquero <lekktu@gmail.com>
10093
10094 Lexical-binding cleanup.
10095
10096 * arc-mode.el (archive-mode-revert):
10097 * cmuscheme.el (scheme-interactively-start-process):
10098 * custom.el (custom-initialize-delay):
10099 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10100 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10101 * emacs-lock.el (emacs-lock-clear-sentinel):
10102 * ezimage.el (defezimage):
10103 * follow.el (follow-avoid-tail-recenter):
10104 * fringe.el (set-fringe-mode-1):
10105 * generic-x.el (bat-generic-mode-compile):
10106 * help-mode.el (help-info-variable, help-do-xref)
10107 (help-mode-revert-buffer):
10108 * help.el (view-emacs-todo):
10109 * iswitchb.el (iswitchb-completion-help):
10110 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10111 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10112 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10113 * locate.el (locate-update):
10114 * longlines.el (longlines-encode-region)
10115 (longlines-after-change-function):
10116 * outline.el (outline-isearch-open-invisible):
10117 * ps-def.el (declare-function, charset-dimension, char-width)
10118 (encode-char):
10119 * ps-mule.el (ps-mule-plot-string):
10120 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10121 (recentf-edit-list-select, recentf-edit-list-validate)
10122 (recentf-open-files-action):
10123 * rect.el (delete-whitespace-rectangle-line)
10124 (rectangle-number-line-callback):
10125 * register.el (window-configuration-to-register)
10126 (frame-configuration-to-register):
10127 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10128 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10129 (xselect-convert-to-targets, xselect-convert-to-delete)
10130 (xselect-convert-to-filename, xselect-convert-to-charpos)
10131 (xselect-convert-to-lineno, xselect-convert-to-colno)
10132 (xselect-convert-to-os, xselect-convert-to-host)
10133 (xselect-convert-to-user, xselect-convert-to-class)
10134 (xselect-convert-to-name, xselect-convert-to-integer)
10135 (xselect-convert-to-atom, xselect-convert-to-identity):
10136 * subr.el (declare, ignore, process-kill-without-query)
10137 (text-clone-maintain):
10138 * terminal.el (te-get-char, te-tic-sentinel):
10139 * tool-bar.el (tool-bar-make-keymap):
10140 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10141 * type-break.el (type-break-mode, type-break-noninteractive-query):
10142 * view.el (View-back-to-mark):
10143 * wid-browse.el (widget-browse-action, widget-browse-widget)
10144 (widget-browse-widgets, widget-browse-sexp):
10145 * widget.el (define-widget-keywords):
10146 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10147 Mark unused parameters.
10148
10149 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10150 (align-areas): Remove unused variable `look'.
10151 (align-region): Remove unused variables `real-end' and `pos-list'.
10152
10153 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10154
10155 * bindings.el (mode-line-modified, mode-line-remote):
10156 Mark unused parameters.
10157 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10158
10159 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10160 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10161
10162 * comint.el (comint-history-isearch-pop-state)
10163 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10164 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10165 (comint-substitute-in-file-name): Doc fix.
10166
10167 * completion.el (cmpl-statistics-block): Mark unused parameter.
10168 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10169 (save-completions-to-file, load-completions-from-file):
10170 Remove unused local variable `e'.
10171
10172 * composite.el (compose-chars): Remove unused variable `len'.
10173 (lgstring-insert-glyph): Remove unused variable `g'.
10174 (compose-glyph-string): Remove unused variables `ascent',
10175 `descent', `lbearing' and `rbearing'.
10176 (compose-glyph-string-relative): Remove unused variables
10177 `lbearing', `rbearing' and `wadjust'.
10178 (compose-gstring-for-graphic): Remove unused variables `header',
10179 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10180 (compose-gstring-for-terminal): Remove unused variables `header'
10181 and `nchars'. Use `let', not `let*'.
10182
10183 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10184 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10185 (Custom-buffer-done, custom-buffer-create-internal)
10186 (custom-browse-visibility-action, custom-browse-group-tag-action)
10187 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10188 (widget-magic-mouse-down-action, custom-toggle-parent)
10189 (custom-add-parent-links, custom-toggle-hide-variable)
10190 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10191 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10192 (custom-face-menu-create, custom-variable-menu-create, get)
10193 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10194 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10195 (customize-apropos): Remove unused variable `tests'.
10196 (custom-group-value-create): Remove unused variable `hidden-p'.
10197 (sort-fold-case): Declare.
10198
10199 * cus-theme.el (custom-reset-standard-faces-list)
10200 (custom-reset-standard-variables-list): Declare.
10201 (customize-create-theme, custom-theme-revert, custom-theme-write)
10202 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10203 Mark unused parameters.
10204
10205 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10206
10207 * delim-col.el (delimit-columns-max): Move defvar before first use.
10208
10209 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10210 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10211
10212 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10213 (auto-insert): Declare.
10214 (desktop-restore-file-buffer): Rename desktop-* parameters;
10215 mark unused ones.
10216 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10217 (desktop-buffer): Rename desktop-* parameters.
10218
10219 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10220 (dframe-reposition-frame-xemacs, dframe-help-echo)
10221 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10222 Mark unused parameters.
10223
10224 * dired-aux.el (backup-extract-version-start, overwrite-query)
10225 (overwrite-backup-query, rename-regexp-query)
10226 (rename-non-directory-query): Declare.
10227 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10228 (dired-add-entry): Remove unused variable `orig-file-name'.
10229 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10230 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10231 `dired-copy-preserve-time' directly.
10232 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10233 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10234
10235 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10236 (dired-virtual-revert, dired-make-relative-symlink):
10237 Mark unused parameters.
10238 (manual-program): Declare.
10239 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10240 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10241 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10242
10243 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10244
10245 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10246
10247 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10248 Declare.
10249
10250 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10251
10252 * electric.el (Electric-command-loop): Rename parameter
10253 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10254
10255 * expand.el (expand-in-literal): Remove unused variable `here'.
10256
10257 * facemenu.el (facemenu-add-new-color):
10258 Remove unused variable `docstring'.
10259
10260 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10261 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10262 (face-attr-construct): Mark unused parameter. Doc fix.
10263 (read-color): Remove unused variable `hex-string'.
10264
10265 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10266 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10267 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10268 (display-buffer-other-frame): Remove unused variable `old-window'.
10269 (kill-buffer-hook): Declare.
10270 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10271 Mark unused parameters.
10272 (after-find-file): Pass 1 to `auto-save-mode', not t.
10273
10274 * files-x.el (auto-insert): Declare.
10275 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10276
10277 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10278 variable `buf'. Mark unused parameter.
06b60517
JB
10279 (find-lisp-insert-directory): Mark unused parameter.
10280
10281 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10282 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10283 (format-common-tail): Remove, unused.
10284 (format-deannotate-region): Remove unused variable `loc'.
10285 (format-annotate-region): Remove unused variable `p'.
10286 (format-annotate-single-property-change): Remove unused variables
10287 `default' and `tail'.
10288
10289 * forms.el (read-file-filter): Declare.
10290 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10291
10292 * frame.el (frame-creation-function-alist): Mark unused parameter.
10293 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10294
10295 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10296 Remove unused parameters.
10297 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10298 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10299
10300 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10301 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10302 (hfy-prepare-tag-map): Mark unused parameters.
10303 (htmlfontify-buffer): Use `called-interactively-p'.
10304
10305 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10306 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10307 (ibuffer-do-occur): Mark unused parameters.
10308 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10309 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10310
10311 * ibuffer.el: Don't quote `lambda'.
10312 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10313 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10314 Mark unused parameters.
10315
10316 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10317 (ido-completing-read): Mark unused parameters.
10318 (ido-copy-current-word): Mark unused parameters;
10319 remove unused variable `name'.
10320 (ido-sort-merged-list): Remove unused parameter `dirs'.
10321
10322 * ielm.el (ielm-input-sender): Mark unused parameter.
10323 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10324 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10325 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10326 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10327 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10328
10329 * image-dired.el (image-dired-display-thumbs): Remove unused
10330 variables `curr-file' and `count'.
10331 (image-dired-remove-tag): Remove unused variable `start'.
10332 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10333 variable `curr-file'
10334 (image-dired-rotate-original): Remove unused variable `temp-file'.
10335 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10336 Remove unused variable `file'.
10337 (image-dired-gallery-generate): Remove unused variable `curr'.
10338 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10339
10340 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10341
10342 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10343
10344 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10345
10346 * isearch.el (minibuffer-history-symbol): Declare.
10347 (isearch-edit-string): Remove unused variable `err'.
10348 (isearch-message-prefix, isearch-message-suffix):
10349 Mark unused parameters.
10350
10351 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10352
10353 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10354
10355 * makesum.el (double-column): Remove unused variable `cnt'.
10356
10357 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10358 (ido-ignore-item-temp-list): Declare.
10359
10360 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10361 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10362 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10363 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10364 `mouse-col-delta'.
10365
10366 * mouse-sel.el (mouse-extend-internal):
10367 Remove unused variable `orig-window-frame'.
10368
10369 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10370 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10371 Move declarations before first use.
10372 (pcomplete-opt): Mark unused parameters; doc fix.
10373
10374 * proced.el (proced-revert): Mark unused parameter.
10375 (proced-send-signal): Remove unused variable `err'.
10376
10377 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10378 Rename parameter PREFIX-ARG to ARG.
10379 (ps-basic-plot-string, ps-basic-plot-whitespace):
10380 Mark unused parameters.
10381
10382 * replace.el (replace-count): Define.
10383 (occur-revert-function): Mark unused parameters.
10384 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10385 (isearch-case-fold-search, isearch-string): Declare.
10386 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10387 bind `case-fold-search'. Remove unused variables `beg' and `end',
10388 and simplify.
10389 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10390 COUNT and bind `replace-count'.
10391 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10392 to COUNT.
10393
10394 * savehist.el (print-readably, print-string-length): Declare.
10395
10396 * shadowfile.el (shadow-expand-cluster-in-file-name):
10397 Remove unused variable `cluster'.
10398 (shadow-copy-file): Remove unused variable `i'.
10399 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10400 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10401 (shadow-define-literal-group, shadow-define-regexp-group)
10402 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10403
10404 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10405 (shell): Use `called-interactively-p'.
10406 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10407
10408 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10409 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10410 (delete-backward-char): Remove unused variable `ocol'.
10411 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10412 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10413 (event-apply-hyper-modifier, event-apply-shift-modifier)
10414 (event-apply-control-modifier, event-apply-meta-modifier):
10415 Mark unused parameters.
10416 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10417 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10418
10419 * speedbar.el (speedbar-ignored-directory-expressions)
10420 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10421 (speedbar-find-file, speedbar-dir-follow)
10422 (speedbar-directory-buttons-follow, speedbar-tag-find)
10423 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10424 (speedbar-buffers-line-directory, speedbar-buffer-click):
10425 Mark unused parameters.
10426 (speedbar-tag-file): Remove unused variable `mode'.
10427 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10428
10429 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10430
10431 * talk.el (talk): Remove unused variable `display'.
10432
10433 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10434 (tar-write-region-annotate): Mark unused parameter.
10435
10436 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10437 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10438 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10439 warning by another.
10440
10441 * time-stamp.el (time-stamp-string-preprocess):
10442 Remove unused variable `require-padding'.
10443
10444 * tree-widget.el (widget-glyph-enable): Declare.
10445 (tree-widget-action): Mark unused parameter.
10446
10447 * w32-fns.el (x-get-selection): Mark unused parameter.
10448 (autoload-make-program, generated-autoload-file): Declare.
10449
10450 * wdired.el (wdired-revert): Mark unused parameters.
10451 (wdired-xcase-word): Remove unused variable `err'.
10452
10453 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10454 (whitespace-help-scroll): Remove unused variable `data-help'.
10455
10456 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10457 (widget-image-insert, widget-after-change, default)
10458 (widget-default-format-handler, widget-default-notify)
10459 (widget-default-prompt-value, widget-info-link-action)
10460 (widget-url-link-action, widget-function-link-action)
10461 (widget-variable-link-action, widget-file-link-action)
10462 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10463 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10464 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10465 (widget-insert-button-action, widget-delete-button-action, visibility)
10466 (widget-documentation-link-action, widget-documentation-string-action)
10467 (widget-const-prompt-value, widget-regexp-match, symbol)
10468 (widget-coding-system-prompt-value)
10469 (widget-key-sequence-value-to-external, sexp)
10470 (widget-sexp-value-to-internal, character, vector, cons)
10471 (widget-choice-prompt-value, widget-boolean-prompt-value)
10472 (widget-color--choose-action): Mark unused parameters.
10473 (widget-item-match-inline, widget-choice-match-inline)
10474 (widget-checklist-match, widget-checklist-match-inline)
10475 (widget-group-match): Rename parameter VALUES to VALS.
10476 (widget-field-value-set): Remove unused variable `size'.
10477 (widget-color-action): Remove unused variables `value' and `start'.
10478
10479 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10480 variable `dir'. Doc fix.
06b60517
JB
10481 (windmove-find-other-window): Don't pass it.
10482
10483 * window.el (count-windows): Mark unused parameter.
10484 (bw-adjust-window): Remove unused variable `err'.
10485
10486 * woman.el (woman-file-name): Remove unused variable `default'.
10487 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10488 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10489 (global-font-lock-mode): Declare.
10490 (woman-decode-region): Mark unused parameter.
10491 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10492
10493 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10494 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10495 (x-dnd-handle-moz-url): Remove unused variable `title'.
10496 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10497
10498 * xml.el (xml-parse-tag, xml-parse-attlist):
10499 Remove unused variable `pos'.
10500
bc4f7f3d
GM
105012011-04-19 Glenn Morris <rgm@gnu.org>
10502
10503 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10504 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10505 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10506 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10507 * calendar/cal-html.el (cal-html-insert-minical):
10508 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10509 (calendar-mark-date-pattern):
10510 Prefix "unused" locals.
10511
10512 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10513 optional argument `style'.
10514
10515 * calendar/appt.el (appt-make-list):
10516 * calendar/cal-china.el (calendar-chinese-date-string):
10517 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10518 (diary-hebrew-yahrzeit):
10519 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10520 * calendar/calendar.el (calendar-generate-window):
10521 * calendar/time-date.el (time-to-days):
10522 Remove unused local variables.
10523
16a43933
CY
105242011-04-18 Chong Yidong <cyd@stupidchicken.com>
10525
10526 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10527 glyphless-char-display table.
10528 (tabulated-list-glyphless-char-display): New var.
10529
7eed1860
SS
105302011-04-18 Sam Steingold <sds@gnu.org>
10531
10532 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10533 to acknowledgments.
10534
4d2d1ccd
GM
105352011-04-17 Glenn Morris <rgm@gnu.org>
10536
10537 * calendar/diary-lib.el (diary-sexp-entry):
10538 * calendar/holidays.el (holiday-sexp):
10539 Set debug-on-error rather than the removed stack-trace-on-error.
10540
239da61d
GM
105412011-04-16 Glenn Morris <rgm@gnu.org>
10542
10543 * progmodes/f90.el: Use lexical-binding.
10544 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10545
8b05752a
SM
105462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10547
daca8ba5
SM
10548 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10549 (mail-mode): Setup mailalias completion here instead.
10550 * mail/mailalias.el: Use lexical-binding.
10551 (pattern, mailalias-done): Declare dynamic.
10552 (mail-completion-at-point-function): New function, from mail-complete.
10553 (mail-complete): Use it.
10554 (mail-completion-expand): New function.
10555 (mail-get-names): Use it.
10556 (mail-directory, mail-directory-process, mail-directory-stream):
10557 Don't use `pattern' for lexically bound arg.
10558
6f542485
SM
10559 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10560
037e7c3f
SM
10561 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10562 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10563 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10564
8b05752a
SM
10565 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10566 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10567 (byte-interactive-p): Define them again, for use when inlining
10568 old code.
10569
49093f60
JB
105702011-04-15 Juanma Barranquero <lekktu@gmail.com>
10571
10572 * loadup.el: Use `string-to-number', not `string-to-int'.
10573
b5b8e7de
SM
105742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10577 gud-gdb-complete-command.
10578 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10579 (gud-gdb-completion-at-point): New function.
10580 (gud-gdb-completions): Remove.
10581
f42efeb5
MA
105822011-04-14 Michael Albinus <michael.albinus@gmx.de>
10583
49093f60
JB
10584 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10585 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10586 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10587 whether `executable-find' is bound.
f42efeb5
MA
10588
10589 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10590
e240cc21
SM
105912011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 * minibuffer.el (completion-in-region-mode-predicate)
10594 (completion-in-region-mode--predicate): New vars.
10595 (completion-in-region, completion-in-region--postch)
10596 (completion-in-region-mode): Use them.
10597 (completion--capf-wrapper): Also return the hook function.
10598 (completion-at-point, completion-help-at-point):
10599 Adjust and provide a predicate.
c2bd2ab0
SM
10600
10601 Preserve arg names for advice of subr and lexical functions (bug#8457).
10602 * help-fns.el (help-function-arglist): Consolidate the subr and
10603 new-byte-code cases. Add argument `preserve-names' to extract names
10604 from the docstring when needed.
10605 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10606 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10607 (ad-arglist): Use help-function-arglist's new arg.
10608 (ad-definition-type): Use cond.
10609
c183f693
JB
106102011-04-13 Juanma Barranquero <lekktu@gmail.com>
10611
06641a47
JB
10612 * autorevert.el (auto-revert-handler):
10613 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10614 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10615 Don't quote lambda.
10616
c183f693
JB
10617 * image-mode.el (image-transform-set-scale):
10618 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10619
1e3b6001
G
106202011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10621
10622 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10623 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10624 Upgrades via gnutls-cli are too slow to be done opportunistically.
10625
2d6af8dd
JB
106262011-04-12 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * dframe.el (dframe-current-frame): Remove spurious quote.
10629
c0749a51
GM
106302011-04-12 Glenn Morris <rgm@gnu.org>
10631
088d0d61
GM
10632 * calendar/cal-tex.el (cal-tex-end-document):
10633 Try to automatically use latin1 input if needed.
10634
c0749a51
GM
10635 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10636 Don't try to cons a mark onto an empty element.
10637
5c90fde0
LL
106382011-04-11 Leo Liu <sdl.web@gmail.com>
10639
10640 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10641 buffers.
10642 (ido-kill-buffer-at-head): Support killing virtual buffers.
10643
369e974d
CY
106442011-04-10 Chong Yidong <cyd@stupidchicken.com>
10645
10646 * minibuffer.el (completion-show-inline-help): New var.
10647 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10648 (minibuffer-force-complete, minibuffer-complete-word):
10649 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10650
10651 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10652 to avoid interference from inline help (Bug#5849).
10653
37f1c930
LL
106542011-04-10 Leo Liu <sdl.web@gmail.com>
10655
099c39a4
JB
10656 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10657 Fix typo.
37f1c930 10658
a32d4040
CY
106592011-04-09 Chong Yidong <cyd@stupidchicken.com>
10660
10661 * image-mode.el (image-toggle-display-image): Signal an error if
10662 not in Image mode.
10663 (image-transform-mode, image-transform-resize)
10664 (image-transform-set-rotation): Doc fix.
daca8ba5 10665 (image-transform-set-resize): Delete.
a32d4040
CY
10666 (image-transform-set-scale, image-transform-fit-to-height)
10667 (image-transform-fit-to-width): Handle image-toggle-display-image
10668 and image-transform-resize directly.
10669
099c39a4 106702011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10671
10672 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10673 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10674 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10675 (doc-view-mode-map): Add bindings for the new functions.
10676
099c39a4 106772011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10678
4d61f28d 10679 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10680 Fix typo in docstring.
10681
3726838a
EZ
106822011-04-08 Eli Zaretskii <eliz@gnu.org>
10683
04f33f1e
EZ
10684 * files.el (file-size-human-readable): Produce one digit after
10685 decimal, like "ls -lh" does.
10686
10687 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10688 the file size representation.
10689
3726838a
EZ
10690 * simple.el (list-processes): If async subprocesses are not
10691 available, error out with a clear error message.
10692
cbb59342
CY
106932011-04-08 Chong Yidong <cyd@stupidchicken.com>
10694
10695 * help.el (help-form-show): New function, to be called from C.
10696 Put help-form output in a buffer named differently than *Help*.
10697
e3971c44
EZ
106982011-04-08 Eli Zaretskii <eliz@gnu.org>
10699
10700 * files.el (file-size-human-readable): New function.
10701
10702 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10703 computing the representation inline. Don't require `cl'.
10704
12544bbe
GM
107052011-04-08 Glenn Morris <rgm@gnu.org>
10706
a1de6c6a
GM
10707 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10708
3c4671f4
GM
10709 * net/browse-url.el (browse-url-firefox):
10710 Test system-type, not system-configuration.
10711
b605679c
GM
10712 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10713 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10714 Use log-edit-empty-buffer-p. (Bug#7598)
10715
56442f0c
GM
10716 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10717 (rlogin-mode-map): Initialize in the defvar.
10718 (rlogin): Use ignore-errors.
10719
12544bbe
GM
10720 * replace.el (occur-mode-map): Some fixes for menu items.
10721
eb237b0f
AH
107222011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10723
10724 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10725
7d668f2c
CY
107262011-04-06 Chong Yidong <cyd@stupidchicken.com>
10727
e67a13ab
CY
10728 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10729 issuing unused warnings.
10730
10731 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10732 macro directly.
10733
7d668f2c
CY
10734 * simple.el: Lisp reimplement of list-processes. Based on an
10735 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10736 (process-menu-mode): New major mode.
10737 (list-processes--refresh, list-processes):
10738 (process-menu-visit-buffer): New functions.
10739
10740 * files.el (save-buffers-kill-emacs): Don't assume any return
10741 value of list-processes, which is undocumented anyway.
10742
a83ec3c9
CY
107432011-04-06 Chong Yidong <cyd@stupidchicken.com>
10744
10745 * emacs-lisp/tabulated-list.el: New file.
10746
e91a96fe
CY
10747 * emacs-lisp/package.el: Use Tabulated List mode.
10748 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10749 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10750 table format using Tabulated List mode variables.
10751 (package--push): New macro, replacing package-list-maybe-add.
10752 (package-menu--generate): Use package--push. Renamed from
10753 package--generate-package-list.
10754 (package-menu-refresh, list-packages): Use it.
daca8ba5 10755 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10756 Return insertion data instead of inserting it directly.
099c39a4
JB
10757 (package-menu-describe-package, package-menu-execute):
10758 Use tabulated-list-get-id.
e91a96fe
CY
10759 (package-menu-mark-delete, package-menu-mark-install)
10760 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10761 (package-menu-mark-obsolete-for-deletion):
10762 Use tabulated-list-put-tag.
e91a96fe
CY
10763 (package--list-packages, package-menu-revert)
10764 (package-menu-get-package, package-menu-get-version)
10765 (package-menu-sort-by-column): Functions deleted.
10766 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10767 (package-menu--status-predicate, package-menu--version-predicate)
10768 (package-menu--name-predicate)
10769 (package-menu--description-predicate): Handle arguments in the
10770 Tabulated List format.
10771 (package-list-packages-no-fetch): Call list-packages.
10772
3e214b50
JB
107732011-04-06 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10776 (after-find-file): Don't bind it.
3e214b50
JB
10777 (revert-buffer-in-progress-p): New variable.
10778 (revert-buffer): Bind it.
10779 Pass nil for `after-find-file-from-revert-buffer'.
10780
10781 * saveplace.el (save-place-find-file-hook): Use new variable
10782 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10783
3f0f1700
GM
107842011-04-06 Glenn Morris <rgm@gnu.org>
10785
c0274801
GM
10786 * Makefile.in (AUTOGEN_VCS): New variable.
10787 (autoloads): Use $AUTOGEN_VCS.
10788
3f0f1700
GM
10789 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10790 * calendar/calendar.el (calendar-mode-map):
10791 Check for toolkit scroll bars. (Bug#8305)
10792
41ea9e48
CY
107932011-04-05 Chong Yidong <cyd@stupidchicken.com>
10794
10795 * minibuffer.el (completion-in-region--postch)
10796 (completion-in-region-mode): Remove unnecessary messages.
10797
6194c800
JB
107982011-04-05 Juanma Barranquero <lekktu@gmail.com>
10799
33256f14
JB
10800 * font-lock.el (font-lock-refresh-defaults):
10801 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10802 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10803
6194c800
JB
10804 * info.el (Info-directory-list, Info-read-node-name-2)
10805 (Info-split-parameter-string): Doc fixes.
10806 (Info-virtual-nodes): Reflow docstring.
10807 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10808 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10809 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10810 Fix typos in docstrings.
10811 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10812 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10813 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10814 (Info-restore-desktop-buffer): Mark unused parameters.
10815 (Info-directory-find-file, Info-directory-find-node)
10816 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10817 (Info-virtual-index-find-node, Info-apropos-find-file)
10818 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10819 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10820 (Info-virtual-index): Remove unused local variable `nodename'.
10821
b87a8200 108222011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10823
b87a8200
DD
10824 * net/rcirc.el: Update my e-mail address.
10825 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10826
3b2ff876
CY
108272011-04-05 Chong Yidong <cyd@stupidchicken.com>
10828
10829 * startup.el (command-line): Save the cursor's theme-face
10830 directly, instead of using face-override-spec.
10831
10832 * custom.el (load-theme): Minor optimization in assigning faces.
10833
8d17e7ca
JB
108342011-04-04 Juanma Barranquero <lekktu@gmail.com>
10835
10836 * help-fns.el (describe-variable): Complete all variables having
10837 documentation, including keywords.
10838 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10839
2fbc1934
JB
108402011-04-04 Juanma Barranquero <lekktu@gmail.com>
10841
10842 Convert to lexical-binding.
10843
10844 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10845 (bs--get-marked-string, bs--get-modified-string)
10846 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10847 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10848 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10849
10850 * ehelp.el (electric-help-execute-extended)
10851 (electric-help-ctrl-x-prefix):
10852 * hexl.el (hexl-revert-buffer-function):
10853 * linum.el (linum-after-change, linum-after-scroll):
10854 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10855
10856 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10857
74f50695
DU
108582011-04-04 Daiki Ueno <ueno@unixuser.org>
10859
10860 * epa-dired.el:
10861 * epa-mail.el:
10862 * epa-hook.el:
10863 * epa-file.el:
10864 * epa.el:
10865 * epg.el: Use lexical binding.
10866
c11325f7
CY
108672011-04-03 Chong Yidong <cyd@stupidchicken.com>
10868
0d9e9a12
CY
10869 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10870
c11325f7 10871 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10872 dictionary case for flyspell-mark-duplications-exceptions.
10873 Use regexp matching for languages.
c11325f7
CY
10874 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10875 default dictionary (Bug#7926).
10876
da91b5f2
CY
108772011-04-02 Chong Yidong <cyd@stupidchicken.com>
10878
099c39a4
JB
10879 * emacs-lisp/package.el (package--with-work-buffer):
10880 Recognize https URLs.
da91b5f2 10881
099c39a4
JB
10882 * net/network-stream.el: Move from gnus/proto-stream.el.
10883 Change prefix to network-stream throughout.
da91b5f2
CY
10884 (open-protocol-stream): Merge into open-network-stream, leaving
10885 open-protocol-stream as an alias. Handle nil BUFFER args.
10886
10887 * subr.el (open-network-stream): Move to net/network-stream.el.
10888
afa8e9f6
GM
108892011-04-02 Glenn Morris <rgm@gnu.org>
10890
1d2e369d
GM
10891 * find-dired.el (find-exec-terminator): New option.
10892 (find-ls-option): Test for -ls support.
10893 (find-ls-subdir-switches): Test for -b in find-ls-option.
10894 (find-dired, find-grep-dired): Doc fixes.
10895 (find-dired): Use find-exec-terminator.
10896
8abb7da8 10897 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10898 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10899 (find-name-arg): Remove purecopy.
8abb7da8 10900
f3ca7378
GM
10901 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10902 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10903 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10904 accordingly. Don't add the null-device if not needed.
10905
afa8e9f6
GM
10906 * files.el (save-some-buffers): Doc fix.
10907
35eae264
EZ
109082011-04-02 Eli Zaretskii <eliz@gnu.org>
10909
10910 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10911
26b51db5
JB
109122011-04-01 Juanma Barranquero <lekktu@gmail.com>
10913
10914 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10915 Use `dolist' rather than `mapcar'.
10916
7200d79c
SM
109172011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10918
03408648 10919 Add lexical binding.
7200d79c 10920
03408648
SM
10921 * subr.el (apply-partially): Use new closures rather than CL.
10922 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10923 (dolist, dotimes): Use slightly different expansion for lexical code.
10924 (functionp): Move to C.
10925 (letrec): New macro.
10926 (with-wrapper-hook): Use it and apply-partially instead of CL.
10927 (eval-after-load): Preserve lexical-binding.
10928 (save-window-excursion, with-output-to-temp-buffer): Turn them
10929 into macros.
7200d79c 10930
03408648
SM
10931 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10932
10933 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10934 than the arglist.
10935 (help-add-fundoc-usage): Don't add `Not documented'.
10936 (help-function-arglist): Handle closures, subroutines, and new
10937 byte-code-functions.
10938 (help-make-usage): Remove leading underscores.
10939 (describe-function-1): Handle closures.
10940 (describe-variable): Use special-variable-p for completion.
10941
10942 * files.el (lexical-binding): Declare safe.
f488fb65 10943
03408648
SM
10944 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10945 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10946 (pcase): Add `let' pattern.
10947 Change memoization so it actually works.
10948 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10949 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10950 <let>: New case.
f488fb65 10951
03408648
SM
10952 * emacs-lisp/macroexp.el: Use lexical binding.
10953 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10954 Don't convert ' to #' without checking that it's indeed quoting
10955 a lambda.
10956
10957 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10958 Use eval-sexp-add-defvars.
03408648
SM
10959 (eval-sexp-add-defvars): New fun.
10960
10961 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10962
10963 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10964 Don't autoload.
10965 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10966 than the internal `byte-compile-lambda'.
10967 (defmethod): Don't hide code under quotes.
10968 (eieio-defmethod): New `code' argument.
10969
10970 * emacs-lisp/eieio-comp.el: Remove.
10971
10972 * emacs-lisp/edebug.el (edebug-eval-defun)
10973 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10974 (edebug-toggle): Avoid `eval'.
10975
10976 * emacs-lisp/disass.el (disassemble-internal): Handle new
10977 `closure' objects.
10978 (disassemble-1): Handle new byte codes.
10979
10980 * emacs-lisp/cl.el (pushnew): Silence warning.
10981
10982 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10983 (cl-byte-compile-throw): Remove.
10984 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10985
10986 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10987 closures.
10988
10989 * emacs-lisp/cconv.el: New file.
10990
10991 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10992 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10993 (byte-compile-initial-macro-environment):
10994 Handle declare-function here.
10995 (byte-compile--lexical-environment): New var.
10996 (byte-stack-ref, byte-stack-set, byte-discardN)
10997 (byte-discardN-preserve-tos): New lap codes.
10998 (byte-interactive-p): Don't use any more.
10999 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11000 New macros.
11001 (byte-compile-lapcode): Use them and handle new lap codes.
11002 (byte-compile-obsolete): Remove.
11003 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11004 (byte-compile-arglist-warn): Check late def of inlinable funs.
11005 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11006 since they should have been expanded by now.
11007 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11008 (byte-compile-from-buffer): Remove unused second arg.
11009 (byte-compile-preprocess): New function.
11010 (byte-compile-toplevel-file-form): New function to distinguish
11011 file-form calls from outside from file-form calls from hunk-handlers.
11012 (byte-compile-file-form): Simplify.
11013 (byte-compile-file-form-defsubst): Remove.
11014 (byte-compile-file-form-defmumble): Simplify now that
11015 byte-compile-lambda always returns a byte-code-function.
11016 (byte-compile): Preprocess.
11017 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11018 Remove, not used any more.
11019 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11020 (byte-compile-make-args-desc): New funs.
11021 (byte-compile-lambda): Handle lexical functions. Always return
11022 a byte-code-function.
11023 (byte-compile-reserved-constants): New var, to make up room for
11024 closed-over variables.
11025 (byte-compile-constants-vector): Obey it.
11026 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11027 (byte-compile-macroexpand-declare-function): New function.
11028 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11029 byte-code-functions.
11030 (byte-compile-form): Check obsolescence here.
11031 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11032 (byte-compile-variable-ref): Remove.
11033 (byte-compile-dynamic-variable-op): New fun.
11034 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11035 (byte-compile-variable-set): New funs.
11036 (byte-compile-discard): Add 2 args.
11037 (byte-compile-stack-ref, byte-compile-stack-set)
11038 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11039 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11040 macroexpand-all instead.
11041 (byte-compile-quote-form): Remove.
11042 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11043 (byte-compile-bind, byte-compile-unbind): New funs.
11044 (byte-compile-let): Handle let* and lexical binding.
11045 (byte-compile-let*): Remove.
11046 (byte-compile-catch, byte-compile-unwind-protect)
11047 (byte-compile-track-mouse, byte-compile-condition-case):
11048 Handle a new :fun-body form, used for lexical scoping.
11049 (byte-compile-save-window-excursion)
11050 (byte-compile-with-output-to-temp-buffer): Remove.
11051 (byte-compile-defun): Simplify.
11052 (byte-compile-stack-adjustment): New fun.
11053 (byte-compile-out): Use it.
11054 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11055
11056 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11057 handler any more.
11058
11059 * emacs-lisp/byte-opt.el: Use lexical binding.
11060 (byte-inline-lapcode): Remove (to bytecomp).
11061 (byte-compile-inline-expand): Pay attention to inlining to/from
11062 lexically bound code.
11063 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11064 any more.
11065 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11066 any more and don't call compiler-macros.
11067 (byte-compile-splice-in-already-compiled-code): Remove.
11068 (byte-code): Don't inline any more.
11069 (disassemble-offset): Receive `bytes' as argument rather than via
11070 dynamic scoping.
11071 (byte-compile-tag-number): Declare before first use.
11072 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11073 `return' even if make-spliceable.
11074 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11075 obsolete interactive-p.
11076 (byte-optimize-lapcode): Optimize new lap-codes.
11077 Don't trip up on new form of `byte-constant' lap code.
11078
11079 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11080
11081 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11082
11083 * custom.el (custom-initialize-default, custom-declare-variable):
11084 Use `defvar'.
11085
11086 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11087 New variables.
11088 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11089 (COMPILE_FIRST): Add macroexp and cconv.
11090 * makefile.w32-in: Mirror changes in Makefile.in.
11091
11092 * vc/cvs-status.el:
11093 * vc/diff-mode.el:
11094 * vc/log-edit.el:
11095 * vc/log-view.el:
11096 * vc/smerge-mode.el:
11097 * textmodes/bibtex-style.el:
11098 * textmodes/css.el:
11099 * startup.el:
11100 * uniquify.el:
da91b5f2
CY
11101 * minibuffer.el:
11102 * newcomment.el:
11103 * reveal.el:
11104 * server.el:
11105 * mpc.el:
11106 * emacs-lisp/smie.el:
11107 * doc-view.el:
11108 * dired.el:
03408648
SM
11109 * abbrev.el: Use lexical binding.
11110
0f0c1f27
EZ
111112011-04-01 Eli Zaretskii <eliz@gnu.org>
11112
11113 * info.el (info-display-manual): New function.
11114
c82b2579
SM
111152011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11118
221ddf68
TH
111192011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11120
11121 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11122 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11123
cba6e77e
GM
111242011-03-31 Glenn Morris <rgm@gnu.org>
11125
e040639f
GM
11126 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11127
cba6e77e
GM
11128 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11129
6d0f1c9e
CS
111302011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11131
11132 * progmodes/python.el (python-default-interpreter)
11133 (python-python-command-args, python-jython-command-args)
11134 (python-which-shell, python-which-args, python-which-bufname)
11135 (python-file-queue, python-comint-output-filter-function)
11136 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11137 variables and functions.
11138
3e2d70fd
SM
111392011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11140
11141 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11142 (completion-in-region-mode): New minor mode.
11143 (completion-in-region): Use it.
11144 (completion-in-region--data, completion-in-region-mode-map): New vars.
11145 (completion-in-region--postch): New function.
11146 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11147 New vars.
11148 (completion--capf-wrapper): New function.
11149 (completion-at-point): Use it to track well-behavedness of
11150 hook functions.
11151 (completion-help-at-point): New command.
11152
f3e4086c
JM
111532011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11154
11155 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11156 syntax class to search for whitespace on a single line
11157 (Message-ID: <4D938140.4030905@redhat.com>).
11158
eb7ffc14
LL
111592011-03-30 Leo Liu <sdl.web@gmail.com>
11160
11161 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11162 New commands.
11163 (edit-abbrevs-map): Bind them here.
11164 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11165
d806ab68
KM
111662011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11167
11168 * allout.el (allout-hide-by-annotation, allout-flag-region):
11169 Reduce possibility of overlay leakage by making them volatile.
11170
11171 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11172 hash is not shared between buffers. Mode initialization is
11173 responsible for giving it a useful starting value.
11174 (allout-item-span): Reduce possibility of overlay leakage by
11175 making them volatile.
11176 (allout-widgets-count-buttons-in-region): Add diagnostic function
11177 for tracking down button overlay leaks.
11178
ea622834
LL
111792011-03-29 Leo Liu <sdl.web@gmail.com>
11180
11181 * ido.el (ido-read-internal): Use the default history var
11182 minibuffer-history if no HISTORY is specified.
11183
b62f8267
G
111842011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11185
03408648
SM
11186 * net/imap.el (imap-shell-open, imap-process-connection-type):
11187 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11188 Kerberos, SSL, other subprocesses.
11189
947b6566
LL
111902011-03-28 Leo Liu <sdl.web@gmail.com>
11191
11192 * abbrev.el (abbrev-table-empty-p): New function.
11193 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11194 nonempty ones. (Bug#5937)
11195
5ffb62aa
JD
111962011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11197
11198 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11199
7a097943
LL
112002011-03-27 Leo Liu <sdl.web@gmail.com>
11201
11202 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11203 for foreground and background colors.
11204 (ansi-color-make-color-map): Adapt.
11205
c5b40130
LL
112062011-03-25 Leo Liu <sdl.web@gmail.com>
11207
1f48f7d2
LL
11208 * midnight.el (midnight-time-float): Remove. Note it calculates
11209 the microsecond component incorrectly and seconds-to-time does the
11210 same job.
625897ec 11211 Remove redundant (require 'timer).
1f48f7d2 11212
c5b40130
LL
11213 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11214 (ido-completions): Remove unused arguments. (Bug#8329)
11215
d86d2721
SM
112162011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * minibuffer.el (completion--flush-all-sorted-completions):
11219 Remove itself from hook.
11220 (completion-at-point): Let the functions perform the completion
11221 immediately and return nil or t.
11222 * comint.el (comint-dynamic-complete-functions): Now identical to
11223 completion-at-point-functions.
11224 (comint-dynamic-list-input-ring): Remove unused var `index'.
11225 (comint--match-partial-filename, comint--unquote&expand-filename):
11226 New funs, split from comint-match-partial-filename.
11227 (comint-dynamic-complete): Use completion-at-point.
11228 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11229
e8974c48
DA
112302011-03-24 Drew Adams <drew.adams@oracle.com>
11231
11232 * thingatpt.el: Support `defun'.
11233
def71b5e
LL
112342011-03-23 Leo Liu <sdl.web@gmail.com>
11235
cb5af48e
LL
11236 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11237
def71b5e
LL
11238 * help-mode.el (help-mode-finish): Tweak regexp.
11239
927c53e7
GM
112402011-03-23 Glenn Morris <rgm@gnu.org>
11241
18d05bed
GM
11242 * eshell/esh-opt.el (eshell-eval-using-options):
11243 Do not bind unused local variable `eshell-option-stub'.
11244
927c53e7
GM
11245 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11246
9d0da923
JB
112472011-03-22 Juanma Barranquero <lekktu@gmail.com>
11248
11249 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11250 keymap variable in `with-no-warnings' to avoid a warning when the
11251 keymap has been already `defconst'ed.
11252
4b978a67
LL
112532011-03-22 Leo Liu <sdl.web@gmail.com>
11254
11255 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11256 encode all chars in abbrevs; otherwise use emacs-mule or
11257 utf-8-emacs. (Bug#8308)
11258
5fd62452
JB
112592011-03-22 Juanma Barranquero <lekktu@gmail.com>
11260
0b1596c6
JB
11261 * simple.el (backward-delete-char-untabify):
11262 Avoid warning about using `delete-backward-char'.
11263
5fd62452
JB
11264 * image.el (image-type-file-name-regexps): Make it variable.
11265 `imagemagick-register-types' modifies it, and the user may want
11266 to add new extensions for known image types.
11267 (imagemagick-register-types): Throw error if not using ImageMagick.
11268
0b4e93f1
LL
112692011-03-22 Leo Liu <sdl.web@gmail.com>
11270
11271 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11272 located before rcirc-prompt-end-marker.
11273 (rcirc-complete): Error if point is not after rcirc prompt.
11274 Handle the case when table is nil.
9882e214 11275 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11276
fccee4ab
CY
112772011-03-22 Chong Yidong <cyd@stupidchicken.com>
11278
11279 * custom.el (custom--inhibit-theme-enable): Make it affect only
11280 custom-theme-set-variables and custom-theme-set-faces.
11281 (provide-theme): Ignore custom--inhibit-theme-enable.
11282 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11283 (custom-enabling-themes): Delete variable.
d86d2721
SM
11284 (enable-theme): Accept only loaded themes as arguments.
11285 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11286 (custom-enabled-themes): Forbid themes from setting this.
11287 Eliminate use of custom-enabling-themes.
11288 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11289
af896da6
LL
112902011-03-21 Leo Liu <sdl.web@gmail.com>
11291
11292 * ido.el (ido-read-internal): Add ido-selected to history instead
11293 of user input.
11294
78f64af0
SM
112952011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * subr.el (deferred-action-list, deferred-action-function):
11298 Mark obsolete.
11299
b16ac1ec
LL
113002011-03-21 Leo Liu <sdl.web@gmail.com>
11301
810f7698
LL
11302 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11303 change on 2011-02-13 (bug#8309).
11304
b16ac1ec
LL
11305 * minibuffer.el (read-file-name-function): Change default value.
11306 (read-file-name--defaults): Rename from read-file-name-defaults.
11307 (read-file-name-default): Rename from read-file-name.
11308 (read-file-name): Call read-file-name-function.
11309
4e05e67e
GM
113102011-03-21 Glenn Morris <rgm@gnu.org>
11311
11312 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11313 Doc fixes.
11314
4359915b
CY
113152011-03-21 Chong Yidong <cyd@stupidchicken.com>
11316
11317 * cus-theme.el: Add missing provide statement.
11318 (customize-create-theme): Extract theme value correctly.
11319 (custom-theme-visit-theme): Autoload.
11320 (customize-create-theme): Prompt before inserting default faces.
11321
1fe275ee
JB
113222011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11323
11324 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11325 units and musical notes.
11326
cd394be1 113272011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11328
11329 * ido.el (ido-read-internal): Use completing-read-default.
11330 (ido-completing-read): Fix compatibility with completing-read.
11331
7d476bde
CO
113322011-03-20 Christian Ohler <ohler@gnu.org>
11333
11334 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11335 (ert-delete-all-tests): Use `called-interactively-p' rather than
11336 `interactive-p'.
11337 (ert--make-xrefs-region): Respect END.
11338
fe0fb33e
CY
113392011-03-19 Chong Yidong <cyd@stupidchicken.com>
11340
ff854b0b
CY
11341 * dired-aux.el (dired-create-directory): Signal an error if the
11342 directory already exists (Bug#8246).
11343
fe0fb33e
CY
11344 * facemenu.el (list-colors-display): Call list-faces-display
11345 inside with-help-window.
11346 (list-colors-print): Use display property to align the final
11347 column, instead of checking window-width.
11348
576bce32
EZ
113492011-03-19 Eli Zaretskii <eliz@gnu.org>
11350
4d61f28d 11351 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11352 windows-nt systems.
11353 (emerge-protect-metachars): Quote correctly for ms-dos and
11354 windows-nt systems.
11355
89c41d68 113562011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11357
11358 * info.el (info-initialize): Replace all uses of `:' with
11359 path-separator for compatibility with non-Unix systems.
11360 Cache quoting of path-separator. (Bug#8258)
11361
b14e3e21 113622011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11363
11364 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11365 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11366 (mouse-avoidance-mode): Fix typos in docstrings.
11367
4525ce3e
CY
113682011-03-19 Chong Yidong <cyd@stupidchicken.com>
11369
11370 * startup.el (package-subdirectory-regexp): Move from package.el.
11371 Omit \\` and \\', and let callers add them.
11372
11373 * emacs-lisp/package.el (package-strip-version)
11374 (package-load-all-descriptors): Add \\` and \\' to
11375 package-subdirectory-regexp before using it.
11376 (package-untar-buffer): New arg DIR; ensure that file untars only
11377 into this expected directory. Remove superfluous delete-region.
11378 (package-unpack): Caller changed.
11379 (package-tar-file-info): Use package-subdirectory-regexp.
11380
a904a09a 113812011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11382
a904a09a
SM
11383 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11384 diff-mode-shared-map (bug#8284).
11385 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11386
113872011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11388
11389 * calendar/time-date.el (format-seconds): Use assoc instead of
11390 assoc-string, since assoc-string doesn't exist in XEmacs.
11391
171fc304
JB
113922011-03-17 Juanma Barranquero <lekktu@gmail.com>
11393
11394 * custom.el (custom-known-themes): Reflow docstring.
11395 (custom-theme-load-path): Fix typo in docstring.
11396 (load-theme): Fix typo in error message.
11397 (custom-available-themes, custom-variable-theme-value):
11398 Use `let', not `let*'.
11399
d71990a1
JB
114002011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11401
11402 * calc/README: Mention inclusion of musical notes.
11403
11404 * calc/calc-units.el (calc-lu-quant): Rename from
11405 `calc-logunits-quantity'.
11406 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11407 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11408 (calc-db): Rename from `calc-dblevel'.
11409 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11410 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11411 (calc-np): Rename from `calc-nplevel'.
11412 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11413 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11414 (calc-lu-plus): Rename from `calc-logunits-add'.
11415 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11416 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11417 (calc-lu-minus): Rename from `calc-logunits-sub'.
11418 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11419 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11420 (calc-lu-times): Rename from `calc-logunits-mul'.
11421 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11422 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11423 (calc-lu-divide): Rename from `calc-logunits-div'.
11424 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11425 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11426
11427 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11428 functions being autoloaded.
11429
11430 * calc/calc.el (calc-lu-power-reference): Rename from
11431 `calc-logunits-power-reference'.
11432 (calc-lu-field-reference): Rename from
11433 `calc-logunits-field-reference'.
11434
7a71b18d
GM
11435 * calc/calc-help.el (calc-l-prefix-help):
11436 Mention musical note functions.
d71990a1 11437
40c2934b
SM
114382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11439
11440 * minibuffer.el (completion-all-sorted-completions):
11441 Use :completion-cycle-penalty text property if present.
11442
b0911414
KM
114432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11444
11445 * allout.el (allout-yank-processing): Adjust for new rebulleting
11446 regime so bullet being yanked is used without prompting the user
11447 for a choice.
11448
8a05b668
JB
114492011-03-16 Juanma Barranquero <lekktu@gmail.com>
11450
11451 * startup.el (command-line): Warn the user that _emacs is deprecated.
11452
5ba5fb81
JB
114532011-03-16 Juanma Barranquero <lekktu@gmail.com>
11454
11455 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11456 (delphi-verbose, delphi-comment-face, delphi-string-face)
11457 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11458 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11459 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11460 (delphi-new-comment-line, delphi-font-lock-defaults)
11461 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11462 Fix typos in docstrings.
11463
2dab465b
KM
114642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11465
5ba5fb81 11466 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11467 Invert the roles of character and string values for INSTEAD, so a
11468 string is used for the more common case of a defaulting prompt.
11469
0adf5618
SM
114702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * progmodes/ruby-mode.el (ruby-backward-sexp):
11473 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11474 * play/gamegrid.el (gamegrid-make-face):
11475 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11476 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11477 * notifications.el (notifications-notify):
11478 * net/xesam.el (xesam-search-engines):
11479 * net/quickurl.el (quickurl-list-insert):
11480 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11481
d72700e5
CY
114822011-03-15 Chong Yidong <cyd@stupidchicken.com>
11483
11484 * startup.el (command-line): Update package subdirectory regexp.
11485
49c5410a
SM
114862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11487
c6eee9aa
SM
11488 * allout.el (allout-abbreviate-flattened-numbering)
11489 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11490
49c5410a
SM
11491 * subr.el (read-char-choice): Only show the cursor after the prompt,
11492 not after the answer.
11493
047b2bb9
KR
114942011-03-15 Kevin Ryde <user42@zip.com.au>
11495
11496 * help-fns.el (variable-at-point): Skip leading quotes, if any
11497 (bug#8253).
11498
0a57d256
SM
114992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11502 warning message.
11503
77c992bc
MA
115042011-03-14 Michael Albinus <michael.albinus@gmx.de>
11505
11506 * shell.el (shell): When called interactively, offer to change the
11507 shell file name on remote hosts.
11508
eebc475d
TZ
115092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11510
11511 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11512 integration for LDAP parameters. The host, base, user or binddn,
11513 and secret tokens can be specified in a netrc file, for instance.
11514 This is optional because an `auth-source' parameter must be
11515 specified in the search attributes.
11516
9d05d1ba
JB
115172011-03-13 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11520
09d9db2c
GM
115212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11524 into declaration. Remove redundant and harmful binding.
11525
115262011-03-12 Eli Zaretskii <eliz@gnu.org>
11527
11528 * files.el (file-ownership-preserved-p): Pass `integer' as an
11529 explicit 2nd argument to `file-attributes'. If the file's owner
11530 is the Administrators group on Windows, and the current user is
11531 Administrator, consider that a match.
11532
11533 * server.el (server-ensure-safe-dir): Consider server directory
11534 safe on MS-Windows if its owner is the Administrators group while
11535 the current Emacs user is Administrator. Use `=' to compare
11536 numerical UIDs, since they could be integers or floats.
11537
219bd536
JB
115382011-03-12 Juanma Barranquero <lekktu@gmail.com>
11539
11540 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11541
f3afd36b
MA
115422011-03-12 Michael Albinus <michael.albinus@gmx.de>
11543
11544 Sync with Tramp 2.2.1.
11545
11546 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11547
11548 * net/trampver.el: Update release number.
11549
3aaaa6f1
SM
115502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11551
94642599
SM
11552 * progmodes/compile.el (compilation--previous-directory): Fix up
11553 various nil/dead-marker mismatches (bug#8014).
11554 (compilation-directory-properties, compilation-error-properties):
11555 Don't call it at a position past the one we're about to change.
11556
3aaaa6f1
SM
11557 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11558 Disable obsolescence warnings in the file that declares it.
11559
14239447
KM
115602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11561
099c39a4
JB
11562 * allout-widgets.el (allout-widgets-tally):
11563 Initialize allout-widgets-tally as a hash table rather than nil to
11564 prevent mode-line redisplay warnings. Also, clarify the module
11565 description and fix a comment typo.
14239447 11566
135e287c
JB
115672011-03-11 Juanma Barranquero <lekktu@gmail.com>
11568
11569 * help-fns.el (describe-variable): Don't complete keywords.
11570 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11571
ffbf300e
CY
115722011-03-10 Chong Yidong <cyd@stupidchicken.com>
11573
ba08b241
CY
11574 * emacs-lisp/package.el (package-version-join): Impose a standard
11575 string representation for pre/alpha/beta version lists.
11576 (package-unpack-single): Standardize the directory name by passing
11577 it through package-version-join.
11578 (package-strip-rcs-id): Accept any version string that does not
11579 signal an error in version-to-list.
ffbf300e 11580
f346fd6b
MA
115812011-03-10 Michael Albinus <michael.albinus@gmx.de>
11582
11583 * simple.el (delete-trailing-whitespace): Return nil for the
11584 benefit of `write-file-functions'.
11585
ccb55d27
GM
115862011-03-10 Glenn Morris <rgm@gnu.org>
11587
5ceaac0c
GM
11588 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11589
02da65ff
GM
11590 * vc/vc-git.el (vc-git-program): New option.
11591 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11592 (vc-git--call): Use it.
11593
b2f603cc
GM
11594 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11595
5772caab
GM
11596 * cus-edit.el (Custom-newline): If no button at point, look
11597 for a subgroup button at start-of-line. (Bug#2298)
11598
ccb55d27
GM
11599 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11600
ec6ecaed
JD
116012011-03-10 Julien Danjou <julien@danjou.info>
11602
11603 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11604 `cursor-type' is nil.
11605
9d5aa01d
JB
116062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11607
11608 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11609
b6a5875b
KM
116102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11611
7a71b18d 11612 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11613 preserves the existing header prefix, rebulleting it if necessary,
11614 rather than replacing it. This is necessary for proper operation
11615 of cooperative addons like allout-widgets.
1154d12e
JB
11616 (allout-make-topic-prefix, allout-rebullet-heading):
11617 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11618 value as alternate bullet to be used, instead of prompting the user
11619 for a bullet character.
b6a5875b 11620
ee545c35
MA
116212011-03-09 Michael Albinus <michael.albinus@gmx.de>
11622
d86d2721
SM
11623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11624 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11625 `tramp-default-port'.
11626
c47971d7
DD
116272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11628
11629 * net/rcirc.el (rcirc-handler-001): Remove useless
11630 with-rcirc-process-buffer.
11631 (rcirc-check-auth-status): Swap arguments to string-match.
11632
13522cb4
GM
116332011-03-09 Glenn Morris <rgm@gnu.org>
11634
0be6f4f1
GM
11635 * shell.el (shell-mode):
11636 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11637
13522cb4
GM
11638 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11639 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11640
515de2e3
CY
116412011-03-08 Chong Yidong <cyd@stupidchicken.com>
11642
11643 * emacs-lisp/package.el (package-refresh-contents)
11644 (package-menu-execute): Use condition-case-no-debug.
11645
b511b994
MA
116462011-03-08 Michael Albinus <michael.albinus@gmx.de>
11647
11648 * simple.el (shell-command-to-string): Use `process-file'.
11649
11650 * emacs-lisp/package.el (package-tar-file-info): Handle also
11651 remote files.
11652
d86d2721
SM
11653 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11654 Use `equal' for upload base check.
b511b994 11655
25bbfb31
AM
116562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11657
11658 * textmodes/texinfo.el (texinfo-environments):
11659 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11660
be996521
GM
116612011-03-08 Glenn Morris <rgm@gnu.org>
11662
e9c8529f
GM
11663 * cus-start.el (cursor-in-non-selected-windows):
11664 Fix :set quoting oddness. (Bug#8192)
11665
be996521
GM
11666 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11667 in some setf expressions. (Bug#2159)
11668
2bb5649e
CY
116692011-03-08 Chong Yidong <cyd@stupidchicken.com>
11670
11671 * custom.el (custom-available-themes): Return themes in
11672 alphabetical order.
11673
33383987 11674See ChangeLog.15 for earlier changes.
e3d51b27
MR
11675
11676;; Local Variables:
11677;; coding: utf-8
e3d51b27
MR
11678;; End:
11679
acaf905b 11680 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11681
11682 This file is part of GNU Emacs.
11683
11684 GNU Emacs is free software: you can redistribute it and/or modify
11685 it under the terms of the GNU General Public License as published by
11686 the Free Software Foundation, either version 3 of the License, or
11687 (at your option) any later version.
11688
11689 GNU Emacs is distributed in the hope that it will be useful,
11690 but WITHOUT ANY WARRANTY; without even the implied warranty of
11691 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11692 GNU General Public License for more details.
11693
11694 You should have received a copy of the GNU General Public License
11695 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.