bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort


From: Helmut Eller
Subject: bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort
Date: Tue, 09 Sep 2014 15:45:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

On Tue, Sep 09 2014, Eli Zaretskii wrote:

>> From: Helmut Eller <address@hidden>
>> Date: Mon, 08 Sep 2014 16:02:53 +0200
>> 
>> Try this:
>>  emacs -batch -eval '(message "%s" (pos-visible-in-window-p (window-start)))'
>> 
>> It prints nil.  Shouldn't window-start always be visible?
>
> No, not when the window is not "live".

The window in the example is the selected window and it is live:
 emacs -batch -eval '(message "%s" (window-live-p (selected-window)))'
=> t

Helmut





reply via email to

[Prev in Thread] Current Thread [Next in Thread]