* info.el (Info-menu): Handle string value of FORK arg.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
69188b79
CY
12012-03-21 Drew Adams <drew.adams@oracle.com>
2
3 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4
99fc91fe
AK
52012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6
7 * ido.el (ido-set-current-directory, ido-read-internal)
8 (ido-choose-completion-string, ido-completion-help): Handle nil
9 value of ido-completion-buffer (Bug#11008).
10
087bbb4c
SS
112012-03-21 Sam Steingold <sds@gnu.org>
12
13 * window.el (switch-to-prev-buffer): Do not switch to a visible
14 window previous buffer, just like with the frame previous buffers.
15
fb5b8aca
CY
162012-03-21 Chong Yidong <cyd@gnu.org>
17
18 * faces.el (make-face, make-empty-face, copy-face):
19 * face-remap.el (face-remap-add-relative, face-remap-set-base):
20 Doc fixes.
21
dc9924b8
SM
222012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * wid-edit.el (widget-complete-field): Remove (bug#11051).
25 (widget-complete): Remove broken use of it.
26
f0bcceb9
CY
272012-03-20 Chong Yidong <cyd@gnu.org>
28
dc9924b8
SM
29 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
30 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
31 characters.
32
ee52ebf3
TH
332012-03-20 Tassilo Horn <tassilo@member.fsf.org>
34
35 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
36 to draw rectangles, not squares. (Regression introduced by revno
37 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
38
4c5779ab
CY
392012-03-18 Chong Yidong <cyd@gnu.org>
40
41 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
42 it is not yet defined (for temacs).
43
15360934
LL
442012-03-18 Leo Liu <sdl.web@gmail.com>
45
dc9924b8 46 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 47
d9a8eb66
EZ
482012-03-17 Eli Zaretskii <eliz@gnu.org>
49
50 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
51 (ispell-choices-win-default-height, ispell-silently-savep)
52 (ispell-dictionary-alist, ispell-encoding8-command)
53 (ispell-check-version, ispell-aspell-find-dictionary)
54 (ispell-valid-dictionary-list, ispell-words-keyword)
55 (ispell-get-word, ispell-internal-change-dictionary)
56 (ispell-region, ispell-skip-region-list)
57 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
58 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
59 (ispell-message-text-end, ispell-message)
60 (ispell-buffer-local-parsing): Doc fix.
61
f02ff80d
J
622012-03-13 Jambunathan K <kjambunathan@gmail.com>
63
64 * htmlfontify.el: Add support for code block fontification for ODT
65 export (Bug #9914).
66 (hfy-optimisations): Define new option
67 `body-text-only'
68 (hfy-fontify-buffer): Honor above setting.
69 (hfy-begin-span, hfy-end-span): New routines factored out form
70 `hfy-fontify-buffer'.
71 (hfy-begin-span-handler, hfy-end-span-handler): New variables
72 that permit insertion of custom tags.
73 (hfy-fontify-buffer): Use above handlers.
74 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
75 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 76 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
77 over multiple runs. This is made possible by having the caller let
78 bind a special variable `hfy-user-sheet-assoc'.
79 (htmlfontify-string): New defun.
80 (hfy-compile-face-map): Make sure that the last char in the
81 buffer is correctly fontified.
82 (hfy-face-resolve-face): Whitespace only change.
83
9ac7a13f
EZ
842012-03-17 Eli Zaretskii <eliz@gnu.org>
85
86 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
87 message more clear.
88
e2b5bdd7
LL
892012-03-16 Leo Liu <sdl.web@gmail.com>
90
91 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
92
2e492df3
AM
932012-03-16 Alan Mackenzie <acm@muc.de>
94
95 Further optimise the handling of large macros.
96
97 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
98 limit to a call of `c-literal-limits'.
99 (c-determine-+ve-limit): New function.
dc9924b8
SM
100 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
101 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
102 In CASE 5B, restrict a search limit to 500.
103 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
104
105 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
106 Restrict macro bounds to +-500 from after-change's BEG END.
107
50e94f0c
LL
1082012-03-16 Leo Liu <sdl.web@gmail.com>
109
110 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
111
6f09f6ed
AH
1122012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
113
114 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 115 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 116
c7e73d51
GM
1172012-03-16 Glenn Morris <rgm@gnu.org>
118
da986230
GM
119 * view.el (view-buffer, view-buffer-other-window)
120 (view-buffer-other-frame): Doc fixes re special mode-class.
121
0835f01e
GM
122 * subr.el (eval-after-load): If named feature is provided not from
123 a file, run after-load forms. (Bug#10946)
124
c7e73d51
GM
125 * calendar/calendar.el (calendar-insert-at-column):
126 Handle non-unit-width characters a bit better. (Bug#10978)
127
3f2eafd1
CY
1282012-03-15 Chong Yidong <cyd@gnu.org>
129
130 * emacs-lisp/ring.el (ring-extend): New function.
131 (ring-insert+extend): Extend the ring correctly (Bug#11019).
132
133 * comint.el (comint-read-input-ring)
134 (comint-add-to-input-history): Grow comint-input-ring lazily.
135
103af3fe
SM
1362012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
137
663b1677
SM
138 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
139 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
140
103af3fe
SM
141 * imenu.el: Fix multiple inheritance breakage (bug#9199).
142 (imenu-add-to-menubar): Don't add a redundant index.
143 (imenu-update-menubar): Handle a dynamically composed keymap.
144
899cb7cb
KY
1452012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
146
147 * mail/sendmail.el (mail-encode-header):
148 Bind rfc2047-encode-encoded-words to nil.
149
3809f91d
GM
1502012-03-13 Glenn Morris <rgm@gnu.org>
151
152 * calendar/calendar.el (calendar-string-spread):
153 Handle non-unit-width characters a bit better. (Bug#10978)
154
9e345a01
LL
1552012-03-13 Leo Liu <sdl.web@gmail.com>
156
157 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
158 directory and file as argument (Bug#10822).
159
4a07df36
KS
1602012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
161
162 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
163 For dynamically generated code, follow $PC.
164 (gdb-disassembly-handler-custom): Handle no function name case.
165
4aaa9356
TL
1662012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
167
168 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
169 * emulation/ws-mode.el (ws-query-replace):
170 * sort.el (sort-regexp-fields):
171 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
172
225979da
SM
1732012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * dabbrev.el: Fix cycle completion order (bug#10963).
176 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
177 (dabbrev-completion): Don't use an obarray; provide
178 a cycle-sort-function.
179
e2f1fdab
LL
1802012-03-12 Leo Liu <sdl.web@gmail.com>
181
dc9924b8 182 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
183 (kill-do-not-save-duplicates): Doc fix.
184
b19490ed
SM
1852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * dabbrev.el: Fix cycle completion (bug#10963).
188 Use lexical binding and wrap to 80 columns.
189 (dabbrev-completion): Delay computing the list of completions.
190
4b05d722
KH
1912012-03-12 Kenichi Handa <handa@m17n.org>
192
193 * international/quail.el (quail-insert-kbd-layout): Surround each
194 row by LRO and PDF instead of inserting many LRMs. Pad the left
195 and right of each non-spacing marks. Insert invisible space
196 between lower and upper characters to prevent composition.
197
dbbc2e69
SM
1982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * minibuffer.el (minibuffer-complete): Don't get confused when the
201 function is run twice via different commands (bug#10958).
202 (complete-with-action): Fix docstring.
203
292112ed
CY
2042012-03-12 Chong Yidong <cyd@gnu.org>
205
5d1ac394
CY
206 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
207 (nxml-completion-at-point-function): New function.
208 (nxml-mode): Use it.
209 (nxml-bind-meta-tab-to-complete-flag): Default to t.
210
292112ed
CY
211 * emacs-lisp/package.el (package-unpack, package-unpack-single):
212 Load generated autoloads file before byte compiling (Bug#10970).
213 (package--make-autoloads-and-compile): New helper fun.
214
4098f8f7
CS
2152012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
216
217 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
218
8f754691
MA
2192012-03-11 Michael Albinus <michael.albinus@gmx.de>
220
221 * autorevert.el (auto-revert-handler): Ensure, that
222 file-readable-p is applied only for local files or in
223 auto-revert-tail-mode.
224
e29ab36b
AS
2252012-03-11 Andreas Schwab <schwab@linux-m68k.org>
226
dbbc2e69
SM
227 * server.el (server-eval-at): Handle non-tcp connections.
228 Decode result string.
ad0bf5b6 229
e29ab36b
AS
230 * server.el (server-msg-size): New constant.
231 (server-reply-print): New function.
232 (server-eval-and-print): Use it.
233 (server-eval-at): Use server-quote-arg and server-unquote-arg.
234 Handle -print-nonl.
235
de5939ba
CS
2362012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
237
238 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
239 (Bug#10987).
240
0c93eabf
CY
2412012-03-11 Chong Yidong <cyd@gnu.org>
242
397a688f
CY
243 * simple.el (goto-line): Doc fix (Bug#9938).
244
2cc775f9
CY
245 * subr.el (save-window-excursion): Doc fix (Bug#9979).
246
0c93eabf
CY
247 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
248 when finished (Bug#10963).
249
c491fa41
MR
2502012-03-11 Martin Rudalics <rudalics@gmx.at>
251
252 * window.el (split-window-below): Fix bug in case where
253 split-window-keep-point is nil (Bug#10971).
254
300e8fa5
JL
2552012-03-11 Juri Linkov <juri@jurta.org>
256
257 * replace.el (replace-highlight): Set isearch-word to nil
258 unconditionally. (Bug#10887)
259
dbf6c5a1
EZ
2602012-03-10 Eli Zaretskii <eliz@gnu.org>
261
262 * net/mairix.el (mairix-replace-invalid-chars): Rename from
263 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 264 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
265 (mairix-widget-create-query): Add usage information about mairix
266 search forms: negating words, searching for substrings, etc.
267
b9e501de
JP
2682012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
269
270 * international/fontset.el (font-encoding-alist): Add an entry for
271 ksx1001 (Bug#5667).
272
92795c91
RS
2732012-03-10 Richard Stallman <rms@gnu.org>
274
1694e6c1
RS
275 * mail/sendmail.el (mail-encode-header):
276 Set rfc2047-encode-encoded-words.
277
607e8555
RS
278 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
279
de3bc99a
RS
280 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
281 view buffer means not swapped.
282 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
283 (rmail-write-region-annotate): Error if real text has disappeared.
284
92795c91
RS
285 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
286
699bd04e
CY
2872012-03-10 Chong Yidong <cyd@gnu.org>
288
289 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
290 * emulation/cua-base.el (cua--init-keymaps):
291 Add delete-forward-char to remappings (Bug#9666).
699bd04e 292
570a1714
MR
2932012-03-10 Martin Rudalics <rudalics@gmx.at>
294
dbbc2e69
SM
295 * speedbar.el (speedbar-unhighlight-one-tag-line):
296 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 297
82dcf4e4
CY
2982012-03-10 Chong Yidong <cyd@gnu.org>
299
7a2c7ca7
CY
300 * minibuffer.el (completion-in-region, completion-help-at-point):
301 Give the completion field overlay a high priority (Bug#6830).
302
82dcf4e4
CY
303 * dired.el (dired-goto-file): Recognize absolute file name
304 listings (Bug#7126).
305 (dired-goto-file-1): New helper function.
306 (dired-toggle-read-only): Inhibit warnings.
307
052e28ac
MA
3082012-03-09 Michael Albinus <michael.albinus@gmx.de>
309
310 * net/dbus.el: (dbus-property-handler): Return empty array if
311 there are no properties.
312
95d5e396
LL
3132012-03-09 Leo Liu <sdl.web@gmail.com>
314
315 * savehist.el (savehist-printable): Stricter check for string
316 value (Bug#10937).
317
3f018d6d
EZ
3182012-03-09 Eli Zaretskii <eliz@gnu.org>
319
dbbc2e69
SM
320 * mail/smtpmail.el (smtpmail-send-it):
321 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
322 valid mbox format.
323
f7fd3d79
GM
3242012-03-09 Glenn Morris <rgm@gnu.org>
325
326 * files.el (dir-locals-find-file):
327 Don't check result is regular, readable.
328 (dir-locals-read-from-file): Demote errors.
329
6ff6e72f
EZ
3302012-03-08 Eli Zaretskii <eliz@gnu.org>
331
dbbc2e69
SM
332 * international/quail.el (quail-insert-kbd-layout):
333 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
334 layout cell, to prevent their reordering by bidi display engine.
335 For details, see the discussion in
336 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
337
9cec7834
AM
3382012-03-08 Alan Mackenzie <acm@muc.de>
339
340 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
341 the starting position; make it extend the marked region when
342 invoked repeatedly - all under appropriate circumstances.
343 Fixes bugs #5525, #10906.
344
9a40b8d4
GM
3452012-03-08 Glenn Morris <rgm@gnu.org>
346
347 * files.el (locate-dominating-file, dir-locals-find-file):
348 Undo 2012-03-06 change.
349
7a08ed35
EZ
3502012-03-07 Eli Zaretskii <eliz@gnu.org>
351
dbbc2e69
SM
352 * international/quail.el (quail-help):
353 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
354 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
355 for the reason.
356
5aca4f71 3572012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
358
359 Avoid superfluous registering of signals. (Bug#10807)
360
361 * notifications.el (notifications-on-action-object)
362 (notifications-on-close-object): New defvars.
363 (notifications-on-action-signal, notifications-on-closed-signal):
364 Unregister the signal if not needed any longer.
365 (notifications-notify): Register `notifications-action-signal' or
366 `notifications-closed-signal', if :on-action or :on-close has been
367 passed as argument.
368
78e8b10a
CY
3692012-03-07 Chong Yidong <cyd@gnu.org>
370
371 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
372 non-X platforms.
373
69481eb8
GM
3742012-03-06 Glenn Morris <rgm@gnu.org>
375
376 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
377 (x-disown-selection-internal, x-get-selection-internal):
378 Doc fix (add arglist signatures). (Bug#10783)
379
133b8e11
KS
3802012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
381
382 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
383 Handle breakpoints with no "type".
384
99a83064
GM
3852012-03-06 Glenn Morris <rgm@gnu.org>
386
387 * files.el (locate-dominating-file): Add optional predicate argument.
388 (dir-locals-find-file): Make use of above change.
389
17798e78
TTN
3902012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
391
392 * info.el (Info-insert-dir): Also try "dir.gz".
393
eb182446
GM
3942012-03-06 Glenn Morris <rgm@gnu.org>
395
8f2114ee
GM
396 * files.el (dir-locals-find-file):
397 Ignore non-readable or non-regular files. (Bug#10928)
398
eb182446
GM
399 * files.el (locate-dominating-file): Doc fix.
400
24679323
AS
4012012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
402
403 * calendar/calendar.el (calendar-set-mode-line):
404 `getenv' returns a string. (Bug#10951)
405
01d972a9
LL
4062012-03-05 Leo Liu <sdl.web@gmail.com>
407
109aa8a9
LL
408 * simple.el (backward-delete-char-untabify): Constrain point to
409 field (Bug#10939).
410
01d972a9
LL
411 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
412
10607bea
CY
4132012-03-05 Chong Yidong <cyd@gnu.org>
414
415 * simple.el (count-words): If called from Lisp, return the word
416 count, for symmetry with `count-lines'. Arglist changed.
417 (count-words--message): Args changed. Consolidate counting code
418 from count-words and count-words-region.
419 (count-words-region): Caller changed.
420 (count-lines-region): Make it an obsolete alias.
421
5dd11cfe
TH
4222012-03-04 Tassilo Horn <tassilo@member.fsf.org>
423
424 * saveplace.el (save-place-to-alist)
425 (save-place-ignore-files-regexp): Allow value nil to disable this
426 feature.
427
c349f4e6
CY
4282012-03-04 Chong Yidong <cyd@gnu.org>
429
430 * faces.el (face-spec-reset-face): For the default face, reset the
431 attributes to default values (Bug#10748).
432
e627be4c
LMI
4332012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
434
435 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
436 previous patch: Check `message-send-mail-function', and not the
437 default function (bug#10897).
438
ebeabff4
MA
4392012-03-04 Michael Albinus <michael.albinus@gmx.de>
440
a41a6cf4
MA
441 * notifications.el (notifications-on-action-signal)
442 (notifications-on-closed-signal): Check for unique service name of
443 incoming event. Fix error in removing entry.
ebeabff4 444 (top): Register for signals with wildcard service name.
a41a6cf4 445 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 446
c1ca42b4
CY
4472012-03-04 Chong Yidong <cyd@gnu.org>
448
dc9924b8 449 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 450
ea16568d
GM
4512012-03-04 Glenn Morris <rgm@gnu.org>
452
453 * abbrev.el (copy-abbrev-table, abbrev-table-p)
454 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
455 (expand-abbrev, define-abbrev-table): Doc fixes.
456
fbae4637
LMI
4572012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
458
459 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
460 `message-default-send-mail-function' and not `send-mail-function'
461 when doing the prompting for `sendmail-query-once' before sending
462 in Message buffers (bug#10897).
463
a1e7225c
LMI
464 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
465 This is inconsistent with all the other stream functions, which leave
466 the setting up to the higher levels (if so wanted) (bug#10931).
467
56d093a9
AM
4682012-03-02 Alan Mackenzie <acm@muc.de>
469
470 Depessimize the handling of very large macros.
471
472 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
473 (c-macro-cache-syntactic): New variables to implement a one
474 element macro cache.
475 (c-invalidate-macro-cache): New function.
476 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
477 Adapt to use the new cache.
478 (c-state-safe-place): Use better the cache of safe positions.
479 (c-state-semi-nonlit-pos-cache)
480 (c-state-semi-nonlit-pos-cache-limit):
481 New variables for...
482 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
483 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
484 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
485 Use c-state-semi-safe-place.
56d093a9 486
dbbc2e69
SM
487 * progmodes/cc-langs.el (c-get-state-before-change-functions):
488 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 489
817e5c3d
MA
4902012-03-02 Michael Albinus <michael.albinus@gmx.de>
491
dbbc2e69
SM
492 * jka-compr.el (jka-compr-call-process):
493 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
494 not remote.
495
a032a702
MA
4962012-03-01 Michael Albinus <michael.albinus@gmx.de>
497
498 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
499 access of FILE2, if FILE1 does not exist.
500
99a54f21
MA
501 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
502 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
503
504 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
505 Add "PAGER=" to `process-environment'.
506
f6561e1f
MM
5072012-03-01 Michael R. Mauger <mmaug@yahoo.com>
508
509 * progmodes/sql.el: Bug fix
510 (sql-get-login-ext): Save login values in globals.
511 (sql-get-login): Use new version of `sql-get-login-ext'.
512 (sql-interactive-mode): Set global `sql-connection' to nil.
513 (sql-connect): Set global values for connection.
514 (sql-product-interactive): Save global values as buffer local.
515
2d44d9cc
LL
5162012-02-29 Leo Liu <sdl.web@gmail.com>
517
518 * abbrev.el (define-abbrevs): Reset sys to nil.
519
96b49301 5202012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
521
bf7f9bc5
JB
522 * files.el (file-equal-p): Rename from `files-equal-p'.
523 Return nil when one or both files don't exist.
96b49301 524 (file-subdir-of-p): Now only top directory must exists,
525 return nil if it doesn't.
bf7f9bc5
JB
526 (copy-directory): No need to test with `file-subdir-of-p' after
527 creating dir.
528 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
529 to `file-equal-p'.
96b49301 530
44e97401
GM
5312012-02-28 Glenn Morris <rgm@gnu.org>
532
533 * shell.el (shell-mode):
534 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
535 * play/landmark.el (landmark-font-lock-face-O):
536 * play/handwrite.el (handwrite):
537 * play/gomoku.el (gomoku-O):
538 * net/browse-url.el (browse-url-browser-display):
539 * international/mule.el (define-charset):
540 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
541 * filesets.el (filesets-find-file-delay):
542 * eshell/em-xtra.el (eshell-xtra):
543 * eshell/em-unix.el (eshell-grep):
544 * emulation/viper.el (viper-mode):
545 * emacs-lisp/regexp-opt.el (regexp-opt-group):
546 * emacs-lisp/easymenu.el (easy-menu-define):
547 * calendar/timeclock.el (timeclock-use-display-time):
548 * bs.el (bs-mode):
549 * bookmark.el (bookmark-save-flag):
550 Doc fix (standardize possessive apostrophe usage).
551
c98c6276
CY
5522012-02-27 Chong Yidong <cyd@gnu.org>
553
bf7f9bc5
JB
554 * emulation/viper-cmd.el (viper-intercept-ESC-key):
555 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 556
c98c6276
CY
557 * font-lock.el (font-lock-specified-p): Rename from
558 font-lock-spec-present. Callers changed.
559
9c62cd04 5602012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 561
bf7f9bc5
JB
562 * emacs-lisp/package.el (package-compute-transaction):
563 Handle holding a package version to t in package-load-list.
8ac9e529 564
530739c9
MA
5652012-02-26 Michael Albinus <michael.albinus@gmx.de>
566
567 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
568 (tramp-get-inode, tramp-get-device): Use cached values.
569
487915d7
AM
5702012-02-26 Alan Mackenzie <acm@muc.de>
571
572 Check there is a font-lock specification before doing initial
573 fontification.
574
575 * font-core.el (font-lock-mode): Move the conditional from
576 :after-hook to font-lock-initial-fontify.
577 (font-lock-default-function): Move the check for a specification
578 to font-lock-spec-present.
579
dc9924b8 580 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
581 (font-lock-spec-present): New function.
582
4fd96557
JB
5832012-02-26 Jim Blandy <jimb@red-bean.com>
584
585 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
586 (gdb-send): Apply it to the operand of the '-interpreter-exec
587 console' command, so that we can pass arguments with (say) quotes
588 in them. Store exact string sent in gdb-debug-log (Bug#10765).
589
9a4888c0
CY
5902012-02-26 Chong Yidong <cyd@gnu.org>
591
07498861
CY
592 * help-fns.el (describe-function-1): Clarify description of
593 remapping (Bug#10844).
594
9a4888c0
CY
595 * files.el (files-equal-p): Doc fix.
596 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
597 and quit the loop once a mismatch is found.
598
ea8fb88d
JB
5992012-02-25 Juanma Barranquero <lekktu@gmail.com>
600
601 * bs.el (bs--show-with-configuration): Don't throw an error
602 if the window cannot be split; otherwise, subsequent calls to
603 bs-show fail, restoring a stale window config. (Bug#10882)
604
525795c1
JD
6052012-02-25 Jan Djärv <jan.h.d@swipnet.se>
606
607 * term/ns-win.el (global-map): Bind ns-drag-file to
608 ns-find-file (Bug#5855, Bug#10050).
609
f008086f
AS
6102012-02-25 Andreas Schwab <schwab@linux-m68k.org>
611
612 * calendar/parse-time.el (parse-time-string): Allow extractor to
613 return nil.
614
a3fcfa99
MA
6152012-02-25 Michael Albinus <michael.albinus@gmx.de>
616
91027d08
JB
617 * net/tramp.el (tramp-file-name-for-operation):
618 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
619
620 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
621 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
622 Add COPY-CONTENTS argument.
a3fcfa99 623
67b0de11
CY
6242012-02-25 Chong Yidong <cyd@gnu.org>
625
626 Add custom groups for VC backends, for consistency with vc-bzr.
627
628 * vc/vc-arch.el (vc-arch):
629 * vc/vc-cvs.el (vc-cvs):
630 * vc/vc-git.el (vc-git):
631 * vc/vc-hg.el (vc-hg):
632 * vc/vc-mtn.el (vc-mtn):
633 * vc/vc-rcs.el (vc-rcs):
634 * vc/vc-sccs.el (vc-sccs):
635 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
636 All relevant defcustoms reassigned.
637
3c9dfce6
CY
6382012-02-25 Chong Yidong <cyd@gnu.org>
639
1339bf43
CY
640 * newcomment.el (comment-styles): Add autoload (Bug#10868).
641
3c9dfce6
CY
642 * term/x-win.el (x-initialize-window-system): Reduce default for
643 x-selection-timeout to 5 seconds (Bug#8869).
644
53a46cd0 6452012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 646
53a46cd0 647 * files.el (file-subdir-of-p): Fix typo.
14a8a663 648
25b2e303 6492012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
650
ec70a47d
GM
651 * files.el (files-equal-p, file-subdir-of-p): New functions.
652 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 653 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
654 * dired-aux.el (dired-copy-file-recursive): Same.
655 (dired-create-files): Modify destination when source is equal to
656 dest when copying files.
53a46cd0 657 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 658
914260cd
MA
6592012-02-24 Michael Albinus <michael.albinus@gmx.de>
660
661 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
662 (Bug#10874)
663
2cb228f7
AM
6642012-02-23 Alan Mackenzie <acm@muc.de>
665
666 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
667 parameter "after-hook:" to allow the expansion to run code after
668 the execution of the mode hooks.
669
670 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 671 from font-lock-mode-internal.
2cb228f7 672
91027d08 673 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
674 :after-hook.
675
8f0fde21
SM
6762012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
677
3e88618b
SM
678 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
679 (completion--cache-all-sorted-completions): New function.
680 (completion-all-sorted-completions): Use it.
681 (completion--do-completion, minibuffer-force-complete):
682 Use it to re-instate the flush hook.
683
8f0fde21
SM
684 * icomplete.el (icomplete-completions): Replace last fix with a better
685 one (bug#10850).
686
8e911f6f
DG
6872012-02-23 Dmitry Gutov <dgutov@yandex.ru>
688
689 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
690 when it might call us back infinitely (bug#10797).
691
49fe4321
GM
6922012-02-23 Glenn Morris <rgm@gnu.org>
693
694 * minibuffer.el (completion-category-overrides): Doc fix.
695
b291b572
SM
6962012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * minibuffer.el (completion-table-with-context): Fix inf-loop.
699 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
700
31a9ef2e
GM
7012012-02-23 Glenn Morris <rgm@gnu.org>
702
5e6e6794 703 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
704 (authors-obsolete-files-regexps, authors-ignored-files)
705 (authors-ambiguous-files, authors-renamed-files-alist):
706 Add more entries.
707
0bd1e074
JL
7082012-02-23 Juri Linkov <juri@jurta.org>
709
710 * isearch.el (isearch-occur): Sync interactive spec with occur's
711 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
712
b617673c
JL
713 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
714
19e9789e
JL
7152012-02-22 Juri Linkov <juri@jurta.org>
716
717 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
718 (ucs-insert): Doc fix. Check for hex digits in the string.
719 Don't display `nil' in the error message. (Bug#10857)
720
f41ce09d
AM
7212012-02-22 Alan Mackenzie <acm@muc.de>
722
7a71b18d 723 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 724
ac2eceee
GM
7252012-02-22 Glenn Morris <rgm@gnu.org>
726
727 * ffap.el (ffap-c-path):
728 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
729
abd1f678
CY
7302012-02-22 Chong Yidong <cyd@gnu.org>
731
732 * custom.el (load-theme): Doc fix.
733
f25aef2e
GM
7342012-02-22 Glenn Morris <rgm@gnu.org>
735
736 * dired-x.el (dired-guess-shell-alist-default):
737 Remove escape sequences from nroff output. (Bug#172)
738
5f8dc2ca
GM
7392012-02-21 Glenn Morris <rgm@gnu.org>
740
6ff86ec4
GM
741 * vc/emerge.el (emerge-defvar-local):
742 Set `permanent-local' property rather than unused `preserved'.
743
be3223a3 744 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
745 (picture-mode-map): Use it. (Bug#10860)
746 (picture-mode): Doc fix.
747
3fe58f4f
JB
7482012-02-21 Juanma Barranquero <lekktu@gmail.com>
749
750 * newcomment.el (uncomment-region-default): Remove unused binding.
751
f9a998c3
GM
7522012-02-21 Glenn Morris <rgm@gnu.org>
753
754 * textmodes/picture.el (picture-motion, picture-motion-reverse)
755 (picture-self-insert, picture-tab-chars): Doc fix.
756 (picture-mode-map): Fix C-a, C-e.
757
c6029348
GM
7582012-02-20 Glenn Morris <rgm@gnu.org>
759
760 * emacs-lisp/authors.el (authors-aliases): Add another entry.
761
ab1ce9d7
LL
7622012-02-20 Leo Liu <sdl.web@gmail.com>
763
764 * icomplete.el (icomplete-completions): Check FROM arg before
765 passing to substring (Bug#10850).
766
0fd40f89
CY
7672012-02-19 Chong Yidong <cyd@gnu.org>
768
769 * comint.el: Require ansi-color.
770 (comint-output-filter-functions): Add ansi-color-process-output.
771
772 * ansi-color.el: Don't set comint-output-filter-functions; it is
773 now in the initial value defined in comint.el.
774 (ansi-color-apply-face-function): New variable.
775 (ansi-color-apply-on-region): Use it.
776 (ansi-color-apply-overlay-face): New function.
777
778 * shell.el (shell): No need to require ansi-color.
779 (shell-mode): Use ansi-color-apply-face-function to highlight
780 color escapes using font-lock-face property (Bug#10835).
781
20af2394
CY
7822012-02-19 Chong Yidong <cyd@gnu.org>
783
784 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
785 mode-line formats (Bug#10839).
786
e23a3fbe
GM
7872012-02-18 Glenn Morris <rgm@gnu.org>
788
b474519e
GM
789 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
790
791 * mail/undigest.el (unforward-rmail-message): Doc fix.
792
e23a3fbe
GM
793 * saveplace.el (save-place-ignore-files-regexp): Add :version.
794
57939ff4
EZ
7952012-02-18 Eli Zaretskii <eliz@gnu.org>
796
797 * international/characters.el (script-list): Sync with the latest
798 Unicode Character Database.
799
0c23686e
AS
8002012-02-18 Andreas Schwab <schwab@linux-m68k.org>
801
802 * international/titdic-cnv.el: Remove duplicate coding tag.
803 * language/cham.el: Likewise.
804 * language/tai-viet.el: Likewise.
805
6818b449
GM
8062012-02-18 Glenn Morris <rgm@gnu.org>
807
808 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
809 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
810 (calendar-bahai-all-holidays-flag, calendar-other-dates):
811 * calendar/diary-lib.el (diary-abbreviated-year-flag):
812 * calendar/holidays.el (holiday-bahai-holidays)
813 (calendar-holidays, list-holidays):
814 Use utf-8 Bahá'í in doc-strings, menus, etc.
815
0311a3fc
TH
8162012-02-17 Tassilo Horn <tassilo@member.fsf.org>
817
818 * saveplace.el (save-place-ignore-files-regexp): New variable
819 allowing for excluding files from saving their location of point.
820 The default value matches the temporary commit message editing
821 files from Git, SVN, Bazaar, and Mercurial.
822 (save-place-to-alist): Use it.
823
eb864a71
LM
8242012-02-17 Lawrence Mitchell <wence@gmx.li>
825 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * newcomment.el (uncomment-region-default): Don't leave extra space
828 when an arg is provided (bug#8150).
829
ee0ce425
TZ
8302012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
831
eb864a71 832 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 833
95ddf442
GM
8342012-02-17 Glenn Morris <rgm@gnu.org>
835
836 * net/socks.el: Require network-stream. (Bug#10599)
837
48dd1e39 8382012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
839
840 * international/charprop.el:
841 * international/uni-name.el:
842 * international/uni-old-name.el:
843 * international/uni-comment.el: Regenerate.
844
d68cd087
GM
8452012-02-16 Glenn Morris <rgm@gnu.org>
846
847 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
848 Interactively in calendar buffer, give an error if not on a date.
849
13932042
GM
8502012-02-15 Glenn Morris <rgm@gnu.org>
851
852 * shell.el (shell-delimiter-argument-list):
853 Revert 2011-02-17 change. (Bug#8027)
854
c3a70e2b
CY
8552012-02-15 Chong Yidong <cyd@gnu.org>
856
60236b0d
CY
857 * minibuffer.el (completion-at-point-functions): Doc fix.
858
c3a70e2b
CY
859 * custom.el (defcustom): Doc fix; note use of defvar.
860
9f26dc24
GM
8612012-02-15 Glenn Morris <rgm@gnu.org>
862
863 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
864 Doc fixes.
865
6546b134
GM
8662012-02-14 Glenn Morris <rgm@gnu.org>
867
868 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
869
d29b2b4c
LI
8702012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
871
872 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
873 way the ports list is computed.
835bdcba
LI
874 (smtpmail-query-smtp-server): Prompt the user for a port number if
875 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 876
08dcdbc9
TZ
8772012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
878
879 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
880
2605051a
GM
8812012-02-13 Glenn Morris <rgm@gnu.org>
882
883 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
884
7ee99f32
TZ
8852012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
886
887 * net/gnutls.el (gnutls-trustfiles): New variable.
888 (gnutls-negotiate): Use it.
889
5f0af64f
LI
8902012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
891
892 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
893 does its stuff if Gnus is running.
894
c14fcc95
AM
8952012-02-13 Alan Mackenzie <acm@muc.de>
896
897 Fix a loop in c-set-fl-decl-start.
898
7a71b18d 899 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
900 c-backward-syntactic-ws actually moves backwards.
901
142b4d90
LL
9022012-02-13 Leo Liu <sdl.web@gmail.com>
903
904 * net/rcirc.el (rcirc-markup-attributes): Move point to the
905 beginning so that all \C-o chars are removed.
906
fa9958a6
TZ
9072012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
908
dc9924b8 909 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 910
0bc5886a
AM
9112012-02-12 Alan Mackenzie <acm@muc.de>
912
913 Fix infinite loop with long macros.
914 * cc-engine.el (c-state-safe-place): Handle macros properly.
915
d4bd55e7
CY
9162012-02-12 Chong Yidong <cyd@gnu.org>
917
918 * window.el (display-buffer): Doc fix (Bug#10785).
919
66f3fe22
GM
9202012-02-12 Glenn Morris <rgm@gnu.org>
921
bd7da63e
GM
922 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
923 (x-disown-selection-internal, x-get-selection-internal):
924 Sync docs with the xselect.c versions.
925
66f3fe22
GM
926 * allout-widgets.el: Add missing license notice.
927
3e0d2fa7
GM
9282012-02-11 Glenn Morris <rgm@gnu.org>
929
cfecdf09
GM
930 * select.el (x-get-selection-internal, x-own-selection-internal)
931 (x-disown-selection-internal):
932 * x-dnd.el (x-get-selection-internal): Update declarations.
933
6d216d7f
GM
934 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
935
2bed3f04
GM
936 * window.el (window-sides-slots):
937 * tool-bar.el (tool-bar-position):
938 * term/xterm.el (xterm-extra-capabilities):
939 * ses.el (ses-self-reference-early-detection):
940 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
941 (verilog-auto-wire-type)
942 (verilog-auto-delete-trailing-whitespace)
943 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
944 (verilog-auto-tieoff-declaration):
945 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
946 (sql-oracle-statement-starters, sql-oracle-scan-on):
947 * progmodes/prolog.el (prolog-align-comments-flag)
948 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
949 (prolog-left-indent-regexp, prolog-paren-indent-p)
950 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
951 (prolog-types, prolog-mode-specificators)
952 (prolog-determinism-specificators, prolog-directives)
953 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
954 (prolog-electric-dot-flag)
955 (prolog-electric-dot-full-predicate-template)
956 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
957 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
958 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
959 (prolog-program-switches, prolog-prompt-regexp)
960 (prolog-debug-on-string, prolog-debug-off-string)
961 (prolog-trace-on-string, prolog-trace-off-string)
962 (prolog-zip-on-string, prolog-zip-off-string)
963 (prolog-use-standard-consult-compile-method-flag)
964 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
965 (prolog-imenu-max-lines, prolog-info-predicate-index)
966 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
967 (prolog-char-quote-workaround):
968 * progmodes/cc-vars.el (c-defun-tactic):
969 * net/tramp.el (tramp-encoding-command-interactive)
970 (tramp-local-end-of-line):
971 * net/soap-client.el (soap-client):
972 * net/netrc.el (netrc-file):
973 * net/gnutls.el (gnutls):
974 * minibuffer.el (completion-category-overrides)
975 (completion-cycle-threshold)
976 (completion-pcm-complete-word-inserts-delimiters):
977 * man.el (Man-name-local-regexp):
978 * mail/feedmail.el (feedmail-display-full-frame):
979 * international/characters.el (glyphless-char-display-control):
980 * eshell/em-ls.el (eshell-ls-date-format):
981 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
982 (lisp-lambda-list-keyword-parameter-indentation)
983 (lisp-lambda-list-keyword-parameter-alignment):
984 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
985 * dired-x.el (dired-omit-verbose):
986 * cus-theme.el (custom-theme-allow-multiple-selections):
987 * calc/calc.el (calc-highlight-selections-with-faces)
988 (calc-lu-field-reference, calc-lu-power-reference)
989 (calc-note-threshold):
990 * battery.el (battery-mode-line-limit):
991 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
992 (archive-7z-update):
993 * allout.el (allout-prefixed-keybindings)
994 (allout-unprefixed-keybindings)
995 (allout-inhibit-auto-fill-on-headline)
996 (allout-flattened-numbering-abbreviation):
997 * allout-widgets.el (allout-widgets-auto-activation)
998 (allout-widgets-icons-dark-subdir)
999 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1000 (allout-widgets-theme-dark-background)
1001 (allout-widgets-theme-light-background)
1002 (allout-widgets-item-image-properties-emacs)
1003 (allout-widgets-item-image-properties-xemacs)
1004 (allout-widgets-run-unit-tests-on-load)
1005 (allout-widgets-time-decoration-activity)
1006 (allout-widgets-hook-error-post-time)
1007 (allout-widgets-track-decoration):
1008 Add missing :version tags to new defcustoms and defgroups.
1009
5fec1b8e
GM
1010 * progmodes/sql.el (sql-ansi-statement-starters)
1011 (sql-oracle-statement-starters): Add custom type.
1012
3e0d2fa7
GM
1013 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1014 (prolog-system-version): Give it a type.
1015
90b671e2
EZ
10162012-02-11 Eli Zaretskii <eliz@gnu.org>
1017
1018 * term/pc-win.el (x-select-text, x-selection-owner-p)
1019 (x-own-selection-internal, x-disown-selection-internal)
1020 (x-get-selection-internal): Sync doc strings and argument lists
1021 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1022
5eac0c02
LL
10232012-02-11 Leo Liu <sdl.web@gmail.com>
1024
1025 * progmodes/python.el (python-end-of-statement): Fix infinite
1026 loop. (Bug#10788)
1027
f82cb659
GM
10282012-02-10 Glenn Morris <rgm@gnu.org>
1029
1030 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1031 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1032
cc26d239
LI
10332012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1034
1035 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1036 about SMTP before checking the From header.
1037
91027d08 1038 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1039 into own function for reuse by emacsbug.el.
1040
1be3ca5a
LL
10412012-02-10 Leo Liu <sdl.web@gmail.com>
1042
1043 * subr.el (condition-case-unless-debug): Rename from
1044 condition-case-no-debug. All callers changed.
1045 (with-demoted-errors): Fix caller.
1046
1047 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1048 * nxml/rng-valid.el (rng-do-some-validation):
1049 * emacs-lisp/package.el (package-refresh-contents)
1050 (package-menu-execute):
1051 * desktop.el (desktop-create-buffer):
91027d08 1052 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1053
b011fbfe
GM
10542012-02-10 Glenn Morris <rgm@gnu.org>
1055
b2096d72
GM
1056 * textmodes/bibtex.el:
1057 Add missing :version tags for new/changed defcustoms.
1058
b011fbfe
GM
1059 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1060
4c7e65bf
LI
10612012-02-09 Lars Ingebrigtsen <larsi@rusty>
1062
1063 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1064 (smtpmail-via-smtp): Use it, or fall back on the From address.
1065 (smtpmail-send-it): Ditto.
1066
f3934f6f
SM
10672012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1070 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1071 (byte-compile-tmp-var): New const.
1072 (byte-compile-defvar): Use it to minimize .elc size.
1073 Just use `defvar' rather than simulate it (bug#10761).
1074
a075a2c5
GM
10752012-02-09 Glenn Morris <rgm@gnu.org>
1076
cf3aa21b
GM
1077 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1078
354998cd
GM
1079 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1080 Add :version tags.
1081
dc9924b8
SM
1082 * progmodes/compile.el (compilation-error-screen-columns)
1083 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1084
dab3703d
GM
1085 * vc/log-view.el (log-view-toggle-entry-display):
1086 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1087
3f88cd72
GM
1088 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1089 (report-emacs-bug-can-use-xdg-email):
1090 (report-emacs-bug-insert-to-mailer): Doc fixes.
1091 (report-emacs-bug): Message fix.
1092
d95b247d
GM
1093 * net/browse-url.el (browse-url-can-use-xdg-open)
1094 (browse-url-xdg-open): Doc fixes.
1095
a075a2c5
GM
1096 * electric.el (electric-indent-mode, electric-pair-mode)
1097 (electric-layout-rules, electric-layout-mode): Doc fixes.
1098 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1099
ffb6157e
MR
11002012-02-08 Martin Rudalics <rudalics@gmx.at>
1101
1102 * server.el (server-unselect-display): Don't inadvertently kill
1103 the current buffer. (Bug#10729)
1104
e1ac4066
GM
11052012-02-08 Glenn Morris <rgm@gnu.org>
1106
34e8a2da
GM
1107 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1108 (sql-list-table): Doc fixes.
1109
b4ac6e8c
GM
1110 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1111 Comment out (does nothing).
1112
e1ac4066
GM
1113 * completion.el (dynamic-completion-mode):
1114 * dirtrack.el (dirtrack-debug-mode):
1115 * electric.el (electric-layout-mode):
1116 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1117 * face-remap.el (text-scale-mode, buffer-face-mode):
1118 * iimage.el (iimage-mode):
1119 * image-mode.el (image-transform-mode):
1120 * minibuffer.el (completion-in-region-mode):
1121 * scroll-lock.el (scroll-lock-mode):
1122 * simple.el (next-error-follow-minor-mode):
1123 * tar-mode.el (tar-subfile-mode):
1124 * tooltip.el (tooltip-mode):
1125 * vcursor.el (vcursor-use-vcursor-map):
1126 * wid-browse.el (widget-minor-mode):
1127 * emulation/tpu-edt.el (tpu-edt-mode):
1128 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1129 * international/iso-ascii.el (iso-ascii-mode):
1130 * language/thai-util.el (thai-word-mode):
1131 * mail/supercite.el (sc-minor-mode):
1132 * net/goto-addr.el (goto-address-mode):
1133 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1134 * progmodes/cwarn.el (cwarn-mode):
1135 * progmodes/flymake.el (flymake-mode):
1136 * progmodes/glasses.el (glasses-mode):
1137 * progmodes/hideshow.el (hs-minor-mode):
1138 * progmodes/pascal.el (pascal-outline-mode):
1139 * textmodes/enriched.el (enriched-mode):
1140 * vc/smerge-mode.el (smerge-mode):
1141 Doc fixes (minor mode argument).
1142
5e0d957f
EZ
11432012-02-07 Eli Zaretskii <eliz@gnu.org>
1144
1145 * ls-lisp.el (ls-lisp-sanitize): New function.
1146 (ls-lisp-insert-directory): Use it to fix or remove any elements
1147 in file-alist with missing attributes. (Bug#4673)
1148
98d7371e
AM
11492012-02-07 Alan Mackenzie <acm@muc.de>
1150
1151 Fix spurious recognition of c-in-knr-argdecl.
1152
1153 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1154 putative K&R region.
1155
667ced3a
AM
11562012-02-07 Alan Mackenzie <acm@muc.de>
1157
eb864a71
LM
1158 * progmodes/cc-engine.el (c-forward-objc-directive):
1159 Prevent looping in "#pragma mark @implementation".
667ced3a 1160
5b77774d
MA
11612012-02-07 Michael Albinus <michael.albinus@gmx.de>
1162
1163 * notifications.el (notifications-on-closed-signal): Make `reason'
1164 optional. (Bug#10744)
1165
af008560
GM
11662012-02-07 Glenn Morris <rgm@gnu.org>
1167
60d47423
GM
1168 * emacs-lisp/easy-mmode.el (define-minor-mode):
1169 Doc fixes for the macro and the mode it defines.
1170
dd605cc4
GM
1171 * image.el (imagemagick-types-inhibit): Doc fix.
1172
af008560
GM
1173 * cus-start.el (imagemagick-render-type): Add it.
1174
5cc59a37
LI
11752012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1176
1177 * progmodes/cc-mode.el
1178 (c-standard-font-lock-fontify-region-function): Set the default at
1179 load time, too, so that `font-lock-fontify-buffer' can be called
1180 without setting up the entire mode first. This fixes a bug in
1181 `mm-inline-text' with C MIME parts.
1182
9a6dd747
CY
11832012-02-06 Chong Yidong <cyd@gnu.org>
1184
2d16b285
CY
1185 * simple.el (list-processes--refresh): Delete exited processes
1186 (Bug#8094).
1187
171e9b6e
CY
1188 * comint.el (comint-next-prompt): next-single-char-property-change
1189 and prev-single-char-property-change never return nil (Bug#8657).
1190
9a6dd747
CY
1191 * custom.el (defcustom): Doc fix (Bug#9711).
1192
aa4589a7
CY
11932012-02-05 Chong Yidong <cyd@gnu.org>
1194
5c2a252f
CY
1195 * cus-edit.el (custom-variable-reset-backup): Quote the value
1196 before storing it in the customized-value property (Bug#6712).
4aab9006 1197 (custom-display): Add a customization type tag.
983b9602 1198 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1199
aa4589a7
CY
1200 * wid-edit.el (widget-field-value-get): New optional arg to
1201 suppress trailing whitespace truncation.
1202 (character): Use it (Bug#2689).
1203
1ff980ae
AS
12042012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1205
1206 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1207 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1208
03988c98
CY
12092012-02-05 Chong Yidong <cyd@gnu.org>
1210
eeb6cc88
CY
1211 * cus-edit.el (custom-variable-value-create): For mismatched
1212 types, show the current value (Bug#7600).
1213
03988c98
CY
1214 * custom.el (defcustom): Doc fix.
1215
f8cdeef0
GM
12162012-02-05 Glenn Morris <rgm@gnu.org>
1217
1218 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1219
0696d255
JB
12202012-02-05 Juanma Barranquero <lekktu@gmail.com>
1221
1222 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1223 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1224 (pp-last-sexp): Use `looking-at-p'.
1225
34c99998
GM
12262012-02-04 Glenn Morris <rgm@gnu.org>
1227
8f05da42
GM
1228 * files.el (revert-buffer):
1229 Doc fix (mention revert-buffer-in-progress-p).
1230
f160676e
GM
1231 * emacs-lisp/ert-x.el (ert-simulate-command):
1232 Check deferred-action-list (which is obsolete) is bound.
1233
c7291ad9
GM
1234 * subr.el (with-wrapper-hook): Doc fixes.
1235
34c99998
GM
1236 * simple.el (filter-buffer-substring-functions)
1237 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1238
6283a7d3
LL
12392012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1240
1241 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1242 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1243
e96e3013
LL
12442012-02-04 Leo Liu <sdl.web@gmail.com>
1245
1246 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1247
8ded50f2
GM
12482012-02-04 Glenn Morris <rgm@gnu.org>
1249
82ff1d13
GM
1250 * image.el (image-extension-data): Add obsolete alias.
1251
987a0a16
GM
1252 * isearch.el (isearch-update): Doc fix.
1253
ea32ef46
GM
1254 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1255
8ded50f2
GM
1256 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1257
eea14f31
GM
12582012-02-03 Glenn Morris <rgm@gnu.org>
1259
1260 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1261 (image-animate-timeout): Doc fix.
1262
1263 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1264
12f381b7
GM
12652012-02-02 Glenn Morris <rgm@gnu.org>
1266
953cebf5
GM
1267 * server.el (server-auth-dir): Doc fix.
1268 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1269
12f381b7
GM
1270 * subr.el (run-mode-hooks): Doc fix.
1271
953a8c3b
JL
12722012-02-02 Juri Linkov <juri@jurta.org>
1273
1274 * image-mode.el (image-toggle-display-image): Remove tautological
1275 `major-mode' from the `derived-mode-p' test.
1276
c5d3843c
KH
12772012-02-02 Kenichi Handa <handa@m17n.org>
1278
9f6e692e 1279 * composite.el (compose-region): Cancel previous change.
c5d3843c 1280
159462d4 12812012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1282
1283 * composite.el (compose-region, compose-string): Signal error for
1284 a null string component (Bug#6988).
1285
9f562668
CY
12862012-02-01 Chong Yidong <cyd@gnu.org>
1287
e2cef717
CY
1288 * view.el (view-buffer-other-window, view-buffer-other-frame):
1289 Handle special modes like view-buffer (Bug#10650).
1290 (view-buffer): Simplify.
1291
9f562668
CY
1292 * frame.el (set-frame-font): Tweak meaning of third argument.
1293
9f6e692e
JB
1294 * dynamic-setting.el (font-setting-change-default-font):
1295 Use set-frame-font (Bug#9982).
9f562668 1296
781acb9f
GM
12972012-02-01 Glenn Morris <rgm@gnu.org>
1298
6035be52
GM
1299 * progmodes/compile.el (compilation-internal-error-properties):
1300 Respect compilation-first-column in the "*compilation*" buffer.
1301
781acb9f
GM
1302 * emacs-lisp/easy-mmode.el (define-minor-mode):
1303 Relax :variable's test for a named function.
1304
abbceb00
AM
13052012-01-31 Alan Mackenzie <acm@muc.de>
1306
1307 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1308 off by one error.
1309
fce3fdeb
CY
13102012-01-31 Chong Yidong <cyd@gnu.org>
1311
1312 * frame.el (set-frame-font): New arg ALL-FRAMES.
1313
1314 * menu-bar.el (menu-set-font): Use set-frame-font.
1315
1316 * faces.el (face-spec-reset-face): Don't apply unspecified
1317 attribute values to the default face.
1318
47893581
JB
13192012-01-31 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * progmodes/cwarn.el (cwarn): Remove dead link.
1322 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1323 Remove * from defcustom docstrings.
1324 (turn-on-cwarn-mode): Make obsolete.
1325 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1326 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1327
e58e988a
GM
13282012-01-31 Glenn Morris <rgm@gnu.org>
1329
60dc2671 1330 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1331 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1332 Allow named functions to be used as the cdr of :variable.
e58e988a 1333
7a3f511d
GM
13342012-01-30 Glenn Morris <rgm@gnu.org>
1335
1336 * emacs-lisp/authors.el (authors-fixed-entries):
1337 Remove reference to deleted file rnewspost.el.
1338
cb882333
JB
13392012-01-29 Juanma Barranquero <lekktu@gmail.com>
1340
1341 * window.el (window-with-parameter): Remove unused variable `windows'.
1342 (window--side-check): Remove unused variable `code'.
1343 (window--resize-siblings): Remove unused variable `first'.
1344 (adjust-window-trailing-edge): Remove unused variable `failed'.
1345 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1346 Use `let', not `let*'.
1347 (balance-windows-2): Remove unused variable `found'.
1348 (window--state-put-2): Remove unused variable `splits'.
1349 (window-state-put): Remove unused variable `selected'.
1350 (same-window-p): Use `string-match-p'.
1351 (display-buffer-assq-regexp): Remove unused variable `value'.
1352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1353 Mark argument ALIST as ignored.
1354 (pop-to-buffer): Remove unused variable `old-window'.
1355
907201af
EZ
13562012-01-29 Eli Zaretskii <eliz@gnu.org>
1357
1358 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1359 and .lzma compressed files.
1360
ea162670
CY
13612012-01-29 Chong Yidong <cyd@gnu.org>
1362
5b95ee8a
CY
1363 * frame.el (window-system-default-frame-alist): Doc fix.
1364
ea162670
CY
1365 * dynamic-setting.el (font-setting-change-default-font): Don't
1366 change the default face if SET-FONT argument is non-nil (Bug#9982).
1367
d6e6f4b1
SB
13682012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1369
1370 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1371
0f29fa41 13722012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1373
1374 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1375 breakpoints in files outside current directory (Bug#6098).
1376
db174434
CY
13772012-01-29 Chong Yidong <cyd@gnu.org>
1378
6b25e4e2
SE
1379 * progmodes/python.el: Require ansi-color at top-level.
1380
6df6ae42
JB
1381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1382 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1383 (lisp-mode-abbrev-table): Add doc.
1384 (lisp-mode-variables): Don't set local-abbrev-table.
1385 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1386
e70ee681
RW
13872012-01-28 Roland Winkler <winkler@gnu.org>
1388
1389 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1390
ace88aa2
RW
13912012-01-28 Roland Winkler <winkler@gnu.org>
1392
1393 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1394 (bibtex-set-dialect): Use it. Either set global values of
1395 dialect-dependent variables or bind these variables buffer-locally
1396 (Bug#10254).
1397 (bibtex-mode): Call bibtex-set-dialect via
1398 hack-local-variables-hook.
eb864a71
LM
1399 (bibtex-dialect): Update docstring.
1400 Add safe-local-variable predicate.
ace88aa2
RW
1401 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1402 bibtex-set-dialect.
1403 (bibtex-mode-map): Define menu for each dialect.
1404 (bibtex-entry): Fix docstring.
1405
93376c5b
CY
14062012-01-28 Chong Yidong <cyd@gnu.org>
1407
1408 * eshell/esh-arg.el (eshell-quote-argument): New function.
1409
1410 * eshell/esh-ext.el (eshell-invoke-batch-file):
1411 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1412 first arg to eshell-parse-command (Bug#10523).
1413
4372494f
DA
14142012-01-28 Drew Adams <drew.adams@oracle.com>
1415
1416 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1417 `default-directory' is non-nil.
1418
4d4ec1f8
EZ
14192012-01-28 Eli Zaretskii <eliz@gnu.org>
1420
1421 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1422 line that displays system-configuration-options. (Bug#9924)
1423
7c188927
DA
14242012-01-28 Drew Adams <drew.adams@oracle.com>
1425
1426 * descr-text.el (describe-char): Show information about POS, in
1427 addition to information about the character at POS. Improve and
1428 update the doc string. Change "code point" to "code point in
1429 charset", to avoid confusion with the character's Unicode code
1430 point shown above that. (Bug#10129)
1431
e0da685a
EZ
14322012-01-28 Eli Zaretskii <eliz@gnu.org>
1433
1434 * descr-text.el (describe-char): Show the raw character, not only
1435 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1436 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1437 for the reasons.
1438
70550acf
PH
14392012-01-28 Phil Hagelberg <phil@hagelb.org>
1440
eb864a71
LM
1441 * emacs-lisp/package.el (package-install):
1442 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1443
0ce8e868
CY
14442012-01-28 Chong Yidong <cyd@gnu.org>
1445
cb882333
JB
1446 * emacs-lisp/package.el (package-maybe-load-descriptor):
1447 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1448 (package-maybe-load-descriptor): Use it.
1449 (package-download-transaction): Fully load required packages
1450 inside the loop, so that `require' calls work (Bug#10593).
1451 (package-install): No need to call package-initialize now.
1452
2e7f3bea
CY
14532012-01-28 Chong Yidong <cyd@gnu.org>
1454
6e9bad14
CY
1455 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1456
f823b8ca
CY
1457 * tooltip.el (tooltip-mode): Doc fix.
1458 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1459
2680c309
CY
1460 * frame.el (set-cursor-color): Doc fix (Bug#352).
1461
d7a9e63b
CY
1462 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1463 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1464
2e7f3bea
CY
1465 * cus-edit.el (custom-buffer-create-internal): Fix search button
1466 action (Bug#10542).
2ae01800 1467 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1468
fc4f7a23
EW
14692012-01-27 Eduard Wiebe <usenet@pusto.de>
1470
1471 * dired.el (dired-mark-files-regexp):
1472 Include any subdirectory components. (Bug#10445)
1473
7dd37071
ML
14742012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1475
1476 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1477 Handle [host]:port syntax. (Bug#10533)
1478
a268160b
AH
14792012-01-27 Alex Harsanyi <harsanyi@mac.com>
1480
1481 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1482
e43273ef
GM
14832012-01-26 Glenn Morris <rgm@gnu.org>
1484
1485 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1486 * term.el (term-raw-escape-map): Use Control-X-prefix.
1487 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1488
1edf595d
MR
14892012-01-25 Martin Rudalics <rudalics@gmx.at>
1490
1491 * window.el (window-state-get, window--state-get-1): Don't deal
1492 with fixed-sizeness of windows. Simplify code.
1493
fa8eafef
JC
14942012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1495
6df6ae42
JB
1496 * window.el (window--state-get-1, window--state-put-2):
1497 Don't save and restore the mark.
fa8eafef 1498
0b21c100
CY
14992012-01-25 Chong Yidong <cyd@gnu.org>
1500
1501 * custom.el (custom-variable-p): Doc fix.
1502
5ae1a6c8
GM
15032012-01-25 Glenn Morris <rgm@gnu.org>
1504
40047858
GM
1505 * dired.el (dired-goto-file): Handle some of the more common
1506 characters that `ls -b' escapes. (Bug#10596)
1507
5ddce96c
GM
1508 * progmodes/compile.el (compilation-next-error-function):
1509 Respect compilation-first-column in the "*compilation*" buffer.
1510 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1511
5ae1a6c8
GM
1512 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1513
b559f1a9
GM
15142012-01-24 Glenn Morris <rgm@gnu.org>
1515
1516 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1517
6725d21a
JD
15182012-01-24 Julien Danjou <julien@danjou.info>
1519
1520 * color.el (color-rgb-to-hsl): Fix value computing.
1521 (color-hue-to-rgb): New function.
1522 (color-hsl-to-rgb): New function.
1523 (color-clamp, color-saturate-hsl, color-saturate-name)
1524 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1525 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1526
70df4bbe
GM
15272012-01-24 Glenn Morris <rgm@gnu.org>
1528
1529 * vc/vc-rcs.el (vc-rcs-create-tag):
1530 * vc/vc-sccs.el (vc-sccs-create-tag):
1531 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1532
802a2ae2
ML
15332012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1534
1535 * eshell/esh-util.el (eshell-read-hosts-file):
1536 Skip comment lines. (Bug#10549)
1537
d7128bb1
ML
1538 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1539
d1a5c3b4
JB
15402012-01-23 Juanma Barranquero <lekktu@gmail.com>
1541
2724d9c7
JB
1542 * subr.el (display-delayed-warnings): Doc fix.
1543 (collapse-delayed-warnings): New function to collapse identical
1544 adjacent warnings.
1545 (delayed-warnings-hook): Add it.
d1a5c3b4 1546
a5509865
MA
15472012-01-22 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1550
1551 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1552 properties, when "login-as" is set.
1553
1554 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1555 (tramp-default-user-alist): Don't add "pscp".
1556 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1557 property "login-as", if set. (Bug#10530)
1558
cc6d5805
MA
15592012-01-21 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1562 "plink1" and "psftp". (Bug#10530)
1563
15642012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1565
1566 * international/mule-cmds.el (prefer-coding-system): Show a
1567 warning message if the default value of file-name-coding-system
1568 was not changed.
1569
f0960428
JC
15702012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1571
cb882333
JB
1572 * windmove.el (windmove-reference-loc):
1573 Fix windmove-reference-loc miscalculation.
f0960428 1574
dd6f2a63
JB
15752012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1576
1577 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1578 default unit.
1579
7b447e9b
GM
15802012-01-21 Glenn Morris <rgm@gnu.org>
1581
117a9ea1
GM
1582 * international/mule.el (auto-coding-alist): Add .tbz.
1583
7b447e9b
GM
1584 * files.el (local-enable-local-variables): Doc fix.
1585 (inhibit-local-variables-regexps): Rename from
1586 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1587 Doc fix. Add some extensions from auto-coding-alist.
1588 (inhibit-local-variables-suffixes):
1589 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1590 (inhibit-local-variables-p):
1591 New function, extracted from set-auto-mode-1.
1592 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1593 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1594 (hack-local-variables): Doc fix. Make the mode-only case
1595 respect enable-local-variables and friends.
1596 Respect inhibit-local-variables-regexps for file-locals, but
1597 not for directory-locals.
1598 (set-visited-file-name):
1599 Take account of inhibit-local-variables-regexps.
1600 Whether it applies may change as the file name is changed.
1601 * jka-cmpr-hook.el (jka-compr-install):
1602 * jka-compr.el (jka-compr-uninstall):
1603 Update for inhibit-first-line-modes-suffixes name change.
1604
dd6e3cdd
MR
16052012-01-20 Martin Rudalics <rudalics@gmx.at>
1606
1607 * help-macro.el (make-help-screen): Temporarily restore original
1608 binding for minor-mode-map-alist (Bug#10454).
1609
0d0deb38
JD
16102012-01-19 Julien Danjou <julien@danjou.info>
1611
1612 * color.el (color-name-to-rgb): Use the white color to find the max
1613 color component value and return correctly computed values.
1614 (color-name-to-rgb): Add missing float conversion for max value.
1615
34a02f46
MR
16162012-01-19 Martin Rudalics <rudalics@gmx.at>
1617
1618 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1619 special state value for window-persistent-parameters.
1620 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1621 (window--state-put-2): Reset all window parameters to nil before
1622 assigning values of persistent parameters.
1623
606c44c4
AM
16242012-01-18 Alan Mackenzie <acm@muc.de>
1625
1626 Eliminate sluggishness and hangs in fontification of "semicolon
1627 deserts".
1628
cb882333
JB
1629 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1630 Change value 10000 -> 3000.
606c44c4
AM
1631 (c-state-safe-place): Reformulate so it doesn't stack up an
1632 infinite number of wrong entries in c-state-nonlit-pos-cache.
1633 (c-determine-limit-get-base, c-determine-limit): New functions to
1634 determine backward search limits disregarding literals.
1635 (c-find-decl-spots): Amend commenting.
1636 (c-cheap-inside-bracelist-p): New function which detects "={".
1637
1638 * progmodes/cc-fonts.el
1639 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1640 backward search.
1641 (c-font-lock-declarations): Fix an occurrence of point being
1642 undefined. Check additionally for point being in a bracelist or
1643 near a macro invocation without a semicolon so as to avoid a
1644 fruitless time consuming search for a declarator. Give a more
1645 precise search limit for declarators using the new
1646 c-determine-limit.
1647
f3860cea
GM
16482012-01-18 Glenn Morris <rgm@gnu.org>
1649
1650 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1651 (set-auto-mode): Doc fixes.
1652
1db03b16
GM
16532012-01-17 Glenn Morris <rgm@gnu.org>
1654
0e6038be
GM
1655 * isearch.el (search-nonincremental-instead): Fix doc typo.
1656
1db03b16
GM
1657 * dired.el (dired-insert-directory): Handle newlines in directory name.
1658 (dired-build-subdir-alist): Unescape newlines in directory name.
1659
4cb0aa75
MA
16602012-01-17 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1663 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1664 (tramp-action-terminal): Use it. (Bug#10530)
1665
1d00653d
SM
16662012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1669
6a6ee00d
MR
16702012-01-16 Martin Rudalics <rudalics@gmx.at>
1671
1672 * window.el (window-state-ignored-parameters): Remove variable.
1673 (window--state-get-1): Rename argument MARKERS to IGNORE.
1674 Handle persistent window parameters. Make copy of clone-of
1675 parameter only if requested. (Bug#10348)
1676 (window--state-put-2): Install a window parameter only if it has
1677 a non-nil value or an existing parameter shall be overwritten.
1678
97912def
MA
16792012-01-15 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1682
688070a5
EZ
16832012-01-14 Eli Zaretskii <eliz@gnu.org>
1684
1685 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1686 don't pass the (nil) value of `upnode' to string-match.
1687
301afadc
CY
16882012-01-14 Chong Yidong <cyd@gnu.org>
1689
1690 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1691 Fix values recognized by the cursorBlink resource.
301afadc 1692
9e5788aa
PE
16932012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1694
1695 * epg.el (epg--make-temp-file): Avoid permission race condition
1696 when running on old Emacs versions (bug#10403).
1697
3cdb7f5a
GM
16982012-01-14 Glenn Morris <rgm@gnu.org>
1699
1700 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1701
8c82b1b4
AM
17022012-01-13 Alan Mackenzie <acm@muc.de>
1703
1704 Fix filling for when filladapt mode is enabled.
1705
1706 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1707 c-mask-paragraph, pass in `fill-paragraph' rather than
1708 `fill-region-as-paragraph'. (This is a reversion of a previous
1709 change.)
eb864a71
LM
1710 * progmodes/cc-mode.el (c-basic-common-init):
1711 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1712
e517eda4
GM
17132012-01-13 Glenn Morris <rgm@gnu.org>
1714
1498536e
GM
1715 * dired.el (dired-switches-escape-p): New function.
1716 (dired-insert-directory): Use dired-switches-escape-p.
1717 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1718
e517eda4
GM
1719 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1720
328f984d
GM
17212012-01-12 Glenn Morris <rgm@gnu.org>
1722
1723 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1724 changes in adaptive-fill-regexp. (Bug#10276)
1725
2cc769a8
AM
17262012-01-11 Alan Mackenzie <acm@muc.de>
1727
1728 Fix Emacs bug #10463 - put `widen's around the critical spots.
1729
1d00653d 1730 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1731 widen around each invocation of c-state-pp-to-literal. Remove an
1732 unused let variable.
1733
e52c37fa
GM
17342012-01-11 Glenn Morris <rgm@gnu.org>
1735
1736 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1737 Doc fix.
e52c37fa 1738
96f8741e
CY
17392012-01-10 Chong Yidong <cyd@gnu.org>
1740
1d00653d
SM
1741 * net/network-stream.el (network-stream-open-starttls):
1742 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1743 response to the capability command.
1744
b09a806e
GM
17452012-01-10 Glenn Morris <rgm@gnu.org>
1746
1747 * mail/unrmail.el (unrmail): Tweak previous change.
1748
7655cb66
CY
17492012-01-09 Chong Yidong <cyd@gnu.org>
1750
1751 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1752
9d5a8f0b
AM
17532012-01-08 Alan Mackenzie <acm@muc.de>
1754
1755 Optimise font locking in long enum definitions.
1756
1757 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1758 arm to a cond form to handle enums.
1759 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1760 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1761
9a0115ab 17622012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1763
1764 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1765 (Bug#10401)
6bb72cbd 1766
f186bb95
LMI
17672012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1768
29232a68
LMI
1769 * faces.el (set-face-attribute): Clarify the meaning of the nil
1770 frame (bug#10294).
1771
4e5d086d
LMI
1772 * subr.el (with-selected-frame): Mention that the selected frame
1773 is restored (bug#9980).
1774
8e66aebe
LMI
1775 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1776 (bug#9759).
1777
cd394be1 1778 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1779 (password-read): Don't autoload unused function.
1780
adf4e762
JB
17812012-01-07 Juanma Barranquero <lekktu@gmail.com>
1782
1783 * progmodes/which-func.el (which-func-mode): Turn into a
1784 non-interactive function and mark as obsolete (bug#10428).
1785
89bd9ccd
CY
17862012-01-06 Chong Yidong <cyd@gnu.org>
1787
1788 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1789 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1790 functions, along with 1 and -1.
1791
4afee9d5
EZ
17922012-01-06 Eli Zaretskii <eliz@gnu.org>
1793
1794 * time.el (display-time-load-average)
1795 (display-time-default-load-average): Doc fixes. See the thread
1796 starting at
1797 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1798 for the details.
1799
536aea70
GM
18002012-01-06 Glenn Morris <rgm@gnu.org>
1801
665ae865
GM
1802 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1803 has no messages. (Bug#10377)
1804
c869783d
GM
1805 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1806 than Info-edit. (Bug#10385)
1807
2bb4227e
GM
1808 * time.el (display-time-load-average, display-time-next-load-average):
1809 Doc fixes.
1810
7d5944b9
GM
1811 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1812 local setting of buffer-read-only to the input buffer. (Bug#10419)
1813
536aea70
GM
1814 * calendar/calendar.el (calendar-mode):
1815 Locally set scroll-margin to 0. (Bug#10379)
1816
7dccca16
UM
18172012-01-06 Ulrich Mueller <ulm@gentoo.org>
1818
1819 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1820
afbb7930
GM
18212012-01-05 Glenn Morris <rgm@gnu.org>
1822
1823 * eshell/em-unix.el (diff-no-select): Autoload it.
1824 (eshell/diff): Use diff-no-select. (Bug#10420)
1825
04482335
CY
18262012-01-05 Chong Yidong <cyd@gnu.org>
1827
7baca3bc
CY
1828 * shell.el (shell-dynamic-complete-functions): Revert last change.
1829 (shell-command-completion-function): New function.
1830 (shell-completion-vars): Use it to implement
1831 shell-completion-execonly (Bug#10417).
1832
04482335
CY
1833 * custom.el (enable-theme): Don't set custom-safe-themes.
1834
1d00653d
SM
1835 * cus-theme.el (custom-theme-merge-theme):
1836 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1837
bb5aa5d6
MM
18382012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1839
1840 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1841 first prompt in `sql-interacive-mode'.
1842 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1843 keywords.
6df6ae42 1844 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1845 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1846 context of original buffer. Invoke `sql-login-hook'.
1847
a7183d7c
EZ
18482012-01-04 Eli Zaretskii <eliz@gnu.org>
1849
1850 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1851 letters in cite-prefix.
1852
a1eacd1e
LMI
18532012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1854
1855 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1856
787cdb34
CY
18572012-01-03 Chong Yidong <cyd@gnu.org>
1858
1d00653d
SM
1859 * shell.el (shell-dynamic-complete-functions):
1860 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1861 comint-filename-completion first (Bug#10417).
1862
30710442
RS
18632012-01-02 Richard Stallman <rms@gnu.org>
1864
1865 * battery.el (battery-status-function):
1866 Detect when to use battery-yeeloong-sysfs.
1867 (battery-echo-area-format): Add string for Yeeloong.
1868 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1869 (battery-yeeloong-sysfs): New function.
1870
f75bfc33
CY
18712012-01-02 Chong Yidong <cyd@gnu.org>
1872
1873 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1874 (dirtrack): Merge code for handling relative filenames in prompt
1875 from shell-dir-cookie-watcher.
1876 (dirtrack-debug-message): New arg to avoid excess format calls.
1877
1878 * shell.el (shell-dir-cookie-re): Variable deleted.
1879 (shell-dir-cookie-watcher): Function deleted.
1880 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1881 with dirtrack-mode.
1882
651e947e
EZ
18832012-01-01 Eli Zaretskii <eliz@gnu.org>
1884
1d00653d
SM
1885 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1886 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1887 libgnutls-26.dll.
1888
94d4c7dc
AS
18892011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1890
1891 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1892
8d43f3cd
EZ
18932011-12-31 Eli Zaretskii <eliz@gnu.org>
1894
1895 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1896 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1897
98c8795a
MA
18982011-12-29 Michael Albinus <michael.albinus@gmx.de>
1899
1900 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1901 also for alternative shells.
1902 (tramp-open-connection-setup-interactive-shell): Check, whether
1903 the shell is a busybox.
1904 (tramp-send-command): Don't suppress multiple prompts for
1905 busyboxes, it hurts.
1906
51281b32
CY
19072011-12-28 Chong Yidong <cyd@gnu.org>
1908
1909 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1910 (gdb-get-source-file): Move mode line update to
1911 gdb-get-source-file (Bug#10087).
1912
2170cb53
CY
19132011-12-25 Chong Yidong <cyd@gnu.org>
1914
1915 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1916 gud-gdb-marker-filter without taking it as an argument.
1917 (gud-gdb-run-command-fetch-lines): Caller changed.
1918 (gud-gdb-completion-function): New variable.
1919 (gud-gdb-completion-at-point): Use it.
1920 (gud-gdb-completions-1): Split from gud-gdb-completions.
1921
1922 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1923 function as separate arguments.
1924 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1925 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1926 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1927 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1928 (gdb-stopped, def-gdb-auto-update-trigger)
1929 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1930 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1931 Callers changed.
2170cb53
CY
1932 (gud-gdbmi-completions): New function.
1933 (gdb): Use it for generating the completion table.
1934
be8b11bb
AM
19352011-12-24 Alan Mackenzie <acm@muc.de>
1936
1937 Introduce a mechanism to widen the region used in context font
1d00653d 1938 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1939
1d00653d
SM
1940 * progmodes/cc-langs.el (c-before-font-lock-functions):
1941 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1942 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1943 functions to be run just before context (etc.) font locking.
1944
1945 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1946 New, functionality extracted from
be8b11bb 1947 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1948 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1949 (c-after-change): Set c-in-after-change-fontification.
1950 (c-set-fl-decl-start): Rejig its interface, so it can be called
1951 from both after-change and context fontifying.
b81d40f0
JB
1952 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1953 New functions.
1954 (c-standard-font-lock-fontify-region-function): New variable.
1955 (c-font-lock-fontify-region): New function.
be8b11bb 1956
341cf6ac
JL
19572011-12-24 Juri Linkov <juri@jurta.org>
1958
1959 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1960 (Bug#10348)
1961
bffcee0a
MA
19622011-12-23 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1965 existence of source file. (Bug#10325)
1966
cb5e207c
AM
19672011-12-23 Alan Mackenzie <acm@muc.de>
1968
1969 Fix unstable fontification inside templates.
1970
b81d40f0
JB
1971 * progmodes/cc-langs.el (c-before-font-lock-functions):
1972 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1973 additionally has c-set-fl-decl-start. The other languages (apart
1974 from AWK) have that as a single entry.
1975
b81d40f0
JB
1976 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1977 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1978 c-set-fl-decl-start.
1979
b81d40f0
JB
1980 * progmodes/cc-mode.el (c-common-init, c-after-change):
1981 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1982 (c-set-fl-decl-start): New function, extracted from
1983 c-font-lock-enclosing-decls and enhanced.
1984
60ff536c
JB
19852011-12-23 Juanma Barranquero <lekktu@gmail.com>
1986
1987 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1988
1c4757d6
JL
19892011-12-22 Juri Linkov <juri@jurta.org>
1990
1991 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1992
d031f2c7
CY
19932011-12-22 Chong Yidong <cyd@gnu.org>
1994
1995 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1996
bace743a
DA
19972011-12-21 Drew Adams <drew.adams@oracle.com>
1998
1999 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2000
728a1f2b
JC
20012011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2002
2003 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2004
0d373f73
TZ
20052011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2006
fec0aaa4
TZ
2007 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2008 highlighting and support. Fix up comments for capitalization.
2009 (cfengine-mode-debug): New var.
2010 (cfengine3-mode): Change the modeline indicator to "CFE3".
2011 (cfengine3-font-lock-keywords): Improve defun highlighting.
2012 (cfengine2-actions): Rename from `cfengine-actions'.
2013 (cfengine2-font-lock-keywords): Rename from
2014 `cfengine-font-lock-keywords'.
2015 (cfengine2-imenu-expression): Rename from
2016 `cfengine-imenu-expression'.
2017 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2018 (cfengine2-beginning-of-defun): Rename from
2019 `cfengine-beginning-of-defun'.
2020 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2021 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2022 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2023 modeline indicator to "CFE2".
2024 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2025 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2026
bc86f573
CY
20272011-12-21 Chong Yidong <cyd@gnu.org>
2028
2029 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2030 filename argument.
2031
d45ba96b
MR
20322011-12-20 Martin Rudalics <rudalics@gmx.at>
2033
2034 * window.el (window-normalize-buffer-to-display): Remove.
2035 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2036
a6198c90
CY
20372011-12-19 Chong Yidong <cyd@gnu.org>
2038
2039 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2040 Don't signal an error in a predicate function; return non-nil.
2041 (vc-dir-mark-file): Move the error here.
2042 (vc-dir-mark-unmark): If acting on the region, keep going if one
2043 of the entries cannot be marked/unmarked.
2044 (vc-dir-mark-all-files): If current entry is a directory, mark
2045 only child files, as documented.
2046
34c5fb55
VB
20472011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2048
2049 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2050 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2051 addition.
2052
c803b2b7
JD
20532011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2054
2055 * term/ns-win.el (ns-get-selection-internal)
2056 (ns-store-selection-internal): Declare.
1154d12e
JB
2057 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2058 Declare as obsolete.
2059 (ns-get-pasteboard, ns-paste-secondary):
2060 Use ns-get-selection-internal.
2061 (ns-set-pasteboard, ns-copy-including-secondary):
2062 Use ns-store-selection-internal.
c803b2b7 2063
9cff91f8 20642011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2065
2066 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2067 (vc-deduce-fileset): Doc fix.
99a289d9 2068
f16c898a
AS
20692011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2070
2071 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2072
763237c4
SS
20732011-12-13 Sam Steingold <sds@gnu.org>
2074
2075 * man.el (Man-getpage-in-background): When running under a
2076 window-system, ignore $MANWIDTH and $COLUMNS.
2077
5fc1c122
KH
20782011-12-15 Kenichi Handa <handa@m17n.org>
2079
2080 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2081 (setup-ethiopic-environment-internal): Comment out key-binding for
2082 ethio-toggle-punctuation.
2083
13d49cbb
AM
20842011-12-13 Alan Mackenzie <acm@muc.de>
2085
898169a2
AM
2086 Add the switch statement to AWK Mode.
2087
7a71b18d 2088 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2089 "default" to the keywords regexp.
2090
7a71b18d 2091 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2092 expression as the rest.
1d00653d
SM
2093 (c-nonlabel-token-key): Allow string literals for AWK.
2094 Refactor for the other modes.
898169a2 2095
13d49cbb 2096 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2097 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2098 routines. Limit backward searching in c-font-lock-enclosing.decl.
2099
2100 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2101 pp-state and literal type in addition to the limits.
1d00653d 2102 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2103 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2104 (c-slow-in-literal, c-fast-in-literal): Remove.
2105 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2106
2107 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2108 being in a literal. Add a limit for backward searching.
2109
2110 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2111 c-slow-in-literal.
2112
15e0efc7
SM
21132011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2116
454592a6
MR
21172011-12-13 Martin Rudalics <rudalics@gmx.at>
2118
2119 * window.el (delete-other-windows): Use correct frame in call to
2120 window-with-parameter.
2121
87393f26
DP
21222011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2123
2124 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2125 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2126 (makefile-gmake-statements, makefile-makepp-statements):
2127 Use it and add new makepp keywords.
2128 (makefile-makepp-font-lock-keywords): Add new patterns.
2129 (makefile-match-function-end): Match new [...] and [[...]].
2130
11636b22
JB
21312011-12-11 Juanma Barranquero <lekktu@gmail.com>
2132
2133 * ses.el (ses-call-printer-return, ses-cell-property-get)
2134 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2135 (ses-create-cell-variable, ses-reset-header-string)
2136 (ses-cell-set-formula, ses-repair-cell-reference-all)
2137 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2138 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2139 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2140 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2141 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2142 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2143 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2144 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2145 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2146 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2147 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2148 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2149
cf018193
VB
21502011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2151
2152 * ses.el: The overall change is to add cell renaming, that is
2153 setting fancy names for cell symbols other than name matching
2154 "\\`[A-Z]+[0-9]+\\'" regexp .
2155 (ses-create-cell-variable): New defun.
2156 (ses-relocate-formula): Relocate formulas only for cells the
2157 symbols of which are not renamed, i.e. symbols whose names do not
2158 match regexp "\\`[A-Z]+[0-9]+\\'".
2159 (ses-relocate-all): Relocate values only for cells the symbols of
2160 which are not renamed.
2161 (ses-load): Create cells variables as the (ses-cell ...) are read,
2162 in order to check row col consistency with cell symbol name only
2163 for cells that are not renamed.
2164 (ses-replace-name-in-formula): New defun.
2165 (ses-rename-cell): New defun.
2166
ee957461
CY
21672011-12-11 Chong Yidong <cyd@gnu.org>
2168
2169 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2170 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2171
9a9e9ef0
MR
21722011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2173
2174 * window.el (other-window): Fix docstring.
2175
92a8eba5
EZ
21762011-12-10 Eli Zaretskii <eliz@gnu.org>
2177
2178 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2179 `from' or `to' address before taking its substring.
2180 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2181 encoded name is chopped in the middle of the encoded string, and
2182 thus displayed encoded.
2183
e152e577
JB
21842011-12-10 Juanma Barranquero <lekktu@gmail.com>
2185
2186 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2187
e5d84bfe
EZ
21882011-12-10 Eli Zaretskii <eliz@gnu.org>
2189
2190 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2191 to use texinfo-update-node and commands that call it if the
2192 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2193 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2194 (texinfo-all-menus-update, texinfo-master-menu)
2195 (texinfo-update-node, texinfo-every-node-update)
2196 (texinfo-multiple-files-update): Doc fix. Warn against updating
2197 all the @node lines.
2198 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2199 argument is numeric. Explain better in the doc string what the
2200 function really does.
2201 (texinfo-insert-master-menu-list): Improve the error message
2202 displayed if there's no menu in the Top node.
2203 (Bug#2975) See also this thread:
e5d84bfe
EZ
2204 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2205
1d84e9bb
MG
22062011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2207
2208 * speedbar.el (speedbar-supported-extension-expressions):
2209 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2210
382c953b
JB
22112011-12-09 Juanma Barranquero <lekktu@gmail.com>
2212
2213 * printing.el (pr-mode-alist):
2214 * simple.el (filter-buffer-substring-functions)
2215 (completion-list-insert-choice-function):
2216 * window.el (window-with-parameter, window-atom-root)
2217 (window-sides-slots, window-size-fixed, window-min-delta)
2218 (window-max-delta, window--resize-mini-window)
2219 (window--resize-child-windows-normal, window-tree)
2220 (delete-other-windows, quit-window, split-window)
2221 (display-buffer-record-window, special-display-buffer-names)
2222 (special-display-regexps, special-display-popup-frame)
2223 (same-window-p, split-window-sensibly)
2224 (display-buffer-overriding-action, display-buffer-alist)
2225 (display-buffer-base-action, display-buffer, switch-to-buffer)
2226 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2227 (fit-window-to-buffer, recenter-positions)
2228 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2229 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2230 and remove unneeded backslashes in docstrings.
2231
39c9faef
SM
22322011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2233
98449af8
SM
2234 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2235
39c9faef
SM
2236 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2237 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2238 end in ".mk".
2239 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2240 when reading the makefile (bug#10116).
2241
86ed9fdc
SM
22422011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2245 (bug#10116).
2246
5580f89d
GM
22472011-12-06 Glenn Morris <rgm@gnu.org>
2248
2249 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2250
28d3917c
CY
22512011-12-06 Chong Yidong <cyd@gnu.org>
2252
2253 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2254
a98edce9
JB
22552011-12-06 Juanma Barranquero <lekktu@gmail.com>
2256
2257 * textmodes/table.el (table-shorten-cell): Fix typo.
2258
e65adfac
CG
22592011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2260
2261 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2262
71cc0b74
EZ
22632011-12-05 Eli Zaretskii <eliz@gnu.org>
2264
2265 * descr-text.el (describe-char): Fix display of strong
2266 right-to-left characters and directional embeddings and overrides.
2267
2268 * simple.el (what-cursor-position): Fix display of codepoints of
2269 strong right-to-left characters.
2270
315bc30d
CY
22712011-12-05 Chong Yidong <cyd@gnu.org>
2272
2273 * faces.el (read-color): Doc fix.
2274
58a70b94
GM
22752011-12-05 Glenn Morris <rgm@gnu.org>
2276
2277 * align.el (align--set-marker): Add doc-string.
2278 Don't try to move something that is not a marker. (Bug#10216)
2279
5158face
GM
22802011-12-04 Glenn Morris <rgm@gnu.org>
2281
2282 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2283 overly zealous deletion of trailing whitespace.
2284
520fca41
JB
22852011-12-04 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * server.el (server-delete-client): On Windows, do not try to delete
2288 the only terminal.
2289 (server-process-filter): On Windows, treat requests for a tty frame as
2290 if they were for a GUI frame if the running server is in GUI mode.
2291
5e605a2e
GM
22922011-12-03 Glenn Morris <rgm@gnu.org>
2293
2294 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2295
5c3fe83f
SM
22962011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2297
6f5e57e7
SM
2298 * electric.el: Streamline electric-indent's hook.
2299 (electric-indent-chars): Revert to simple list.
2300 (electric-indent-functions): New var.
2301 (electric-indent-post-self-insert-function): Use it.
2302
5c3fe83f
SM
2303 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2304 there's no inferior buffer (bug#10196).
2305 (prolog-consult-compile): Don't use toggle-read-only.
2306
6bdac736
MA
23072011-12-02 Michael Albinus <michael.albinus@gmx.de>
2308
2309 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2310 interrupt. (Bug#10187)
2311
6131ba7f
SM
23122011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2313
99c79fee
SM
2314 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2315 (bug#9160).
2316
6131ba7f
SM
2317 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2318 (bug#10191).
2319
cb0a02ea
JL
23202011-12-02 Juri Linkov <juri@jurta.org>
2321
2322 * info.el (Info-search): Display "end of manual" when Isearch
2323 reaches the end of single-file Info manual. (Bug#9918)
2324
66e0570c
EZ
23252011-12-02 Eli Zaretskii <eliz@gnu.org>
2326
2327 * isearch.el (isearch-message-prefix): Run the input method part
2328 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2329
02b16839
JL
23302011-12-02 Juri Linkov <juri@jurta.org>
2331
2332 * isearch.el (isearch-occur): Use `word-search-regexp' for
2333 `isearch-word'.
2334 (isearch-search-and-update): Add condition for `isearch-word' and
2335 call `word-search-regexp'. (Bug#10145)
2336
0b950688
GM
23372011-12-01 Glenn Morris <rgm@gnu.org>
2338
2339 * eshell/em-hist.el (eshell-hist-initialize):
2340 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2341 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2342
9505c3c7
SM
23432011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2346
1bbe96b2 23472011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2348
a1beca85
SM
2349 * progmodes/verilog-mode.el (verilog-pretty-expr):
2350 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2351 verilog, such as += *= and the like.
2352 (verilog-assignment-operator-re): Regular expression to find the
2353 assigment operator in a verilog assignment.
2354 (verilog-assignment-operation-re): Regular expression to find an
2355 assignment statement for pretty-expr.
2356 (verilog-in-attribute-p): Query returns true if point is in an
2357 attribute context; used to skip these for expression line up from
2358 pretty-expr.
2359 (verilog-in-parameter-p): Query returns true if point is in an
2360 parameter definition context; used to skip these for expression
2361 line up from pretty-expr.
2362 (verilog-in-parenthesis-p): Query returns true if point is in a
2363 parenthetical expression, specifically ( ) but not [ ] or { };
2364 used by pretty-expr.
2365 (verilog-just-one-space): If there is no space, don't add one.
2366 (verilog-get-lineup-indent-2): Specifically skip just attribute
2367 contexts for expression lineup, rather than skipping all
2368 parenthetical expressions.
2369 (verilog-calculate-indent): Fix comment, and fix indent.
2370 (verilog-do-indent): Indent declarations in lists (suggested by
2371 Joachim Lechner).
2372 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2373 skeleton items.
2374 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2375 by Alain Mellan).
2376
1bbe96b2 23772011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2378
2379 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2380 parameters with embedded comments. Reported by Ray Stevens.
2381 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2382 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2383 Reported by Tim Holt.
2384 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2385 instantiated by upper module causing wrong expansion until AUTOed a
2386 second time. Reported by K C Buckenmaier.
2387 (verilog-diff-auto): Fix showing .* as a difference when
2388 `verilog-auto-star-save' off. Reported by Dan Dever.
2389 (verilog-auto-reset, verilog-read-always-signals)
2390 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2391 temporary signals in reset list if
2392 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2393 style to each signal's assignment type, bug381.
2394 Reported by Thomas Esposito.
6288f0ca
WS
2395 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2396 (verilog-uvm-statement-re): Support UVM indentation and
2397 highlighting, with old OVM keywords only.
a1beca85 2398 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2399 Support AUTOTIEOFF creating non-wire data types.
2400 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2401 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2402 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2403 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2404 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2405 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2406 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2407 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2408 non-numeric vector width. Reported by Alex Reed.
2409 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2410 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2411 (verilog-auto-delete-trailing-whitespace):
2412 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2413 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2414 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2415 Fix verilog-scan-cache corruption when running user AUTO expansion
2416 hooks that call indentation routines.
2417 (verilog-simplify-range-expression): Fix typo ignoring lower case
2418 identifiers.
2419 (verilog-delete-auto): Fix delete-autos to also remove user created
2420 automatics, as long as they start with AUTO.
2421 (verilog-batch-diff-auto, verilog-diff-auto)
2422 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2423 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2424 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2425 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2426 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2427 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2428 is disabled and its cache will get corrupt, causing AUTOS not to
2429 expand. Instead use only -quick functions.
2430 (verilog-scan-region): Fix scanning over escaped quotes.
2431 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2432 (verilog-re-search-backward-quick)
2433 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2434 related functions now ignore strings, to fix misparsing of strings
2435 with magic comments embedded in them.
a1beca85
SM
2436 (verilog-read-auto-template):
2437 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2438 Reported by Brad Dobbie.
2439 (verilog-read-auto-template):
2440 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2441 Reported by Brad Dobbie.
6288f0ca
WS
2442 (verilog-auto-inst, verilog-auto-inst-param)
2443 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2444 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2445 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2446 debugging templates without merge conflicts, bug357.
2447 Reported by Brad Dobbie.
2448 (verilog-read-auto-template):
2449 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2450 Reported by Brad Dobbie.
2451 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2452 abbrevs so user won't be asked to save.
2453 (verilog-read-auto-lisp-present): Fix to start at beginning of
2454 buffer in case called outside of verilog-auto.
2455 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2456 to "X-2". Reported by Matthew Myers.
2457 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2458 all inputs from module templates. Reported by Leith Johnson.
2459 (verilog-module-inside-filename-p): Fix locating programs as with
2460 modules.
2461 (verilog-auto-inst-port): Fix vl-width expressions when using
2462 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2463 (verilog-decls-get-regs, verilog-decls-get-signals,
2464 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2465 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2466 verilog-read-decls): Combine reg and wire structures into one var
2467 structure to represent SystemVerilog concepts.
2468 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2469 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2470 (verilog-auto-wire-type, verilog-insert-definition):
2471 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2472 SystemVerilog "logic" keyword instead of "wire"/"reg".
2473 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2474 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2475 ifdef or generate if so there's not a driver conflict).
2476 Reported by Matthew Myers.
2477 (verilog-auto-declare-nettype, verilog-insert-definition):
2478 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2479 `default_nettype none. Reported by Julian Gorfajn.
2480 (verilog-read-always-signals-recurse, verilog-read-decls)
2481 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2482 malformed end statement, bug325. Reported by Joshua Wise and
2483 Andrew Drake.
2484 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2485 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2486 when expanding .* in interfaces, bug320.
2487 Reported by Pierre-David Pfister.
6288f0ca 2488 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2489 name and open parenthesis, bug317.
2490 Reported by Pierre-David Pfister.
6288f0ca
WS
2491 (verilog-simplify-range-expression): Fix simplification of
2492 multiplications inside AUTOWIRE connections, bug303.
2493 (verilog-auto-inst-port): Support parameter expansion in
2494 multidimensional arrays.
2495 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2496 after "assert property". Reported by Julian Gorfajn.
2497 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2498 with multiplication, bug303.
2499 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2500 Reported by Jan Frode Lonnum.
2501
1bbe96b2
GM
25022011-11-30 Juanma Barranquero <lekktu@gmail.com>
2503
2504 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2505 (hfy-shell-file-name, hfy-shell):
2506 * international/fontset.el (x-decompose-font-name): Fix typos.
2507
25082011-11-29 Ken Brown <kbrown@cornell.edu>
2509
2510 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2511 (gdb-version): Remove defvar.
2512 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2513 (gdb-gud-context-command, gdb-non-stop-handler)
2514 (gdb-current-context-command, gdb-stopped): Use it.
2515 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2516 (gdb-non-stop-handler): Don't enable pretty-printing here.
2517 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2518 non-stop mode. Use the following.
2519 (gdb-check-target-async): New defun.
2520 (gud-watch, gdb-stopped): Fix whitespace.
2521 (gdb-get-source-file): Don't try to display the source file if
2522 `gdb-main-file' is nil.
2523
25242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * align.el: Try to generate fewer markers (bug#10047).
2527 (align--set-marker): New macro.
2528 (align-region): Use it.
2529
c935221f
SM
25302011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2533
e70b5064
CY
25342011-11-29 Chong Yidong <cyd@gnu.org>
2535
2536 * indent.el (indent-for-tab-command, indent-according-to-mode):
2537 Doc fix.
2538 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2539
f3af92b7
MA
25402011-11-29 Michael Albinus <michael.albinus@gmx.de>
2541
2542 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2543 aware of remote file names. (Bug#10124)
2544
ed472be9
CY
25452011-11-29 Chong Yidong <cyd@gnu.org>
2546
2547 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2548
24510c22
SM
25492011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * files.el (find-file): Don't use force-same-window (bug#10144).
2552 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2553 use pop-to-buffer if the selected window can't be used.
2554 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2555
c60c3703
EZ
25562011-11-28 Eli Zaretskii <eliz@gnu.org>
2557
2558 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2559 special-mode-map.
2560
e95def75
CY
25612011-11-28 Chong Yidong <cyd@gnu.org>
2562
2563 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2564
c3f1c606
NR
25652011-11-27 Nick Roberts <nickrob@snap.net.nz>
2566
2567 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2568 gdb-get-source-file-list on gdb-create-source-file-list.
2569
00db469c
EZ
25702011-11-26 Eli Zaretskii <eliz@gnu.org>
2571
2572 * whitespace.el (whitespace-newline): Use a different foreground
2573 color for 16-color light-background displays.
2574
4ad3bc2a
CY
25752011-11-24 Chong Yidong <cyd@gnu.org>
2576
2577 * window.el (display-buffer--special-action): Doc fix.
2578
e9fce1ac
JB
25792011-11-25 Juanma Barranquero <lekktu@gmail.com>
2580
2581 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2582 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2583 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2584 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2585 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2586 (avl-tree-stack-first):
2587 * emacs-lisp/cconv.el (cconv--analyse-use):
2588 * net/gnutls.el (gnutls-negotiate): Fix typos.
2589
cb825e5d
GM
25902011-11-24 Glenn Morris <rgm@gnu.org>
2591
3adbe224
GM
2592 * lpr.el (lpr-windows-system, lpr-lp-system):
2593 * mail/binhex.el (binhex-begin-line):
2594 * progmodes/grep.el (grep-history, grep-find-history):
2595 * textmodes/flyspell.el:
2596 * vc/pcvs-defs.el (cvs-global-menu):
2597 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2598 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2599 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2600
321decc8
GM
2601 * net/tls.el: Fix case of "GnuTLS".
2602
420b63ad
GM
2603 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2604
cb825e5d
GM
2605 * version.el (emacs-build-system): Give it a doc-string.
2606
a0649f08
JL
26072011-11-24 Juri Linkov <juri@jurta.org>
2608
2609 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2610
c0bc0fd4
GM
26112011-11-24 Glenn Morris <rgm@gnu.org>
2612
2613 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2614 if called on a non-mime message just toggle the headers. (Bug#8006)
2615
20db1522
JB
26162011-11-24 Juanma Barranquero <lekktu@gmail.com>
2617
2618 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2619 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2620 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2621 (allout-rebullet-heading, allout-open-sibtopic)
2622 (allout-toggle-current-subtree-encryption)
2623 (allout-toggle-subtree-encryption, allout-encrypt-string)
2624 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2625 (allout-distinctive-bullets-string, allout-auto-activation):
2626 * window.el (window-normalize-buffer-to-display):
2627 * progmodes/verilog-mode.el (verilog-batch-indent):
2628 * textmodes/bibtex.el (bibtex-field-braces-opt)
2629 (bibtex-field-strings-opt):
2630 * vc/cvs-status.el (cvs-tree-merge):
2631 Fix typos.
2632
7262a87c
MA
26332011-11-23 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2636 `non-essential' to t, in order to avoid remote connections.
2637
283430a1
EZ
26382011-11-23 Eli Zaretskii <eliz@gnu.org>
2639
a1beca85
SM
2640 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2641 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2642 case-insensitively.
2643
d2992a38
ML
26442011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2645
2646 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2647
50419064
GM
26482011-11-23 Glenn Morris <rgm@gnu.org>
2649
da94eca1
GM
2650 * paths.el (rmail-file-name): Reformat the doc-string so that it
2651 is picked up.
2652
9aac4de2
GM
2653 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2654 (rmail-auto-file): Ignore case in the "special" field names,
2655 as mail-fetch-field does for all others.
2656
8038d2d2
GM
2657 * mail/rmail.el (rmail-forward):
2658 * mail/rmailkwd.el (rmail-set-label):
2659 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2660 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2661
f3fe222a
GM
2662 * mail/rmail.el (rmail-current-message): Doc fix.
2663
50419064
GM
2664 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2665
28109f49
SM
26662011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2669
394c65f1
GM
26702011-11-22 Glenn Morris <rgm@gnu.org>
2671
2672 * mail/rmailmm.el (test-rmail-mime-handler)
2673 (test-rmail-mime-bulk-handler)
2674 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2675
f2a0aa3a
JL
26762011-11-21 Juri Linkov <juri@jurta.org>
2677
1154d12e
JB
2678 * calc/calc.el (calc-read-key-sequence):
2679 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2680
9c34a344
LMI
26812011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2682
2683 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2684 Tell the caller that the next line needs recomputation, even
2685 though it doesn't start a sexp (bug#10094).
2686
f04a3be9
SM
26872011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2690
7978747f
SM
26912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2692
f04a3be9
SM
2693 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2694 Use force-same-window.
7978747f 2695
fe7a3057
JB
26962011-11-20 Juanma Barranquero <lekktu@gmail.com>
2697
2698 * descr-text.el (describe-char-unicode-data):
2699 * json.el (json-string-escape):
2700 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2701 (Footnote-unicode, Footnote-style-p):
2702 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2703
24901d61
CY
27042011-11-20 Chong Yidong <cyd@gnu.org>
2705
2706 * window.el (replace-buffer-in-windows): Restore interactive spec.
2707
bac7ff22
SM
27082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2709
24f3d7b9
SM
2710 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2711
bac7ff22
SM
2712 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2713 (byte-compile-global-not-obsolete-vars): New var.
2714 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2715 Use it.
2716 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2717
cd1181db
JB
27182011-11-20 Juanma Barranquero <lekktu@gmail.com>
2719
2720 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2721 * progmodes/pascal.el (electric-pascal-equal):
2722 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2723 * xml.el (xml-substitute-special): Fix typos.
2724
7fb18e9e
GM
27252011-11-20 Glenn Morris <rgm@gnu.org>
2726
2727 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2728 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2729 Doc fixes.
2730 (rmail-decode-mime-charset): Mark as obsolete.
2731
2732 * mail/rmailsum.el (rmail-message-regexp-p-1):
2733 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2734 Before using mime functions, check they are set. (Bug#10077)
2735
d5a6b3ba
JL
27362011-11-19 Juri Linkov <juri@jurta.org>
2737
2738 * info.el (Info-finder-find-node): Use `package--builtins' instead
2739 of `package-alist'. Use node names formed by the pattern "Keyword "
2740 and the keyword name.
2741
e981b61f
AS
27422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2743
1d00653d 2744 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2745
3ffbc301
JL
27462011-11-19 Juri Linkov <juri@jurta.org>
2747
2748 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2749 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2750 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2751 `old-history', `old-history-forward'. Add let-binding
2752 `window-selected'. Remove calls to `kill-buffer',
2753 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2754 before calling `Info-find-node', so `Info-find-node-2' will reread
2755 the Info file. Restore window positions only when `window-selected'
2756 is non-nil.
2757
30c62133
JL
27582011-11-19 Juri Linkov <juri@jurta.org>
2759
2760 * isearch.el (isearch-lazy-highlight-new-loop):
2761 Remove condition `(not isearch-error)'. (Bug#9918)
2762
2763 * misearch.el (multi-isearch-search-fun): Add condition
2764 `(not bound)' to ignore lazy-highlighting search.
2765 Add the search-failed message "end of multi" when the end of
2766 multi-sequence is reached. Uncapitalize the search-failed
2767 message "Repeat for next buffer".
2768
2769 * info.el (Info-search): Add the search-failed message
2770 "end of the manual" when the end of the manual is reached
2771 in Isearch mode.
2772
645ca9cf
JL
27732011-11-19 Juri Linkov <juri@jurta.org>
2774
2775 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2776 Use non-destructive `remove' instead of `delete' because
2777 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2778 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2779
df754f66
JL
27802011-11-19 Juri Linkov <juri@jurta.org>
2781
2782 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2783 to nil instead of binding `search-ring' and `regexp-search-ring'.
2784 (Bug#9185)
2785
0e23d96a
EZ
27862011-11-19 Eli Zaretskii <eliz@gnu.org>
2787
2788 * simple.el (line-move): Force movement by logical lines for any
2789 hscrolled window, not only when auto-hscroll-mode is on.
2790 (line-move-visual): Update doc string to that effect. (Bug#10076)
2791
8a6ccb66
AS
27922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2793
2794 * language/european.el (macintosh): Define as alias for mac-roman.
2795
49ae5b39
EZ
27962011-11-19 Eli Zaretskii <eliz@gnu.org>
2797
2798 * mail/rmailmm.el (rmail-mime-display-header)
2799 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2800 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2801 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2802 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2803 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2804 of a raw aref.
2805 (rmail-mime-entity-segment): To get past the tagline, move forward
2806 2 more lines, to account for the 2 empty lines that precede and
2807 follow the line with the buttons.
2808 (rmail-mime-update-tagline): Move one more line, to get past the
2809 empty line that follows the buttons in the tagline. (Bug#9520)
2810
c56cad4a
MR
28112011-11-19 Martin Rudalics <rudalics@gmx.at>
2812
2813 * window.el (window-max-delta-1, window-min-delta-1)
2814 (window-min-size-1, window-state-get-1, window-state-put-1)
2815 (window-state-put-2): Use "window--" prefix.
2816
cbe71af3
SM
28172011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2ad52c60
SM
2819 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2820 (smie-warning-count): New var.
2821 (smie-set-prec2tab): Use it.
2822 (smie-bnf->prec2): Improve warnings. Add docstring.
2823 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2824 (smie-bnf--set-class): New function.
2825 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2826 corner case.
2827
6944dbc1
SM
2828 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2829 (compilation-error-properties, compilation-move-to-column):
2830 Handle compilation-first-column while in the target buffer.
2831
c400c4d7
SM
2832 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2833 Don't hardcode point-min==1.
2834
6dbe3e96
SM
2835 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2836 (eshell-rewrite-for-command): Remove workaround.
2837 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2838 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2839 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2840
cbe71af3
SM
2841 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2842
a8e1496d
GM
28432011-11-17 Glenn Morris <rgm@gnu.org>
2844
2845 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2846 Ignore buffer-local generated-autoload-file if it is the same
2847 as the global value. (Bug#10049)
2848
df85d315
JB
28492011-11-17 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2852 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2853 (reftex-toc-previous-heading, reftex-toc-max-level)
2854 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2855 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2856 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2857 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2858 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2859 (reftex-toc-rename-label, reftex-toc-visit-location)
2860 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2861 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2862 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2863 leaving "*toc*" only for references to the buffer.
2864
a0c2d0ae
MR
28652011-11-17 Martin Rudalics <rudalics@gmx.at>
2866
2867 * window.el (window-resize, delete-window, split-window):
2868 Replace window-splits by window-combination-resize.
1d00653d 2869 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2870
35c0bac8
GM
28712011-11-17 Glenn Morris <rgm@gnu.org>
2872
2873 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2874 Make bash entry derive from sh entry, not shell entry.
2875
d0c8fc8a
MA
28762011-11-16 Michael Albinus <michael.albinus@gmx.de>
2877
d0c8fc8a
MA
2878 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2879 properties of linked files. (Bug#9879)
2880
7262a87c
MA
2881 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2882 local file name.
2883
7877f373
JB
28842011-11-16 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * menu-bar.el (menu-bar-file-menu):
2887 * printing.el (pr-ps-utility):
2888 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2889 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2890 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2891 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2892 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2893 (icalendar--convert-cyclic-to-ical)
2894 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2895 (icalendar--convert-ical-to-diary)
2896 (icalendar--convert-recurring-to-diary)
2897 (icalendar--convert-non-recurring-all-day-to-diary)
2898 (icalendar-import-format-sample):
2899 * progmodes/idlw-shell.el (idlwave-shell-mode):
2900 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2901 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2902 (vhdl-ps-print-init): Fix typos.
2903
10649b82
KM
29042011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2905
9d0cfcd6
GM
2906 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2907 FSF and collapse date sequence, obscure author/maintainer email address
2908 better, remove extra version line, track relocation of author's webpage.
10649b82 2909
9d0cfcd6
GM
2910 * progmodes/python.el (python-pdbtrack-input-prompt)
2911 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2912 regular python pdb prompts. Adjustments shamelessly taken exactly as
2913 suggested in EmacsWiki page (tiny change):
2914 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2915
58179cce
JB
29162011-11-16 Juanma Barranquero <lekktu@gmail.com>
2917
2918 * expand.el (expand-pos, expand-index, expand-point):
2919 Remove redundant info from docstring.
2920 (expand-add-abbrevs): Doc fix.
2921 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2922 (expand-sample-perl-mode-expand-list): Fix typos.
2923
2924 * net/dbus.el (dbus-event-member-name):
2925 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2926 * term/pc-win.el (msdos-create-frame-with-faces):
2927 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2928
b6f67890
MR
29292011-11-16 Martin Rudalics <rudalics@gmx.at>
2930
2931 * window.el (split-window, window-state-get-1)
2932 (window-state-put-1, window-state-put-2): Rename occurrences of
2933 window-nest to window-combination-limit.
1d00653d 2934 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2935
ce7ddba0
CY
29362011-11-16 Chong Yidong <cyd@gnu.org>
2937
2938 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2939 regexp (Bug#10033).
2940
3ae704f4
SM
29412011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2944 `completing-read' will remove *Completions* and will preserve
2945 current-buffer for us.
2946 (tmm-add-prompt): Users of *Completions* will always (re)set its
2947 major mode.
2948 (tmm-old-comp-map): Remove.
2949
6ad1cdde
GM
29502011-11-16 Glenn Morris <rgm@gnu.org>
2951
2952 * mail/rmailedit.el: Require rmailmm when compiling.
2953 (rmail-old-mime-state): New declaration.
2954 (rmail-edit-current-message): If editing a mime message,
2955 edit the "raw" message from the mbox buffer.
2956 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2957
d20faa20
GM
29582011-11-15 Glenn Morris <rgm@gnu.org>
2959
2960 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2961 which wasn't being used. Add optional arg to force given state.
2962 (rmail-mime): Add optional arg to force given state.
2963
c7015153
JB
29642011-11-15 Juanma Barranquero <lekktu@gmail.com>
2965
2966 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2967 * frame.el (display-mm-dimensions-alist):
2968 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2969 (outline-move-subtree-down):
2970 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2971 (newsticker--treeview-do-get-node):
2972 * net/quickurl.el (quickurl-list-buffer-name):
2973 * progmodes/dcl-mode.el (dcl-mode):
2974 * progmodes/gdb-mi.el (gdb-mapcar*):
2975 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2976
45261b50
GM
29772011-11-15 Glenn Morris <rgm@gnu.org>
2978
2979 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2980 in a boolean sense, so just make it a boolean, and fix the doc.
2981 (rmail-show-mime-function, rmail-mime-feature)
2982 (rmail-require-mime-maybe): Doc fixes.
2983 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2984
2985 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2986
0d26e0b6
JB
29872011-11-15 Juanma Barranquero <lekktu@gmail.com>
2988
2989 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2990 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2991 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2992 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2993
447f30f6
GM
29942011-11-15 Glenn Morris <rgm@gnu.org>
2995
672b871d
GM
2996 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2997 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2998 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2999 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3000 (rmail-mime, rmail-show-mime): Doc fixes.
3001
f6aa5bb1
GM
3002 * term/ns-win.el (mode-line-frame-identification):
3003 Leave it alone. (Bug#10051)
3004
947cd66b
GM
3005 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3006
447f30f6
GM
3007 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3008 Handle empty buffers. (Bug#9978)
3009
0b381c7e
JB
30102011-11-14 Juanma Barranquero <lekktu@gmail.com>
3011
3012 * international/mule.el (define-charset):
3013 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3014 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3015 * progmodes/verilog-mode.el (verilog-backward-token):
3016 * textmodes/ispell.el (lookup-words):
3017 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3018
71e027ac
GM
30192011-11-14 Glenn Morris <rgm@gnu.org>
3020
56632ce4
GM
3021 * progmodes/executable.el
3022 (executable-make-buffer-file-executable-if-script-p):
3023 Handle file-modes returning nil.
3024
40500957
GM
3025 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3026 message - not necessary, and causes problems. (Bug#9831)
3027
071c2340
GM
3028 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3029
d3cfca60
GM
3030 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3031
71e027ac
GM
3032 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3033 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3034 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3035
89d61221
MR
30362011-11-12 Martin Rudalics <rudalics@gmx.at>
3037
3038 * window.el (window-resize, delete-window): Use window-splits
3039 variable instead of function.
3040 (window-state-get-1, window-state-put-2, window-state-put):
3041 Don't deal with windows' splits status.
3042
98282f6f
GM
30432011-11-12 Glenn Morris <rgm@gnu.org>
3044
3045 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3046 (apropos-documentation): Doc fixes.
3047
40a8bdf6
JB
30482011-11-11 Juanma Barranquero <lekktu@gmail.com>
3049
3050 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3051 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3052
65bd19ff
SM
30532011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * electric.el (electric-indent-post-self-insert-function): Make it
3056 possible for a char to only indent in some circumstances.
3057 (electric-indent-mode): Simplify.
3058
54f9154c
MR
30592011-11-11 Martin Rudalics <rudalics@gmx.at>
3060
3061 * window.el (windows-with-parameter): Remove unused function.
3062 (windows-at-side): Rename to window-at-side-list.
3063 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3064 (window-side-check, window-size-ignore, window-size-fixed-1)
3065 (window-in-direction-2): Prefix with "window--".
3066 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3067
68cbc58b
GM
30682011-11-11 Glenn Morris <rgm@gnu.org>
3069
3070 * subr.el (eval-after-load): If FILE is already loaded,
3071 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3072
b2621720
GM
30732011-11-10 Glenn Morris <rgm@gnu.org>
3074
9a4de110
GM
3075 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3076 Call svn via vc-svn-command rather than vc-do-command.
3077 (vc-svn-command): Add --non-interactive. (Bug#9993)
3078 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3079
b2621720
GM
3080 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3081 Add toggle-read-only. (Bug#7292)
3082 * files.el (toggle-read-only): Mention that it should only
3083 be used interactively. (Bug#10006)
3084
1dce7193
SM
30852011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3086
d9ac1a1e
SM
3087 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3088 Adjust regexp for OCaml warnings.
3089
0c325082
SM
3090 * electric.el (electric-pair-post-self-insert-function): Let user
3091 turn it off buffer-locally (bug#9932).
3092
90132c14
SM
3093 * progmodes/python.el (python-beginning-of-statement):
3094 Rewrite (bug#2703).
3095
1dce7193
SM
3096 * progmodes/compile.el: Better handle TABs (bug#9749).
3097 (compilation-internal-error-properties)
3098 (compilation-next-error-function): Obey the target buffer's
3099 compilation-error-screen-columns.
3100
c4e7c63a
JB
31012011-11-09 Juanma Barranquero <lekktu@gmail.com>
3102
3103 * progmodes/meta-mode.el: Remove obsolete comments.
3104 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3105 Fix typos in docstrings.
3106
2cffd681
MR
31072011-11-09 Martin Rudalics <rudalics@gmx.at>
3108
3109 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3110 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3111 (window--resizable): New function. Make all callers of
3112 window-resizable call window--resizable instead.
3113 (window-resizable): Rewrite in terms of window--resizable.
3114
0edcba87
GM
31152011-11-08 Glenn Morris <rgm@gnu.org>
3116
3117 * progmodes/delphi.el (delphi-mode-syntax-table):
3118 Let define-derived-mode define a proper syntax table. (Bug#9994)
3119
4b0d61e3
SM
31202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * window.el: Stay away from defsubst.
3123 (window-list-no-nils): Remove.
3124 (window-state-get-1, window-state-get): Use backquote instead.
3125
cd394be1 31262011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3127
4b0d61e3 3128 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3129 Fix incorrect use of default argument in `completing-read'.
3130
e1c2c6f2
MR
31312011-11-08 Martin Rudalics <rudalics@gmx.at>
3132
3133 * window.el (display-buffer-function, special-display-function):
3134 Mention display-buffer-record-window but do not mention
3135 help-setup parameter in doc-strings.
b3f4a882 3136 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3137
105216ed
CY
31382011-11-08 Chong Yidong <cyd@gnu.org>
3139
3140 * window.el (window-total-height, window-total-width): Doc fix.
3141 (window-body-size): Move from C.
3142 (window-body-height, window-body-width): Move to C.
3143
0a9f9ab5
SM
31442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * window.el: Make special-display like display-buffer-alist (bug#9532).
3147 (display-buffer--special-action): New function, morphed
3148 from display-buffer--special.
3149 (display-buffer): Use it to handle special-display-buffers at higher
3150 priority (just after display-buffer-alist).
3151 (display-buffer-fallback-action, display-buffer--other-frame-action)
3152 (pop-to-buffer-same-window): Remove display-buffer--special.
3153
a769dd15
GM
31542011-11-07 Glenn Morris <rgm@gnu.org>
3155
3156 * calendar/cal-menu.el (cal-menu-set-date-title):
3157 Do nothing if not in a calendar. (Bug#9976)
3158
05a61ee3
SM
31592011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * files.el (find-file): Always use selected-window.
3162
be7f5545
MR
31632011-11-07 Martin Rudalics <rudalics@gmx.at>
3164
3165 * window.el (window-combinations): Make WINDOW argument
3166 mandatory. Rewrite doc-string.
3167 (walk-window-subtree, window-atom-check, window-min-delta)
3168 (window-max-delta, window--resize-this-window)
3169 (window--resize-root-window-vertically, window-tree)
3170 (balance-windows, window-state-put): Rewrite doc-strings as to
3171 not mention the term "subwindow".
3172 (window--resize-subwindows-skip-p): Rename to
3173 window--resize-child-windows-skip-p.
3174 (window--resize-subwindows-normal): Rename to
3175 window--resize-child-windows-normal.
3176 (window--resize-subwindows): Rename to
3177 window--resize-child-windows.
3178 (window-or-subwindow-p): Rename to window--in-subtree-p.
3179
3c6702ef
ML
31802011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3181
3182 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3183 Ensure that mbox format messages end in two newlines (Bug#9974).
3184
49745b39
CY
31852011-11-06 Chong Yidong <cyd@gnu.org>
3186
3187 * window.el (window-combination-p): Function deleted; its
3188 side-effect is not used in any existing code.
3189 (window-combinations, window-combined-p): Call window-*-child
3190 directly.
3191
24300f5f
CY
31922011-11-05 Chong Yidong <cyd@gnu.org>
3193
3194 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3195 (window-size-ignore, window-state-get): Callers changed.
3196 (window-normalize-window): Rename from window-normalize-any-window.
3197 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3198 (window-normalize-live-window): Delete.
447f16b8
CY
3199 (window-combination-p, window-combined-p, window-combinations)
3200 (walk-window-subtree, window-atom-root, window-min-size)
3201 (window-sizable, window-sizable-p, window-size-fixed-p)
3202 (window-min-delta, window-max-delta, window-resizable)
3203 (window-resizable-p, window-full-height-p, window-full-width-p)
3204 (window-current-scroll-bars, window-point-1, set-window-point-1)
3205 (window-at-side-p, window-in-direction, window-resize)
3206 (adjust-window-trailing-edge, maximize-window, minimize-window)
3207 (window-deletable-p, delete-window, delete-other-windows)
3208 (record-window-buffer, unrecord-window-buffer)
3209 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3210 (quit-window, split-window, window-state-put)
3211 (set-window-text-height, fit-window-to-buffer)
3212 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3213
89bd5ee1
EZ
32142011-11-04 Eli Zaretskii <eliz@gnu.org>
3215
53479029
EZ
3216 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3217 rfc2047-decode-string.
3218 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3219 warnings.
3220
89bd5ee1
EZ
3221 * window.el (window-body-height, window-body-width): Mention in
3222 the doc string that the return values are in frame's canonical
3223 units. (Bug#9949)
3224
bd17fdee
AM
32252011-11-03 Alan Mackenzie <acm@muc.de>
3226
3227 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3228 change in cc-engine.el.
3229
acc825c5
SM
32302011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3233
1885e5b8
MR
32342011-11-02 Martin Rudalics <rudalics@gmx.at>
3235
3236 * window.el (quit-window): Call unrecord-window-buffer after
3237 showing another buffer in the window. (Bug#9937)
acc825c5 3238 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3239
ebe06da9
JB
32402011-11-02 Juanma Barranquero <lekktu@gmail.com>
3241
3242 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3243 Accept status with more than 9 shelves. (Bug#9935)
3244 Reported by Colin D Bennett <colin@gibibit.com>.
3245
4ee88440
MR
32462011-11-01 Martin Rudalics <rudalics@gmx.at>
3247
3248 * help.el (with-help-window): Don't reference
3249 temp-buffer-show-specifiers in doc-string.
3250
08e1d82c
AS
32512011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3252
3253 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3254 menu-item.
3255
84bd6e9e
VJL
32562011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3257
3258 * whitespace.el: New version 13.2.2.
3259 (whitespace-newline-mode): Disable properly. Reported by Sarah
3260 <EmacsWiki>.
3261
dba0634a
UJ
32622011-10-30 Ulf Jasper <ulf.jasper@web.de>
3263
3264 * net/newst-treeview.el: Remove "Time-stamp".
3265 (newsticker--group-manage-orphan-feeds): Do not call
3266 newsticker--treeview-tree-update.
db22a3c2
JB
3267 (newsticker-treeview-update, newsticker-treeview):
3268 Call newsticker--treeview-tree-update if necessary.
dba0634a 3269
3d8daefe
MR
32702011-10-30 Martin Rudalics <rudalics@gmx.at>
3271
3272 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3273 (window-iso-combinations): Remove "iso-" infix.
3274 Suggested by Chong Yidong.
3d8daefe
MR
3275 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3276 (window-max-delta-1, window-resize, window--resize-siblings)
3277 (window--resize-this-window, adjust-window-trailing-edge)
3278 (split-window, balance-windows-1)
3279 (shrink-window-if-larger-than-buffer):
3280 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3281 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3282
1bc4c3ae
SM
32832011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3286 in place (bug#9907).
3287 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3288 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3289 (eshell-structure-basic-command, eshell-rewrite-while-command)
3290 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3291 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3292 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3293 (eshell-do-pipelines-synchronously, eshell-eval-command):
3294 Use backquotes and prefer setq to set.
3295 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3296 (eshell-macrop): Use functionp.
c1e2f5fa 3297 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3298
30b65d9c
CY
32992011-10-30 Chong Yidong <cyd@gnu.org>
3300
3301 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3302 instead of set-mark (Bug#9810).
3303
2d197ffb
CY
33042011-10-30 Chong Yidong <cyd@gnu.org>
3305
3306 * window.el (split-window-below, split-window-right): Rename from
3307 split-window-above-each-other and split-window-side-by-side
3308 respectively. All callers changed.
3309 (split-window-sensibly, split-window-sensibly): Use them.
3310 (split-window-keep-point): Doc fix.
3311
3312 * isearch.el: Add isearch-scroll property to split-window-below
3313 and split-window-right.
3314
3315 * follow.el (follow-mode):
3316 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3317 * progmodes/ada-xref.el (ada-gdb-application):
3318 * emulation/vip.el (vip-buffer-in-two-windows):
3319 * image-dired.el (image-dired-dired-with-window-configuration):
3320 * dired-x.el (dired-do-find-marked-files):
3321 * dired.el (dired-pop-to-buffer):
3322 * bs.el (bs--show-with-configuration):
3323 * vc/emerge.el (emerge-setup-windows):
3324 * textmodes/two-column.el (2C-two-columns):
3325 * textmodes/reftex-toc.el (reftex-toc):
3326 * progmodes/gdb-mi.el (gdb-setup-windows):
3327 * progmodes/fortran.el (fortran-window-create):
3328 * net/newst-treeview.el (newsticker--treeview-window-init):
3329 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3330 * emulation/tpu-edt.el (tpu-gold-map):
3331 * emulation/crisp.el (crisp-mode-map):
3332 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3333
38bb2ca8
CY
33342011-10-29 Chong Yidong <cyd@gnu.org>
3335
aa4de341
CY
3336 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3337
e1eb5385
CY
3338 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3339
5d2ece3c
CY
3340 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3341 forged Ispell output (Bug#7904).
3342
38bb2ca8
CY
3343 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3344
d0af9f77
SM
33452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * doc-view.el: Avoid ugly errors about not finding nil.
3348 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3349 (doc-view-dvipdf-program, doc-view-unoconv-program)
3350 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3351 Avoid nil or absolute file name as default value.
3352 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3353
52bedd34
AM
33542011-10-28 Alan Mackenzie <acm@muc.de>
3355
db22a3c2 3356 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3357
7e43cfa5
AM
33582011-10-28 Alan Mackenzie <acm@muc.de>
3359
3360 Amend the handling of c-beginning/end-of-defun in nested declaration
3361 scopes.
3362
52bedd34
AM
3363 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3364 cc-langs.el. Change it to a defcustom.
7e43cfa5 3365
52bedd34
AM
3366 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3367 cc-vars.el.
7e43cfa5 3368
d0af9f77
SM
3369 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3370 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3371
52bedd34 3372 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3373 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3374 (c-widen-to-enclosing-decl-scope): New function.
3375 (c-while-widening-to-decl-block): New macro.
3376 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3377 outward for defun boundaries, and correspondingly change symbol
3378 `respect-enclosure' to `go-outward'.
3379 (c-declaration-limits): Change algorithm to report only the "innermost"
3380 defun's boundaries.
3381
1a2ce9ee
DD
33822011-10-28 Deniz Dogan <deniz@dogan.se>
3383
3384 * net/rcirc.el (rcirc-mode): Use hard newlines.
3385
bc97a826
AM
33862011-10-28 Alan Mackenzie <acm@muc.de>
3387
3388 Amend to indent and fontify macros "which include their own semicolon"
3389 correctly, using the "virtual semicolon" mechanism.
3390
52bedd34 3391 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3392
d0af9f77 3393 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3394 Recode to scan one line at a time rather than having \n and \r
58179cce 3395 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3396 (c-forward-label): Amend for virtual semicolons.
58179cce 3397 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3398
52bedd34
AM
3399 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3400 of the new C macros.
bc97a826 3401
52bedd34 3402 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3403 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3404 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3405 (c-opt-cpp-macro-define): Make into a full language variable.
3406 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3407 AWK Mode (including \n, \r) removed, no longer needed.
3408
d0af9f77
SM
3409 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3410 Invoke c-make-macro-with-semi-re.
bc97a826 3411
52bedd34
AM
3412 * progmodes/cc-vars.el (c-macro-with-semi-re):
3413 (c-macro-names-with-semicolon): New variables.
58179cce 3414 (c-make-macro-with-semi-re): New function.
bc97a826 3415
7a6c0941
SM
34162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * vc/log-edit.el: Fill empty field rather than adding new one.
3419 (log-edit-add-field): New function.
3420 (log-edit-insert-changelog): Use it.
3421
b0c4cdcf
ML
34222011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3423
3424 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3425
ee1f1da9
SM
34262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3429 (gdb--check-interpreter): New function.
3430 (gdb): Use it.
3431
51bc5f8b
GM
34322011-10-27 Glenn Morris <rgm@gnu.org>
3433
416a2c45
GM
3434 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3435 (least-positive-float, least-negative-float)
3436 (least-positive-normalized-float, least-negative-normalized-float)
3437 (float-epsilon, float-negative-epsilon):
3438 Remove unnecessary declarations.
3439
3440 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3441 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3442 (least-positive-float, least-negative-float)
3443 (least-positive-normalized-float, least-negative-normalized-float)
3444 (float-epsilon, float-negative-epsilon): Add doc-strings,
3445 based on those in cl.texi.
3446
51bc5f8b
GM
3447 * files.el (set-visited-file-name): If the major-mode changed,
3448 reload the local variables. (Bug#9796)
3449
15de15c6
CY
34502011-10-27 Chong Yidong <cyd@gnu.org>
3451
3452 * subr.el (change-major-mode-after-body-hook): New hook.
3453 (run-mode-hooks): Run it.
3454
ee1f1da9
SM
3455 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3456 Use change-major-mode-before-body-hook.
15de15c6
CY
3457
3458 * simple.el (fundamental-mode):
3459 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3460 change introducing fundamental-mode-hook.
3461
5430d399
JB
34622011-10-26 Juanma Barranquero <lekktu@gmail.com>
3463
acc825c5 3464 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3465
ad74a69e
MA
34662011-10-26 Michael Albinus <michael.albinus@gmx.de>
3467
3468 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3469 tramp.el explicitly. (Bug#7583)
ad74a69e 3470
71d4c2a5
SM
34712011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * progmodes/octave-mod.el:
3474 * progmodes/octave-inf.el: Update maintainer.
3475
b1f6fa26
CY
34762011-10-26 Chong Yidong <cyd@gnu.org>
3477
3478 * subr.el (with-wrapper-hook): Rewrite doc.
3479
3f04efd6
MA
34802011-10-25 Michael Albinus <michael.albinus@gmx.de>
3481
3482 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3483 filenames "/method:foo:". (Bug#9793)
3f04efd6 3484
410488d3
SM
34852011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3488 (bug#9865).
3489
c1ebb47e
GM
34902011-10-24 Glenn Morris <rgm@gnu.org>
3491
3492 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3493
7f5c46c7
MA
34942011-10-24 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * notifications.el: Add the requirement of a running D-Bus session
3497 bus to the Commentary.
3498
db2440b6
JL
34992011-10-24 Juri Linkov <juri@jurta.org>
3500
3501 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3502 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3503 (Bug#9364)
3504
feecf435
JL
35052011-10-24 Juri Linkov <juri@jurta.org>
3506
3507 * info.el (Info-following-node-name-re): Add newline to the list
3508 of allowed characters for leading space. (Bug#9824)
3509
a3839de2
SM
35102011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3511
acc825c5
SM
3512 * progmodes/octave-inf.el (inferior-octave-mode-map):
3513 Fix C-c C-h binding.
a3839de2
SM
3514 * progmodes/octave-mod.el (octave-help): Remove.
3515
09388e76
MA
35162011-10-23 Michael Albinus <michael.albinus@gmx.de>
3517
3518 Sync with Tramp 2.2.3.
3519
3520 * net/tramp-cache.el (top): Pacify byte-compiler using
3521 `init-file-user' and `site-run-file'.
3522
3523 * net/trampver.el: Update release number.
3524
86c60681
CY
35252011-10-23 Chong Yidong <cyd@gnu.org>
3526
3527 * files.el (toggle-read-only): Remove obsolete comment about
3528 version control.
3529
3530 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3531 for toggle-read-only. Note that this hasn't called vc-next-action
3532 since 2008-05-02, though it wasn't documented at the time.
3533
a3839de2
SM
3534 * vc/ediff-init.el (ediff-toggle-read-only-function):
3535 Use toggle-read-only.
86c60681 3536
cd5495ff
AM
35372011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3538
3539 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3540 of c-parse-state.
3541
00b77525 3542 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3543 correct faulty logical expression.
cd5495ff
AM
3544 (c-parse-state-state, c-record-parse-state-state):
3545 (c-replay-parse-state-state): New defvar/defuns.
3546 (c-debug-parse-state): Use new functions.
3547
42ee24ed
MR
35482011-10-22 Martin Rudalics <rudalics@gmx.at>
3549
3550 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3551 last fix. Use window-in-direction correctly.
42ee24ed 3552
a7dee7e7
CY
35532011-10-21 Chong Yidong <cyd@gnu.org>
3554
3555 * progmodes/idlwave.el (idlwave-mode):
3556 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3557 require-final-newline; that's done in prog-mode.
3558 Suggested by Stefan Monnier.
a7dee7e7 3559
e07b9a6d
MR
35602011-10-21 Martin Rudalics <rudalics@gmx.at>
3561
3562 * mouse.el (mouse-drag-window-above)
3563 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3564 (mouse-drag-mode-line-1, mouse-drag-header-line)
3565 (mouse-drag-vertical-line-rightward-window): Remove.
3566 (mouse-drag-line): New function.
3567 (mouse-drag-mode-line, mouse-drag-header-line)
3568 (mouse-drag-vertical-line): Call mouse-drag-line.
3569 * window.el (window-at-side-p, windows-at-side): New functions.
3570
7e1361d9
UM
35712011-10-21 Ulrich Mueller <ulm@gentoo.org>
3572
3573 * tar-mode.el (tar-grind-file-mode):
3574 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3575
30fcaf3a
CY
35762011-10-21 Chong Yidong <cyd@gnu.org>
3577
3578 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3579 * progmodes/vera-mode.el (vera-mode):
3580 Use mode-require-final-newline.
30fcaf3a 3581
516eddb0
GM
35822011-10-20 Glenn Morris <rgm@gnu.org>
3583
db22a3c2 3584 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3585
10d5f513
CS
35862011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3587
3588 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3589
ac6c8639
CY
35902011-10-20 Chong Yidong <cyd@gnu.org>
3591
3592 * emulation/cua-base.el (cua-mode):
3593 * mail/footnote.el (footnote-mode):
3594 * mail/mailabbrev.el (mail-abbrevs-mode):
3595 * net/xesam.el (xesam-minor-mode):
3596 * progmodes/bug-reference.el (bug-reference-mode):
3597 * progmodes/cap-words.el (capitalized-words-mode):
3598 * progmodes/compile.el (compilation-minor-mode)
3599 (compilation-shell-minor-mode):
3600 * progmodes/gud.el (gud-tooltip-mode):
3601 * progmodes/hideif.el (hide-ifdef-mode):
3602 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3603 * progmodes/subword.el (subword-mode):
3604 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3605 * progmodes/which-func.el (which-function-mode):
3606 * term/tvi970.el (tvi970-set-keypad-mode):
3607 * term/vt100.el (vt100-wide-mode):
3608 * textmodes/flyspell.el (flyspell-mode):
3609 * textmodes/ispell.el (ispell-minor-mode):
3610 * textmodes/nroff-mode.el (nroff-electric-mode):
3611 * textmodes/paragraphs.el (use-hard-newlines):
3612 * textmodes/refill.el (refill-mode):
3613 * textmodes/reftex.el (reftex-mode):
3614 * textmodes/rst.el (rst-minor-mode):
3615 * textmodes/sgml-mode.el (html-autoview-mode)
3616 (sgml-electric-tag-pair-mode):
3617 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3618 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3619 * emulation/crisp.el (crisp-mode):
3620 * emacs-lisp/eldoc.el (eldoc-mode):
3621 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3622 minor mode behavior.
3623
aa42ab43
JL
36242011-10-19 Juri Linkov <juri@jurta.org>
3625
3626 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3627 the list of hard-coded chars with escape-glyph face.
3628
89400f1d
SM
36292011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3632
305c07f6
MA
36332011-10-19 Michael Albinus <michael.albinus@gmx.de>
3634
3635 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3636 running process.
3637
13754b54
GM
36382011-10-19 Glenn Morris <rgm@gnu.org>
3639
3640 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3641 Ignore ignored files. (Bug#9726)
3642
06e21633
CY
36432011-10-19 Chong Yidong <cyd@gnu.org>
3644
3645 Doc fix for minor modes, stating that an omitted argument enables
3646 the mode unconditionally when called from Lisp.
3647
3648 * abbrev.el (abbrev-mode):
3649 * allout.el (allout-mode):
3650 * autoinsert.el (auto-insert-mode):
3651 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3652 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3653 (global-auto-revert-mode):
3654 * battery.el (display-battery-mode):
3655 * composite.el (global-auto-composition-mode)
3656 (auto-composition-mode):
3657 * delsel.el (delete-selection-mode):
3658 * desktop.el (desktop-save-mode):
3659 * dired-x.el (dired-omit-mode):
3660 * dirtrack.el (dirtrack-mode):
3661 * doc-view.el (doc-view-minor-mode):
3662 * double.el (double-mode):
3663 * electric.el (electric-indent-mode, electric-pair-mode):
3664 * emacs-lock.el (emacs-lock-mode):
3665 * epa-hook.el (auto-encryption-mode):
3666 * follow.el (follow-mode):
3667 * font-core.el (font-lock-mode):
3668 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3669 * help.el (temp-buffer-resize-mode):
3670 * hilit-chg.el (highlight-changes-mode)
3671 (highlight-changes-visible-mode):
3672 * hi-lock.el (hi-lock-mode):
3673 * hl-line.el (hl-line-mode, global-hl-line-mode):
3674 * icomplete.el (icomplete-mode):
3675 * ido.el (ido-everywhere):
3676 * image-file.el (auto-image-file-mode):
3677 * image-mode.el (image-minor-mode):
3678 * iswitchb.el (iswitchb-mode):
3679 * jka-cmpr-hook.el (auto-compression-mode):
3680 * linum.el (linum-mode):
3681 * longlines.el (longlines-mode):
3682 * master.el (master-mode):
3683 * mb-depth.el (minibuffer-depth-indicate-mode):
3684 * menu-bar.el (menu-bar-mode):
3685 * minibuf-eldef.el (minibuffer-electric-default-mode):
3686 * mouse-sel.el (mouse-sel-mode):
3687 * msb.el (msb-mode):
3688 * mwheel.el (mouse-wheel-mode):
3689 * outline.el (outline-minor-mode):
3690 * paren.el (show-paren-mode):
3691 * recentf.el (recentf-mode):
3692 * reveal.el (reveal-mode, global-reveal-mode):
3693 * rfn-eshadow.el (file-name-shadow-mode):
3694 * ruler-mode.el (ruler-mode):
3695 * savehist.el (savehist-mode):
3696 * scroll-all.el (scroll-all-mode):
3697 * scroll-bar.el (scroll-bar-mode):
3698 * server.el (server-mode):
3699 * shell.el (shell-dirtrack-mode):
3700 * simple.el (auto-fill-mode, transient-mark-mode)
3701 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3702 (line-number-mode, column-number-mode, size-indication-mode)
3703 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3704 * strokes.el (strokes-mode):
3705 * time.el (display-time-mode):
3706 * t-mouse.el (gpm-mouse-mode):
3707 * tool-bar.el (tool-bar-mode):
3708 * tooltip.el (tooltip-mode):
3709 * type-break.el (type-break-mode-line-message-mode)
3710 (type-break-query-mode):
3711 * view.el (view-mode):
3712 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3713 (global-whitespace-mode, global-whitespace-newline-mode):
3714 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3715
a3839de2
SM
3716 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3717 Fix autogenerated docstring.
06e21633 3718
5214e501
JL
37192011-10-19 Juri Linkov <juri@jurta.org>
3720
3721 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3722 by checking environment variables "DESKTOP_SESSION" and
3723 "XDG_CURRENT_DESKTOP". (Bug#9779)
3724
195f8db9
JL
37252011-10-19 Juri Linkov <juri@jurta.org>
3726
3727 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3728 (browse-url-chromium-program, browse-url-chromium-arguments):
3729 New defcustoms.
3730 (browse-url-default-browser): Check for `browse-url-chromium' and
3731 call `browse-url-chromium-program'.
3732 (browse-url-chromium): New command. (Bug#9779)
3733
343a34ff
JB
37342011-10-18 Juanma Barranquero <lekktu@gmail.com>
3735
3736 * facemenu.el (list-colors-duplicates): On Windows, detect more
3737 duplicates by assuming that only colors matching "^System" are
3738 special "system colors". (Bug#9722)
3739
6978a151
SM
37402011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3743 to distinguish the author from the committer.
3744
6a80b297
MA
37452011-10-18 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3748
b31a5677
JK
37492011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3750
3751 * international/mule.el (sgml-html-meta-auto-coding-function):
3752 Add support for detecting encoding in HTML5 specified only as
3753 <meta charset="UTF-8">. Implementation just makes http-equiv and
3754 content-type parts from HTML4 encoding string optional. (Bug#9716)
3755
80c6d77f
GM
37562011-10-18 Glenn Morris <rgm@gnu.org>
3757
3758 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3759
08b0fee8
CY
37602011-10-18 Chong Yidong <cyd@gnu.org>
3761
3762 * faces.el (cursor): Doc fix.
3763
67e729a5
CY
37642011-10-17 Chong Yidong <cyd@gnu.org>
3765
3766 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3767
343a34ff 37682011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3769
3770 * dirtrack.el (dirtrack): Support shell buffers with path
3771 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3772
0bc06380
TZ
37732011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3774
3775 * json.el: Bump version to 1.3 and note change in History.
3776 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3777
8b79f3e0
SM
37782011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3779
5a7c536b
SM
3780 * comint.el (comint-insert-input, comint-send-input)
3781 (comint-get-old-input-default, comint-backward-matching-input)
3782 (comint-next-prompt): Use nil instead of `input' for field property of
3783 past user input (bug#114).
3784
96a8a0df
SM
3785 * minibuffer.el (completion--replace): Inherit surrounding properties
3786 (bug#114).
3787 (minibuffer-complete-and-exit): Use it.
3788
8b79f3e0
SM
3789 * comint.el (comint--table-subvert): Quote the all-completions output
3790 (bug#9160).
3791
b8f7ff0d
MR
37922011-10-17 Martin Rudalics <rudalics@gmx.at>
3793
8b79f3e0 3794 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3795
b8f7ff0d 3796 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3797 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3798 entries and separate them from frame entries.
3799
c235b555
GM
38002011-10-15 Glenn Morris <rgm@gnu.org>
3801
3802 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3803 Doc fixes.
3804
6bbfa6e1
CY
38052011-10-15 Chong Yidong <cyd@stupidchicken.com>
3806
8b79f3e0
SM
3807 * net/network-stream.el (network-stream-open-starttls):
3808 Improve detection of failure due to lack of TLS support.
ec5c990d 3809
6bbfa6e1
CY
3810 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3811 putting the input text in front and in bold.
3812
98488977
SM
38132011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3d1337be
SM
3815 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3816
ee0b45e4
SM
3817 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3818 empty buffer.
3819
98488977
SM
3820 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3821 unread-command-events rather than pushing yet-another event.
3822
186f4720
EZ
38232011-10-14 Eli Zaretskii <eliz@gnu.org>
3824
3825 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3826 the explanation of the possible choices. Make the options passed
3827 to completing-read shorter.
3828
8b7a997c
AM
38292011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3830
3831 * textmodes/flyspell.el (flyspell-large-region): Make sure
3832 extended character mode is used if defined (Bug#1339).
3833
12587bbb
EZ
38342011-10-13 Eli Zaretskii <eliz@gnu.org>
3835
3836 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3837 character info for LRE, LRO, RLE, and RLO characters by appending
3838 an invisible PDF.
12587bbb 3839
bad41229
SM
38402011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3843 even in case of error; add debug spec; simplify data flow.
3844 (with-timeout-handler): Remove.
3845
28dbc92f
MA
38462011-10-12 Michael Albinus <michael.albinus@gmx.de>
3847
3848 Fix Bug#6019, Bug#9315.
3849
3850 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3851 complete `buffer-file-name', the local file name part could look
3852 remotely (for example on VMS).
3853
3854 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3855 `tramp-run-real-handler'.
3856 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3857 already quoted by '"'.
3858
3859 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3860 Let `file-name-handler-alist' be nil, the local file name part
3861 could look remotely (for example on VMS).
3862
e1b0b23a
SM
38632011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3866 from here...
3867 (flyspell-post-command-hook): ...to here.
3868
a120bde9
SM
38692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3872 if not needed.
3873 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3874 using completion. Protect against "slow" callers.
3875 Remove the "message hack".
3876
7ce7717b
JL
38772011-10-11 Juri Linkov <juri@jurta.org>
3878
3879 * isearch.el (isearch-lazy-highlight-word): New variable.
3880 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3881 Use it. (Bug#9727)
3882
c02ee9d6
GM
38832011-10-11 Glenn Morris <rgm@gnu.org>
3884
3885 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3886 like f90-previous-statement does.
3887
93e616fd 38882011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3889
1f190e73 3890 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3891 only in interactive use, to avoid error.
3892
af7b6078
SM
38932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * minibuffer.el (completion-file-name-table): Fix last change,
3896 i.e. ignore normal errors but not the other ones.
3897
0563dae9
MR
38982011-10-10 Martin Rudalics <rudalics@gmx.at>
3899
3900 * window.el (special-display-buffer-names)
3901 (special-display-regexps): Remove some remnants of earlier
3902 changes from doc-strings.
366ca7f3
MR
3903 (quit-windows-on): New function.
3904
3905 * vc/vc.el (vc-revert, vc-rollback):
3906 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3907 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3908 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3909
49677495
MR
39102011-10-09 Martin Rudalics <rudalics@gmx.at>
3911
3912 * window.el (frame-auto-hide-function): Add version tag.
3913 (Bug#9699)
3914
56f2d1e1
MA
39152011-10-09 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3918 condition.
3919
112a6592
LL
39202011-10-09 Leo Liu <sdl.web@gmail.com>
3921
3922 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3923 (Bug#9701)
3924
0812589b
GM
39252011-10-08 Glenn Morris <rgm@gnu.org>
3926
3927 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3928 before the first code statement zero indent. (Bug#9690)
3929
b2b0776e
CY
39302011-10-08 Chong Yidong <cyd@stupidchicken.com>
3931
3932 * simple.el (count-words-region): Always count in the region.
3933 Report the number of lines and characters too.
3934 (count-words): New command, which counts in the buffer if the
3935 region is inactive, as count-words-region used to.
3936 (count-words--message): New function. Handle plurals.
3937 (count-lines-region): Make it an alias for count-words-region.
3938
3939 * bindings.el (esc-map): Replace count-lines-region with
3940 count-words-region.
3941
c557cd6b
MR
39422011-10-08 Martin Rudalics <rudalics@gmx.at>
3943
3944 * window.el (window--delete): Delete dedicated frame
3945 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3946 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3947
61a57ef4 39482011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3949
3a7d293b 3950 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3951
c3833279
CY
39522011-10-07 Chong Yidong <cyd@stupidchicken.com>
3953
3954 * bindings.el ([M-left],[M-right]): Bind to left-word and
3955 right-word respectively.
3956
21ce8245
GM
39572011-10-07 Glenn Morris <rgm@gnu.org>
3958
3959 * cus-start.el (debug-on-quit): Fix custom type.
3960
6d823bb2
LMI
39612011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3962
0181e193
LMI
3963 * subr.el (define-key-after): Clarify that the function is not
3964 useful for non-menu keymaps.
3965
6d823bb2
LMI
3966 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3967
8e3459ce 39682011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3969
21ce8245 3970 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3971 in current minibuffer (Fix bug with recursive minibuffers).
3972
a1c2d21e
CY
39732011-10-06 Chong Yidong <cyd@stupidchicken.com>
3974
3975 * progmodes/gdb-mi.el (gdb): Doc fix.
3976
5a4cf282
MR
39772011-10-05 Martin Rudalics <rudalics@gmx.at>
3978
3979 * window.el (frame-auto-hide-function): New option replacing
3980 frame-auto-delete. Suggested by Stefan Monnier.
3981 (window--delete): Call frame-auto-hide-function instead of
3982 investigating frame-auto-delete.
c96111ea
MR
3983 (window-point-1, set-window-point-1): New functions.
3984 (window-in-direction, record-window-buffer, window-state-get-1)
3985 (display-buffer-record-window): Use window-point-1 instead of
3986 window-point.
3987 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3988
9854542e
SM
39892011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3992
8943cfb0
GM
39932011-10-05 Glenn Morris <rgm@gnu.org>
3994
3995 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3996 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3997
647ab967
LL
39982011-10-05 Leo Liu <sdl.web@gmail.com>
3999
4000 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4001 works with buffer object.
4002
3ddfbced
SM
40032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * mpc.el (mpc-tool-bar-map): Add labels.
4006
bdfa5dd2
GM
40072011-10-04 Glenn Morris <rgm@gnu.org>
4008
4009 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4010
0e2070b5
MR
40112011-10-04 Martin Rudalics <rudalics@gmx.at>
4012
4013 * window.el (window--delete): New function.
4014 (frame-auto-delete): Resuscitate option.
4015 (bury-buffer, replace-buffer-in-windows)
4016 (quit-window): Rewrite using window--delete.
4017 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4018 Pass display-buffer-mark-dedicated to window--display-buffer-2
4019 (Bug#9639).
4020
3dc61a09
SM
40212011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4022
915a9b64
SM
4023 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4024 returns a list (bug#9554). Add remote file name completion.
4025 * comint.el (comint--table-subvert): Curry and get quote&unquote
4026 functions as arguments.
4027 (comint--complete-file-name-data): Adjust call accordingly.
4028 * pcomplete.el (pcomplete--table-subvert): Remove.
4029 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4030
3dc61a09
SM
4031 * minibuffer.el (completion-table-case-fold): Use currying.
4032 (completion--styles-type, completion--cycling-threshold-type):
4033 New constants.
4034 (completion-styles, completion-category-overrides)
4035 (completion-cycle-threshold): Use them.
4036 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4037 completion-table-case-fold.
4038
8ea0a993
SB
40392011-10-03 Stephen Berman <stephen.berman@gmx.net>
4040
4041 * minibuffer.el (completion-category-overrides): Fix type of styles
4042 and add more user friendly tags (bug#9660).
4043
8c24b7f6
SM
40442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4047 (mule-input-method-string): New widget.
4048 (default-input-method, language-info-custom-alist): Use it.
4049
428fe61a
SM
40502011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4051
32c1fffd
SM
4052 * pcomplete.el: Require comint.
4053 (pcomplete--common-suffix): Remove.
4054 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4055 (pcomplete--table-subvert): Sync with comint--table-subvert.
4056 (pcomplete--entries): Use comint-completion-file-name-table.
4057 * comint.el (comint-unquote-filename): Simplify.
4058 (comint-completion-file-name-table): New function (bug#9616).
4059 (comint--complete-file-name-data): Use it.
4060
428fe61a
SM
4061 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4062 (pcmpl-gnu-tar-buffer): Remove.
4063 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4064 around. Make sure pcomplete-suffix-list is only changed temporarily.
4065 Don't look inside the tar's file if it's too large.
428fe61a 4066
04c52e2f
CY
40672011-10-01 Chong Yidong <cyd@stupidchicken.com>
4068
ce3cefcc
CY
4069 * cus-edit.el (custom-mode-map):
4070 * epa.el (epa-key-list-mode-map):
4071 * man.el (Man-mode-map):
4072 * startup.el (splash-screen-keymap):
4073 * simple.el (special-mode-map): Use scroll-up-command and
4074 scroll-down-command.
4075
4076 * progmodes/idlw-help.el (idlwave-help-mode-map):
4077 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4078 * net/newst-plainview.el (newsticker-mode-map):
4079 * emulation/ws-mode.el (wordstar-mode-map):
4080 * emulation/vi.el (vi-com-map):
4081 * calc/calc-graph.el (calc-graph-show-dumb):
4082 * term/sun.el (terminal-init-sun):
4083 * term/ns-win.el (global-map):
4084 * progmodes/grep.el (grep-mode-map):
4085 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4086 * mail/rmail.el (rmail-mode-map):
4087 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4088
04c52e2f
CY
4089 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4090 custom-safe-themes as special.
4091
79adf8c8
JD
40922011-10-01 Julien Danjou <julien@danjou.info>
4093
4094 * notifications.el (notifications-notify): Fix docstring.
4095
63bd50d3
PS
40962011-10-01 Per Starbäck <per@starback.se>
4097
4098 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4099
199e4c7e
MR
41002011-09-30 Martin Rudalics <rudalics@gmx.at>
4101
4102 * startup.el (command-line-1): Fix last fix by inserting
4103 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4104 (Bug#9605) and (Bug#9636)
199e4c7e 4105
fe5f08dd
EZ
41062011-09-29 Eli Zaretskii <eliz@gnu.org>
4107
4108 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4109 window is hscrolled, move by logical lines. (Bug#9607)
4110 (line-move-visual): Update the doc string to the above effect.
4111
b5516bbd
MR
41122011-09-29 Martin Rudalics <rudalics@gmx.at>
4113
ccee00c0
MR
4114 * window.el (display-buffer-record-window): When WINDOW is the
4115 selected window use `point' instead of `window-point'. (Bug#9626)
4116
b5516bbd
MR
4117 * startup.el (command-line-1): Use insert-before-markers when
4118 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4119
b5516bbd
MR
4120 * help.el (help-window): Remove variable.
4121
52aa0014
GM
41222011-09-29 Glenn Morris <rgm@gnu.org>
4123
4124 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4125
df9a7357
JB
41262011-09-29 Juanma Barranquero <lekktu@gmail.com>
4127
4128 * descr-text.el (describe-char-categories): Accept category
4129 descriptions more than one line long.
4130
a8406c20
SM
41312011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4132
88d9610c
SM
4133 * simple.el (delete-trailing-whitespace): Fix last change.
4134
a5daf810
SM
4135 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4136 Don't confuse "y => 3" as the beginning of a `y' operation.
4137
a8406c20
SM
4138 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4139 object has more than 4 slots (bug#9613).
4140
a239d4e9
JB
41412011-09-28 Juanma Barranquero <lekktu@gmail.com>
4142
4143 * subr.el (with-output-to-temp-buffer):
4144 * net/quickurl.el (quickurl, quickurl-browse-url):
4145 Fix typos in docstrings.
4146
693fbdb6
EZ
41472011-09-27 Eli Zaretskii <eliz@gnu.org>
4148
4149 * minibuffer.el (completion-styles)
4150 (completion-category-overrides): Cross reference each other in doc
4151 strings.
4152
8b457e28
GM
41532011-09-27 Glenn Morris <rgm@gnu.org>
4154
4155 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4156 to split-string. (Bug#9606)
4157
85a16208
LMI
41582011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4159
4160 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4161 (bug#9615).
4162
502f9ebd
CY
41632011-09-27 Chong Yidong <cyd@stupidchicken.com>
4164
4165 * emacs-lisp/package.el (list-packages): Fix echo area message.
4166
7690bdea
LL
41672011-09-27 Leo Liu <sdl.web@gmail.com>
4168
4169 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4170
e2ee6f30
MA
41712011-09-25 Michael Albinus <michael.albinus@gmx.de>
4172
4173 * net/dbus.el (dbus-unregister-object): Don't release services for
4174 registered signals. (Bug#9581)
4175
f3f98342
TZ
41762011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4177
4178 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4179 function that picks between cfengine 2 and 3 support
4180 automatically. Update docs accordingly.
4181
dd7aa8dd
KH
41822011-09-22 Kenichi Handa <handa@m17n.org>
4183
4184 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4185 ZERO.
4186 (indian-itrans-v5-table-for-tamil): New variable.
4187 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4188
3f2b07f8
KM
41892011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4190
4191 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4192 that's true if the current command involved collapsing of text.
4193 It's reset to false at the beginning of the next command.
4194 (allout-post-command-business): Move the cursor to the beginning
4195 of entry if the cursor is hidden and collapsing activity just
4196 happened.
4197
371d6a61
CY
41982011-09-24 Chong Yidong <cyd@stupidchicken.com>
4199
4200 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4201 tracking (Bug#9541).
4202
2ac2721a
UJ
42032011-09-24 Ulf Jasper <ulf.jasper@web.de>
4204
4205 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4206 (newsticker-show-news): Automatically load html rendering package
4207 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4208 because w3m-fill-column is let-bound" and the error "Symbol's value
4209 as variable is void: w3m-fill-column".
2ac2721a 4210
fac7ae53
MA
42112011-09-24 Michael Albinus <michael.albinus@gmx.de>
4212
4213 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4214 Release services only if they are defined. (Bug#9581)
4215
e08b633b
RS
42162011-09-23 Richard Stallman <rms@gnu.org>
4217
e488d29c
RS
4218 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4219 distinguish start of paragraph from start of its text.
4220
19c38752
RS
4221 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4222
e08b633b
RS
4223 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4224 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4225 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4226
0a39f27e
AS
42272011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4228
4229 * international/mule-diag.el (mule-diag): Insert a newline after
4230 each fontset description.
4231
db4e950d
SM
42322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * simple.el (delete-trailing-whitespace):
4235 Document last change; simplify.
4236
eca3f3ea
PW
42372011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4238
d68e189a
PW
4239 * simple.el (delete-trailing-whitespace): Also delete
4240 extra newlines at the end of the buffer.
4241
eca3f3ea
PW
4242 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4243 (picture-newline): Use forward-line so as to ignore fields.
4244
01c157cc
SM
42452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * subr.el (with-wrapper-hook): Fix edebug spec.
4248
022de23e
LMI
42492011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4250
4251 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4252 (bug#4538).
4253
91683089
MA
42542011-09-23 Michael Albinus <michael.albinus@gmx.de>
4255
eca3f3ea
PW
4256 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4257 Fix nasty bug using wrong cached values.
91683089 4258
5bdd6fa4
AM
42592011-09-23 Alan Mackenzie <acm@muc.de>
4260
4261 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4262
97adfb97
CY
42632011-09-23 Chong Yidong <cyd@stupidchicken.com>
4264
4265 * window.el (pop-to-buffer): Ensure right window is selected if we
4266 chose another frame.
4267
d4ef2b50
EZ
42682011-09-22 Eli Zaretskii <eliz@gnu.org>
4269
4270 * simple.el (what-cursor-position): Use get-char-property-change
4271 and next-single-char-property-change, to be able to show display
4272 properties that come from overlays as well as text properties.
4273
72258fe5
CY
42742011-09-22 Chong Yidong <cyd@stupidchicken.com>
4275
4276 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4277
4278 * cmuscheme.el (run-scheme, switch-to-scheme):
4279 * cus-edit.el (customize-group, custom-buffer-create)
4280 (customize-browse):
4281 * info.el (info):
4282 * shell.el (shell):
4283 * mail/sendmail.el (mail):
4284 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4285
8f098516
RS
42862011-09-22 Richard Stallman <rms@gnu.org>
4287
4288 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4289 move back only to line beg, don't move back over blank lines.
4290
e74f1bb6
MA
42912011-09-22 Michael Albinus <michael.albinus@gmx.de>
4292
4293 * files.el (copy-directory): Set directory attributes only in case
4294 they could be retrieved from the source directory. (Bug#9565)
4295
bfeef8b6
DK
42962011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4297
4298 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4299 (hs-find-block-beginning, hs-hide-level-recursive):
4300 Ignore strings as well as comments. (Bug#9502)
4301
7e423bb8
AS
43022011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4303
4304 * progmodes/sql.el (sql-comint-postgres):
4305 Convert port number to a string. (Bug#9566)
4306
b4d72fcf
MR
43072011-09-22 Martin Rudalics <rudalics@gmx.at>
4308
4309 * window.el (quit-window): Undedicate window when switching to
4310 previous buffer. Reported by Thierry Volpiatto
4311 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4312 (special-display-popup-frame): When popping up a new frame reset
4313 its previous buffers to nil. Simplify code.
b4d72fcf 4314
a7b88dc6
MA
43152011-09-21 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4318 and process filter, as done also in `shell-command'.
4319
cf4eacfd
MR
43202011-09-21 Martin Rudalics <rudalics@gmx.at>
4321
eca3f3ea 4322 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4323 Call set-window-start with NOFORCE argument t.
4324 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4325 (quit-window): Reword doc-string. Handle new format of
4326 quit-restore parameter. Don't delete window if it has a
4327 previous buffer we can show instead of the present one.
4328 (display-buffer-record-window): Rewrite using a new format for
4329 the quit-restore window parameter
4330 (special-display-popup-frame, display-buffer-same-window)
4331 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4332 (display-buffer-pop-up-window, display-buffer-use-some-window):
4333 Adapt symbol passed to display-buffer-record-window.
4334 * help.el (help-window-setup): Handle new format of quit-restore
4335 parameter.
4336
8d28cb95
SM
43372011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4338
94ab793f
SM
4339 * faces.el (face-list): Fix docstring (bug#9564).
4340
8d28cb95
SM
4341 * window.el (display-buffer--action-function-custom-type):
4342 Don't include internal functions in the Custom interface.
4343
3820edeb
JL
43442011-09-20 Juri Linkov <juri@jurta.org>
4345
4346 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4347 (Info-forward-node, Info-backward-node, Info-next-preorder)
4348 (Info-last-preorder): Use it. (Bug#9528)
4349
5147931d
JL
43502011-09-20 Juri Linkov <juri@jurta.org>
4351
4352 * info.el (Info-last-preorder): Visit last menu item only when
4353 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4354
cf499a1a
JD
43552011-09-20 Julien Danjou <julien@danjou.info>
4356
4357 * password-cache.el (password-cache-remove): Remove entries even if the
4358 value is nil, so that password with a nil value (negative caching) is
4359 possible to invalidate.
4360
f84e2fe2
LM
43612011-09-20 Lawrence Mitchell <wence@gmx.li>
4362
4363 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4364 all whitespace around breakpoint. (Bug#9553)
4365 (f90-find-breakpoint): Only break at whitespace inside a comment.
4366
78054a46
SM
43672011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * minibuffer.el (completion-file-name-table): Keep track of errors.
4370 (completion-table-with-predicate): Handle the case where pred1 is nil.
4371 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4372
345083b2
SM
43732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4374
e24e27be
SM
4375 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4376 (debugger-return-value): Signal an error if the debugging context does
4377 not await any return value.
4378
345083b2
SM
4379 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4380 * image-mode.el (image-toggle-display-text)
4381 (image-toggle-display-image): Stay away from evil `intangible'.
4382
08d355e3
LL
43832011-09-19 Leo Liu <sdl.web@gmail.com>
4384
4385 * replace.el (occur-revert-arguments): Make it permanent-local.
4386 (occur-mode): Don't call font-lock-defontify.
4387
f01da43f
CY
43882011-09-19 Chong Yidong <cyd@stupidchicken.com>
4389
4390 * net/ldap.el (ldap-search-internal): Don't push empty search
4391 result (Bug#9508).
4392
b6072fa6
SM
43932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4396
443d6696
MA
43972011-09-19 Michael Albinus <michael.albinus@gmx.de>
4398
4399 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4400 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4401
7cc6e154
JL
44022011-09-18 Juri Linkov <juri@jurta.org>
4403
4404 * buff-menu.el (Buffer-menu-mode-map):
4405 * dired.el (dired-mode-map):
4406 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4407 (lisp-interaction-mode-map):
4408 * emacs-lisp/package.el (package-menu-mode-map):
4409 * epa.el (epa-key-list-mode-map):
4410 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4411 (menu-bar-options-menu):
4412 * outline.el (outline-mode-menu-bar-map):
4413 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4414 * vc/vc-dir.el (vc-dir-menu-map):
4415 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4416 Capitalize non-function content words in menu item strings.
4417
4418 * dired.el (dired-mode-map): Add menu item for
4419 `image-dired-dired-toggle-marked-thumbs'.
4420
80302a81
JL
44212011-09-18 Juri Linkov <juri@jurta.org>
4422
4423 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4424 to `isearch-case-fold-search' and restore its original value
4425 after the `isearch-mode' call.
4426
46c5cf66
JL
44272011-09-18 Juri Linkov <juri@jurta.org>
4428
4429 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4430 because `zgrep' returns 1 for successful matches (bug#9226).
4431
d18b513b
JL
44322011-09-18 Juri Linkov <juri@jurta.org>
4433
4434 * info.el (Info-extract-menu-node-name): Check the second match
4435 for empty string (second test-case of bug#9528).
4436 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4437 intermediate nodes to the history (first test-case of bug#9528).
4438
72753f87
JL
44392011-09-18 Juri Linkov <juri@jurta.org>
4440
4441 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4442 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4443
c9384295
JL
44442011-09-18 Juri Linkov <juri@jurta.org>
4445
1154d12e
JB
4446 * info.el (Info-file-supports-index-cookies):
4447 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4448 outputs one more line for long file names (bug#4142).
c9384295 4449
d473dce8
CY
44502011-09-18 Chong Yidong <cyd@stupidchicken.com>
4451
4452 * newcomment.el (comment-normalize-vars): If prompting for
4453 comment-start, set comment-start-skip too (Bug#8424).
4454
2176854d
JB
44552011-09-18 Johan Bockgård <bojohan@gnu.org>
4456
4457 * icomplete.el: Fix previous fix of Bug#5849.
4458 (icomplete-mode): Don't set completion-show-inline-help.
4459 (icomplete-minibuffer-setup): Set completion-show-inline-help
4460 locally during icompletion.
4461
3aace4e4
CY
44622011-09-18 Chong Yidong <cyd@stupidchicken.com>
4463
c940224f
CY
4464 * woman.el (woman2-process-escapes): Don't delete unrecognized
4465 escapes (Bug#7843).
4466
3aace4e4
CY
4467 * files.el (inhibit-first-line-modes-regexps): Add image files.
4468 (hack-local-variables-prop-line): Return nil for malformed
4469 prop-lines (Bug#9044).
4470
710dec63
MA
44712011-09-18 Michael Albinus <michael.albinus@gmx.de>
4472
4473 * net/tramp.el (top): Don't require 'shell.
4474 (tramp-methods): Fix docstring.
4475 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4476 Return complete remote file name. Handle "smb" case.
4477 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4478 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4479
4480 * net/tramp-compat.el (top): Require 'shell.
4481
4482 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4483 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4484 `tramp-current-host'.
4485 (tramp-get-remote-tmpdir): Remove.
4486
4487 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4488 `tramp-tmpdir' entries.
4489 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4490 (tramp-smb-handle-file-attributes): Ignore errors.
4491 (tramp-smb-wait-for-output): Check also for process end.
4492
5d5ac8ec
LMI
44932011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494
4495 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4496 when sending QUIT (bug#9312).
4497
8c0f49f0
CY
44982011-09-17 Chong Yidong <cyd@stupidchicken.com>
4499
4500 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4501 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4502 occur-mode-display-occurrence.
4503 (occur-edit-mode): Add usage message.
4504 (occur-cease-edit): New command.
4505 (occur-after-change-function): Use text properties to find the
4506 position of the prefix text.
4507 (occur-engine): Set stickiness of prefix text properties.
4508
8f1383f7
GM
45092011-09-17 Glenn Morris <rgm@gnu.org>
4510
4511 * progmodes/etags.el (complete-tag):
4512 Fix call to completion-in-region. (Bug#9526)
4513
744ba0e3
JL
45142011-09-17 Juri Linkov <juri@jurta.org>
4515
4516 * textmodes/ispell.el (ispell-word): Add to the error message
4517 the word, ispell program name and current dictionary (bug#9121).
4518 (ispell-tex-arg-end): Capitalize "error" in the error message.
4519
d9bbf400
AS
45202011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4521
4522 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4523 check. (Bug#4251)
4524
8da11505
JL
45252011-09-17 Juri Linkov <juri@jurta.org>
4526
4527 * window.el (window-safe-min-height, window-safe-min-width):
4528 Fix typos (followup to bug#9522).
4529
a91adc7e
SJ
45302011-09-17 Sven Joachim <svenjoac@gmx.de>
4531
4532 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4533
064f328a
EZ
45342011-09-16 Eli Zaretskii <eliz@gnu.org>
4535
4536 * simple.el (line-move): If goal-column is set, move by logical
4537 lines, not by display lines. (Bug#971)
4538 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4539 to reflect the above change.
4540
e69df516
SM
45412011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * image.el (imagemagick-register-types): Use regexp-opt.
4544
cbb0f9ab
CY
45452011-09-15 Chong Yidong <cyd@stupidchicken.com>
4546
4547 * window.el (display-buffer-base-action): Rename from
4548 display-buffer-default-action. Make default value empty.
4549 (display-buffer-overriding-action): Convert to defvar.
4550 (display-buffer-fallback-action): New var.
4551
25322144
CY
45522011-09-15 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4555 declaration.
4556 (package--add-to-archive-contents): If there is a duplicate entry
4557 with an older version, remove it.
4558 (package-menu-mark-delete, package-menu-mark-install)
4559 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4560 (package-menu-mark-obsolete-for-deletion):
4561 Use package-menu-get-status instead of a regexp search.
25322144
CY
4562 (package-menu-get-status): Use tabulated-list-entry.
4563 (package-menu-mark-upgrades): New command.
d770725a 4564 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4565 (package-menu-execute): Do installation before deletion.
4566 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4567 instead of checking major-mode.
4568 (package-menu--find-upgrades): New function.
4569
7520339c
LMI
45702011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4571
4572 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4573 passwords in the log buffer.
65a046c4
LMI
4574 (smtpmail-process-filter): Update the process marker so that the
4575 "broken by peer" status message is inserted in the right place.
7520339c 4576
d3c30954
SM
45772011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4578
3fe48822
SM
4579 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4580 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4581 bibtex-completion-at-point-function.
4582 (bibtex-completion-at-point-function): Use them.
4583
1b8b3954
SM
4584 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4585
d3c30954
SM
4586 * mpc.el (mpc-constraints-tag-lookup): New function.
4587 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4588 also to browser "album|playlist".
4589
72779976
JL
45902011-09-14 Juri Linkov <juri@jurta.org>
4591
4592 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4593 (isearch-edit-string): Use length of `isearch-string' when
4594 `isearch-fail-pos' returns nil.
4595 (isearch-message): Remove duplicate code and call
4596 `isearch-fail-pos' with arg `t'.
4597
a0bf2bcd
CY
45982011-09-14 Chong Yidong <cyd@stupidchicken.com>
4599
17bb0a2d
CY
4600 * replace.el (occur-mode-goto-occurrence): Don't force using other
4601 window (Bug#9499).
4602
a0bf2bcd
CY
4603 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4604
f678e0b6
MR
46052011-09-14 Martin Rudalics <rudalics@gmx.at>
4606
4607 * window.el (display-buffer-window): Remove.
4608 (display-buffer-record-window): Use help-setup window parameter
4609 instead of variable display-buffer-window.
4610 (display-buffer-function, special-display-buffer-names)
4611 (special-display-function): Mention help-setup parameter instead
4612 of display-buffer-window in doc-string.
d3c30954
SM
4613 * help.el (help-window-setup): New argument help-window.
4614 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4615 Reword some messages.
4616 (with-help-window): Pass window used for displaying the buffer
4617 to help-window-setup. Don't set display-buffer-window.
4618
8e39b2e8
GM
46192011-09-13 Glenn Morris <rgm@gnu.org>
4620
4621 * emacs-lisp/debug.el (debugger-make-xrefs):
4622 Preserve point. (Bug#9462)
4623
85e9c04b
CY
46242011-09-13 Chong Yidong <cyd@stupidchicken.com>
4625
4626 * window.el (window-deletable-p): Use next-frame.
4627
1b36ed6a
MR
46282011-09-13 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (window-auto-delete): Remove.
4631 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4632 dedication and previous buffers.
1b36ed6a
MR
4633 (switch-to-prev-buffer): Don't delete window.
4634 (delete-windows-on): Delete a window's frame if and only if the
4635 window is dedicated.
4636 (replace-buffer-in-windows): Delete buffer's window or frame if
4637 and only if window is dedicated.
4638 (quit-window): Handle quit-restore as before last change.
4d61f28d 4639 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4640
ef8ef9fb
CY
46412011-09-13 Chong Yidong <cyd@stupidchicken.com>
4642
4643 * window.el (window-deletable-p): Never delete the last frame on a
4644 given terminal.
4645
b2cba41e
GM
46462011-09-13 Glenn Morris <rgm@gnu.org>
4647
4648 * help.el (describe-key-briefly): Copy previous standard-output change.
4649
51553db6 46502011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4651
4652 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4653
b7556719
GM
46542011-09-13 Glenn Morris <rgm@gnu.org>
4655
4656 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4657 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4658
64b51947
CY
46592011-09-12 Chong Yidong <cyd@stupidchicken.com>
4660
4661 * dired-aux.el (dired-mark-read-string): Don't return default
4662 value on empty input (Bug#9361).
4663 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4664 Omit initial minibuffer contents.
4665 (dired-do-chmod): Signal an error on empty input.
4666 (dired-mark-read-string): Don't return default on empty input.
4667
4668 * files.el (file-modes-symbolic-to-number): Doc fix.
4669
393a301e
SM
46702011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * international/mule-cmds.el (ucs-completions): Remove.
4673 (read-char-by-name): Use complete-with-action instead; add metadata.
4674
fa5660f9
CY
46752011-09-11 Chong Yidong <cyd@stupidchicken.com>
4676
4677 * window.el (display-buffer--action-function-custom-type)
4678 (display-buffer--action-custom-type): New vars.
4679 (display-buffer-alist, display-buffer-default-action)
4680 (display-buffer-overriding-action): Add defcustom types.
4681
4a592f66
CY
4682 * frame.el (delete-other-frames): Doc fix (Bug#276).
4683
73d56dbd
LMI
46842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4685
4686 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4687
37ac18a3
CY
46882011-09-11 Chong Yidong <cyd@stupidchicken.com>
4689
4690 Change modes that used same-window-* vars to use switch-to-buffer.
4691
4692 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4693 Use switch-to-buffer.
4694
4695 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4696 (customize-browse, custom-buffer-create-other-window):
4697 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4698
4699 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4700 (Info-prev, Info-up, Info-speedbar-goto-node)
4701 (info-display-manual): Use switch-to-buffer.
4702 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4703
4704 * mail/sendmail.el (mail): Use switch-to-buffer.
4705 (mail-recover): Use switch-to-buffer-other-window.
4706
4707 * cmuscheme.el (run-scheme, switch-to-scheme):
4708 * ielm.el (ielm):
4709 * shell.el (shell):
4710 * net/rlogin.el (rlogin):
4711 * net/telnet.el (telnet, rsh):
4712 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4713
10195bd6
AS
47142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4715
4716 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4717
b322f63a
LMI
47182011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4719
39d7fed6
LMI
4720 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4721 so don't mention it (bug#9301).
ba5a81f1 4722 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4723
ee0e9f11
LMI
4724 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4725 match `x', `w32' and `ns', like the manual says (bug#9029).
4726
0b1c89c1 4727 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4728 (process-kill-buffer-query-function): Mention the buffer name in
4729 the query.
0b1c89c1 4730
77549ea8
LMI
4731 * image-mode.el (image-next-line): The line parameter is mandatory
4732 (bug#9258).
4733
803ef892
LMI
4734 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4735 which can be useful (bug#9301).
4736
12980837
LMI
4737 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4738
91054f8f
LMI
4739 * subr.el (match-string): Mention that the current buffer should
4740 be the same as the search was done in (bug#9282).
4741
b322f63a
LMI
4742 * facemenu.el: Disable the remove-* commands if the mark isn't
4743 active (bug#9162).
4744
3199b96f
CY
47452011-09-10 Chong Yidong <cyd@stupidchicken.com>
4746
4747 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4748 of display-buffer.
4749 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4750
4751 * replace.el (occur-mode-goto-occurrence)
4752 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4753 and display-buffer.
4754
4755 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4756 display-buffer.
4757
4758 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4759 special-display and same-window variables.
4760 (mail-other-window): Use switch-to-buffer-other-window.
4761 (mail-other-frame): USe switch-to-buffer-other-frame.
4762
393a301e
SM
4763 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4764 Use display-buffer-other-frame.
3199b96f
CY
4765 (gdb-display-gdb-buffer): Use pop-to-buffer.
4766
4767 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4768
4769 * progmodes/python.el: Don't set same-window-buffer-names.
4770
4771 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4772
4773 * window.el (display-buffer-alist): Add *Python*.
4774
8319e0bf
CY
47752011-09-10 Chong Yidong <cyd@stupidchicken.com>
4776
4777 * window.el (display-buffer-alist): Add entry for buffers
4778 previously handled same-window-*.
4779 (display-buffer-alist, display-buffer-default-action)
4780 (display-buffer-overriding-action): Mark as risky.
4781 (display-buffer-alist): Document action function changes.
4782 (display-buffer--same-window-action)
4783 (display-buffer--other-frame-action): New variables.
4784 (switch-to-buffer, display-buffer-other-frame): Use them.
4785 (display-buffer): Rename reuse-frame entry to reusable-frames.
4786 (display-buffer-reuse-selected-window): Function deleted.
4787 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4788 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4789 (display-buffer-special): New function.
4790 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4791 display-buffer-reuse-or-pop-window. Split off special-display
4792 part into display-buffer-special.
4793 (display-buffer-use-some-window): Don't perform any special
4794 pop-up-frames handling.
4795 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4796 (display-buffer--maybe-same-window): Rename from
0d3ff375 4797 display-buffer-maybe-same-window.
8319e0bf 4798
919a69aa
CY
4799 * info.el: Don't set same-window-regexps.
4800 (info-setup): New function.
4801 (info-other-window, info): Call it.
4802
4803 * cus-edit.el: Don't set same-window-regexps.
4804 (customize-group): New argument.
4805 (customize-group-other-window): Use it.
4806 (customize-face, customize-face-other-window): Likewise.
4807 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4808
8319e0bf
CY
4809 * net/rlogin.el:
4810 * net/telnet.el:
4811 * progmodes/gud.el: Don't set same-window-regexps.
4812
4813 * cmuscheme.el:
4814 * ielm.el:
4815 * shell.el:
4816 * mail/sendmail.el:
4817 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4818
25173000
JL
48192011-09-10 Juri Linkov <juri@jurta.org>
4820
4821 * isearch.el (isearch-edit-string): Remove obsolete mention of
4822 `C-w' (`isearch-yank-word-or-char') from docstring.
4823 (isearch-query-replace): Fix typo in docstring (bug#9466).
4824
056e44ef
JL
48252011-09-10 Juri Linkov <juri@jurta.org>
4826
4827 * paren.el (show-paren-function): Don't show escaped parens.
4828 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4829
c3760c17
EZ
48302011-09-10 Eli Zaretskii <eliz@gnu.org>
4831
4832 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4833 (mm-default-file-encoding): Remove autoload forms, they are
4834 replaced with autoload cookies in mml.el and mm-encode.el.
4835 (mail-add-attachment): New command.
4836 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4837 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4838 the doc string.
4839 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4840
fece895e
RT
48412011-09-10 Reuben Thomas <rrt@sc3d.org>
4842
e69df516
SM
4843 * simple.el (count-words-region): Use buffer if there's no region
4844 (bug#9429).
fece895e 4845
5e68ce4a
JL
48462011-09-09 Juri Linkov <juri@jurta.org>
4847
4848 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4849 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4850 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4851
0a6b9622
AM
48522011-09-09 Alan Mackenzie <acm@muc.de>
4853
4854 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4855 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4856
14a29deb
EZ
48572011-09-09 Eli Zaretskii <eliz@gnu.org>
4858
4859 Fix for Savannah bug#9392.
4860 * simple.el (mail-encode-mml): New defvar.
4861
4862 * mail/rmail.el (mail-encode-mml): Add a defvar.
4863 (rmail-enable-mime-composing): Default to t.
4864 (rmail-forward): Use MIME method of forwarding only if both
4865 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4866 Set mail-encode-mml non-nil if the MIME method was used.
4867
4868 * mail/sendmail.el (mml-to-mime): Add autoload form.
4869 (mail-encode-mml): Add a defvar.
4870 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4871 to nil.
4872 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4873 message through mml-to-mime, and reset mail-encode-mml to nil.
4874
28c45130
GM
48752011-09-09 Glenn Morris <rgm@gnu.org>
4876
4877 * woman.el (woman-if-body): When processing an .el block,
4878 do not delete the next .el block as well. (Bug#9447)
69f4b618 4879 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4880
9b1c252e
MR
48812011-09-08 Martin Rudalics <rudalics@gmx.at>
4882
4883 * window.el (window-deletable-p): Make sure window is live before
4884 invoking window-prev-buffers.
4885
567457e3
LL
48862011-09-08 Leo Liu <sdl.web@gmail.com>
4887
4888 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4889
97f05794
JL
48902011-09-08 Juri Linkov <juri@jurta.org>
4891
4892 * progmodes/compile.el (compilation-environment): Make it
4893 a defcustom (bug#8340).
4894
8b0874b5
MR
48952011-09-08 Martin Rudalics <rudalics@gmx.at>
4896
4897 * window.el (frame-auto-delete): Rename to window-auto-delete.
4898 Make it control auto-deletion of windows and/or frames.
4899 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4900 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4901 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4902 Rewrite handling of case when window/frame can be deleted.
4903 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4904 argument t. (Bug#9456)
8b0874b5 4905
4feb6e73
CY
49062011-09-07 Chong Yidong <cyd@stupidchicken.com>
4907
4908 * help-mode.el (help-mode): Restore autoload.
4909
91ab9c13
JL
49102011-09-07 Juri Linkov <juri@jurta.org>
4911
4912 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4913 `compilation-environment'. Set buffer-local
4914 `compilation-environment' to `thisenv' later after (funcall mode).
4915 (Bug#8340)
4916
4917 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4918 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4919 instead of replacing its value. (Bug#8340)
4920
0527e251
JL
49212011-09-07 Juri Linkov <juri@jurta.org>
4922
4923 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4924 based on text properties put by `grep-filter' instead of matching
4925 escape sequences.
4926 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4927 to the value of `grep-error-screen-columns' (bug#9438).
4928
249f792c
JL
49292011-09-07 Juri Linkov <juri@jurta.org>
4930
4931 * simple.el (next-error-highlight, next-error-highlight-no-select):
4932 Doc fix (bug#9432).
4933
ff7271b9
OT
49342011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4935
4936 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4937 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4938
183fc730
LL
49392011-09-07 Leo Liu <sdl.web@gmail.com>
4940
4941 * net/rcirc.el (rcirc-mode): Conditionally initialize
4942 rcirc-input-ring.
4943
77694924
SM
49442011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * emacs-lisp/find-func.el (find-function-C-source): Only set
4947 find-function-C-source-directory after checking that we found a source
4948 file there (bug#9440).
4949
d809b8eb
AM
49502011-09-06 Alan Mackenzie <acm@muc.de>
4951
4952 * isearch.el (isearch-other-meta-char): Wherever a key list is
4953 unread, "unread" the prefix arg, too. This fixes bug #8901.
4954
453de99f
OG
49552011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4956
4957 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4958
90439906
JL
49592011-09-05 Juri Linkov <juri@jurta.org>
4960
4961 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4962
f62bd846
JL
49632011-09-05 Juri Linkov <juri@jurta.org>
4964
4965 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4966 keeping point where processing of grep matches begins, and
4967 continue to delete remaining escape sequences from the same point.
4968 (grep-filter): Make leading zero optional in "0?1;31m" because
4969 git-grep emits "\033[1;31m" escape sequences unlike expected
4970 "\033[01;31m" as GNU Grep does (bug#9408).
4971 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4972
045820ec
JL
49732011-09-05 Juri Linkov <juri@jurta.org>
4974
4975 * subr.el (y-or-n-p): Capitalize "yes".
4976
f5e29b9b
MA
49772011-09-04 Michael Albinus <michael.albinus@gmx.de>
4978
4979 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4980 `tramp-cache-unload-hook' where appropriate.
4981 (tramp-methods): Rename `tramp-remote-sh' to
4982 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4983 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4984
4985 * net/tramp-sh.el (top): Don't require 'shell.
4986 (tramp-methods): Add `tramp-remote-shell' and
4987 `tramp-remote-shell-args' entries.
4988 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4989 (tramp-sh-handle-shell-command): Remove.
4990 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4991 Use `tramp-remote-shell'.
4992
2784c434
CY
49932011-09-03 Chong Yidong <cyd@stupidchicken.com>
4994
393a301e 4995 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4996 (sendmail-query-once): Save directly to send-mail-function.
4997 Update message-send-mail-function too.
4998
4999 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5000
464cdf56
CS
50012011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5002
5003 * progmodes/python.el (python-mode-map): Use correct function to
5004 start python interpreter from menu-bar (as reported by Geert
5005 Kloosterman).
5006 (inferior-python-mode-map): Fix typo.
393a301e 5007 (python-shell-map): Remove.
464cdf56 5008
d37e5c87
DD
50092011-09-03 Deniz Dogan <deniz@dogan.se>
5010
5011 * net/rcirc.el (rcirc-print): Simplify code for
5012 rcirc-scroll-show-maximum-output. There is no need to walk
5013 through all windows to find the right one.
5014
f3ada0ee
CS
50152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5016
5017 * help.el (help-return-method): Doc fix.
5018
1f3c99ca
MR
50192011-09-03 Martin Rudalics <rudalics@gmx.at>
5020
5021 * window.el (window-deletable-p): Don't return a non-nil value
5022 when there's a buffer that was shown in the window before.
5023 (Bug#9419)
393a301e
SM
5024 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5025 Set window's previous buffers to nil.
1f3c99ca 5026
a3cf097f
EZ
50272011-09-03 Eli Zaretskii <eliz@gnu.org>
5028
5029 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5030 newline before and after the tag line, so it doesn't interfere
5031 with determining the paragraph direction of bidirectional text.
5032
3d03de90
LL
50332011-09-03 Leo Liu <sdl.web@gmail.com>
5034
5035 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5036
c3313451
CY
50372011-09-02 Chong Yidong <cyd@stupidchicken.com>
5038
393a301e 5039 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5040 (pop-to-buffer): Change interactive spec. Pass second argument
5041 directly to display-buffer.
5042 (display-buffer): Fix interactive spec. Use functionp to
5043 distinguish between a function and a list of functions.
5044
5045 * abbrev.el (edit-abbrevs):
5046 * arc-mode.el (archive-extract):
5047 * autoinsert.el (auto-insert):
5048 * bookmark.el (bookmark-bmenu-list):
5049 * files.el (find-file):
5050 * view.el (view-buffer):
5051 * progmodes/compile.el (compilation-goto-locus):
5052 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5053
89894cd8
CY
50542011-09-02 Chong Yidong <cyd@stupidchicken.com>
5055
5056 * window.el (display-buffer-alist): Doc fix.
5057 (display-buffer): Add docstring. Don't treat
5058 display-buffer-default specially.
5059 (display-buffer-reuse-selected-window)
5060 (display-buffer-same-window, display-buffer-maybe-same-window)
5061 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5062 (display-buffer-pop-up-window)
5063 (display-buffer-reuse-or-pop-window)
5064 (display-buffer-use-some-window): New functions.
5065 (display-buffer-default-action): Use them.
393a301e 5066 (display-buffer-default): Delete.
89894cd8
CY
5067 (pop-to-buffer-1): Fix choice of actions.
5068
ae0bc9fb
SM
50692011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * minibuffer.el (completion--insert-strings): Don't get confused by
5072 completion entries that end with an LF char.
5073
e9d90883
EZ
50742011-09-01 Eli Zaretskii <eliz@gnu.org>
5075
5076 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5077
437014c8
CY
50782011-09-01 Chong Yidong <cyd@stupidchicken.com>
5079
5080 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5081 (display-buffer-same-window, display-buffer-other-window):
5082 New functions.
437014c8
CY
5083 (pop-to-buffer-1): New function. Use the above.
5084 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5085 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5086
5087 * view.el (view-buffer-other-window, view-buffer-other-frame):
5088 Just use pop-to-buffer.
5089
a5e063d5
TV
50902011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5091
5092 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5093
793d32bb
WH
50942011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5095
5096 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5097
d65e4c15
RS
50982011-08-31 Richard Stallman <rms@gnu.org>
5099
5100 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5101 of the separation of rmail-view-buffer from rmail-buffer.
5102 If you say no to "replace original", the decrypt is in the
5103 view buffer. If you say yes, the decrypt goes into the
5104 rmail buffer also.
5105
f818cd2a
MR
51062011-08-31 Martin Rudalics <rudalics@gmx.at>
5107
5108 * window.el (display-buffer-window): Rewrite doc-string.
5109 (display-buffer-record-window): New function.
5110 (display-buffer-macro-specifiers)
5111 (display-buffer-even-window-sizes, display-buffer-set-height)
5112 (display-buffer-set-width, display-buffer-in-window)
5113 (display-buffer-reuse-window, display-buffer-split-specifiers)
5114 (display-buffer-side-specifiers, display-buffer-split-window-1)
5115 (display-buffer-split-window, display-buffer-split-atom-window)
5116 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5117 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5118 (display-buffer-other-window-means-other-frame)
5119 (display-buffer-normalize-special)
5120 (display-buffer-normalize-default)
5121 (display-buffer-normalize-argument)
5122 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5123 (display-buffer-normalize-specifiers, display-buffer-frame)
5124 (display-buffer-same-window, display-buffer-same-frame)
5125 (display-buffer-other-window)
5126 (display-buffer-same-frame-other-window)
5127 (display-buffer-other-frame, pop-to-buffer-same-window)
5128 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5129 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5130 (switch-to-buffer-same-frame)
5131 (switch-to-buffer-other-window-same-frame)
5132 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5133 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5134 (display-buffer-alist-set): Remove.
5135 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5136 (special-display-regexps, special-display-function):
5137 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5138 parameter.
5139 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5140 (special-display-frame-alist, special-display-popup-frame)
5141 (same-window-buffer-names, same-window-regexps, same-window-p)
5142 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5143 (split-window-preferred-function, split-height-threshold)
5144 (split-width-threshold, window-splittable-p)
5145 (split-window-sensibly, window--try-to-split-window)
5146 (window--frame-usable-p, even-window-heights)
5147 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5148 (window--display-buffer-2, display-buffer-other-frame):
5149 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5150 (display-buffer-default, display-buffer-assq-regexp): New functions.
5151 (display-buffer-alist): Rewrite doc-string.
5152 (display-buffer-default-action)
5153 (display-buffer-overriding-action): New variables.
5154 (display-buffer, switch-to-buffer): Rewrite.
5155 (pop-to-buffer): Restore Emacs 23 behavior but use
5156 window-normalize-buffer-to-display.
5157 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5158 Restore Emacs 23 behavior but use
5159 window-normalize-buffer-to-switch-to.
5160 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5161 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5162 Rewrite using Emacs 23 options.
f818cd2a 5163
5bc3b51d
MA
51642011-08-31 Michael Albinus <michael.albinus@gmx.de>
5165
5166 * net/tramp.el (tramp-root-regexp): Remove.
5167 (tramp-completion-file-name-regexp-unified)
5168 (tramp-completion-file-name-regexp-separate)
5169 (tramp-completion-file-name-regexp-url): Don't use leading volume
5170 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5171 (tramp-drop-volume-letter): Simplify definition.
5172 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5173
b1a4f8e1
SM
51742011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5177 (bug#9356).
5178
5664fa7b
RT
51792011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5180
b1a4f8e1 5181 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5182
9a45d6c3
JL
51832011-08-29 Juri Linkov <juri@jurta.org>
5184
5185 * isearch.el (isearch-done): Don't display message "Mark saved"
5186 when arg `edit' is non-nil to prevent its flicker in the echo area.
5187
fb87e0fb
CY
51882011-08-28 Chong Yidong <cyd@stupidchicken.com>
5189
5190 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5191 obsolete packages for deletion.
5192
09ac1c2a
CS
51932011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5194
5195 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5196 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5197 view-mode from help-mode.
5198 (help-xref-override-view-map): Remove.
5199 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5200 view-mode is not used anymore.
5201
7a1ff57f
CY
52022011-08-28 Chong Yidong <cyd@stupidchicken.com>
5203
5204 * server.el (server-port): Doc fix.
5205
b9696605
CY
5206 * cus-theme.el (custom-theme-choose-mode): Inherit from
5207 special-mode (Bug#9124).
5208 (custom-theme-choose-mode-map): Add special-mode to parent.
5209
ef8cdf8c
AM
52102011-08-28 Alan Mackenzie <acm@muc.de>
5211
5212 * progmodes/cc-fonts.el
5213 (c-make-font-lock-BO-decl-search-function): New function.
5214 (c-basic-matchers-after - "Fontify the clauses after various
5215 keywords"): Extract the three keyword lists for the 3 erroneous
5216 constructs from the list of four, and use the new function above
5217 in place of an old one.
5218
27de4e20
DD
52192011-08-28 Deniz Dogan <deniz@dogan.se>
5220
5221 * net/rcirc.el (rcirc-insert-prev-input)
5222 (rcirc-insert-next-input): Remove unused argument.
5223
356a3681
SM
52242011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5227
3fc9b218
AM
52282011-08-27 Alan Mackenzie <acm@muc.de>
5229
5230 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5231 handle function pointer parameters properly.
5232
538a061c
MR
52332011-08-27 Martin Rudalics <rudalics@gmx.at>
5234
5235 * window.el (display-buffer-reuse-window): Fix case where
5236 selected window was reused with non-nil OTHER-WINDOW argument.
5237 (Bug#9381)
5238
35b1c40c
DD
52392011-08-27 Deniz Dogan <deniz@dogan.se>
5240
5241 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5242 oftc's NickServ messages.
5243
2f6a3e79
GM
52442011-08-27 Glenn Morris <rgm@gnu.org>
5245
5246 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5247
7254299e
CY
52482011-08-26 Chong Yidong <cyd@stupidchicken.com>
5249
5250 * emacs-lisp/package.el (package-install): Call package-initialize
5251 if called interactively.
5252
f8ccf167
LL
52532011-08-26 Leo Liu <sdl.web@gmail.com>
5254
5255 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5256
3e8cd5ce
JL
52572011-08-25 Juri Linkov <juri@jurta.org>
5258
5259 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5260 `search-whitespace-regexp' (bug#9364).
5261
93eb7113
JL
52622011-08-25 Juri Linkov <juri@jurta.org>
5263
5264 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5265 `regexp-search-ring' to their global values to protect from
5266 updating by `read-from-minibuffer' (bug#9185).
5267
f65d1611
JL
52682011-08-25 Juri Linkov <juri@jurta.org>
5269
5270 * textmodes/ispell.el (ispell-command-loop): Add newline
5271 at the end of the "Use option `i'..." line.
5272
f1cf7a31
JL
52732011-08-25 Juri Linkov <juri@jurta.org>
5274
5275 * battery.el (display-battery-mode): If `battery-status-function'
5276 or `battery-mode-line-format' is nil, display the message and set
5277 `display-battery-mode' to nil (bug#9363).
5278
0c95fcf7
EZ
52792011-08-25 Eli Zaretskii <eliz@gnu.org>
5280
5281 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5282 bidi-string-mark-left-to-right; they are unnecessary now.
5283
a2ebe600
DD
52842011-08-25 Deniz Dogan <deniz@dogan.se>
5285
5286 * net/quickurl.el: Documentation typo fixes.
5287
e4ed06f1
CY
52882011-08-25 Chong Yidong <cyd@stupidchicken.com>
5289
5290 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5291
e5f1c99e
GM
52922011-08-25 Glenn Morris <rgm@gnu.org>
5293
b2948976
GM
5294 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5295
e5f1c99e
GM
5296 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5297 (smtpmail-via-smtp): Handle nil response from smtp.
5298
f22f4808
JL
52992011-08-24 Juri Linkov <juri@jurta.org>
5300
5301 * proced.el (proced-marked): Inherit from `error' instead of
5302 `font-lock-warning-face'.
5303
5304 * ibuffer.el (ibuffer-marked-face): Change default face from
5305 `font-lock-warning-face' to `warning'.
5306 (ibuffer-deletion-face): Change default face from
5307 `font-lock-type-face' to `error'.
5308
5309 * battery.el (battery-update): Use the face `error' instead of
5310 `font-lock-warning-face' (bug#6117).
5311
6a93965e
JL
53122011-08-24 Juri Linkov <juri@jurta.org>
5313
5314 * faces.el (success): Change face color from "Green3" to
5315 "ForestGreen" on light background (bug#9353).
5316
1ed43b09
CY
53172011-08-24 Chong Yidong <cyd@stupidchicken.com>
5318
5664fa7b
RT
5319 * window.el (quit-window): Rename from quit-restore-window.
5320 Use same arglist as old quit-window.
1ed43b09
CY
5321 (frame-auto-delete): Doc fix.
5322
5323 * view.el (view-mode-exit): Use quit-window.
5324
11dcdbb2
JL
53252011-08-24 Juri Linkov <juri@jurta.org>
5326
5327 * isearch.el (isearch-ring-adjust1): Start visiting previous
5328 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5329 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5330 for empty search string (when the last search string is reused
5331 automatically) to adjust the isearch ring to the last element and
5332 prepare the correct index for further M-p commands (bug#9185).
5333
de62b4df
KH
53342011-08-24 Kenichi Handa <handa@m17n.org>
5335
5336 * international/ucs-normalize.el: If decomposition property of
5337 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5338 nil.
5339 (nfd, nfkd): Likewise.
5340
963b492b
SM
53412011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5344 from process filters aren't reliably transmitted to the surrounding
5345 accept-process-output.
5346 (mpc-proc-check): New function.
5347 (mpc-proc-sync): Use it (bug#8293)
5348
93b6b5e1
SM
53492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5352 Add compatibility functions (bug#9313).
5353
bca633fb
EZ
53542011-08-23 Eli Zaretskii <eliz@gnu.org>
5355
b177498a
EZ
5356 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5357
6df6ae42 5358 * international/uni-bidi.el: Regenerate.
bca633fb 5359
0902a04e
KH
53602011-08-23 Kenichi Handa <handa@m17n.org>
5361
5362 * international/charprop.el:
5363 * international/uni-bidi.el:
5364 * international/uni-category.el:
5365 * international/uni-combining.el:
5366 * international/uni-comment.el:
5367 * international/uni-decimal.el:
5368 * international/uni-decomposition.el:
5369 * international/uni-digit.el:
5370 * international/uni-lowercase.el:
5371 * international/uni-mirrored.el:
5372 * international/uni-name.el:
5373 * international/uni-numeric.el:
5374 * international/uni-old-name.el:
5375 * international/uni-titlecase.el:
5376 * international/uni-uppercase.el: Regenerate.
5377
3bbf23bc
MR
53782011-08-23 Martin Rudalics <rudalics@gmx.at>
5379
5380 * help.el (help-window-setup): Fix message displayed when other
5381 window is reused. (Bug#9341)
5382
b3fd59bd
SM
53832011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5384
1802e444
SM
5385 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5386 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5387
b3fd59bd
SM
5388 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5389 Mark obsolete.
5390 * shell.el (shell-parse-pcomplete-arguments): New function.
5391 (shell-completion-vars): Use it instead (bug#9160).
5392
4eb61348
SM
53932011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5394
867cab74
SM
5395 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5396 strings and comments (bug#9333).
5397
4eb61348
SM
5398 * emacs-lisp/debug.el (debug-arglist): New function.
5399 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5400 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5401
262a1439
JL
54022011-08-22 Juri Linkov <juri@jurta.org>
5403
56ee679c
JL
5404 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5405 Revert regexp that highlights output switches to its old
5406 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5407
262a1439
JL
5408 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5409 to check for empty output (bug#9226).
5410
f13f86fb
CY
54112011-08-22 Chong Yidong <cyd@stupidchicken.com>
5412
5413 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5414 symbol-constituent as the default, as that stops font-lock from
5415 working properly (Bug#8843).
5416
c65c9622
LMI
54172011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418
5419 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5420 `coding-system-for-*' around the process open call to avoid
5421 auth-source side effects.
e7f2c178 5422 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5423 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5424 probe hangs.
c65c9622 5425
23a8a5ab
CY
54262011-08-21 Chong Yidong <cyd@stupidchicken.com>
5427
ff98b2dd
CY
5428 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5429
23a8a5ab
CY
5430 * emacs-lisp/find-func.el (find-function-noselect): New arg
5431 lisp-only.
5432
5433 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5434 signal an error for built-in functions (Bug#6664).
5435
f5e3c598
LMI
54362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437
5438 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5439 (smtpmail-try-auth-methods): Use it.
5440
a3f2468a
CY
54412011-08-21 Chong Yidong <cyd@stupidchicken.com>
5442
2c34e8da
CY
5443 * font-lock.el (font-lock-fontify-region)
5444 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5445 (font-lock-default-unfontify-buffer)
5446 (font-lock-default-fontify-region)
5447 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5448
b3fd59bd
SM
5449 * progmodes/compile.el (compilation-error-properties):
5450 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5451 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5452 `ant' regexp.
ee31aabc 5453
a3f2468a
CY
5454 * net/browse-url.el (browse-url-firefox): Don't call
5455 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5456
8e999f70
GM
54572011-08-20 Glenn Morris <rgm@gnu.org>
5458
c21a496a
GM
5459 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5460
59ee0542
GM
5461 * tutorial.el (tutorial--default-keys): Update some default bindings.
5462
8e999f70
GM
5463 * files.el (hack-local-variables): Fully ignore case for "mode:".
5464
e3715033
AM
54652011-08-20 Alan Mackenzie <acm@muc.de>
5466
5467 Resolve invalid use of a regexp in regexp-opt.
5468
4d61f28d
JB
5469 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5470 detection for a java annotation.
e3715033 5471
4d61f28d 5472 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5473 detection for a java annotation.
5474
4d61f28d
JB
5475 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5476 handling for java.
e3715033
AM
5477 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5478
04ed2e9c
CY
54792011-08-20 Chong Yidong <cyd@stupidchicken.com>
5480
5481 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5482 (Bug#9274).
5483
826cee64
AM
54842011-08-20 Alan Mackenzie <acm@muc.de>
5485
58179cce 5486 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5487 such a construct. Mainly for when jit-lock etc. starts a chunk
5488 here.
5489
58179cce 5490 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5491 variable.
58179cce 5492 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5493 c-make-font-lock-search-function.
5494 (c-make-font-lock-search-function): Use the above function.
5495 (c-make-font-lock-context-search-function): New function.
5496 (c-cpp-matchers): Enhance the preprocessor expression case with
5497 the above function
5498 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5499 which takes an expression.
5500
5501 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5502
13009bd8
MR
55032011-08-20 Martin Rudalics <rudalics@gmx.at>
5504
5505 * window.el (display-buffer-reuse-window)
5506 (display-buffer-pop-up-window): Don't reuse or split a side
5507 window.
5508
9234ff7f
GM
55092011-08-19 Glenn Morris <rgm@gnu.org>
5510
5511 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5512 Downcase "Mode:". (Bug#9331)
9234ff7f 5513
f635daa1
CY
55142011-08-18 Chong Yidong <cyd@stupidchicken.com>
5515
5516 * international/characters.el: Add L and R categories.
5517
5518 * subr.el (bidi-string-mark-left-to-right): Rename from
5519 string-mark-left-to-right. Use category search.
5520
5521 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5522
bc987f8b
JL
55232011-08-18 Juri Linkov <juri@jurta.org>
5524
5525 * faces.el (error, warning, success): New faces with definitions
5526 copied from old default values of `font-lock-warning-face',
5527 `compilation-warning', `compilation-info' (bug#6117).
5528
5529 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5530
5531 * progmodes/compile.el (compilation-error): Inherit from `error'.
5532 (compilation-warning): Inherit from `warning'.
5533 (compilation-info): Inherit from `success'.
5534
5535 * dired.el (dired-marked): Inherit from `warning'.
5536 (dired-flagged): Inherit from `error'.
5537
57173b96
LMI
55382011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539
3e79eb87
LMI
5540 * mail/smtpmail.el (auth-source): Require to avoid problems with
5541 binding variables (bug#9298). Also clean up some unused
5542 autoloads.
5543
b3fd59bd
SM
5544 * net/network-stream.el (network-stream-open-starttls):
5545 Support using starttls.el without using gnutls-cli.
57173b96 5546
02b404de
JL
55472011-08-17 Juri Linkov <juri@jurta.org>
5548
5549 * progmodes/grep.el (rgrep): Handle the case when
5550 `grep-find-command' is a cons cell (bug#9278).
5551
8c9177f2
MR
55522011-08-17 Martin Rudalics <rudalics@gmx.at>
5553
5554 * window.el (display-buffer-pop-up-frame): Run frame creation
5555 function with BUFFER current (as special-display-popup-frame
5556 does). Reported by Drew Adams.
5557
3644a0ab
DU
55582011-08-17 Daiki Ueno <ueno@unixuser.org>
5559
5560 * epa-mail.el: Simplify GnuPG group expansion using
5561 epg-expand-group.
5562 (epa-mail-group-alist, epa-mail-group-modtime)
5563 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5564 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5565 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5566 Remove.
5567
5e617bc2 55682011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5569
5570 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5571
9c4aeabf
AM
55722011-08-16 Alan Mackenzie <acm@muc.de>
5573
5574 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5575 Correct, to avoid the inside of macros.
5576
3a99bf64
RS
55772011-08-16 Richard Stallman <rms@gnu.org>
5578
04963aa8
RS
5579 * epa-mail.el: Handle GnuPG group definitions.
5580 (epa-mail-group-alist, epa-mail-group-modtime)
5581 (epa-mail-gnupg-conf-file): New variables.
5582 (epa-mail-parse-groups, epa-mail-sync-groups)
5583 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5584 (epa-mail-expand-recipients): New functions.
5585 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5586
177549d0
RS
5587 * mail/rmail.el (rmail-epa-decrypt): New command.
5588
fe38beef
RS
5589 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5590 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5591 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5592 (epa-decrypt-armor-in-region): Make error message clearer.
5593
934eacb9
SM
55942011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5597 and "a2b" to "ab" for `prefix'.
5598
d024fb4e
CY
55992011-08-14 Chong Yidong <cyd@stupidchicken.com>
5600
5601 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5602 filter groups.
de148fee
CY
5603 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5604 Fourquet (Bug#8804).
d024fb4e 5605
62f1ca49
JB
56062011-08-12 Juanma Barranquero <lekktu@gmail.com>
5607
5608 * startup.el (argi): Declare as global variable (bug#9275).
5609
9ccaaa4b
CY
56102011-08-12 Chong Yidong <cyd@stupidchicken.com>
5611
5612 * subr.el (string-mark-left-to-right): Search the entire string
5613 for RTL script, not just the terminating character. Doc fix.
5614
a3dae87a
SM
56152011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5616
6cd18349
SM
5617 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5618 New function.
5619 (js--regexp-literal, js-syntax-propertize-function): Remove.
5620 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5621 (js-mode-map): Don't rebind electric keys.
5622 (js-insert-and-indent): Remove.
5623 (js-mode): Setup electric-layout and electric-indent instead.
5624
a3dae87a
SM
5625 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5626
9d5cb631
DU
56272011-08-12 Daiki Ueno <ueno@unixuser.org>
5628
5629 * epa.el (epa-progress-callback-function): Fix the logic of
5630 displaying progress.
5631 * epa-file.el (epa-file-insert-file-contents): Make progress
5632 display more user-friendly.
5633 (epa-file-write-region): Ditto.
5634
3e26a4a2
CY
56352011-08-10 Chong Yidong <cyd@stupidchicken.com>
5636
5637 * subr.el (string-mark-left-to-right): New function.
5638
5639 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5640 Use string-mark-left-to-right.
5641 (list-buffers-noselect): Caller changed.
5642
a3dae87a
SM
5643 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5644 Use string-mark-left-to-right.
3e26a4a2
CY
5645 (tabulated-list-print): Recenter after moving point.
5646
ac8cf6e6
JL
56472011-08-10 Juri Linkov <juri@jurta.org>
5648
5649 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5650 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5651 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5652
8d96c9a4
CY
56532011-08-09 Chong Yidong <cyd@stupidchicken.com>
5654
5655 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5656 (Bug#7554).
5657
7be1c708 56582011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5659
5660 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5661 character. (Bug#6594)
5662
37e11a63
CY
56632011-08-08 Chong Yidong <cyd@stupidchicken.com>
5664
839dde57
CY
5665 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5666 (image-dired--with-db-file): New macro.
5667 (image-dired-write-tags, image-dired-remove-tag)
5668 (image-dired-create-gallery-lists, image-dired-write-comments)
5669 (image-dired-get-comment, image-dired-mark-tagged-files)
5670 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5671 (image-dired-gallery-generate): Use insert-file-contents.
5672
37e11a63
CY
5673 * time.el (display-time-world-list, display-time-world-display):
5674 * time-stamp.el (time-stamp-string):
5675 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5676 set-time-zone-rule (Bug#7337).
5677
0b4946c4
DU
56782011-08-08 Daiki Ueno <ueno@unixuser.org>
5679
5680 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5681 (epg-error-to-string, epg-errors-to-string): New function.
5682 (epg-wait-for-completion): Reverse errors list.
5683 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5684 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5685 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5686 (epg-sign-keys, epg-generate-key-from-file)
5687 (epg-generate-key-from-string): Format errors by using
5688 epg-errors-to-string (bug#9255).
5689 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5690
75bfc667
JL
56912011-08-07 Juri Linkov <juri@jurta.org>
5692
5693 * faces.el (list-faces-display): Remove extra angle bracket
5694 from `help-mode-map'.
5695
5696 * info.el (Info-history-toc-nodes): Doc fix.
5697
5698 * longlines.el (longlines-mode): Doc fix.
5699
673e08bb
SM
57002011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5701
4640dd88
SM
5702 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5703 of statements and in a few more cases (bug#9183).
5704
673e08bb
SM
5705 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5706 New functions.
5707 (cl-transform-lambda): Use them (bug#9239).
5708
89b3f019
MR
57092011-08-05 Martin Rudalics <rudalics@gmx.at>
5710
5711 * window.el (display-buffer-same-window)
5712 (display-buffer-same-frame, display-buffer-other-window)
5713 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5714 (pop-to-buffer-other-window)
5715 (pop-to-buffer-same-frame-other-window)
5716 (pop-to-buffer-other-frame): Make them defuns.
5717 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5718
640c8776
SM
57192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * subr.el (make-composed-keymap): Move from C. Change calling
5722 convention, and improve docstring to bring attention to a subtle point.
5723 * minibuffer.el (completing-read-default): Adjust accordingly.
5724
63648a95
MA
57252011-08-03 Michael Albinus <michael.albinus@gmx.de>
5726
5727 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5728 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5729
5730 * net/trampver.el: Update release number.
5731
b796c9b7
SM
57322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5735 "in" (bug#9190).
5736
2239d7d5
LMI
57372011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5738
e07dd7c3
LMI
5739 * mail/sendmail.el (sendmail-query-once): Restore the current
5740 buffer after querying (bug#9074).
5741
0e6a2bd7
LMI
5742 * dired.el (dired-flagged): Use different faces for marked and
5743 flagged files (bug#6117).
5744
ce887515
LMI
5745 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5746 (bug#4433).
5747
92f2affc
LMI
5748 * ido.el (ido-mode): Switch off the message if called
5749 non-interactively.
5750
57d5aff0
LMI
5751 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5752 before 587, since it appears that that's more likely to work for
5753 more people.
5754
98cd6c18 5755 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5756 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5757 exist.
5758
b96dec83
LMI
5759 * info.el: Remove the `Info-beginning-of-buffer' function
5760 (bug#8325).
5761
b796c9b7
SM
5762 * net/network-stream.el (network-stream-open-starttls):
5763 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5764
d90e2ea0
MR
57652011-08-01 Martin Rudalics <rudalics@gmx.at>
5766
5767 * window.el (display-buffer-in-window): Don't set dedicated status
5768 of window here (Bug#9215).
5769 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5770 (display-buffer-pop-up-side-window)
b796c9b7 5771 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5772
cca09170
SM
57732011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5776 before binding generated-autoload-file.
5777
027b979c
DD
57782011-08-01 Deniz Dogan <deniz@dogan.se>
5779
5780 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5781
3c7ee4f3
MA
57822011-07-30 Michael Albinus <michael.albinus@gmx.de>
5783
5784 Sync with Tramp 2.2.2.
5785
5786 * net/trampver.el: Update release number.
5787
2cc8e51a
JL
57882011-07-30 Juri Linkov <juri@jurta.org>
5789
5790 * dired-aux.el (dired-touch-initial): Remove function.
5791 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5792 current time, and `default' to the last modification time of the
5793 current marked file (bug#6887).
5794
a514d856
JM
57952011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5796
5797 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5798 numeric argument to read-number (bug#9163).
a514d856 5799
8a7eddd7
MA
58002011-07-27 Michael Albinus <michael.albinus@gmx.de>
5801
5802 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5803 connection process, it could be nil.
5804
1ddd96f5
LL
58052011-07-27 Leo Liu <sdl.web@gmail.com>
5806
5807 Simplify url handling in rcirc-mode.
5808
5809 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5810 (rcirc-browse-url-at-mouse): Remove.
5811 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5812
b248a85d
AM
58132011-07-26 Alan Mackenzie <acm@muc.de>
5814
5815 Fontify bitfield declarations properly.
5816
5817 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5818 (c-symbol-chars): Now exported as a lang variable.
5819 (c-not-primitive-type-keywords): New lang variable.
5820
5821 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5822 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5823 parsed as a bitfield declaration.
b248a85d 5824
b796c9b7
SM
5825 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5826 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5827 (c-punctuation-in): New function.
5828 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5829 declarations properly.
5830
68575ab0
UJ
58312011-07-26 Ulf Jasper <ulf.jasper@web.de>
5832
5833 * calendar/icalendar.el (icalendar--all-events): Take care of
5834 multiple vcalendars in a single file.
b796c9b7 5835 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5836
0f0a88b9
DD
58372011-07-25 Deniz Dogan <deniz@dogan.se>
5838
5839 * image.el (insert-image): Clarifying docstring.
5840
0b3f36df
MA
58412011-07-24 Michael Albinus <michael.albinus@gmx.de>
5842
5843 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5844 `tramp-send-command-and-check' if there is no error.
5845 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5846
a9901f61
AM
58472011-07-22 Alan Mackenzie <acm@muc.de>
5848
5849 Prevent cc-langs.elc being loaded at run time.
5850
5851 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5852 cc-langs.
5853
4d61f28d 5854 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5855 "(require 'cc-langs)". Quote a form so it will evaluate at
5856 (cc-mode's) compilation time.
5857
11d074b2
MA
58582011-07-22 Michael Albinus <michael.albinus@gmx.de>
5859
5860 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5861 loading. (Bug#9114)
5862
938b94c8
MR
58632011-07-21 Martin Rudalics <rudalics@gmx.at>
5864
5865 * window.el (display-buffer-pop-up-window)
5866 (display-buffer-pop-up-side-window)
5867 (display-buffer-in-side-window): Call display-buffer-set-height
5868 and display-buffer-set-width after setting the new window's
b796c9b7 5869 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5870
bfa4f190
SS
58712011-07-20 Sam Steingold <sds@gnu.org>
5872
5873 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5874 (etags-tags-included-tables): Call `convert-standard-filename' on
5875 the file names contained in TAGS so that windows Emacs can handle
5876 TAGS files created by cygwin ctags.
5877
8ca42262
LMI
58782011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5879
5880 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5881 which apparently didn't work.
5882
5db2afd2 58832011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5884
5db2afd2
RW
5885 * proced.el (proced-send-signal): For *Marked Processes* buffer
5886 put point at beginning of buffer.
5887
92e15d10
SB
58882011-07-19 Stephen Berman <stephen.berman@gmx.net>
5889
5890 * proced.el (proced-format): Make header lines align with the text
5891 (bug#1779).
5892
1bfd59e5
LMI
58932011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5894
5895 * view.el (view-buffer): Allow running in `special' modes if we're
5896 visiting a file (bug#8615).
5897
f5aae37c
MR
58982011-07-19 Martin Rudalics <rudalics@gmx.at>
5899
5900 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5901 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5902 New functions.
f5aae37c
MR
5903 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5904 more accurately.
5905
bf2c1571
AM
59062011-07-18 Alan Mackenzie <acm@muc.de>
5907
5908 Fontify declarators properly when, e.g., a jit-lock chunk begins
5909 inside a declaration.
5910
5911 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5912
b796c9b7
SM
5913 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5914 New function.
bf2c1571
AM
5915 (c-complex-decl-matchers): Insert reference to
5916 c-font-lock-enclosing-decls.
5917
5918 * progmodes/cc-engine.el (c-backward-single-comment):
5919 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5920 to nil around calls to (forward-comment -1).
5921
4e190b80
LMI
59222011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5923
12dc863d
LMI
5924 * image.el (put-image): Doc typo fix.
5925
a762e966
LMI
5926 * progmodes/etags.el (tags-search): Doc typo fix.
5927
4e190b80
LMI
5928 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5929 password if we get errors 550 to 554.
5930
f019fb21
LMI
59312011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5932
b796c9b7 5933 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5934
81746738
LMI
5935 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5936 indentation character (bug#6380).
5937
3ee3a1b5
LMI
5938 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5939
c82f64de
LMI
5940 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5941 to clarify what the problem is (bug#4291).
5942
f019fb21
LMI
5943 * simple.el (current-kill): Clarify what
5944 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5945 (auto-fill-mode): Document `auto-fill-function' in relation to
5946 `auto-fill-mode' (bug#2470).
f019fb21 5947
0794775d
LM
59482011-07-16 Lawrence Mitchell <wence@gmx.li>
5949
5950 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5951 method if slot is read-only (bug#9035).
5952
be39b8cc
MR
59532011-07-16 Martin Rudalics <rudalics@gmx.at>
5954
b796c9b7 5955 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5956 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5957 selected before, see discussion of (Bug#8615), (Bug#6954).
5958 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5959
6ccf7859
GM
59602011-07-15 Glenn Morris <rgm@gnu.org>
5961
5962 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5963 Respect help-form.
6ccf7859 5964
87e86684
LM
59652011-07-09 Lawrence Mitchell <wence@gmx.li>
5966
5967 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5968 (gnutls-negotiate): Use it.
5969
d6066239
LMI
59702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5971
b796c9b7
SM
5972 * net/gnutls.el (gnutls-negotiate):
5973 Upcase `gnutls-algorithm-priority'.
d6066239 5974
bd23ebc0
GM
59752011-07-15 Glenn Morris <rgm@gnu.org>
5976
c65bca65
GM
5977 * jka-compr.el (jka-compr-verbose): Move from here...
5978 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5979 Add missing :version tag.
5980 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5981
478615cc
LMI
59822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983
7b41decb
LMI
5984 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5985 (gnutls-negotiate): Use it.
5986
dbc44fcd
LMI
5987 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5988
06789f97
LMI
5989 * info.el (Info-beginning-of-buffer): New command.
5990 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5991 announcing `b' as the key (bug#8325).
ab896c37 5992 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5993
c39da690
LMI
5994 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5995
3aa5f34b
LMI
5996 * international/mule-cmds.el
5997 (describe-specified-language-support): Make the error message
5998 clearer (bug#8905).
5999
4bf0979f
LMI
6000 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6001
478615cc
LMI
6002 * isearch.el (isearch-barrier): Add a doc string, since it's
6003 mentioned in a function doc string (bug#8678).
6004
75c68aa1
MR
60052011-07-15 Martin Rudalics <rudalics@gmx.at>
6006
6007 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6008 buffer argument (Bug#9083) and self-identifying label argument.
6009
a7c33da2
GM
60102011-07-15 Glenn Morris <rgm@gnu.org>
6011
6012 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6013
2f5c6024
LMI
60142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * man.el (Man-fontify-manpage): Fix message when formatting the
6017 man page (bug#7929).
6018
0bb23927 60192011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6020
6021 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6022 argument LRM; if non-nil, append an invisible LRM character to the
6023 buffer name.
6024 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6025 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6026 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6027 paragraph direction.
cce4b0a7 6028
621ef9ab
LMI
60292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6030
d1583c48
LMI
6031 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6032 the man page name (bug#7929).
6033
6a57fb5f
LMI
6034 * image.el (put-image): Mention the `put-image' overlay property
6035 (bug#7834).
6036
d7956b14
LMI
6037 * scroll-bar.el (set-scroll-bar-mode): Mention that
6038 `scroll-bar-mode' lists the values (bug#7772).
6039
5b2d4a66
LMI
6040 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6041 command (bug#7729).
6042
7509a874
LMI
6043 * rect.el (apply-on-rectangle): Return the point after the last
6044 operation.
6045 (string-rectangle): Go to the point after the last operation
6046 (bug#7522).
6047
4fe74b19
LMI
6048 * printing.el (pr-toggle-region): Clarify the documentation
6049 slightly (bug#7493).
6050
b796c9b7
SM
6051 * time.el (display-time-update):
6052 Allow `display-time-mail-function' to return nil (bug#7158).
6053 Fix suggested by Detlev Zundel.
ab283561 6054
fc233c9d
LMI
6055 * vc/diff.el (diff): Clarify the order the file names are read
6056 (bug#7111).
6057
43f5740b
LMI
6058 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6059 the doc string (bug#7015).
6060
f2182a76
LMI
6061 * font-lock.el (font-lock-maximum-decoration): Mention what
6062 numeric levels mean (bug#6935).
6063
621ef9ab
LMI
6064 * startup.el (initial-buffer-choice): Don't mention the `none'
6065 selection, which is against policy.
6066
adc47434
MR
60672011-07-14 Martin Rudalics <rudalics@gmx.at>
6068
b796c9b7
SM
6069 * window.el (display-buffer-normalize-special):
6070 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6071
7e5bfb8f
EZ
60722011-07-14 Eli Zaretskii <eliz@gnu.org>
6073
6074 * subr.el (version<, version<=, version=): Mention "-CVS" and
6075 "-12345" alpha version numbers.
6076
27fa387a
CY
60772011-07-14 Chong Yidong <cyd@stupidchicken.com>
6078
6079 * bindings.el: Add advertised binding for set-mark-command
6080 (Bug#5772).
6081
8bdfa064
CY
60822011-07-14 Chong Yidong <cyd@stupidchicken.com>
6083
6084 * bindings.el (mode-line-other-buffer):
6085 * bookmark.el (bookmark-bmenu-2-window):
6086 * bs.el (bs-cycle-next, bs-cycle-previous):
6087 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6088 switch-to-buffer.
6089
6090 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6091 Delete.
8bdfa064 6092
5eba16a3
JB
60932011-07-14 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * follow.el (follow-debug-message, follow-redisplay):
6096 * jka-cmpr-hook.el (with-auto-compression-mode):
6097 Fix typos in docstrings.
6098
15853710
LMI
60992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6100
a28e4607
LMI
6101 * subr.el (with-silent-modifications): Clarify somewhat what the
6102 macro inhibits (bug#6525).
6103
15853710
LMI
6104 * simple.el (eval-expression): Note what it does if called
6105 interactively (bug#6495).
6106
bee0fcef
CY
61072011-07-13 Chong Yidong <cyd@stupidchicken.com>
6108
b796c9b7
SM
6109 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6110 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6111
6112 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6113 Remove switch-to-buffer.
6114
58274504
LMI
61152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6116
bd2fcc8d
LMI
6117 * files.el (make-directory): Clarify that an error will be raised
6118 if there's an error (bug#6397).
6119
0f04b32c
LMI
6120 * startup.el (initial-buffer-choice): Add `none' as a choice
6121 (bug#6234).
6122
465c5fc8
LMI
6123 * subr.el (add-hook): Clarify section about buffer-local hooks
6124 (bug#6218).
6125
58274504
LMI
6126 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6127
bead9a43
JB
61282011-07-13 Juanma Barranquero <lekktu@gmail.com>
6129
6130 * tabify.el (untabify): Preserve the current column so that point
6131 doesn't move (bug#6032).
6132
3af98a7b
LMI
61332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6134
b796c9b7
SM
6135 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6136 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6137
6240145a
GM
61382011-07-13 Glenn Morris <rgm@gnu.org>
6139
6140 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6141 (dired-insert-directory): Give a message the first time
6142 if ls is found not to support --dired.
6143
1d8c2ccc
LMI
61442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6145
6146 * simple.el (toggle-truncate-lines): Clarify what is toggled
6147 (bug#5580). Text by Drew Adams.
6148
5fc4038e
CY
61492011-07-13 Chong Yidong <cyd@stupidchicken.com>
6150
6151 * simple.el (blink-matching-open): Make the error message from the
6152 last change less verbose.
6153
bf6012e5
DN
61542011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6155
6156 * font-lock.el (font-lock-comment-face): Use the high contrast
6157 "yellow" color for font-lock-comment-face on low color terminals
6158 using a dark background color (bug#4221).
6159
343c3b5a
LMI
61602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6161
7e9505c5
LMI
6162 * dired.el (dired-insert-set-properties): Make the doc string
6163 reflect what it does now (bug#5325).
6164
c26fdcf5
LMI
6165 * simple.el (blink-matching-open): Say that we were unable to find
6166 the match within the limit, if we're limited (bug#5122).
6167
bb388cc5
LMI
6168 * international/mule-cmds.el (prefer-coding-system): Add an
6169 example (bug#4869).
6170
343c3b5a
LMI
6171 * progmodes/etags.el (tags-search): Document `file-list-form'
6172 (bug#4731).
6173
2a517d45
LM
61742011-07-13 Lawrence Mitchell <wence@gmx.li>
6175
6176 * net/browse-url.el (browse-url-default-browser)
6177 (browse-url-browser-function): Make the default browser choice a
6178 bit more logical (bug#4300). Also clean up the doc string.
6179
b6c78ef2
JB
61802011-07-13 Juanma Barranquero <lekktu@gmail.com>
6181
6182 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6183 binary endings (bug#4440).
6184
1c4dd947
LMI
61852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6186
a2014063
LMI
6187 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6188 which can be pretty annoying (bug#8971).
6189
9c9c2d88
LMI
6190 * jka-compr.el (jka-compr-verbose): New variable, and use
6191 throughout (bug#8971).
6192
1c4dd947
LMI
6193 * info.el (Info-find-file): Fall back on the installation
6194 directory if we can't find the info node anywhere else.
6195
a1c9f41b
SO
61962011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6197
6198 * vc/vc.el (vc-revert-file):
6199 Don't set file time-stamp in the past. (Bug#5181)
6200
536f3d36
LMI
62012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6202
7152b011
LMI
6203 * files.el (after-find-file): Give a better error message when
6204 trying to find a symlink that points to a file that doesn't exist
6205 (bug#4398).
6206
536f3d36
LMI
6207 * progmodes/cc-vars.el: Remove (probably) misleading comment
6208 (bug#4396).
6209
460c0fba
JB
62102011-07-12 Johan Bockgård <bojohan@gnu.org>
6211
6212 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6213
7a6bda45
CY
62142011-07-12 Chong Yidong <cyd@stupidchicken.com>
6215
6216 * mouse-sel.el: Hack restoring functionality, while keeping
6217 compatibility with 2010-07-03 changes to mouse selection.
6218 (mouse-sel-primary-overlay): New var.
6219 (mouse-sel-selection-alist): Use it.
6220 (mouse-sel-mode): Doc fix; remove points that are default features
6221 of mouse.el.
6222
c79598ef
JB
62232011-07-12 Johan Bockgård <bojohan@gnu.org>
6224
6225 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6226 Fix previous fix (bug#2490).
6227
ff8be6ef
RW
62282011-07-12 Roland Winkler <winkler@gnu.org>
6229
b796c9b7
SM
6230 * textmodes/bibtex.el (bibtex-initialize):
6231 Use pop-to-buffer-same-window.
ff8be6ef
RW
6232 (bibtex-search-entries): Fix interactive call.
6233
296ba3ee
LMI
62342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235
f5242a02 6236 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6237 Fontise bytecomp Error lines more correctly (bug#2490).
6238 Fix suggested by Johan Bockgård.
f5242a02 6239
296ba3ee
LMI
6240 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6241
6242 * dired-x.el (dired-guess-default): Use `delete-dups'.
6243
f69fd0d2
CY
62442011-07-12 Chong Yidong <cyd@stupidchicken.com>
6245
6246 * dired.el (dired-mark-prompt):
6247 * dired-aux.el (dired-read-shell-command): Doc fix.
6248
eab5dc07
LMI
62492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250
b796c9b7
SM
6251 * mail/sendmail.el (sendmail-query-once):
6252 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6253 emacs -Q.
6254
6255 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6256
eab5dc07
LMI
6257 * cus-edit.el (custom-file): Take an optional no-error variable.
6258 (customize-save-variable): Set the variable, and give a warning if
6259 running under "emacs -q".
6260
a1e65d42
JB
62612011-07-11 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * loadhist.el (unload-feature-special-hooks):
6264 Add `auto-coding-functions', `fill-nobreak-predicate' and
6265 `find-directory-functions' (bug#5327).
6266
1d52da10
LMI
62672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6268
be958f1d
LMI
6269 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6270
5bedb26c
LMI
6271 * cus-edit.el (custom-guess-name-alist): -alist variables should
6272 use the `alist' type (bug#3120). Suggested by Drew Adams.
6273
1d52da10
LMI
6274 * printing.el: Add documentation to all the `pr-toggle-' commands.
6275
cd394be1 62762011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6277
6278 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6279 backends where it makes sense (bug#2623).
6280
dcc88d8a
LMI
62812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282
c3de9feb
LMI
6283 * dired-x.el (dired-guess-default): Remove duplicate shell command
6284 entries (bug#2028).
8a93078b 6285 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6286 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6287
dcc88d8a
LMI
6288 * subr.el (remove-duplicates): New conveniency function.
6289
505e3645
LMI
62902011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6291
6292 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6293 (bug#1526).
6294
62952011-07-10 Martin Rudalics <rudalics@gmx.at>
6296
6297 * window.el (display-buffer-normalize-default): Don't invert
6298 meaning of even-window-heights. Reported by Eli Zaretskii
6299 <eliz@gnu.org>.
6300
455e4fa1
BR
63012011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6302
6303 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6304
8e0bc3e9
CY
63052011-07-10 Chong Yidong <cyd@stupidchicken.com>
6306
6307 * window.el (display-buffer): Fix arguments to
6308 display-buffer-reuse-window in last change.
6309
fa7c3228
CY
6310 * faces.el (link): Use a less saturated blue on light backgrounds.
6311
6312 * startup.el (fancy-startup-text, fancy-about-text)
6313 (fancy-startup-tail): Use font-lock faces, for background safety.
6314
c0a7f300
BN
63152011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6316
b796c9b7
SM
6317 * emulation/viper-cmd.el (viper-change-state-to-vi):
6318 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6319
4dc2a129
MR
63202011-07-09 Martin Rudalics <rudalics@gmx.at>
6321
6322 * window.el (display-buffer-default-specifiers): Remove.
6323 (display-buffer-macro-specifiers): Remove default specifiers.
6324 (display-buffer-alist): Default to nil.
b796c9b7 6325 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6326 (display-buffer-pop-up-window): Allow splitting internal
6327 windows. Check whether a live window was created.
6328 (display-buffer-other-window-means-other-frame)
6329 (display-buffer-normalize-arguments): Rename to
6330 display-buffer-normalize-argument and rewrite. Set the
6331 other-window specifier.
6332 (display-buffer-normalize-special): New function.
6333 (display-buffer-normalize-options): Rename to
6334 display-buffer-normalize-default and rewrite.
6335 (display-buffer-normalize-options-inhibit): Remove.
6336 (display-buffer-normalize-specifiers): Rewrite.
6337 (display-buffer): Process other-window specifier and call
6338 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6339 more faithfully.
b796c9b7 6340 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6341 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6342 (display-buffer-in-window, display-buffer-alist-set):
6343 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6344 <tassilo@member.fsf.org>.
6345
2d43b8c9
LL
63462011-07-09 Leo Liu <sdl.web@gmail.com>
6347
6348 * register.el (insert-register): Restore accidental change on
6349 2011-06-26. (Bug#9028)
6350
7f9b7c53
GM
63512011-07-09 Glenn Morris <rgm@gnu.org>
6352
6353 * subr.el (remq): Handle the empty list. (Bug#9024)
6354
f042cfd8
AS
63552011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6356
6357 * mail/sendmail.el (send-mail-function): No longer delay custom
6358 initialization.
6359 * custom.el (custom-initialize-delay): Doc fix.
6360
856b2f11
SM
63612011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6364
afae1d68
MA
63652011-07-08 Michael Albinus <michael.albinus@gmx.de>
6366
6367 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6368 human-friendly prompt.
6369
0757af94
SM
63702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6373 provided by a particular plugin.
6374
d760b731
LMI
63752011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6376
6377 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6378 save customizations (with "emacs -Q"), just set the variable
6379 instead of erroring out.
6380
6381 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6382
cd79ce90
JL
63832011-07-08 Juri Linkov <juri@jurta.org>
6384
6385 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6386 (archive-zip-update-case): Use 7z if found by `executable-find'.
6387 The order of searching the available programs is the same as in
6388 `archive-zip-extract' (bug#8968).
6389
14cc04aa
CY
63902011-07-07 Chong Yidong <cyd@stupidchicken.com>
6391
6392 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6393 (menu-bar-options-menu): Tweak descriptions.
6394
0a1848ec
LMI
63952011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6396
6397 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6398 menu items into verb phrases (bug#1421). Also refill to fit under
6399 80 columns.
6400
f5bd0689
CY
64012011-07-07 Chong Yidong <cyd@stupidchicken.com>
6402
538e85c6
CY
6403 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6404 (Info-read-node-name): Doc fix (Bug#1084).
6405
f5bd0689
CY
6406 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6407 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6408 (end-of-sexp, beginning-of-sexp)
6409 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6410 (forward-symbol, forward-same-syntax, word-at-point)
6411 (sentence-at-point): Doc fix (Bug#1144).
6412
56ec5115
LMI
64132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6414
f3f8e37f
LMI
6415 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6416 should cover it (bug#1281).
6417
0757af94 6418 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6419
e9fce1ac 6420 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6421 negotiation fails, then possibly try again with a non-encrypted
6422 connection (bug#9017).
6423
56ec5115
LMI
6424 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6425 be used.
6426
c2f9aec8
RS
64272011-07-07 Richard Stallman <rms@gnu.org>
6428
6429 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6430 property, and handle its changed format.
6431 Look for the correct line number.
6432 Use file's line contents (but not past first =) to find
6433 correct line in message.
6434
ef7b981d 64352011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6436
6437 * international/characters.el (build-unicode-category-table):
6438 Delete it.
0757af94 6439 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6440
0757af94 6441 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6442 to src/chartab.c.
6443 (get-char-code-property): Call unicode-property-table-internal to
6444 load a file. Call get-unicode-property-internal where necessary.
6445 (put-char-code-property): Call unicode-property-table-internal to
6446 load a file. Call put-unicode-property-internal where necessary.
6447 put-unicode-property-internal where necessary.
0757af94
SM
6448 (char-code-property-description):
6449 Call unicode-property-table-internal to load a file.
c805dec0
KH
6450
6451 * international/charprop.el:
6452 * international/uni-bidi.el:
6453 * international/uni-category.el:
6454 * international/uni-combining.el:
6455 * international/uni-comment.el:
6456 * international/uni-decimal.el:
6457 * international/uni-decomposition.el:
6458 * international/uni-digit.el:
6459 * international/uni-lowercase.el:
6460 * international/uni-mirrored.el:
6461 * international/uni-name.el:
6462 * international/uni-numeric.el:
6463 * international/uni-old-name.el:
6464 * international/uni-titlecase.el:
6465 * international/uni-uppercase.el: Regenerate.
6466
6467 * loadup.el: Load international/charprop.el before
6468 international/characters.
6469
e14b388a
CY
64702011-07-07 Chong Yidong <cyd@stupidchicken.com>
6471
6472 * window.el (next-buffer, previous-buffer): Signal an error if
6473 called from a minibuffer window.
6474
6475 * bindings.el: Revert 2011-07-04 change.
6476
354cf0ba
RS
64772011-07-06 Richard Stallman <rms@gnu.org>
6478
6479 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6480 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6481 Treat markers like ints.
6482 (rmail-mime-entity): Doc fix.
6483
a48868a7
LMI
64842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6485
4906cd3d
LMI
6486 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6487 defcustom again for backwards compatibility.
6488
e0457abe
LMI
6489 * simple.el (shell-command-on-region): Fill.
6490
d67f7e1f
LMI
6491 * dired-aux.el (dired-kill-line): Add a doc string.
6492
fe204702
LMI
6493 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6494 to "\\sw\\|\\s_" (bug#358).
6495
a48868a7
LMI
6496 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6497 (dired-unmark-backward): Ditto.
6498 (dired-flag-backup-files): Ditto.
6499
6500 * dired-x.el (dired-mark-sexp): Ditto.
6501
aa8a705c
RS
65022011-07-06 Richard Stallman <rms@gnu.org>
6503
6504 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6505 (rmail-mime-entity): New arg TRUNCATED.
6506 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6507 New functions.
6508 (rmail-mime-save): Warn if entity is truncated.
6509 (rmail-mime-toggle-hidden): Likewise, for showing.
6510 (rmail-mime-process-multipart): Record when an entity is truncated.
6511
a9a936b9
RS
6512 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6513 if ENTITY is a string.
6514
1f2b92cb
LMI
65152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6516
f4f73198 6517 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6518 of faces when `M-C-x'-ing their definitions (bug#8378).
6519 Also clean up the code slightly.
f4f73198 6520
12b16734 6521 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6522 because that makes the colors go away.
12b16734 6523
f0691d22
LMI
6524 * mail/sendmail.el (send-mail-function): Change the default to
6525 `sendmail-query-once'.
9e87df06 6526 (sendmail-query-once): Add an autoload cookie.
f0691d22 6527
1f2b92cb
LMI
6528 * net/network-stream.el (network-stream-open-starttls): Try using
6529 a plain connection even if the server offered STARTTLS, and we
6530 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6531 capability. This should make smtpmail.el work in slightly more
6532 configurations.
6533
1cdd2a1b
MA
65342011-07-06 Michael Albinus <michael.albinus@gmx.de>
6535
6536 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6537 New defun.
6538 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6539
fbcc67e2
MM
65402011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6541
6542 * progmodes/sql.el: Version 3.0
0757af94 6543 (sql-product-alist): Add product :completion-object,
fbcc67e2 6544 :completion-column, and :statement attributes.
0757af94 6545 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6546 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6547 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6548 ansi keywords.
6549 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6550 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6551 (sql-oracle-show-reserved-words): New function for development.
6552 (sql-product-font-lock): Simplify for source code buffers.
6553 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6554 New functions.
6555 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6556 (sql-mode-map): Add statement movement functions.
6557 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6558 New variable.
fbcc67e2
MM
6559 (sql-statement-regexp, sql-beginning-of-statement)
6560 (sql-end-of-statement, sql-signum): New functions.
0757af94 6561 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6562 (sql-show-sqli-buffer): Bug fix.
6563 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6564 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6565 with sql-interactive-mode.
6566 (sql-save-connection): Save buffer local settings.
0757af94 6567 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6568 (sql-product-interactive): Bug fix.
6569 (sql-preoutput-hold): New variable.
6570 (sql-interactive-remove-continuation-prompt): Bug fixes.
6571 (sql-debug-redirect): New variable.
6572 (sql-str-literal): New function.
6573 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6574 Redesign.
fbcc67e2
MM
6575 (sql-oracle-save-settings, sql-oracle-restore-settings)
6576 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6577 (sql-completion-object, sql-completion-column)
6578 (sql-completion-sqlbuf): New variables.
6579 (sql-build-completions-1, sql-build-completions)
6580 (sql-try-completion): New functions.
6581 (sql-read-table-name): Use them.
6582 (sql-contains-names): New buffer local variable.
6583 (sql-list-all, sql-list-table): Use it.
6584 (sql-oracle-completion-types): New variable.
6585 (sql-oracle-completion-object, sql-sqlite-completion-object)
6586 (sql-postgres-completion-object): New functions.
6587
d4eaeab1
GM
65882011-07-06 Glenn Morris <rgm@gnu.org>
6589
6590 * window.el (pop-to-buffer): Doc fix.
6591
322b7dab 65922011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6593
6594 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6595
322b7dab 65962011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6597
322b7dab 6598 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6599
322b7dab 6600 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6601
605dd5bf
CY
66022011-07-05 Chong Yidong <cyd@stupidchicken.com>
6603
6604 * button.el (button): Inherit from link face. Suggested by Dan
6605 Nicolaescu.
6606
7dbfa719
SM
66072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6608
3db614b0
SM
6609 * progmodes/gdb-mi.el: Fit in 80 columns.
6610 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6611 switch-to-buffer.
6612
7dbfa719
SM
6613 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6614 if imenu is simply not configured (bug#8941).
6615
919d884a
KM
66162011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6617
6618 * allout.el (allout-post-undo-hook): New allout outline-change
6619 event hook to signal undo activity.
6620 (allout-post-command-business): Run allout-post-undo-hook if an
6621 undo just occurred.
7dbfa719
SM
6622 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6623 * allout-widgets.el (allout-widgets-after-undo-function):
6624 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6625 in the vicinity of an undo.
6626 (allout-widgets-mode): Include allout-widgets-after-undo-function
6627 on the new allout-post-undo-hook.
6628
450a0f09
SM
66292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6630
6631 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6632 Let define-derived-mode define it.
6633 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6634 cycles of abbrev-table inheritance (bug#8998).
6635
2de69e00
RW
66362011-07-05 Roland Winkler <winkler@gnu.org>
6637
6638 * textmodes/bibtex.el: Add support for biblatex.
6639 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6640 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6641 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6642 (bibtex-entry-alist, bibtex-field-alist): New variables.
6643 (bibtex-entry-field-alist): Obsolete alias for
6644 bibtex-BibTeX-entry-alist.
6645 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6646 (bibtex-set-dialect): New command.
6647 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6648 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6649 Bind via bibtex-set-dialect.
2de69e00
RW
6650 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6651 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6652 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6653 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6654 Define via bibtex-set-dialect.
450a0f09
SM
6655 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6656 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6657 (bibtex-vec-push, bibtex-vec-incr): New functions.
6658 (bibtex-format-entry, bibtex-field-list)
6659 (bibtex-print-help-message, bibtex-validate)
6660 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6661
2dcdbdd9
SM
66622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * progmodes/compile.el (compilation-goto-locus):
6665 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6666 * bs.el (bs-cycle-next, bs-cycle-previous):
6667 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6668 * bindings.el (mode-line-other-buffer):
6669 * autoinsert.el (auto-insert):
6670 * arc-mode.el (archive-extract):
6671 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6672
b27640fe
JB
66732011-07-05 Juanma Barranquero <lekktu@gmail.com>
6674
6675 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6676 Fix check of `emacs-lock-unlockable-modes'.
6677 Coerce true values of `emacs-lock--try-unlocking' to t.
6678
53bbe3ad
JB
66792011-07-05 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6682 * emacs-lock.el: New file.
6683
1d3cdbc7
JD
66842011-07-05 Julien Danjou <julien@danjou.info>
6685
6686 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6687 than `boundp' to check if face is set.
6688
9173deec
JB
66892011-07-05 Juanma Barranquero <lekktu@gmail.com>
6690
6691 * register.el (registerv-make):
6692 * window.el (window-min-height): Fix typos in docstrings.
6693
869795d6
JD
66942011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6695
9173deec 6696 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6697 Update doc string.
6698
b768cdcd
JB
66992011-07-04 Juanma Barranquero <lekktu@gmail.com>
6700
6701 * server.el (server-execute): Catch quit and call
6702 `server-return-error' to pass the error back to emacsclient and
6703 close the connection (bug#8942).
6704
13aa217b
KM
67052011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6706
6707 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6708 insecure exception for current topic. Also note that auto-saves
6709 are handled differently.
6710
6711 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6712 State variables for tracking auto-save inhibition situation.
6713
6714 (allout-write-contents-hook-handler): Rename from
6715 'allout-write-file-hook-handler', and describe how it depends on
6716 write-contents-functions sensitivity to non-nil value to prevent
6717 file write.
6718
6719 (allout-auto-save-hook-handler): Remove. auto-save does not check
6720 this in individual buffers, only in the starting buffer, so this
6721 is not the right way for us to inhibit auto-save in a buffer
6722 according to its condition.
6723
6724 (allout-mode): Use new allout-write-contents-hook-handler, and
6725 only with write-contents-functions. Remove auto-save provisions -
6726 they're implemented elsewhere.
6727
6728 (allout-before-change-handler): If undo is in progress, note that
6729 for attention of allout-post-command-business.
6730
6731 (allout-post-command-business): If the command we're following was
6732 an undo, check for change in the status of encrypted items and
6733 adjust auto-save inhibitions accordingly.
6734
6735 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6736 according to whether there are or aren't any plain-text topics
6737 pending encryption.
6738
2dcdbdd9 6739 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6740 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6741 if there are plain-text topics pending encryption.
13aa217b
KM
6742
6743 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6744 buffer-saved-size and some allout state to not inhibit auto-saves
6745 if there are no longer any plain-text topics pending encryption.
6746
0757af94
SM
6747 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6748 No longer provide for exemption of the current topic.
13aa217b 6749
ac89b32c
JL
67502011-07-04 Juri Linkov <juri@jurta.org>
6751
6752 Add 7z operations to delete and save changed members (bug#8968).
6753 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6754 New defcustoms.
6755 (archive-7z-write-file-member): New function.
6756 (archive-7z-summarize): Fix the number of dashes in the
6757 listing output.
6758
8fa39615
SM
67592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6762 (bug#8958).
6763
2f11b3f1
CY
67642011-07-04 Chong Yidong <cyd@stupidchicken.com>
6765
d66fef2b
CY
6766 * bindings.el: Ignore next-buffer and previous-buffer in
6767 minibuffer-local-map.
6768
2f11b3f1
CY
6769 * font-lock.el (font-lock-builtin-face): Change light background
6770 color to dark slate blue (Bug#6693).
6771
f932a347
WD
67722011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6773
6774 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6775
c8af70e1
SM
67762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6780 Add switch-to-buffer.
6781
f158badc
LMI
67822011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6783
6784 * isearch.el (isearch-search-fun-function): Clarify further the
6785 meaning of the function returned.
6786
6d95bd46
MA
67872011-07-04 Michael Albinus <michael.albinus@gmx.de>
6788
6789 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6790
6791 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6792 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6793 Use it.
6794 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6795 `tramp-default-remote-path' does not exist.
6796 (tramp-send-command-and-read): New optional argument NOERROR.
6797 (tramp-open-connection-setup-interactive-shell)
6798 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6799 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6800 (tramp-process-sentinel): Flush also process' connection property.
6801 (tramp-sh-handle-start-file-process): Do not set process
6802 sentinel. It is done now ...
6803 (tramp-maybe-open-connection): ... here. (Bug#8929)
6804
909e6b67
MK
68052011-07-04 MON KEY <monkey@sandpframing.com>
6806
6807 * play/animate.el (animate-string): Doc fixes and allow changing
6808 the buffer name (bug#5417).
6809
68102011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
c8af70e1 6812 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6813
f34755dc
PE
68142011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6815
396cec72
PE
6816 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6817 This is simpler and helps future-proof the code.
6818 (timer-until): Use time-subtract and float-time.
08235028 6819 (timer--time-less-p): Use time-less-p.
f34755dc 6820
56e6cc31
JB
68212011-07-04 Juanma Barranquero <lekktu@gmail.com>
6822
3abb79e5
JB
6823 * type-break.el (timep): Use the value of `float-time' to avoid a
6824 byte-compiler warning.
6825
56e6cc31
JB
6826 * server.el (server-eval-and-print): Return any result, even nil.
6827
7b9430b4
PE
68282011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6829
6830 * type-break.el: Accept time formats that the builtins accept.
6831 (timep, type-break-time-difference): Accept any format that
6832 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6833 This is simpler and helps future-proof the code.
6834 (type-break-time-difference): Round rather than ignoring
6835 subseconds components.
6836
3034e9e7
LMI
68372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6838
6839 * info.el (Info-apropos-matches): Make non-interactive, since it
6840 doesn't seem to do anything useful as a command (bug#8829).
6841
1485f4c0
CY
68422011-07-03 Chong Yidong <cyd@stupidchicken.com>
6843
6844 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6845 Move from faces.el.
1485f4c0
CY
6846 (frame-default-terminal-background): New function.
6847
6848 * custom.el (custom-push-theme): Don't record faces in `changed'
6849 theme; this doesn't work correctly for per-frame face settings.
6850 (disable-theme): Use face-set-after-frame-default to reset faces.
6851 (custom--frame-color-default): New function.
6852
9fa3dd45
LMI
68532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6854
c8af70e1 6855 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6856 (bug#8769).
6857
6cbbc20c
KR
68582011-03-29 Kevin Ryde <user42@zip.com.au>
6859
6860 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6861 `perl-Test2' extend to match possible "fail #N" rep count
6862 (bug#8377).
6863
c7f98048
LMI
68642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6865
65676592
LMI
6866 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6867 `smtpmail-via-smtp' now returns the error instead of nil.
6868
c7f98048
LMI
6869 * isearch.el (isearch-search-fun-function): Clarify the doc string
6870 (bug#8101).
6871
56e6cc31 68722011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6873
6874 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6875 unnecessary spaces (bug#8987).
6876
2b216704
LMI
68772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6878
6879 * net/network-stream.el (open-network-stream): Use the
6880 :end-of-capability command thoughout.
6881
68822011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6883
6884 * net/network-stream.el (open-network-stream): Add the
6885 :end-of-capability command parameter, used by pop3.el.
6886
36adf6ce
LMI
68872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6888
1ca0da0e
LMI
6889 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6890
fc00f69c
LMI
6891 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6892 for list)" (bug#6475).
6893
28fd8759 6894 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6895 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6896 an error (bug#6297).
6897
0dd8b6da
LMI
6898 * man.el (Man-reference-regexp): Allow matching possible
6899 word-wrapped references (bug#6289).
6900
ce1438d6
LMI
6901 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6902 for consistency with the other vc buffers (bug#6197).
6903 (vc-checkin): Ditto.
6904
6905 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6906
36adf6ce
LMI
6907 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6908
e83cc1f7
LMI
69092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6910
8a20ca4c
LMI
6911 * custom.el (defcustom): Clarify that :set is only used in the
6912 Customize user interface (bug#6089).
6913
83319045
LMI
6914 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6915 associated with a file, refuse to run instead of erroring out
6916 (bug#6084).
6917
a8392169
LMI
6918 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6919 the doc string, since it appears that using `fill-column' always
6920 controls the width (bug#7845).
6921
e83cc1f7
LMI
6922 * simple.el (shell-command-on-region): Say where the error output
6923 went if `shell-command-default-error-buffer' is set (bug#6857).
6924
e47ca23b
KM
69252011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6926
6927 * allout.el (allout-yank-processing): Adjust cursor position for
6928 backwards-deleted space.
6929
6930 (allout-rebullet-heading): Register changes with
6931 allout-exposure-changed-hook, so the modified topic is properly
6932 decorated.
6933
5cf56143
LMI
69342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6935
08549772
LMI
6936 * minibuffer.el (completion-in-region): Document PREDICATE
6937 (bug#7136).
6938
48e96771
LMI
6939 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6940 of keyword/argument pairs (bug#6904).
6941
c8af70e1
SM
6942 * replace.el (multi-occur):
6943 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6944
e17d05e2
LMI
69452011-07-02 Drew Adams <drew.adams@oracle.com>
6946
6947 * dired.el (dired-mark-if): Make the message about whether it's
6948 marking or unmarking clearer (bug#8523).
6949
063b0e45
LMI
69502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6951
6952 * disp-table.el (display-table-print-array): New function.
6953 (describe-display-table): Use it to print the vectors more pretty
6954 (Bug#8859).
6955
28545e04
MR
69562011-07-02 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (window-state-get-1): Don't assign clone numbers.
6959 Add clone-of item to list of window parameters.
6960 (window-state-put-2): Don't process clone numbers.
6961 (display-buffer-alist): Fix doc-string.
6962
3349e122
SM
69632011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * subr.el (remq): Don't allocate if it's not needed.
6966 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6967 (keymap--merge-bindings): New functions.
6968 (keymap-canonicalize): Use them to refine the canonicalization.
6969 * minibuffer.el (minibuffer-local-completion-map)
6970 (minibuffer-local-must-match-map): Move initialization from C.
6971 (minibuffer-local-filename-completion-map): Move initialization from C;
6972 don't inherit from anything here.
6973 (minibuffer-local-filename-must-match-map): Make obsolete.
6974 (completing-read-default): Use make-composed-keymap to combine
6975 minibuffer-local-filename-completion-map with either
6976 minibuffer-local-must-match-map or
6977 minibuffer-local-filename-completion-map.
6978
d224ac83
GM
69792011-07-01 Glenn Morris <rgm@gnu.org>
6980
3de63bf8
GM
6981 * type-break.el (type-break-time-sum): Use dolist.
6982
d224ac83
GM
6983 * textmodes/flyspell.el (flyspell-word-search-backward):
6984 Replace CL function.
6985
1a1e3f32
SM
69862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6987
fe3f64d5
SM
6988 * mouse.el (mouse--strip-first-event): New function.
6989 (function-key-map): Use it to map fringe clicks to normal clicks
6990 by default.
6991
eb604e34
SM
6992 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6993 (vc-bzr-revision-completion-table): Add support for annotate and date.
6994
1a1e3f32
SM
6995 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6996 inherit from parent.
6997
5bd35902
LMI
69982011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6999
ace6c69c 7000 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7001 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7002
191e2bed
LMI
7003 * dired.el (dired-mode): Fix up the doc string as suggested by
7004 Drew Adams (bug#8817).
7005
5bd35902
LMI
7006 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7007 cookie, since the manual says that it should be possible to add
7008 this function to `find-file-hook' (bug#8709).
7009
eee8207a
TZ
70102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7011
7012 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7013 here. Noted Ted Zlatanov as the maintainer.
7014 (cfengine-common-settings, cfengine-common-syntax): New functions
7015 to set up common things between `cfengine-mode' and
7016 `cfengine3-mode'.
7017 (cfengine3-mode): New mode.
7018 (cfengine3-defuns cfengine3-defuns-regex
7019 (cfengine3-class-selector-regex cfengine3-category-regex)
7020 (cfengine3-vartypes cfengine3-font-lock-keywords)
7021 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7022 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7023
36b148cf
MA
70242011-07-01 Michael Albinus <michael.albinus@gmx.de>
7025
7026 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7027
7028 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7029
0bf4ba9a
MR
70302011-07-01 Martin Rudalics <rudalics@gmx.at>
7031
7032 * window.el (same-window-buffer-names, same-window-regexps)
7033 (same-window-p, special-display-frame-alist)
7034 (special-display-popup-frame, special-display-function)
7035 (special-display-buffer-names, special-display-regexps)
7036 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7037 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7038 (split-window-preferred-function, split-height-threshold)
7039 (split-width-threshold, even-window-heights)
7040 (display-buffer-mark-dedicated, window-splittable-p)
7041 (split-window-sensibly, window-safely-shrinkable-p):
7042 Un-obsolete.
7043 (display-buffer): Don't spread args with function specifier
7044 because special-display-popup-frame won't like it.
7045
35837f51
PE
70462011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7047
d0672f86
PE
7048 Time-stamp simplifications and fixes.
7049 These improve accuracy slightly, and future-proof the code
7050 against some potential changes to current-time format.
7051
b9444d97
PE
7052 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7053 by using time-since and float-time.
7054
0ef923dc
PE
7055 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7056 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7057 + NNN microseconds".
7058
2f81380d
PE
7059 * type-break.el (type-break-time-sum): Rewrite using time-add.
7060
845b5c3e
PE
7061 * play/hanoi.el (hanoi-current-time-float): Remove.
7062 All uses replaced by float-time.
7063
ee6f1be0
PE
7064 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7065 This yields a more-accurate answer.
7066 (rng-time-to-float): Remove; no longer needed.
7067
fe955043
PE
7068 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7069
5777162a
PE
7070 * calendar/timeclock.el (timeclock-seconds-to-time):
7071 Defalias to seconds-to-time, since they're the same thing.
7072
3103f8b6 7073 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7074 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7075 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7076
0e61a35f
SM
70772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * window.el (bury-buffer): Don't iconify the only frame.
7080 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7081 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7082
ddd63a1e
CY
70832011-07-01 Chong Yidong <cyd@stupidchicken.com>
7084
0e61a35f
SM
7085 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7086 Add mouse-yank-primary.
ddd63a1e 7087
055f4923
TZ
70882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7089
7090 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7091
6a2fb145
SM
70922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7095 (find-library-name): Use it to find relative load names when provided
7096 absolute file name (bug#8803).
7097
fd4983f2
LMI
70982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7099
887d14ad
LMI
7100 * textmodes/flyspell.el (flyspell-word): Consider words that
7101 differ only in case as potential doublons (bug#5687).
7102
c53dc7fc
LMI
7103 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7104 Remove two rather uninteresting debugging-like messages to make
7105 debbugs.el more silent.
7106
fd4983f2
LMI
7107 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7108 a password-like phrase.
7109
7a71b18d 71102011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7111
7112 * progmodes/cc-guess.el: New file.
7113
6a2fb145 7114 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7115
7116 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7117 derived from `c-basic-common-init'.
7118
7119 * progmodes/cc-mode.el (top-level): Require cc-guess.
7120 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7121
1fa280a3
LM
71222011-06-30 Lawrence Mitchell <wence@gmx.li>
7123
7124 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7125
e6597158
AM
71262011-06-30 Alan Mackenzie <acm@muc.de>
7127
1fa280a3
LM
7128 * progmodes/cc-engine.el (c-guess-continued-construct):
7129 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7130 lock is disabled. Name this case as "CASE G".
7131
68ba37fb
KM
71322011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7133
7134 * allout.el (allout-yank-processing): Fix injection of extra space
7135 between bullet and non-whitespace character in first topic when
7136 pasting, ensuring that the actual spacing in the pasted topic
7137 following the bullet char is preserved. This extra space was
7138 causing pasted encrypted topics to get a decrypted status even
7139 when the content was actually still encrypted. Now the decryption
7140 status from before the paste is preserved.
7141
7142 (allout-flag-region): Set all allout overlays so they evaporate
7143 when reduced to zero length (evanescent), to prevent overlay
7144 leakage.
7145
887a0b34
GM
71462011-06-30 Glenn Morris <rgm@gnu.org>
7147
94b9acce
GM
7148 * w32-fns.el (w32-charset-info-alist): Declare.
7149
1d9b46d4
GM
7150 * find-dired.el (find-grep-options): Simplify.
7151
cc232200
GM
7152 * term/ns-win.el (ns-set-resource): Declare.
7153
28e77c46
GM
7154 * ses.el (row, col): Declare dynamic variables honestly.
7155
887a0b34
GM
7156 * textmodes/reftex-parse.el (index-tags): Declare.
7157
658d8eb8
CY
71582011-06-30 Chong Yidong <cyd@stupidchicken.com>
7159
7160 * cus-edit.el (customize-push-and-save): New function.
7161
7162 * files.el (hack-local-variables-confirm): Use it.
7163
1fa280a3
LM
7164 * custom.el (load-theme): New arg NO-CONFIRM.
7165 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7166 (custom-enabled-themes): Doc fix.
7167
7168 * cus-theme.el (customize-create-theme)
7169 (custom-theme-merge-theme): Callers to load-theme changed.
7170
bb617717
LMI
71712011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172
d61bdd5d
LMI
7173 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7174 short URLs have at least one dot in them (bug #7614).
7175
bb617717
LMI
7176 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7177 nil, because using a pty is apparently too slow (bug #895).
7178
2f31f37a
LMI
71792011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7180
7181 * mail/sendmail.el (sendmail-query-once): New function.
7182 (sendmail-query-once-function): New variable.
7183
3076b24e
GM
71842011-06-29 Glenn Morris <rgm@gnu.org>
7185
faf2a174
GM
7186 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7187
3076b24e
GM
7188 * ses.el (top-level): Require cl when compiling.
7189 (ses-set-localvars): Fix error statement.
7190 Call it at compile time to silence a storm of warnings.
7191
5386012d
MR
71922011-06-29 Martin Rudalics <rudalics@gmx.at>
7193
7194 * window.el (normalize-live-buffer): Rename to
7195 window-normalize-buffer.
7196 (normalize-live-frame): Rename to window-normalize-frame.
7197 (normalize-any-window): Rename to window-normalize-any-window.
7198 (normalize-live-window): Rename to window-normalize-live-window.
7199 (make-window-atom): Rename to window-make-atom.
7200 (window-resize-reset): Rename to window--resize-reset.
7201 (window-resize-reset-1): Rename to window--resize-reset-1.
7202 (resize-mini-window): Rename to window--resize-mini-window.
7203 (resize-subwindows-skip-p): Rename to
7204 window--resize-subwindows-skip-p.
7205 (resize-subwindows-normal): Rename to
7206 window--resize-subwindows-normal.
7207 (resize-subwindows): Rename to window--resize-subwindows.
7208 (resize-other-windows): Rename to window--resize-siblings.
7209 (resize-this-window): Rename to window--resize-this-window.
7210 (resize-root-window): Rename to window--resize-root-window.
7211 (resize-root-window-vertically): Rename to
7212 window--resize-root-window-vertically.
7213 (normalize-buffer-to-display): Rename to
7214 window-normalize-buffer-to-display.
7215 (normalize-buffer-to-switch-to): Rename to
7216 window-normalize-buffer-to-switch-to.
7217 Correspondingly update all callers of the functions listed
7218 above.
7219 (display-buffer-alist, display-buffer-normalize-arguments)
7220 (display-buffer-normalize-options, display-buffer)
7221 (display-buffer-alist-set): Use "function" instead of
7222 "fun-with-args".
7223
1176868d
CY
72242011-06-28 Chong Yidong <cyd@stupidchicken.com>
7225
7226 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7227 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7228 debbugs.gnu.org. Mention acknowledgment email.
7229
20a7a65f
LMI
72302011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7231
7232 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7233 buffer multibyteness, since it shouldn't matter.
7234
5f45cca5
MR
72352011-06-28 Martin Rudalics <rudalics@gmx.at>
7236
7237 * window.el (display-buffer-in-side-window): Handle dedicated
7238 windows as in display-buffer-reuse-window.
7239 (display-buffer-normalize-alist): Use value of override
7240 specifier.
7241 (display-buffer-normalize-specifiers): Use value of
7242 other-window-means-other-frame specifier.
7243 (display-buffer-alist): Rewrite some texts in widgets.
7244 (display-buffer): Spread arguments when calling function
7245 specified by fun-with-args.
7246
ad85fe1f
DD
72472011-06-28 Deniz Dogan <deniz@dogan.se>
7248
1fa280a3
LM
7249 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7250 Unnest `let'.
da68c4c8 7251
ad85fe1f
DD
7252 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7253 selectors (Bug#5732).
ec49bd31 7254 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7255
a08cc025
JA
72562011-06-27 Jari Aalto <jari.aalto@cante.net>
7257
7258 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7259 (eshell-ls-date-format): New defcustom.
7260 (eshell-ls-file): Use it.
7261
e2b551c5
SM
72622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7265
8982b231
KY
72662011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7267
7268 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7269 (ange-ftp-make-tmp-name): New arg.
7270 (ange-ftp-file-local-copy): Use it.
7271
36c9fa27
J
72722011-06-27 Jambunathan K <kjambunathan@gmail.com>
7273
7274 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7275 no-conversion (Bug#8870).
7276
d68443dc
MR
72772011-06-27 Martin Rudalics <rudalics@gmx.at>
7278
7279 * window.el (window-right, window-left, window-child)
7280 (window-child-count, window-last-child)
7281 (window-iso-combination-p, walk-window-tree-1)
7282 (window-atom-check-1, window-tree-1, delete-window)
7283 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7284 new naming conventions - window-vchild, window-hchild,
7285 window-next and window-prev are now called window-top-child,
7286 window-left-child, window-next-sibling and window-prev-sibling
7287 respectively.
d615d6d2
MR
7288 (resize-window-reset): Rename to window-resize-reset.
7289 (resize-window-reset-1): Rename to window-resize-reset-1.
7290 (resize-window): Rename to window-resize.
7291 (window-min-height, window-min-width)
7292 (resize-mini-window, resize-this-window, resize-root-window)
7293 (resize-root-window-vertically, adjust-window-trailing-edge)
7294 (enlarge-window, shrink-window, maximize-window)
7295 (minimize-window, delete-window, quit-restore-window)
7296 (split-window, balance-windows, balance-windows-area-adjust)
7297 (balance-windows-area, window-state-put-2)
7298 (display-buffer-even-window-sizes, display-buffer-set-height)
7299 (display-buffer-set-width, set-window-text-height)
7300 (fit-window-to-buffer): Rename all "resize-window" prefixed
7301 calls to use the "window-resize" prefix convention.
7302 (display-buffer-alist): Fix symbol for label specifier.
7303 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7304 corresponding specifier.
7305 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7306
b6458526
VB
73072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7308
7309 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7310 convention.
7311 (ses-call-printer): Does not pass an empty string to formatter when the
7312 cell is empty to keep from barking printer Calc math-format-value.
7313
d31fd9ac
RS
73142011-06-27 Richard Stallman <rms@gnu.org>
7315
43d5bf84
RS
7316 * battery.el (battery-mode-line-limit): New variable.
7317 (battery-update): Handle it.
7318
d31fd9ac
RS
7319 * mail/rmailmm.el (rmail-mime-process-multipart):
7320 Handle truncated messages.
7321
819a6054
GM
73222011-06-27 Glenn Morris <rgm@gnu.org>
7323
7324 * progmodes/flymake.el (flymake-err-line-patterns):
7325 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7326
cedc73f2
VB
73272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7328
819a6054 7329 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7330 (ses--clean-!, ses--clean-_): New functions.
7331 (ses-range): Add configurability of readout order, and conversion
7332 to Calc vector.
7333
5e5d49b6
VB
7334 * ses.el (ses-repair-cell-reference-all): New function.
7335 (ses-cell-symbol): Set macro as safe, so that it can be used in
7336 formulas.
7337
56e6cc31 7338 * ses.el: Update cycle detection algorithm.
90ca8b49 7339 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7340 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7341 (ses-set-localvars): New function.
7342 (ses-make-cell): Add property-list as a cell element.
7343 (ses-cell-property-get-fun, ses-cell-property-get)
7344 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7345 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7346 New functions.
90ca8b49
VB
7347 (ses-cell-property-set, ses-cell-property-pop)
7348 (ses-cell-property-get-handle): New macro.
7349 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7350 New aliases, used for code readability.
7351 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7352 cycle detection.
7353 (ses-self-reference-early-detection): New defcustom.
fac916bf 7354 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7355 (ses-mode): Use ses-set-localvars.
7356 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7357 before lauching the update processing.
7358 (ses-initialize-Dijkstra-attempt): New function.
7359 (ses-recalculate-cell): Update for cycle detection based on
7360 Dijkstra algorithm.
7361
2bb63e81
VB
7362 * ses.el: Fix commenting and indenting convention.
7363
c9d29fb8
SM
73642011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * bs.el (bs-cycle-next): Complete last change.
7367
d8e4b68b
JB
73682011-06-27 Drew Adams <drew.adams@oracle.com>
7369
7370 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7371
40098786
LMI
73722011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7373
c9d29fb8
SM
7374 * net/network-stream.el (network-stream-open-starttls):
7375 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7376 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7377
40098786
LMI
7378 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7379 to binary to possibly avoid line encoding issues on Windows (among
7380 other things).
7381
468d09d4
LMI
73822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7383
7384 * net/network-stream.el (open-network-stream): Return an :error
7385 saying what the problem was, if possible.
7386
7387 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7388 server.
7389
7390 * net/network-stream.el (network-stream-open-starttls): If we
7391 wanted to use STARTTLS, and the server offered it, but we weren't
7392 able to because we had no STARTTLS support, then close the connection.
7393 (open-network-stream): Return an :error element, if present.
7394
16f07dd7
CY
73952011-06-26 Chong Yidong <cyd@stupidchicken.com>
7396
88821ca0
CY
7397 * hl-line.el (hl-line-sticky-flag): Doc fix.
7398 (global-hl-line-sticky-flag): New option (Bug#8323).
7399 (global-hl-line-highlight): Obey it.
7400
16f07dd7
CY
7401 * vc/vc.el (vc-revert-show-diff): Default to t.
7402
6b5ccddf
KM
74032011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7404
c9d29fb8
SM
7405 * allout-widgets.el (allout-widgets-post-command-business):
7406 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7407 undecorated when an isearch is continued past, and isearch
7408 automatically collapses them. This leads to "widget leaks", where
7409 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7410 hidden widgets can slow down cursor travel, substantially.
7411 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7412 so we're doing without this nicety.
7413
7414 (allout-widgets-tally-string): Don't try to do a hash-table-count
7415 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7416 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7417 *Messages* when allout-widgets-maintain-tally is t.
7418
355f2e07
MR
74192011-06-26 Martin Rudalics <rudalics@gmx.at>
7420
7421 * window.el (display-buffer-normalize-argument): Rename to
7422 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7423 LABEL argument. Respect special-display-function when popping up
7424 a new frame. Fix code searching for a window showing the buffer
7425 on another frame.
c9d29fb8
SM
7426 (display-buffer-normalize-specifiers):
7427 Call display-buffer-normalize-arguments.
355f2e07
MR
7428 (display-buffer-in-window): Don't undedicate the window if its
7429 buffer remains the same.
7430 Reported by Drew Adams <drew.adams@oracle.com>.
7431 (display-buffer-alist): Add choice for same-window macro
7432 specfier.
7433 (display-buffer): Mention special meaning of LABEL argument in
7434 doc-string. Fix quoting. Don't pop up a new frame even as
7435 fallback.
7436
7ca8fc42
JB
74372011-06-26 Juanma Barranquero <lekktu@gmail.com>
7438
7439 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7440 avoid deleting the current window in some cases (bug#8911).
7441
bc312254
AS
74422011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7443
7444 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7445 (Bug#8934)
7446
2db18f3f
LMI
74472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7448
c9d29fb8
SM
7449 * net/network-stream.el (network-stream-open-starttls):
7450 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7451 (network-stream-open-tls): Ditto.
7452
6302e0d3
LL
74532011-06-26 Leo Liu <sdl.web@gmail.com>
7454
7455 * register.el (registerv): New struct.
7456 (registerv-make): New function.
c9d29fb8
SM
7457 (jump-to-register, describe-register-1, insert-register):
7458 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7459 struct. (Bug#8415)
7460
5fdd4046
CY
74612011-06-26 Chong Yidong <cyd@stupidchicken.com>
7462
2afef60a
CY
7463 * vc/vc.el (vc-revert-show-diff): New defcustom.
7464 (vc-diff-internal): New arg specifying diff buffer.
7465 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7466 reuse an existing *vc-diff* buffer (Bug#8927).
7467
5fdd4046
CY
7468 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7469
e93db24a
GM
74702011-06-26 Glenn Morris <rgm@gnu.org>
7471
7472 * progmodes/f90.el (f90-critical-indent): New option.
7473 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7474 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7475 (f90-mode): Doc fix.
7476 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7477 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7478 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7479 (f90-match-end): Handle block, critical.
7480
eefff499
GM
74812011-06-25 Glenn Morris <rgm@gnu.org>
7482
f6ba4cc9
GM
7483 * calendar/diary-lib.el (diary-included-files): Doc fix.
7484 (diary-include-files): New function, extracted from
7485 diary-include-other-diary-files and diary-mark-included-diary-files.
7486 (diary-include-other-diary-files, diary-mark-included-diary-files):
7487 Just call diary-include-files.
7488 (diary-mark-entries): Reset diary-included-files on first call.
7489
16712304
GM
7490 * calendar/diary-lib.el (diary-mark-entries)
7491 (diary-mark-included-diary-files):
7492 Visit included diary-files in temp buffers.
7493
5d8e0d43
GM
7494 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7495 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7496 (f90-start-block-re, f90-imenu-generic-expression)
7497 (f90-looking-at-program-block-start, f90-no-block-limit):
7498 Add support for submodules.
7499
ccf7a5d5
GM
7500 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7501 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7502
11fdef7d 75032011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7504
7505 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7506 buffer-file-type before setting its value, to avoid disastrous
eefff499 7507 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7508
74f53697
JB
75092011-06-25 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7512
7513 * ses.el (ses-unload-function):
7514 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7515
7516 * proced.el (proced-unload-function):
7517 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7518
18a4ce5e
AR
75192011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7520
7521 * server.el (server-create-window-system-frame): Add parameters arg.
7522 (server-process-filter): Doc fix. Handle frame-parameters.
7523
519d22cc
JB
75242011-06-25 Juanma Barranquero <lekktu@gmail.com>
7525
7526 Fix bug#8730, bug#8781.
7527
7528 * loadhist.el (unload--set-major-mode): New function.
7529 (unload-feature): Use it.
7530
7531 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7532 (python-unload-function): New function.
7533
c206f5b0
SM
75342011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7537
f9ad64f3
GS
75382011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7539
7540 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7541 the candidates list.
7542
7d0da90e
JB
75432011-06-24 Juanma Barranquero <lekktu@gmail.com>
7544
7545 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7546
14b4e83d
RS
75472011-06-23 Richard Stallman <rms@gnu.org>
7548
7549 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7550 (rmail-variables): Set next-error-move-function.
7551 (rmail-what-message): Take argument POS.
7552 (rmail-next-error-move): New function.
7553
273d2baf
SM
75542011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7557 messages for adjacent non-terminals.
7558
56c2cc9a
RS
75592011-06-23 Richard Stallman <rms@gnu.org>
7560
7561 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7562 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7563 (rmail-start-mail): Don't specify use of rmail-mail-return;
7564 that's done by mail-bury now.
7565 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7566
d59eb518
MA
75672011-06-23 Michael Albinus <michael.albinus@gmx.de>
7568
7569 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7570 SIZE is a number.
7571
02cfc6d6
MR
75722011-06-23 Martin Rudalics <rudalics@gmx.at>
7573
7574 * window.el (get-lru-window, get-mru-window)
7575 (get-largest-window): Never return a minibuffer window.
7576 (display-buffer-pop-up-window): Fix a bug that could lead to
7577 reusing the minibuffer window.
7578 (display-buffer): Pass original specifier argument to
7579 display-buffer-function instead of the normalized one.
7580 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7581
4e323265
LL
75822011-06-22 Leo Liu <sdl.web@gmail.com>
7583
7584 * minibuffer.el (completing-read-function)
7585 (completing-read-default): Move from minibuf.c
7586
7a70468f
RS
75872011-06-22 Richard Stallman <rms@gnu.org>
7588
50718fc2
RS
7589 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7590 to Rmail even if not started by a special Rmail command.
7591
7a70468f
RS
7592 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7593 Copy the buffer currently showing just one message.
7594
297dde5a
RW
75952011-06-22 Roland Winkler <winkler@gnu.org>
7596
7597 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7598 (bibtex-clean-entry): First delete the old key so that a
7599 customized algorithm for generating the new key does not get
7600 confused by the old key.
7601 (bibtex-url): Obey regexp of first step.
7602 (bibtex-search-entries): Do not use add-to-list with local
7603 list-var.
7604
97bb1093
LMI
76052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7606
7607 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7608 stored a user name, then query for the password first, instead of
7609 waiting for SMTP to give an error message and the trying again.
7610
1c0f1a19
JD
76112011-06-22 Lawrence Mitchell <wence@gmx.li>
7612
7613 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7614 BUFFER in call-process.
7615
396f7c9d
LMI
76162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7617
7618 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7619 QUIT twice.
ddb7ffee
LMI
7620 (smtpmail-try-auth-methods): Require user name and password from
7621 auth-source.
396f7c9d 7622
8998d1b3
MR
76232011-06-22 Martin Rudalics <rudalics@gmx.at>
7624
7625 * window.el (display-buffer-default-specifiers)
7626 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7627 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7628 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7629
7630 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7631 (special-display-frame-alist, special-display-popup-frame):
7632 Remove duplicate declarations. These are now in window.el.
7633
4ea31e07
LMI
76342011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7635
c9d29fb8
SM
7636 * mail/smtpmail.el (smtpmail-via-smtp):
7637 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7638 server supports it. SMTP servers that support STARTTLS commonly
7639 require it.
7640
7641 * net/network-stream.el (network-stream-open-starttls): Support
7642 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7643 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7644
95f41d9a
LMI
7645 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7646 upgrades with `open-network-stream', and rely solely on
7647 auth-source for all credentials. Big changes throughout the file,
7648 but in particular:
c9d29fb8
SM
7649 (smtpmail-auth-credentials): Remove.
7650 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7651 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7652 MAIL FROM, too.
95f41d9a 7653
c9d29fb8
SM
7654 * net/network-stream.el (network-stream-open-starttls):
7655 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7656 STARTTLS.
7657 (auth-source): Require.
7658 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7659 (network-stream-certificate): Change cert-cert to cert and
7660 cert-key to key.
4ea31e07 7661
065ec2c7
MA
76622011-06-21 Michael Albinus <michael.albinus@gmx.de>
7663
7664 * net/tramp-cache.el (top): Don't load the persistency file when
7665 "emacs -Q" has been called.
7666
cd93b359
DR
76672011-06-21 Tim Harper <timcharper@gmail.com>
7668
d8e4b68b
JB
7669 * term/ns-win.el (ns-initialize-window-system):
7670 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7671 resource to NO as it is not yet supported by the NS port.
7672
ae9c0411
JB
76732011-06-21 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7676 (list-dynamic-libraries): ...not here.
7677
7f3f739f
LL
76782011-06-21 Leo Liu <sdl.web@gmail.com>
7679
7680 * subr.el (sha1): Implement sha1 using secure-hash.
7681
327c8fb1
MR
76822011-06-21 Martin Rudalics <rudalics@gmx.at>
7683
7684 * window.el (display-buffer-alist): In default value do not
7685 enforce searching a window on any but the selected frame.
7686 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7687 (display-buffer-select-window): Remove function.
7688 (display-buffer-in-window): When a window on another frame gets
7689 reused, do not select it any more but just raise its frame if
7690 necessary (Bug#8851) and (Bug#8856).
7691 (display-buffer-normalize-options): Handle pop-up-frames related
7692 options more faithfully.
7693 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7694 window if it is on another frame.
c9d29fb8
SM
7695 (display-buffer-alist, display-buffer-default-specifiers):
7696 Don't make new frame unsplittable by default.
9e9de014
MR
7697 (display-buffer-normalize-argument): Fix doc-string typo and use
7698 'same-frame-other-window instead of 'other-window when associating
7699 with display-buffer-macro-specifiers.
327c8fb1 7700
7cf3f556
VB
77012011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7702
7703 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7704 New functions.
7705 (5x5-mode-map, 5x5-mode-menu): Bind them.
7706 (5x5-draw-grid): Tweak the solver's rendering.
7707
60a406cf
SM
77082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7711 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7712
d8e4b68b 77132011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7714
7715 * menu-bar.el: Use function variable instead of switch-to-buffer.
7716 (menu-bar-select-buffer-function): New variable.
60a406cf 7717 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7718
478d6f95
SM
77192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7722 variable's status.
7723
ca530739
JD
77242011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7725
7726 * x-dnd.el (x-dnd-version-from-flags)
7727 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7728 and long as number (Bug#8899).
7729 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7730
bcd70d97
SM
77312011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7732
60a406cf 7733 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7734 (completion-try-completion, completion-all-completions): Compute the
7735 metadata argument if it's missing; make it optional (bug#8795).
7736
60a406cf 7737 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7738 (widget-complete): Use new :completion-function property.
7739 (widget-completions-at-point): New function.
7740 (default): Use :completion-function instead of :complete.
60a406cf
SM
7741 (widget-default-completions): Rename from widget-default-complete;
7742 Rewrite.
bcd70d97
SM
7743 (widget-string-complete, widget-file-complete, widget-color-complete):
7744 Remove functions.
7745 (file, symbol, function, variable, coding-system, color):
7746 * international/mule-cmds.el (default-input-method, charset)
7747 (language-info-custom-alist):
7748 * cus-edit.el (face): Use new property :completions.
7749
7750 * progmodes/pascal.el (pascal-completions-at-point): New function.
7751 (pascal-mode): Use it.
7752 (pascal-mode-map): Use completion-at-point.
7753 (pascal-toggle-completions): Make obsolete.
7754 (pascal-complete-word, pascal-show-completions):
7755 * progmodes/octave-mod.el (octave-complete-symbol):
7756 Redefine as obsolete alias.
7757 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7758 Signal absence of completion info for old Octave,
7759 (inferior-octave-complete): Redefine as obsolete alias.
7760 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7761 (meta-completions-at-point): Rename from meta-complete-symbol and
7762 adapt it for use on completion-at-point-functions.
7763 (meta-common-mode): Use it.
7764 (meta-looking-at-backward, meta-match-buffer): Remove.
7765 (meta-complete-symbol): Redefine as obsolete alias.
7766 (meta-common-mode-map): Use completion-at-point.
7767 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7768 (makefile-mode-map): Use completion-at-point.
7769 (makefile-completions-at-point): Rename from makefile-complete and
7770 adapt it for use on completion-at-point-functions.
7771 (makefile-mode): Use it.
7772 (makefile-complete): Redefine as obsolete alias.
7773
aebf69c8
DD
77742011-06-20 Deniz Dogan <deniz@dogan.se>
7775
7776 * net/rcirc.el: Delete trailing whitespaces once and for all.
7777
bfbbb27d
DC
77782011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7779
7780 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7781
d264a46b
CY
77822011-06-19 Chong Yidong <cyd@stupidchicken.com>
7783
4ca009e5
CY
7784 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7785
d264a46b
CY
7786 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7787
fbf5b3ce
MR
77882011-06-19 Martin Rudalics <rudalics@gmx.at>
7789
7790 * window.el (display-buffer-other-window-means-other-frame):
7791 Call display-buffer-normalize-alist.
7792 (display-buffer-normalize-specifiers-1): Rename to
7793 display-buffer-normalize-argument. New argument other-frame.
7794 Rewrite.
7795 (display-buffer-normalize-specifiers-2): Rename to
7796 display-buffer-normalize-options.
7797 (display-buffer-normalize-alist-1): New function.
7798 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7799 display-buffer-normalize-alist.
7800 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7801 (display-buffer-normalize-options-inhibit): New variable.
7802 (display-buffer-normalize-specifiers): Rewrite calling
7803 display-buffer-normalize-alist,
7804 display-buffer-normalize-argument, and
7805 display-buffer-normalize-options. Don't call the latter if
7806 display-buffer-normalize-options-inhibit is non-nil.
7807 (frame-auto-delete): New option.
7808 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7809 (window-list-no-nils, window-state-ignored-parameters)
7810 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7811 (window-state-put-1, window-state-put-2, window-state-put):
7812 New functions.
9a028c23
MR
7813 (display-buffer-normalize-options): Move special-display-p group
7814 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7815
6d10d800
CY
78162011-06-18 Chong Yidong <cyd@stupidchicken.com>
7817
6420d28b
CY
7818 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7819 groups (Bug#8776).
7820 (rx-submatch-n): New function.
7821 (rx): Document it.
7822
ddb8b596
CY
7823 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7824 (Bug#8768).
7825
7826 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7827
77080289
CY
7828 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7829
61dfb316
CY
7830 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7831 anytime existing face settings are present (Bug#8889).
7832
6d10d800
CY
7833 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7834 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7835 Remove unused argument.
7836
be3fb2b8
MR
78372011-06-18 Martin Rudalics <rudalics@gmx.at>
7838
bcd70d97
SM
7839 * window.el (display-buffer-default-specifiers):
7840 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7841 pop-up-window-min-width, and another reuse-window specifier
7842 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7843 (display-buffer-normalize-specifiers-2):
7844 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7845 pop-up-windows is unset. Add a reuse-window specifier for the
7846 case popping up a new window fails.
7847 (special-display-popup-frame): Remove double quoting.
28dec25a 7848 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7849
1c6d8c76
SM
78502011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7853 according to comint-completion-addsuffix.
7854
7855 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7856 (pcomplete-suffix-list): Mark as obsolete.
7857 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7858 pcomplete-seen in the closure.
7859 (pcomplete-comint-setup): Setup completion-at-point as well.
7860 (pcomplete--entries): New function.
7861 (pcomplete--env-regexp): New var.
7862 (pcomplete-entries): Rewrite to work with partial-completion and
7863 without relying on pcomplete-suffix-list.
7864 (pcomplete-pare-list): Remove, unused.
7865
25aef8b8
MR
78662011-06-17 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (display-buffer-alist): Set pop-up-window-min-height
7869 and pop-up-window-min-width in default value. Reported by
7870 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7871 other-window-means-other-frame.
7872 (display-buffer-macro-specifiers): Comment out entry for
7873 other-window specifier.
7874 (display-buffer-other-window-means-other-frame): New function.
7875 (display-buffer-normalize-specifiers-1): New arguments
7876 buffer-name and label. Treat other-window case specially.
7877 (display-buffer-normalize-specifiers-2): Treat other-window case
7878 specially.
7879 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7880 (display-buffer-normalize-specifiers):
7881 Call display-buffer-normalize-specifiers-3.
25aef8b8 7882
dbad4f69
MR
78832011-06-17 Martin Rudalics <rudalics@gmx.at>
7884
7885 * window.el (same-window-p): Fix two typos introduced when
7886 adding with-no-warnings.
d1067961
MR
7887 (display-buffer-normalize-specifiers-1): Don't check
7888 pop-up-frames for 'unset initialization.
7889 (display-buffer-normalize-specifiers-2): Major rewrite using
7890 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7891 (pop-up-frames, display-buffer-reuse-frames)
7892 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7893 Suggested by David Engster <deng@randomsample.de>.
7894 (even-window-heights): Initialize to 'unset.
7895 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7896 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7897 other window case.
dbad4f69 7898
9b9c9e3a
MR
78992011-06-16 Martin Rudalics <rudalics@gmx.at>
7900
bcd70d97
SM
7901 * window.el (display-buffer-normalize-specifiers-1):
7902 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7903 second argument of display-buffer (Bug#8865).
981d5c09
MR
7904 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7905 (switch-to-buffer-other-window-same-frame)
7906 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7907 Adams (Bug#8875).
9c2755e9
MR
7908 (display-buffer): Don't check noninteractive when calling
7909 display-buffer-pop-up-frame.
7910 (display-buffer-pop-up-frame): Never pop up a frame in
7911 noninteractive mode (Bug#8857).
67222e1d
MR
7912 (enlarge-window, shrink-window): Don't report an error when the
7913 window can't be resized as requested (Bug#8862).
9b9c9e3a 7914
2b75be67
SM
79152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7916
9ffdd3ba
SM
7917 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7918
cb581a67
SM
7919 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7920
2b75be67
SM
7921 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7922
8c0e3589
AM
79232011-06-15 Alan Mackenzie <acm@muc.de>
7924
cb581a67
SM
7925 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7926 for declarators, disable knr checking to speed up for normal files.
7927 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7928
b96e6cde
LMI
79292011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7930
4bba86e6
LMI
7931 * net/network-stream.el (open-network-stream): Add the keyword
7932 :always-query-capabilities for the case where you want to force a
7933 `plain' network connection, but the protocol still requires the
7934 capabilitiy command (i.e., SMTP and EHLO).
7935
2b75be67 7936 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7937 consistency with other `-live-p' functions.
7938
efdcdbf8
SM
79392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * window.el (same-window-buffer-names, same-window-regexps)
7942 (special-display-frame-alist, special-display-popup-frame)
7943 (special-display-function, special-display-buffer-names)
7944 (special-display-regexps, pop-up-frame-alist)
7945 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7946 (pop-up-windows, split-window-preferred-function)
7947 (split-height-threshold, split-width-threshold, even-window-heights)
7948 (display-buffer-mark-dedicated): Don't encourage the use of
7949 display-buffer-alist from Elisp code.
7950
c5cde042
DN
79512011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7952
7953 * progmodes/python.el (python-mode): Derive from prog-mode.
7954 * progmodes/ps-mode.el (ps-mode):
7955 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7956 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7957 * progmodes/ld-script.el (ld-script-mode): Likewise.
7958
baa1c9ab
MR
79592011-06-15 Martin Rudalics <rudalics@gmx.at>
7960
7961 * window.el (display-buffer-alist): Trim default value to avoid
7962 popping up a new frame (Bug#8857) or reusing an arbitrary window
7963 on another frame.
7964 (display-buffer): Do not fall back on popping up a new frame in
7965 batch mode (Bug#8857).
7966
c5dd5a51
CY
79672011-06-14 Chong Yidong <cyd@stupidchicken.com>
7968
7969 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7970 (custom-theme-summary): New function.
7971 (customize-themes): Use it.
7972
d647b7c4
GM
79732011-06-13 Glenn Morris <rgm@gnu.org>
7974
7975 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7976
9481c002
MR
79772011-06-13 Martin Rudalics <rudalics@gmx.at>
7978
357f93d2
MR
7979 * help.el (help-window): Remove variable.
7980 (help-window-point-marker, temp-buffer-max-height)
7981 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7982 (help-print-return-message): Don't set help-window.
7983 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7984 (help-window-setup-finish): Remove.
7985 (help-window-display-message, help-window-setup)
7986 (with-help-window): Major rewrite based on new
7987 display-buffer-window variable.
7988
7989 * help-mode.el (help-mode-finish): Remove help-window related
7990 code.
7991
7992 * view.el (view-exits-all-viewing-windows): Remove reference to
7993 view-return-to-alist in doc-string.
7994 (view-return-to-alist): Make obsolete.
7995 (view-buffer): Call pop-to-buffer-same-window and remove
7996 undo-window code.
7997 (view-buffer-other-window): Call pop-to-buffer-other-window and
7998 simplify code. Ignore second argument.
7999 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8000 simplify code. Ignore second argument.
8001 (view-return-to-alist-update): Make obsolete.
8002 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8003 Rewrite using quit-restore window parameters.
2b75be67
SM
8004 (view-mode-exit): Rename second argument to EXIT-ONLY.
8005 Rewrite using quit-restore-window.
357f93d2
MR
8006 (View-exit, View-exit-and-edit, View-leave, View-quit)
8007 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8008 appropriate arguments.
8009 (view-end-message): Use quit-restore window parameter.
8010
9481c002
MR
8011 * window.el (display-buffer-function): Rewrite doc-string.
8012 (display-buffer-window, display-buffer-alist): New variables.
8013 (display-buffer-split-specifiers)
8014 (display-buffer-side-specifiers)
8015 (display-buffer-macro-specifiers): New constants.
8016 (display-buffer-even-window-sizes, display-buffer-set-height)
8017 (display-buffer-set-width, display-buffer-select-window)
8018 (display-buffer-in-window, display-buffer-reuse-window)
8019 (display-buffer-split-window-1, display-buffer-split-window)
8020 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8021 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8022 (display-buffer-in-side-window, normalize-buffer-to-display)
8023 (display-buffer-normalize-specifiers-1)
8024 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8025 (display-buffer-normalize-specifiers, display-buffer-frame):
8026 New functions.
9481c002
MR
8027 (display-buffer): Major rewrite.
8028 (display-buffer-other-window, display-buffer-other-frame)
8029 (pop-to-buffer, switch-to-buffer-other-window)
8030 (switch-to-buffer-other-frame): Rewrite.
8031 (display-buffer-same-window, display-buffer-same-frame)
8032 (display-buffer-same-frame-other-window)
8033 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8034 (pop-to-buffer-other-window)
8035 (pop-to-buffer-same-frame-other-window)
8036 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8037 (switch-to-buffer-other-window-same-frame): New functions.
8038 (same-window-p, special-display-p): Rewrite disabling warnings.
8039 Make obsolete.
8040 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8041 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8042 Make obsolete
8043 (same-window-buffer-names, same-window-regexps)
8044 (special-display-frame-alist, special-display-popup-frame)
8045 (special-display-function, special-display-buffer-names)
8046 (special-display-regexps, pop-up-frame-alist)
8047 (pop-up-frame-function, split-window-preferred-function)
8048 (split-height-threshold, split-width-threshold)
8049 (even-window-heights): Make obsolete.
8050
9db51aca
GM
80512011-06-12 Glenn Morris <rgm@gnu.org>
8052
8053 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8054 Misc simplifications.
9db51aca 8055
39cffb44
MR
80562011-06-12 Martin Rudalics <rudalics@gmx.at>
8057
8058 * window.el (window-safely-shrinkable-p): Restore function which
8059 was inadvertently removed in change from 2011-06-11. Declare as
8060 obsolete.
8061
2b75be67
SM
8062 * calendar/calendar.el (calendar-generate-window):
8063 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8064 window-safely-shrinkable-p.
8065
a8955be7
GM
80662011-06-12 Glenn Morris <rgm@gnu.org>
8067
8068 * progmodes/fortran.el (fortran-mode-syntax-table):
8069 * progmodes/f90.el (f90-mode-syntax-table):
8070 Set % to punctuation. (Bug#8820)
8071 (f90-find-tag-default): Remove, no longer needed.
8072
f0d4059d
DC
80732011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8074
8075 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8076
1100a63c
CY
80772011-06-11 Chong Yidong <cyd@stupidchicken.com>
8078
8079 * image.el (image-animated-p): Return animation delay in seconds.
8080 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8081 (image-animate-timeout): Remove DELAY argument. Don't assume
8082 every subimage has the same delay; get it from image-animated-p.
8083 (image-animate): Caller changed.
8084
def722bf
MA
80852011-06-11 Michael Albinus <michael.albinus@gmx.de>
8086
8087 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8088 to ignored backtrace functions.
8089
0a2bb1a9
GM
80902011-06-11 Glenn Morris <rgm@gnu.org>
8091
8092 * calendar/appt.el (appt-disp-window-function): Doc fix.
8093 (appt-check): Handle overlapping appointments. (Bug#8337)
8094
6198ccd0
MR
80952011-06-11 Martin Rudalics <rudalics@gmx.at>
8096
8097 * window.el (window-tree-1, window-tree): New functions, moving
8098 the latter to window.el.
8099 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8100 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8101 (bw-refresh-edges): Remove.
8102 (balance-windows-1, balance-windows-2): New functions.
8103 (balance-windows): Rewrite in terms of window tree functions,
8104 balance-windows-1 and balance-windows-2.
8105 (bw-adjust-window): Remove.
8106 (balance-windows-area-adjust): New function with functionality of
8107 bw-adjust-window but using resize-window.
2b75be67
SM
8108 (set-window-text-height): Rewrite doc-string.
8109 Use normalize-live-window and resize-window.
8110 (enlarge-window-horizontally, shrink-window-horizontally):
8111 Rename argument to DELTA.
6198ccd0
MR
8112 (window-buffer-height): New function.
8113 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8114 Rewrite using new window resize routines.
2b75be67
SM
8115 (kill-buffer-and-window, mouse-autoselect-window-select):
8116 Use ignore-errors instead of condition-case.
6198ccd0
MR
8117 (quit-window): Call delete-frame instead of delete-windows-on
8118 for the only buffer on frame.
8119
9397e56f
MR
81202011-06-10 Martin Rudalics <rudalics@gmx.at>
8121
8122 * loadup.el (top-level): Load window before files for the sake
8123 of replace-buffer-in-windows.
8124
8125 * files.el (read-buffer-to-switch)
8126 (switch-to-buffer-other-window)
2b75be67
SM
8127 (switch-to-buffer-other-frame, display-buffer-other-frame):
8128 Move to window.el.
9397e56f
MR
8129
8130 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8131 (previous-buffer): Move to window.el.
8132
8133 * bindings.el (unbury-buffer): Move to window.el.
8134
8135 * window.el (delete-other-windows-vertically): Move after
8136 definition of delete-other-windows.
8137 (other-window, delete-windows-on, replace-buffer-in-windows):
8138 Move here from window.c.
8139 (record-window-buffer, unrecord-window-buffer)
8140 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8141 (switch-to-next-buffer): New functions.
8142 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8143 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8144 (previous-buffer): Move here from simple.el.
8145 Call switch-to-prev-buffer.
9397e56f
MR
8146 (bury-buffer): Move here from buffer.c. Switch to previous
8147 buffer when window cannot be deleted.
8148 (unbury-buffer): Move here from bindings.el.
8149 (ctl-x-map): Move binding for other-window from window.c to
8150 here.
8151 (read-buffer-to-switch, switch-to-buffer-other-window)
8152 (switch-to-buffer-other-frame): Move here from files.el.
8153 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8154 (switch-to-buffer): Move here from buffer.c.
8155 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8156
562dd5e9
MR
81572011-06-10 Martin Rudalics <rudalics@gmx.at>
8158
8159 * window.el (window-min-height, window-min-width): Move here
8160 from window.c. Add defcustoms and rewrite doc-strings.
8161 (resize-mini-window, resize-window): New functions.
8162 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8163 Move here from window.c.
8164 (maximize-window, minimize-window): New functions.
8165 (delete-window, delete-other-windows, split-window): Move here
8166 from window.c.
8167 (window-split-min-size): New function.
8168 (split-window-keep-point): Mention split-window-above-each-other
8169 instead of split-window-vertically.
2b75be67 8170 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8171 Rename split-window-vertically to split-window-above-each-other
8172 and provide defalias for old definition.
8173 (split-window-side-by-side, split-window-horizontally):
8174 Rename split-window-horizontally to split-window-side-by-side
8175 and provide defalias for the old definition.
562dd5e9
MR
8176 (ctl-x-map): Move bindings for delete-window,
8177 delete-other-windows and enlarge-window here from window.c.
8178 Replace bindings for split-window-vertically and
8179 split-window-horizontally by bindings for
8180 split-window-above-each-other and split-window-side-by-side.
8181
8182 * cus-start.el (all): Remove entries for window-min-height and
8183 window-min-width. Add entries for window-splits and
8184 window-nest.
8185
f0da764a
GM
81862011-06-09 Glenn Morris <rgm@gnu.org>
8187
80675c21
GM
8188 * calendar/appt.el (appt-mode-line): New function.
8189 (appt-check, appt-disp-window): Use it.
8190
f0da764a
GM
8191 * files.el (hack-one-local-variable-eval-safep):
8192 Allow minor-modes with explicit +/-1 arguments.
8193
59f623b7
TZ
81942011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8195
8196 * term/xterm.el (xterm): Add defgroup.
8197 (xterm-extra-capabilities): Add defcustom to supply known xterm
8198 capabilities, skip querying them, or query them (default).
8199 (terminal-init-xterm): Use it.
8200 (terminal-init-xterm-modify-other-keys): New function to set up
8201 modifyOtherKeys support to simplify `terminal-init-xterm'.
8202
9aab8e0d
MR
82032011-06-09 Martin Rudalics <rudalics@gmx.at>
8204
8205 * window.el (resize-window-reset, resize-window-reset-1)
8206 (resize-subwindows-skip-p, resize-subwindows-normal)
8207 (resize-subwindows, resize-other-windows, resize-this-window)
8208 (resize-root-window, resize-root-window-vertically)
8209 (window-deletable-p, window-or-subwindow-p)
8210 (frame-root-window-p): New functions.
8211
e8b08aee
GM
82122011-06-09 Glenn Morris <rgm@gnu.org>
8213
8214 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8215 (ange-ftp-get-files): Use it.
8216
254c37a5
AK
82172011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8218
8219 * mail/sendmail.el (mail-recover-1, mail-recover):
8220 * files.el (recover-file, recover-session):
8221 Handle dired-listing-switches not being just a single short option.
8222
35d7dbd3
GM
82232011-06-09 Glenn Morris <rgm@gnu.org>
8224
8225 * calendar/appt.el (appt-display-message, appt-disp-window):
8226 Handle lists of appointments.
8227
387522b2
MR
82282011-06-08 Martin Rudalics <rudalics@gmx.at>
8229
2b75be67
SM
8230 * window.el (one-window-p): Move down in code.
8231 Rewrite doc-string.
8232 (window-current-scroll-bars): Rewrite doc-string.
8233 Normalize live window argument.
387522b2
MR
8234 (walk-windows, get-window-with-predicate, count-windows):
8235 Rewrite doc-string. Use window-list-1.
8236 (window-in-direction-2, window-in-direction, get-mru-window):
8237 New functions.
8238
d8e4b68b 82392011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8240
8241 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8242 Doc fix (Bug#8713).
8243
82442011-06-08 Chong Yidong <cyd@stupidchicken.com>
8245
8246 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8247
82482011-06-08 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * loadhist.el (unload-feature-special-hooks):
8251 Add `comint-output-filter-functions'.
8252
0de12c52
IK
82532011-06-08 Ivan Kanis <gnu@kanis.fr>
8254
8255 * calendar/appt.el (appt-check): Move some initializations into the let.
8256
f3d1777e
MR
82572011-06-08 Martin Rudalics <rudalics@gmx.at>
8258
8259 * window.el (window-height): Defalias to window-total-height.
8260 (window-width): Defalias to window-body-width.
8261
18af70d0
CY
82622011-06-07 Chong Yidong <cyd@stupidchicken.com>
8263
8264 * image-mode.el (image-toggle-animation): New command.
8265 (image-mode-map): Bind it to RET.
8266 (image-mode): Update message.
8267 (image-toggle-display-image): Avoid a spurious cache flush.
8268 (image-transform-rotation): Doc fix.
8269 (image-transform-properties): Return quickly in the normal case.
8270 (image-animate-loop): Rename from image-animate-max-time.
8271
2b75be67 8272 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8273 (create-animated-image): Remove unnecessary function.
8274 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8275 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8276 (image-animate-timer): Use car-safe.
8277 (image-animate-timeout): Rename argument.
8278
190b47e6
MR
82792011-06-07 Martin Rudalics <rudalics@gmx.at>
8280
8281 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8282 window.c. Rename first argument to ALL-FRAMES.
8283 Rephrase doc-strings.
8284 (get-buffer-window-list): Rewrite using window-list-1.
8285 Rephrase doc-string.
a1511caf
MR
8286 (window-safe-min-height, window-safe-min-width): New constants.
8287 (window-size-ignore, window-min-size, window-min-size-1)
8288 (window-sizable, window-sizable-p, window-size-fixed-1)
8289 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8290 (window-max-delta-1, window-max-delta, window-resizable)
8291 (window-resizable-p, window-total-height, window-total-width)
8292 (window-body-width): New functions.
8293 (window-full-height-p, window-full-width-p): Rewrite using
8294 window-total-size.
8295 (window-body-height): Rewrite using window-body-size.
190b47e6 8296
85cc1f11
MR
82972011-06-06 Martin Rudalics <rudalics@gmx.at>
8298
8299 * window.el (window-right, window-left, window-child)
8300 (window-child-count, window-last-child, window-any-p)
8301 (normalize-live-buffer, normalize-live-frame)
8302 (normalize-any-window, normalize-live-window)
8303 (window-iso-combination-p, window-iso-combined-p)
8304 (window-iso-combinations)
8305 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8306 (windows-with-parameter, window-with-parameter)
8307 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8308 (window-atom-check, window-side-check, window-check):
8309 New functions.
85cc1f11
MR
8310 (ignore-window-parameters, window-sides, window-sides-vertical)
8311 (window-sides-slots): New variables.
8312 (window-size-fixed): Move down in code. Minor doc-string fix.
8313
e7156492
AS
83142011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8315
8316 * comint.el (comint-dynamic-complete-as-filename)
8317 (comint-dynamic-complete-filename): Correctly call
8318 completion-in-region.
8319
7e821d0d
DD
83202011-06-05 Deniz Dogan <deniz@dogan.se>
8321
8322 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8323 in last change.
8324
ac09b8a1
DD
83252011-06-05 Deniz Dogan <deniz@dogan.se>
8326
8327 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8328 (rcirc): Use it to prompt for encryption.
8329
34699b85
RW
83302011-06-05 Roland Winkler <winkler@gnu.org>
8331
8332 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8333 (bibtex-search-entries): New command bound to C-c C-a.
8334 (bibtex-display-entries): New function.
8335
004dedd3
RW
83362011-06-05 Roland Winkler <winkler@gnu.org>
8337
8338 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8339 (bibtex-insert-kill): After yanking insert newline if necessary.
8340 (bibtex-initialize): Call bibtex-string-files-init only once.
8341 (bibtex-mode): Do not call easy-menu-add.
8342 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8343 (bibtex-yank): Set arg properly if nil.
8344
022fe7ce
RW
83452011-06-05 Roland Winkler <winkler@gnu.org>
8346
2b75be67
SM
8347 * textmodes/bibtex.el (bibtex-search-entry-globally):
8348 New variable.
022fe7ce
RW
8349 (bibtex-search-entry): Use it.
8350
b7c3692a
RW
83512011-06-05 Roland Winkler <winkler@gnu.org>
8352
8353 * textmodes/bibtex.el (bibtex-entry-format): New option
8354 sort-fields.
8355 (bibtex-format-entry, bibtex-reformat): Honor this option.
8356 (bibtex-parse-entry): Return fields in proper order.
8357
8eda563d
JB
83582011-06-05 Juanma Barranquero <lekktu@gmail.com>
8359
8360 * doc-view.el (doc-view-remove-if): Move computation of result out
8361 of `dolist' to silence misleading lexical-binding warning.
8362
7dbe3dbc
CY
83632011-06-04 Chong Yidong <cyd@stupidchicken.com>
8364
8365 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8366 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8367
0c33dd17
MA
83682011-06-04 Michael Albinus <michael.albinus@gmx.de>
8369
8370 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8371 "SunOS 5.10".
8372
f8f91c2b
MA
83732011-06-04 Michael Albinus <michael.albinus@gmx.de>
8374
8375 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8376 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8377 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8378 (tramp-parse-putty):
8379 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8380 (tramp-completion-function-alist-ssh)
8381 (tramp-completion-function-alist-telnet)
8382 (tramp-completion-function-alist-su)
8383 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8384 cookie.
8385
8386 * net/tramp-ftp.el:
8387 * net/tramp-sh.el:
8388 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8389 load "tramp.el" `tramp-set-completion-function'.
8390
e17d9003
SM
83912011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * shell.el: Require and use pcomplete.
8394 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8395 (shell-completion-vars): Set pcomplete-default-completion-function.
8396
6c4cab03
DD
83972011-06-04 Deniz Dogan <deniz@dogan.se>
8398
8399 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8400 `memq' (Bug#8799).
8401
ea9fafe0
SM
84022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8405
b3e945d3
JB
84062011-06-02 Juanma Barranquero <lekktu@gmail.com>
8407
8408 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8409 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8410 * vc/log-view.el (log-view-beginning-of-defun):
8411 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8412 (smerge-refine-forward, smerge-refine-chopup-region):
8413 Silence warning for unused `dotimes' counter variables.
8414
7d520089
SM
84152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * net/tramp.el (tramp-with-progress-reporter): Rename from
8418 with-progress-reporter. Use `declare'.
8419 * net/tramp-smb.el:
8420 * net/tramp-sh.el:
8421 * net/tramp-gvfs.el: Update all uses.
8422
a1c2400f
JB
84232011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8424
8425 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8426 buffer isn't killed before making it current.
8427
2403c841
SM
84282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 Silence various byte-compiler warnings.
8431 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8432 `access-type' and new obsolescence format.
8433 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8434 new format.
8435 (byte-compile-check-variable): New `access-type' argument.
8436 Only warn if the access-type is obsolete.
8437 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8438 (byte-compile-variable-set): Adjust callers.
8439 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8440 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8441 setting it as obsolete.
8442 * simple.el (minibuffer-completing-symbol):
8443 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8444 access as obsolete.
8445 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8446 obsolete yet.
8447 * international/quail.el (quail-mouse-choose-completion): Remove unused
8448 code referring to obsolete var.
8449 (quail-choose-completion-string): Remove.
8450 * server.el (server-clients-with, server-kill-buffer-query-function)
8451 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8452 * proced.el (proced-send-signal):
8453 * emacs-lisp/lisp.el (lisp-complete-symbol):
8454 Replace completion-annotate-function with completion-extra-properties.
8455
2462470b
SM
84562011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8457
fb5b2591
SM
8458 * simple.el (goto-line): Use read-number.
8459 (overriding-map-is-bound): Remove.
8460 (saved-overriding-map): Change default.
8461 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8462 Take the map as argument.
8463 (universal-argument, negative-argument, digit-argument): Use it.
8464 (restore-overriding-map): Adjust.
8465 (do-auto-fill): Use fill-forward-paragraph.
8466 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8467
fd6fa53f
SM
8468 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8469 (minibuffer-inactive-mode): New major mode.
8470 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8471 the *Messages* buffer" hack.
8472 (mouse-popup-menubar): Don't burp if the event is a normal key.
8473
2462470b
SM
8474 Miscellaneous tweaks.
8475 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8476 lexical scoping as in subr.el's dolist and dotimes.
8477 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8478 Silence compiler warning.
8479 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8480 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8481 * international/ccl.el (ccl-compile): Trivial simplification.
8482 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8483 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8484 `printflag' argument.
8485 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8486 Purecopy the whole obsolescence data.
8487
108bf785
LL
84882011-06-01 Leo Liu <sdl.web@gmail.com>
8489
8490 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8491 improve doc-string as suggested by Marco Pessotto
8492 <melmothx@gmail.com>.
8493 (rcirc-print): Fix last change.
8494
30a23501
SM
84952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * minibuffer.el (complete-with-action): Return nil for the metadata and
8498 boundaries of non-functional tables.
8499 (completion-table-dynamic): Return nil for the metadata.
8500 (completion-table-with-terminator): Add default case, using
8501 complete-with-action.
8502 (completion--metadata): New function.
8503 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8504 to try and avoid pathological performance problems.
8505 (completion--embedded-envvar-table): Return `category' metadata.
8506
bcd54f83
LMI
85072011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8508
8509 * subr.el (process-alive-p): New tiny convenience function.
8510
e227544d
SM
85112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8514 content but also its previous major mode.
8515
e8296fdc
HE
85162011-05-31 Helmut Eller <eller.helmut@gmail.com>
8517
4d61f28d 8518 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8519 *Backtrace* buffer when we exit with C-M-c.
8520
620c53a6
SM
85212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * minibuffer.el: Add metadata method to completion tables.
8524 (completion-category-overrides): New defcustom.
8525 (completion-metadata, completion--field-metadata)
8526 (completion-metadata-get, completion--styles)
8527 (completion--cycle-threshold): New functions.
8528 (completion-try-completion, completion-all-completions):
8529 Add `metadata' argument to choose completion-styles.
8530 (completion--do-completion): Use metadata to choose cycling.
8531 (completion-all-sorted-completions): Use metadata for sorting.
8532 Remove :completion-cycle-penalty which is not needed any more.
8533 (completion--try-word-completion): Add `metadata' argument.
8534 (minibuffer-completion-help): Check metadata for annotation function
8535 and sorting.
8536 (completion-file-name-table): Return `category' metadata.
8537 (minibuffer-completing-file-name): Make obsolete.
8538 * simple.el (minibuffer-completing-symbol): Make obsolete.
8539 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8540 completion-try-completion.
8541
1257e755
SM
85422011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8545
3767e706
LL
85462011-05-30 Leo Liu <sdl.web@gmail.com>
8547
8548 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8549 (rcirc-print): Decode all incoming messages (bug#8744).
8550 (rcirc-decode-coding-system): Allow value nil for automatic coding
8551 system detection.
3767e706 8552
d1a5d56a
GM
85532011-06-01 Glenn Morris <rgm@gnu.org>
8554
8555 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8556
e8cbec34
CY
85572011-05-29 Chong Yidong <cyd@stupidchicken.com>
8558
8559 * image.el (image-animate-max-time): Allow nil and t values.
8560 Default to nil.
8561 (create-animated-image): Doc fix.
8562 (image-animate-start): Remove second arg; just use
8563 image-animate-max-time.
8564 (image-animate-timeout): Doc fix. Args changed.
8565
8566 * image-mode.el (image-toggle-display-image): Ensure that the
8567 image spec passed to the animate timer is the same object as in
58179cce 8568 the buffer's display property (Bug#6981).
e8cbec34
CY
8569 (image-transform-properties): Doc fix.
8570
8571 * image.el (image-animate-max-time): Default to nil.
8572
159daf87
MR
85732011-05-29 Martin Rudalics <rudalics@gmx.at>
8574
8575 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8576 entire buffer list (Bug#8184).
8577
d66c4c7c
CY
85782011-05-29 Chong Yidong <cyd@stupidchicken.com>
8579
8580 * image.el (imagemagick-types-inhibit)
8581 (imagemagick-register-types): Doc fix.
8582
80aec780
DD
85832011-05-29 Deniz Dogan <deniz@dogan.se>
8584
8585 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8586 default.
8587
1dd3c2d9
CY
85882011-05-29 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * select.el: Don't perform clipboard-manager saving in hooks;
8591 leave the hooks empty.
8592
60e56523
LL
85932011-05-28 Leo Liu <sdl.web@gmail.com>
8594
8595 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8596 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8597 (occur-edit-mode): New major mode (Bug#8463).
8598 (occur-after-change-function): New function.
8599 (occur-engine): Give Occur tags a read-only property.
8600
2b1e1a22
KR
86012011-05-28 Kevin Ryde <user42@zip.com.au>
8602
8603 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8604
5d344e88
CY
86052011-05-28 Chong Yidong <cyd@stupidchicken.com>
8606
8e6ca83d
CY
8607 * bindings.el (help-echo): Make the initial non-indicator dash
8608 empty on graphical terminals (Bug#7295).
8609
5d344e88
CY
8610 * files.el (auto-mode-alist): Move config rule after the
8611 in-stripping one (Bug#8547).
8612
bfbbace7
CY
8613 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8614
fbeba6e2
CY
8615 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8616 setting (Bug#8740).
8617
60ed8c72
AA
86182011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8619
4ac619f0
AA
8620 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8621 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8622 (Bug#8539).
60ed8c72 8623
23db196e
CY
86242011-05-28 Chong Yidong <cyd@stupidchicken.com>
8625
8626 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8627
5012f24c
DK
86282011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8629
8630 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8631 (hs-hide-block-at-point, hs-find-block-beginning)
8632 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8633 (Bug#8279).
8634
6a639b16
GM
86352011-05-28 Glenn Morris <rgm@gnu.org>
8636
8637 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8638
d43eaf2c
CY
86392011-05-28 Chong Yidong <cyd@stupidchicken.com>
8640
5199bde1
CY
8641 * help-fns.el (describe-function-1): If the function is a derived
8642 major mode, print the parent mode.
8643
d43eaf2c
CY
8644 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8645 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8646
423428a8
SM
86472011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8648
0ff8e1ba 8649 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8650 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8651 * progmodes/etags.el (tags-completion-at-point-function):
8652 * info-look.el (info-lookup-completions-at-point): Mark as
8653 non-exclusive.
8654 (info-complete): Adjust accordingly.
8655
423428a8
SM
8656 * info-look.el: Convert to lexical-binding and completion-at-point.
8657 (info-lookup-completions-at-point): New function.
8658 (info-complete): Use it and completion-in-region.
8659
b74aa22b
DA
86602011-05-28 Drew Adams <drew.adams@oracle.com>
8661
8662 * isearch.el: Let M-e start with point at the first mismatched char.
8663 (isearch-fail-pos): New function.
8664 (isearch-edit-string): Use it.
8665
66e2e71d
DK
86662011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8667
8668 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8669
b1890b0f 86702011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8671
8672 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8673 traversal functions for avl-trees.
8674 (avl-tree--stack): New struct.
8675 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8676 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8677 (avl-tree--do-enter): Add optional `updatefun' arg.
8678 Change return value.
eb95d01d 8679 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8680 (avl-tree--do-delete): Add `test' and `nilflag' args.
8681 Change return value.
eb95d01d
TC
8682 (avl-tree-member): Add optional `nilflag'
8683 (avl-tree-member-p): New function.
8684 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8685 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8686 (avl-tree-stack-empty-p): New functions.
8687
3769ddcf
TC
8688 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8689 avl-tree--del-balance1 and make it work both ways.
8690 (avl-tree--del-balance2): Remove.
8691 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8692 make it work both ways.
8693 (avl-tree--enter-balance2): Remove.
8694 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8695 New macros.
8696 (avl-tree--mapc, avl-tree-map): Add direction argument.
8697
eb95d01d 86982011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8699
8700 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8701
a9f737ee
CY
87022011-05-27 Chong Yidong <cyd@stupidchicken.com>
8703
8704 * select.el: Support clipboard managers with built-in function
8705 x-clipboard-manager-save, via delete-frame-functions and
8706 kill-emacs-hook.
8707 (xselect-convert-to-targets): Add MULTIPLE target to list.
8708 (xselect-convert-to-save-targets): New function.
8709
c92a1e54
KH
87102011-05-27 Kenichi Handa <handa@m17n.org>
8711
8712 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8713 let-binding rfc2047-encode-encoded-words to nil.
8714
e145f188
GM
87152011-05-27 Glenn Morris <rgm@gnu.org>
8716
5ec8a862
GM
8717 * mail/emacsbug.el: Don't require url-util.
8718
4b29d9fb
GM
8719 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8720
e145f188
GM
8721 * files.el (set-auto-mode):
8722 Also respect mode: entries at the end of the file. (Bug#8586)
8723
7d15102b
GM
87242011-05-26 Glenn Morris <rgm@gnu.org>
8725
98f593b8
GM
8726 * files.el (hack-local-variables-prop-line, hack-local-variables):
8727 Downcase mode names, as seems to be traditional.
27b48e63 8728 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8729
7d15102b
GM
8730 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8731 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8732
51d5b4ec
JD
87332011-05-25 Julien Danjou <julien@danjou.info>
8734
8735 * textmodes/rst.el (rst-define-level-faces): Do not define face
8736 symbol if it is already defined.
8737
91513f63
VB
87382011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8739
8740 * play/5x5.el (5x5-new-game, 5x5-randomize):
8741 Reset 5x5-solver-output to nil when a new grid is cast.
8742 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8743 these debugging traces, as defmacro breaks the compiled code.
8744
4d90d6d0
DK
87452011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8746
8747 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8748
e1b90ef6
LL
87492011-05-24 Leo Liu <sdl.web@gmail.com>
8750
8751 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8752 (vc-bzr-sha1): Adapt.
8753
d8e4b68b 8754 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8755
8756 * bindings.el: Provide sha1 feature.
8757
db0406bb 87582011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8759
8760 * mail/sendmail.el: Require `rfc2047'.
8761 (mail-insert-from-field): Do not perform RFC2047 encoding.
8762 (mail-encode-header): New function.
8763 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8764 buffer to the return value of select-message-coding-system.
8765 Call mail-encode-header.
b8d747b9
KH
8766
8767 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8768
db0406bb 87692011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8770
4d90d6d0
DK
8771 * mail/supercite.el (sc-default-cite-frame):
8772 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8773
eb8a5e9b
GM
87742011-05-24 Glenn Morris <rgm@gnu.org>
8775
f8630703
GM
8776 * progmodes/python.el (brm-menu): Declare.
8777
8831bbed
GM
8778 * emulation/viper.el (viper-set-hooks): Declare.
8779
eb8a5e9b
GM
8780 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8781 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8782 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8783 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8784 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8785 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8786
a2a25d24
SM
87872011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 Add an :exit-function for completion-at-point.
8790
8791 * minibuffer.el (completion--done): New fun.
8792 (completion--do-completion): Use it. New arg `expect-exact'.
8793 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8794 since completion--do-completion does it for us now.
8795 (minibuffer-force-complete): Use completion--done and
8796 completion--replace. Handle sole-completion case with more care.
8797 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8798 (completion-extra-properties): New var.
8799 (completion-annotate-function): Make obsolete.
8800 (minibuffer-completion-help): Adjust accordingly.
8801 Use completion-list-insert-choice-function.
8802 (completion-at-point, completion-help-at-point):
8803 Bind completion-extra-properties.
8804 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8805 * simple.el (completion-list-insert-choice-function): New var.
8806 (completion-setup-function): Preserve it.
8807 (choose-completion): Pay attention to it, shuffle the code a bit.
8808 (choose-completion-string): New arg `insert-function'.
8809
8810 * textmodes/bibtex.el: Convert to lexical binding.
8811 (bibtex-mode-map): Use completion-at-point.
8812 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8813 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8814 (bibtex-complete): Define as obsolete alias.
8815 (bibtex-complete-internal): Remove.
8816 (bibtex-format-entry): Remove unused sub-group in regexp.
8817 * shell.el (shell--command-completion-data)
8818 (shell-environment-variable-completion):
8819 * pcomplete.el (pcomplete-completions-at-point):
8820 * comint.el (comint--complete-file-name-data): Use :exit-function
8821 instead of completion-table-with-terminator so it also works for
8822 choose-completion.
8823
e44e373d
SM
88242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8825
4f91a816
SM
8826 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8827
782fc819
SM
8828 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8829 (bug#8710).
8830
e44e373d
SM
8831 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8832
381987c3
KM
88332011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8834
8835 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8836 customization variable and implement: If non-nil, auto-fill will
8837 be inhibited while on topic's header line.
8838
b776bc70
VB
88392011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8840
8841 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8842 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8843 always have a solution in grid size = 5 cases.
8844 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8845 (5x5-solver-output, 5x5-log-buffer): New vars.
8846 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8847 Make these variables buffer local to achieve 5x5 multi-session-ness.
8848 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8849 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8850 (5x5-solve-suggest): New funs.
8851 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8852 randomize a grid so that we ensure that there is always a solution.
8853 (5x5-make-random-grid): Allow other movement than flipping.
8854
7de88b6e
KR
88552011-05-23 Kevin Ryde <user42@zip.com.au>
8856
8857 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8858 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8859 advice and passes PREDICATE.
8860
b1ef1257
SM
88612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8862
bbca48fe
SM
8863 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8864 byte-compile-lambda if it's actually a lambda.
8865
b1ef1257
SM
8866 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8867 Fix function quoting. Use backquote better.
8868
92a9cc65
YS
88692011-05-22 Yuanle Song <sylecn@gmail.com>
8870
8871 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8872 matching (Bug#8516).
8873
f0fb8059
JA
88742011-01-22 Jari Aalto <jari.aalto@cante.net>
8875
8876 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8877 different face (Bug#8178).
8878
d5b44c93
CY
88792011-05-22 Chong Yidong <cyd@stupidchicken.com>
8880
8881 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8882 defface (Bug#8144).
8883
79106a44
SM
88842011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8885
9c848d8a
SM
8886 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8887 funcall as well (bug#8712). Warn when performing those conversions.
8888 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8889
79106a44
SM
8890 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8891
88dfa756
GM
88922011-05-22 Glenn Morris <rgm@gnu.org>
8893
8894 * files.el (hack-local-variables-prop-line): Small simplifications.
8895 (hack-local-variables, hack-local-variables-prop-line):
8896 If MODE-ONLY, return the mode, rather than just `t'.
8897
b7cf2c79
SM
88982011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8901
3f1a8558
GM
89022011-05-21 Glenn Morris <rgm@gnu.org>
8903
7e4ccca3
GM
8904 * files.el (hack-local-variables-prop-line, hack-local-variables):
8905 If only interested in the mode, don't bother doing the other stuff.
8906
637d46ca
GM
8907 * image-mode.el (image-after-revert-hook):
8908 Redraw all frames on which the image is visible. (Bug#8567)
8909
973d955b
GM
8910 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8911
3f1a8558
GM
8912 * wid-edit.el (widget-checklist-match-inline):
8913 Fix 2011-04-19 change. (Bug#8649)
8914
96479927
SM
89152011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8916
1dcf791f
SM
8917 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8918 Also allow singlespace after single-letter capitals followed by a dot.
8919
96479927
SM
8920 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8921 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8922
35fd0881
N
89232011-05-20 Nix <nix@esperi.org.uk>
8924
8925 * files.el (basic-save-buffer-2):
8926 Fix handling of break-hardlink-on-save with non-existent files.
8927
82745640
DD
89282011-05-19 Deniz Dogan <deniz@dogan.se>
8929
8930 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8931 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8932
4a720484
GM
89332011-05-19 Glenn Morris <rgm@gnu.org>
8934
d1f21341
GM
8935 * progmodes/f90.el (f90-type-def-re):
8936 Handle "type, bind(c)". (Bug#8691)
8937
4a720484
GM
8938 * emacs-lisp/autoload.el (batch-update-autoloads):
8939 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8940
2fb0a219
MA
89412011-05-18 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8944 property for the correct connection in case of multihops.
8945
e565dd37
GM
89462011-05-18 Glenn Morris <rgm@gnu.org>
8947
c2571358 8948 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8949 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8950
e565dd37
GM
8951 Rationalize calendar handling of day and month abbrev-arrays.
8952 * calendar/calendar.el (calendar-customized-p): New function.
8953 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8954 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8955 Add :set function.
8956 (calendar-abbrev-length, calendar-day-abbrev-array)
8957 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8958 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8959 Elements may no longer be nil.
8960 (calendar-day-name, calendar-month-name):
8961 Update for changed nature of abbrev arrays.
8962 * calendar/diary-lib.el (diary-name-pattern):
8963 Update for changed nature of abbrev arrays.
8964 (diary-mark-entries-1): Update calendar-make-alist calls.
8965 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8966 * calendar/cal-html.el (cal-html-day-abbrev-array):
8967 Simply inherit from calendar-day-abbrev-array.
8968
1d99a745
SM
89692011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * progmodes/grep.el (grep-mode): Disable default
8972 compilation-directory-matcher setting (bug#8684).
8973
7c1d9aa0
MA
89742011-05-17 Michael Albinus <michael.albinus@gmx.de>
8975
8976 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8977 instead of "head" and "tail". There were problems with SunOS 5.9,
8978 and it performs better.
8979
3952e9d8
GM
89802011-05-17 Glenn Morris <rgm@gnu.org>
8981
2dd12e7f
GM
8982 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8983
e4157b9c
GM
8984 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8985 Replace obsolete function.
8986
8e249bbd
GM
8987 * shell.el (pcomplete-parse-arguments-function): Declare.
8988
3952e9d8
GM
8989 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8990 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8991 (appt-check): Doc fixes.
8992 (appt-disp-window-function, appt-delete-window-function):
8993 Remove needless special case in custom :type.
8994 (appt-display-count): Default to 0, not nil.
8995 (appt-check): Reset appt-display-count to 0, not nil.
8996
c71a0d48 89972011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8998
c71a0d48
GM
8999 * progmodes/python.el (python-font-lock-keywords):
9000 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9001
31d55be9
SM
90022011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9005
3bfacb2f
KR
90062011-05-16 Kevin Ryde <user42@zip.com.au>
9007
9008 * info-look.el (makefile-automake-mode): New setups, looking in
9009 automake manual, then makefile-mode.
9010 (makefile-mode): Remove automake manual, have it just in
9011 makefile-automake-mode since there's various things different or
9012 not relevant to plain make.
9013 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9014 believe a hypothetical automake-mode would go to makefile-mode,
9015 not the other way around.
9016
c8e83751
CY
90172011-05-15 Chong Yidong <cyd@stupidchicken.com>
9018
5e9e35cd
CY
9019 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9020 hunk-end tags (Bug#8672).
9021
c8e83751
CY
9022 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9023 vc-annotate-show-diff-revision-at-line (Bug#8671).
9024
50b23e5a
GM
90252011-05-14 Glenn Morris <rgm@gnu.org>
9026
7210a739
GM
9027 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9028 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9029 (change-log-font-lock-keywords): Also handle multiple author lines
9030 with leading tabs. (Bug#8644)
7210a739 9031
4691905a
GM
9032 * calendar/appt.el (appt-check): Rename some local variables.
9033 Some simplification/reordering.
9034
50b23e5a
GM
9035 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9036 (feedmail-sendmail-f-doesnt-sell-me-out)
9037 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9038 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9039 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9040 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9041 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9042 (feedmail-binmail-gnulinuxish-template):
9043 Rename from feedmail-binmail-linuxish-template.
9044 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9045 Use insert-buffer-substring.
9046
215cda7c
BC
90472011-05-14 Bill Carpenter <bill@carpenter.org>
9048
9049 * mail/feedmail.el (feedmail-patch-level): Increase.
9050 (feedmail-debug): New custom group.
9051 (feedmail-confirm-outgoing-timeout)
9052 (feedmail-sendmail-f-doesnt-sell-me-out)
9053 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9054 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9055 (feedmail-sender-line, feedmail-from-line)
9056 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9057 (feedmail-spray-this-address)
215cda7c
BC
9058 (feedmail-spray-address-fiddle-plex-list)
9059 (feedmail-queue-use-send-time-for-date)
9060 (feedmail-queue-use-send-time-for-message-id)
9061 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9062 (feedmail-buffer-eating-function):
9063 Doc fixes.
9064 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9065 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9066 (feedmail-message-action-scroll-down): New functions.
9067 (feedmail-queue-directory, feedmail-queue-draft-directory):
9068 Use expand-file-name.
9069 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9070 Remove C-v help entry.
9071 (feedmail-queue-buffer-file-name): New variable.
9072 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9073 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9074 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9075 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9076 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9077 (feedmail-message-action-toggle-spray)
9078 (feedmail-run-the-queue-no-prompts)
9079 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9080 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9081 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9082 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9083 (feedmail-envelope-deducer, feedmail-fiddle-from)
9084 (feedmail-fiddle-sender, feedmail-default-date-generator)
9085 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9086 (feedmail-fiddle-spray-address)
9087 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9088 (feedmail-fiddle-list-of-fiddle-plexes)
9089 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9090 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9091 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9092 Change default. Doc fix.
9093 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9094 (feedmail-binmail-linuxish-template): New constant.
9095 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9096 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9097 (feedmail-send-it): Add debug call.
9098 Use feedmail-queue-buffer-file-name, and
9099 feedmail-send-it-immediately-wrapper.
9100 (feedmail-message-action-send): Add debug call.
9101 Use feedmail-send-it-immediately-wrapper.
9102 (feedmail-queue-express-to-queue): Add debug call.
9103 Run feedmail-queue-express-hook.
9104 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9105 (feedmail-message-action-help-blat):
9106 Rename from feedmail-queue-send-edit-prompt-help-first.
9107 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9108 Check line-endings. Handle errors better.
9109 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9110 Doc fix. Add debug call.
9111 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9112 Use feedmail-queue-send-edit-prompt-inner.
9113 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9114 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9115 from feedmail-queue-send-edit-prompt.
9116 (feedmail-queue-send-edit-prompt-help)
9117 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9118 (feedmail-tidy-up-slug): Add debug call.
9119 Respect feedmail-queue-slug-suspect-regexp.
9120 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9121 (feedmail-dump-message-to-queue): Add debug call.
9122 Expand queue-directory.
9123 (feedmail-dump-message-to-queue): Change message slightly.
9124 Use feedmail-say-chatter.
9125 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9126 (feedmail-send-it-immediately-wrapper): New function.
9127 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9128 Insert empty string rather than newline. Handle full-frame case.
9129 Use catch/throw. Use feedmail-say-chatter.
9130 (feedmail-fiddle-from): Try mail-host-address.
9131 (feedmail-default-message-id-generator): Doc fix.
9132 Bind system-time-locale. Handle missing end.
9133 (feedmail-fiddle-x-mailer): Add debug call.
9134 Handle feedmail-x-mailer-line being nil.
9135 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9136 Add debug call. Use buffer-substring-no-properties.
9137 (feedmail-say-debug, feedmail-say-chatter): New functions.
9138 (feedmail-find-eoh): Give an explicit error.
9139
42c7e61e
UJ
91402011-05-13 Ulf Jasper <ulf.jasper@web.de>
9141
c2571358 9142 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9143 family from helvetica to sans.
c2571358 9144 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9145 etc/images/newsticker.
9146
c2571358 9147 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9148 family from helvetica to sans.
9149
9150 * net/newst-plainview.el (newsticker-new-item-face)
9151 (newsticker-old-item-face, newsticker-immortal-item-face)
9152 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9153 (newsticker-statistics-face): Change default family from
42c7e61e 9154 helvetica to sans.
c2571358 9155 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9156 etc/images/newsticker.
9157
9158 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9159 (newsticker--process-auto-mark-filter-match): : Tell user about
9160 auto-marking.
9161
8497a297
DV
91622011-05-13 Didier Verna <didier@xemacs.org>
9163
9164 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9165 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9166 TODO entries.
8497a297
DV
9167 (lisp-lambda-list-keyword-parameter-indentation)
9168 (lisp-lambda-list-keyword-parameter-alignment)
9169 (lisp-lambda-list-keyword-alignment): New customizable user options.
9170 (lisp-indent-defun-method): Improve docstring.
9171 (extended-loop-p): Fix comment.
9172 (lisp-indent-lambda-list-keywords-regexp): New variable.
9173 (lisp-indent-lambda-list): New function.
9174 (lisp-indent-259): Use it.
9175 (lisp-indent-defmethod): Support for more than one
9176 method qualifier and properly indent methods lambda-lists.
9177 (defgeneric): Provide a missing common-lisp-indent-function property.
9178
f278f87f
SM
91792011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9182 bounds for the empty string (bug#8667).
9183
5233edd7
GM
91842011-05-13 Glenn Morris <rgm@gnu.org>
9185
5237a44f
GM
9186 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9187
8340026c 9188 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9189 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9190
5233edd7 9191 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9192 (appt-time-msg-list): Doc fix.
a5464014 9193 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9194
92d10796
AS
91952011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9196
9197 * progmodes/ld-script.el (ld-script-keywords)
9198 (ld-script-builtins): Update keywords list.
9199
914a0ae1
SM
92002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9201
c89be45f
SM
9202 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9203
914a0ae1
SM
9204 * shell.el (shell-completion-vars): New function.
9205 (shell-mode):
9206 * simple.el (read-shell-command): Use it.
9207 (blink-matching-open): No need for " [...]" in minibuffer-message.
9208
98dc3df3
GM
92092011-05-12 Glenn Morris <rgm@gnu.org>
9210
9211 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9212 (appt-check): Simplify.
9213
d2fc7e3d 92142011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9215
4d61f28d 9216 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9217 literal "/dev/null".
9218
d2fc7e3d 92192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9220
9221 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9222 Fix typo.
9223
d2fc7e3d 92242011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9225
3f254caa
SM
9226 * progmodes/which-func.el (which-function):
9227 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9228 which might not be defined (Bug#8260).
9229
d45885f7
GM
92302011-05-12 Glenn Morris <rgm@gnu.org>
9231
9232 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9233 Let byte-compile-initial-macro-environment always take precedence.
9234
488086f4
SM
92352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * net/rcirc.el: Add support for SSL/TLS connections.
9238 (rcirc-server-alist): New field `encryption'.
9239 (rcirc): Check `encryption' settings.
9240 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9241 Merge make-local-variable into `set'.
9242 (rcirc--connection-open-p): New function.
9243 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9244 the process is not a network process (e.g. running gnutls-cli).
9245 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9246 Make rcirc-(en|de)code-coding-system local here.
9247 (rcirc-mode): Merge make-local-variable into `set'.
9248 (rcirc-parent-buffer): Make permanent buffer-local.
9249 (rcirc-multiline-minor-mode): Don't do it here.
9250 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9251 there's no server buffer.
9252
7d3b9d44
GM
92532011-05-11 Glenn Morris <rgm@gnu.org>
9254
f64049c6
GM
9255 * newcomment.el (comment-kill): Prefix "unused" local.
9256
93c9df73
GM
9257 * term/w32console.el (get-screen-color): Declare.
9258
7d3b9d44
GM
9259 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9260 Handle symbol elements of byte-compile-initial-macro-environment.
9261
9e2dd53f
LL
92622011-05-10 Leo Liu <sdl.web@gmail.com>
9263
488086f4
SM
9264 * bookmark.el (bookmark-bmenu-mode-map):
9265 Bind bookmark-bmenu-search to `/'.
8b340240 9266
9e2dd53f 9267 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9268 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9269 (Footnote-unicode): New function.
9270 (footnote-style-alist): Add unicode style to the list.
9271 (footnote-style): Doc fix.
9e2dd53f 9272
79b70037
GM
92732011-05-10 Jim Meyering <meyering@redhat.com>
9274
9275 Fix doubled-word typos.
9276 * international/quail.el (quail-insert-kbd-layout): and and -> and
9277 * kermit.el: and and -> and
9278 * net/ldap.el (ldap-search-internal): to to -> to
9279 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9280 * progmodes/js.el (js-mode): and and -> and
9281 * textmodes/artist.el (artist-move-to-xy): at at -> at
9282 (artist-draw-region-trim-line-endings): if if -> if
9283 And Safetyc -> Safety.
9284 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9285
b8f82dc1 92862011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9287 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9288
9289 * files.el (hack-one-local-variable-eval-safep):
9290 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9291
4f99f44b
GM
92922011-05-10 Glenn Morris <rgm@gnu.org>
9293
9294 * calendar/diary-lib.el (diary-list-entries-hook)
9295 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9296 (diary-nongregorian-marking-hook, diary-list-entries)
9297 (diary-include-other-diary-files, diary-mark-entries)
9298 (diary-mark-included-diary-files): Doc fixes.
9299
84f29e6b
JB
93002011-05-09 Juanma Barranquero <lekktu@gmail.com>
9301
9302 * misc.el: Require tabulated-list.el during compilation.
9303
9bedd73a
CY
93042011-05-09 Chong Yidong <cyd@stupidchicken.com>
9305
488086f4
SM
9306 * progmodes/compile.el (compilation-start):
9307 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9308 (compilation-filter-hook): Doc fix.
9309
797c735c
DD
93102011-05-09 Deniz Dogan <deniz@dogan.se>
9311
9312 * wdired.el: Remove outdated installation comment. Fix usage
9313 comment.
9314
5f4b1dfe
JB
93152011-05-09 Juanma Barranquero <lekktu@gmail.com>
9316
9317 * misc.el: Implement new command `list-dynamic-libraries'.
9318 (list-dynamic-libraries--loaded-only-p): New variable.
9319 (list-dynamic-libraries--refresh): New function.
9320 (list-dynamic-libraries): New command.
9321
4c44026c
CY
93222011-05-09 Chong Yidong <cyd@stupidchicken.com>
9323
488086f4
SM
9324 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9325 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9326 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9327 higher priority to avoid clobbering by gnu.
9328
027f966d
CY
93292011-05-08 Chong Yidong <cyd@stupidchicken.com>
9330
9331 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9332 if the face has existing theme settings (Bug#8454).
9333
085f5d7d
CY
93342011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9335
488086f4
SM
9336 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9337 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9338
2a86a00c
RS
9339 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9340 special file names `.' and `..' (Bug#8259).
9341
d9c54a06
CY
93422011-05-08 Chong Yidong <cyd@stupidchicken.com>
9343
488086f4
SM
9344 * progmodes/grep.el (grep-mode-font-lock-keywords):
9345 Remove buffer-changing entries.
d9c54a06
CY
9346 (grep-filter): New function.
9347 (grep-mode): Add it to compilation-filter-hook.
9348
9349 * progmodes/compile.el (compilation-filter-hook)
9350 (compilation-filter-start): New defvars.
9351 (compilation-filter): Call compilation-filter-hook prior to
9352 updating the process mark.
9353
c4662635
SM
93542011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9357
b0512a1d
EZ
93582011-05-07 Eli Zaretskii <eliz@gnu.org>
9359
605c9376
EZ
9360 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9361 mailclient-send-it even if window-system is nil. (Bug#8595)
9362
c4662635
SM
9363 * term/w32console.el (terminal-init-w32console):
9364 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9365 background-mode. (Bug#8597)
9366
d1dc2cc2
SM
93672011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9370 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9371 New functions.
9372 (defgeneric, eieio--defmethod): Use them.
9373 (eieio-defgeneric): Remove.
9374 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9375
915d1300
GM
93762011-05-07 Glenn Morris <rgm@gnu.org>
9377
a3961c3e
GM
9378 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9379 Use let rather than let*.
9380 (timeclock-find-discrep): Remove unused local.
9381
314347b9
GM
9382 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9383
915d1300
GM
9384 * calendar/appt.el (appt-time-msg-list): Doc fix.
9385
275b59b0
NF
93862011-05-06 Noah Friedman <friedman@splode.com>
9387
9388 * apropos.el (apropos-print-doc): Only use
9389 emacs-lisp-docstring-fill-column when it is bound to an integer,
9390 per that variable's documentation.
9391
6c19f744
SM
93922011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9395 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9396
60f884b2
GM
93972011-05-06 Glenn Morris <rgm@gnu.org>
9398
5006e634
GM
9399 * calendar/appt.el (appt-message-warning-time): Doc fix.
9400 (appt-warning-time-regexp): New option.
9401 (appt-make-list): Respect appt-message-warning-time.
9402
548d0a63
GM
9403 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9404 New options.
9405 (diary-add-to-list): Strip comments from the displayed string.
9406 (diary-mode): Set comment-start and comment-end.
9407
60f884b2
GM
9408 * vc/diff-mode.el (smerge-refine-subst): Declare.
9409 (diff-refine-hunk): Don't require smerge-mode when compiling.
9410
989681bb
JB
94112011-05-06 Juanma Barranquero <lekktu@gmail.com>
9412
9413 * simple.el (list-processes): Return nil as the docstring says.
9414
a6bc05e1
MA
94152011-05-05 Michael Albinus <michael.albinus@gmx.de>
9416
9417 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9418 to "".
9419 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9420 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9421 determining of binary transfer. (Bug#7383)
9422
23c22e9a
MA
94232011-05-05 Michael Albinus <michael.albinus@gmx.de>
9424
c4662635
SM
9425 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9426 Fix port computation bug. (Bug#8618)
23c22e9a 9427
0bff894f
GM
94282011-05-05 Glenn Morris <rgm@gnu.org>
9429
b8296902
GM
9430 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9431
1f522ce8
GM
9432 * simple.el (shell-dynamic-complete-functions)
9433 (comint-dynamic-complete-functions): Declare.
9434
cf5bee67
GM
9435 * net/network-stream.el (gnutls-negotiate):
9436 * simple.el (tabulated-list-print): Fix declarations.
9437
9438 * progmodes/gud.el (syntax-symbol, syntax-point):
9439 Remove unnecessary and incorrect declarations.
9440
0bff894f
GM
9441 * emacs-lisp/check-declare.el (check-declare-scan):
9442 Handle byte-compile-initial-macro-environment in bytecomp.el
9443
9869b3ae
SM
94442011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 Fix earlier half-done eieio-defmethod change (bug#8338).
9447 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9448 Streamline and change calling convention.
9449 (defmethod): Adjust accordingly and simplify.
9450 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9451 new eieio--defmethod.
9452 (slot-boundp): Minor CSE simplification.
9453
9c1d5ac5
MZ
94542011-05-05 Milan Zamazal <pdm@zamazal.org>
9455
9456 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9457 (glasses-make-readable): Use glasses-separate-capital-groups.
9458
455c834e
JB
94592011-05-05 Juanma Barranquero <lekktu@gmail.com>
9460
9461 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9462 (warning-series): Doc fix.
9463 (display-warning): Don't try to create the buffer if we just found it.
9464
9ed7c8cb
CY
94652011-05-04 Chong Yidong <cyd@stupidchicken.com>
9466
9467 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9468 (autoload-find-generated-file): New function.
9469 (generate-file-autoloads): Bind generated-autoload-file to
9470 buffer-file-name.
9869b3ae
SM
9471 (update-file-autoloads, update-directory-autoloads):
9472 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9473 output file (Bug#7989).
9474 (batch-update-autoloads): Doc fix.
9475
0898ca10
JB
94762011-05-04 Juanma Barranquero <lekktu@gmail.com>
9477
9478 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9479
31dfb76c
GM
94802011-05-04 Glenn Morris <rgm@gnu.org>
9481
f330b642
GM
9482 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9483 function, so it follows changes in calendar-date-style.
9484 (diary-fancy-date-matcher): New function.
9485 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9486 (diary-fancy-font-lock-fontify-region-function):
9487 Use diary-fancy-date-pattern as a function.
9488
31dfb76c
GM
9489 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9490 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9491
48e79d6a
TZ
94922011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9493
9494 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9495 instead of positional arguments. Allow :keylist and :crlfiles
9496 arguments.
9497 (open-gnutls-stream): Call it.
9498
9499 * net/network-stream.el (network-stream-open-starttls): Adjust to
9500 call `gnutls-negotiate' with :process and :hostname arguments.
9501
dd5a5ee0
SM
95022011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9503
ef80fc09
SM
9504 * minibuffer.el (completion--message): New function.
9505 (completion--do-completion, minibuffer-complete)
9506 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9507 (completion--do-completion): Don't ignore completion-auto-help when in
9508 icomplete-mode.
9509
dd5a5ee0
SM
9510 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9511 internal encoding (e.g. tibetan zero is not whitespace).
9512 (global-whitespace-mode): Prefer save-current-buffer.
9513 (whitespace-trailing-regexp): Remove useless save-match-data.
9514 (whitespace-empty-at-bob-regexp): Minor simplification.
9515
b7d22a83
CY
95162011-05-03 Chong Yidong <cyd@stupidchicken.com>
9517
9518 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9519
5192af46
AM
95202011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9521
9522 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9523 Use `concat' to create string for insertion.
5192af46 9524
5767d190
SM
95252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9528 Avoid open-line which runs post-self-insert-hook.
9529 (bibtex-fill-entry): Remove unused `end' var.
9530
bf242939
AM
95312011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9532
5767d190
SM
9533 * textmodes/ispell.el (ispell-add-per-file-word-list):
9534 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9535
25666126
LL
95362011-05-03 Leo Liu <sdl.web@gmail.com>
9537
9538 * isearch.el (isearch-yank-pop): New command.
5767d190 9539 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9540 (isearch-forward): Mention it.
9541
52d3c2d0
SM
95422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9543
1bcace58
SM
9544 * simple.el (minibuffer-complete-shell-command): Remove.
9545 (minibuffer-local-shell-command-map): Use completion-at-point.
9546 (read-shell-command): Setup completion vars here instead.
9547 (read-expression-map): Bind TAB to symbol completion.
9548
52d3c2d0
SM
9549 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9550 error directly rather via storing it into `results'.
9551
35813471
LL
95522011-05-02 Leo Liu <sdl.web@gmail.com>
9553
9554 * vc/diff.el: Fix description.
9555
e793a940
LMI
95562011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9557
9558 * server.el (server-eval-at): New function.
9559
8de66e05
LMI
95602011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9561
9562 * net/network-stream.el (open-network-stream): Take a :nowait
9563 parameter and pass it on to `make-network-process'.
9564 (network-stream-open-plain): Ditto.
9565
dcb79f20
AS
95662011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9567
9568 * faces.el (face-spec-set-match-display): Don't match toolkit
9569 options on terminal frames.
9570
14a7fbd8
SM
95712011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9572
7eabc1be
SM
9573 * progmodes/pascal.el: Use lexical binding.
9574 (pascal-mode-map): Remove author preferences.
9575
14a7fbd8
SM
9576 * pcomplete.el (pcomplete-std-complete): Don't abuse
9577 completion-at-point.
9578
50f84510
JB
95792011-04-28 Juanma Barranquero <lekktu@gmail.com>
9580
6e087a44
JB
9581 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9582 removing code that has been dead since 1991 or so.
9583
50f84510
JB
9584 * startup.el (command-line): When warning about "_emacs", use a
9585 delayed warning to allow the user to filter it out.
9586
0ba690bd
DD
95872011-04-28 Deniz Dogan <deniz@dogan.se>
9588
9589 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9590 user has not joined.
9591
08abfaad
SM
95922011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9595 aren't any completions at point.
9596
638f053a
JB
95972011-04-28 Juanma Barranquero <lekktu@gmail.com>
9598
9599 * subr.el (display-delayed-warnings): New function.
9600 (delayed-warnings-hook): New variable.
9601
8fff8daa
SM
96022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9603
08abfaad
SM
9604 * minibuffer.el (completion-at-point, completion-help-at-point):
9605 Don't presume that a given completion-at-point-function will always
9606 use the same calling convention.
9607
8fff8daa
SM
9608 * pcomplete.el (pcomplete-completions-at-point):
9609 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9610 pcomplete-seen is non-nil.
9611 (pcomplete-comint-setup): Also recognize the new comint/shell
9612 completion functions.
9613 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9614 pcomplete-seen is non-nil.
9615
841a1577 96162011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9617
841a1577 9618 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9619 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9620 the first character in the entry. This allows for code to add its
211ec907
UJ
9621 own uid to the entry.
9622 (icalendar--convert-float-to-ical): Add export of
9623 `diary-float'-entries save for those with the optional DAY
9624 argument.
9625
2a782793
DC
96262011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9627
9628 * subr.el (shell-quote-argument): Use alternate escaping strategy
9629 when we spot a variable reference in a string.
9630
0438ce91
DC
96312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9632
9633 * cus-start.el (all): Define customization for debug-on-event.
9634
841a1577 96352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9636
9637 * subr.el (shell-quote-argument): Escape correctly under Windows.
9638
d090ed6c
SM
96392011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9642
bfd31217
MA
96432011-04-25 Michael Albinus <michael.albinus@gmx.de>
9644
d090ed6c
SM
9645 * net/tramp.el (tramp-process-actions): Add POS argument.
9646 Delete region between POS and (pos).
bfd31217 9647
d090ed6c
SM
9648 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9649 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9650 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9651
9652 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9653 position in `tramp-process-actions' call.
9654
9655 * net/trampver.el: Update release number.
9656
e92f3bd3
SM
96572011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9658
850256b5
SM
9659 * custom.el (defcustom): Obey lexical-binding.
9660
e92f3bd3
SM
9661 Fix octave-inf completion problems reported by Alexander Klimov.
9662 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9663 Inherit from octave-mode-syntax-table.
9664 (inferior-octave-mode): Set info-lookup-mode.
9665 (inferior-octave-completion-at-point): New function.
9666 (inferior-octave-complete): Use it and completion-in-region.
9667 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9668 comint-filename-completion.
9669 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9670 symbol elements which shouldn't be word elements.
9671 (octave-font-lock-keywords, octave-beginning-of-defun)
9672 (octave-function-header-regexp): Adjust regexps accordingly.
9673 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9674
cd22b309
JB
96752011-04-25 Juanma Barranquero <lekktu@gmail.com>
9676
9677 * net/gnutls.el (gnutls-errorp): Declare before first use.
9678
8b492194
TZ
96792011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9680
9681 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9682 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9683 default trustfile exists before going to use it. Add missing
5a5fa834 9684 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9685 Reported by Claudio Bley <claudio.bley@gmail.com>.
9686 (open-gnutls-stream): Add usage example.
9687
9688 * net/network-stream.el (network-stream-open-starttls): Give host
9689 parameter to `gnutls-negotiate'.
9690 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9691 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9692
841a1577 96932011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9694
cd22b309
JB
9695 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9696 Use correct match group (bug#8438).
05842630 9697
3ba7869c
CY
96982011-04-24 Chong Yidong <cyd@stupidchicken.com>
9699
512e3ae1
CY
9700 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9701 (package-menu--generate): New arg specifying packages to show.
9702 (package-menu-refresh, package-menu-execute, list-packages):
9703 Callers changed.
9704 (package-show-package-list): New function, replacing deleted
9705 package--list-packages (renamed because it is non-internal).
9706
9707 * finder.el (finder-list-matches): Use package-show-package-list
9708 instead of deleted package--list-packages.
9709
e92f3bd3
SM
9710 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9711 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9712 (vc-annotate-mode-map): Bind it to RET.
9713
7031be6d
UR
97142011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9715
9716 * progmodes/etags.el (next-file): Don't use set-buffer to change
9717 buffers (Bug#8478).
9718
4ef177aa
CY
97192011-04-24 Chong Yidong <cyd@stupidchicken.com>
9720
c8d173eb
CY
9721 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9722
4ef177aa
CY
9723 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9724 (apropos-accumulator): Doc fix.
9725 (apropos-function, apropos-macro, apropos-command)
9726 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9727 (apropos-plist): Add face property.
9728 (apropos-symbols-internal): Fix indentation.
9729 (apropos-print): Simplify help, and recognize apropos-multi-type.
9730 (apropos-print-doc): Use button-type-get to extract the button's
9731 face property. Fill docstring (Bug#8352).
9732
4ffd0d6b 97332011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9734
9735 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9736
c6c32125 9737 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9738 (mpuz-mode-map): Use mapc.
c6c32125
JB
9739 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9740 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9741 Fix typos in docstrings.
9742
58d468b4
JB
9743 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9744 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9745
6470c3c6
JB
9746 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9747
4ffd0d6b 97482011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9749
9750 * minibuffer.el (completion--do-completion): Avoid the "Next char
9751 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9752
3ad8bad0
CY
9753 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9754 mouse-2 into unread-command-events, it is interpreted correctly.
9755
71d73c9c 9756 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9757 (image-toggle-display): Doc fix.
71d73c9c 9758
841a1577 97592011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9760
4ffd0d6b
GM
9761 * textmodes/page.el (what-page): Use line-number-at-pos to
9762 calculate line number (Bug#6825).
6e1dbaa9 9763
c2fb1b60
JB
97642011-04-22 Juanma Barranquero <lekktu@gmail.com>
9765
9766 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9767 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9768 Pass argument NO-DEFAULT to `find-tag-interactive'.
9769
e02f48d7
JB
97702011-04-22 Juanma Barranquero <lekktu@gmail.com>
9771
9772 Lexical-binding cleanup.
9773
9774 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9775 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9776 * progmodes/ada-prj.el (ada-prj-initialize-values)
9777 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9778 (ada-prj-show-value):
9779 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9780 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9781 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9782 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9783 * progmodes/bug-reference.el (bug-reference-push-button):
9784 * progmodes/fortran.el (fortran-line-length):
9785 * progmodes/glasses.el (glasses-change):
9786 * progmodes/octave-mod.el (octave-fill-paragraph):
9787 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9788 (python-pdbtrack-grub-for-buffer, python-sentinel):
9789 * progmodes/sql.el (sql-save-connection):
9790 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9791 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9792 Mark unused parameters.
9793
9794 * progmodes/compile.el (compilation--flush-directory-cache)
9795 (compilation--flush-parse, compile-internal): Mark unused parameters.
9796 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9797 (compilation-next-error-function): Remove unused variable `timestamp'.
9798
9799 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9800 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9801
9802 * progmodes/dcl-mode.el (dcl-end-of-command):
9803 Remove unused variable `start'.
9804 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9805 (dcl-option-value-basic, dcl-option-value-offset)
9806 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9807 Mark unused parameters.
9808 (dcl-save-local-variable): Remove unused variable `val'.
9809 (mode): Declare.
9810
9811 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9812 Mark unused parameters.
9813 (delphi-ignore-changes): Move before first use.
9814 (delphi-charset-token-at): Remove unused variable `start'.
9815 (delphi-else-start): Remove unused variable `if-count'.
9816 (delphi-comment-block-start, delphi-comment-block-end):
9817 Remove unused variable `kind'.
9818 (delphi-indent-line): Remove unused variable `new-point'.
9819
9820 * progmodes/ebrowse.el (ebrowse-files-list)
9821 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9822 Mark unused parameters. Don't quote `lambda'.
9823 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9824 Don't quote `lambda'.
9825 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9826 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9827 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9828 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9829 Use `ignore-errors'.
9830 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9831 (ebrowse-view/find-file-and-search-pattern)
9832 (ebrowse-view/find-member-declaration/definition):
9833 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9834 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9835 Rename parameter PREFIX-ARG to PREFIX.
9836 (ebrowse-tags-read-name): Remove unused variables `start' and
9837 `member-info'.
9838 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9839 to `tags-file'.
9840
9841 * progmodes/etags.el (local-find-tag-hook): Declare.
9842 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9843 Mark unused parameters.
9844
9845 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9846 (executable-interpret): Mark unused parameter.
9847
9848 * progmodes/flymake.el (flymake-process-sentinel)
9849 (flymake-after-change-function)
9850 (flymake-create-temp-with-folder-structure)
9851 (flymake-get-include-dirs-dot): Mark unused parameters.
9852 (flymake-safe-delete-directory): Remove unused variable `err'.
9853
9854 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9855 (speedbar-timer-fn, speedbar-line-text)
9856 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9857 (speedbar-center-buffer-smartly): Declare functions.
9858 (gdb-find-watch-expression): Remove unused variable `array'.
9859 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9860 (gdb-starting): Mark unused parameters.
9861 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9862 (gdb-table-string): Remove unused variable `res'.
9863 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9864 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9865 (gdb-display-buffer): Remove unused variable `cur-size'.
9866
9867 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9868 allow lexical-binding compilation.
9869 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9870 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9871 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9872 Mark unused parameters.
9873 (gud-gdb-marker-filter): Remove unused variable `match'.
9874 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9875 lambda expressions and funcall them, instead of using `fset'.
9876
9877 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9878 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9879
9880 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9881 variable `header-beg'; use `let'.
9882
9883 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9884 `restart', `last-sexp' and `at-do'.
9885
9886 * progmodes/js.el (js--debug): Mark unused parameter.
9887 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9888 (js--splice-into-items): Remove unused variable `item'.
9889 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9890
9891 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9892 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9893 (makefile-complete): Remove unused variable `try'.
9894 (makefile-fill-paragraph, makefile-match-function-end):
9895 Mark unused parameters.
9896
9897 * progmodes/octave-inf.el (inferior-octave-complete):
9898 Remove unused variable `proc'.
9899 (inferior-octave-output-digest): Mark unused parameter.
9900
9901 * progmodes/perl-mode.el (perl-calculate-indent):
9902 Remove unused variable `err'.
9903
9904 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9905 (prolog-indent-line): Mark unused parameters.
9906 (prolog-indent-line): Remove unused variable `beg'.
9907
9908 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9909 (reporter-dont-compact-list): Declare.
9910
9911 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9912 Remove unused variable `char'.
9913 (sh-debug): Mark unused parameter.
9914 (sh-get-indent-info): Remove unused variable `start'.
9915 (sh-calculate-indent): Remove unused variable `var'.
9916
9917 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9918 (simula-electric-keyword): Remove unused variable `null'.
9919 (simula-search-backward, simula-search-forward): Remove unused
9920 variables `begin' and `end'.
9921
9922 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9923 Remove unused variable `pos'.
9924 (vera-electric-tab, vera-comment-uncomment-region):
9925 Mark unused parameters.
9926 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9927
7ede3b65
CY
99282011-04-22 Chong Yidong <cyd@stupidchicken.com>
9929
9930 * emacs-lisp/package.el (package--builtins, package-alist)
9931 (package-load-descriptor, package-built-in-p, package-activate)
9932 (define-package, package-installed-p)
9933 (package-compute-transaction, package-buffer-info)
9934 (package--push): Doc fix. Distinguish more clearly between
9935 version strings and version lists.
9936
121656e9
JB
99372011-04-21 Juanma Barranquero <lekktu@gmail.com>
9938
9939 Lexical-binding cleanup.
9940
9941 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9942 (5x5-make-mutate-best):
9943 * play/fortune.el (fortune-in-buffer):
9944 * play/gomoku.el (gomoku-init-display):
9945 * play/solitaire.el (solitaire, solitaire-do-check):
9946 * play/tetris.el (tetris-default-update-speed-function):
9947 Mark unused parameters.
9948
9949 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9950 (bubbles--shift): Remove unused variable `char-org'.
9951 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9952 (bubbles--show-images): Remove unused variable `char'.
9953
9954 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9955 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9956 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9957 (decipher-analyze-buffer): Use ?\s.
9958 (decipher-make-checkpoint): Remove unused variable `mapping'.
9959
9960 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9961
9962 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9963 Remove unused variable `result'; use `let'.
9964
9965 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9966 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9967 (gametree-children-shown-p, gametree-compute-reduced-score):
9968 Use `ignore-errors'.
9969
9970 * play/handwrite.el (ps-lpr-switches): Declare.
9971 (handwrite): Remove unused variables `pmin' and `lastp'.
9972
9973 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9974
9975 * play/landmark.el (landmark-init-display)
9976 (landmark-update-naught-weights): Mark unused parameters.
9977 (landmark-y): Remove unused variable `noise'. Simplify.
9978 (landmark-human-plays): Remove unused variable `score'.
9979
9980 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9981 (mpuz-try-proposal): Remove unused variable `game'.
9982
9983 * play/zone.el (life-patterns): Declare.
9984
80f499c7
JB
99852011-04-20 Juanma Barranquero <lekktu@gmail.com>
9986
9987 * vc/vc.el (ediff-vc-internal): Declare function.
9988
024ff170
SM
99892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9990
c0a193ea
SM
9991 * shell.el: Use lexical-binding and std completion UI.
9992 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9993 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9994 comint-preoutput-filter-functions rather than on
9995 comint-output-filter-functions.
9996 (shell-command-completion, shell--command-completion-data)
9997 (shell-filename-completion, shell-environment-variable-completion)
9998 (shell-c-a-p-replace-by-expanded-directory): New functions.
9999 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10000 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10001 (shell-dynamic-complete-environment-variable): Use them.
10002 (shell-dynamic-complete-as-environment-variable)
10003 (shell-dynamic-complete-as-command): Remove.
10004 (shell-match-partial-variable): Match past point.
10005 * comint.el: Clean up use of completion-at-point-functions.
10006 (comint-completion-at-point): New function.
10007 (comint-mode): Use it completion-at-point-functions.
10008 (comint-dynamic-complete): Make it obsolete.
10009 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10010 (comint-c-a-p-replace-by-expanded-history): New function.
10011 (comint-dynamic-complete-functions)
10012 (comint-replace-by-expanded-history): Use it.
10013 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10014 termination strings. Try harder to avoid second try-completion.
10015 (completion-in-region-mode-map): Disable bindings that don't work yet.
10016
2dbaa080
SM
10017 * comint.el: Use lexical-binding. Require CL.
10018 (comint-dynamic-complete-functions): Use comint-filename-completion.
10019 (comint-completion-addsuffix): Tweak custom type.
10020 (comint-filename-completion, comint--common-suffix)
10021 (comint--common-quoted-suffix, comint--table-subvert)
10022 (comint--complete-file-name-data): New functions.
10023 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10024 (comint-dynamic-list-filename-completions): Use them.
10025 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10026
2dbaa080
SM
10027 * minibuffer.el (completion-in-region-mode):
10028 Keep completion-in-region-mode--predicate global.
10029 (completion-in-region--postch):
10030 Assume completion-in-region-mode--predicate is not null.
10031
c79a6f38
SM
10032 * progmodes/flymake.el (flymake-start-syntax-check-process):
10033 Obey `dir'. Simplify.
10034
024ff170
SM
10035 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10036 we're in VC after all.
10037
1c6c854e
CS
100382011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10039
10040 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10041 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10042 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10043
bed7f140
SM
100442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10045
332e62ab
SM
10046 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10047 add sanity check.
10048
bed7f140
SM
10049 * obsolete/erc-hecomplete.el: Make obsolete.
10050 * obsolete/: Standardize obsolescence info in the header.
10051
f195c582
GM
100522011-04-20 Glenn Morris <rgm@gnu.org>
10053
10054 * calendar/solar.el (solar-horizontal-coordinates):
10055 Use the longitude argument rather than `calendar-longitude'.
10056 (solar-date-next-longitude): Remove unused locals.
10057
cb79b8c0
VJL
100582011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10059
10060 * whitespace.el: New version 13.2.1.
10061
100622011-04-20 felix <EmacsWiki> (tiny change)
10063
d8e4b68b 10064 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10065 switching between major modes on a file.
10066
602ea69d
SM
100672011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10070 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10071 multi-line comments as well.
10072
06b60517
JB
100732011-04-19 Juanma Barranquero <lekktu@gmail.com>
10074
10075 Lexical-binding cleanup.
10076
10077 * arc-mode.el (archive-mode-revert):
10078 * cmuscheme.el (scheme-interactively-start-process):
10079 * custom.el (custom-initialize-delay):
10080 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10081 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10082 * emacs-lock.el (emacs-lock-clear-sentinel):
10083 * ezimage.el (defezimage):
10084 * follow.el (follow-avoid-tail-recenter):
10085 * fringe.el (set-fringe-mode-1):
10086 * generic-x.el (bat-generic-mode-compile):
10087 * help-mode.el (help-info-variable, help-do-xref)
10088 (help-mode-revert-buffer):
10089 * help.el (view-emacs-todo):
10090 * iswitchb.el (iswitchb-completion-help):
10091 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10092 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10093 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10094 * locate.el (locate-update):
10095 * longlines.el (longlines-encode-region)
10096 (longlines-after-change-function):
10097 * outline.el (outline-isearch-open-invisible):
10098 * ps-def.el (declare-function, charset-dimension, char-width)
10099 (encode-char):
10100 * ps-mule.el (ps-mule-plot-string):
10101 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10102 (recentf-edit-list-select, recentf-edit-list-validate)
10103 (recentf-open-files-action):
10104 * rect.el (delete-whitespace-rectangle-line)
10105 (rectangle-number-line-callback):
10106 * register.el (window-configuration-to-register)
10107 (frame-configuration-to-register):
10108 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10109 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10110 (xselect-convert-to-targets, xselect-convert-to-delete)
10111 (xselect-convert-to-filename, xselect-convert-to-charpos)
10112 (xselect-convert-to-lineno, xselect-convert-to-colno)
10113 (xselect-convert-to-os, xselect-convert-to-host)
10114 (xselect-convert-to-user, xselect-convert-to-class)
10115 (xselect-convert-to-name, xselect-convert-to-integer)
10116 (xselect-convert-to-atom, xselect-convert-to-identity):
10117 * subr.el (declare, ignore, process-kill-without-query)
10118 (text-clone-maintain):
10119 * terminal.el (te-get-char, te-tic-sentinel):
10120 * tool-bar.el (tool-bar-make-keymap):
10121 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10122 * type-break.el (type-break-mode, type-break-noninteractive-query):
10123 * view.el (View-back-to-mark):
10124 * wid-browse.el (widget-browse-action, widget-browse-widget)
10125 (widget-browse-widgets, widget-browse-sexp):
10126 * widget.el (define-widget-keywords):
10127 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10128 Mark unused parameters.
10129
10130 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10131 (align-areas): Remove unused variable `look'.
10132 (align-region): Remove unused variables `real-end' and `pos-list'.
10133
10134 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10135
10136 * bindings.el (mode-line-modified, mode-line-remote):
10137 Mark unused parameters.
10138 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10139
10140 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10141 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10142
10143 * comint.el (comint-history-isearch-pop-state)
10144 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10145 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10146 (comint-substitute-in-file-name): Doc fix.
10147
10148 * completion.el (cmpl-statistics-block): Mark unused parameter.
10149 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10150 (save-completions-to-file, load-completions-from-file):
10151 Remove unused local variable `e'.
10152
10153 * composite.el (compose-chars): Remove unused variable `len'.
10154 (lgstring-insert-glyph): Remove unused variable `g'.
10155 (compose-glyph-string): Remove unused variables `ascent',
10156 `descent', `lbearing' and `rbearing'.
10157 (compose-glyph-string-relative): Remove unused variables
10158 `lbearing', `rbearing' and `wadjust'.
10159 (compose-gstring-for-graphic): Remove unused variables `header',
10160 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10161 (compose-gstring-for-terminal): Remove unused variables `header'
10162 and `nchars'. Use `let', not `let*'.
10163
10164 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10165 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10166 (Custom-buffer-done, custom-buffer-create-internal)
10167 (custom-browse-visibility-action, custom-browse-group-tag-action)
10168 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10169 (widget-magic-mouse-down-action, custom-toggle-parent)
10170 (custom-add-parent-links, custom-toggle-hide-variable)
10171 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10172 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10173 (custom-face-menu-create, custom-variable-menu-create, get)
10174 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10175 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10176 (customize-apropos): Remove unused variable `tests'.
10177 (custom-group-value-create): Remove unused variable `hidden-p'.
10178 (sort-fold-case): Declare.
10179
10180 * cus-theme.el (custom-reset-standard-faces-list)
10181 (custom-reset-standard-variables-list): Declare.
10182 (customize-create-theme, custom-theme-revert, custom-theme-write)
10183 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10184 Mark unused parameters.
10185
10186 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10187
10188 * delim-col.el (delimit-columns-max): Move defvar before first use.
10189
10190 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10191 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10192
10193 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10194 (auto-insert): Declare.
10195 (desktop-restore-file-buffer): Rename desktop-* parameters;
10196 mark unused ones.
10197 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10198 (desktop-buffer): Rename desktop-* parameters.
10199
10200 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10201 (dframe-reposition-frame-xemacs, dframe-help-echo)
10202 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10203 Mark unused parameters.
10204
10205 * dired-aux.el (backup-extract-version-start, overwrite-query)
10206 (overwrite-backup-query, rename-regexp-query)
10207 (rename-non-directory-query): Declare.
10208 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10209 (dired-add-entry): Remove unused variable `orig-file-name'.
10210 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10211 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10212 `dired-copy-preserve-time' directly.
10213 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10214 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10215
10216 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10217 (dired-virtual-revert, dired-make-relative-symlink):
10218 Mark unused parameters.
10219 (manual-program): Declare.
10220 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10221 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10222 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10223
10224 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10225
10226 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10227
10228 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10229 Declare.
10230
10231 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10232
10233 * electric.el (Electric-command-loop): Rename parameter
10234 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10235
10236 * expand.el (expand-in-literal): Remove unused variable `here'.
10237
10238 * facemenu.el (facemenu-add-new-color):
10239 Remove unused variable `docstring'.
10240
10241 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10242 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10243 (face-attr-construct): Mark unused parameter. Doc fix.
10244 (read-color): Remove unused variable `hex-string'.
10245
10246 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10247 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10248 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10249 (display-buffer-other-frame): Remove unused variable `old-window'.
10250 (kill-buffer-hook): Declare.
10251 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10252 Mark unused parameters.
10253 (after-find-file): Pass 1 to `auto-save-mode', not t.
10254
10255 * files-x.el (auto-insert): Declare.
10256 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10257
10258 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10259 variable `buf'. Mark unused parameter.
06b60517
JB
10260 (find-lisp-insert-directory): Mark unused parameter.
10261
10262 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10263 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10264 (format-common-tail): Remove, unused.
10265 (format-deannotate-region): Remove unused variable `loc'.
10266 (format-annotate-region): Remove unused variable `p'.
10267 (format-annotate-single-property-change): Remove unused variables
10268 `default' and `tail'.
10269
10270 * forms.el (read-file-filter): Declare.
10271 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10272
10273 * frame.el (frame-creation-function-alist): Mark unused parameter.
10274 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10275
10276 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10277 Remove unused parameters.
10278 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10279 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10280
10281 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10282 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10283 (hfy-prepare-tag-map): Mark unused parameters.
10284 (htmlfontify-buffer): Use `called-interactively-p'.
10285
10286 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10287 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10288 (ibuffer-do-occur): Mark unused parameters.
10289 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10290 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10291
10292 * ibuffer.el: Don't quote `lambda'.
10293 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10294 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10295 Mark unused parameters.
10296
10297 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10298 (ido-completing-read): Mark unused parameters.
10299 (ido-copy-current-word): Mark unused parameters;
10300 remove unused variable `name'.
10301 (ido-sort-merged-list): Remove unused parameter `dirs'.
10302
10303 * ielm.el (ielm-input-sender): Mark unused parameter.
10304 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10305 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10306 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10307 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10308 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10309
10310 * image-dired.el (image-dired-display-thumbs): Remove unused
10311 variables `curr-file' and `count'.
10312 (image-dired-remove-tag): Remove unused variable `start'.
10313 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10314 variable `curr-file'
10315 (image-dired-rotate-original): Remove unused variable `temp-file'.
10316 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10317 Remove unused variable `file'.
10318 (image-dired-gallery-generate): Remove unused variable `curr'.
10319 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10320
10321 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10322
10323 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10324
10325 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10326
10327 * isearch.el (minibuffer-history-symbol): Declare.
10328 (isearch-edit-string): Remove unused variable `err'.
10329 (isearch-message-prefix, isearch-message-suffix):
10330 Mark unused parameters.
10331
10332 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10333
10334 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10335
10336 * makesum.el (double-column): Remove unused variable `cnt'.
10337
10338 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10339 (ido-ignore-item-temp-list): Declare.
10340
10341 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10342 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10343 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10344 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10345 `mouse-col-delta'.
10346
10347 * mouse-sel.el (mouse-extend-internal):
10348 Remove unused variable `orig-window-frame'.
10349
10350 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10351 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10352 Move declarations before first use.
10353 (pcomplete-opt): Mark unused parameters; doc fix.
10354
10355 * proced.el (proced-revert): Mark unused parameter.
10356 (proced-send-signal): Remove unused variable `err'.
10357
10358 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10359 Rename parameter PREFIX-ARG to ARG.
10360 (ps-basic-plot-string, ps-basic-plot-whitespace):
10361 Mark unused parameters.
10362
10363 * replace.el (replace-count): Define.
10364 (occur-revert-function): Mark unused parameters.
10365 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10366 (isearch-case-fold-search, isearch-string): Declare.
10367 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10368 bind `case-fold-search'. Remove unused variables `beg' and `end',
10369 and simplify.
10370 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10371 COUNT and bind `replace-count'.
10372 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10373 to COUNT.
10374
10375 * savehist.el (print-readably, print-string-length): Declare.
10376
10377 * shadowfile.el (shadow-expand-cluster-in-file-name):
10378 Remove unused variable `cluster'.
10379 (shadow-copy-file): Remove unused variable `i'.
10380 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10381 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10382 (shadow-define-literal-group, shadow-define-regexp-group)
10383 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10384
10385 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10386 (shell): Use `called-interactively-p'.
10387 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10388
10389 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10390 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10391 (delete-backward-char): Remove unused variable `ocol'.
10392 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10393 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10394 (event-apply-hyper-modifier, event-apply-shift-modifier)
10395 (event-apply-control-modifier, event-apply-meta-modifier):
10396 Mark unused parameters.
10397 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10398 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10399
10400 * speedbar.el (speedbar-ignored-directory-expressions)
10401 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10402 (speedbar-find-file, speedbar-dir-follow)
10403 (speedbar-directory-buttons-follow, speedbar-tag-find)
10404 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10405 (speedbar-buffers-line-directory, speedbar-buffer-click):
10406 Mark unused parameters.
10407 (speedbar-tag-file): Remove unused variable `mode'.
10408 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10409
10410 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10411
10412 * talk.el (talk): Remove unused variable `display'.
10413
10414 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10415 (tar-write-region-annotate): Mark unused parameter.
10416
10417 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10418 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10419 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10420 warning by another.
10421
10422 * time-stamp.el (time-stamp-string-preprocess):
10423 Remove unused variable `require-padding'.
10424
10425 * tree-widget.el (widget-glyph-enable): Declare.
10426 (tree-widget-action): Mark unused parameter.
10427
10428 * w32-fns.el (x-get-selection): Mark unused parameter.
10429 (autoload-make-program, generated-autoload-file): Declare.
10430
10431 * wdired.el (wdired-revert): Mark unused parameters.
10432 (wdired-xcase-word): Remove unused variable `err'.
10433
10434 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10435 (whitespace-help-scroll): Remove unused variable `data-help'.
10436
10437 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10438 (widget-image-insert, widget-after-change, default)
10439 (widget-default-format-handler, widget-default-notify)
10440 (widget-default-prompt-value, widget-info-link-action)
10441 (widget-url-link-action, widget-function-link-action)
10442 (widget-variable-link-action, widget-file-link-action)
10443 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10444 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10445 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10446 (widget-insert-button-action, widget-delete-button-action, visibility)
10447 (widget-documentation-link-action, widget-documentation-string-action)
10448 (widget-const-prompt-value, widget-regexp-match, symbol)
10449 (widget-coding-system-prompt-value)
10450 (widget-key-sequence-value-to-external, sexp)
10451 (widget-sexp-value-to-internal, character, vector, cons)
10452 (widget-choice-prompt-value, widget-boolean-prompt-value)
10453 (widget-color--choose-action): Mark unused parameters.
10454 (widget-item-match-inline, widget-choice-match-inline)
10455 (widget-checklist-match, widget-checklist-match-inline)
10456 (widget-group-match): Rename parameter VALUES to VALS.
10457 (widget-field-value-set): Remove unused variable `size'.
10458 (widget-color-action): Remove unused variables `value' and `start'.
10459
10460 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10461 variable `dir'. Doc fix.
06b60517
JB
10462 (windmove-find-other-window): Don't pass it.
10463
10464 * window.el (count-windows): Mark unused parameter.
10465 (bw-adjust-window): Remove unused variable `err'.
10466
10467 * woman.el (woman-file-name): Remove unused variable `default'.
10468 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10469 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10470 (global-font-lock-mode): Declare.
10471 (woman-decode-region): Mark unused parameter.
10472 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10473
10474 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10475 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10476 (x-dnd-handle-moz-url): Remove unused variable `title'.
10477 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10478
10479 * xml.el (xml-parse-tag, xml-parse-attlist):
10480 Remove unused variable `pos'.
10481
bc4f7f3d
GM
104822011-04-19 Glenn Morris <rgm@gnu.org>
10483
10484 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10485 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10486 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10487 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10488 * calendar/cal-html.el (cal-html-insert-minical):
10489 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10490 (calendar-mark-date-pattern):
10491 Prefix "unused" locals.
10492
10493 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10494 optional argument `style'.
10495
10496 * calendar/appt.el (appt-make-list):
10497 * calendar/cal-china.el (calendar-chinese-date-string):
10498 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10499 (diary-hebrew-yahrzeit):
10500 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10501 * calendar/calendar.el (calendar-generate-window):
10502 * calendar/time-date.el (time-to-days):
10503 Remove unused local variables.
10504
16a43933
CY
105052011-04-18 Chong Yidong <cyd@stupidchicken.com>
10506
10507 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10508 glyphless-char-display table.
10509 (tabulated-list-glyphless-char-display): New var.
10510
7eed1860
SS
105112011-04-18 Sam Steingold <sds@gnu.org>
10512
10513 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10514 to acknowledgments.
10515
4d2d1ccd
GM
105162011-04-17 Glenn Morris <rgm@gnu.org>
10517
10518 * calendar/diary-lib.el (diary-sexp-entry):
10519 * calendar/holidays.el (holiday-sexp):
10520 Set debug-on-error rather than the removed stack-trace-on-error.
10521
239da61d
GM
105222011-04-16 Glenn Morris <rgm@gnu.org>
10523
10524 * progmodes/f90.el: Use lexical-binding.
10525 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10526
8b05752a
SM
105272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10528
daca8ba5
SM
10529 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10530 (mail-mode): Setup mailalias completion here instead.
10531 * mail/mailalias.el: Use lexical-binding.
10532 (pattern, mailalias-done): Declare dynamic.
10533 (mail-completion-at-point-function): New function, from mail-complete.
10534 (mail-complete): Use it.
10535 (mail-completion-expand): New function.
10536 (mail-get-names): Use it.
10537 (mail-directory, mail-directory-process, mail-directory-stream):
10538 Don't use `pattern' for lexically bound arg.
10539
6f542485
SM
10540 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10541
037e7c3f
SM
10542 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10543 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10544 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10545
8b05752a
SM
10546 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10547 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10548 (byte-interactive-p): Define them again, for use when inlining
10549 old code.
10550
49093f60
JB
105512011-04-15 Juanma Barranquero <lekktu@gmail.com>
10552
10553 * loadup.el: Use `string-to-number', not `string-to-int'.
10554
b5b8e7de
SM
105552011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10558 gud-gdb-complete-command.
10559 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10560 (gud-gdb-completion-at-point): New function.
10561 (gud-gdb-completions): Remove.
10562
f42efeb5
MA
105632011-04-14 Michael Albinus <michael.albinus@gmx.de>
10564
49093f60
JB
10565 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10566 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10567 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10568 whether `executable-find' is bound.
f42efeb5
MA
10569
10570 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10571
e240cc21
SM
105722011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * minibuffer.el (completion-in-region-mode-predicate)
10575 (completion-in-region-mode--predicate): New vars.
10576 (completion-in-region, completion-in-region--postch)
10577 (completion-in-region-mode): Use them.
10578 (completion--capf-wrapper): Also return the hook function.
10579 (completion-at-point, completion-help-at-point):
10580 Adjust and provide a predicate.
c2bd2ab0
SM
10581
10582 Preserve arg names for advice of subr and lexical functions (bug#8457).
10583 * help-fns.el (help-function-arglist): Consolidate the subr and
10584 new-byte-code cases. Add argument `preserve-names' to extract names
10585 from the docstring when needed.
10586 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10587 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10588 (ad-arglist): Use help-function-arglist's new arg.
10589 (ad-definition-type): Use cond.
10590
c183f693
JB
105912011-04-13 Juanma Barranquero <lekktu@gmail.com>
10592
06641a47
JB
10593 * autorevert.el (auto-revert-handler):
10594 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10595 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10596 Don't quote lambda.
10597
c183f693
JB
10598 * image-mode.el (image-transform-set-scale):
10599 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10600
1e3b6001
G
106012011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10602
10603 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10604 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10605 Upgrades via gnutls-cli are too slow to be done opportunistically.
10606
2d6af8dd
JB
106072011-04-12 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * dframe.el (dframe-current-frame): Remove spurious quote.
10610
c0749a51
GM
106112011-04-12 Glenn Morris <rgm@gnu.org>
10612
088d0d61
GM
10613 * calendar/cal-tex.el (cal-tex-end-document):
10614 Try to automatically use latin1 input if needed.
10615
c0749a51
GM
10616 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10617 Don't try to cons a mark onto an empty element.
10618
5c90fde0
LL
106192011-04-11 Leo Liu <sdl.web@gmail.com>
10620
10621 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10622 buffers.
10623 (ido-kill-buffer-at-head): Support killing virtual buffers.
10624
369e974d
CY
106252011-04-10 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * minibuffer.el (completion-show-inline-help): New var.
10628 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10629 (minibuffer-force-complete, minibuffer-complete-word):
10630 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10631
10632 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10633 to avoid interference from inline help (Bug#5849).
10634
37f1c930
LL
106352011-04-10 Leo Liu <sdl.web@gmail.com>
10636
099c39a4
JB
10637 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10638 Fix typo.
37f1c930 10639
a32d4040
CY
106402011-04-09 Chong Yidong <cyd@stupidchicken.com>
10641
10642 * image-mode.el (image-toggle-display-image): Signal an error if
10643 not in Image mode.
10644 (image-transform-mode, image-transform-resize)
10645 (image-transform-set-rotation): Doc fix.
daca8ba5 10646 (image-transform-set-resize): Delete.
a32d4040
CY
10647 (image-transform-set-scale, image-transform-fit-to-height)
10648 (image-transform-fit-to-width): Handle image-toggle-display-image
10649 and image-transform-resize directly.
10650
099c39a4 106512011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10652
10653 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10654 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10655 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10656 (doc-view-mode-map): Add bindings for the new functions.
10657
099c39a4 106582011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10659
4d61f28d 10660 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10661 Fix typo in docstring.
10662
3726838a
EZ
106632011-04-08 Eli Zaretskii <eliz@gnu.org>
10664
04f33f1e
EZ
10665 * files.el (file-size-human-readable): Produce one digit after
10666 decimal, like "ls -lh" does.
10667
10668 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10669 the file size representation.
10670
3726838a
EZ
10671 * simple.el (list-processes): If async subprocesses are not
10672 available, error out with a clear error message.
10673
cbb59342
CY
106742011-04-08 Chong Yidong <cyd@stupidchicken.com>
10675
10676 * help.el (help-form-show): New function, to be called from C.
10677 Put help-form output in a buffer named differently than *Help*.
10678
e3971c44
EZ
106792011-04-08 Eli Zaretskii <eliz@gnu.org>
10680
10681 * files.el (file-size-human-readable): New function.
10682
10683 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10684 computing the representation inline. Don't require `cl'.
10685
12544bbe
GM
106862011-04-08 Glenn Morris <rgm@gnu.org>
10687
a1de6c6a
GM
10688 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10689
3c4671f4
GM
10690 * net/browse-url.el (browse-url-firefox):
10691 Test system-type, not system-configuration.
10692
b605679c
GM
10693 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10694 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10695 Use log-edit-empty-buffer-p. (Bug#7598)
10696
56442f0c
GM
10697 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10698 (rlogin-mode-map): Initialize in the defvar.
10699 (rlogin): Use ignore-errors.
10700
12544bbe
GM
10701 * replace.el (occur-mode-map): Some fixes for menu items.
10702
eb237b0f
AH
107032011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10704
10705 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10706
7d668f2c
CY
107072011-04-06 Chong Yidong <cyd@stupidchicken.com>
10708
e67a13ab
CY
10709 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10710 issuing unused warnings.
10711
10712 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10713 macro directly.
10714
7d668f2c
CY
10715 * simple.el: Lisp reimplement of list-processes. Based on an
10716 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10717 (process-menu-mode): New major mode.
10718 (list-processes--refresh, list-processes):
10719 (process-menu-visit-buffer): New functions.
10720
10721 * files.el (save-buffers-kill-emacs): Don't assume any return
10722 value of list-processes, which is undocumented anyway.
10723
a83ec3c9
CY
107242011-04-06 Chong Yidong <cyd@stupidchicken.com>
10725
10726 * emacs-lisp/tabulated-list.el: New file.
10727
e91a96fe
CY
10728 * emacs-lisp/package.el: Use Tabulated List mode.
10729 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10730 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10731 table format using Tabulated List mode variables.
10732 (package--push): New macro, replacing package-list-maybe-add.
10733 (package-menu--generate): Use package--push. Renamed from
10734 package--generate-package-list.
10735 (package-menu-refresh, list-packages): Use it.
daca8ba5 10736 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10737 Return insertion data instead of inserting it directly.
099c39a4
JB
10738 (package-menu-describe-package, package-menu-execute):
10739 Use tabulated-list-get-id.
e91a96fe
CY
10740 (package-menu-mark-delete, package-menu-mark-install)
10741 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10742 (package-menu-mark-obsolete-for-deletion):
10743 Use tabulated-list-put-tag.
e91a96fe
CY
10744 (package--list-packages, package-menu-revert)
10745 (package-menu-get-package, package-menu-get-version)
10746 (package-menu-sort-by-column): Functions deleted.
10747 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10748 (package-menu--status-predicate, package-menu--version-predicate)
10749 (package-menu--name-predicate)
10750 (package-menu--description-predicate): Handle arguments in the
10751 Tabulated List format.
10752 (package-list-packages-no-fetch): Call list-packages.
10753
3e214b50
JB
107542011-04-06 Juanma Barranquero <lekktu@gmail.com>
10755
10756 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10757 (after-find-file): Don't bind it.
3e214b50
JB
10758 (revert-buffer-in-progress-p): New variable.
10759 (revert-buffer): Bind it.
10760 Pass nil for `after-find-file-from-revert-buffer'.
10761
10762 * saveplace.el (save-place-find-file-hook): Use new variable
10763 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10764
3f0f1700
GM
107652011-04-06 Glenn Morris <rgm@gnu.org>
10766
c0274801
GM
10767 * Makefile.in (AUTOGEN_VCS): New variable.
10768 (autoloads): Use $AUTOGEN_VCS.
10769
3f0f1700
GM
10770 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10771 * calendar/calendar.el (calendar-mode-map):
10772 Check for toolkit scroll bars. (Bug#8305)
10773
41ea9e48
CY
107742011-04-05 Chong Yidong <cyd@stupidchicken.com>
10775
10776 * minibuffer.el (completion-in-region--postch)
10777 (completion-in-region-mode): Remove unnecessary messages.
10778
6194c800
JB
107792011-04-05 Juanma Barranquero <lekktu@gmail.com>
10780
33256f14
JB
10781 * font-lock.el (font-lock-refresh-defaults):
10782 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10783 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10784
6194c800
JB
10785 * info.el (Info-directory-list, Info-read-node-name-2)
10786 (Info-split-parameter-string): Doc fixes.
10787 (Info-virtual-nodes): Reflow docstring.
10788 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10789 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10790 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10791 Fix typos in docstrings.
10792 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10793 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10794 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10795 (Info-restore-desktop-buffer): Mark unused parameters.
10796 (Info-directory-find-file, Info-directory-find-node)
10797 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10798 (Info-virtual-index-find-node, Info-apropos-find-file)
10799 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10800 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10801 (Info-virtual-index): Remove unused local variable `nodename'.
10802
b87a8200 108032011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10804
b87a8200
DD
10805 * net/rcirc.el: Update my e-mail address.
10806 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10807
3b2ff876
CY
108082011-04-05 Chong Yidong <cyd@stupidchicken.com>
10809
10810 * startup.el (command-line): Save the cursor's theme-face
10811 directly, instead of using face-override-spec.
10812
10813 * custom.el (load-theme): Minor optimization in assigning faces.
10814
8d17e7ca
JB
108152011-04-04 Juanma Barranquero <lekktu@gmail.com>
10816
10817 * help-fns.el (describe-variable): Complete all variables having
10818 documentation, including keywords.
10819 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10820
2fbc1934
JB
108212011-04-04 Juanma Barranquero <lekktu@gmail.com>
10822
10823 Convert to lexical-binding.
10824
10825 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10826 (bs--get-marked-string, bs--get-modified-string)
10827 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10828 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10829 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10830
10831 * ehelp.el (electric-help-execute-extended)
10832 (electric-help-ctrl-x-prefix):
10833 * hexl.el (hexl-revert-buffer-function):
10834 * linum.el (linum-after-change, linum-after-scroll):
10835 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10836
10837 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10838
74f50695
DU
108392011-04-04 Daiki Ueno <ueno@unixuser.org>
10840
10841 * epa-dired.el:
10842 * epa-mail.el:
10843 * epa-hook.el:
10844 * epa-file.el:
10845 * epa.el:
10846 * epg.el: Use lexical binding.
10847
c11325f7
CY
108482011-04-03 Chong Yidong <cyd@stupidchicken.com>
10849
0d9e9a12
CY
10850 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10851
c11325f7 10852 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10853 dictionary case for flyspell-mark-duplications-exceptions.
10854 Use regexp matching for languages.
c11325f7
CY
10855 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10856 default dictionary (Bug#7926).
10857
da91b5f2
CY
108582011-04-02 Chong Yidong <cyd@stupidchicken.com>
10859
099c39a4
JB
10860 * emacs-lisp/package.el (package--with-work-buffer):
10861 Recognize https URLs.
da91b5f2 10862
099c39a4
JB
10863 * net/network-stream.el: Move from gnus/proto-stream.el.
10864 Change prefix to network-stream throughout.
da91b5f2
CY
10865 (open-protocol-stream): Merge into open-network-stream, leaving
10866 open-protocol-stream as an alias. Handle nil BUFFER args.
10867
10868 * subr.el (open-network-stream): Move to net/network-stream.el.
10869
afa8e9f6
GM
108702011-04-02 Glenn Morris <rgm@gnu.org>
10871
1d2e369d
GM
10872 * find-dired.el (find-exec-terminator): New option.
10873 (find-ls-option): Test for -ls support.
10874 (find-ls-subdir-switches): Test for -b in find-ls-option.
10875 (find-dired, find-grep-dired): Doc fixes.
10876 (find-dired): Use find-exec-terminator.
10877
8abb7da8 10878 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10879 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10880 (find-name-arg): Remove purecopy.
8abb7da8 10881
f3ca7378
GM
10882 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10883 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10884 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10885 accordingly. Don't add the null-device if not needed.
10886
afa8e9f6
GM
10887 * files.el (save-some-buffers): Doc fix.
10888
35eae264
EZ
108892011-04-02 Eli Zaretskii <eliz@gnu.org>
10890
10891 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10892
26b51db5
JB
108932011-04-01 Juanma Barranquero <lekktu@gmail.com>
10894
10895 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10896 Use `dolist' rather than `mapcar'.
10897
7200d79c
SM
108982011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10899
03408648 10900 Add lexical binding.
7200d79c 10901
03408648
SM
10902 * subr.el (apply-partially): Use new closures rather than CL.
10903 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10904 (dolist, dotimes): Use slightly different expansion for lexical code.
10905 (functionp): Move to C.
10906 (letrec): New macro.
10907 (with-wrapper-hook): Use it and apply-partially instead of CL.
10908 (eval-after-load): Preserve lexical-binding.
10909 (save-window-excursion, with-output-to-temp-buffer): Turn them
10910 into macros.
7200d79c 10911
03408648
SM
10912 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10913
10914 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10915 than the arglist.
10916 (help-add-fundoc-usage): Don't add `Not documented'.
10917 (help-function-arglist): Handle closures, subroutines, and new
10918 byte-code-functions.
10919 (help-make-usage): Remove leading underscores.
10920 (describe-function-1): Handle closures.
10921 (describe-variable): Use special-variable-p for completion.
10922
10923 * files.el (lexical-binding): Declare safe.
f488fb65 10924
03408648
SM
10925 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10926 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10927 (pcase): Add `let' pattern.
10928 Change memoization so it actually works.
10929 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10930 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10931 <let>: New case.
f488fb65 10932
03408648
SM
10933 * emacs-lisp/macroexp.el: Use lexical binding.
10934 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10935 Don't convert ' to #' without checking that it's indeed quoting
10936 a lambda.
10937
10938 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10939 Use eval-sexp-add-defvars.
03408648
SM
10940 (eval-sexp-add-defvars): New fun.
10941
10942 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10943
10944 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10945 Don't autoload.
10946 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10947 than the internal `byte-compile-lambda'.
10948 (defmethod): Don't hide code under quotes.
10949 (eieio-defmethod): New `code' argument.
10950
10951 * emacs-lisp/eieio-comp.el: Remove.
10952
10953 * emacs-lisp/edebug.el (edebug-eval-defun)
10954 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10955 (edebug-toggle): Avoid `eval'.
10956
10957 * emacs-lisp/disass.el (disassemble-internal): Handle new
10958 `closure' objects.
10959 (disassemble-1): Handle new byte codes.
10960
10961 * emacs-lisp/cl.el (pushnew): Silence warning.
10962
10963 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10964 (cl-byte-compile-throw): Remove.
10965 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10966
10967 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10968 closures.
10969
10970 * emacs-lisp/cconv.el: New file.
10971
10972 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10973 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10974 (byte-compile-initial-macro-environment):
10975 Handle declare-function here.
10976 (byte-compile--lexical-environment): New var.
10977 (byte-stack-ref, byte-stack-set, byte-discardN)
10978 (byte-discardN-preserve-tos): New lap codes.
10979 (byte-interactive-p): Don't use any more.
10980 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10981 New macros.
10982 (byte-compile-lapcode): Use them and handle new lap codes.
10983 (byte-compile-obsolete): Remove.
10984 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10985 (byte-compile-arglist-warn): Check late def of inlinable funs.
10986 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10987 since they should have been expanded by now.
10988 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10989 (byte-compile-from-buffer): Remove unused second arg.
10990 (byte-compile-preprocess): New function.
10991 (byte-compile-toplevel-file-form): New function to distinguish
10992 file-form calls from outside from file-form calls from hunk-handlers.
10993 (byte-compile-file-form): Simplify.
10994 (byte-compile-file-form-defsubst): Remove.
10995 (byte-compile-file-form-defmumble): Simplify now that
10996 byte-compile-lambda always returns a byte-code-function.
10997 (byte-compile): Preprocess.
10998 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10999 Remove, not used any more.
11000 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11001 (byte-compile-make-args-desc): New funs.
11002 (byte-compile-lambda): Handle lexical functions. Always return
11003 a byte-code-function.
11004 (byte-compile-reserved-constants): New var, to make up room for
11005 closed-over variables.
11006 (byte-compile-constants-vector): Obey it.
11007 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11008 (byte-compile-macroexpand-declare-function): New function.
11009 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11010 byte-code-functions.
11011 (byte-compile-form): Check obsolescence here.
11012 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11013 (byte-compile-variable-ref): Remove.
11014 (byte-compile-dynamic-variable-op): New fun.
11015 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11016 (byte-compile-variable-set): New funs.
11017 (byte-compile-discard): Add 2 args.
11018 (byte-compile-stack-ref, byte-compile-stack-set)
11019 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11020 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11021 macroexpand-all instead.
11022 (byte-compile-quote-form): Remove.
11023 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11024 (byte-compile-bind, byte-compile-unbind): New funs.
11025 (byte-compile-let): Handle let* and lexical binding.
11026 (byte-compile-let*): Remove.
11027 (byte-compile-catch, byte-compile-unwind-protect)
11028 (byte-compile-track-mouse, byte-compile-condition-case):
11029 Handle a new :fun-body form, used for lexical scoping.
11030 (byte-compile-save-window-excursion)
11031 (byte-compile-with-output-to-temp-buffer): Remove.
11032 (byte-compile-defun): Simplify.
11033 (byte-compile-stack-adjustment): New fun.
11034 (byte-compile-out): Use it.
11035 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11036
11037 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11038 handler any more.
11039
11040 * emacs-lisp/byte-opt.el: Use lexical binding.
11041 (byte-inline-lapcode): Remove (to bytecomp).
11042 (byte-compile-inline-expand): Pay attention to inlining to/from
11043 lexically bound code.
11044 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11045 any more.
11046 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11047 any more and don't call compiler-macros.
11048 (byte-compile-splice-in-already-compiled-code): Remove.
11049 (byte-code): Don't inline any more.
11050 (disassemble-offset): Receive `bytes' as argument rather than via
11051 dynamic scoping.
11052 (byte-compile-tag-number): Declare before first use.
11053 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11054 `return' even if make-spliceable.
11055 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11056 obsolete interactive-p.
11057 (byte-optimize-lapcode): Optimize new lap-codes.
11058 Don't trip up on new form of `byte-constant' lap code.
11059
11060 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11061
11062 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11063
11064 * custom.el (custom-initialize-default, custom-declare-variable):
11065 Use `defvar'.
11066
11067 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11068 New variables.
11069 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11070 (COMPILE_FIRST): Add macroexp and cconv.
11071 * makefile.w32-in: Mirror changes in Makefile.in.
11072
11073 * vc/cvs-status.el:
11074 * vc/diff-mode.el:
11075 * vc/log-edit.el:
11076 * vc/log-view.el:
11077 * vc/smerge-mode.el:
11078 * textmodes/bibtex-style.el:
11079 * textmodes/css.el:
11080 * startup.el:
11081 * uniquify.el:
da91b5f2
CY
11082 * minibuffer.el:
11083 * newcomment.el:
11084 * reveal.el:
11085 * server.el:
11086 * mpc.el:
11087 * emacs-lisp/smie.el:
11088 * doc-view.el:
11089 * dired.el:
03408648
SM
11090 * abbrev.el: Use lexical binding.
11091
0f0c1f27
EZ
110922011-04-01 Eli Zaretskii <eliz@gnu.org>
11093
11094 * info.el (info-display-manual): New function.
11095
c82b2579
SM
110962011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11099
221ddf68
TH
111002011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11101
11102 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11103 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11104
cba6e77e
GM
111052011-03-31 Glenn Morris <rgm@gnu.org>
11106
e040639f
GM
11107 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11108
cba6e77e
GM
11109 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11110
6d0f1c9e
CS
111112011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11112
11113 * progmodes/python.el (python-default-interpreter)
11114 (python-python-command-args, python-jython-command-args)
11115 (python-which-shell, python-which-args, python-which-bufname)
11116 (python-file-queue, python-comint-output-filter-function)
11117 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11118 variables and functions.
11119
3e2d70fd
SM
111202011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11123 (completion-in-region-mode): New minor mode.
11124 (completion-in-region): Use it.
11125 (completion-in-region--data, completion-in-region-mode-map): New vars.
11126 (completion-in-region--postch): New function.
11127 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11128 New vars.
11129 (completion--capf-wrapper): New function.
11130 (completion-at-point): Use it to track well-behavedness of
11131 hook functions.
11132 (completion-help-at-point): New command.
11133
f3e4086c
JM
111342011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11135
11136 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11137 syntax class to search for whitespace on a single line
11138 (Message-ID: <4D938140.4030905@redhat.com>).
11139
eb7ffc14
LL
111402011-03-30 Leo Liu <sdl.web@gmail.com>
11141
11142 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11143 New commands.
11144 (edit-abbrevs-map): Bind them here.
11145 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11146
d806ab68
KM
111472011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11148
11149 * allout.el (allout-hide-by-annotation, allout-flag-region):
11150 Reduce possibility of overlay leakage by making them volatile.
11151
11152 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11153 hash is not shared between buffers. Mode initialization is
11154 responsible for giving it a useful starting value.
11155 (allout-item-span): Reduce possibility of overlay leakage by
11156 making them volatile.
11157 (allout-widgets-count-buttons-in-region): Add diagnostic function
11158 for tracking down button overlay leaks.
11159
ea622834
LL
111602011-03-29 Leo Liu <sdl.web@gmail.com>
11161
11162 * ido.el (ido-read-internal): Use the default history var
11163 minibuffer-history if no HISTORY is specified.
11164
b62f8267
G
111652011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11166
03408648
SM
11167 * net/imap.el (imap-shell-open, imap-process-connection-type):
11168 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11169 Kerberos, SSL, other subprocesses.
11170
947b6566
LL
111712011-03-28 Leo Liu <sdl.web@gmail.com>
11172
11173 * abbrev.el (abbrev-table-empty-p): New function.
11174 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11175 nonempty ones. (Bug#5937)
11176
5ffb62aa
JD
111772011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11178
11179 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11180
7a097943
LL
111812011-03-27 Leo Liu <sdl.web@gmail.com>
11182
11183 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11184 for foreground and background colors.
11185 (ansi-color-make-color-map): Adapt.
11186
c5b40130
LL
111872011-03-25 Leo Liu <sdl.web@gmail.com>
11188
1f48f7d2
LL
11189 * midnight.el (midnight-time-float): Remove. Note it calculates
11190 the microsecond component incorrectly and seconds-to-time does the
11191 same job.
625897ec 11192 Remove redundant (require 'timer).
1f48f7d2 11193
c5b40130
LL
11194 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11195 (ido-completions): Remove unused arguments. (Bug#8329)
11196
d86d2721
SM
111972011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * minibuffer.el (completion--flush-all-sorted-completions):
11200 Remove itself from hook.
11201 (completion-at-point): Let the functions perform the completion
11202 immediately and return nil or t.
11203 * comint.el (comint-dynamic-complete-functions): Now identical to
11204 completion-at-point-functions.
11205 (comint-dynamic-list-input-ring): Remove unused var `index'.
11206 (comint--match-partial-filename, comint--unquote&expand-filename):
11207 New funs, split from comint-match-partial-filename.
11208 (comint-dynamic-complete): Use completion-at-point.
11209 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11210
e8974c48
DA
112112011-03-24 Drew Adams <drew.adams@oracle.com>
11212
11213 * thingatpt.el: Support `defun'.
11214
def71b5e
LL
112152011-03-23 Leo Liu <sdl.web@gmail.com>
11216
cb5af48e
LL
11217 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11218
def71b5e
LL
11219 * help-mode.el (help-mode-finish): Tweak regexp.
11220
927c53e7
GM
112212011-03-23 Glenn Morris <rgm@gnu.org>
11222
18d05bed
GM
11223 * eshell/esh-opt.el (eshell-eval-using-options):
11224 Do not bind unused local variable `eshell-option-stub'.
11225
927c53e7
GM
11226 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11227
9d0da923
JB
112282011-03-22 Juanma Barranquero <lekktu@gmail.com>
11229
11230 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11231 keymap variable in `with-no-warnings' to avoid a warning when the
11232 keymap has been already `defconst'ed.
11233
4b978a67
LL
112342011-03-22 Leo Liu <sdl.web@gmail.com>
11235
11236 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11237 encode all chars in abbrevs; otherwise use emacs-mule or
11238 utf-8-emacs. (Bug#8308)
11239
5fd62452
JB
112402011-03-22 Juanma Barranquero <lekktu@gmail.com>
11241
0b1596c6
JB
11242 * simple.el (backward-delete-char-untabify):
11243 Avoid warning about using `delete-backward-char'.
11244
5fd62452
JB
11245 * image.el (image-type-file-name-regexps): Make it variable.
11246 `imagemagick-register-types' modifies it, and the user may want
11247 to add new extensions for known image types.
11248 (imagemagick-register-types): Throw error if not using ImageMagick.
11249
0b4e93f1
LL
112502011-03-22 Leo Liu <sdl.web@gmail.com>
11251
11252 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11253 located before rcirc-prompt-end-marker.
11254 (rcirc-complete): Error if point is not after rcirc prompt.
11255 Handle the case when table is nil.
9882e214 11256 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11257
fccee4ab
CY
112582011-03-22 Chong Yidong <cyd@stupidchicken.com>
11259
11260 * custom.el (custom--inhibit-theme-enable): Make it affect only
11261 custom-theme-set-variables and custom-theme-set-faces.
11262 (provide-theme): Ignore custom--inhibit-theme-enable.
11263 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11264 (custom-enabling-themes): Delete variable.
d86d2721
SM
11265 (enable-theme): Accept only loaded themes as arguments.
11266 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11267 (custom-enabled-themes): Forbid themes from setting this.
11268 Eliminate use of custom-enabling-themes.
11269 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11270
af896da6
LL
112712011-03-21 Leo Liu <sdl.web@gmail.com>
11272
11273 * ido.el (ido-read-internal): Add ido-selected to history instead
11274 of user input.
11275
78f64af0
SM
112762011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11277
11278 * subr.el (deferred-action-list, deferred-action-function):
11279 Mark obsolete.
11280
b16ac1ec
LL
112812011-03-21 Leo Liu <sdl.web@gmail.com>
11282
810f7698
LL
11283 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11284 change on 2011-02-13 (bug#8309).
11285
b16ac1ec
LL
11286 * minibuffer.el (read-file-name-function): Change default value.
11287 (read-file-name--defaults): Rename from read-file-name-defaults.
11288 (read-file-name-default): Rename from read-file-name.
11289 (read-file-name): Call read-file-name-function.
11290
4e05e67e
GM
112912011-03-21 Glenn Morris <rgm@gnu.org>
11292
11293 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11294 Doc fixes.
11295
4359915b
CY
112962011-03-21 Chong Yidong <cyd@stupidchicken.com>
11297
11298 * cus-theme.el: Add missing provide statement.
11299 (customize-create-theme): Extract theme value correctly.
11300 (custom-theme-visit-theme): Autoload.
11301 (customize-create-theme): Prompt before inserting default faces.
11302
1fe275ee
JB
113032011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11304
11305 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11306 units and musical notes.
11307
cd394be1 113082011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11309
11310 * ido.el (ido-read-internal): Use completing-read-default.
11311 (ido-completing-read): Fix compatibility with completing-read.
11312
7d476bde
CO
113132011-03-20 Christian Ohler <ohler@gnu.org>
11314
11315 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11316 (ert-delete-all-tests): Use `called-interactively-p' rather than
11317 `interactive-p'.
11318 (ert--make-xrefs-region): Respect END.
11319
fe0fb33e
CY
113202011-03-19 Chong Yidong <cyd@stupidchicken.com>
11321
ff854b0b
CY
11322 * dired-aux.el (dired-create-directory): Signal an error if the
11323 directory already exists (Bug#8246).
11324
fe0fb33e
CY
11325 * facemenu.el (list-colors-display): Call list-faces-display
11326 inside with-help-window.
11327 (list-colors-print): Use display property to align the final
11328 column, instead of checking window-width.
11329
576bce32
EZ
113302011-03-19 Eli Zaretskii <eliz@gnu.org>
11331
4d61f28d 11332 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11333 windows-nt systems.
11334 (emerge-protect-metachars): Quote correctly for ms-dos and
11335 windows-nt systems.
11336
89c41d68 113372011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11338
11339 * info.el (info-initialize): Replace all uses of `:' with
11340 path-separator for compatibility with non-Unix systems.
11341 Cache quoting of path-separator. (Bug#8258)
11342
b14e3e21 113432011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11344
11345 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11346 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11347 (mouse-avoidance-mode): Fix typos in docstrings.
11348
4525ce3e
CY
113492011-03-19 Chong Yidong <cyd@stupidchicken.com>
11350
11351 * startup.el (package-subdirectory-regexp): Move from package.el.
11352 Omit \\` and \\', and let callers add them.
11353
11354 * emacs-lisp/package.el (package-strip-version)
11355 (package-load-all-descriptors): Add \\` and \\' to
11356 package-subdirectory-regexp before using it.
11357 (package-untar-buffer): New arg DIR; ensure that file untars only
11358 into this expected directory. Remove superfluous delete-region.
11359 (package-unpack): Caller changed.
11360 (package-tar-file-info): Use package-subdirectory-regexp.
11361
a904a09a 113622011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11363
a904a09a
SM
11364 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11365 diff-mode-shared-map (bug#8284).
11366 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11367
113682011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11369
11370 * calendar/time-date.el (format-seconds): Use assoc instead of
11371 assoc-string, since assoc-string doesn't exist in XEmacs.
11372
171fc304
JB
113732011-03-17 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * custom.el (custom-known-themes): Reflow docstring.
11376 (custom-theme-load-path): Fix typo in docstring.
11377 (load-theme): Fix typo in error message.
11378 (custom-available-themes, custom-variable-theme-value):
11379 Use `let', not `let*'.
11380
d71990a1
JB
113812011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11382
11383 * calc/README: Mention inclusion of musical notes.
11384
11385 * calc/calc-units.el (calc-lu-quant): Rename from
11386 `calc-logunits-quantity'.
11387 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11388 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11389 (calc-db): Rename from `calc-dblevel'.
11390 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11391 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11392 (calc-np): Rename from `calc-nplevel'.
11393 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11394 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11395 (calc-lu-plus): Rename from `calc-logunits-add'.
11396 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11397 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11398 (calc-lu-minus): Rename from `calc-logunits-sub'.
11399 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11400 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11401 (calc-lu-times): Rename from `calc-logunits-mul'.
11402 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11403 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11404 (calc-lu-divide): Rename from `calc-logunits-div'.
11405 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11406 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11407
11408 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11409 functions being autoloaded.
11410
11411 * calc/calc.el (calc-lu-power-reference): Rename from
11412 `calc-logunits-power-reference'.
11413 (calc-lu-field-reference): Rename from
11414 `calc-logunits-field-reference'.
11415
7a71b18d
GM
11416 * calc/calc-help.el (calc-l-prefix-help):
11417 Mention musical note functions.
d71990a1 11418
40c2934b
SM
114192011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * minibuffer.el (completion-all-sorted-completions):
11422 Use :completion-cycle-penalty text property if present.
11423
b0911414
KM
114242011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11425
11426 * allout.el (allout-yank-processing): Adjust for new rebulleting
11427 regime so bullet being yanked is used without prompting the user
11428 for a choice.
11429
8a05b668
JB
114302011-03-16 Juanma Barranquero <lekktu@gmail.com>
11431
11432 * startup.el (command-line): Warn the user that _emacs is deprecated.
11433
5ba5fb81
JB
114342011-03-16 Juanma Barranquero <lekktu@gmail.com>
11435
11436 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11437 (delphi-verbose, delphi-comment-face, delphi-string-face)
11438 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11439 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11440 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11441 (delphi-new-comment-line, delphi-font-lock-defaults)
11442 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11443 Fix typos in docstrings.
11444
2dab465b
KM
114452011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11446
5ba5fb81 11447 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11448 Invert the roles of character and string values for INSTEAD, so a
11449 string is used for the more common case of a defaulting prompt.
11450
0adf5618
SM
114512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * progmodes/ruby-mode.el (ruby-backward-sexp):
11454 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11455 * play/gamegrid.el (gamegrid-make-face):
11456 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11457 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11458 * notifications.el (notifications-notify):
11459 * net/xesam.el (xesam-search-engines):
11460 * net/quickurl.el (quickurl-list-insert):
11461 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11462
d72700e5
CY
114632011-03-15 Chong Yidong <cyd@stupidchicken.com>
11464
11465 * startup.el (command-line): Update package subdirectory regexp.
11466
49c5410a
SM
114672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11468
c6eee9aa
SM
11469 * allout.el (allout-abbreviate-flattened-numbering)
11470 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11471
49c5410a
SM
11472 * subr.el (read-char-choice): Only show the cursor after the prompt,
11473 not after the answer.
11474
047b2bb9
KR
114752011-03-15 Kevin Ryde <user42@zip.com.au>
11476
11477 * help-fns.el (variable-at-point): Skip leading quotes, if any
11478 (bug#8253).
11479
0a57d256
SM
114802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11483 warning message.
11484
77c992bc
MA
114852011-03-14 Michael Albinus <michael.albinus@gmx.de>
11486
11487 * shell.el (shell): When called interactively, offer to change the
11488 shell file name on remote hosts.
11489
eebc475d
TZ
114902011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11491
11492 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11493 integration for LDAP parameters. The host, base, user or binddn,
11494 and secret tokens can be specified in a netrc file, for instance.
11495 This is optional because an `auth-source' parameter must be
11496 specified in the search attributes.
11497
9d05d1ba
JB
114982011-03-13 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11501
09d9db2c
GM
115022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11503
11504 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11505 into declaration. Remove redundant and harmful binding.
11506
115072011-03-12 Eli Zaretskii <eliz@gnu.org>
11508
11509 * files.el (file-ownership-preserved-p): Pass `integer' as an
11510 explicit 2nd argument to `file-attributes'. If the file's owner
11511 is the Administrators group on Windows, and the current user is
11512 Administrator, consider that a match.
11513
11514 * server.el (server-ensure-safe-dir): Consider server directory
11515 safe on MS-Windows if its owner is the Administrators group while
11516 the current Emacs user is Administrator. Use `=' to compare
11517 numerical UIDs, since they could be integers or floats.
11518
219bd536
JB
115192011-03-12 Juanma Barranquero <lekktu@gmail.com>
11520
11521 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11522
f3afd36b
MA
115232011-03-12 Michael Albinus <michael.albinus@gmx.de>
11524
11525 Sync with Tramp 2.2.1.
11526
11527 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11528
11529 * net/trampver.el: Update release number.
11530
3aaaa6f1
SM
115312011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11532
94642599
SM
11533 * progmodes/compile.el (compilation--previous-directory): Fix up
11534 various nil/dead-marker mismatches (bug#8014).
11535 (compilation-directory-properties, compilation-error-properties):
11536 Don't call it at a position past the one we're about to change.
11537
3aaaa6f1
SM
11538 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11539 Disable obsolescence warnings in the file that declares it.
11540
14239447
KM
115412011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11542
099c39a4
JB
11543 * allout-widgets.el (allout-widgets-tally):
11544 Initialize allout-widgets-tally as a hash table rather than nil to
11545 prevent mode-line redisplay warnings. Also, clarify the module
11546 description and fix a comment typo.
14239447 11547
135e287c
JB
115482011-03-11 Juanma Barranquero <lekktu@gmail.com>
11549
11550 * help-fns.el (describe-variable): Don't complete keywords.
11551 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11552
ffbf300e
CY
115532011-03-10 Chong Yidong <cyd@stupidchicken.com>
11554
ba08b241
CY
11555 * emacs-lisp/package.el (package-version-join): Impose a standard
11556 string representation for pre/alpha/beta version lists.
11557 (package-unpack-single): Standardize the directory name by passing
11558 it through package-version-join.
11559 (package-strip-rcs-id): Accept any version string that does not
11560 signal an error in version-to-list.
ffbf300e 11561
f346fd6b
MA
115622011-03-10 Michael Albinus <michael.albinus@gmx.de>
11563
11564 * simple.el (delete-trailing-whitespace): Return nil for the
11565 benefit of `write-file-functions'.
11566
ccb55d27
GM
115672011-03-10 Glenn Morris <rgm@gnu.org>
11568
5ceaac0c
GM
11569 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11570
02da65ff
GM
11571 * vc/vc-git.el (vc-git-program): New option.
11572 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11573 (vc-git--call): Use it.
11574
b2f603cc
GM
11575 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11576
5772caab
GM
11577 * cus-edit.el (Custom-newline): If no button at point, look
11578 for a subgroup button at start-of-line. (Bug#2298)
11579
ccb55d27
GM
11580 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11581
ec6ecaed
JD
115822011-03-10 Julien Danjou <julien@danjou.info>
11583
11584 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11585 `cursor-type' is nil.
11586
9d5aa01d
JB
115872011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11588
11589 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11590
b6a5875b
KM
115912011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11592
7a71b18d 11593 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11594 preserves the existing header prefix, rebulleting it if necessary,
11595 rather than replacing it. This is necessary for proper operation
11596 of cooperative addons like allout-widgets.
1154d12e
JB
11597 (allout-make-topic-prefix, allout-rebullet-heading):
11598 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11599 value as alternate bullet to be used, instead of prompting the user
11600 for a bullet character.
b6a5875b 11601
ee545c35
MA
116022011-03-09 Michael Albinus <michael.albinus@gmx.de>
11603
d86d2721
SM
11604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11605 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11606 `tramp-default-port'.
11607
c47971d7
DD
116082011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11609
11610 * net/rcirc.el (rcirc-handler-001): Remove useless
11611 with-rcirc-process-buffer.
11612 (rcirc-check-auth-status): Swap arguments to string-match.
11613
13522cb4
GM
116142011-03-09 Glenn Morris <rgm@gnu.org>
11615
0be6f4f1
GM
11616 * shell.el (shell-mode):
11617 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11618
13522cb4
GM
11619 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11620 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11621
515de2e3
CY
116222011-03-08 Chong Yidong <cyd@stupidchicken.com>
11623
11624 * emacs-lisp/package.el (package-refresh-contents)
11625 (package-menu-execute): Use condition-case-no-debug.
11626
b511b994
MA
116272011-03-08 Michael Albinus <michael.albinus@gmx.de>
11628
11629 * simple.el (shell-command-to-string): Use `process-file'.
11630
11631 * emacs-lisp/package.el (package-tar-file-info): Handle also
11632 remote files.
11633
d86d2721
SM
11634 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11635 Use `equal' for upload base check.
b511b994 11636
25bbfb31
AM
116372011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11638
11639 * textmodes/texinfo.el (texinfo-environments):
11640 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11641
be996521
GM
116422011-03-08 Glenn Morris <rgm@gnu.org>
11643
e9c8529f
GM
11644 * cus-start.el (cursor-in-non-selected-windows):
11645 Fix :set quoting oddness. (Bug#8192)
11646
be996521
GM
11647 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11648 in some setf expressions. (Bug#2159)
11649
2bb5649e
CY
116502011-03-08 Chong Yidong <cyd@stupidchicken.com>
11651
11652 * custom.el (custom-available-themes): Return themes in
11653 alphabetical order.
11654
33383987 11655See ChangeLog.15 for earlier changes.
e3d51b27
MR
11656
11657;; Local Variables:
11658;; coding: utf-8
e3d51b27
MR
11659;; End:
11660
acaf905b 11661 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11662
11663 This file is part of GNU Emacs.
11664
11665 GNU Emacs is free software: you can redistribute it and/or modify
11666 it under the terms of the GNU General Public License as published by
11667 the Free Software Foundation, either version 3 of the License, or
11668 (at your option) any later version.
11669
11670 GNU Emacs is distributed in the hope that it will be useful,
11671 but WITHOUT ANY WARRANTY; without even the implied warranty of
11672 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11673 GNU General Public License for more details.
11674
11675 You should have received a copy of the GNU General Public License
11676 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.