From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.bugs Subject: bug#62792: Emacs 29.0.90 build fails Date: Wed, 12 Apr 2023 12:56:13 -0700 Message-ID: References: <83bkjt6rpk.fsf@gnu.org> <83r0sp53kp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008a0f8605f9290036" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62792@debbugs.gnu.org, corwin@bru.st To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 21:57:25 2023 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 1pmgaq-0002o2-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 21:57:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmgae-0001DR-Ld; Wed, 12 Apr 2023 15:57:12 -0400 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 1pmgaU-0001CE-Cm for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 15:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmgaU-00016t-1k for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 15:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmgaT-0007FM-Uh for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 15:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Ota Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 19:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62792 X-GNU-PR-Package: emacs Original-Received: via spool by 62792-submit@debbugs.gnu.org id=B62792.168132939027813 (code B ref 62792); Wed, 12 Apr 2023 19:57:01 +0000 Original-Received: (at 62792) by debbugs.gnu.org; 12 Apr 2023 19:56:30 +0000 Original-Received: from localhost ([127.0.0.1]:41849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmgZx-0007EW-Ou for submit@debbugs.gnu.org; Wed, 12 Apr 2023 15:56:30 -0400 Original-Received: from mail-oi1-f170.google.com ([209.85.167.170]:38763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmgZv-0007EJ-Mp for 62792@debbugs.gnu.org; Wed, 12 Apr 2023 15:56:28 -0400 Original-Received: by mail-oi1-f170.google.com with SMTP id t23so184679oiw.5 for <62792@debbugs.gnu.org>; Wed, 12 Apr 2023 12:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681329382; x=1683921382; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=evUU1kgFp0so1RCDl9u8v2cXnlYznpl90CPA+2+ptAU=; b=ju5CFhyN7erjIGFrcNYhzk/JuIsuJBzYxYaQbm7GJ/8gnxwhcyS3URHz4XV9V8sUdW +ei+ZCOZkbc8uyKDGVx0f8TOsEV5+3itUvsWfCsAdY0W5P8/h4cnAqmqVkZaT6rrkr+f 55jIt9HOeW4TotZoHiLkdvbEr8SqJGafyeUxiHtPUydwXDWOI11djyEDuvzcd8Fd1kSL d/stxGELe003bRTqjpXxZdNlvzu/nXaLZ0Yf1reFdyLP7IaqNkmwuLeyERqkrtV4uVuH 3wvsJWnMnl2tCf7Yso3Ia1HoNPAMLelQV4beQcnaHOu4Yue1Kl5PC+xquU4Ec9h4bnoR ZWuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681329382; x=1683921382; h=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=evUU1kgFp0so1RCDl9u8v2cXnlYznpl90CPA+2+ptAU=; b=bLbZ+wHRr8cpfKmDBH4bghLWWArozEVUQDUcovAOhlvSOQiG4Pts5uo/q1HsNPWg+f mCHGBw4Q0tsXDC43A52ZG9mZvVwqSBzCSshdGZv/J+rLrvSsNAug7n7eH3WoExiilRAE 0sh2Lb9ayIHfhotk3J5gx1Cl993Et08G5WmlUetWJf4rdYrzsSSMzxzkMergnWa/mONT XdhM4QCebdfb8o2BZKoQYoFALqKFVJ0n7/d324iT50fXyKzej/OE0JXbf0+wCxn0Ry0Q NTzRWEfl3Oe/wKT+JoXnELbNclGCvL4R90OKbMV6VDoxPwknG6C3uFFr1OUF8BtOgx6h O9Mg== X-Gm-Message-State: AAQBX9fIO/W9EkGM4HNwqh0MVTV59m9qalwWiL1bpal/3OZYU4L3+TKC vqGCt+DDTJXIykRwz74t0dFhaIw36S3PF5Hqc4U= X-Google-Smtp-Source: AKy350adfEkKGEYkKxhr59yA1YBzpS6EF/EDzksR504jrfXEZt4qtboy52MBMFlcOSKXDGoVtAumK8ei3AMfm0MadjI= X-Received: by 2002:a05:6808:8ed:b0:38b:f032:ac57 with SMTP id d13-20020a05680808ed00b0038bf032ac57mr1002876oic.0.1681329381574; Wed, 12 Apr 2023 12:56:21 -0700 (PDT) In-Reply-To: <83r0sp53kp.fsf@gnu.org> 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:259809 Archived-At: --0000000000008a0f8605f9290036 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I understand now. Thanks for the explanation. -Tak On Wed, Apr 12, 2023 at 11:59=E2=80=AFAM Eli Zaretskii wrote= : > > From: Tak Ota > > Date: Wed, 12 Apr 2023 11:48:48 -0700 > > Cc: Eli Zaretskii , 62792@debbugs.gnu.org > > > > I am curious. What is the reason the next was added to w32.c? > > > > #if _WIN32_WINNT < 0x0501 > > typedef struct > > { > > DWORD nFont; > > COORD dwFontSize; > > } CONSOLE_FONT_INFO; > > #endif > > > > This was not in the previous emacs source w32.c. > > It was added to support the new command restart-emacs. See the > function get_console_font_size and how it is used in w32_reexec_emacs. > --0000000000008a0f8605f9290036 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I understand now.=C2=A0 Thanks for the explanation.
-Tak

On Wed, Apr 12, 2023 at 11:59=E2=80=AFAM Eli Zaretsk= ii <eliz@gnu.org> wrote:
> From: Tak Ota <<= a href=3D"mailto:takaaki.ota@gmail.com" target=3D"_blank">takaaki.ota@gmail= .com>
> Date: Wed, 12 Apr 2023 11:48:48 -0700
> Cc: Eli Zaretskii <eliz@gnu.org>, 62792@debbugs.gnu.org
>
> I am curious. What is the reason the next was added to w32.c?
>
> #if _WIN32_WINNT < 0x0501
> typedef struct
> {
>=C2=A0 =C2=A0DWORD nFont;
>=C2=A0 =C2=A0COORD dwFontSize;
> } CONSOLE_FONT_INFO;
> #endif
>
> This was not in the previous emacs source w32.c.

It was added to support the new command restart-emacs.=C2=A0 See the
function get_console_font_size and how it is used in w32_reexec_emacs.
--0000000000008a0f8605f9290036--