GNU bug report logs - #16853
24.3.50; ert-run-tests-interactively difficult to abort

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Sun, 23 Feb 2014 14:50:02 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 24.3.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #38 received at 16853 <at> debbugs.gnu.org (full text, mbox):

From: Helmut Eller <eller.helmut <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16853 <at> debbugs.gnu.org
Subject: Re: bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort
Date: Tue, 09 Sep 2014 16:14:05 +0200
On Tue, Sep 09 2014, Eli Zaretskii wrote:

>> From: Helmut Eller <eller.helmut <at> gmail.com>
>> Cc: 16853 <at> 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 <at> 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




This bug report was last modified 8 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.