Fix starttls-related error message under Windows
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c676576a
LMI
12012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * net/network-stream.el (network-stream-open-starttls): Make error
4 message under Windows be less misleading.
5
126f3d39
LW
62012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7
8 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9 understands (bug#9942).
10
64fee311
CY
112012-03-22 Chong Yidong <cyd@gnu.org>
12
13 * simple.el (end-of-visible-line): Handle return value of
14 next-single-property-change properly (Bug#9371).
15
a640d29a
KH
162012-03-22 Kenichi Handa <handa@m17n.org>
17
18 * international/quail.el (quail-insert-kbd-layout): Fix previous
19 change. To avoid unwanted bidi reordering, use
20 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
21
39675016
DG
222012-03-21 Dmitry Gutov <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
25 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
26 (ruby-beginning-of-indent): Be more careful with the difference
27 between word-boundary and symbol boundary.
28 (ruby-mode-syntax-table): Make : a symbol constituent.
29
0a6934fc 302012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 31
3d008e4f
SM
32 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
33
0a6934fc
SM
342012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
35
af67c9d7
SM
36 * progmodes/etags.el (tags-completion-at-point-function):
37 Improve last fix.
38
1acad97c
SM
39 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
40
e298b5da
SS
412012-03-21 Sam Steingold <sds@gnu.org>
42
43 * progmodes/etags.el (tags-completion-at-point-function):
44 Avoid the error when point is inside the pattern.
45
91d82a70
JY
462012-03-21 John Yates <john@yates-sheets.org> (tiny change)
47
48 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
49 line (Bug#10855).
50
69188b79
CY
512012-03-21 Drew Adams <drew.adams@oracle.com>
52
53 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
54
99fc91fe
AK
552012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
56
57 * ido.el (ido-set-current-directory, ido-read-internal)
58 (ido-choose-completion-string, ido-completion-help): Handle nil
59 value of ido-completion-buffer (Bug#11008).
60
087bbb4c
SS
612012-03-21 Sam Steingold <sds@gnu.org>
62
63 * window.el (switch-to-prev-buffer): Do not switch to a visible
64 window previous buffer, just like with the frame previous buffers.
65
fb5b8aca
CY
662012-03-21 Chong Yidong <cyd@gnu.org>
67
68 * faces.el (make-face, make-empty-face, copy-face):
69 * face-remap.el (face-remap-add-relative, face-remap-set-base):
70 Doc fixes.
71
dc9924b8
SM
722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * wid-edit.el (widget-complete-field): Remove (bug#11051).
75 (widget-complete): Remove broken use of it.
76
f0bcceb9
CY
772012-03-20 Chong Yidong <cyd@gnu.org>
78
dc9924b8
SM
79 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
80 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
81 characters.
82
ee52ebf3
TH
832012-03-20 Tassilo Horn <tassilo@member.fsf.org>
84
85 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
86 to draw rectangles, not squares. (Regression introduced by revno
87 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
88
4c5779ab
CY
892012-03-18 Chong Yidong <cyd@gnu.org>
90
91 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
92 it is not yet defined (for temacs).
93
15360934
LL
942012-03-18 Leo Liu <sdl.web@gmail.com>
95
dc9924b8 96 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 97
d9a8eb66
EZ
982012-03-17 Eli Zaretskii <eliz@gnu.org>
99
100 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
101 (ispell-choices-win-default-height, ispell-silently-savep)
102 (ispell-dictionary-alist, ispell-encoding8-command)
103 (ispell-check-version, ispell-aspell-find-dictionary)
104 (ispell-valid-dictionary-list, ispell-words-keyword)
105 (ispell-get-word, ispell-internal-change-dictionary)
106 (ispell-region, ispell-skip-region-list)
107 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
108 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
109 (ispell-message-text-end, ispell-message)
110 (ispell-buffer-local-parsing): Doc fix.
111
f02ff80d
J
1122012-03-13 Jambunathan K <kjambunathan@gmail.com>
113
114 * htmlfontify.el: Add support for code block fontification for ODT
115 export (Bug #9914).
116 (hfy-optimisations): Define new option
117 `body-text-only'
118 (hfy-fontify-buffer): Honor above setting.
119 (hfy-begin-span, hfy-end-span): New routines factored out form
120 `hfy-fontify-buffer'.
121 (hfy-begin-span-handler, hfy-end-span-handler): New variables
122 that permit insertion of custom tags.
123 (hfy-fontify-buffer): Use above handlers.
124 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
125 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 126 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
127 over multiple runs. This is made possible by having the caller let
128 bind a special variable `hfy-user-sheet-assoc'.
129 (htmlfontify-string): New defun.
130 (hfy-compile-face-map): Make sure that the last char in the
131 buffer is correctly fontified.
132 (hfy-face-resolve-face): Whitespace only change.
133
9ac7a13f
EZ
1342012-03-17 Eli Zaretskii <eliz@gnu.org>
135
136 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
137 message more clear.
138
e2b5bdd7
LL
1392012-03-16 Leo Liu <sdl.web@gmail.com>
140
141 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
142
2e492df3
AM
1432012-03-16 Alan Mackenzie <acm@muc.de>
144
145 Further optimise the handling of large macros.
146
147 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
148 limit to a call of `c-literal-limits'.
149 (c-determine-+ve-limit): New function.
dc9924b8
SM
150 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
151 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
152 In CASE 5B, restrict a search limit to 500.
153 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
154
155 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
156 Restrict macro bounds to +-500 from after-change's BEG END.
157
50e94f0c
LL
1582012-03-16 Leo Liu <sdl.web@gmail.com>
159
160 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
161
6f09f6ed
AH
1622012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
163
164 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 165 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 166
c7e73d51
GM
1672012-03-16 Glenn Morris <rgm@gnu.org>
168
da986230
GM
169 * view.el (view-buffer, view-buffer-other-window)
170 (view-buffer-other-frame): Doc fixes re special mode-class.
171
0835f01e
GM
172 * subr.el (eval-after-load): If named feature is provided not from
173 a file, run after-load forms. (Bug#10946)
174
c7e73d51
GM
175 * calendar/calendar.el (calendar-insert-at-column):
176 Handle non-unit-width characters a bit better. (Bug#10978)
177
3f2eafd1
CY
1782012-03-15 Chong Yidong <cyd@gnu.org>
179
180 * emacs-lisp/ring.el (ring-extend): New function.
181 (ring-insert+extend): Extend the ring correctly (Bug#11019).
182
183 * comint.el (comint-read-input-ring)
184 (comint-add-to-input-history): Grow comint-input-ring lazily.
185
103af3fe
SM
1862012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
187
663b1677
SM
188 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
189 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
190
103af3fe
SM
191 * imenu.el: Fix multiple inheritance breakage (bug#9199).
192 (imenu-add-to-menubar): Don't add a redundant index.
193 (imenu-update-menubar): Handle a dynamically composed keymap.
194
899cb7cb
KY
1952012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
196
197 * mail/sendmail.el (mail-encode-header):
198 Bind rfc2047-encode-encoded-words to nil.
199
3809f91d
GM
2002012-03-13 Glenn Morris <rgm@gnu.org>
201
202 * calendar/calendar.el (calendar-string-spread):
203 Handle non-unit-width characters a bit better. (Bug#10978)
204
9e345a01
LL
2052012-03-13 Leo Liu <sdl.web@gmail.com>
206
207 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
208 directory and file as argument (Bug#10822).
209
4a07df36
KS
2102012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
211
212 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
213 For dynamically generated code, follow $PC.
214 (gdb-disassembly-handler-custom): Handle no function name case.
215
4aaa9356
TL
2162012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
217
218 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
219 * emulation/ws-mode.el (ws-query-replace):
220 * sort.el (sort-regexp-fields):
221 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
222
225979da
SM
2232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * dabbrev.el: Fix cycle completion order (bug#10963).
226 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
227 (dabbrev-completion): Don't use an obarray; provide
228 a cycle-sort-function.
229
e2f1fdab
LL
2302012-03-12 Leo Liu <sdl.web@gmail.com>
231
dc9924b8 232 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
233 (kill-do-not-save-duplicates): Doc fix.
234
b19490ed
SM
2352012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * dabbrev.el: Fix cycle completion (bug#10963).
238 Use lexical binding and wrap to 80 columns.
239 (dabbrev-completion): Delay computing the list of completions.
240
4b05d722
KH
2412012-03-12 Kenichi Handa <handa@m17n.org>
242
243 * international/quail.el (quail-insert-kbd-layout): Surround each
244 row by LRO and PDF instead of inserting many LRMs. Pad the left
245 and right of each non-spacing marks. Insert invisible space
246 between lower and upper characters to prevent composition.
247
dbbc2e69
SM
2482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * minibuffer.el (minibuffer-complete): Don't get confused when the
251 function is run twice via different commands (bug#10958).
252 (complete-with-action): Fix docstring.
253
292112ed
CY
2542012-03-12 Chong Yidong <cyd@gnu.org>
255
5d1ac394
CY
256 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
257 (nxml-completion-at-point-function): New function.
258 (nxml-mode): Use it.
259 (nxml-bind-meta-tab-to-complete-flag): Default to t.
260
292112ed
CY
261 * emacs-lisp/package.el (package-unpack, package-unpack-single):
262 Load generated autoloads file before byte compiling (Bug#10970).
263 (package--make-autoloads-and-compile): New helper fun.
264
4098f8f7
CS
2652012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
266
267 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
268
8f754691
MA
2692012-03-11 Michael Albinus <michael.albinus@gmx.de>
270
271 * autorevert.el (auto-revert-handler): Ensure, that
272 file-readable-p is applied only for local files or in
273 auto-revert-tail-mode.
274
e29ab36b
AS
2752012-03-11 Andreas Schwab <schwab@linux-m68k.org>
276
dbbc2e69
SM
277 * server.el (server-eval-at): Handle non-tcp connections.
278 Decode result string.
ad0bf5b6 279
e29ab36b
AS
280 * server.el (server-msg-size): New constant.
281 (server-reply-print): New function.
282 (server-eval-and-print): Use it.
283 (server-eval-at): Use server-quote-arg and server-unquote-arg.
284 Handle -print-nonl.
285
de5939ba
CS
2862012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
287
288 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
289 (Bug#10987).
290
0c93eabf
CY
2912012-03-11 Chong Yidong <cyd@gnu.org>
292
397a688f
CY
293 * simple.el (goto-line): Doc fix (Bug#9938).
294
2cc775f9
CY
295 * subr.el (save-window-excursion): Doc fix (Bug#9979).
296
0c93eabf
CY
297 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
298 when finished (Bug#10963).
299
c491fa41
MR
3002012-03-11 Martin Rudalics <rudalics@gmx.at>
301
302 * window.el (split-window-below): Fix bug in case where
303 split-window-keep-point is nil (Bug#10971).
304
300e8fa5
JL
3052012-03-11 Juri Linkov <juri@jurta.org>
306
307 * replace.el (replace-highlight): Set isearch-word to nil
308 unconditionally. (Bug#10887)
309
dbf6c5a1
EZ
3102012-03-10 Eli Zaretskii <eliz@gnu.org>
311
312 * net/mairix.el (mairix-replace-invalid-chars): Rename from
313 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 314 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
315 (mairix-widget-create-query): Add usage information about mairix
316 search forms: negating words, searching for substrings, etc.
317
b9e501de
JP
3182012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
319
320 * international/fontset.el (font-encoding-alist): Add an entry for
321 ksx1001 (Bug#5667).
322
92795c91
RS
3232012-03-10 Richard Stallman <rms@gnu.org>
324
1694e6c1
RS
325 * mail/sendmail.el (mail-encode-header):
326 Set rfc2047-encode-encoded-words.
327
607e8555
RS
328 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
329
de3bc99a
RS
330 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
331 view buffer means not swapped.
332 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
333 (rmail-write-region-annotate): Error if real text has disappeared.
334
92795c91
RS
335 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
336
699bd04e
CY
3372012-03-10 Chong Yidong <cyd@gnu.org>
338
339 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
340 * emulation/cua-base.el (cua--init-keymaps):
341 Add delete-forward-char to remappings (Bug#9666).
699bd04e 342
570a1714
MR
3432012-03-10 Martin Rudalics <rudalics@gmx.at>
344
dbbc2e69
SM
345 * speedbar.el (speedbar-unhighlight-one-tag-line):
346 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 347
82dcf4e4
CY
3482012-03-10 Chong Yidong <cyd@gnu.org>
349
7a2c7ca7
CY
350 * minibuffer.el (completion-in-region, completion-help-at-point):
351 Give the completion field overlay a high priority (Bug#6830).
352
82dcf4e4
CY
353 * dired.el (dired-goto-file): Recognize absolute file name
354 listings (Bug#7126).
355 (dired-goto-file-1): New helper function.
356 (dired-toggle-read-only): Inhibit warnings.
357
052e28ac
MA
3582012-03-09 Michael Albinus <michael.albinus@gmx.de>
359
360 * net/dbus.el: (dbus-property-handler): Return empty array if
361 there are no properties.
362
95d5e396
LL
3632012-03-09 Leo Liu <sdl.web@gmail.com>
364
365 * savehist.el (savehist-printable): Stricter check for string
366 value (Bug#10937).
367
3f018d6d
EZ
3682012-03-09 Eli Zaretskii <eliz@gnu.org>
369
dbbc2e69
SM
370 * mail/smtpmail.el (smtpmail-send-it):
371 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
372 valid mbox format.
373
f7fd3d79
GM
3742012-03-09 Glenn Morris <rgm@gnu.org>
375
376 * files.el (dir-locals-find-file):
377 Don't check result is regular, readable.
378 (dir-locals-read-from-file): Demote errors.
379
6ff6e72f
EZ
3802012-03-08 Eli Zaretskii <eliz@gnu.org>
381
dbbc2e69
SM
382 * international/quail.el (quail-insert-kbd-layout):
383 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
384 layout cell, to prevent their reordering by bidi display engine.
385 For details, see the discussion in
386 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
387
9cec7834
AM
3882012-03-08 Alan Mackenzie <acm@muc.de>
389
390 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
391 the starting position; make it extend the marked region when
392 invoked repeatedly - all under appropriate circumstances.
393 Fixes bugs #5525, #10906.
394
9a40b8d4
GM
3952012-03-08 Glenn Morris <rgm@gnu.org>
396
397 * files.el (locate-dominating-file, dir-locals-find-file):
398 Undo 2012-03-06 change.
399
7a08ed35
EZ
4002012-03-07 Eli Zaretskii <eliz@gnu.org>
401
dbbc2e69
SM
402 * international/quail.el (quail-help):
403 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
404 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
405 for the reason.
406
5aca4f71 4072012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
408
409 Avoid superfluous registering of signals. (Bug#10807)
410
411 * notifications.el (notifications-on-action-object)
412 (notifications-on-close-object): New defvars.
413 (notifications-on-action-signal, notifications-on-closed-signal):
414 Unregister the signal if not needed any longer.
415 (notifications-notify): Register `notifications-action-signal' or
416 `notifications-closed-signal', if :on-action or :on-close has been
417 passed as argument.
418
78e8b10a
CY
4192012-03-07 Chong Yidong <cyd@gnu.org>
420
421 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
422 non-X platforms.
423
69481eb8
GM
4242012-03-06 Glenn Morris <rgm@gnu.org>
425
426 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
427 (x-disown-selection-internal, x-get-selection-internal):
428 Doc fix (add arglist signatures). (Bug#10783)
429
133b8e11
KS
4302012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
431
432 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
433 Handle breakpoints with no "type".
434
99a83064
GM
4352012-03-06 Glenn Morris <rgm@gnu.org>
436
437 * files.el (locate-dominating-file): Add optional predicate argument.
438 (dir-locals-find-file): Make use of above change.
439
17798e78
TTN
4402012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
441
442 * info.el (Info-insert-dir): Also try "dir.gz".
443
eb182446
GM
4442012-03-06 Glenn Morris <rgm@gnu.org>
445
8f2114ee
GM
446 * files.el (dir-locals-find-file):
447 Ignore non-readable or non-regular files. (Bug#10928)
448
eb182446
GM
449 * files.el (locate-dominating-file): Doc fix.
450
24679323
AS
4512012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
452
453 * calendar/calendar.el (calendar-set-mode-line):
454 `getenv' returns a string. (Bug#10951)
455
01d972a9
LL
4562012-03-05 Leo Liu <sdl.web@gmail.com>
457
109aa8a9
LL
458 * simple.el (backward-delete-char-untabify): Constrain point to
459 field (Bug#10939).
460
01d972a9
LL
461 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
462
10607bea
CY
4632012-03-05 Chong Yidong <cyd@gnu.org>
464
465 * simple.el (count-words): If called from Lisp, return the word
466 count, for symmetry with `count-lines'. Arglist changed.
467 (count-words--message): Args changed. Consolidate counting code
468 from count-words and count-words-region.
469 (count-words-region): Caller changed.
470 (count-lines-region): Make it an obsolete alias.
471
5dd11cfe
TH
4722012-03-04 Tassilo Horn <tassilo@member.fsf.org>
473
474 * saveplace.el (save-place-to-alist)
475 (save-place-ignore-files-regexp): Allow value nil to disable this
476 feature.
477
c349f4e6
CY
4782012-03-04 Chong Yidong <cyd@gnu.org>
479
480 * faces.el (face-spec-reset-face): For the default face, reset the
481 attributes to default values (Bug#10748).
482
e627be4c
LMI
4832012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
484
485 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
486 previous patch: Check `message-send-mail-function', and not the
487 default function (bug#10897).
488
ebeabff4
MA
4892012-03-04 Michael Albinus <michael.albinus@gmx.de>
490
a41a6cf4
MA
491 * notifications.el (notifications-on-action-signal)
492 (notifications-on-closed-signal): Check for unique service name of
493 incoming event. Fix error in removing entry.
ebeabff4 494 (top): Register for signals with wildcard service name.
a41a6cf4 495 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 496
c1ca42b4
CY
4972012-03-04 Chong Yidong <cyd@gnu.org>
498
dc9924b8 499 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 500
ea16568d
GM
5012012-03-04 Glenn Morris <rgm@gnu.org>
502
503 * abbrev.el (copy-abbrev-table, abbrev-table-p)
504 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
505 (expand-abbrev, define-abbrev-table): Doc fixes.
506
fbae4637
LMI
5072012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
508
509 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
510 `message-default-send-mail-function' and not `send-mail-function'
511 when doing the prompting for `sendmail-query-once' before sending
512 in Message buffers (bug#10897).
513
a1e7225c
LMI
514 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
515 This is inconsistent with all the other stream functions, which leave
516 the setting up to the higher levels (if so wanted) (bug#10931).
517
56d093a9
AM
5182012-03-02 Alan Mackenzie <acm@muc.de>
519
520 Depessimize the handling of very large macros.
521
522 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
523 (c-macro-cache-syntactic): New variables to implement a one
524 element macro cache.
525 (c-invalidate-macro-cache): New function.
526 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
527 Adapt to use the new cache.
528 (c-state-safe-place): Use better the cache of safe positions.
529 (c-state-semi-nonlit-pos-cache)
530 (c-state-semi-nonlit-pos-cache-limit):
531 New variables for...
532 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
533 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
534 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
535 Use c-state-semi-safe-place.
56d093a9 536
dbbc2e69
SM
537 * progmodes/cc-langs.el (c-get-state-before-change-functions):
538 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 539
817e5c3d
MA
5402012-03-02 Michael Albinus <michael.albinus@gmx.de>
541
dbbc2e69
SM
542 * jka-compr.el (jka-compr-call-process):
543 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
544 not remote.
545
a032a702
MA
5462012-03-01 Michael Albinus <michael.albinus@gmx.de>
547
548 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
549 access of FILE2, if FILE1 does not exist.
550
99a54f21
MA
551 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
552 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
553
554 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
555 Add "PAGER=" to `process-environment'.
556
f6561e1f
MM
5572012-03-01 Michael R. Mauger <mmaug@yahoo.com>
558
559 * progmodes/sql.el: Bug fix
560 (sql-get-login-ext): Save login values in globals.
561 (sql-get-login): Use new version of `sql-get-login-ext'.
562 (sql-interactive-mode): Set global `sql-connection' to nil.
563 (sql-connect): Set global values for connection.
564 (sql-product-interactive): Save global values as buffer local.
565
2d44d9cc
LL
5662012-02-29 Leo Liu <sdl.web@gmail.com>
567
568 * abbrev.el (define-abbrevs): Reset sys to nil.
569
96b49301 5702012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
571
bf7f9bc5
JB
572 * files.el (file-equal-p): Rename from `files-equal-p'.
573 Return nil when one or both files don't exist.
96b49301 574 (file-subdir-of-p): Now only top directory must exists,
575 return nil if it doesn't.
bf7f9bc5
JB
576 (copy-directory): No need to test with `file-subdir-of-p' after
577 creating dir.
578 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
579 to `file-equal-p'.
96b49301 580
44e97401
GM
5812012-02-28 Glenn Morris <rgm@gnu.org>
582
583 * shell.el (shell-mode):
584 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
585 * play/landmark.el (landmark-font-lock-face-O):
586 * play/handwrite.el (handwrite):
587 * play/gomoku.el (gomoku-O):
588 * net/browse-url.el (browse-url-browser-display):
589 * international/mule.el (define-charset):
590 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
591 * filesets.el (filesets-find-file-delay):
592 * eshell/em-xtra.el (eshell-xtra):
593 * eshell/em-unix.el (eshell-grep):
594 * emulation/viper.el (viper-mode):
595 * emacs-lisp/regexp-opt.el (regexp-opt-group):
596 * emacs-lisp/easymenu.el (easy-menu-define):
597 * calendar/timeclock.el (timeclock-use-display-time):
598 * bs.el (bs-mode):
599 * bookmark.el (bookmark-save-flag):
600 Doc fix (standardize possessive apostrophe usage).
601
c98c6276
CY
6022012-02-27 Chong Yidong <cyd@gnu.org>
603
bf7f9bc5
JB
604 * emulation/viper-cmd.el (viper-intercept-ESC-key):
605 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 606
c98c6276
CY
607 * font-lock.el (font-lock-specified-p): Rename from
608 font-lock-spec-present. Callers changed.
609
9c62cd04 6102012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 611
bf7f9bc5
JB
612 * emacs-lisp/package.el (package-compute-transaction):
613 Handle holding a package version to t in package-load-list.
8ac9e529 614
530739c9
MA
6152012-02-26 Michael Albinus <michael.albinus@gmx.de>
616
617 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
618 (tramp-get-inode, tramp-get-device): Use cached values.
619
487915d7
AM
6202012-02-26 Alan Mackenzie <acm@muc.de>
621
622 Check there is a font-lock specification before doing initial
623 fontification.
624
625 * font-core.el (font-lock-mode): Move the conditional from
626 :after-hook to font-lock-initial-fontify.
627 (font-lock-default-function): Move the check for a specification
628 to font-lock-spec-present.
629
dc9924b8 630 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
631 (font-lock-spec-present): New function.
632
4fd96557
JB
6332012-02-26 Jim Blandy <jimb@red-bean.com>
634
635 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
636 (gdb-send): Apply it to the operand of the '-interpreter-exec
637 console' command, so that we can pass arguments with (say) quotes
638 in them. Store exact string sent in gdb-debug-log (Bug#10765).
639
9a4888c0
CY
6402012-02-26 Chong Yidong <cyd@gnu.org>
641
07498861
CY
642 * help-fns.el (describe-function-1): Clarify description of
643 remapping (Bug#10844).
644
9a4888c0
CY
645 * files.el (files-equal-p): Doc fix.
646 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
647 and quit the loop once a mismatch is found.
648
ea8fb88d
JB
6492012-02-25 Juanma Barranquero <lekktu@gmail.com>
650
651 * bs.el (bs--show-with-configuration): Don't throw an error
652 if the window cannot be split; otherwise, subsequent calls to
653 bs-show fail, restoring a stale window config. (Bug#10882)
654
525795c1
JD
6552012-02-25 Jan Djärv <jan.h.d@swipnet.se>
656
657 * term/ns-win.el (global-map): Bind ns-drag-file to
658 ns-find-file (Bug#5855, Bug#10050).
659
f008086f
AS
6602012-02-25 Andreas Schwab <schwab@linux-m68k.org>
661
662 * calendar/parse-time.el (parse-time-string): Allow extractor to
663 return nil.
664
a3fcfa99
MA
6652012-02-25 Michael Albinus <michael.albinus@gmx.de>
666
91027d08
JB
667 * net/tramp.el (tramp-file-name-for-operation):
668 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
669
670 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
671 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
672 Add COPY-CONTENTS argument.
a3fcfa99 673
67b0de11
CY
6742012-02-25 Chong Yidong <cyd@gnu.org>
675
676 Add custom groups for VC backends, for consistency with vc-bzr.
677
678 * vc/vc-arch.el (vc-arch):
679 * vc/vc-cvs.el (vc-cvs):
680 * vc/vc-git.el (vc-git):
681 * vc/vc-hg.el (vc-hg):
682 * vc/vc-mtn.el (vc-mtn):
683 * vc/vc-rcs.el (vc-rcs):
684 * vc/vc-sccs.el (vc-sccs):
685 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
686 All relevant defcustoms reassigned.
687
3c9dfce6
CY
6882012-02-25 Chong Yidong <cyd@gnu.org>
689
1339bf43
CY
690 * newcomment.el (comment-styles): Add autoload (Bug#10868).
691
3c9dfce6
CY
692 * term/x-win.el (x-initialize-window-system): Reduce default for
693 x-selection-timeout to 5 seconds (Bug#8869).
694
53a46cd0 6952012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 696
53a46cd0 697 * files.el (file-subdir-of-p): Fix typo.
14a8a663 698
25b2e303 6992012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
700
ec70a47d
GM
701 * files.el (files-equal-p, file-subdir-of-p): New functions.
702 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 703 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
704 * dired-aux.el (dired-copy-file-recursive): Same.
705 (dired-create-files): Modify destination when source is equal to
706 dest when copying files.
53a46cd0 707 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 708
914260cd
MA
7092012-02-24 Michael Albinus <michael.albinus@gmx.de>
710
711 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
712 (Bug#10874)
713
2cb228f7
AM
7142012-02-23 Alan Mackenzie <acm@muc.de>
715
716 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
717 parameter "after-hook:" to allow the expansion to run code after
718 the execution of the mode hooks.
719
720 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 721 from font-lock-mode-internal.
2cb228f7 722
91027d08 723 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
724 :after-hook.
725
8f0fde21
SM
7262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
727
3e88618b
SM
728 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
729 (completion--cache-all-sorted-completions): New function.
730 (completion-all-sorted-completions): Use it.
731 (completion--do-completion, minibuffer-force-complete):
732 Use it to re-instate the flush hook.
733
8f0fde21
SM
734 * icomplete.el (icomplete-completions): Replace last fix with a better
735 one (bug#10850).
736
8e911f6f
DG
7372012-02-23 Dmitry Gutov <dgutov@yandex.ru>
738
739 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
740 when it might call us back infinitely (bug#10797).
741
49fe4321
GM
7422012-02-23 Glenn Morris <rgm@gnu.org>
743
744 * minibuffer.el (completion-category-overrides): Doc fix.
745
b291b572
SM
7462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * minibuffer.el (completion-table-with-context): Fix inf-loop.
749 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
750
31a9ef2e
GM
7512012-02-23 Glenn Morris <rgm@gnu.org>
752
5e6e6794 753 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
754 (authors-obsolete-files-regexps, authors-ignored-files)
755 (authors-ambiguous-files, authors-renamed-files-alist):
756 Add more entries.
757
0bd1e074
JL
7582012-02-23 Juri Linkov <juri@jurta.org>
759
760 * isearch.el (isearch-occur): Sync interactive spec with occur's
761 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
762
b617673c
JL
763 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
764
19e9789e
JL
7652012-02-22 Juri Linkov <juri@jurta.org>
766
767 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
768 (ucs-insert): Doc fix. Check for hex digits in the string.
769 Don't display `nil' in the error message. (Bug#10857)
770
f41ce09d
AM
7712012-02-22 Alan Mackenzie <acm@muc.de>
772
7a71b18d 773 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 774
ac2eceee
GM
7752012-02-22 Glenn Morris <rgm@gnu.org>
776
777 * ffap.el (ffap-c-path):
778 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
779
abd1f678
CY
7802012-02-22 Chong Yidong <cyd@gnu.org>
781
782 * custom.el (load-theme): Doc fix.
783
f25aef2e
GM
7842012-02-22 Glenn Morris <rgm@gnu.org>
785
786 * dired-x.el (dired-guess-shell-alist-default):
787 Remove escape sequences from nroff output. (Bug#172)
788
5f8dc2ca
GM
7892012-02-21 Glenn Morris <rgm@gnu.org>
790
6ff86ec4
GM
791 * vc/emerge.el (emerge-defvar-local):
792 Set `permanent-local' property rather than unused `preserved'.
793
be3223a3 794 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
795 (picture-mode-map): Use it. (Bug#10860)
796 (picture-mode): Doc fix.
797
3fe58f4f
JB
7982012-02-21 Juanma Barranquero <lekktu@gmail.com>
799
800 * newcomment.el (uncomment-region-default): Remove unused binding.
801
f9a998c3
GM
8022012-02-21 Glenn Morris <rgm@gnu.org>
803
804 * textmodes/picture.el (picture-motion, picture-motion-reverse)
805 (picture-self-insert, picture-tab-chars): Doc fix.
806 (picture-mode-map): Fix C-a, C-e.
807
c6029348
GM
8082012-02-20 Glenn Morris <rgm@gnu.org>
809
810 * emacs-lisp/authors.el (authors-aliases): Add another entry.
811
ab1ce9d7
LL
8122012-02-20 Leo Liu <sdl.web@gmail.com>
813
814 * icomplete.el (icomplete-completions): Check FROM arg before
815 passing to substring (Bug#10850).
816
0fd40f89
CY
8172012-02-19 Chong Yidong <cyd@gnu.org>
818
819 * comint.el: Require ansi-color.
820 (comint-output-filter-functions): Add ansi-color-process-output.
821
822 * ansi-color.el: Don't set comint-output-filter-functions; it is
823 now in the initial value defined in comint.el.
824 (ansi-color-apply-face-function): New variable.
825 (ansi-color-apply-on-region): Use it.
826 (ansi-color-apply-overlay-face): New function.
827
828 * shell.el (shell): No need to require ansi-color.
829 (shell-mode): Use ansi-color-apply-face-function to highlight
830 color escapes using font-lock-face property (Bug#10835).
831
20af2394
CY
8322012-02-19 Chong Yidong <cyd@gnu.org>
833
834 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
835 mode-line formats (Bug#10839).
836
e23a3fbe
GM
8372012-02-18 Glenn Morris <rgm@gnu.org>
838
b474519e
GM
839 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
840
841 * mail/undigest.el (unforward-rmail-message): Doc fix.
842
e23a3fbe
GM
843 * saveplace.el (save-place-ignore-files-regexp): Add :version.
844
57939ff4
EZ
8452012-02-18 Eli Zaretskii <eliz@gnu.org>
846
847 * international/characters.el (script-list): Sync with the latest
848 Unicode Character Database.
849
0c23686e
AS
8502012-02-18 Andreas Schwab <schwab@linux-m68k.org>
851
852 * international/titdic-cnv.el: Remove duplicate coding tag.
853 * language/cham.el: Likewise.
854 * language/tai-viet.el: Likewise.
855
6818b449
GM
8562012-02-18 Glenn Morris <rgm@gnu.org>
857
858 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
859 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
860 (calendar-bahai-all-holidays-flag, calendar-other-dates):
861 * calendar/diary-lib.el (diary-abbreviated-year-flag):
862 * calendar/holidays.el (holiday-bahai-holidays)
863 (calendar-holidays, list-holidays):
864 Use utf-8 Bahá'í in doc-strings, menus, etc.
865
0311a3fc
TH
8662012-02-17 Tassilo Horn <tassilo@member.fsf.org>
867
868 * saveplace.el (save-place-ignore-files-regexp): New variable
869 allowing for excluding files from saving their location of point.
870 The default value matches the temporary commit message editing
871 files from Git, SVN, Bazaar, and Mercurial.
872 (save-place-to-alist): Use it.
873
eb864a71
LM
8742012-02-17 Lawrence Mitchell <wence@gmx.li>
875 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * newcomment.el (uncomment-region-default): Don't leave extra space
878 when an arg is provided (bug#8150).
879
ee0ce425
TZ
8802012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
881
eb864a71 882 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 883
95ddf442
GM
8842012-02-17 Glenn Morris <rgm@gnu.org>
885
886 * net/socks.el: Require network-stream. (Bug#10599)
887
48dd1e39 8882012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
889
890 * international/charprop.el:
891 * international/uni-name.el:
892 * international/uni-old-name.el:
893 * international/uni-comment.el: Regenerate.
894
d68cd087
GM
8952012-02-16 Glenn Morris <rgm@gnu.org>
896
897 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
898 Interactively in calendar buffer, give an error if not on a date.
899
13932042
GM
9002012-02-15 Glenn Morris <rgm@gnu.org>
901
902 * shell.el (shell-delimiter-argument-list):
903 Revert 2011-02-17 change. (Bug#8027)
904
c3a70e2b
CY
9052012-02-15 Chong Yidong <cyd@gnu.org>
906
60236b0d
CY
907 * minibuffer.el (completion-at-point-functions): Doc fix.
908
c3a70e2b
CY
909 * custom.el (defcustom): Doc fix; note use of defvar.
910
9f26dc24
GM
9112012-02-15 Glenn Morris <rgm@gnu.org>
912
913 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
914 Doc fixes.
915
6546b134
GM
9162012-02-14 Glenn Morris <rgm@gnu.org>
917
918 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
919
d29b2b4c
LI
9202012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
921
922 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
923 way the ports list is computed.
835bdcba
LI
924 (smtpmail-query-smtp-server): Prompt the user for a port number if
925 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 926
08dcdbc9
TZ
9272012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
928
929 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
930
2605051a
GM
9312012-02-13 Glenn Morris <rgm@gnu.org>
932
933 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
934
7ee99f32
TZ
9352012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
936
937 * net/gnutls.el (gnutls-trustfiles): New variable.
938 (gnutls-negotiate): Use it.
939
5f0af64f
LI
9402012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
941
942 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
943 does its stuff if Gnus is running.
944
c14fcc95
AM
9452012-02-13 Alan Mackenzie <acm@muc.de>
946
947 Fix a loop in c-set-fl-decl-start.
948
7a71b18d 949 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
950 c-backward-syntactic-ws actually moves backwards.
951
142b4d90
LL
9522012-02-13 Leo Liu <sdl.web@gmail.com>
953
954 * net/rcirc.el (rcirc-markup-attributes): Move point to the
955 beginning so that all \C-o chars are removed.
956
fa9958a6
TZ
9572012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
958
dc9924b8 959 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 960
0bc5886a
AM
9612012-02-12 Alan Mackenzie <acm@muc.de>
962
963 Fix infinite loop with long macros.
964 * cc-engine.el (c-state-safe-place): Handle macros properly.
965
d4bd55e7
CY
9662012-02-12 Chong Yidong <cyd@gnu.org>
967
968 * window.el (display-buffer): Doc fix (Bug#10785).
969
66f3fe22
GM
9702012-02-12 Glenn Morris <rgm@gnu.org>
971
bd7da63e
GM
972 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
973 (x-disown-selection-internal, x-get-selection-internal):
974 Sync docs with the xselect.c versions.
975
66f3fe22
GM
976 * allout-widgets.el: Add missing license notice.
977
3e0d2fa7
GM
9782012-02-11 Glenn Morris <rgm@gnu.org>
979
cfecdf09
GM
980 * select.el (x-get-selection-internal, x-own-selection-internal)
981 (x-disown-selection-internal):
982 * x-dnd.el (x-get-selection-internal): Update declarations.
983
6d216d7f
GM
984 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
985
2bed3f04
GM
986 * window.el (window-sides-slots):
987 * tool-bar.el (tool-bar-position):
988 * term/xterm.el (xterm-extra-capabilities):
989 * ses.el (ses-self-reference-early-detection):
990 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
991 (verilog-auto-wire-type)
992 (verilog-auto-delete-trailing-whitespace)
993 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
994 (verilog-auto-tieoff-declaration):
995 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
996 (sql-oracle-statement-starters, sql-oracle-scan-on):
997 * progmodes/prolog.el (prolog-align-comments-flag)
998 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
999 (prolog-left-indent-regexp, prolog-paren-indent-p)
1000 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1001 (prolog-types, prolog-mode-specificators)
1002 (prolog-determinism-specificators, prolog-directives)
1003 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1004 (prolog-electric-dot-flag)
1005 (prolog-electric-dot-full-predicate-template)
1006 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1007 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1008 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1009 (prolog-program-switches, prolog-prompt-regexp)
1010 (prolog-debug-on-string, prolog-debug-off-string)
1011 (prolog-trace-on-string, prolog-trace-off-string)
1012 (prolog-zip-on-string, prolog-zip-off-string)
1013 (prolog-use-standard-consult-compile-method-flag)
1014 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1015 (prolog-imenu-max-lines, prolog-info-predicate-index)
1016 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1017 (prolog-char-quote-workaround):
1018 * progmodes/cc-vars.el (c-defun-tactic):
1019 * net/tramp.el (tramp-encoding-command-interactive)
1020 (tramp-local-end-of-line):
1021 * net/soap-client.el (soap-client):
1022 * net/netrc.el (netrc-file):
1023 * net/gnutls.el (gnutls):
1024 * minibuffer.el (completion-category-overrides)
1025 (completion-cycle-threshold)
1026 (completion-pcm-complete-word-inserts-delimiters):
1027 * man.el (Man-name-local-regexp):
1028 * mail/feedmail.el (feedmail-display-full-frame):
1029 * international/characters.el (glyphless-char-display-control):
1030 * eshell/em-ls.el (eshell-ls-date-format):
1031 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1032 (lisp-lambda-list-keyword-parameter-indentation)
1033 (lisp-lambda-list-keyword-parameter-alignment):
1034 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1035 * dired-x.el (dired-omit-verbose):
1036 * cus-theme.el (custom-theme-allow-multiple-selections):
1037 * calc/calc.el (calc-highlight-selections-with-faces)
1038 (calc-lu-field-reference, calc-lu-power-reference)
1039 (calc-note-threshold):
1040 * battery.el (battery-mode-line-limit):
1041 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1042 (archive-7z-update):
1043 * allout.el (allout-prefixed-keybindings)
1044 (allout-unprefixed-keybindings)
1045 (allout-inhibit-auto-fill-on-headline)
1046 (allout-flattened-numbering-abbreviation):
1047 * allout-widgets.el (allout-widgets-auto-activation)
1048 (allout-widgets-icons-dark-subdir)
1049 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1050 (allout-widgets-theme-dark-background)
1051 (allout-widgets-theme-light-background)
1052 (allout-widgets-item-image-properties-emacs)
1053 (allout-widgets-item-image-properties-xemacs)
1054 (allout-widgets-run-unit-tests-on-load)
1055 (allout-widgets-time-decoration-activity)
1056 (allout-widgets-hook-error-post-time)
1057 (allout-widgets-track-decoration):
1058 Add missing :version tags to new defcustoms and defgroups.
1059
5fec1b8e
GM
1060 * progmodes/sql.el (sql-ansi-statement-starters)
1061 (sql-oracle-statement-starters): Add custom type.
1062
3e0d2fa7
GM
1063 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1064 (prolog-system-version): Give it a type.
1065
90b671e2
EZ
10662012-02-11 Eli Zaretskii <eliz@gnu.org>
1067
1068 * term/pc-win.el (x-select-text, x-selection-owner-p)
1069 (x-own-selection-internal, x-disown-selection-internal)
1070 (x-get-selection-internal): Sync doc strings and argument lists
1071 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1072
5eac0c02
LL
10732012-02-11 Leo Liu <sdl.web@gmail.com>
1074
1075 * progmodes/python.el (python-end-of-statement): Fix infinite
1076 loop. (Bug#10788)
1077
f82cb659
GM
10782012-02-10 Glenn Morris <rgm@gnu.org>
1079
1080 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1081 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1082
cc26d239
LI
10832012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1084
1085 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1086 about SMTP before checking the From header.
1087
91027d08 1088 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1089 into own function for reuse by emacsbug.el.
1090
1be3ca5a
LL
10912012-02-10 Leo Liu <sdl.web@gmail.com>
1092
1093 * subr.el (condition-case-unless-debug): Rename from
1094 condition-case-no-debug. All callers changed.
1095 (with-demoted-errors): Fix caller.
1096
1097 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1098 * nxml/rng-valid.el (rng-do-some-validation):
1099 * emacs-lisp/package.el (package-refresh-contents)
1100 (package-menu-execute):
1101 * desktop.el (desktop-create-buffer):
91027d08 1102 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1103
b011fbfe
GM
11042012-02-10 Glenn Morris <rgm@gnu.org>
1105
b2096d72
GM
1106 * textmodes/bibtex.el:
1107 Add missing :version tags for new/changed defcustoms.
1108
b011fbfe
GM
1109 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1110
4c7e65bf
LI
11112012-02-09 Lars Ingebrigtsen <larsi@rusty>
1112
1113 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1114 (smtpmail-via-smtp): Use it, or fall back on the From address.
1115 (smtpmail-send-it): Ditto.
1116
f3934f6f
SM
11172012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1120 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1121 (byte-compile-tmp-var): New const.
1122 (byte-compile-defvar): Use it to minimize .elc size.
1123 Just use `defvar' rather than simulate it (bug#10761).
1124
a075a2c5
GM
11252012-02-09 Glenn Morris <rgm@gnu.org>
1126
cf3aa21b
GM
1127 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1128
354998cd
GM
1129 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1130 Add :version tags.
1131
dc9924b8
SM
1132 * progmodes/compile.el (compilation-error-screen-columns)
1133 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1134
dab3703d
GM
1135 * vc/log-view.el (log-view-toggle-entry-display):
1136 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1137
3f88cd72
GM
1138 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1139 (report-emacs-bug-can-use-xdg-email):
1140 (report-emacs-bug-insert-to-mailer): Doc fixes.
1141 (report-emacs-bug): Message fix.
1142
d95b247d
GM
1143 * net/browse-url.el (browse-url-can-use-xdg-open)
1144 (browse-url-xdg-open): Doc fixes.
1145
a075a2c5
GM
1146 * electric.el (electric-indent-mode, electric-pair-mode)
1147 (electric-layout-rules, electric-layout-mode): Doc fixes.
1148 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1149
ffb6157e
MR
11502012-02-08 Martin Rudalics <rudalics@gmx.at>
1151
1152 * server.el (server-unselect-display): Don't inadvertently kill
1153 the current buffer. (Bug#10729)
1154
e1ac4066
GM
11552012-02-08 Glenn Morris <rgm@gnu.org>
1156
34e8a2da
GM
1157 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1158 (sql-list-table): Doc fixes.
1159
b4ac6e8c
GM
1160 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1161 Comment out (does nothing).
1162
e1ac4066
GM
1163 * completion.el (dynamic-completion-mode):
1164 * dirtrack.el (dirtrack-debug-mode):
1165 * electric.el (electric-layout-mode):
1166 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1167 * face-remap.el (text-scale-mode, buffer-face-mode):
1168 * iimage.el (iimage-mode):
1169 * image-mode.el (image-transform-mode):
1170 * minibuffer.el (completion-in-region-mode):
1171 * scroll-lock.el (scroll-lock-mode):
1172 * simple.el (next-error-follow-minor-mode):
1173 * tar-mode.el (tar-subfile-mode):
1174 * tooltip.el (tooltip-mode):
1175 * vcursor.el (vcursor-use-vcursor-map):
1176 * wid-browse.el (widget-minor-mode):
1177 * emulation/tpu-edt.el (tpu-edt-mode):
1178 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1179 * international/iso-ascii.el (iso-ascii-mode):
1180 * language/thai-util.el (thai-word-mode):
1181 * mail/supercite.el (sc-minor-mode):
1182 * net/goto-addr.el (goto-address-mode):
1183 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1184 * progmodes/cwarn.el (cwarn-mode):
1185 * progmodes/flymake.el (flymake-mode):
1186 * progmodes/glasses.el (glasses-mode):
1187 * progmodes/hideshow.el (hs-minor-mode):
1188 * progmodes/pascal.el (pascal-outline-mode):
1189 * textmodes/enriched.el (enriched-mode):
1190 * vc/smerge-mode.el (smerge-mode):
1191 Doc fixes (minor mode argument).
1192
5e0d957f
EZ
11932012-02-07 Eli Zaretskii <eliz@gnu.org>
1194
1195 * ls-lisp.el (ls-lisp-sanitize): New function.
1196 (ls-lisp-insert-directory): Use it to fix or remove any elements
1197 in file-alist with missing attributes. (Bug#4673)
1198
98d7371e
AM
11992012-02-07 Alan Mackenzie <acm@muc.de>
1200
1201 Fix spurious recognition of c-in-knr-argdecl.
1202
1203 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1204 putative K&R region.
1205
667ced3a
AM
12062012-02-07 Alan Mackenzie <acm@muc.de>
1207
eb864a71
LM
1208 * progmodes/cc-engine.el (c-forward-objc-directive):
1209 Prevent looping in "#pragma mark @implementation".
667ced3a 1210
5b77774d
MA
12112012-02-07 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * notifications.el (notifications-on-closed-signal): Make `reason'
1214 optional. (Bug#10744)
1215
af008560
GM
12162012-02-07 Glenn Morris <rgm@gnu.org>
1217
60d47423
GM
1218 * emacs-lisp/easy-mmode.el (define-minor-mode):
1219 Doc fixes for the macro and the mode it defines.
1220
dd605cc4
GM
1221 * image.el (imagemagick-types-inhibit): Doc fix.
1222
af008560
GM
1223 * cus-start.el (imagemagick-render-type): Add it.
1224
5cc59a37
LI
12252012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1226
1227 * progmodes/cc-mode.el
1228 (c-standard-font-lock-fontify-region-function): Set the default at
1229 load time, too, so that `font-lock-fontify-buffer' can be called
1230 without setting up the entire mode first. This fixes a bug in
1231 `mm-inline-text' with C MIME parts.
1232
9a6dd747
CY
12332012-02-06 Chong Yidong <cyd@gnu.org>
1234
2d16b285
CY
1235 * simple.el (list-processes--refresh): Delete exited processes
1236 (Bug#8094).
1237
171e9b6e
CY
1238 * comint.el (comint-next-prompt): next-single-char-property-change
1239 and prev-single-char-property-change never return nil (Bug#8657).
1240
9a6dd747
CY
1241 * custom.el (defcustom): Doc fix (Bug#9711).
1242
aa4589a7
CY
12432012-02-05 Chong Yidong <cyd@gnu.org>
1244
5c2a252f
CY
1245 * cus-edit.el (custom-variable-reset-backup): Quote the value
1246 before storing it in the customized-value property (Bug#6712).
4aab9006 1247 (custom-display): Add a customization type tag.
983b9602 1248 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1249
aa4589a7
CY
1250 * wid-edit.el (widget-field-value-get): New optional arg to
1251 suppress trailing whitespace truncation.
1252 (character): Use it (Bug#2689).
1253
1ff980ae
AS
12542012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1255
1256 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1257 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1258
03988c98
CY
12592012-02-05 Chong Yidong <cyd@gnu.org>
1260
eeb6cc88
CY
1261 * cus-edit.el (custom-variable-value-create): For mismatched
1262 types, show the current value (Bug#7600).
1263
03988c98
CY
1264 * custom.el (defcustom): Doc fix.
1265
f8cdeef0
GM
12662012-02-05 Glenn Morris <rgm@gnu.org>
1267
1268 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1269
0696d255
JB
12702012-02-05 Juanma Barranquero <lekktu@gmail.com>
1271
1272 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1273 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1274 (pp-last-sexp): Use `looking-at-p'.
1275
34c99998
GM
12762012-02-04 Glenn Morris <rgm@gnu.org>
1277
8f05da42
GM
1278 * files.el (revert-buffer):
1279 Doc fix (mention revert-buffer-in-progress-p).
1280
f160676e
GM
1281 * emacs-lisp/ert-x.el (ert-simulate-command):
1282 Check deferred-action-list (which is obsolete) is bound.
1283
c7291ad9
GM
1284 * subr.el (with-wrapper-hook): Doc fixes.
1285
34c99998
GM
1286 * simple.el (filter-buffer-substring-functions)
1287 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1288
6283a7d3
LL
12892012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1290
1291 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1292 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1293
e96e3013
LL
12942012-02-04 Leo Liu <sdl.web@gmail.com>
1295
1296 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1297
8ded50f2
GM
12982012-02-04 Glenn Morris <rgm@gnu.org>
1299
82ff1d13
GM
1300 * image.el (image-extension-data): Add obsolete alias.
1301
987a0a16
GM
1302 * isearch.el (isearch-update): Doc fix.
1303
ea32ef46
GM
1304 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1305
8ded50f2
GM
1306 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1307
eea14f31
GM
13082012-02-03 Glenn Morris <rgm@gnu.org>
1309
1310 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1311 (image-animate-timeout): Doc fix.
1312
1313 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1314
12f381b7
GM
13152012-02-02 Glenn Morris <rgm@gnu.org>
1316
953cebf5
GM
1317 * server.el (server-auth-dir): Doc fix.
1318 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1319
12f381b7
GM
1320 * subr.el (run-mode-hooks): Doc fix.
1321
953a8c3b
JL
13222012-02-02 Juri Linkov <juri@jurta.org>
1323
1324 * image-mode.el (image-toggle-display-image): Remove tautological
1325 `major-mode' from the `derived-mode-p' test.
1326
c5d3843c
KH
13272012-02-02 Kenichi Handa <handa@m17n.org>
1328
9f6e692e 1329 * composite.el (compose-region): Cancel previous change.
c5d3843c 1330
159462d4 13312012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1332
1333 * composite.el (compose-region, compose-string): Signal error for
1334 a null string component (Bug#6988).
1335
9f562668
CY
13362012-02-01 Chong Yidong <cyd@gnu.org>
1337
e2cef717
CY
1338 * view.el (view-buffer-other-window, view-buffer-other-frame):
1339 Handle special modes like view-buffer (Bug#10650).
1340 (view-buffer): Simplify.
1341
9f562668
CY
1342 * frame.el (set-frame-font): Tweak meaning of third argument.
1343
9f6e692e
JB
1344 * dynamic-setting.el (font-setting-change-default-font):
1345 Use set-frame-font (Bug#9982).
9f562668 1346
781acb9f
GM
13472012-02-01 Glenn Morris <rgm@gnu.org>
1348
6035be52
GM
1349 * progmodes/compile.el (compilation-internal-error-properties):
1350 Respect compilation-first-column in the "*compilation*" buffer.
1351
781acb9f
GM
1352 * emacs-lisp/easy-mmode.el (define-minor-mode):
1353 Relax :variable's test for a named function.
1354
abbceb00
AM
13552012-01-31 Alan Mackenzie <acm@muc.de>
1356
1357 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1358 off by one error.
1359
fce3fdeb
CY
13602012-01-31 Chong Yidong <cyd@gnu.org>
1361
1362 * frame.el (set-frame-font): New arg ALL-FRAMES.
1363
1364 * menu-bar.el (menu-set-font): Use set-frame-font.
1365
1366 * faces.el (face-spec-reset-face): Don't apply unspecified
1367 attribute values to the default face.
1368
47893581
JB
13692012-01-31 Juanma Barranquero <lekktu@gmail.com>
1370
1371 * progmodes/cwarn.el (cwarn): Remove dead link.
1372 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1373 Remove * from defcustom docstrings.
1374 (turn-on-cwarn-mode): Make obsolete.
1375 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1376 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1377
e58e988a
GM
13782012-01-31 Glenn Morris <rgm@gnu.org>
1379
60dc2671 1380 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1381 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1382 Allow named functions to be used as the cdr of :variable.
e58e988a 1383
7a3f511d
GM
13842012-01-30 Glenn Morris <rgm@gnu.org>
1385
1386 * emacs-lisp/authors.el (authors-fixed-entries):
1387 Remove reference to deleted file rnewspost.el.
1388
cb882333
JB
13892012-01-29 Juanma Barranquero <lekktu@gmail.com>
1390
1391 * window.el (window-with-parameter): Remove unused variable `windows'.
1392 (window--side-check): Remove unused variable `code'.
1393 (window--resize-siblings): Remove unused variable `first'.
1394 (adjust-window-trailing-edge): Remove unused variable `failed'.
1395 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1396 Use `let', not `let*'.
1397 (balance-windows-2): Remove unused variable `found'.
1398 (window--state-put-2): Remove unused variable `splits'.
1399 (window-state-put): Remove unused variable `selected'.
1400 (same-window-p): Use `string-match-p'.
1401 (display-buffer-assq-regexp): Remove unused variable `value'.
1402 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1403 Mark argument ALIST as ignored.
1404 (pop-to-buffer): Remove unused variable `old-window'.
1405
907201af
EZ
14062012-01-29 Eli Zaretskii <eliz@gnu.org>
1407
1408 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1409 and .lzma compressed files.
1410
ea162670
CY
14112012-01-29 Chong Yidong <cyd@gnu.org>
1412
5b95ee8a
CY
1413 * frame.el (window-system-default-frame-alist): Doc fix.
1414
ea162670
CY
1415 * dynamic-setting.el (font-setting-change-default-font): Don't
1416 change the default face if SET-FONT argument is non-nil (Bug#9982).
1417
d6e6f4b1
SB
14182012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1419
1420 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1421
0f29fa41 14222012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1423
1424 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1425 breakpoints in files outside current directory (Bug#6098).
1426
db174434
CY
14272012-01-29 Chong Yidong <cyd@gnu.org>
1428
6b25e4e2
SE
1429 * progmodes/python.el: Require ansi-color at top-level.
1430
6df6ae42
JB
1431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1432 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1433 (lisp-mode-abbrev-table): Add doc.
1434 (lisp-mode-variables): Don't set local-abbrev-table.
1435 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1436
e70ee681
RW
14372012-01-28 Roland Winkler <winkler@gnu.org>
1438
1439 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1440
ace88aa2
RW
14412012-01-28 Roland Winkler <winkler@gnu.org>
1442
1443 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1444 (bibtex-set-dialect): Use it. Either set global values of
1445 dialect-dependent variables or bind these variables buffer-locally
1446 (Bug#10254).
1447 (bibtex-mode): Call bibtex-set-dialect via
1448 hack-local-variables-hook.
eb864a71
LM
1449 (bibtex-dialect): Update docstring.
1450 Add safe-local-variable predicate.
ace88aa2
RW
1451 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1452 bibtex-set-dialect.
1453 (bibtex-mode-map): Define menu for each dialect.
1454 (bibtex-entry): Fix docstring.
1455
93376c5b
CY
14562012-01-28 Chong Yidong <cyd@gnu.org>
1457
1458 * eshell/esh-arg.el (eshell-quote-argument): New function.
1459
1460 * eshell/esh-ext.el (eshell-invoke-batch-file):
1461 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1462 first arg to eshell-parse-command (Bug#10523).
1463
4372494f
DA
14642012-01-28 Drew Adams <drew.adams@oracle.com>
1465
1466 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1467 `default-directory' is non-nil.
1468
4d4ec1f8
EZ
14692012-01-28 Eli Zaretskii <eliz@gnu.org>
1470
1471 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1472 line that displays system-configuration-options. (Bug#9924)
1473
7c188927
DA
14742012-01-28 Drew Adams <drew.adams@oracle.com>
1475
1476 * descr-text.el (describe-char): Show information about POS, in
1477 addition to information about the character at POS. Improve and
1478 update the doc string. Change "code point" to "code point in
1479 charset", to avoid confusion with the character's Unicode code
1480 point shown above that. (Bug#10129)
1481
e0da685a
EZ
14822012-01-28 Eli Zaretskii <eliz@gnu.org>
1483
1484 * descr-text.el (describe-char): Show the raw character, not only
1485 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1486 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1487 for the reasons.
1488
70550acf
PH
14892012-01-28 Phil Hagelberg <phil@hagelb.org>
1490
eb864a71
LM
1491 * emacs-lisp/package.el (package-install):
1492 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1493
0ce8e868
CY
14942012-01-28 Chong Yidong <cyd@gnu.org>
1495
cb882333
JB
1496 * emacs-lisp/package.el (package-maybe-load-descriptor):
1497 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1498 (package-maybe-load-descriptor): Use it.
1499 (package-download-transaction): Fully load required packages
1500 inside the loop, so that `require' calls work (Bug#10593).
1501 (package-install): No need to call package-initialize now.
1502
2e7f3bea
CY
15032012-01-28 Chong Yidong <cyd@gnu.org>
1504
6e9bad14
CY
1505 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1506
f823b8ca
CY
1507 * tooltip.el (tooltip-mode): Doc fix.
1508 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1509
2680c309
CY
1510 * frame.el (set-cursor-color): Doc fix (Bug#352).
1511
d7a9e63b
CY
1512 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1513 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1514
2e7f3bea
CY
1515 * cus-edit.el (custom-buffer-create-internal): Fix search button
1516 action (Bug#10542).
2ae01800 1517 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1518
fc4f7a23
EW
15192012-01-27 Eduard Wiebe <usenet@pusto.de>
1520
1521 * dired.el (dired-mark-files-regexp):
1522 Include any subdirectory components. (Bug#10445)
1523
7dd37071
ML
15242012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1525
1526 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1527 Handle [host]:port syntax. (Bug#10533)
1528
a268160b
AH
15292012-01-27 Alex Harsanyi <harsanyi@mac.com>
1530
1531 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1532
e43273ef
GM
15332012-01-26 Glenn Morris <rgm@gnu.org>
1534
1535 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1536 * term.el (term-raw-escape-map): Use Control-X-prefix.
1537 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1538
1edf595d
MR
15392012-01-25 Martin Rudalics <rudalics@gmx.at>
1540
1541 * window.el (window-state-get, window--state-get-1): Don't deal
1542 with fixed-sizeness of windows. Simplify code.
1543
fa8eafef
JC
15442012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1545
6df6ae42
JB
1546 * window.el (window--state-get-1, window--state-put-2):
1547 Don't save and restore the mark.
fa8eafef 1548
0b21c100
CY
15492012-01-25 Chong Yidong <cyd@gnu.org>
1550
1551 * custom.el (custom-variable-p): Doc fix.
1552
5ae1a6c8
GM
15532012-01-25 Glenn Morris <rgm@gnu.org>
1554
40047858
GM
1555 * dired.el (dired-goto-file): Handle some of the more common
1556 characters that `ls -b' escapes. (Bug#10596)
1557
5ddce96c
GM
1558 * progmodes/compile.el (compilation-next-error-function):
1559 Respect compilation-first-column in the "*compilation*" buffer.
1560 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1561
5ae1a6c8
GM
1562 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1563
b559f1a9
GM
15642012-01-24 Glenn Morris <rgm@gnu.org>
1565
1566 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1567
6725d21a
JD
15682012-01-24 Julien Danjou <julien@danjou.info>
1569
1570 * color.el (color-rgb-to-hsl): Fix value computing.
1571 (color-hue-to-rgb): New function.
1572 (color-hsl-to-rgb): New function.
1573 (color-clamp, color-saturate-hsl, color-saturate-name)
1574 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1575 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1576
70df4bbe
GM
15772012-01-24 Glenn Morris <rgm@gnu.org>
1578
1579 * vc/vc-rcs.el (vc-rcs-create-tag):
1580 * vc/vc-sccs.el (vc-sccs-create-tag):
1581 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1582
802a2ae2
ML
15832012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1584
1585 * eshell/esh-util.el (eshell-read-hosts-file):
1586 Skip comment lines. (Bug#10549)
1587
d7128bb1
ML
1588 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1589
d1a5c3b4
JB
15902012-01-23 Juanma Barranquero <lekktu@gmail.com>
1591
2724d9c7
JB
1592 * subr.el (display-delayed-warnings): Doc fix.
1593 (collapse-delayed-warnings): New function to collapse identical
1594 adjacent warnings.
1595 (delayed-warnings-hook): Add it.
d1a5c3b4 1596
a5509865
MA
15972012-01-22 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1600
1601 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1602 properties, when "login-as" is set.
1603
1604 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1605 (tramp-default-user-alist): Don't add "pscp".
1606 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1607 property "login-as", if set. (Bug#10530)
1608
cc6d5805
MA
16092012-01-21 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1612 "plink1" and "psftp". (Bug#10530)
1613
16142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1615
1616 * international/mule-cmds.el (prefer-coding-system): Show a
1617 warning message if the default value of file-name-coding-system
1618 was not changed.
1619
f0960428
JC
16202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1621
cb882333
JB
1622 * windmove.el (windmove-reference-loc):
1623 Fix windmove-reference-loc miscalculation.
f0960428 1624
dd6f2a63
JB
16252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1626
1627 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1628 default unit.
1629
7b447e9b
GM
16302012-01-21 Glenn Morris <rgm@gnu.org>
1631
117a9ea1
GM
1632 * international/mule.el (auto-coding-alist): Add .tbz.
1633
7b447e9b
GM
1634 * files.el (local-enable-local-variables): Doc fix.
1635 (inhibit-local-variables-regexps): Rename from
1636 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1637 Doc fix. Add some extensions from auto-coding-alist.
1638 (inhibit-local-variables-suffixes):
1639 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1640 (inhibit-local-variables-p):
1641 New function, extracted from set-auto-mode-1.
1642 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1643 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1644 (hack-local-variables): Doc fix. Make the mode-only case
1645 respect enable-local-variables and friends.
1646 Respect inhibit-local-variables-regexps for file-locals, but
1647 not for directory-locals.
1648 (set-visited-file-name):
1649 Take account of inhibit-local-variables-regexps.
1650 Whether it applies may change as the file name is changed.
1651 * jka-cmpr-hook.el (jka-compr-install):
1652 * jka-compr.el (jka-compr-uninstall):
1653 Update for inhibit-first-line-modes-suffixes name change.
1654
dd6e3cdd
MR
16552012-01-20 Martin Rudalics <rudalics@gmx.at>
1656
1657 * help-macro.el (make-help-screen): Temporarily restore original
1658 binding for minor-mode-map-alist (Bug#10454).
1659
0d0deb38
JD
16602012-01-19 Julien Danjou <julien@danjou.info>
1661
1662 * color.el (color-name-to-rgb): Use the white color to find the max
1663 color component value and return correctly computed values.
1664 (color-name-to-rgb): Add missing float conversion for max value.
1665
34a02f46
MR
16662012-01-19 Martin Rudalics <rudalics@gmx.at>
1667
1668 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1669 special state value for window-persistent-parameters.
1670 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1671 (window--state-put-2): Reset all window parameters to nil before
1672 assigning values of persistent parameters.
1673
606c44c4
AM
16742012-01-18 Alan Mackenzie <acm@muc.de>
1675
1676 Eliminate sluggishness and hangs in fontification of "semicolon
1677 deserts".
1678
cb882333
JB
1679 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1680 Change value 10000 -> 3000.
606c44c4
AM
1681 (c-state-safe-place): Reformulate so it doesn't stack up an
1682 infinite number of wrong entries in c-state-nonlit-pos-cache.
1683 (c-determine-limit-get-base, c-determine-limit): New functions to
1684 determine backward search limits disregarding literals.
1685 (c-find-decl-spots): Amend commenting.
1686 (c-cheap-inside-bracelist-p): New function which detects "={".
1687
1688 * progmodes/cc-fonts.el
1689 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1690 backward search.
1691 (c-font-lock-declarations): Fix an occurrence of point being
1692 undefined. Check additionally for point being in a bracelist or
1693 near a macro invocation without a semicolon so as to avoid a
1694 fruitless time consuming search for a declarator. Give a more
1695 precise search limit for declarators using the new
1696 c-determine-limit.
1697
f3860cea
GM
16982012-01-18 Glenn Morris <rgm@gnu.org>
1699
1700 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1701 (set-auto-mode): Doc fixes.
1702
1db03b16
GM
17032012-01-17 Glenn Morris <rgm@gnu.org>
1704
0e6038be
GM
1705 * isearch.el (search-nonincremental-instead): Fix doc typo.
1706
1db03b16
GM
1707 * dired.el (dired-insert-directory): Handle newlines in directory name.
1708 (dired-build-subdir-alist): Unescape newlines in directory name.
1709
4cb0aa75
MA
17102012-01-17 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1713 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1714 (tramp-action-terminal): Use it. (Bug#10530)
1715
1d00653d
SM
17162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1719
6a6ee00d
MR
17202012-01-16 Martin Rudalics <rudalics@gmx.at>
1721
1722 * window.el (window-state-ignored-parameters): Remove variable.
1723 (window--state-get-1): Rename argument MARKERS to IGNORE.
1724 Handle persistent window parameters. Make copy of clone-of
1725 parameter only if requested. (Bug#10348)
1726 (window--state-put-2): Install a window parameter only if it has
1727 a non-nil value or an existing parameter shall be overwritten.
1728
97912def
MA
17292012-01-15 Michael Albinus <michael.albinus@gmx.de>
1730
1731 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1732
688070a5
EZ
17332012-01-14 Eli Zaretskii <eliz@gnu.org>
1734
1735 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1736 don't pass the (nil) value of `upnode' to string-match.
1737
301afadc
CY
17382012-01-14 Chong Yidong <cyd@gnu.org>
1739
1740 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1741 Fix values recognized by the cursorBlink resource.
301afadc 1742
9e5788aa
PE
17432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1744
1745 * epg.el (epg--make-temp-file): Avoid permission race condition
1746 when running on old Emacs versions (bug#10403).
1747
3cdb7f5a
GM
17482012-01-14 Glenn Morris <rgm@gnu.org>
1749
1750 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1751
8c82b1b4
AM
17522012-01-13 Alan Mackenzie <acm@muc.de>
1753
1754 Fix filling for when filladapt mode is enabled.
1755
1756 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1757 c-mask-paragraph, pass in `fill-paragraph' rather than
1758 `fill-region-as-paragraph'. (This is a reversion of a previous
1759 change.)
eb864a71
LM
1760 * progmodes/cc-mode.el (c-basic-common-init):
1761 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1762
e517eda4
GM
17632012-01-13 Glenn Morris <rgm@gnu.org>
1764
1498536e
GM
1765 * dired.el (dired-switches-escape-p): New function.
1766 (dired-insert-directory): Use dired-switches-escape-p.
1767 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1768
e517eda4
GM
1769 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1770
328f984d
GM
17712012-01-12 Glenn Morris <rgm@gnu.org>
1772
1773 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1774 changes in adaptive-fill-regexp. (Bug#10276)
1775
2cc769a8
AM
17762012-01-11 Alan Mackenzie <acm@muc.de>
1777
1778 Fix Emacs bug #10463 - put `widen's around the critical spots.
1779
1d00653d 1780 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1781 widen around each invocation of c-state-pp-to-literal. Remove an
1782 unused let variable.
1783
e52c37fa
GM
17842012-01-11 Glenn Morris <rgm@gnu.org>
1785
1786 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1787 Doc fix.
e52c37fa 1788
96f8741e
CY
17892012-01-10 Chong Yidong <cyd@gnu.org>
1790
1d00653d
SM
1791 * net/network-stream.el (network-stream-open-starttls):
1792 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1793 response to the capability command.
1794
b09a806e
GM
17952012-01-10 Glenn Morris <rgm@gnu.org>
1796
1797 * mail/unrmail.el (unrmail): Tweak previous change.
1798
7655cb66
CY
17992012-01-09 Chong Yidong <cyd@gnu.org>
1800
1801 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1802
9d5a8f0b
AM
18032012-01-08 Alan Mackenzie <acm@muc.de>
1804
1805 Optimise font locking in long enum definitions.
1806
1807 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1808 arm to a cond form to handle enums.
1809 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1810 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1811
9a0115ab 18122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1813
1814 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1815 (Bug#10401)
6bb72cbd 1816
f186bb95
LMI
18172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1818
29232a68
LMI
1819 * faces.el (set-face-attribute): Clarify the meaning of the nil
1820 frame (bug#10294).
1821
4e5d086d
LMI
1822 * subr.el (with-selected-frame): Mention that the selected frame
1823 is restored (bug#9980).
1824
8e66aebe
LMI
1825 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1826 (bug#9759).
1827
cd394be1 1828 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1829 (password-read): Don't autoload unused function.
1830
adf4e762
JB
18312012-01-07 Juanma Barranquero <lekktu@gmail.com>
1832
1833 * progmodes/which-func.el (which-func-mode): Turn into a
1834 non-interactive function and mark as obsolete (bug#10428).
1835
89bd9ccd
CY
18362012-01-06 Chong Yidong <cyd@gnu.org>
1837
1838 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1839 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1840 functions, along with 1 and -1.
1841
4afee9d5
EZ
18422012-01-06 Eli Zaretskii <eliz@gnu.org>
1843
1844 * time.el (display-time-load-average)
1845 (display-time-default-load-average): Doc fixes. See the thread
1846 starting at
1847 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1848 for the details.
1849
536aea70
GM
18502012-01-06 Glenn Morris <rgm@gnu.org>
1851
665ae865
GM
1852 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1853 has no messages. (Bug#10377)
1854
c869783d
GM
1855 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1856 than Info-edit. (Bug#10385)
1857
2bb4227e
GM
1858 * time.el (display-time-load-average, display-time-next-load-average):
1859 Doc fixes.
1860
7d5944b9
GM
1861 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1862 local setting of buffer-read-only to the input buffer. (Bug#10419)
1863
536aea70
GM
1864 * calendar/calendar.el (calendar-mode):
1865 Locally set scroll-margin to 0. (Bug#10379)
1866
7dccca16
UM
18672012-01-06 Ulrich Mueller <ulm@gentoo.org>
1868
1869 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1870
afbb7930
GM
18712012-01-05 Glenn Morris <rgm@gnu.org>
1872
1873 * eshell/em-unix.el (diff-no-select): Autoload it.
1874 (eshell/diff): Use diff-no-select. (Bug#10420)
1875
04482335
CY
18762012-01-05 Chong Yidong <cyd@gnu.org>
1877
7baca3bc
CY
1878 * shell.el (shell-dynamic-complete-functions): Revert last change.
1879 (shell-command-completion-function): New function.
1880 (shell-completion-vars): Use it to implement
1881 shell-completion-execonly (Bug#10417).
1882
04482335
CY
1883 * custom.el (enable-theme): Don't set custom-safe-themes.
1884
1d00653d
SM
1885 * cus-theme.el (custom-theme-merge-theme):
1886 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1887
bb5aa5d6
MM
18882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1889
1890 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1891 first prompt in `sql-interacive-mode'.
1892 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1893 keywords.
6df6ae42 1894 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1895 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1896 context of original buffer. Invoke `sql-login-hook'.
1897
a7183d7c
EZ
18982012-01-04 Eli Zaretskii <eliz@gnu.org>
1899
1900 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1901 letters in cite-prefix.
1902
a1eacd1e
LMI
19032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1904
1905 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1906
787cdb34
CY
19072012-01-03 Chong Yidong <cyd@gnu.org>
1908
1d00653d
SM
1909 * shell.el (shell-dynamic-complete-functions):
1910 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1911 comint-filename-completion first (Bug#10417).
1912
30710442
RS
19132012-01-02 Richard Stallman <rms@gnu.org>
1914
1915 * battery.el (battery-status-function):
1916 Detect when to use battery-yeeloong-sysfs.
1917 (battery-echo-area-format): Add string for Yeeloong.
1918 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1919 (battery-yeeloong-sysfs): New function.
1920
f75bfc33
CY
19212012-01-02 Chong Yidong <cyd@gnu.org>
1922
1923 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1924 (dirtrack): Merge code for handling relative filenames in prompt
1925 from shell-dir-cookie-watcher.
1926 (dirtrack-debug-message): New arg to avoid excess format calls.
1927
1928 * shell.el (shell-dir-cookie-re): Variable deleted.
1929 (shell-dir-cookie-watcher): Function deleted.
1930 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1931 with dirtrack-mode.
1932
651e947e
EZ
19332012-01-01 Eli Zaretskii <eliz@gnu.org>
1934
1d00653d
SM
1935 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1936 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1937 libgnutls-26.dll.
1938
94d4c7dc
AS
19392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1940
1941 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1942
8d43f3cd
EZ
19432011-12-31 Eli Zaretskii <eliz@gnu.org>
1944
1945 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1946 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1947
98c8795a
MA
19482011-12-29 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1951 also for alternative shells.
1952 (tramp-open-connection-setup-interactive-shell): Check, whether
1953 the shell is a busybox.
1954 (tramp-send-command): Don't suppress multiple prompts for
1955 busyboxes, it hurts.
1956
51281b32
CY
19572011-12-28 Chong Yidong <cyd@gnu.org>
1958
1959 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1960 (gdb-get-source-file): Move mode line update to
1961 gdb-get-source-file (Bug#10087).
1962
2170cb53
CY
19632011-12-25 Chong Yidong <cyd@gnu.org>
1964
1965 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1966 gud-gdb-marker-filter without taking it as an argument.
1967 (gud-gdb-run-command-fetch-lines): Caller changed.
1968 (gud-gdb-completion-function): New variable.
1969 (gud-gdb-completion-at-point): Use it.
1970 (gud-gdb-completions-1): Split from gud-gdb-completions.
1971
1972 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1973 function as separate arguments.
1974 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1975 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1976 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1977 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1978 (gdb-stopped, def-gdb-auto-update-trigger)
1979 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1980 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1981 Callers changed.
2170cb53
CY
1982 (gud-gdbmi-completions): New function.
1983 (gdb): Use it for generating the completion table.
1984
be8b11bb
AM
19852011-12-24 Alan Mackenzie <acm@muc.de>
1986
1987 Introduce a mechanism to widen the region used in context font
1d00653d 1988 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1989
1d00653d
SM
1990 * progmodes/cc-langs.el (c-before-font-lock-functions):
1991 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1992 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1993 functions to be run just before context (etc.) font locking.
1994
1995 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1996 New, functionality extracted from
be8b11bb 1997 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1998 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1999 (c-after-change): Set c-in-after-change-fontification.
2000 (c-set-fl-decl-start): Rejig its interface, so it can be called
2001 from both after-change and context fontifying.
b81d40f0
JB
2002 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2003 New functions.
2004 (c-standard-font-lock-fontify-region-function): New variable.
2005 (c-font-lock-fontify-region): New function.
be8b11bb 2006
341cf6ac
JL
20072011-12-24 Juri Linkov <juri@jurta.org>
2008
2009 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2010 (Bug#10348)
2011
bffcee0a
MA
20122011-12-23 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2015 existence of source file. (Bug#10325)
2016
cb5e207c
AM
20172011-12-23 Alan Mackenzie <acm@muc.de>
2018
2019 Fix unstable fontification inside templates.
2020
b81d40f0
JB
2021 * progmodes/cc-langs.el (c-before-font-lock-functions):
2022 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2023 additionally has c-set-fl-decl-start. The other languages (apart
2024 from AWK) have that as a single entry.
2025
b81d40f0
JB
2026 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2027 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2028 c-set-fl-decl-start.
2029
b81d40f0
JB
2030 * progmodes/cc-mode.el (c-common-init, c-after-change):
2031 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2032 (c-set-fl-decl-start): New function, extracted from
2033 c-font-lock-enclosing-decls and enhanced.
2034
60ff536c
JB
20352011-12-23 Juanma Barranquero <lekktu@gmail.com>
2036
2037 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2038
1c4757d6
JL
20392011-12-22 Juri Linkov <juri@jurta.org>
2040
2041 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2042
d031f2c7
CY
20432011-12-22 Chong Yidong <cyd@gnu.org>
2044
2045 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2046
bace743a
DA
20472011-12-21 Drew Adams <drew.adams@oracle.com>
2048
2049 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2050
728a1f2b
JC
20512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2052
2053 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2054
0d373f73
TZ
20552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2056
fec0aaa4
TZ
2057 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2058 highlighting and support. Fix up comments for capitalization.
2059 (cfengine-mode-debug): New var.
2060 (cfengine3-mode): Change the modeline indicator to "CFE3".
2061 (cfengine3-font-lock-keywords): Improve defun highlighting.
2062 (cfengine2-actions): Rename from `cfengine-actions'.
2063 (cfengine2-font-lock-keywords): Rename from
2064 `cfengine-font-lock-keywords'.
2065 (cfengine2-imenu-expression): Rename from
2066 `cfengine-imenu-expression'.
2067 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2068 (cfengine2-beginning-of-defun): Rename from
2069 `cfengine-beginning-of-defun'.
2070 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2071 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2072 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2073 modeline indicator to "CFE2".
2074 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2075 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2076
bc86f573
CY
20772011-12-21 Chong Yidong <cyd@gnu.org>
2078
2079 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2080 filename argument.
2081
d45ba96b
MR
20822011-12-20 Martin Rudalics <rudalics@gmx.at>
2083
2084 * window.el (window-normalize-buffer-to-display): Remove.
2085 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2086
a6198c90
CY
20872011-12-19 Chong Yidong <cyd@gnu.org>
2088
2089 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2090 Don't signal an error in a predicate function; return non-nil.
2091 (vc-dir-mark-file): Move the error here.
2092 (vc-dir-mark-unmark): If acting on the region, keep going if one
2093 of the entries cannot be marked/unmarked.
2094 (vc-dir-mark-all-files): If current entry is a directory, mark
2095 only child files, as documented.
2096
34c5fb55
VB
20972011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2098
2099 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2100 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2101 addition.
2102
c803b2b7
JD
21032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2104
2105 * term/ns-win.el (ns-get-selection-internal)
2106 (ns-store-selection-internal): Declare.
1154d12e
JB
2107 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2108 Declare as obsolete.
2109 (ns-get-pasteboard, ns-paste-secondary):
2110 Use ns-get-selection-internal.
2111 (ns-set-pasteboard, ns-copy-including-secondary):
2112 Use ns-store-selection-internal.
c803b2b7 2113
9cff91f8 21142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2115
2116 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2117 (vc-deduce-fileset): Doc fix.
99a289d9 2118
f16c898a
AS
21192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2120
2121 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2122
763237c4
SS
21232011-12-13 Sam Steingold <sds@gnu.org>
2124
2125 * man.el (Man-getpage-in-background): When running under a
2126 window-system, ignore $MANWIDTH and $COLUMNS.
2127
5fc1c122
KH
21282011-12-15 Kenichi Handa <handa@m17n.org>
2129
2130 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2131 (setup-ethiopic-environment-internal): Comment out key-binding for
2132 ethio-toggle-punctuation.
2133
13d49cbb
AM
21342011-12-13 Alan Mackenzie <acm@muc.de>
2135
898169a2
AM
2136 Add the switch statement to AWK Mode.
2137
7a71b18d 2138 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2139 "default" to the keywords regexp.
2140
7a71b18d 2141 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2142 expression as the rest.
1d00653d
SM
2143 (c-nonlabel-token-key): Allow string literals for AWK.
2144 Refactor for the other modes.
898169a2 2145
13d49cbb 2146 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2147 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2148 routines. Limit backward searching in c-font-lock-enclosing.decl.
2149
2150 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2151 pp-state and literal type in addition to the limits.
1d00653d 2152 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2153 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2154 (c-slow-in-literal, c-fast-in-literal): Remove.
2155 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2156
2157 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2158 being in a literal. Add a limit for backward searching.
2159
2160 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2161 c-slow-in-literal.
2162
15e0efc7
SM
21632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2166
454592a6
MR
21672011-12-13 Martin Rudalics <rudalics@gmx.at>
2168
2169 * window.el (delete-other-windows): Use correct frame in call to
2170 window-with-parameter.
2171
87393f26
DP
21722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2173
2174 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2175 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2176 (makefile-gmake-statements, makefile-makepp-statements):
2177 Use it and add new makepp keywords.
2178 (makefile-makepp-font-lock-keywords): Add new patterns.
2179 (makefile-match-function-end): Match new [...] and [[...]].
2180
11636b22
JB
21812011-12-11 Juanma Barranquero <lekktu@gmail.com>
2182
2183 * ses.el (ses-call-printer-return, ses-cell-property-get)
2184 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2185 (ses-create-cell-variable, ses-reset-header-string)
2186 (ses-cell-set-formula, ses-repair-cell-reference-all)
2187 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2188 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2189 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2190 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2191 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2192 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2193 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2194 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2195 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2196 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2197 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2198 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2199
cf018193
VB
22002011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2201
2202 * ses.el: The overall change is to add cell renaming, that is
2203 setting fancy names for cell symbols other than name matching
2204 "\\`[A-Z]+[0-9]+\\'" regexp .
2205 (ses-create-cell-variable): New defun.
2206 (ses-relocate-formula): Relocate formulas only for cells the
2207 symbols of which are not renamed, i.e. symbols whose names do not
2208 match regexp "\\`[A-Z]+[0-9]+\\'".
2209 (ses-relocate-all): Relocate values only for cells the symbols of
2210 which are not renamed.
2211 (ses-load): Create cells variables as the (ses-cell ...) are read,
2212 in order to check row col consistency with cell symbol name only
2213 for cells that are not renamed.
2214 (ses-replace-name-in-formula): New defun.
2215 (ses-rename-cell): New defun.
2216
ee957461
CY
22172011-12-11 Chong Yidong <cyd@gnu.org>
2218
2219 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2220 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2221
9a9e9ef0
MR
22222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2223
2224 * window.el (other-window): Fix docstring.
2225
92a8eba5
EZ
22262011-12-10 Eli Zaretskii <eliz@gnu.org>
2227
2228 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2229 `from' or `to' address before taking its substring.
2230 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2231 encoded name is chopped in the middle of the encoded string, and
2232 thus displayed encoded.
2233
e152e577
JB
22342011-12-10 Juanma Barranquero <lekktu@gmail.com>
2235
2236 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2237
e5d84bfe
EZ
22382011-12-10 Eli Zaretskii <eliz@gnu.org>
2239
2240 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2241 to use texinfo-update-node and commands that call it if the
2242 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2243 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2244 (texinfo-all-menus-update, texinfo-master-menu)
2245 (texinfo-update-node, texinfo-every-node-update)
2246 (texinfo-multiple-files-update): Doc fix. Warn against updating
2247 all the @node lines.
2248 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2249 argument is numeric. Explain better in the doc string what the
2250 function really does.
2251 (texinfo-insert-master-menu-list): Improve the error message
2252 displayed if there's no menu in the Top node.
2253 (Bug#2975) See also this thread:
e5d84bfe
EZ
2254 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2255
1d84e9bb
MG
22562011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2257
2258 * speedbar.el (speedbar-supported-extension-expressions):
2259 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2260
382c953b
JB
22612011-12-09 Juanma Barranquero <lekktu@gmail.com>
2262
2263 * printing.el (pr-mode-alist):
2264 * simple.el (filter-buffer-substring-functions)
2265 (completion-list-insert-choice-function):
2266 * window.el (window-with-parameter, window-atom-root)
2267 (window-sides-slots, window-size-fixed, window-min-delta)
2268 (window-max-delta, window--resize-mini-window)
2269 (window--resize-child-windows-normal, window-tree)
2270 (delete-other-windows, quit-window, split-window)
2271 (display-buffer-record-window, special-display-buffer-names)
2272 (special-display-regexps, special-display-popup-frame)
2273 (same-window-p, split-window-sensibly)
2274 (display-buffer-overriding-action, display-buffer-alist)
2275 (display-buffer-base-action, display-buffer, switch-to-buffer)
2276 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2277 (fit-window-to-buffer, recenter-positions)
2278 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2279 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2280 and remove unneeded backslashes in docstrings.
2281
39c9faef
SM
22822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2283
98449af8
SM
2284 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2285
39c9faef
SM
2286 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2287 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2288 end in ".mk".
2289 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2290 when reading the makefile (bug#10116).
2291
86ed9fdc
SM
22922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2295 (bug#10116).
2296
5580f89d
GM
22972011-12-06 Glenn Morris <rgm@gnu.org>
2298
2299 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2300
28d3917c
CY
23012011-12-06 Chong Yidong <cyd@gnu.org>
2302
2303 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2304
a98edce9
JB
23052011-12-06 Juanma Barranquero <lekktu@gmail.com>
2306
2307 * textmodes/table.el (table-shorten-cell): Fix typo.
2308
e65adfac
CG
23092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2310
2311 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2312
71cc0b74
EZ
23132011-12-05 Eli Zaretskii <eliz@gnu.org>
2314
2315 * descr-text.el (describe-char): Fix display of strong
2316 right-to-left characters and directional embeddings and overrides.
2317
2318 * simple.el (what-cursor-position): Fix display of codepoints of
2319 strong right-to-left characters.
2320
315bc30d
CY
23212011-12-05 Chong Yidong <cyd@gnu.org>
2322
2323 * faces.el (read-color): Doc fix.
2324
58a70b94
GM
23252011-12-05 Glenn Morris <rgm@gnu.org>
2326
2327 * align.el (align--set-marker): Add doc-string.
2328 Don't try to move something that is not a marker. (Bug#10216)
2329
5158face
GM
23302011-12-04 Glenn Morris <rgm@gnu.org>
2331
2332 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2333 overly zealous deletion of trailing whitespace.
2334
520fca41
JB
23352011-12-04 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * server.el (server-delete-client): On Windows, do not try to delete
2338 the only terminal.
2339 (server-process-filter): On Windows, treat requests for a tty frame as
2340 if they were for a GUI frame if the running server is in GUI mode.
2341
5e605a2e
GM
23422011-12-03 Glenn Morris <rgm@gnu.org>
2343
2344 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2345
5c3fe83f
SM
23462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2347
6f5e57e7
SM
2348 * electric.el: Streamline electric-indent's hook.
2349 (electric-indent-chars): Revert to simple list.
2350 (electric-indent-functions): New var.
2351 (electric-indent-post-self-insert-function): Use it.
2352
5c3fe83f
SM
2353 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2354 there's no inferior buffer (bug#10196).
2355 (prolog-consult-compile): Don't use toggle-read-only.
2356
6bdac736
MA
23572011-12-02 Michael Albinus <michael.albinus@gmx.de>
2358
2359 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2360 interrupt. (Bug#10187)
2361
6131ba7f
SM
23622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2363
99c79fee
SM
2364 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2365 (bug#9160).
2366
6131ba7f
SM
2367 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2368 (bug#10191).
2369
cb0a02ea
JL
23702011-12-02 Juri Linkov <juri@jurta.org>
2371
2372 * info.el (Info-search): Display "end of manual" when Isearch
2373 reaches the end of single-file Info manual. (Bug#9918)
2374
66e0570c
EZ
23752011-12-02 Eli Zaretskii <eliz@gnu.org>
2376
2377 * isearch.el (isearch-message-prefix): Run the input method part
2378 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2379
02b16839
JL
23802011-12-02 Juri Linkov <juri@jurta.org>
2381
2382 * isearch.el (isearch-occur): Use `word-search-regexp' for
2383 `isearch-word'.
2384 (isearch-search-and-update): Add condition for `isearch-word' and
2385 call `word-search-regexp'. (Bug#10145)
2386
0b950688
GM
23872011-12-01 Glenn Morris <rgm@gnu.org>
2388
2389 * eshell/em-hist.el (eshell-hist-initialize):
2390 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2391 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2392
9505c3c7
SM
23932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2396
1bbe96b2 23972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2398
a1beca85
SM
2399 * progmodes/verilog-mode.el (verilog-pretty-expr):
2400 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2401 verilog, such as += *= and the like.
2402 (verilog-assignment-operator-re): Regular expression to find the
2403 assigment operator in a verilog assignment.
2404 (verilog-assignment-operation-re): Regular expression to find an
2405 assignment statement for pretty-expr.
2406 (verilog-in-attribute-p): Query returns true if point is in an
2407 attribute context; used to skip these for expression line up from
2408 pretty-expr.
2409 (verilog-in-parameter-p): Query returns true if point is in an
2410 parameter definition context; used to skip these for expression
2411 line up from pretty-expr.
2412 (verilog-in-parenthesis-p): Query returns true if point is in a
2413 parenthetical expression, specifically ( ) but not [ ] or { };
2414 used by pretty-expr.
2415 (verilog-just-one-space): If there is no space, don't add one.
2416 (verilog-get-lineup-indent-2): Specifically skip just attribute
2417 contexts for expression lineup, rather than skipping all
2418 parenthetical expressions.
2419 (verilog-calculate-indent): Fix comment, and fix indent.
2420 (verilog-do-indent): Indent declarations in lists (suggested by
2421 Joachim Lechner).
2422 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2423 skeleton items.
2424 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2425 by Alain Mellan).
2426
1bbe96b2 24272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2428
2429 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2430 parameters with embedded comments. Reported by Ray Stevens.
2431 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2432 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2433 Reported by Tim Holt.
2434 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2435 instantiated by upper module causing wrong expansion until AUTOed a
2436 second time. Reported by K C Buckenmaier.
2437 (verilog-diff-auto): Fix showing .* as a difference when
2438 `verilog-auto-star-save' off. Reported by Dan Dever.
2439 (verilog-auto-reset, verilog-read-always-signals)
2440 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2441 temporary signals in reset list if
2442 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2443 style to each signal's assignment type, bug381.
2444 Reported by Thomas Esposito.
6288f0ca
WS
2445 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2446 (verilog-uvm-statement-re): Support UVM indentation and
2447 highlighting, with old OVM keywords only.
a1beca85 2448 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2449 Support AUTOTIEOFF creating non-wire data types.
2450 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2451 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2452 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2453 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2454 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2455 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2456 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2457 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2458 non-numeric vector width. Reported by Alex Reed.
2459 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2460 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2461 (verilog-auto-delete-trailing-whitespace):
2462 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2463 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2464 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2465 Fix verilog-scan-cache corruption when running user AUTO expansion
2466 hooks that call indentation routines.
2467 (verilog-simplify-range-expression): Fix typo ignoring lower case
2468 identifiers.
2469 (verilog-delete-auto): Fix delete-autos to also remove user created
2470 automatics, as long as they start with AUTO.
2471 (verilog-batch-diff-auto, verilog-diff-auto)
2472 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2473 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2474 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2475 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2476 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2477 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2478 is disabled and its cache will get corrupt, causing AUTOS not to
2479 expand. Instead use only -quick functions.
2480 (verilog-scan-region): Fix scanning over escaped quotes.
2481 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2482 (verilog-re-search-backward-quick)
2483 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2484 related functions now ignore strings, to fix misparsing of strings
2485 with magic comments embedded in them.
a1beca85
SM
2486 (verilog-read-auto-template):
2487 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2488 Reported by Brad Dobbie.
2489 (verilog-read-auto-template):
2490 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2491 Reported by Brad Dobbie.
6288f0ca
WS
2492 (verilog-auto-inst, verilog-auto-inst-param)
2493 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2494 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2495 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2496 debugging templates without merge conflicts, bug357.
2497 Reported by Brad Dobbie.
2498 (verilog-read-auto-template):
2499 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2500 Reported by Brad Dobbie.
2501 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2502 abbrevs so user won't be asked to save.
2503 (verilog-read-auto-lisp-present): Fix to start at beginning of
2504 buffer in case called outside of verilog-auto.
2505 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2506 to "X-2". Reported by Matthew Myers.
2507 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2508 all inputs from module templates. Reported by Leith Johnson.
2509 (verilog-module-inside-filename-p): Fix locating programs as with
2510 modules.
2511 (verilog-auto-inst-port): Fix vl-width expressions when using
2512 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2513 (verilog-decls-get-regs, verilog-decls-get-signals,
2514 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2515 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2516 verilog-read-decls): Combine reg and wire structures into one var
2517 structure to represent SystemVerilog concepts.
2518 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2519 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2520 (verilog-auto-wire-type, verilog-insert-definition):
2521 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2522 SystemVerilog "logic" keyword instead of "wire"/"reg".
2523 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2524 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2525 ifdef or generate if so there's not a driver conflict).
2526 Reported by Matthew Myers.
2527 (verilog-auto-declare-nettype, verilog-insert-definition):
2528 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2529 `default_nettype none. Reported by Julian Gorfajn.
2530 (verilog-read-always-signals-recurse, verilog-read-decls)
2531 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2532 malformed end statement, bug325. Reported by Joshua Wise and
2533 Andrew Drake.
2534 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2535 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2536 when expanding .* in interfaces, bug320.
2537 Reported by Pierre-David Pfister.
6288f0ca 2538 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2539 name and open parenthesis, bug317.
2540 Reported by Pierre-David Pfister.
6288f0ca
WS
2541 (verilog-simplify-range-expression): Fix simplification of
2542 multiplications inside AUTOWIRE connections, bug303.
2543 (verilog-auto-inst-port): Support parameter expansion in
2544 multidimensional arrays.
2545 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2546 after "assert property". Reported by Julian Gorfajn.
2547 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2548 with multiplication, bug303.
2549 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2550 Reported by Jan Frode Lonnum.
2551
1bbe96b2
GM
25522011-11-30 Juanma Barranquero <lekktu@gmail.com>
2553
2554 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2555 (hfy-shell-file-name, hfy-shell):
2556 * international/fontset.el (x-decompose-font-name): Fix typos.
2557
25582011-11-29 Ken Brown <kbrown@cornell.edu>
2559
2560 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2561 (gdb-version): Remove defvar.
2562 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2563 (gdb-gud-context-command, gdb-non-stop-handler)
2564 (gdb-current-context-command, gdb-stopped): Use it.
2565 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2566 (gdb-non-stop-handler): Don't enable pretty-printing here.
2567 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2568 non-stop mode. Use the following.
2569 (gdb-check-target-async): New defun.
2570 (gud-watch, gdb-stopped): Fix whitespace.
2571 (gdb-get-source-file): Don't try to display the source file if
2572 `gdb-main-file' is nil.
2573
25742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * align.el: Try to generate fewer markers (bug#10047).
2577 (align--set-marker): New macro.
2578 (align-region): Use it.
2579
c935221f
SM
25802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2583
e70b5064
CY
25842011-11-29 Chong Yidong <cyd@gnu.org>
2585
2586 * indent.el (indent-for-tab-command, indent-according-to-mode):
2587 Doc fix.
2588 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2589
f3af92b7
MA
25902011-11-29 Michael Albinus <michael.albinus@gmx.de>
2591
2592 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2593 aware of remote file names. (Bug#10124)
2594
ed472be9
CY
25952011-11-29 Chong Yidong <cyd@gnu.org>
2596
2597 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2598
24510c22
SM
25992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * files.el (find-file): Don't use force-same-window (bug#10144).
2602 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2603 use pop-to-buffer if the selected window can't be used.
2604 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2605
c60c3703
EZ
26062011-11-28 Eli Zaretskii <eliz@gnu.org>
2607
2608 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2609 special-mode-map.
2610
e95def75
CY
26112011-11-28 Chong Yidong <cyd@gnu.org>
2612
2613 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2614
c3f1c606
NR
26152011-11-27 Nick Roberts <nickrob@snap.net.nz>
2616
2617 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2618 gdb-get-source-file-list on gdb-create-source-file-list.
2619
00db469c
EZ
26202011-11-26 Eli Zaretskii <eliz@gnu.org>
2621
2622 * whitespace.el (whitespace-newline): Use a different foreground
2623 color for 16-color light-background displays.
2624
4ad3bc2a
CY
26252011-11-24 Chong Yidong <cyd@gnu.org>
2626
2627 * window.el (display-buffer--special-action): Doc fix.
2628
e9fce1ac
JB
26292011-11-25 Juanma Barranquero <lekktu@gmail.com>
2630
2631 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2632 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2633 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2634 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2635 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2636 (avl-tree-stack-first):
2637 * emacs-lisp/cconv.el (cconv--analyse-use):
2638 * net/gnutls.el (gnutls-negotiate): Fix typos.
2639
cb825e5d
GM
26402011-11-24 Glenn Morris <rgm@gnu.org>
2641
3adbe224
GM
2642 * lpr.el (lpr-windows-system, lpr-lp-system):
2643 * mail/binhex.el (binhex-begin-line):
2644 * progmodes/grep.el (grep-history, grep-find-history):
2645 * textmodes/flyspell.el:
2646 * vc/pcvs-defs.el (cvs-global-menu):
2647 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2648 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2649 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2650
321decc8
GM
2651 * net/tls.el: Fix case of "GnuTLS".
2652
420b63ad
GM
2653 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2654
cb825e5d
GM
2655 * version.el (emacs-build-system): Give it a doc-string.
2656
a0649f08
JL
26572011-11-24 Juri Linkov <juri@jurta.org>
2658
2659 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2660
c0bc0fd4
GM
26612011-11-24 Glenn Morris <rgm@gnu.org>
2662
2663 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2664 if called on a non-mime message just toggle the headers. (Bug#8006)
2665
20db1522
JB
26662011-11-24 Juanma Barranquero <lekktu@gmail.com>
2667
2668 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2669 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2670 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2671 (allout-rebullet-heading, allout-open-sibtopic)
2672 (allout-toggle-current-subtree-encryption)
2673 (allout-toggle-subtree-encryption, allout-encrypt-string)
2674 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2675 (allout-distinctive-bullets-string, allout-auto-activation):
2676 * window.el (window-normalize-buffer-to-display):
2677 * progmodes/verilog-mode.el (verilog-batch-indent):
2678 * textmodes/bibtex.el (bibtex-field-braces-opt)
2679 (bibtex-field-strings-opt):
2680 * vc/cvs-status.el (cvs-tree-merge):
2681 Fix typos.
2682
7262a87c
MA
26832011-11-23 Michael Albinus <michael.albinus@gmx.de>
2684
2685 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2686 `non-essential' to t, in order to avoid remote connections.
2687
283430a1
EZ
26882011-11-23 Eli Zaretskii <eliz@gnu.org>
2689
a1beca85
SM
2690 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2691 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2692 case-insensitively.
2693
d2992a38
ML
26942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2695
2696 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2697
50419064
GM
26982011-11-23 Glenn Morris <rgm@gnu.org>
2699
da94eca1
GM
2700 * paths.el (rmail-file-name): Reformat the doc-string so that it
2701 is picked up.
2702
9aac4de2
GM
2703 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2704 (rmail-auto-file): Ignore case in the "special" field names,
2705 as mail-fetch-field does for all others.
2706
8038d2d2
GM
2707 * mail/rmail.el (rmail-forward):
2708 * mail/rmailkwd.el (rmail-set-label):
2709 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2710 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2711
f3fe222a
GM
2712 * mail/rmail.el (rmail-current-message): Doc fix.
2713
50419064
GM
2714 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2715
28109f49
SM
27162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2719
394c65f1
GM
27202011-11-22 Glenn Morris <rgm@gnu.org>
2721
2722 * mail/rmailmm.el (test-rmail-mime-handler)
2723 (test-rmail-mime-bulk-handler)
2724 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2725
f2a0aa3a
JL
27262011-11-21 Juri Linkov <juri@jurta.org>
2727
1154d12e
JB
2728 * calc/calc.el (calc-read-key-sequence):
2729 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2730
9c34a344
LMI
27312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2732
2733 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2734 Tell the caller that the next line needs recomputation, even
2735 though it doesn't start a sexp (bug#10094).
2736
f04a3be9
SM
27372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2740
7978747f
SM
27412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2742
f04a3be9
SM
2743 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2744 Use force-same-window.
7978747f 2745
fe7a3057
JB
27462011-11-20 Juanma Barranquero <lekktu@gmail.com>
2747
2748 * descr-text.el (describe-char-unicode-data):
2749 * json.el (json-string-escape):
2750 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2751 (Footnote-unicode, Footnote-style-p):
2752 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2753
24901d61
CY
27542011-11-20 Chong Yidong <cyd@gnu.org>
2755
2756 * window.el (replace-buffer-in-windows): Restore interactive spec.
2757
bac7ff22
SM
27582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2759
24f3d7b9
SM
2760 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2761
bac7ff22
SM
2762 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2763 (byte-compile-global-not-obsolete-vars): New var.
2764 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2765 Use it.
2766 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2767
cd1181db
JB
27682011-11-20 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2771 * progmodes/pascal.el (electric-pascal-equal):
2772 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2773 * xml.el (xml-substitute-special): Fix typos.
2774
7fb18e9e
GM
27752011-11-20 Glenn Morris <rgm@gnu.org>
2776
2777 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2778 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2779 Doc fixes.
2780 (rmail-decode-mime-charset): Mark as obsolete.
2781
2782 * mail/rmailsum.el (rmail-message-regexp-p-1):
2783 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2784 Before using mime functions, check they are set. (Bug#10077)
2785
d5a6b3ba
JL
27862011-11-19 Juri Linkov <juri@jurta.org>
2787
2788 * info.el (Info-finder-find-node): Use `package--builtins' instead
2789 of `package-alist'. Use node names formed by the pattern "Keyword "
2790 and the keyword name.
2791
e981b61f
AS
27922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2793
1d00653d 2794 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2795
3ffbc301
JL
27962011-11-19 Juri Linkov <juri@jurta.org>
2797
2798 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2799 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2800 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2801 `old-history', `old-history-forward'. Add let-binding
2802 `window-selected'. Remove calls to `kill-buffer',
2803 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2804 before calling `Info-find-node', so `Info-find-node-2' will reread
2805 the Info file. Restore window positions only when `window-selected'
2806 is non-nil.
2807
30c62133
JL
28082011-11-19 Juri Linkov <juri@jurta.org>
2809
2810 * isearch.el (isearch-lazy-highlight-new-loop):
2811 Remove condition `(not isearch-error)'. (Bug#9918)
2812
2813 * misearch.el (multi-isearch-search-fun): Add condition
2814 `(not bound)' to ignore lazy-highlighting search.
2815 Add the search-failed message "end of multi" when the end of
2816 multi-sequence is reached. Uncapitalize the search-failed
2817 message "Repeat for next buffer".
2818
2819 * info.el (Info-search): Add the search-failed message
2820 "end of the manual" when the end of the manual is reached
2821 in Isearch mode.
2822
645ca9cf
JL
28232011-11-19 Juri Linkov <juri@jurta.org>
2824
2825 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2826 Use non-destructive `remove' instead of `delete' because
2827 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2828 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2829
df754f66
JL
28302011-11-19 Juri Linkov <juri@jurta.org>
2831
2832 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2833 to nil instead of binding `search-ring' and `regexp-search-ring'.
2834 (Bug#9185)
2835
0e23d96a
EZ
28362011-11-19 Eli Zaretskii <eliz@gnu.org>
2837
2838 * simple.el (line-move): Force movement by logical lines for any
2839 hscrolled window, not only when auto-hscroll-mode is on.
2840 (line-move-visual): Update doc string to that effect. (Bug#10076)
2841
8a6ccb66
AS
28422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2843
2844 * language/european.el (macintosh): Define as alias for mac-roman.
2845
49ae5b39
EZ
28462011-11-19 Eli Zaretskii <eliz@gnu.org>
2847
2848 * mail/rmailmm.el (rmail-mime-display-header)
2849 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2850 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2851 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2852 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2853 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2854 of a raw aref.
2855 (rmail-mime-entity-segment): To get past the tagline, move forward
2856 2 more lines, to account for the 2 empty lines that precede and
2857 follow the line with the buttons.
2858 (rmail-mime-update-tagline): Move one more line, to get past the
2859 empty line that follows the buttons in the tagline. (Bug#9520)
2860
c56cad4a
MR
28612011-11-19 Martin Rudalics <rudalics@gmx.at>
2862
2863 * window.el (window-max-delta-1, window-min-delta-1)
2864 (window-min-size-1, window-state-get-1, window-state-put-1)
2865 (window-state-put-2): Use "window--" prefix.
2866
cbe71af3
SM
28672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2ad52c60
SM
2869 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2870 (smie-warning-count): New var.
2871 (smie-set-prec2tab): Use it.
2872 (smie-bnf->prec2): Improve warnings. Add docstring.
2873 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2874 (smie-bnf--set-class): New function.
2875 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2876 corner case.
2877
6944dbc1
SM
2878 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2879 (compilation-error-properties, compilation-move-to-column):
2880 Handle compilation-first-column while in the target buffer.
2881
c400c4d7
SM
2882 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2883 Don't hardcode point-min==1.
2884
6dbe3e96
SM
2885 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2886 (eshell-rewrite-for-command): Remove workaround.
2887 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2888 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2889 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2890
cbe71af3
SM
2891 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2892
a8e1496d
GM
28932011-11-17 Glenn Morris <rgm@gnu.org>
2894
2895 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2896 Ignore buffer-local generated-autoload-file if it is the same
2897 as the global value. (Bug#10049)
2898
df85d315
JB
28992011-11-17 Juanma Barranquero <lekktu@gmail.com>
2900
2901 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2902 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2903 (reftex-toc-previous-heading, reftex-toc-max-level)
2904 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2905 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2906 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2907 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2908 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2909 (reftex-toc-rename-label, reftex-toc-visit-location)
2910 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2911 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2912 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2913 leaving "*toc*" only for references to the buffer.
2914
a0c2d0ae
MR
29152011-11-17 Martin Rudalics <rudalics@gmx.at>
2916
2917 * window.el (window-resize, delete-window, split-window):
2918 Replace window-splits by window-combination-resize.
1d00653d 2919 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2920
35c0bac8
GM
29212011-11-17 Glenn Morris <rgm@gnu.org>
2922
2923 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2924 Make bash entry derive from sh entry, not shell entry.
2925
d0c8fc8a
MA
29262011-11-16 Michael Albinus <michael.albinus@gmx.de>
2927
d0c8fc8a
MA
2928 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2929 properties of linked files. (Bug#9879)
2930
7262a87c
MA
2931 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2932 local file name.
2933
7877f373
JB
29342011-11-16 Juanma Barranquero <lekktu@gmail.com>
2935
2936 * menu-bar.el (menu-bar-file-menu):
2937 * printing.el (pr-ps-utility):
2938 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2939 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2940 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2941 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2942 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2943 (icalendar--convert-cyclic-to-ical)
2944 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2945 (icalendar--convert-ical-to-diary)
2946 (icalendar--convert-recurring-to-diary)
2947 (icalendar--convert-non-recurring-all-day-to-diary)
2948 (icalendar-import-format-sample):
2949 * progmodes/idlw-shell.el (idlwave-shell-mode):
2950 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2951 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2952 (vhdl-ps-print-init): Fix typos.
2953
10649b82
KM
29542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2955
9d0cfcd6
GM
2956 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2957 FSF and collapse date sequence, obscure author/maintainer email address
2958 better, remove extra version line, track relocation of author's webpage.
10649b82 2959
9d0cfcd6
GM
2960 * progmodes/python.el (python-pdbtrack-input-prompt)
2961 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2962 regular python pdb prompts. Adjustments shamelessly taken exactly as
2963 suggested in EmacsWiki page (tiny change):
2964 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2965
58179cce
JB
29662011-11-16 Juanma Barranquero <lekktu@gmail.com>
2967
2968 * expand.el (expand-pos, expand-index, expand-point):
2969 Remove redundant info from docstring.
2970 (expand-add-abbrevs): Doc fix.
2971 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2972 (expand-sample-perl-mode-expand-list): Fix typos.
2973
2974 * net/dbus.el (dbus-event-member-name):
2975 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2976 * term/pc-win.el (msdos-create-frame-with-faces):
2977 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2978
b6f67890
MR
29792011-11-16 Martin Rudalics <rudalics@gmx.at>
2980
2981 * window.el (split-window, window-state-get-1)
2982 (window-state-put-1, window-state-put-2): Rename occurrences of
2983 window-nest to window-combination-limit.
1d00653d 2984 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2985
ce7ddba0
CY
29862011-11-16 Chong Yidong <cyd@gnu.org>
2987
2988 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2989 regexp (Bug#10033).
2990
3ae704f4
SM
29912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2994 `completing-read' will remove *Completions* and will preserve
2995 current-buffer for us.
2996 (tmm-add-prompt): Users of *Completions* will always (re)set its
2997 major mode.
2998 (tmm-old-comp-map): Remove.
2999
6ad1cdde
GM
30002011-11-16 Glenn Morris <rgm@gnu.org>
3001
3002 * mail/rmailedit.el: Require rmailmm when compiling.
3003 (rmail-old-mime-state): New declaration.
3004 (rmail-edit-current-message): If editing a mime message,
3005 edit the "raw" message from the mbox buffer.
3006 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3007
d20faa20
GM
30082011-11-15 Glenn Morris <rgm@gnu.org>
3009
3010 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3011 which wasn't being used. Add optional arg to force given state.
3012 (rmail-mime): Add optional arg to force given state.
3013
c7015153
JB
30142011-11-15 Juanma Barranquero <lekktu@gmail.com>
3015
3016 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3017 * frame.el (display-mm-dimensions-alist):
3018 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3019 (outline-move-subtree-down):
3020 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3021 (newsticker--treeview-do-get-node):
3022 * net/quickurl.el (quickurl-list-buffer-name):
3023 * progmodes/dcl-mode.el (dcl-mode):
3024 * progmodes/gdb-mi.el (gdb-mapcar*):
3025 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3026
45261b50
GM
30272011-11-15 Glenn Morris <rgm@gnu.org>
3028
3029 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3030 in a boolean sense, so just make it a boolean, and fix the doc.
3031 (rmail-show-mime-function, rmail-mime-feature)
3032 (rmail-require-mime-maybe): Doc fixes.
3033 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3034
3035 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3036
0d26e0b6
JB
30372011-11-15 Juanma Barranquero <lekktu@gmail.com>
3038
3039 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3040 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3041 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3042 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3043
447f30f6
GM
30442011-11-15 Glenn Morris <rgm@gnu.org>
3045
672b871d
GM
3046 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3047 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3048 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3049 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3050 (rmail-mime, rmail-show-mime): Doc fixes.
3051
f6aa5bb1
GM
3052 * term/ns-win.el (mode-line-frame-identification):
3053 Leave it alone. (Bug#10051)
3054
947cd66b
GM
3055 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3056
447f30f6
GM
3057 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3058 Handle empty buffers. (Bug#9978)
3059
0b381c7e
JB
30602011-11-14 Juanma Barranquero <lekktu@gmail.com>
3061
3062 * international/mule.el (define-charset):
3063 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3064 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3065 * progmodes/verilog-mode.el (verilog-backward-token):
3066 * textmodes/ispell.el (lookup-words):
3067 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3068
71e027ac
GM
30692011-11-14 Glenn Morris <rgm@gnu.org>
3070
56632ce4
GM
3071 * progmodes/executable.el
3072 (executable-make-buffer-file-executable-if-script-p):
3073 Handle file-modes returning nil.
3074
40500957
GM
3075 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3076 message - not necessary, and causes problems. (Bug#9831)
3077
071c2340
GM
3078 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3079
d3cfca60
GM
3080 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3081
71e027ac
GM
3082 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3083 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3084 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3085
89d61221
MR
30862011-11-12 Martin Rudalics <rudalics@gmx.at>
3087
3088 * window.el (window-resize, delete-window): Use window-splits
3089 variable instead of function.
3090 (window-state-get-1, window-state-put-2, window-state-put):
3091 Don't deal with windows' splits status.
3092
98282f6f
GM
30932011-11-12 Glenn Morris <rgm@gnu.org>
3094
3095 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3096 (apropos-documentation): Doc fixes.
3097
40a8bdf6
JB
30982011-11-11 Juanma Barranquero <lekktu@gmail.com>
3099
3100 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3101 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3102
65bd19ff
SM
31032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * electric.el (electric-indent-post-self-insert-function): Make it
3106 possible for a char to only indent in some circumstances.
3107 (electric-indent-mode): Simplify.
3108
54f9154c
MR
31092011-11-11 Martin Rudalics <rudalics@gmx.at>
3110
3111 * window.el (windows-with-parameter): Remove unused function.
3112 (windows-at-side): Rename to window-at-side-list.
3113 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3114 (window-side-check, window-size-ignore, window-size-fixed-1)
3115 (window-in-direction-2): Prefix with "window--".
3116 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3117
68cbc58b
GM
31182011-11-11 Glenn Morris <rgm@gnu.org>
3119
3120 * subr.el (eval-after-load): If FILE is already loaded,
3121 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3122
b2621720
GM
31232011-11-10 Glenn Morris <rgm@gnu.org>
3124
9a4de110
GM
3125 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3126 Call svn via vc-svn-command rather than vc-do-command.
3127 (vc-svn-command): Add --non-interactive. (Bug#9993)
3128 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3129
b2621720
GM
3130 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3131 Add toggle-read-only. (Bug#7292)
3132 * files.el (toggle-read-only): Mention that it should only
3133 be used interactively. (Bug#10006)
3134
1dce7193
SM
31352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3136
d9ac1a1e
SM
3137 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3138 Adjust regexp for OCaml warnings.
3139
0c325082
SM
3140 * electric.el (electric-pair-post-self-insert-function): Let user
3141 turn it off buffer-locally (bug#9932).
3142
90132c14
SM
3143 * progmodes/python.el (python-beginning-of-statement):
3144 Rewrite (bug#2703).
3145
1dce7193
SM
3146 * progmodes/compile.el: Better handle TABs (bug#9749).
3147 (compilation-internal-error-properties)
3148 (compilation-next-error-function): Obey the target buffer's
3149 compilation-error-screen-columns.
3150
c4e7c63a
JB
31512011-11-09 Juanma Barranquero <lekktu@gmail.com>
3152
3153 * progmodes/meta-mode.el: Remove obsolete comments.
3154 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3155 Fix typos in docstrings.
3156
2cffd681
MR
31572011-11-09 Martin Rudalics <rudalics@gmx.at>
3158
3159 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3160 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3161 (window--resizable): New function. Make all callers of
3162 window-resizable call window--resizable instead.
3163 (window-resizable): Rewrite in terms of window--resizable.
3164
0edcba87
GM
31652011-11-08 Glenn Morris <rgm@gnu.org>
3166
3167 * progmodes/delphi.el (delphi-mode-syntax-table):
3168 Let define-derived-mode define a proper syntax table. (Bug#9994)
3169
4b0d61e3
SM
31702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * window.el: Stay away from defsubst.
3173 (window-list-no-nils): Remove.
3174 (window-state-get-1, window-state-get): Use backquote instead.
3175
cd394be1 31762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3177
4b0d61e3 3178 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3179 Fix incorrect use of default argument in `completing-read'.
3180
e1c2c6f2
MR
31812011-11-08 Martin Rudalics <rudalics@gmx.at>
3182
3183 * window.el (display-buffer-function, special-display-function):
3184 Mention display-buffer-record-window but do not mention
3185 help-setup parameter in doc-strings.
b3f4a882 3186 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3187
105216ed
CY
31882011-11-08 Chong Yidong <cyd@gnu.org>
3189
3190 * window.el (window-total-height, window-total-width): Doc fix.
3191 (window-body-size): Move from C.
3192 (window-body-height, window-body-width): Move to C.
3193
0a9f9ab5
SM
31942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * window.el: Make special-display like display-buffer-alist (bug#9532).
3197 (display-buffer--special-action): New function, morphed
3198 from display-buffer--special.
3199 (display-buffer): Use it to handle special-display-buffers at higher
3200 priority (just after display-buffer-alist).
3201 (display-buffer-fallback-action, display-buffer--other-frame-action)
3202 (pop-to-buffer-same-window): Remove display-buffer--special.
3203
a769dd15
GM
32042011-11-07 Glenn Morris <rgm@gnu.org>
3205
3206 * calendar/cal-menu.el (cal-menu-set-date-title):
3207 Do nothing if not in a calendar. (Bug#9976)
3208
05a61ee3
SM
32092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * files.el (find-file): Always use selected-window.
3212
be7f5545
MR
32132011-11-07 Martin Rudalics <rudalics@gmx.at>
3214
3215 * window.el (window-combinations): Make WINDOW argument
3216 mandatory. Rewrite doc-string.
3217 (walk-window-subtree, window-atom-check, window-min-delta)
3218 (window-max-delta, window--resize-this-window)
3219 (window--resize-root-window-vertically, window-tree)
3220 (balance-windows, window-state-put): Rewrite doc-strings as to
3221 not mention the term "subwindow".
3222 (window--resize-subwindows-skip-p): Rename to
3223 window--resize-child-windows-skip-p.
3224 (window--resize-subwindows-normal): Rename to
3225 window--resize-child-windows-normal.
3226 (window--resize-subwindows): Rename to
3227 window--resize-child-windows.
3228 (window-or-subwindow-p): Rename to window--in-subtree-p.
3229
3c6702ef
ML
32302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3231
3232 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3233 Ensure that mbox format messages end in two newlines (Bug#9974).
3234
49745b39
CY
32352011-11-06 Chong Yidong <cyd@gnu.org>
3236
3237 * window.el (window-combination-p): Function deleted; its
3238 side-effect is not used in any existing code.
3239 (window-combinations, window-combined-p): Call window-*-child
3240 directly.
3241
24300f5f
CY
32422011-11-05 Chong Yidong <cyd@gnu.org>
3243
3244 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3245 (window-size-ignore, window-state-get): Callers changed.
3246 (window-normalize-window): Rename from window-normalize-any-window.
3247 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3248 (window-normalize-live-window): Delete.
447f16b8
CY
3249 (window-combination-p, window-combined-p, window-combinations)
3250 (walk-window-subtree, window-atom-root, window-min-size)
3251 (window-sizable, window-sizable-p, window-size-fixed-p)
3252 (window-min-delta, window-max-delta, window-resizable)
3253 (window-resizable-p, window-full-height-p, window-full-width-p)
3254 (window-current-scroll-bars, window-point-1, set-window-point-1)
3255 (window-at-side-p, window-in-direction, window-resize)
3256 (adjust-window-trailing-edge, maximize-window, minimize-window)
3257 (window-deletable-p, delete-window, delete-other-windows)
3258 (record-window-buffer, unrecord-window-buffer)
3259 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3260 (quit-window, split-window, window-state-put)
3261 (set-window-text-height, fit-window-to-buffer)
3262 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3263
89bd5ee1
EZ
32642011-11-04 Eli Zaretskii <eliz@gnu.org>
3265
53479029
EZ
3266 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3267 rfc2047-decode-string.
3268 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3269 warnings.
3270
89bd5ee1
EZ
3271 * window.el (window-body-height, window-body-width): Mention in
3272 the doc string that the return values are in frame's canonical
3273 units. (Bug#9949)
3274
bd17fdee
AM
32752011-11-03 Alan Mackenzie <acm@muc.de>
3276
3277 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3278 change in cc-engine.el.
3279
acc825c5
SM
32802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3283
1885e5b8
MR
32842011-11-02 Martin Rudalics <rudalics@gmx.at>
3285
3286 * window.el (quit-window): Call unrecord-window-buffer after
3287 showing another buffer in the window. (Bug#9937)
acc825c5 3288 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3289
ebe06da9
JB
32902011-11-02 Juanma Barranquero <lekktu@gmail.com>
3291
3292 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3293 Accept status with more than 9 shelves. (Bug#9935)
3294 Reported by Colin D Bennett <colin@gibibit.com>.
3295
4ee88440
MR
32962011-11-01 Martin Rudalics <rudalics@gmx.at>
3297
3298 * help.el (with-help-window): Don't reference
3299 temp-buffer-show-specifiers in doc-string.
3300
08e1d82c
AS
33012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3302
3303 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3304 menu-item.
3305
84bd6e9e
VJL
33062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3307
3308 * whitespace.el: New version 13.2.2.
3309 (whitespace-newline-mode): Disable properly. Reported by Sarah
3310 <EmacsWiki>.
3311
dba0634a
UJ
33122011-10-30 Ulf Jasper <ulf.jasper@web.de>
3313
3314 * net/newst-treeview.el: Remove "Time-stamp".
3315 (newsticker--group-manage-orphan-feeds): Do not call
3316 newsticker--treeview-tree-update.
db22a3c2
JB
3317 (newsticker-treeview-update, newsticker-treeview):
3318 Call newsticker--treeview-tree-update if necessary.
dba0634a 3319
3d8daefe
MR
33202011-10-30 Martin Rudalics <rudalics@gmx.at>
3321
3322 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3323 (window-iso-combinations): Remove "iso-" infix.
3324 Suggested by Chong Yidong.
3d8daefe
MR
3325 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3326 (window-max-delta-1, window-resize, window--resize-siblings)
3327 (window--resize-this-window, adjust-window-trailing-edge)
3328 (split-window, balance-windows-1)
3329 (shrink-window-if-larger-than-buffer):
3330 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3331 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3332
1bc4c3ae
SM
33332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3336 in place (bug#9907).
3337 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3338 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3339 (eshell-structure-basic-command, eshell-rewrite-while-command)
3340 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3341 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3342 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3343 (eshell-do-pipelines-synchronously, eshell-eval-command):
3344 Use backquotes and prefer setq to set.
3345 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3346 (eshell-macrop): Use functionp.
c1e2f5fa 3347 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3348
30b65d9c
CY
33492011-10-30 Chong Yidong <cyd@gnu.org>
3350
3351 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3352 instead of set-mark (Bug#9810).
3353
2d197ffb
CY
33542011-10-30 Chong Yidong <cyd@gnu.org>
3355
3356 * window.el (split-window-below, split-window-right): Rename from
3357 split-window-above-each-other and split-window-side-by-side
3358 respectively. All callers changed.
3359 (split-window-sensibly, split-window-sensibly): Use them.
3360 (split-window-keep-point): Doc fix.
3361
3362 * isearch.el: Add isearch-scroll property to split-window-below
3363 and split-window-right.
3364
3365 * follow.el (follow-mode):
3366 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3367 * progmodes/ada-xref.el (ada-gdb-application):
3368 * emulation/vip.el (vip-buffer-in-two-windows):
3369 * image-dired.el (image-dired-dired-with-window-configuration):
3370 * dired-x.el (dired-do-find-marked-files):
3371 * dired.el (dired-pop-to-buffer):
3372 * bs.el (bs--show-with-configuration):
3373 * vc/emerge.el (emerge-setup-windows):
3374 * textmodes/two-column.el (2C-two-columns):
3375 * textmodes/reftex-toc.el (reftex-toc):
3376 * progmodes/gdb-mi.el (gdb-setup-windows):
3377 * progmodes/fortran.el (fortran-window-create):
3378 * net/newst-treeview.el (newsticker--treeview-window-init):
3379 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3380 * emulation/tpu-edt.el (tpu-gold-map):
3381 * emulation/crisp.el (crisp-mode-map):
3382 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3383
38bb2ca8
CY
33842011-10-29 Chong Yidong <cyd@gnu.org>
3385
aa4de341
CY
3386 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3387
e1eb5385
CY
3388 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3389
5d2ece3c
CY
3390 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3391 forged Ispell output (Bug#7904).
3392
38bb2ca8
CY
3393 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3394
d0af9f77
SM
33952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * doc-view.el: Avoid ugly errors about not finding nil.
3398 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3399 (doc-view-dvipdf-program, doc-view-unoconv-program)
3400 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3401 Avoid nil or absolute file name as default value.
3402 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3403
52bedd34
AM
34042011-10-28 Alan Mackenzie <acm@muc.de>
3405
db22a3c2 3406 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3407
7e43cfa5
AM
34082011-10-28 Alan Mackenzie <acm@muc.de>
3409
3410 Amend the handling of c-beginning/end-of-defun in nested declaration
3411 scopes.
3412
52bedd34
AM
3413 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3414 cc-langs.el. Change it to a defcustom.
7e43cfa5 3415
52bedd34
AM
3416 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3417 cc-vars.el.
7e43cfa5 3418
d0af9f77
SM
3419 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3420 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3421
52bedd34 3422 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3423 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3424 (c-widen-to-enclosing-decl-scope): New function.
3425 (c-while-widening-to-decl-block): New macro.
3426 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3427 outward for defun boundaries, and correspondingly change symbol
3428 `respect-enclosure' to `go-outward'.
3429 (c-declaration-limits): Change algorithm to report only the "innermost"
3430 defun's boundaries.
3431
1a2ce9ee
DD
34322011-10-28 Deniz Dogan <deniz@dogan.se>
3433
3434 * net/rcirc.el (rcirc-mode): Use hard newlines.
3435
bc97a826
AM
34362011-10-28 Alan Mackenzie <acm@muc.de>
3437
3438 Amend to indent and fontify macros "which include their own semicolon"
3439 correctly, using the "virtual semicolon" mechanism.
3440
52bedd34 3441 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3442
d0af9f77 3443 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3444 Recode to scan one line at a time rather than having \n and \r
58179cce 3445 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3446 (c-forward-label): Amend for virtual semicolons.
58179cce 3447 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3448
52bedd34
AM
3449 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3450 of the new C macros.
bc97a826 3451
52bedd34 3452 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3453 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3454 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3455 (c-opt-cpp-macro-define): Make into a full language variable.
3456 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3457 AWK Mode (including \n, \r) removed, no longer needed.
3458
d0af9f77
SM
3459 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3460 Invoke c-make-macro-with-semi-re.
bc97a826 3461
52bedd34
AM
3462 * progmodes/cc-vars.el (c-macro-with-semi-re):
3463 (c-macro-names-with-semicolon): New variables.
58179cce 3464 (c-make-macro-with-semi-re): New function.
bc97a826 3465
7a6c0941
SM
34662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3467
3468 * vc/log-edit.el: Fill empty field rather than adding new one.
3469 (log-edit-add-field): New function.
3470 (log-edit-insert-changelog): Use it.
3471
b0c4cdcf
ML
34722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3473
3474 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3475
ee1f1da9
SM
34762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3479 (gdb--check-interpreter): New function.
3480 (gdb): Use it.
3481
51bc5f8b
GM
34822011-10-27 Glenn Morris <rgm@gnu.org>
3483
416a2c45
GM
3484 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3485 (least-positive-float, least-negative-float)
3486 (least-positive-normalized-float, least-negative-normalized-float)
3487 (float-epsilon, float-negative-epsilon):
3488 Remove unnecessary declarations.
3489
3490 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3491 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3492 (least-positive-float, least-negative-float)
3493 (least-positive-normalized-float, least-negative-normalized-float)
3494 (float-epsilon, float-negative-epsilon): Add doc-strings,
3495 based on those in cl.texi.
3496
51bc5f8b
GM
3497 * files.el (set-visited-file-name): If the major-mode changed,
3498 reload the local variables. (Bug#9796)
3499
15de15c6
CY
35002011-10-27 Chong Yidong <cyd@gnu.org>
3501
3502 * subr.el (change-major-mode-after-body-hook): New hook.
3503 (run-mode-hooks): Run it.
3504
ee1f1da9
SM
3505 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3506 Use change-major-mode-before-body-hook.
15de15c6
CY
3507
3508 * simple.el (fundamental-mode):
3509 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3510 change introducing fundamental-mode-hook.
3511
5430d399
JB
35122011-10-26 Juanma Barranquero <lekktu@gmail.com>
3513
acc825c5 3514 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3515
ad74a69e
MA
35162011-10-26 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3519 tramp.el explicitly. (Bug#7583)
ad74a69e 3520
71d4c2a5
SM
35212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * progmodes/octave-mod.el:
3524 * progmodes/octave-inf.el: Update maintainer.
3525
b1f6fa26
CY
35262011-10-26 Chong Yidong <cyd@gnu.org>
3527
3528 * subr.el (with-wrapper-hook): Rewrite doc.
3529
3f04efd6
MA
35302011-10-25 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3533 filenames "/method:foo:". (Bug#9793)
3f04efd6 3534
410488d3
SM
35352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3538 (bug#9865).
3539
c1ebb47e
GM
35402011-10-24 Glenn Morris <rgm@gnu.org>
3541
3542 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3543
7f5c46c7
MA
35442011-10-24 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * notifications.el: Add the requirement of a running D-Bus session
3547 bus to the Commentary.
3548
db2440b6
JL
35492011-10-24 Juri Linkov <juri@jurta.org>
3550
3551 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3552 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3553 (Bug#9364)
3554
feecf435
JL
35552011-10-24 Juri Linkov <juri@jurta.org>
3556
3557 * info.el (Info-following-node-name-re): Add newline to the list
3558 of allowed characters for leading space. (Bug#9824)
3559
a3839de2
SM
35602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3561
acc825c5
SM
3562 * progmodes/octave-inf.el (inferior-octave-mode-map):
3563 Fix C-c C-h binding.
a3839de2
SM
3564 * progmodes/octave-mod.el (octave-help): Remove.
3565
09388e76
MA
35662011-10-23 Michael Albinus <michael.albinus@gmx.de>
3567
3568 Sync with Tramp 2.2.3.
3569
3570 * net/tramp-cache.el (top): Pacify byte-compiler using
3571 `init-file-user' and `site-run-file'.
3572
3573 * net/trampver.el: Update release number.
3574
86c60681
CY
35752011-10-23 Chong Yidong <cyd@gnu.org>
3576
3577 * files.el (toggle-read-only): Remove obsolete comment about
3578 version control.
3579
3580 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3581 for toggle-read-only. Note that this hasn't called vc-next-action
3582 since 2008-05-02, though it wasn't documented at the time.
3583
a3839de2
SM
3584 * vc/ediff-init.el (ediff-toggle-read-only-function):
3585 Use toggle-read-only.
86c60681 3586
cd5495ff
AM
35872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3588
3589 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3590 of c-parse-state.
3591
00b77525 3592 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3593 correct faulty logical expression.
cd5495ff
AM
3594 (c-parse-state-state, c-record-parse-state-state):
3595 (c-replay-parse-state-state): New defvar/defuns.
3596 (c-debug-parse-state): Use new functions.
3597
42ee24ed
MR
35982011-10-22 Martin Rudalics <rudalics@gmx.at>
3599
3600 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3601 last fix. Use window-in-direction correctly.
42ee24ed 3602
a7dee7e7
CY
36032011-10-21 Chong Yidong <cyd@gnu.org>
3604
3605 * progmodes/idlwave.el (idlwave-mode):
3606 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3607 require-final-newline; that's done in prog-mode.
3608 Suggested by Stefan Monnier.
a7dee7e7 3609
e07b9a6d
MR
36102011-10-21 Martin Rudalics <rudalics@gmx.at>
3611
3612 * mouse.el (mouse-drag-window-above)
3613 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3614 (mouse-drag-mode-line-1, mouse-drag-header-line)
3615 (mouse-drag-vertical-line-rightward-window): Remove.
3616 (mouse-drag-line): New function.
3617 (mouse-drag-mode-line, mouse-drag-header-line)
3618 (mouse-drag-vertical-line): Call mouse-drag-line.
3619 * window.el (window-at-side-p, windows-at-side): New functions.
3620
7e1361d9
UM
36212011-10-21 Ulrich Mueller <ulm@gentoo.org>
3622
3623 * tar-mode.el (tar-grind-file-mode):
3624 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3625
30fcaf3a
CY
36262011-10-21 Chong Yidong <cyd@gnu.org>
3627
3628 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3629 * progmodes/vera-mode.el (vera-mode):
3630 Use mode-require-final-newline.
30fcaf3a 3631
516eddb0
GM
36322011-10-20 Glenn Morris <rgm@gnu.org>
3633
db22a3c2 3634 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3635
10d5f513
CS
36362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3637
3638 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3639
ac6c8639
CY
36402011-10-20 Chong Yidong <cyd@gnu.org>
3641
3642 * emulation/cua-base.el (cua-mode):
3643 * mail/footnote.el (footnote-mode):
3644 * mail/mailabbrev.el (mail-abbrevs-mode):
3645 * net/xesam.el (xesam-minor-mode):
3646 * progmodes/bug-reference.el (bug-reference-mode):
3647 * progmodes/cap-words.el (capitalized-words-mode):
3648 * progmodes/compile.el (compilation-minor-mode)
3649 (compilation-shell-minor-mode):
3650 * progmodes/gud.el (gud-tooltip-mode):
3651 * progmodes/hideif.el (hide-ifdef-mode):
3652 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3653 * progmodes/subword.el (subword-mode):
3654 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3655 * progmodes/which-func.el (which-function-mode):
3656 * term/tvi970.el (tvi970-set-keypad-mode):
3657 * term/vt100.el (vt100-wide-mode):
3658 * textmodes/flyspell.el (flyspell-mode):
3659 * textmodes/ispell.el (ispell-minor-mode):
3660 * textmodes/nroff-mode.el (nroff-electric-mode):
3661 * textmodes/paragraphs.el (use-hard-newlines):
3662 * textmodes/refill.el (refill-mode):
3663 * textmodes/reftex.el (reftex-mode):
3664 * textmodes/rst.el (rst-minor-mode):
3665 * textmodes/sgml-mode.el (html-autoview-mode)
3666 (sgml-electric-tag-pair-mode):
3667 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3668 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3669 * emulation/crisp.el (crisp-mode):
3670 * emacs-lisp/eldoc.el (eldoc-mode):
3671 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3672 minor mode behavior.
3673
aa42ab43
JL
36742011-10-19 Juri Linkov <juri@jurta.org>
3675
3676 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3677 the list of hard-coded chars with escape-glyph face.
3678
89400f1d
SM
36792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3682
305c07f6
MA
36832011-10-19 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3686 running process.
3687
13754b54
GM
36882011-10-19 Glenn Morris <rgm@gnu.org>
3689
3690 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3691 Ignore ignored files. (Bug#9726)
3692
06e21633
CY
36932011-10-19 Chong Yidong <cyd@gnu.org>
3694
3695 Doc fix for minor modes, stating that an omitted argument enables
3696 the mode unconditionally when called from Lisp.
3697
3698 * abbrev.el (abbrev-mode):
3699 * allout.el (allout-mode):
3700 * autoinsert.el (auto-insert-mode):
3701 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3702 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3703 (global-auto-revert-mode):
3704 * battery.el (display-battery-mode):
3705 * composite.el (global-auto-composition-mode)
3706 (auto-composition-mode):
3707 * delsel.el (delete-selection-mode):
3708 * desktop.el (desktop-save-mode):
3709 * dired-x.el (dired-omit-mode):
3710 * dirtrack.el (dirtrack-mode):
3711 * doc-view.el (doc-view-minor-mode):
3712 * double.el (double-mode):
3713 * electric.el (electric-indent-mode, electric-pair-mode):
3714 * emacs-lock.el (emacs-lock-mode):
3715 * epa-hook.el (auto-encryption-mode):
3716 * follow.el (follow-mode):
3717 * font-core.el (font-lock-mode):
3718 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3719 * help.el (temp-buffer-resize-mode):
3720 * hilit-chg.el (highlight-changes-mode)
3721 (highlight-changes-visible-mode):
3722 * hi-lock.el (hi-lock-mode):
3723 * hl-line.el (hl-line-mode, global-hl-line-mode):
3724 * icomplete.el (icomplete-mode):
3725 * ido.el (ido-everywhere):
3726 * image-file.el (auto-image-file-mode):
3727 * image-mode.el (image-minor-mode):
3728 * iswitchb.el (iswitchb-mode):
3729 * jka-cmpr-hook.el (auto-compression-mode):
3730 * linum.el (linum-mode):
3731 * longlines.el (longlines-mode):
3732 * master.el (master-mode):
3733 * mb-depth.el (minibuffer-depth-indicate-mode):
3734 * menu-bar.el (menu-bar-mode):
3735 * minibuf-eldef.el (minibuffer-electric-default-mode):
3736 * mouse-sel.el (mouse-sel-mode):
3737 * msb.el (msb-mode):
3738 * mwheel.el (mouse-wheel-mode):
3739 * outline.el (outline-minor-mode):
3740 * paren.el (show-paren-mode):
3741 * recentf.el (recentf-mode):
3742 * reveal.el (reveal-mode, global-reveal-mode):
3743 * rfn-eshadow.el (file-name-shadow-mode):
3744 * ruler-mode.el (ruler-mode):
3745 * savehist.el (savehist-mode):
3746 * scroll-all.el (scroll-all-mode):
3747 * scroll-bar.el (scroll-bar-mode):
3748 * server.el (server-mode):
3749 * shell.el (shell-dirtrack-mode):
3750 * simple.el (auto-fill-mode, transient-mark-mode)
3751 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3752 (line-number-mode, column-number-mode, size-indication-mode)
3753 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3754 * strokes.el (strokes-mode):
3755 * time.el (display-time-mode):
3756 * t-mouse.el (gpm-mouse-mode):
3757 * tool-bar.el (tool-bar-mode):
3758 * tooltip.el (tooltip-mode):
3759 * type-break.el (type-break-mode-line-message-mode)
3760 (type-break-query-mode):
3761 * view.el (view-mode):
3762 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3763 (global-whitespace-mode, global-whitespace-newline-mode):
3764 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3765
a3839de2
SM
3766 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3767 Fix autogenerated docstring.
06e21633 3768
5214e501
JL
37692011-10-19 Juri Linkov <juri@jurta.org>
3770
3771 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3772 by checking environment variables "DESKTOP_SESSION" and
3773 "XDG_CURRENT_DESKTOP". (Bug#9779)
3774
195f8db9
JL
37752011-10-19 Juri Linkov <juri@jurta.org>
3776
3777 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3778 (browse-url-chromium-program, browse-url-chromium-arguments):
3779 New defcustoms.
3780 (browse-url-default-browser): Check for `browse-url-chromium' and
3781 call `browse-url-chromium-program'.
3782 (browse-url-chromium): New command. (Bug#9779)
3783
343a34ff
JB
37842011-10-18 Juanma Barranquero <lekktu@gmail.com>
3785
3786 * facemenu.el (list-colors-duplicates): On Windows, detect more
3787 duplicates by assuming that only colors matching "^System" are
3788 special "system colors". (Bug#9722)
3789
6978a151
SM
37902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3793 to distinguish the author from the committer.
3794
6a80b297
MA
37952011-10-18 Michael Albinus <michael.albinus@gmx.de>
3796
3797 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3798
b31a5677
JK
37992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3800
3801 * international/mule.el (sgml-html-meta-auto-coding-function):
3802 Add support for detecting encoding in HTML5 specified only as
3803 <meta charset="UTF-8">. Implementation just makes http-equiv and
3804 content-type parts from HTML4 encoding string optional. (Bug#9716)
3805
80c6d77f
GM
38062011-10-18 Glenn Morris <rgm@gnu.org>
3807
3808 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3809
08b0fee8
CY
38102011-10-18 Chong Yidong <cyd@gnu.org>
3811
3812 * faces.el (cursor): Doc fix.
3813
67e729a5
CY
38142011-10-17 Chong Yidong <cyd@gnu.org>
3815
3816 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3817
343a34ff 38182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3819
3820 * dirtrack.el (dirtrack): Support shell buffers with path
3821 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3822
0bc06380
TZ
38232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3824
3825 * json.el: Bump version to 1.3 and note change in History.
3826 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3827
8b79f3e0
SM
38282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3829
5a7c536b
SM
3830 * comint.el (comint-insert-input, comint-send-input)
3831 (comint-get-old-input-default, comint-backward-matching-input)
3832 (comint-next-prompt): Use nil instead of `input' for field property of
3833 past user input (bug#114).
3834
96a8a0df
SM
3835 * minibuffer.el (completion--replace): Inherit surrounding properties
3836 (bug#114).
3837 (minibuffer-complete-and-exit): Use it.
3838
8b79f3e0
SM
3839 * comint.el (comint--table-subvert): Quote the all-completions output
3840 (bug#9160).
3841
b8f7ff0d
MR
38422011-10-17 Martin Rudalics <rudalics@gmx.at>
3843
8b79f3e0 3844 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3845
b8f7ff0d 3846 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3847 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3848 entries and separate them from frame entries.
3849
c235b555
GM
38502011-10-15 Glenn Morris <rgm@gnu.org>
3851
3852 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3853 Doc fixes.
3854
6bbfa6e1
CY
38552011-10-15 Chong Yidong <cyd@stupidchicken.com>
3856
8b79f3e0
SM
3857 * net/network-stream.el (network-stream-open-starttls):
3858 Improve detection of failure due to lack of TLS support.
ec5c990d 3859
6bbfa6e1
CY
3860 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3861 putting the input text in front and in bold.
3862
98488977
SM
38632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3d1337be
SM
3865 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3866
ee0b45e4
SM
3867 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3868 empty buffer.
3869
98488977
SM
3870 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3871 unread-command-events rather than pushing yet-another event.
3872
186f4720
EZ
38732011-10-14 Eli Zaretskii <eliz@gnu.org>
3874
3875 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3876 the explanation of the possible choices. Make the options passed
3877 to completing-read shorter.
3878
8b7a997c
AM
38792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3880
3881 * textmodes/flyspell.el (flyspell-large-region): Make sure
3882 extended character mode is used if defined (Bug#1339).
3883
12587bbb
EZ
38842011-10-13 Eli Zaretskii <eliz@gnu.org>
3885
3886 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3887 character info for LRE, LRO, RLE, and RLO characters by appending
3888 an invisible PDF.
12587bbb 3889
bad41229
SM
38902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3893 even in case of error; add debug spec; simplify data flow.
3894 (with-timeout-handler): Remove.
3895
28dbc92f
MA
38962011-10-12 Michael Albinus <michael.albinus@gmx.de>
3897
3898 Fix Bug#6019, Bug#9315.
3899
3900 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3901 complete `buffer-file-name', the local file name part could look
3902 remotely (for example on VMS).
3903
3904 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3905 `tramp-run-real-handler'.
3906 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3907 already quoted by '"'.
3908
3909 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3910 Let `file-name-handler-alist' be nil, the local file name part
3911 could look remotely (for example on VMS).
3912
e1b0b23a
SM
39132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3916 from here...
3917 (flyspell-post-command-hook): ...to here.
3918
a120bde9
SM
39192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3922 if not needed.
3923 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3924 using completion. Protect against "slow" callers.
3925 Remove the "message hack".
3926
7ce7717b
JL
39272011-10-11 Juri Linkov <juri@jurta.org>
3928
3929 * isearch.el (isearch-lazy-highlight-word): New variable.
3930 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3931 Use it. (Bug#9727)
3932
c02ee9d6
GM
39332011-10-11 Glenn Morris <rgm@gnu.org>
3934
3935 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3936 like f90-previous-statement does.
3937
93e616fd 39382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3939
1f190e73 3940 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3941 only in interactive use, to avoid error.
3942
af7b6078
SM
39432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * minibuffer.el (completion-file-name-table): Fix last change,
3946 i.e. ignore normal errors but not the other ones.
3947
0563dae9
MR
39482011-10-10 Martin Rudalics <rudalics@gmx.at>
3949
3950 * window.el (special-display-buffer-names)
3951 (special-display-regexps): Remove some remnants of earlier
3952 changes from doc-strings.
366ca7f3
MR
3953 (quit-windows-on): New function.
3954
3955 * vc/vc.el (vc-revert, vc-rollback):
3956 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3957 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3958 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3959
49677495
MR
39602011-10-09 Martin Rudalics <rudalics@gmx.at>
3961
3962 * window.el (frame-auto-hide-function): Add version tag.
3963 (Bug#9699)
3964
56f2d1e1
MA
39652011-10-09 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3968 condition.
3969
112a6592
LL
39702011-10-09 Leo Liu <sdl.web@gmail.com>
3971
3972 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3973 (Bug#9701)
3974
0812589b
GM
39752011-10-08 Glenn Morris <rgm@gnu.org>
3976
3977 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3978 before the first code statement zero indent. (Bug#9690)
3979
b2b0776e
CY
39802011-10-08 Chong Yidong <cyd@stupidchicken.com>
3981
3982 * simple.el (count-words-region): Always count in the region.
3983 Report the number of lines and characters too.
3984 (count-words): New command, which counts in the buffer if the
3985 region is inactive, as count-words-region used to.
3986 (count-words--message): New function. Handle plurals.
3987 (count-lines-region): Make it an alias for count-words-region.
3988
3989 * bindings.el (esc-map): Replace count-lines-region with
3990 count-words-region.
3991
c557cd6b
MR
39922011-10-08 Martin Rudalics <rudalics@gmx.at>
3993
3994 * window.el (window--delete): Delete dedicated frame
3995 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3996 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3997
61a57ef4 39982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3999
3a7d293b 4000 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4001
c3833279
CY
40022011-10-07 Chong Yidong <cyd@stupidchicken.com>
4003
4004 * bindings.el ([M-left],[M-right]): Bind to left-word and
4005 right-word respectively.
4006
21ce8245
GM
40072011-10-07 Glenn Morris <rgm@gnu.org>
4008
4009 * cus-start.el (debug-on-quit): Fix custom type.
4010
6d823bb2
LMI
40112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4012
0181e193
LMI
4013 * subr.el (define-key-after): Clarify that the function is not
4014 useful for non-menu keymaps.
4015
6d823bb2
LMI
4016 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4017
8e3459ce 40182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4019
21ce8245 4020 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4021 in current minibuffer (Fix bug with recursive minibuffers).
4022
a1c2d21e
CY
40232011-10-06 Chong Yidong <cyd@stupidchicken.com>
4024
4025 * progmodes/gdb-mi.el (gdb): Doc fix.
4026
5a4cf282
MR
40272011-10-05 Martin Rudalics <rudalics@gmx.at>
4028
4029 * window.el (frame-auto-hide-function): New option replacing
4030 frame-auto-delete. Suggested by Stefan Monnier.
4031 (window--delete): Call frame-auto-hide-function instead of
4032 investigating frame-auto-delete.
c96111ea
MR
4033 (window-point-1, set-window-point-1): New functions.
4034 (window-in-direction, record-window-buffer, window-state-get-1)
4035 (display-buffer-record-window): Use window-point-1 instead of
4036 window-point.
4037 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4038
9854542e
SM
40392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4042
8943cfb0
GM
40432011-10-05 Glenn Morris <rgm@gnu.org>
4044
4045 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4046 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4047
647ab967
LL
40482011-10-05 Leo Liu <sdl.web@gmail.com>
4049
4050 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4051 works with buffer object.
4052
3ddfbced
SM
40532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * mpc.el (mpc-tool-bar-map): Add labels.
4056
bdfa5dd2
GM
40572011-10-04 Glenn Morris <rgm@gnu.org>
4058
4059 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4060
0e2070b5
MR
40612011-10-04 Martin Rudalics <rudalics@gmx.at>
4062
4063 * window.el (window--delete): New function.
4064 (frame-auto-delete): Resuscitate option.
4065 (bury-buffer, replace-buffer-in-windows)
4066 (quit-window): Rewrite using window--delete.
4067 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4068 Pass display-buffer-mark-dedicated to window--display-buffer-2
4069 (Bug#9639).
4070
3dc61a09
SM
40712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4072
915a9b64
SM
4073 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4074 returns a list (bug#9554). Add remote file name completion.
4075 * comint.el (comint--table-subvert): Curry and get quote&unquote
4076 functions as arguments.
4077 (comint--complete-file-name-data): Adjust call accordingly.
4078 * pcomplete.el (pcomplete--table-subvert): Remove.
4079 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4080
3dc61a09
SM
4081 * minibuffer.el (completion-table-case-fold): Use currying.
4082 (completion--styles-type, completion--cycling-threshold-type):
4083 New constants.
4084 (completion-styles, completion-category-overrides)
4085 (completion-cycle-threshold): Use them.
4086 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4087 completion-table-case-fold.
4088
8ea0a993
SB
40892011-10-03 Stephen Berman <stephen.berman@gmx.net>
4090
4091 * minibuffer.el (completion-category-overrides): Fix type of styles
4092 and add more user friendly tags (bug#9660).
4093
8c24b7f6
SM
40942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4097 (mule-input-method-string): New widget.
4098 (default-input-method, language-info-custom-alist): Use it.
4099
428fe61a
SM
41002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4101
32c1fffd
SM
4102 * pcomplete.el: Require comint.
4103 (pcomplete--common-suffix): Remove.
4104 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4105 (pcomplete--table-subvert): Sync with comint--table-subvert.
4106 (pcomplete--entries): Use comint-completion-file-name-table.
4107 * comint.el (comint-unquote-filename): Simplify.
4108 (comint-completion-file-name-table): New function (bug#9616).
4109 (comint--complete-file-name-data): Use it.
4110
428fe61a
SM
4111 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4112 (pcmpl-gnu-tar-buffer): Remove.
4113 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4114 around. Make sure pcomplete-suffix-list is only changed temporarily.
4115 Don't look inside the tar's file if it's too large.
428fe61a 4116
04c52e2f
CY
41172011-10-01 Chong Yidong <cyd@stupidchicken.com>
4118
ce3cefcc
CY
4119 * cus-edit.el (custom-mode-map):
4120 * epa.el (epa-key-list-mode-map):
4121 * man.el (Man-mode-map):
4122 * startup.el (splash-screen-keymap):
4123 * simple.el (special-mode-map): Use scroll-up-command and
4124 scroll-down-command.
4125
4126 * progmodes/idlw-help.el (idlwave-help-mode-map):
4127 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4128 * net/newst-plainview.el (newsticker-mode-map):
4129 * emulation/ws-mode.el (wordstar-mode-map):
4130 * emulation/vi.el (vi-com-map):
4131 * calc/calc-graph.el (calc-graph-show-dumb):
4132 * term/sun.el (terminal-init-sun):
4133 * term/ns-win.el (global-map):
4134 * progmodes/grep.el (grep-mode-map):
4135 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4136 * mail/rmail.el (rmail-mode-map):
4137 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4138
04c52e2f
CY
4139 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4140 custom-safe-themes as special.
4141
79adf8c8
JD
41422011-10-01 Julien Danjou <julien@danjou.info>
4143
4144 * notifications.el (notifications-notify): Fix docstring.
4145
63bd50d3
PS
41462011-10-01 Per Starbäck <per@starback.se>
4147
4148 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4149
199e4c7e
MR
41502011-09-30 Martin Rudalics <rudalics@gmx.at>
4151
4152 * startup.el (command-line-1): Fix last fix by inserting
4153 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4154 (Bug#9605) and (Bug#9636)
199e4c7e 4155
fe5f08dd
EZ
41562011-09-29 Eli Zaretskii <eliz@gnu.org>
4157
4158 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4159 window is hscrolled, move by logical lines. (Bug#9607)
4160 (line-move-visual): Update the doc string to the above effect.
4161
b5516bbd
MR
41622011-09-29 Martin Rudalics <rudalics@gmx.at>
4163
ccee00c0
MR
4164 * window.el (display-buffer-record-window): When WINDOW is the
4165 selected window use `point' instead of `window-point'. (Bug#9626)
4166
b5516bbd
MR
4167 * startup.el (command-line-1): Use insert-before-markers when
4168 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4169
b5516bbd
MR
4170 * help.el (help-window): Remove variable.
4171
52aa0014
GM
41722011-09-29 Glenn Morris <rgm@gnu.org>
4173
4174 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4175
df9a7357
JB
41762011-09-29 Juanma Barranquero <lekktu@gmail.com>
4177
4178 * descr-text.el (describe-char-categories): Accept category
4179 descriptions more than one line long.
4180
a8406c20
SM
41812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4182
88d9610c
SM
4183 * simple.el (delete-trailing-whitespace): Fix last change.
4184
a5daf810
SM
4185 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4186 Don't confuse "y => 3" as the beginning of a `y' operation.
4187
a8406c20
SM
4188 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4189 object has more than 4 slots (bug#9613).
4190
a239d4e9
JB
41912011-09-28 Juanma Barranquero <lekktu@gmail.com>
4192
4193 * subr.el (with-output-to-temp-buffer):
4194 * net/quickurl.el (quickurl, quickurl-browse-url):
4195 Fix typos in docstrings.
4196
693fbdb6
EZ
41972011-09-27 Eli Zaretskii <eliz@gnu.org>
4198
4199 * minibuffer.el (completion-styles)
4200 (completion-category-overrides): Cross reference each other in doc
4201 strings.
4202
8b457e28
GM
42032011-09-27 Glenn Morris <rgm@gnu.org>
4204
4205 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4206 to split-string. (Bug#9606)
4207
85a16208
LMI
42082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4209
4210 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4211 (bug#9615).
4212
502f9ebd
CY
42132011-09-27 Chong Yidong <cyd@stupidchicken.com>
4214
4215 * emacs-lisp/package.el (list-packages): Fix echo area message.
4216
7690bdea
LL
42172011-09-27 Leo Liu <sdl.web@gmail.com>
4218
4219 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4220
e2ee6f30
MA
42212011-09-25 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * net/dbus.el (dbus-unregister-object): Don't release services for
4224 registered signals. (Bug#9581)
4225
f3f98342
TZ
42262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4227
4228 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4229 function that picks between cfengine 2 and 3 support
4230 automatically. Update docs accordingly.
4231
dd7aa8dd
KH
42322011-09-22 Kenichi Handa <handa@m17n.org>
4233
4234 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4235 ZERO.
4236 (indian-itrans-v5-table-for-tamil): New variable.
4237 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4238
3f2b07f8
KM
42392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4240
4241 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4242 that's true if the current command involved collapsing of text.
4243 It's reset to false at the beginning of the next command.
4244 (allout-post-command-business): Move the cursor to the beginning
4245 of entry if the cursor is hidden and collapsing activity just
4246 happened.
4247
371d6a61
CY
42482011-09-24 Chong Yidong <cyd@stupidchicken.com>
4249
4250 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4251 tracking (Bug#9541).
4252
2ac2721a
UJ
42532011-09-24 Ulf Jasper <ulf.jasper@web.de>
4254
4255 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4256 (newsticker-show-news): Automatically load html rendering package
4257 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4258 because w3m-fill-column is let-bound" and the error "Symbol's value
4259 as variable is void: w3m-fill-column".
2ac2721a 4260
fac7ae53
MA
42612011-09-24 Michael Albinus <michael.albinus@gmx.de>
4262
4263 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4264 Release services only if they are defined. (Bug#9581)
4265
e08b633b
RS
42662011-09-23 Richard Stallman <rms@gnu.org>
4267
e488d29c
RS
4268 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4269 distinguish start of paragraph from start of its text.
4270
19c38752
RS
4271 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4272
e08b633b
RS
4273 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4274 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4275 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4276
0a39f27e
AS
42772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4278
4279 * international/mule-diag.el (mule-diag): Insert a newline after
4280 each fontset description.
4281
db4e950d
SM
42822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * simple.el (delete-trailing-whitespace):
4285 Document last change; simplify.
4286
eca3f3ea
PW
42872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4288
d68e189a
PW
4289 * simple.el (delete-trailing-whitespace): Also delete
4290 extra newlines at the end of the buffer.
4291
eca3f3ea
PW
4292 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4293 (picture-newline): Use forward-line so as to ignore fields.
4294
01c157cc
SM
42952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * subr.el (with-wrapper-hook): Fix edebug spec.
4298
022de23e
LMI
42992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300
4301 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4302 (bug#4538).
4303
91683089
MA
43042011-09-23 Michael Albinus <michael.albinus@gmx.de>
4305
eca3f3ea
PW
4306 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4307 Fix nasty bug using wrong cached values.
91683089 4308
5bdd6fa4
AM
43092011-09-23 Alan Mackenzie <acm@muc.de>
4310
4311 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4312
97adfb97
CY
43132011-09-23 Chong Yidong <cyd@stupidchicken.com>
4314
4315 * window.el (pop-to-buffer): Ensure right window is selected if we
4316 chose another frame.
4317
d4ef2b50
EZ
43182011-09-22 Eli Zaretskii <eliz@gnu.org>
4319
4320 * simple.el (what-cursor-position): Use get-char-property-change
4321 and next-single-char-property-change, to be able to show display
4322 properties that come from overlays as well as text properties.
4323
72258fe5
CY
43242011-09-22 Chong Yidong <cyd@stupidchicken.com>
4325
4326 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4327
4328 * cmuscheme.el (run-scheme, switch-to-scheme):
4329 * cus-edit.el (customize-group, custom-buffer-create)
4330 (customize-browse):
4331 * info.el (info):
4332 * shell.el (shell):
4333 * mail/sendmail.el (mail):
4334 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4335
8f098516
RS
43362011-09-22 Richard Stallman <rms@gnu.org>
4337
4338 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4339 move back only to line beg, don't move back over blank lines.
4340
e74f1bb6
MA
43412011-09-22 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * files.el (copy-directory): Set directory attributes only in case
4344 they could be retrieved from the source directory. (Bug#9565)
4345
bfeef8b6
DK
43462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4347
4348 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4349 (hs-find-block-beginning, hs-hide-level-recursive):
4350 Ignore strings as well as comments. (Bug#9502)
4351
7e423bb8
AS
43522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4353
4354 * progmodes/sql.el (sql-comint-postgres):
4355 Convert port number to a string. (Bug#9566)
4356
b4d72fcf
MR
43572011-09-22 Martin Rudalics <rudalics@gmx.at>
4358
4359 * window.el (quit-window): Undedicate window when switching to
4360 previous buffer. Reported by Thierry Volpiatto
4361 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4362 (special-display-popup-frame): When popping up a new frame reset
4363 its previous buffers to nil. Simplify code.
b4d72fcf 4364
a7b88dc6
MA
43652011-09-21 Michael Albinus <michael.albinus@gmx.de>
4366
4367 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4368 and process filter, as done also in `shell-command'.
4369
cf4eacfd
MR
43702011-09-21 Martin Rudalics <rudalics@gmx.at>
4371
eca3f3ea 4372 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4373 Call set-window-start with NOFORCE argument t.
4374 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4375 (quit-window): Reword doc-string. Handle new format of
4376 quit-restore parameter. Don't delete window if it has a
4377 previous buffer we can show instead of the present one.
4378 (display-buffer-record-window): Rewrite using a new format for
4379 the quit-restore window parameter
4380 (special-display-popup-frame, display-buffer-same-window)
4381 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4382 (display-buffer-pop-up-window, display-buffer-use-some-window):
4383 Adapt symbol passed to display-buffer-record-window.
4384 * help.el (help-window-setup): Handle new format of quit-restore
4385 parameter.
4386
8d28cb95
SM
43872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4388
94ab793f
SM
4389 * faces.el (face-list): Fix docstring (bug#9564).
4390
8d28cb95
SM
4391 * window.el (display-buffer--action-function-custom-type):
4392 Don't include internal functions in the Custom interface.
4393
3820edeb
JL
43942011-09-20 Juri Linkov <juri@jurta.org>
4395
4396 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4397 (Info-forward-node, Info-backward-node, Info-next-preorder)
4398 (Info-last-preorder): Use it. (Bug#9528)
4399
5147931d
JL
44002011-09-20 Juri Linkov <juri@jurta.org>
4401
4402 * info.el (Info-last-preorder): Visit last menu item only when
4403 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4404
cf499a1a
JD
44052011-09-20 Julien Danjou <julien@danjou.info>
4406
4407 * password-cache.el (password-cache-remove): Remove entries even if the
4408 value is nil, so that password with a nil value (negative caching) is
4409 possible to invalidate.
4410
f84e2fe2
LM
44112011-09-20 Lawrence Mitchell <wence@gmx.li>
4412
4413 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4414 all whitespace around breakpoint. (Bug#9553)
4415 (f90-find-breakpoint): Only break at whitespace inside a comment.
4416
78054a46
SM
44172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * minibuffer.el (completion-file-name-table): Keep track of errors.
4420 (completion-table-with-predicate): Handle the case where pred1 is nil.
4421 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4422
345083b2
SM
44232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4424
e24e27be
SM
4425 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4426 (debugger-return-value): Signal an error if the debugging context does
4427 not await any return value.
4428
345083b2
SM
4429 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4430 * image-mode.el (image-toggle-display-text)
4431 (image-toggle-display-image): Stay away from evil `intangible'.
4432
08d355e3
LL
44332011-09-19 Leo Liu <sdl.web@gmail.com>
4434
4435 * replace.el (occur-revert-arguments): Make it permanent-local.
4436 (occur-mode): Don't call font-lock-defontify.
4437
f01da43f
CY
44382011-09-19 Chong Yidong <cyd@stupidchicken.com>
4439
4440 * net/ldap.el (ldap-search-internal): Don't push empty search
4441 result (Bug#9508).
4442
b6072fa6
SM
44432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4446
443d6696
MA
44472011-09-19 Michael Albinus <michael.albinus@gmx.de>
4448
4449 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4450 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4451
7cc6e154
JL
44522011-09-18 Juri Linkov <juri@jurta.org>
4453
4454 * buff-menu.el (Buffer-menu-mode-map):
4455 * dired.el (dired-mode-map):
4456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4457 (lisp-interaction-mode-map):
4458 * emacs-lisp/package.el (package-menu-mode-map):
4459 * epa.el (epa-key-list-mode-map):
4460 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4461 (menu-bar-options-menu):
4462 * outline.el (outline-mode-menu-bar-map):
4463 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4464 * vc/vc-dir.el (vc-dir-menu-map):
4465 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4466 Capitalize non-function content words in menu item strings.
4467
4468 * dired.el (dired-mode-map): Add menu item for
4469 `image-dired-dired-toggle-marked-thumbs'.
4470
80302a81
JL
44712011-09-18 Juri Linkov <juri@jurta.org>
4472
4473 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4474 to `isearch-case-fold-search' and restore its original value
4475 after the `isearch-mode' call.
4476
46c5cf66
JL
44772011-09-18 Juri Linkov <juri@jurta.org>
4478
4479 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4480 because `zgrep' returns 1 for successful matches (bug#9226).
4481
d18b513b
JL
44822011-09-18 Juri Linkov <juri@jurta.org>
4483
4484 * info.el (Info-extract-menu-node-name): Check the second match
4485 for empty string (second test-case of bug#9528).
4486 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4487 intermediate nodes to the history (first test-case of bug#9528).
4488
72753f87
JL
44892011-09-18 Juri Linkov <juri@jurta.org>
4490
4491 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4492 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4493
c9384295
JL
44942011-09-18 Juri Linkov <juri@jurta.org>
4495
1154d12e
JB
4496 * info.el (Info-file-supports-index-cookies):
4497 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4498 outputs one more line for long file names (bug#4142).
c9384295 4499
d473dce8
CY
45002011-09-18 Chong Yidong <cyd@stupidchicken.com>
4501
4502 * newcomment.el (comment-normalize-vars): If prompting for
4503 comment-start, set comment-start-skip too (Bug#8424).
4504
2176854d
JB
45052011-09-18 Johan Bockgård <bojohan@gnu.org>
4506
4507 * icomplete.el: Fix previous fix of Bug#5849.
4508 (icomplete-mode): Don't set completion-show-inline-help.
4509 (icomplete-minibuffer-setup): Set completion-show-inline-help
4510 locally during icompletion.
4511
3aace4e4
CY
45122011-09-18 Chong Yidong <cyd@stupidchicken.com>
4513
c940224f
CY
4514 * woman.el (woman2-process-escapes): Don't delete unrecognized
4515 escapes (Bug#7843).
4516
3aace4e4
CY
4517 * files.el (inhibit-first-line-modes-regexps): Add image files.
4518 (hack-local-variables-prop-line): Return nil for malformed
4519 prop-lines (Bug#9044).
4520
710dec63
MA
45212011-09-18 Michael Albinus <michael.albinus@gmx.de>
4522
4523 * net/tramp.el (top): Don't require 'shell.
4524 (tramp-methods): Fix docstring.
4525 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4526 Return complete remote file name. Handle "smb" case.
4527 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4528 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4529
4530 * net/tramp-compat.el (top): Require 'shell.
4531
4532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4533 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4534 `tramp-current-host'.
4535 (tramp-get-remote-tmpdir): Remove.
4536
4537 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4538 `tramp-tmpdir' entries.
4539 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4540 (tramp-smb-handle-file-attributes): Ignore errors.
4541 (tramp-smb-wait-for-output): Check also for process end.
4542
5d5ac8ec
LMI
45432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4544
4545 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4546 when sending QUIT (bug#9312).
4547
8c0f49f0
CY
45482011-09-17 Chong Yidong <cyd@stupidchicken.com>
4549
4550 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4551 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4552 occur-mode-display-occurrence.
4553 (occur-edit-mode): Add usage message.
4554 (occur-cease-edit): New command.
4555 (occur-after-change-function): Use text properties to find the
4556 position of the prefix text.
4557 (occur-engine): Set stickiness of prefix text properties.
4558
8f1383f7
GM
45592011-09-17 Glenn Morris <rgm@gnu.org>
4560
4561 * progmodes/etags.el (complete-tag):
4562 Fix call to completion-in-region. (Bug#9526)
4563
744ba0e3
JL
45642011-09-17 Juri Linkov <juri@jurta.org>
4565
4566 * textmodes/ispell.el (ispell-word): Add to the error message
4567 the word, ispell program name and current dictionary (bug#9121).
4568 (ispell-tex-arg-end): Capitalize "error" in the error message.
4569
d9bbf400
AS
45702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4571
4572 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4573 check. (Bug#4251)
4574
8da11505
JL
45752011-09-17 Juri Linkov <juri@jurta.org>
4576
4577 * window.el (window-safe-min-height, window-safe-min-width):
4578 Fix typos (followup to bug#9522).
4579
a91adc7e
SJ
45802011-09-17 Sven Joachim <svenjoac@gmx.de>
4581
4582 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4583
064f328a
EZ
45842011-09-16 Eli Zaretskii <eliz@gnu.org>
4585
4586 * simple.el (line-move): If goal-column is set, move by logical
4587 lines, not by display lines. (Bug#971)
4588 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4589 to reflect the above change.
4590
e69df516
SM
45912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * image.el (imagemagick-register-types): Use regexp-opt.
4594
cbb0f9ab
CY
45952011-09-15 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * window.el (display-buffer-base-action): Rename from
4598 display-buffer-default-action. Make default value empty.
4599 (display-buffer-overriding-action): Convert to defvar.
4600 (display-buffer-fallback-action): New var.
4601
25322144
CY
46022011-09-15 Chong Yidong <cyd@stupidchicken.com>
4603
4604 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4605 declaration.
4606 (package--add-to-archive-contents): If there is a duplicate entry
4607 with an older version, remove it.
4608 (package-menu-mark-delete, package-menu-mark-install)
4609 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4610 (package-menu-mark-obsolete-for-deletion):
4611 Use package-menu-get-status instead of a regexp search.
25322144
CY
4612 (package-menu-get-status): Use tabulated-list-entry.
4613 (package-menu-mark-upgrades): New command.
d770725a 4614 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4615 (package-menu-execute): Do installation before deletion.
4616 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4617 instead of checking major-mode.
4618 (package-menu--find-upgrades): New function.
4619
7520339c
LMI
46202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4621
4622 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4623 passwords in the log buffer.
65a046c4
LMI
4624 (smtpmail-process-filter): Update the process marker so that the
4625 "broken by peer" status message is inserted in the right place.
7520339c 4626
d3c30954
SM
46272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4628
3fe48822
SM
4629 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4630 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4631 bibtex-completion-at-point-function.
4632 (bibtex-completion-at-point-function): Use them.
4633
1b8b3954
SM
4634 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4635
d3c30954
SM
4636 * mpc.el (mpc-constraints-tag-lookup): New function.
4637 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4638 also to browser "album|playlist".
4639
72779976
JL
46402011-09-14 Juri Linkov <juri@jurta.org>
4641
4642 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4643 (isearch-edit-string): Use length of `isearch-string' when
4644 `isearch-fail-pos' returns nil.
4645 (isearch-message): Remove duplicate code and call
4646 `isearch-fail-pos' with arg `t'.
4647
a0bf2bcd
CY
46482011-09-14 Chong Yidong <cyd@stupidchicken.com>
4649
17bb0a2d
CY
4650 * replace.el (occur-mode-goto-occurrence): Don't force using other
4651 window (Bug#9499).
4652
a0bf2bcd
CY
4653 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4654
f678e0b6
MR
46552011-09-14 Martin Rudalics <rudalics@gmx.at>
4656
4657 * window.el (display-buffer-window): Remove.
4658 (display-buffer-record-window): Use help-setup window parameter
4659 instead of variable display-buffer-window.
4660 (display-buffer-function, special-display-buffer-names)
4661 (special-display-function): Mention help-setup parameter instead
4662 of display-buffer-window in doc-string.
d3c30954
SM
4663 * help.el (help-window-setup): New argument help-window.
4664 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4665 Reword some messages.
4666 (with-help-window): Pass window used for displaying the buffer
4667 to help-window-setup. Don't set display-buffer-window.
4668
8e39b2e8
GM
46692011-09-13 Glenn Morris <rgm@gnu.org>
4670
4671 * emacs-lisp/debug.el (debugger-make-xrefs):
4672 Preserve point. (Bug#9462)
4673
85e9c04b
CY
46742011-09-13 Chong Yidong <cyd@stupidchicken.com>
4675
4676 * window.el (window-deletable-p): Use next-frame.
4677
1b36ed6a
MR
46782011-09-13 Martin Rudalics <rudalics@gmx.at>
4679
4680 * window.el (window-auto-delete): Remove.
4681 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4682 dedication and previous buffers.
1b36ed6a
MR
4683 (switch-to-prev-buffer): Don't delete window.
4684 (delete-windows-on): Delete a window's frame if and only if the
4685 window is dedicated.
4686 (replace-buffer-in-windows): Delete buffer's window or frame if
4687 and only if window is dedicated.
4688 (quit-window): Handle quit-restore as before last change.
4d61f28d 4689 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4690
ef8ef9fb
CY
46912011-09-13 Chong Yidong <cyd@stupidchicken.com>
4692
4693 * window.el (window-deletable-p): Never delete the last frame on a
4694 given terminal.
4695
b2cba41e
GM
46962011-09-13 Glenn Morris <rgm@gnu.org>
4697
4698 * help.el (describe-key-briefly): Copy previous standard-output change.
4699
51553db6 47002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4701
4702 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4703
b7556719
GM
47042011-09-13 Glenn Morris <rgm@gnu.org>
4705
4706 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4707 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4708
64b51947
CY
47092011-09-12 Chong Yidong <cyd@stupidchicken.com>
4710
4711 * dired-aux.el (dired-mark-read-string): Don't return default
4712 value on empty input (Bug#9361).
4713 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4714 Omit initial minibuffer contents.
4715 (dired-do-chmod): Signal an error on empty input.
4716 (dired-mark-read-string): Don't return default on empty input.
4717
4718 * files.el (file-modes-symbolic-to-number): Doc fix.
4719
393a301e
SM
47202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * international/mule-cmds.el (ucs-completions): Remove.
4723 (read-char-by-name): Use complete-with-action instead; add metadata.
4724
fa5660f9
CY
47252011-09-11 Chong Yidong <cyd@stupidchicken.com>
4726
4727 * window.el (display-buffer--action-function-custom-type)
4728 (display-buffer--action-custom-type): New vars.
4729 (display-buffer-alist, display-buffer-default-action)
4730 (display-buffer-overriding-action): Add defcustom types.
4731
4a592f66
CY
4732 * frame.el (delete-other-frames): Doc fix (Bug#276).
4733
73d56dbd
LMI
47342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4735
4736 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4737
37ac18a3
CY
47382011-09-11 Chong Yidong <cyd@stupidchicken.com>
4739
4740 Change modes that used same-window-* vars to use switch-to-buffer.
4741
4742 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4743 Use switch-to-buffer.
4744
4745 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4746 (customize-browse, custom-buffer-create-other-window):
4747 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4748
4749 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4750 (Info-prev, Info-up, Info-speedbar-goto-node)
4751 (info-display-manual): Use switch-to-buffer.
4752 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4753
4754 * mail/sendmail.el (mail): Use switch-to-buffer.
4755 (mail-recover): Use switch-to-buffer-other-window.
4756
4757 * cmuscheme.el (run-scheme, switch-to-scheme):
4758 * ielm.el (ielm):
4759 * shell.el (shell):
4760 * net/rlogin.el (rlogin):
4761 * net/telnet.el (telnet, rsh):
4762 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4763
10195bd6
AS
47642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4765
4766 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4767
b322f63a
LMI
47682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769
39d7fed6
LMI
4770 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4771 so don't mention it (bug#9301).
ba5a81f1 4772 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4773
ee0e9f11
LMI
4774 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4775 match `x', `w32' and `ns', like the manual says (bug#9029).
4776
0b1c89c1 4777 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4778 (process-kill-buffer-query-function): Mention the buffer name in
4779 the query.
0b1c89c1 4780
77549ea8
LMI
4781 * image-mode.el (image-next-line): The line parameter is mandatory
4782 (bug#9258).
4783
803ef892
LMI
4784 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4785 which can be useful (bug#9301).
4786
12980837
LMI
4787 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4788
91054f8f
LMI
4789 * subr.el (match-string): Mention that the current buffer should
4790 be the same as the search was done in (bug#9282).
4791
b322f63a
LMI
4792 * facemenu.el: Disable the remove-* commands if the mark isn't
4793 active (bug#9162).
4794
3199b96f
CY
47952011-09-10 Chong Yidong <cyd@stupidchicken.com>
4796
4797 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4798 of display-buffer.
4799 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4800
4801 * replace.el (occur-mode-goto-occurrence)
4802 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4803 and display-buffer.
4804
4805 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4806 display-buffer.
4807
4808 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4809 special-display and same-window variables.
4810 (mail-other-window): Use switch-to-buffer-other-window.
4811 (mail-other-frame): USe switch-to-buffer-other-frame.
4812
393a301e
SM
4813 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4814 Use display-buffer-other-frame.
3199b96f
CY
4815 (gdb-display-gdb-buffer): Use pop-to-buffer.
4816
4817 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4818
4819 * progmodes/python.el: Don't set same-window-buffer-names.
4820
4821 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4822
4823 * window.el (display-buffer-alist): Add *Python*.
4824
8319e0bf
CY
48252011-09-10 Chong Yidong <cyd@stupidchicken.com>
4826
4827 * window.el (display-buffer-alist): Add entry for buffers
4828 previously handled same-window-*.
4829 (display-buffer-alist, display-buffer-default-action)
4830 (display-buffer-overriding-action): Mark as risky.
4831 (display-buffer-alist): Document action function changes.
4832 (display-buffer--same-window-action)
4833 (display-buffer--other-frame-action): New variables.
4834 (switch-to-buffer, display-buffer-other-frame): Use them.
4835 (display-buffer): Rename reuse-frame entry to reusable-frames.
4836 (display-buffer-reuse-selected-window): Function deleted.
4837 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4838 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4839 (display-buffer-special): New function.
4840 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4841 display-buffer-reuse-or-pop-window. Split off special-display
4842 part into display-buffer-special.
4843 (display-buffer-use-some-window): Don't perform any special
4844 pop-up-frames handling.
4845 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4846 (display-buffer--maybe-same-window): Rename from
0d3ff375 4847 display-buffer-maybe-same-window.
8319e0bf 4848
919a69aa
CY
4849 * info.el: Don't set same-window-regexps.
4850 (info-setup): New function.
4851 (info-other-window, info): Call it.
4852
4853 * cus-edit.el: Don't set same-window-regexps.
4854 (customize-group): New argument.
4855 (customize-group-other-window): Use it.
4856 (customize-face, customize-face-other-window): Likewise.
4857 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4858
8319e0bf
CY
4859 * net/rlogin.el:
4860 * net/telnet.el:
4861 * progmodes/gud.el: Don't set same-window-regexps.
4862
4863 * cmuscheme.el:
4864 * ielm.el:
4865 * shell.el:
4866 * mail/sendmail.el:
4867 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4868
25173000
JL
48692011-09-10 Juri Linkov <juri@jurta.org>
4870
4871 * isearch.el (isearch-edit-string): Remove obsolete mention of
4872 `C-w' (`isearch-yank-word-or-char') from docstring.
4873 (isearch-query-replace): Fix typo in docstring (bug#9466).
4874
056e44ef
JL
48752011-09-10 Juri Linkov <juri@jurta.org>
4876
4877 * paren.el (show-paren-function): Don't show escaped parens.
4878 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4879
c3760c17
EZ
48802011-09-10 Eli Zaretskii <eliz@gnu.org>
4881
4882 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4883 (mm-default-file-encoding): Remove autoload forms, they are
4884 replaced with autoload cookies in mml.el and mm-encode.el.
4885 (mail-add-attachment): New command.
4886 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4887 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4888 the doc string.
4889 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4890
fece895e
RT
48912011-09-10 Reuben Thomas <rrt@sc3d.org>
4892
e69df516
SM
4893 * simple.el (count-words-region): Use buffer if there's no region
4894 (bug#9429).
fece895e 4895
5e68ce4a
JL
48962011-09-09 Juri Linkov <juri@jurta.org>
4897
4898 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4899 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4900 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4901
0a6b9622
AM
49022011-09-09 Alan Mackenzie <acm@muc.de>
4903
4904 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4905 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4906
14a29deb
EZ
49072011-09-09 Eli Zaretskii <eliz@gnu.org>
4908
4909 Fix for Savannah bug#9392.
4910 * simple.el (mail-encode-mml): New defvar.
4911
4912 * mail/rmail.el (mail-encode-mml): Add a defvar.
4913 (rmail-enable-mime-composing): Default to t.
4914 (rmail-forward): Use MIME method of forwarding only if both
4915 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4916 Set mail-encode-mml non-nil if the MIME method was used.
4917
4918 * mail/sendmail.el (mml-to-mime): Add autoload form.
4919 (mail-encode-mml): Add a defvar.
4920 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4921 to nil.
4922 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4923 message through mml-to-mime, and reset mail-encode-mml to nil.
4924
28c45130
GM
49252011-09-09 Glenn Morris <rgm@gnu.org>
4926
4927 * woman.el (woman-if-body): When processing an .el block,
4928 do not delete the next .el block as well. (Bug#9447)
69f4b618 4929 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4930
9b1c252e
MR
49312011-09-08 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (window-deletable-p): Make sure window is live before
4934 invoking window-prev-buffers.
4935
567457e3
LL
49362011-09-08 Leo Liu <sdl.web@gmail.com>
4937
4938 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4939
97f05794
JL
49402011-09-08 Juri Linkov <juri@jurta.org>
4941
4942 * progmodes/compile.el (compilation-environment): Make it
4943 a defcustom (bug#8340).
4944
8b0874b5
MR
49452011-09-08 Martin Rudalics <rudalics@gmx.at>
4946
4947 * window.el (frame-auto-delete): Rename to window-auto-delete.
4948 Make it control auto-deletion of windows and/or frames.
4949 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4950 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4951 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4952 Rewrite handling of case when window/frame can be deleted.
4953 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4954 argument t. (Bug#9456)
8b0874b5 4955
4feb6e73
CY
49562011-09-07 Chong Yidong <cyd@stupidchicken.com>
4957
4958 * help-mode.el (help-mode): Restore autoload.
4959
91ab9c13
JL
49602011-09-07 Juri Linkov <juri@jurta.org>
4961
4962 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4963 `compilation-environment'. Set buffer-local
4964 `compilation-environment' to `thisenv' later after (funcall mode).
4965 (Bug#8340)
4966
4967 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4968 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4969 instead of replacing its value. (Bug#8340)
4970
0527e251
JL
49712011-09-07 Juri Linkov <juri@jurta.org>
4972
4973 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4974 based on text properties put by `grep-filter' instead of matching
4975 escape sequences.
4976 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4977 to the value of `grep-error-screen-columns' (bug#9438).
4978
249f792c
JL
49792011-09-07 Juri Linkov <juri@jurta.org>
4980
4981 * simple.el (next-error-highlight, next-error-highlight-no-select):
4982 Doc fix (bug#9432).
4983
ff7271b9
OT
49842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4985
4986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4987 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4988
183fc730
LL
49892011-09-07 Leo Liu <sdl.web@gmail.com>
4990
4991 * net/rcirc.el (rcirc-mode): Conditionally initialize
4992 rcirc-input-ring.
4993
77694924
SM
49942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * emacs-lisp/find-func.el (find-function-C-source): Only set
4997 find-function-C-source-directory after checking that we found a source
4998 file there (bug#9440).
4999
d809b8eb
AM
50002011-09-06 Alan Mackenzie <acm@muc.de>
5001
5002 * isearch.el (isearch-other-meta-char): Wherever a key list is
5003 unread, "unread" the prefix arg, too. This fixes bug #8901.
5004
453de99f
OG
50052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5006
5007 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5008
90439906
JL
50092011-09-05 Juri Linkov <juri@jurta.org>
5010
5011 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5012
f62bd846
JL
50132011-09-05 Juri Linkov <juri@jurta.org>
5014
5015 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5016 keeping point where processing of grep matches begins, and
5017 continue to delete remaining escape sequences from the same point.
5018 (grep-filter): Make leading zero optional in "0?1;31m" because
5019 git-grep emits "\033[1;31m" escape sequences unlike expected
5020 "\033[01;31m" as GNU Grep does (bug#9408).
5021 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5022
045820ec
JL
50232011-09-05 Juri Linkov <juri@jurta.org>
5024
5025 * subr.el (y-or-n-p): Capitalize "yes".
5026
f5e29b9b
MA
50272011-09-04 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5030 `tramp-cache-unload-hook' where appropriate.
5031 (tramp-methods): Rename `tramp-remote-sh' to
5032 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5033 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5034
5035 * net/tramp-sh.el (top): Don't require 'shell.
5036 (tramp-methods): Add `tramp-remote-shell' and
5037 `tramp-remote-shell-args' entries.
5038 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5039 (tramp-sh-handle-shell-command): Remove.
5040 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5041 Use `tramp-remote-shell'.
5042
2784c434
CY
50432011-09-03 Chong Yidong <cyd@stupidchicken.com>
5044
393a301e 5045 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5046 (sendmail-query-once): Save directly to send-mail-function.
5047 Update message-send-mail-function too.
5048
5049 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5050
464cdf56
CS
50512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5052
5053 * progmodes/python.el (python-mode-map): Use correct function to
5054 start python interpreter from menu-bar (as reported by Geert
5055 Kloosterman).
5056 (inferior-python-mode-map): Fix typo.
393a301e 5057 (python-shell-map): Remove.
464cdf56 5058
d37e5c87
DD
50592011-09-03 Deniz Dogan <deniz@dogan.se>
5060
5061 * net/rcirc.el (rcirc-print): Simplify code for
5062 rcirc-scroll-show-maximum-output. There is no need to walk
5063 through all windows to find the right one.
5064
f3ada0ee
CS
50652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5066
5067 * help.el (help-return-method): Doc fix.
5068
1f3c99ca
MR
50692011-09-03 Martin Rudalics <rudalics@gmx.at>
5070
5071 * window.el (window-deletable-p): Don't return a non-nil value
5072 when there's a buffer that was shown in the window before.
5073 (Bug#9419)
393a301e
SM
5074 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5075 Set window's previous buffers to nil.
1f3c99ca 5076
a3cf097f
EZ
50772011-09-03 Eli Zaretskii <eliz@gnu.org>
5078
5079 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5080 newline before and after the tag line, so it doesn't interfere
5081 with determining the paragraph direction of bidirectional text.
5082
3d03de90
LL
50832011-09-03 Leo Liu <sdl.web@gmail.com>
5084
5085 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5086
c3313451
CY
50872011-09-02 Chong Yidong <cyd@stupidchicken.com>
5088
393a301e 5089 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5090 (pop-to-buffer): Change interactive spec. Pass second argument
5091 directly to display-buffer.
5092 (display-buffer): Fix interactive spec. Use functionp to
5093 distinguish between a function and a list of functions.
5094
5095 * abbrev.el (edit-abbrevs):
5096 * arc-mode.el (archive-extract):
5097 * autoinsert.el (auto-insert):
5098 * bookmark.el (bookmark-bmenu-list):
5099 * files.el (find-file):
5100 * view.el (view-buffer):
5101 * progmodes/compile.el (compilation-goto-locus):
5102 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5103
89894cd8
CY
51042011-09-02 Chong Yidong <cyd@stupidchicken.com>
5105
5106 * window.el (display-buffer-alist): Doc fix.
5107 (display-buffer): Add docstring. Don't treat
5108 display-buffer-default specially.
5109 (display-buffer-reuse-selected-window)
5110 (display-buffer-same-window, display-buffer-maybe-same-window)
5111 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5112 (display-buffer-pop-up-window)
5113 (display-buffer-reuse-or-pop-window)
5114 (display-buffer-use-some-window): New functions.
5115 (display-buffer-default-action): Use them.
393a301e 5116 (display-buffer-default): Delete.
89894cd8
CY
5117 (pop-to-buffer-1): Fix choice of actions.
5118
ae0bc9fb
SM
51192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 * minibuffer.el (completion--insert-strings): Don't get confused by
5122 completion entries that end with an LF char.
5123
e9d90883
EZ
51242011-09-01 Eli Zaretskii <eliz@gnu.org>
5125
5126 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5127
437014c8
CY
51282011-09-01 Chong Yidong <cyd@stupidchicken.com>
5129
5130 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5131 (display-buffer-same-window, display-buffer-other-window):
5132 New functions.
437014c8
CY
5133 (pop-to-buffer-1): New function. Use the above.
5134 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5135 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5136
5137 * view.el (view-buffer-other-window, view-buffer-other-frame):
5138 Just use pop-to-buffer.
5139
a5e063d5
TV
51402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5141
5142 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5143
793d32bb
WH
51442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5145
5146 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5147
d65e4c15
RS
51482011-08-31 Richard Stallman <rms@gnu.org>
5149
5150 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5151 of the separation of rmail-view-buffer from rmail-buffer.
5152 If you say no to "replace original", the decrypt is in the
5153 view buffer. If you say yes, the decrypt goes into the
5154 rmail buffer also.
5155
f818cd2a
MR
51562011-08-31 Martin Rudalics <rudalics@gmx.at>
5157
5158 * window.el (display-buffer-window): Rewrite doc-string.
5159 (display-buffer-record-window): New function.
5160 (display-buffer-macro-specifiers)
5161 (display-buffer-even-window-sizes, display-buffer-set-height)
5162 (display-buffer-set-width, display-buffer-in-window)
5163 (display-buffer-reuse-window, display-buffer-split-specifiers)
5164 (display-buffer-side-specifiers, display-buffer-split-window-1)
5165 (display-buffer-split-window, display-buffer-split-atom-window)
5166 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5167 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5168 (display-buffer-other-window-means-other-frame)
5169 (display-buffer-normalize-special)
5170 (display-buffer-normalize-default)
5171 (display-buffer-normalize-argument)
5172 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5173 (display-buffer-normalize-specifiers, display-buffer-frame)
5174 (display-buffer-same-window, display-buffer-same-frame)
5175 (display-buffer-other-window)
5176 (display-buffer-same-frame-other-window)
5177 (display-buffer-other-frame, pop-to-buffer-same-window)
5178 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5179 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5180 (switch-to-buffer-same-frame)
5181 (switch-to-buffer-other-window-same-frame)
5182 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5183 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5184 (display-buffer-alist-set): Remove.
5185 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5186 (special-display-regexps, special-display-function):
5187 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5188 parameter.
5189 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5190 (special-display-frame-alist, special-display-popup-frame)
5191 (same-window-buffer-names, same-window-regexps, same-window-p)
5192 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5193 (split-window-preferred-function, split-height-threshold)
5194 (split-width-threshold, window-splittable-p)
5195 (split-window-sensibly, window--try-to-split-window)
5196 (window--frame-usable-p, even-window-heights)
5197 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5198 (window--display-buffer-2, display-buffer-other-frame):
5199 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5200 (display-buffer-default, display-buffer-assq-regexp): New functions.
5201 (display-buffer-alist): Rewrite doc-string.
5202 (display-buffer-default-action)
5203 (display-buffer-overriding-action): New variables.
5204 (display-buffer, switch-to-buffer): Rewrite.
5205 (pop-to-buffer): Restore Emacs 23 behavior but use
5206 window-normalize-buffer-to-display.
5207 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5208 Restore Emacs 23 behavior but use
5209 window-normalize-buffer-to-switch-to.
5210 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5211 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5212 Rewrite using Emacs 23 options.
f818cd2a 5213
5bc3b51d
MA
52142011-08-31 Michael Albinus <michael.albinus@gmx.de>
5215
5216 * net/tramp.el (tramp-root-regexp): Remove.
5217 (tramp-completion-file-name-regexp-unified)
5218 (tramp-completion-file-name-regexp-separate)
5219 (tramp-completion-file-name-regexp-url): Don't use leading volume
5220 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5221 (tramp-drop-volume-letter): Simplify definition.
5222 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5223
b1a4f8e1
SM
52242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5227 (bug#9356).
5228
5664fa7b
RT
52292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5230
b1a4f8e1 5231 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5232
9a45d6c3
JL
52332011-08-29 Juri Linkov <juri@jurta.org>
5234
5235 * isearch.el (isearch-done): Don't display message "Mark saved"
5236 when arg `edit' is non-nil to prevent its flicker in the echo area.
5237
fb87e0fb
CY
52382011-08-28 Chong Yidong <cyd@stupidchicken.com>
5239
5240 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5241 obsolete packages for deletion.
5242
09ac1c2a
CS
52432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5244
5245 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5246 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5247 view-mode from help-mode.
5248 (help-xref-override-view-map): Remove.
5249 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5250 view-mode is not used anymore.
5251
7a1ff57f
CY
52522011-08-28 Chong Yidong <cyd@stupidchicken.com>
5253
5254 * server.el (server-port): Doc fix.
5255
b9696605
CY
5256 * cus-theme.el (custom-theme-choose-mode): Inherit from
5257 special-mode (Bug#9124).
5258 (custom-theme-choose-mode-map): Add special-mode to parent.
5259
ef8cdf8c
AM
52602011-08-28 Alan Mackenzie <acm@muc.de>
5261
5262 * progmodes/cc-fonts.el
5263 (c-make-font-lock-BO-decl-search-function): New function.
5264 (c-basic-matchers-after - "Fontify the clauses after various
5265 keywords"): Extract the three keyword lists for the 3 erroneous
5266 constructs from the list of four, and use the new function above
5267 in place of an old one.
5268
27de4e20
DD
52692011-08-28 Deniz Dogan <deniz@dogan.se>
5270
5271 * net/rcirc.el (rcirc-insert-prev-input)
5272 (rcirc-insert-next-input): Remove unused argument.
5273
356a3681
SM
52742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5275
5276 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5277
3fc9b218
AM
52782011-08-27 Alan Mackenzie <acm@muc.de>
5279
5280 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5281 handle function pointer parameters properly.
5282
538a061c
MR
52832011-08-27 Martin Rudalics <rudalics@gmx.at>
5284
5285 * window.el (display-buffer-reuse-window): Fix case where
5286 selected window was reused with non-nil OTHER-WINDOW argument.
5287 (Bug#9381)
5288
35b1c40c
DD
52892011-08-27 Deniz Dogan <deniz@dogan.se>
5290
5291 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5292 oftc's NickServ messages.
5293
2f6a3e79
GM
52942011-08-27 Glenn Morris <rgm@gnu.org>
5295
5296 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5297
7254299e
CY
52982011-08-26 Chong Yidong <cyd@stupidchicken.com>
5299
5300 * emacs-lisp/package.el (package-install): Call package-initialize
5301 if called interactively.
5302
f8ccf167
LL
53032011-08-26 Leo Liu <sdl.web@gmail.com>
5304
5305 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5306
3e8cd5ce
JL
53072011-08-25 Juri Linkov <juri@jurta.org>
5308
5309 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5310 `search-whitespace-regexp' (bug#9364).
5311
93eb7113
JL
53122011-08-25 Juri Linkov <juri@jurta.org>
5313
5314 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5315 `regexp-search-ring' to their global values to protect from
5316 updating by `read-from-minibuffer' (bug#9185).
5317
f65d1611
JL
53182011-08-25 Juri Linkov <juri@jurta.org>
5319
5320 * textmodes/ispell.el (ispell-command-loop): Add newline
5321 at the end of the "Use option `i'..." line.
5322
f1cf7a31
JL
53232011-08-25 Juri Linkov <juri@jurta.org>
5324
5325 * battery.el (display-battery-mode): If `battery-status-function'
5326 or `battery-mode-line-format' is nil, display the message and set
5327 `display-battery-mode' to nil (bug#9363).
5328
0c95fcf7
EZ
53292011-08-25 Eli Zaretskii <eliz@gnu.org>
5330
5331 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5332 bidi-string-mark-left-to-right; they are unnecessary now.
5333
a2ebe600
DD
53342011-08-25 Deniz Dogan <deniz@dogan.se>
5335
5336 * net/quickurl.el: Documentation typo fixes.
5337
e4ed06f1
CY
53382011-08-25 Chong Yidong <cyd@stupidchicken.com>
5339
5340 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5341
e5f1c99e
GM
53422011-08-25 Glenn Morris <rgm@gnu.org>
5343
b2948976
GM
5344 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5345
e5f1c99e
GM
5346 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5347 (smtpmail-via-smtp): Handle nil response from smtp.
5348
f22f4808
JL
53492011-08-24 Juri Linkov <juri@jurta.org>
5350
5351 * proced.el (proced-marked): Inherit from `error' instead of
5352 `font-lock-warning-face'.
5353
5354 * ibuffer.el (ibuffer-marked-face): Change default face from
5355 `font-lock-warning-face' to `warning'.
5356 (ibuffer-deletion-face): Change default face from
5357 `font-lock-type-face' to `error'.
5358
5359 * battery.el (battery-update): Use the face `error' instead of
5360 `font-lock-warning-face' (bug#6117).
5361
6a93965e
JL
53622011-08-24 Juri Linkov <juri@jurta.org>
5363
5364 * faces.el (success): Change face color from "Green3" to
5365 "ForestGreen" on light background (bug#9353).
5366
1ed43b09
CY
53672011-08-24 Chong Yidong <cyd@stupidchicken.com>
5368
5664fa7b
RT
5369 * window.el (quit-window): Rename from quit-restore-window.
5370 Use same arglist as old quit-window.
1ed43b09
CY
5371 (frame-auto-delete): Doc fix.
5372
5373 * view.el (view-mode-exit): Use quit-window.
5374
11dcdbb2
JL
53752011-08-24 Juri Linkov <juri@jurta.org>
5376
5377 * isearch.el (isearch-ring-adjust1): Start visiting previous
5378 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5379 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5380 for empty search string (when the last search string is reused
5381 automatically) to adjust the isearch ring to the last element and
5382 prepare the correct index for further M-p commands (bug#9185).
5383
de62b4df
KH
53842011-08-24 Kenichi Handa <handa@m17n.org>
5385
5386 * international/ucs-normalize.el: If decomposition property of
5387 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5388 nil.
5389 (nfd, nfkd): Likewise.
5390
963b492b
SM
53912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5394 from process filters aren't reliably transmitted to the surrounding
5395 accept-process-output.
5396 (mpc-proc-check): New function.
5397 (mpc-proc-sync): Use it (bug#8293)
5398
93b6b5e1
SM
53992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5402 Add compatibility functions (bug#9313).
5403
bca633fb
EZ
54042011-08-23 Eli Zaretskii <eliz@gnu.org>
5405
b177498a
EZ
5406 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5407
6df6ae42 5408 * international/uni-bidi.el: Regenerate.
bca633fb 5409
0902a04e
KH
54102011-08-23 Kenichi Handa <handa@m17n.org>
5411
5412 * international/charprop.el:
5413 * international/uni-bidi.el:
5414 * international/uni-category.el:
5415 * international/uni-combining.el:
5416 * international/uni-comment.el:
5417 * international/uni-decimal.el:
5418 * international/uni-decomposition.el:
5419 * international/uni-digit.el:
5420 * international/uni-lowercase.el:
5421 * international/uni-mirrored.el:
5422 * international/uni-name.el:
5423 * international/uni-numeric.el:
5424 * international/uni-old-name.el:
5425 * international/uni-titlecase.el:
5426 * international/uni-uppercase.el: Regenerate.
5427
3bbf23bc
MR
54282011-08-23 Martin Rudalics <rudalics@gmx.at>
5429
5430 * help.el (help-window-setup): Fix message displayed when other
5431 window is reused. (Bug#9341)
5432
b3fd59bd
SM
54332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5434
1802e444
SM
5435 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5436 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5437
b3fd59bd
SM
5438 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5439 Mark obsolete.
5440 * shell.el (shell-parse-pcomplete-arguments): New function.
5441 (shell-completion-vars): Use it instead (bug#9160).
5442
4eb61348
SM
54432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5444
867cab74
SM
5445 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5446 strings and comments (bug#9333).
5447
4eb61348
SM
5448 * emacs-lisp/debug.el (debug-arglist): New function.
5449 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5450 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5451
262a1439
JL
54522011-08-22 Juri Linkov <juri@jurta.org>
5453
56ee679c
JL
5454 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5455 Revert regexp that highlights output switches to its old
5456 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5457
262a1439
JL
5458 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5459 to check for empty output (bug#9226).
5460
f13f86fb
CY
54612011-08-22 Chong Yidong <cyd@stupidchicken.com>
5462
5463 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5464 symbol-constituent as the default, as that stops font-lock from
5465 working properly (Bug#8843).
5466
c65c9622
LMI
54672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5468
5469 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5470 `coding-system-for-*' around the process open call to avoid
5471 auth-source side effects.
e7f2c178 5472 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5473 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5474 probe hangs.
c65c9622 5475
23a8a5ab
CY
54762011-08-21 Chong Yidong <cyd@stupidchicken.com>
5477
ff98b2dd
CY
5478 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5479
23a8a5ab
CY
5480 * emacs-lisp/find-func.el (find-function-noselect): New arg
5481 lisp-only.
5482
5483 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5484 signal an error for built-in functions (Bug#6664).
5485
f5e3c598
LMI
54862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5487
5488 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5489 (smtpmail-try-auth-methods): Use it.
5490
a3f2468a
CY
54912011-08-21 Chong Yidong <cyd@stupidchicken.com>
5492
2c34e8da
CY
5493 * font-lock.el (font-lock-fontify-region)
5494 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5495 (font-lock-default-unfontify-buffer)
5496 (font-lock-default-fontify-region)
5497 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5498
b3fd59bd
SM
5499 * progmodes/compile.el (compilation-error-properties):
5500 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5501 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5502 `ant' regexp.
ee31aabc 5503
a3f2468a
CY
5504 * net/browse-url.el (browse-url-firefox): Don't call
5505 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5506
8e999f70
GM
55072011-08-20 Glenn Morris <rgm@gnu.org>
5508
c21a496a
GM
5509 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5510
59ee0542
GM
5511 * tutorial.el (tutorial--default-keys): Update some default bindings.
5512
8e999f70
GM
5513 * files.el (hack-local-variables): Fully ignore case for "mode:".
5514
e3715033
AM
55152011-08-20 Alan Mackenzie <acm@muc.de>
5516
5517 Resolve invalid use of a regexp in regexp-opt.
5518
4d61f28d
JB
5519 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5520 detection for a java annotation.
e3715033 5521
4d61f28d 5522 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5523 detection for a java annotation.
5524
4d61f28d
JB
5525 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5526 handling for java.
e3715033
AM
5527 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5528
04ed2e9c
CY
55292011-08-20 Chong Yidong <cyd@stupidchicken.com>
5530
5531 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5532 (Bug#9274).
5533
826cee64
AM
55342011-08-20 Alan Mackenzie <acm@muc.de>
5535
58179cce 5536 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5537 such a construct. Mainly for when jit-lock etc. starts a chunk
5538 here.
5539
58179cce 5540 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5541 variable.
58179cce 5542 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5543 c-make-font-lock-search-function.
5544 (c-make-font-lock-search-function): Use the above function.
5545 (c-make-font-lock-context-search-function): New function.
5546 (c-cpp-matchers): Enhance the preprocessor expression case with
5547 the above function
5548 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5549 which takes an expression.
5550
5551 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5552
13009bd8
MR
55532011-08-20 Martin Rudalics <rudalics@gmx.at>
5554
5555 * window.el (display-buffer-reuse-window)
5556 (display-buffer-pop-up-window): Don't reuse or split a side
5557 window.
5558
9234ff7f
GM
55592011-08-19 Glenn Morris <rgm@gnu.org>
5560
5561 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5562 Downcase "Mode:". (Bug#9331)
9234ff7f 5563
f635daa1
CY
55642011-08-18 Chong Yidong <cyd@stupidchicken.com>
5565
5566 * international/characters.el: Add L and R categories.
5567
5568 * subr.el (bidi-string-mark-left-to-right): Rename from
5569 string-mark-left-to-right. Use category search.
5570
5571 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5572
bc987f8b
JL
55732011-08-18 Juri Linkov <juri@jurta.org>
5574
5575 * faces.el (error, warning, success): New faces with definitions
5576 copied from old default values of `font-lock-warning-face',
5577 `compilation-warning', `compilation-info' (bug#6117).
5578
5579 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5580
5581 * progmodes/compile.el (compilation-error): Inherit from `error'.
5582 (compilation-warning): Inherit from `warning'.
5583 (compilation-info): Inherit from `success'.
5584
5585 * dired.el (dired-marked): Inherit from `warning'.
5586 (dired-flagged): Inherit from `error'.
5587
57173b96
LMI
55882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5589
3e79eb87
LMI
5590 * mail/smtpmail.el (auth-source): Require to avoid problems with
5591 binding variables (bug#9298). Also clean up some unused
5592 autoloads.
5593
b3fd59bd
SM
5594 * net/network-stream.el (network-stream-open-starttls):
5595 Support using starttls.el without using gnutls-cli.
57173b96 5596
02b404de
JL
55972011-08-17 Juri Linkov <juri@jurta.org>
5598
5599 * progmodes/grep.el (rgrep): Handle the case when
5600 `grep-find-command' is a cons cell (bug#9278).
5601
8c9177f2
MR
56022011-08-17 Martin Rudalics <rudalics@gmx.at>
5603
5604 * window.el (display-buffer-pop-up-frame): Run frame creation
5605 function with BUFFER current (as special-display-popup-frame
5606 does). Reported by Drew Adams.
5607
3644a0ab
DU
56082011-08-17 Daiki Ueno <ueno@unixuser.org>
5609
5610 * epa-mail.el: Simplify GnuPG group expansion using
5611 epg-expand-group.
5612 (epa-mail-group-alist, epa-mail-group-modtime)
5613 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5614 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5615 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5616 Remove.
5617
5e617bc2 56182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5619
5620 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5621
9c4aeabf
AM
56222011-08-16 Alan Mackenzie <acm@muc.de>
5623
5624 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5625 Correct, to avoid the inside of macros.
5626
3a99bf64
RS
56272011-08-16 Richard Stallman <rms@gnu.org>
5628
04963aa8
RS
5629 * epa-mail.el: Handle GnuPG group definitions.
5630 (epa-mail-group-alist, epa-mail-group-modtime)
5631 (epa-mail-gnupg-conf-file): New variables.
5632 (epa-mail-parse-groups, epa-mail-sync-groups)
5633 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5634 (epa-mail-expand-recipients): New functions.
5635 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5636
177549d0
RS
5637 * mail/rmail.el (rmail-epa-decrypt): New command.
5638
fe38beef
RS
5639 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5640 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5641 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5642 (epa-decrypt-armor-in-region): Make error message clearer.
5643
934eacb9
SM
56442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5645
5646 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5647 and "a2b" to "ab" for `prefix'.
5648
d024fb4e
CY
56492011-08-14 Chong Yidong <cyd@stupidchicken.com>
5650
5651 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5652 filter groups.
de148fee
CY
5653 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5654 Fourquet (Bug#8804).
d024fb4e 5655
62f1ca49
JB
56562011-08-12 Juanma Barranquero <lekktu@gmail.com>
5657
5658 * startup.el (argi): Declare as global variable (bug#9275).
5659
9ccaaa4b
CY
56602011-08-12 Chong Yidong <cyd@stupidchicken.com>
5661
5662 * subr.el (string-mark-left-to-right): Search the entire string
5663 for RTL script, not just the terminating character. Doc fix.
5664
a3dae87a
SM
56652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5666
6cd18349
SM
5667 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5668 New function.
5669 (js--regexp-literal, js-syntax-propertize-function): Remove.
5670 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5671 (js-mode-map): Don't rebind electric keys.
5672 (js-insert-and-indent): Remove.
5673 (js-mode): Setup electric-layout and electric-indent instead.
5674
a3dae87a
SM
5675 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5676
9d5cb631
DU
56772011-08-12 Daiki Ueno <ueno@unixuser.org>
5678
5679 * epa.el (epa-progress-callback-function): Fix the logic of
5680 displaying progress.
5681 * epa-file.el (epa-file-insert-file-contents): Make progress
5682 display more user-friendly.
5683 (epa-file-write-region): Ditto.
5684
3e26a4a2
CY
56852011-08-10 Chong Yidong <cyd@stupidchicken.com>
5686
5687 * subr.el (string-mark-left-to-right): New function.
5688
5689 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5690 Use string-mark-left-to-right.
5691 (list-buffers-noselect): Caller changed.
5692
a3dae87a
SM
5693 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5694 Use string-mark-left-to-right.
3e26a4a2
CY
5695 (tabulated-list-print): Recenter after moving point.
5696
ac8cf6e6
JL
56972011-08-10 Juri Linkov <juri@jurta.org>
5698
5699 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5700 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5701 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5702
8d96c9a4
CY
57032011-08-09 Chong Yidong <cyd@stupidchicken.com>
5704
5705 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5706 (Bug#7554).
5707
7be1c708 57082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5709
5710 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5711 character. (Bug#6594)
5712
37e11a63
CY
57132011-08-08 Chong Yidong <cyd@stupidchicken.com>
5714
839dde57
CY
5715 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5716 (image-dired--with-db-file): New macro.
5717 (image-dired-write-tags, image-dired-remove-tag)
5718 (image-dired-create-gallery-lists, image-dired-write-comments)
5719 (image-dired-get-comment, image-dired-mark-tagged-files)
5720 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5721 (image-dired-gallery-generate): Use insert-file-contents.
5722
37e11a63
CY
5723 * time.el (display-time-world-list, display-time-world-display):
5724 * time-stamp.el (time-stamp-string):
5725 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5726 set-time-zone-rule (Bug#7337).
5727
0b4946c4
DU
57282011-08-08 Daiki Ueno <ueno@unixuser.org>
5729
5730 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5731 (epg-error-to-string, epg-errors-to-string): New function.
5732 (epg-wait-for-completion): Reverse errors list.
5733 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5734 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5735 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5736 (epg-sign-keys, epg-generate-key-from-file)
5737 (epg-generate-key-from-string): Format errors by using
5738 epg-errors-to-string (bug#9255).
5739 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5740
75bfc667
JL
57412011-08-07 Juri Linkov <juri@jurta.org>
5742
5743 * faces.el (list-faces-display): Remove extra angle bracket
5744 from `help-mode-map'.
5745
5746 * info.el (Info-history-toc-nodes): Doc fix.
5747
5748 * longlines.el (longlines-mode): Doc fix.
5749
673e08bb
SM
57502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5751
4640dd88
SM
5752 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5753 of statements and in a few more cases (bug#9183).
5754
673e08bb
SM
5755 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5756 New functions.
5757 (cl-transform-lambda): Use them (bug#9239).
5758
89b3f019
MR
57592011-08-05 Martin Rudalics <rudalics@gmx.at>
5760
5761 * window.el (display-buffer-same-window)
5762 (display-buffer-same-frame, display-buffer-other-window)
5763 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5764 (pop-to-buffer-other-window)
5765 (pop-to-buffer-same-frame-other-window)
5766 (pop-to-buffer-other-frame): Make them defuns.
5767 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5768
640c8776
SM
57692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * subr.el (make-composed-keymap): Move from C. Change calling
5772 convention, and improve docstring to bring attention to a subtle point.
5773 * minibuffer.el (completing-read-default): Adjust accordingly.
5774
63648a95
MA
57752011-08-03 Michael Albinus <michael.albinus@gmx.de>
5776
5777 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5778 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5779
5780 * net/trampver.el: Update release number.
5781
b796c9b7
SM
57822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5785 "in" (bug#9190).
5786
2239d7d5
LMI
57872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5788
e07dd7c3
LMI
5789 * mail/sendmail.el (sendmail-query-once): Restore the current
5790 buffer after querying (bug#9074).
5791
0e6a2bd7
LMI
5792 * dired.el (dired-flagged): Use different faces for marked and
5793 flagged files (bug#6117).
5794
ce887515
LMI
5795 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5796 (bug#4433).
5797
92f2affc
LMI
5798 * ido.el (ido-mode): Switch off the message if called
5799 non-interactively.
5800
57d5aff0
LMI
5801 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5802 before 587, since it appears that that's more likely to work for
5803 more people.
5804
98cd6c18 5805 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5806 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5807 exist.
5808
b96dec83
LMI
5809 * info.el: Remove the `Info-beginning-of-buffer' function
5810 (bug#8325).
5811
b796c9b7
SM
5812 * net/network-stream.el (network-stream-open-starttls):
5813 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5814
d90e2ea0
MR
58152011-08-01 Martin Rudalics <rudalics@gmx.at>
5816
5817 * window.el (display-buffer-in-window): Don't set dedicated status
5818 of window here (Bug#9215).
5819 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5820 (display-buffer-pop-up-side-window)
b796c9b7 5821 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5822
cca09170
SM
58232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5826 before binding generated-autoload-file.
5827
027b979c
DD
58282011-08-01 Deniz Dogan <deniz@dogan.se>
5829
5830 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5831
3c7ee4f3
MA
58322011-07-30 Michael Albinus <michael.albinus@gmx.de>
5833
5834 Sync with Tramp 2.2.2.
5835
5836 * net/trampver.el: Update release number.
5837
2cc8e51a
JL
58382011-07-30 Juri Linkov <juri@jurta.org>
5839
5840 * dired-aux.el (dired-touch-initial): Remove function.
5841 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5842 current time, and `default' to the last modification time of the
5843 current marked file (bug#6887).
5844
a514d856
JM
58452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5846
5847 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5848 numeric argument to read-number (bug#9163).
a514d856 5849
8a7eddd7
MA
58502011-07-27 Michael Albinus <michael.albinus@gmx.de>
5851
5852 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5853 connection process, it could be nil.
5854
1ddd96f5
LL
58552011-07-27 Leo Liu <sdl.web@gmail.com>
5856
5857 Simplify url handling in rcirc-mode.
5858
5859 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5860 (rcirc-browse-url-at-mouse): Remove.
5861 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5862
b248a85d
AM
58632011-07-26 Alan Mackenzie <acm@muc.de>
5864
5865 Fontify bitfield declarations properly.
5866
5867 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5868 (c-symbol-chars): Now exported as a lang variable.
5869 (c-not-primitive-type-keywords): New lang variable.
5870
5871 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5872 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5873 parsed as a bitfield declaration.
b248a85d 5874
b796c9b7
SM
5875 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5876 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5877 (c-punctuation-in): New function.
5878 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5879 declarations properly.
5880
68575ab0
UJ
58812011-07-26 Ulf Jasper <ulf.jasper@web.de>
5882
5883 * calendar/icalendar.el (icalendar--all-events): Take care of
5884 multiple vcalendars in a single file.
b796c9b7 5885 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5886
0f0a88b9
DD
58872011-07-25 Deniz Dogan <deniz@dogan.se>
5888
5889 * image.el (insert-image): Clarifying docstring.
5890
0b3f36df
MA
58912011-07-24 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5894 `tramp-send-command-and-check' if there is no error.
5895 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5896
a9901f61
AM
58972011-07-22 Alan Mackenzie <acm@muc.de>
5898
5899 Prevent cc-langs.elc being loaded at run time.
5900
5901 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5902 cc-langs.
5903
4d61f28d 5904 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5905 "(require 'cc-langs)". Quote a form so it will evaluate at
5906 (cc-mode's) compilation time.
5907
11d074b2
MA
59082011-07-22 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5911 loading. (Bug#9114)
5912
938b94c8
MR
59132011-07-21 Martin Rudalics <rudalics@gmx.at>
5914
5915 * window.el (display-buffer-pop-up-window)
5916 (display-buffer-pop-up-side-window)
5917 (display-buffer-in-side-window): Call display-buffer-set-height
5918 and display-buffer-set-width after setting the new window's
b796c9b7 5919 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5920
bfa4f190
SS
59212011-07-20 Sam Steingold <sds@gnu.org>
5922
5923 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5924 (etags-tags-included-tables): Call `convert-standard-filename' on
5925 the file names contained in TAGS so that windows Emacs can handle
5926 TAGS files created by cygwin ctags.
5927
8ca42262
LMI
59282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5929
5930 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5931 which apparently didn't work.
5932
5db2afd2 59332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5934
5db2afd2
RW
5935 * proced.el (proced-send-signal): For *Marked Processes* buffer
5936 put point at beginning of buffer.
5937
92e15d10
SB
59382011-07-19 Stephen Berman <stephen.berman@gmx.net>
5939
5940 * proced.el (proced-format): Make header lines align with the text
5941 (bug#1779).
5942
1bfd59e5
LMI
59432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5944
5945 * view.el (view-buffer): Allow running in `special' modes if we're
5946 visiting a file (bug#8615).
5947
f5aae37c
MR
59482011-07-19 Martin Rudalics <rudalics@gmx.at>
5949
5950 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5951 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5952 New functions.
f5aae37c
MR
5953 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5954 more accurately.
5955
bf2c1571
AM
59562011-07-18 Alan Mackenzie <acm@muc.de>
5957
5958 Fontify declarators properly when, e.g., a jit-lock chunk begins
5959 inside a declaration.
5960
5961 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5962
b796c9b7
SM
5963 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5964 New function.
bf2c1571
AM
5965 (c-complex-decl-matchers): Insert reference to
5966 c-font-lock-enclosing-decls.
5967
5968 * progmodes/cc-engine.el (c-backward-single-comment):
5969 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5970 to nil around calls to (forward-comment -1).
5971
4e190b80
LMI
59722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5973
12dc863d
LMI
5974 * image.el (put-image): Doc typo fix.
5975
a762e966
LMI
5976 * progmodes/etags.el (tags-search): Doc typo fix.
5977
4e190b80
LMI
5978 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5979 password if we get errors 550 to 554.
5980
f019fb21
LMI
59812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5982
b796c9b7 5983 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5984
81746738
LMI
5985 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5986 indentation character (bug#6380).
5987
3ee3a1b5
LMI
5988 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5989
c82f64de
LMI
5990 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5991 to clarify what the problem is (bug#4291).
5992
f019fb21
LMI
5993 * simple.el (current-kill): Clarify what
5994 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5995 (auto-fill-mode): Document `auto-fill-function' in relation to
5996 `auto-fill-mode' (bug#2470).
f019fb21 5997
0794775d
LM
59982011-07-16 Lawrence Mitchell <wence@gmx.li>
5999
6000 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6001 method if slot is read-only (bug#9035).
6002
be39b8cc
MR
60032011-07-16 Martin Rudalics <rudalics@gmx.at>
6004
b796c9b7 6005 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6006 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6007 selected before, see discussion of (Bug#8615), (Bug#6954).
6008 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6009
6ccf7859
GM
60102011-07-15 Glenn Morris <rgm@gnu.org>
6011
6012 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6013 Respect help-form.
6ccf7859 6014
87e86684
LM
60152011-07-09 Lawrence Mitchell <wence@gmx.li>
6016
6017 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6018 (gnutls-negotiate): Use it.
6019
d6066239
LMI
60202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021
b796c9b7
SM
6022 * net/gnutls.el (gnutls-negotiate):
6023 Upcase `gnutls-algorithm-priority'.
d6066239 6024
bd23ebc0
GM
60252011-07-15 Glenn Morris <rgm@gnu.org>
6026
c65bca65
GM
6027 * jka-compr.el (jka-compr-verbose): Move from here...
6028 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6029 Add missing :version tag.
6030 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6031
478615cc
LMI
60322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6033
7b41decb
LMI
6034 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6035 (gnutls-negotiate): Use it.
6036
dbc44fcd
LMI
6037 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6038
06789f97
LMI
6039 * info.el (Info-beginning-of-buffer): New command.
6040 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6041 announcing `b' as the key (bug#8325).
ab896c37 6042 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6043
c39da690
LMI
6044 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6045
3aa5f34b
LMI
6046 * international/mule-cmds.el
6047 (describe-specified-language-support): Make the error message
6048 clearer (bug#8905).
6049
4bf0979f
LMI
6050 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6051
478615cc
LMI
6052 * isearch.el (isearch-barrier): Add a doc string, since it's
6053 mentioned in a function doc string (bug#8678).
6054
75c68aa1
MR
60552011-07-15 Martin Rudalics <rudalics@gmx.at>
6056
6057 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6058 buffer argument (Bug#9083) and self-identifying label argument.
6059
a7c33da2
GM
60602011-07-15 Glenn Morris <rgm@gnu.org>
6061
6062 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6063
2f5c6024
LMI
60642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6065
6066 * man.el (Man-fontify-manpage): Fix message when formatting the
6067 man page (bug#7929).
6068
0bb23927 60692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6070
6071 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6072 argument LRM; if non-nil, append an invisible LRM character to the
6073 buffer name.
6074 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6075 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6076 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6077 paragraph direction.
cce4b0a7 6078
621ef9ab
LMI
60792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080
d1583c48
LMI
6081 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6082 the man page name (bug#7929).
6083
6a57fb5f
LMI
6084 * image.el (put-image): Mention the `put-image' overlay property
6085 (bug#7834).
6086
d7956b14
LMI
6087 * scroll-bar.el (set-scroll-bar-mode): Mention that
6088 `scroll-bar-mode' lists the values (bug#7772).
6089
5b2d4a66
LMI
6090 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6091 command (bug#7729).
6092
7509a874
LMI
6093 * rect.el (apply-on-rectangle): Return the point after the last
6094 operation.
6095 (string-rectangle): Go to the point after the last operation
6096 (bug#7522).
6097
4fe74b19
LMI
6098 * printing.el (pr-toggle-region): Clarify the documentation
6099 slightly (bug#7493).
6100
b796c9b7
SM
6101 * time.el (display-time-update):
6102 Allow `display-time-mail-function' to return nil (bug#7158).
6103 Fix suggested by Detlev Zundel.
ab283561 6104
fc233c9d
LMI
6105 * vc/diff.el (diff): Clarify the order the file names are read
6106 (bug#7111).
6107
43f5740b
LMI
6108 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6109 the doc string (bug#7015).
6110
f2182a76
LMI
6111 * font-lock.el (font-lock-maximum-decoration): Mention what
6112 numeric levels mean (bug#6935).
6113
621ef9ab
LMI
6114 * startup.el (initial-buffer-choice): Don't mention the `none'
6115 selection, which is against policy.
6116
adc47434
MR
61172011-07-14 Martin Rudalics <rudalics@gmx.at>
6118
b796c9b7
SM
6119 * window.el (display-buffer-normalize-special):
6120 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6121
7e5bfb8f
EZ
61222011-07-14 Eli Zaretskii <eliz@gnu.org>
6123
6124 * subr.el (version<, version<=, version=): Mention "-CVS" and
6125 "-12345" alpha version numbers.
6126
27fa387a
CY
61272011-07-14 Chong Yidong <cyd@stupidchicken.com>
6128
6129 * bindings.el: Add advertised binding for set-mark-command
6130 (Bug#5772).
6131
8bdfa064
CY
61322011-07-14 Chong Yidong <cyd@stupidchicken.com>
6133
6134 * bindings.el (mode-line-other-buffer):
6135 * bookmark.el (bookmark-bmenu-2-window):
6136 * bs.el (bs-cycle-next, bs-cycle-previous):
6137 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6138 switch-to-buffer.
6139
6140 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6141 Delete.
8bdfa064 6142
5eba16a3
JB
61432011-07-14 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * follow.el (follow-debug-message, follow-redisplay):
6146 * jka-cmpr-hook.el (with-auto-compression-mode):
6147 Fix typos in docstrings.
6148
15853710
LMI
61492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6150
a28e4607
LMI
6151 * subr.el (with-silent-modifications): Clarify somewhat what the
6152 macro inhibits (bug#6525).
6153
15853710
LMI
6154 * simple.el (eval-expression): Note what it does if called
6155 interactively (bug#6495).
6156
bee0fcef
CY
61572011-07-13 Chong Yidong <cyd@stupidchicken.com>
6158
b796c9b7
SM
6159 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6160 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6161
6162 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6163 Remove switch-to-buffer.
6164
58274504
LMI
61652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6166
bd2fcc8d
LMI
6167 * files.el (make-directory): Clarify that an error will be raised
6168 if there's an error (bug#6397).
6169
0f04b32c
LMI
6170 * startup.el (initial-buffer-choice): Add `none' as a choice
6171 (bug#6234).
6172
465c5fc8
LMI
6173 * subr.el (add-hook): Clarify section about buffer-local hooks
6174 (bug#6218).
6175
58274504
LMI
6176 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6177
bead9a43
JB
61782011-07-13 Juanma Barranquero <lekktu@gmail.com>
6179
6180 * tabify.el (untabify): Preserve the current column so that point
6181 doesn't move (bug#6032).
6182
3af98a7b
LMI
61832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6184
b796c9b7
SM
6185 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6186 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6187
6240145a
GM
61882011-07-13 Glenn Morris <rgm@gnu.org>
6189
6190 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6191 (dired-insert-directory): Give a message the first time
6192 if ls is found not to support --dired.
6193
1d8c2ccc
LMI
61942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195
6196 * simple.el (toggle-truncate-lines): Clarify what is toggled
6197 (bug#5580). Text by Drew Adams.
6198
5fc4038e
CY
61992011-07-13 Chong Yidong <cyd@stupidchicken.com>
6200
6201 * simple.el (blink-matching-open): Make the error message from the
6202 last change less verbose.
6203
bf6012e5
DN
62042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6205
6206 * font-lock.el (font-lock-comment-face): Use the high contrast
6207 "yellow" color for font-lock-comment-face on low color terminals
6208 using a dark background color (bug#4221).
6209
343c3b5a
LMI
62102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6211
7e9505c5
LMI
6212 * dired.el (dired-insert-set-properties): Make the doc string
6213 reflect what it does now (bug#5325).
6214
c26fdcf5
LMI
6215 * simple.el (blink-matching-open): Say that we were unable to find
6216 the match within the limit, if we're limited (bug#5122).
6217
bb388cc5
LMI
6218 * international/mule-cmds.el (prefer-coding-system): Add an
6219 example (bug#4869).
6220
343c3b5a
LMI
6221 * progmodes/etags.el (tags-search): Document `file-list-form'
6222 (bug#4731).
6223
2a517d45
LM
62242011-07-13 Lawrence Mitchell <wence@gmx.li>
6225
6226 * net/browse-url.el (browse-url-default-browser)
6227 (browse-url-browser-function): Make the default browser choice a
6228 bit more logical (bug#4300). Also clean up the doc string.
6229
b6c78ef2
JB
62302011-07-13 Juanma Barranquero <lekktu@gmail.com>
6231
6232 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6233 binary endings (bug#4440).
6234
1c4dd947
LMI
62352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6236
a2014063
LMI
6237 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6238 which can be pretty annoying (bug#8971).
6239
9c9c2d88
LMI
6240 * jka-compr.el (jka-compr-verbose): New variable, and use
6241 throughout (bug#8971).
6242
1c4dd947
LMI
6243 * info.el (Info-find-file): Fall back on the installation
6244 directory if we can't find the info node anywhere else.
6245
a1c9f41b
SO
62462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6247
6248 * vc/vc.el (vc-revert-file):
6249 Don't set file time-stamp in the past. (Bug#5181)
6250
536f3d36
LMI
62512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6252
7152b011
LMI
6253 * files.el (after-find-file): Give a better error message when
6254 trying to find a symlink that points to a file that doesn't exist
6255 (bug#4398).
6256
536f3d36
LMI
6257 * progmodes/cc-vars.el: Remove (probably) misleading comment
6258 (bug#4396).
6259
460c0fba
JB
62602011-07-12 Johan Bockgård <bojohan@gnu.org>
6261
6262 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6263
7a6bda45
CY
62642011-07-12 Chong Yidong <cyd@stupidchicken.com>
6265
6266 * mouse-sel.el: Hack restoring functionality, while keeping
6267 compatibility with 2010-07-03 changes to mouse selection.
6268 (mouse-sel-primary-overlay): New var.
6269 (mouse-sel-selection-alist): Use it.
6270 (mouse-sel-mode): Doc fix; remove points that are default features
6271 of mouse.el.
6272
c79598ef
JB
62732011-07-12 Johan Bockgård <bojohan@gnu.org>
6274
6275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6276 Fix previous fix (bug#2490).
6277
ff8be6ef
RW
62782011-07-12 Roland Winkler <winkler@gnu.org>
6279
b796c9b7
SM
6280 * textmodes/bibtex.el (bibtex-initialize):
6281 Use pop-to-buffer-same-window.
ff8be6ef
RW
6282 (bibtex-search-entries): Fix interactive call.
6283
296ba3ee
LMI
62842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6285
f5242a02 6286 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6287 Fontise bytecomp Error lines more correctly (bug#2490).
6288 Fix suggested by Johan Bockgård.
f5242a02 6289
296ba3ee
LMI
6290 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6291
6292 * dired-x.el (dired-guess-default): Use `delete-dups'.
6293
f69fd0d2
CY
62942011-07-12 Chong Yidong <cyd@stupidchicken.com>
6295
6296 * dired.el (dired-mark-prompt):
6297 * dired-aux.el (dired-read-shell-command): Doc fix.
6298
eab5dc07
LMI
62992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6300
b796c9b7
SM
6301 * mail/sendmail.el (sendmail-query-once):
6302 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6303 emacs -Q.
6304
6305 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6306
eab5dc07
LMI
6307 * cus-edit.el (custom-file): Take an optional no-error variable.
6308 (customize-save-variable): Set the variable, and give a warning if
6309 running under "emacs -q".
6310
a1e65d42
JB
63112011-07-11 Juanma Barranquero <lekktu@gmail.com>
6312
6313 * loadhist.el (unload-feature-special-hooks):
6314 Add `auto-coding-functions', `fill-nobreak-predicate' and
6315 `find-directory-functions' (bug#5327).
6316
1d52da10
LMI
63172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6318
be958f1d
LMI
6319 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6320
5bedb26c
LMI
6321 * cus-edit.el (custom-guess-name-alist): -alist variables should
6322 use the `alist' type (bug#3120). Suggested by Drew Adams.
6323
1d52da10
LMI
6324 * printing.el: Add documentation to all the `pr-toggle-' commands.
6325
cd394be1 63262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6327
6328 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6329 backends where it makes sense (bug#2623).
6330
dcc88d8a
LMI
63312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6332
c3de9feb
LMI
6333 * dired-x.el (dired-guess-default): Remove duplicate shell command
6334 entries (bug#2028).
8a93078b 6335 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6336 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6337
dcc88d8a
LMI
6338 * subr.el (remove-duplicates): New conveniency function.
6339
505e3645
LMI
63402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6341
6342 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6343 (bug#1526).
6344
63452011-07-10 Martin Rudalics <rudalics@gmx.at>
6346
6347 * window.el (display-buffer-normalize-default): Don't invert
6348 meaning of even-window-heights. Reported by Eli Zaretskii
6349 <eliz@gnu.org>.
6350
455e4fa1
BR
63512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6352
6353 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6354
8e0bc3e9
CY
63552011-07-10 Chong Yidong <cyd@stupidchicken.com>
6356
6357 * window.el (display-buffer): Fix arguments to
6358 display-buffer-reuse-window in last change.
6359
fa7c3228
CY
6360 * faces.el (link): Use a less saturated blue on light backgrounds.
6361
6362 * startup.el (fancy-startup-text, fancy-about-text)
6363 (fancy-startup-tail): Use font-lock faces, for background safety.
6364
c0a7f300
BN
63652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6366
b796c9b7
SM
6367 * emulation/viper-cmd.el (viper-change-state-to-vi):
6368 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6369
4dc2a129
MR
63702011-07-09 Martin Rudalics <rudalics@gmx.at>
6371
6372 * window.el (display-buffer-default-specifiers): Remove.
6373 (display-buffer-macro-specifiers): Remove default specifiers.
6374 (display-buffer-alist): Default to nil.
b796c9b7 6375 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6376 (display-buffer-pop-up-window): Allow splitting internal
6377 windows. Check whether a live window was created.
6378 (display-buffer-other-window-means-other-frame)
6379 (display-buffer-normalize-arguments): Rename to
6380 display-buffer-normalize-argument and rewrite. Set the
6381 other-window specifier.
6382 (display-buffer-normalize-special): New function.
6383 (display-buffer-normalize-options): Rename to
6384 display-buffer-normalize-default and rewrite.
6385 (display-buffer-normalize-options-inhibit): Remove.
6386 (display-buffer-normalize-specifiers): Rewrite.
6387 (display-buffer): Process other-window specifier and call
6388 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6389 more faithfully.
b796c9b7 6390 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6391 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6392 (display-buffer-in-window, display-buffer-alist-set):
6393 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6394 <tassilo@member.fsf.org>.
6395
2d43b8c9
LL
63962011-07-09 Leo Liu <sdl.web@gmail.com>
6397
6398 * register.el (insert-register): Restore accidental change on
6399 2011-06-26. (Bug#9028)
6400
7f9b7c53
GM
64012011-07-09 Glenn Morris <rgm@gnu.org>
6402
6403 * subr.el (remq): Handle the empty list. (Bug#9024)
6404
f042cfd8
AS
64052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6406
6407 * mail/sendmail.el (send-mail-function): No longer delay custom
6408 initialization.
6409 * custom.el (custom-initialize-delay): Doc fix.
6410
856b2f11
SM
64112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6414
afae1d68
MA
64152011-07-08 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6418 human-friendly prompt.
6419
0757af94
SM
64202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6423 provided by a particular plugin.
6424
d760b731
LMI
64252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6426
6427 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6428 save customizations (with "emacs -Q"), just set the variable
6429 instead of erroring out.
6430
6431 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6432
cd79ce90
JL
64332011-07-08 Juri Linkov <juri@jurta.org>
6434
6435 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6436 (archive-zip-update-case): Use 7z if found by `executable-find'.
6437 The order of searching the available programs is the same as in
6438 `archive-zip-extract' (bug#8968).
6439
14cc04aa
CY
64402011-07-07 Chong Yidong <cyd@stupidchicken.com>
6441
6442 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6443 (menu-bar-options-menu): Tweak descriptions.
6444
0a1848ec
LMI
64452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6446
6447 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6448 menu items into verb phrases (bug#1421). Also refill to fit under
6449 80 columns.
6450
f5bd0689
CY
64512011-07-07 Chong Yidong <cyd@stupidchicken.com>
6452
538e85c6
CY
6453 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6454 (Info-read-node-name): Doc fix (Bug#1084).
6455
f5bd0689
CY
6456 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6457 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6458 (end-of-sexp, beginning-of-sexp)
6459 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6460 (forward-symbol, forward-same-syntax, word-at-point)
6461 (sentence-at-point): Doc fix (Bug#1144).
6462
56ec5115
LMI
64632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
f3f8e37f
LMI
6465 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6466 should cover it (bug#1281).
6467
0757af94 6468 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6469
e9fce1ac 6470 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6471 negotiation fails, then possibly try again with a non-encrypted
6472 connection (bug#9017).
6473
56ec5115
LMI
6474 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6475 be used.
6476
c2f9aec8
RS
64772011-07-07 Richard Stallman <rms@gnu.org>
6478
6479 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6480 property, and handle its changed format.
6481 Look for the correct line number.
6482 Use file's line contents (but not past first =) to find
6483 correct line in message.
6484
ef7b981d 64852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6486
6487 * international/characters.el (build-unicode-category-table):
6488 Delete it.
0757af94 6489 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6490
0757af94 6491 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6492 to src/chartab.c.
6493 (get-char-code-property): Call unicode-property-table-internal to
6494 load a file. Call get-unicode-property-internal where necessary.
6495 (put-char-code-property): Call unicode-property-table-internal to
6496 load a file. Call put-unicode-property-internal where necessary.
6497 put-unicode-property-internal where necessary.
0757af94
SM
6498 (char-code-property-description):
6499 Call unicode-property-table-internal to load a file.
c805dec0
KH
6500
6501 * international/charprop.el:
6502 * international/uni-bidi.el:
6503 * international/uni-category.el:
6504 * international/uni-combining.el:
6505 * international/uni-comment.el:
6506 * international/uni-decimal.el:
6507 * international/uni-decomposition.el:
6508 * international/uni-digit.el:
6509 * international/uni-lowercase.el:
6510 * international/uni-mirrored.el:
6511 * international/uni-name.el:
6512 * international/uni-numeric.el:
6513 * international/uni-old-name.el:
6514 * international/uni-titlecase.el:
6515 * international/uni-uppercase.el: Regenerate.
6516
6517 * loadup.el: Load international/charprop.el before
6518 international/characters.
6519
e14b388a
CY
65202011-07-07 Chong Yidong <cyd@stupidchicken.com>
6521
6522 * window.el (next-buffer, previous-buffer): Signal an error if
6523 called from a minibuffer window.
6524
6525 * bindings.el: Revert 2011-07-04 change.
6526
354cf0ba
RS
65272011-07-06 Richard Stallman <rms@gnu.org>
6528
6529 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6530 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6531 Treat markers like ints.
6532 (rmail-mime-entity): Doc fix.
6533
a48868a7
LMI
65342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535
4906cd3d
LMI
6536 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6537 defcustom again for backwards compatibility.
6538
e0457abe
LMI
6539 * simple.el (shell-command-on-region): Fill.
6540
d67f7e1f
LMI
6541 * dired-aux.el (dired-kill-line): Add a doc string.
6542
fe204702
LMI
6543 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6544 to "\\sw\\|\\s_" (bug#358).
6545
a48868a7
LMI
6546 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6547 (dired-unmark-backward): Ditto.
6548 (dired-flag-backup-files): Ditto.
6549
6550 * dired-x.el (dired-mark-sexp): Ditto.
6551
aa8a705c
RS
65522011-07-06 Richard Stallman <rms@gnu.org>
6553
6554 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6555 (rmail-mime-entity): New arg TRUNCATED.
6556 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6557 New functions.
6558 (rmail-mime-save): Warn if entity is truncated.
6559 (rmail-mime-toggle-hidden): Likewise, for showing.
6560 (rmail-mime-process-multipart): Record when an entity is truncated.
6561
a9a936b9
RS
6562 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6563 if ENTITY is a string.
6564
1f2b92cb
LMI
65652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6566
f4f73198 6567 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6568 of faces when `M-C-x'-ing their definitions (bug#8378).
6569 Also clean up the code slightly.
f4f73198 6570
12b16734 6571 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6572 because that makes the colors go away.
12b16734 6573
f0691d22
LMI
6574 * mail/sendmail.el (send-mail-function): Change the default to
6575 `sendmail-query-once'.
9e87df06 6576 (sendmail-query-once): Add an autoload cookie.
f0691d22 6577
1f2b92cb
LMI
6578 * net/network-stream.el (network-stream-open-starttls): Try using
6579 a plain connection even if the server offered STARTTLS, and we
6580 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6581 capability. This should make smtpmail.el work in slightly more
6582 configurations.
6583
1cdd2a1b
MA
65842011-07-06 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6587 New defun.
6588 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6589
fbcc67e2
MM
65902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6591
6592 * progmodes/sql.el: Version 3.0
0757af94 6593 (sql-product-alist): Add product :completion-object,
fbcc67e2 6594 :completion-column, and :statement attributes.
0757af94 6595 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6596 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6597 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6598 ansi keywords.
6599 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6600 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6601 (sql-oracle-show-reserved-words): New function for development.
6602 (sql-product-font-lock): Simplify for source code buffers.
6603 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6604 New functions.
6605 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6606 (sql-mode-map): Add statement movement functions.
6607 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6608 New variable.
fbcc67e2
MM
6609 (sql-statement-regexp, sql-beginning-of-statement)
6610 (sql-end-of-statement, sql-signum): New functions.
0757af94 6611 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6612 (sql-show-sqli-buffer): Bug fix.
6613 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6614 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6615 with sql-interactive-mode.
6616 (sql-save-connection): Save buffer local settings.
0757af94 6617 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6618 (sql-product-interactive): Bug fix.
6619 (sql-preoutput-hold): New variable.
6620 (sql-interactive-remove-continuation-prompt): Bug fixes.
6621 (sql-debug-redirect): New variable.
6622 (sql-str-literal): New function.
6623 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6624 Redesign.
fbcc67e2
MM
6625 (sql-oracle-save-settings, sql-oracle-restore-settings)
6626 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6627 (sql-completion-object, sql-completion-column)
6628 (sql-completion-sqlbuf): New variables.
6629 (sql-build-completions-1, sql-build-completions)
6630 (sql-try-completion): New functions.
6631 (sql-read-table-name): Use them.
6632 (sql-contains-names): New buffer local variable.
6633 (sql-list-all, sql-list-table): Use it.
6634 (sql-oracle-completion-types): New variable.
6635 (sql-oracle-completion-object, sql-sqlite-completion-object)
6636 (sql-postgres-completion-object): New functions.
6637
d4eaeab1
GM
66382011-07-06 Glenn Morris <rgm@gnu.org>
6639
6640 * window.el (pop-to-buffer): Doc fix.
6641
322b7dab 66422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6643
6644 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6645
322b7dab 66462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6647
322b7dab 6648 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6649
322b7dab 6650 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6651
605dd5bf
CY
66522011-07-05 Chong Yidong <cyd@stupidchicken.com>
6653
6654 * button.el (button): Inherit from link face. Suggested by Dan
6655 Nicolaescu.
6656
7dbfa719
SM
66572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6658
3db614b0
SM
6659 * progmodes/gdb-mi.el: Fit in 80 columns.
6660 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6661 switch-to-buffer.
6662
7dbfa719
SM
6663 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6664 if imenu is simply not configured (bug#8941).
6665
919d884a
KM
66662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6667
6668 * allout.el (allout-post-undo-hook): New allout outline-change
6669 event hook to signal undo activity.
6670 (allout-post-command-business): Run allout-post-undo-hook if an
6671 undo just occurred.
7dbfa719
SM
6672 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6673 * allout-widgets.el (allout-widgets-after-undo-function):
6674 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6675 in the vicinity of an undo.
6676 (allout-widgets-mode): Include allout-widgets-after-undo-function
6677 on the new allout-post-undo-hook.
6678
450a0f09
SM
66792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6682 Let define-derived-mode define it.
6683 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6684 cycles of abbrev-table inheritance (bug#8998).
6685
2de69e00
RW
66862011-07-05 Roland Winkler <winkler@gnu.org>
6687
6688 * textmodes/bibtex.el: Add support for biblatex.
6689 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6690 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6691 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6692 (bibtex-entry-alist, bibtex-field-alist): New variables.
6693 (bibtex-entry-field-alist): Obsolete alias for
6694 bibtex-BibTeX-entry-alist.
6695 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6696 (bibtex-set-dialect): New command.
6697 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6698 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6699 Bind via bibtex-set-dialect.
2de69e00
RW
6700 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6701 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6702 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6703 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6704 Define via bibtex-set-dialect.
450a0f09
SM
6705 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6706 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6707 (bibtex-vec-push, bibtex-vec-incr): New functions.
6708 (bibtex-format-entry, bibtex-field-list)
6709 (bibtex-print-help-message, bibtex-validate)
6710 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6711
2dcdbdd9
SM
67122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * progmodes/compile.el (compilation-goto-locus):
6715 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6716 * bs.el (bs-cycle-next, bs-cycle-previous):
6717 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6718 * bindings.el (mode-line-other-buffer):
6719 * autoinsert.el (auto-insert):
6720 * arc-mode.el (archive-extract):
6721 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6722
b27640fe
JB
67232011-07-05 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6726 Fix check of `emacs-lock-unlockable-modes'.
6727 Coerce true values of `emacs-lock--try-unlocking' to t.
6728
53bbe3ad
JB
67292011-07-05 Juanma Barranquero <lekktu@gmail.com>
6730
6731 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6732 * emacs-lock.el: New file.
6733
1d3cdbc7
JD
67342011-07-05 Julien Danjou <julien@danjou.info>
6735
6736 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6737 than `boundp' to check if face is set.
6738
9173deec
JB
67392011-07-05 Juanma Barranquero <lekktu@gmail.com>
6740
6741 * register.el (registerv-make):
6742 * window.el (window-min-height): Fix typos in docstrings.
6743
869795d6
JD
67442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6745
9173deec 6746 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6747 Update doc string.
6748
b768cdcd
JB
67492011-07-04 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * server.el (server-execute): Catch quit and call
6752 `server-return-error' to pass the error back to emacsclient and
6753 close the connection (bug#8942).
6754
13aa217b
KM
67552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6756
6757 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6758 insecure exception for current topic. Also note that auto-saves
6759 are handled differently.
6760
6761 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6762 State variables for tracking auto-save inhibition situation.
6763
6764 (allout-write-contents-hook-handler): Rename from
6765 'allout-write-file-hook-handler', and describe how it depends on
6766 write-contents-functions sensitivity to non-nil value to prevent
6767 file write.
6768
6769 (allout-auto-save-hook-handler): Remove. auto-save does not check
6770 this in individual buffers, only in the starting buffer, so this
6771 is not the right way for us to inhibit auto-save in a buffer
6772 according to its condition.
6773
6774 (allout-mode): Use new allout-write-contents-hook-handler, and
6775 only with write-contents-functions. Remove auto-save provisions -
6776 they're implemented elsewhere.
6777
6778 (allout-before-change-handler): If undo is in progress, note that
6779 for attention of allout-post-command-business.
6780
6781 (allout-post-command-business): If the command we're following was
6782 an undo, check for change in the status of encrypted items and
6783 adjust auto-save inhibitions accordingly.
6784
6785 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6786 according to whether there are or aren't any plain-text topics
6787 pending encryption.
6788
2dcdbdd9 6789 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6790 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6791 if there are plain-text topics pending encryption.
13aa217b
KM
6792
6793 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6794 buffer-saved-size and some allout state to not inhibit auto-saves
6795 if there are no longer any plain-text topics pending encryption.
6796
0757af94
SM
6797 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6798 No longer provide for exemption of the current topic.
13aa217b 6799
ac89b32c
JL
68002011-07-04 Juri Linkov <juri@jurta.org>
6801
6802 Add 7z operations to delete and save changed members (bug#8968).
6803 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6804 New defcustoms.
6805 (archive-7z-write-file-member): New function.
6806 (archive-7z-summarize): Fix the number of dashes in the
6807 listing output.
6808
8fa39615
SM
68092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6812 (bug#8958).
6813
2f11b3f1
CY
68142011-07-04 Chong Yidong <cyd@stupidchicken.com>
6815
d66fef2b
CY
6816 * bindings.el: Ignore next-buffer and previous-buffer in
6817 minibuffer-local-map.
6818
2f11b3f1
CY
6819 * font-lock.el (font-lock-builtin-face): Change light background
6820 color to dark slate blue (Bug#6693).
6821
f932a347
WD
68222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6823
6824 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6825
c8af70e1
SM
68262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6830 Add switch-to-buffer.
6831
f158badc
LMI
68322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6833
6834 * isearch.el (isearch-search-fun-function): Clarify further the
6835 meaning of the function returned.
6836
6d95bd46
MA
68372011-07-04 Michael Albinus <michael.albinus@gmx.de>
6838
6839 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6840
6841 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6842 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6843 Use it.
6844 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6845 `tramp-default-remote-path' does not exist.
6846 (tramp-send-command-and-read): New optional argument NOERROR.
6847 (tramp-open-connection-setup-interactive-shell)
6848 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6849 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6850 (tramp-process-sentinel): Flush also process' connection property.
6851 (tramp-sh-handle-start-file-process): Do not set process
6852 sentinel. It is done now ...
6853 (tramp-maybe-open-connection): ... here. (Bug#8929)
6854
909e6b67
MK
68552011-07-04 MON KEY <monkey@sandpframing.com>
6856
6857 * play/animate.el (animate-string): Doc fixes and allow changing
6858 the buffer name (bug#5417).
6859
68602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6861
c8af70e1 6862 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6863
f34755dc
PE
68642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6865
396cec72
PE
6866 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6867 This is simpler and helps future-proof the code.
6868 (timer-until): Use time-subtract and float-time.
08235028 6869 (timer--time-less-p): Use time-less-p.
f34755dc 6870
56e6cc31
JB
68712011-07-04 Juanma Barranquero <lekktu@gmail.com>
6872
3abb79e5
JB
6873 * type-break.el (timep): Use the value of `float-time' to avoid a
6874 byte-compiler warning.
6875
56e6cc31
JB
6876 * server.el (server-eval-and-print): Return any result, even nil.
6877
7b9430b4
PE
68782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6879
6880 * type-break.el: Accept time formats that the builtins accept.
6881 (timep, type-break-time-difference): Accept any format that
6882 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6883 This is simpler and helps future-proof the code.
6884 (type-break-time-difference): Round rather than ignoring
6885 subseconds components.
6886
3034e9e7
LMI
68872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6888
6889 * info.el (Info-apropos-matches): Make non-interactive, since it
6890 doesn't seem to do anything useful as a command (bug#8829).
6891
1485f4c0
CY
68922011-07-03 Chong Yidong <cyd@stupidchicken.com>
6893
6894 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6895 Move from faces.el.
1485f4c0
CY
6896 (frame-default-terminal-background): New function.
6897
6898 * custom.el (custom-push-theme): Don't record faces in `changed'
6899 theme; this doesn't work correctly for per-frame face settings.
6900 (disable-theme): Use face-set-after-frame-default to reset faces.
6901 (custom--frame-color-default): New function.
6902
9fa3dd45
LMI
69032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
c8af70e1 6905 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6906 (bug#8769).
6907
6cbbc20c
KR
69082011-03-29 Kevin Ryde <user42@zip.com.au>
6909
6910 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6911 `perl-Test2' extend to match possible "fail #N" rep count
6912 (bug#8377).
6913
c7f98048
LMI
69142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
65676592
LMI
6916 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6917 `smtpmail-via-smtp' now returns the error instead of nil.
6918
c7f98048
LMI
6919 * isearch.el (isearch-search-fun-function): Clarify the doc string
6920 (bug#8101).
6921
56e6cc31 69222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6923
6924 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6925 unnecessary spaces (bug#8987).
6926
2b216704
LMI
69272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6928
6929 * net/network-stream.el (open-network-stream): Use the
6930 :end-of-capability command thoughout.
6931
69322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6933
6934 * net/network-stream.el (open-network-stream): Add the
6935 :end-of-capability command parameter, used by pop3.el.
6936
36adf6ce
LMI
69372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6938
1ca0da0e
LMI
6939 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6940
fc00f69c
LMI
6941 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6942 for list)" (bug#6475).
6943
28fd8759 6944 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6945 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6946 an error (bug#6297).
6947
0dd8b6da
LMI
6948 * man.el (Man-reference-regexp): Allow matching possible
6949 word-wrapped references (bug#6289).
6950
ce1438d6
LMI
6951 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6952 for consistency with the other vc buffers (bug#6197).
6953 (vc-checkin): Ditto.
6954
6955 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6956
36adf6ce
LMI
6957 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6958
e83cc1f7
LMI
69592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6960
8a20ca4c
LMI
6961 * custom.el (defcustom): Clarify that :set is only used in the
6962 Customize user interface (bug#6089).
6963
83319045
LMI
6964 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6965 associated with a file, refuse to run instead of erroring out
6966 (bug#6084).
6967
a8392169
LMI
6968 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6969 the doc string, since it appears that using `fill-column' always
6970 controls the width (bug#7845).
6971
e83cc1f7
LMI
6972 * simple.el (shell-command-on-region): Say where the error output
6973 went if `shell-command-default-error-buffer' is set (bug#6857).
6974
e47ca23b
KM
69752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6976
6977 * allout.el (allout-yank-processing): Adjust cursor position for
6978 backwards-deleted space.
6979
6980 (allout-rebullet-heading): Register changes with
6981 allout-exposure-changed-hook, so the modified topic is properly
6982 decorated.
6983
5cf56143
LMI
69842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6985
08549772
LMI
6986 * minibuffer.el (completion-in-region): Document PREDICATE
6987 (bug#7136).
6988
48e96771
LMI
6989 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6990 of keyword/argument pairs (bug#6904).
6991
c8af70e1
SM
6992 * replace.el (multi-occur):
6993 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6994
e17d05e2
LMI
69952011-07-02 Drew Adams <drew.adams@oracle.com>
6996
6997 * dired.el (dired-mark-if): Make the message about whether it's
6998 marking or unmarking clearer (bug#8523).
6999
063b0e45
LMI
70002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7001
7002 * disp-table.el (display-table-print-array): New function.
7003 (describe-display-table): Use it to print the vectors more pretty
7004 (Bug#8859).
7005
28545e04
MR
70062011-07-02 Martin Rudalics <rudalics@gmx.at>
7007
7008 * window.el (window-state-get-1): Don't assign clone numbers.
7009 Add clone-of item to list of window parameters.
7010 (window-state-put-2): Don't process clone numbers.
7011 (display-buffer-alist): Fix doc-string.
7012
3349e122
SM
70132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * subr.el (remq): Don't allocate if it's not needed.
7016 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7017 (keymap--merge-bindings): New functions.
7018 (keymap-canonicalize): Use them to refine the canonicalization.
7019 * minibuffer.el (minibuffer-local-completion-map)
7020 (minibuffer-local-must-match-map): Move initialization from C.
7021 (minibuffer-local-filename-completion-map): Move initialization from C;
7022 don't inherit from anything here.
7023 (minibuffer-local-filename-must-match-map): Make obsolete.
7024 (completing-read-default): Use make-composed-keymap to combine
7025 minibuffer-local-filename-completion-map with either
7026 minibuffer-local-must-match-map or
7027 minibuffer-local-filename-completion-map.
7028
d224ac83
GM
70292011-07-01 Glenn Morris <rgm@gnu.org>
7030
3de63bf8
GM
7031 * type-break.el (type-break-time-sum): Use dolist.
7032
d224ac83
GM
7033 * textmodes/flyspell.el (flyspell-word-search-backward):
7034 Replace CL function.
7035
1a1e3f32
SM
70362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7037
fe3f64d5
SM
7038 * mouse.el (mouse--strip-first-event): New function.
7039 (function-key-map): Use it to map fringe clicks to normal clicks
7040 by default.
7041
eb604e34
SM
7042 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7043 (vc-bzr-revision-completion-table): Add support for annotate and date.
7044
1a1e3f32
SM
7045 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7046 inherit from parent.
7047
5bd35902
LMI
70482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7049
ace6c69c 7050 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7051 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7052
191e2bed
LMI
7053 * dired.el (dired-mode): Fix up the doc string as suggested by
7054 Drew Adams (bug#8817).
7055
5bd35902
LMI
7056 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7057 cookie, since the manual says that it should be possible to add
7058 this function to `find-file-hook' (bug#8709).
7059
eee8207a
TZ
70602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7061
7062 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7063 here. Noted Ted Zlatanov as the maintainer.
7064 (cfengine-common-settings, cfengine-common-syntax): New functions
7065 to set up common things between `cfengine-mode' and
7066 `cfengine3-mode'.
7067 (cfengine3-mode): New mode.
7068 (cfengine3-defuns cfengine3-defuns-regex
7069 (cfengine3-class-selector-regex cfengine3-category-regex)
7070 (cfengine3-vartypes cfengine3-font-lock-keywords)
7071 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7072 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7073
36b148cf
MA
70742011-07-01 Michael Albinus <michael.albinus@gmx.de>
7075
7076 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7077
7078 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7079
0bf4ba9a
MR
70802011-07-01 Martin Rudalics <rudalics@gmx.at>
7081
7082 * window.el (same-window-buffer-names, same-window-regexps)
7083 (same-window-p, special-display-frame-alist)
7084 (special-display-popup-frame, special-display-function)
7085 (special-display-buffer-names, special-display-regexps)
7086 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7087 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7088 (split-window-preferred-function, split-height-threshold)
7089 (split-width-threshold, even-window-heights)
7090 (display-buffer-mark-dedicated, window-splittable-p)
7091 (split-window-sensibly, window-safely-shrinkable-p):
7092 Un-obsolete.
7093 (display-buffer): Don't spread args with function specifier
7094 because special-display-popup-frame won't like it.
7095
35837f51
PE
70962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7097
d0672f86
PE
7098 Time-stamp simplifications and fixes.
7099 These improve accuracy slightly, and future-proof the code
7100 against some potential changes to current-time format.
7101
b9444d97
PE
7102 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7103 by using time-since and float-time.
7104
0ef923dc
PE
7105 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7106 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7107 + NNN microseconds".
7108
2f81380d
PE
7109 * type-break.el (type-break-time-sum): Rewrite using time-add.
7110
845b5c3e
PE
7111 * play/hanoi.el (hanoi-current-time-float): Remove.
7112 All uses replaced by float-time.
7113
ee6f1be0
PE
7114 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7115 This yields a more-accurate answer.
7116 (rng-time-to-float): Remove; no longer needed.
7117
fe955043
PE
7118 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7119
5777162a
PE
7120 * calendar/timeclock.el (timeclock-seconds-to-time):
7121 Defalias to seconds-to-time, since they're the same thing.
7122
3103f8b6 7123 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7124 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7125 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7126
0e61a35f
SM
71272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * window.el (bury-buffer): Don't iconify the only frame.
7130 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7131 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7132
ddd63a1e
CY
71332011-07-01 Chong Yidong <cyd@stupidchicken.com>
7134
0e61a35f
SM
7135 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7136 Add mouse-yank-primary.
ddd63a1e 7137
055f4923
TZ
71382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7139
7140 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7141
6a2fb145
SM
71422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7145 (find-library-name): Use it to find relative load names when provided
7146 absolute file name (bug#8803).
7147
fd4983f2
LMI
71482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7149
887d14ad
LMI
7150 * textmodes/flyspell.el (flyspell-word): Consider words that
7151 differ only in case as potential doublons (bug#5687).
7152
c53dc7fc
LMI
7153 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7154 Remove two rather uninteresting debugging-like messages to make
7155 debbugs.el more silent.
7156
fd4983f2
LMI
7157 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7158 a password-like phrase.
7159
7a71b18d 71602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7161
7162 * progmodes/cc-guess.el: New file.
7163
6a2fb145 7164 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7165
7166 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7167 derived from `c-basic-common-init'.
7168
7169 * progmodes/cc-mode.el (top-level): Require cc-guess.
7170 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7171
1fa280a3
LM
71722011-06-30 Lawrence Mitchell <wence@gmx.li>
7173
7174 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7175
e6597158
AM
71762011-06-30 Alan Mackenzie <acm@muc.de>
7177
1fa280a3
LM
7178 * progmodes/cc-engine.el (c-guess-continued-construct):
7179 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7180 lock is disabled. Name this case as "CASE G".
7181
68ba37fb
KM
71822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7183
7184 * allout.el (allout-yank-processing): Fix injection of extra space
7185 between bullet and non-whitespace character in first topic when
7186 pasting, ensuring that the actual spacing in the pasted topic
7187 following the bullet char is preserved. This extra space was
7188 causing pasted encrypted topics to get a decrypted status even
7189 when the content was actually still encrypted. Now the decryption
7190 status from before the paste is preserved.
7191
7192 (allout-flag-region): Set all allout overlays so they evaporate
7193 when reduced to zero length (evanescent), to prevent overlay
7194 leakage.
7195
887a0b34
GM
71962011-06-30 Glenn Morris <rgm@gnu.org>
7197
94b9acce
GM
7198 * w32-fns.el (w32-charset-info-alist): Declare.
7199
1d9b46d4
GM
7200 * find-dired.el (find-grep-options): Simplify.
7201
cc232200
GM
7202 * term/ns-win.el (ns-set-resource): Declare.
7203
28e77c46
GM
7204 * ses.el (row, col): Declare dynamic variables honestly.
7205
887a0b34
GM
7206 * textmodes/reftex-parse.el (index-tags): Declare.
7207
658d8eb8
CY
72082011-06-30 Chong Yidong <cyd@stupidchicken.com>
7209
7210 * cus-edit.el (customize-push-and-save): New function.
7211
7212 * files.el (hack-local-variables-confirm): Use it.
7213
1fa280a3
LM
7214 * custom.el (load-theme): New arg NO-CONFIRM.
7215 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7216 (custom-enabled-themes): Doc fix.
7217
7218 * cus-theme.el (customize-create-theme)
7219 (custom-theme-merge-theme): Callers to load-theme changed.
7220
bb617717
LMI
72212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7222
d61bdd5d
LMI
7223 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7224 short URLs have at least one dot in them (bug #7614).
7225
bb617717
LMI
7226 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7227 nil, because using a pty is apparently too slow (bug #895).
7228
2f31f37a
LMI
72292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
7231 * mail/sendmail.el (sendmail-query-once): New function.
7232 (sendmail-query-once-function): New variable.
7233
3076b24e
GM
72342011-06-29 Glenn Morris <rgm@gnu.org>
7235
faf2a174
GM
7236 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7237
3076b24e
GM
7238 * ses.el (top-level): Require cl when compiling.
7239 (ses-set-localvars): Fix error statement.
7240 Call it at compile time to silence a storm of warnings.
7241
5386012d
MR
72422011-06-29 Martin Rudalics <rudalics@gmx.at>
7243
7244 * window.el (normalize-live-buffer): Rename to
7245 window-normalize-buffer.
7246 (normalize-live-frame): Rename to window-normalize-frame.
7247 (normalize-any-window): Rename to window-normalize-any-window.
7248 (normalize-live-window): Rename to window-normalize-live-window.
7249 (make-window-atom): Rename to window-make-atom.
7250 (window-resize-reset): Rename to window--resize-reset.
7251 (window-resize-reset-1): Rename to window--resize-reset-1.
7252 (resize-mini-window): Rename to window--resize-mini-window.
7253 (resize-subwindows-skip-p): Rename to
7254 window--resize-subwindows-skip-p.
7255 (resize-subwindows-normal): Rename to
7256 window--resize-subwindows-normal.
7257 (resize-subwindows): Rename to window--resize-subwindows.
7258 (resize-other-windows): Rename to window--resize-siblings.
7259 (resize-this-window): Rename to window--resize-this-window.
7260 (resize-root-window): Rename to window--resize-root-window.
7261 (resize-root-window-vertically): Rename to
7262 window--resize-root-window-vertically.
7263 (normalize-buffer-to-display): Rename to
7264 window-normalize-buffer-to-display.
7265 (normalize-buffer-to-switch-to): Rename to
7266 window-normalize-buffer-to-switch-to.
7267 Correspondingly update all callers of the functions listed
7268 above.
7269 (display-buffer-alist, display-buffer-normalize-arguments)
7270 (display-buffer-normalize-options, display-buffer)
7271 (display-buffer-alist-set): Use "function" instead of
7272 "fun-with-args".
7273
1176868d
CY
72742011-06-28 Chong Yidong <cyd@stupidchicken.com>
7275
7276 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7277 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7278 debbugs.gnu.org. Mention acknowledgment email.
7279
20a7a65f
LMI
72802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7281
7282 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7283 buffer multibyteness, since it shouldn't matter.
7284
5f45cca5
MR
72852011-06-28 Martin Rudalics <rudalics@gmx.at>
7286
7287 * window.el (display-buffer-in-side-window): Handle dedicated
7288 windows as in display-buffer-reuse-window.
7289 (display-buffer-normalize-alist): Use value of override
7290 specifier.
7291 (display-buffer-normalize-specifiers): Use value of
7292 other-window-means-other-frame specifier.
7293 (display-buffer-alist): Rewrite some texts in widgets.
7294 (display-buffer): Spread arguments when calling function
7295 specified by fun-with-args.
7296
ad85fe1f
DD
72972011-06-28 Deniz Dogan <deniz@dogan.se>
7298
1fa280a3
LM
7299 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7300 Unnest `let'.
da68c4c8 7301
ad85fe1f
DD
7302 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7303 selectors (Bug#5732).
ec49bd31 7304 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7305
a08cc025
JA
73062011-06-27 Jari Aalto <jari.aalto@cante.net>
7307
7308 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7309 (eshell-ls-date-format): New defcustom.
7310 (eshell-ls-file): Use it.
7311
e2b551c5
SM
73122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7315
8982b231
KY
73162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7317
7318 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7319 (ange-ftp-make-tmp-name): New arg.
7320 (ange-ftp-file-local-copy): Use it.
7321
36c9fa27
J
73222011-06-27 Jambunathan K <kjambunathan@gmail.com>
7323
7324 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7325 no-conversion (Bug#8870).
7326
d68443dc
MR
73272011-06-27 Martin Rudalics <rudalics@gmx.at>
7328
7329 * window.el (window-right, window-left, window-child)
7330 (window-child-count, window-last-child)
7331 (window-iso-combination-p, walk-window-tree-1)
7332 (window-atom-check-1, window-tree-1, delete-window)
7333 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7334 new naming conventions - window-vchild, window-hchild,
7335 window-next and window-prev are now called window-top-child,
7336 window-left-child, window-next-sibling and window-prev-sibling
7337 respectively.
d615d6d2
MR
7338 (resize-window-reset): Rename to window-resize-reset.
7339 (resize-window-reset-1): Rename to window-resize-reset-1.
7340 (resize-window): Rename to window-resize.
7341 (window-min-height, window-min-width)
7342 (resize-mini-window, resize-this-window, resize-root-window)
7343 (resize-root-window-vertically, adjust-window-trailing-edge)
7344 (enlarge-window, shrink-window, maximize-window)
7345 (minimize-window, delete-window, quit-restore-window)
7346 (split-window, balance-windows, balance-windows-area-adjust)
7347 (balance-windows-area, window-state-put-2)
7348 (display-buffer-even-window-sizes, display-buffer-set-height)
7349 (display-buffer-set-width, set-window-text-height)
7350 (fit-window-to-buffer): Rename all "resize-window" prefixed
7351 calls to use the "window-resize" prefix convention.
7352 (display-buffer-alist): Fix symbol for label specifier.
7353 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7354 corresponding specifier.
7355 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7356
b6458526
VB
73572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7358
7359 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7360 convention.
7361 (ses-call-printer): Does not pass an empty string to formatter when the
7362 cell is empty to keep from barking printer Calc math-format-value.
7363
d31fd9ac
RS
73642011-06-27 Richard Stallman <rms@gnu.org>
7365
43d5bf84
RS
7366 * battery.el (battery-mode-line-limit): New variable.
7367 (battery-update): Handle it.
7368
d31fd9ac
RS
7369 * mail/rmailmm.el (rmail-mime-process-multipart):
7370 Handle truncated messages.
7371
819a6054
GM
73722011-06-27 Glenn Morris <rgm@gnu.org>
7373
7374 * progmodes/flymake.el (flymake-err-line-patterns):
7375 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7376
cedc73f2
VB
73772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7378
819a6054 7379 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7380 (ses--clean-!, ses--clean-_): New functions.
7381 (ses-range): Add configurability of readout order, and conversion
7382 to Calc vector.
7383
5e5d49b6
VB
7384 * ses.el (ses-repair-cell-reference-all): New function.
7385 (ses-cell-symbol): Set macro as safe, so that it can be used in
7386 formulas.
7387
56e6cc31 7388 * ses.el: Update cycle detection algorithm.
90ca8b49 7389 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7390 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7391 (ses-set-localvars): New function.
7392 (ses-make-cell): Add property-list as a cell element.
7393 (ses-cell-property-get-fun, ses-cell-property-get)
7394 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7395 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7396 New functions.
90ca8b49
VB
7397 (ses-cell-property-set, ses-cell-property-pop)
7398 (ses-cell-property-get-handle): New macro.
7399 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7400 New aliases, used for code readability.
7401 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7402 cycle detection.
7403 (ses-self-reference-early-detection): New defcustom.
fac916bf 7404 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7405 (ses-mode): Use ses-set-localvars.
7406 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7407 before lauching the update processing.
7408 (ses-initialize-Dijkstra-attempt): New function.
7409 (ses-recalculate-cell): Update for cycle detection based on
7410 Dijkstra algorithm.
7411
2bb63e81
VB
7412 * ses.el: Fix commenting and indenting convention.
7413
c9d29fb8
SM
74142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * bs.el (bs-cycle-next): Complete last change.
7417
d8e4b68b
JB
74182011-06-27 Drew Adams <drew.adams@oracle.com>
7419
7420 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7421
40098786
LMI
74222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7423
c9d29fb8
SM
7424 * net/network-stream.el (network-stream-open-starttls):
7425 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7426 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7427
40098786
LMI
7428 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7429 to binary to possibly avoid line encoding issues on Windows (among
7430 other things).
7431
468d09d4
LMI
74322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
7434 * net/network-stream.el (open-network-stream): Return an :error
7435 saying what the problem was, if possible.
7436
7437 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7438 server.
7439
7440 * net/network-stream.el (network-stream-open-starttls): If we
7441 wanted to use STARTTLS, and the server offered it, but we weren't
7442 able to because we had no STARTTLS support, then close the connection.
7443 (open-network-stream): Return an :error element, if present.
7444
16f07dd7
CY
74452011-06-26 Chong Yidong <cyd@stupidchicken.com>
7446
88821ca0
CY
7447 * hl-line.el (hl-line-sticky-flag): Doc fix.
7448 (global-hl-line-sticky-flag): New option (Bug#8323).
7449 (global-hl-line-highlight): Obey it.
7450
16f07dd7
CY
7451 * vc/vc.el (vc-revert-show-diff): Default to t.
7452
6b5ccddf
KM
74532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7454
c9d29fb8
SM
7455 * allout-widgets.el (allout-widgets-post-command-business):
7456 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7457 undecorated when an isearch is continued past, and isearch
7458 automatically collapses them. This leads to "widget leaks", where
7459 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7460 hidden widgets can slow down cursor travel, substantially.
7461 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7462 so we're doing without this nicety.
7463
7464 (allout-widgets-tally-string): Don't try to do a hash-table-count
7465 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7466 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7467 *Messages* when allout-widgets-maintain-tally is t.
7468
355f2e07
MR
74692011-06-26 Martin Rudalics <rudalics@gmx.at>
7470
7471 * window.el (display-buffer-normalize-argument): Rename to
7472 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7473 LABEL argument. Respect special-display-function when popping up
7474 a new frame. Fix code searching for a window showing the buffer
7475 on another frame.
c9d29fb8
SM
7476 (display-buffer-normalize-specifiers):
7477 Call display-buffer-normalize-arguments.
355f2e07
MR
7478 (display-buffer-in-window): Don't undedicate the window if its
7479 buffer remains the same.
7480 Reported by Drew Adams <drew.adams@oracle.com>.
7481 (display-buffer-alist): Add choice for same-window macro
7482 specfier.
7483 (display-buffer): Mention special meaning of LABEL argument in
7484 doc-string. Fix quoting. Don't pop up a new frame even as
7485 fallback.
7486
7ca8fc42
JB
74872011-06-26 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7490 avoid deleting the current window in some cases (bug#8911).
7491
bc312254
AS
74922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7493
7494 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7495 (Bug#8934)
7496
2db18f3f
LMI
74972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498
c9d29fb8
SM
7499 * net/network-stream.el (network-stream-open-starttls):
7500 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7501 (network-stream-open-tls): Ditto.
7502
6302e0d3
LL
75032011-06-26 Leo Liu <sdl.web@gmail.com>
7504
7505 * register.el (registerv): New struct.
7506 (registerv-make): New function.
c9d29fb8
SM
7507 (jump-to-register, describe-register-1, insert-register):
7508 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7509 struct. (Bug#8415)
7510
5fdd4046
CY
75112011-06-26 Chong Yidong <cyd@stupidchicken.com>
7512
2afef60a
CY
7513 * vc/vc.el (vc-revert-show-diff): New defcustom.
7514 (vc-diff-internal): New arg specifying diff buffer.
7515 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7516 reuse an existing *vc-diff* buffer (Bug#8927).
7517
5fdd4046
CY
7518 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7519
e93db24a
GM
75202011-06-26 Glenn Morris <rgm@gnu.org>
7521
7522 * progmodes/f90.el (f90-critical-indent): New option.
7523 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7524 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7525 (f90-mode): Doc fix.
7526 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7527 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7528 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7529 (f90-match-end): Handle block, critical.
7530
eefff499
GM
75312011-06-25 Glenn Morris <rgm@gnu.org>
7532
f6ba4cc9
GM
7533 * calendar/diary-lib.el (diary-included-files): Doc fix.
7534 (diary-include-files): New function, extracted from
7535 diary-include-other-diary-files and diary-mark-included-diary-files.
7536 (diary-include-other-diary-files, diary-mark-included-diary-files):
7537 Just call diary-include-files.
7538 (diary-mark-entries): Reset diary-included-files on first call.
7539
16712304
GM
7540 * calendar/diary-lib.el (diary-mark-entries)
7541 (diary-mark-included-diary-files):
7542 Visit included diary-files in temp buffers.
7543
5d8e0d43
GM
7544 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7545 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7546 (f90-start-block-re, f90-imenu-generic-expression)
7547 (f90-looking-at-program-block-start, f90-no-block-limit):
7548 Add support for submodules.
7549
ccf7a5d5
GM
7550 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7551 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7552
11fdef7d 75532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7554
7555 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7556 buffer-file-type before setting its value, to avoid disastrous
eefff499 7557 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7558
74f53697
JB
75592011-06-25 Juanma Barranquero <lekktu@gmail.com>
7560
7561 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7562
7563 * ses.el (ses-unload-function):
7564 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7565
7566 * proced.el (proced-unload-function):
7567 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7568
18a4ce5e
AR
75692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7570
7571 * server.el (server-create-window-system-frame): Add parameters arg.
7572 (server-process-filter): Doc fix. Handle frame-parameters.
7573
519d22cc
JB
75742011-06-25 Juanma Barranquero <lekktu@gmail.com>
7575
7576 Fix bug#8730, bug#8781.
7577
7578 * loadhist.el (unload--set-major-mode): New function.
7579 (unload-feature): Use it.
7580
7581 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7582 (python-unload-function): New function.
7583
c206f5b0
SM
75842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7587
f9ad64f3
GS
75882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7589
7590 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7591 the candidates list.
7592
7d0da90e
JB
75932011-06-24 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7596
14b4e83d
RS
75972011-06-23 Richard Stallman <rms@gnu.org>
7598
7599 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7600 (rmail-variables): Set next-error-move-function.
7601 (rmail-what-message): Take argument POS.
7602 (rmail-next-error-move): New function.
7603
273d2baf
SM
76042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7607 messages for adjacent non-terminals.
7608
56c2cc9a
RS
76092011-06-23 Richard Stallman <rms@gnu.org>
7610
7611 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7612 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7613 (rmail-start-mail): Don't specify use of rmail-mail-return;
7614 that's done by mail-bury now.
7615 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7616
d59eb518
MA
76172011-06-23 Michael Albinus <michael.albinus@gmx.de>
7618
7619 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7620 SIZE is a number.
7621
02cfc6d6
MR
76222011-06-23 Martin Rudalics <rudalics@gmx.at>
7623
7624 * window.el (get-lru-window, get-mru-window)
7625 (get-largest-window): Never return a minibuffer window.
7626 (display-buffer-pop-up-window): Fix a bug that could lead to
7627 reusing the minibuffer window.
7628 (display-buffer): Pass original specifier argument to
7629 display-buffer-function instead of the normalized one.
7630 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7631
4e323265
LL
76322011-06-22 Leo Liu <sdl.web@gmail.com>
7633
7634 * minibuffer.el (completing-read-function)
7635 (completing-read-default): Move from minibuf.c
7636
7a70468f
RS
76372011-06-22 Richard Stallman <rms@gnu.org>
7638
50718fc2
RS
7639 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7640 to Rmail even if not started by a special Rmail command.
7641
7a70468f
RS
7642 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7643 Copy the buffer currently showing just one message.
7644
297dde5a
RW
76452011-06-22 Roland Winkler <winkler@gnu.org>
7646
7647 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7648 (bibtex-clean-entry): First delete the old key so that a
7649 customized algorithm for generating the new key does not get
7650 confused by the old key.
7651 (bibtex-url): Obey regexp of first step.
7652 (bibtex-search-entries): Do not use add-to-list with local
7653 list-var.
7654
97bb1093
LMI
76552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7656
7657 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7658 stored a user name, then query for the password first, instead of
7659 waiting for SMTP to give an error message and the trying again.
7660
1c0f1a19
JD
76612011-06-22 Lawrence Mitchell <wence@gmx.li>
7662
7663 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7664 BUFFER in call-process.
7665
396f7c9d
LMI
76662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7667
7668 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7669 QUIT twice.
ddb7ffee
LMI
7670 (smtpmail-try-auth-methods): Require user name and password from
7671 auth-source.
396f7c9d 7672
8998d1b3
MR
76732011-06-22 Martin Rudalics <rudalics@gmx.at>
7674
7675 * window.el (display-buffer-default-specifiers)
7676 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7677 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7678 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7679
7680 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7681 (special-display-frame-alist, special-display-popup-frame):
7682 Remove duplicate declarations. These are now in window.el.
7683
4ea31e07
LMI
76842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7685
c9d29fb8
SM
7686 * mail/smtpmail.el (smtpmail-via-smtp):
7687 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7688 server supports it. SMTP servers that support STARTTLS commonly
7689 require it.
7690
7691 * net/network-stream.el (network-stream-open-starttls): Support
7692 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7693 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7694
95f41d9a
LMI
7695 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7696 upgrades with `open-network-stream', and rely solely on
7697 auth-source for all credentials. Big changes throughout the file,
7698 but in particular:
c9d29fb8
SM
7699 (smtpmail-auth-credentials): Remove.
7700 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7701 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7702 MAIL FROM, too.
95f41d9a 7703
c9d29fb8
SM
7704 * net/network-stream.el (network-stream-open-starttls):
7705 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7706 STARTTLS.
7707 (auth-source): Require.
7708 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7709 (network-stream-certificate): Change cert-cert to cert and
7710 cert-key to key.
4ea31e07 7711
065ec2c7
MA
77122011-06-21 Michael Albinus <michael.albinus@gmx.de>
7713
7714 * net/tramp-cache.el (top): Don't load the persistency file when
7715 "emacs -Q" has been called.
7716
cd93b359
DR
77172011-06-21 Tim Harper <timcharper@gmail.com>
7718
d8e4b68b
JB
7719 * term/ns-win.el (ns-initialize-window-system):
7720 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7721 resource to NO as it is not yet supported by the NS port.
7722
ae9c0411
JB
77232011-06-21 Juanma Barranquero <lekktu@gmail.com>
7724
7725 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7726 (list-dynamic-libraries): ...not here.
7727
7f3f739f
LL
77282011-06-21 Leo Liu <sdl.web@gmail.com>
7729
7730 * subr.el (sha1): Implement sha1 using secure-hash.
7731
327c8fb1
MR
77322011-06-21 Martin Rudalics <rudalics@gmx.at>
7733
7734 * window.el (display-buffer-alist): In default value do not
7735 enforce searching a window on any but the selected frame.
7736 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7737 (display-buffer-select-window): Remove function.
7738 (display-buffer-in-window): When a window on another frame gets
7739 reused, do not select it any more but just raise its frame if
7740 necessary (Bug#8851) and (Bug#8856).
7741 (display-buffer-normalize-options): Handle pop-up-frames related
7742 options more faithfully.
7743 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7744 window if it is on another frame.
c9d29fb8
SM
7745 (display-buffer-alist, display-buffer-default-specifiers):
7746 Don't make new frame unsplittable by default.
9e9de014
MR
7747 (display-buffer-normalize-argument): Fix doc-string typo and use
7748 'same-frame-other-window instead of 'other-window when associating
7749 with display-buffer-macro-specifiers.
327c8fb1 7750
7cf3f556
VB
77512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7752
7753 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7754 New functions.
7755 (5x5-mode-map, 5x5-mode-menu): Bind them.
7756 (5x5-draw-grid): Tweak the solver's rendering.
7757
60a406cf
SM
77582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7761 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7762
d8e4b68b 77632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7764
7765 * menu-bar.el: Use function variable instead of switch-to-buffer.
7766 (menu-bar-select-buffer-function): New variable.
60a406cf 7767 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7768
478d6f95
SM
77692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7772 variable's status.
7773
ca530739
JD
77742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7775
7776 * x-dnd.el (x-dnd-version-from-flags)
7777 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7778 and long as number (Bug#8899).
7779 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7780
bcd70d97
SM
77812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7782
60a406cf 7783 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7784 (completion-try-completion, completion-all-completions): Compute the
7785 metadata argument if it's missing; make it optional (bug#8795).
7786
60a406cf 7787 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7788 (widget-complete): Use new :completion-function property.
7789 (widget-completions-at-point): New function.
7790 (default): Use :completion-function instead of :complete.
60a406cf
SM
7791 (widget-default-completions): Rename from widget-default-complete;
7792 Rewrite.
bcd70d97
SM
7793 (widget-string-complete, widget-file-complete, widget-color-complete):
7794 Remove functions.
7795 (file, symbol, function, variable, coding-system, color):
7796 * international/mule-cmds.el (default-input-method, charset)
7797 (language-info-custom-alist):
7798 * cus-edit.el (face): Use new property :completions.
7799
7800 * progmodes/pascal.el (pascal-completions-at-point): New function.
7801 (pascal-mode): Use it.
7802 (pascal-mode-map): Use completion-at-point.
7803 (pascal-toggle-completions): Make obsolete.
7804 (pascal-complete-word, pascal-show-completions):
7805 * progmodes/octave-mod.el (octave-complete-symbol):
7806 Redefine as obsolete alias.
7807 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7808 Signal absence of completion info for old Octave,
7809 (inferior-octave-complete): Redefine as obsolete alias.
7810 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7811 (meta-completions-at-point): Rename from meta-complete-symbol and
7812 adapt it for use on completion-at-point-functions.
7813 (meta-common-mode): Use it.
7814 (meta-looking-at-backward, meta-match-buffer): Remove.
7815 (meta-complete-symbol): Redefine as obsolete alias.
7816 (meta-common-mode-map): Use completion-at-point.
7817 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7818 (makefile-mode-map): Use completion-at-point.
7819 (makefile-completions-at-point): Rename from makefile-complete and
7820 adapt it for use on completion-at-point-functions.
7821 (makefile-mode): Use it.
7822 (makefile-complete): Redefine as obsolete alias.
7823
aebf69c8
DD
78242011-06-20 Deniz Dogan <deniz@dogan.se>
7825
7826 * net/rcirc.el: Delete trailing whitespaces once and for all.
7827
bfbbb27d
DC
78282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7829
7830 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7831
d264a46b
CY
78322011-06-19 Chong Yidong <cyd@stupidchicken.com>
7833
4ca009e5
CY
7834 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7835
d264a46b
CY
7836 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7837
fbf5b3ce
MR
78382011-06-19 Martin Rudalics <rudalics@gmx.at>
7839
7840 * window.el (display-buffer-other-window-means-other-frame):
7841 Call display-buffer-normalize-alist.
7842 (display-buffer-normalize-specifiers-1): Rename to
7843 display-buffer-normalize-argument. New argument other-frame.
7844 Rewrite.
7845 (display-buffer-normalize-specifiers-2): Rename to
7846 display-buffer-normalize-options.
7847 (display-buffer-normalize-alist-1): New function.
7848 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7849 display-buffer-normalize-alist.
7850 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7851 (display-buffer-normalize-options-inhibit): New variable.
7852 (display-buffer-normalize-specifiers): Rewrite calling
7853 display-buffer-normalize-alist,
7854 display-buffer-normalize-argument, and
7855 display-buffer-normalize-options. Don't call the latter if
7856 display-buffer-normalize-options-inhibit is non-nil.
7857 (frame-auto-delete): New option.
7858 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7859 (window-list-no-nils, window-state-ignored-parameters)
7860 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7861 (window-state-put-1, window-state-put-2, window-state-put):
7862 New functions.
9a028c23
MR
7863 (display-buffer-normalize-options): Move special-display-p group
7864 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7865
6d10d800
CY
78662011-06-18 Chong Yidong <cyd@stupidchicken.com>
7867
6420d28b
CY
7868 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7869 groups (Bug#8776).
7870 (rx-submatch-n): New function.
7871 (rx): Document it.
7872
ddb8b596
CY
7873 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7874 (Bug#8768).
7875
7876 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7877
77080289
CY
7878 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7879
61dfb316
CY
7880 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7881 anytime existing face settings are present (Bug#8889).
7882
6d10d800
CY
7883 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7884 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7885 Remove unused argument.
7886
be3fb2b8
MR
78872011-06-18 Martin Rudalics <rudalics@gmx.at>
7888
bcd70d97
SM
7889 * window.el (display-buffer-default-specifiers):
7890 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7891 pop-up-window-min-width, and another reuse-window specifier
7892 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7893 (display-buffer-normalize-specifiers-2):
7894 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7895 pop-up-windows is unset. Add a reuse-window specifier for the
7896 case popping up a new window fails.
7897 (special-display-popup-frame): Remove double quoting.
28dec25a 7898 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7899
1c6d8c76
SM
79002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7903 according to comint-completion-addsuffix.
7904
7905 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7906 (pcomplete-suffix-list): Mark as obsolete.
7907 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7908 pcomplete-seen in the closure.
7909 (pcomplete-comint-setup): Setup completion-at-point as well.
7910 (pcomplete--entries): New function.
7911 (pcomplete--env-regexp): New var.
7912 (pcomplete-entries): Rewrite to work with partial-completion and
7913 without relying on pcomplete-suffix-list.
7914 (pcomplete-pare-list): Remove, unused.
7915
25aef8b8
MR
79162011-06-17 Martin Rudalics <rudalics@gmx.at>
7917
7918 * window.el (display-buffer-alist): Set pop-up-window-min-height
7919 and pop-up-window-min-width in default value. Reported by
7920 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7921 other-window-means-other-frame.
7922 (display-buffer-macro-specifiers): Comment out entry for
7923 other-window specifier.
7924 (display-buffer-other-window-means-other-frame): New function.
7925 (display-buffer-normalize-specifiers-1): New arguments
7926 buffer-name and label. Treat other-window case specially.
7927 (display-buffer-normalize-specifiers-2): Treat other-window case
7928 specially.
7929 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7930 (display-buffer-normalize-specifiers):
7931 Call display-buffer-normalize-specifiers-3.
25aef8b8 7932
dbad4f69
MR
79332011-06-17 Martin Rudalics <rudalics@gmx.at>
7934
7935 * window.el (same-window-p): Fix two typos introduced when
7936 adding with-no-warnings.
d1067961
MR
7937 (display-buffer-normalize-specifiers-1): Don't check
7938 pop-up-frames for 'unset initialization.
7939 (display-buffer-normalize-specifiers-2): Major rewrite using
7940 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7941 (pop-up-frames, display-buffer-reuse-frames)
7942 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7943 Suggested by David Engster <deng@randomsample.de>.
7944 (even-window-heights): Initialize to 'unset.
7945 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7946 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7947 other window case.
dbad4f69 7948
9b9c9e3a
MR
79492011-06-16 Martin Rudalics <rudalics@gmx.at>
7950
bcd70d97
SM
7951 * window.el (display-buffer-normalize-specifiers-1):
7952 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7953 second argument of display-buffer (Bug#8865).
981d5c09
MR
7954 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7955 (switch-to-buffer-other-window-same-frame)
7956 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7957 Adams (Bug#8875).
9c2755e9
MR
7958 (display-buffer): Don't check noninteractive when calling
7959 display-buffer-pop-up-frame.
7960 (display-buffer-pop-up-frame): Never pop up a frame in
7961 noninteractive mode (Bug#8857).
67222e1d
MR
7962 (enlarge-window, shrink-window): Don't report an error when the
7963 window can't be resized as requested (Bug#8862).
9b9c9e3a 7964
2b75be67
SM
79652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7966
9ffdd3ba
SM
7967 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7968
cb581a67
SM
7969 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7970
2b75be67
SM
7971 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7972
8c0e3589
AM
79732011-06-15 Alan Mackenzie <acm@muc.de>
7974
cb581a67
SM
7975 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7976 for declarators, disable knr checking to speed up for normal files.
7977 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7978
b96e6cde
LMI
79792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7980
4bba86e6
LMI
7981 * net/network-stream.el (open-network-stream): Add the keyword
7982 :always-query-capabilities for the case where you want to force a
7983 `plain' network connection, but the protocol still requires the
7984 capabilitiy command (i.e., SMTP and EHLO).
7985
2b75be67 7986 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7987 consistency with other `-live-p' functions.
7988
efdcdbf8
SM
79892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * window.el (same-window-buffer-names, same-window-regexps)
7992 (special-display-frame-alist, special-display-popup-frame)
7993 (special-display-function, special-display-buffer-names)
7994 (special-display-regexps, pop-up-frame-alist)
7995 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7996 (pop-up-windows, split-window-preferred-function)
7997 (split-height-threshold, split-width-threshold, even-window-heights)
7998 (display-buffer-mark-dedicated): Don't encourage the use of
7999 display-buffer-alist from Elisp code.
8000
c5cde042
DN
80012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8002
8003 * progmodes/python.el (python-mode): Derive from prog-mode.
8004 * progmodes/ps-mode.el (ps-mode):
8005 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8006 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8007 * progmodes/ld-script.el (ld-script-mode): Likewise.
8008
baa1c9ab
MR
80092011-06-15 Martin Rudalics <rudalics@gmx.at>
8010
8011 * window.el (display-buffer-alist): Trim default value to avoid
8012 popping up a new frame (Bug#8857) or reusing an arbitrary window
8013 on another frame.
8014 (display-buffer): Do not fall back on popping up a new frame in
8015 batch mode (Bug#8857).
8016
c5dd5a51
CY
80172011-06-14 Chong Yidong <cyd@stupidchicken.com>
8018
8019 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8020 (custom-theme-summary): New function.
8021 (customize-themes): Use it.
8022
d647b7c4
GM
80232011-06-13 Glenn Morris <rgm@gnu.org>
8024
8025 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8026
9481c002
MR
80272011-06-13 Martin Rudalics <rudalics@gmx.at>
8028
357f93d2
MR
8029 * help.el (help-window): Remove variable.
8030 (help-window-point-marker, temp-buffer-max-height)
8031 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8032 (help-print-return-message): Don't set help-window.
8033 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8034 (help-window-setup-finish): Remove.
8035 (help-window-display-message, help-window-setup)
8036 (with-help-window): Major rewrite based on new
8037 display-buffer-window variable.
8038
8039 * help-mode.el (help-mode-finish): Remove help-window related
8040 code.
8041
8042 * view.el (view-exits-all-viewing-windows): Remove reference to
8043 view-return-to-alist in doc-string.
8044 (view-return-to-alist): Make obsolete.
8045 (view-buffer): Call pop-to-buffer-same-window and remove
8046 undo-window code.
8047 (view-buffer-other-window): Call pop-to-buffer-other-window and
8048 simplify code. Ignore second argument.
8049 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8050 simplify code. Ignore second argument.
8051 (view-return-to-alist-update): Make obsolete.
8052 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8053 Rewrite using quit-restore window parameters.
2b75be67
SM
8054 (view-mode-exit): Rename second argument to EXIT-ONLY.
8055 Rewrite using quit-restore-window.
357f93d2
MR
8056 (View-exit, View-exit-and-edit, View-leave, View-quit)
8057 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8058 appropriate arguments.
8059 (view-end-message): Use quit-restore window parameter.
8060
9481c002
MR
8061 * window.el (display-buffer-function): Rewrite doc-string.
8062 (display-buffer-window, display-buffer-alist): New variables.
8063 (display-buffer-split-specifiers)
8064 (display-buffer-side-specifiers)
8065 (display-buffer-macro-specifiers): New constants.
8066 (display-buffer-even-window-sizes, display-buffer-set-height)
8067 (display-buffer-set-width, display-buffer-select-window)
8068 (display-buffer-in-window, display-buffer-reuse-window)
8069 (display-buffer-split-window-1, display-buffer-split-window)
8070 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8071 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8072 (display-buffer-in-side-window, normalize-buffer-to-display)
8073 (display-buffer-normalize-specifiers-1)
8074 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8075 (display-buffer-normalize-specifiers, display-buffer-frame):
8076 New functions.
9481c002
MR
8077 (display-buffer): Major rewrite.
8078 (display-buffer-other-window, display-buffer-other-frame)
8079 (pop-to-buffer, switch-to-buffer-other-window)
8080 (switch-to-buffer-other-frame): Rewrite.
8081 (display-buffer-same-window, display-buffer-same-frame)
8082 (display-buffer-same-frame-other-window)
8083 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8084 (pop-to-buffer-other-window)
8085 (pop-to-buffer-same-frame-other-window)
8086 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8087 (switch-to-buffer-other-window-same-frame): New functions.
8088 (same-window-p, special-display-p): Rewrite disabling warnings.
8089 Make obsolete.
8090 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8091 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8092 Make obsolete
8093 (same-window-buffer-names, same-window-regexps)
8094 (special-display-frame-alist, special-display-popup-frame)
8095 (special-display-function, special-display-buffer-names)
8096 (special-display-regexps, pop-up-frame-alist)
8097 (pop-up-frame-function, split-window-preferred-function)
8098 (split-height-threshold, split-width-threshold)
8099 (even-window-heights): Make obsolete.
8100
9db51aca
GM
81012011-06-12 Glenn Morris <rgm@gnu.org>
8102
8103 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8104 Misc simplifications.
9db51aca 8105
39cffb44
MR
81062011-06-12 Martin Rudalics <rudalics@gmx.at>
8107
8108 * window.el (window-safely-shrinkable-p): Restore function which
8109 was inadvertently removed in change from 2011-06-11. Declare as
8110 obsolete.
8111
2b75be67
SM
8112 * calendar/calendar.el (calendar-generate-window):
8113 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8114 window-safely-shrinkable-p.
8115
a8955be7
GM
81162011-06-12 Glenn Morris <rgm@gnu.org>
8117
8118 * progmodes/fortran.el (fortran-mode-syntax-table):
8119 * progmodes/f90.el (f90-mode-syntax-table):
8120 Set % to punctuation. (Bug#8820)
8121 (f90-find-tag-default): Remove, no longer needed.
8122
f0d4059d
DC
81232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8124
8125 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8126
1100a63c
CY
81272011-06-11 Chong Yidong <cyd@stupidchicken.com>
8128
8129 * image.el (image-animated-p): Return animation delay in seconds.
8130 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8131 (image-animate-timeout): Remove DELAY argument. Don't assume
8132 every subimage has the same delay; get it from image-animated-p.
8133 (image-animate): Caller changed.
8134
def722bf
MA
81352011-06-11 Michael Albinus <michael.albinus@gmx.de>
8136
8137 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8138 to ignored backtrace functions.
8139
0a2bb1a9
GM
81402011-06-11 Glenn Morris <rgm@gnu.org>
8141
8142 * calendar/appt.el (appt-disp-window-function): Doc fix.
8143 (appt-check): Handle overlapping appointments. (Bug#8337)
8144
6198ccd0
MR
81452011-06-11 Martin Rudalics <rudalics@gmx.at>
8146
8147 * window.el (window-tree-1, window-tree): New functions, moving
8148 the latter to window.el.
8149 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8150 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8151 (bw-refresh-edges): Remove.
8152 (balance-windows-1, balance-windows-2): New functions.
8153 (balance-windows): Rewrite in terms of window tree functions,
8154 balance-windows-1 and balance-windows-2.
8155 (bw-adjust-window): Remove.
8156 (balance-windows-area-adjust): New function with functionality of
8157 bw-adjust-window but using resize-window.
2b75be67
SM
8158 (set-window-text-height): Rewrite doc-string.
8159 Use normalize-live-window and resize-window.
8160 (enlarge-window-horizontally, shrink-window-horizontally):
8161 Rename argument to DELTA.
6198ccd0
MR
8162 (window-buffer-height): New function.
8163 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8164 Rewrite using new window resize routines.
2b75be67
SM
8165 (kill-buffer-and-window, mouse-autoselect-window-select):
8166 Use ignore-errors instead of condition-case.
6198ccd0
MR
8167 (quit-window): Call delete-frame instead of delete-windows-on
8168 for the only buffer on frame.
8169
9397e56f
MR
81702011-06-10 Martin Rudalics <rudalics@gmx.at>
8171
8172 * loadup.el (top-level): Load window before files for the sake
8173 of replace-buffer-in-windows.
8174
8175 * files.el (read-buffer-to-switch)
8176 (switch-to-buffer-other-window)
2b75be67
SM
8177 (switch-to-buffer-other-frame, display-buffer-other-frame):
8178 Move to window.el.
9397e56f
MR
8179
8180 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8181 (previous-buffer): Move to window.el.
8182
8183 * bindings.el (unbury-buffer): Move to window.el.
8184
8185 * window.el (delete-other-windows-vertically): Move after
8186 definition of delete-other-windows.
8187 (other-window, delete-windows-on, replace-buffer-in-windows):
8188 Move here from window.c.
8189 (record-window-buffer, unrecord-window-buffer)
8190 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8191 (switch-to-next-buffer): New functions.
8192 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8193 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8194 (previous-buffer): Move here from simple.el.
8195 Call switch-to-prev-buffer.
9397e56f
MR
8196 (bury-buffer): Move here from buffer.c. Switch to previous
8197 buffer when window cannot be deleted.
8198 (unbury-buffer): Move here from bindings.el.
8199 (ctl-x-map): Move binding for other-window from window.c to
8200 here.
8201 (read-buffer-to-switch, switch-to-buffer-other-window)
8202 (switch-to-buffer-other-frame): Move here from files.el.
8203 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8204 (switch-to-buffer): Move here from buffer.c.
8205 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8206
562dd5e9
MR
82072011-06-10 Martin Rudalics <rudalics@gmx.at>
8208
8209 * window.el (window-min-height, window-min-width): Move here
8210 from window.c. Add defcustoms and rewrite doc-strings.
8211 (resize-mini-window, resize-window): New functions.
8212 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8213 Move here from window.c.
8214 (maximize-window, minimize-window): New functions.
8215 (delete-window, delete-other-windows, split-window): Move here
8216 from window.c.
8217 (window-split-min-size): New function.
8218 (split-window-keep-point): Mention split-window-above-each-other
8219 instead of split-window-vertically.
2b75be67 8220 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8221 Rename split-window-vertically to split-window-above-each-other
8222 and provide defalias for old definition.
8223 (split-window-side-by-side, split-window-horizontally):
8224 Rename split-window-horizontally to split-window-side-by-side
8225 and provide defalias for the old definition.
562dd5e9
MR
8226 (ctl-x-map): Move bindings for delete-window,
8227 delete-other-windows and enlarge-window here from window.c.
8228 Replace bindings for split-window-vertically and
8229 split-window-horizontally by bindings for
8230 split-window-above-each-other and split-window-side-by-side.
8231
8232 * cus-start.el (all): Remove entries for window-min-height and
8233 window-min-width. Add entries for window-splits and
8234 window-nest.
8235
f0da764a
GM
82362011-06-09 Glenn Morris <rgm@gnu.org>
8237
80675c21
GM
8238 * calendar/appt.el (appt-mode-line): New function.
8239 (appt-check, appt-disp-window): Use it.
8240
f0da764a
GM
8241 * files.el (hack-one-local-variable-eval-safep):
8242 Allow minor-modes with explicit +/-1 arguments.
8243
59f623b7
TZ
82442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8245
8246 * term/xterm.el (xterm): Add defgroup.
8247 (xterm-extra-capabilities): Add defcustom to supply known xterm
8248 capabilities, skip querying them, or query them (default).
8249 (terminal-init-xterm): Use it.
8250 (terminal-init-xterm-modify-other-keys): New function to set up
8251 modifyOtherKeys support to simplify `terminal-init-xterm'.
8252
9aab8e0d
MR
82532011-06-09 Martin Rudalics <rudalics@gmx.at>
8254
8255 * window.el (resize-window-reset, resize-window-reset-1)
8256 (resize-subwindows-skip-p, resize-subwindows-normal)
8257 (resize-subwindows, resize-other-windows, resize-this-window)
8258 (resize-root-window, resize-root-window-vertically)
8259 (window-deletable-p, window-or-subwindow-p)
8260 (frame-root-window-p): New functions.
8261
e8b08aee
GM
82622011-06-09 Glenn Morris <rgm@gnu.org>
8263
8264 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8265 (ange-ftp-get-files): Use it.
8266
254c37a5
AK
82672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8268
8269 * mail/sendmail.el (mail-recover-1, mail-recover):
8270 * files.el (recover-file, recover-session):
8271 Handle dired-listing-switches not being just a single short option.
8272
35d7dbd3
GM
82732011-06-09 Glenn Morris <rgm@gnu.org>
8274
8275 * calendar/appt.el (appt-display-message, appt-disp-window):
8276 Handle lists of appointments.
8277
387522b2
MR
82782011-06-08 Martin Rudalics <rudalics@gmx.at>
8279
2b75be67
SM
8280 * window.el (one-window-p): Move down in code.
8281 Rewrite doc-string.
8282 (window-current-scroll-bars): Rewrite doc-string.
8283 Normalize live window argument.
387522b2
MR
8284 (walk-windows, get-window-with-predicate, count-windows):
8285 Rewrite doc-string. Use window-list-1.
8286 (window-in-direction-2, window-in-direction, get-mru-window):
8287 New functions.
8288
d8e4b68b 82892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8290
8291 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8292 Doc fix (Bug#8713).
8293
82942011-06-08 Chong Yidong <cyd@stupidchicken.com>
8295
8296 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8297
82982011-06-08 Juanma Barranquero <lekktu@gmail.com>
8299
8300 * loadhist.el (unload-feature-special-hooks):
8301 Add `comint-output-filter-functions'.
8302
0de12c52
IK
83032011-06-08 Ivan Kanis <gnu@kanis.fr>
8304
8305 * calendar/appt.el (appt-check): Move some initializations into the let.
8306
f3d1777e
MR
83072011-06-08 Martin Rudalics <rudalics@gmx.at>
8308
8309 * window.el (window-height): Defalias to window-total-height.
8310 (window-width): Defalias to window-body-width.
8311
18af70d0
CY
83122011-06-07 Chong Yidong <cyd@stupidchicken.com>
8313
8314 * image-mode.el (image-toggle-animation): New command.
8315 (image-mode-map): Bind it to RET.
8316 (image-mode): Update message.
8317 (image-toggle-display-image): Avoid a spurious cache flush.
8318 (image-transform-rotation): Doc fix.
8319 (image-transform-properties): Return quickly in the normal case.
8320 (image-animate-loop): Rename from image-animate-max-time.
8321
2b75be67 8322 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8323 (create-animated-image): Remove unnecessary function.
8324 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8325 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8326 (image-animate-timer): Use car-safe.
8327 (image-animate-timeout): Rename argument.
8328
190b47e6
MR
83292011-06-07 Martin Rudalics <rudalics@gmx.at>
8330
8331 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8332 window.c. Rename first argument to ALL-FRAMES.
8333 Rephrase doc-strings.
8334 (get-buffer-window-list): Rewrite using window-list-1.
8335 Rephrase doc-string.
a1511caf
MR
8336 (window-safe-min-height, window-safe-min-width): New constants.
8337 (window-size-ignore, window-min-size, window-min-size-1)
8338 (window-sizable, window-sizable-p, window-size-fixed-1)
8339 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8340 (window-max-delta-1, window-max-delta, window-resizable)
8341 (window-resizable-p, window-total-height, window-total-width)
8342 (window-body-width): New functions.
8343 (window-full-height-p, window-full-width-p): Rewrite using
8344 window-total-size.
8345 (window-body-height): Rewrite using window-body-size.
190b47e6 8346
85cc1f11
MR
83472011-06-06 Martin Rudalics <rudalics@gmx.at>
8348
8349 * window.el (window-right, window-left, window-child)
8350 (window-child-count, window-last-child, window-any-p)
8351 (normalize-live-buffer, normalize-live-frame)
8352 (normalize-any-window, normalize-live-window)
8353 (window-iso-combination-p, window-iso-combined-p)
8354 (window-iso-combinations)
8355 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8356 (windows-with-parameter, window-with-parameter)
8357 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8358 (window-atom-check, window-side-check, window-check):
8359 New functions.
85cc1f11
MR
8360 (ignore-window-parameters, window-sides, window-sides-vertical)
8361 (window-sides-slots): New variables.
8362 (window-size-fixed): Move down in code. Minor doc-string fix.
8363
e7156492
AS
83642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8365
8366 * comint.el (comint-dynamic-complete-as-filename)
8367 (comint-dynamic-complete-filename): Correctly call
8368 completion-in-region.
8369
7e821d0d
DD
83702011-06-05 Deniz Dogan <deniz@dogan.se>
8371
8372 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8373 in last change.
8374
ac09b8a1
DD
83752011-06-05 Deniz Dogan <deniz@dogan.se>
8376
8377 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8378 (rcirc): Use it to prompt for encryption.
8379
34699b85
RW
83802011-06-05 Roland Winkler <winkler@gnu.org>
8381
8382 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8383 (bibtex-search-entries): New command bound to C-c C-a.
8384 (bibtex-display-entries): New function.
8385
004dedd3
RW
83862011-06-05 Roland Winkler <winkler@gnu.org>
8387
8388 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8389 (bibtex-insert-kill): After yanking insert newline if necessary.
8390 (bibtex-initialize): Call bibtex-string-files-init only once.
8391 (bibtex-mode): Do not call easy-menu-add.
8392 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8393 (bibtex-yank): Set arg properly if nil.
8394
022fe7ce
RW
83952011-06-05 Roland Winkler <winkler@gnu.org>
8396
2b75be67
SM
8397 * textmodes/bibtex.el (bibtex-search-entry-globally):
8398 New variable.
022fe7ce
RW
8399 (bibtex-search-entry): Use it.
8400
b7c3692a
RW
84012011-06-05 Roland Winkler <winkler@gnu.org>
8402
8403 * textmodes/bibtex.el (bibtex-entry-format): New option
8404 sort-fields.
8405 (bibtex-format-entry, bibtex-reformat): Honor this option.
8406 (bibtex-parse-entry): Return fields in proper order.
8407
8eda563d
JB
84082011-06-05 Juanma Barranquero <lekktu@gmail.com>
8409
8410 * doc-view.el (doc-view-remove-if): Move computation of result out
8411 of `dolist' to silence misleading lexical-binding warning.
8412
7dbe3dbc
CY
84132011-06-04 Chong Yidong <cyd@stupidchicken.com>
8414
8415 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8416 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8417
0c33dd17
MA
84182011-06-04 Michael Albinus <michael.albinus@gmx.de>
8419
8420 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8421 "SunOS 5.10".
8422
f8f91c2b
MA
84232011-06-04 Michael Albinus <michael.albinus@gmx.de>
8424
8425 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8426 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8427 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8428 (tramp-parse-putty):
8429 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8430 (tramp-completion-function-alist-ssh)
8431 (tramp-completion-function-alist-telnet)
8432 (tramp-completion-function-alist-su)
8433 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8434 cookie.
8435
8436 * net/tramp-ftp.el:
8437 * net/tramp-sh.el:
8438 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8439 load "tramp.el" `tramp-set-completion-function'.
8440
e17d9003
SM
84412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8442
8443 * shell.el: Require and use pcomplete.
8444 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8445 (shell-completion-vars): Set pcomplete-default-completion-function.
8446
6c4cab03
DD
84472011-06-04 Deniz Dogan <deniz@dogan.se>
8448
8449 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8450 `memq' (Bug#8799).
8451
ea9fafe0
SM
84522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8455
b3e945d3
JB
84562011-06-02 Juanma Barranquero <lekktu@gmail.com>
8457
8458 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8459 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8460 * vc/log-view.el (log-view-beginning-of-defun):
8461 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8462 (smerge-refine-forward, smerge-refine-chopup-region):
8463 Silence warning for unused `dotimes' counter variables.
8464
7d520089
SM
84652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * net/tramp.el (tramp-with-progress-reporter): Rename from
8468 with-progress-reporter. Use `declare'.
8469 * net/tramp-smb.el:
8470 * net/tramp-sh.el:
8471 * net/tramp-gvfs.el: Update all uses.
8472
a1c2400f
JB
84732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8474
8475 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8476 buffer isn't killed before making it current.
8477
2403c841
SM
84782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 Silence various byte-compiler warnings.
8481 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8482 `access-type' and new obsolescence format.
8483 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8484 new format.
8485 (byte-compile-check-variable): New `access-type' argument.
8486 Only warn if the access-type is obsolete.
8487 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8488 (byte-compile-variable-set): Adjust callers.
8489 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8490 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8491 setting it as obsolete.
8492 * simple.el (minibuffer-completing-symbol):
8493 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8494 access as obsolete.
8495 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8496 obsolete yet.
8497 * international/quail.el (quail-mouse-choose-completion): Remove unused
8498 code referring to obsolete var.
8499 (quail-choose-completion-string): Remove.
8500 * server.el (server-clients-with, server-kill-buffer-query-function)
8501 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8502 * proced.el (proced-send-signal):
8503 * emacs-lisp/lisp.el (lisp-complete-symbol):
8504 Replace completion-annotate-function with completion-extra-properties.
8505
2462470b
SM
85062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8507
fb5b2591
SM
8508 * simple.el (goto-line): Use read-number.
8509 (overriding-map-is-bound): Remove.
8510 (saved-overriding-map): Change default.
8511 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8512 Take the map as argument.
8513 (universal-argument, negative-argument, digit-argument): Use it.
8514 (restore-overriding-map): Adjust.
8515 (do-auto-fill): Use fill-forward-paragraph.
8516 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8517
fd6fa53f
SM
8518 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8519 (minibuffer-inactive-mode): New major mode.
8520 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8521 the *Messages* buffer" hack.
8522 (mouse-popup-menubar): Don't burp if the event is a normal key.
8523
2462470b
SM
8524 Miscellaneous tweaks.
8525 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8526 lexical scoping as in subr.el's dolist and dotimes.
8527 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8528 Silence compiler warning.
8529 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8530 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8531 * international/ccl.el (ccl-compile): Trivial simplification.
8532 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8533 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8534 `printflag' argument.
8535 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8536 Purecopy the whole obsolescence data.
8537
108bf785
LL
85382011-06-01 Leo Liu <sdl.web@gmail.com>
8539
8540 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8541 improve doc-string as suggested by Marco Pessotto
8542 <melmothx@gmail.com>.
8543 (rcirc-print): Fix last change.
8544
30a23501
SM
85452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * minibuffer.el (complete-with-action): Return nil for the metadata and
8548 boundaries of non-functional tables.
8549 (completion-table-dynamic): Return nil for the metadata.
8550 (completion-table-with-terminator): Add default case, using
8551 complete-with-action.
8552 (completion--metadata): New function.
8553 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8554 to try and avoid pathological performance problems.
8555 (completion--embedded-envvar-table): Return `category' metadata.
8556
bcd54f83
LMI
85572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8558
8559 * subr.el (process-alive-p): New tiny convenience function.
8560
e227544d
SM
85612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8564 content but also its previous major mode.
8565
e8296fdc
HE
85662011-05-31 Helmut Eller <eller.helmut@gmail.com>
8567
4d61f28d 8568 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8569 *Backtrace* buffer when we exit with C-M-c.
8570
620c53a6
SM
85712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * minibuffer.el: Add metadata method to completion tables.
8574 (completion-category-overrides): New defcustom.
8575 (completion-metadata, completion--field-metadata)
8576 (completion-metadata-get, completion--styles)
8577 (completion--cycle-threshold): New functions.
8578 (completion-try-completion, completion-all-completions):
8579 Add `metadata' argument to choose completion-styles.
8580 (completion--do-completion): Use metadata to choose cycling.
8581 (completion-all-sorted-completions): Use metadata for sorting.
8582 Remove :completion-cycle-penalty which is not needed any more.
8583 (completion--try-word-completion): Add `metadata' argument.
8584 (minibuffer-completion-help): Check metadata for annotation function
8585 and sorting.
8586 (completion-file-name-table): Return `category' metadata.
8587 (minibuffer-completing-file-name): Make obsolete.
8588 * simple.el (minibuffer-completing-symbol): Make obsolete.
8589 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8590 completion-try-completion.
8591
1257e755
SM
85922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8595
3767e706
LL
85962011-05-30 Leo Liu <sdl.web@gmail.com>
8597
8598 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8599 (rcirc-print): Decode all incoming messages (bug#8744).
8600 (rcirc-decode-coding-system): Allow value nil for automatic coding
8601 system detection.
3767e706 8602
d1a5d56a
GM
86032011-06-01 Glenn Morris <rgm@gnu.org>
8604
8605 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8606
e8cbec34
CY
86072011-05-29 Chong Yidong <cyd@stupidchicken.com>
8608
8609 * image.el (image-animate-max-time): Allow nil and t values.
8610 Default to nil.
8611 (create-animated-image): Doc fix.
8612 (image-animate-start): Remove second arg; just use
8613 image-animate-max-time.
8614 (image-animate-timeout): Doc fix. Args changed.
8615
8616 * image-mode.el (image-toggle-display-image): Ensure that the
8617 image spec passed to the animate timer is the same object as in
58179cce 8618 the buffer's display property (Bug#6981).
e8cbec34
CY
8619 (image-transform-properties): Doc fix.
8620
8621 * image.el (image-animate-max-time): Default to nil.
8622
159daf87
MR
86232011-05-29 Martin Rudalics <rudalics@gmx.at>
8624
8625 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8626 entire buffer list (Bug#8184).
8627
d66c4c7c
CY
86282011-05-29 Chong Yidong <cyd@stupidchicken.com>
8629
8630 * image.el (imagemagick-types-inhibit)
8631 (imagemagick-register-types): Doc fix.
8632
80aec780
DD
86332011-05-29 Deniz Dogan <deniz@dogan.se>
8634
8635 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8636 default.
8637
1dd3c2d9
CY
86382011-05-29 Chong Yidong <cyd@stupidchicken.com>
8639
8640 * select.el: Don't perform clipboard-manager saving in hooks;
8641 leave the hooks empty.
8642
60e56523
LL
86432011-05-28 Leo Liu <sdl.web@gmail.com>
8644
8645 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8646 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8647 (occur-edit-mode): New major mode (Bug#8463).
8648 (occur-after-change-function): New function.
8649 (occur-engine): Give Occur tags a read-only property.
8650
2b1e1a22
KR
86512011-05-28 Kevin Ryde <user42@zip.com.au>
8652
8653 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8654
5d344e88
CY
86552011-05-28 Chong Yidong <cyd@stupidchicken.com>
8656
8e6ca83d
CY
8657 * bindings.el (help-echo): Make the initial non-indicator dash
8658 empty on graphical terminals (Bug#7295).
8659
5d344e88
CY
8660 * files.el (auto-mode-alist): Move config rule after the
8661 in-stripping one (Bug#8547).
8662
bfbbace7
CY
8663 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8664
fbeba6e2
CY
8665 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8666 setting (Bug#8740).
8667
60ed8c72
AA
86682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8669
4ac619f0
AA
8670 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8671 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8672 (Bug#8539).
60ed8c72 8673
23db196e
CY
86742011-05-28 Chong Yidong <cyd@stupidchicken.com>
8675
8676 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8677
5012f24c
DK
86782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8679
8680 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8681 (hs-hide-block-at-point, hs-find-block-beginning)
8682 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8683 (Bug#8279).
8684
6a639b16
GM
86852011-05-28 Glenn Morris <rgm@gnu.org>
8686
8687 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8688
d43eaf2c
CY
86892011-05-28 Chong Yidong <cyd@stupidchicken.com>
8690
5199bde1
CY
8691 * help-fns.el (describe-function-1): If the function is a derived
8692 major mode, print the parent mode.
8693
d43eaf2c
CY
8694 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8695 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8696
423428a8
SM
86972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8698
0ff8e1ba 8699 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8700 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8701 * progmodes/etags.el (tags-completion-at-point-function):
8702 * info-look.el (info-lookup-completions-at-point): Mark as
8703 non-exclusive.
8704 (info-complete): Adjust accordingly.
8705
423428a8
SM
8706 * info-look.el: Convert to lexical-binding and completion-at-point.
8707 (info-lookup-completions-at-point): New function.
8708 (info-complete): Use it and completion-in-region.
8709
b74aa22b
DA
87102011-05-28 Drew Adams <drew.adams@oracle.com>
8711
8712 * isearch.el: Let M-e start with point at the first mismatched char.
8713 (isearch-fail-pos): New function.
8714 (isearch-edit-string): Use it.
8715
66e2e71d
DK
87162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8717
8718 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8719
b1890b0f 87202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8721
8722 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8723 traversal functions for avl-trees.
8724 (avl-tree--stack): New struct.
8725 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8726 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8727 (avl-tree--do-enter): Add optional `updatefun' arg.
8728 Change return value.
eb95d01d 8729 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8730 (avl-tree--do-delete): Add `test' and `nilflag' args.
8731 Change return value.
eb95d01d
TC
8732 (avl-tree-member): Add optional `nilflag'
8733 (avl-tree-member-p): New function.
8734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8735 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8736 (avl-tree-stack-empty-p): New functions.
8737
3769ddcf
TC
8738 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8739 avl-tree--del-balance1 and make it work both ways.
8740 (avl-tree--del-balance2): Remove.
8741 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8742 make it work both ways.
8743 (avl-tree--enter-balance2): Remove.
8744 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8745 New macros.
8746 (avl-tree--mapc, avl-tree-map): Add direction argument.
8747
eb95d01d 87482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8749
8750 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8751
a9f737ee
CY
87522011-05-27 Chong Yidong <cyd@stupidchicken.com>
8753
8754 * select.el: Support clipboard managers with built-in function
8755 x-clipboard-manager-save, via delete-frame-functions and
8756 kill-emacs-hook.
8757 (xselect-convert-to-targets): Add MULTIPLE target to list.
8758 (xselect-convert-to-save-targets): New function.
8759
c92a1e54
KH
87602011-05-27 Kenichi Handa <handa@m17n.org>
8761
8762 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8763 let-binding rfc2047-encode-encoded-words to nil.
8764
e145f188
GM
87652011-05-27 Glenn Morris <rgm@gnu.org>
8766
5ec8a862
GM
8767 * mail/emacsbug.el: Don't require url-util.
8768
4b29d9fb
GM
8769 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8770
e145f188
GM
8771 * files.el (set-auto-mode):
8772 Also respect mode: entries at the end of the file. (Bug#8586)
8773
7d15102b
GM
87742011-05-26 Glenn Morris <rgm@gnu.org>
8775
98f593b8
GM
8776 * files.el (hack-local-variables-prop-line, hack-local-variables):
8777 Downcase mode names, as seems to be traditional.
27b48e63 8778 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8779
7d15102b
GM
8780 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8781 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8782
51d5b4ec
JD
87832011-05-25 Julien Danjou <julien@danjou.info>
8784
8785 * textmodes/rst.el (rst-define-level-faces): Do not define face
8786 symbol if it is already defined.
8787
91513f63
VB
87882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8789
8790 * play/5x5.el (5x5-new-game, 5x5-randomize):
8791 Reset 5x5-solver-output to nil when a new grid is cast.
8792 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8793 these debugging traces, as defmacro breaks the compiled code.
8794
4d90d6d0
DK
87952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8796
8797 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8798
e1b90ef6
LL
87992011-05-24 Leo Liu <sdl.web@gmail.com>
8800
8801 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8802 (vc-bzr-sha1): Adapt.
8803
d8e4b68b 8804 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8805
8806 * bindings.el: Provide sha1 feature.
8807
db0406bb 88082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8809
8810 * mail/sendmail.el: Require `rfc2047'.
8811 (mail-insert-from-field): Do not perform RFC2047 encoding.
8812 (mail-encode-header): New function.
8813 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8814 buffer to the return value of select-message-coding-system.
8815 Call mail-encode-header.
b8d747b9
KH
8816
8817 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8818
db0406bb 88192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8820
4d90d6d0
DK
8821 * mail/supercite.el (sc-default-cite-frame):
8822 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8823
eb8a5e9b
GM
88242011-05-24 Glenn Morris <rgm@gnu.org>
8825
f8630703
GM
8826 * progmodes/python.el (brm-menu): Declare.
8827
8831bbed
GM
8828 * emulation/viper.el (viper-set-hooks): Declare.
8829
eb8a5e9b
GM
8830 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8831 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8832 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8833 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8834 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8835 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8836
a2a25d24
SM
88372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 Add an :exit-function for completion-at-point.
8840
8841 * minibuffer.el (completion--done): New fun.
8842 (completion--do-completion): Use it. New arg `expect-exact'.
8843 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8844 since completion--do-completion does it for us now.
8845 (minibuffer-force-complete): Use completion--done and
8846 completion--replace. Handle sole-completion case with more care.
8847 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8848 (completion-extra-properties): New var.
8849 (completion-annotate-function): Make obsolete.
8850 (minibuffer-completion-help): Adjust accordingly.
8851 Use completion-list-insert-choice-function.
8852 (completion-at-point, completion-help-at-point):
8853 Bind completion-extra-properties.
8854 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8855 * simple.el (completion-list-insert-choice-function): New var.
8856 (completion-setup-function): Preserve it.
8857 (choose-completion): Pay attention to it, shuffle the code a bit.
8858 (choose-completion-string): New arg `insert-function'.
8859
8860 * textmodes/bibtex.el: Convert to lexical binding.
8861 (bibtex-mode-map): Use completion-at-point.
8862 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8863 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8864 (bibtex-complete): Define as obsolete alias.
8865 (bibtex-complete-internal): Remove.
8866 (bibtex-format-entry): Remove unused sub-group in regexp.
8867 * shell.el (shell--command-completion-data)
8868 (shell-environment-variable-completion):
8869 * pcomplete.el (pcomplete-completions-at-point):
8870 * comint.el (comint--complete-file-name-data): Use :exit-function
8871 instead of completion-table-with-terminator so it also works for
8872 choose-completion.
8873
e44e373d
SM
88742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8875
4f91a816
SM
8876 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8877
782fc819
SM
8878 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8879 (bug#8710).
8880
e44e373d
SM
8881 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8882
381987c3
KM
88832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8884
8885 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8886 customization variable and implement: If non-nil, auto-fill will
8887 be inhibited while on topic's header line.
8888
b776bc70
VB
88892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8890
8891 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8892 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8893 always have a solution in grid size = 5 cases.
8894 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8895 (5x5-solver-output, 5x5-log-buffer): New vars.
8896 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8897 Make these variables buffer local to achieve 5x5 multi-session-ness.
8898 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8899 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8900 (5x5-solve-suggest): New funs.
8901 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8902 randomize a grid so that we ensure that there is always a solution.
8903 (5x5-make-random-grid): Allow other movement than flipping.
8904
7de88b6e
KR
89052011-05-23 Kevin Ryde <user42@zip.com.au>
8906
8907 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8908 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8909 advice and passes PREDICATE.
8910
b1ef1257
SM
89112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8912
bbca48fe
SM
8913 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8914 byte-compile-lambda if it's actually a lambda.
8915
b1ef1257
SM
8916 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8917 Fix function quoting. Use backquote better.
8918
92a9cc65
YS
89192011-05-22 Yuanle Song <sylecn@gmail.com>
8920
8921 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8922 matching (Bug#8516).
8923
f0fb8059
JA
89242011-01-22 Jari Aalto <jari.aalto@cante.net>
8925
8926 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8927 different face (Bug#8178).
8928
d5b44c93
CY
89292011-05-22 Chong Yidong <cyd@stupidchicken.com>
8930
8931 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8932 defface (Bug#8144).
8933
79106a44
SM
89342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8935
9c848d8a
SM
8936 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8937 funcall as well (bug#8712). Warn when performing those conversions.
8938 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8939
79106a44
SM
8940 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8941
88dfa756
GM
89422011-05-22 Glenn Morris <rgm@gnu.org>
8943
8944 * files.el (hack-local-variables-prop-line): Small simplifications.
8945 (hack-local-variables, hack-local-variables-prop-line):
8946 If MODE-ONLY, return the mode, rather than just `t'.
8947
b7cf2c79
SM
89482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8951
3f1a8558
GM
89522011-05-21 Glenn Morris <rgm@gnu.org>
8953
7e4ccca3
GM
8954 * files.el (hack-local-variables-prop-line, hack-local-variables):
8955 If only interested in the mode, don't bother doing the other stuff.
8956
637d46ca
GM
8957 * image-mode.el (image-after-revert-hook):
8958 Redraw all frames on which the image is visible. (Bug#8567)
8959
973d955b
GM
8960 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8961
3f1a8558
GM
8962 * wid-edit.el (widget-checklist-match-inline):
8963 Fix 2011-04-19 change. (Bug#8649)
8964
96479927
SM
89652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8966
1dcf791f
SM
8967 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8968 Also allow singlespace after single-letter capitals followed by a dot.
8969
96479927
SM
8970 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8971 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8972
35fd0881
N
89732011-05-20 Nix <nix@esperi.org.uk>
8974
8975 * files.el (basic-save-buffer-2):
8976 Fix handling of break-hardlink-on-save with non-existent files.
8977
82745640
DD
89782011-05-19 Deniz Dogan <deniz@dogan.se>
8979
8980 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8981 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8982
4a720484
GM
89832011-05-19 Glenn Morris <rgm@gnu.org>
8984
d1f21341
GM
8985 * progmodes/f90.el (f90-type-def-re):
8986 Handle "type, bind(c)". (Bug#8691)
8987
4a720484
GM
8988 * emacs-lisp/autoload.el (batch-update-autoloads):
8989 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8990
2fb0a219
MA
89912011-05-18 Michael Albinus <michael.albinus@gmx.de>
8992
8993 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8994 property for the correct connection in case of multihops.
8995
e565dd37
GM
89962011-05-18 Glenn Morris <rgm@gnu.org>
8997
c2571358 8998 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8999 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9000
e565dd37
GM
9001 Rationalize calendar handling of day and month abbrev-arrays.
9002 * calendar/calendar.el (calendar-customized-p): New function.
9003 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9004 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9005 Add :set function.
9006 (calendar-abbrev-length, calendar-day-abbrev-array)
9007 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9008 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9009 Elements may no longer be nil.
9010 (calendar-day-name, calendar-month-name):
9011 Update for changed nature of abbrev arrays.
9012 * calendar/diary-lib.el (diary-name-pattern):
9013 Update for changed nature of abbrev arrays.
9014 (diary-mark-entries-1): Update calendar-make-alist calls.
9015 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9016 * calendar/cal-html.el (cal-html-day-abbrev-array):
9017 Simply inherit from calendar-day-abbrev-array.
9018
1d99a745
SM
90192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * progmodes/grep.el (grep-mode): Disable default
9022 compilation-directory-matcher setting (bug#8684).
9023
7c1d9aa0
MA
90242011-05-17 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9027 instead of "head" and "tail". There were problems with SunOS 5.9,
9028 and it performs better.
9029
3952e9d8
GM
90302011-05-17 Glenn Morris <rgm@gnu.org>
9031
2dd12e7f
GM
9032 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9033
e4157b9c
GM
9034 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9035 Replace obsolete function.
9036
8e249bbd
GM
9037 * shell.el (pcomplete-parse-arguments-function): Declare.
9038
3952e9d8
GM
9039 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9040 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9041 (appt-check): Doc fixes.
9042 (appt-disp-window-function, appt-delete-window-function):
9043 Remove needless special case in custom :type.
9044 (appt-display-count): Default to 0, not nil.
9045 (appt-check): Reset appt-display-count to 0, not nil.
9046
c71a0d48 90472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9048
c71a0d48
GM
9049 * progmodes/python.el (python-font-lock-keywords):
9050 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9051
31d55be9
SM
90522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9055
3bfacb2f
KR
90562011-05-16 Kevin Ryde <user42@zip.com.au>
9057
9058 * info-look.el (makefile-automake-mode): New setups, looking in
9059 automake manual, then makefile-mode.
9060 (makefile-mode): Remove automake manual, have it just in
9061 makefile-automake-mode since there's various things different or
9062 not relevant to plain make.
9063 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9064 believe a hypothetical automake-mode would go to makefile-mode,
9065 not the other way around.
9066
c8e83751
CY
90672011-05-15 Chong Yidong <cyd@stupidchicken.com>
9068
5e9e35cd
CY
9069 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9070 hunk-end tags (Bug#8672).
9071
c8e83751
CY
9072 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9073 vc-annotate-show-diff-revision-at-line (Bug#8671).
9074
50b23e5a
GM
90752011-05-14 Glenn Morris <rgm@gnu.org>
9076
7210a739
GM
9077 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9078 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9079 (change-log-font-lock-keywords): Also handle multiple author lines
9080 with leading tabs. (Bug#8644)
7210a739 9081
4691905a
GM
9082 * calendar/appt.el (appt-check): Rename some local variables.
9083 Some simplification/reordering.
9084
50b23e5a
GM
9085 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9086 (feedmail-sendmail-f-doesnt-sell-me-out)
9087 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9088 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9089 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9090 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9091 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9092 (feedmail-binmail-gnulinuxish-template):
9093 Rename from feedmail-binmail-linuxish-template.
9094 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9095 Use insert-buffer-substring.
9096
215cda7c
BC
90972011-05-14 Bill Carpenter <bill@carpenter.org>
9098
9099 * mail/feedmail.el (feedmail-patch-level): Increase.
9100 (feedmail-debug): New custom group.
9101 (feedmail-confirm-outgoing-timeout)
9102 (feedmail-sendmail-f-doesnt-sell-me-out)
9103 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9104 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9105 (feedmail-sender-line, feedmail-from-line)
9106 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9107 (feedmail-spray-this-address)
215cda7c
BC
9108 (feedmail-spray-address-fiddle-plex-list)
9109 (feedmail-queue-use-send-time-for-date)
9110 (feedmail-queue-use-send-time-for-message-id)
9111 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9112 (feedmail-buffer-eating-function):
9113 Doc fixes.
9114 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9115 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9116 (feedmail-message-action-scroll-down): New functions.
9117 (feedmail-queue-directory, feedmail-queue-draft-directory):
9118 Use expand-file-name.
9119 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9120 Remove C-v help entry.
9121 (feedmail-queue-buffer-file-name): New variable.
9122 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9123 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9124 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9125 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9126 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9127 (feedmail-message-action-toggle-spray)
9128 (feedmail-run-the-queue-no-prompts)
9129 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9130 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9131 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9132 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9133 (feedmail-envelope-deducer, feedmail-fiddle-from)
9134 (feedmail-fiddle-sender, feedmail-default-date-generator)
9135 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9136 (feedmail-fiddle-spray-address)
9137 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9138 (feedmail-fiddle-list-of-fiddle-plexes)
9139 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9140 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9141 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9142 Change default. Doc fix.
9143 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9144 (feedmail-binmail-linuxish-template): New constant.
9145 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9146 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9147 (feedmail-send-it): Add debug call.
9148 Use feedmail-queue-buffer-file-name, and
9149 feedmail-send-it-immediately-wrapper.
9150 (feedmail-message-action-send): Add debug call.
9151 Use feedmail-send-it-immediately-wrapper.
9152 (feedmail-queue-express-to-queue): Add debug call.
9153 Run feedmail-queue-express-hook.
9154 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9155 (feedmail-message-action-help-blat):
9156 Rename from feedmail-queue-send-edit-prompt-help-first.
9157 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9158 Check line-endings. Handle errors better.
9159 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9160 Doc fix. Add debug call.
9161 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9162 Use feedmail-queue-send-edit-prompt-inner.
9163 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9164 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9165 from feedmail-queue-send-edit-prompt.
9166 (feedmail-queue-send-edit-prompt-help)
9167 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9168 (feedmail-tidy-up-slug): Add debug call.
9169 Respect feedmail-queue-slug-suspect-regexp.
9170 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9171 (feedmail-dump-message-to-queue): Add debug call.
9172 Expand queue-directory.
9173 (feedmail-dump-message-to-queue): Change message slightly.
9174 Use feedmail-say-chatter.
9175 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9176 (feedmail-send-it-immediately-wrapper): New function.
9177 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9178 Insert empty string rather than newline. Handle full-frame case.
9179 Use catch/throw. Use feedmail-say-chatter.
9180 (feedmail-fiddle-from): Try mail-host-address.
9181 (feedmail-default-message-id-generator): Doc fix.
9182 Bind system-time-locale. Handle missing end.
9183 (feedmail-fiddle-x-mailer): Add debug call.
9184 Handle feedmail-x-mailer-line being nil.
9185 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9186 Add debug call. Use buffer-substring-no-properties.
9187 (feedmail-say-debug, feedmail-say-chatter): New functions.
9188 (feedmail-find-eoh): Give an explicit error.
9189
42c7e61e
UJ
91902011-05-13 Ulf Jasper <ulf.jasper@web.de>
9191
c2571358 9192 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9193 family from helvetica to sans.
c2571358 9194 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9195 etc/images/newsticker.
9196
c2571358 9197 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9198 family from helvetica to sans.
9199
9200 * net/newst-plainview.el (newsticker-new-item-face)
9201 (newsticker-old-item-face, newsticker-immortal-item-face)
9202 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9203 (newsticker-statistics-face): Change default family from
42c7e61e 9204 helvetica to sans.
c2571358 9205 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9206 etc/images/newsticker.
9207
9208 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9209 (newsticker--process-auto-mark-filter-match): : Tell user about
9210 auto-marking.
9211
8497a297
DV
92122011-05-13 Didier Verna <didier@xemacs.org>
9213
9214 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9215 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9216 TODO entries.
8497a297
DV
9217 (lisp-lambda-list-keyword-parameter-indentation)
9218 (lisp-lambda-list-keyword-parameter-alignment)
9219 (lisp-lambda-list-keyword-alignment): New customizable user options.
9220 (lisp-indent-defun-method): Improve docstring.
9221 (extended-loop-p): Fix comment.
9222 (lisp-indent-lambda-list-keywords-regexp): New variable.
9223 (lisp-indent-lambda-list): New function.
9224 (lisp-indent-259): Use it.
9225 (lisp-indent-defmethod): Support for more than one
9226 method qualifier and properly indent methods lambda-lists.
9227 (defgeneric): Provide a missing common-lisp-indent-function property.
9228
f278f87f
SM
92292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9232 bounds for the empty string (bug#8667).
9233
5233edd7
GM
92342011-05-13 Glenn Morris <rgm@gnu.org>
9235
5237a44f
GM
9236 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9237
8340026c 9238 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9239 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9240
5233edd7 9241 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9242 (appt-time-msg-list): Doc fix.
a5464014 9243 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9244
92d10796
AS
92452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9246
9247 * progmodes/ld-script.el (ld-script-keywords)
9248 (ld-script-builtins): Update keywords list.
9249
914a0ae1
SM
92502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9251
c89be45f
SM
9252 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9253
914a0ae1
SM
9254 * shell.el (shell-completion-vars): New function.
9255 (shell-mode):
9256 * simple.el (read-shell-command): Use it.
9257 (blink-matching-open): No need for " [...]" in minibuffer-message.
9258
98dc3df3
GM
92592011-05-12 Glenn Morris <rgm@gnu.org>
9260
9261 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9262 (appt-check): Simplify.
9263
d2fc7e3d 92642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9265
4d61f28d 9266 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9267 literal "/dev/null".
9268
d2fc7e3d 92692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9270
9271 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9272 Fix typo.
9273
d2fc7e3d 92742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9275
3f254caa
SM
9276 * progmodes/which-func.el (which-function):
9277 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9278 which might not be defined (Bug#8260).
9279
d45885f7
GM
92802011-05-12 Glenn Morris <rgm@gnu.org>
9281
9282 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9283 Let byte-compile-initial-macro-environment always take precedence.
9284
488086f4
SM
92852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * net/rcirc.el: Add support for SSL/TLS connections.
9288 (rcirc-server-alist): New field `encryption'.
9289 (rcirc): Check `encryption' settings.
9290 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9291 Merge make-local-variable into `set'.
9292 (rcirc--connection-open-p): New function.
9293 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9294 the process is not a network process (e.g. running gnutls-cli).
9295 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9296 Make rcirc-(en|de)code-coding-system local here.
9297 (rcirc-mode): Merge make-local-variable into `set'.
9298 (rcirc-parent-buffer): Make permanent buffer-local.
9299 (rcirc-multiline-minor-mode): Don't do it here.
9300 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9301 there's no server buffer.
9302
7d3b9d44
GM
93032011-05-11 Glenn Morris <rgm@gnu.org>
9304
f64049c6
GM
9305 * newcomment.el (comment-kill): Prefix "unused" local.
9306
93c9df73
GM
9307 * term/w32console.el (get-screen-color): Declare.
9308
7d3b9d44
GM
9309 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9310 Handle symbol elements of byte-compile-initial-macro-environment.
9311
9e2dd53f
LL
93122011-05-10 Leo Liu <sdl.web@gmail.com>
9313
488086f4
SM
9314 * bookmark.el (bookmark-bmenu-mode-map):
9315 Bind bookmark-bmenu-search to `/'.
8b340240 9316
9e2dd53f 9317 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9318 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9319 (Footnote-unicode): New function.
9320 (footnote-style-alist): Add unicode style to the list.
9321 (footnote-style): Doc fix.
9e2dd53f 9322
79b70037
GM
93232011-05-10 Jim Meyering <meyering@redhat.com>
9324
9325 Fix doubled-word typos.
9326 * international/quail.el (quail-insert-kbd-layout): and and -> and
9327 * kermit.el: and and -> and
9328 * net/ldap.el (ldap-search-internal): to to -> to
9329 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9330 * progmodes/js.el (js-mode): and and -> and
9331 * textmodes/artist.el (artist-move-to-xy): at at -> at
9332 (artist-draw-region-trim-line-endings): if if -> if
9333 And Safetyc -> Safety.
9334 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9335
b8f82dc1 93362011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9337 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9338
9339 * files.el (hack-one-local-variable-eval-safep):
9340 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9341
4f99f44b
GM
93422011-05-10 Glenn Morris <rgm@gnu.org>
9343
9344 * calendar/diary-lib.el (diary-list-entries-hook)
9345 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9346 (diary-nongregorian-marking-hook, diary-list-entries)
9347 (diary-include-other-diary-files, diary-mark-entries)
9348 (diary-mark-included-diary-files): Doc fixes.
9349
84f29e6b
JB
93502011-05-09 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * misc.el: Require tabulated-list.el during compilation.
9353
9bedd73a
CY
93542011-05-09 Chong Yidong <cyd@stupidchicken.com>
9355
488086f4
SM
9356 * progmodes/compile.el (compilation-start):
9357 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9358 (compilation-filter-hook): Doc fix.
9359
797c735c
DD
93602011-05-09 Deniz Dogan <deniz@dogan.se>
9361
9362 * wdired.el: Remove outdated installation comment. Fix usage
9363 comment.
9364
5f4b1dfe
JB
93652011-05-09 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * misc.el: Implement new command `list-dynamic-libraries'.
9368 (list-dynamic-libraries--loaded-only-p): New variable.
9369 (list-dynamic-libraries--refresh): New function.
9370 (list-dynamic-libraries): New command.
9371
4c44026c
CY
93722011-05-09 Chong Yidong <cyd@stupidchicken.com>
9373
488086f4
SM
9374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9375 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9376 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9377 higher priority to avoid clobbering by gnu.
9378
027f966d
CY
93792011-05-08 Chong Yidong <cyd@stupidchicken.com>
9380
9381 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9382 if the face has existing theme settings (Bug#8454).
9383
085f5d7d
CY
93842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9385
488086f4
SM
9386 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9387 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9388
2a86a00c
RS
9389 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9390 special file names `.' and `..' (Bug#8259).
9391
d9c54a06
CY
93922011-05-08 Chong Yidong <cyd@stupidchicken.com>
9393
488086f4
SM
9394 * progmodes/grep.el (grep-mode-font-lock-keywords):
9395 Remove buffer-changing entries.
d9c54a06
CY
9396 (grep-filter): New function.
9397 (grep-mode): Add it to compilation-filter-hook.
9398
9399 * progmodes/compile.el (compilation-filter-hook)
9400 (compilation-filter-start): New defvars.
9401 (compilation-filter): Call compilation-filter-hook prior to
9402 updating the process mark.
9403
c4662635
SM
94042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9407
b0512a1d
EZ
94082011-05-07 Eli Zaretskii <eliz@gnu.org>
9409
605c9376
EZ
9410 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9411 mailclient-send-it even if window-system is nil. (Bug#8595)
9412
c4662635
SM
9413 * term/w32console.el (terminal-init-w32console):
9414 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9415 background-mode. (Bug#8597)
9416
d1dc2cc2
SM
94172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9420 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9421 New functions.
9422 (defgeneric, eieio--defmethod): Use them.
9423 (eieio-defgeneric): Remove.
9424 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9425
915d1300
GM
94262011-05-07 Glenn Morris <rgm@gnu.org>
9427
a3961c3e
GM
9428 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9429 Use let rather than let*.
9430 (timeclock-find-discrep): Remove unused local.
9431
314347b9
GM
9432 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9433
915d1300
GM
9434 * calendar/appt.el (appt-time-msg-list): Doc fix.
9435
275b59b0
NF
94362011-05-06 Noah Friedman <friedman@splode.com>
9437
9438 * apropos.el (apropos-print-doc): Only use
9439 emacs-lisp-docstring-fill-column when it is bound to an integer,
9440 per that variable's documentation.
9441
6c19f744
SM
94422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9445 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9446
60f884b2
GM
94472011-05-06 Glenn Morris <rgm@gnu.org>
9448
5006e634
GM
9449 * calendar/appt.el (appt-message-warning-time): Doc fix.
9450 (appt-warning-time-regexp): New option.
9451 (appt-make-list): Respect appt-message-warning-time.
9452
548d0a63
GM
9453 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9454 New options.
9455 (diary-add-to-list): Strip comments from the displayed string.
9456 (diary-mode): Set comment-start and comment-end.
9457
60f884b2
GM
9458 * vc/diff-mode.el (smerge-refine-subst): Declare.
9459 (diff-refine-hunk): Don't require smerge-mode when compiling.
9460
989681bb
JB
94612011-05-06 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * simple.el (list-processes): Return nil as the docstring says.
9464
a6bc05e1
MA
94652011-05-05 Michael Albinus <michael.albinus@gmx.de>
9466
9467 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9468 to "".
9469 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9470 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9471 determining of binary transfer. (Bug#7383)
9472
23c22e9a
MA
94732011-05-05 Michael Albinus <michael.albinus@gmx.de>
9474
c4662635
SM
9475 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9476 Fix port computation bug. (Bug#8618)
23c22e9a 9477
0bff894f
GM
94782011-05-05 Glenn Morris <rgm@gnu.org>
9479
b8296902
GM
9480 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9481
1f522ce8
GM
9482 * simple.el (shell-dynamic-complete-functions)
9483 (comint-dynamic-complete-functions): Declare.
9484
cf5bee67
GM
9485 * net/network-stream.el (gnutls-negotiate):
9486 * simple.el (tabulated-list-print): Fix declarations.
9487
9488 * progmodes/gud.el (syntax-symbol, syntax-point):
9489 Remove unnecessary and incorrect declarations.
9490
0bff894f
GM
9491 * emacs-lisp/check-declare.el (check-declare-scan):
9492 Handle byte-compile-initial-macro-environment in bytecomp.el
9493
9869b3ae
SM
94942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 Fix earlier half-done eieio-defmethod change (bug#8338).
9497 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9498 Streamline and change calling convention.
9499 (defmethod): Adjust accordingly and simplify.
9500 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9501 new eieio--defmethod.
9502 (slot-boundp): Minor CSE simplification.
9503
9c1d5ac5
MZ
95042011-05-05 Milan Zamazal <pdm@zamazal.org>
9505
9506 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9507 (glasses-make-readable): Use glasses-separate-capital-groups.
9508
455c834e
JB
95092011-05-05 Juanma Barranquero <lekktu@gmail.com>
9510
9511 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9512 (warning-series): Doc fix.
9513 (display-warning): Don't try to create the buffer if we just found it.
9514
9ed7c8cb
CY
95152011-05-04 Chong Yidong <cyd@stupidchicken.com>
9516
9517 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9518 (autoload-find-generated-file): New function.
9519 (generate-file-autoloads): Bind generated-autoload-file to
9520 buffer-file-name.
9869b3ae
SM
9521 (update-file-autoloads, update-directory-autoloads):
9522 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9523 output file (Bug#7989).
9524 (batch-update-autoloads): Doc fix.
9525
0898ca10
JB
95262011-05-04 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9529
31dfb76c
GM
95302011-05-04 Glenn Morris <rgm@gnu.org>
9531
f330b642
GM
9532 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9533 function, so it follows changes in calendar-date-style.
9534 (diary-fancy-date-matcher): New function.
9535 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9536 (diary-fancy-font-lock-fontify-region-function):
9537 Use diary-fancy-date-pattern as a function.
9538
31dfb76c
GM
9539 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9540 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9541
48e79d6a
TZ
95422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9543
9544 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9545 instead of positional arguments. Allow :keylist and :crlfiles
9546 arguments.
9547 (open-gnutls-stream): Call it.
9548
9549 * net/network-stream.el (network-stream-open-starttls): Adjust to
9550 call `gnutls-negotiate' with :process and :hostname arguments.
9551
dd5a5ee0
SM
95522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9553
ef80fc09
SM
9554 * minibuffer.el (completion--message): New function.
9555 (completion--do-completion, minibuffer-complete)
9556 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9557 (completion--do-completion): Don't ignore completion-auto-help when in
9558 icomplete-mode.
9559
dd5a5ee0
SM
9560 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9561 internal encoding (e.g. tibetan zero is not whitespace).
9562 (global-whitespace-mode): Prefer save-current-buffer.
9563 (whitespace-trailing-regexp): Remove useless save-match-data.
9564 (whitespace-empty-at-bob-regexp): Minor simplification.
9565
b7d22a83
CY
95662011-05-03 Chong Yidong <cyd@stupidchicken.com>
9567
9568 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9569
5192af46
AM
95702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9571
9572 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9573 Use `concat' to create string for insertion.
5192af46 9574
5767d190
SM
95752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9578 Avoid open-line which runs post-self-insert-hook.
9579 (bibtex-fill-entry): Remove unused `end' var.
9580
bf242939
AM
95812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9582
5767d190
SM
9583 * textmodes/ispell.el (ispell-add-per-file-word-list):
9584 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9585
25666126
LL
95862011-05-03 Leo Liu <sdl.web@gmail.com>
9587
9588 * isearch.el (isearch-yank-pop): New command.
5767d190 9589 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9590 (isearch-forward): Mention it.
9591
52d3c2d0
SM
95922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9593
1bcace58
SM
9594 * simple.el (minibuffer-complete-shell-command): Remove.
9595 (minibuffer-local-shell-command-map): Use completion-at-point.
9596 (read-shell-command): Setup completion vars here instead.
9597 (read-expression-map): Bind TAB to symbol completion.
9598
52d3c2d0
SM
9599 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9600 error directly rather via storing it into `results'.
9601
35813471
LL
96022011-05-02 Leo Liu <sdl.web@gmail.com>
9603
9604 * vc/diff.el: Fix description.
9605
e793a940
LMI
96062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607
9608 * server.el (server-eval-at): New function.
9609
8de66e05
LMI
96102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9611
9612 * net/network-stream.el (open-network-stream): Take a :nowait
9613 parameter and pass it on to `make-network-process'.
9614 (network-stream-open-plain): Ditto.
9615
dcb79f20
AS
96162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9617
9618 * faces.el (face-spec-set-match-display): Don't match toolkit
9619 options on terminal frames.
9620
14a7fbd8
SM
96212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9622
7eabc1be
SM
9623 * progmodes/pascal.el: Use lexical binding.
9624 (pascal-mode-map): Remove author preferences.
9625
14a7fbd8
SM
9626 * pcomplete.el (pcomplete-std-complete): Don't abuse
9627 completion-at-point.
9628
50f84510
JB
96292011-04-28 Juanma Barranquero <lekktu@gmail.com>
9630
6e087a44
JB
9631 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9632 removing code that has been dead since 1991 or so.
9633
50f84510
JB
9634 * startup.el (command-line): When warning about "_emacs", use a
9635 delayed warning to allow the user to filter it out.
9636
0ba690bd
DD
96372011-04-28 Deniz Dogan <deniz@dogan.se>
9638
9639 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9640 user has not joined.
9641
08abfaad
SM
96422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9645 aren't any completions at point.
9646
638f053a
JB
96472011-04-28 Juanma Barranquero <lekktu@gmail.com>
9648
9649 * subr.el (display-delayed-warnings): New function.
9650 (delayed-warnings-hook): New variable.
9651
8fff8daa
SM
96522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9653
08abfaad
SM
9654 * minibuffer.el (completion-at-point, completion-help-at-point):
9655 Don't presume that a given completion-at-point-function will always
9656 use the same calling convention.
9657
8fff8daa
SM
9658 * pcomplete.el (pcomplete-completions-at-point):
9659 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9660 pcomplete-seen is non-nil.
9661 (pcomplete-comint-setup): Also recognize the new comint/shell
9662 completion functions.
9663 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9664 pcomplete-seen is non-nil.
9665
841a1577 96662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9667
841a1577 9668 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9669 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9670 the first character in the entry. This allows for code to add its
211ec907
UJ
9671 own uid to the entry.
9672 (icalendar--convert-float-to-ical): Add export of
9673 `diary-float'-entries save for those with the optional DAY
9674 argument.
9675
2a782793
DC
96762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9677
9678 * subr.el (shell-quote-argument): Use alternate escaping strategy
9679 when we spot a variable reference in a string.
9680
0438ce91
DC
96812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9682
9683 * cus-start.el (all): Define customization for debug-on-event.
9684
841a1577 96852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9686
9687 * subr.el (shell-quote-argument): Escape correctly under Windows.
9688
d090ed6c
SM
96892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9692
bfd31217
MA
96932011-04-25 Michael Albinus <michael.albinus@gmx.de>
9694
d090ed6c
SM
9695 * net/tramp.el (tramp-process-actions): Add POS argument.
9696 Delete region between POS and (pos).
bfd31217 9697
d090ed6c
SM
9698 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9699 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9700 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9701
9702 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9703 position in `tramp-process-actions' call.
9704
9705 * net/trampver.el: Update release number.
9706
e92f3bd3
SM
97072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9708
850256b5
SM
9709 * custom.el (defcustom): Obey lexical-binding.
9710
e92f3bd3
SM
9711 Fix octave-inf completion problems reported by Alexander Klimov.
9712 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9713 Inherit from octave-mode-syntax-table.
9714 (inferior-octave-mode): Set info-lookup-mode.
9715 (inferior-octave-completion-at-point): New function.
9716 (inferior-octave-complete): Use it and completion-in-region.
9717 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9718 comint-filename-completion.
9719 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9720 symbol elements which shouldn't be word elements.
9721 (octave-font-lock-keywords, octave-beginning-of-defun)
9722 (octave-function-header-regexp): Adjust regexps accordingly.
9723 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9724
cd22b309
JB
97252011-04-25 Juanma Barranquero <lekktu@gmail.com>
9726
9727 * net/gnutls.el (gnutls-errorp): Declare before first use.
9728
8b492194
TZ
97292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9730
9731 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9732 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9733 default trustfile exists before going to use it. Add missing
5a5fa834 9734 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9735 Reported by Claudio Bley <claudio.bley@gmail.com>.
9736 (open-gnutls-stream): Add usage example.
9737
9738 * net/network-stream.el (network-stream-open-starttls): Give host
9739 parameter to `gnutls-negotiate'.
9740 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9741 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9742
841a1577 97432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9744
cd22b309
JB
9745 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9746 Use correct match group (bug#8438).
05842630 9747
3ba7869c
CY
97482011-04-24 Chong Yidong <cyd@stupidchicken.com>
9749
512e3ae1
CY
9750 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9751 (package-menu--generate): New arg specifying packages to show.
9752 (package-menu-refresh, package-menu-execute, list-packages):
9753 Callers changed.
9754 (package-show-package-list): New function, replacing deleted
9755 package--list-packages (renamed because it is non-internal).
9756
9757 * finder.el (finder-list-matches): Use package-show-package-list
9758 instead of deleted package--list-packages.
9759
e92f3bd3
SM
9760 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9761 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9762 (vc-annotate-mode-map): Bind it to RET.
9763
7031be6d
UR
97642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9765
9766 * progmodes/etags.el (next-file): Don't use set-buffer to change
9767 buffers (Bug#8478).
9768
4ef177aa
CY
97692011-04-24 Chong Yidong <cyd@stupidchicken.com>
9770
c8d173eb
CY
9771 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9772
4ef177aa
CY
9773 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9774 (apropos-accumulator): Doc fix.
9775 (apropos-function, apropos-macro, apropos-command)
9776 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9777 (apropos-plist): Add face property.
9778 (apropos-symbols-internal): Fix indentation.
9779 (apropos-print): Simplify help, and recognize apropos-multi-type.
9780 (apropos-print-doc): Use button-type-get to extract the button's
9781 face property. Fill docstring (Bug#8352).
9782
4ffd0d6b 97832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9784
9785 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9786
c6c32125 9787 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9788 (mpuz-mode-map): Use mapc.
c6c32125
JB
9789 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9790 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9791 Fix typos in docstrings.
9792
58d468b4
JB
9793 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9794 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9795
6470c3c6
JB
9796 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9797
4ffd0d6b 97982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9799
9800 * minibuffer.el (completion--do-completion): Avoid the "Next char
9801 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9802
3ad8bad0
CY
9803 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9804 mouse-2 into unread-command-events, it is interpreted correctly.
9805
71d73c9c 9806 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9807 (image-toggle-display): Doc fix.
71d73c9c 9808
841a1577 98092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9810
4ffd0d6b
GM
9811 * textmodes/page.el (what-page): Use line-number-at-pos to
9812 calculate line number (Bug#6825).
6e1dbaa9 9813
c2fb1b60
JB
98142011-04-22 Juanma Barranquero <lekktu@gmail.com>
9815
9816 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9817 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9818 Pass argument NO-DEFAULT to `find-tag-interactive'.
9819
e02f48d7
JB
98202011-04-22 Juanma Barranquero <lekktu@gmail.com>
9821
9822 Lexical-binding cleanup.
9823
9824 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9825 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9826 * progmodes/ada-prj.el (ada-prj-initialize-values)
9827 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9828 (ada-prj-show-value):
9829 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9830 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9831 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9832 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9833 * progmodes/bug-reference.el (bug-reference-push-button):
9834 * progmodes/fortran.el (fortran-line-length):
9835 * progmodes/glasses.el (glasses-change):
9836 * progmodes/octave-mod.el (octave-fill-paragraph):
9837 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9838 (python-pdbtrack-grub-for-buffer, python-sentinel):
9839 * progmodes/sql.el (sql-save-connection):
9840 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9841 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9842 Mark unused parameters.
9843
9844 * progmodes/compile.el (compilation--flush-directory-cache)
9845 (compilation--flush-parse, compile-internal): Mark unused parameters.
9846 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9847 (compilation-next-error-function): Remove unused variable `timestamp'.
9848
9849 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9850 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9851
9852 * progmodes/dcl-mode.el (dcl-end-of-command):
9853 Remove unused variable `start'.
9854 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9855 (dcl-option-value-basic, dcl-option-value-offset)
9856 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9857 Mark unused parameters.
9858 (dcl-save-local-variable): Remove unused variable `val'.
9859 (mode): Declare.
9860
9861 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9862 Mark unused parameters.
9863 (delphi-ignore-changes): Move before first use.
9864 (delphi-charset-token-at): Remove unused variable `start'.
9865 (delphi-else-start): Remove unused variable `if-count'.
9866 (delphi-comment-block-start, delphi-comment-block-end):
9867 Remove unused variable `kind'.
9868 (delphi-indent-line): Remove unused variable `new-point'.
9869
9870 * progmodes/ebrowse.el (ebrowse-files-list)
9871 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9872 Mark unused parameters. Don't quote `lambda'.
9873 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9874 Don't quote `lambda'.
9875 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9876 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9877 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9878 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9879 Use `ignore-errors'.
9880 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9881 (ebrowse-view/find-file-and-search-pattern)
9882 (ebrowse-view/find-member-declaration/definition):
9883 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9884 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9885 Rename parameter PREFIX-ARG to PREFIX.
9886 (ebrowse-tags-read-name): Remove unused variables `start' and
9887 `member-info'.
9888 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9889 to `tags-file'.
9890
9891 * progmodes/etags.el (local-find-tag-hook): Declare.
9892 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9893 Mark unused parameters.
9894
9895 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9896 (executable-interpret): Mark unused parameter.
9897
9898 * progmodes/flymake.el (flymake-process-sentinel)
9899 (flymake-after-change-function)
9900 (flymake-create-temp-with-folder-structure)
9901 (flymake-get-include-dirs-dot): Mark unused parameters.
9902 (flymake-safe-delete-directory): Remove unused variable `err'.
9903
9904 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9905 (speedbar-timer-fn, speedbar-line-text)
9906 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9907 (speedbar-center-buffer-smartly): Declare functions.
9908 (gdb-find-watch-expression): Remove unused variable `array'.
9909 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9910 (gdb-starting): Mark unused parameters.
9911 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9912 (gdb-table-string): Remove unused variable `res'.
9913 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9914 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9915 (gdb-display-buffer): Remove unused variable `cur-size'.
9916
9917 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9918 allow lexical-binding compilation.
9919 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9920 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9921 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9922 Mark unused parameters.
9923 (gud-gdb-marker-filter): Remove unused variable `match'.
9924 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9925 lambda expressions and funcall them, instead of using `fset'.
9926
9927 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9928 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9929
9930 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9931 variable `header-beg'; use `let'.
9932
9933 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9934 `restart', `last-sexp' and `at-do'.
9935
9936 * progmodes/js.el (js--debug): Mark unused parameter.
9937 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9938 (js--splice-into-items): Remove unused variable `item'.
9939 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9940
9941 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9942 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9943 (makefile-complete): Remove unused variable `try'.
9944 (makefile-fill-paragraph, makefile-match-function-end):
9945 Mark unused parameters.
9946
9947 * progmodes/octave-inf.el (inferior-octave-complete):
9948 Remove unused variable `proc'.
9949 (inferior-octave-output-digest): Mark unused parameter.
9950
9951 * progmodes/perl-mode.el (perl-calculate-indent):
9952 Remove unused variable `err'.
9953
9954 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9955 (prolog-indent-line): Mark unused parameters.
9956 (prolog-indent-line): Remove unused variable `beg'.
9957
9958 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9959 (reporter-dont-compact-list): Declare.
9960
9961 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9962 Remove unused variable `char'.
9963 (sh-debug): Mark unused parameter.
9964 (sh-get-indent-info): Remove unused variable `start'.
9965 (sh-calculate-indent): Remove unused variable `var'.
9966
9967 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9968 (simula-electric-keyword): Remove unused variable `null'.
9969 (simula-search-backward, simula-search-forward): Remove unused
9970 variables `begin' and `end'.
9971
9972 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9973 Remove unused variable `pos'.
9974 (vera-electric-tab, vera-comment-uncomment-region):
9975 Mark unused parameters.
9976 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9977
7ede3b65
CY
99782011-04-22 Chong Yidong <cyd@stupidchicken.com>
9979
9980 * emacs-lisp/package.el (package--builtins, package-alist)
9981 (package-load-descriptor, package-built-in-p, package-activate)
9982 (define-package, package-installed-p)
9983 (package-compute-transaction, package-buffer-info)
9984 (package--push): Doc fix. Distinguish more clearly between
9985 version strings and version lists.
9986
121656e9
JB
99872011-04-21 Juanma Barranquero <lekktu@gmail.com>
9988
9989 Lexical-binding cleanup.
9990
9991 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9992 (5x5-make-mutate-best):
9993 * play/fortune.el (fortune-in-buffer):
9994 * play/gomoku.el (gomoku-init-display):
9995 * play/solitaire.el (solitaire, solitaire-do-check):
9996 * play/tetris.el (tetris-default-update-speed-function):
9997 Mark unused parameters.
9998
9999 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10000 (bubbles--shift): Remove unused variable `char-org'.
10001 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10002 (bubbles--show-images): Remove unused variable `char'.
10003
10004 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10005 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10006 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10007 (decipher-analyze-buffer): Use ?\s.
10008 (decipher-make-checkpoint): Remove unused variable `mapping'.
10009
10010 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10011
10012 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10013 Remove unused variable `result'; use `let'.
10014
10015 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10016 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10017 (gametree-children-shown-p, gametree-compute-reduced-score):
10018 Use `ignore-errors'.
10019
10020 * play/handwrite.el (ps-lpr-switches): Declare.
10021 (handwrite): Remove unused variables `pmin' and `lastp'.
10022
10023 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10024
10025 * play/landmark.el (landmark-init-display)
10026 (landmark-update-naught-weights): Mark unused parameters.
10027 (landmark-y): Remove unused variable `noise'. Simplify.
10028 (landmark-human-plays): Remove unused variable `score'.
10029
10030 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10031 (mpuz-try-proposal): Remove unused variable `game'.
10032
10033 * play/zone.el (life-patterns): Declare.
10034
80f499c7
JB
100352011-04-20 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * vc/vc.el (ediff-vc-internal): Declare function.
10038
024ff170
SM
100392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10040
c0a193ea
SM
10041 * shell.el: Use lexical-binding and std completion UI.
10042 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10043 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10044 comint-preoutput-filter-functions rather than on
10045 comint-output-filter-functions.
10046 (shell-command-completion, shell--command-completion-data)
10047 (shell-filename-completion, shell-environment-variable-completion)
10048 (shell-c-a-p-replace-by-expanded-directory): New functions.
10049 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10050 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10051 (shell-dynamic-complete-environment-variable): Use them.
10052 (shell-dynamic-complete-as-environment-variable)
10053 (shell-dynamic-complete-as-command): Remove.
10054 (shell-match-partial-variable): Match past point.
10055 * comint.el: Clean up use of completion-at-point-functions.
10056 (comint-completion-at-point): New function.
10057 (comint-mode): Use it completion-at-point-functions.
10058 (comint-dynamic-complete): Make it obsolete.
10059 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10060 (comint-c-a-p-replace-by-expanded-history): New function.
10061 (comint-dynamic-complete-functions)
10062 (comint-replace-by-expanded-history): Use it.
10063 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10064 termination strings. Try harder to avoid second try-completion.
10065 (completion-in-region-mode-map): Disable bindings that don't work yet.
10066
2dbaa080
SM
10067 * comint.el: Use lexical-binding. Require CL.
10068 (comint-dynamic-complete-functions): Use comint-filename-completion.
10069 (comint-completion-addsuffix): Tweak custom type.
10070 (comint-filename-completion, comint--common-suffix)
10071 (comint--common-quoted-suffix, comint--table-subvert)
10072 (comint--complete-file-name-data): New functions.
10073 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10074 (comint-dynamic-list-filename-completions): Use them.
10075 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10076
2dbaa080
SM
10077 * minibuffer.el (completion-in-region-mode):
10078 Keep completion-in-region-mode--predicate global.
10079 (completion-in-region--postch):
10080 Assume completion-in-region-mode--predicate is not null.
10081
c79a6f38
SM
10082 * progmodes/flymake.el (flymake-start-syntax-check-process):
10083 Obey `dir'. Simplify.
10084
024ff170
SM
10085 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10086 we're in VC after all.
10087
1c6c854e
CS
100882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10089
10090 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10091 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10092 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10093
bed7f140
SM
100942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10095
332e62ab
SM
10096 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10097 add sanity check.
10098
bed7f140
SM
10099 * obsolete/erc-hecomplete.el: Make obsolete.
10100 * obsolete/: Standardize obsolescence info in the header.
10101
f195c582
GM
101022011-04-20 Glenn Morris <rgm@gnu.org>
10103
10104 * calendar/solar.el (solar-horizontal-coordinates):
10105 Use the longitude argument rather than `calendar-longitude'.
10106 (solar-date-next-longitude): Remove unused locals.
10107
cb79b8c0
VJL
101082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10109
10110 * whitespace.el: New version 13.2.1.
10111
101122011-04-20 felix <EmacsWiki> (tiny change)
10113
d8e4b68b 10114 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10115 switching between major modes on a file.
10116
602ea69d
SM
101172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10120 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10121 multi-line comments as well.
10122
06b60517
JB
101232011-04-19 Juanma Barranquero <lekktu@gmail.com>
10124
10125 Lexical-binding cleanup.
10126
10127 * arc-mode.el (archive-mode-revert):
10128 * cmuscheme.el (scheme-interactively-start-process):
10129 * custom.el (custom-initialize-delay):
10130 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10131 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10132 * emacs-lock.el (emacs-lock-clear-sentinel):
10133 * ezimage.el (defezimage):
10134 * follow.el (follow-avoid-tail-recenter):
10135 * fringe.el (set-fringe-mode-1):
10136 * generic-x.el (bat-generic-mode-compile):
10137 * help-mode.el (help-info-variable, help-do-xref)
10138 (help-mode-revert-buffer):
10139 * help.el (view-emacs-todo):
10140 * iswitchb.el (iswitchb-completion-help):
10141 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10142 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10143 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10144 * locate.el (locate-update):
10145 * longlines.el (longlines-encode-region)
10146 (longlines-after-change-function):
10147 * outline.el (outline-isearch-open-invisible):
10148 * ps-def.el (declare-function, charset-dimension, char-width)
10149 (encode-char):
10150 * ps-mule.el (ps-mule-plot-string):
10151 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10152 (recentf-edit-list-select, recentf-edit-list-validate)
10153 (recentf-open-files-action):
10154 * rect.el (delete-whitespace-rectangle-line)
10155 (rectangle-number-line-callback):
10156 * register.el (window-configuration-to-register)
10157 (frame-configuration-to-register):
10158 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10159 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10160 (xselect-convert-to-targets, xselect-convert-to-delete)
10161 (xselect-convert-to-filename, xselect-convert-to-charpos)
10162 (xselect-convert-to-lineno, xselect-convert-to-colno)
10163 (xselect-convert-to-os, xselect-convert-to-host)
10164 (xselect-convert-to-user, xselect-convert-to-class)
10165 (xselect-convert-to-name, xselect-convert-to-integer)
10166 (xselect-convert-to-atom, xselect-convert-to-identity):
10167 * subr.el (declare, ignore, process-kill-without-query)
10168 (text-clone-maintain):
10169 * terminal.el (te-get-char, te-tic-sentinel):
10170 * tool-bar.el (tool-bar-make-keymap):
10171 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10172 * type-break.el (type-break-mode, type-break-noninteractive-query):
10173 * view.el (View-back-to-mark):
10174 * wid-browse.el (widget-browse-action, widget-browse-widget)
10175 (widget-browse-widgets, widget-browse-sexp):
10176 * widget.el (define-widget-keywords):
10177 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10178 Mark unused parameters.
10179
10180 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10181 (align-areas): Remove unused variable `look'.
10182 (align-region): Remove unused variables `real-end' and `pos-list'.
10183
10184 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10185
10186 * bindings.el (mode-line-modified, mode-line-remote):
10187 Mark unused parameters.
10188 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10189
10190 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10191 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10192
10193 * comint.el (comint-history-isearch-pop-state)
10194 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10195 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10196 (comint-substitute-in-file-name): Doc fix.
10197
10198 * completion.el (cmpl-statistics-block): Mark unused parameter.
10199 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10200 (save-completions-to-file, load-completions-from-file):
10201 Remove unused local variable `e'.
10202
10203 * composite.el (compose-chars): Remove unused variable `len'.
10204 (lgstring-insert-glyph): Remove unused variable `g'.
10205 (compose-glyph-string): Remove unused variables `ascent',
10206 `descent', `lbearing' and `rbearing'.
10207 (compose-glyph-string-relative): Remove unused variables
10208 `lbearing', `rbearing' and `wadjust'.
10209 (compose-gstring-for-graphic): Remove unused variables `header',
10210 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10211 (compose-gstring-for-terminal): Remove unused variables `header'
10212 and `nchars'. Use `let', not `let*'.
10213
10214 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10215 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10216 (Custom-buffer-done, custom-buffer-create-internal)
10217 (custom-browse-visibility-action, custom-browse-group-tag-action)
10218 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10219 (widget-magic-mouse-down-action, custom-toggle-parent)
10220 (custom-add-parent-links, custom-toggle-hide-variable)
10221 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10222 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10223 (custom-face-menu-create, custom-variable-menu-create, get)
10224 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10225 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10226 (customize-apropos): Remove unused variable `tests'.
10227 (custom-group-value-create): Remove unused variable `hidden-p'.
10228 (sort-fold-case): Declare.
10229
10230 * cus-theme.el (custom-reset-standard-faces-list)
10231 (custom-reset-standard-variables-list): Declare.
10232 (customize-create-theme, custom-theme-revert, custom-theme-write)
10233 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10234 Mark unused parameters.
10235
10236 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10237
10238 * delim-col.el (delimit-columns-max): Move defvar before first use.
10239
10240 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10241 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10242
10243 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10244 (auto-insert): Declare.
10245 (desktop-restore-file-buffer): Rename desktop-* parameters;
10246 mark unused ones.
10247 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10248 (desktop-buffer): Rename desktop-* parameters.
10249
10250 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10251 (dframe-reposition-frame-xemacs, dframe-help-echo)
10252 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10253 Mark unused parameters.
10254
10255 * dired-aux.el (backup-extract-version-start, overwrite-query)
10256 (overwrite-backup-query, rename-regexp-query)
10257 (rename-non-directory-query): Declare.
10258 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10259 (dired-add-entry): Remove unused variable `orig-file-name'.
10260 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10261 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10262 `dired-copy-preserve-time' directly.
10263 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10264 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10265
10266 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10267 (dired-virtual-revert, dired-make-relative-symlink):
10268 Mark unused parameters.
10269 (manual-program): Declare.
10270 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10271 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10272 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10273
10274 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10275
10276 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10277
10278 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10279 Declare.
10280
10281 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10282
10283 * electric.el (Electric-command-loop): Rename parameter
10284 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10285
10286 * expand.el (expand-in-literal): Remove unused variable `here'.
10287
10288 * facemenu.el (facemenu-add-new-color):
10289 Remove unused variable `docstring'.
10290
10291 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10292 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10293 (face-attr-construct): Mark unused parameter. Doc fix.
10294 (read-color): Remove unused variable `hex-string'.
10295
10296 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10297 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10298 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10299 (display-buffer-other-frame): Remove unused variable `old-window'.
10300 (kill-buffer-hook): Declare.
10301 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10302 Mark unused parameters.
10303 (after-find-file): Pass 1 to `auto-save-mode', not t.
10304
10305 * files-x.el (auto-insert): Declare.
10306 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10307
10308 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10309 variable `buf'. Mark unused parameter.
06b60517
JB
10310 (find-lisp-insert-directory): Mark unused parameter.
10311
10312 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10313 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10314 (format-common-tail): Remove, unused.
10315 (format-deannotate-region): Remove unused variable `loc'.
10316 (format-annotate-region): Remove unused variable `p'.
10317 (format-annotate-single-property-change): Remove unused variables
10318 `default' and `tail'.
10319
10320 * forms.el (read-file-filter): Declare.
10321 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10322
10323 * frame.el (frame-creation-function-alist): Mark unused parameter.
10324 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10325
10326 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10327 Remove unused parameters.
10328 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10329 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10330
10331 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10332 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10333 (hfy-prepare-tag-map): Mark unused parameters.
10334 (htmlfontify-buffer): Use `called-interactively-p'.
10335
10336 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10337 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10338 (ibuffer-do-occur): Mark unused parameters.
10339 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10340 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10341
10342 * ibuffer.el: Don't quote `lambda'.
10343 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10344 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10345 Mark unused parameters.
10346
10347 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10348 (ido-completing-read): Mark unused parameters.
10349 (ido-copy-current-word): Mark unused parameters;
10350 remove unused variable `name'.
10351 (ido-sort-merged-list): Remove unused parameter `dirs'.
10352
10353 * ielm.el (ielm-input-sender): Mark unused parameter.
10354 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10355 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10356 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10357 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10358 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10359
10360 * image-dired.el (image-dired-display-thumbs): Remove unused
10361 variables `curr-file' and `count'.
10362 (image-dired-remove-tag): Remove unused variable `start'.
10363 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10364 variable `curr-file'
10365 (image-dired-rotate-original): Remove unused variable `temp-file'.
10366 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10367 Remove unused variable `file'.
10368 (image-dired-gallery-generate): Remove unused variable `curr'.
10369 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10370
10371 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10372
10373 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10374
10375 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10376
10377 * isearch.el (minibuffer-history-symbol): Declare.
10378 (isearch-edit-string): Remove unused variable `err'.
10379 (isearch-message-prefix, isearch-message-suffix):
10380 Mark unused parameters.
10381
10382 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10383
10384 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10385
10386 * makesum.el (double-column): Remove unused variable `cnt'.
10387
10388 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10389 (ido-ignore-item-temp-list): Declare.
10390
10391 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10392 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10393 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10394 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10395 `mouse-col-delta'.
10396
10397 * mouse-sel.el (mouse-extend-internal):
10398 Remove unused variable `orig-window-frame'.
10399
10400 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10401 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10402 Move declarations before first use.
10403 (pcomplete-opt): Mark unused parameters; doc fix.
10404
10405 * proced.el (proced-revert): Mark unused parameter.
10406 (proced-send-signal): Remove unused variable `err'.
10407
10408 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10409 Rename parameter PREFIX-ARG to ARG.
10410 (ps-basic-plot-string, ps-basic-plot-whitespace):
10411 Mark unused parameters.
10412
10413 * replace.el (replace-count): Define.
10414 (occur-revert-function): Mark unused parameters.
10415 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10416 (isearch-case-fold-search, isearch-string): Declare.
10417 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10418 bind `case-fold-search'. Remove unused variables `beg' and `end',
10419 and simplify.
10420 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10421 COUNT and bind `replace-count'.
10422 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10423 to COUNT.
10424
10425 * savehist.el (print-readably, print-string-length): Declare.
10426
10427 * shadowfile.el (shadow-expand-cluster-in-file-name):
10428 Remove unused variable `cluster'.
10429 (shadow-copy-file): Remove unused variable `i'.
10430 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10431 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10432 (shadow-define-literal-group, shadow-define-regexp-group)
10433 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10434
10435 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10436 (shell): Use `called-interactively-p'.
10437 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10438
10439 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10440 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10441 (delete-backward-char): Remove unused variable `ocol'.
10442 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10443 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10444 (event-apply-hyper-modifier, event-apply-shift-modifier)
10445 (event-apply-control-modifier, event-apply-meta-modifier):
10446 Mark unused parameters.
10447 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10448 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10449
10450 * speedbar.el (speedbar-ignored-directory-expressions)
10451 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10452 (speedbar-find-file, speedbar-dir-follow)
10453 (speedbar-directory-buttons-follow, speedbar-tag-find)
10454 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10455 (speedbar-buffers-line-directory, speedbar-buffer-click):
10456 Mark unused parameters.
10457 (speedbar-tag-file): Remove unused variable `mode'.
10458 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10459
10460 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10461
10462 * talk.el (talk): Remove unused variable `display'.
10463
10464 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10465 (tar-write-region-annotate): Mark unused parameter.
10466
10467 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10468 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10469 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10470 warning by another.
10471
10472 * time-stamp.el (time-stamp-string-preprocess):
10473 Remove unused variable `require-padding'.
10474
10475 * tree-widget.el (widget-glyph-enable): Declare.
10476 (tree-widget-action): Mark unused parameter.
10477
10478 * w32-fns.el (x-get-selection): Mark unused parameter.
10479 (autoload-make-program, generated-autoload-file): Declare.
10480
10481 * wdired.el (wdired-revert): Mark unused parameters.
10482 (wdired-xcase-word): Remove unused variable `err'.
10483
10484 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10485 (whitespace-help-scroll): Remove unused variable `data-help'.
10486
10487 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10488 (widget-image-insert, widget-after-change, default)
10489 (widget-default-format-handler, widget-default-notify)
10490 (widget-default-prompt-value, widget-info-link-action)
10491 (widget-url-link-action, widget-function-link-action)
10492 (widget-variable-link-action, widget-file-link-action)
10493 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10494 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10495 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10496 (widget-insert-button-action, widget-delete-button-action, visibility)
10497 (widget-documentation-link-action, widget-documentation-string-action)
10498 (widget-const-prompt-value, widget-regexp-match, symbol)
10499 (widget-coding-system-prompt-value)
10500 (widget-key-sequence-value-to-external, sexp)
10501 (widget-sexp-value-to-internal, character, vector, cons)
10502 (widget-choice-prompt-value, widget-boolean-prompt-value)
10503 (widget-color--choose-action): Mark unused parameters.
10504 (widget-item-match-inline, widget-choice-match-inline)
10505 (widget-checklist-match, widget-checklist-match-inline)
10506 (widget-group-match): Rename parameter VALUES to VALS.
10507 (widget-field-value-set): Remove unused variable `size'.
10508 (widget-color-action): Remove unused variables `value' and `start'.
10509
10510 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10511 variable `dir'. Doc fix.
06b60517
JB
10512 (windmove-find-other-window): Don't pass it.
10513
10514 * window.el (count-windows): Mark unused parameter.
10515 (bw-adjust-window): Remove unused variable `err'.
10516
10517 * woman.el (woman-file-name): Remove unused variable `default'.
10518 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10519 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10520 (global-font-lock-mode): Declare.
10521 (woman-decode-region): Mark unused parameter.
10522 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10523
10524 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10525 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10526 (x-dnd-handle-moz-url): Remove unused variable `title'.
10527 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10528
10529 * xml.el (xml-parse-tag, xml-parse-attlist):
10530 Remove unused variable `pos'.
10531
bc4f7f3d
GM
105322011-04-19 Glenn Morris <rgm@gnu.org>
10533
10534 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10535 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10536 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10537 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10538 * calendar/cal-html.el (cal-html-insert-minical):
10539 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10540 (calendar-mark-date-pattern):
10541 Prefix "unused" locals.
10542
10543 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10544 optional argument `style'.
10545
10546 * calendar/appt.el (appt-make-list):
10547 * calendar/cal-china.el (calendar-chinese-date-string):
10548 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10549 (diary-hebrew-yahrzeit):
10550 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10551 * calendar/calendar.el (calendar-generate-window):
10552 * calendar/time-date.el (time-to-days):
10553 Remove unused local variables.
10554
16a43933
CY
105552011-04-18 Chong Yidong <cyd@stupidchicken.com>
10556
10557 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10558 glyphless-char-display table.
10559 (tabulated-list-glyphless-char-display): New var.
10560
7eed1860
SS
105612011-04-18 Sam Steingold <sds@gnu.org>
10562
10563 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10564 to acknowledgments.
10565
4d2d1ccd
GM
105662011-04-17 Glenn Morris <rgm@gnu.org>
10567
10568 * calendar/diary-lib.el (diary-sexp-entry):
10569 * calendar/holidays.el (holiday-sexp):
10570 Set debug-on-error rather than the removed stack-trace-on-error.
10571
239da61d
GM
105722011-04-16 Glenn Morris <rgm@gnu.org>
10573
10574 * progmodes/f90.el: Use lexical-binding.
10575 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10576
8b05752a
SM
105772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10578
daca8ba5
SM
10579 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10580 (mail-mode): Setup mailalias completion here instead.
10581 * mail/mailalias.el: Use lexical-binding.
10582 (pattern, mailalias-done): Declare dynamic.
10583 (mail-completion-at-point-function): New function, from mail-complete.
10584 (mail-complete): Use it.
10585 (mail-completion-expand): New function.
10586 (mail-get-names): Use it.
10587 (mail-directory, mail-directory-process, mail-directory-stream):
10588 Don't use `pattern' for lexically bound arg.
10589
6f542485
SM
10590 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10591
037e7c3f
SM
10592 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10593 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10594 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10595
8b05752a
SM
10596 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10597 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10598 (byte-interactive-p): Define them again, for use when inlining
10599 old code.
10600
49093f60
JB
106012011-04-15 Juanma Barranquero <lekktu@gmail.com>
10602
10603 * loadup.el: Use `string-to-number', not `string-to-int'.
10604
b5b8e7de
SM
106052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10608 gud-gdb-complete-command.
10609 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10610 (gud-gdb-completion-at-point): New function.
10611 (gud-gdb-completions): Remove.
10612
f42efeb5
MA
106132011-04-14 Michael Albinus <michael.albinus@gmx.de>
10614
49093f60
JB
10615 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10616 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10617 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10618 whether `executable-find' is bound.
f42efeb5
MA
10619
10620 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10621
e240cc21
SM
106222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * minibuffer.el (completion-in-region-mode-predicate)
10625 (completion-in-region-mode--predicate): New vars.
10626 (completion-in-region, completion-in-region--postch)
10627 (completion-in-region-mode): Use them.
10628 (completion--capf-wrapper): Also return the hook function.
10629 (completion-at-point, completion-help-at-point):
10630 Adjust and provide a predicate.
c2bd2ab0
SM
10631
10632 Preserve arg names for advice of subr and lexical functions (bug#8457).
10633 * help-fns.el (help-function-arglist): Consolidate the subr and
10634 new-byte-code cases. Add argument `preserve-names' to extract names
10635 from the docstring when needed.
10636 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10637 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10638 (ad-arglist): Use help-function-arglist's new arg.
10639 (ad-definition-type): Use cond.
10640
c183f693
JB
106412011-04-13 Juanma Barranquero <lekktu@gmail.com>
10642
06641a47
JB
10643 * autorevert.el (auto-revert-handler):
10644 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10645 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10646 Don't quote lambda.
10647
c183f693
JB
10648 * image-mode.el (image-transform-set-scale):
10649 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10650
1e3b6001
G
106512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10652
10653 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10654 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10655 Upgrades via gnutls-cli are too slow to be done opportunistically.
10656
2d6af8dd
JB
106572011-04-12 Juanma Barranquero <lekktu@gmail.com>
10658
10659 * dframe.el (dframe-current-frame): Remove spurious quote.
10660
c0749a51
GM
106612011-04-12 Glenn Morris <rgm@gnu.org>
10662
088d0d61
GM
10663 * calendar/cal-tex.el (cal-tex-end-document):
10664 Try to automatically use latin1 input if needed.
10665
c0749a51
GM
10666 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10667 Don't try to cons a mark onto an empty element.
10668
5c90fde0
LL
106692011-04-11 Leo Liu <sdl.web@gmail.com>
10670
10671 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10672 buffers.
10673 (ido-kill-buffer-at-head): Support killing virtual buffers.
10674
369e974d
CY
106752011-04-10 Chong Yidong <cyd@stupidchicken.com>
10676
10677 * minibuffer.el (completion-show-inline-help): New var.
10678 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10679 (minibuffer-force-complete, minibuffer-complete-word):
10680 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10681
10682 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10683 to avoid interference from inline help (Bug#5849).
10684
37f1c930
LL
106852011-04-10 Leo Liu <sdl.web@gmail.com>
10686
099c39a4
JB
10687 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10688 Fix typo.
37f1c930 10689
a32d4040
CY
106902011-04-09 Chong Yidong <cyd@stupidchicken.com>
10691
10692 * image-mode.el (image-toggle-display-image): Signal an error if
10693 not in Image mode.
10694 (image-transform-mode, image-transform-resize)
10695 (image-transform-set-rotation): Doc fix.
daca8ba5 10696 (image-transform-set-resize): Delete.
a32d4040
CY
10697 (image-transform-set-scale, image-transform-fit-to-height)
10698 (image-transform-fit-to-width): Handle image-toggle-display-image
10699 and image-transform-resize directly.
10700
099c39a4 107012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10702
10703 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10704 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10705 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10706 (doc-view-mode-map): Add bindings for the new functions.
10707
099c39a4 107082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10709
4d61f28d 10710 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10711 Fix typo in docstring.
10712
3726838a
EZ
107132011-04-08 Eli Zaretskii <eliz@gnu.org>
10714
04f33f1e
EZ
10715 * files.el (file-size-human-readable): Produce one digit after
10716 decimal, like "ls -lh" does.
10717
10718 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10719 the file size representation.
10720
3726838a
EZ
10721 * simple.el (list-processes): If async subprocesses are not
10722 available, error out with a clear error message.
10723
cbb59342
CY
107242011-04-08 Chong Yidong <cyd@stupidchicken.com>
10725
10726 * help.el (help-form-show): New function, to be called from C.
10727 Put help-form output in a buffer named differently than *Help*.
10728
e3971c44
EZ
107292011-04-08 Eli Zaretskii <eliz@gnu.org>
10730
10731 * files.el (file-size-human-readable): New function.
10732
10733 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10734 computing the representation inline. Don't require `cl'.
10735
12544bbe
GM
107362011-04-08 Glenn Morris <rgm@gnu.org>
10737
a1de6c6a
GM
10738 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10739
3c4671f4
GM
10740 * net/browse-url.el (browse-url-firefox):
10741 Test system-type, not system-configuration.
10742
b605679c
GM
10743 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10744 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10745 Use log-edit-empty-buffer-p. (Bug#7598)
10746
56442f0c
GM
10747 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10748 (rlogin-mode-map): Initialize in the defvar.
10749 (rlogin): Use ignore-errors.
10750
12544bbe
GM
10751 * replace.el (occur-mode-map): Some fixes for menu items.
10752
eb237b0f
AH
107532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10754
10755 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10756
7d668f2c
CY
107572011-04-06 Chong Yidong <cyd@stupidchicken.com>
10758
e67a13ab
CY
10759 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10760 issuing unused warnings.
10761
10762 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10763 macro directly.
10764
7d668f2c
CY
10765 * simple.el: Lisp reimplement of list-processes. Based on an
10766 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10767 (process-menu-mode): New major mode.
10768 (list-processes--refresh, list-processes):
10769 (process-menu-visit-buffer): New functions.
10770
10771 * files.el (save-buffers-kill-emacs): Don't assume any return
10772 value of list-processes, which is undocumented anyway.
10773
a83ec3c9
CY
107742011-04-06 Chong Yidong <cyd@stupidchicken.com>
10775
10776 * emacs-lisp/tabulated-list.el: New file.
10777
e91a96fe
CY
10778 * emacs-lisp/package.el: Use Tabulated List mode.
10779 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10780 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10781 table format using Tabulated List mode variables.
10782 (package--push): New macro, replacing package-list-maybe-add.
10783 (package-menu--generate): Use package--push. Renamed from
10784 package--generate-package-list.
10785 (package-menu-refresh, list-packages): Use it.
daca8ba5 10786 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10787 Return insertion data instead of inserting it directly.
099c39a4
JB
10788 (package-menu-describe-package, package-menu-execute):
10789 Use tabulated-list-get-id.
e91a96fe
CY
10790 (package-menu-mark-delete, package-menu-mark-install)
10791 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10792 (package-menu-mark-obsolete-for-deletion):
10793 Use tabulated-list-put-tag.
e91a96fe
CY
10794 (package--list-packages, package-menu-revert)
10795 (package-menu-get-package, package-menu-get-version)
10796 (package-menu-sort-by-column): Functions deleted.
10797 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10798 (package-menu--status-predicate, package-menu--version-predicate)
10799 (package-menu--name-predicate)
10800 (package-menu--description-predicate): Handle arguments in the
10801 Tabulated List format.
10802 (package-list-packages-no-fetch): Call list-packages.
10803
3e214b50
JB
108042011-04-06 Juanma Barranquero <lekktu@gmail.com>
10805
10806 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10807 (after-find-file): Don't bind it.
3e214b50
JB
10808 (revert-buffer-in-progress-p): New variable.
10809 (revert-buffer): Bind it.
10810 Pass nil for `after-find-file-from-revert-buffer'.
10811
10812 * saveplace.el (save-place-find-file-hook): Use new variable
10813 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10814
3f0f1700
GM
108152011-04-06 Glenn Morris <rgm@gnu.org>
10816
c0274801
GM
10817 * Makefile.in (AUTOGEN_VCS): New variable.
10818 (autoloads): Use $AUTOGEN_VCS.
10819
3f0f1700
GM
10820 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10821 * calendar/calendar.el (calendar-mode-map):
10822 Check for toolkit scroll bars. (Bug#8305)
10823
41ea9e48
CY
108242011-04-05 Chong Yidong <cyd@stupidchicken.com>
10825
10826 * minibuffer.el (completion-in-region--postch)
10827 (completion-in-region-mode): Remove unnecessary messages.
10828
6194c800
JB
108292011-04-05 Juanma Barranquero <lekktu@gmail.com>
10830
33256f14
JB
10831 * font-lock.el (font-lock-refresh-defaults):
10832 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10833 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10834
6194c800
JB
10835 * info.el (Info-directory-list, Info-read-node-name-2)
10836 (Info-split-parameter-string): Doc fixes.
10837 (Info-virtual-nodes): Reflow docstring.
10838 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10839 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10840 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10841 Fix typos in docstrings.
10842 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10843 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10844 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10845 (Info-restore-desktop-buffer): Mark unused parameters.
10846 (Info-directory-find-file, Info-directory-find-node)
10847 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10848 (Info-virtual-index-find-node, Info-apropos-find-file)
10849 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10850 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10851 (Info-virtual-index): Remove unused local variable `nodename'.
10852
b87a8200 108532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10854
b87a8200
DD
10855 * net/rcirc.el: Update my e-mail address.
10856 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10857
3b2ff876
CY
108582011-04-05 Chong Yidong <cyd@stupidchicken.com>
10859
10860 * startup.el (command-line): Save the cursor's theme-face
10861 directly, instead of using face-override-spec.
10862
10863 * custom.el (load-theme): Minor optimization in assigning faces.
10864
8d17e7ca
JB
108652011-04-04 Juanma Barranquero <lekktu@gmail.com>
10866
10867 * help-fns.el (describe-variable): Complete all variables having
10868 documentation, including keywords.
10869 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10870
2fbc1934
JB
108712011-04-04 Juanma Barranquero <lekktu@gmail.com>
10872
10873 Convert to lexical-binding.
10874
10875 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10876 (bs--get-marked-string, bs--get-modified-string)
10877 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10878 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10879 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10880
10881 * ehelp.el (electric-help-execute-extended)
10882 (electric-help-ctrl-x-prefix):
10883 * hexl.el (hexl-revert-buffer-function):
10884 * linum.el (linum-after-change, linum-after-scroll):
10885 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10886
10887 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10888
74f50695
DU
108892011-04-04 Daiki Ueno <ueno@unixuser.org>
10890
10891 * epa-dired.el:
10892 * epa-mail.el:
10893 * epa-hook.el:
10894 * epa-file.el:
10895 * epa.el:
10896 * epg.el: Use lexical binding.
10897
c11325f7
CY
108982011-04-03 Chong Yidong <cyd@stupidchicken.com>
10899
0d9e9a12
CY
10900 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10901
c11325f7 10902 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10903 dictionary case for flyspell-mark-duplications-exceptions.
10904 Use regexp matching for languages.
c11325f7
CY
10905 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10906 default dictionary (Bug#7926).
10907
da91b5f2
CY
109082011-04-02 Chong Yidong <cyd@stupidchicken.com>
10909
099c39a4
JB
10910 * emacs-lisp/package.el (package--with-work-buffer):
10911 Recognize https URLs.
da91b5f2 10912
099c39a4
JB
10913 * net/network-stream.el: Move from gnus/proto-stream.el.
10914 Change prefix to network-stream throughout.
da91b5f2
CY
10915 (open-protocol-stream): Merge into open-network-stream, leaving
10916 open-protocol-stream as an alias. Handle nil BUFFER args.
10917
10918 * subr.el (open-network-stream): Move to net/network-stream.el.
10919
afa8e9f6
GM
109202011-04-02 Glenn Morris <rgm@gnu.org>
10921
1d2e369d
GM
10922 * find-dired.el (find-exec-terminator): New option.
10923 (find-ls-option): Test for -ls support.
10924 (find-ls-subdir-switches): Test for -b in find-ls-option.
10925 (find-dired, find-grep-dired): Doc fixes.
10926 (find-dired): Use find-exec-terminator.
10927
8abb7da8 10928 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10929 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10930 (find-name-arg): Remove purecopy.
8abb7da8 10931
f3ca7378
GM
10932 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10933 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10934 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10935 accordingly. Don't add the null-device if not needed.
10936
afa8e9f6
GM
10937 * files.el (save-some-buffers): Doc fix.
10938
35eae264
EZ
109392011-04-02 Eli Zaretskii <eliz@gnu.org>
10940
10941 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10942
26b51db5
JB
109432011-04-01 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10946 Use `dolist' rather than `mapcar'.
10947
7200d79c
SM
109482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10949
03408648 10950 Add lexical binding.
7200d79c 10951
03408648
SM
10952 * subr.el (apply-partially): Use new closures rather than CL.
10953 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10954 (dolist, dotimes): Use slightly different expansion for lexical code.
10955 (functionp): Move to C.
10956 (letrec): New macro.
10957 (with-wrapper-hook): Use it and apply-partially instead of CL.
10958 (eval-after-load): Preserve lexical-binding.
10959 (save-window-excursion, with-output-to-temp-buffer): Turn them
10960 into macros.
7200d79c 10961
03408648
SM
10962 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10963
10964 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10965 than the arglist.
10966 (help-add-fundoc-usage): Don't add `Not documented'.
10967 (help-function-arglist): Handle closures, subroutines, and new
10968 byte-code-functions.
10969 (help-make-usage): Remove leading underscores.
10970 (describe-function-1): Handle closures.
10971 (describe-variable): Use special-variable-p for completion.
10972
10973 * files.el (lexical-binding): Declare safe.
f488fb65 10974
03408648
SM
10975 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10976 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10977 (pcase): Add `let' pattern.
10978 Change memoization so it actually works.
10979 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10980 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10981 <let>: New case.
f488fb65 10982
03408648
SM
10983 * emacs-lisp/macroexp.el: Use lexical binding.
10984 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10985 Don't convert ' to #' without checking that it's indeed quoting
10986 a lambda.
10987
10988 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10989 Use eval-sexp-add-defvars.
03408648
SM
10990 (eval-sexp-add-defvars): New fun.
10991
10992 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10993
10994 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10995 Don't autoload.
10996 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10997 than the internal `byte-compile-lambda'.
10998 (defmethod): Don't hide code under quotes.
10999 (eieio-defmethod): New `code' argument.
11000
11001 * emacs-lisp/eieio-comp.el: Remove.
11002
11003 * emacs-lisp/edebug.el (edebug-eval-defun)
11004 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11005 (edebug-toggle): Avoid `eval'.
11006
11007 * emacs-lisp/disass.el (disassemble-internal): Handle new
11008 `closure' objects.
11009 (disassemble-1): Handle new byte codes.
11010
11011 * emacs-lisp/cl.el (pushnew): Silence warning.
11012
11013 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11014 (cl-byte-compile-throw): Remove.
11015 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11016
11017 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11018 closures.
11019
11020 * emacs-lisp/cconv.el: New file.
11021
11022 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11023 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11024 (byte-compile-initial-macro-environment):
11025 Handle declare-function here.
11026 (byte-compile--lexical-environment): New var.
11027 (byte-stack-ref, byte-stack-set, byte-discardN)
11028 (byte-discardN-preserve-tos): New lap codes.
11029 (byte-interactive-p): Don't use any more.
11030 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11031 New macros.
11032 (byte-compile-lapcode): Use them and handle new lap codes.
11033 (byte-compile-obsolete): Remove.
11034 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11035 (byte-compile-arglist-warn): Check late def of inlinable funs.
11036 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11037 since they should have been expanded by now.
11038 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11039 (byte-compile-from-buffer): Remove unused second arg.
11040 (byte-compile-preprocess): New function.
11041 (byte-compile-toplevel-file-form): New function to distinguish
11042 file-form calls from outside from file-form calls from hunk-handlers.
11043 (byte-compile-file-form): Simplify.
11044 (byte-compile-file-form-defsubst): Remove.
11045 (byte-compile-file-form-defmumble): Simplify now that
11046 byte-compile-lambda always returns a byte-code-function.
11047 (byte-compile): Preprocess.
11048 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11049 Remove, not used any more.
11050 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11051 (byte-compile-make-args-desc): New funs.
11052 (byte-compile-lambda): Handle lexical functions. Always return
11053 a byte-code-function.
11054 (byte-compile-reserved-constants): New var, to make up room for
11055 closed-over variables.
11056 (byte-compile-constants-vector): Obey it.
11057 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11058 (byte-compile-macroexpand-declare-function): New function.
11059 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11060 byte-code-functions.
11061 (byte-compile-form): Check obsolescence here.
11062 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11063 (byte-compile-variable-ref): Remove.
11064 (byte-compile-dynamic-variable-op): New fun.
11065 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11066 (byte-compile-variable-set): New funs.
11067 (byte-compile-discard): Add 2 args.
11068 (byte-compile-stack-ref, byte-compile-stack-set)
11069 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11070 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11071 macroexpand-all instead.
11072 (byte-compile-quote-form): Remove.
11073 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11074 (byte-compile-bind, byte-compile-unbind): New funs.
11075 (byte-compile-let): Handle let* and lexical binding.
11076 (byte-compile-let*): Remove.
11077 (byte-compile-catch, byte-compile-unwind-protect)
11078 (byte-compile-track-mouse, byte-compile-condition-case):
11079 Handle a new :fun-body form, used for lexical scoping.
11080 (byte-compile-save-window-excursion)
11081 (byte-compile-with-output-to-temp-buffer): Remove.
11082 (byte-compile-defun): Simplify.
11083 (byte-compile-stack-adjustment): New fun.
11084 (byte-compile-out): Use it.
11085 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11086
11087 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11088 handler any more.
11089
11090 * emacs-lisp/byte-opt.el: Use lexical binding.
11091 (byte-inline-lapcode): Remove (to bytecomp).
11092 (byte-compile-inline-expand): Pay attention to inlining to/from
11093 lexically bound code.
11094 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11095 any more.
11096 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11097 any more and don't call compiler-macros.
11098 (byte-compile-splice-in-already-compiled-code): Remove.
11099 (byte-code): Don't inline any more.
11100 (disassemble-offset): Receive `bytes' as argument rather than via
11101 dynamic scoping.
11102 (byte-compile-tag-number): Declare before first use.
11103 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11104 `return' even if make-spliceable.
11105 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11106 obsolete interactive-p.
11107 (byte-optimize-lapcode): Optimize new lap-codes.
11108 Don't trip up on new form of `byte-constant' lap code.
11109
11110 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11111
11112 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11113
11114 * custom.el (custom-initialize-default, custom-declare-variable):
11115 Use `defvar'.
11116
11117 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11118 New variables.
11119 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11120 (COMPILE_FIRST): Add macroexp and cconv.
11121 * makefile.w32-in: Mirror changes in Makefile.in.
11122
11123 * vc/cvs-status.el:
11124 * vc/diff-mode.el:
11125 * vc/log-edit.el:
11126 * vc/log-view.el:
11127 * vc/smerge-mode.el:
11128 * textmodes/bibtex-style.el:
11129 * textmodes/css.el:
11130 * startup.el:
11131 * uniquify.el:
da91b5f2
CY
11132 * minibuffer.el:
11133 * newcomment.el:
11134 * reveal.el:
11135 * server.el:
11136 * mpc.el:
11137 * emacs-lisp/smie.el:
11138 * doc-view.el:
11139 * dired.el:
03408648
SM
11140 * abbrev.el: Use lexical binding.
11141
0f0c1f27
EZ
111422011-04-01 Eli Zaretskii <eliz@gnu.org>
11143
11144 * info.el (info-display-manual): New function.
11145
c82b2579
SM
111462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11149
221ddf68
TH
111502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11151
11152 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11153 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11154
cba6e77e
GM
111552011-03-31 Glenn Morris <rgm@gnu.org>
11156
e040639f
GM
11157 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11158
cba6e77e
GM
11159 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11160
6d0f1c9e
CS
111612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11162
11163 * progmodes/python.el (python-default-interpreter)
11164 (python-python-command-args, python-jython-command-args)
11165 (python-which-shell, python-which-args, python-which-bufname)
11166 (python-file-queue, python-comint-output-filter-function)
11167 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11168 variables and functions.
11169
3e2d70fd
SM
111702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11173 (completion-in-region-mode): New minor mode.
11174 (completion-in-region): Use it.
11175 (completion-in-region--data, completion-in-region-mode-map): New vars.
11176 (completion-in-region--postch): New function.
11177 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11178 New vars.
11179 (completion--capf-wrapper): New function.
11180 (completion-at-point): Use it to track well-behavedness of
11181 hook functions.
11182 (completion-help-at-point): New command.
11183
f3e4086c
JM
111842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11185
11186 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11187 syntax class to search for whitespace on a single line
11188 (Message-ID: <4D938140.4030905@redhat.com>).
11189
eb7ffc14
LL
111902011-03-30 Leo Liu <sdl.web@gmail.com>
11191
11192 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11193 New commands.
11194 (edit-abbrevs-map): Bind them here.
11195 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11196
d806ab68
KM
111972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11198
11199 * allout.el (allout-hide-by-annotation, allout-flag-region):
11200 Reduce possibility of overlay leakage by making them volatile.
11201
11202 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11203 hash is not shared between buffers. Mode initialization is
11204 responsible for giving it a useful starting value.
11205 (allout-item-span): Reduce possibility of overlay leakage by
11206 making them volatile.
11207 (allout-widgets-count-buttons-in-region): Add diagnostic function
11208 for tracking down button overlay leaks.
11209
ea622834
LL
112102011-03-29 Leo Liu <sdl.web@gmail.com>
11211
11212 * ido.el (ido-read-internal): Use the default history var
11213 minibuffer-history if no HISTORY is specified.
11214
b62f8267
G
112152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11216
03408648
SM
11217 * net/imap.el (imap-shell-open, imap-process-connection-type):
11218 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11219 Kerberos, SSL, other subprocesses.
11220
947b6566
LL
112212011-03-28 Leo Liu <sdl.web@gmail.com>
11222
11223 * abbrev.el (abbrev-table-empty-p): New function.
11224 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11225 nonempty ones. (Bug#5937)
11226
5ffb62aa
JD
112272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11228
11229 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11230
7a097943
LL
112312011-03-27 Leo Liu <sdl.web@gmail.com>
11232
11233 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11234 for foreground and background colors.
11235 (ansi-color-make-color-map): Adapt.
11236
c5b40130
LL
112372011-03-25 Leo Liu <sdl.web@gmail.com>
11238
1f48f7d2
LL
11239 * midnight.el (midnight-time-float): Remove. Note it calculates
11240 the microsecond component incorrectly and seconds-to-time does the
11241 same job.
625897ec 11242 Remove redundant (require 'timer).
1f48f7d2 11243
c5b40130
LL
11244 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11245 (ido-completions): Remove unused arguments. (Bug#8329)
11246
d86d2721
SM
112472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * minibuffer.el (completion--flush-all-sorted-completions):
11250 Remove itself from hook.
11251 (completion-at-point): Let the functions perform the completion
11252 immediately and return nil or t.
11253 * comint.el (comint-dynamic-complete-functions): Now identical to
11254 completion-at-point-functions.
11255 (comint-dynamic-list-input-ring): Remove unused var `index'.
11256 (comint--match-partial-filename, comint--unquote&expand-filename):
11257 New funs, split from comint-match-partial-filename.
11258 (comint-dynamic-complete): Use completion-at-point.
11259 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11260
e8974c48
DA
112612011-03-24 Drew Adams <drew.adams@oracle.com>
11262
11263 * thingatpt.el: Support `defun'.
11264
def71b5e
LL
112652011-03-23 Leo Liu <sdl.web@gmail.com>
11266
cb5af48e
LL
11267 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11268
def71b5e
LL
11269 * help-mode.el (help-mode-finish): Tweak regexp.
11270
927c53e7
GM
112712011-03-23 Glenn Morris <rgm@gnu.org>
11272
18d05bed
GM
11273 * eshell/esh-opt.el (eshell-eval-using-options):
11274 Do not bind unused local variable `eshell-option-stub'.
11275
927c53e7
GM
11276 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11277
9d0da923
JB
112782011-03-22 Juanma Barranquero <lekktu@gmail.com>
11279
11280 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11281 keymap variable in `with-no-warnings' to avoid a warning when the
11282 keymap has been already `defconst'ed.
11283
4b978a67
LL
112842011-03-22 Leo Liu <sdl.web@gmail.com>
11285
11286 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11287 encode all chars in abbrevs; otherwise use emacs-mule or
11288 utf-8-emacs. (Bug#8308)
11289
5fd62452
JB
112902011-03-22 Juanma Barranquero <lekktu@gmail.com>
11291
0b1596c6
JB
11292 * simple.el (backward-delete-char-untabify):
11293 Avoid warning about using `delete-backward-char'.
11294
5fd62452
JB
11295 * image.el (image-type-file-name-regexps): Make it variable.
11296 `imagemagick-register-types' modifies it, and the user may want
11297 to add new extensions for known image types.
11298 (imagemagick-register-types): Throw error if not using ImageMagick.
11299
0b4e93f1
LL
113002011-03-22 Leo Liu <sdl.web@gmail.com>
11301
11302 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11303 located before rcirc-prompt-end-marker.
11304 (rcirc-complete): Error if point is not after rcirc prompt.
11305 Handle the case when table is nil.
9882e214 11306 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11307
fccee4ab
CY
113082011-03-22 Chong Yidong <cyd@stupidchicken.com>
11309
11310 * custom.el (custom--inhibit-theme-enable): Make it affect only
11311 custom-theme-set-variables and custom-theme-set-faces.
11312 (provide-theme): Ignore custom--inhibit-theme-enable.
11313 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11314 (custom-enabling-themes): Delete variable.
d86d2721
SM
11315 (enable-theme): Accept only loaded themes as arguments.
11316 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11317 (custom-enabled-themes): Forbid themes from setting this.
11318 Eliminate use of custom-enabling-themes.
11319 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11320
af896da6
LL
113212011-03-21 Leo Liu <sdl.web@gmail.com>
11322
11323 * ido.el (ido-read-internal): Add ido-selected to history instead
11324 of user input.
11325
78f64af0
SM
113262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * subr.el (deferred-action-list, deferred-action-function):
11329 Mark obsolete.
11330
b16ac1ec
LL
113312011-03-21 Leo Liu <sdl.web@gmail.com>
11332
810f7698
LL
11333 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11334 change on 2011-02-13 (bug#8309).
11335
b16ac1ec
LL
11336 * minibuffer.el (read-file-name-function): Change default value.
11337 (read-file-name--defaults): Rename from read-file-name-defaults.
11338 (read-file-name-default): Rename from read-file-name.
11339 (read-file-name): Call read-file-name-function.
11340
4e05e67e
GM
113412011-03-21 Glenn Morris <rgm@gnu.org>
11342
11343 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11344 Doc fixes.
11345
4359915b
CY
113462011-03-21 Chong Yidong <cyd@stupidchicken.com>
11347
11348 * cus-theme.el: Add missing provide statement.
11349 (customize-create-theme): Extract theme value correctly.
11350 (custom-theme-visit-theme): Autoload.
11351 (customize-create-theme): Prompt before inserting default faces.
11352
1fe275ee
JB
113532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11354
11355 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11356 units and musical notes.
11357
cd394be1 113582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11359
11360 * ido.el (ido-read-internal): Use completing-read-default.
11361 (ido-completing-read): Fix compatibility with completing-read.
11362
7d476bde
CO
113632011-03-20 Christian Ohler <ohler@gnu.org>
11364
11365 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11366 (ert-delete-all-tests): Use `called-interactively-p' rather than
11367 `interactive-p'.
11368 (ert--make-xrefs-region): Respect END.
11369
fe0fb33e
CY
113702011-03-19 Chong Yidong <cyd@stupidchicken.com>
11371
ff854b0b
CY
11372 * dired-aux.el (dired-create-directory): Signal an error if the
11373 directory already exists (Bug#8246).
11374
fe0fb33e
CY
11375 * facemenu.el (list-colors-display): Call list-faces-display
11376 inside with-help-window.
11377 (list-colors-print): Use display property to align the final
11378 column, instead of checking window-width.
11379
576bce32
EZ
113802011-03-19 Eli Zaretskii <eliz@gnu.org>
11381
4d61f28d 11382 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11383 windows-nt systems.
11384 (emerge-protect-metachars): Quote correctly for ms-dos and
11385 windows-nt systems.
11386
89c41d68 113872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11388
11389 * info.el (info-initialize): Replace all uses of `:' with
11390 path-separator for compatibility with non-Unix systems.
11391 Cache quoting of path-separator. (Bug#8258)
11392
b14e3e21 113932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11394
11395 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11396 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11397 (mouse-avoidance-mode): Fix typos in docstrings.
11398
4525ce3e
CY
113992011-03-19 Chong Yidong <cyd@stupidchicken.com>
11400
11401 * startup.el (package-subdirectory-regexp): Move from package.el.
11402 Omit \\` and \\', and let callers add them.
11403
11404 * emacs-lisp/package.el (package-strip-version)
11405 (package-load-all-descriptors): Add \\` and \\' to
11406 package-subdirectory-regexp before using it.
11407 (package-untar-buffer): New arg DIR; ensure that file untars only
11408 into this expected directory. Remove superfluous delete-region.
11409 (package-unpack): Caller changed.
11410 (package-tar-file-info): Use package-subdirectory-regexp.
11411
a904a09a 114122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11413
a904a09a
SM
11414 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11415 diff-mode-shared-map (bug#8284).
11416 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11417
114182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11419
11420 * calendar/time-date.el (format-seconds): Use assoc instead of
11421 assoc-string, since assoc-string doesn't exist in XEmacs.
11422
171fc304
JB
114232011-03-17 Juanma Barranquero <lekktu@gmail.com>
11424
11425 * custom.el (custom-known-themes): Reflow docstring.
11426 (custom-theme-load-path): Fix typo in docstring.
11427 (load-theme): Fix typo in error message.
11428 (custom-available-themes, custom-variable-theme-value):
11429 Use `let', not `let*'.
11430
d71990a1
JB
114312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11432
11433 * calc/README: Mention inclusion of musical notes.
11434
11435 * calc/calc-units.el (calc-lu-quant): Rename from
11436 `calc-logunits-quantity'.
11437 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11438 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11439 (calc-db): Rename from `calc-dblevel'.
11440 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11441 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11442 (calc-np): Rename from `calc-nplevel'.
11443 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11444 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11445 (calc-lu-plus): Rename from `calc-logunits-add'.
11446 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11447 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11448 (calc-lu-minus): Rename from `calc-logunits-sub'.
11449 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11450 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11451 (calc-lu-times): Rename from `calc-logunits-mul'.
11452 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11453 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11454 (calc-lu-divide): Rename from `calc-logunits-div'.
11455 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11456 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11457
11458 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11459 functions being autoloaded.
11460
11461 * calc/calc.el (calc-lu-power-reference): Rename from
11462 `calc-logunits-power-reference'.
11463 (calc-lu-field-reference): Rename from
11464 `calc-logunits-field-reference'.
11465
7a71b18d
GM
11466 * calc/calc-help.el (calc-l-prefix-help):
11467 Mention musical note functions.
d71990a1 11468
40c2934b
SM
114692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 * minibuffer.el (completion-all-sorted-completions):
11472 Use :completion-cycle-penalty text property if present.
11473
b0911414
KM
114742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11475
11476 * allout.el (allout-yank-processing): Adjust for new rebulleting
11477 regime so bullet being yanked is used without prompting the user
11478 for a choice.
11479
8a05b668
JB
114802011-03-16 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * startup.el (command-line): Warn the user that _emacs is deprecated.
11483
5ba5fb81
JB
114842011-03-16 Juanma Barranquero <lekktu@gmail.com>
11485
11486 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11487 (delphi-verbose, delphi-comment-face, delphi-string-face)
11488 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11489 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11490 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11491 (delphi-new-comment-line, delphi-font-lock-defaults)
11492 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11493 Fix typos in docstrings.
11494
2dab465b
KM
114952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11496
5ba5fb81 11497 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11498 Invert the roles of character and string values for INSTEAD, so a
11499 string is used for the more common case of a defaulting prompt.
11500
0adf5618
SM
115012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11502
11503 * progmodes/ruby-mode.el (ruby-backward-sexp):
11504 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11505 * play/gamegrid.el (gamegrid-make-face):
11506 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11507 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11508 * notifications.el (notifications-notify):
11509 * net/xesam.el (xesam-search-engines):
11510 * net/quickurl.el (quickurl-list-insert):
11511 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11512
d72700e5
CY
115132011-03-15 Chong Yidong <cyd@stupidchicken.com>
11514
11515 * startup.el (command-line): Update package subdirectory regexp.
11516
49c5410a
SM
115172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11518
c6eee9aa
SM
11519 * allout.el (allout-abbreviate-flattened-numbering)
11520 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11521
49c5410a
SM
11522 * subr.el (read-char-choice): Only show the cursor after the prompt,
11523 not after the answer.
11524
047b2bb9
KR
115252011-03-15 Kevin Ryde <user42@zip.com.au>
11526
11527 * help-fns.el (variable-at-point): Skip leading quotes, if any
11528 (bug#8253).
11529
0a57d256
SM
115302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11531
11532 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11533 warning message.
11534
77c992bc
MA
115352011-03-14 Michael Albinus <michael.albinus@gmx.de>
11536
11537 * shell.el (shell): When called interactively, offer to change the
11538 shell file name on remote hosts.
11539
eebc475d
TZ
115402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11541
11542 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11543 integration for LDAP parameters. The host, base, user or binddn,
11544 and secret tokens can be specified in a netrc file, for instance.
11545 This is optional because an `auth-source' parameter must be
11546 specified in the search attributes.
11547
9d05d1ba
JB
115482011-03-13 Juanma Barranquero <lekktu@gmail.com>
11549
11550 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11551
09d9db2c
GM
115522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11555 into declaration. Remove redundant and harmful binding.
11556
115572011-03-12 Eli Zaretskii <eliz@gnu.org>
11558
11559 * files.el (file-ownership-preserved-p): Pass `integer' as an
11560 explicit 2nd argument to `file-attributes'. If the file's owner
11561 is the Administrators group on Windows, and the current user is
11562 Administrator, consider that a match.
11563
11564 * server.el (server-ensure-safe-dir): Consider server directory
11565 safe on MS-Windows if its owner is the Administrators group while
11566 the current Emacs user is Administrator. Use `=' to compare
11567 numerical UIDs, since they could be integers or floats.
11568
219bd536
JB
115692011-03-12 Juanma Barranquero <lekktu@gmail.com>
11570
11571 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11572
f3afd36b
MA
115732011-03-12 Michael Albinus <michael.albinus@gmx.de>
11574
11575 Sync with Tramp 2.2.1.
11576
11577 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11578
11579 * net/trampver.el: Update release number.
11580
3aaaa6f1
SM
115812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11582
94642599
SM
11583 * progmodes/compile.el (compilation--previous-directory): Fix up
11584 various nil/dead-marker mismatches (bug#8014).
11585 (compilation-directory-properties, compilation-error-properties):
11586 Don't call it at a position past the one we're about to change.
11587
3aaaa6f1
SM
11588 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11589 Disable obsolescence warnings in the file that declares it.
11590
14239447
KM
115912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11592
099c39a4
JB
11593 * allout-widgets.el (allout-widgets-tally):
11594 Initialize allout-widgets-tally as a hash table rather than nil to
11595 prevent mode-line redisplay warnings. Also, clarify the module
11596 description and fix a comment typo.
14239447 11597
135e287c
JB
115982011-03-11 Juanma Barranquero <lekktu@gmail.com>
11599
11600 * help-fns.el (describe-variable): Don't complete keywords.
11601 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11602
ffbf300e
CY
116032011-03-10 Chong Yidong <cyd@stupidchicken.com>
11604
ba08b241
CY
11605 * emacs-lisp/package.el (package-version-join): Impose a standard
11606 string representation for pre/alpha/beta version lists.
11607 (package-unpack-single): Standardize the directory name by passing
11608 it through package-version-join.
11609 (package-strip-rcs-id): Accept any version string that does not
11610 signal an error in version-to-list.
ffbf300e 11611
f346fd6b
MA
116122011-03-10 Michael Albinus <michael.albinus@gmx.de>
11613
11614 * simple.el (delete-trailing-whitespace): Return nil for the
11615 benefit of `write-file-functions'.
11616
ccb55d27
GM
116172011-03-10 Glenn Morris <rgm@gnu.org>
11618
5ceaac0c
GM
11619 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11620
02da65ff
GM
11621 * vc/vc-git.el (vc-git-program): New option.
11622 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11623 (vc-git--call): Use it.
11624
b2f603cc
GM
11625 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11626
5772caab
GM
11627 * cus-edit.el (Custom-newline): If no button at point, look
11628 for a subgroup button at start-of-line. (Bug#2298)
11629
ccb55d27
GM
11630 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11631
ec6ecaed
JD
116322011-03-10 Julien Danjou <julien@danjou.info>
11633
11634 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11635 `cursor-type' is nil.
11636
9d5aa01d
JB
116372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11638
11639 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11640
b6a5875b
KM
116412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11642
7a71b18d 11643 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11644 preserves the existing header prefix, rebulleting it if necessary,
11645 rather than replacing it. This is necessary for proper operation
11646 of cooperative addons like allout-widgets.
1154d12e
JB
11647 (allout-make-topic-prefix, allout-rebullet-heading):
11648 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11649 value as alternate bullet to be used, instead of prompting the user
11650 for a bullet character.
b6a5875b 11651
ee545c35
MA
116522011-03-09 Michael Albinus <michael.albinus@gmx.de>
11653
d86d2721
SM
11654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11655 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11656 `tramp-default-port'.
11657
c47971d7
DD
116582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11659
11660 * net/rcirc.el (rcirc-handler-001): Remove useless
11661 with-rcirc-process-buffer.
11662 (rcirc-check-auth-status): Swap arguments to string-match.
11663
13522cb4
GM
116642011-03-09 Glenn Morris <rgm@gnu.org>
11665
0be6f4f1
GM
11666 * shell.el (shell-mode):
11667 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11668
13522cb4
GM
11669 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11670 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11671
515de2e3
CY
116722011-03-08 Chong Yidong <cyd@stupidchicken.com>
11673
11674 * emacs-lisp/package.el (package-refresh-contents)
11675 (package-menu-execute): Use condition-case-no-debug.
11676
b511b994
MA
116772011-03-08 Michael Albinus <michael.albinus@gmx.de>
11678
11679 * simple.el (shell-command-to-string): Use `process-file'.
11680
11681 * emacs-lisp/package.el (package-tar-file-info): Handle also
11682 remote files.
11683
d86d2721
SM
11684 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11685 Use `equal' for upload base check.
b511b994 11686
25bbfb31
AM
116872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11688
11689 * textmodes/texinfo.el (texinfo-environments):
11690 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11691
be996521
GM
116922011-03-08 Glenn Morris <rgm@gnu.org>
11693
e9c8529f
GM
11694 * cus-start.el (cursor-in-non-selected-windows):
11695 Fix :set quoting oddness. (Bug#8192)
11696
be996521
GM
11697 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11698 in some setf expressions. (Bug#2159)
11699
2bb5649e
CY
117002011-03-08 Chong Yidong <cyd@stupidchicken.com>
11701
11702 * custom.el (custom-available-themes): Return themes in
11703 alphabetical order.
11704
33383987 11705See ChangeLog.15 for earlier changes.
e3d51b27
MR
11706
11707;; Local Variables:
11708;; coding: utf-8
e3d51b27
MR
11709;; End:
11710
acaf905b 11711 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11712
11713 This file is part of GNU Emacs.
11714
11715 GNU Emacs is free software: you can redistribute it and/or modify
11716 it under the terms of the GNU General Public License as published by
11717 the Free Software Foundation, either version 3 of the License, or
11718 (at your option) any later version.
11719
11720 GNU Emacs is distributed in the hope that it will be useful,
11721 but WITHOUT ANY WARRANTY; without even the implied warranty of
11722 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11723 GNU General Public License for more details.
11724
11725 You should have received a copy of the GNU General Public License
11726 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.