unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Corwin Brust <corwin@bru.st>
Cc: 68919@debbugs.gnu.org
Subject: bug#68919: 30.0.50; etc/w32-feature.el: tests do not work under --batch
Date: Sun, 04 Feb 2024 17:34:47 +0200	[thread overview]
Message-ID: <864jeo2qg8.fsf@gnu.org> (raw)
In-Reply-To: <CAJf-WoQ54tuQNjTK_H+vUCCA8KKpbQxbbkEVDsSYkFBF7Vw1FQ@mail.gmail.com> (message from Corwin Brust on Sun, 4 Feb 2024 09:25:32 -0600)

> From: Corwin Brust <corwin@bru.st>
> Date: Sun, 4 Feb 2024 09:25:32 -0600
> Cc: 68919@debbugs.gnu.org
> 
> On Sun, Feb 4, 2024 at 1:08 AM Eli Zaretskii <eliz@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.

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





      reply	other threads:[~2024-02-04 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04  3:37 bug#68919: 30.0.50; etc/w32-feature.el: tests do not work under --batch Corwin Brust
2024-02-04  3:41 ` corwin
2024-02-04  7:08   ` Eli Zaretskii
2024-02-04 15:25     ` Corwin Brust
2024-02-04 15:34       ` Eli Zaretskii [this message]

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=864jeo2qg8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68919@debbugs.gnu.org \
    --cc=corwin@bru.st \
    /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).