From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nikolaos Chatzikonstantinou Newsgroups: gmane.emacs.bugs Subject: bug#74133: Some minor patches for the python script Date: Thu, 31 Oct 2024 07:02:21 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000005cc49f0625c3c1c4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18642"; mail-complaints-to="usenet@ciao.gmane.io" To: 74133@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 31 12:03: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 1t6SxU-0004fx-7B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Oct 2024 12:03:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6SxF-00038U-V1; Thu, 31 Oct 2024 07:03:06 -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 1t6SxC-000389-KF for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 07:03:02 -0400 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 1t6SxC-0001y4-Bj for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 07:03:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=hKvCk5V7aGPU2Lyze17pWb+Y/0PATD4Bi41pi+s3BL4=; b=STVGcZXOAJDI6sSQmVWc3ajigvAYusx0fLc58nIRWc8Ggj80VeM+BiTo8WjoyKCJZ3cqV2RdMSu7BPUPhdIPFadH3AtzrA/EV+P4nPPxSg0EAVCFpKGxtGF6wpttKdtBDf11RSmhVs37njMsStTp/8zn0bCC6emQ5Krop4EZnMsaOIYXURR/HlpN0LGG3WPK3t9/THFrlwF77zpbngAXtZQgMviKGAfhKx2lqtDL8TU9pgQVZ5tRd3MUZJr7fQtffEfKk3ZysLdkvPslgGCUDqioQgbyXHrMTivQ9IRq10CcfcVfyh6Vsv1euV5TI7dxoa3+t4+w7wI9xKvSMNFv/A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6SxC-00042D-5L for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 07:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikolaos Chatzikonstantinou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Oct 2024 11:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74133 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173037256115490 (code B ref -1); Thu, 31 Oct 2024 11:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Oct 2024 11:02:41 +0000 Original-Received: from localhost ([127.0.0.1]:41638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Swq-00041m-TS for submit@debbugs.gnu.org; Thu, 31 Oct 2024 07:02:41 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Swo-00041g-UR for submit@debbugs.gnu.org; Thu, 31 Oct 2024 07:02:39 -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 1t6Swn-00036h-TA for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 07:02:37 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6Swm-0001x4-2V for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2024 07:02:37 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-20cbcd71012so8948065ad.3 for ; Thu, 31 Oct 2024 04:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730372553; x=1730977353; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=hKvCk5V7aGPU2Lyze17pWb+Y/0PATD4Bi41pi+s3BL4=; b=cGaCHN/W/lJnvDUfk/5Jz3Xq394pFTIWzMYYfK+sCXErKOv9HBxPjh6HjtgRHRvhD7 ppMjABfMkACG4PgMR/+LKPlCOGXV8AhVepdDA136Bq4cfXxsUYmcB5T4wEgDGkCAuHTm e3K6K1FauitomJLwk3NZ9SvDHxoItB5rxrihPj/gnWT+PN0wan9CkRqJHAf/EI2zJQBQ EjIBsDfuRqp6H6qls831nQLKfk3kiISuPemIv5fLO+vU3viJ+U/8vVdyj8FnBSx3Xe0H gOgiYUOcKRH1qZiwZ7Obm/wLR9QdcC9Oi0wn3DcmYNvadontHIkPnlTteqSGr9x7AqBO zutA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730372553; x=1730977353; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hKvCk5V7aGPU2Lyze17pWb+Y/0PATD4Bi41pi+s3BL4=; b=wMLw6AmJ5Vw9f3Dvk2YDgsBjd5jtapI94SXujsDUw9fRDRFRJTf7JHaEo7Aaq/BnKM dm6uWXUuy96K8IyzenlKdHvAxytn/4lQeQzFshyIB1vDxy/SR82OCy3rOP5t0v2lzg10 8awOSXZjREChgr368L+L8xkP0xd35/D1WqihDvRCQk226x+IRR0J5/PJPY6xuX4yHabq baZXVvEyekykMTSHC0t9QeBZDVlGLIQyvm0/zROq++3YoSLggOZQntcdLj7Eat5qFgaA +OSCLqse4dGDp1ykt0tkehaEmlJKKWMKF5i47C3K1E5pYpJlsUDOMbdZ2j4NV/jrZer0 t+oA== X-Gm-Message-State: AOJu0YwDEAozLjL5xvFp3yXOPljz4VkV0zo2Tu7uIKVE/Ff2060trPVQ yKjbLI9MrXYDn3/wkFJSfl/csdGm7ysa2C2Qff2skwTmYNAPuvdBTnjmADCBM8hBI/gySYLeErt NrzClDqO2vZ6lYWB0fa2DR3uv7zDamw== X-Google-Smtp-Source: AGHT+IENS/CZm3VFueim00q8HPJonNcjNRM2kkl4EcdbMeJw31oSIqMjRSbjqPfv7hCiThSHZ9XRcw9CJN80tJpbdtg= X-Received: by 2002:a17:902:da8e:b0:20b:59be:77b with SMTP id d9443c01a7336-210c687ad4fmr270375895ad.6.1730372553181; Thu, 31 Oct 2024 04:02:33 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=nchatz314@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:294616 Archived-At: --0000000000005cc49f0625c3c1c4 Content-Type: text/plain; charset="UTF-8" Hello, >From a quick discussion on IRC I've decided to contribute the following two patches. The first is stylistic but the second is something that was requested. Note that I've already assigned copyright to the FSF for my contributions to Emacs. Regards, Nikolaos Chatzikonstantinou --0000000000005cc49f0625c3c1c4 Content-Type: text/plain; charset="US-ASCII"; name="0002-download-zst-msys2-sources-before-gzip.patch.asc.asc" Content-Disposition: attachment; filename="0002-download-zst-msys2-sources-before-gzip.patch.asc.asc" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m2x74bz02 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlIVUVBQllLQUIwV0lRVCtxaUYrV1E3ZlFr a0FiL1VKRkRBRmluenhqUVVDWnlOampRQUtDUkFKRkRBRmluengKamRRS0FRQ0tYcUpGeHpvUHZl SXJsbi9zdFlEQlQ1akJIVElYcWo5UVV0UWNxV1QvZHdFQTZYcjAveU91cVRvdQo3dGVzNkZSNWVN dWFuQXFpUlo4YWpSaHlKekEwZUE0PQo9Y1dQUQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K --0000000000005cc49f0625c3c1c4 Content-Type: text/plain; charset="US-ASCII"; name="0002-download-zst-msys2-sources-before-gzip.patch.asc" Content-Disposition: attachment; filename="0002-download-zst-msys2-sources-before-gzip.patch.as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kyTGJwZVExZXRXelBNRXpMY3JqTnVjczh3RGxvTEM2bVVxZk5URkRrMU5sYkxh Qld0ZFNBaGRHOQoxU0lnZ2tqR0dyd2tkTFNVUFhYUElpTWVNeTFqQW9SNjZhQ3B4STVpaVMycU1o ZG5qenY3WFpub0tORmtZUXFuCkVyU3gwN2k3UFhaWmorTVJQc3pQUTNzeWIwaGdmV090M2VsdXJG M2MydW0rdHI3VHViQzF1WkszbHZKaittYTkKdEl6ODhWR3BvZ0xjT2cvKzFmOEZWS3lLVFFMWmhl aWR2c0F6QTBJVzRJU2xyY2JUL0N3ZUhIbEYrMzQzZlE4cgpzUEhxNXZuMWJtZW4zZDErK1h6SDhM a3VaRzlMMlo4aThsN0lZbkdFMHNaZWdmeVZhL1RLTlVQRmpvRTJBNDE1CkE4YzVZUDlCbU14azhT ajlaQXJ2eC9DSEQ0SWdOQVBKanBXc0VoUFE0akdtOGFCNXRQcWZHS1I5TElSZmRqZ08KNGYwNzky Q2djWElZcThSVElOU0YvSnNpaWtUbzV5ZmFqN2RITjJBRG14Znk2UkZFbDhFd3lqeGdqcUtqZ3FT NwpTckhKL1Q3dDEyczBMVS9xOTF3ZXB3V0laVlNYalVWQzNrdG1jM01rOS9UY21kbkRHMmZlZWVQ UjIyY3Y1T1NkCjdHTnpjaWI5YnVUSXFjY3l5KzQzSjNKM2J0NjlTV2RlZVdyejlCZlAvdlh0NHgv KytQRVB6WjgrL1g3Mjk3OVgKVjcvNjh5ekpIUmE3ZDMrOS9sM3hsOTFuYnYyOEdueCsrclBmU3Rl WHp0MlkrWHJ1WGNQNDVJbVpmd0FEaXo3aQo9V0hvTwotLS0tLUVORCBQR1AgTUVTU0FHRS0tLS0t Cg== --0000000000005cc49f0625c3c1c4 Content-Type: text/plain; charset="US-ASCII"; name="0001-add-docstrings.patch.asc" Content-Disposition: attachment; filename="0001-add-docstrings.patch.asc" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m2x74bye0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlIVUVBQllLQUIwV0lRVCtxaUYrV1E3ZlFr a0FiL1VKRkRBRmluenhqUVVDWnlOamlRQUtDUkFKRkRBRmluengKamNOTEFQOUR0V1ZsY1ZXS2pU TXZoUlpjWHJ2b3dqTE96M1Jsb1VIUjdFTFRORGhnbmdFQTU4R1d0d0Z4d09DagpUMUZEK3dLVTBn cWsvU0FBWmJlTzM5d2hZWTN1b2dZPQo9ZEdQKwotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K --0000000000005cc49f0625c3c1c4 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-add-docstrings.patch" Content-Disposition: attachment; filename="0001-add-docstrings.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m2x74bys1 RnJvbSA2MmE1MzRkNTI3Yjc5YTVmZjYyYjczOTQwZThmNjA0ZjhkYjFmMzI1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOaWtvbGFvcyBDaGF0emlrb25zdGFudGlub3UgPG5jaGF0ejMx NEBnbWFpbC5jb20+CkRhdGU6IFRodSwgMzEgT2N0IDIwMjQgMDY6Mzc6MzEgLTA0MDAKU3ViamVj dDogW1BBVENIIDEvMl0gYWRkIGRvY3N0cmluZ3MKCiogYWRtaW4vbnQvZGlzdC1idWlsZC9idWls ZC1kZXAtemlwcy5weTogQ2hhbmdlIHNvbWUgdG9wLWxldmVsIGNvbW1lbnRzCnRvIGRvY3N0cmlu Z3MuCi0tLQogYWRtaW4vbnQvZGlzdC1idWlsZC9idWlsZC1kZXAtemlwcy5weSB8IDEwICsrKysr LS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCA1IGluc2VydGlvbnMoKyksIDUgZGVsZXRpb25zKC0pCgpk aWZmIC0tZ2l0IGEvYWRtaW4vbnQvZGlzdC1idWlsZC9idWlsZC1kZXAtemlwcy5weSBiL2FkbWlu L250L2Rpc3QtYnVpbGQvYnVpbGQtZGVwL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