From: Helmut Eller <eller.helmut@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 16853@debbugs.gnu.org
Subject: bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort
Date: Tue, 09 Sep 2014 16:14:05 +0200 [thread overview]
Message-ID: <m21trkubiq.fsf@gmail.com> (raw)
In-Reply-To: <83a968c2vz.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Sep 2014 16:57:52 +0300")
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
next prev parent reply other threads:[~2014-09-09 14:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-23 14:48 bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort Helmut Eller
2014-03-02 15:35 ` Helmut Eller
2016-02-24 3:07 ` Lars Ingebrigtsen
2017-03-17 2:45 ` npostavs
2017-03-25 0:15 ` npostavs
2014-09-07 10:24 ` Helmut Eller
2014-09-07 19:54 ` Andreas Röhler
2014-09-07 20:37 ` Helmut Eller
2014-09-08 9:29 ` Andreas Röhler
2014-09-08 14:02 ` Helmut Eller
2014-09-08 16:23 ` Andreas Röhler
2014-09-09 13:30 ` Eli Zaretskii
2014-09-09 13:45 ` Helmut Eller
2014-09-09 13:57 ` Eli Zaretskii
2014-09-09 14:14 ` Helmut Eller [this message]
2014-09-09 14:41 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m21trkubiq.fsf@gmail.com \
--to=eller.helmut@gmail.com \
--cc=16853@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).