From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#68919: 30.0.50; etc/w32-feature.el: tests do not work under --batch Date: Mon, 23 Dec 2024 21:28:28 -0600 Message-ID: References: <86h6io3dvb.fsf@gnu.org> <864jeo2qg8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii To: Stefan Kangas , 68919-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 24 04:29:21 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 1tPvbl-00053M-1z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Dec 2024 04:29:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPvbU-0000VW-9B; Mon, 23 Dec 2024 22:29:04 -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 1tPvbS-0000V9-Qk for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 22:29:02 -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 1tPvbS-0006IJ-Hh for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 22:29:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=S2PezEt62AeJ4CpFFAtG30vJ1nkNhd9BxGXpDgEvw4k=; b=WCi9xtoq+IVFtXxZcb0YtAgtgdiSxPMyzDzOk63T3jmK3mHm/WlgJg5w/9CgF3g5Kd9cwoiBlK1BYD/W/KLTSdgyQM62J9jkdEqOwPml+PzI5mkKemEcNwYGS6xRAg/nmTbYqRv3qa6b5pheJAEx0hGbtz0Q9UP+wrdm8PjNI62Oik6KDluayOc0gi+fUUlmOz3m7HViw8E03XuBO3PCrEuy+X7CoHUiFbrm6H7L0LbYiwOhpKFA5Gz8x3OAebZC3jExUXzlxCRQ/7eYlWftIrkDdhJYrQNC/0ON1xu4Vu/GMhQXB0Xt4VgCerSge22vh8V4WoM+me1WpEs59VBb5Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPvbS-0004Zc-Al for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 22:29:02 -0500 Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Dec 2024 03:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 68919 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 68919@debbugs.gnu.org, corwin@bru.st, corwin@bru.st Original-Received: via spool by 68919-done@debbugs.gnu.org id=D68919.173501092817550 (code D ref 68919); Tue, 24 Dec 2024 03:29:02 +0000 Original-Received: (at 68919-done) by debbugs.gnu.org; 24 Dec 2024 03:28:48 +0000 Original-Received: from localhost ([127.0.0.1]:58856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPvbD-0004Yz-Kr for submit@debbugs.gnu.org; Mon, 23 Dec 2024 22:28:47 -0500 Original-Received: from mail-oo1-f51.google.com ([209.85.161.51]:38500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPvbA-0004Yj-Nv for 68919-done@debbugs.gnu.org; Mon, 23 Dec 2024 22:28:45 -0500 Original-Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-5f3610c395dso473627eaf.2 for <68919-done@debbugs.gnu.org>; Mon, 23 Dec 2024 19:28:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735010919; x=1735615719; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S2PezEt62AeJ4CpFFAtG30vJ1nkNhd9BxGXpDgEvw4k=; b=AUFyi6nvPscTVn9oaalFALdRxnB6tXh2ji9juwT6eSC/JOxKYNFqMwok/5354xvIju B88VMXo8GYMoJzFbBWdgblL32AZggWr3Cqf9VBmeZaivVwE9mr6Uaj0tSKJDOj5tkjAR O10/CvZiGl4qDZb90mj0/RbiGyCHNOlYIpNeUB+qIJgaQ93kBvmf5bcFaMdYC5cigyxs W3uAV1jv7IGauCkAuXLR8iU1qE1d6XyWAwzCFuoqMgNrJSEpv7CXV+d/VxdZGPFwendA vG0vbuWlzMCbKW9vUZIGGSUmQLuVmbrO/FQy/jdB/NNAs/HMD8LgLTt6nLskV0oU1flL Bcjg== X-Forwarded-Encrypted: i=1; AJvYcCWH97xMp28zlmJwCZIUsWhvT0cMYtyXx6+hxs2CE5fxBLJqlH25jyedgVh4P6p+Be2yh48zt59d7JC5@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw69Z4xDU81j1hw4iuHdM629H+deR9HZ4LDlWzqCDbO0LdOzFmK pjCi7Pjk3jLWHQeKUyVEdrFTpq6Fr8Mv8jTP+8Mhme4dYtJ18w/WJWdZvAPd2jAwG++ZcICUcmi gHYblMeSNnxRRXlD5BGEqMv0oy+4= X-Gm-Gg: ASbGncsVVmLNvAGU4Q2j6OGHI2UtizRoK77aFWyqgswsCIyZbd/AWBUqNzy+8BIWYSt aSJx2UCTuy8RfbWSaMG9RZvwXA277WTtmxj+T X-Google-Smtp-Source: AGHT+IGLK9GyyoIgFsMCRH02lj746FX9n6NTsLoUtL/IICgWtEAO27iXboYKgG3vlV569sWz6fXKk1zshHorhqSllQA= X-Received: by 2002:a05:6830:25d3:b0:71e:f1:3ec with SMTP id 46e09a7af769-720ff8e9b4amr3794497a34.7.1735010919024; Mon, 23 Dec 2024 19:28:39 -0800 (PST) In-Reply-To: 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:297679 Archived-At: On Mon, Dec 23, 2024 at 9:05=E2=80=AFPM Stefan Kangas wrote: > > Eli Zaretskii writes: > > >> 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=E2=80=AFAM Eli Zaretskii wr= ote: > >> > > >> > 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))" > >> > =3D> harfbuzz > >> > > >> > >> Thank you, Eli - let me know if this is better. > > > > LGTM, thanks. > > Corwin, could you please install this patch and close this bug? > Done with 0e43e35f96e..c29b798537e emacs-30 -> emacs-30. Thank you. > > > >> (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. > Nothing to be done, I believe. Here I think Eli confirms I was correct to ignore `display-graphic-p' because the font-driver-superseded-by will only eq harfbuz when Emacs was both built with support for harfbuzz -and- actually succeeded in loading the DLL in the run-time, (so I guess we load that DLL even in batch mode :)