GNU bug report logs - #68919
30.0.50; etc/w32-feature.el: tests do not work under --batch

Previous Next

Package: emacs;

Reported by: Corwin Brust <corwin <at> bru.st>

Date: Sun, 4 Feb 2024 03:38:01 UTC

Severity: minor

Tags: patch

Found in version 30.0.50

Done: Corwin Brust <corwin <at> bru.st>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 68919 <at> debbugs.gnu.org, Corwin Brust <corwin <at> bru.st>
Subject: Re: bug#68919: 30.0.50;
 etc/w32-feature.el: tests do not work under --batch
Date: Tue, 24 Dec 2024 03:05:59 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Corwin Brust <corwin <at> bru.st>
>> Date: Sun, 4 Feb 2024 09:25:32 -0600
>> Cc: 68919 <at> debbugs.gnu.org
>>
>> On Sun, Feb 4, 2024 at 1:08 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>> >
>> > We can do better than this, I think.  The following works in batch
>> > mode:
>> >
>> >   emacs -batch --eval "(message \"%s\" (get 'uniscribe 'font-driver-superseded-by))"
>> >    => harfbuzz
>> >
>>
>> Thank you, Eli - let me know if this is better.
>
> LGTM, thanks.

Corwin, could you please install this patch and close this bug?

>
>> (Should we continue using frame-parameters in when display-graphic-p
>> is t?  I assume not; this works in both cases and is thus better
>> because it's simpler, or so I have thought.)
>
> Yes, for this particular feature there's no need to use
> frame-parameters anymore, since the above test works in all kinds of
> session.

Not sure what to do about this part.




This bug report was last modified 144 days ago.

Previous Next


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