Received: (at 77495) by debbugs.gnu.org; 3 Apr 2025 16:29:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 12:29:50 2025 Received: from localhost ([127.0.0.1]:35382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0NRt-00089f-PK for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:29:50 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:40073) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <mplscorwin@HIDDEN>) id 1u0NRr-00089N-8S for 77495 <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:29:48 -0400 Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-739ab4447c7so71652b3a.0 for <77495 <at> debbugs.gnu.org>; Thu, 03 Apr 2025 09:29:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743697781; x=1744302581; 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=WQoMEkIAM/msZ7hum3Ka492SHJfSKpkJmlWyM76B42w=; b=piBQctS2C9rxarsMsRkNesTklS8vKO/iqDOgoHSHKW4mnr3UrjdTOscFNmIKUYh2Ma XWECLFBk+aHAmHCzxuYUlu3Ishq9zy4+RVOA8A0H1WX6MzcIwL5ab1uu4QMr/lJvH+ci xafhbEMMdF6tKHKh8StKBi/GJN/aIf81+5PuwCbCnXQXIt5B5Y1n089bfnf8CAs2kVu+ L2cLTzE1VeOi3wyNsZXAyYw6JeX7SnHhT98zzmRIOyGZDhu0+tsNnxBHl4rQETamyARh ABLxf7PHmpaULK4rtiaZT8PTFwK6uNkS0q8qHVb9CEfa2ftXyixdWueuIJyV3dszHw+J Hc7A== X-Forwarded-Encrypted: i=1; AJvYcCWy3gWEOxdit0cq1uFda60aehKv0OTuZF/CFcdO4u4mcgO0sfLGpxGGtPwRUaPfMzFXvACWzg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzlj6tMrAOF0B43GHPj+cQ1UcHNxkglY/IhaHOl/osPafHhy/cX zaakBI5KLS8fzoipz5wy0yMgGdz99BMtwp8mw4W6KFyrrZwRDznyFfPk6EqbgfYLU1I+s/VCewv EIrnEQg5A146rQI9IDByY8XfHEzU= X-Gm-Gg: ASbGnctK8cBgiGsxOKHBwx+ODtXwOUFUMflOWu0Fh25h+M5fSgVkjfg9Qumm+BMtfLT gnguF4j6zqlINr/v+X1GDZxEp7Lf0pUdKjEZK97EjmjPnzVDY/Lr8p98kIwtrghXvMSW3Vyr+9p kuH0Ba3jmyeXYeIy3OjnGbr66N X-Google-Smtp-Source: AGHT+IF4GEeYxuh8FUqqH/gN/MQrKhdKh8hJip0NLs7vjFpBo97xUFpc+n2XyYKo50VGUEP/H5WMcSF3Pw3Ud94Ctps= X-Received: by 2002:a05:6a00:1411:b0:730:9989:d2d4 with SMTP id d2e1a72fcca58-739e4c17497mr70631b3a.3.1743697780875; Thu, 03 Apr 2025 09:29:40 -0700 (PDT) MIME-Version: 1.0 References: <5d008b85-c57f-4056-957e-629c20568606@HIDDEN> <dc9aa03b-ab99-4ebb-ba72-1f2fc186c43e@HIDDEN> <86cydtz0vf.fsf@HIDDEN> In-Reply-To: <86cydtz0vf.fsf@HIDDEN> From: Corwin Brust <corwin@HIDDEN> Date: Thu, 3 Apr 2025 11:29:28 -0500 X-Gm-Features: AQ5f1JrdZAKWnjmvu6ZFVjILtg88aYMU8xYpBhk04mtJCPeXW46xjgLRMBHAU0U Message-ID: <CAJf-WoTqb2Q=+oqGfmr5TVRok=Ta0uGAa-uqswJOkuB=wnHDmQ@HIDDEN> Subject: Re: bug#77495: [PATCH] Include additional version metadata during Windows install To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77495 Cc: Sean Bright <sean@HIDDEN>, 77495 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Thu, Apr 3, 2025 at 11:05=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > > Date: Thu, 03 Apr 2025 15:11:17 +0000 > > From: Sean Bright <sean@HIDDEN> > > > > > > the NSIS installer does not create the appropriate values resulting in > > the current version being reported as 'Unknown.' The attached patch > > fixes that and additionally sets the Publisher value to "Free Software > > Foundation, Inc." > > > > This prevents winget from reinstalling the same version during every > > invocation of 'winget update' but it also improves the appearance of > > GNU Emacs in the 'Add or Remove Programs' interface[1]. > > Looks great. I am traveling with only my workplace's equipment with; I cannot immediately install this. I'll do this weekend if nobody has already. Thank you very much, Sean! > > Kind regards, > > Sean > > > > 1. https://seanbright.com/emacs-win-metadata.png > > Adding Corwin, who prepares the Windows binaries, to the discussion. >
bug-gnu-emacs@HIDDEN
:bug#77495
; Package emacs
.
Full text available.Received: (at 77495) by debbugs.gnu.org; 3 Apr 2025 16:05:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 12:05:53 2025 Received: from localhost ([127.0.0.1]:35338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0N4j-0007Cb-2n for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:05:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34864) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u0N4g-0007CF-Oh for 77495 <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:05:51 -0400 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 <eliz@HIDDEN>) id 1u0N4a-0002On-HG; Thu, 03 Apr 2025 12:05:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5EOlLDFoBZ2/LhC69wLq4dcp0MfnG5jQCbAlp1ed8Rw=; b=XCYyBRnlWqAW n0sQTfpCQhZsbl7Qd/W6pfURLffqycP3K5TG1agOd8QsUMvOXO5wlUuNh+QqUHpgZF3C+6mfU8nTs T94IQytgDpUBu3RJAHoICqFFoxfCA0R0U/W5GkFx+1wwdRQ0pQ7zPhBlnYukfM76W79/nTUF/FXGh ob6g8Qa9C8w3YZ3Y5Juk6QlFX+5KlDfcu9He9qbPzsUuc2R6Gzmkz1IfWzvrHBkNoMdXfKHsqdbzX Gx4w/MNgOnN69Kax8joRpo8c4hIB10Um/6szh8r2pD2siM1BM5wvFdiuae8Ahmu6XVEN2z4PBmPai RSDE5Bt1RYVzu9LP/ebbRw==; Date: Thu, 03 Apr 2025 19:05:40 +0300 Message-Id: <86cydtz0vf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Sean Bright <sean@HIDDEN>, Corwin Brust <corwin@HIDDEN> In-Reply-To: <dc9aa03b-ab99-4ebb-ba72-1f2fc186c43e@HIDDEN> (message from Sean Bright on Thu, 03 Apr 2025 15:11:17 +0000) Subject: Re: bug#77495: [PATCH] Include additional version metadata during Windows install References: <5d008b85-c57f-4056-957e-629c20568606@HIDDEN> <dc9aa03b-ab99-4ebb-ba72-1f2fc186c43e@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77495 Cc: 77495 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 03 Apr 2025 15:11:17 +0000 > From: Sean Bright <sean@HIDDEN> > > > I install emacs on Windows using the winget tool. This tool queries > the Windows registry for the current installed version of emacs, but > the NSIS installer does not create the appropriate values resulting in > the current version being reported as 'Unknown.' The attached patch > fixes that and additionally sets the Publisher value to "Free Software > Foundation, Inc." > > This prevents winget from reinstalling the same version during every > invocation of 'winget update' but it also improves the appearance of > GNU Emacs in the 'Add or Remove Programs' interface[1]. > > Kind regards, > Sean > > 1. https://seanbright.com/emacs-win-metadata.png Adding Corwin, who prepares the Windows binaries, to the discussion.
bug-gnu-emacs@HIDDEN
:bug#77495
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 15:55:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 11:55:56 2025 Received: from localhost ([127.0.0.1]:35314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0Mv5-0006gv-DK for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 11:55:56 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54648) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <sean@HIDDEN>) id 1u0ME9-0004by-0n for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 11:11:33 -0400 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 <sean@HIDDEN>) id 1u0ME3-0006wt-Gh for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 11:11:27 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <sean@HIDDEN>) id 1u0ME1-0007ns-Fu for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 11:11:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seanbright.com; s=protonmail2; t=1743693081; x=1743952281; bh=SguXUsZR3pN6V8EP9CT15sAwkik7br3d2SKzDstMMm8=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=r/le90c+C7w4XvELsFLMZ0lLvCY0Gwvxi7XfDzsvSvhgfLDWuf3PuV3cqu3go3vsq DReORoiNWQ5nOVRZu6nhIOmWPyAEnAgk3uOsKDm4ByhSsLaPr1HGIrvFNN1dr71Tds DGEI9jqyISjI26ZvP7FEH0CoUEghM87sLr2uBk2HVOWJ50m6gsntWtmiIwRrrDM3XG XqtMhtZUc+zjZD2ZkyXQdx6ITUfXdstn40lU27FiInlg9cmRj7MGWcPnunaMVaiJ1J 27ieMmDQg4htt+K0HO+WIWj1qGqRCFcne6Zpi2pSajt9flaXkU1KLN9hID7d8hFOw/ FEqbeeB6LfB9A== Date: Thu, 03 Apr 2025 15:11:17 +0000 To: bug-gnu-emacs@HIDDEN From: Sean Bright <sean@HIDDEN> Subject: [PATCH] Include additional version metadata during Windows install Message-ID: <dc9aa03b-ab99-4ebb-ba72-1f2fc186c43e@HIDDEN> In-Reply-To: <5d008b85-c57f-4056-957e-629c20568606@HIDDEN> References: <5d008b85-c57f-4056-957e-629c20568606@HIDDEN> Feedback-ID: 33624412:user:proton X-Pm-Message-ID: 026782621d3115e5f0c1d607d0cf838dbb3be732 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1=_NB3YLTBUCAQznYkTBt9wS5TrVoxnPhduLbQWshtOds" Received-SPF: pass client-ip=51.77.79.158; envelope-from=sean@HIDDEN; helo=mail-0201.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 03 Apr 2025 11:55:54 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --b1=_NB3YLTBUCAQznYkTBt9wS5TrVoxnPhduLbQWshtOds Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello friends, I install emacs on Windows using the winget tool. This tool queries the Windows registry for the current installed version of emacs, but the NSIS installer does not create the appropriate values resulting in the current version being reported as 'Unknown.' The attached patch fixes that and additionally sets the Publisher value to "Free Software Foundation, Inc." This prevents winget from reinstalling the same version during every invocation of 'winget update' but it also improves the appearance of GNU Emacs in the 'Add or Remove Programs' interface[1]. Kind regards, Sean 1. https://seanbright.com/emacs-win-metadata.png --b1=_NB3YLTBUCAQznYkTBt9wS5TrVoxnPhduLbQWshtOds Content-Type: text/plain; charset=UTF-8; name=0001-Include-additional-version-metadata-during-Windows-i.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-Include-additional-version-metadata-during-Windows-i.patch RnJvbSBiZTE0YWFmMGE0ZTlmYTZhZTEzMWYyMzc2NDhmMWE3Y2QxNTI5NWU3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTZWFuIEJyaWdod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isgIFdyaXRlUmVnU3RyIEhLTE0gIiR7VU5JTlNUX0tFWX0iICJQdWJs aXNoZXIiICJGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24sIEluYy4iCiAgIFdyaXRlUmVnU3RyIEhL TE0gIiR7VU5JTlNUX0tFWX0iICJVbmluc3RhbGxTdHJpbmciICIkXCIkVW5pbnN0YWxsZXJQYXRo JFwiIgogCiAgIDtDcmVhdGUgc2hvcnRjdXRzCi0tIAoyLjQzLjAKCg== --b1=_NB3YLTBUCAQznYkTBt9wS5TrVoxnPhduLbQWshtOds--
Sean Bright <sean@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77495
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.