[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 16:14:05 +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 <eller.helmut@gmail.com>
>> Cc: 16853@debbugs.gnu.org
>> Date: Tue, 09 Sep 2014 15:45:27 +0200
>>
>> On Tue, Sep 09 2014, Eli Zaretskii wrote:
>>
>> >> From: Helmut Eller <eller.helmut@gmail.com>
>> >> 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
>
> Not in batch mode, it isn't.
Are you wasting time on purpose or what is this? The point of the
example was to show that pos-visible-in-window-p doesn't work normally
in batch mode. Claiming that the window isn't live when window-live-p
obviously returns t is IMO silly.
Helmut
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Helmut Eller, 2014/09/07
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Andreas Röhler, 2014/09/07
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Helmut Eller, 2014/09/07
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Andreas Röhler, 2014/09/08
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Helmut Eller, 2014/09/08
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Andreas Röhler, 2014/09/08
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Eli Zaretskii, 2014/09/09
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Helmut Eller, 2014/09/09
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Eli Zaretskii, 2014/09/09
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort,
Helmut Eller <=
- bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort, Eli Zaretskii, 2014/09/09