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: Eli Zaretskii
Subject: bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort
Date: Tue, 09 Sep 2014 16:57:52 +0300

> 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.





reply via email to

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