* lisp/files.el (move-file-to-trash): Files aren't regexps.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1acad97c
SM
12012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4
e298b5da
SS
52012-03-21 Sam Steingold <sds@gnu.org>
6
7 * progmodes/etags.el (tags-completion-at-point-function):
8 Avoid the error when point is inside the pattern.
9
91d82a70
JY
102012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11
12 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13 line (Bug#10855).
14
69188b79
CY
152012-03-21 Drew Adams <drew.adams@oracle.com>
16
17 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
18
99fc91fe
AK
192012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
20
21 * ido.el (ido-set-current-directory, ido-read-internal)
22 (ido-choose-completion-string, ido-completion-help): Handle nil
23 value of ido-completion-buffer (Bug#11008).
24
087bbb4c
SS
252012-03-21 Sam Steingold <sds@gnu.org>
26
27 * window.el (switch-to-prev-buffer): Do not switch to a visible
28 window previous buffer, just like with the frame previous buffers.
29
fb5b8aca
CY
302012-03-21 Chong Yidong <cyd@gnu.org>
31
32 * faces.el (make-face, make-empty-face, copy-face):
33 * face-remap.el (face-remap-add-relative, face-remap-set-base):
34 Doc fixes.
35
dc9924b8
SM
362012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * wid-edit.el (widget-complete-field): Remove (bug#11051).
39 (widget-complete): Remove broken use of it.
40
f0bcceb9
CY
412012-03-20 Chong Yidong <cyd@gnu.org>
42
dc9924b8
SM
43 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
44 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
45 characters.
46
ee52ebf3
TH
472012-03-20 Tassilo Horn <tassilo@member.fsf.org>
48
49 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
50 to draw rectangles, not squares. (Regression introduced by revno
51 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
52
4c5779ab
CY
532012-03-18 Chong Yidong <cyd@gnu.org>
54
55 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
56 it is not yet defined (for temacs).
57
15360934
LL
582012-03-18 Leo Liu <sdl.web@gmail.com>
59
dc9924b8 60 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 61
d9a8eb66
EZ
622012-03-17 Eli Zaretskii <eliz@gnu.org>
63
64 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
65 (ispell-choices-win-default-height, ispell-silently-savep)
66 (ispell-dictionary-alist, ispell-encoding8-command)
67 (ispell-check-version, ispell-aspell-find-dictionary)
68 (ispell-valid-dictionary-list, ispell-words-keyword)
69 (ispell-get-word, ispell-internal-change-dictionary)
70 (ispell-region, ispell-skip-region-list)
71 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
72 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
73 (ispell-message-text-end, ispell-message)
74 (ispell-buffer-local-parsing): Doc fix.
75
f02ff80d
J
762012-03-13 Jambunathan K <kjambunathan@gmail.com>
77
78 * htmlfontify.el: Add support for code block fontification for ODT
79 export (Bug #9914).
80 (hfy-optimisations): Define new option
81 `body-text-only'
82 (hfy-fontify-buffer): Honor above setting.
83 (hfy-begin-span, hfy-end-span): New routines factored out form
84 `hfy-fontify-buffer'.
85 (hfy-begin-span-handler, hfy-end-span-handler): New variables
86 that permit insertion of custom tags.
87 (hfy-fontify-buffer): Use above handlers.
88 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
89 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 90 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
91 over multiple runs. This is made possible by having the caller let
92 bind a special variable `hfy-user-sheet-assoc'.
93 (htmlfontify-string): New defun.
94 (hfy-compile-face-map): Make sure that the last char in the
95 buffer is correctly fontified.
96 (hfy-face-resolve-face): Whitespace only change.
97
9ac7a13f
EZ
982012-03-17 Eli Zaretskii <eliz@gnu.org>
99
100 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
101 message more clear.
102
e2b5bdd7
LL
1032012-03-16 Leo Liu <sdl.web@gmail.com>
104
105 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
106
2e492df3
AM
1072012-03-16 Alan Mackenzie <acm@muc.de>
108
109 Further optimise the handling of large macros.
110
111 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
112 limit to a call of `c-literal-limits'.
113 (c-determine-+ve-limit): New function.
dc9924b8
SM
114 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
115 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
116 In CASE 5B, restrict a search limit to 500.
117 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
118
119 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
120 Restrict macro bounds to +-500 from after-change's BEG END.
121
50e94f0c
LL
1222012-03-16 Leo Liu <sdl.web@gmail.com>
123
124 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
125
6f09f6ed
AH
1262012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
127
128 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 129 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 130
c7e73d51
GM
1312012-03-16 Glenn Morris <rgm@gnu.org>
132
da986230
GM
133 * view.el (view-buffer, view-buffer-other-window)
134 (view-buffer-other-frame): Doc fixes re special mode-class.
135
0835f01e
GM
136 * subr.el (eval-after-load): If named feature is provided not from
137 a file, run after-load forms. (Bug#10946)
138
c7e73d51
GM
139 * calendar/calendar.el (calendar-insert-at-column):
140 Handle non-unit-width characters a bit better. (Bug#10978)
141
3f2eafd1
CY
1422012-03-15 Chong Yidong <cyd@gnu.org>
143
144 * emacs-lisp/ring.el (ring-extend): New function.
145 (ring-insert+extend): Extend the ring correctly (Bug#11019).
146
147 * comint.el (comint-read-input-ring)
148 (comint-add-to-input-history): Grow comint-input-ring lazily.
149
103af3fe
SM
1502012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
151
663b1677
SM
152 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
153 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
154
103af3fe
SM
155 * imenu.el: Fix multiple inheritance breakage (bug#9199).
156 (imenu-add-to-menubar): Don't add a redundant index.
157 (imenu-update-menubar): Handle a dynamically composed keymap.
158
899cb7cb
KY
1592012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
160
161 * mail/sendmail.el (mail-encode-header):
162 Bind rfc2047-encode-encoded-words to nil.
163
3809f91d
GM
1642012-03-13 Glenn Morris <rgm@gnu.org>
165
166 * calendar/calendar.el (calendar-string-spread):
167 Handle non-unit-width characters a bit better. (Bug#10978)
168
9e345a01
LL
1692012-03-13 Leo Liu <sdl.web@gmail.com>
170
171 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
172 directory and file as argument (Bug#10822).
173
4a07df36
KS
1742012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
175
176 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
177 For dynamically generated code, follow $PC.
178 (gdb-disassembly-handler-custom): Handle no function name case.
179
4aaa9356
TL
1802012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
181
182 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
183 * emulation/ws-mode.el (ws-query-replace):
184 * sort.el (sort-regexp-fields):
185 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
186
225979da
SM
1872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * dabbrev.el: Fix cycle completion order (bug#10963).
190 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
191 (dabbrev-completion): Don't use an obarray; provide
192 a cycle-sort-function.
193
e2f1fdab
LL
1942012-03-12 Leo Liu <sdl.web@gmail.com>
195
dc9924b8 196 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
197 (kill-do-not-save-duplicates): Doc fix.
198
b19490ed
SM
1992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * dabbrev.el: Fix cycle completion (bug#10963).
202 Use lexical binding and wrap to 80 columns.
203 (dabbrev-completion): Delay computing the list of completions.
204
4b05d722
KH
2052012-03-12 Kenichi Handa <handa@m17n.org>
206
207 * international/quail.el (quail-insert-kbd-layout): Surround each
208 row by LRO and PDF instead of inserting many LRMs. Pad the left
209 and right of each non-spacing marks. Insert invisible space
210 between lower and upper characters to prevent composition.
211
dbbc2e69
SM
2122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * minibuffer.el (minibuffer-complete): Don't get confused when the
215 function is run twice via different commands (bug#10958).
216 (complete-with-action): Fix docstring.
217
292112ed
CY
2182012-03-12 Chong Yidong <cyd@gnu.org>
219
5d1ac394
CY
220 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
221 (nxml-completion-at-point-function): New function.
222 (nxml-mode): Use it.
223 (nxml-bind-meta-tab-to-complete-flag): Default to t.
224
292112ed
CY
225 * emacs-lisp/package.el (package-unpack, package-unpack-single):
226 Load generated autoloads file before byte compiling (Bug#10970).
227 (package--make-autoloads-and-compile): New helper fun.
228
4098f8f7
CS
2292012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
230
231 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
232
8f754691
MA
2332012-03-11 Michael Albinus <michael.albinus@gmx.de>
234
235 * autorevert.el (auto-revert-handler): Ensure, that
236 file-readable-p is applied only for local files or in
237 auto-revert-tail-mode.
238
e29ab36b
AS
2392012-03-11 Andreas Schwab <schwab@linux-m68k.org>
240
dbbc2e69
SM
241 * server.el (server-eval-at): Handle non-tcp connections.
242 Decode result string.
ad0bf5b6 243
e29ab36b
AS
244 * server.el (server-msg-size): New constant.
245 (server-reply-print): New function.
246 (server-eval-and-print): Use it.
247 (server-eval-at): Use server-quote-arg and server-unquote-arg.
248 Handle -print-nonl.
249
de5939ba
CS
2502012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
251
252 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
253 (Bug#10987).
254
0c93eabf
CY
2552012-03-11 Chong Yidong <cyd@gnu.org>
256
397a688f
CY
257 * simple.el (goto-line): Doc fix (Bug#9938).
258
2cc775f9
CY
259 * subr.el (save-window-excursion): Doc fix (Bug#9979).
260
0c93eabf
CY
261 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
262 when finished (Bug#10963).
263
c491fa41
MR
2642012-03-11 Martin Rudalics <rudalics@gmx.at>
265
266 * window.el (split-window-below): Fix bug in case where
267 split-window-keep-point is nil (Bug#10971).
268
300e8fa5
JL
2692012-03-11 Juri Linkov <juri@jurta.org>
270
271 * replace.el (replace-highlight): Set isearch-word to nil
272 unconditionally. (Bug#10887)
273
dbf6c5a1
EZ
2742012-03-10 Eli Zaretskii <eliz@gnu.org>
275
276 * net/mairix.el (mairix-replace-invalid-chars): Rename from
277 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 278 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
279 (mairix-widget-create-query): Add usage information about mairix
280 search forms: negating words, searching for substrings, etc.
281
b9e501de
JP
2822012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
283
284 * international/fontset.el (font-encoding-alist): Add an entry for
285 ksx1001 (Bug#5667).
286
92795c91
RS
2872012-03-10 Richard Stallman <rms@gnu.org>
288
1694e6c1
RS
289 * mail/sendmail.el (mail-encode-header):
290 Set rfc2047-encode-encoded-words.
291
607e8555
RS
292 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
293
de3bc99a
RS
294 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
295 view buffer means not swapped.
296 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
297 (rmail-write-region-annotate): Error if real text has disappeared.
298
92795c91
RS
299 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
300
699bd04e
CY
3012012-03-10 Chong Yidong <cyd@gnu.org>
302
303 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
304 * emulation/cua-base.el (cua--init-keymaps):
305 Add delete-forward-char to remappings (Bug#9666).
699bd04e 306
570a1714
MR
3072012-03-10 Martin Rudalics <rudalics@gmx.at>
308
dbbc2e69
SM
309 * speedbar.el (speedbar-unhighlight-one-tag-line):
310 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 311
82dcf4e4
CY
3122012-03-10 Chong Yidong <cyd@gnu.org>
313
7a2c7ca7
CY
314 * minibuffer.el (completion-in-region, completion-help-at-point):
315 Give the completion field overlay a high priority (Bug#6830).
316
82dcf4e4
CY
317 * dired.el (dired-goto-file): Recognize absolute file name
318 listings (Bug#7126).
319 (dired-goto-file-1): New helper function.
320 (dired-toggle-read-only): Inhibit warnings.
321
052e28ac
MA
3222012-03-09 Michael Albinus <michael.albinus@gmx.de>
323
324 * net/dbus.el: (dbus-property-handler): Return empty array if
325 there are no properties.
326
95d5e396
LL
3272012-03-09 Leo Liu <sdl.web@gmail.com>
328
329 * savehist.el (savehist-printable): Stricter check for string
330 value (Bug#10937).
331
3f018d6d
EZ
3322012-03-09 Eli Zaretskii <eliz@gnu.org>
333
dbbc2e69
SM
334 * mail/smtpmail.el (smtpmail-send-it):
335 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
336 valid mbox format.
337
f7fd3d79
GM
3382012-03-09 Glenn Morris <rgm@gnu.org>
339
340 * files.el (dir-locals-find-file):
341 Don't check result is regular, readable.
342 (dir-locals-read-from-file): Demote errors.
343
6ff6e72f
EZ
3442012-03-08 Eli Zaretskii <eliz@gnu.org>
345
dbbc2e69
SM
346 * international/quail.el (quail-insert-kbd-layout):
347 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
348 layout cell, to prevent their reordering by bidi display engine.
349 For details, see the discussion in
350 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
351
9cec7834
AM
3522012-03-08 Alan Mackenzie <acm@muc.de>
353
354 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
355 the starting position; make it extend the marked region when
356 invoked repeatedly - all under appropriate circumstances.
357 Fixes bugs #5525, #10906.
358
9a40b8d4
GM
3592012-03-08 Glenn Morris <rgm@gnu.org>
360
361 * files.el (locate-dominating-file, dir-locals-find-file):
362 Undo 2012-03-06 change.
363
7a08ed35
EZ
3642012-03-07 Eli Zaretskii <eliz@gnu.org>
365
dbbc2e69
SM
366 * international/quail.el (quail-help):
367 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
368 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
369 for the reason.
370
5aca4f71 3712012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
372
373 Avoid superfluous registering of signals. (Bug#10807)
374
375 * notifications.el (notifications-on-action-object)
376 (notifications-on-close-object): New defvars.
377 (notifications-on-action-signal, notifications-on-closed-signal):
378 Unregister the signal if not needed any longer.
379 (notifications-notify): Register `notifications-action-signal' or
380 `notifications-closed-signal', if :on-action or :on-close has been
381 passed as argument.
382
78e8b10a
CY
3832012-03-07 Chong Yidong <cyd@gnu.org>
384
385 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
386 non-X platforms.
387
69481eb8
GM
3882012-03-06 Glenn Morris <rgm@gnu.org>
389
390 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
391 (x-disown-selection-internal, x-get-selection-internal):
392 Doc fix (add arglist signatures). (Bug#10783)
393
133b8e11
KS
3942012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
395
396 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
397 Handle breakpoints with no "type".
398
99a83064
GM
3992012-03-06 Glenn Morris <rgm@gnu.org>
400
401 * files.el (locate-dominating-file): Add optional predicate argument.
402 (dir-locals-find-file): Make use of above change.
403
17798e78
TTN
4042012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
405
406 * info.el (Info-insert-dir): Also try "dir.gz".
407
eb182446
GM
4082012-03-06 Glenn Morris <rgm@gnu.org>
409
8f2114ee
GM
410 * files.el (dir-locals-find-file):
411 Ignore non-readable or non-regular files. (Bug#10928)
412
eb182446
GM
413 * files.el (locate-dominating-file): Doc fix.
414
24679323
AS
4152012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
416
417 * calendar/calendar.el (calendar-set-mode-line):
418 `getenv' returns a string. (Bug#10951)
419
01d972a9
LL
4202012-03-05 Leo Liu <sdl.web@gmail.com>
421
109aa8a9
LL
422 * simple.el (backward-delete-char-untabify): Constrain point to
423 field (Bug#10939).
424
01d972a9
LL
425 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
426
10607bea
CY
4272012-03-05 Chong Yidong <cyd@gnu.org>
428
429 * simple.el (count-words): If called from Lisp, return the word
430 count, for symmetry with `count-lines'. Arglist changed.
431 (count-words--message): Args changed. Consolidate counting code
432 from count-words and count-words-region.
433 (count-words-region): Caller changed.
434 (count-lines-region): Make it an obsolete alias.
435
5dd11cfe
TH
4362012-03-04 Tassilo Horn <tassilo@member.fsf.org>
437
438 * saveplace.el (save-place-to-alist)
439 (save-place-ignore-files-regexp): Allow value nil to disable this
440 feature.
441
c349f4e6
CY
4422012-03-04 Chong Yidong <cyd@gnu.org>
443
444 * faces.el (face-spec-reset-face): For the default face, reset the
445 attributes to default values (Bug#10748).
446
e627be4c
LMI
4472012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
448
449 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
450 previous patch: Check `message-send-mail-function', and not the
451 default function (bug#10897).
452
ebeabff4
MA
4532012-03-04 Michael Albinus <michael.albinus@gmx.de>
454
a41a6cf4
MA
455 * notifications.el (notifications-on-action-signal)
456 (notifications-on-closed-signal): Check for unique service name of
457 incoming event. Fix error in removing entry.
ebeabff4 458 (top): Register for signals with wildcard service name.
a41a6cf4 459 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 460
c1ca42b4
CY
4612012-03-04 Chong Yidong <cyd@gnu.org>
462
dc9924b8 463 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 464
ea16568d
GM
4652012-03-04 Glenn Morris <rgm@gnu.org>
466
467 * abbrev.el (copy-abbrev-table, abbrev-table-p)
468 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
469 (expand-abbrev, define-abbrev-table): Doc fixes.
470
fbae4637
LMI
4712012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
472
473 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
474 `message-default-send-mail-function' and not `send-mail-function'
475 when doing the prompting for `sendmail-query-once' before sending
476 in Message buffers (bug#10897).
477
a1e7225c
LMI
478 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
479 This is inconsistent with all the other stream functions, which leave
480 the setting up to the higher levels (if so wanted) (bug#10931).
481
56d093a9
AM
4822012-03-02 Alan Mackenzie <acm@muc.de>
483
484 Depessimize the handling of very large macros.
485
486 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
487 (c-macro-cache-syntactic): New variables to implement a one
488 element macro cache.
489 (c-invalidate-macro-cache): New function.
490 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
491 Adapt to use the new cache.
492 (c-state-safe-place): Use better the cache of safe positions.
493 (c-state-semi-nonlit-pos-cache)
494 (c-state-semi-nonlit-pos-cache-limit):
495 New variables for...
496 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
497 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
498 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
499 Use c-state-semi-safe-place.
56d093a9 500
dbbc2e69
SM
501 * progmodes/cc-langs.el (c-get-state-before-change-functions):
502 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 503
817e5c3d
MA
5042012-03-02 Michael Albinus <michael.albinus@gmx.de>
505
dbbc2e69
SM
506 * jka-compr.el (jka-compr-call-process):
507 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
508 not remote.
509
a032a702
MA
5102012-03-01 Michael Albinus <michael.albinus@gmx.de>
511
512 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
513 access of FILE2, if FILE1 does not exist.
514
99a54f21
MA
515 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
516 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
517
518 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
519 Add "PAGER=" to `process-environment'.
520
f6561e1f
MM
5212012-03-01 Michael R. Mauger <mmaug@yahoo.com>
522
523 * progmodes/sql.el: Bug fix
524 (sql-get-login-ext): Save login values in globals.
525 (sql-get-login): Use new version of `sql-get-login-ext'.
526 (sql-interactive-mode): Set global `sql-connection' to nil.
527 (sql-connect): Set global values for connection.
528 (sql-product-interactive): Save global values as buffer local.
529
2d44d9cc
LL
5302012-02-29 Leo Liu <sdl.web@gmail.com>
531
532 * abbrev.el (define-abbrevs): Reset sys to nil.
533
96b49301 5342012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
535
bf7f9bc5
JB
536 * files.el (file-equal-p): Rename from `files-equal-p'.
537 Return nil when one or both files don't exist.
96b49301 538 (file-subdir-of-p): Now only top directory must exists,
539 return nil if it doesn't.
bf7f9bc5
JB
540 (copy-directory): No need to test with `file-subdir-of-p' after
541 creating dir.
542 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
543 to `file-equal-p'.
96b49301 544
44e97401
GM
5452012-02-28 Glenn Morris <rgm@gnu.org>
546
547 * shell.el (shell-mode):
548 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
549 * play/landmark.el (landmark-font-lock-face-O):
550 * play/handwrite.el (handwrite):
551 * play/gomoku.el (gomoku-O):
552 * net/browse-url.el (browse-url-browser-display):
553 * international/mule.el (define-charset):
554 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
555 * filesets.el (filesets-find-file-delay):
556 * eshell/em-xtra.el (eshell-xtra):
557 * eshell/em-unix.el (eshell-grep):
558 * emulation/viper.el (viper-mode):
559 * emacs-lisp/regexp-opt.el (regexp-opt-group):
560 * emacs-lisp/easymenu.el (easy-menu-define):
561 * calendar/timeclock.el (timeclock-use-display-time):
562 * bs.el (bs-mode):
563 * bookmark.el (bookmark-save-flag):
564 Doc fix (standardize possessive apostrophe usage).
565
c98c6276
CY
5662012-02-27 Chong Yidong <cyd@gnu.org>
567
bf7f9bc5
JB
568 * emulation/viper-cmd.el (viper-intercept-ESC-key):
569 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 570
c98c6276
CY
571 * font-lock.el (font-lock-specified-p): Rename from
572 font-lock-spec-present. Callers changed.
573
9c62cd04 5742012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 575
bf7f9bc5
JB
576 * emacs-lisp/package.el (package-compute-transaction):
577 Handle holding a package version to t in package-load-list.
8ac9e529 578
530739c9
MA
5792012-02-26 Michael Albinus <michael.albinus@gmx.de>
580
581 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
582 (tramp-get-inode, tramp-get-device): Use cached values.
583
487915d7
AM
5842012-02-26 Alan Mackenzie <acm@muc.de>
585
586 Check there is a font-lock specification before doing initial
587 fontification.
588
589 * font-core.el (font-lock-mode): Move the conditional from
590 :after-hook to font-lock-initial-fontify.
591 (font-lock-default-function): Move the check for a specification
592 to font-lock-spec-present.
593
dc9924b8 594 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
595 (font-lock-spec-present): New function.
596
4fd96557
JB
5972012-02-26 Jim Blandy <jimb@red-bean.com>
598
599 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
600 (gdb-send): Apply it to the operand of the '-interpreter-exec
601 console' command, so that we can pass arguments with (say) quotes
602 in them. Store exact string sent in gdb-debug-log (Bug#10765).
603
9a4888c0
CY
6042012-02-26 Chong Yidong <cyd@gnu.org>
605
07498861
CY
606 * help-fns.el (describe-function-1): Clarify description of
607 remapping (Bug#10844).
608
9a4888c0
CY
609 * files.el (files-equal-p): Doc fix.
610 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
611 and quit the loop once a mismatch is found.
612
ea8fb88d
JB
6132012-02-25 Juanma Barranquero <lekktu@gmail.com>
614
615 * bs.el (bs--show-with-configuration): Don't throw an error
616 if the window cannot be split; otherwise, subsequent calls to
617 bs-show fail, restoring a stale window config. (Bug#10882)
618
525795c1
JD
6192012-02-25 Jan Djärv <jan.h.d@swipnet.se>
620
621 * term/ns-win.el (global-map): Bind ns-drag-file to
622 ns-find-file (Bug#5855, Bug#10050).
623
f008086f
AS
6242012-02-25 Andreas Schwab <schwab@linux-m68k.org>
625
626 * calendar/parse-time.el (parse-time-string): Allow extractor to
627 return nil.
628
a3fcfa99
MA
6292012-02-25 Michael Albinus <michael.albinus@gmx.de>
630
91027d08
JB
631 * net/tramp.el (tramp-file-name-for-operation):
632 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
633
634 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
635 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
636 Add COPY-CONTENTS argument.
a3fcfa99 637
67b0de11
CY
6382012-02-25 Chong Yidong <cyd@gnu.org>
639
640 Add custom groups for VC backends, for consistency with vc-bzr.
641
642 * vc/vc-arch.el (vc-arch):
643 * vc/vc-cvs.el (vc-cvs):
644 * vc/vc-git.el (vc-git):
645 * vc/vc-hg.el (vc-hg):
646 * vc/vc-mtn.el (vc-mtn):
647 * vc/vc-rcs.el (vc-rcs):
648 * vc/vc-sccs.el (vc-sccs):
649 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
650 All relevant defcustoms reassigned.
651
3c9dfce6
CY
6522012-02-25 Chong Yidong <cyd@gnu.org>
653
1339bf43
CY
654 * newcomment.el (comment-styles): Add autoload (Bug#10868).
655
3c9dfce6
CY
656 * term/x-win.el (x-initialize-window-system): Reduce default for
657 x-selection-timeout to 5 seconds (Bug#8869).
658
53a46cd0 6592012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 660
53a46cd0 661 * files.el (file-subdir-of-p): Fix typo.
14a8a663 662
25b2e303 6632012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
664
ec70a47d
GM
665 * files.el (files-equal-p, file-subdir-of-p): New functions.
666 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 667 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
668 * dired-aux.el (dired-copy-file-recursive): Same.
669 (dired-create-files): Modify destination when source is equal to
670 dest when copying files.
53a46cd0 671 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 672
914260cd
MA
6732012-02-24 Michael Albinus <michael.albinus@gmx.de>
674
675 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
676 (Bug#10874)
677
2cb228f7
AM
6782012-02-23 Alan Mackenzie <acm@muc.de>
679
680 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
681 parameter "after-hook:" to allow the expansion to run code after
682 the execution of the mode hooks.
683
684 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 685 from font-lock-mode-internal.
2cb228f7 686
91027d08 687 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
688 :after-hook.
689
8f0fde21
SM
6902012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
691
3e88618b
SM
692 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
693 (completion--cache-all-sorted-completions): New function.
694 (completion-all-sorted-completions): Use it.
695 (completion--do-completion, minibuffer-force-complete):
696 Use it to re-instate the flush hook.
697
8f0fde21
SM
698 * icomplete.el (icomplete-completions): Replace last fix with a better
699 one (bug#10850).
700
8e911f6f
DG
7012012-02-23 Dmitry Gutov <dgutov@yandex.ru>
702
703 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
704 when it might call us back infinitely (bug#10797).
705
49fe4321
GM
7062012-02-23 Glenn Morris <rgm@gnu.org>
707
708 * minibuffer.el (completion-category-overrides): Doc fix.
709
b291b572
SM
7102012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * minibuffer.el (completion-table-with-context): Fix inf-loop.
713 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
714
31a9ef2e
GM
7152012-02-23 Glenn Morris <rgm@gnu.org>
716
5e6e6794 717 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
718 (authors-obsolete-files-regexps, authors-ignored-files)
719 (authors-ambiguous-files, authors-renamed-files-alist):
720 Add more entries.
721
0bd1e074
JL
7222012-02-23 Juri Linkov <juri@jurta.org>
723
724 * isearch.el (isearch-occur): Sync interactive spec with occur's
725 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
726
b617673c
JL
727 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
728
19e9789e
JL
7292012-02-22 Juri Linkov <juri@jurta.org>
730
731 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
732 (ucs-insert): Doc fix. Check for hex digits in the string.
733 Don't display `nil' in the error message. (Bug#10857)
734
f41ce09d
AM
7352012-02-22 Alan Mackenzie <acm@muc.de>
736
7a71b18d 737 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 738
ac2eceee
GM
7392012-02-22 Glenn Morris <rgm@gnu.org>
740
741 * ffap.el (ffap-c-path):
742 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
743
abd1f678
CY
7442012-02-22 Chong Yidong <cyd@gnu.org>
745
746 * custom.el (load-theme): Doc fix.
747
f25aef2e
GM
7482012-02-22 Glenn Morris <rgm@gnu.org>
749
750 * dired-x.el (dired-guess-shell-alist-default):
751 Remove escape sequences from nroff output. (Bug#172)
752
5f8dc2ca
GM
7532012-02-21 Glenn Morris <rgm@gnu.org>
754
6ff86ec4
GM
755 * vc/emerge.el (emerge-defvar-local):
756 Set `permanent-local' property rather than unused `preserved'.
757
be3223a3 758 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
759 (picture-mode-map): Use it. (Bug#10860)
760 (picture-mode): Doc fix.
761
3fe58f4f
JB
7622012-02-21 Juanma Barranquero <lekktu@gmail.com>
763
764 * newcomment.el (uncomment-region-default): Remove unused binding.
765
f9a998c3
GM
7662012-02-21 Glenn Morris <rgm@gnu.org>
767
768 * textmodes/picture.el (picture-motion, picture-motion-reverse)
769 (picture-self-insert, picture-tab-chars): Doc fix.
770 (picture-mode-map): Fix C-a, C-e.
771
c6029348
GM
7722012-02-20 Glenn Morris <rgm@gnu.org>
773
774 * emacs-lisp/authors.el (authors-aliases): Add another entry.
775
ab1ce9d7
LL
7762012-02-20 Leo Liu <sdl.web@gmail.com>
777
778 * icomplete.el (icomplete-completions): Check FROM arg before
779 passing to substring (Bug#10850).
780
0fd40f89
CY
7812012-02-19 Chong Yidong <cyd@gnu.org>
782
783 * comint.el: Require ansi-color.
784 (comint-output-filter-functions): Add ansi-color-process-output.
785
786 * ansi-color.el: Don't set comint-output-filter-functions; it is
787 now in the initial value defined in comint.el.
788 (ansi-color-apply-face-function): New variable.
789 (ansi-color-apply-on-region): Use it.
790 (ansi-color-apply-overlay-face): New function.
791
792 * shell.el (shell): No need to require ansi-color.
793 (shell-mode): Use ansi-color-apply-face-function to highlight
794 color escapes using font-lock-face property (Bug#10835).
795
20af2394
CY
7962012-02-19 Chong Yidong <cyd@gnu.org>
797
798 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
799 mode-line formats (Bug#10839).
800
e23a3fbe
GM
8012012-02-18 Glenn Morris <rgm@gnu.org>
802
b474519e
GM
803 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
804
805 * mail/undigest.el (unforward-rmail-message): Doc fix.
806
e23a3fbe
GM
807 * saveplace.el (save-place-ignore-files-regexp): Add :version.
808
57939ff4
EZ
8092012-02-18 Eli Zaretskii <eliz@gnu.org>
810
811 * international/characters.el (script-list): Sync with the latest
812 Unicode Character Database.
813
0c23686e
AS
8142012-02-18 Andreas Schwab <schwab@linux-m68k.org>
815
816 * international/titdic-cnv.el: Remove duplicate coding tag.
817 * language/cham.el: Likewise.
818 * language/tai-viet.el: Likewise.
819
6818b449
GM
8202012-02-18 Glenn Morris <rgm@gnu.org>
821
822 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
823 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
824 (calendar-bahai-all-holidays-flag, calendar-other-dates):
825 * calendar/diary-lib.el (diary-abbreviated-year-flag):
826 * calendar/holidays.el (holiday-bahai-holidays)
827 (calendar-holidays, list-holidays):
828 Use utf-8 Bahá'í in doc-strings, menus, etc.
829
0311a3fc
TH
8302012-02-17 Tassilo Horn <tassilo@member.fsf.org>
831
832 * saveplace.el (save-place-ignore-files-regexp): New variable
833 allowing for excluding files from saving their location of point.
834 The default value matches the temporary commit message editing
835 files from Git, SVN, Bazaar, and Mercurial.
836 (save-place-to-alist): Use it.
837
eb864a71
LM
8382012-02-17 Lawrence Mitchell <wence@gmx.li>
839 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * newcomment.el (uncomment-region-default): Don't leave extra space
842 when an arg is provided (bug#8150).
843
ee0ce425
TZ
8442012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
845
eb864a71 846 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 847
95ddf442
GM
8482012-02-17 Glenn Morris <rgm@gnu.org>
849
850 * net/socks.el: Require network-stream. (Bug#10599)
851
48dd1e39 8522012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
853
854 * international/charprop.el:
855 * international/uni-name.el:
856 * international/uni-old-name.el:
857 * international/uni-comment.el: Regenerate.
858
d68cd087
GM
8592012-02-16 Glenn Morris <rgm@gnu.org>
860
861 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
862 Interactively in calendar buffer, give an error if not on a date.
863
13932042
GM
8642012-02-15 Glenn Morris <rgm@gnu.org>
865
866 * shell.el (shell-delimiter-argument-list):
867 Revert 2011-02-17 change. (Bug#8027)
868
c3a70e2b
CY
8692012-02-15 Chong Yidong <cyd@gnu.org>
870
60236b0d
CY
871 * minibuffer.el (completion-at-point-functions): Doc fix.
872
c3a70e2b
CY
873 * custom.el (defcustom): Doc fix; note use of defvar.
874
9f26dc24
GM
8752012-02-15 Glenn Morris <rgm@gnu.org>
876
877 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
878 Doc fixes.
879
6546b134
GM
8802012-02-14 Glenn Morris <rgm@gnu.org>
881
882 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
883
d29b2b4c
LI
8842012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
885
886 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
887 way the ports list is computed.
835bdcba
LI
888 (smtpmail-query-smtp-server): Prompt the user for a port number if
889 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 890
08dcdbc9
TZ
8912012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
892
893 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
894
2605051a
GM
8952012-02-13 Glenn Morris <rgm@gnu.org>
896
897 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
898
7ee99f32
TZ
8992012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
900
901 * net/gnutls.el (gnutls-trustfiles): New variable.
902 (gnutls-negotiate): Use it.
903
5f0af64f
LI
9042012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
905
906 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
907 does its stuff if Gnus is running.
908
c14fcc95
AM
9092012-02-13 Alan Mackenzie <acm@muc.de>
910
911 Fix a loop in c-set-fl-decl-start.
912
7a71b18d 913 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
914 c-backward-syntactic-ws actually moves backwards.
915
142b4d90
LL
9162012-02-13 Leo Liu <sdl.web@gmail.com>
917
918 * net/rcirc.el (rcirc-markup-attributes): Move point to the
919 beginning so that all \C-o chars are removed.
920
fa9958a6
TZ
9212012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
922
dc9924b8 923 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 924
0bc5886a
AM
9252012-02-12 Alan Mackenzie <acm@muc.de>
926
927 Fix infinite loop with long macros.
928 * cc-engine.el (c-state-safe-place): Handle macros properly.
929
d4bd55e7
CY
9302012-02-12 Chong Yidong <cyd@gnu.org>
931
932 * window.el (display-buffer): Doc fix (Bug#10785).
933
66f3fe22
GM
9342012-02-12 Glenn Morris <rgm@gnu.org>
935
bd7da63e
GM
936 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
937 (x-disown-selection-internal, x-get-selection-internal):
938 Sync docs with the xselect.c versions.
939
66f3fe22
GM
940 * allout-widgets.el: Add missing license notice.
941
3e0d2fa7
GM
9422012-02-11 Glenn Morris <rgm@gnu.org>
943
cfecdf09
GM
944 * select.el (x-get-selection-internal, x-own-selection-internal)
945 (x-disown-selection-internal):
946 * x-dnd.el (x-get-selection-internal): Update declarations.
947
6d216d7f
GM
948 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
949
2bed3f04
GM
950 * window.el (window-sides-slots):
951 * tool-bar.el (tool-bar-position):
952 * term/xterm.el (xterm-extra-capabilities):
953 * ses.el (ses-self-reference-early-detection):
954 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
955 (verilog-auto-wire-type)
956 (verilog-auto-delete-trailing-whitespace)
957 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
958 (verilog-auto-tieoff-declaration):
959 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
960 (sql-oracle-statement-starters, sql-oracle-scan-on):
961 * progmodes/prolog.el (prolog-align-comments-flag)
962 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
963 (prolog-left-indent-regexp, prolog-paren-indent-p)
964 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
965 (prolog-types, prolog-mode-specificators)
966 (prolog-determinism-specificators, prolog-directives)
967 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
968 (prolog-electric-dot-flag)
969 (prolog-electric-dot-full-predicate-template)
970 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
971 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
972 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
973 (prolog-program-switches, prolog-prompt-regexp)
974 (prolog-debug-on-string, prolog-debug-off-string)
975 (prolog-trace-on-string, prolog-trace-off-string)
976 (prolog-zip-on-string, prolog-zip-off-string)
977 (prolog-use-standard-consult-compile-method-flag)
978 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
979 (prolog-imenu-max-lines, prolog-info-predicate-index)
980 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
981 (prolog-char-quote-workaround):
982 * progmodes/cc-vars.el (c-defun-tactic):
983 * net/tramp.el (tramp-encoding-command-interactive)
984 (tramp-local-end-of-line):
985 * net/soap-client.el (soap-client):
986 * net/netrc.el (netrc-file):
987 * net/gnutls.el (gnutls):
988 * minibuffer.el (completion-category-overrides)
989 (completion-cycle-threshold)
990 (completion-pcm-complete-word-inserts-delimiters):
991 * man.el (Man-name-local-regexp):
992 * mail/feedmail.el (feedmail-display-full-frame):
993 * international/characters.el (glyphless-char-display-control):
994 * eshell/em-ls.el (eshell-ls-date-format):
995 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
996 (lisp-lambda-list-keyword-parameter-indentation)
997 (lisp-lambda-list-keyword-parameter-alignment):
998 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
999 * dired-x.el (dired-omit-verbose):
1000 * cus-theme.el (custom-theme-allow-multiple-selections):
1001 * calc/calc.el (calc-highlight-selections-with-faces)
1002 (calc-lu-field-reference, calc-lu-power-reference)
1003 (calc-note-threshold):
1004 * battery.el (battery-mode-line-limit):
1005 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1006 (archive-7z-update):
1007 * allout.el (allout-prefixed-keybindings)
1008 (allout-unprefixed-keybindings)
1009 (allout-inhibit-auto-fill-on-headline)
1010 (allout-flattened-numbering-abbreviation):
1011 * allout-widgets.el (allout-widgets-auto-activation)
1012 (allout-widgets-icons-dark-subdir)
1013 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1014 (allout-widgets-theme-dark-background)
1015 (allout-widgets-theme-light-background)
1016 (allout-widgets-item-image-properties-emacs)
1017 (allout-widgets-item-image-properties-xemacs)
1018 (allout-widgets-run-unit-tests-on-load)
1019 (allout-widgets-time-decoration-activity)
1020 (allout-widgets-hook-error-post-time)
1021 (allout-widgets-track-decoration):
1022 Add missing :version tags to new defcustoms and defgroups.
1023
5fec1b8e
GM
1024 * progmodes/sql.el (sql-ansi-statement-starters)
1025 (sql-oracle-statement-starters): Add custom type.
1026
3e0d2fa7
GM
1027 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1028 (prolog-system-version): Give it a type.
1029
90b671e2
EZ
10302012-02-11 Eli Zaretskii <eliz@gnu.org>
1031
1032 * term/pc-win.el (x-select-text, x-selection-owner-p)
1033 (x-own-selection-internal, x-disown-selection-internal)
1034 (x-get-selection-internal): Sync doc strings and argument lists
1035 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1036
5eac0c02
LL
10372012-02-11 Leo Liu <sdl.web@gmail.com>
1038
1039 * progmodes/python.el (python-end-of-statement): Fix infinite
1040 loop. (Bug#10788)
1041
f82cb659
GM
10422012-02-10 Glenn Morris <rgm@gnu.org>
1043
1044 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1045 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1046
cc26d239
LI
10472012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1048
1049 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1050 about SMTP before checking the From header.
1051
91027d08 1052 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1053 into own function for reuse by emacsbug.el.
1054
1be3ca5a
LL
10552012-02-10 Leo Liu <sdl.web@gmail.com>
1056
1057 * subr.el (condition-case-unless-debug): Rename from
1058 condition-case-no-debug. All callers changed.
1059 (with-demoted-errors): Fix caller.
1060
1061 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1062 * nxml/rng-valid.el (rng-do-some-validation):
1063 * emacs-lisp/package.el (package-refresh-contents)
1064 (package-menu-execute):
1065 * desktop.el (desktop-create-buffer):
91027d08 1066 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1067
b011fbfe
GM
10682012-02-10 Glenn Morris <rgm@gnu.org>
1069
b2096d72
GM
1070 * textmodes/bibtex.el:
1071 Add missing :version tags for new/changed defcustoms.
1072
b011fbfe
GM
1073 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1074
4c7e65bf
LI
10752012-02-09 Lars Ingebrigtsen <larsi@rusty>
1076
1077 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1078 (smtpmail-via-smtp): Use it, or fall back on the From address.
1079 (smtpmail-send-it): Ditto.
1080
f3934f6f
SM
10812012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1084 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1085 (byte-compile-tmp-var): New const.
1086 (byte-compile-defvar): Use it to minimize .elc size.
1087 Just use `defvar' rather than simulate it (bug#10761).
1088
a075a2c5
GM
10892012-02-09 Glenn Morris <rgm@gnu.org>
1090
cf3aa21b
GM
1091 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1092
354998cd
GM
1093 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1094 Add :version tags.
1095
dc9924b8
SM
1096 * progmodes/compile.el (compilation-error-screen-columns)
1097 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1098
dab3703d
GM
1099 * vc/log-view.el (log-view-toggle-entry-display):
1100 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1101
3f88cd72
GM
1102 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1103 (report-emacs-bug-can-use-xdg-email):
1104 (report-emacs-bug-insert-to-mailer): Doc fixes.
1105 (report-emacs-bug): Message fix.
1106
d95b247d
GM
1107 * net/browse-url.el (browse-url-can-use-xdg-open)
1108 (browse-url-xdg-open): Doc fixes.
1109
a075a2c5
GM
1110 * electric.el (electric-indent-mode, electric-pair-mode)
1111 (electric-layout-rules, electric-layout-mode): Doc fixes.
1112 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1113
ffb6157e
MR
11142012-02-08 Martin Rudalics <rudalics@gmx.at>
1115
1116 * server.el (server-unselect-display): Don't inadvertently kill
1117 the current buffer. (Bug#10729)
1118
e1ac4066
GM
11192012-02-08 Glenn Morris <rgm@gnu.org>
1120
34e8a2da
GM
1121 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1122 (sql-list-table): Doc fixes.
1123
b4ac6e8c
GM
1124 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1125 Comment out (does nothing).
1126
e1ac4066
GM
1127 * completion.el (dynamic-completion-mode):
1128 * dirtrack.el (dirtrack-debug-mode):
1129 * electric.el (electric-layout-mode):
1130 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1131 * face-remap.el (text-scale-mode, buffer-face-mode):
1132 * iimage.el (iimage-mode):
1133 * image-mode.el (image-transform-mode):
1134 * minibuffer.el (completion-in-region-mode):
1135 * scroll-lock.el (scroll-lock-mode):
1136 * simple.el (next-error-follow-minor-mode):
1137 * tar-mode.el (tar-subfile-mode):
1138 * tooltip.el (tooltip-mode):
1139 * vcursor.el (vcursor-use-vcursor-map):
1140 * wid-browse.el (widget-minor-mode):
1141 * emulation/tpu-edt.el (tpu-edt-mode):
1142 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1143 * international/iso-ascii.el (iso-ascii-mode):
1144 * language/thai-util.el (thai-word-mode):
1145 * mail/supercite.el (sc-minor-mode):
1146 * net/goto-addr.el (goto-address-mode):
1147 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1148 * progmodes/cwarn.el (cwarn-mode):
1149 * progmodes/flymake.el (flymake-mode):
1150 * progmodes/glasses.el (glasses-mode):
1151 * progmodes/hideshow.el (hs-minor-mode):
1152 * progmodes/pascal.el (pascal-outline-mode):
1153 * textmodes/enriched.el (enriched-mode):
1154 * vc/smerge-mode.el (smerge-mode):
1155 Doc fixes (minor mode argument).
1156
5e0d957f
EZ
11572012-02-07 Eli Zaretskii <eliz@gnu.org>
1158
1159 * ls-lisp.el (ls-lisp-sanitize): New function.
1160 (ls-lisp-insert-directory): Use it to fix or remove any elements
1161 in file-alist with missing attributes. (Bug#4673)
1162
98d7371e
AM
11632012-02-07 Alan Mackenzie <acm@muc.de>
1164
1165 Fix spurious recognition of c-in-knr-argdecl.
1166
1167 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1168 putative K&R region.
1169
667ced3a
AM
11702012-02-07 Alan Mackenzie <acm@muc.de>
1171
eb864a71
LM
1172 * progmodes/cc-engine.el (c-forward-objc-directive):
1173 Prevent looping in "#pragma mark @implementation".
667ced3a 1174
5b77774d
MA
11752012-02-07 Michael Albinus <michael.albinus@gmx.de>
1176
1177 * notifications.el (notifications-on-closed-signal): Make `reason'
1178 optional. (Bug#10744)
1179
af008560
GM
11802012-02-07 Glenn Morris <rgm@gnu.org>
1181
60d47423
GM
1182 * emacs-lisp/easy-mmode.el (define-minor-mode):
1183 Doc fixes for the macro and the mode it defines.
1184
dd605cc4
GM
1185 * image.el (imagemagick-types-inhibit): Doc fix.
1186
af008560
GM
1187 * cus-start.el (imagemagick-render-type): Add it.
1188
5cc59a37
LI
11892012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1190
1191 * progmodes/cc-mode.el
1192 (c-standard-font-lock-fontify-region-function): Set the default at
1193 load time, too, so that `font-lock-fontify-buffer' can be called
1194 without setting up the entire mode first. This fixes a bug in
1195 `mm-inline-text' with C MIME parts.
1196
9a6dd747
CY
11972012-02-06 Chong Yidong <cyd@gnu.org>
1198
2d16b285
CY
1199 * simple.el (list-processes--refresh): Delete exited processes
1200 (Bug#8094).
1201
171e9b6e
CY
1202 * comint.el (comint-next-prompt): next-single-char-property-change
1203 and prev-single-char-property-change never return nil (Bug#8657).
1204
9a6dd747
CY
1205 * custom.el (defcustom): Doc fix (Bug#9711).
1206
aa4589a7
CY
12072012-02-05 Chong Yidong <cyd@gnu.org>
1208
5c2a252f
CY
1209 * cus-edit.el (custom-variable-reset-backup): Quote the value
1210 before storing it in the customized-value property (Bug#6712).
4aab9006 1211 (custom-display): Add a customization type tag.
983b9602 1212 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1213
aa4589a7
CY
1214 * wid-edit.el (widget-field-value-get): New optional arg to
1215 suppress trailing whitespace truncation.
1216 (character): Use it (Bug#2689).
1217
1ff980ae
AS
12182012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1219
1220 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1221 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1222
03988c98
CY
12232012-02-05 Chong Yidong <cyd@gnu.org>
1224
eeb6cc88
CY
1225 * cus-edit.el (custom-variable-value-create): For mismatched
1226 types, show the current value (Bug#7600).
1227
03988c98
CY
1228 * custom.el (defcustom): Doc fix.
1229
f8cdeef0
GM
12302012-02-05 Glenn Morris <rgm@gnu.org>
1231
1232 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1233
0696d255
JB
12342012-02-05 Juanma Barranquero <lekktu@gmail.com>
1235
1236 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1237 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1238 (pp-last-sexp): Use `looking-at-p'.
1239
34c99998
GM
12402012-02-04 Glenn Morris <rgm@gnu.org>
1241
8f05da42
GM
1242 * files.el (revert-buffer):
1243 Doc fix (mention revert-buffer-in-progress-p).
1244
f160676e
GM
1245 * emacs-lisp/ert-x.el (ert-simulate-command):
1246 Check deferred-action-list (which is obsolete) is bound.
1247
c7291ad9
GM
1248 * subr.el (with-wrapper-hook): Doc fixes.
1249
34c99998
GM
1250 * simple.el (filter-buffer-substring-functions)
1251 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1252
6283a7d3
LL
12532012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1254
1255 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1256 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1257
e96e3013
LL
12582012-02-04 Leo Liu <sdl.web@gmail.com>
1259
1260 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1261
8ded50f2
GM
12622012-02-04 Glenn Morris <rgm@gnu.org>
1263
82ff1d13
GM
1264 * image.el (image-extension-data): Add obsolete alias.
1265
987a0a16
GM
1266 * isearch.el (isearch-update): Doc fix.
1267
ea32ef46
GM
1268 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1269
8ded50f2
GM
1270 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1271
eea14f31
GM
12722012-02-03 Glenn Morris <rgm@gnu.org>
1273
1274 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1275 (image-animate-timeout): Doc fix.
1276
1277 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1278
12f381b7
GM
12792012-02-02 Glenn Morris <rgm@gnu.org>
1280
953cebf5
GM
1281 * server.el (server-auth-dir): Doc fix.
1282 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1283
12f381b7
GM
1284 * subr.el (run-mode-hooks): Doc fix.
1285
953a8c3b
JL
12862012-02-02 Juri Linkov <juri@jurta.org>
1287
1288 * image-mode.el (image-toggle-display-image): Remove tautological
1289 `major-mode' from the `derived-mode-p' test.
1290
c5d3843c
KH
12912012-02-02 Kenichi Handa <handa@m17n.org>
1292
9f6e692e 1293 * composite.el (compose-region): Cancel previous change.
c5d3843c 1294
159462d4 12952012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1296
1297 * composite.el (compose-region, compose-string): Signal error for
1298 a null string component (Bug#6988).
1299
9f562668
CY
13002012-02-01 Chong Yidong <cyd@gnu.org>
1301
e2cef717
CY
1302 * view.el (view-buffer-other-window, view-buffer-other-frame):
1303 Handle special modes like view-buffer (Bug#10650).
1304 (view-buffer): Simplify.
1305
9f562668
CY
1306 * frame.el (set-frame-font): Tweak meaning of third argument.
1307
9f6e692e
JB
1308 * dynamic-setting.el (font-setting-change-default-font):
1309 Use set-frame-font (Bug#9982).
9f562668 1310
781acb9f
GM
13112012-02-01 Glenn Morris <rgm@gnu.org>
1312
6035be52
GM
1313 * progmodes/compile.el (compilation-internal-error-properties):
1314 Respect compilation-first-column in the "*compilation*" buffer.
1315
781acb9f
GM
1316 * emacs-lisp/easy-mmode.el (define-minor-mode):
1317 Relax :variable's test for a named function.
1318
abbceb00
AM
13192012-01-31 Alan Mackenzie <acm@muc.de>
1320
1321 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1322 off by one error.
1323
fce3fdeb
CY
13242012-01-31 Chong Yidong <cyd@gnu.org>
1325
1326 * frame.el (set-frame-font): New arg ALL-FRAMES.
1327
1328 * menu-bar.el (menu-set-font): Use set-frame-font.
1329
1330 * faces.el (face-spec-reset-face): Don't apply unspecified
1331 attribute values to the default face.
1332
47893581
JB
13332012-01-31 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * progmodes/cwarn.el (cwarn): Remove dead link.
1336 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1337 Remove * from defcustom docstrings.
1338 (turn-on-cwarn-mode): Make obsolete.
1339 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1340 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1341
e58e988a
GM
13422012-01-31 Glenn Morris <rgm@gnu.org>
1343
60dc2671 1344 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1345 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1346 Allow named functions to be used as the cdr of :variable.
e58e988a 1347
7a3f511d
GM
13482012-01-30 Glenn Morris <rgm@gnu.org>
1349
1350 * emacs-lisp/authors.el (authors-fixed-entries):
1351 Remove reference to deleted file rnewspost.el.
1352
cb882333
JB
13532012-01-29 Juanma Barranquero <lekktu@gmail.com>
1354
1355 * window.el (window-with-parameter): Remove unused variable `windows'.
1356 (window--side-check): Remove unused variable `code'.
1357 (window--resize-siblings): Remove unused variable `first'.
1358 (adjust-window-trailing-edge): Remove unused variable `failed'.
1359 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1360 Use `let', not `let*'.
1361 (balance-windows-2): Remove unused variable `found'.
1362 (window--state-put-2): Remove unused variable `splits'.
1363 (window-state-put): Remove unused variable `selected'.
1364 (same-window-p): Use `string-match-p'.
1365 (display-buffer-assq-regexp): Remove unused variable `value'.
1366 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1367 Mark argument ALIST as ignored.
1368 (pop-to-buffer): Remove unused variable `old-window'.
1369
907201af
EZ
13702012-01-29 Eli Zaretskii <eliz@gnu.org>
1371
1372 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1373 and .lzma compressed files.
1374
ea162670
CY
13752012-01-29 Chong Yidong <cyd@gnu.org>
1376
5b95ee8a
CY
1377 * frame.el (window-system-default-frame-alist): Doc fix.
1378
ea162670
CY
1379 * dynamic-setting.el (font-setting-change-default-font): Don't
1380 change the default face if SET-FONT argument is non-nil (Bug#9982).
1381
d6e6f4b1
SB
13822012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1383
1384 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1385
0f29fa41 13862012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1387
1388 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1389 breakpoints in files outside current directory (Bug#6098).
1390
db174434
CY
13912012-01-29 Chong Yidong <cyd@gnu.org>
1392
6b25e4e2
SE
1393 * progmodes/python.el: Require ansi-color at top-level.
1394
6df6ae42
JB
1395 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1396 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1397 (lisp-mode-abbrev-table): Add doc.
1398 (lisp-mode-variables): Don't set local-abbrev-table.
1399 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1400
e70ee681
RW
14012012-01-28 Roland Winkler <winkler@gnu.org>
1402
1403 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1404
ace88aa2
RW
14052012-01-28 Roland Winkler <winkler@gnu.org>
1406
1407 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1408 (bibtex-set-dialect): Use it. Either set global values of
1409 dialect-dependent variables or bind these variables buffer-locally
1410 (Bug#10254).
1411 (bibtex-mode): Call bibtex-set-dialect via
1412 hack-local-variables-hook.
eb864a71
LM
1413 (bibtex-dialect): Update docstring.
1414 Add safe-local-variable predicate.
ace88aa2
RW
1415 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1416 bibtex-set-dialect.
1417 (bibtex-mode-map): Define menu for each dialect.
1418 (bibtex-entry): Fix docstring.
1419
93376c5b
CY
14202012-01-28 Chong Yidong <cyd@gnu.org>
1421
1422 * eshell/esh-arg.el (eshell-quote-argument): New function.
1423
1424 * eshell/esh-ext.el (eshell-invoke-batch-file):
1425 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1426 first arg to eshell-parse-command (Bug#10523).
1427
4372494f
DA
14282012-01-28 Drew Adams <drew.adams@oracle.com>
1429
1430 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1431 `default-directory' is non-nil.
1432
4d4ec1f8
EZ
14332012-01-28 Eli Zaretskii <eliz@gnu.org>
1434
1435 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1436 line that displays system-configuration-options. (Bug#9924)
1437
7c188927
DA
14382012-01-28 Drew Adams <drew.adams@oracle.com>
1439
1440 * descr-text.el (describe-char): Show information about POS, in
1441 addition to information about the character at POS. Improve and
1442 update the doc string. Change "code point" to "code point in
1443 charset", to avoid confusion with the character's Unicode code
1444 point shown above that. (Bug#10129)
1445
e0da685a
EZ
14462012-01-28 Eli Zaretskii <eliz@gnu.org>
1447
1448 * descr-text.el (describe-char): Show the raw character, not only
1449 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1450 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1451 for the reasons.
1452
70550acf
PH
14532012-01-28 Phil Hagelberg <phil@hagelb.org>
1454
eb864a71
LM
1455 * emacs-lisp/package.el (package-install):
1456 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1457
0ce8e868
CY
14582012-01-28 Chong Yidong <cyd@gnu.org>
1459
cb882333
JB
1460 * emacs-lisp/package.el (package-maybe-load-descriptor):
1461 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1462 (package-maybe-load-descriptor): Use it.
1463 (package-download-transaction): Fully load required packages
1464 inside the loop, so that `require' calls work (Bug#10593).
1465 (package-install): No need to call package-initialize now.
1466
2e7f3bea
CY
14672012-01-28 Chong Yidong <cyd@gnu.org>
1468
6e9bad14
CY
1469 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1470
f823b8ca
CY
1471 * tooltip.el (tooltip-mode): Doc fix.
1472 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1473
2680c309
CY
1474 * frame.el (set-cursor-color): Doc fix (Bug#352).
1475
d7a9e63b
CY
1476 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1477 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1478
2e7f3bea
CY
1479 * cus-edit.el (custom-buffer-create-internal): Fix search button
1480 action (Bug#10542).
2ae01800 1481 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1482
fc4f7a23
EW
14832012-01-27 Eduard Wiebe <usenet@pusto.de>
1484
1485 * dired.el (dired-mark-files-regexp):
1486 Include any subdirectory components. (Bug#10445)
1487
7dd37071
ML
14882012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1489
1490 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1491 Handle [host]:port syntax. (Bug#10533)
1492
a268160b
AH
14932012-01-27 Alex Harsanyi <harsanyi@mac.com>
1494
1495 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1496
e43273ef
GM
14972012-01-26 Glenn Morris <rgm@gnu.org>
1498
1499 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1500 * term.el (term-raw-escape-map): Use Control-X-prefix.
1501 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1502
1edf595d
MR
15032012-01-25 Martin Rudalics <rudalics@gmx.at>
1504
1505 * window.el (window-state-get, window--state-get-1): Don't deal
1506 with fixed-sizeness of windows. Simplify code.
1507
fa8eafef
JC
15082012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1509
6df6ae42
JB
1510 * window.el (window--state-get-1, window--state-put-2):
1511 Don't save and restore the mark.
fa8eafef 1512
0b21c100
CY
15132012-01-25 Chong Yidong <cyd@gnu.org>
1514
1515 * custom.el (custom-variable-p): Doc fix.
1516
5ae1a6c8
GM
15172012-01-25 Glenn Morris <rgm@gnu.org>
1518
40047858
GM
1519 * dired.el (dired-goto-file): Handle some of the more common
1520 characters that `ls -b' escapes. (Bug#10596)
1521
5ddce96c
GM
1522 * progmodes/compile.el (compilation-next-error-function):
1523 Respect compilation-first-column in the "*compilation*" buffer.
1524 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1525
5ae1a6c8
GM
1526 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1527
b559f1a9
GM
15282012-01-24 Glenn Morris <rgm@gnu.org>
1529
1530 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1531
6725d21a
JD
15322012-01-24 Julien Danjou <julien@danjou.info>
1533
1534 * color.el (color-rgb-to-hsl): Fix value computing.
1535 (color-hue-to-rgb): New function.
1536 (color-hsl-to-rgb): New function.
1537 (color-clamp, color-saturate-hsl, color-saturate-name)
1538 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1539 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1540
70df4bbe
GM
15412012-01-24 Glenn Morris <rgm@gnu.org>
1542
1543 * vc/vc-rcs.el (vc-rcs-create-tag):
1544 * vc/vc-sccs.el (vc-sccs-create-tag):
1545 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1546
802a2ae2
ML
15472012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1548
1549 * eshell/esh-util.el (eshell-read-hosts-file):
1550 Skip comment lines. (Bug#10549)
1551
d7128bb1
ML
1552 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1553
d1a5c3b4
JB
15542012-01-23 Juanma Barranquero <lekktu@gmail.com>
1555
2724d9c7
JB
1556 * subr.el (display-delayed-warnings): Doc fix.
1557 (collapse-delayed-warnings): New function to collapse identical
1558 adjacent warnings.
1559 (delayed-warnings-hook): Add it.
d1a5c3b4 1560
a5509865
MA
15612012-01-22 Michael Albinus <michael.albinus@gmx.de>
1562
1563 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1564
1565 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1566 properties, when "login-as" is set.
1567
1568 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1569 (tramp-default-user-alist): Don't add "pscp".
1570 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1571 property "login-as", if set. (Bug#10530)
1572
cc6d5805
MA
15732012-01-21 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1576 "plink1" and "psftp". (Bug#10530)
1577
15782012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1579
1580 * international/mule-cmds.el (prefer-coding-system): Show a
1581 warning message if the default value of file-name-coding-system
1582 was not changed.
1583
f0960428
JC
15842012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1585
cb882333
JB
1586 * windmove.el (windmove-reference-loc):
1587 Fix windmove-reference-loc miscalculation.
f0960428 1588
dd6f2a63
JB
15892012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1590
1591 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1592 default unit.
1593
7b447e9b
GM
15942012-01-21 Glenn Morris <rgm@gnu.org>
1595
117a9ea1
GM
1596 * international/mule.el (auto-coding-alist): Add .tbz.
1597
7b447e9b
GM
1598 * files.el (local-enable-local-variables): Doc fix.
1599 (inhibit-local-variables-regexps): Rename from
1600 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1601 Doc fix. Add some extensions from auto-coding-alist.
1602 (inhibit-local-variables-suffixes):
1603 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1604 (inhibit-local-variables-p):
1605 New function, extracted from set-auto-mode-1.
1606 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1607 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1608 (hack-local-variables): Doc fix. Make the mode-only case
1609 respect enable-local-variables and friends.
1610 Respect inhibit-local-variables-regexps for file-locals, but
1611 not for directory-locals.
1612 (set-visited-file-name):
1613 Take account of inhibit-local-variables-regexps.
1614 Whether it applies may change as the file name is changed.
1615 * jka-cmpr-hook.el (jka-compr-install):
1616 * jka-compr.el (jka-compr-uninstall):
1617 Update for inhibit-first-line-modes-suffixes name change.
1618
dd6e3cdd
MR
16192012-01-20 Martin Rudalics <rudalics@gmx.at>
1620
1621 * help-macro.el (make-help-screen): Temporarily restore original
1622 binding for minor-mode-map-alist (Bug#10454).
1623
0d0deb38
JD
16242012-01-19 Julien Danjou <julien@danjou.info>
1625
1626 * color.el (color-name-to-rgb): Use the white color to find the max
1627 color component value and return correctly computed values.
1628 (color-name-to-rgb): Add missing float conversion for max value.
1629
34a02f46
MR
16302012-01-19 Martin Rudalics <rudalics@gmx.at>
1631
1632 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1633 special state value for window-persistent-parameters.
1634 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1635 (window--state-put-2): Reset all window parameters to nil before
1636 assigning values of persistent parameters.
1637
606c44c4
AM
16382012-01-18 Alan Mackenzie <acm@muc.de>
1639
1640 Eliminate sluggishness and hangs in fontification of "semicolon
1641 deserts".
1642
cb882333
JB
1643 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1644 Change value 10000 -> 3000.
606c44c4
AM
1645 (c-state-safe-place): Reformulate so it doesn't stack up an
1646 infinite number of wrong entries in c-state-nonlit-pos-cache.
1647 (c-determine-limit-get-base, c-determine-limit): New functions to
1648 determine backward search limits disregarding literals.
1649 (c-find-decl-spots): Amend commenting.
1650 (c-cheap-inside-bracelist-p): New function which detects "={".
1651
1652 * progmodes/cc-fonts.el
1653 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1654 backward search.
1655 (c-font-lock-declarations): Fix an occurrence of point being
1656 undefined. Check additionally for point being in a bracelist or
1657 near a macro invocation without a semicolon so as to avoid a
1658 fruitless time consuming search for a declarator. Give a more
1659 precise search limit for declarators using the new
1660 c-determine-limit.
1661
f3860cea
GM
16622012-01-18 Glenn Morris <rgm@gnu.org>
1663
1664 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1665 (set-auto-mode): Doc fixes.
1666
1db03b16
GM
16672012-01-17 Glenn Morris <rgm@gnu.org>
1668
0e6038be
GM
1669 * isearch.el (search-nonincremental-instead): Fix doc typo.
1670
1db03b16
GM
1671 * dired.el (dired-insert-directory): Handle newlines in directory name.
1672 (dired-build-subdir-alist): Unescape newlines in directory name.
1673
4cb0aa75
MA
16742012-01-17 Michael Albinus <michael.albinus@gmx.de>
1675
1676 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1677 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1678 (tramp-action-terminal): Use it. (Bug#10530)
1679
1d00653d
SM
16802012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1683
6a6ee00d
MR
16842012-01-16 Martin Rudalics <rudalics@gmx.at>
1685
1686 * window.el (window-state-ignored-parameters): Remove variable.
1687 (window--state-get-1): Rename argument MARKERS to IGNORE.
1688 Handle persistent window parameters. Make copy of clone-of
1689 parameter only if requested. (Bug#10348)
1690 (window--state-put-2): Install a window parameter only if it has
1691 a non-nil value or an existing parameter shall be overwritten.
1692
97912def
MA
16932012-01-15 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1696
688070a5
EZ
16972012-01-14 Eli Zaretskii <eliz@gnu.org>
1698
1699 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1700 don't pass the (nil) value of `upnode' to string-match.
1701
301afadc
CY
17022012-01-14 Chong Yidong <cyd@gnu.org>
1703
1704 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1705 Fix values recognized by the cursorBlink resource.
301afadc 1706
9e5788aa
PE
17072012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1708
1709 * epg.el (epg--make-temp-file): Avoid permission race condition
1710 when running on old Emacs versions (bug#10403).
1711
3cdb7f5a
GM
17122012-01-14 Glenn Morris <rgm@gnu.org>
1713
1714 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1715
8c82b1b4
AM
17162012-01-13 Alan Mackenzie <acm@muc.de>
1717
1718 Fix filling for when filladapt mode is enabled.
1719
1720 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1721 c-mask-paragraph, pass in `fill-paragraph' rather than
1722 `fill-region-as-paragraph'. (This is a reversion of a previous
1723 change.)
eb864a71
LM
1724 * progmodes/cc-mode.el (c-basic-common-init):
1725 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1726
e517eda4
GM
17272012-01-13 Glenn Morris <rgm@gnu.org>
1728
1498536e
GM
1729 * dired.el (dired-switches-escape-p): New function.
1730 (dired-insert-directory): Use dired-switches-escape-p.
1731 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1732
e517eda4
GM
1733 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1734
328f984d
GM
17352012-01-12 Glenn Morris <rgm@gnu.org>
1736
1737 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1738 changes in adaptive-fill-regexp. (Bug#10276)
1739
2cc769a8
AM
17402012-01-11 Alan Mackenzie <acm@muc.de>
1741
1742 Fix Emacs bug #10463 - put `widen's around the critical spots.
1743
1d00653d 1744 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1745 widen around each invocation of c-state-pp-to-literal. Remove an
1746 unused let variable.
1747
e52c37fa
GM
17482012-01-11 Glenn Morris <rgm@gnu.org>
1749
1750 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1751 Doc fix.
e52c37fa 1752
96f8741e
CY
17532012-01-10 Chong Yidong <cyd@gnu.org>
1754
1d00653d
SM
1755 * net/network-stream.el (network-stream-open-starttls):
1756 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1757 response to the capability command.
1758
b09a806e
GM
17592012-01-10 Glenn Morris <rgm@gnu.org>
1760
1761 * mail/unrmail.el (unrmail): Tweak previous change.
1762
7655cb66
CY
17632012-01-09 Chong Yidong <cyd@gnu.org>
1764
1765 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1766
9d5a8f0b
AM
17672012-01-08 Alan Mackenzie <acm@muc.de>
1768
1769 Optimise font locking in long enum definitions.
1770
1771 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1772 arm to a cond form to handle enums.
1773 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1774 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1775
9a0115ab 17762012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1777
1778 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1779 (Bug#10401)
6bb72cbd 1780
f186bb95
LMI
17812012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1782
29232a68
LMI
1783 * faces.el (set-face-attribute): Clarify the meaning of the nil
1784 frame (bug#10294).
1785
4e5d086d
LMI
1786 * subr.el (with-selected-frame): Mention that the selected frame
1787 is restored (bug#9980).
1788
8e66aebe
LMI
1789 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1790 (bug#9759).
1791
cd394be1 1792 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1793 (password-read): Don't autoload unused function.
1794
adf4e762
JB
17952012-01-07 Juanma Barranquero <lekktu@gmail.com>
1796
1797 * progmodes/which-func.el (which-func-mode): Turn into a
1798 non-interactive function and mark as obsolete (bug#10428).
1799
89bd9ccd
CY
18002012-01-06 Chong Yidong <cyd@gnu.org>
1801
1802 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1803 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1804 functions, along with 1 and -1.
1805
4afee9d5
EZ
18062012-01-06 Eli Zaretskii <eliz@gnu.org>
1807
1808 * time.el (display-time-load-average)
1809 (display-time-default-load-average): Doc fixes. See the thread
1810 starting at
1811 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1812 for the details.
1813
536aea70
GM
18142012-01-06 Glenn Morris <rgm@gnu.org>
1815
665ae865
GM
1816 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1817 has no messages. (Bug#10377)
1818
c869783d
GM
1819 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1820 than Info-edit. (Bug#10385)
1821
2bb4227e
GM
1822 * time.el (display-time-load-average, display-time-next-load-average):
1823 Doc fixes.
1824
7d5944b9
GM
1825 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1826 local setting of buffer-read-only to the input buffer. (Bug#10419)
1827
536aea70
GM
1828 * calendar/calendar.el (calendar-mode):
1829 Locally set scroll-margin to 0. (Bug#10379)
1830
7dccca16
UM
18312012-01-06 Ulrich Mueller <ulm@gentoo.org>
1832
1833 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1834
afbb7930
GM
18352012-01-05 Glenn Morris <rgm@gnu.org>
1836
1837 * eshell/em-unix.el (diff-no-select): Autoload it.
1838 (eshell/diff): Use diff-no-select. (Bug#10420)
1839
04482335
CY
18402012-01-05 Chong Yidong <cyd@gnu.org>
1841
7baca3bc
CY
1842 * shell.el (shell-dynamic-complete-functions): Revert last change.
1843 (shell-command-completion-function): New function.
1844 (shell-completion-vars): Use it to implement
1845 shell-completion-execonly (Bug#10417).
1846
04482335
CY
1847 * custom.el (enable-theme): Don't set custom-safe-themes.
1848
1d00653d
SM
1849 * cus-theme.el (custom-theme-merge-theme):
1850 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1851
bb5aa5d6
MM
18522012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1853
1854 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1855 first prompt in `sql-interacive-mode'.
1856 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1857 keywords.
6df6ae42 1858 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1859 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1860 context of original buffer. Invoke `sql-login-hook'.
1861
a7183d7c
EZ
18622012-01-04 Eli Zaretskii <eliz@gnu.org>
1863
1864 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1865 letters in cite-prefix.
1866
a1eacd1e
LMI
18672012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1868
1869 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1870
787cdb34
CY
18712012-01-03 Chong Yidong <cyd@gnu.org>
1872
1d00653d
SM
1873 * shell.el (shell-dynamic-complete-functions):
1874 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1875 comint-filename-completion first (Bug#10417).
1876
30710442
RS
18772012-01-02 Richard Stallman <rms@gnu.org>
1878
1879 * battery.el (battery-status-function):
1880 Detect when to use battery-yeeloong-sysfs.
1881 (battery-echo-area-format): Add string for Yeeloong.
1882 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1883 (battery-yeeloong-sysfs): New function.
1884
f75bfc33
CY
18852012-01-02 Chong Yidong <cyd@gnu.org>
1886
1887 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1888 (dirtrack): Merge code for handling relative filenames in prompt
1889 from shell-dir-cookie-watcher.
1890 (dirtrack-debug-message): New arg to avoid excess format calls.
1891
1892 * shell.el (shell-dir-cookie-re): Variable deleted.
1893 (shell-dir-cookie-watcher): Function deleted.
1894 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1895 with dirtrack-mode.
1896
651e947e
EZ
18972012-01-01 Eli Zaretskii <eliz@gnu.org>
1898
1d00653d
SM
1899 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1900 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1901 libgnutls-26.dll.
1902
94d4c7dc
AS
19032011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1904
1905 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1906
8d43f3cd
EZ
19072011-12-31 Eli Zaretskii <eliz@gnu.org>
1908
1909 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1910 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1911
98c8795a
MA
19122011-12-29 Michael Albinus <michael.albinus@gmx.de>
1913
1914 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1915 also for alternative shells.
1916 (tramp-open-connection-setup-interactive-shell): Check, whether
1917 the shell is a busybox.
1918 (tramp-send-command): Don't suppress multiple prompts for
1919 busyboxes, it hurts.
1920
51281b32
CY
19212011-12-28 Chong Yidong <cyd@gnu.org>
1922
1923 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1924 (gdb-get-source-file): Move mode line update to
1925 gdb-get-source-file (Bug#10087).
1926
2170cb53
CY
19272011-12-25 Chong Yidong <cyd@gnu.org>
1928
1929 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1930 gud-gdb-marker-filter without taking it as an argument.
1931 (gud-gdb-run-command-fetch-lines): Caller changed.
1932 (gud-gdb-completion-function): New variable.
1933 (gud-gdb-completion-at-point): Use it.
1934 (gud-gdb-completions-1): Split from gud-gdb-completions.
1935
1936 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1937 function as separate arguments.
1938 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1939 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1940 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1941 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1942 (gdb-stopped, def-gdb-auto-update-trigger)
1943 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1944 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1945 Callers changed.
2170cb53
CY
1946 (gud-gdbmi-completions): New function.
1947 (gdb): Use it for generating the completion table.
1948
be8b11bb
AM
19492011-12-24 Alan Mackenzie <acm@muc.de>
1950
1951 Introduce a mechanism to widen the region used in context font
1d00653d 1952 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1953
1d00653d
SM
1954 * progmodes/cc-langs.el (c-before-font-lock-functions):
1955 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1956 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1957 functions to be run just before context (etc.) font locking.
1958
1959 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1960 New, functionality extracted from
be8b11bb 1961 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1962 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1963 (c-after-change): Set c-in-after-change-fontification.
1964 (c-set-fl-decl-start): Rejig its interface, so it can be called
1965 from both after-change and context fontifying.
b81d40f0
JB
1966 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1967 New functions.
1968 (c-standard-font-lock-fontify-region-function): New variable.
1969 (c-font-lock-fontify-region): New function.
be8b11bb 1970
341cf6ac
JL
19712011-12-24 Juri Linkov <juri@jurta.org>
1972
1973 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1974 (Bug#10348)
1975
bffcee0a
MA
19762011-12-23 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1979 existence of source file. (Bug#10325)
1980
cb5e207c
AM
19812011-12-23 Alan Mackenzie <acm@muc.de>
1982
1983 Fix unstable fontification inside templates.
1984
b81d40f0
JB
1985 * progmodes/cc-langs.el (c-before-font-lock-functions):
1986 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1987 additionally has c-set-fl-decl-start. The other languages (apart
1988 from AWK) have that as a single entry.
1989
b81d40f0
JB
1990 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1991 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1992 c-set-fl-decl-start.
1993
b81d40f0
JB
1994 * progmodes/cc-mode.el (c-common-init, c-after-change):
1995 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1996 (c-set-fl-decl-start): New function, extracted from
1997 c-font-lock-enclosing-decls and enhanced.
1998
60ff536c
JB
19992011-12-23 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2002
1c4757d6
JL
20032011-12-22 Juri Linkov <juri@jurta.org>
2004
2005 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2006
d031f2c7
CY
20072011-12-22 Chong Yidong <cyd@gnu.org>
2008
2009 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2010
bace743a
DA
20112011-12-21 Drew Adams <drew.adams@oracle.com>
2012
2013 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2014
728a1f2b
JC
20152011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2016
2017 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2018
0d373f73
TZ
20192011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2020
fec0aaa4
TZ
2021 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2022 highlighting and support. Fix up comments for capitalization.
2023 (cfengine-mode-debug): New var.
2024 (cfengine3-mode): Change the modeline indicator to "CFE3".
2025 (cfengine3-font-lock-keywords): Improve defun highlighting.
2026 (cfengine2-actions): Rename from `cfengine-actions'.
2027 (cfengine2-font-lock-keywords): Rename from
2028 `cfengine-font-lock-keywords'.
2029 (cfengine2-imenu-expression): Rename from
2030 `cfengine-imenu-expression'.
2031 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2032 (cfengine2-beginning-of-defun): Rename from
2033 `cfengine-beginning-of-defun'.
2034 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2035 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2036 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2037 modeline indicator to "CFE2".
2038 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2039 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2040
bc86f573
CY
20412011-12-21 Chong Yidong <cyd@gnu.org>
2042
2043 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2044 filename argument.
2045
d45ba96b
MR
20462011-12-20 Martin Rudalics <rudalics@gmx.at>
2047
2048 * window.el (window-normalize-buffer-to-display): Remove.
2049 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2050
a6198c90
CY
20512011-12-19 Chong Yidong <cyd@gnu.org>
2052
2053 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2054 Don't signal an error in a predicate function; return non-nil.
2055 (vc-dir-mark-file): Move the error here.
2056 (vc-dir-mark-unmark): If acting on the region, keep going if one
2057 of the entries cannot be marked/unmarked.
2058 (vc-dir-mark-all-files): If current entry is a directory, mark
2059 only child files, as documented.
2060
34c5fb55
VB
20612011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2062
2063 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2064 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2065 addition.
2066
c803b2b7
JD
20672011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2068
2069 * term/ns-win.el (ns-get-selection-internal)
2070 (ns-store-selection-internal): Declare.
1154d12e
JB
2071 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2072 Declare as obsolete.
2073 (ns-get-pasteboard, ns-paste-secondary):
2074 Use ns-get-selection-internal.
2075 (ns-set-pasteboard, ns-copy-including-secondary):
2076 Use ns-store-selection-internal.
c803b2b7 2077
9cff91f8 20782011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2079
2080 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2081 (vc-deduce-fileset): Doc fix.
99a289d9 2082
f16c898a
AS
20832011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2084
2085 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2086
763237c4
SS
20872011-12-13 Sam Steingold <sds@gnu.org>
2088
2089 * man.el (Man-getpage-in-background): When running under a
2090 window-system, ignore $MANWIDTH and $COLUMNS.
2091
5fc1c122
KH
20922011-12-15 Kenichi Handa <handa@m17n.org>
2093
2094 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2095 (setup-ethiopic-environment-internal): Comment out key-binding for
2096 ethio-toggle-punctuation.
2097
13d49cbb
AM
20982011-12-13 Alan Mackenzie <acm@muc.de>
2099
898169a2
AM
2100 Add the switch statement to AWK Mode.
2101
7a71b18d 2102 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2103 "default" to the keywords regexp.
2104
7a71b18d 2105 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2106 expression as the rest.
1d00653d
SM
2107 (c-nonlabel-token-key): Allow string literals for AWK.
2108 Refactor for the other modes.
898169a2 2109
13d49cbb 2110 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2111 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2112 routines. Limit backward searching in c-font-lock-enclosing.decl.
2113
2114 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2115 pp-state and literal type in addition to the limits.
1d00653d 2116 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2117 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2118 (c-slow-in-literal, c-fast-in-literal): Remove.
2119 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2120
2121 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2122 being in a literal. Add a limit for backward searching.
2123
2124 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2125 c-slow-in-literal.
2126
15e0efc7
SM
21272011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2128
2129 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2130
454592a6
MR
21312011-12-13 Martin Rudalics <rudalics@gmx.at>
2132
2133 * window.el (delete-other-windows): Use correct frame in call to
2134 window-with-parameter.
2135
87393f26
DP
21362011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2137
2138 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2139 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2140 (makefile-gmake-statements, makefile-makepp-statements):
2141 Use it and add new makepp keywords.
2142 (makefile-makepp-font-lock-keywords): Add new patterns.
2143 (makefile-match-function-end): Match new [...] and [[...]].
2144
11636b22
JB
21452011-12-11 Juanma Barranquero <lekktu@gmail.com>
2146
2147 * ses.el (ses-call-printer-return, ses-cell-property-get)
2148 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2149 (ses-create-cell-variable, ses-reset-header-string)
2150 (ses-cell-set-formula, ses-repair-cell-reference-all)
2151 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2152 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2153 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2154 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2155 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2156 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2157 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2158 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2159 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2160 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2161 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2162 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2163
cf018193
VB
21642011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2165
2166 * ses.el: The overall change is to add cell renaming, that is
2167 setting fancy names for cell symbols other than name matching
2168 "\\`[A-Z]+[0-9]+\\'" regexp .
2169 (ses-create-cell-variable): New defun.
2170 (ses-relocate-formula): Relocate formulas only for cells the
2171 symbols of which are not renamed, i.e. symbols whose names do not
2172 match regexp "\\`[A-Z]+[0-9]+\\'".
2173 (ses-relocate-all): Relocate values only for cells the symbols of
2174 which are not renamed.
2175 (ses-load): Create cells variables as the (ses-cell ...) are read,
2176 in order to check row col consistency with cell symbol name only
2177 for cells that are not renamed.
2178 (ses-replace-name-in-formula): New defun.
2179 (ses-rename-cell): New defun.
2180
ee957461
CY
21812011-12-11 Chong Yidong <cyd@gnu.org>
2182
2183 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2184 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2185
9a9e9ef0
MR
21862011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2187
2188 * window.el (other-window): Fix docstring.
2189
92a8eba5
EZ
21902011-12-10 Eli Zaretskii <eliz@gnu.org>
2191
2192 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2193 `from' or `to' address before taking its substring.
2194 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2195 encoded name is chopped in the middle of the encoded string, and
2196 thus displayed encoded.
2197
e152e577
JB
21982011-12-10 Juanma Barranquero <lekktu@gmail.com>
2199
2200 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2201
e5d84bfe
EZ
22022011-12-10 Eli Zaretskii <eliz@gnu.org>
2203
2204 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2205 to use texinfo-update-node and commands that call it if the
2206 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2207 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2208 (texinfo-all-menus-update, texinfo-master-menu)
2209 (texinfo-update-node, texinfo-every-node-update)
2210 (texinfo-multiple-files-update): Doc fix. Warn against updating
2211 all the @node lines.
2212 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2213 argument is numeric. Explain better in the doc string what the
2214 function really does.
2215 (texinfo-insert-master-menu-list): Improve the error message
2216 displayed if there's no menu in the Top node.
2217 (Bug#2975) See also this thread:
e5d84bfe
EZ
2218 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2219
1d84e9bb
MG
22202011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2221
2222 * speedbar.el (speedbar-supported-extension-expressions):
2223 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2224
382c953b
JB
22252011-12-09 Juanma Barranquero <lekktu@gmail.com>
2226
2227 * printing.el (pr-mode-alist):
2228 * simple.el (filter-buffer-substring-functions)
2229 (completion-list-insert-choice-function):
2230 * window.el (window-with-parameter, window-atom-root)
2231 (window-sides-slots, window-size-fixed, window-min-delta)
2232 (window-max-delta, window--resize-mini-window)
2233 (window--resize-child-windows-normal, window-tree)
2234 (delete-other-windows, quit-window, split-window)
2235 (display-buffer-record-window, special-display-buffer-names)
2236 (special-display-regexps, special-display-popup-frame)
2237 (same-window-p, split-window-sensibly)
2238 (display-buffer-overriding-action, display-buffer-alist)
2239 (display-buffer-base-action, display-buffer, switch-to-buffer)
2240 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2241 (fit-window-to-buffer, recenter-positions)
2242 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2243 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2244 and remove unneeded backslashes in docstrings.
2245
39c9faef
SM
22462011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2247
98449af8
SM
2248 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2249
39c9faef
SM
2250 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2251 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2252 end in ".mk".
2253 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2254 when reading the makefile (bug#10116).
2255
86ed9fdc
SM
22562011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2259 (bug#10116).
2260
5580f89d
GM
22612011-12-06 Glenn Morris <rgm@gnu.org>
2262
2263 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2264
28d3917c
CY
22652011-12-06 Chong Yidong <cyd@gnu.org>
2266
2267 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2268
a98edce9
JB
22692011-12-06 Juanma Barranquero <lekktu@gmail.com>
2270
2271 * textmodes/table.el (table-shorten-cell): Fix typo.
2272
e65adfac
CG
22732011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2274
2275 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2276
71cc0b74
EZ
22772011-12-05 Eli Zaretskii <eliz@gnu.org>
2278
2279 * descr-text.el (describe-char): Fix display of strong
2280 right-to-left characters and directional embeddings and overrides.
2281
2282 * simple.el (what-cursor-position): Fix display of codepoints of
2283 strong right-to-left characters.
2284
315bc30d
CY
22852011-12-05 Chong Yidong <cyd@gnu.org>
2286
2287 * faces.el (read-color): Doc fix.
2288
58a70b94
GM
22892011-12-05 Glenn Morris <rgm@gnu.org>
2290
2291 * align.el (align--set-marker): Add doc-string.
2292 Don't try to move something that is not a marker. (Bug#10216)
2293
5158face
GM
22942011-12-04 Glenn Morris <rgm@gnu.org>
2295
2296 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2297 overly zealous deletion of trailing whitespace.
2298
520fca41
JB
22992011-12-04 Juanma Barranquero <lekktu@gmail.com>
2300
2301 * server.el (server-delete-client): On Windows, do not try to delete
2302 the only terminal.
2303 (server-process-filter): On Windows, treat requests for a tty frame as
2304 if they were for a GUI frame if the running server is in GUI mode.
2305
5e605a2e
GM
23062011-12-03 Glenn Morris <rgm@gnu.org>
2307
2308 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2309
5c3fe83f
SM
23102011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2311
6f5e57e7
SM
2312 * electric.el: Streamline electric-indent's hook.
2313 (electric-indent-chars): Revert to simple list.
2314 (electric-indent-functions): New var.
2315 (electric-indent-post-self-insert-function): Use it.
2316
5c3fe83f
SM
2317 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2318 there's no inferior buffer (bug#10196).
2319 (prolog-consult-compile): Don't use toggle-read-only.
2320
6bdac736
MA
23212011-12-02 Michael Albinus <michael.albinus@gmx.de>
2322
2323 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2324 interrupt. (Bug#10187)
2325
6131ba7f
SM
23262011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2327
99c79fee
SM
2328 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2329 (bug#9160).
2330
6131ba7f
SM
2331 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2332 (bug#10191).
2333
cb0a02ea
JL
23342011-12-02 Juri Linkov <juri@jurta.org>
2335
2336 * info.el (Info-search): Display "end of manual" when Isearch
2337 reaches the end of single-file Info manual. (Bug#9918)
2338
66e0570c
EZ
23392011-12-02 Eli Zaretskii <eliz@gnu.org>
2340
2341 * isearch.el (isearch-message-prefix): Run the input method part
2342 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2343
02b16839
JL
23442011-12-02 Juri Linkov <juri@jurta.org>
2345
2346 * isearch.el (isearch-occur): Use `word-search-regexp' for
2347 `isearch-word'.
2348 (isearch-search-and-update): Add condition for `isearch-word' and
2349 call `word-search-regexp'. (Bug#10145)
2350
0b950688
GM
23512011-12-01 Glenn Morris <rgm@gnu.org>
2352
2353 * eshell/em-hist.el (eshell-hist-initialize):
2354 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2355 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2356
9505c3c7
SM
23572011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2360
1bbe96b2 23612011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2362
a1beca85
SM
2363 * progmodes/verilog-mode.el (verilog-pretty-expr):
2364 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2365 verilog, such as += *= and the like.
2366 (verilog-assignment-operator-re): Regular expression to find the
2367 assigment operator in a verilog assignment.
2368 (verilog-assignment-operation-re): Regular expression to find an
2369 assignment statement for pretty-expr.
2370 (verilog-in-attribute-p): Query returns true if point is in an
2371 attribute context; used to skip these for expression line up from
2372 pretty-expr.
2373 (verilog-in-parameter-p): Query returns true if point is in an
2374 parameter definition context; used to skip these for expression
2375 line up from pretty-expr.
2376 (verilog-in-parenthesis-p): Query returns true if point is in a
2377 parenthetical expression, specifically ( ) but not [ ] or { };
2378 used by pretty-expr.
2379 (verilog-just-one-space): If there is no space, don't add one.
2380 (verilog-get-lineup-indent-2): Specifically skip just attribute
2381 contexts for expression lineup, rather than skipping all
2382 parenthetical expressions.
2383 (verilog-calculate-indent): Fix comment, and fix indent.
2384 (verilog-do-indent): Indent declarations in lists (suggested by
2385 Joachim Lechner).
2386 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2387 skeleton items.
2388 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2389 by Alain Mellan).
2390
1bbe96b2 23912011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2392
2393 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2394 parameters with embedded comments. Reported by Ray Stevens.
2395 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2396 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2397 Reported by Tim Holt.
2398 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2399 instantiated by upper module causing wrong expansion until AUTOed a
2400 second time. Reported by K C Buckenmaier.
2401 (verilog-diff-auto): Fix showing .* as a difference when
2402 `verilog-auto-star-save' off. Reported by Dan Dever.
2403 (verilog-auto-reset, verilog-read-always-signals)
2404 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2405 temporary signals in reset list if
2406 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2407 style to each signal's assignment type, bug381.
2408 Reported by Thomas Esposito.
6288f0ca
WS
2409 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2410 (verilog-uvm-statement-re): Support UVM indentation and
2411 highlighting, with old OVM keywords only.
a1beca85 2412 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2413 Support AUTOTIEOFF creating non-wire data types.
2414 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2415 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2416 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2417 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2418 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2419 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2420 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2421 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2422 non-numeric vector width. Reported by Alex Reed.
2423 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2424 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2425 (verilog-auto-delete-trailing-whitespace):
2426 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2427 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2428 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2429 Fix verilog-scan-cache corruption when running user AUTO expansion
2430 hooks that call indentation routines.
2431 (verilog-simplify-range-expression): Fix typo ignoring lower case
2432 identifiers.
2433 (verilog-delete-auto): Fix delete-autos to also remove user created
2434 automatics, as long as they start with AUTO.
2435 (verilog-batch-diff-auto, verilog-diff-auto)
2436 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2437 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2438 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2439 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2440 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2441 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2442 is disabled and its cache will get corrupt, causing AUTOS not to
2443 expand. Instead use only -quick functions.
2444 (verilog-scan-region): Fix scanning over escaped quotes.
2445 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2446 (verilog-re-search-backward-quick)
2447 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2448 related functions now ignore strings, to fix misparsing of strings
2449 with magic comments embedded in them.
a1beca85
SM
2450 (verilog-read-auto-template):
2451 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2452 Reported by Brad Dobbie.
2453 (verilog-read-auto-template):
2454 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2455 Reported by Brad Dobbie.
6288f0ca
WS
2456 (verilog-auto-inst, verilog-auto-inst-param)
2457 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2458 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2459 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2460 debugging templates without merge conflicts, bug357.
2461 Reported by Brad Dobbie.
2462 (verilog-read-auto-template):
2463 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2464 Reported by Brad Dobbie.
2465 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2466 abbrevs so user won't be asked to save.
2467 (verilog-read-auto-lisp-present): Fix to start at beginning of
2468 buffer in case called outside of verilog-auto.
2469 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2470 to "X-2". Reported by Matthew Myers.
2471 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2472 all inputs from module templates. Reported by Leith Johnson.
2473 (verilog-module-inside-filename-p): Fix locating programs as with
2474 modules.
2475 (verilog-auto-inst-port): Fix vl-width expressions when using
2476 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2477 (verilog-decls-get-regs, verilog-decls-get-signals,
2478 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2479 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2480 verilog-read-decls): Combine reg and wire structures into one var
2481 structure to represent SystemVerilog concepts.
2482 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2483 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2484 (verilog-auto-wire-type, verilog-insert-definition):
2485 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2486 SystemVerilog "logic" keyword instead of "wire"/"reg".
2487 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2488 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2489 ifdef or generate if so there's not a driver conflict).
2490 Reported by Matthew Myers.
2491 (verilog-auto-declare-nettype, verilog-insert-definition):
2492 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2493 `default_nettype none. Reported by Julian Gorfajn.
2494 (verilog-read-always-signals-recurse, verilog-read-decls)
2495 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2496 malformed end statement, bug325. Reported by Joshua Wise and
2497 Andrew Drake.
2498 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2499 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2500 when expanding .* in interfaces, bug320.
2501 Reported by Pierre-David Pfister.
6288f0ca 2502 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2503 name and open parenthesis, bug317.
2504 Reported by Pierre-David Pfister.
6288f0ca
WS
2505 (verilog-simplify-range-expression): Fix simplification of
2506 multiplications inside AUTOWIRE connections, bug303.
2507 (verilog-auto-inst-port): Support parameter expansion in
2508 multidimensional arrays.
2509 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2510 after "assert property". Reported by Julian Gorfajn.
2511 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2512 with multiplication, bug303.
2513 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2514 Reported by Jan Frode Lonnum.
2515
1bbe96b2
GM
25162011-11-30 Juanma Barranquero <lekktu@gmail.com>
2517
2518 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2519 (hfy-shell-file-name, hfy-shell):
2520 * international/fontset.el (x-decompose-font-name): Fix typos.
2521
25222011-11-29 Ken Brown <kbrown@cornell.edu>
2523
2524 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2525 (gdb-version): Remove defvar.
2526 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2527 (gdb-gud-context-command, gdb-non-stop-handler)
2528 (gdb-current-context-command, gdb-stopped): Use it.
2529 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2530 (gdb-non-stop-handler): Don't enable pretty-printing here.
2531 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2532 non-stop mode. Use the following.
2533 (gdb-check-target-async): New defun.
2534 (gud-watch, gdb-stopped): Fix whitespace.
2535 (gdb-get-source-file): Don't try to display the source file if
2536 `gdb-main-file' is nil.
2537
25382011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * align.el: Try to generate fewer markers (bug#10047).
2541 (align--set-marker): New macro.
2542 (align-region): Use it.
2543
c935221f
SM
25442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2547
e70b5064
CY
25482011-11-29 Chong Yidong <cyd@gnu.org>
2549
2550 * indent.el (indent-for-tab-command, indent-according-to-mode):
2551 Doc fix.
2552 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2553
f3af92b7
MA
25542011-11-29 Michael Albinus <michael.albinus@gmx.de>
2555
2556 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2557 aware of remote file names. (Bug#10124)
2558
ed472be9
CY
25592011-11-29 Chong Yidong <cyd@gnu.org>
2560
2561 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2562
24510c22
SM
25632011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * files.el (find-file): Don't use force-same-window (bug#10144).
2566 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2567 use pop-to-buffer if the selected window can't be used.
2568 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2569
c60c3703
EZ
25702011-11-28 Eli Zaretskii <eliz@gnu.org>
2571
2572 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2573 special-mode-map.
2574
e95def75
CY
25752011-11-28 Chong Yidong <cyd@gnu.org>
2576
2577 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2578
c3f1c606
NR
25792011-11-27 Nick Roberts <nickrob@snap.net.nz>
2580
2581 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2582 gdb-get-source-file-list on gdb-create-source-file-list.
2583
00db469c
EZ
25842011-11-26 Eli Zaretskii <eliz@gnu.org>
2585
2586 * whitespace.el (whitespace-newline): Use a different foreground
2587 color for 16-color light-background displays.
2588
4ad3bc2a
CY
25892011-11-24 Chong Yidong <cyd@gnu.org>
2590
2591 * window.el (display-buffer--special-action): Doc fix.
2592
e9fce1ac
JB
25932011-11-25 Juanma Barranquero <lekktu@gmail.com>
2594
2595 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2596 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2597 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2598 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2599 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2600 (avl-tree-stack-first):
2601 * emacs-lisp/cconv.el (cconv--analyse-use):
2602 * net/gnutls.el (gnutls-negotiate): Fix typos.
2603
cb825e5d
GM
26042011-11-24 Glenn Morris <rgm@gnu.org>
2605
3adbe224
GM
2606 * lpr.el (lpr-windows-system, lpr-lp-system):
2607 * mail/binhex.el (binhex-begin-line):
2608 * progmodes/grep.el (grep-history, grep-find-history):
2609 * textmodes/flyspell.el:
2610 * vc/pcvs-defs.el (cvs-global-menu):
2611 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2612 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2613 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2614
321decc8
GM
2615 * net/tls.el: Fix case of "GnuTLS".
2616
420b63ad
GM
2617 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2618
cb825e5d
GM
2619 * version.el (emacs-build-system): Give it a doc-string.
2620
a0649f08
JL
26212011-11-24 Juri Linkov <juri@jurta.org>
2622
2623 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2624
c0bc0fd4
GM
26252011-11-24 Glenn Morris <rgm@gnu.org>
2626
2627 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2628 if called on a non-mime message just toggle the headers. (Bug#8006)
2629
20db1522
JB
26302011-11-24 Juanma Barranquero <lekktu@gmail.com>
2631
2632 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2633 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2634 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2635 (allout-rebullet-heading, allout-open-sibtopic)
2636 (allout-toggle-current-subtree-encryption)
2637 (allout-toggle-subtree-encryption, allout-encrypt-string)
2638 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2639 (allout-distinctive-bullets-string, allout-auto-activation):
2640 * window.el (window-normalize-buffer-to-display):
2641 * progmodes/verilog-mode.el (verilog-batch-indent):
2642 * textmodes/bibtex.el (bibtex-field-braces-opt)
2643 (bibtex-field-strings-opt):
2644 * vc/cvs-status.el (cvs-tree-merge):
2645 Fix typos.
2646
7262a87c
MA
26472011-11-23 Michael Albinus <michael.albinus@gmx.de>
2648
2649 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2650 `non-essential' to t, in order to avoid remote connections.
2651
283430a1
EZ
26522011-11-23 Eli Zaretskii <eliz@gnu.org>
2653
a1beca85
SM
2654 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2655 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2656 case-insensitively.
2657
d2992a38
ML
26582011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2659
2660 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2661
50419064
GM
26622011-11-23 Glenn Morris <rgm@gnu.org>
2663
da94eca1
GM
2664 * paths.el (rmail-file-name): Reformat the doc-string so that it
2665 is picked up.
2666
9aac4de2
GM
2667 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2668 (rmail-auto-file): Ignore case in the "special" field names,
2669 as mail-fetch-field does for all others.
2670
8038d2d2
GM
2671 * mail/rmail.el (rmail-forward):
2672 * mail/rmailkwd.el (rmail-set-label):
2673 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2674 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2675
f3fe222a
GM
2676 * mail/rmail.el (rmail-current-message): Doc fix.
2677
50419064
GM
2678 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2679
28109f49
SM
26802011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2683
394c65f1
GM
26842011-11-22 Glenn Morris <rgm@gnu.org>
2685
2686 * mail/rmailmm.el (test-rmail-mime-handler)
2687 (test-rmail-mime-bulk-handler)
2688 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2689
f2a0aa3a
JL
26902011-11-21 Juri Linkov <juri@jurta.org>
2691
1154d12e
JB
2692 * calc/calc.el (calc-read-key-sequence):
2693 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2694
9c34a344
LMI
26952011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2696
2697 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2698 Tell the caller that the next line needs recomputation, even
2699 though it doesn't start a sexp (bug#10094).
2700
f04a3be9
SM
27012011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2704
7978747f
SM
27052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2706
f04a3be9
SM
2707 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2708 Use force-same-window.
7978747f 2709
fe7a3057
JB
27102011-11-20 Juanma Barranquero <lekktu@gmail.com>
2711
2712 * descr-text.el (describe-char-unicode-data):
2713 * json.el (json-string-escape):
2714 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2715 (Footnote-unicode, Footnote-style-p):
2716 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2717
24901d61
CY
27182011-11-20 Chong Yidong <cyd@gnu.org>
2719
2720 * window.el (replace-buffer-in-windows): Restore interactive spec.
2721
bac7ff22
SM
27222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2723
24f3d7b9
SM
2724 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2725
bac7ff22
SM
2726 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2727 (byte-compile-global-not-obsolete-vars): New var.
2728 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2729 Use it.
2730 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2731
cd1181db
JB
27322011-11-20 Juanma Barranquero <lekktu@gmail.com>
2733
2734 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2735 * progmodes/pascal.el (electric-pascal-equal):
2736 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2737 * xml.el (xml-substitute-special): Fix typos.
2738
7fb18e9e
GM
27392011-11-20 Glenn Morris <rgm@gnu.org>
2740
2741 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2742 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2743 Doc fixes.
2744 (rmail-decode-mime-charset): Mark as obsolete.
2745
2746 * mail/rmailsum.el (rmail-message-regexp-p-1):
2747 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2748 Before using mime functions, check they are set. (Bug#10077)
2749
d5a6b3ba
JL
27502011-11-19 Juri Linkov <juri@jurta.org>
2751
2752 * info.el (Info-finder-find-node): Use `package--builtins' instead
2753 of `package-alist'. Use node names formed by the pattern "Keyword "
2754 and the keyword name.
2755
e981b61f
AS
27562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2757
1d00653d 2758 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2759
3ffbc301
JL
27602011-11-19 Juri Linkov <juri@jurta.org>
2761
2762 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2763 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2764 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2765 `old-history', `old-history-forward'. Add let-binding
2766 `window-selected'. Remove calls to `kill-buffer',
2767 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2768 before calling `Info-find-node', so `Info-find-node-2' will reread
2769 the Info file. Restore window positions only when `window-selected'
2770 is non-nil.
2771
30c62133
JL
27722011-11-19 Juri Linkov <juri@jurta.org>
2773
2774 * isearch.el (isearch-lazy-highlight-new-loop):
2775 Remove condition `(not isearch-error)'. (Bug#9918)
2776
2777 * misearch.el (multi-isearch-search-fun): Add condition
2778 `(not bound)' to ignore lazy-highlighting search.
2779 Add the search-failed message "end of multi" when the end of
2780 multi-sequence is reached. Uncapitalize the search-failed
2781 message "Repeat for next buffer".
2782
2783 * info.el (Info-search): Add the search-failed message
2784 "end of the manual" when the end of the manual is reached
2785 in Isearch mode.
2786
645ca9cf
JL
27872011-11-19 Juri Linkov <juri@jurta.org>
2788
2789 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2790 Use non-destructive `remove' instead of `delete' because
2791 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2792 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2793
df754f66
JL
27942011-11-19 Juri Linkov <juri@jurta.org>
2795
2796 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2797 to nil instead of binding `search-ring' and `regexp-search-ring'.
2798 (Bug#9185)
2799
0e23d96a
EZ
28002011-11-19 Eli Zaretskii <eliz@gnu.org>
2801
2802 * simple.el (line-move): Force movement by logical lines for any
2803 hscrolled window, not only when auto-hscroll-mode is on.
2804 (line-move-visual): Update doc string to that effect. (Bug#10076)
2805
8a6ccb66
AS
28062011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2807
2808 * language/european.el (macintosh): Define as alias for mac-roman.
2809
49ae5b39
EZ
28102011-11-19 Eli Zaretskii <eliz@gnu.org>
2811
2812 * mail/rmailmm.el (rmail-mime-display-header)
2813 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2814 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2815 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2816 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2817 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2818 of a raw aref.
2819 (rmail-mime-entity-segment): To get past the tagline, move forward
2820 2 more lines, to account for the 2 empty lines that precede and
2821 follow the line with the buttons.
2822 (rmail-mime-update-tagline): Move one more line, to get past the
2823 empty line that follows the buttons in the tagline. (Bug#9520)
2824
c56cad4a
MR
28252011-11-19 Martin Rudalics <rudalics@gmx.at>
2826
2827 * window.el (window-max-delta-1, window-min-delta-1)
2828 (window-min-size-1, window-state-get-1, window-state-put-1)
2829 (window-state-put-2): Use "window--" prefix.
2830
cbe71af3
SM
28312011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2ad52c60
SM
2833 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2834 (smie-warning-count): New var.
2835 (smie-set-prec2tab): Use it.
2836 (smie-bnf->prec2): Improve warnings. Add docstring.
2837 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2838 (smie-bnf--set-class): New function.
2839 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2840 corner case.
2841
6944dbc1
SM
2842 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2843 (compilation-error-properties, compilation-move-to-column):
2844 Handle compilation-first-column while in the target buffer.
2845
c400c4d7
SM
2846 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2847 Don't hardcode point-min==1.
2848
6dbe3e96
SM
2849 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2850 (eshell-rewrite-for-command): Remove workaround.
2851 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2852 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2853 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2854
cbe71af3
SM
2855 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2856
a8e1496d
GM
28572011-11-17 Glenn Morris <rgm@gnu.org>
2858
2859 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2860 Ignore buffer-local generated-autoload-file if it is the same
2861 as the global value. (Bug#10049)
2862
df85d315
JB
28632011-11-17 Juanma Barranquero <lekktu@gmail.com>
2864
2865 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2866 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2867 (reftex-toc-previous-heading, reftex-toc-max-level)
2868 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2869 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2870 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2871 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2872 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2873 (reftex-toc-rename-label, reftex-toc-visit-location)
2874 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2875 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2876 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2877 leaving "*toc*" only for references to the buffer.
2878
a0c2d0ae
MR
28792011-11-17 Martin Rudalics <rudalics@gmx.at>
2880
2881 * window.el (window-resize, delete-window, split-window):
2882 Replace window-splits by window-combination-resize.
1d00653d 2883 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2884
35c0bac8
GM
28852011-11-17 Glenn Morris <rgm@gnu.org>
2886
2887 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2888 Make bash entry derive from sh entry, not shell entry.
2889
d0c8fc8a
MA
28902011-11-16 Michael Albinus <michael.albinus@gmx.de>
2891
d0c8fc8a
MA
2892 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2893 properties of linked files. (Bug#9879)
2894
7262a87c
MA
2895 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2896 local file name.
2897
7877f373
JB
28982011-11-16 Juanma Barranquero <lekktu@gmail.com>
2899
2900 * menu-bar.el (menu-bar-file-menu):
2901 * printing.el (pr-ps-utility):
2902 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2903 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2904 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2905 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2906 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2907 (icalendar--convert-cyclic-to-ical)
2908 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2909 (icalendar--convert-ical-to-diary)
2910 (icalendar--convert-recurring-to-diary)
2911 (icalendar--convert-non-recurring-all-day-to-diary)
2912 (icalendar-import-format-sample):
2913 * progmodes/idlw-shell.el (idlwave-shell-mode):
2914 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2915 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2916 (vhdl-ps-print-init): Fix typos.
2917
10649b82
KM
29182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2919
9d0cfcd6
GM
2920 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2921 FSF and collapse date sequence, obscure author/maintainer email address
2922 better, remove extra version line, track relocation of author's webpage.
10649b82 2923
9d0cfcd6
GM
2924 * progmodes/python.el (python-pdbtrack-input-prompt)
2925 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2926 regular python pdb prompts. Adjustments shamelessly taken exactly as
2927 suggested in EmacsWiki page (tiny change):
2928 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2929
58179cce
JB
29302011-11-16 Juanma Barranquero <lekktu@gmail.com>
2931
2932 * expand.el (expand-pos, expand-index, expand-point):
2933 Remove redundant info from docstring.
2934 (expand-add-abbrevs): Doc fix.
2935 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2936 (expand-sample-perl-mode-expand-list): Fix typos.
2937
2938 * net/dbus.el (dbus-event-member-name):
2939 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2940 * term/pc-win.el (msdos-create-frame-with-faces):
2941 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2942
b6f67890
MR
29432011-11-16 Martin Rudalics <rudalics@gmx.at>
2944
2945 * window.el (split-window, window-state-get-1)
2946 (window-state-put-1, window-state-put-2): Rename occurrences of
2947 window-nest to window-combination-limit.
1d00653d 2948 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2949
ce7ddba0
CY
29502011-11-16 Chong Yidong <cyd@gnu.org>
2951
2952 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2953 regexp (Bug#10033).
2954
3ae704f4
SM
29552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2958 `completing-read' will remove *Completions* and will preserve
2959 current-buffer for us.
2960 (tmm-add-prompt): Users of *Completions* will always (re)set its
2961 major mode.
2962 (tmm-old-comp-map): Remove.
2963
6ad1cdde
GM
29642011-11-16 Glenn Morris <rgm@gnu.org>
2965
2966 * mail/rmailedit.el: Require rmailmm when compiling.
2967 (rmail-old-mime-state): New declaration.
2968 (rmail-edit-current-message): If editing a mime message,
2969 edit the "raw" message from the mbox buffer.
2970 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2971
d20faa20
GM
29722011-11-15 Glenn Morris <rgm@gnu.org>
2973
2974 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2975 which wasn't being used. Add optional arg to force given state.
2976 (rmail-mime): Add optional arg to force given state.
2977
c7015153
JB
29782011-11-15 Juanma Barranquero <lekktu@gmail.com>
2979
2980 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2981 * frame.el (display-mm-dimensions-alist):
2982 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2983 (outline-move-subtree-down):
2984 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2985 (newsticker--treeview-do-get-node):
2986 * net/quickurl.el (quickurl-list-buffer-name):
2987 * progmodes/dcl-mode.el (dcl-mode):
2988 * progmodes/gdb-mi.el (gdb-mapcar*):
2989 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2990
45261b50
GM
29912011-11-15 Glenn Morris <rgm@gnu.org>
2992
2993 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2994 in a boolean sense, so just make it a boolean, and fix the doc.
2995 (rmail-show-mime-function, rmail-mime-feature)
2996 (rmail-require-mime-maybe): Doc fixes.
2997 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2998
2999 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3000
0d26e0b6
JB
30012011-11-15 Juanma Barranquero <lekktu@gmail.com>
3002
3003 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3004 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3005 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3006 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3007
447f30f6
GM
30082011-11-15 Glenn Morris <rgm@gnu.org>
3009
672b871d
GM
3010 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3011 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3012 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3013 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3014 (rmail-mime, rmail-show-mime): Doc fixes.
3015
f6aa5bb1
GM
3016 * term/ns-win.el (mode-line-frame-identification):
3017 Leave it alone. (Bug#10051)
3018
947cd66b
GM
3019 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3020
447f30f6
GM
3021 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3022 Handle empty buffers. (Bug#9978)
3023
0b381c7e
JB
30242011-11-14 Juanma Barranquero <lekktu@gmail.com>
3025
3026 * international/mule.el (define-charset):
3027 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3028 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3029 * progmodes/verilog-mode.el (verilog-backward-token):
3030 * textmodes/ispell.el (lookup-words):
3031 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3032
71e027ac
GM
30332011-11-14 Glenn Morris <rgm@gnu.org>
3034
56632ce4
GM
3035 * progmodes/executable.el
3036 (executable-make-buffer-file-executable-if-script-p):
3037 Handle file-modes returning nil.
3038
40500957
GM
3039 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3040 message - not necessary, and causes problems. (Bug#9831)
3041
071c2340
GM
3042 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3043
d3cfca60
GM
3044 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3045
71e027ac
GM
3046 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3047 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3048 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3049
89d61221
MR
30502011-11-12 Martin Rudalics <rudalics@gmx.at>
3051
3052 * window.el (window-resize, delete-window): Use window-splits
3053 variable instead of function.
3054 (window-state-get-1, window-state-put-2, window-state-put):
3055 Don't deal with windows' splits status.
3056
98282f6f
GM
30572011-11-12 Glenn Morris <rgm@gnu.org>
3058
3059 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3060 (apropos-documentation): Doc fixes.
3061
40a8bdf6
JB
30622011-11-11 Juanma Barranquero <lekktu@gmail.com>
3063
3064 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3065 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3066
65bd19ff
SM
30672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * electric.el (electric-indent-post-self-insert-function): Make it
3070 possible for a char to only indent in some circumstances.
3071 (electric-indent-mode): Simplify.
3072
54f9154c
MR
30732011-11-11 Martin Rudalics <rudalics@gmx.at>
3074
3075 * window.el (windows-with-parameter): Remove unused function.
3076 (windows-at-side): Rename to window-at-side-list.
3077 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3078 (window-side-check, window-size-ignore, window-size-fixed-1)
3079 (window-in-direction-2): Prefix with "window--".
3080 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3081
68cbc58b
GM
30822011-11-11 Glenn Morris <rgm@gnu.org>
3083
3084 * subr.el (eval-after-load): If FILE is already loaded,
3085 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3086
b2621720
GM
30872011-11-10 Glenn Morris <rgm@gnu.org>
3088
9a4de110
GM
3089 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3090 Call svn via vc-svn-command rather than vc-do-command.
3091 (vc-svn-command): Add --non-interactive. (Bug#9993)
3092 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3093
b2621720
GM
3094 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3095 Add toggle-read-only. (Bug#7292)
3096 * files.el (toggle-read-only): Mention that it should only
3097 be used interactively. (Bug#10006)
3098
1dce7193
SM
30992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3100
d9ac1a1e
SM
3101 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3102 Adjust regexp for OCaml warnings.
3103
0c325082
SM
3104 * electric.el (electric-pair-post-self-insert-function): Let user
3105 turn it off buffer-locally (bug#9932).
3106
90132c14
SM
3107 * progmodes/python.el (python-beginning-of-statement):
3108 Rewrite (bug#2703).
3109
1dce7193
SM
3110 * progmodes/compile.el: Better handle TABs (bug#9749).
3111 (compilation-internal-error-properties)
3112 (compilation-next-error-function): Obey the target buffer's
3113 compilation-error-screen-columns.
3114
c4e7c63a
JB
31152011-11-09 Juanma Barranquero <lekktu@gmail.com>
3116
3117 * progmodes/meta-mode.el: Remove obsolete comments.
3118 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3119 Fix typos in docstrings.
3120
2cffd681
MR
31212011-11-09 Martin Rudalics <rudalics@gmx.at>
3122
3123 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3124 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3125 (window--resizable): New function. Make all callers of
3126 window-resizable call window--resizable instead.
3127 (window-resizable): Rewrite in terms of window--resizable.
3128
0edcba87
GM
31292011-11-08 Glenn Morris <rgm@gnu.org>
3130
3131 * progmodes/delphi.el (delphi-mode-syntax-table):
3132 Let define-derived-mode define a proper syntax table. (Bug#9994)
3133
4b0d61e3
SM
31342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3135
3136 * window.el: Stay away from defsubst.
3137 (window-list-no-nils): Remove.
3138 (window-state-get-1, window-state-get): Use backquote instead.
3139
cd394be1 31402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3141
4b0d61e3 3142 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3143 Fix incorrect use of default argument in `completing-read'.
3144
e1c2c6f2
MR
31452011-11-08 Martin Rudalics <rudalics@gmx.at>
3146
3147 * window.el (display-buffer-function, special-display-function):
3148 Mention display-buffer-record-window but do not mention
3149 help-setup parameter in doc-strings.
b3f4a882 3150 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3151
105216ed
CY
31522011-11-08 Chong Yidong <cyd@gnu.org>
3153
3154 * window.el (window-total-height, window-total-width): Doc fix.
3155 (window-body-size): Move from C.
3156 (window-body-height, window-body-width): Move to C.
3157
0a9f9ab5
SM
31582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * window.el: Make special-display like display-buffer-alist (bug#9532).
3161 (display-buffer--special-action): New function, morphed
3162 from display-buffer--special.
3163 (display-buffer): Use it to handle special-display-buffers at higher
3164 priority (just after display-buffer-alist).
3165 (display-buffer-fallback-action, display-buffer--other-frame-action)
3166 (pop-to-buffer-same-window): Remove display-buffer--special.
3167
a769dd15
GM
31682011-11-07 Glenn Morris <rgm@gnu.org>
3169
3170 * calendar/cal-menu.el (cal-menu-set-date-title):
3171 Do nothing if not in a calendar. (Bug#9976)
3172
05a61ee3
SM
31732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * files.el (find-file): Always use selected-window.
3176
be7f5545
MR
31772011-11-07 Martin Rudalics <rudalics@gmx.at>
3178
3179 * window.el (window-combinations): Make WINDOW argument
3180 mandatory. Rewrite doc-string.
3181 (walk-window-subtree, window-atom-check, window-min-delta)
3182 (window-max-delta, window--resize-this-window)
3183 (window--resize-root-window-vertically, window-tree)
3184 (balance-windows, window-state-put): Rewrite doc-strings as to
3185 not mention the term "subwindow".
3186 (window--resize-subwindows-skip-p): Rename to
3187 window--resize-child-windows-skip-p.
3188 (window--resize-subwindows-normal): Rename to
3189 window--resize-child-windows-normal.
3190 (window--resize-subwindows): Rename to
3191 window--resize-child-windows.
3192 (window-or-subwindow-p): Rename to window--in-subtree-p.
3193
3c6702ef
ML
31942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3195
3196 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3197 Ensure that mbox format messages end in two newlines (Bug#9974).
3198
49745b39
CY
31992011-11-06 Chong Yidong <cyd@gnu.org>
3200
3201 * window.el (window-combination-p): Function deleted; its
3202 side-effect is not used in any existing code.
3203 (window-combinations, window-combined-p): Call window-*-child
3204 directly.
3205
24300f5f
CY
32062011-11-05 Chong Yidong <cyd@gnu.org>
3207
3208 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3209 (window-size-ignore, window-state-get): Callers changed.
3210 (window-normalize-window): Rename from window-normalize-any-window.
3211 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3212 (window-normalize-live-window): Delete.
447f16b8
CY
3213 (window-combination-p, window-combined-p, window-combinations)
3214 (walk-window-subtree, window-atom-root, window-min-size)
3215 (window-sizable, window-sizable-p, window-size-fixed-p)
3216 (window-min-delta, window-max-delta, window-resizable)
3217 (window-resizable-p, window-full-height-p, window-full-width-p)
3218 (window-current-scroll-bars, window-point-1, set-window-point-1)
3219 (window-at-side-p, window-in-direction, window-resize)
3220 (adjust-window-trailing-edge, maximize-window, minimize-window)
3221 (window-deletable-p, delete-window, delete-other-windows)
3222 (record-window-buffer, unrecord-window-buffer)
3223 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3224 (quit-window, split-window, window-state-put)
3225 (set-window-text-height, fit-window-to-buffer)
3226 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3227
89bd5ee1
EZ
32282011-11-04 Eli Zaretskii <eliz@gnu.org>
3229
53479029
EZ
3230 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3231 rfc2047-decode-string.
3232 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3233 warnings.
3234
89bd5ee1
EZ
3235 * window.el (window-body-height, window-body-width): Mention in
3236 the doc string that the return values are in frame's canonical
3237 units. (Bug#9949)
3238
bd17fdee
AM
32392011-11-03 Alan Mackenzie <acm@muc.de>
3240
3241 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3242 change in cc-engine.el.
3243
acc825c5
SM
32442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3247
1885e5b8
MR
32482011-11-02 Martin Rudalics <rudalics@gmx.at>
3249
3250 * window.el (quit-window): Call unrecord-window-buffer after
3251 showing another buffer in the window. (Bug#9937)
acc825c5 3252 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3253
ebe06da9
JB
32542011-11-02 Juanma Barranquero <lekktu@gmail.com>
3255
3256 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3257 Accept status with more than 9 shelves. (Bug#9935)
3258 Reported by Colin D Bennett <colin@gibibit.com>.
3259
4ee88440
MR
32602011-11-01 Martin Rudalics <rudalics@gmx.at>
3261
3262 * help.el (with-help-window): Don't reference
3263 temp-buffer-show-specifiers in doc-string.
3264
08e1d82c
AS
32652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3266
3267 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3268 menu-item.
3269
84bd6e9e
VJL
32702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3271
3272 * whitespace.el: New version 13.2.2.
3273 (whitespace-newline-mode): Disable properly. Reported by Sarah
3274 <EmacsWiki>.
3275
dba0634a
UJ
32762011-10-30 Ulf Jasper <ulf.jasper@web.de>
3277
3278 * net/newst-treeview.el: Remove "Time-stamp".
3279 (newsticker--group-manage-orphan-feeds): Do not call
3280 newsticker--treeview-tree-update.
db22a3c2
JB
3281 (newsticker-treeview-update, newsticker-treeview):
3282 Call newsticker--treeview-tree-update if necessary.
dba0634a 3283
3d8daefe
MR
32842011-10-30 Martin Rudalics <rudalics@gmx.at>
3285
3286 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3287 (window-iso-combinations): Remove "iso-" infix.
3288 Suggested by Chong Yidong.
3d8daefe
MR
3289 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3290 (window-max-delta-1, window-resize, window--resize-siblings)
3291 (window--resize-this-window, adjust-window-trailing-edge)
3292 (split-window, balance-windows-1)
3293 (shrink-window-if-larger-than-buffer):
3294 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3295 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3296
1bc4c3ae
SM
32972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3300 in place (bug#9907).
3301 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3302 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3303 (eshell-structure-basic-command, eshell-rewrite-while-command)
3304 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3305 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3306 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3307 (eshell-do-pipelines-synchronously, eshell-eval-command):
3308 Use backquotes and prefer setq to set.
3309 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3310 (eshell-macrop): Use functionp.
c1e2f5fa 3311 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3312
30b65d9c
CY
33132011-10-30 Chong Yidong <cyd@gnu.org>
3314
3315 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3316 instead of set-mark (Bug#9810).
3317
2d197ffb
CY
33182011-10-30 Chong Yidong <cyd@gnu.org>
3319
3320 * window.el (split-window-below, split-window-right): Rename from
3321 split-window-above-each-other and split-window-side-by-side
3322 respectively. All callers changed.
3323 (split-window-sensibly, split-window-sensibly): Use them.
3324 (split-window-keep-point): Doc fix.
3325
3326 * isearch.el: Add isearch-scroll property to split-window-below
3327 and split-window-right.
3328
3329 * follow.el (follow-mode):
3330 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3331 * progmodes/ada-xref.el (ada-gdb-application):
3332 * emulation/vip.el (vip-buffer-in-two-windows):
3333 * image-dired.el (image-dired-dired-with-window-configuration):
3334 * dired-x.el (dired-do-find-marked-files):
3335 * dired.el (dired-pop-to-buffer):
3336 * bs.el (bs--show-with-configuration):
3337 * vc/emerge.el (emerge-setup-windows):
3338 * textmodes/two-column.el (2C-two-columns):
3339 * textmodes/reftex-toc.el (reftex-toc):
3340 * progmodes/gdb-mi.el (gdb-setup-windows):
3341 * progmodes/fortran.el (fortran-window-create):
3342 * net/newst-treeview.el (newsticker--treeview-window-init):
3343 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3344 * emulation/tpu-edt.el (tpu-gold-map):
3345 * emulation/crisp.el (crisp-mode-map):
3346 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3347
38bb2ca8
CY
33482011-10-29 Chong Yidong <cyd@gnu.org>
3349
aa4de341
CY
3350 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3351
e1eb5385
CY
3352 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3353
5d2ece3c
CY
3354 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3355 forged Ispell output (Bug#7904).
3356
38bb2ca8
CY
3357 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3358
d0af9f77
SM
33592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * doc-view.el: Avoid ugly errors about not finding nil.
3362 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3363 (doc-view-dvipdf-program, doc-view-unoconv-program)
3364 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3365 Avoid nil or absolute file name as default value.
3366 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3367
52bedd34
AM
33682011-10-28 Alan Mackenzie <acm@muc.de>
3369
db22a3c2 3370 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3371
7e43cfa5
AM
33722011-10-28 Alan Mackenzie <acm@muc.de>
3373
3374 Amend the handling of c-beginning/end-of-defun in nested declaration
3375 scopes.
3376
52bedd34
AM
3377 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3378 cc-langs.el. Change it to a defcustom.
7e43cfa5 3379
52bedd34
AM
3380 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3381 cc-vars.el.
7e43cfa5 3382
d0af9f77
SM
3383 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3384 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3385
52bedd34 3386 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3387 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3388 (c-widen-to-enclosing-decl-scope): New function.
3389 (c-while-widening-to-decl-block): New macro.
3390 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3391 outward for defun boundaries, and correspondingly change symbol
3392 `respect-enclosure' to `go-outward'.
3393 (c-declaration-limits): Change algorithm to report only the "innermost"
3394 defun's boundaries.
3395
1a2ce9ee
DD
33962011-10-28 Deniz Dogan <deniz@dogan.se>
3397
3398 * net/rcirc.el (rcirc-mode): Use hard newlines.
3399
bc97a826
AM
34002011-10-28 Alan Mackenzie <acm@muc.de>
3401
3402 Amend to indent and fontify macros "which include their own semicolon"
3403 correctly, using the "virtual semicolon" mechanism.
3404
52bedd34 3405 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3406
d0af9f77 3407 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3408 Recode to scan one line at a time rather than having \n and \r
58179cce 3409 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3410 (c-forward-label): Amend for virtual semicolons.
58179cce 3411 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3412
52bedd34
AM
3413 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3414 of the new C macros.
bc97a826 3415
52bedd34 3416 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3417 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3418 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3419 (c-opt-cpp-macro-define): Make into a full language variable.
3420 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3421 AWK Mode (including \n, \r) removed, no longer needed.
3422
d0af9f77
SM
3423 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3424 Invoke c-make-macro-with-semi-re.
bc97a826 3425
52bedd34
AM
3426 * progmodes/cc-vars.el (c-macro-with-semi-re):
3427 (c-macro-names-with-semicolon): New variables.
58179cce 3428 (c-make-macro-with-semi-re): New function.
bc97a826 3429
7a6c0941
SM
34302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * vc/log-edit.el: Fill empty field rather than adding new one.
3433 (log-edit-add-field): New function.
3434 (log-edit-insert-changelog): Use it.
3435
b0c4cdcf
ML
34362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3437
3438 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3439
ee1f1da9
SM
34402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3443 (gdb--check-interpreter): New function.
3444 (gdb): Use it.
3445
51bc5f8b
GM
34462011-10-27 Glenn Morris <rgm@gnu.org>
3447
416a2c45
GM
3448 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3449 (least-positive-float, least-negative-float)
3450 (least-positive-normalized-float, least-negative-normalized-float)
3451 (float-epsilon, float-negative-epsilon):
3452 Remove unnecessary declarations.
3453
3454 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3455 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3456 (least-positive-float, least-negative-float)
3457 (least-positive-normalized-float, least-negative-normalized-float)
3458 (float-epsilon, float-negative-epsilon): Add doc-strings,
3459 based on those in cl.texi.
3460
51bc5f8b
GM
3461 * files.el (set-visited-file-name): If the major-mode changed,
3462 reload the local variables. (Bug#9796)
3463
15de15c6
CY
34642011-10-27 Chong Yidong <cyd@gnu.org>
3465
3466 * subr.el (change-major-mode-after-body-hook): New hook.
3467 (run-mode-hooks): Run it.
3468
ee1f1da9
SM
3469 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3470 Use change-major-mode-before-body-hook.
15de15c6
CY
3471
3472 * simple.el (fundamental-mode):
3473 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3474 change introducing fundamental-mode-hook.
3475
5430d399
JB
34762011-10-26 Juanma Barranquero <lekktu@gmail.com>
3477
acc825c5 3478 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3479
ad74a69e
MA
34802011-10-26 Michael Albinus <michael.albinus@gmx.de>
3481
3482 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3483 tramp.el explicitly. (Bug#7583)
ad74a69e 3484
71d4c2a5
SM
34852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * progmodes/octave-mod.el:
3488 * progmodes/octave-inf.el: Update maintainer.
3489
b1f6fa26
CY
34902011-10-26 Chong Yidong <cyd@gnu.org>
3491
3492 * subr.el (with-wrapper-hook): Rewrite doc.
3493
3f04efd6
MA
34942011-10-25 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3497 filenames "/method:foo:". (Bug#9793)
3f04efd6 3498
410488d3
SM
34992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3502 (bug#9865).
3503
c1ebb47e
GM
35042011-10-24 Glenn Morris <rgm@gnu.org>
3505
3506 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3507
7f5c46c7
MA
35082011-10-24 Michael Albinus <michael.albinus@gmx.de>
3509
3510 * notifications.el: Add the requirement of a running D-Bus session
3511 bus to the Commentary.
3512
db2440b6
JL
35132011-10-24 Juri Linkov <juri@jurta.org>
3514
3515 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3516 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3517 (Bug#9364)
3518
feecf435
JL
35192011-10-24 Juri Linkov <juri@jurta.org>
3520
3521 * info.el (Info-following-node-name-re): Add newline to the list
3522 of allowed characters for leading space. (Bug#9824)
3523
a3839de2
SM
35242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3525
acc825c5
SM
3526 * progmodes/octave-inf.el (inferior-octave-mode-map):
3527 Fix C-c C-h binding.
a3839de2
SM
3528 * progmodes/octave-mod.el (octave-help): Remove.
3529
09388e76
MA
35302011-10-23 Michael Albinus <michael.albinus@gmx.de>
3531
3532 Sync with Tramp 2.2.3.
3533
3534 * net/tramp-cache.el (top): Pacify byte-compiler using
3535 `init-file-user' and `site-run-file'.
3536
3537 * net/trampver.el: Update release number.
3538
86c60681
CY
35392011-10-23 Chong Yidong <cyd@gnu.org>
3540
3541 * files.el (toggle-read-only): Remove obsolete comment about
3542 version control.
3543
3544 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3545 for toggle-read-only. Note that this hasn't called vc-next-action
3546 since 2008-05-02, though it wasn't documented at the time.
3547
a3839de2
SM
3548 * vc/ediff-init.el (ediff-toggle-read-only-function):
3549 Use toggle-read-only.
86c60681 3550
cd5495ff
AM
35512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3552
3553 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3554 of c-parse-state.
3555
00b77525 3556 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3557 correct faulty logical expression.
cd5495ff
AM
3558 (c-parse-state-state, c-record-parse-state-state):
3559 (c-replay-parse-state-state): New defvar/defuns.
3560 (c-debug-parse-state): Use new functions.
3561
42ee24ed
MR
35622011-10-22 Martin Rudalics <rudalics@gmx.at>
3563
3564 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3565 last fix. Use window-in-direction correctly.
42ee24ed 3566
a7dee7e7
CY
35672011-10-21 Chong Yidong <cyd@gnu.org>
3568
3569 * progmodes/idlwave.el (idlwave-mode):
3570 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3571 require-final-newline; that's done in prog-mode.
3572 Suggested by Stefan Monnier.
a7dee7e7 3573
e07b9a6d
MR
35742011-10-21 Martin Rudalics <rudalics@gmx.at>
3575
3576 * mouse.el (mouse-drag-window-above)
3577 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3578 (mouse-drag-mode-line-1, mouse-drag-header-line)
3579 (mouse-drag-vertical-line-rightward-window): Remove.
3580 (mouse-drag-line): New function.
3581 (mouse-drag-mode-line, mouse-drag-header-line)
3582 (mouse-drag-vertical-line): Call mouse-drag-line.
3583 * window.el (window-at-side-p, windows-at-side): New functions.
3584
7e1361d9
UM
35852011-10-21 Ulrich Mueller <ulm@gentoo.org>
3586
3587 * tar-mode.el (tar-grind-file-mode):
3588 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3589
30fcaf3a
CY
35902011-10-21 Chong Yidong <cyd@gnu.org>
3591
3592 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3593 * progmodes/vera-mode.el (vera-mode):
3594 Use mode-require-final-newline.
30fcaf3a 3595
516eddb0
GM
35962011-10-20 Glenn Morris <rgm@gnu.org>
3597
db22a3c2 3598 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3599
10d5f513
CS
36002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3601
3602 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3603
ac6c8639
CY
36042011-10-20 Chong Yidong <cyd@gnu.org>
3605
3606 * emulation/cua-base.el (cua-mode):
3607 * mail/footnote.el (footnote-mode):
3608 * mail/mailabbrev.el (mail-abbrevs-mode):
3609 * net/xesam.el (xesam-minor-mode):
3610 * progmodes/bug-reference.el (bug-reference-mode):
3611 * progmodes/cap-words.el (capitalized-words-mode):
3612 * progmodes/compile.el (compilation-minor-mode)
3613 (compilation-shell-minor-mode):
3614 * progmodes/gud.el (gud-tooltip-mode):
3615 * progmodes/hideif.el (hide-ifdef-mode):
3616 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3617 * progmodes/subword.el (subword-mode):
3618 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3619 * progmodes/which-func.el (which-function-mode):
3620 * term/tvi970.el (tvi970-set-keypad-mode):
3621 * term/vt100.el (vt100-wide-mode):
3622 * textmodes/flyspell.el (flyspell-mode):
3623 * textmodes/ispell.el (ispell-minor-mode):
3624 * textmodes/nroff-mode.el (nroff-electric-mode):
3625 * textmodes/paragraphs.el (use-hard-newlines):
3626 * textmodes/refill.el (refill-mode):
3627 * textmodes/reftex.el (reftex-mode):
3628 * textmodes/rst.el (rst-minor-mode):
3629 * textmodes/sgml-mode.el (html-autoview-mode)
3630 (sgml-electric-tag-pair-mode):
3631 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3632 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3633 * emulation/crisp.el (crisp-mode):
3634 * emacs-lisp/eldoc.el (eldoc-mode):
3635 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3636 minor mode behavior.
3637
aa42ab43
JL
36382011-10-19 Juri Linkov <juri@jurta.org>
3639
3640 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3641 the list of hard-coded chars with escape-glyph face.
3642
89400f1d
SM
36432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3646
305c07f6
MA
36472011-10-19 Michael Albinus <michael.albinus@gmx.de>
3648
3649 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3650 running process.
3651
13754b54
GM
36522011-10-19 Glenn Morris <rgm@gnu.org>
3653
3654 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3655 Ignore ignored files. (Bug#9726)
3656
06e21633
CY
36572011-10-19 Chong Yidong <cyd@gnu.org>
3658
3659 Doc fix for minor modes, stating that an omitted argument enables
3660 the mode unconditionally when called from Lisp.
3661
3662 * abbrev.el (abbrev-mode):
3663 * allout.el (allout-mode):
3664 * autoinsert.el (auto-insert-mode):
3665 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3666 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3667 (global-auto-revert-mode):
3668 * battery.el (display-battery-mode):
3669 * composite.el (global-auto-composition-mode)
3670 (auto-composition-mode):
3671 * delsel.el (delete-selection-mode):
3672 * desktop.el (desktop-save-mode):
3673 * dired-x.el (dired-omit-mode):
3674 * dirtrack.el (dirtrack-mode):
3675 * doc-view.el (doc-view-minor-mode):
3676 * double.el (double-mode):
3677 * electric.el (electric-indent-mode, electric-pair-mode):
3678 * emacs-lock.el (emacs-lock-mode):
3679 * epa-hook.el (auto-encryption-mode):
3680 * follow.el (follow-mode):
3681 * font-core.el (font-lock-mode):
3682 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3683 * help.el (temp-buffer-resize-mode):
3684 * hilit-chg.el (highlight-changes-mode)
3685 (highlight-changes-visible-mode):
3686 * hi-lock.el (hi-lock-mode):
3687 * hl-line.el (hl-line-mode, global-hl-line-mode):
3688 * icomplete.el (icomplete-mode):
3689 * ido.el (ido-everywhere):
3690 * image-file.el (auto-image-file-mode):
3691 * image-mode.el (image-minor-mode):
3692 * iswitchb.el (iswitchb-mode):
3693 * jka-cmpr-hook.el (auto-compression-mode):
3694 * linum.el (linum-mode):
3695 * longlines.el (longlines-mode):
3696 * master.el (master-mode):
3697 * mb-depth.el (minibuffer-depth-indicate-mode):
3698 * menu-bar.el (menu-bar-mode):
3699 * minibuf-eldef.el (minibuffer-electric-default-mode):
3700 * mouse-sel.el (mouse-sel-mode):
3701 * msb.el (msb-mode):
3702 * mwheel.el (mouse-wheel-mode):
3703 * outline.el (outline-minor-mode):
3704 * paren.el (show-paren-mode):
3705 * recentf.el (recentf-mode):
3706 * reveal.el (reveal-mode, global-reveal-mode):
3707 * rfn-eshadow.el (file-name-shadow-mode):
3708 * ruler-mode.el (ruler-mode):
3709 * savehist.el (savehist-mode):
3710 * scroll-all.el (scroll-all-mode):
3711 * scroll-bar.el (scroll-bar-mode):
3712 * server.el (server-mode):
3713 * shell.el (shell-dirtrack-mode):
3714 * simple.el (auto-fill-mode, transient-mark-mode)
3715 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3716 (line-number-mode, column-number-mode, size-indication-mode)
3717 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3718 * strokes.el (strokes-mode):
3719 * time.el (display-time-mode):
3720 * t-mouse.el (gpm-mouse-mode):
3721 * tool-bar.el (tool-bar-mode):
3722 * tooltip.el (tooltip-mode):
3723 * type-break.el (type-break-mode-line-message-mode)
3724 (type-break-query-mode):
3725 * view.el (view-mode):
3726 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3727 (global-whitespace-mode, global-whitespace-newline-mode):
3728 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3729
a3839de2
SM
3730 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3731 Fix autogenerated docstring.
06e21633 3732
5214e501
JL
37332011-10-19 Juri Linkov <juri@jurta.org>
3734
3735 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3736 by checking environment variables "DESKTOP_SESSION" and
3737 "XDG_CURRENT_DESKTOP". (Bug#9779)
3738
195f8db9
JL
37392011-10-19 Juri Linkov <juri@jurta.org>
3740
3741 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3742 (browse-url-chromium-program, browse-url-chromium-arguments):
3743 New defcustoms.
3744 (browse-url-default-browser): Check for `browse-url-chromium' and
3745 call `browse-url-chromium-program'.
3746 (browse-url-chromium): New command. (Bug#9779)
3747
343a34ff
JB
37482011-10-18 Juanma Barranquero <lekktu@gmail.com>
3749
3750 * facemenu.el (list-colors-duplicates): On Windows, detect more
3751 duplicates by assuming that only colors matching "^System" are
3752 special "system colors". (Bug#9722)
3753
6978a151
SM
37542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3757 to distinguish the author from the committer.
3758
6a80b297
MA
37592011-10-18 Michael Albinus <michael.albinus@gmx.de>
3760
3761 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3762
b31a5677
JK
37632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3764
3765 * international/mule.el (sgml-html-meta-auto-coding-function):
3766 Add support for detecting encoding in HTML5 specified only as
3767 <meta charset="UTF-8">. Implementation just makes http-equiv and
3768 content-type parts from HTML4 encoding string optional. (Bug#9716)
3769
80c6d77f
GM
37702011-10-18 Glenn Morris <rgm@gnu.org>
3771
3772 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3773
08b0fee8
CY
37742011-10-18 Chong Yidong <cyd@gnu.org>
3775
3776 * faces.el (cursor): Doc fix.
3777
67e729a5
CY
37782011-10-17 Chong Yidong <cyd@gnu.org>
3779
3780 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3781
343a34ff 37822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3783
3784 * dirtrack.el (dirtrack): Support shell buffers with path
3785 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3786
0bc06380
TZ
37872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3788
3789 * json.el: Bump version to 1.3 and note change in History.
3790 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3791
8b79f3e0
SM
37922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3793
5a7c536b
SM
3794 * comint.el (comint-insert-input, comint-send-input)
3795 (comint-get-old-input-default, comint-backward-matching-input)
3796 (comint-next-prompt): Use nil instead of `input' for field property of
3797 past user input (bug#114).
3798
96a8a0df
SM
3799 * minibuffer.el (completion--replace): Inherit surrounding properties
3800 (bug#114).
3801 (minibuffer-complete-and-exit): Use it.
3802
8b79f3e0
SM
3803 * comint.el (comint--table-subvert): Quote the all-completions output
3804 (bug#9160).
3805
b8f7ff0d
MR
38062011-10-17 Martin Rudalics <rudalics@gmx.at>
3807
8b79f3e0 3808 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3809
b8f7ff0d 3810 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3811 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3812 entries and separate them from frame entries.
3813
c235b555
GM
38142011-10-15 Glenn Morris <rgm@gnu.org>
3815
3816 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3817 Doc fixes.
3818
6bbfa6e1
CY
38192011-10-15 Chong Yidong <cyd@stupidchicken.com>
3820
8b79f3e0
SM
3821 * net/network-stream.el (network-stream-open-starttls):
3822 Improve detection of failure due to lack of TLS support.
ec5c990d 3823
6bbfa6e1
CY
3824 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3825 putting the input text in front and in bold.
3826
98488977
SM
38272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3d1337be
SM
3829 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3830
ee0b45e4
SM
3831 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3832 empty buffer.
3833
98488977
SM
3834 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3835 unread-command-events rather than pushing yet-another event.
3836
186f4720
EZ
38372011-10-14 Eli Zaretskii <eliz@gnu.org>
3838
3839 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3840 the explanation of the possible choices. Make the options passed
3841 to completing-read shorter.
3842
8b7a997c
AM
38432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3844
3845 * textmodes/flyspell.el (flyspell-large-region): Make sure
3846 extended character mode is used if defined (Bug#1339).
3847
12587bbb
EZ
38482011-10-13 Eli Zaretskii <eliz@gnu.org>
3849
3850 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3851 character info for LRE, LRO, RLE, and RLO characters by appending
3852 an invisible PDF.
12587bbb 3853
bad41229
SM
38542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3857 even in case of error; add debug spec; simplify data flow.
3858 (with-timeout-handler): Remove.
3859
28dbc92f
MA
38602011-10-12 Michael Albinus <michael.albinus@gmx.de>
3861
3862 Fix Bug#6019, Bug#9315.
3863
3864 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3865 complete `buffer-file-name', the local file name part could look
3866 remotely (for example on VMS).
3867
3868 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3869 `tramp-run-real-handler'.
3870 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3871 already quoted by '"'.
3872
3873 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3874 Let `file-name-handler-alist' be nil, the local file name part
3875 could look remotely (for example on VMS).
3876
e1b0b23a
SM
38772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3880 from here...
3881 (flyspell-post-command-hook): ...to here.
3882
a120bde9
SM
38832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3886 if not needed.
3887 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3888 using completion. Protect against "slow" callers.
3889 Remove the "message hack".
3890
7ce7717b
JL
38912011-10-11 Juri Linkov <juri@jurta.org>
3892
3893 * isearch.el (isearch-lazy-highlight-word): New variable.
3894 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3895 Use it. (Bug#9727)
3896
c02ee9d6
GM
38972011-10-11 Glenn Morris <rgm@gnu.org>
3898
3899 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3900 like f90-previous-statement does.
3901
93e616fd 39022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3903
1f190e73 3904 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3905 only in interactive use, to avoid error.
3906
af7b6078
SM
39072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * minibuffer.el (completion-file-name-table): Fix last change,
3910 i.e. ignore normal errors but not the other ones.
3911
0563dae9
MR
39122011-10-10 Martin Rudalics <rudalics@gmx.at>
3913
3914 * window.el (special-display-buffer-names)
3915 (special-display-regexps): Remove some remnants of earlier
3916 changes from doc-strings.
366ca7f3
MR
3917 (quit-windows-on): New function.
3918
3919 * vc/vc.el (vc-revert, vc-rollback):
3920 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3921 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3922 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3923
49677495
MR
39242011-10-09 Martin Rudalics <rudalics@gmx.at>
3925
3926 * window.el (frame-auto-hide-function): Add version tag.
3927 (Bug#9699)
3928
56f2d1e1
MA
39292011-10-09 Michael Albinus <michael.albinus@gmx.de>
3930
3931 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3932 condition.
3933
112a6592
LL
39342011-10-09 Leo Liu <sdl.web@gmail.com>
3935
3936 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3937 (Bug#9701)
3938
0812589b
GM
39392011-10-08 Glenn Morris <rgm@gnu.org>
3940
3941 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3942 before the first code statement zero indent. (Bug#9690)
3943
b2b0776e
CY
39442011-10-08 Chong Yidong <cyd@stupidchicken.com>
3945
3946 * simple.el (count-words-region): Always count in the region.
3947 Report the number of lines and characters too.
3948 (count-words): New command, which counts in the buffer if the
3949 region is inactive, as count-words-region used to.
3950 (count-words--message): New function. Handle plurals.
3951 (count-lines-region): Make it an alias for count-words-region.
3952
3953 * bindings.el (esc-map): Replace count-lines-region with
3954 count-words-region.
3955
c557cd6b
MR
39562011-10-08 Martin Rudalics <rudalics@gmx.at>
3957
3958 * window.el (window--delete): Delete dedicated frame
3959 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3960 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3961
61a57ef4 39622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3963
3a7d293b 3964 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3965
c3833279
CY
39662011-10-07 Chong Yidong <cyd@stupidchicken.com>
3967
3968 * bindings.el ([M-left],[M-right]): Bind to left-word and
3969 right-word respectively.
3970
21ce8245
GM
39712011-10-07 Glenn Morris <rgm@gnu.org>
3972
3973 * cus-start.el (debug-on-quit): Fix custom type.
3974
6d823bb2
LMI
39752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3976
0181e193
LMI
3977 * subr.el (define-key-after): Clarify that the function is not
3978 useful for non-menu keymaps.
3979
6d823bb2
LMI
3980 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3981
8e3459ce 39822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3983
21ce8245 3984 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3985 in current minibuffer (Fix bug with recursive minibuffers).
3986
a1c2d21e
CY
39872011-10-06 Chong Yidong <cyd@stupidchicken.com>
3988
3989 * progmodes/gdb-mi.el (gdb): Doc fix.
3990
5a4cf282
MR
39912011-10-05 Martin Rudalics <rudalics@gmx.at>
3992
3993 * window.el (frame-auto-hide-function): New option replacing
3994 frame-auto-delete. Suggested by Stefan Monnier.
3995 (window--delete): Call frame-auto-hide-function instead of
3996 investigating frame-auto-delete.
c96111ea
MR
3997 (window-point-1, set-window-point-1): New functions.
3998 (window-in-direction, record-window-buffer, window-state-get-1)
3999 (display-buffer-record-window): Use window-point-1 instead of
4000 window-point.
4001 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4002
9854542e
SM
40032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4006
8943cfb0
GM
40072011-10-05 Glenn Morris <rgm@gnu.org>
4008
4009 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4010 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4011
647ab967
LL
40122011-10-05 Leo Liu <sdl.web@gmail.com>
4013
4014 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4015 works with buffer object.
4016
3ddfbced
SM
40172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * mpc.el (mpc-tool-bar-map): Add labels.
4020
bdfa5dd2
GM
40212011-10-04 Glenn Morris <rgm@gnu.org>
4022
4023 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4024
0e2070b5
MR
40252011-10-04 Martin Rudalics <rudalics@gmx.at>
4026
4027 * window.el (window--delete): New function.
4028 (frame-auto-delete): Resuscitate option.
4029 (bury-buffer, replace-buffer-in-windows)
4030 (quit-window): Rewrite using window--delete.
4031 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4032 Pass display-buffer-mark-dedicated to window--display-buffer-2
4033 (Bug#9639).
4034
3dc61a09
SM
40352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4036
915a9b64
SM
4037 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4038 returns a list (bug#9554). Add remote file name completion.
4039 * comint.el (comint--table-subvert): Curry and get quote&unquote
4040 functions as arguments.
4041 (comint--complete-file-name-data): Adjust call accordingly.
4042 * pcomplete.el (pcomplete--table-subvert): Remove.
4043 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4044
3dc61a09
SM
4045 * minibuffer.el (completion-table-case-fold): Use currying.
4046 (completion--styles-type, completion--cycling-threshold-type):
4047 New constants.
4048 (completion-styles, completion-category-overrides)
4049 (completion-cycle-threshold): Use them.
4050 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4051 completion-table-case-fold.
4052
8ea0a993
SB
40532011-10-03 Stephen Berman <stephen.berman@gmx.net>
4054
4055 * minibuffer.el (completion-category-overrides): Fix type of styles
4056 and add more user friendly tags (bug#9660).
4057
8c24b7f6
SM
40582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4061 (mule-input-method-string): New widget.
4062 (default-input-method, language-info-custom-alist): Use it.
4063
428fe61a
SM
40642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4065
32c1fffd
SM
4066 * pcomplete.el: Require comint.
4067 (pcomplete--common-suffix): Remove.
4068 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4069 (pcomplete--table-subvert): Sync with comint--table-subvert.
4070 (pcomplete--entries): Use comint-completion-file-name-table.
4071 * comint.el (comint-unquote-filename): Simplify.
4072 (comint-completion-file-name-table): New function (bug#9616).
4073 (comint--complete-file-name-data): Use it.
4074
428fe61a
SM
4075 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4076 (pcmpl-gnu-tar-buffer): Remove.
4077 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4078 around. Make sure pcomplete-suffix-list is only changed temporarily.
4079 Don't look inside the tar's file if it's too large.
428fe61a 4080
04c52e2f
CY
40812011-10-01 Chong Yidong <cyd@stupidchicken.com>
4082
ce3cefcc
CY
4083 * cus-edit.el (custom-mode-map):
4084 * epa.el (epa-key-list-mode-map):
4085 * man.el (Man-mode-map):
4086 * startup.el (splash-screen-keymap):
4087 * simple.el (special-mode-map): Use scroll-up-command and
4088 scroll-down-command.
4089
4090 * progmodes/idlw-help.el (idlwave-help-mode-map):
4091 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4092 * net/newst-plainview.el (newsticker-mode-map):
4093 * emulation/ws-mode.el (wordstar-mode-map):
4094 * emulation/vi.el (vi-com-map):
4095 * calc/calc-graph.el (calc-graph-show-dumb):
4096 * term/sun.el (terminal-init-sun):
4097 * term/ns-win.el (global-map):
4098 * progmodes/grep.el (grep-mode-map):
4099 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4100 * mail/rmail.el (rmail-mode-map):
4101 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4102
04c52e2f
CY
4103 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4104 custom-safe-themes as special.
4105
79adf8c8
JD
41062011-10-01 Julien Danjou <julien@danjou.info>
4107
4108 * notifications.el (notifications-notify): Fix docstring.
4109
63bd50d3
PS
41102011-10-01 Per Starbäck <per@starback.se>
4111
4112 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4113
199e4c7e
MR
41142011-09-30 Martin Rudalics <rudalics@gmx.at>
4115
4116 * startup.el (command-line-1): Fix last fix by inserting
4117 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4118 (Bug#9605) and (Bug#9636)
199e4c7e 4119
fe5f08dd
EZ
41202011-09-29 Eli Zaretskii <eliz@gnu.org>
4121
4122 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4123 window is hscrolled, move by logical lines. (Bug#9607)
4124 (line-move-visual): Update the doc string to the above effect.
4125
b5516bbd
MR
41262011-09-29 Martin Rudalics <rudalics@gmx.at>
4127
ccee00c0
MR
4128 * window.el (display-buffer-record-window): When WINDOW is the
4129 selected window use `point' instead of `window-point'. (Bug#9626)
4130
b5516bbd
MR
4131 * startup.el (command-line-1): Use insert-before-markers when
4132 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4133
b5516bbd
MR
4134 * help.el (help-window): Remove variable.
4135
52aa0014
GM
41362011-09-29 Glenn Morris <rgm@gnu.org>
4137
4138 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4139
df9a7357
JB
41402011-09-29 Juanma Barranquero <lekktu@gmail.com>
4141
4142 * descr-text.el (describe-char-categories): Accept category
4143 descriptions more than one line long.
4144
a8406c20
SM
41452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4146
88d9610c
SM
4147 * simple.el (delete-trailing-whitespace): Fix last change.
4148
a5daf810
SM
4149 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4150 Don't confuse "y => 3" as the beginning of a `y' operation.
4151
a8406c20
SM
4152 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4153 object has more than 4 slots (bug#9613).
4154
a239d4e9
JB
41552011-09-28 Juanma Barranquero <lekktu@gmail.com>
4156
4157 * subr.el (with-output-to-temp-buffer):
4158 * net/quickurl.el (quickurl, quickurl-browse-url):
4159 Fix typos in docstrings.
4160
693fbdb6
EZ
41612011-09-27 Eli Zaretskii <eliz@gnu.org>
4162
4163 * minibuffer.el (completion-styles)
4164 (completion-category-overrides): Cross reference each other in doc
4165 strings.
4166
8b457e28
GM
41672011-09-27 Glenn Morris <rgm@gnu.org>
4168
4169 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4170 to split-string. (Bug#9606)
4171
85a16208
LMI
41722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4173
4174 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4175 (bug#9615).
4176
502f9ebd
CY
41772011-09-27 Chong Yidong <cyd@stupidchicken.com>
4178
4179 * emacs-lisp/package.el (list-packages): Fix echo area message.
4180
7690bdea
LL
41812011-09-27 Leo Liu <sdl.web@gmail.com>
4182
4183 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4184
e2ee6f30
MA
41852011-09-25 Michael Albinus <michael.albinus@gmx.de>
4186
4187 * net/dbus.el (dbus-unregister-object): Don't release services for
4188 registered signals. (Bug#9581)
4189
f3f98342
TZ
41902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4191
4192 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4193 function that picks between cfengine 2 and 3 support
4194 automatically. Update docs accordingly.
4195
dd7aa8dd
KH
41962011-09-22 Kenichi Handa <handa@m17n.org>
4197
4198 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4199 ZERO.
4200 (indian-itrans-v5-table-for-tamil): New variable.
4201 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4202
3f2b07f8
KM
42032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4204
4205 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4206 that's true if the current command involved collapsing of text.
4207 It's reset to false at the beginning of the next command.
4208 (allout-post-command-business): Move the cursor to the beginning
4209 of entry if the cursor is hidden and collapsing activity just
4210 happened.
4211
371d6a61
CY
42122011-09-24 Chong Yidong <cyd@stupidchicken.com>
4213
4214 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4215 tracking (Bug#9541).
4216
2ac2721a
UJ
42172011-09-24 Ulf Jasper <ulf.jasper@web.de>
4218
4219 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4220 (newsticker-show-news): Automatically load html rendering package
4221 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4222 because w3m-fill-column is let-bound" and the error "Symbol's value
4223 as variable is void: w3m-fill-column".
2ac2721a 4224
fac7ae53
MA
42252011-09-24 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4228 Release services only if they are defined. (Bug#9581)
4229
e08b633b
RS
42302011-09-23 Richard Stallman <rms@gnu.org>
4231
e488d29c
RS
4232 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4233 distinguish start of paragraph from start of its text.
4234
19c38752
RS
4235 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4236
e08b633b
RS
4237 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4238 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4239 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4240
0a39f27e
AS
42412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4242
4243 * international/mule-diag.el (mule-diag): Insert a newline after
4244 each fontset description.
4245
db4e950d
SM
42462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * simple.el (delete-trailing-whitespace):
4249 Document last change; simplify.
4250
eca3f3ea
PW
42512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4252
d68e189a
PW
4253 * simple.el (delete-trailing-whitespace): Also delete
4254 extra newlines at the end of the buffer.
4255
eca3f3ea
PW
4256 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4257 (picture-newline): Use forward-line so as to ignore fields.
4258
01c157cc
SM
42592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * subr.el (with-wrapper-hook): Fix edebug spec.
4262
022de23e
LMI
42632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4264
4265 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4266 (bug#4538).
4267
91683089
MA
42682011-09-23 Michael Albinus <michael.albinus@gmx.de>
4269
eca3f3ea
PW
4270 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4271 Fix nasty bug using wrong cached values.
91683089 4272
5bdd6fa4
AM
42732011-09-23 Alan Mackenzie <acm@muc.de>
4274
4275 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4276
97adfb97
CY
42772011-09-23 Chong Yidong <cyd@stupidchicken.com>
4278
4279 * window.el (pop-to-buffer): Ensure right window is selected if we
4280 chose another frame.
4281
d4ef2b50
EZ
42822011-09-22 Eli Zaretskii <eliz@gnu.org>
4283
4284 * simple.el (what-cursor-position): Use get-char-property-change
4285 and next-single-char-property-change, to be able to show display
4286 properties that come from overlays as well as text properties.
4287
72258fe5
CY
42882011-09-22 Chong Yidong <cyd@stupidchicken.com>
4289
4290 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4291
4292 * cmuscheme.el (run-scheme, switch-to-scheme):
4293 * cus-edit.el (customize-group, custom-buffer-create)
4294 (customize-browse):
4295 * info.el (info):
4296 * shell.el (shell):
4297 * mail/sendmail.el (mail):
4298 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4299
8f098516
RS
43002011-09-22 Richard Stallman <rms@gnu.org>
4301
4302 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4303 move back only to line beg, don't move back over blank lines.
4304
e74f1bb6
MA
43052011-09-22 Michael Albinus <michael.albinus@gmx.de>
4306
4307 * files.el (copy-directory): Set directory attributes only in case
4308 they could be retrieved from the source directory. (Bug#9565)
4309
bfeef8b6
DK
43102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4311
4312 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4313 (hs-find-block-beginning, hs-hide-level-recursive):
4314 Ignore strings as well as comments. (Bug#9502)
4315
7e423bb8
AS
43162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4317
4318 * progmodes/sql.el (sql-comint-postgres):
4319 Convert port number to a string. (Bug#9566)
4320
b4d72fcf
MR
43212011-09-22 Martin Rudalics <rudalics@gmx.at>
4322
4323 * window.el (quit-window): Undedicate window when switching to
4324 previous buffer. Reported by Thierry Volpiatto
4325 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4326 (special-display-popup-frame): When popping up a new frame reset
4327 its previous buffers to nil. Simplify code.
b4d72fcf 4328
a7b88dc6
MA
43292011-09-21 Michael Albinus <michael.albinus@gmx.de>
4330
4331 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4332 and process filter, as done also in `shell-command'.
4333
cf4eacfd
MR
43342011-09-21 Martin Rudalics <rudalics@gmx.at>
4335
eca3f3ea 4336 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4337 Call set-window-start with NOFORCE argument t.
4338 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4339 (quit-window): Reword doc-string. Handle new format of
4340 quit-restore parameter. Don't delete window if it has a
4341 previous buffer we can show instead of the present one.
4342 (display-buffer-record-window): Rewrite using a new format for
4343 the quit-restore window parameter
4344 (special-display-popup-frame, display-buffer-same-window)
4345 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4346 (display-buffer-pop-up-window, display-buffer-use-some-window):
4347 Adapt symbol passed to display-buffer-record-window.
4348 * help.el (help-window-setup): Handle new format of quit-restore
4349 parameter.
4350
8d28cb95
SM
43512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4352
94ab793f
SM
4353 * faces.el (face-list): Fix docstring (bug#9564).
4354
8d28cb95
SM
4355 * window.el (display-buffer--action-function-custom-type):
4356 Don't include internal functions in the Custom interface.
4357
3820edeb
JL
43582011-09-20 Juri Linkov <juri@jurta.org>
4359
4360 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4361 (Info-forward-node, Info-backward-node, Info-next-preorder)
4362 (Info-last-preorder): Use it. (Bug#9528)
4363
5147931d
JL
43642011-09-20 Juri Linkov <juri@jurta.org>
4365
4366 * info.el (Info-last-preorder): Visit last menu item only when
4367 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4368
cf499a1a
JD
43692011-09-20 Julien Danjou <julien@danjou.info>
4370
4371 * password-cache.el (password-cache-remove): Remove entries even if the
4372 value is nil, so that password with a nil value (negative caching) is
4373 possible to invalidate.
4374
f84e2fe2
LM
43752011-09-20 Lawrence Mitchell <wence@gmx.li>
4376
4377 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4378 all whitespace around breakpoint. (Bug#9553)
4379 (f90-find-breakpoint): Only break at whitespace inside a comment.
4380
78054a46
SM
43812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * minibuffer.el (completion-file-name-table): Keep track of errors.
4384 (completion-table-with-predicate): Handle the case where pred1 is nil.
4385 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4386
345083b2
SM
43872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4388
e24e27be
SM
4389 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4390 (debugger-return-value): Signal an error if the debugging context does
4391 not await any return value.
4392
345083b2
SM
4393 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4394 * image-mode.el (image-toggle-display-text)
4395 (image-toggle-display-image): Stay away from evil `intangible'.
4396
08d355e3
LL
43972011-09-19 Leo Liu <sdl.web@gmail.com>
4398
4399 * replace.el (occur-revert-arguments): Make it permanent-local.
4400 (occur-mode): Don't call font-lock-defontify.
4401
f01da43f
CY
44022011-09-19 Chong Yidong <cyd@stupidchicken.com>
4403
4404 * net/ldap.el (ldap-search-internal): Don't push empty search
4405 result (Bug#9508).
4406
b6072fa6
SM
44072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4410
443d6696
MA
44112011-09-19 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4414 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4415
7cc6e154
JL
44162011-09-18 Juri Linkov <juri@jurta.org>
4417
4418 * buff-menu.el (Buffer-menu-mode-map):
4419 * dired.el (dired-mode-map):
4420 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4421 (lisp-interaction-mode-map):
4422 * emacs-lisp/package.el (package-menu-mode-map):
4423 * epa.el (epa-key-list-mode-map):
4424 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4425 (menu-bar-options-menu):
4426 * outline.el (outline-mode-menu-bar-map):
4427 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4428 * vc/vc-dir.el (vc-dir-menu-map):
4429 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4430 Capitalize non-function content words in menu item strings.
4431
4432 * dired.el (dired-mode-map): Add menu item for
4433 `image-dired-dired-toggle-marked-thumbs'.
4434
80302a81
JL
44352011-09-18 Juri Linkov <juri@jurta.org>
4436
4437 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4438 to `isearch-case-fold-search' and restore its original value
4439 after the `isearch-mode' call.
4440
46c5cf66
JL
44412011-09-18 Juri Linkov <juri@jurta.org>
4442
4443 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4444 because `zgrep' returns 1 for successful matches (bug#9226).
4445
d18b513b
JL
44462011-09-18 Juri Linkov <juri@jurta.org>
4447
4448 * info.el (Info-extract-menu-node-name): Check the second match
4449 for empty string (second test-case of bug#9528).
4450 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4451 intermediate nodes to the history (first test-case of bug#9528).
4452
72753f87
JL
44532011-09-18 Juri Linkov <juri@jurta.org>
4454
4455 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4456 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4457
c9384295
JL
44582011-09-18 Juri Linkov <juri@jurta.org>
4459
1154d12e
JB
4460 * info.el (Info-file-supports-index-cookies):
4461 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4462 outputs one more line for long file names (bug#4142).
c9384295 4463
d473dce8
CY
44642011-09-18 Chong Yidong <cyd@stupidchicken.com>
4465
4466 * newcomment.el (comment-normalize-vars): If prompting for
4467 comment-start, set comment-start-skip too (Bug#8424).
4468
2176854d
JB
44692011-09-18 Johan Bockgård <bojohan@gnu.org>
4470
4471 * icomplete.el: Fix previous fix of Bug#5849.
4472 (icomplete-mode): Don't set completion-show-inline-help.
4473 (icomplete-minibuffer-setup): Set completion-show-inline-help
4474 locally during icompletion.
4475
3aace4e4
CY
44762011-09-18 Chong Yidong <cyd@stupidchicken.com>
4477
c940224f
CY
4478 * woman.el (woman2-process-escapes): Don't delete unrecognized
4479 escapes (Bug#7843).
4480
3aace4e4
CY
4481 * files.el (inhibit-first-line-modes-regexps): Add image files.
4482 (hack-local-variables-prop-line): Return nil for malformed
4483 prop-lines (Bug#9044).
4484
710dec63
MA
44852011-09-18 Michael Albinus <michael.albinus@gmx.de>
4486
4487 * net/tramp.el (top): Don't require 'shell.
4488 (tramp-methods): Fix docstring.
4489 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4490 Return complete remote file name. Handle "smb" case.
4491 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4492 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4493
4494 * net/tramp-compat.el (top): Require 'shell.
4495
4496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4497 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4498 `tramp-current-host'.
4499 (tramp-get-remote-tmpdir): Remove.
4500
4501 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4502 `tramp-tmpdir' entries.
4503 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4504 (tramp-smb-handle-file-attributes): Ignore errors.
4505 (tramp-smb-wait-for-output): Check also for process end.
4506
5d5ac8ec
LMI
45072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4508
4509 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4510 when sending QUIT (bug#9312).
4511
8c0f49f0
CY
45122011-09-17 Chong Yidong <cyd@stupidchicken.com>
4513
4514 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4515 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4516 occur-mode-display-occurrence.
4517 (occur-edit-mode): Add usage message.
4518 (occur-cease-edit): New command.
4519 (occur-after-change-function): Use text properties to find the
4520 position of the prefix text.
4521 (occur-engine): Set stickiness of prefix text properties.
4522
8f1383f7
GM
45232011-09-17 Glenn Morris <rgm@gnu.org>
4524
4525 * progmodes/etags.el (complete-tag):
4526 Fix call to completion-in-region. (Bug#9526)
4527
744ba0e3
JL
45282011-09-17 Juri Linkov <juri@jurta.org>
4529
4530 * textmodes/ispell.el (ispell-word): Add to the error message
4531 the word, ispell program name and current dictionary (bug#9121).
4532 (ispell-tex-arg-end): Capitalize "error" in the error message.
4533
d9bbf400
AS
45342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4535
4536 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4537 check. (Bug#4251)
4538
8da11505
JL
45392011-09-17 Juri Linkov <juri@jurta.org>
4540
4541 * window.el (window-safe-min-height, window-safe-min-width):
4542 Fix typos (followup to bug#9522).
4543
a91adc7e
SJ
45442011-09-17 Sven Joachim <svenjoac@gmx.de>
4545
4546 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4547
064f328a
EZ
45482011-09-16 Eli Zaretskii <eliz@gnu.org>
4549
4550 * simple.el (line-move): If goal-column is set, move by logical
4551 lines, not by display lines. (Bug#971)
4552 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4553 to reflect the above change.
4554
e69df516
SM
45552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * image.el (imagemagick-register-types): Use regexp-opt.
4558
cbb0f9ab
CY
45592011-09-15 Chong Yidong <cyd@stupidchicken.com>
4560
4561 * window.el (display-buffer-base-action): Rename from
4562 display-buffer-default-action. Make default value empty.
4563 (display-buffer-overriding-action): Convert to defvar.
4564 (display-buffer-fallback-action): New var.
4565
25322144
CY
45662011-09-15 Chong Yidong <cyd@stupidchicken.com>
4567
4568 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4569 declaration.
4570 (package--add-to-archive-contents): If there is a duplicate entry
4571 with an older version, remove it.
4572 (package-menu-mark-delete, package-menu-mark-install)
4573 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4574 (package-menu-mark-obsolete-for-deletion):
4575 Use package-menu-get-status instead of a regexp search.
25322144
CY
4576 (package-menu-get-status): Use tabulated-list-entry.
4577 (package-menu-mark-upgrades): New command.
d770725a 4578 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4579 (package-menu-execute): Do installation before deletion.
4580 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4581 instead of checking major-mode.
4582 (package-menu--find-upgrades): New function.
4583
7520339c
LMI
45842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585
4586 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4587 passwords in the log buffer.
65a046c4
LMI
4588 (smtpmail-process-filter): Update the process marker so that the
4589 "broken by peer" status message is inserted in the right place.
7520339c 4590
d3c30954
SM
45912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4592
3fe48822
SM
4593 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4594 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4595 bibtex-completion-at-point-function.
4596 (bibtex-completion-at-point-function): Use them.
4597
1b8b3954
SM
4598 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4599
d3c30954
SM
4600 * mpc.el (mpc-constraints-tag-lookup): New function.
4601 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4602 also to browser "album|playlist".
4603
72779976
JL
46042011-09-14 Juri Linkov <juri@jurta.org>
4605
4606 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4607 (isearch-edit-string): Use length of `isearch-string' when
4608 `isearch-fail-pos' returns nil.
4609 (isearch-message): Remove duplicate code and call
4610 `isearch-fail-pos' with arg `t'.
4611
a0bf2bcd
CY
46122011-09-14 Chong Yidong <cyd@stupidchicken.com>
4613
17bb0a2d
CY
4614 * replace.el (occur-mode-goto-occurrence): Don't force using other
4615 window (Bug#9499).
4616
a0bf2bcd
CY
4617 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4618
f678e0b6
MR
46192011-09-14 Martin Rudalics <rudalics@gmx.at>
4620
4621 * window.el (display-buffer-window): Remove.
4622 (display-buffer-record-window): Use help-setup window parameter
4623 instead of variable display-buffer-window.
4624 (display-buffer-function, special-display-buffer-names)
4625 (special-display-function): Mention help-setup parameter instead
4626 of display-buffer-window in doc-string.
d3c30954
SM
4627 * help.el (help-window-setup): New argument help-window.
4628 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4629 Reword some messages.
4630 (with-help-window): Pass window used for displaying the buffer
4631 to help-window-setup. Don't set display-buffer-window.
4632
8e39b2e8
GM
46332011-09-13 Glenn Morris <rgm@gnu.org>
4634
4635 * emacs-lisp/debug.el (debugger-make-xrefs):
4636 Preserve point. (Bug#9462)
4637
85e9c04b
CY
46382011-09-13 Chong Yidong <cyd@stupidchicken.com>
4639
4640 * window.el (window-deletable-p): Use next-frame.
4641
1b36ed6a
MR
46422011-09-13 Martin Rudalics <rudalics@gmx.at>
4643
4644 * window.el (window-auto-delete): Remove.
4645 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4646 dedication and previous buffers.
1b36ed6a
MR
4647 (switch-to-prev-buffer): Don't delete window.
4648 (delete-windows-on): Delete a window's frame if and only if the
4649 window is dedicated.
4650 (replace-buffer-in-windows): Delete buffer's window or frame if
4651 and only if window is dedicated.
4652 (quit-window): Handle quit-restore as before last change.
4d61f28d 4653 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4654
ef8ef9fb
CY
46552011-09-13 Chong Yidong <cyd@stupidchicken.com>
4656
4657 * window.el (window-deletable-p): Never delete the last frame on a
4658 given terminal.
4659
b2cba41e
GM
46602011-09-13 Glenn Morris <rgm@gnu.org>
4661
4662 * help.el (describe-key-briefly): Copy previous standard-output change.
4663
51553db6 46642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4665
4666 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4667
b7556719
GM
46682011-09-13 Glenn Morris <rgm@gnu.org>
4669
4670 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4671 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4672
64b51947
CY
46732011-09-12 Chong Yidong <cyd@stupidchicken.com>
4674
4675 * dired-aux.el (dired-mark-read-string): Don't return default
4676 value on empty input (Bug#9361).
4677 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4678 Omit initial minibuffer contents.
4679 (dired-do-chmod): Signal an error on empty input.
4680 (dired-mark-read-string): Don't return default on empty input.
4681
4682 * files.el (file-modes-symbolic-to-number): Doc fix.
4683
393a301e
SM
46842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * international/mule-cmds.el (ucs-completions): Remove.
4687 (read-char-by-name): Use complete-with-action instead; add metadata.
4688
fa5660f9
CY
46892011-09-11 Chong Yidong <cyd@stupidchicken.com>
4690
4691 * window.el (display-buffer--action-function-custom-type)
4692 (display-buffer--action-custom-type): New vars.
4693 (display-buffer-alist, display-buffer-default-action)
4694 (display-buffer-overriding-action): Add defcustom types.
4695
4a592f66
CY
4696 * frame.el (delete-other-frames): Doc fix (Bug#276).
4697
73d56dbd
LMI
46982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4699
4700 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4701
37ac18a3
CY
47022011-09-11 Chong Yidong <cyd@stupidchicken.com>
4703
4704 Change modes that used same-window-* vars to use switch-to-buffer.
4705
4706 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4707 Use switch-to-buffer.
4708
4709 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4710 (customize-browse, custom-buffer-create-other-window):
4711 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4712
4713 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4714 (Info-prev, Info-up, Info-speedbar-goto-node)
4715 (info-display-manual): Use switch-to-buffer.
4716 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4717
4718 * mail/sendmail.el (mail): Use switch-to-buffer.
4719 (mail-recover): Use switch-to-buffer-other-window.
4720
4721 * cmuscheme.el (run-scheme, switch-to-scheme):
4722 * ielm.el (ielm):
4723 * shell.el (shell):
4724 * net/rlogin.el (rlogin):
4725 * net/telnet.el (telnet, rsh):
4726 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4727
10195bd6
AS
47282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4729
4730 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4731
b322f63a
LMI
47322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4733
39d7fed6
LMI
4734 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4735 so don't mention it (bug#9301).
ba5a81f1 4736 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4737
ee0e9f11
LMI
4738 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4739 match `x', `w32' and `ns', like the manual says (bug#9029).
4740
0b1c89c1 4741 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4742 (process-kill-buffer-query-function): Mention the buffer name in
4743 the query.
0b1c89c1 4744
77549ea8
LMI
4745 * image-mode.el (image-next-line): The line parameter is mandatory
4746 (bug#9258).
4747
803ef892
LMI
4748 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4749 which can be useful (bug#9301).
4750
12980837
LMI
4751 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4752
91054f8f
LMI
4753 * subr.el (match-string): Mention that the current buffer should
4754 be the same as the search was done in (bug#9282).
4755
b322f63a
LMI
4756 * facemenu.el: Disable the remove-* commands if the mark isn't
4757 active (bug#9162).
4758
3199b96f
CY
47592011-09-10 Chong Yidong <cyd@stupidchicken.com>
4760
4761 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4762 of display-buffer.
4763 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4764
4765 * replace.el (occur-mode-goto-occurrence)
4766 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4767 and display-buffer.
4768
4769 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4770 display-buffer.
4771
4772 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4773 special-display and same-window variables.
4774 (mail-other-window): Use switch-to-buffer-other-window.
4775 (mail-other-frame): USe switch-to-buffer-other-frame.
4776
393a301e
SM
4777 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4778 Use display-buffer-other-frame.
3199b96f
CY
4779 (gdb-display-gdb-buffer): Use pop-to-buffer.
4780
4781 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4782
4783 * progmodes/python.el: Don't set same-window-buffer-names.
4784
4785 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4786
4787 * window.el (display-buffer-alist): Add *Python*.
4788
8319e0bf
CY
47892011-09-10 Chong Yidong <cyd@stupidchicken.com>
4790
4791 * window.el (display-buffer-alist): Add entry for buffers
4792 previously handled same-window-*.
4793 (display-buffer-alist, display-buffer-default-action)
4794 (display-buffer-overriding-action): Mark as risky.
4795 (display-buffer-alist): Document action function changes.
4796 (display-buffer--same-window-action)
4797 (display-buffer--other-frame-action): New variables.
4798 (switch-to-buffer, display-buffer-other-frame): Use them.
4799 (display-buffer): Rename reuse-frame entry to reusable-frames.
4800 (display-buffer-reuse-selected-window): Function deleted.
4801 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4802 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4803 (display-buffer-special): New function.
4804 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4805 display-buffer-reuse-or-pop-window. Split off special-display
4806 part into display-buffer-special.
4807 (display-buffer-use-some-window): Don't perform any special
4808 pop-up-frames handling.
4809 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4810 (display-buffer--maybe-same-window): Rename from
0d3ff375 4811 display-buffer-maybe-same-window.
8319e0bf 4812
919a69aa
CY
4813 * info.el: Don't set same-window-regexps.
4814 (info-setup): New function.
4815 (info-other-window, info): Call it.
4816
4817 * cus-edit.el: Don't set same-window-regexps.
4818 (customize-group): New argument.
4819 (customize-group-other-window): Use it.
4820 (customize-face, customize-face-other-window): Likewise.
4821 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4822
8319e0bf
CY
4823 * net/rlogin.el:
4824 * net/telnet.el:
4825 * progmodes/gud.el: Don't set same-window-regexps.
4826
4827 * cmuscheme.el:
4828 * ielm.el:
4829 * shell.el:
4830 * mail/sendmail.el:
4831 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4832
25173000
JL
48332011-09-10 Juri Linkov <juri@jurta.org>
4834
4835 * isearch.el (isearch-edit-string): Remove obsolete mention of
4836 `C-w' (`isearch-yank-word-or-char') from docstring.
4837 (isearch-query-replace): Fix typo in docstring (bug#9466).
4838
056e44ef
JL
48392011-09-10 Juri Linkov <juri@jurta.org>
4840
4841 * paren.el (show-paren-function): Don't show escaped parens.
4842 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4843
c3760c17
EZ
48442011-09-10 Eli Zaretskii <eliz@gnu.org>
4845
4846 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4847 (mm-default-file-encoding): Remove autoload forms, they are
4848 replaced with autoload cookies in mml.el and mm-encode.el.
4849 (mail-add-attachment): New command.
4850 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4851 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4852 the doc string.
4853 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4854
fece895e
RT
48552011-09-10 Reuben Thomas <rrt@sc3d.org>
4856
e69df516
SM
4857 * simple.el (count-words-region): Use buffer if there's no region
4858 (bug#9429).
fece895e 4859
5e68ce4a
JL
48602011-09-09 Juri Linkov <juri@jurta.org>
4861
4862 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4863 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4864 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4865
0a6b9622
AM
48662011-09-09 Alan Mackenzie <acm@muc.de>
4867
4868 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4869 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4870
14a29deb
EZ
48712011-09-09 Eli Zaretskii <eliz@gnu.org>
4872
4873 Fix for Savannah bug#9392.
4874 * simple.el (mail-encode-mml): New defvar.
4875
4876 * mail/rmail.el (mail-encode-mml): Add a defvar.
4877 (rmail-enable-mime-composing): Default to t.
4878 (rmail-forward): Use MIME method of forwarding only if both
4879 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4880 Set mail-encode-mml non-nil if the MIME method was used.
4881
4882 * mail/sendmail.el (mml-to-mime): Add autoload form.
4883 (mail-encode-mml): Add a defvar.
4884 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4885 to nil.
4886 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4887 message through mml-to-mime, and reset mail-encode-mml to nil.
4888
28c45130
GM
48892011-09-09 Glenn Morris <rgm@gnu.org>
4890
4891 * woman.el (woman-if-body): When processing an .el block,
4892 do not delete the next .el block as well. (Bug#9447)
69f4b618 4893 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4894
9b1c252e
MR
48952011-09-08 Martin Rudalics <rudalics@gmx.at>
4896
4897 * window.el (window-deletable-p): Make sure window is live before
4898 invoking window-prev-buffers.
4899
567457e3
LL
49002011-09-08 Leo Liu <sdl.web@gmail.com>
4901
4902 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4903
97f05794
JL
49042011-09-08 Juri Linkov <juri@jurta.org>
4905
4906 * progmodes/compile.el (compilation-environment): Make it
4907 a defcustom (bug#8340).
4908
8b0874b5
MR
49092011-09-08 Martin Rudalics <rudalics@gmx.at>
4910
4911 * window.el (frame-auto-delete): Rename to window-auto-delete.
4912 Make it control auto-deletion of windows and/or frames.
4913 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4914 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4915 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4916 Rewrite handling of case when window/frame can be deleted.
4917 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4918 argument t. (Bug#9456)
8b0874b5 4919
4feb6e73
CY
49202011-09-07 Chong Yidong <cyd@stupidchicken.com>
4921
4922 * help-mode.el (help-mode): Restore autoload.
4923
91ab9c13
JL
49242011-09-07 Juri Linkov <juri@jurta.org>
4925
4926 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4927 `compilation-environment'. Set buffer-local
4928 `compilation-environment' to `thisenv' later after (funcall mode).
4929 (Bug#8340)
4930
4931 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4932 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4933 instead of replacing its value. (Bug#8340)
4934
0527e251
JL
49352011-09-07 Juri Linkov <juri@jurta.org>
4936
4937 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4938 based on text properties put by `grep-filter' instead of matching
4939 escape sequences.
4940 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4941 to the value of `grep-error-screen-columns' (bug#9438).
4942
249f792c
JL
49432011-09-07 Juri Linkov <juri@jurta.org>
4944
4945 * simple.el (next-error-highlight, next-error-highlight-no-select):
4946 Doc fix (bug#9432).
4947
ff7271b9
OT
49482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4949
4950 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4951 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4952
183fc730
LL
49532011-09-07 Leo Liu <sdl.web@gmail.com>
4954
4955 * net/rcirc.el (rcirc-mode): Conditionally initialize
4956 rcirc-input-ring.
4957
77694924
SM
49582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * emacs-lisp/find-func.el (find-function-C-source): Only set
4961 find-function-C-source-directory after checking that we found a source
4962 file there (bug#9440).
4963
d809b8eb
AM
49642011-09-06 Alan Mackenzie <acm@muc.de>
4965
4966 * isearch.el (isearch-other-meta-char): Wherever a key list is
4967 unread, "unread" the prefix arg, too. This fixes bug #8901.
4968
453de99f
OG
49692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4970
4971 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4972
90439906
JL
49732011-09-05 Juri Linkov <juri@jurta.org>
4974
4975 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4976
f62bd846
JL
49772011-09-05 Juri Linkov <juri@jurta.org>
4978
4979 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4980 keeping point where processing of grep matches begins, and
4981 continue to delete remaining escape sequences from the same point.
4982 (grep-filter): Make leading zero optional in "0?1;31m" because
4983 git-grep emits "\033[1;31m" escape sequences unlike expected
4984 "\033[01;31m" as GNU Grep does (bug#9408).
4985 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4986
045820ec
JL
49872011-09-05 Juri Linkov <juri@jurta.org>
4988
4989 * subr.el (y-or-n-p): Capitalize "yes".
4990
f5e29b9b
MA
49912011-09-04 Michael Albinus <michael.albinus@gmx.de>
4992
4993 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4994 `tramp-cache-unload-hook' where appropriate.
4995 (tramp-methods): Rename `tramp-remote-sh' to
4996 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4997 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4998
4999 * net/tramp-sh.el (top): Don't require 'shell.
5000 (tramp-methods): Add `tramp-remote-shell' and
5001 `tramp-remote-shell-args' entries.
5002 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5003 (tramp-sh-handle-shell-command): Remove.
5004 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5005 Use `tramp-remote-shell'.
5006
2784c434
CY
50072011-09-03 Chong Yidong <cyd@stupidchicken.com>
5008
393a301e 5009 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5010 (sendmail-query-once): Save directly to send-mail-function.
5011 Update message-send-mail-function too.
5012
5013 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5014
464cdf56
CS
50152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5016
5017 * progmodes/python.el (python-mode-map): Use correct function to
5018 start python interpreter from menu-bar (as reported by Geert
5019 Kloosterman).
5020 (inferior-python-mode-map): Fix typo.
393a301e 5021 (python-shell-map): Remove.
464cdf56 5022
d37e5c87
DD
50232011-09-03 Deniz Dogan <deniz@dogan.se>
5024
5025 * net/rcirc.el (rcirc-print): Simplify code for
5026 rcirc-scroll-show-maximum-output. There is no need to walk
5027 through all windows to find the right one.
5028
f3ada0ee
CS
50292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5030
5031 * help.el (help-return-method): Doc fix.
5032
1f3c99ca
MR
50332011-09-03 Martin Rudalics <rudalics@gmx.at>
5034
5035 * window.el (window-deletable-p): Don't return a non-nil value
5036 when there's a buffer that was shown in the window before.
5037 (Bug#9419)
393a301e
SM
5038 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5039 Set window's previous buffers to nil.
1f3c99ca 5040
a3cf097f
EZ
50412011-09-03 Eli Zaretskii <eliz@gnu.org>
5042
5043 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5044 newline before and after the tag line, so it doesn't interfere
5045 with determining the paragraph direction of bidirectional text.
5046
3d03de90
LL
50472011-09-03 Leo Liu <sdl.web@gmail.com>
5048
5049 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5050
c3313451
CY
50512011-09-02 Chong Yidong <cyd@stupidchicken.com>
5052
393a301e 5053 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5054 (pop-to-buffer): Change interactive spec. Pass second argument
5055 directly to display-buffer.
5056 (display-buffer): Fix interactive spec. Use functionp to
5057 distinguish between a function and a list of functions.
5058
5059 * abbrev.el (edit-abbrevs):
5060 * arc-mode.el (archive-extract):
5061 * autoinsert.el (auto-insert):
5062 * bookmark.el (bookmark-bmenu-list):
5063 * files.el (find-file):
5064 * view.el (view-buffer):
5065 * progmodes/compile.el (compilation-goto-locus):
5066 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5067
89894cd8
CY
50682011-09-02 Chong Yidong <cyd@stupidchicken.com>
5069
5070 * window.el (display-buffer-alist): Doc fix.
5071 (display-buffer): Add docstring. Don't treat
5072 display-buffer-default specially.
5073 (display-buffer-reuse-selected-window)
5074 (display-buffer-same-window, display-buffer-maybe-same-window)
5075 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5076 (display-buffer-pop-up-window)
5077 (display-buffer-reuse-or-pop-window)
5078 (display-buffer-use-some-window): New functions.
5079 (display-buffer-default-action): Use them.
393a301e 5080 (display-buffer-default): Delete.
89894cd8
CY
5081 (pop-to-buffer-1): Fix choice of actions.
5082
ae0bc9fb
SM
50832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * minibuffer.el (completion--insert-strings): Don't get confused by
5086 completion entries that end with an LF char.
5087
e9d90883
EZ
50882011-09-01 Eli Zaretskii <eliz@gnu.org>
5089
5090 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5091
437014c8
CY
50922011-09-01 Chong Yidong <cyd@stupidchicken.com>
5093
5094 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5095 (display-buffer-same-window, display-buffer-other-window):
5096 New functions.
437014c8
CY
5097 (pop-to-buffer-1): New function. Use the above.
5098 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5099 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5100
5101 * view.el (view-buffer-other-window, view-buffer-other-frame):
5102 Just use pop-to-buffer.
5103
a5e063d5
TV
51042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5105
5106 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5107
793d32bb
WH
51082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5109
5110 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5111
d65e4c15
RS
51122011-08-31 Richard Stallman <rms@gnu.org>
5113
5114 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5115 of the separation of rmail-view-buffer from rmail-buffer.
5116 If you say no to "replace original", the decrypt is in the
5117 view buffer. If you say yes, the decrypt goes into the
5118 rmail buffer also.
5119
f818cd2a
MR
51202011-08-31 Martin Rudalics <rudalics@gmx.at>
5121
5122 * window.el (display-buffer-window): Rewrite doc-string.
5123 (display-buffer-record-window): New function.
5124 (display-buffer-macro-specifiers)
5125 (display-buffer-even-window-sizes, display-buffer-set-height)
5126 (display-buffer-set-width, display-buffer-in-window)
5127 (display-buffer-reuse-window, display-buffer-split-specifiers)
5128 (display-buffer-side-specifiers, display-buffer-split-window-1)
5129 (display-buffer-split-window, display-buffer-split-atom-window)
5130 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5131 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5132 (display-buffer-other-window-means-other-frame)
5133 (display-buffer-normalize-special)
5134 (display-buffer-normalize-default)
5135 (display-buffer-normalize-argument)
5136 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5137 (display-buffer-normalize-specifiers, display-buffer-frame)
5138 (display-buffer-same-window, display-buffer-same-frame)
5139 (display-buffer-other-window)
5140 (display-buffer-same-frame-other-window)
5141 (display-buffer-other-frame, pop-to-buffer-same-window)
5142 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5143 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5144 (switch-to-buffer-same-frame)
5145 (switch-to-buffer-other-window-same-frame)
5146 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5147 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5148 (display-buffer-alist-set): Remove.
5149 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5150 (special-display-regexps, special-display-function):
5151 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5152 parameter.
5153 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5154 (special-display-frame-alist, special-display-popup-frame)
5155 (same-window-buffer-names, same-window-regexps, same-window-p)
5156 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5157 (split-window-preferred-function, split-height-threshold)
5158 (split-width-threshold, window-splittable-p)
5159 (split-window-sensibly, window--try-to-split-window)
5160 (window--frame-usable-p, even-window-heights)
5161 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5162 (window--display-buffer-2, display-buffer-other-frame):
5163 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5164 (display-buffer-default, display-buffer-assq-regexp): New functions.
5165 (display-buffer-alist): Rewrite doc-string.
5166 (display-buffer-default-action)
5167 (display-buffer-overriding-action): New variables.
5168 (display-buffer, switch-to-buffer): Rewrite.
5169 (pop-to-buffer): Restore Emacs 23 behavior but use
5170 window-normalize-buffer-to-display.
5171 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5172 Restore Emacs 23 behavior but use
5173 window-normalize-buffer-to-switch-to.
5174 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5175 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5176 Rewrite using Emacs 23 options.
f818cd2a 5177
5bc3b51d
MA
51782011-08-31 Michael Albinus <michael.albinus@gmx.de>
5179
5180 * net/tramp.el (tramp-root-regexp): Remove.
5181 (tramp-completion-file-name-regexp-unified)
5182 (tramp-completion-file-name-regexp-separate)
5183 (tramp-completion-file-name-regexp-url): Don't use leading volume
5184 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5185 (tramp-drop-volume-letter): Simplify definition.
5186 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5187
b1a4f8e1
SM
51882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5191 (bug#9356).
5192
5664fa7b
RT
51932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5194
b1a4f8e1 5195 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5196
9a45d6c3
JL
51972011-08-29 Juri Linkov <juri@jurta.org>
5198
5199 * isearch.el (isearch-done): Don't display message "Mark saved"
5200 when arg `edit' is non-nil to prevent its flicker in the echo area.
5201
fb87e0fb
CY
52022011-08-28 Chong Yidong <cyd@stupidchicken.com>
5203
5204 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5205 obsolete packages for deletion.
5206
09ac1c2a
CS
52072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5208
5209 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5210 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5211 view-mode from help-mode.
5212 (help-xref-override-view-map): Remove.
5213 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5214 view-mode is not used anymore.
5215
7a1ff57f
CY
52162011-08-28 Chong Yidong <cyd@stupidchicken.com>
5217
5218 * server.el (server-port): Doc fix.
5219
b9696605
CY
5220 * cus-theme.el (custom-theme-choose-mode): Inherit from
5221 special-mode (Bug#9124).
5222 (custom-theme-choose-mode-map): Add special-mode to parent.
5223
ef8cdf8c
AM
52242011-08-28 Alan Mackenzie <acm@muc.de>
5225
5226 * progmodes/cc-fonts.el
5227 (c-make-font-lock-BO-decl-search-function): New function.
5228 (c-basic-matchers-after - "Fontify the clauses after various
5229 keywords"): Extract the three keyword lists for the 3 erroneous
5230 constructs from the list of four, and use the new function above
5231 in place of an old one.
5232
27de4e20
DD
52332011-08-28 Deniz Dogan <deniz@dogan.se>
5234
5235 * net/rcirc.el (rcirc-insert-prev-input)
5236 (rcirc-insert-next-input): Remove unused argument.
5237
356a3681
SM
52382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5241
3fc9b218
AM
52422011-08-27 Alan Mackenzie <acm@muc.de>
5243
5244 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5245 handle function pointer parameters properly.
5246
538a061c
MR
52472011-08-27 Martin Rudalics <rudalics@gmx.at>
5248
5249 * window.el (display-buffer-reuse-window): Fix case where
5250 selected window was reused with non-nil OTHER-WINDOW argument.
5251 (Bug#9381)
5252
35b1c40c
DD
52532011-08-27 Deniz Dogan <deniz@dogan.se>
5254
5255 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5256 oftc's NickServ messages.
5257
2f6a3e79
GM
52582011-08-27 Glenn Morris <rgm@gnu.org>
5259
5260 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5261
7254299e
CY
52622011-08-26 Chong Yidong <cyd@stupidchicken.com>
5263
5264 * emacs-lisp/package.el (package-install): Call package-initialize
5265 if called interactively.
5266
f8ccf167
LL
52672011-08-26 Leo Liu <sdl.web@gmail.com>
5268
5269 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5270
3e8cd5ce
JL
52712011-08-25 Juri Linkov <juri@jurta.org>
5272
5273 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5274 `search-whitespace-regexp' (bug#9364).
5275
93eb7113
JL
52762011-08-25 Juri Linkov <juri@jurta.org>
5277
5278 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5279 `regexp-search-ring' to their global values to protect from
5280 updating by `read-from-minibuffer' (bug#9185).
5281
f65d1611
JL
52822011-08-25 Juri Linkov <juri@jurta.org>
5283
5284 * textmodes/ispell.el (ispell-command-loop): Add newline
5285 at the end of the "Use option `i'..." line.
5286
f1cf7a31
JL
52872011-08-25 Juri Linkov <juri@jurta.org>
5288
5289 * battery.el (display-battery-mode): If `battery-status-function'
5290 or `battery-mode-line-format' is nil, display the message and set
5291 `display-battery-mode' to nil (bug#9363).
5292
0c95fcf7
EZ
52932011-08-25 Eli Zaretskii <eliz@gnu.org>
5294
5295 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5296 bidi-string-mark-left-to-right; they are unnecessary now.
5297
a2ebe600
DD
52982011-08-25 Deniz Dogan <deniz@dogan.se>
5299
5300 * net/quickurl.el: Documentation typo fixes.
5301
e4ed06f1
CY
53022011-08-25 Chong Yidong <cyd@stupidchicken.com>
5303
5304 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5305
e5f1c99e
GM
53062011-08-25 Glenn Morris <rgm@gnu.org>
5307
b2948976
GM
5308 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5309
e5f1c99e
GM
5310 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5311 (smtpmail-via-smtp): Handle nil response from smtp.
5312
f22f4808
JL
53132011-08-24 Juri Linkov <juri@jurta.org>
5314
5315 * proced.el (proced-marked): Inherit from `error' instead of
5316 `font-lock-warning-face'.
5317
5318 * ibuffer.el (ibuffer-marked-face): Change default face from
5319 `font-lock-warning-face' to `warning'.
5320 (ibuffer-deletion-face): Change default face from
5321 `font-lock-type-face' to `error'.
5322
5323 * battery.el (battery-update): Use the face `error' instead of
5324 `font-lock-warning-face' (bug#6117).
5325
6a93965e
JL
53262011-08-24 Juri Linkov <juri@jurta.org>
5327
5328 * faces.el (success): Change face color from "Green3" to
5329 "ForestGreen" on light background (bug#9353).
5330
1ed43b09
CY
53312011-08-24 Chong Yidong <cyd@stupidchicken.com>
5332
5664fa7b
RT
5333 * window.el (quit-window): Rename from quit-restore-window.
5334 Use same arglist as old quit-window.
1ed43b09
CY
5335 (frame-auto-delete): Doc fix.
5336
5337 * view.el (view-mode-exit): Use quit-window.
5338
11dcdbb2
JL
53392011-08-24 Juri Linkov <juri@jurta.org>
5340
5341 * isearch.el (isearch-ring-adjust1): Start visiting previous
5342 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5343 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5344 for empty search string (when the last search string is reused
5345 automatically) to adjust the isearch ring to the last element and
5346 prepare the correct index for further M-p commands (bug#9185).
5347
de62b4df
KH
53482011-08-24 Kenichi Handa <handa@m17n.org>
5349
5350 * international/ucs-normalize.el: If decomposition property of
5351 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5352 nil.
5353 (nfd, nfkd): Likewise.
5354
963b492b
SM
53552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5356
5357 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5358 from process filters aren't reliably transmitted to the surrounding
5359 accept-process-output.
5360 (mpc-proc-check): New function.
5361 (mpc-proc-sync): Use it (bug#8293)
5362
93b6b5e1
SM
53632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5366 Add compatibility functions (bug#9313).
5367
bca633fb
EZ
53682011-08-23 Eli Zaretskii <eliz@gnu.org>
5369
b177498a
EZ
5370 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5371
6df6ae42 5372 * international/uni-bidi.el: Regenerate.
bca633fb 5373
0902a04e
KH
53742011-08-23 Kenichi Handa <handa@m17n.org>
5375
5376 * international/charprop.el:
5377 * international/uni-bidi.el:
5378 * international/uni-category.el:
5379 * international/uni-combining.el:
5380 * international/uni-comment.el:
5381 * international/uni-decimal.el:
5382 * international/uni-decomposition.el:
5383 * international/uni-digit.el:
5384 * international/uni-lowercase.el:
5385 * international/uni-mirrored.el:
5386 * international/uni-name.el:
5387 * international/uni-numeric.el:
5388 * international/uni-old-name.el:
5389 * international/uni-titlecase.el:
5390 * international/uni-uppercase.el: Regenerate.
5391
3bbf23bc
MR
53922011-08-23 Martin Rudalics <rudalics@gmx.at>
5393
5394 * help.el (help-window-setup): Fix message displayed when other
5395 window is reused. (Bug#9341)
5396
b3fd59bd
SM
53972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5398
1802e444
SM
5399 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5400 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5401
b3fd59bd
SM
5402 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5403 Mark obsolete.
5404 * shell.el (shell-parse-pcomplete-arguments): New function.
5405 (shell-completion-vars): Use it instead (bug#9160).
5406
4eb61348
SM
54072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5408
867cab74
SM
5409 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5410 strings and comments (bug#9333).
5411
4eb61348
SM
5412 * emacs-lisp/debug.el (debug-arglist): New function.
5413 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5414 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5415
262a1439
JL
54162011-08-22 Juri Linkov <juri@jurta.org>
5417
56ee679c
JL
5418 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5419 Revert regexp that highlights output switches to its old
5420 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5421
262a1439
JL
5422 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5423 to check for empty output (bug#9226).
5424
f13f86fb
CY
54252011-08-22 Chong Yidong <cyd@stupidchicken.com>
5426
5427 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5428 symbol-constituent as the default, as that stops font-lock from
5429 working properly (Bug#8843).
5430
c65c9622
LMI
54312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5432
5433 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5434 `coding-system-for-*' around the process open call to avoid
5435 auth-source side effects.
e7f2c178 5436 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5437 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5438 probe hangs.
c65c9622 5439
23a8a5ab
CY
54402011-08-21 Chong Yidong <cyd@stupidchicken.com>
5441
ff98b2dd
CY
5442 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5443
23a8a5ab
CY
5444 * emacs-lisp/find-func.el (find-function-noselect): New arg
5445 lisp-only.
5446
5447 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5448 signal an error for built-in functions (Bug#6664).
5449
f5e3c598
LMI
54502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5451
5452 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5453 (smtpmail-try-auth-methods): Use it.
5454
a3f2468a
CY
54552011-08-21 Chong Yidong <cyd@stupidchicken.com>
5456
2c34e8da
CY
5457 * font-lock.el (font-lock-fontify-region)
5458 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5459 (font-lock-default-unfontify-buffer)
5460 (font-lock-default-fontify-region)
5461 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5462
b3fd59bd
SM
5463 * progmodes/compile.el (compilation-error-properties):
5464 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5465 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5466 `ant' regexp.
ee31aabc 5467
a3f2468a
CY
5468 * net/browse-url.el (browse-url-firefox): Don't call
5469 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5470
8e999f70
GM
54712011-08-20 Glenn Morris <rgm@gnu.org>
5472
c21a496a
GM
5473 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5474
59ee0542
GM
5475 * tutorial.el (tutorial--default-keys): Update some default bindings.
5476
8e999f70
GM
5477 * files.el (hack-local-variables): Fully ignore case for "mode:".
5478
e3715033
AM
54792011-08-20 Alan Mackenzie <acm@muc.de>
5480
5481 Resolve invalid use of a regexp in regexp-opt.
5482
4d61f28d
JB
5483 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5484 detection for a java annotation.
e3715033 5485
4d61f28d 5486 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5487 detection for a java annotation.
5488
4d61f28d
JB
5489 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5490 handling for java.
e3715033
AM
5491 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5492
04ed2e9c
CY
54932011-08-20 Chong Yidong <cyd@stupidchicken.com>
5494
5495 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5496 (Bug#9274).
5497
826cee64
AM
54982011-08-20 Alan Mackenzie <acm@muc.de>
5499
58179cce 5500 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5501 such a construct. Mainly for when jit-lock etc. starts a chunk
5502 here.
5503
58179cce 5504 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5505 variable.
58179cce 5506 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5507 c-make-font-lock-search-function.
5508 (c-make-font-lock-search-function): Use the above function.
5509 (c-make-font-lock-context-search-function): New function.
5510 (c-cpp-matchers): Enhance the preprocessor expression case with
5511 the above function
5512 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5513 which takes an expression.
5514
5515 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5516
13009bd8
MR
55172011-08-20 Martin Rudalics <rudalics@gmx.at>
5518
5519 * window.el (display-buffer-reuse-window)
5520 (display-buffer-pop-up-window): Don't reuse or split a side
5521 window.
5522
9234ff7f
GM
55232011-08-19 Glenn Morris <rgm@gnu.org>
5524
5525 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5526 Downcase "Mode:". (Bug#9331)
9234ff7f 5527
f635daa1
CY
55282011-08-18 Chong Yidong <cyd@stupidchicken.com>
5529
5530 * international/characters.el: Add L and R categories.
5531
5532 * subr.el (bidi-string-mark-left-to-right): Rename from
5533 string-mark-left-to-right. Use category search.
5534
5535 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5536
bc987f8b
JL
55372011-08-18 Juri Linkov <juri@jurta.org>
5538
5539 * faces.el (error, warning, success): New faces with definitions
5540 copied from old default values of `font-lock-warning-face',
5541 `compilation-warning', `compilation-info' (bug#6117).
5542
5543 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5544
5545 * progmodes/compile.el (compilation-error): Inherit from `error'.
5546 (compilation-warning): Inherit from `warning'.
5547 (compilation-info): Inherit from `success'.
5548
5549 * dired.el (dired-marked): Inherit from `warning'.
5550 (dired-flagged): Inherit from `error'.
5551
57173b96
LMI
55522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5553
3e79eb87
LMI
5554 * mail/smtpmail.el (auth-source): Require to avoid problems with
5555 binding variables (bug#9298). Also clean up some unused
5556 autoloads.
5557
b3fd59bd
SM
5558 * net/network-stream.el (network-stream-open-starttls):
5559 Support using starttls.el without using gnutls-cli.
57173b96 5560
02b404de
JL
55612011-08-17 Juri Linkov <juri@jurta.org>
5562
5563 * progmodes/grep.el (rgrep): Handle the case when
5564 `grep-find-command' is a cons cell (bug#9278).
5565
8c9177f2
MR
55662011-08-17 Martin Rudalics <rudalics@gmx.at>
5567
5568 * window.el (display-buffer-pop-up-frame): Run frame creation
5569 function with BUFFER current (as special-display-popup-frame
5570 does). Reported by Drew Adams.
5571
3644a0ab
DU
55722011-08-17 Daiki Ueno <ueno@unixuser.org>
5573
5574 * epa-mail.el: Simplify GnuPG group expansion using
5575 epg-expand-group.
5576 (epa-mail-group-alist, epa-mail-group-modtime)
5577 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5578 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5579 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5580 Remove.
5581
5e617bc2 55822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5583
5584 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5585
9c4aeabf
AM
55862011-08-16 Alan Mackenzie <acm@muc.de>
5587
5588 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5589 Correct, to avoid the inside of macros.
5590
3a99bf64
RS
55912011-08-16 Richard Stallman <rms@gnu.org>
5592
04963aa8
RS
5593 * epa-mail.el: Handle GnuPG group definitions.
5594 (epa-mail-group-alist, epa-mail-group-modtime)
5595 (epa-mail-gnupg-conf-file): New variables.
5596 (epa-mail-parse-groups, epa-mail-sync-groups)
5597 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5598 (epa-mail-expand-recipients): New functions.
5599 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5600
177549d0
RS
5601 * mail/rmail.el (rmail-epa-decrypt): New command.
5602
fe38beef
RS
5603 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5604 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5605 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5606 (epa-decrypt-armor-in-region): Make error message clearer.
5607
934eacb9
SM
56082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5611 and "a2b" to "ab" for `prefix'.
5612
d024fb4e
CY
56132011-08-14 Chong Yidong <cyd@stupidchicken.com>
5614
5615 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5616 filter groups.
de148fee
CY
5617 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5618 Fourquet (Bug#8804).
d024fb4e 5619
62f1ca49
JB
56202011-08-12 Juanma Barranquero <lekktu@gmail.com>
5621
5622 * startup.el (argi): Declare as global variable (bug#9275).
5623
9ccaaa4b
CY
56242011-08-12 Chong Yidong <cyd@stupidchicken.com>
5625
5626 * subr.el (string-mark-left-to-right): Search the entire string
5627 for RTL script, not just the terminating character. Doc fix.
5628
a3dae87a
SM
56292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5630
6cd18349
SM
5631 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5632 New function.
5633 (js--regexp-literal, js-syntax-propertize-function): Remove.
5634 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5635 (js-mode-map): Don't rebind electric keys.
5636 (js-insert-and-indent): Remove.
5637 (js-mode): Setup electric-layout and electric-indent instead.
5638
a3dae87a
SM
5639 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5640
9d5cb631
DU
56412011-08-12 Daiki Ueno <ueno@unixuser.org>
5642
5643 * epa.el (epa-progress-callback-function): Fix the logic of
5644 displaying progress.
5645 * epa-file.el (epa-file-insert-file-contents): Make progress
5646 display more user-friendly.
5647 (epa-file-write-region): Ditto.
5648
3e26a4a2
CY
56492011-08-10 Chong Yidong <cyd@stupidchicken.com>
5650
5651 * subr.el (string-mark-left-to-right): New function.
5652
5653 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5654 Use string-mark-left-to-right.
5655 (list-buffers-noselect): Caller changed.
5656
a3dae87a
SM
5657 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5658 Use string-mark-left-to-right.
3e26a4a2
CY
5659 (tabulated-list-print): Recenter after moving point.
5660
ac8cf6e6
JL
56612011-08-10 Juri Linkov <juri@jurta.org>
5662
5663 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5664 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5665 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5666
8d96c9a4
CY
56672011-08-09 Chong Yidong <cyd@stupidchicken.com>
5668
5669 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5670 (Bug#7554).
5671
7be1c708 56722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5673
5674 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5675 character. (Bug#6594)
5676
37e11a63
CY
56772011-08-08 Chong Yidong <cyd@stupidchicken.com>
5678
839dde57
CY
5679 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5680 (image-dired--with-db-file): New macro.
5681 (image-dired-write-tags, image-dired-remove-tag)
5682 (image-dired-create-gallery-lists, image-dired-write-comments)
5683 (image-dired-get-comment, image-dired-mark-tagged-files)
5684 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5685 (image-dired-gallery-generate): Use insert-file-contents.
5686
37e11a63
CY
5687 * time.el (display-time-world-list, display-time-world-display):
5688 * time-stamp.el (time-stamp-string):
5689 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5690 set-time-zone-rule (Bug#7337).
5691
0b4946c4
DU
56922011-08-08 Daiki Ueno <ueno@unixuser.org>
5693
5694 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5695 (epg-error-to-string, epg-errors-to-string): New function.
5696 (epg-wait-for-completion): Reverse errors list.
5697 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5698 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5699 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5700 (epg-sign-keys, epg-generate-key-from-file)
5701 (epg-generate-key-from-string): Format errors by using
5702 epg-errors-to-string (bug#9255).
5703 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5704
75bfc667
JL
57052011-08-07 Juri Linkov <juri@jurta.org>
5706
5707 * faces.el (list-faces-display): Remove extra angle bracket
5708 from `help-mode-map'.
5709
5710 * info.el (Info-history-toc-nodes): Doc fix.
5711
5712 * longlines.el (longlines-mode): Doc fix.
5713
673e08bb
SM
57142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5715
4640dd88
SM
5716 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5717 of statements and in a few more cases (bug#9183).
5718
673e08bb
SM
5719 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5720 New functions.
5721 (cl-transform-lambda): Use them (bug#9239).
5722
89b3f019
MR
57232011-08-05 Martin Rudalics <rudalics@gmx.at>
5724
5725 * window.el (display-buffer-same-window)
5726 (display-buffer-same-frame, display-buffer-other-window)
5727 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5728 (pop-to-buffer-other-window)
5729 (pop-to-buffer-same-frame-other-window)
5730 (pop-to-buffer-other-frame): Make them defuns.
5731 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5732
640c8776
SM
57332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * subr.el (make-composed-keymap): Move from C. Change calling
5736 convention, and improve docstring to bring attention to a subtle point.
5737 * minibuffer.el (completing-read-default): Adjust accordingly.
5738
63648a95
MA
57392011-08-03 Michael Albinus <michael.albinus@gmx.de>
5740
5741 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5742 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5743
5744 * net/trampver.el: Update release number.
5745
b796c9b7
SM
57462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5749 "in" (bug#9190).
5750
2239d7d5
LMI
57512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5752
e07dd7c3
LMI
5753 * mail/sendmail.el (sendmail-query-once): Restore the current
5754 buffer after querying (bug#9074).
5755
0e6a2bd7
LMI
5756 * dired.el (dired-flagged): Use different faces for marked and
5757 flagged files (bug#6117).
5758
ce887515
LMI
5759 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5760 (bug#4433).
5761
92f2affc
LMI
5762 * ido.el (ido-mode): Switch off the message if called
5763 non-interactively.
5764
57d5aff0
LMI
5765 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5766 before 587, since it appears that that's more likely to work for
5767 more people.
5768
98cd6c18 5769 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5770 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5771 exist.
5772
b96dec83
LMI
5773 * info.el: Remove the `Info-beginning-of-buffer' function
5774 (bug#8325).
5775
b796c9b7
SM
5776 * net/network-stream.el (network-stream-open-starttls):
5777 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5778
d90e2ea0
MR
57792011-08-01 Martin Rudalics <rudalics@gmx.at>
5780
5781 * window.el (display-buffer-in-window): Don't set dedicated status
5782 of window here (Bug#9215).
5783 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5784 (display-buffer-pop-up-side-window)
b796c9b7 5785 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5786
cca09170
SM
57872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5788
5789 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5790 before binding generated-autoload-file.
5791
027b979c
DD
57922011-08-01 Deniz Dogan <deniz@dogan.se>
5793
5794 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5795
3c7ee4f3
MA
57962011-07-30 Michael Albinus <michael.albinus@gmx.de>
5797
5798 Sync with Tramp 2.2.2.
5799
5800 * net/trampver.el: Update release number.
5801
2cc8e51a
JL
58022011-07-30 Juri Linkov <juri@jurta.org>
5803
5804 * dired-aux.el (dired-touch-initial): Remove function.
5805 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5806 current time, and `default' to the last modification time of the
5807 current marked file (bug#6887).
5808
a514d856
JM
58092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5810
5811 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5812 numeric argument to read-number (bug#9163).
a514d856 5813
8a7eddd7
MA
58142011-07-27 Michael Albinus <michael.albinus@gmx.de>
5815
5816 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5817 connection process, it could be nil.
5818
1ddd96f5
LL
58192011-07-27 Leo Liu <sdl.web@gmail.com>
5820
5821 Simplify url handling in rcirc-mode.
5822
5823 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5824 (rcirc-browse-url-at-mouse): Remove.
5825 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5826
b248a85d
AM
58272011-07-26 Alan Mackenzie <acm@muc.de>
5828
5829 Fontify bitfield declarations properly.
5830
5831 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5832 (c-symbol-chars): Now exported as a lang variable.
5833 (c-not-primitive-type-keywords): New lang variable.
5834
5835 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5836 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5837 parsed as a bitfield declaration.
b248a85d 5838
b796c9b7
SM
5839 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5840 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5841 (c-punctuation-in): New function.
5842 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5843 declarations properly.
5844
68575ab0
UJ
58452011-07-26 Ulf Jasper <ulf.jasper@web.de>
5846
5847 * calendar/icalendar.el (icalendar--all-events): Take care of
5848 multiple vcalendars in a single file.
b796c9b7 5849 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5850
0f0a88b9
DD
58512011-07-25 Deniz Dogan <deniz@dogan.se>
5852
5853 * image.el (insert-image): Clarifying docstring.
5854
0b3f36df
MA
58552011-07-24 Michael Albinus <michael.albinus@gmx.de>
5856
5857 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5858 `tramp-send-command-and-check' if there is no error.
5859 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5860
a9901f61
AM
58612011-07-22 Alan Mackenzie <acm@muc.de>
5862
5863 Prevent cc-langs.elc being loaded at run time.
5864
5865 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5866 cc-langs.
5867
4d61f28d 5868 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5869 "(require 'cc-langs)". Quote a form so it will evaluate at
5870 (cc-mode's) compilation time.
5871
11d074b2
MA
58722011-07-22 Michael Albinus <michael.albinus@gmx.de>
5873
5874 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5875 loading. (Bug#9114)
5876
938b94c8
MR
58772011-07-21 Martin Rudalics <rudalics@gmx.at>
5878
5879 * window.el (display-buffer-pop-up-window)
5880 (display-buffer-pop-up-side-window)
5881 (display-buffer-in-side-window): Call display-buffer-set-height
5882 and display-buffer-set-width after setting the new window's
b796c9b7 5883 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5884
bfa4f190
SS
58852011-07-20 Sam Steingold <sds@gnu.org>
5886
5887 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5888 (etags-tags-included-tables): Call `convert-standard-filename' on
5889 the file names contained in TAGS so that windows Emacs can handle
5890 TAGS files created by cygwin ctags.
5891
8ca42262
LMI
58922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5893
5894 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5895 which apparently didn't work.
5896
5db2afd2 58972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5898
5db2afd2
RW
5899 * proced.el (proced-send-signal): For *Marked Processes* buffer
5900 put point at beginning of buffer.
5901
92e15d10
SB
59022011-07-19 Stephen Berman <stephen.berman@gmx.net>
5903
5904 * proced.el (proced-format): Make header lines align with the text
5905 (bug#1779).
5906
1bfd59e5
LMI
59072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5908
5909 * view.el (view-buffer): Allow running in `special' modes if we're
5910 visiting a file (bug#8615).
5911
f5aae37c
MR
59122011-07-19 Martin Rudalics <rudalics@gmx.at>
5913
5914 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5915 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5916 New functions.
f5aae37c
MR
5917 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5918 more accurately.
5919
bf2c1571
AM
59202011-07-18 Alan Mackenzie <acm@muc.de>
5921
5922 Fontify declarators properly when, e.g., a jit-lock chunk begins
5923 inside a declaration.
5924
5925 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5926
b796c9b7
SM
5927 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5928 New function.
bf2c1571
AM
5929 (c-complex-decl-matchers): Insert reference to
5930 c-font-lock-enclosing-decls.
5931
5932 * progmodes/cc-engine.el (c-backward-single-comment):
5933 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5934 to nil around calls to (forward-comment -1).
5935
4e190b80
LMI
59362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5937
12dc863d
LMI
5938 * image.el (put-image): Doc typo fix.
5939
a762e966
LMI
5940 * progmodes/etags.el (tags-search): Doc typo fix.
5941
4e190b80
LMI
5942 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5943 password if we get errors 550 to 554.
5944
f019fb21
LMI
59452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5946
b796c9b7 5947 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5948
81746738
LMI
5949 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5950 indentation character (bug#6380).
5951
3ee3a1b5
LMI
5952 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5953
c82f64de
LMI
5954 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5955 to clarify what the problem is (bug#4291).
5956
f019fb21
LMI
5957 * simple.el (current-kill): Clarify what
5958 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5959 (auto-fill-mode): Document `auto-fill-function' in relation to
5960 `auto-fill-mode' (bug#2470).
f019fb21 5961
0794775d
LM
59622011-07-16 Lawrence Mitchell <wence@gmx.li>
5963
5964 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5965 method if slot is read-only (bug#9035).
5966
be39b8cc
MR
59672011-07-16 Martin Rudalics <rudalics@gmx.at>
5968
b796c9b7 5969 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5970 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5971 selected before, see discussion of (Bug#8615), (Bug#6954).
5972 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5973
6ccf7859
GM
59742011-07-15 Glenn Morris <rgm@gnu.org>
5975
5976 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5977 Respect help-form.
6ccf7859 5978
87e86684
LM
59792011-07-09 Lawrence Mitchell <wence@gmx.li>
5980
5981 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5982 (gnutls-negotiate): Use it.
5983
d6066239
LMI
59842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5985
b796c9b7
SM
5986 * net/gnutls.el (gnutls-negotiate):
5987 Upcase `gnutls-algorithm-priority'.
d6066239 5988
bd23ebc0
GM
59892011-07-15 Glenn Morris <rgm@gnu.org>
5990
c65bca65
GM
5991 * jka-compr.el (jka-compr-verbose): Move from here...
5992 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5993 Add missing :version tag.
5994 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5995
478615cc
LMI
59962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5997
7b41decb
LMI
5998 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5999 (gnutls-negotiate): Use it.
6000
dbc44fcd
LMI
6001 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6002
06789f97
LMI
6003 * info.el (Info-beginning-of-buffer): New command.
6004 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6005 announcing `b' as the key (bug#8325).
ab896c37 6006 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6007
c39da690
LMI
6008 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6009
3aa5f34b
LMI
6010 * international/mule-cmds.el
6011 (describe-specified-language-support): Make the error message
6012 clearer (bug#8905).
6013
4bf0979f
LMI
6014 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6015
478615cc
LMI
6016 * isearch.el (isearch-barrier): Add a doc string, since it's
6017 mentioned in a function doc string (bug#8678).
6018
75c68aa1
MR
60192011-07-15 Martin Rudalics <rudalics@gmx.at>
6020
6021 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6022 buffer argument (Bug#9083) and self-identifying label argument.
6023
a7c33da2
GM
60242011-07-15 Glenn Morris <rgm@gnu.org>
6025
6026 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6027
2f5c6024
LMI
60282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029
6030 * man.el (Man-fontify-manpage): Fix message when formatting the
6031 man page (bug#7929).
6032
0bb23927 60332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6034
6035 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6036 argument LRM; if non-nil, append an invisible LRM character to the
6037 buffer name.
6038 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6039 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6040 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6041 paragraph direction.
cce4b0a7 6042
621ef9ab
LMI
60432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044
d1583c48
LMI
6045 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6046 the man page name (bug#7929).
6047
6a57fb5f
LMI
6048 * image.el (put-image): Mention the `put-image' overlay property
6049 (bug#7834).
6050
d7956b14
LMI
6051 * scroll-bar.el (set-scroll-bar-mode): Mention that
6052 `scroll-bar-mode' lists the values (bug#7772).
6053
5b2d4a66
LMI
6054 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6055 command (bug#7729).
6056
7509a874
LMI
6057 * rect.el (apply-on-rectangle): Return the point after the last
6058 operation.
6059 (string-rectangle): Go to the point after the last operation
6060 (bug#7522).
6061
4fe74b19
LMI
6062 * printing.el (pr-toggle-region): Clarify the documentation
6063 slightly (bug#7493).
6064
b796c9b7
SM
6065 * time.el (display-time-update):
6066 Allow `display-time-mail-function' to return nil (bug#7158).
6067 Fix suggested by Detlev Zundel.
ab283561 6068
fc233c9d
LMI
6069 * vc/diff.el (diff): Clarify the order the file names are read
6070 (bug#7111).
6071
43f5740b
LMI
6072 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6073 the doc string (bug#7015).
6074
f2182a76
LMI
6075 * font-lock.el (font-lock-maximum-decoration): Mention what
6076 numeric levels mean (bug#6935).
6077
621ef9ab
LMI
6078 * startup.el (initial-buffer-choice): Don't mention the `none'
6079 selection, which is against policy.
6080
adc47434
MR
60812011-07-14 Martin Rudalics <rudalics@gmx.at>
6082
b796c9b7
SM
6083 * window.el (display-buffer-normalize-special):
6084 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6085
7e5bfb8f
EZ
60862011-07-14 Eli Zaretskii <eliz@gnu.org>
6087
6088 * subr.el (version<, version<=, version=): Mention "-CVS" and
6089 "-12345" alpha version numbers.
6090
27fa387a
CY
60912011-07-14 Chong Yidong <cyd@stupidchicken.com>
6092
6093 * bindings.el: Add advertised binding for set-mark-command
6094 (Bug#5772).
6095
8bdfa064
CY
60962011-07-14 Chong Yidong <cyd@stupidchicken.com>
6097
6098 * bindings.el (mode-line-other-buffer):
6099 * bookmark.el (bookmark-bmenu-2-window):
6100 * bs.el (bs-cycle-next, bs-cycle-previous):
6101 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6102 switch-to-buffer.
6103
6104 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6105 Delete.
8bdfa064 6106
5eba16a3
JB
61072011-07-14 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * follow.el (follow-debug-message, follow-redisplay):
6110 * jka-cmpr-hook.el (with-auto-compression-mode):
6111 Fix typos in docstrings.
6112
15853710
LMI
61132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6114
a28e4607
LMI
6115 * subr.el (with-silent-modifications): Clarify somewhat what the
6116 macro inhibits (bug#6525).
6117
15853710
LMI
6118 * simple.el (eval-expression): Note what it does if called
6119 interactively (bug#6495).
6120
bee0fcef
CY
61212011-07-13 Chong Yidong <cyd@stupidchicken.com>
6122
b796c9b7
SM
6123 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6124 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6125
6126 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6127 Remove switch-to-buffer.
6128
58274504
LMI
61292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6130
bd2fcc8d
LMI
6131 * files.el (make-directory): Clarify that an error will be raised
6132 if there's an error (bug#6397).
6133
0f04b32c
LMI
6134 * startup.el (initial-buffer-choice): Add `none' as a choice
6135 (bug#6234).
6136
465c5fc8
LMI
6137 * subr.el (add-hook): Clarify section about buffer-local hooks
6138 (bug#6218).
6139
58274504
LMI
6140 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6141
bead9a43
JB
61422011-07-13 Juanma Barranquero <lekktu@gmail.com>
6143
6144 * tabify.el (untabify): Preserve the current column so that point
6145 doesn't move (bug#6032).
6146
3af98a7b
LMI
61472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6148
b796c9b7
SM
6149 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6150 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6151
6240145a
GM
61522011-07-13 Glenn Morris <rgm@gnu.org>
6153
6154 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6155 (dired-insert-directory): Give a message the first time
6156 if ls is found not to support --dired.
6157
1d8c2ccc
LMI
61582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6159
6160 * simple.el (toggle-truncate-lines): Clarify what is toggled
6161 (bug#5580). Text by Drew Adams.
6162
5fc4038e
CY
61632011-07-13 Chong Yidong <cyd@stupidchicken.com>
6164
6165 * simple.el (blink-matching-open): Make the error message from the
6166 last change less verbose.
6167
bf6012e5
DN
61682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6169
6170 * font-lock.el (font-lock-comment-face): Use the high contrast
6171 "yellow" color for font-lock-comment-face on low color terminals
6172 using a dark background color (bug#4221).
6173
343c3b5a
LMI
61742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6175
7e9505c5
LMI
6176 * dired.el (dired-insert-set-properties): Make the doc string
6177 reflect what it does now (bug#5325).
6178
c26fdcf5
LMI
6179 * simple.el (blink-matching-open): Say that we were unable to find
6180 the match within the limit, if we're limited (bug#5122).
6181
bb388cc5
LMI
6182 * international/mule-cmds.el (prefer-coding-system): Add an
6183 example (bug#4869).
6184
343c3b5a
LMI
6185 * progmodes/etags.el (tags-search): Document `file-list-form'
6186 (bug#4731).
6187
2a517d45
LM
61882011-07-13 Lawrence Mitchell <wence@gmx.li>
6189
6190 * net/browse-url.el (browse-url-default-browser)
6191 (browse-url-browser-function): Make the default browser choice a
6192 bit more logical (bug#4300). Also clean up the doc string.
6193
b6c78ef2
JB
61942011-07-13 Juanma Barranquero <lekktu@gmail.com>
6195
6196 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6197 binary endings (bug#4440).
6198
1c4dd947
LMI
61992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6200
a2014063
LMI
6201 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6202 which can be pretty annoying (bug#8971).
6203
9c9c2d88
LMI
6204 * jka-compr.el (jka-compr-verbose): New variable, and use
6205 throughout (bug#8971).
6206
1c4dd947
LMI
6207 * info.el (Info-find-file): Fall back on the installation
6208 directory if we can't find the info node anywhere else.
6209
a1c9f41b
SO
62102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6211
6212 * vc/vc.el (vc-revert-file):
6213 Don't set file time-stamp in the past. (Bug#5181)
6214
536f3d36
LMI
62152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6216
7152b011
LMI
6217 * files.el (after-find-file): Give a better error message when
6218 trying to find a symlink that points to a file that doesn't exist
6219 (bug#4398).
6220
536f3d36
LMI
6221 * progmodes/cc-vars.el: Remove (probably) misleading comment
6222 (bug#4396).
6223
460c0fba
JB
62242011-07-12 Johan Bockgård <bojohan@gnu.org>
6225
6226 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6227
7a6bda45
CY
62282011-07-12 Chong Yidong <cyd@stupidchicken.com>
6229
6230 * mouse-sel.el: Hack restoring functionality, while keeping
6231 compatibility with 2010-07-03 changes to mouse selection.
6232 (mouse-sel-primary-overlay): New var.
6233 (mouse-sel-selection-alist): Use it.
6234 (mouse-sel-mode): Doc fix; remove points that are default features
6235 of mouse.el.
6236
c79598ef
JB
62372011-07-12 Johan Bockgård <bojohan@gnu.org>
6238
6239 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6240 Fix previous fix (bug#2490).
6241
ff8be6ef
RW
62422011-07-12 Roland Winkler <winkler@gnu.org>
6243
b796c9b7
SM
6244 * textmodes/bibtex.el (bibtex-initialize):
6245 Use pop-to-buffer-same-window.
ff8be6ef
RW
6246 (bibtex-search-entries): Fix interactive call.
6247
296ba3ee
LMI
62482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249
f5242a02 6250 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6251 Fontise bytecomp Error lines more correctly (bug#2490).
6252 Fix suggested by Johan Bockgård.
f5242a02 6253
296ba3ee
LMI
6254 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6255
6256 * dired-x.el (dired-guess-default): Use `delete-dups'.
6257
f69fd0d2
CY
62582011-07-12 Chong Yidong <cyd@stupidchicken.com>
6259
6260 * dired.el (dired-mark-prompt):
6261 * dired-aux.el (dired-read-shell-command): Doc fix.
6262
eab5dc07
LMI
62632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6264
b796c9b7
SM
6265 * mail/sendmail.el (sendmail-query-once):
6266 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6267 emacs -Q.
6268
6269 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6270
eab5dc07
LMI
6271 * cus-edit.el (custom-file): Take an optional no-error variable.
6272 (customize-save-variable): Set the variable, and give a warning if
6273 running under "emacs -q".
6274
a1e65d42
JB
62752011-07-11 Juanma Barranquero <lekktu@gmail.com>
6276
6277 * loadhist.el (unload-feature-special-hooks):
6278 Add `auto-coding-functions', `fill-nobreak-predicate' and
6279 `find-directory-functions' (bug#5327).
6280
1d52da10
LMI
62812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282
be958f1d
LMI
6283 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6284
5bedb26c
LMI
6285 * cus-edit.el (custom-guess-name-alist): -alist variables should
6286 use the `alist' type (bug#3120). Suggested by Drew Adams.
6287
1d52da10
LMI
6288 * printing.el: Add documentation to all the `pr-toggle-' commands.
6289
cd394be1 62902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6291
6292 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6293 backends where it makes sense (bug#2623).
6294
dcc88d8a
LMI
62952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6296
c3de9feb
LMI
6297 * dired-x.el (dired-guess-default): Remove duplicate shell command
6298 entries (bug#2028).
8a93078b 6299 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6300 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6301
dcc88d8a
LMI
6302 * subr.el (remove-duplicates): New conveniency function.
6303
505e3645
LMI
63042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6305
6306 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6307 (bug#1526).
6308
63092011-07-10 Martin Rudalics <rudalics@gmx.at>
6310
6311 * window.el (display-buffer-normalize-default): Don't invert
6312 meaning of even-window-heights. Reported by Eli Zaretskii
6313 <eliz@gnu.org>.
6314
455e4fa1
BR
63152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6316
6317 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6318
8e0bc3e9
CY
63192011-07-10 Chong Yidong <cyd@stupidchicken.com>
6320
6321 * window.el (display-buffer): Fix arguments to
6322 display-buffer-reuse-window in last change.
6323
fa7c3228
CY
6324 * faces.el (link): Use a less saturated blue on light backgrounds.
6325
6326 * startup.el (fancy-startup-text, fancy-about-text)
6327 (fancy-startup-tail): Use font-lock faces, for background safety.
6328
c0a7f300
BN
63292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6330
b796c9b7
SM
6331 * emulation/viper-cmd.el (viper-change-state-to-vi):
6332 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6333
4dc2a129
MR
63342011-07-09 Martin Rudalics <rudalics@gmx.at>
6335
6336 * window.el (display-buffer-default-specifiers): Remove.
6337 (display-buffer-macro-specifiers): Remove default specifiers.
6338 (display-buffer-alist): Default to nil.
b796c9b7 6339 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6340 (display-buffer-pop-up-window): Allow splitting internal
6341 windows. Check whether a live window was created.
6342 (display-buffer-other-window-means-other-frame)
6343 (display-buffer-normalize-arguments): Rename to
6344 display-buffer-normalize-argument and rewrite. Set the
6345 other-window specifier.
6346 (display-buffer-normalize-special): New function.
6347 (display-buffer-normalize-options): Rename to
6348 display-buffer-normalize-default and rewrite.
6349 (display-buffer-normalize-options-inhibit): Remove.
6350 (display-buffer-normalize-specifiers): Rewrite.
6351 (display-buffer): Process other-window specifier and call
6352 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6353 more faithfully.
b796c9b7 6354 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6355 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6356 (display-buffer-in-window, display-buffer-alist-set):
6357 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6358 <tassilo@member.fsf.org>.
6359
2d43b8c9
LL
63602011-07-09 Leo Liu <sdl.web@gmail.com>
6361
6362 * register.el (insert-register): Restore accidental change on
6363 2011-06-26. (Bug#9028)
6364
7f9b7c53
GM
63652011-07-09 Glenn Morris <rgm@gnu.org>
6366
6367 * subr.el (remq): Handle the empty list. (Bug#9024)
6368
f042cfd8
AS
63692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6370
6371 * mail/sendmail.el (send-mail-function): No longer delay custom
6372 initialization.
6373 * custom.el (custom-initialize-delay): Doc fix.
6374
856b2f11
SM
63752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6378
afae1d68
MA
63792011-07-08 Michael Albinus <michael.albinus@gmx.de>
6380
6381 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6382 human-friendly prompt.
6383
0757af94
SM
63842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6387 provided by a particular plugin.
6388
d760b731
LMI
63892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6390
6391 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6392 save customizations (with "emacs -Q"), just set the variable
6393 instead of erroring out.
6394
6395 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6396
cd79ce90
JL
63972011-07-08 Juri Linkov <juri@jurta.org>
6398
6399 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6400 (archive-zip-update-case): Use 7z if found by `executable-find'.
6401 The order of searching the available programs is the same as in
6402 `archive-zip-extract' (bug#8968).
6403
14cc04aa
CY
64042011-07-07 Chong Yidong <cyd@stupidchicken.com>
6405
6406 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6407 (menu-bar-options-menu): Tweak descriptions.
6408
0a1848ec
LMI
64092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6410
6411 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6412 menu items into verb phrases (bug#1421). Also refill to fit under
6413 80 columns.
6414
f5bd0689
CY
64152011-07-07 Chong Yidong <cyd@stupidchicken.com>
6416
538e85c6
CY
6417 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6418 (Info-read-node-name): Doc fix (Bug#1084).
6419
f5bd0689
CY
6420 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6421 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6422 (end-of-sexp, beginning-of-sexp)
6423 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6424 (forward-symbol, forward-same-syntax, word-at-point)
6425 (sentence-at-point): Doc fix (Bug#1144).
6426
56ec5115
LMI
64272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6428
f3f8e37f
LMI
6429 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6430 should cover it (bug#1281).
6431
0757af94 6432 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6433
e9fce1ac 6434 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6435 negotiation fails, then possibly try again with a non-encrypted
6436 connection (bug#9017).
6437
56ec5115
LMI
6438 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6439 be used.
6440
c2f9aec8
RS
64412011-07-07 Richard Stallman <rms@gnu.org>
6442
6443 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6444 property, and handle its changed format.
6445 Look for the correct line number.
6446 Use file's line contents (but not past first =) to find
6447 correct line in message.
6448
ef7b981d 64492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6450
6451 * international/characters.el (build-unicode-category-table):
6452 Delete it.
0757af94 6453 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6454
0757af94 6455 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6456 to src/chartab.c.
6457 (get-char-code-property): Call unicode-property-table-internal to
6458 load a file. Call get-unicode-property-internal where necessary.
6459 (put-char-code-property): Call unicode-property-table-internal to
6460 load a file. Call put-unicode-property-internal where necessary.
6461 put-unicode-property-internal where necessary.
0757af94
SM
6462 (char-code-property-description):
6463 Call unicode-property-table-internal to load a file.
c805dec0
KH
6464
6465 * international/charprop.el:
6466 * international/uni-bidi.el:
6467 * international/uni-category.el:
6468 * international/uni-combining.el:
6469 * international/uni-comment.el:
6470 * international/uni-decimal.el:
6471 * international/uni-decomposition.el:
6472 * international/uni-digit.el:
6473 * international/uni-lowercase.el:
6474 * international/uni-mirrored.el:
6475 * international/uni-name.el:
6476 * international/uni-numeric.el:
6477 * international/uni-old-name.el:
6478 * international/uni-titlecase.el:
6479 * international/uni-uppercase.el: Regenerate.
6480
6481 * loadup.el: Load international/charprop.el before
6482 international/characters.
6483
e14b388a
CY
64842011-07-07 Chong Yidong <cyd@stupidchicken.com>
6485
6486 * window.el (next-buffer, previous-buffer): Signal an error if
6487 called from a minibuffer window.
6488
6489 * bindings.el: Revert 2011-07-04 change.
6490
354cf0ba
RS
64912011-07-06 Richard Stallman <rms@gnu.org>
6492
6493 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6494 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6495 Treat markers like ints.
6496 (rmail-mime-entity): Doc fix.
6497
a48868a7
LMI
64982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6499
4906cd3d
LMI
6500 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6501 defcustom again for backwards compatibility.
6502
e0457abe
LMI
6503 * simple.el (shell-command-on-region): Fill.
6504
d67f7e1f
LMI
6505 * dired-aux.el (dired-kill-line): Add a doc string.
6506
fe204702
LMI
6507 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6508 to "\\sw\\|\\s_" (bug#358).
6509
a48868a7
LMI
6510 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6511 (dired-unmark-backward): Ditto.
6512 (dired-flag-backup-files): Ditto.
6513
6514 * dired-x.el (dired-mark-sexp): Ditto.
6515
aa8a705c
RS
65162011-07-06 Richard Stallman <rms@gnu.org>
6517
6518 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6519 (rmail-mime-entity): New arg TRUNCATED.
6520 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6521 New functions.
6522 (rmail-mime-save): Warn if entity is truncated.
6523 (rmail-mime-toggle-hidden): Likewise, for showing.
6524 (rmail-mime-process-multipart): Record when an entity is truncated.
6525
a9a936b9
RS
6526 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6527 if ENTITY is a string.
6528
1f2b92cb
LMI
65292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6530
f4f73198 6531 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6532 of faces when `M-C-x'-ing their definitions (bug#8378).
6533 Also clean up the code slightly.
f4f73198 6534
12b16734 6535 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6536 because that makes the colors go away.
12b16734 6537
f0691d22
LMI
6538 * mail/sendmail.el (send-mail-function): Change the default to
6539 `sendmail-query-once'.
9e87df06 6540 (sendmail-query-once): Add an autoload cookie.
f0691d22 6541
1f2b92cb
LMI
6542 * net/network-stream.el (network-stream-open-starttls): Try using
6543 a plain connection even if the server offered STARTTLS, and we
6544 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6545 capability. This should make smtpmail.el work in slightly more
6546 configurations.
6547
1cdd2a1b
MA
65482011-07-06 Michael Albinus <michael.albinus@gmx.de>
6549
6550 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6551 New defun.
6552 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6553
fbcc67e2
MM
65542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6555
6556 * progmodes/sql.el: Version 3.0
0757af94 6557 (sql-product-alist): Add product :completion-object,
fbcc67e2 6558 :completion-column, and :statement attributes.
0757af94 6559 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6560 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6561 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6562 ansi keywords.
6563 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6564 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6565 (sql-oracle-show-reserved-words): New function for development.
6566 (sql-product-font-lock): Simplify for source code buffers.
6567 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6568 New functions.
6569 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6570 (sql-mode-map): Add statement movement functions.
6571 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6572 New variable.
fbcc67e2
MM
6573 (sql-statement-regexp, sql-beginning-of-statement)
6574 (sql-end-of-statement, sql-signum): New functions.
0757af94 6575 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6576 (sql-show-sqli-buffer): Bug fix.
6577 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6578 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6579 with sql-interactive-mode.
6580 (sql-save-connection): Save buffer local settings.
0757af94 6581 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6582 (sql-product-interactive): Bug fix.
6583 (sql-preoutput-hold): New variable.
6584 (sql-interactive-remove-continuation-prompt): Bug fixes.
6585 (sql-debug-redirect): New variable.
6586 (sql-str-literal): New function.
6587 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6588 Redesign.
fbcc67e2
MM
6589 (sql-oracle-save-settings, sql-oracle-restore-settings)
6590 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6591 (sql-completion-object, sql-completion-column)
6592 (sql-completion-sqlbuf): New variables.
6593 (sql-build-completions-1, sql-build-completions)
6594 (sql-try-completion): New functions.
6595 (sql-read-table-name): Use them.
6596 (sql-contains-names): New buffer local variable.
6597 (sql-list-all, sql-list-table): Use it.
6598 (sql-oracle-completion-types): New variable.
6599 (sql-oracle-completion-object, sql-sqlite-completion-object)
6600 (sql-postgres-completion-object): New functions.
6601
d4eaeab1
GM
66022011-07-06 Glenn Morris <rgm@gnu.org>
6603
6604 * window.el (pop-to-buffer): Doc fix.
6605
322b7dab 66062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6607
6608 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6609
322b7dab 66102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6611
322b7dab 6612 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6613
322b7dab 6614 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6615
605dd5bf
CY
66162011-07-05 Chong Yidong <cyd@stupidchicken.com>
6617
6618 * button.el (button): Inherit from link face. Suggested by Dan
6619 Nicolaescu.
6620
7dbfa719
SM
66212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6622
3db614b0
SM
6623 * progmodes/gdb-mi.el: Fit in 80 columns.
6624 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6625 switch-to-buffer.
6626
7dbfa719
SM
6627 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6628 if imenu is simply not configured (bug#8941).
6629
919d884a
KM
66302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6631
6632 * allout.el (allout-post-undo-hook): New allout outline-change
6633 event hook to signal undo activity.
6634 (allout-post-command-business): Run allout-post-undo-hook if an
6635 undo just occurred.
7dbfa719
SM
6636 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6637 * allout-widgets.el (allout-widgets-after-undo-function):
6638 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6639 in the vicinity of an undo.
6640 (allout-widgets-mode): Include allout-widgets-after-undo-function
6641 on the new allout-post-undo-hook.
6642
450a0f09
SM
66432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6646 Let define-derived-mode define it.
6647 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6648 cycles of abbrev-table inheritance (bug#8998).
6649
2de69e00
RW
66502011-07-05 Roland Winkler <winkler@gnu.org>
6651
6652 * textmodes/bibtex.el: Add support for biblatex.
6653 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6654 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6655 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6656 (bibtex-entry-alist, bibtex-field-alist): New variables.
6657 (bibtex-entry-field-alist): Obsolete alias for
6658 bibtex-BibTeX-entry-alist.
6659 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6660 (bibtex-set-dialect): New command.
6661 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6662 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6663 Bind via bibtex-set-dialect.
2de69e00
RW
6664 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6665 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6666 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6667 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6668 Define via bibtex-set-dialect.
450a0f09
SM
6669 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6670 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6671 (bibtex-vec-push, bibtex-vec-incr): New functions.
6672 (bibtex-format-entry, bibtex-field-list)
6673 (bibtex-print-help-message, bibtex-validate)
6674 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6675
2dcdbdd9
SM
66762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * progmodes/compile.el (compilation-goto-locus):
6679 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6680 * bs.el (bs-cycle-next, bs-cycle-previous):
6681 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6682 * bindings.el (mode-line-other-buffer):
6683 * autoinsert.el (auto-insert):
6684 * arc-mode.el (archive-extract):
6685 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6686
b27640fe
JB
66872011-07-05 Juanma Barranquero <lekktu@gmail.com>
6688
6689 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6690 Fix check of `emacs-lock-unlockable-modes'.
6691 Coerce true values of `emacs-lock--try-unlocking' to t.
6692
53bbe3ad
JB
66932011-07-05 Juanma Barranquero <lekktu@gmail.com>
6694
6695 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6696 * emacs-lock.el: New file.
6697
1d3cdbc7
JD
66982011-07-05 Julien Danjou <julien@danjou.info>
6699
6700 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6701 than `boundp' to check if face is set.
6702
9173deec
JB
67032011-07-05 Juanma Barranquero <lekktu@gmail.com>
6704
6705 * register.el (registerv-make):
6706 * window.el (window-min-height): Fix typos in docstrings.
6707
869795d6
JD
67082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6709
9173deec 6710 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6711 Update doc string.
6712
b768cdcd
JB
67132011-07-04 Juanma Barranquero <lekktu@gmail.com>
6714
6715 * server.el (server-execute): Catch quit and call
6716 `server-return-error' to pass the error back to emacsclient and
6717 close the connection (bug#8942).
6718
13aa217b
KM
67192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6720
6721 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6722 insecure exception for current topic. Also note that auto-saves
6723 are handled differently.
6724
6725 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6726 State variables for tracking auto-save inhibition situation.
6727
6728 (allout-write-contents-hook-handler): Rename from
6729 'allout-write-file-hook-handler', and describe how it depends on
6730 write-contents-functions sensitivity to non-nil value to prevent
6731 file write.
6732
6733 (allout-auto-save-hook-handler): Remove. auto-save does not check
6734 this in individual buffers, only in the starting buffer, so this
6735 is not the right way for us to inhibit auto-save in a buffer
6736 according to its condition.
6737
6738 (allout-mode): Use new allout-write-contents-hook-handler, and
6739 only with write-contents-functions. Remove auto-save provisions -
6740 they're implemented elsewhere.
6741
6742 (allout-before-change-handler): If undo is in progress, note that
6743 for attention of allout-post-command-business.
6744
6745 (allout-post-command-business): If the command we're following was
6746 an undo, check for change in the status of encrypted items and
6747 adjust auto-save inhibitions accordingly.
6748
6749 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6750 according to whether there are or aren't any plain-text topics
6751 pending encryption.
6752
2dcdbdd9 6753 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6754 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6755 if there are plain-text topics pending encryption.
13aa217b
KM
6756
6757 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6758 buffer-saved-size and some allout state to not inhibit auto-saves
6759 if there are no longer any plain-text topics pending encryption.
6760
0757af94
SM
6761 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6762 No longer provide for exemption of the current topic.
13aa217b 6763
ac89b32c
JL
67642011-07-04 Juri Linkov <juri@jurta.org>
6765
6766 Add 7z operations to delete and save changed members (bug#8968).
6767 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6768 New defcustoms.
6769 (archive-7z-write-file-member): New function.
6770 (archive-7z-summarize): Fix the number of dashes in the
6771 listing output.
6772
8fa39615
SM
67732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6776 (bug#8958).
6777
2f11b3f1
CY
67782011-07-04 Chong Yidong <cyd@stupidchicken.com>
6779
d66fef2b
CY
6780 * bindings.el: Ignore next-buffer and previous-buffer in
6781 minibuffer-local-map.
6782
2f11b3f1
CY
6783 * font-lock.el (font-lock-builtin-face): Change light background
6784 color to dark slate blue (Bug#6693).
6785
f932a347
WD
67862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6787
6788 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6789
c8af70e1
SM
67902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6793 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6794 Add switch-to-buffer.
6795
f158badc
LMI
67962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6797
6798 * isearch.el (isearch-search-fun-function): Clarify further the
6799 meaning of the function returned.
6800
6d95bd46
MA
68012011-07-04 Michael Albinus <michael.albinus@gmx.de>
6802
6803 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6804
6805 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6806 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6807 Use it.
6808 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6809 `tramp-default-remote-path' does not exist.
6810 (tramp-send-command-and-read): New optional argument NOERROR.
6811 (tramp-open-connection-setup-interactive-shell)
6812 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6813 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6814 (tramp-process-sentinel): Flush also process' connection property.
6815 (tramp-sh-handle-start-file-process): Do not set process
6816 sentinel. It is done now ...
6817 (tramp-maybe-open-connection): ... here. (Bug#8929)
6818
909e6b67
MK
68192011-07-04 MON KEY <monkey@sandpframing.com>
6820
6821 * play/animate.el (animate-string): Doc fixes and allow changing
6822 the buffer name (bug#5417).
6823
68242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6825
c8af70e1 6826 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6827
f34755dc
PE
68282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6829
396cec72
PE
6830 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6831 This is simpler and helps future-proof the code.
6832 (timer-until): Use time-subtract and float-time.
08235028 6833 (timer--time-less-p): Use time-less-p.
f34755dc 6834
56e6cc31
JB
68352011-07-04 Juanma Barranquero <lekktu@gmail.com>
6836
3abb79e5
JB
6837 * type-break.el (timep): Use the value of `float-time' to avoid a
6838 byte-compiler warning.
6839
56e6cc31
JB
6840 * server.el (server-eval-and-print): Return any result, even nil.
6841
7b9430b4
PE
68422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6843
6844 * type-break.el: Accept time formats that the builtins accept.
6845 (timep, type-break-time-difference): Accept any format that
6846 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6847 This is simpler and helps future-proof the code.
6848 (type-break-time-difference): Round rather than ignoring
6849 subseconds components.
6850
3034e9e7
LMI
68512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852
6853 * info.el (Info-apropos-matches): Make non-interactive, since it
6854 doesn't seem to do anything useful as a command (bug#8829).
6855
1485f4c0
CY
68562011-07-03 Chong Yidong <cyd@stupidchicken.com>
6857
6858 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6859 Move from faces.el.
1485f4c0
CY
6860 (frame-default-terminal-background): New function.
6861
6862 * custom.el (custom-push-theme): Don't record faces in `changed'
6863 theme; this doesn't work correctly for per-frame face settings.
6864 (disable-theme): Use face-set-after-frame-default to reset faces.
6865 (custom--frame-color-default): New function.
6866
9fa3dd45
LMI
68672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6868
c8af70e1 6869 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6870 (bug#8769).
6871
6cbbc20c
KR
68722011-03-29 Kevin Ryde <user42@zip.com.au>
6873
6874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6875 `perl-Test2' extend to match possible "fail #N" rep count
6876 (bug#8377).
6877
c7f98048
LMI
68782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879
65676592
LMI
6880 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6881 `smtpmail-via-smtp' now returns the error instead of nil.
6882
c7f98048
LMI
6883 * isearch.el (isearch-search-fun-function): Clarify the doc string
6884 (bug#8101).
6885
56e6cc31 68862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6887
6888 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6889 unnecessary spaces (bug#8987).
6890
2b216704
LMI
68912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6892
6893 * net/network-stream.el (open-network-stream): Use the
6894 :end-of-capability command thoughout.
6895
68962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6897
6898 * net/network-stream.el (open-network-stream): Add the
6899 :end-of-capability command parameter, used by pop3.el.
6900
36adf6ce
LMI
69012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6902
1ca0da0e
LMI
6903 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6904
fc00f69c
LMI
6905 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6906 for list)" (bug#6475).
6907
28fd8759 6908 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6909 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6910 an error (bug#6297).
6911
0dd8b6da
LMI
6912 * man.el (Man-reference-regexp): Allow matching possible
6913 word-wrapped references (bug#6289).
6914
ce1438d6
LMI
6915 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6916 for consistency with the other vc buffers (bug#6197).
6917 (vc-checkin): Ditto.
6918
6919 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6920
36adf6ce
LMI
6921 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6922
e83cc1f7
LMI
69232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6924
8a20ca4c
LMI
6925 * custom.el (defcustom): Clarify that :set is only used in the
6926 Customize user interface (bug#6089).
6927
83319045
LMI
6928 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6929 associated with a file, refuse to run instead of erroring out
6930 (bug#6084).
6931
a8392169
LMI
6932 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6933 the doc string, since it appears that using `fill-column' always
6934 controls the width (bug#7845).
6935
e83cc1f7
LMI
6936 * simple.el (shell-command-on-region): Say where the error output
6937 went if `shell-command-default-error-buffer' is set (bug#6857).
6938
e47ca23b
KM
69392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6940
6941 * allout.el (allout-yank-processing): Adjust cursor position for
6942 backwards-deleted space.
6943
6944 (allout-rebullet-heading): Register changes with
6945 allout-exposure-changed-hook, so the modified topic is properly
6946 decorated.
6947
5cf56143
LMI
69482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6949
08549772
LMI
6950 * minibuffer.el (completion-in-region): Document PREDICATE
6951 (bug#7136).
6952
48e96771
LMI
6953 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6954 of keyword/argument pairs (bug#6904).
6955
c8af70e1
SM
6956 * replace.el (multi-occur):
6957 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6958
e17d05e2
LMI
69592011-07-02 Drew Adams <drew.adams@oracle.com>
6960
6961 * dired.el (dired-mark-if): Make the message about whether it's
6962 marking or unmarking clearer (bug#8523).
6963
063b0e45
LMI
69642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
6966 * disp-table.el (display-table-print-array): New function.
6967 (describe-display-table): Use it to print the vectors more pretty
6968 (Bug#8859).
6969
28545e04
MR
69702011-07-02 Martin Rudalics <rudalics@gmx.at>
6971
6972 * window.el (window-state-get-1): Don't assign clone numbers.
6973 Add clone-of item to list of window parameters.
6974 (window-state-put-2): Don't process clone numbers.
6975 (display-buffer-alist): Fix doc-string.
6976
3349e122
SM
69772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * subr.el (remq): Don't allocate if it's not needed.
6980 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6981 (keymap--merge-bindings): New functions.
6982 (keymap-canonicalize): Use them to refine the canonicalization.
6983 * minibuffer.el (minibuffer-local-completion-map)
6984 (minibuffer-local-must-match-map): Move initialization from C.
6985 (minibuffer-local-filename-completion-map): Move initialization from C;
6986 don't inherit from anything here.
6987 (minibuffer-local-filename-must-match-map): Make obsolete.
6988 (completing-read-default): Use make-composed-keymap to combine
6989 minibuffer-local-filename-completion-map with either
6990 minibuffer-local-must-match-map or
6991 minibuffer-local-filename-completion-map.
6992
d224ac83
GM
69932011-07-01 Glenn Morris <rgm@gnu.org>
6994
3de63bf8
GM
6995 * type-break.el (type-break-time-sum): Use dolist.
6996
d224ac83
GM
6997 * textmodes/flyspell.el (flyspell-word-search-backward):
6998 Replace CL function.
6999
1a1e3f32
SM
70002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7001
fe3f64d5
SM
7002 * mouse.el (mouse--strip-first-event): New function.
7003 (function-key-map): Use it to map fringe clicks to normal clicks
7004 by default.
7005
eb604e34
SM
7006 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7007 (vc-bzr-revision-completion-table): Add support for annotate and date.
7008
1a1e3f32
SM
7009 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7010 inherit from parent.
7011
5bd35902
LMI
70122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7013
ace6c69c 7014 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7015 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7016
191e2bed
LMI
7017 * dired.el (dired-mode): Fix up the doc string as suggested by
7018 Drew Adams (bug#8817).
7019
5bd35902
LMI
7020 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7021 cookie, since the manual says that it should be possible to add
7022 this function to `find-file-hook' (bug#8709).
7023
eee8207a
TZ
70242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7025
7026 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7027 here. Noted Ted Zlatanov as the maintainer.
7028 (cfengine-common-settings, cfengine-common-syntax): New functions
7029 to set up common things between `cfengine-mode' and
7030 `cfengine3-mode'.
7031 (cfengine3-mode): New mode.
7032 (cfengine3-defuns cfengine3-defuns-regex
7033 (cfengine3-class-selector-regex cfengine3-category-regex)
7034 (cfengine3-vartypes cfengine3-font-lock-keywords)
7035 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7036 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7037
36b148cf
MA
70382011-07-01 Michael Albinus <michael.albinus@gmx.de>
7039
7040 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7041
7042 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7043
0bf4ba9a
MR
70442011-07-01 Martin Rudalics <rudalics@gmx.at>
7045
7046 * window.el (same-window-buffer-names, same-window-regexps)
7047 (same-window-p, special-display-frame-alist)
7048 (special-display-popup-frame, special-display-function)
7049 (special-display-buffer-names, special-display-regexps)
7050 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7051 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7052 (split-window-preferred-function, split-height-threshold)
7053 (split-width-threshold, even-window-heights)
7054 (display-buffer-mark-dedicated, window-splittable-p)
7055 (split-window-sensibly, window-safely-shrinkable-p):
7056 Un-obsolete.
7057 (display-buffer): Don't spread args with function specifier
7058 because special-display-popup-frame won't like it.
7059
35837f51
PE
70602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7061
d0672f86
PE
7062 Time-stamp simplifications and fixes.
7063 These improve accuracy slightly, and future-proof the code
7064 against some potential changes to current-time format.
7065
b9444d97
PE
7066 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7067 by using time-since and float-time.
7068
0ef923dc
PE
7069 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7070 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7071 + NNN microseconds".
7072
2f81380d
PE
7073 * type-break.el (type-break-time-sum): Rewrite using time-add.
7074
845b5c3e
PE
7075 * play/hanoi.el (hanoi-current-time-float): Remove.
7076 All uses replaced by float-time.
7077
ee6f1be0
PE
7078 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7079 This yields a more-accurate answer.
7080 (rng-time-to-float): Remove; no longer needed.
7081
fe955043
PE
7082 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7083
5777162a
PE
7084 * calendar/timeclock.el (timeclock-seconds-to-time):
7085 Defalias to seconds-to-time, since they're the same thing.
7086
3103f8b6 7087 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7088 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7089 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7090
0e61a35f
SM
70912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * window.el (bury-buffer): Don't iconify the only frame.
7094 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7095 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7096
ddd63a1e
CY
70972011-07-01 Chong Yidong <cyd@stupidchicken.com>
7098
0e61a35f
SM
7099 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7100 Add mouse-yank-primary.
ddd63a1e 7101
055f4923
TZ
71022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7103
7104 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7105
6a2fb145
SM
71062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7109 (find-library-name): Use it to find relative load names when provided
7110 absolute file name (bug#8803).
7111
fd4983f2
LMI
71122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113
887d14ad
LMI
7114 * textmodes/flyspell.el (flyspell-word): Consider words that
7115 differ only in case as potential doublons (bug#5687).
7116
c53dc7fc
LMI
7117 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7118 Remove two rather uninteresting debugging-like messages to make
7119 debbugs.el more silent.
7120
fd4983f2
LMI
7121 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7122 a password-like phrase.
7123
7a71b18d 71242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7125
7126 * progmodes/cc-guess.el: New file.
7127
6a2fb145 7128 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7129
7130 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7131 derived from `c-basic-common-init'.
7132
7133 * progmodes/cc-mode.el (top-level): Require cc-guess.
7134 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7135
1fa280a3
LM
71362011-06-30 Lawrence Mitchell <wence@gmx.li>
7137
7138 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7139
e6597158
AM
71402011-06-30 Alan Mackenzie <acm@muc.de>
7141
1fa280a3
LM
7142 * progmodes/cc-engine.el (c-guess-continued-construct):
7143 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7144 lock is disabled. Name this case as "CASE G".
7145
68ba37fb
KM
71462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7147
7148 * allout.el (allout-yank-processing): Fix injection of extra space
7149 between bullet and non-whitespace character in first topic when
7150 pasting, ensuring that the actual spacing in the pasted topic
7151 following the bullet char is preserved. This extra space was
7152 causing pasted encrypted topics to get a decrypted status even
7153 when the content was actually still encrypted. Now the decryption
7154 status from before the paste is preserved.
7155
7156 (allout-flag-region): Set all allout overlays so they evaporate
7157 when reduced to zero length (evanescent), to prevent overlay
7158 leakage.
7159
887a0b34
GM
71602011-06-30 Glenn Morris <rgm@gnu.org>
7161
94b9acce
GM
7162 * w32-fns.el (w32-charset-info-alist): Declare.
7163
1d9b46d4
GM
7164 * find-dired.el (find-grep-options): Simplify.
7165
cc232200
GM
7166 * term/ns-win.el (ns-set-resource): Declare.
7167
28e77c46
GM
7168 * ses.el (row, col): Declare dynamic variables honestly.
7169
887a0b34
GM
7170 * textmodes/reftex-parse.el (index-tags): Declare.
7171
658d8eb8
CY
71722011-06-30 Chong Yidong <cyd@stupidchicken.com>
7173
7174 * cus-edit.el (customize-push-and-save): New function.
7175
7176 * files.el (hack-local-variables-confirm): Use it.
7177
1fa280a3
LM
7178 * custom.el (load-theme): New arg NO-CONFIRM.
7179 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7180 (custom-enabled-themes): Doc fix.
7181
7182 * cus-theme.el (customize-create-theme)
7183 (custom-theme-merge-theme): Callers to load-theme changed.
7184
bb617717
LMI
71852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7186
d61bdd5d
LMI
7187 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7188 short URLs have at least one dot in them (bug #7614).
7189
bb617717
LMI
7190 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7191 nil, because using a pty is apparently too slow (bug #895).
7192
2f31f37a
LMI
71932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7194
7195 * mail/sendmail.el (sendmail-query-once): New function.
7196 (sendmail-query-once-function): New variable.
7197
3076b24e
GM
71982011-06-29 Glenn Morris <rgm@gnu.org>
7199
faf2a174
GM
7200 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7201
3076b24e
GM
7202 * ses.el (top-level): Require cl when compiling.
7203 (ses-set-localvars): Fix error statement.
7204 Call it at compile time to silence a storm of warnings.
7205
5386012d
MR
72062011-06-29 Martin Rudalics <rudalics@gmx.at>
7207
7208 * window.el (normalize-live-buffer): Rename to
7209 window-normalize-buffer.
7210 (normalize-live-frame): Rename to window-normalize-frame.
7211 (normalize-any-window): Rename to window-normalize-any-window.
7212 (normalize-live-window): Rename to window-normalize-live-window.
7213 (make-window-atom): Rename to window-make-atom.
7214 (window-resize-reset): Rename to window--resize-reset.
7215 (window-resize-reset-1): Rename to window--resize-reset-1.
7216 (resize-mini-window): Rename to window--resize-mini-window.
7217 (resize-subwindows-skip-p): Rename to
7218 window--resize-subwindows-skip-p.
7219 (resize-subwindows-normal): Rename to
7220 window--resize-subwindows-normal.
7221 (resize-subwindows): Rename to window--resize-subwindows.
7222 (resize-other-windows): Rename to window--resize-siblings.
7223 (resize-this-window): Rename to window--resize-this-window.
7224 (resize-root-window): Rename to window--resize-root-window.
7225 (resize-root-window-vertically): Rename to
7226 window--resize-root-window-vertically.
7227 (normalize-buffer-to-display): Rename to
7228 window-normalize-buffer-to-display.
7229 (normalize-buffer-to-switch-to): Rename to
7230 window-normalize-buffer-to-switch-to.
7231 Correspondingly update all callers of the functions listed
7232 above.
7233 (display-buffer-alist, display-buffer-normalize-arguments)
7234 (display-buffer-normalize-options, display-buffer)
7235 (display-buffer-alist-set): Use "function" instead of
7236 "fun-with-args".
7237
1176868d
CY
72382011-06-28 Chong Yidong <cyd@stupidchicken.com>
7239
7240 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7241 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7242 debbugs.gnu.org. Mention acknowledgment email.
7243
20a7a65f
LMI
72442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7245
7246 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7247 buffer multibyteness, since it shouldn't matter.
7248
5f45cca5
MR
72492011-06-28 Martin Rudalics <rudalics@gmx.at>
7250
7251 * window.el (display-buffer-in-side-window): Handle dedicated
7252 windows as in display-buffer-reuse-window.
7253 (display-buffer-normalize-alist): Use value of override
7254 specifier.
7255 (display-buffer-normalize-specifiers): Use value of
7256 other-window-means-other-frame specifier.
7257 (display-buffer-alist): Rewrite some texts in widgets.
7258 (display-buffer): Spread arguments when calling function
7259 specified by fun-with-args.
7260
ad85fe1f
DD
72612011-06-28 Deniz Dogan <deniz@dogan.se>
7262
1fa280a3
LM
7263 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7264 Unnest `let'.
da68c4c8 7265
ad85fe1f
DD
7266 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7267 selectors (Bug#5732).
ec49bd31 7268 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7269
a08cc025
JA
72702011-06-27 Jari Aalto <jari.aalto@cante.net>
7271
7272 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7273 (eshell-ls-date-format): New defcustom.
7274 (eshell-ls-file): Use it.
7275
e2b551c5
SM
72762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7279
8982b231
KY
72802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7281
7282 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7283 (ange-ftp-make-tmp-name): New arg.
7284 (ange-ftp-file-local-copy): Use it.
7285
36c9fa27
J
72862011-06-27 Jambunathan K <kjambunathan@gmail.com>
7287
7288 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7289 no-conversion (Bug#8870).
7290
d68443dc
MR
72912011-06-27 Martin Rudalics <rudalics@gmx.at>
7292
7293 * window.el (window-right, window-left, window-child)
7294 (window-child-count, window-last-child)
7295 (window-iso-combination-p, walk-window-tree-1)
7296 (window-atom-check-1, window-tree-1, delete-window)
7297 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7298 new naming conventions - window-vchild, window-hchild,
7299 window-next and window-prev are now called window-top-child,
7300 window-left-child, window-next-sibling and window-prev-sibling
7301 respectively.
d615d6d2
MR
7302 (resize-window-reset): Rename to window-resize-reset.
7303 (resize-window-reset-1): Rename to window-resize-reset-1.
7304 (resize-window): Rename to window-resize.
7305 (window-min-height, window-min-width)
7306 (resize-mini-window, resize-this-window, resize-root-window)
7307 (resize-root-window-vertically, adjust-window-trailing-edge)
7308 (enlarge-window, shrink-window, maximize-window)
7309 (minimize-window, delete-window, quit-restore-window)
7310 (split-window, balance-windows, balance-windows-area-adjust)
7311 (balance-windows-area, window-state-put-2)
7312 (display-buffer-even-window-sizes, display-buffer-set-height)
7313 (display-buffer-set-width, set-window-text-height)
7314 (fit-window-to-buffer): Rename all "resize-window" prefixed
7315 calls to use the "window-resize" prefix convention.
7316 (display-buffer-alist): Fix symbol for label specifier.
7317 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7318 corresponding specifier.
7319 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7320
b6458526
VB
73212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7322
7323 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7324 convention.
7325 (ses-call-printer): Does not pass an empty string to formatter when the
7326 cell is empty to keep from barking printer Calc math-format-value.
7327
d31fd9ac
RS
73282011-06-27 Richard Stallman <rms@gnu.org>
7329
43d5bf84
RS
7330 * battery.el (battery-mode-line-limit): New variable.
7331 (battery-update): Handle it.
7332
d31fd9ac
RS
7333 * mail/rmailmm.el (rmail-mime-process-multipart):
7334 Handle truncated messages.
7335
819a6054
GM
73362011-06-27 Glenn Morris <rgm@gnu.org>
7337
7338 * progmodes/flymake.el (flymake-err-line-patterns):
7339 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7340
cedc73f2
VB
73412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7342
819a6054 7343 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7344 (ses--clean-!, ses--clean-_): New functions.
7345 (ses-range): Add configurability of readout order, and conversion
7346 to Calc vector.
7347
5e5d49b6
VB
7348 * ses.el (ses-repair-cell-reference-all): New function.
7349 (ses-cell-symbol): Set macro as safe, so that it can be used in
7350 formulas.
7351
56e6cc31 7352 * ses.el: Update cycle detection algorithm.
90ca8b49 7353 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7354 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7355 (ses-set-localvars): New function.
7356 (ses-make-cell): Add property-list as a cell element.
7357 (ses-cell-property-get-fun, ses-cell-property-get)
7358 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7359 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7360 New functions.
90ca8b49
VB
7361 (ses-cell-property-set, ses-cell-property-pop)
7362 (ses-cell-property-get-handle): New macro.
7363 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7364 New aliases, used for code readability.
7365 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7366 cycle detection.
7367 (ses-self-reference-early-detection): New defcustom.
fac916bf 7368 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7369 (ses-mode): Use ses-set-localvars.
7370 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7371 before lauching the update processing.
7372 (ses-initialize-Dijkstra-attempt): New function.
7373 (ses-recalculate-cell): Update for cycle detection based on
7374 Dijkstra algorithm.
7375
2bb63e81
VB
7376 * ses.el: Fix commenting and indenting convention.
7377
c9d29fb8
SM
73782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * bs.el (bs-cycle-next): Complete last change.
7381
d8e4b68b
JB
73822011-06-27 Drew Adams <drew.adams@oracle.com>
7383
7384 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7385
40098786
LMI
73862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387
c9d29fb8
SM
7388 * net/network-stream.el (network-stream-open-starttls):
7389 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7390 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7391
40098786
LMI
7392 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7393 to binary to possibly avoid line encoding issues on Windows (among
7394 other things).
7395
468d09d4
LMI
73962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7397
7398 * net/network-stream.el (open-network-stream): Return an :error
7399 saying what the problem was, if possible.
7400
7401 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7402 server.
7403
7404 * net/network-stream.el (network-stream-open-starttls): If we
7405 wanted to use STARTTLS, and the server offered it, but we weren't
7406 able to because we had no STARTTLS support, then close the connection.
7407 (open-network-stream): Return an :error element, if present.
7408
16f07dd7
CY
74092011-06-26 Chong Yidong <cyd@stupidchicken.com>
7410
88821ca0
CY
7411 * hl-line.el (hl-line-sticky-flag): Doc fix.
7412 (global-hl-line-sticky-flag): New option (Bug#8323).
7413 (global-hl-line-highlight): Obey it.
7414
16f07dd7
CY
7415 * vc/vc.el (vc-revert-show-diff): Default to t.
7416
6b5ccddf
KM
74172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7418
c9d29fb8
SM
7419 * allout-widgets.el (allout-widgets-post-command-business):
7420 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7421 undecorated when an isearch is continued past, and isearch
7422 automatically collapses them. This leads to "widget leaks", where
7423 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7424 hidden widgets can slow down cursor travel, substantially.
7425 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7426 so we're doing without this nicety.
7427
7428 (allout-widgets-tally-string): Don't try to do a hash-table-count
7429 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7430 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7431 *Messages* when allout-widgets-maintain-tally is t.
7432
355f2e07
MR
74332011-06-26 Martin Rudalics <rudalics@gmx.at>
7434
7435 * window.el (display-buffer-normalize-argument): Rename to
7436 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7437 LABEL argument. Respect special-display-function when popping up
7438 a new frame. Fix code searching for a window showing the buffer
7439 on another frame.
c9d29fb8
SM
7440 (display-buffer-normalize-specifiers):
7441 Call display-buffer-normalize-arguments.
355f2e07
MR
7442 (display-buffer-in-window): Don't undedicate the window if its
7443 buffer remains the same.
7444 Reported by Drew Adams <drew.adams@oracle.com>.
7445 (display-buffer-alist): Add choice for same-window macro
7446 specfier.
7447 (display-buffer): Mention special meaning of LABEL argument in
7448 doc-string. Fix quoting. Don't pop up a new frame even as
7449 fallback.
7450
7ca8fc42
JB
74512011-06-26 Juanma Barranquero <lekktu@gmail.com>
7452
7453 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7454 avoid deleting the current window in some cases (bug#8911).
7455
bc312254
AS
74562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7457
7458 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7459 (Bug#8934)
7460
2db18f3f
LMI
74612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7462
c9d29fb8
SM
7463 * net/network-stream.el (network-stream-open-starttls):
7464 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7465 (network-stream-open-tls): Ditto.
7466
6302e0d3
LL
74672011-06-26 Leo Liu <sdl.web@gmail.com>
7468
7469 * register.el (registerv): New struct.
7470 (registerv-make): New function.
c9d29fb8
SM
7471 (jump-to-register, describe-register-1, insert-register):
7472 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7473 struct. (Bug#8415)
7474
5fdd4046
CY
74752011-06-26 Chong Yidong <cyd@stupidchicken.com>
7476
2afef60a
CY
7477 * vc/vc.el (vc-revert-show-diff): New defcustom.
7478 (vc-diff-internal): New arg specifying diff buffer.
7479 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7480 reuse an existing *vc-diff* buffer (Bug#8927).
7481
5fdd4046
CY
7482 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7483
e93db24a
GM
74842011-06-26 Glenn Morris <rgm@gnu.org>
7485
7486 * progmodes/f90.el (f90-critical-indent): New option.
7487 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7488 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7489 (f90-mode): Doc fix.
7490 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7491 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7492 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7493 (f90-match-end): Handle block, critical.
7494
eefff499
GM
74952011-06-25 Glenn Morris <rgm@gnu.org>
7496
f6ba4cc9
GM
7497 * calendar/diary-lib.el (diary-included-files): Doc fix.
7498 (diary-include-files): New function, extracted from
7499 diary-include-other-diary-files and diary-mark-included-diary-files.
7500 (diary-include-other-diary-files, diary-mark-included-diary-files):
7501 Just call diary-include-files.
7502 (diary-mark-entries): Reset diary-included-files on first call.
7503
16712304
GM
7504 * calendar/diary-lib.el (diary-mark-entries)
7505 (diary-mark-included-diary-files):
7506 Visit included diary-files in temp buffers.
7507
5d8e0d43
GM
7508 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7509 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7510 (f90-start-block-re, f90-imenu-generic-expression)
7511 (f90-looking-at-program-block-start, f90-no-block-limit):
7512 Add support for submodules.
7513
ccf7a5d5
GM
7514 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7515 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7516
11fdef7d 75172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7518
7519 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7520 buffer-file-type before setting its value, to avoid disastrous
eefff499 7521 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7522
74f53697
JB
75232011-06-25 Juanma Barranquero <lekktu@gmail.com>
7524
7525 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7526
7527 * ses.el (ses-unload-function):
7528 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7529
7530 * proced.el (proced-unload-function):
7531 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7532
18a4ce5e
AR
75332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7534
7535 * server.el (server-create-window-system-frame): Add parameters arg.
7536 (server-process-filter): Doc fix. Handle frame-parameters.
7537
519d22cc
JB
75382011-06-25 Juanma Barranquero <lekktu@gmail.com>
7539
7540 Fix bug#8730, bug#8781.
7541
7542 * loadhist.el (unload--set-major-mode): New function.
7543 (unload-feature): Use it.
7544
7545 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7546 (python-unload-function): New function.
7547
c206f5b0
SM
75482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7551
f9ad64f3
GS
75522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7553
7554 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7555 the candidates list.
7556
7d0da90e
JB
75572011-06-24 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7560
14b4e83d
RS
75612011-06-23 Richard Stallman <rms@gnu.org>
7562
7563 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7564 (rmail-variables): Set next-error-move-function.
7565 (rmail-what-message): Take argument POS.
7566 (rmail-next-error-move): New function.
7567
273d2baf
SM
75682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7571 messages for adjacent non-terminals.
7572
56c2cc9a
RS
75732011-06-23 Richard Stallman <rms@gnu.org>
7574
7575 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7576 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7577 (rmail-start-mail): Don't specify use of rmail-mail-return;
7578 that's done by mail-bury now.
7579 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7580
d59eb518
MA
75812011-06-23 Michael Albinus <michael.albinus@gmx.de>
7582
7583 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7584 SIZE is a number.
7585
02cfc6d6
MR
75862011-06-23 Martin Rudalics <rudalics@gmx.at>
7587
7588 * window.el (get-lru-window, get-mru-window)
7589 (get-largest-window): Never return a minibuffer window.
7590 (display-buffer-pop-up-window): Fix a bug that could lead to
7591 reusing the minibuffer window.
7592 (display-buffer): Pass original specifier argument to
7593 display-buffer-function instead of the normalized one.
7594 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7595
4e323265
LL
75962011-06-22 Leo Liu <sdl.web@gmail.com>
7597
7598 * minibuffer.el (completing-read-function)
7599 (completing-read-default): Move from minibuf.c
7600
7a70468f
RS
76012011-06-22 Richard Stallman <rms@gnu.org>
7602
50718fc2
RS
7603 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7604 to Rmail even if not started by a special Rmail command.
7605
7a70468f
RS
7606 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7607 Copy the buffer currently showing just one message.
7608
297dde5a
RW
76092011-06-22 Roland Winkler <winkler@gnu.org>
7610
7611 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7612 (bibtex-clean-entry): First delete the old key so that a
7613 customized algorithm for generating the new key does not get
7614 confused by the old key.
7615 (bibtex-url): Obey regexp of first step.
7616 (bibtex-search-entries): Do not use add-to-list with local
7617 list-var.
7618
97bb1093
LMI
76192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7620
7621 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7622 stored a user name, then query for the password first, instead of
7623 waiting for SMTP to give an error message and the trying again.
7624
1c0f1a19
JD
76252011-06-22 Lawrence Mitchell <wence@gmx.li>
7626
7627 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7628 BUFFER in call-process.
7629
396f7c9d
LMI
76302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7631
7632 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7633 QUIT twice.
ddb7ffee
LMI
7634 (smtpmail-try-auth-methods): Require user name and password from
7635 auth-source.
396f7c9d 7636
8998d1b3
MR
76372011-06-22 Martin Rudalics <rudalics@gmx.at>
7638
7639 * window.el (display-buffer-default-specifiers)
7640 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7641 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7642 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7643
7644 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7645 (special-display-frame-alist, special-display-popup-frame):
7646 Remove duplicate declarations. These are now in window.el.
7647
4ea31e07
LMI
76482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7649
c9d29fb8
SM
7650 * mail/smtpmail.el (smtpmail-via-smtp):
7651 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7652 server supports it. SMTP servers that support STARTTLS commonly
7653 require it.
7654
7655 * net/network-stream.el (network-stream-open-starttls): Support
7656 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7657 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7658
95f41d9a
LMI
7659 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7660 upgrades with `open-network-stream', and rely solely on
7661 auth-source for all credentials. Big changes throughout the file,
7662 but in particular:
c9d29fb8
SM
7663 (smtpmail-auth-credentials): Remove.
7664 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7665 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7666 MAIL FROM, too.
95f41d9a 7667
c9d29fb8
SM
7668 * net/network-stream.el (network-stream-open-starttls):
7669 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7670 STARTTLS.
7671 (auth-source): Require.
7672 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7673 (network-stream-certificate): Change cert-cert to cert and
7674 cert-key to key.
4ea31e07 7675
065ec2c7
MA
76762011-06-21 Michael Albinus <michael.albinus@gmx.de>
7677
7678 * net/tramp-cache.el (top): Don't load the persistency file when
7679 "emacs -Q" has been called.
7680
cd93b359
DR
76812011-06-21 Tim Harper <timcharper@gmail.com>
7682
d8e4b68b
JB
7683 * term/ns-win.el (ns-initialize-window-system):
7684 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7685 resource to NO as it is not yet supported by the NS port.
7686
ae9c0411
JB
76872011-06-21 Juanma Barranquero <lekktu@gmail.com>
7688
7689 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7690 (list-dynamic-libraries): ...not here.
7691
7f3f739f
LL
76922011-06-21 Leo Liu <sdl.web@gmail.com>
7693
7694 * subr.el (sha1): Implement sha1 using secure-hash.
7695
327c8fb1
MR
76962011-06-21 Martin Rudalics <rudalics@gmx.at>
7697
7698 * window.el (display-buffer-alist): In default value do not
7699 enforce searching a window on any but the selected frame.
7700 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7701 (display-buffer-select-window): Remove function.
7702 (display-buffer-in-window): When a window on another frame gets
7703 reused, do not select it any more but just raise its frame if
7704 necessary (Bug#8851) and (Bug#8856).
7705 (display-buffer-normalize-options): Handle pop-up-frames related
7706 options more faithfully.
7707 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7708 window if it is on another frame.
c9d29fb8
SM
7709 (display-buffer-alist, display-buffer-default-specifiers):
7710 Don't make new frame unsplittable by default.
9e9de014
MR
7711 (display-buffer-normalize-argument): Fix doc-string typo and use
7712 'same-frame-other-window instead of 'other-window when associating
7713 with display-buffer-macro-specifiers.
327c8fb1 7714
7cf3f556
VB
77152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7716
7717 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7718 New functions.
7719 (5x5-mode-map, 5x5-mode-menu): Bind them.
7720 (5x5-draw-grid): Tweak the solver's rendering.
7721
60a406cf
SM
77222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7725 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7726
d8e4b68b 77272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7728
7729 * menu-bar.el: Use function variable instead of switch-to-buffer.
7730 (menu-bar-select-buffer-function): New variable.
60a406cf 7731 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7732
478d6f95
SM
77332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7736 variable's status.
7737
ca530739
JD
77382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7739
7740 * x-dnd.el (x-dnd-version-from-flags)
7741 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7742 and long as number (Bug#8899).
7743 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7744
bcd70d97
SM
77452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7746
60a406cf 7747 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7748 (completion-try-completion, completion-all-completions): Compute the
7749 metadata argument if it's missing; make it optional (bug#8795).
7750
60a406cf 7751 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7752 (widget-complete): Use new :completion-function property.
7753 (widget-completions-at-point): New function.
7754 (default): Use :completion-function instead of :complete.
60a406cf
SM
7755 (widget-default-completions): Rename from widget-default-complete;
7756 Rewrite.
bcd70d97
SM
7757 (widget-string-complete, widget-file-complete, widget-color-complete):
7758 Remove functions.
7759 (file, symbol, function, variable, coding-system, color):
7760 * international/mule-cmds.el (default-input-method, charset)
7761 (language-info-custom-alist):
7762 * cus-edit.el (face): Use new property :completions.
7763
7764 * progmodes/pascal.el (pascal-completions-at-point): New function.
7765 (pascal-mode): Use it.
7766 (pascal-mode-map): Use completion-at-point.
7767 (pascal-toggle-completions): Make obsolete.
7768 (pascal-complete-word, pascal-show-completions):
7769 * progmodes/octave-mod.el (octave-complete-symbol):
7770 Redefine as obsolete alias.
7771 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7772 Signal absence of completion info for old Octave,
7773 (inferior-octave-complete): Redefine as obsolete alias.
7774 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7775 (meta-completions-at-point): Rename from meta-complete-symbol and
7776 adapt it for use on completion-at-point-functions.
7777 (meta-common-mode): Use it.
7778 (meta-looking-at-backward, meta-match-buffer): Remove.
7779 (meta-complete-symbol): Redefine as obsolete alias.
7780 (meta-common-mode-map): Use completion-at-point.
7781 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7782 (makefile-mode-map): Use completion-at-point.
7783 (makefile-completions-at-point): Rename from makefile-complete and
7784 adapt it for use on completion-at-point-functions.
7785 (makefile-mode): Use it.
7786 (makefile-complete): Redefine as obsolete alias.
7787
aebf69c8
DD
77882011-06-20 Deniz Dogan <deniz@dogan.se>
7789
7790 * net/rcirc.el: Delete trailing whitespaces once and for all.
7791
bfbbb27d
DC
77922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7793
7794 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7795
d264a46b
CY
77962011-06-19 Chong Yidong <cyd@stupidchicken.com>
7797
4ca009e5
CY
7798 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7799
d264a46b
CY
7800 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7801
fbf5b3ce
MR
78022011-06-19 Martin Rudalics <rudalics@gmx.at>
7803
7804 * window.el (display-buffer-other-window-means-other-frame):
7805 Call display-buffer-normalize-alist.
7806 (display-buffer-normalize-specifiers-1): Rename to
7807 display-buffer-normalize-argument. New argument other-frame.
7808 Rewrite.
7809 (display-buffer-normalize-specifiers-2): Rename to
7810 display-buffer-normalize-options.
7811 (display-buffer-normalize-alist-1): New function.
7812 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7813 display-buffer-normalize-alist.
7814 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7815 (display-buffer-normalize-options-inhibit): New variable.
7816 (display-buffer-normalize-specifiers): Rewrite calling
7817 display-buffer-normalize-alist,
7818 display-buffer-normalize-argument, and
7819 display-buffer-normalize-options. Don't call the latter if
7820 display-buffer-normalize-options-inhibit is non-nil.
7821 (frame-auto-delete): New option.
7822 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7823 (window-list-no-nils, window-state-ignored-parameters)
7824 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7825 (window-state-put-1, window-state-put-2, window-state-put):
7826 New functions.
9a028c23
MR
7827 (display-buffer-normalize-options): Move special-display-p group
7828 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7829
6d10d800
CY
78302011-06-18 Chong Yidong <cyd@stupidchicken.com>
7831
6420d28b
CY
7832 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7833 groups (Bug#8776).
7834 (rx-submatch-n): New function.
7835 (rx): Document it.
7836
ddb8b596
CY
7837 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7838 (Bug#8768).
7839
7840 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7841
77080289
CY
7842 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7843
61dfb316
CY
7844 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7845 anytime existing face settings are present (Bug#8889).
7846
6d10d800
CY
7847 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7848 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7849 Remove unused argument.
7850
be3fb2b8
MR
78512011-06-18 Martin Rudalics <rudalics@gmx.at>
7852
bcd70d97
SM
7853 * window.el (display-buffer-default-specifiers):
7854 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7855 pop-up-window-min-width, and another reuse-window specifier
7856 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7857 (display-buffer-normalize-specifiers-2):
7858 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7859 pop-up-windows is unset. Add a reuse-window specifier for the
7860 case popping up a new window fails.
7861 (special-display-popup-frame): Remove double quoting.
28dec25a 7862 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7863
1c6d8c76
SM
78642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7867 according to comint-completion-addsuffix.
7868
7869 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7870 (pcomplete-suffix-list): Mark as obsolete.
7871 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7872 pcomplete-seen in the closure.
7873 (pcomplete-comint-setup): Setup completion-at-point as well.
7874 (pcomplete--entries): New function.
7875 (pcomplete--env-regexp): New var.
7876 (pcomplete-entries): Rewrite to work with partial-completion and
7877 without relying on pcomplete-suffix-list.
7878 (pcomplete-pare-list): Remove, unused.
7879
25aef8b8
MR
78802011-06-17 Martin Rudalics <rudalics@gmx.at>
7881
7882 * window.el (display-buffer-alist): Set pop-up-window-min-height
7883 and pop-up-window-min-width in default value. Reported by
7884 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7885 other-window-means-other-frame.
7886 (display-buffer-macro-specifiers): Comment out entry for
7887 other-window specifier.
7888 (display-buffer-other-window-means-other-frame): New function.
7889 (display-buffer-normalize-specifiers-1): New arguments
7890 buffer-name and label. Treat other-window case specially.
7891 (display-buffer-normalize-specifiers-2): Treat other-window case
7892 specially.
7893 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7894 (display-buffer-normalize-specifiers):
7895 Call display-buffer-normalize-specifiers-3.
25aef8b8 7896
dbad4f69
MR
78972011-06-17 Martin Rudalics <rudalics@gmx.at>
7898
7899 * window.el (same-window-p): Fix two typos introduced when
7900 adding with-no-warnings.
d1067961
MR
7901 (display-buffer-normalize-specifiers-1): Don't check
7902 pop-up-frames for 'unset initialization.
7903 (display-buffer-normalize-specifiers-2): Major rewrite using
7904 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7905 (pop-up-frames, display-buffer-reuse-frames)
7906 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7907 Suggested by David Engster <deng@randomsample.de>.
7908 (even-window-heights): Initialize to 'unset.
7909 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7910 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7911 other window case.
dbad4f69 7912
9b9c9e3a
MR
79132011-06-16 Martin Rudalics <rudalics@gmx.at>
7914
bcd70d97
SM
7915 * window.el (display-buffer-normalize-specifiers-1):
7916 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7917 second argument of display-buffer (Bug#8865).
981d5c09
MR
7918 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7919 (switch-to-buffer-other-window-same-frame)
7920 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7921 Adams (Bug#8875).
9c2755e9
MR
7922 (display-buffer): Don't check noninteractive when calling
7923 display-buffer-pop-up-frame.
7924 (display-buffer-pop-up-frame): Never pop up a frame in
7925 noninteractive mode (Bug#8857).
67222e1d
MR
7926 (enlarge-window, shrink-window): Don't report an error when the
7927 window can't be resized as requested (Bug#8862).
9b9c9e3a 7928
2b75be67
SM
79292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7930
9ffdd3ba
SM
7931 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7932
cb581a67
SM
7933 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7934
2b75be67
SM
7935 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7936
8c0e3589
AM
79372011-06-15 Alan Mackenzie <acm@muc.de>
7938
cb581a67
SM
7939 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7940 for declarators, disable knr checking to speed up for normal files.
7941 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7942
b96e6cde
LMI
79432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944
4bba86e6
LMI
7945 * net/network-stream.el (open-network-stream): Add the keyword
7946 :always-query-capabilities for the case where you want to force a
7947 `plain' network connection, but the protocol still requires the
7948 capabilitiy command (i.e., SMTP and EHLO).
7949
2b75be67 7950 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7951 consistency with other `-live-p' functions.
7952
efdcdbf8
SM
79532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * window.el (same-window-buffer-names, same-window-regexps)
7956 (special-display-frame-alist, special-display-popup-frame)
7957 (special-display-function, special-display-buffer-names)
7958 (special-display-regexps, pop-up-frame-alist)
7959 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7960 (pop-up-windows, split-window-preferred-function)
7961 (split-height-threshold, split-width-threshold, even-window-heights)
7962 (display-buffer-mark-dedicated): Don't encourage the use of
7963 display-buffer-alist from Elisp code.
7964
c5cde042
DN
79652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7966
7967 * progmodes/python.el (python-mode): Derive from prog-mode.
7968 * progmodes/ps-mode.el (ps-mode):
7969 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7970 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7971 * progmodes/ld-script.el (ld-script-mode): Likewise.
7972
baa1c9ab
MR
79732011-06-15 Martin Rudalics <rudalics@gmx.at>
7974
7975 * window.el (display-buffer-alist): Trim default value to avoid
7976 popping up a new frame (Bug#8857) or reusing an arbitrary window
7977 on another frame.
7978 (display-buffer): Do not fall back on popping up a new frame in
7979 batch mode (Bug#8857).
7980
c5dd5a51
CY
79812011-06-14 Chong Yidong <cyd@stupidchicken.com>
7982
7983 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7984 (custom-theme-summary): New function.
7985 (customize-themes): Use it.
7986
d647b7c4
GM
79872011-06-13 Glenn Morris <rgm@gnu.org>
7988
7989 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7990
9481c002
MR
79912011-06-13 Martin Rudalics <rudalics@gmx.at>
7992
357f93d2
MR
7993 * help.el (help-window): Remove variable.
7994 (help-window-point-marker, temp-buffer-max-height)
7995 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7996 (help-print-return-message): Don't set help-window.
7997 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7998 (help-window-setup-finish): Remove.
7999 (help-window-display-message, help-window-setup)
8000 (with-help-window): Major rewrite based on new
8001 display-buffer-window variable.
8002
8003 * help-mode.el (help-mode-finish): Remove help-window related
8004 code.
8005
8006 * view.el (view-exits-all-viewing-windows): Remove reference to
8007 view-return-to-alist in doc-string.
8008 (view-return-to-alist): Make obsolete.
8009 (view-buffer): Call pop-to-buffer-same-window and remove
8010 undo-window code.
8011 (view-buffer-other-window): Call pop-to-buffer-other-window and
8012 simplify code. Ignore second argument.
8013 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8014 simplify code. Ignore second argument.
8015 (view-return-to-alist-update): Make obsolete.
8016 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8017 Rewrite using quit-restore window parameters.
2b75be67
SM
8018 (view-mode-exit): Rename second argument to EXIT-ONLY.
8019 Rewrite using quit-restore-window.
357f93d2
MR
8020 (View-exit, View-exit-and-edit, View-leave, View-quit)
8021 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8022 appropriate arguments.
8023 (view-end-message): Use quit-restore window parameter.
8024
9481c002
MR
8025 * window.el (display-buffer-function): Rewrite doc-string.
8026 (display-buffer-window, display-buffer-alist): New variables.
8027 (display-buffer-split-specifiers)
8028 (display-buffer-side-specifiers)
8029 (display-buffer-macro-specifiers): New constants.
8030 (display-buffer-even-window-sizes, display-buffer-set-height)
8031 (display-buffer-set-width, display-buffer-select-window)
8032 (display-buffer-in-window, display-buffer-reuse-window)
8033 (display-buffer-split-window-1, display-buffer-split-window)
8034 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8035 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8036 (display-buffer-in-side-window, normalize-buffer-to-display)
8037 (display-buffer-normalize-specifiers-1)
8038 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8039 (display-buffer-normalize-specifiers, display-buffer-frame):
8040 New functions.
9481c002
MR
8041 (display-buffer): Major rewrite.
8042 (display-buffer-other-window, display-buffer-other-frame)
8043 (pop-to-buffer, switch-to-buffer-other-window)
8044 (switch-to-buffer-other-frame): Rewrite.
8045 (display-buffer-same-window, display-buffer-same-frame)
8046 (display-buffer-same-frame-other-window)
8047 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8048 (pop-to-buffer-other-window)
8049 (pop-to-buffer-same-frame-other-window)
8050 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8051 (switch-to-buffer-other-window-same-frame): New functions.
8052 (same-window-p, special-display-p): Rewrite disabling warnings.
8053 Make obsolete.
8054 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8055 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8056 Make obsolete
8057 (same-window-buffer-names, same-window-regexps)
8058 (special-display-frame-alist, special-display-popup-frame)
8059 (special-display-function, special-display-buffer-names)
8060 (special-display-regexps, pop-up-frame-alist)
8061 (pop-up-frame-function, split-window-preferred-function)
8062 (split-height-threshold, split-width-threshold)
8063 (even-window-heights): Make obsolete.
8064
9db51aca
GM
80652011-06-12 Glenn Morris <rgm@gnu.org>
8066
8067 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8068 Misc simplifications.
9db51aca 8069
39cffb44
MR
80702011-06-12 Martin Rudalics <rudalics@gmx.at>
8071
8072 * window.el (window-safely-shrinkable-p): Restore function which
8073 was inadvertently removed in change from 2011-06-11. Declare as
8074 obsolete.
8075
2b75be67
SM
8076 * calendar/calendar.el (calendar-generate-window):
8077 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8078 window-safely-shrinkable-p.
8079
a8955be7
GM
80802011-06-12 Glenn Morris <rgm@gnu.org>
8081
8082 * progmodes/fortran.el (fortran-mode-syntax-table):
8083 * progmodes/f90.el (f90-mode-syntax-table):
8084 Set % to punctuation. (Bug#8820)
8085 (f90-find-tag-default): Remove, no longer needed.
8086
f0d4059d
DC
80872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8088
8089 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8090
1100a63c
CY
80912011-06-11 Chong Yidong <cyd@stupidchicken.com>
8092
8093 * image.el (image-animated-p): Return animation delay in seconds.
8094 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8095 (image-animate-timeout): Remove DELAY argument. Don't assume
8096 every subimage has the same delay; get it from image-animated-p.
8097 (image-animate): Caller changed.
8098
def722bf
MA
80992011-06-11 Michael Albinus <michael.albinus@gmx.de>
8100
8101 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8102 to ignored backtrace functions.
8103
0a2bb1a9
GM
81042011-06-11 Glenn Morris <rgm@gnu.org>
8105
8106 * calendar/appt.el (appt-disp-window-function): Doc fix.
8107 (appt-check): Handle overlapping appointments. (Bug#8337)
8108
6198ccd0
MR
81092011-06-11 Martin Rudalics <rudalics@gmx.at>
8110
8111 * window.el (window-tree-1, window-tree): New functions, moving
8112 the latter to window.el.
8113 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8114 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8115 (bw-refresh-edges): Remove.
8116 (balance-windows-1, balance-windows-2): New functions.
8117 (balance-windows): Rewrite in terms of window tree functions,
8118 balance-windows-1 and balance-windows-2.
8119 (bw-adjust-window): Remove.
8120 (balance-windows-area-adjust): New function with functionality of
8121 bw-adjust-window but using resize-window.
2b75be67
SM
8122 (set-window-text-height): Rewrite doc-string.
8123 Use normalize-live-window and resize-window.
8124 (enlarge-window-horizontally, shrink-window-horizontally):
8125 Rename argument to DELTA.
6198ccd0
MR
8126 (window-buffer-height): New function.
8127 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8128 Rewrite using new window resize routines.
2b75be67
SM
8129 (kill-buffer-and-window, mouse-autoselect-window-select):
8130 Use ignore-errors instead of condition-case.
6198ccd0
MR
8131 (quit-window): Call delete-frame instead of delete-windows-on
8132 for the only buffer on frame.
8133
9397e56f
MR
81342011-06-10 Martin Rudalics <rudalics@gmx.at>
8135
8136 * loadup.el (top-level): Load window before files for the sake
8137 of replace-buffer-in-windows.
8138
8139 * files.el (read-buffer-to-switch)
8140 (switch-to-buffer-other-window)
2b75be67
SM
8141 (switch-to-buffer-other-frame, display-buffer-other-frame):
8142 Move to window.el.
9397e56f
MR
8143
8144 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8145 (previous-buffer): Move to window.el.
8146
8147 * bindings.el (unbury-buffer): Move to window.el.
8148
8149 * window.el (delete-other-windows-vertically): Move after
8150 definition of delete-other-windows.
8151 (other-window, delete-windows-on, replace-buffer-in-windows):
8152 Move here from window.c.
8153 (record-window-buffer, unrecord-window-buffer)
8154 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8155 (switch-to-next-buffer): New functions.
8156 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8157 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8158 (previous-buffer): Move here from simple.el.
8159 Call switch-to-prev-buffer.
9397e56f
MR
8160 (bury-buffer): Move here from buffer.c. Switch to previous
8161 buffer when window cannot be deleted.
8162 (unbury-buffer): Move here from bindings.el.
8163 (ctl-x-map): Move binding for other-window from window.c to
8164 here.
8165 (read-buffer-to-switch, switch-to-buffer-other-window)
8166 (switch-to-buffer-other-frame): Move here from files.el.
8167 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8168 (switch-to-buffer): Move here from buffer.c.
8169 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8170
562dd5e9
MR
81712011-06-10 Martin Rudalics <rudalics@gmx.at>
8172
8173 * window.el (window-min-height, window-min-width): Move here
8174 from window.c. Add defcustoms and rewrite doc-strings.
8175 (resize-mini-window, resize-window): New functions.
8176 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8177 Move here from window.c.
8178 (maximize-window, minimize-window): New functions.
8179 (delete-window, delete-other-windows, split-window): Move here
8180 from window.c.
8181 (window-split-min-size): New function.
8182 (split-window-keep-point): Mention split-window-above-each-other
8183 instead of split-window-vertically.
2b75be67 8184 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8185 Rename split-window-vertically to split-window-above-each-other
8186 and provide defalias for old definition.
8187 (split-window-side-by-side, split-window-horizontally):
8188 Rename split-window-horizontally to split-window-side-by-side
8189 and provide defalias for the old definition.
562dd5e9
MR
8190 (ctl-x-map): Move bindings for delete-window,
8191 delete-other-windows and enlarge-window here from window.c.
8192 Replace bindings for split-window-vertically and
8193 split-window-horizontally by bindings for
8194 split-window-above-each-other and split-window-side-by-side.
8195
8196 * cus-start.el (all): Remove entries for window-min-height and
8197 window-min-width. Add entries for window-splits and
8198 window-nest.
8199
f0da764a
GM
82002011-06-09 Glenn Morris <rgm@gnu.org>
8201
80675c21
GM
8202 * calendar/appt.el (appt-mode-line): New function.
8203 (appt-check, appt-disp-window): Use it.
8204
f0da764a
GM
8205 * files.el (hack-one-local-variable-eval-safep):
8206 Allow minor-modes with explicit +/-1 arguments.
8207
59f623b7
TZ
82082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8209
8210 * term/xterm.el (xterm): Add defgroup.
8211 (xterm-extra-capabilities): Add defcustom to supply known xterm
8212 capabilities, skip querying them, or query them (default).
8213 (terminal-init-xterm): Use it.
8214 (terminal-init-xterm-modify-other-keys): New function to set up
8215 modifyOtherKeys support to simplify `terminal-init-xterm'.
8216
9aab8e0d
MR
82172011-06-09 Martin Rudalics <rudalics@gmx.at>
8218
8219 * window.el (resize-window-reset, resize-window-reset-1)
8220 (resize-subwindows-skip-p, resize-subwindows-normal)
8221 (resize-subwindows, resize-other-windows, resize-this-window)
8222 (resize-root-window, resize-root-window-vertically)
8223 (window-deletable-p, window-or-subwindow-p)
8224 (frame-root-window-p): New functions.
8225
e8b08aee
GM
82262011-06-09 Glenn Morris <rgm@gnu.org>
8227
8228 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8229 (ange-ftp-get-files): Use it.
8230
254c37a5
AK
82312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8232
8233 * mail/sendmail.el (mail-recover-1, mail-recover):
8234 * files.el (recover-file, recover-session):
8235 Handle dired-listing-switches not being just a single short option.
8236
35d7dbd3
GM
82372011-06-09 Glenn Morris <rgm@gnu.org>
8238
8239 * calendar/appt.el (appt-display-message, appt-disp-window):
8240 Handle lists of appointments.
8241
387522b2
MR
82422011-06-08 Martin Rudalics <rudalics@gmx.at>
8243
2b75be67
SM
8244 * window.el (one-window-p): Move down in code.
8245 Rewrite doc-string.
8246 (window-current-scroll-bars): Rewrite doc-string.
8247 Normalize live window argument.
387522b2
MR
8248 (walk-windows, get-window-with-predicate, count-windows):
8249 Rewrite doc-string. Use window-list-1.
8250 (window-in-direction-2, window-in-direction, get-mru-window):
8251 New functions.
8252
d8e4b68b 82532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8254
8255 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8256 Doc fix (Bug#8713).
8257
82582011-06-08 Chong Yidong <cyd@stupidchicken.com>
8259
8260 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8261
82622011-06-08 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * loadhist.el (unload-feature-special-hooks):
8265 Add `comint-output-filter-functions'.
8266
0de12c52
IK
82672011-06-08 Ivan Kanis <gnu@kanis.fr>
8268
8269 * calendar/appt.el (appt-check): Move some initializations into the let.
8270
f3d1777e
MR
82712011-06-08 Martin Rudalics <rudalics@gmx.at>
8272
8273 * window.el (window-height): Defalias to window-total-height.
8274 (window-width): Defalias to window-body-width.
8275
18af70d0
CY
82762011-06-07 Chong Yidong <cyd@stupidchicken.com>
8277
8278 * image-mode.el (image-toggle-animation): New command.
8279 (image-mode-map): Bind it to RET.
8280 (image-mode): Update message.
8281 (image-toggle-display-image): Avoid a spurious cache flush.
8282 (image-transform-rotation): Doc fix.
8283 (image-transform-properties): Return quickly in the normal case.
8284 (image-animate-loop): Rename from image-animate-max-time.
8285
2b75be67 8286 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8287 (create-animated-image): Remove unnecessary function.
8288 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8289 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8290 (image-animate-timer): Use car-safe.
8291 (image-animate-timeout): Rename argument.
8292
190b47e6
MR
82932011-06-07 Martin Rudalics <rudalics@gmx.at>
8294
8295 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8296 window.c. Rename first argument to ALL-FRAMES.
8297 Rephrase doc-strings.
8298 (get-buffer-window-list): Rewrite using window-list-1.
8299 Rephrase doc-string.
a1511caf
MR
8300 (window-safe-min-height, window-safe-min-width): New constants.
8301 (window-size-ignore, window-min-size, window-min-size-1)
8302 (window-sizable, window-sizable-p, window-size-fixed-1)
8303 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8304 (window-max-delta-1, window-max-delta, window-resizable)
8305 (window-resizable-p, window-total-height, window-total-width)
8306 (window-body-width): New functions.
8307 (window-full-height-p, window-full-width-p): Rewrite using
8308 window-total-size.
8309 (window-body-height): Rewrite using window-body-size.
190b47e6 8310
85cc1f11
MR
83112011-06-06 Martin Rudalics <rudalics@gmx.at>
8312
8313 * window.el (window-right, window-left, window-child)
8314 (window-child-count, window-last-child, window-any-p)
8315 (normalize-live-buffer, normalize-live-frame)
8316 (normalize-any-window, normalize-live-window)
8317 (window-iso-combination-p, window-iso-combined-p)
8318 (window-iso-combinations)
8319 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8320 (windows-with-parameter, window-with-parameter)
8321 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8322 (window-atom-check, window-side-check, window-check):
8323 New functions.
85cc1f11
MR
8324 (ignore-window-parameters, window-sides, window-sides-vertical)
8325 (window-sides-slots): New variables.
8326 (window-size-fixed): Move down in code. Minor doc-string fix.
8327
e7156492
AS
83282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8329
8330 * comint.el (comint-dynamic-complete-as-filename)
8331 (comint-dynamic-complete-filename): Correctly call
8332 completion-in-region.
8333
7e821d0d
DD
83342011-06-05 Deniz Dogan <deniz@dogan.se>
8335
8336 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8337 in last change.
8338
ac09b8a1
DD
83392011-06-05 Deniz Dogan <deniz@dogan.se>
8340
8341 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8342 (rcirc): Use it to prompt for encryption.
8343
34699b85
RW
83442011-06-05 Roland Winkler <winkler@gnu.org>
8345
8346 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8347 (bibtex-search-entries): New command bound to C-c C-a.
8348 (bibtex-display-entries): New function.
8349
004dedd3
RW
83502011-06-05 Roland Winkler <winkler@gnu.org>
8351
8352 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8353 (bibtex-insert-kill): After yanking insert newline if necessary.
8354 (bibtex-initialize): Call bibtex-string-files-init only once.
8355 (bibtex-mode): Do not call easy-menu-add.
8356 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8357 (bibtex-yank): Set arg properly if nil.
8358
022fe7ce
RW
83592011-06-05 Roland Winkler <winkler@gnu.org>
8360
2b75be67
SM
8361 * textmodes/bibtex.el (bibtex-search-entry-globally):
8362 New variable.
022fe7ce
RW
8363 (bibtex-search-entry): Use it.
8364
b7c3692a
RW
83652011-06-05 Roland Winkler <winkler@gnu.org>
8366
8367 * textmodes/bibtex.el (bibtex-entry-format): New option
8368 sort-fields.
8369 (bibtex-format-entry, bibtex-reformat): Honor this option.
8370 (bibtex-parse-entry): Return fields in proper order.
8371
8eda563d
JB
83722011-06-05 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * doc-view.el (doc-view-remove-if): Move computation of result out
8375 of `dolist' to silence misleading lexical-binding warning.
8376
7dbe3dbc
CY
83772011-06-04 Chong Yidong <cyd@stupidchicken.com>
8378
8379 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8380 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8381
0c33dd17
MA
83822011-06-04 Michael Albinus <michael.albinus@gmx.de>
8383
8384 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8385 "SunOS 5.10".
8386
f8f91c2b
MA
83872011-06-04 Michael Albinus <michael.albinus@gmx.de>
8388
8389 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8390 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8391 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8392 (tramp-parse-putty):
8393 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8394 (tramp-completion-function-alist-ssh)
8395 (tramp-completion-function-alist-telnet)
8396 (tramp-completion-function-alist-su)
8397 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8398 cookie.
8399
8400 * net/tramp-ftp.el:
8401 * net/tramp-sh.el:
8402 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8403 load "tramp.el" `tramp-set-completion-function'.
8404
e17d9003
SM
84052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * shell.el: Require and use pcomplete.
8408 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8409 (shell-completion-vars): Set pcomplete-default-completion-function.
8410
6c4cab03
DD
84112011-06-04 Deniz Dogan <deniz@dogan.se>
8412
8413 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8414 `memq' (Bug#8799).
8415
ea9fafe0
SM
84162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8419
b3e945d3
JB
84202011-06-02 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8423 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8424 * vc/log-view.el (log-view-beginning-of-defun):
8425 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8426 (smerge-refine-forward, smerge-refine-chopup-region):
8427 Silence warning for unused `dotimes' counter variables.
8428
7d520089
SM
84292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * net/tramp.el (tramp-with-progress-reporter): Rename from
8432 with-progress-reporter. Use `declare'.
8433 * net/tramp-smb.el:
8434 * net/tramp-sh.el:
8435 * net/tramp-gvfs.el: Update all uses.
8436
a1c2400f
JB
84372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8438
8439 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8440 buffer isn't killed before making it current.
8441
2403c841
SM
84422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 Silence various byte-compiler warnings.
8445 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8446 `access-type' and new obsolescence format.
8447 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8448 new format.
8449 (byte-compile-check-variable): New `access-type' argument.
8450 Only warn if the access-type is obsolete.
8451 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8452 (byte-compile-variable-set): Adjust callers.
8453 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8454 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8455 setting it as obsolete.
8456 * simple.el (minibuffer-completing-symbol):
8457 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8458 access as obsolete.
8459 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8460 obsolete yet.
8461 * international/quail.el (quail-mouse-choose-completion): Remove unused
8462 code referring to obsolete var.
8463 (quail-choose-completion-string): Remove.
8464 * server.el (server-clients-with, server-kill-buffer-query-function)
8465 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8466 * proced.el (proced-send-signal):
8467 * emacs-lisp/lisp.el (lisp-complete-symbol):
8468 Replace completion-annotate-function with completion-extra-properties.
8469
2462470b
SM
84702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8471
fb5b2591
SM
8472 * simple.el (goto-line): Use read-number.
8473 (overriding-map-is-bound): Remove.
8474 (saved-overriding-map): Change default.
8475 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8476 Take the map as argument.
8477 (universal-argument, negative-argument, digit-argument): Use it.
8478 (restore-overriding-map): Adjust.
8479 (do-auto-fill): Use fill-forward-paragraph.
8480 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8481
fd6fa53f
SM
8482 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8483 (minibuffer-inactive-mode): New major mode.
8484 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8485 the *Messages* buffer" hack.
8486 (mouse-popup-menubar): Don't burp if the event is a normal key.
8487
2462470b
SM
8488 Miscellaneous tweaks.
8489 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8490 lexical scoping as in subr.el's dolist and dotimes.
8491 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8492 Silence compiler warning.
8493 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8494 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8495 * international/ccl.el (ccl-compile): Trivial simplification.
8496 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8497 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8498 `printflag' argument.
8499 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8500 Purecopy the whole obsolescence data.
8501
108bf785
LL
85022011-06-01 Leo Liu <sdl.web@gmail.com>
8503
8504 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8505 improve doc-string as suggested by Marco Pessotto
8506 <melmothx@gmail.com>.
8507 (rcirc-print): Fix last change.
8508
30a23501
SM
85092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * minibuffer.el (complete-with-action): Return nil for the metadata and
8512 boundaries of non-functional tables.
8513 (completion-table-dynamic): Return nil for the metadata.
8514 (completion-table-with-terminator): Add default case, using
8515 complete-with-action.
8516 (completion--metadata): New function.
8517 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8518 to try and avoid pathological performance problems.
8519 (completion--embedded-envvar-table): Return `category' metadata.
8520
bcd54f83
LMI
85212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8522
8523 * subr.el (process-alive-p): New tiny convenience function.
8524
e227544d
SM
85252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8528 content but also its previous major mode.
8529
e8296fdc
HE
85302011-05-31 Helmut Eller <eller.helmut@gmail.com>
8531
4d61f28d 8532 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8533 *Backtrace* buffer when we exit with C-M-c.
8534
620c53a6
SM
85352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * minibuffer.el: Add metadata method to completion tables.
8538 (completion-category-overrides): New defcustom.
8539 (completion-metadata, completion--field-metadata)
8540 (completion-metadata-get, completion--styles)
8541 (completion--cycle-threshold): New functions.
8542 (completion-try-completion, completion-all-completions):
8543 Add `metadata' argument to choose completion-styles.
8544 (completion--do-completion): Use metadata to choose cycling.
8545 (completion-all-sorted-completions): Use metadata for sorting.
8546 Remove :completion-cycle-penalty which is not needed any more.
8547 (completion--try-word-completion): Add `metadata' argument.
8548 (minibuffer-completion-help): Check metadata for annotation function
8549 and sorting.
8550 (completion-file-name-table): Return `category' metadata.
8551 (minibuffer-completing-file-name): Make obsolete.
8552 * simple.el (minibuffer-completing-symbol): Make obsolete.
8553 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8554 completion-try-completion.
8555
1257e755
SM
85562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8559
3767e706
LL
85602011-05-30 Leo Liu <sdl.web@gmail.com>
8561
8562 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8563 (rcirc-print): Decode all incoming messages (bug#8744).
8564 (rcirc-decode-coding-system): Allow value nil for automatic coding
8565 system detection.
3767e706 8566
d1a5d56a
GM
85672011-06-01 Glenn Morris <rgm@gnu.org>
8568
8569 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8570
e8cbec34
CY
85712011-05-29 Chong Yidong <cyd@stupidchicken.com>
8572
8573 * image.el (image-animate-max-time): Allow nil and t values.
8574 Default to nil.
8575 (create-animated-image): Doc fix.
8576 (image-animate-start): Remove second arg; just use
8577 image-animate-max-time.
8578 (image-animate-timeout): Doc fix. Args changed.
8579
8580 * image-mode.el (image-toggle-display-image): Ensure that the
8581 image spec passed to the animate timer is the same object as in
58179cce 8582 the buffer's display property (Bug#6981).
e8cbec34
CY
8583 (image-transform-properties): Doc fix.
8584
8585 * image.el (image-animate-max-time): Default to nil.
8586
159daf87
MR
85872011-05-29 Martin Rudalics <rudalics@gmx.at>
8588
8589 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8590 entire buffer list (Bug#8184).
8591
d66c4c7c
CY
85922011-05-29 Chong Yidong <cyd@stupidchicken.com>
8593
8594 * image.el (imagemagick-types-inhibit)
8595 (imagemagick-register-types): Doc fix.
8596
80aec780
DD
85972011-05-29 Deniz Dogan <deniz@dogan.se>
8598
8599 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8600 default.
8601
1dd3c2d9
CY
86022011-05-29 Chong Yidong <cyd@stupidchicken.com>
8603
8604 * select.el: Don't perform clipboard-manager saving in hooks;
8605 leave the hooks empty.
8606
60e56523
LL
86072011-05-28 Leo Liu <sdl.web@gmail.com>
8608
8609 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8610 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8611 (occur-edit-mode): New major mode (Bug#8463).
8612 (occur-after-change-function): New function.
8613 (occur-engine): Give Occur tags a read-only property.
8614
2b1e1a22
KR
86152011-05-28 Kevin Ryde <user42@zip.com.au>
8616
8617 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8618
5d344e88
CY
86192011-05-28 Chong Yidong <cyd@stupidchicken.com>
8620
8e6ca83d
CY
8621 * bindings.el (help-echo): Make the initial non-indicator dash
8622 empty on graphical terminals (Bug#7295).
8623
5d344e88
CY
8624 * files.el (auto-mode-alist): Move config rule after the
8625 in-stripping one (Bug#8547).
8626
bfbbace7
CY
8627 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8628
fbeba6e2
CY
8629 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8630 setting (Bug#8740).
8631
60ed8c72
AA
86322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8633
4ac619f0
AA
8634 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8635 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8636 (Bug#8539).
60ed8c72 8637
23db196e
CY
86382011-05-28 Chong Yidong <cyd@stupidchicken.com>
8639
8640 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8641
5012f24c
DK
86422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8643
8644 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8645 (hs-hide-block-at-point, hs-find-block-beginning)
8646 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8647 (Bug#8279).
8648
6a639b16
GM
86492011-05-28 Glenn Morris <rgm@gnu.org>
8650
8651 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8652
d43eaf2c
CY
86532011-05-28 Chong Yidong <cyd@stupidchicken.com>
8654
5199bde1
CY
8655 * help-fns.el (describe-function-1): If the function is a derived
8656 major mode, print the parent mode.
8657
d43eaf2c
CY
8658 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8659 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8660
423428a8
SM
86612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8662
0ff8e1ba 8663 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8664 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8665 * progmodes/etags.el (tags-completion-at-point-function):
8666 * info-look.el (info-lookup-completions-at-point): Mark as
8667 non-exclusive.
8668 (info-complete): Adjust accordingly.
8669
423428a8
SM
8670 * info-look.el: Convert to lexical-binding and completion-at-point.
8671 (info-lookup-completions-at-point): New function.
8672 (info-complete): Use it and completion-in-region.
8673
b74aa22b
DA
86742011-05-28 Drew Adams <drew.adams@oracle.com>
8675
8676 * isearch.el: Let M-e start with point at the first mismatched char.
8677 (isearch-fail-pos): New function.
8678 (isearch-edit-string): Use it.
8679
66e2e71d
DK
86802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8681
8682 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8683
b1890b0f 86842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8685
8686 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8687 traversal functions for avl-trees.
8688 (avl-tree--stack): New struct.
8689 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8690 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8691 (avl-tree--do-enter): Add optional `updatefun' arg.
8692 Change return value.
eb95d01d 8693 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8694 (avl-tree--do-delete): Add `test' and `nilflag' args.
8695 Change return value.
eb95d01d
TC
8696 (avl-tree-member): Add optional `nilflag'
8697 (avl-tree-member-p): New function.
8698 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8699 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8700 (avl-tree-stack-empty-p): New functions.
8701
3769ddcf
TC
8702 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8703 avl-tree--del-balance1 and make it work both ways.
8704 (avl-tree--del-balance2): Remove.
8705 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8706 make it work both ways.
8707 (avl-tree--enter-balance2): Remove.
8708 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8709 New macros.
8710 (avl-tree--mapc, avl-tree-map): Add direction argument.
8711
eb95d01d 87122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8713
8714 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8715
a9f737ee
CY
87162011-05-27 Chong Yidong <cyd@stupidchicken.com>
8717
8718 * select.el: Support clipboard managers with built-in function
8719 x-clipboard-manager-save, via delete-frame-functions and
8720 kill-emacs-hook.
8721 (xselect-convert-to-targets): Add MULTIPLE target to list.
8722 (xselect-convert-to-save-targets): New function.
8723
c92a1e54
KH
87242011-05-27 Kenichi Handa <handa@m17n.org>
8725
8726 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8727 let-binding rfc2047-encode-encoded-words to nil.
8728
e145f188
GM
87292011-05-27 Glenn Morris <rgm@gnu.org>
8730
5ec8a862
GM
8731 * mail/emacsbug.el: Don't require url-util.
8732
4b29d9fb
GM
8733 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8734
e145f188
GM
8735 * files.el (set-auto-mode):
8736 Also respect mode: entries at the end of the file. (Bug#8586)
8737
7d15102b
GM
87382011-05-26 Glenn Morris <rgm@gnu.org>
8739
98f593b8
GM
8740 * files.el (hack-local-variables-prop-line, hack-local-variables):
8741 Downcase mode names, as seems to be traditional.
27b48e63 8742 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8743
7d15102b
GM
8744 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8745 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8746
51d5b4ec
JD
87472011-05-25 Julien Danjou <julien@danjou.info>
8748
8749 * textmodes/rst.el (rst-define-level-faces): Do not define face
8750 symbol if it is already defined.
8751
91513f63
VB
87522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8753
8754 * play/5x5.el (5x5-new-game, 5x5-randomize):
8755 Reset 5x5-solver-output to nil when a new grid is cast.
8756 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8757 these debugging traces, as defmacro breaks the compiled code.
8758
4d90d6d0
DK
87592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8760
8761 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8762
e1b90ef6
LL
87632011-05-24 Leo Liu <sdl.web@gmail.com>
8764
8765 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8766 (vc-bzr-sha1): Adapt.
8767
d8e4b68b 8768 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8769
8770 * bindings.el: Provide sha1 feature.
8771
db0406bb 87722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8773
8774 * mail/sendmail.el: Require `rfc2047'.
8775 (mail-insert-from-field): Do not perform RFC2047 encoding.
8776 (mail-encode-header): New function.
8777 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8778 buffer to the return value of select-message-coding-system.
8779 Call mail-encode-header.
b8d747b9
KH
8780
8781 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8782
db0406bb 87832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8784
4d90d6d0
DK
8785 * mail/supercite.el (sc-default-cite-frame):
8786 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8787
eb8a5e9b
GM
87882011-05-24 Glenn Morris <rgm@gnu.org>
8789
f8630703
GM
8790 * progmodes/python.el (brm-menu): Declare.
8791
8831bbed
GM
8792 * emulation/viper.el (viper-set-hooks): Declare.
8793
eb8a5e9b
GM
8794 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8795 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8796 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8797 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8798 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8799 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8800
a2a25d24
SM
88012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 Add an :exit-function for completion-at-point.
8804
8805 * minibuffer.el (completion--done): New fun.
8806 (completion--do-completion): Use it. New arg `expect-exact'.
8807 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8808 since completion--do-completion does it for us now.
8809 (minibuffer-force-complete): Use completion--done and
8810 completion--replace. Handle sole-completion case with more care.
8811 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8812 (completion-extra-properties): New var.
8813 (completion-annotate-function): Make obsolete.
8814 (minibuffer-completion-help): Adjust accordingly.
8815 Use completion-list-insert-choice-function.
8816 (completion-at-point, completion-help-at-point):
8817 Bind completion-extra-properties.
8818 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8819 * simple.el (completion-list-insert-choice-function): New var.
8820 (completion-setup-function): Preserve it.
8821 (choose-completion): Pay attention to it, shuffle the code a bit.
8822 (choose-completion-string): New arg `insert-function'.
8823
8824 * textmodes/bibtex.el: Convert to lexical binding.
8825 (bibtex-mode-map): Use completion-at-point.
8826 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8827 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8828 (bibtex-complete): Define as obsolete alias.
8829 (bibtex-complete-internal): Remove.
8830 (bibtex-format-entry): Remove unused sub-group in regexp.
8831 * shell.el (shell--command-completion-data)
8832 (shell-environment-variable-completion):
8833 * pcomplete.el (pcomplete-completions-at-point):
8834 * comint.el (comint--complete-file-name-data): Use :exit-function
8835 instead of completion-table-with-terminator so it also works for
8836 choose-completion.
8837
e44e373d
SM
88382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8839
4f91a816
SM
8840 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8841
782fc819
SM
8842 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8843 (bug#8710).
8844
e44e373d
SM
8845 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8846
381987c3
KM
88472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8848
8849 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8850 customization variable and implement: If non-nil, auto-fill will
8851 be inhibited while on topic's header line.
8852
b776bc70
VB
88532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8854
8855 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8856 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8857 always have a solution in grid size = 5 cases.
8858 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8859 (5x5-solver-output, 5x5-log-buffer): New vars.
8860 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8861 Make these variables buffer local to achieve 5x5 multi-session-ness.
8862 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8863 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8864 (5x5-solve-suggest): New funs.
8865 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8866 randomize a grid so that we ensure that there is always a solution.
8867 (5x5-make-random-grid): Allow other movement than flipping.
8868
7de88b6e
KR
88692011-05-23 Kevin Ryde <user42@zip.com.au>
8870
8871 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8872 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8873 advice and passes PREDICATE.
8874
b1ef1257
SM
88752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8876
bbca48fe
SM
8877 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8878 byte-compile-lambda if it's actually a lambda.
8879
b1ef1257
SM
8880 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8881 Fix function quoting. Use backquote better.
8882
92a9cc65
YS
88832011-05-22 Yuanle Song <sylecn@gmail.com>
8884
8885 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8886 matching (Bug#8516).
8887
f0fb8059
JA
88882011-01-22 Jari Aalto <jari.aalto@cante.net>
8889
8890 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8891 different face (Bug#8178).
8892
d5b44c93
CY
88932011-05-22 Chong Yidong <cyd@stupidchicken.com>
8894
8895 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8896 defface (Bug#8144).
8897
79106a44
SM
88982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8899
9c848d8a
SM
8900 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8901 funcall as well (bug#8712). Warn when performing those conversions.
8902 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8903
79106a44
SM
8904 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8905
88dfa756
GM
89062011-05-22 Glenn Morris <rgm@gnu.org>
8907
8908 * files.el (hack-local-variables-prop-line): Small simplifications.
8909 (hack-local-variables, hack-local-variables-prop-line):
8910 If MODE-ONLY, return the mode, rather than just `t'.
8911
b7cf2c79
SM
89122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8915
3f1a8558
GM
89162011-05-21 Glenn Morris <rgm@gnu.org>
8917
7e4ccca3
GM
8918 * files.el (hack-local-variables-prop-line, hack-local-variables):
8919 If only interested in the mode, don't bother doing the other stuff.
8920
637d46ca
GM
8921 * image-mode.el (image-after-revert-hook):
8922 Redraw all frames on which the image is visible. (Bug#8567)
8923
973d955b
GM
8924 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8925
3f1a8558
GM
8926 * wid-edit.el (widget-checklist-match-inline):
8927 Fix 2011-04-19 change. (Bug#8649)
8928
96479927
SM
89292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8930
1dcf791f
SM
8931 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8932 Also allow singlespace after single-letter capitals followed by a dot.
8933
96479927
SM
8934 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8935 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8936
35fd0881
N
89372011-05-20 Nix <nix@esperi.org.uk>
8938
8939 * files.el (basic-save-buffer-2):
8940 Fix handling of break-hardlink-on-save with non-existent files.
8941
82745640
DD
89422011-05-19 Deniz Dogan <deniz@dogan.se>
8943
8944 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8945 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8946
4a720484
GM
89472011-05-19 Glenn Morris <rgm@gnu.org>
8948
d1f21341
GM
8949 * progmodes/f90.el (f90-type-def-re):
8950 Handle "type, bind(c)". (Bug#8691)
8951
4a720484
GM
8952 * emacs-lisp/autoload.el (batch-update-autoloads):
8953 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8954
2fb0a219
MA
89552011-05-18 Michael Albinus <michael.albinus@gmx.de>
8956
8957 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8958 property for the correct connection in case of multihops.
8959
e565dd37
GM
89602011-05-18 Glenn Morris <rgm@gnu.org>
8961
c2571358 8962 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8963 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8964
e565dd37
GM
8965 Rationalize calendar handling of day and month abbrev-arrays.
8966 * calendar/calendar.el (calendar-customized-p): New function.
8967 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8968 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8969 Add :set function.
8970 (calendar-abbrev-length, calendar-day-abbrev-array)
8971 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8972 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8973 Elements may no longer be nil.
8974 (calendar-day-name, calendar-month-name):
8975 Update for changed nature of abbrev arrays.
8976 * calendar/diary-lib.el (diary-name-pattern):
8977 Update for changed nature of abbrev arrays.
8978 (diary-mark-entries-1): Update calendar-make-alist calls.
8979 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8980 * calendar/cal-html.el (cal-html-day-abbrev-array):
8981 Simply inherit from calendar-day-abbrev-array.
8982
1d99a745
SM
89832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * progmodes/grep.el (grep-mode): Disable default
8986 compilation-directory-matcher setting (bug#8684).
8987
7c1d9aa0
MA
89882011-05-17 Michael Albinus <michael.albinus@gmx.de>
8989
8990 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8991 instead of "head" and "tail". There were problems with SunOS 5.9,
8992 and it performs better.
8993
3952e9d8
GM
89942011-05-17 Glenn Morris <rgm@gnu.org>
8995
2dd12e7f
GM
8996 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8997
e4157b9c
GM
8998 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8999 Replace obsolete function.
9000
8e249bbd
GM
9001 * shell.el (pcomplete-parse-arguments-function): Declare.
9002
3952e9d8
GM
9003 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9004 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9005 (appt-check): Doc fixes.
9006 (appt-disp-window-function, appt-delete-window-function):
9007 Remove needless special case in custom :type.
9008 (appt-display-count): Default to 0, not nil.
9009 (appt-check): Reset appt-display-count to 0, not nil.
9010
c71a0d48 90112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9012
c71a0d48
GM
9013 * progmodes/python.el (python-font-lock-keywords):
9014 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9015
31d55be9
SM
90162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9019
3bfacb2f
KR
90202011-05-16 Kevin Ryde <user42@zip.com.au>
9021
9022 * info-look.el (makefile-automake-mode): New setups, looking in
9023 automake manual, then makefile-mode.
9024 (makefile-mode): Remove automake manual, have it just in
9025 makefile-automake-mode since there's various things different or
9026 not relevant to plain make.
9027 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9028 believe a hypothetical automake-mode would go to makefile-mode,
9029 not the other way around.
9030
c8e83751
CY
90312011-05-15 Chong Yidong <cyd@stupidchicken.com>
9032
5e9e35cd
CY
9033 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9034 hunk-end tags (Bug#8672).
9035
c8e83751
CY
9036 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9037 vc-annotate-show-diff-revision-at-line (Bug#8671).
9038
50b23e5a
GM
90392011-05-14 Glenn Morris <rgm@gnu.org>
9040
7210a739
GM
9041 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9042 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9043 (change-log-font-lock-keywords): Also handle multiple author lines
9044 with leading tabs. (Bug#8644)
7210a739 9045
4691905a
GM
9046 * calendar/appt.el (appt-check): Rename some local variables.
9047 Some simplification/reordering.
9048
50b23e5a
GM
9049 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9050 (feedmail-sendmail-f-doesnt-sell-me-out)
9051 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9052 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9053 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9054 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9055 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9056 (feedmail-binmail-gnulinuxish-template):
9057 Rename from feedmail-binmail-linuxish-template.
9058 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9059 Use insert-buffer-substring.
9060
215cda7c
BC
90612011-05-14 Bill Carpenter <bill@carpenter.org>
9062
9063 * mail/feedmail.el (feedmail-patch-level): Increase.
9064 (feedmail-debug): New custom group.
9065 (feedmail-confirm-outgoing-timeout)
9066 (feedmail-sendmail-f-doesnt-sell-me-out)
9067 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9068 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9069 (feedmail-sender-line, feedmail-from-line)
9070 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9071 (feedmail-spray-this-address)
215cda7c
BC
9072 (feedmail-spray-address-fiddle-plex-list)
9073 (feedmail-queue-use-send-time-for-date)
9074 (feedmail-queue-use-send-time-for-message-id)
9075 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9076 (feedmail-buffer-eating-function):
9077 Doc fixes.
9078 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9079 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9080 (feedmail-message-action-scroll-down): New functions.
9081 (feedmail-queue-directory, feedmail-queue-draft-directory):
9082 Use expand-file-name.
9083 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9084 Remove C-v help entry.
9085 (feedmail-queue-buffer-file-name): New variable.
9086 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9087 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9088 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9089 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9090 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9091 (feedmail-message-action-toggle-spray)
9092 (feedmail-run-the-queue-no-prompts)
9093 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9094 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9095 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9096 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9097 (feedmail-envelope-deducer, feedmail-fiddle-from)
9098 (feedmail-fiddle-sender, feedmail-default-date-generator)
9099 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9100 (feedmail-fiddle-spray-address)
9101 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9102 (feedmail-fiddle-list-of-fiddle-plexes)
9103 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9104 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9105 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9106 Change default. Doc fix.
9107 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9108 (feedmail-binmail-linuxish-template): New constant.
9109 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9110 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9111 (feedmail-send-it): Add debug call.
9112 Use feedmail-queue-buffer-file-name, and
9113 feedmail-send-it-immediately-wrapper.
9114 (feedmail-message-action-send): Add debug call.
9115 Use feedmail-send-it-immediately-wrapper.
9116 (feedmail-queue-express-to-queue): Add debug call.
9117 Run feedmail-queue-express-hook.
9118 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9119 (feedmail-message-action-help-blat):
9120 Rename from feedmail-queue-send-edit-prompt-help-first.
9121 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9122 Check line-endings. Handle errors better.
9123 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9124 Doc fix. Add debug call.
9125 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9126 Use feedmail-queue-send-edit-prompt-inner.
9127 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9128 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9129 from feedmail-queue-send-edit-prompt.
9130 (feedmail-queue-send-edit-prompt-help)
9131 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9132 (feedmail-tidy-up-slug): Add debug call.
9133 Respect feedmail-queue-slug-suspect-regexp.
9134 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9135 (feedmail-dump-message-to-queue): Add debug call.
9136 Expand queue-directory.
9137 (feedmail-dump-message-to-queue): Change message slightly.
9138 Use feedmail-say-chatter.
9139 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9140 (feedmail-send-it-immediately-wrapper): New function.
9141 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9142 Insert empty string rather than newline. Handle full-frame case.
9143 Use catch/throw. Use feedmail-say-chatter.
9144 (feedmail-fiddle-from): Try mail-host-address.
9145 (feedmail-default-message-id-generator): Doc fix.
9146 Bind system-time-locale. Handle missing end.
9147 (feedmail-fiddle-x-mailer): Add debug call.
9148 Handle feedmail-x-mailer-line being nil.
9149 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9150 Add debug call. Use buffer-substring-no-properties.
9151 (feedmail-say-debug, feedmail-say-chatter): New functions.
9152 (feedmail-find-eoh): Give an explicit error.
9153
42c7e61e
UJ
91542011-05-13 Ulf Jasper <ulf.jasper@web.de>
9155
c2571358 9156 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9157 family from helvetica to sans.
c2571358 9158 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9159 etc/images/newsticker.
9160
c2571358 9161 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9162 family from helvetica to sans.
9163
9164 * net/newst-plainview.el (newsticker-new-item-face)
9165 (newsticker-old-item-face, newsticker-immortal-item-face)
9166 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9167 (newsticker-statistics-face): Change default family from
42c7e61e 9168 helvetica to sans.
c2571358 9169 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9170 etc/images/newsticker.
9171
9172 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9173 (newsticker--process-auto-mark-filter-match): : Tell user about
9174 auto-marking.
9175
8497a297
DV
91762011-05-13 Didier Verna <didier@xemacs.org>
9177
9178 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9179 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9180 TODO entries.
8497a297
DV
9181 (lisp-lambda-list-keyword-parameter-indentation)
9182 (lisp-lambda-list-keyword-parameter-alignment)
9183 (lisp-lambda-list-keyword-alignment): New customizable user options.
9184 (lisp-indent-defun-method): Improve docstring.
9185 (extended-loop-p): Fix comment.
9186 (lisp-indent-lambda-list-keywords-regexp): New variable.
9187 (lisp-indent-lambda-list): New function.
9188 (lisp-indent-259): Use it.
9189 (lisp-indent-defmethod): Support for more than one
9190 method qualifier and properly indent methods lambda-lists.
9191 (defgeneric): Provide a missing common-lisp-indent-function property.
9192
f278f87f
SM
91932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9196 bounds for the empty string (bug#8667).
9197
5233edd7
GM
91982011-05-13 Glenn Morris <rgm@gnu.org>
9199
5237a44f
GM
9200 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9201
8340026c 9202 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9203 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9204
5233edd7 9205 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9206 (appt-time-msg-list): Doc fix.
a5464014 9207 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9208
92d10796
AS
92092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * progmodes/ld-script.el (ld-script-keywords)
9212 (ld-script-builtins): Update keywords list.
9213
914a0ae1
SM
92142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9215
c89be45f
SM
9216 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9217
914a0ae1
SM
9218 * shell.el (shell-completion-vars): New function.
9219 (shell-mode):
9220 * simple.el (read-shell-command): Use it.
9221 (blink-matching-open): No need for " [...]" in minibuffer-message.
9222
98dc3df3
GM
92232011-05-12 Glenn Morris <rgm@gnu.org>
9224
9225 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9226 (appt-check): Simplify.
9227
d2fc7e3d 92282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9229
4d61f28d 9230 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9231 literal "/dev/null".
9232
d2fc7e3d 92332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9234
9235 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9236 Fix typo.
9237
d2fc7e3d 92382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9239
3f254caa
SM
9240 * progmodes/which-func.el (which-function):
9241 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9242 which might not be defined (Bug#8260).
9243
d45885f7
GM
92442011-05-12 Glenn Morris <rgm@gnu.org>
9245
9246 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9247 Let byte-compile-initial-macro-environment always take precedence.
9248
488086f4
SM
92492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * net/rcirc.el: Add support for SSL/TLS connections.
9252 (rcirc-server-alist): New field `encryption'.
9253 (rcirc): Check `encryption' settings.
9254 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9255 Merge make-local-variable into `set'.
9256 (rcirc--connection-open-p): New function.
9257 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9258 the process is not a network process (e.g. running gnutls-cli).
9259 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9260 Make rcirc-(en|de)code-coding-system local here.
9261 (rcirc-mode): Merge make-local-variable into `set'.
9262 (rcirc-parent-buffer): Make permanent buffer-local.
9263 (rcirc-multiline-minor-mode): Don't do it here.
9264 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9265 there's no server buffer.
9266
7d3b9d44
GM
92672011-05-11 Glenn Morris <rgm@gnu.org>
9268
f64049c6
GM
9269 * newcomment.el (comment-kill): Prefix "unused" local.
9270
93c9df73
GM
9271 * term/w32console.el (get-screen-color): Declare.
9272
7d3b9d44
GM
9273 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9274 Handle symbol elements of byte-compile-initial-macro-environment.
9275
9e2dd53f
LL
92762011-05-10 Leo Liu <sdl.web@gmail.com>
9277
488086f4
SM
9278 * bookmark.el (bookmark-bmenu-mode-map):
9279 Bind bookmark-bmenu-search to `/'.
8b340240 9280
9e2dd53f 9281 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9282 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9283 (Footnote-unicode): New function.
9284 (footnote-style-alist): Add unicode style to the list.
9285 (footnote-style): Doc fix.
9e2dd53f 9286
79b70037
GM
92872011-05-10 Jim Meyering <meyering@redhat.com>
9288
9289 Fix doubled-word typos.
9290 * international/quail.el (quail-insert-kbd-layout): and and -> and
9291 * kermit.el: and and -> and
9292 * net/ldap.el (ldap-search-internal): to to -> to
9293 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9294 * progmodes/js.el (js-mode): and and -> and
9295 * textmodes/artist.el (artist-move-to-xy): at at -> at
9296 (artist-draw-region-trim-line-endings): if if -> if
9297 And Safetyc -> Safety.
9298 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9299
b8f82dc1 93002011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9301 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9302
9303 * files.el (hack-one-local-variable-eval-safep):
9304 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9305
4f99f44b
GM
93062011-05-10 Glenn Morris <rgm@gnu.org>
9307
9308 * calendar/diary-lib.el (diary-list-entries-hook)
9309 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9310 (diary-nongregorian-marking-hook, diary-list-entries)
9311 (diary-include-other-diary-files, diary-mark-entries)
9312 (diary-mark-included-diary-files): Doc fixes.
9313
84f29e6b
JB
93142011-05-09 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * misc.el: Require tabulated-list.el during compilation.
9317
9bedd73a
CY
93182011-05-09 Chong Yidong <cyd@stupidchicken.com>
9319
488086f4
SM
9320 * progmodes/compile.el (compilation-start):
9321 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9322 (compilation-filter-hook): Doc fix.
9323
797c735c
DD
93242011-05-09 Deniz Dogan <deniz@dogan.se>
9325
9326 * wdired.el: Remove outdated installation comment. Fix usage
9327 comment.
9328
5f4b1dfe
JB
93292011-05-09 Juanma Barranquero <lekktu@gmail.com>
9330
9331 * misc.el: Implement new command `list-dynamic-libraries'.
9332 (list-dynamic-libraries--loaded-only-p): New variable.
9333 (list-dynamic-libraries--refresh): New function.
9334 (list-dynamic-libraries): New command.
9335
4c44026c
CY
93362011-05-09 Chong Yidong <cyd@stupidchicken.com>
9337
488086f4
SM
9338 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9339 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9340 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9341 higher priority to avoid clobbering by gnu.
9342
027f966d
CY
93432011-05-08 Chong Yidong <cyd@stupidchicken.com>
9344
9345 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9346 if the face has existing theme settings (Bug#8454).
9347
085f5d7d
CY
93482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9349
488086f4
SM
9350 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9351 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9352
2a86a00c
RS
9353 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9354 special file names `.' and `..' (Bug#8259).
9355
d9c54a06
CY
93562011-05-08 Chong Yidong <cyd@stupidchicken.com>
9357
488086f4
SM
9358 * progmodes/grep.el (grep-mode-font-lock-keywords):
9359 Remove buffer-changing entries.
d9c54a06
CY
9360 (grep-filter): New function.
9361 (grep-mode): Add it to compilation-filter-hook.
9362
9363 * progmodes/compile.el (compilation-filter-hook)
9364 (compilation-filter-start): New defvars.
9365 (compilation-filter): Call compilation-filter-hook prior to
9366 updating the process mark.
9367
c4662635
SM
93682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9371
b0512a1d
EZ
93722011-05-07 Eli Zaretskii <eliz@gnu.org>
9373
605c9376
EZ
9374 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9375 mailclient-send-it even if window-system is nil. (Bug#8595)
9376
c4662635
SM
9377 * term/w32console.el (terminal-init-w32console):
9378 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9379 background-mode. (Bug#8597)
9380
d1dc2cc2
SM
93812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9384 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9385 New functions.
9386 (defgeneric, eieio--defmethod): Use them.
9387 (eieio-defgeneric): Remove.
9388 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9389
915d1300
GM
93902011-05-07 Glenn Morris <rgm@gnu.org>
9391
a3961c3e
GM
9392 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9393 Use let rather than let*.
9394 (timeclock-find-discrep): Remove unused local.
9395
314347b9
GM
9396 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9397
915d1300
GM
9398 * calendar/appt.el (appt-time-msg-list): Doc fix.
9399
275b59b0
NF
94002011-05-06 Noah Friedman <friedman@splode.com>
9401
9402 * apropos.el (apropos-print-doc): Only use
9403 emacs-lisp-docstring-fill-column when it is bound to an integer,
9404 per that variable's documentation.
9405
6c19f744
SM
94062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9409 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9410
60f884b2
GM
94112011-05-06 Glenn Morris <rgm@gnu.org>
9412
5006e634
GM
9413 * calendar/appt.el (appt-message-warning-time): Doc fix.
9414 (appt-warning-time-regexp): New option.
9415 (appt-make-list): Respect appt-message-warning-time.
9416
548d0a63
GM
9417 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9418 New options.
9419 (diary-add-to-list): Strip comments from the displayed string.
9420 (diary-mode): Set comment-start and comment-end.
9421
60f884b2
GM
9422 * vc/diff-mode.el (smerge-refine-subst): Declare.
9423 (diff-refine-hunk): Don't require smerge-mode when compiling.
9424
989681bb
JB
94252011-05-06 Juanma Barranquero <lekktu@gmail.com>
9426
9427 * simple.el (list-processes): Return nil as the docstring says.
9428
a6bc05e1
MA
94292011-05-05 Michael Albinus <michael.albinus@gmx.de>
9430
9431 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9432 to "".
9433 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9434 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9435 determining of binary transfer. (Bug#7383)
9436
23c22e9a
MA
94372011-05-05 Michael Albinus <michael.albinus@gmx.de>
9438
c4662635
SM
9439 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9440 Fix port computation bug. (Bug#8618)
23c22e9a 9441
0bff894f
GM
94422011-05-05 Glenn Morris <rgm@gnu.org>
9443
b8296902
GM
9444 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9445
1f522ce8
GM
9446 * simple.el (shell-dynamic-complete-functions)
9447 (comint-dynamic-complete-functions): Declare.
9448
cf5bee67
GM
9449 * net/network-stream.el (gnutls-negotiate):
9450 * simple.el (tabulated-list-print): Fix declarations.
9451
9452 * progmodes/gud.el (syntax-symbol, syntax-point):
9453 Remove unnecessary and incorrect declarations.
9454
0bff894f
GM
9455 * emacs-lisp/check-declare.el (check-declare-scan):
9456 Handle byte-compile-initial-macro-environment in bytecomp.el
9457
9869b3ae
SM
94582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 Fix earlier half-done eieio-defmethod change (bug#8338).
9461 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9462 Streamline and change calling convention.
9463 (defmethod): Adjust accordingly and simplify.
9464 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9465 new eieio--defmethod.
9466 (slot-boundp): Minor CSE simplification.
9467
9c1d5ac5
MZ
94682011-05-05 Milan Zamazal <pdm@zamazal.org>
9469
9470 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9471 (glasses-make-readable): Use glasses-separate-capital-groups.
9472
455c834e
JB
94732011-05-05 Juanma Barranquero <lekktu@gmail.com>
9474
9475 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9476 (warning-series): Doc fix.
9477 (display-warning): Don't try to create the buffer if we just found it.
9478
9ed7c8cb
CY
94792011-05-04 Chong Yidong <cyd@stupidchicken.com>
9480
9481 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9482 (autoload-find-generated-file): New function.
9483 (generate-file-autoloads): Bind generated-autoload-file to
9484 buffer-file-name.
9869b3ae
SM
9485 (update-file-autoloads, update-directory-autoloads):
9486 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9487 output file (Bug#7989).
9488 (batch-update-autoloads): Doc fix.
9489
0898ca10
JB
94902011-05-04 Juanma Barranquero <lekktu@gmail.com>
9491
9492 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9493
31dfb76c
GM
94942011-05-04 Glenn Morris <rgm@gnu.org>
9495
f330b642
GM
9496 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9497 function, so it follows changes in calendar-date-style.
9498 (diary-fancy-date-matcher): New function.
9499 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9500 (diary-fancy-font-lock-fontify-region-function):
9501 Use diary-fancy-date-pattern as a function.
9502
31dfb76c
GM
9503 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9504 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9505
48e79d6a
TZ
95062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9507
9508 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9509 instead of positional arguments. Allow :keylist and :crlfiles
9510 arguments.
9511 (open-gnutls-stream): Call it.
9512
9513 * net/network-stream.el (network-stream-open-starttls): Adjust to
9514 call `gnutls-negotiate' with :process and :hostname arguments.
9515
dd5a5ee0
SM
95162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9517
ef80fc09
SM
9518 * minibuffer.el (completion--message): New function.
9519 (completion--do-completion, minibuffer-complete)
9520 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9521 (completion--do-completion): Don't ignore completion-auto-help when in
9522 icomplete-mode.
9523
dd5a5ee0
SM
9524 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9525 internal encoding (e.g. tibetan zero is not whitespace).
9526 (global-whitespace-mode): Prefer save-current-buffer.
9527 (whitespace-trailing-regexp): Remove useless save-match-data.
9528 (whitespace-empty-at-bob-regexp): Minor simplification.
9529
b7d22a83
CY
95302011-05-03 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9533
5192af46
AM
95342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9535
9536 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9537 Use `concat' to create string for insertion.
5192af46 9538
5767d190
SM
95392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9542 Avoid open-line which runs post-self-insert-hook.
9543 (bibtex-fill-entry): Remove unused `end' var.
9544
bf242939
AM
95452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9546
5767d190
SM
9547 * textmodes/ispell.el (ispell-add-per-file-word-list):
9548 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9549
25666126
LL
95502011-05-03 Leo Liu <sdl.web@gmail.com>
9551
9552 * isearch.el (isearch-yank-pop): New command.
5767d190 9553 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9554 (isearch-forward): Mention it.
9555
52d3c2d0
SM
95562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9557
1bcace58
SM
9558 * simple.el (minibuffer-complete-shell-command): Remove.
9559 (minibuffer-local-shell-command-map): Use completion-at-point.
9560 (read-shell-command): Setup completion vars here instead.
9561 (read-expression-map): Bind TAB to symbol completion.
9562
52d3c2d0
SM
9563 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9564 error directly rather via storing it into `results'.
9565
35813471
LL
95662011-05-02 Leo Liu <sdl.web@gmail.com>
9567
9568 * vc/diff.el: Fix description.
9569
e793a940
LMI
95702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
9572 * server.el (server-eval-at): New function.
9573
8de66e05
LMI
95742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9575
9576 * net/network-stream.el (open-network-stream): Take a :nowait
9577 parameter and pass it on to `make-network-process'.
9578 (network-stream-open-plain): Ditto.
9579
dcb79f20
AS
95802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9581
9582 * faces.el (face-spec-set-match-display): Don't match toolkit
9583 options on terminal frames.
9584
14a7fbd8
SM
95852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9586
7eabc1be
SM
9587 * progmodes/pascal.el: Use lexical binding.
9588 (pascal-mode-map): Remove author preferences.
9589
14a7fbd8
SM
9590 * pcomplete.el (pcomplete-std-complete): Don't abuse
9591 completion-at-point.
9592
50f84510
JB
95932011-04-28 Juanma Barranquero <lekktu@gmail.com>
9594
6e087a44
JB
9595 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9596 removing code that has been dead since 1991 or so.
9597
50f84510
JB
9598 * startup.el (command-line): When warning about "_emacs", use a
9599 delayed warning to allow the user to filter it out.
9600
0ba690bd
DD
96012011-04-28 Deniz Dogan <deniz@dogan.se>
9602
9603 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9604 user has not joined.
9605
08abfaad
SM
96062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9609 aren't any completions at point.
9610
638f053a
JB
96112011-04-28 Juanma Barranquero <lekktu@gmail.com>
9612
9613 * subr.el (display-delayed-warnings): New function.
9614 (delayed-warnings-hook): New variable.
9615
8fff8daa
SM
96162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9617
08abfaad
SM
9618 * minibuffer.el (completion-at-point, completion-help-at-point):
9619 Don't presume that a given completion-at-point-function will always
9620 use the same calling convention.
9621
8fff8daa
SM
9622 * pcomplete.el (pcomplete-completions-at-point):
9623 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9624 pcomplete-seen is non-nil.
9625 (pcomplete-comint-setup): Also recognize the new comint/shell
9626 completion functions.
9627 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9628 pcomplete-seen is non-nil.
9629
841a1577 96302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9631
841a1577 9632 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9633 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9634 the first character in the entry. This allows for code to add its
211ec907
UJ
9635 own uid to the entry.
9636 (icalendar--convert-float-to-ical): Add export of
9637 `diary-float'-entries save for those with the optional DAY
9638 argument.
9639
2a782793
DC
96402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9641
9642 * subr.el (shell-quote-argument): Use alternate escaping strategy
9643 when we spot a variable reference in a string.
9644
0438ce91
DC
96452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9646
9647 * cus-start.el (all): Define customization for debug-on-event.
9648
841a1577 96492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9650
9651 * subr.el (shell-quote-argument): Escape correctly under Windows.
9652
d090ed6c
SM
96532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9656
bfd31217
MA
96572011-04-25 Michael Albinus <michael.albinus@gmx.de>
9658
d090ed6c
SM
9659 * net/tramp.el (tramp-process-actions): Add POS argument.
9660 Delete region between POS and (pos).
bfd31217 9661
d090ed6c
SM
9662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9663 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9664 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9665
9666 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9667 position in `tramp-process-actions' call.
9668
9669 * net/trampver.el: Update release number.
9670
e92f3bd3
SM
96712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9672
850256b5
SM
9673 * custom.el (defcustom): Obey lexical-binding.
9674
e92f3bd3
SM
9675 Fix octave-inf completion problems reported by Alexander Klimov.
9676 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9677 Inherit from octave-mode-syntax-table.
9678 (inferior-octave-mode): Set info-lookup-mode.
9679 (inferior-octave-completion-at-point): New function.
9680 (inferior-octave-complete): Use it and completion-in-region.
9681 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9682 comint-filename-completion.
9683 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9684 symbol elements which shouldn't be word elements.
9685 (octave-font-lock-keywords, octave-beginning-of-defun)
9686 (octave-function-header-regexp): Adjust regexps accordingly.
9687 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9688
cd22b309
JB
96892011-04-25 Juanma Barranquero <lekktu@gmail.com>
9690
9691 * net/gnutls.el (gnutls-errorp): Declare before first use.
9692
8b492194
TZ
96932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9694
9695 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9696 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9697 default trustfile exists before going to use it. Add missing
5a5fa834 9698 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9699 Reported by Claudio Bley <claudio.bley@gmail.com>.
9700 (open-gnutls-stream): Add usage example.
9701
9702 * net/network-stream.el (network-stream-open-starttls): Give host
9703 parameter to `gnutls-negotiate'.
9704 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9705 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9706
841a1577 97072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9708
cd22b309
JB
9709 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9710 Use correct match group (bug#8438).
05842630 9711
3ba7869c
CY
97122011-04-24 Chong Yidong <cyd@stupidchicken.com>
9713
512e3ae1
CY
9714 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9715 (package-menu--generate): New arg specifying packages to show.
9716 (package-menu-refresh, package-menu-execute, list-packages):
9717 Callers changed.
9718 (package-show-package-list): New function, replacing deleted
9719 package--list-packages (renamed because it is non-internal).
9720
9721 * finder.el (finder-list-matches): Use package-show-package-list
9722 instead of deleted package--list-packages.
9723
e92f3bd3
SM
9724 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9725 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9726 (vc-annotate-mode-map): Bind it to RET.
9727
7031be6d
UR
97282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9729
9730 * progmodes/etags.el (next-file): Don't use set-buffer to change
9731 buffers (Bug#8478).
9732
4ef177aa
CY
97332011-04-24 Chong Yidong <cyd@stupidchicken.com>
9734
c8d173eb
CY
9735 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9736
4ef177aa
CY
9737 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9738 (apropos-accumulator): Doc fix.
9739 (apropos-function, apropos-macro, apropos-command)
9740 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9741 (apropos-plist): Add face property.
9742 (apropos-symbols-internal): Fix indentation.
9743 (apropos-print): Simplify help, and recognize apropos-multi-type.
9744 (apropos-print-doc): Use button-type-get to extract the button's
9745 face property. Fill docstring (Bug#8352).
9746
4ffd0d6b 97472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9748
9749 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9750
c6c32125 9751 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9752 (mpuz-mode-map): Use mapc.
c6c32125
JB
9753 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9754 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9755 Fix typos in docstrings.
9756
58d468b4
JB
9757 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9758 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9759
6470c3c6
JB
9760 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9761
4ffd0d6b 97622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9763
9764 * minibuffer.el (completion--do-completion): Avoid the "Next char
9765 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9766
3ad8bad0
CY
9767 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9768 mouse-2 into unread-command-events, it is interpreted correctly.
9769
71d73c9c 9770 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9771 (image-toggle-display): Doc fix.
71d73c9c 9772
841a1577 97732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9774
4ffd0d6b
GM
9775 * textmodes/page.el (what-page): Use line-number-at-pos to
9776 calculate line number (Bug#6825).
6e1dbaa9 9777
c2fb1b60
JB
97782011-04-22 Juanma Barranquero <lekktu@gmail.com>
9779
9780 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9781 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9782 Pass argument NO-DEFAULT to `find-tag-interactive'.
9783
e02f48d7
JB
97842011-04-22 Juanma Barranquero <lekktu@gmail.com>
9785
9786 Lexical-binding cleanup.
9787
9788 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9789 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9790 * progmodes/ada-prj.el (ada-prj-initialize-values)
9791 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9792 (ada-prj-show-value):
9793 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9794 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9795 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9796 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9797 * progmodes/bug-reference.el (bug-reference-push-button):
9798 * progmodes/fortran.el (fortran-line-length):
9799 * progmodes/glasses.el (glasses-change):
9800 * progmodes/octave-mod.el (octave-fill-paragraph):
9801 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9802 (python-pdbtrack-grub-for-buffer, python-sentinel):
9803 * progmodes/sql.el (sql-save-connection):
9804 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9805 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9806 Mark unused parameters.
9807
9808 * progmodes/compile.el (compilation--flush-directory-cache)
9809 (compilation--flush-parse, compile-internal): Mark unused parameters.
9810 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9811 (compilation-next-error-function): Remove unused variable `timestamp'.
9812
9813 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9814 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9815
9816 * progmodes/dcl-mode.el (dcl-end-of-command):
9817 Remove unused variable `start'.
9818 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9819 (dcl-option-value-basic, dcl-option-value-offset)
9820 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9821 Mark unused parameters.
9822 (dcl-save-local-variable): Remove unused variable `val'.
9823 (mode): Declare.
9824
9825 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9826 Mark unused parameters.
9827 (delphi-ignore-changes): Move before first use.
9828 (delphi-charset-token-at): Remove unused variable `start'.
9829 (delphi-else-start): Remove unused variable `if-count'.
9830 (delphi-comment-block-start, delphi-comment-block-end):
9831 Remove unused variable `kind'.
9832 (delphi-indent-line): Remove unused variable `new-point'.
9833
9834 * progmodes/ebrowse.el (ebrowse-files-list)
9835 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9836 Mark unused parameters. Don't quote `lambda'.
9837 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9838 Don't quote `lambda'.
9839 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9840 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9841 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9842 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9843 Use `ignore-errors'.
9844 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9845 (ebrowse-view/find-file-and-search-pattern)
9846 (ebrowse-view/find-member-declaration/definition):
9847 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9848 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9849 Rename parameter PREFIX-ARG to PREFIX.
9850 (ebrowse-tags-read-name): Remove unused variables `start' and
9851 `member-info'.
9852 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9853 to `tags-file'.
9854
9855 * progmodes/etags.el (local-find-tag-hook): Declare.
9856 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9857 Mark unused parameters.
9858
9859 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9860 (executable-interpret): Mark unused parameter.
9861
9862 * progmodes/flymake.el (flymake-process-sentinel)
9863 (flymake-after-change-function)
9864 (flymake-create-temp-with-folder-structure)
9865 (flymake-get-include-dirs-dot): Mark unused parameters.
9866 (flymake-safe-delete-directory): Remove unused variable `err'.
9867
9868 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9869 (speedbar-timer-fn, speedbar-line-text)
9870 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9871 (speedbar-center-buffer-smartly): Declare functions.
9872 (gdb-find-watch-expression): Remove unused variable `array'.
9873 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9874 (gdb-starting): Mark unused parameters.
9875 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9876 (gdb-table-string): Remove unused variable `res'.
9877 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9878 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9879 (gdb-display-buffer): Remove unused variable `cur-size'.
9880
9881 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9882 allow lexical-binding compilation.
9883 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9884 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9885 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9886 Mark unused parameters.
9887 (gud-gdb-marker-filter): Remove unused variable `match'.
9888 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9889 lambda expressions and funcall them, instead of using `fset'.
9890
9891 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9892 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9893
9894 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9895 variable `header-beg'; use `let'.
9896
9897 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9898 `restart', `last-sexp' and `at-do'.
9899
9900 * progmodes/js.el (js--debug): Mark unused parameter.
9901 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9902 (js--splice-into-items): Remove unused variable `item'.
9903 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9904
9905 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9906 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9907 (makefile-complete): Remove unused variable `try'.
9908 (makefile-fill-paragraph, makefile-match-function-end):
9909 Mark unused parameters.
9910
9911 * progmodes/octave-inf.el (inferior-octave-complete):
9912 Remove unused variable `proc'.
9913 (inferior-octave-output-digest): Mark unused parameter.
9914
9915 * progmodes/perl-mode.el (perl-calculate-indent):
9916 Remove unused variable `err'.
9917
9918 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9919 (prolog-indent-line): Mark unused parameters.
9920 (prolog-indent-line): Remove unused variable `beg'.
9921
9922 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9923 (reporter-dont-compact-list): Declare.
9924
9925 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9926 Remove unused variable `char'.
9927 (sh-debug): Mark unused parameter.
9928 (sh-get-indent-info): Remove unused variable `start'.
9929 (sh-calculate-indent): Remove unused variable `var'.
9930
9931 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9932 (simula-electric-keyword): Remove unused variable `null'.
9933 (simula-search-backward, simula-search-forward): Remove unused
9934 variables `begin' and `end'.
9935
9936 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9937 Remove unused variable `pos'.
9938 (vera-electric-tab, vera-comment-uncomment-region):
9939 Mark unused parameters.
9940 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9941
7ede3b65
CY
99422011-04-22 Chong Yidong <cyd@stupidchicken.com>
9943
9944 * emacs-lisp/package.el (package--builtins, package-alist)
9945 (package-load-descriptor, package-built-in-p, package-activate)
9946 (define-package, package-installed-p)
9947 (package-compute-transaction, package-buffer-info)
9948 (package--push): Doc fix. Distinguish more clearly between
9949 version strings and version lists.
9950
121656e9
JB
99512011-04-21 Juanma Barranquero <lekktu@gmail.com>
9952
9953 Lexical-binding cleanup.
9954
9955 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9956 (5x5-make-mutate-best):
9957 * play/fortune.el (fortune-in-buffer):
9958 * play/gomoku.el (gomoku-init-display):
9959 * play/solitaire.el (solitaire, solitaire-do-check):
9960 * play/tetris.el (tetris-default-update-speed-function):
9961 Mark unused parameters.
9962
9963 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9964 (bubbles--shift): Remove unused variable `char-org'.
9965 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9966 (bubbles--show-images): Remove unused variable `char'.
9967
9968 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9969 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9970 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9971 (decipher-analyze-buffer): Use ?\s.
9972 (decipher-make-checkpoint): Remove unused variable `mapping'.
9973
9974 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9975
9976 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9977 Remove unused variable `result'; use `let'.
9978
9979 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9980 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9981 (gametree-children-shown-p, gametree-compute-reduced-score):
9982 Use `ignore-errors'.
9983
9984 * play/handwrite.el (ps-lpr-switches): Declare.
9985 (handwrite): Remove unused variables `pmin' and `lastp'.
9986
9987 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9988
9989 * play/landmark.el (landmark-init-display)
9990 (landmark-update-naught-weights): Mark unused parameters.
9991 (landmark-y): Remove unused variable `noise'. Simplify.
9992 (landmark-human-plays): Remove unused variable `score'.
9993
9994 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9995 (mpuz-try-proposal): Remove unused variable `game'.
9996
9997 * play/zone.el (life-patterns): Declare.
9998
80f499c7
JB
99992011-04-20 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * vc/vc.el (ediff-vc-internal): Declare function.
10002
024ff170
SM
100032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10004
c0a193ea
SM
10005 * shell.el: Use lexical-binding and std completion UI.
10006 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10007 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10008 comint-preoutput-filter-functions rather than on
10009 comint-output-filter-functions.
10010 (shell-command-completion, shell--command-completion-data)
10011 (shell-filename-completion, shell-environment-variable-completion)
10012 (shell-c-a-p-replace-by-expanded-directory): New functions.
10013 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10014 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10015 (shell-dynamic-complete-environment-variable): Use them.
10016 (shell-dynamic-complete-as-environment-variable)
10017 (shell-dynamic-complete-as-command): Remove.
10018 (shell-match-partial-variable): Match past point.
10019 * comint.el: Clean up use of completion-at-point-functions.
10020 (comint-completion-at-point): New function.
10021 (comint-mode): Use it completion-at-point-functions.
10022 (comint-dynamic-complete): Make it obsolete.
10023 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10024 (comint-c-a-p-replace-by-expanded-history): New function.
10025 (comint-dynamic-complete-functions)
10026 (comint-replace-by-expanded-history): Use it.
10027 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10028 termination strings. Try harder to avoid second try-completion.
10029 (completion-in-region-mode-map): Disable bindings that don't work yet.
10030
2dbaa080
SM
10031 * comint.el: Use lexical-binding. Require CL.
10032 (comint-dynamic-complete-functions): Use comint-filename-completion.
10033 (comint-completion-addsuffix): Tweak custom type.
10034 (comint-filename-completion, comint--common-suffix)
10035 (comint--common-quoted-suffix, comint--table-subvert)
10036 (comint--complete-file-name-data): New functions.
10037 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10038 (comint-dynamic-list-filename-completions): Use them.
10039 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10040
2dbaa080
SM
10041 * minibuffer.el (completion-in-region-mode):
10042 Keep completion-in-region-mode--predicate global.
10043 (completion-in-region--postch):
10044 Assume completion-in-region-mode--predicate is not null.
10045
c79a6f38
SM
10046 * progmodes/flymake.el (flymake-start-syntax-check-process):
10047 Obey `dir'. Simplify.
10048
024ff170
SM
10049 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10050 we're in VC after all.
10051
1c6c854e
CS
100522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10053
10054 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10055 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10056 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10057
bed7f140
SM
100582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10059
332e62ab
SM
10060 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10061 add sanity check.
10062
bed7f140
SM
10063 * obsolete/erc-hecomplete.el: Make obsolete.
10064 * obsolete/: Standardize obsolescence info in the header.
10065
f195c582
GM
100662011-04-20 Glenn Morris <rgm@gnu.org>
10067
10068 * calendar/solar.el (solar-horizontal-coordinates):
10069 Use the longitude argument rather than `calendar-longitude'.
10070 (solar-date-next-longitude): Remove unused locals.
10071
cb79b8c0
VJL
100722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10073
10074 * whitespace.el: New version 13.2.1.
10075
100762011-04-20 felix <EmacsWiki> (tiny change)
10077
d8e4b68b 10078 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10079 switching between major modes on a file.
10080
602ea69d
SM
100812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10084 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10085 multi-line comments as well.
10086
06b60517
JB
100872011-04-19 Juanma Barranquero <lekktu@gmail.com>
10088
10089 Lexical-binding cleanup.
10090
10091 * arc-mode.el (archive-mode-revert):
10092 * cmuscheme.el (scheme-interactively-start-process):
10093 * custom.el (custom-initialize-delay):
10094 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10095 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10096 * emacs-lock.el (emacs-lock-clear-sentinel):
10097 * ezimage.el (defezimage):
10098 * follow.el (follow-avoid-tail-recenter):
10099 * fringe.el (set-fringe-mode-1):
10100 * generic-x.el (bat-generic-mode-compile):
10101 * help-mode.el (help-info-variable, help-do-xref)
10102 (help-mode-revert-buffer):
10103 * help.el (view-emacs-todo):
10104 * iswitchb.el (iswitchb-completion-help):
10105 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10106 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10107 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10108 * locate.el (locate-update):
10109 * longlines.el (longlines-encode-region)
10110 (longlines-after-change-function):
10111 * outline.el (outline-isearch-open-invisible):
10112 * ps-def.el (declare-function, charset-dimension, char-width)
10113 (encode-char):
10114 * ps-mule.el (ps-mule-plot-string):
10115 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10116 (recentf-edit-list-select, recentf-edit-list-validate)
10117 (recentf-open-files-action):
10118 * rect.el (delete-whitespace-rectangle-line)
10119 (rectangle-number-line-callback):
10120 * register.el (window-configuration-to-register)
10121 (frame-configuration-to-register):
10122 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10123 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10124 (xselect-convert-to-targets, xselect-convert-to-delete)
10125 (xselect-convert-to-filename, xselect-convert-to-charpos)
10126 (xselect-convert-to-lineno, xselect-convert-to-colno)
10127 (xselect-convert-to-os, xselect-convert-to-host)
10128 (xselect-convert-to-user, xselect-convert-to-class)
10129 (xselect-convert-to-name, xselect-convert-to-integer)
10130 (xselect-convert-to-atom, xselect-convert-to-identity):
10131 * subr.el (declare, ignore, process-kill-without-query)
10132 (text-clone-maintain):
10133 * terminal.el (te-get-char, te-tic-sentinel):
10134 * tool-bar.el (tool-bar-make-keymap):
10135 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10136 * type-break.el (type-break-mode, type-break-noninteractive-query):
10137 * view.el (View-back-to-mark):
10138 * wid-browse.el (widget-browse-action, widget-browse-widget)
10139 (widget-browse-widgets, widget-browse-sexp):
10140 * widget.el (define-widget-keywords):
10141 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10142 Mark unused parameters.
10143
10144 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10145 (align-areas): Remove unused variable `look'.
10146 (align-region): Remove unused variables `real-end' and `pos-list'.
10147
10148 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10149
10150 * bindings.el (mode-line-modified, mode-line-remote):
10151 Mark unused parameters.
10152 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10153
10154 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10155 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10156
10157 * comint.el (comint-history-isearch-pop-state)
10158 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10159 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10160 (comint-substitute-in-file-name): Doc fix.
10161
10162 * completion.el (cmpl-statistics-block): Mark unused parameter.
10163 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10164 (save-completions-to-file, load-completions-from-file):
10165 Remove unused local variable `e'.
10166
10167 * composite.el (compose-chars): Remove unused variable `len'.
10168 (lgstring-insert-glyph): Remove unused variable `g'.
10169 (compose-glyph-string): Remove unused variables `ascent',
10170 `descent', `lbearing' and `rbearing'.
10171 (compose-glyph-string-relative): Remove unused variables
10172 `lbearing', `rbearing' and `wadjust'.
10173 (compose-gstring-for-graphic): Remove unused variables `header',
10174 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10175 (compose-gstring-for-terminal): Remove unused variables `header'
10176 and `nchars'. Use `let', not `let*'.
10177
10178 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10179 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10180 (Custom-buffer-done, custom-buffer-create-internal)
10181 (custom-browse-visibility-action, custom-browse-group-tag-action)
10182 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10183 (widget-magic-mouse-down-action, custom-toggle-parent)
10184 (custom-add-parent-links, custom-toggle-hide-variable)
10185 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10186 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10187 (custom-face-menu-create, custom-variable-menu-create, get)
10188 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10189 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10190 (customize-apropos): Remove unused variable `tests'.
10191 (custom-group-value-create): Remove unused variable `hidden-p'.
10192 (sort-fold-case): Declare.
10193
10194 * cus-theme.el (custom-reset-standard-faces-list)
10195 (custom-reset-standard-variables-list): Declare.
10196 (customize-create-theme, custom-theme-revert, custom-theme-write)
10197 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10198 Mark unused parameters.
10199
10200 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10201
10202 * delim-col.el (delimit-columns-max): Move defvar before first use.
10203
10204 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10205 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10206
10207 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10208 (auto-insert): Declare.
10209 (desktop-restore-file-buffer): Rename desktop-* parameters;
10210 mark unused ones.
10211 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10212 (desktop-buffer): Rename desktop-* parameters.
10213
10214 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10215 (dframe-reposition-frame-xemacs, dframe-help-echo)
10216 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10217 Mark unused parameters.
10218
10219 * dired-aux.el (backup-extract-version-start, overwrite-query)
10220 (overwrite-backup-query, rename-regexp-query)
10221 (rename-non-directory-query): Declare.
10222 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10223 (dired-add-entry): Remove unused variable `orig-file-name'.
10224 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10225 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10226 `dired-copy-preserve-time' directly.
10227 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10228 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10229
10230 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10231 (dired-virtual-revert, dired-make-relative-symlink):
10232 Mark unused parameters.
10233 (manual-program): Declare.
10234 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10235 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10236 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10237
10238 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10239
10240 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10241
10242 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10243 Declare.
10244
10245 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10246
10247 * electric.el (Electric-command-loop): Rename parameter
10248 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10249
10250 * expand.el (expand-in-literal): Remove unused variable `here'.
10251
10252 * facemenu.el (facemenu-add-new-color):
10253 Remove unused variable `docstring'.
10254
10255 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10256 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10257 (face-attr-construct): Mark unused parameter. Doc fix.
10258 (read-color): Remove unused variable `hex-string'.
10259
10260 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10261 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10262 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10263 (display-buffer-other-frame): Remove unused variable `old-window'.
10264 (kill-buffer-hook): Declare.
10265 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10266 Mark unused parameters.
10267 (after-find-file): Pass 1 to `auto-save-mode', not t.
10268
10269 * files-x.el (auto-insert): Declare.
10270 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10271
10272 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10273 variable `buf'. Mark unused parameter.
06b60517
JB
10274 (find-lisp-insert-directory): Mark unused parameter.
10275
10276 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10277 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10278 (format-common-tail): Remove, unused.
10279 (format-deannotate-region): Remove unused variable `loc'.
10280 (format-annotate-region): Remove unused variable `p'.
10281 (format-annotate-single-property-change): Remove unused variables
10282 `default' and `tail'.
10283
10284 * forms.el (read-file-filter): Declare.
10285 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10286
10287 * frame.el (frame-creation-function-alist): Mark unused parameter.
10288 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10289
10290 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10291 Remove unused parameters.
10292 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10293 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10294
10295 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10296 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10297 (hfy-prepare-tag-map): Mark unused parameters.
10298 (htmlfontify-buffer): Use `called-interactively-p'.
10299
10300 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10301 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10302 (ibuffer-do-occur): Mark unused parameters.
10303 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10304 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10305
10306 * ibuffer.el: Don't quote `lambda'.
10307 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10308 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10309 Mark unused parameters.
10310
10311 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10312 (ido-completing-read): Mark unused parameters.
10313 (ido-copy-current-word): Mark unused parameters;
10314 remove unused variable `name'.
10315 (ido-sort-merged-list): Remove unused parameter `dirs'.
10316
10317 * ielm.el (ielm-input-sender): Mark unused parameter.
10318 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10319 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10320 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10321 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10322 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10323
10324 * image-dired.el (image-dired-display-thumbs): Remove unused
10325 variables `curr-file' and `count'.
10326 (image-dired-remove-tag): Remove unused variable `start'.
10327 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10328 variable `curr-file'
10329 (image-dired-rotate-original): Remove unused variable `temp-file'.
10330 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10331 Remove unused variable `file'.
10332 (image-dired-gallery-generate): Remove unused variable `curr'.
10333 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10334
10335 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10336
10337 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10338
10339 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10340
10341 * isearch.el (minibuffer-history-symbol): Declare.
10342 (isearch-edit-string): Remove unused variable `err'.
10343 (isearch-message-prefix, isearch-message-suffix):
10344 Mark unused parameters.
10345
10346 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10347
10348 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10349
10350 * makesum.el (double-column): Remove unused variable `cnt'.
10351
10352 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10353 (ido-ignore-item-temp-list): Declare.
10354
10355 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10356 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10357 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10358 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10359 `mouse-col-delta'.
10360
10361 * mouse-sel.el (mouse-extend-internal):
10362 Remove unused variable `orig-window-frame'.
10363
10364 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10365 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10366 Move declarations before first use.
10367 (pcomplete-opt): Mark unused parameters; doc fix.
10368
10369 * proced.el (proced-revert): Mark unused parameter.
10370 (proced-send-signal): Remove unused variable `err'.
10371
10372 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10373 Rename parameter PREFIX-ARG to ARG.
10374 (ps-basic-plot-string, ps-basic-plot-whitespace):
10375 Mark unused parameters.
10376
10377 * replace.el (replace-count): Define.
10378 (occur-revert-function): Mark unused parameters.
10379 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10380 (isearch-case-fold-search, isearch-string): Declare.
10381 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10382 bind `case-fold-search'. Remove unused variables `beg' and `end',
10383 and simplify.
10384 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10385 COUNT and bind `replace-count'.
10386 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10387 to COUNT.
10388
10389 * savehist.el (print-readably, print-string-length): Declare.
10390
10391 * shadowfile.el (shadow-expand-cluster-in-file-name):
10392 Remove unused variable `cluster'.
10393 (shadow-copy-file): Remove unused variable `i'.
10394 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10395 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10396 (shadow-define-literal-group, shadow-define-regexp-group)
10397 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10398
10399 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10400 (shell): Use `called-interactively-p'.
10401 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10402
10403 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10404 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10405 (delete-backward-char): Remove unused variable `ocol'.
10406 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10407 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10408 (event-apply-hyper-modifier, event-apply-shift-modifier)
10409 (event-apply-control-modifier, event-apply-meta-modifier):
10410 Mark unused parameters.
10411 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10412 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10413
10414 * speedbar.el (speedbar-ignored-directory-expressions)
10415 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10416 (speedbar-find-file, speedbar-dir-follow)
10417 (speedbar-directory-buttons-follow, speedbar-tag-find)
10418 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10419 (speedbar-buffers-line-directory, speedbar-buffer-click):
10420 Mark unused parameters.
10421 (speedbar-tag-file): Remove unused variable `mode'.
10422 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10423
10424 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10425
10426 * talk.el (talk): Remove unused variable `display'.
10427
10428 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10429 (tar-write-region-annotate): Mark unused parameter.
10430
10431 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10432 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10433 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10434 warning by another.
10435
10436 * time-stamp.el (time-stamp-string-preprocess):
10437 Remove unused variable `require-padding'.
10438
10439 * tree-widget.el (widget-glyph-enable): Declare.
10440 (tree-widget-action): Mark unused parameter.
10441
10442 * w32-fns.el (x-get-selection): Mark unused parameter.
10443 (autoload-make-program, generated-autoload-file): Declare.
10444
10445 * wdired.el (wdired-revert): Mark unused parameters.
10446 (wdired-xcase-word): Remove unused variable `err'.
10447
10448 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10449 (whitespace-help-scroll): Remove unused variable `data-help'.
10450
10451 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10452 (widget-image-insert, widget-after-change, default)
10453 (widget-default-format-handler, widget-default-notify)
10454 (widget-default-prompt-value, widget-info-link-action)
10455 (widget-url-link-action, widget-function-link-action)
10456 (widget-variable-link-action, widget-file-link-action)
10457 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10458 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10459 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10460 (widget-insert-button-action, widget-delete-button-action, visibility)
10461 (widget-documentation-link-action, widget-documentation-string-action)
10462 (widget-const-prompt-value, widget-regexp-match, symbol)
10463 (widget-coding-system-prompt-value)
10464 (widget-key-sequence-value-to-external, sexp)
10465 (widget-sexp-value-to-internal, character, vector, cons)
10466 (widget-choice-prompt-value, widget-boolean-prompt-value)
10467 (widget-color--choose-action): Mark unused parameters.
10468 (widget-item-match-inline, widget-choice-match-inline)
10469 (widget-checklist-match, widget-checklist-match-inline)
10470 (widget-group-match): Rename parameter VALUES to VALS.
10471 (widget-field-value-set): Remove unused variable `size'.
10472 (widget-color-action): Remove unused variables `value' and `start'.
10473
10474 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10475 variable `dir'. Doc fix.
06b60517
JB
10476 (windmove-find-other-window): Don't pass it.
10477
10478 * window.el (count-windows): Mark unused parameter.
10479 (bw-adjust-window): Remove unused variable `err'.
10480
10481 * woman.el (woman-file-name): Remove unused variable `default'.
10482 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10483 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10484 (global-font-lock-mode): Declare.
10485 (woman-decode-region): Mark unused parameter.
10486 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10487
10488 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10489 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10490 (x-dnd-handle-moz-url): Remove unused variable `title'.
10491 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10492
10493 * xml.el (xml-parse-tag, xml-parse-attlist):
10494 Remove unused variable `pos'.
10495
bc4f7f3d
GM
104962011-04-19 Glenn Morris <rgm@gnu.org>
10497
10498 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10499 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10500 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10501 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10502 * calendar/cal-html.el (cal-html-insert-minical):
10503 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10504 (calendar-mark-date-pattern):
10505 Prefix "unused" locals.
10506
10507 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10508 optional argument `style'.
10509
10510 * calendar/appt.el (appt-make-list):
10511 * calendar/cal-china.el (calendar-chinese-date-string):
10512 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10513 (diary-hebrew-yahrzeit):
10514 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10515 * calendar/calendar.el (calendar-generate-window):
10516 * calendar/time-date.el (time-to-days):
10517 Remove unused local variables.
10518
16a43933
CY
105192011-04-18 Chong Yidong <cyd@stupidchicken.com>
10520
10521 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10522 glyphless-char-display table.
10523 (tabulated-list-glyphless-char-display): New var.
10524
7eed1860
SS
105252011-04-18 Sam Steingold <sds@gnu.org>
10526
10527 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10528 to acknowledgments.
10529
4d2d1ccd
GM
105302011-04-17 Glenn Morris <rgm@gnu.org>
10531
10532 * calendar/diary-lib.el (diary-sexp-entry):
10533 * calendar/holidays.el (holiday-sexp):
10534 Set debug-on-error rather than the removed stack-trace-on-error.
10535
239da61d
GM
105362011-04-16 Glenn Morris <rgm@gnu.org>
10537
10538 * progmodes/f90.el: Use lexical-binding.
10539 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10540
8b05752a
SM
105412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10542
daca8ba5
SM
10543 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10544 (mail-mode): Setup mailalias completion here instead.
10545 * mail/mailalias.el: Use lexical-binding.
10546 (pattern, mailalias-done): Declare dynamic.
10547 (mail-completion-at-point-function): New function, from mail-complete.
10548 (mail-complete): Use it.
10549 (mail-completion-expand): New function.
10550 (mail-get-names): Use it.
10551 (mail-directory, mail-directory-process, mail-directory-stream):
10552 Don't use `pattern' for lexically bound arg.
10553
6f542485
SM
10554 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10555
037e7c3f
SM
10556 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10557 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10558 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10559
8b05752a
SM
10560 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10561 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10562 (byte-interactive-p): Define them again, for use when inlining
10563 old code.
10564
49093f60
JB
105652011-04-15 Juanma Barranquero <lekktu@gmail.com>
10566
10567 * loadup.el: Use `string-to-number', not `string-to-int'.
10568
b5b8e7de
SM
105692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10572 gud-gdb-complete-command.
10573 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10574 (gud-gdb-completion-at-point): New function.
10575 (gud-gdb-completions): Remove.
10576
f42efeb5
MA
105772011-04-14 Michael Albinus <michael.albinus@gmx.de>
10578
49093f60
JB
10579 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10580 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10581 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10582 whether `executable-find' is bound.
f42efeb5
MA
10583
10584 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10585
e240cc21
SM
105862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * minibuffer.el (completion-in-region-mode-predicate)
10589 (completion-in-region-mode--predicate): New vars.
10590 (completion-in-region, completion-in-region--postch)
10591 (completion-in-region-mode): Use them.
10592 (completion--capf-wrapper): Also return the hook function.
10593 (completion-at-point, completion-help-at-point):
10594 Adjust and provide a predicate.
c2bd2ab0
SM
10595
10596 Preserve arg names for advice of subr and lexical functions (bug#8457).
10597 * help-fns.el (help-function-arglist): Consolidate the subr and
10598 new-byte-code cases. Add argument `preserve-names' to extract names
10599 from the docstring when needed.
10600 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10601 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10602 (ad-arglist): Use help-function-arglist's new arg.
10603 (ad-definition-type): Use cond.
10604
c183f693
JB
106052011-04-13 Juanma Barranquero <lekktu@gmail.com>
10606
06641a47
JB
10607 * autorevert.el (auto-revert-handler):
10608 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10609 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10610 Don't quote lambda.
10611
c183f693
JB
10612 * image-mode.el (image-transform-set-scale):
10613 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10614
1e3b6001
G
106152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10616
10617 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10618 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10619 Upgrades via gnutls-cli are too slow to be done opportunistically.
10620
2d6af8dd
JB
106212011-04-12 Juanma Barranquero <lekktu@gmail.com>
10622
10623 * dframe.el (dframe-current-frame): Remove spurious quote.
10624
c0749a51
GM
106252011-04-12 Glenn Morris <rgm@gnu.org>
10626
088d0d61
GM
10627 * calendar/cal-tex.el (cal-tex-end-document):
10628 Try to automatically use latin1 input if needed.
10629
c0749a51
GM
10630 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10631 Don't try to cons a mark onto an empty element.
10632
5c90fde0
LL
106332011-04-11 Leo Liu <sdl.web@gmail.com>
10634
10635 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10636 buffers.
10637 (ido-kill-buffer-at-head): Support killing virtual buffers.
10638
369e974d
CY
106392011-04-10 Chong Yidong <cyd@stupidchicken.com>
10640
10641 * minibuffer.el (completion-show-inline-help): New var.
10642 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10643 (minibuffer-force-complete, minibuffer-complete-word):
10644 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10645
10646 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10647 to avoid interference from inline help (Bug#5849).
10648
37f1c930
LL
106492011-04-10 Leo Liu <sdl.web@gmail.com>
10650
099c39a4
JB
10651 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10652 Fix typo.
37f1c930 10653
a32d4040
CY
106542011-04-09 Chong Yidong <cyd@stupidchicken.com>
10655
10656 * image-mode.el (image-toggle-display-image): Signal an error if
10657 not in Image mode.
10658 (image-transform-mode, image-transform-resize)
10659 (image-transform-set-rotation): Doc fix.
daca8ba5 10660 (image-transform-set-resize): Delete.
a32d4040
CY
10661 (image-transform-set-scale, image-transform-fit-to-height)
10662 (image-transform-fit-to-width): Handle image-toggle-display-image
10663 and image-transform-resize directly.
10664
099c39a4 106652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10666
10667 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10668 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10669 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10670 (doc-view-mode-map): Add bindings for the new functions.
10671
099c39a4 106722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10673
4d61f28d 10674 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10675 Fix typo in docstring.
10676
3726838a
EZ
106772011-04-08 Eli Zaretskii <eliz@gnu.org>
10678
04f33f1e
EZ
10679 * files.el (file-size-human-readable): Produce one digit after
10680 decimal, like "ls -lh" does.
10681
10682 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10683 the file size representation.
10684
3726838a
EZ
10685 * simple.el (list-processes): If async subprocesses are not
10686 available, error out with a clear error message.
10687
cbb59342
CY
106882011-04-08 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * help.el (help-form-show): New function, to be called from C.
10691 Put help-form output in a buffer named differently than *Help*.
10692
e3971c44
EZ
106932011-04-08 Eli Zaretskii <eliz@gnu.org>
10694
10695 * files.el (file-size-human-readable): New function.
10696
10697 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10698 computing the representation inline. Don't require `cl'.
10699
12544bbe
GM
107002011-04-08 Glenn Morris <rgm@gnu.org>
10701
a1de6c6a
GM
10702 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10703
3c4671f4
GM
10704 * net/browse-url.el (browse-url-firefox):
10705 Test system-type, not system-configuration.
10706
b605679c
GM
10707 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10708 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10709 Use log-edit-empty-buffer-p. (Bug#7598)
10710
56442f0c
GM
10711 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10712 (rlogin-mode-map): Initialize in the defvar.
10713 (rlogin): Use ignore-errors.
10714
12544bbe
GM
10715 * replace.el (occur-mode-map): Some fixes for menu items.
10716
eb237b0f
AH
107172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10718
10719 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10720
7d668f2c
CY
107212011-04-06 Chong Yidong <cyd@stupidchicken.com>
10722
e67a13ab
CY
10723 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10724 issuing unused warnings.
10725
10726 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10727 macro directly.
10728
7d668f2c
CY
10729 * simple.el: Lisp reimplement of list-processes. Based on an
10730 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10731 (process-menu-mode): New major mode.
10732 (list-processes--refresh, list-processes):
10733 (process-menu-visit-buffer): New functions.
10734
10735 * files.el (save-buffers-kill-emacs): Don't assume any return
10736 value of list-processes, which is undocumented anyway.
10737
a83ec3c9
CY
107382011-04-06 Chong Yidong <cyd@stupidchicken.com>
10739
10740 * emacs-lisp/tabulated-list.el: New file.
10741
e91a96fe
CY
10742 * emacs-lisp/package.el: Use Tabulated List mode.
10743 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10744 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10745 table format using Tabulated List mode variables.
10746 (package--push): New macro, replacing package-list-maybe-add.
10747 (package-menu--generate): Use package--push. Renamed from
10748 package--generate-package-list.
10749 (package-menu-refresh, list-packages): Use it.
daca8ba5 10750 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10751 Return insertion data instead of inserting it directly.
099c39a4
JB
10752 (package-menu-describe-package, package-menu-execute):
10753 Use tabulated-list-get-id.
e91a96fe
CY
10754 (package-menu-mark-delete, package-menu-mark-install)
10755 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10756 (package-menu-mark-obsolete-for-deletion):
10757 Use tabulated-list-put-tag.
e91a96fe
CY
10758 (package--list-packages, package-menu-revert)
10759 (package-menu-get-package, package-menu-get-version)
10760 (package-menu-sort-by-column): Functions deleted.
10761 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10762 (package-menu--status-predicate, package-menu--version-predicate)
10763 (package-menu--name-predicate)
10764 (package-menu--description-predicate): Handle arguments in the
10765 Tabulated List format.
10766 (package-list-packages-no-fetch): Call list-packages.
10767
3e214b50
JB
107682011-04-06 Juanma Barranquero <lekktu@gmail.com>
10769
10770 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10771 (after-find-file): Don't bind it.
3e214b50
JB
10772 (revert-buffer-in-progress-p): New variable.
10773 (revert-buffer): Bind it.
10774 Pass nil for `after-find-file-from-revert-buffer'.
10775
10776 * saveplace.el (save-place-find-file-hook): Use new variable
10777 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10778
3f0f1700
GM
107792011-04-06 Glenn Morris <rgm@gnu.org>
10780
c0274801
GM
10781 * Makefile.in (AUTOGEN_VCS): New variable.
10782 (autoloads): Use $AUTOGEN_VCS.
10783
3f0f1700
GM
10784 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10785 * calendar/calendar.el (calendar-mode-map):
10786 Check for toolkit scroll bars. (Bug#8305)
10787
41ea9e48
CY
107882011-04-05 Chong Yidong <cyd@stupidchicken.com>
10789
10790 * minibuffer.el (completion-in-region--postch)
10791 (completion-in-region-mode): Remove unnecessary messages.
10792
6194c800
JB
107932011-04-05 Juanma Barranquero <lekktu@gmail.com>
10794
33256f14
JB
10795 * font-lock.el (font-lock-refresh-defaults):
10796 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10797 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10798
6194c800
JB
10799 * info.el (Info-directory-list, Info-read-node-name-2)
10800 (Info-split-parameter-string): Doc fixes.
10801 (Info-virtual-nodes): Reflow docstring.
10802 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10803 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10804 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10805 Fix typos in docstrings.
10806 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10807 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10808 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10809 (Info-restore-desktop-buffer): Mark unused parameters.
10810 (Info-directory-find-file, Info-directory-find-node)
10811 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10812 (Info-virtual-index-find-node, Info-apropos-find-file)
10813 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10814 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10815 (Info-virtual-index): Remove unused local variable `nodename'.
10816
b87a8200 108172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10818
b87a8200
DD
10819 * net/rcirc.el: Update my e-mail address.
10820 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10821
3b2ff876
CY
108222011-04-05 Chong Yidong <cyd@stupidchicken.com>
10823
10824 * startup.el (command-line): Save the cursor's theme-face
10825 directly, instead of using face-override-spec.
10826
10827 * custom.el (load-theme): Minor optimization in assigning faces.
10828
8d17e7ca
JB
108292011-04-04 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * help-fns.el (describe-variable): Complete all variables having
10832 documentation, including keywords.
10833 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10834
2fbc1934
JB
108352011-04-04 Juanma Barranquero <lekktu@gmail.com>
10836
10837 Convert to lexical-binding.
10838
10839 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10840 (bs--get-marked-string, bs--get-modified-string)
10841 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10842 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10843 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10844
10845 * ehelp.el (electric-help-execute-extended)
10846 (electric-help-ctrl-x-prefix):
10847 * hexl.el (hexl-revert-buffer-function):
10848 * linum.el (linum-after-change, linum-after-scroll):
10849 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10850
10851 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10852
74f50695
DU
108532011-04-04 Daiki Ueno <ueno@unixuser.org>
10854
10855 * epa-dired.el:
10856 * epa-mail.el:
10857 * epa-hook.el:
10858 * epa-file.el:
10859 * epa.el:
10860 * epg.el: Use lexical binding.
10861
c11325f7
CY
108622011-04-03 Chong Yidong <cyd@stupidchicken.com>
10863
0d9e9a12
CY
10864 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10865
c11325f7 10866 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10867 dictionary case for flyspell-mark-duplications-exceptions.
10868 Use regexp matching for languages.
c11325f7
CY
10869 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10870 default dictionary (Bug#7926).
10871
da91b5f2
CY
108722011-04-02 Chong Yidong <cyd@stupidchicken.com>
10873
099c39a4
JB
10874 * emacs-lisp/package.el (package--with-work-buffer):
10875 Recognize https URLs.
da91b5f2 10876
099c39a4
JB
10877 * net/network-stream.el: Move from gnus/proto-stream.el.
10878 Change prefix to network-stream throughout.
da91b5f2
CY
10879 (open-protocol-stream): Merge into open-network-stream, leaving
10880 open-protocol-stream as an alias. Handle nil BUFFER args.
10881
10882 * subr.el (open-network-stream): Move to net/network-stream.el.
10883
afa8e9f6
GM
108842011-04-02 Glenn Morris <rgm@gnu.org>
10885
1d2e369d
GM
10886 * find-dired.el (find-exec-terminator): New option.
10887 (find-ls-option): Test for -ls support.
10888 (find-ls-subdir-switches): Test for -b in find-ls-option.
10889 (find-dired, find-grep-dired): Doc fixes.
10890 (find-dired): Use find-exec-terminator.
10891
8abb7da8 10892 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10893 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10894 (find-name-arg): Remove purecopy.
8abb7da8 10895
f3ca7378
GM
10896 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10897 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10898 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10899 accordingly. Don't add the null-device if not needed.
10900
afa8e9f6
GM
10901 * files.el (save-some-buffers): Doc fix.
10902
35eae264
EZ
109032011-04-02 Eli Zaretskii <eliz@gnu.org>
10904
10905 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10906
26b51db5
JB
109072011-04-01 Juanma Barranquero <lekktu@gmail.com>
10908
10909 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10910 Use `dolist' rather than `mapcar'.
10911
7200d79c
SM
109122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10913
03408648 10914 Add lexical binding.
7200d79c 10915
03408648
SM
10916 * subr.el (apply-partially): Use new closures rather than CL.
10917 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10918 (dolist, dotimes): Use slightly different expansion for lexical code.
10919 (functionp): Move to C.
10920 (letrec): New macro.
10921 (with-wrapper-hook): Use it and apply-partially instead of CL.
10922 (eval-after-load): Preserve lexical-binding.
10923 (save-window-excursion, with-output-to-temp-buffer): Turn them
10924 into macros.
7200d79c 10925
03408648
SM
10926 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10927
10928 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10929 than the arglist.
10930 (help-add-fundoc-usage): Don't add `Not documented'.
10931 (help-function-arglist): Handle closures, subroutines, and new
10932 byte-code-functions.
10933 (help-make-usage): Remove leading underscores.
10934 (describe-function-1): Handle closures.
10935 (describe-variable): Use special-variable-p for completion.
10936
10937 * files.el (lexical-binding): Declare safe.
f488fb65 10938
03408648
SM
10939 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10940 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10941 (pcase): Add `let' pattern.
10942 Change memoization so it actually works.
10943 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10944 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10945 <let>: New case.
f488fb65 10946
03408648
SM
10947 * emacs-lisp/macroexp.el: Use lexical binding.
10948 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10949 Don't convert ' to #' without checking that it's indeed quoting
10950 a lambda.
10951
10952 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10953 Use eval-sexp-add-defvars.
03408648
SM
10954 (eval-sexp-add-defvars): New fun.
10955
10956 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10957
10958 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10959 Don't autoload.
10960 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10961 than the internal `byte-compile-lambda'.
10962 (defmethod): Don't hide code under quotes.
10963 (eieio-defmethod): New `code' argument.
10964
10965 * emacs-lisp/eieio-comp.el: Remove.
10966
10967 * emacs-lisp/edebug.el (edebug-eval-defun)
10968 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10969 (edebug-toggle): Avoid `eval'.
10970
10971 * emacs-lisp/disass.el (disassemble-internal): Handle new
10972 `closure' objects.
10973 (disassemble-1): Handle new byte codes.
10974
10975 * emacs-lisp/cl.el (pushnew): Silence warning.
10976
10977 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10978 (cl-byte-compile-throw): Remove.
10979 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10980
10981 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10982 closures.
10983
10984 * emacs-lisp/cconv.el: New file.
10985
10986 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10987 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10988 (byte-compile-initial-macro-environment):
10989 Handle declare-function here.
10990 (byte-compile--lexical-environment): New var.
10991 (byte-stack-ref, byte-stack-set, byte-discardN)
10992 (byte-discardN-preserve-tos): New lap codes.
10993 (byte-interactive-p): Don't use any more.
10994 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10995 New macros.
10996 (byte-compile-lapcode): Use them and handle new lap codes.
10997 (byte-compile-obsolete): Remove.
10998 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10999 (byte-compile-arglist-warn): Check late def of inlinable funs.
11000 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11001 since they should have been expanded by now.
11002 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11003 (byte-compile-from-buffer): Remove unused second arg.
11004 (byte-compile-preprocess): New function.
11005 (byte-compile-toplevel-file-form): New function to distinguish
11006 file-form calls from outside from file-form calls from hunk-handlers.
11007 (byte-compile-file-form): Simplify.
11008 (byte-compile-file-form-defsubst): Remove.
11009 (byte-compile-file-form-defmumble): Simplify now that
11010 byte-compile-lambda always returns a byte-code-function.
11011 (byte-compile): Preprocess.
11012 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11013 Remove, not used any more.
11014 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11015 (byte-compile-make-args-desc): New funs.
11016 (byte-compile-lambda): Handle lexical functions. Always return
11017 a byte-code-function.
11018 (byte-compile-reserved-constants): New var, to make up room for
11019 closed-over variables.
11020 (byte-compile-constants-vector): Obey it.
11021 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11022 (byte-compile-macroexpand-declare-function): New function.
11023 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11024 byte-code-functions.
11025 (byte-compile-form): Check obsolescence here.
11026 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11027 (byte-compile-variable-ref): Remove.
11028 (byte-compile-dynamic-variable-op): New fun.
11029 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11030 (byte-compile-variable-set): New funs.
11031 (byte-compile-discard): Add 2 args.
11032 (byte-compile-stack-ref, byte-compile-stack-set)
11033 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11034 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11035 macroexpand-all instead.
11036 (byte-compile-quote-form): Remove.
11037 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11038 (byte-compile-bind, byte-compile-unbind): New funs.
11039 (byte-compile-let): Handle let* and lexical binding.
11040 (byte-compile-let*): Remove.
11041 (byte-compile-catch, byte-compile-unwind-protect)
11042 (byte-compile-track-mouse, byte-compile-condition-case):
11043 Handle a new :fun-body form, used for lexical scoping.
11044 (byte-compile-save-window-excursion)
11045 (byte-compile-with-output-to-temp-buffer): Remove.
11046 (byte-compile-defun): Simplify.
11047 (byte-compile-stack-adjustment): New fun.
11048 (byte-compile-out): Use it.
11049 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11050
11051 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11052 handler any more.
11053
11054 * emacs-lisp/byte-opt.el: Use lexical binding.
11055 (byte-inline-lapcode): Remove (to bytecomp).
11056 (byte-compile-inline-expand): Pay attention to inlining to/from
11057 lexically bound code.
11058 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11059 any more.
11060 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11061 any more and don't call compiler-macros.
11062 (byte-compile-splice-in-already-compiled-code): Remove.
11063 (byte-code): Don't inline any more.
11064 (disassemble-offset): Receive `bytes' as argument rather than via
11065 dynamic scoping.
11066 (byte-compile-tag-number): Declare before first use.
11067 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11068 `return' even if make-spliceable.
11069 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11070 obsolete interactive-p.
11071 (byte-optimize-lapcode): Optimize new lap-codes.
11072 Don't trip up on new form of `byte-constant' lap code.
11073
11074 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11075
11076 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11077
11078 * custom.el (custom-initialize-default, custom-declare-variable):
11079 Use `defvar'.
11080
11081 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11082 New variables.
11083 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11084 (COMPILE_FIRST): Add macroexp and cconv.
11085 * makefile.w32-in: Mirror changes in Makefile.in.
11086
11087 * vc/cvs-status.el:
11088 * vc/diff-mode.el:
11089 * vc/log-edit.el:
11090 * vc/log-view.el:
11091 * vc/smerge-mode.el:
11092 * textmodes/bibtex-style.el:
11093 * textmodes/css.el:
11094 * startup.el:
11095 * uniquify.el:
da91b5f2
CY
11096 * minibuffer.el:
11097 * newcomment.el:
11098 * reveal.el:
11099 * server.el:
11100 * mpc.el:
11101 * emacs-lisp/smie.el:
11102 * doc-view.el:
11103 * dired.el:
03408648
SM
11104 * abbrev.el: Use lexical binding.
11105
0f0c1f27
EZ
111062011-04-01 Eli Zaretskii <eliz@gnu.org>
11107
11108 * info.el (info-display-manual): New function.
11109
c82b2579
SM
111102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11113
221ddf68
TH
111142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11115
11116 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11117 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11118
cba6e77e
GM
111192011-03-31 Glenn Morris <rgm@gnu.org>
11120
e040639f
GM
11121 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11122
cba6e77e
GM
11123 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11124
6d0f1c9e
CS
111252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11126
11127 * progmodes/python.el (python-default-interpreter)
11128 (python-python-command-args, python-jython-command-args)
11129 (python-which-shell, python-which-args, python-which-bufname)
11130 (python-file-queue, python-comint-output-filter-function)
11131 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11132 variables and functions.
11133
3e2d70fd
SM
111342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11137 (completion-in-region-mode): New minor mode.
11138 (completion-in-region): Use it.
11139 (completion-in-region--data, completion-in-region-mode-map): New vars.
11140 (completion-in-region--postch): New function.
11141 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11142 New vars.
11143 (completion--capf-wrapper): New function.
11144 (completion-at-point): Use it to track well-behavedness of
11145 hook functions.
11146 (completion-help-at-point): New command.
11147
f3e4086c
JM
111482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11149
11150 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11151 syntax class to search for whitespace on a single line
11152 (Message-ID: <4D938140.4030905@redhat.com>).
11153
eb7ffc14
LL
111542011-03-30 Leo Liu <sdl.web@gmail.com>
11155
11156 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11157 New commands.
11158 (edit-abbrevs-map): Bind them here.
11159 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11160
d806ab68
KM
111612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11162
11163 * allout.el (allout-hide-by-annotation, allout-flag-region):
11164 Reduce possibility of overlay leakage by making them volatile.
11165
11166 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11167 hash is not shared between buffers. Mode initialization is
11168 responsible for giving it a useful starting value.
11169 (allout-item-span): Reduce possibility of overlay leakage by
11170 making them volatile.
11171 (allout-widgets-count-buttons-in-region): Add diagnostic function
11172 for tracking down button overlay leaks.
11173
ea622834
LL
111742011-03-29 Leo Liu <sdl.web@gmail.com>
11175
11176 * ido.el (ido-read-internal): Use the default history var
11177 minibuffer-history if no HISTORY is specified.
11178
b62f8267
G
111792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11180
03408648
SM
11181 * net/imap.el (imap-shell-open, imap-process-connection-type):
11182 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11183 Kerberos, SSL, other subprocesses.
11184
947b6566
LL
111852011-03-28 Leo Liu <sdl.web@gmail.com>
11186
11187 * abbrev.el (abbrev-table-empty-p): New function.
11188 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11189 nonempty ones. (Bug#5937)
11190
5ffb62aa
JD
111912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11192
11193 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11194
7a097943
LL
111952011-03-27 Leo Liu <sdl.web@gmail.com>
11196
11197 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11198 for foreground and background colors.
11199 (ansi-color-make-color-map): Adapt.
11200
c5b40130
LL
112012011-03-25 Leo Liu <sdl.web@gmail.com>
11202
1f48f7d2
LL
11203 * midnight.el (midnight-time-float): Remove. Note it calculates
11204 the microsecond component incorrectly and seconds-to-time does the
11205 same job.
625897ec 11206 Remove redundant (require 'timer).
1f48f7d2 11207
c5b40130
LL
11208 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11209 (ido-completions): Remove unused arguments. (Bug#8329)
11210
d86d2721
SM
112112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11212
11213 * minibuffer.el (completion--flush-all-sorted-completions):
11214 Remove itself from hook.
11215 (completion-at-point): Let the functions perform the completion
11216 immediately and return nil or t.
11217 * comint.el (comint-dynamic-complete-functions): Now identical to
11218 completion-at-point-functions.
11219 (comint-dynamic-list-input-ring): Remove unused var `index'.
11220 (comint--match-partial-filename, comint--unquote&expand-filename):
11221 New funs, split from comint-match-partial-filename.
11222 (comint-dynamic-complete): Use completion-at-point.
11223 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11224
e8974c48
DA
112252011-03-24 Drew Adams <drew.adams@oracle.com>
11226
11227 * thingatpt.el: Support `defun'.
11228
def71b5e
LL
112292011-03-23 Leo Liu <sdl.web@gmail.com>
11230
cb5af48e
LL
11231 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11232
def71b5e
LL
11233 * help-mode.el (help-mode-finish): Tweak regexp.
11234
927c53e7
GM
112352011-03-23 Glenn Morris <rgm@gnu.org>
11236
18d05bed
GM
11237 * eshell/esh-opt.el (eshell-eval-using-options):
11238 Do not bind unused local variable `eshell-option-stub'.
11239
927c53e7
GM
11240 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11241
9d0da923
JB
112422011-03-22 Juanma Barranquero <lekktu@gmail.com>
11243
11244 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11245 keymap variable in `with-no-warnings' to avoid a warning when the
11246 keymap has been already `defconst'ed.
11247
4b978a67
LL
112482011-03-22 Leo Liu <sdl.web@gmail.com>
11249
11250 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11251 encode all chars in abbrevs; otherwise use emacs-mule or
11252 utf-8-emacs. (Bug#8308)
11253
5fd62452
JB
112542011-03-22 Juanma Barranquero <lekktu@gmail.com>
11255
0b1596c6
JB
11256 * simple.el (backward-delete-char-untabify):
11257 Avoid warning about using `delete-backward-char'.
11258
5fd62452
JB
11259 * image.el (image-type-file-name-regexps): Make it variable.
11260 `imagemagick-register-types' modifies it, and the user may want
11261 to add new extensions for known image types.
11262 (imagemagick-register-types): Throw error if not using ImageMagick.
11263
0b4e93f1
LL
112642011-03-22 Leo Liu <sdl.web@gmail.com>
11265
11266 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11267 located before rcirc-prompt-end-marker.
11268 (rcirc-complete): Error if point is not after rcirc prompt.
11269 Handle the case when table is nil.
9882e214 11270 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11271
fccee4ab
CY
112722011-03-22 Chong Yidong <cyd@stupidchicken.com>
11273
11274 * custom.el (custom--inhibit-theme-enable): Make it affect only
11275 custom-theme-set-variables and custom-theme-set-faces.
11276 (provide-theme): Ignore custom--inhibit-theme-enable.
11277 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11278 (custom-enabling-themes): Delete variable.
d86d2721
SM
11279 (enable-theme): Accept only loaded themes as arguments.
11280 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11281 (custom-enabled-themes): Forbid themes from setting this.
11282 Eliminate use of custom-enabling-themes.
11283 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11284
af896da6
LL
112852011-03-21 Leo Liu <sdl.web@gmail.com>
11286
11287 * ido.el (ido-read-internal): Add ido-selected to history instead
11288 of user input.
11289
78f64af0
SM
112902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * subr.el (deferred-action-list, deferred-action-function):
11293 Mark obsolete.
11294
b16ac1ec
LL
112952011-03-21 Leo Liu <sdl.web@gmail.com>
11296
810f7698
LL
11297 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11298 change on 2011-02-13 (bug#8309).
11299
b16ac1ec
LL
11300 * minibuffer.el (read-file-name-function): Change default value.
11301 (read-file-name--defaults): Rename from read-file-name-defaults.
11302 (read-file-name-default): Rename from read-file-name.
11303 (read-file-name): Call read-file-name-function.
11304
4e05e67e
GM
113052011-03-21 Glenn Morris <rgm@gnu.org>
11306
11307 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11308 Doc fixes.
11309
4359915b
CY
113102011-03-21 Chong Yidong <cyd@stupidchicken.com>
11311
11312 * cus-theme.el: Add missing provide statement.
11313 (customize-create-theme): Extract theme value correctly.
11314 (custom-theme-visit-theme): Autoload.
11315 (customize-create-theme): Prompt before inserting default faces.
11316
1fe275ee
JB
113172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11318
11319 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11320 units and musical notes.
11321
cd394be1 113222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11323
11324 * ido.el (ido-read-internal): Use completing-read-default.
11325 (ido-completing-read): Fix compatibility with completing-read.
11326
7d476bde
CO
113272011-03-20 Christian Ohler <ohler@gnu.org>
11328
11329 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11330 (ert-delete-all-tests): Use `called-interactively-p' rather than
11331 `interactive-p'.
11332 (ert--make-xrefs-region): Respect END.
11333
fe0fb33e
CY
113342011-03-19 Chong Yidong <cyd@stupidchicken.com>
11335
ff854b0b
CY
11336 * dired-aux.el (dired-create-directory): Signal an error if the
11337 directory already exists (Bug#8246).
11338
fe0fb33e
CY
11339 * facemenu.el (list-colors-display): Call list-faces-display
11340 inside with-help-window.
11341 (list-colors-print): Use display property to align the final
11342 column, instead of checking window-width.
11343
576bce32
EZ
113442011-03-19 Eli Zaretskii <eliz@gnu.org>
11345
4d61f28d 11346 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11347 windows-nt systems.
11348 (emerge-protect-metachars): Quote correctly for ms-dos and
11349 windows-nt systems.
11350
89c41d68 113512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11352
11353 * info.el (info-initialize): Replace all uses of `:' with
11354 path-separator for compatibility with non-Unix systems.
11355 Cache quoting of path-separator. (Bug#8258)
11356
b14e3e21 113572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11358
11359 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11360 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11361 (mouse-avoidance-mode): Fix typos in docstrings.
11362
4525ce3e
CY
113632011-03-19 Chong Yidong <cyd@stupidchicken.com>
11364
11365 * startup.el (package-subdirectory-regexp): Move from package.el.
11366 Omit \\` and \\', and let callers add them.
11367
11368 * emacs-lisp/package.el (package-strip-version)
11369 (package-load-all-descriptors): Add \\` and \\' to
11370 package-subdirectory-regexp before using it.
11371 (package-untar-buffer): New arg DIR; ensure that file untars only
11372 into this expected directory. Remove superfluous delete-region.
11373 (package-unpack): Caller changed.
11374 (package-tar-file-info): Use package-subdirectory-regexp.
11375
a904a09a 113762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11377
a904a09a
SM
11378 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11379 diff-mode-shared-map (bug#8284).
11380 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11381
113822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
11384 * calendar/time-date.el (format-seconds): Use assoc instead of
11385 assoc-string, since assoc-string doesn't exist in XEmacs.
11386
171fc304
JB
113872011-03-17 Juanma Barranquero <lekktu@gmail.com>
11388
11389 * custom.el (custom-known-themes): Reflow docstring.
11390 (custom-theme-load-path): Fix typo in docstring.
11391 (load-theme): Fix typo in error message.
11392 (custom-available-themes, custom-variable-theme-value):
11393 Use `let', not `let*'.
11394
d71990a1
JB
113952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11396
11397 * calc/README: Mention inclusion of musical notes.
11398
11399 * calc/calc-units.el (calc-lu-quant): Rename from
11400 `calc-logunits-quantity'.
11401 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11402 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11403 (calc-db): Rename from `calc-dblevel'.
11404 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11405 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11406 (calc-np): Rename from `calc-nplevel'.
11407 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11408 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11409 (calc-lu-plus): Rename from `calc-logunits-add'.
11410 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11411 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11412 (calc-lu-minus): Rename from `calc-logunits-sub'.
11413 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11414 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11415 (calc-lu-times): Rename from `calc-logunits-mul'.
11416 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11417 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11418 (calc-lu-divide): Rename from `calc-logunits-div'.
11419 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11420 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11421
11422 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11423 functions being autoloaded.
11424
11425 * calc/calc.el (calc-lu-power-reference): Rename from
11426 `calc-logunits-power-reference'.
11427 (calc-lu-field-reference): Rename from
11428 `calc-logunits-field-reference'.
11429
7a71b18d
GM
11430 * calc/calc-help.el (calc-l-prefix-help):
11431 Mention musical note functions.
d71990a1 11432
40c2934b
SM
114332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * minibuffer.el (completion-all-sorted-completions):
11436 Use :completion-cycle-penalty text property if present.
11437
b0911414
KM
114382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11439
11440 * allout.el (allout-yank-processing): Adjust for new rebulleting
11441 regime so bullet being yanked is used without prompting the user
11442 for a choice.
11443
8a05b668
JB
114442011-03-16 Juanma Barranquero <lekktu@gmail.com>
11445
11446 * startup.el (command-line): Warn the user that _emacs is deprecated.
11447
5ba5fb81
JB
114482011-03-16 Juanma Barranquero <lekktu@gmail.com>
11449
11450 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11451 (delphi-verbose, delphi-comment-face, delphi-string-face)
11452 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11453 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11454 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11455 (delphi-new-comment-line, delphi-font-lock-defaults)
11456 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11457 Fix typos in docstrings.
11458
2dab465b
KM
114592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11460
5ba5fb81 11461 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11462 Invert the roles of character and string values for INSTEAD, so a
11463 string is used for the more common case of a defaulting prompt.
11464
0adf5618
SM
114652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * progmodes/ruby-mode.el (ruby-backward-sexp):
11468 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11469 * play/gamegrid.el (gamegrid-make-face):
11470 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11471 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11472 * notifications.el (notifications-notify):
11473 * net/xesam.el (xesam-search-engines):
11474 * net/quickurl.el (quickurl-list-insert):
11475 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11476
d72700e5
CY
114772011-03-15 Chong Yidong <cyd@stupidchicken.com>
11478
11479 * startup.el (command-line): Update package subdirectory regexp.
11480
49c5410a
SM
114812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11482
c6eee9aa
SM
11483 * allout.el (allout-abbreviate-flattened-numbering)
11484 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11485
49c5410a
SM
11486 * subr.el (read-char-choice): Only show the cursor after the prompt,
11487 not after the answer.
11488
047b2bb9
KR
114892011-03-15 Kevin Ryde <user42@zip.com.au>
11490
11491 * help-fns.el (variable-at-point): Skip leading quotes, if any
11492 (bug#8253).
11493
0a57d256
SM
114942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11495
11496 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11497 warning message.
11498
77c992bc
MA
114992011-03-14 Michael Albinus <michael.albinus@gmx.de>
11500
11501 * shell.el (shell): When called interactively, offer to change the
11502 shell file name on remote hosts.
11503
eebc475d
TZ
115042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11505
11506 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11507 integration for LDAP parameters. The host, base, user or binddn,
11508 and secret tokens can be specified in a netrc file, for instance.
11509 This is optional because an `auth-source' parameter must be
11510 specified in the search attributes.
11511
9d05d1ba
JB
115122011-03-13 Juanma Barranquero <lekktu@gmail.com>
11513
11514 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11515
09d9db2c
GM
115162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11519 into declaration. Remove redundant and harmful binding.
11520
115212011-03-12 Eli Zaretskii <eliz@gnu.org>
11522
11523 * files.el (file-ownership-preserved-p): Pass `integer' as an
11524 explicit 2nd argument to `file-attributes'. If the file's owner
11525 is the Administrators group on Windows, and the current user is
11526 Administrator, consider that a match.
11527
11528 * server.el (server-ensure-safe-dir): Consider server directory
11529 safe on MS-Windows if its owner is the Administrators group while
11530 the current Emacs user is Administrator. Use `=' to compare
11531 numerical UIDs, since they could be integers or floats.
11532
219bd536
JB
115332011-03-12 Juanma Barranquero <lekktu@gmail.com>
11534
11535 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11536
f3afd36b
MA
115372011-03-12 Michael Albinus <michael.albinus@gmx.de>
11538
11539 Sync with Tramp 2.2.1.
11540
11541 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11542
11543 * net/trampver.el: Update release number.
11544
3aaaa6f1
SM
115452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11546
94642599
SM
11547 * progmodes/compile.el (compilation--previous-directory): Fix up
11548 various nil/dead-marker mismatches (bug#8014).
11549 (compilation-directory-properties, compilation-error-properties):
11550 Don't call it at a position past the one we're about to change.
11551
3aaaa6f1
SM
11552 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11553 Disable obsolescence warnings in the file that declares it.
11554
14239447
KM
115552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11556
099c39a4
JB
11557 * allout-widgets.el (allout-widgets-tally):
11558 Initialize allout-widgets-tally as a hash table rather than nil to
11559 prevent mode-line redisplay warnings. Also, clarify the module
11560 description and fix a comment typo.
14239447 11561
135e287c
JB
115622011-03-11 Juanma Barranquero <lekktu@gmail.com>
11563
11564 * help-fns.el (describe-variable): Don't complete keywords.
11565 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11566
ffbf300e
CY
115672011-03-10 Chong Yidong <cyd@stupidchicken.com>
11568
ba08b241
CY
11569 * emacs-lisp/package.el (package-version-join): Impose a standard
11570 string representation for pre/alpha/beta version lists.
11571 (package-unpack-single): Standardize the directory name by passing
11572 it through package-version-join.
11573 (package-strip-rcs-id): Accept any version string that does not
11574 signal an error in version-to-list.
ffbf300e 11575
f346fd6b
MA
115762011-03-10 Michael Albinus <michael.albinus@gmx.de>
11577
11578 * simple.el (delete-trailing-whitespace): Return nil for the
11579 benefit of `write-file-functions'.
11580
ccb55d27
GM
115812011-03-10 Glenn Morris <rgm@gnu.org>
11582
5ceaac0c
GM
11583 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11584
02da65ff
GM
11585 * vc/vc-git.el (vc-git-program): New option.
11586 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11587 (vc-git--call): Use it.
11588
b2f603cc
GM
11589 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11590
5772caab
GM
11591 * cus-edit.el (Custom-newline): If no button at point, look
11592 for a subgroup button at start-of-line. (Bug#2298)
11593
ccb55d27
GM
11594 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11595
ec6ecaed
JD
115962011-03-10 Julien Danjou <julien@danjou.info>
11597
11598 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11599 `cursor-type' is nil.
11600
9d5aa01d
JB
116012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11602
11603 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11604
b6a5875b
KM
116052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11606
7a71b18d 11607 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11608 preserves the existing header prefix, rebulleting it if necessary,
11609 rather than replacing it. This is necessary for proper operation
11610 of cooperative addons like allout-widgets.
1154d12e
JB
11611 (allout-make-topic-prefix, allout-rebullet-heading):
11612 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11613 value as alternate bullet to be used, instead of prompting the user
11614 for a bullet character.
b6a5875b 11615
ee545c35
MA
116162011-03-09 Michael Albinus <michael.albinus@gmx.de>
11617
d86d2721
SM
11618 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11619 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11620 `tramp-default-port'.
11621
c47971d7
DD
116222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11623
11624 * net/rcirc.el (rcirc-handler-001): Remove useless
11625 with-rcirc-process-buffer.
11626 (rcirc-check-auth-status): Swap arguments to string-match.
11627
13522cb4
GM
116282011-03-09 Glenn Morris <rgm@gnu.org>
11629
0be6f4f1
GM
11630 * shell.el (shell-mode):
11631 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11632
13522cb4
GM
11633 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11634 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11635
515de2e3
CY
116362011-03-08 Chong Yidong <cyd@stupidchicken.com>
11637
11638 * emacs-lisp/package.el (package-refresh-contents)
11639 (package-menu-execute): Use condition-case-no-debug.
11640
b511b994
MA
116412011-03-08 Michael Albinus <michael.albinus@gmx.de>
11642
11643 * simple.el (shell-command-to-string): Use `process-file'.
11644
11645 * emacs-lisp/package.el (package-tar-file-info): Handle also
11646 remote files.
11647
d86d2721
SM
11648 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11649 Use `equal' for upload base check.
b511b994 11650
25bbfb31
AM
116512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11652
11653 * textmodes/texinfo.el (texinfo-environments):
11654 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11655
be996521
GM
116562011-03-08 Glenn Morris <rgm@gnu.org>
11657
e9c8529f
GM
11658 * cus-start.el (cursor-in-non-selected-windows):
11659 Fix :set quoting oddness. (Bug#8192)
11660
be996521
GM
11661 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11662 in some setf expressions. (Bug#2159)
11663
2bb5649e
CY
116642011-03-08 Chong Yidong <cyd@stupidchicken.com>
11665
11666 * custom.el (custom-available-themes): Return themes in
11667 alphabetical order.
11668
33383987 11669See ChangeLog.15 for earlier changes.
e3d51b27
MR
11670
11671;; Local Variables:
11672;; coding: utf-8
e3d51b27
MR
11673;; End:
11674
acaf905b 11675 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11676
11677 This file is part of GNU Emacs.
11678
11679 GNU Emacs is free software: you can redistribute it and/or modify
11680 it under the terms of the GNU General Public License as published by
11681 the Free Software Foundation, either version 3 of the License, or
11682 (at your option) any later version.
11683
11684 GNU Emacs is distributed in the hope that it will be useful,
11685 but WITHOUT ANY WARRANTY; without even the implied warranty of
11686 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11687 GNU General Public License for more details.
11688
11689 You should have received a copy of the GNU General Public License
11690 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.