From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <864jeo2qg8.fsf@gnu.org> References: <86h6io3dvb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5778"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68919@debbugs.gnu.org To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 04 16:36:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rWeXL-0001Hn-4H for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Feb 2024 16:36:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWeX9-0000Jj-UT; Sun, 04 Feb 2024 10:35:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWeX8-0000IQ-El for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2024 10:35:50 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWeX8-0005Tj-6V for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2024 10:35:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWeXK-0006B9-5X for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2024 10:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Feb 2024 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68919 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68919-submit@debbugs.gnu.org id=B68919.170706091023670 (code B ref 68919); Sun, 04 Feb 2024 15:36:02 +0000 Original-Received: (at 68919) by debbugs.gnu.org; 4 Feb 2024 15:35:10 +0000 Original-Received: from localhost ([127.0.0.1]:49877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWeWU-00069b-HE for submit@debbugs.gnu.org; Sun, 04 Feb 2024 10:35:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWeWR-00069H-KG for 68919@debbugs.gnu.org; Sun, 04 Feb 2024 10:35:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWeW9-00057v-MQ; Sun, 04 Feb 2024 10:34:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=42/npJwASvCV8IjTLSrbWDEKba+hbQCTSo57Z57LiKg=; b=HbUHzoTAxYhxfUxYgvCb QZNkKSAX/Tg/wX4PrMseMG3gGz2jZ+lKyx+9xpRBsBqK7tGOpwXoelE7SJXQdtT/jS+F0ZDlhv0j/ LYx4T3s9VPIU0GsjGWIFvXWHaV1SgH8PSZt/R3hOQ/U1IlYhykQCu4TxHwmuLP+F74r0ubZnvWF4p XAe1dUd+VstHtqP1jnAs436Kw06upORTj+iuLzxe93skV0F9Hnnv+3JEMMajwn4ZImgnBzX41aj2l DdAMtdZrY76+5IDalVDlGjC0yQjZ4i+fJgxA6u81OiOxoCjeds/WR7vQh2KTObrb90iXVcSkOLKG5 DDWc0jZ+ZdtzDQ==; In-Reply-To: (message from Corwin Brust on Sun, 4 Feb 2024 09:25:32 -0600) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279419 Archived-At: > From: Corwin Brust > 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 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.