From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Mar 2025 20:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 77083@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174224384317513 (code B ref -1); Mon, 17 Mar 2025 20:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2025 20:37:23 +0000 Received: from localhost ([127.0.0.1]:32948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuHD9-0004YO-2q for submit@debbugs.gnu.org; Mon, 17 Mar 2025 16:37:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39942) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuHD5-0004XU-Nu for submit@debbugs.gnu.org; Mon, 17 Mar 2025 16:37:20 -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 ) id 1tuHCw-0004G2-KY for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2025 16:37:12 -0400 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tuHCu-0006L2-CN for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2025 16:37:09 -0400 Received: by mail-oi1-x244.google.com with SMTP id 5614622812f47-3f8ae3ed8adso2552472b6e.3 for ; Mon, 17 Mar 2025 13:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742243827; x=1742848627; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=CI0eQon35s2Gu6tOeXiNkCP6CsQLpusBs+HCbesUxug=; b=TbfQsPAGjO9YQCiCZZL3tbOHHAc8ELtui89QdnGp0KxVXdACXZ+YwGFeXC23FKNZZr BycJPftib2uKP0pZINPlVQSDhdz5Cuia9k+6i1wEac4Zar/PYx/bGMcj0khwdX6NZW3f /itsYBKMSA4XoZvXH5GPe1D1YSa3bIKLY1e7HwNEY0+EqArZjz1qinM8zWoF2sfafy/6 BPOZ0WnR9ae0qGjK6gtaMeYMVzydKaBI59TL9pY6ErbM8Ci/4MSYb9Dlihc0P1aODkqu DzR33irHpkRsvygmS871hmfcUAt1OmW2opxpkZry24p4ADR2m5L8ywaD19qwASE7HQBk 1/Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742243827; x=1742848627; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CI0eQon35s2Gu6tOeXiNkCP6CsQLpusBs+HCbesUxug=; b=GyDccYCrmlyZ4pu/x3QZhZU9WVlAe1TgylioFr33hmr4qrPYCIv0z3o5Oy8AnLNsAx RrjGOdGFOL4Uoib3zHJfQ10VVKwPt6QlEcN4qBNnX78hAvIdWXcZsrcftyR4+zBIQt6H +U7hYb61Owk6u7zZNtJDle5W2dMRAoQq8F1QTt3mTW72/uCEezPM6BPVE3vftVguyS8a SajmbpoC/fZwjaVCf9rJ3mlrL3Q9hDS+xoY/iLW/q7Xss9KqmEfIXGk5JmduLJ3EsrJ4 koI/HR8UTMgUZxu357YVRI70evvFKYv0lsdRvQat+7SN+U+YGxu8X6U/at8ri+z4y1qq k4UA== X-Gm-Message-State: AOJu0YyjJk060aEXIGF8jBaG30OhEQAY9w2NE73QT47EdkzKzAxyRiZP z6y/H1+Xx27tqGUA7/Pl4Z0FTRmfFauEk9sYxGowiOmximwZRzI68+u15qoK X-Gm-Gg: ASbGncuTyrmY8EpJ4bK/PxhUltGbmKtCc6t2UP7GLAVfltlmbuQhjqMHlClkygQ4imO 1leNHhXVjIo5/otzGH5ca6h4ZSulWtXw/O/+RuWs8ZjLy0OOEOGcdvNnXROsZ1+AB1Deczf/ARA eyrxWu2f3Z5xvdio6uVSGrBPvFGdbkaGFDDKT5iJzirF0yi+kq9TB5qXx4JG5EN8iFl5hfKka2T Zclzlm/wXOqc4/zNlhf0D/8vJStCvie3m/cAO+HQdwRW0GiAh2bjRumdIopG8SDzjedX+/9cy4/ 2TLJuFULPf02 X-Google-Smtp-Source: AGHT+IHb1RZLcd1Cb2gHKqgRb01NV7xmp8me1uqLjvNy493fZ7uTSib+pCpvcD44nEzWnwS2SwS7VA== X-Received: by 2002:a05:6808:138d:b0:3f9:1fee:8040 with SMTP id 5614622812f47-3fdee27912dmr7746777b6e.5.1742243826644; Mon, 17 Mar 2025 13:37:06 -0700 (PDT) Received: from fedora ([2806:10ae:e:622a::3]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3fcd403b065sm1898469b6e.4.2025.03.17.13.37.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 13:37:06 -0700 (PDT) From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Date: Mon, 17 Mar 2025 14:37:04 -0600 Message-ID: <87ldt39yxb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::244; envelope-from=eg642616@gmail.com; helo=mail-oi1-x244.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, 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-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When Emacs was compiled with compress-install, using =submit-emacs-patch= gives an error because it search for maintainer address in =file.el= instead =file.el.gz=. In GNU Emacs 31.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-03-16 built on bd673d7b71834db996f6e93e913b9ec3 System Description: Fedora Linux 41 (Worksta [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (eg642616[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (eg642616[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 HTML_OBFUSCATE_05_10 BODY: Message is 5% to 10% HTML obfuscation X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain When Emacs was compiled with compress-install, using =submit-emacs-patch= gives an error because it search for maintainer address in =file.el= instead =file.el.gz=. In GNU Emacs 31.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-03-16 built on bd673d7b71834db996f6e93e913b9ec3 System Description: Fedora Linux 41 (Workstation Edition) --==-=-= Content-Type: text/html

When Emacs was compiled with compress-install, using submit-emacs-patch gives an error because it search for maintainer address in file.el instead file.el.gz.

In GNU Emacs 31.0.50 (build 1, x8664-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-03-16 built on bd673d7b71834db996f6e93e913b9ec3 System Description: Fedora Linux 41 (Workstation Edition)

--==-=-=-- --=-=-= Content-Type: text/plain -- - E.G via GNU Emacs and Org. --=-=-=-- From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Mar 2025 12:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= , Philip Kaludercic Cc: 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174230052816850 (code B ref 77083); Tue, 18 Mar 2025 12:23:03 +0000 Received: (at 77083) by debbugs.gnu.org; 18 Mar 2025 12:22:08 +0000 Received: from localhost ([127.0.0.1]:38053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuVxO-0004NY-QM for submit@debbugs.gnu.org; Tue, 18 Mar 2025 08:22:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50298) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuVxJ-0004LU-40 for 77083@debbugs.gnu.org; Tue, 18 Mar 2025 08:22:03 -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 ) id 1tuVx5-0002X5-9p; Tue, 18 Mar 2025 08:21:55 -0400 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=MDjT04weJ7wGFmKnp/VyU+DqYF6fXf0cJoicoWqM9xA=; b=rfFLNNUuvNqUqYjsjCHV jKeJ7HHeO9cfoLhncN01bXAN+Fc4ezJGbbF1ewft0SoWCxoZMMDz+JYHrRwcwJwA+vu8y0FIzObgg puZBLse9V7zL40PpCzmGRbH7V88nW9Tm6DAz0w8X2p9kbx5BPPfMoNpaNrEti3oCovSEzaMSA2h/r lUt3mfhtuoCbPvMu5SJdnBXYhFq9+xJQj2P+QPnlwbm/qdrQ+m1EsWIm2CLhATStZwO0sKT67Cn+I N6fCZ0lSvSNOPE/U+QvuWUeEBvFPTSrcsVJPgkrYA6Afe9eQoR822fejIs+8TDoPS+RQdNEBtiR6M tWirL1mrH3uaQg==; Date: Tue, 18 Mar 2025 14:21:32 +0200 Message-Id: <86plier0kz.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87ldt39yxb.fsf@gmail.com> (message from Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= on Mon, 17 Mar 2025 14:37:04 -0600) References: <87ldt39yxb.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Elijah Gabe Pérez > Date: Mon, 17 Mar 2025 14:37:04 -0600 > > When Emacs was compiled with compress-install, using submit-emacs-patch gives an error because it > search for maintainer address in file.el instead file.el.gz. Thanks, but this lacks details, IMO. AFAIU, submit-emacs-patch gleans source file names from the patch file you are about to submit, and it expands each file name in the patch against source-directory, before looking them up for their maintainers. In the source tree (if you still have it around) the files are not compressed. OTOH, if your patch names files by their absolute file name (in which case source-directory is not used), and the files are compressed in the installation tree, then how did you produce the patch from compressed files in the first place in a way that names the files without the .gz extensions? IOW, please show an example of a patch that could be used to reproduce this issue and the recipe to reproduce, and please tell whether you do or don't have the Emacs source tree pointed to by source-directory. Or maybe I'm missing something obvious, in which case please point out what I missed. Thanks. P.S. I added Philip to the discussion, since he made the relevant change in emacsbug.el. From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Mar 2025 17:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= , 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174232045030604 (code B ref 77083); Tue, 18 Mar 2025 17:55:03 +0000 Received: (at 77083) by debbugs.gnu.org; 18 Mar 2025 17:54:10 +0000 Received: from localhost ([127.0.0.1]:43112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tub8h-0007xJ-RZ for submit@debbugs.gnu.org; Tue, 18 Mar 2025 13:54:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51317) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tub8N-0007uP-4C for 77083@debbugs.gnu.org; Tue, 18 Mar 2025 13:53:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4BABD240101 for <77083@debbugs.gnu.org>; Tue, 18 Mar 2025 18:53:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1742320420; bh=jcqvfu6JCF4BWt+/BAdCe81+uC+OVDN4EpWt7UuM+Qg=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=Vwgioag8FcP9koGtkotJfOo/Y9j0o3Fdb1YDilgTP+tv0jWrd856TNYZedsOjzj/d eBrB28UArs/pZ2mjjPlkspgEVp/MVHHJB7P1IHHUAU9qeSyorClaWQe00Tk40qs71D riWdOXfu8LLmif+8BMIUNOvZSU2x3Gyi4lc8bUYnK8RIMwGkOVBU9EAav/yFkbbIJf qQqXhfLhfCXURIYF4+znV3bNuZXCdnceiDr75NLtnuuxlclMWeKMTuVn728X0576vB u37caWifWex2+ZGfg72OSzA43kmZ4ANnRTMIgq78s6GxzZ1Sn3+jLM/wTMsDQjM8fn yrad8XNlqIxXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZHKFv48lTz9rxL; Tue, 18 Mar 2025 18:53:39 +0100 (CET) From: Philip Kaludercic In-Reply-To: <86plier0kz.fsf@gnu.org> References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Date: Tue, 18 Mar 2025 17:53:39 +0000 Message-ID: <877c4mw7h8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Elijah Gabe P=C3=A9rez >> Date: Mon, 17 Mar 2025 14:37:04 -0600 >>=20 >> When Emacs was compiled with compress-install, using submit-emacs-patch = gives an error because it >> search for maintainer address in file.el instead file.el.gz.=20 > > Thanks, but this lacks details, IMO. AFAIU, submit-emacs-patch gleans > source file names from the patch file you are about to submit, and it > expands each file name in the patch against source-directory, before > looking them up for their maintainers. In the source tree (if you > still have it around) the files are not compressed. OTOH, if your > patch names files by their absolute file name (in which case > source-directory is not used), and the files are compressed in the > installation tree, then how did you produce the patch from compressed > files in the first place in a way that names the files without the .gz > extensions? > > IOW, please show an example of a patch that could be used to reproduce > this issue and the recipe to reproduce, and please tell whether you do > or don't have the Emacs source tree pointed to by source-directory. > Or maybe I'm missing something obvious, in which case please point out > what I missed. I would also be interested in the specific error being raised. It might be that the following check could suffice to fix the issue: --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index babfd2e68ae..ad6f1b7a58b 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -543,10 +543,11 @@ submit-emacs-patch (with-temp-buffer (insert-file-contents file) (while (search-forward-regexp "^\\+\\{3\\} ./\\(.*\\)" nil t) - (push (expand-file-name - (match-string-no-properties 1) - source-directory) - files))) + (let ((file (expand-file-name + (match-string-no-properties 1) + source-directory))) + (when (file-readable-p file) + (push file files))))) (mapcan (lambda (patch) (seq-remove --=-=-= Content-Type: text/plain > Thanks. > > P.S. I added Philip to the discussion, since he made the relevant > change in emacsbug.el. --=-=-=-- From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Mar 2025 18:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Philip Kaludercic , 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174232387130790 (code B ref 77083); Tue, 18 Mar 2025 18:52:03 +0000 Received: (at 77083) by debbugs.gnu.org; 18 Mar 2025 18:51:11 +0000 Received: from localhost ([127.0.0.1]:43265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuc1s-00080A-8L for submit@debbugs.gnu.org; Tue, 18 Mar 2025 14:51:10 -0400 Received: from mail-ot1-x341.google.com ([2607:f8b0:4864:20::341]:52416) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuc1o-0007yO-RA for 77083@debbugs.gnu.org; Tue, 18 Mar 2025 14:51:06 -0400 Received: by mail-ot1-x341.google.com with SMTP id 46e09a7af769-727388e8f6cso3453973a34.0 for <77083@debbugs.gnu.org>; Tue, 18 Mar 2025 11:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742323859; x=1742928659; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=gwLMeg1B2owN4239IGY++BhyuKlEyXncdTU5X0VhoQ4=; b=QeSYs1JYwHZMtk02oe1wSwDfUszHrggody4x4roLomkfpLQ5TRmvnf3JpdWiT4+g/+ 7JEuwrOh4d5YGdNgSmAOxJlWSVpBVr/+qhH8prfJNnGUCOg6JZb/KFVNTIdom6TiNzAe 21xk0D/qeFjX71tuK5kGe0z3K0kamxw9vzKvD5bBu91/cDxMJvVDAYLUA3t8S+pwn7iJ lec6VJvNaV1miIGHeeiS6jexyGWih98GhlV0S0KQSDngiU/Baxt+myBYdj0W657pXNZp xDzoURmZ+AnBG2LNWnq1Mq2xuhjVNFsVo0KO71K3tugvzx7fW/F3YckugfYYynkjosEE Dnpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742323859; x=1742928659; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gwLMeg1B2owN4239IGY++BhyuKlEyXncdTU5X0VhoQ4=; b=AnnTWv4ReqI+NjzVDoCc0VMDNDSdAxDbrwfQMuOty+Qjun3h4LW79+BHSDhAAMg8b2 XREtCExOLvdzee6Q86QMoxb2YLUMMPni7QVVmx6HwzUGa/Kxyv/dqoyoZlncsZ/vw9pJ 72sUaUeib2shdMsYf7TXxdWZqWnL0NgJJKZbLisVUfQ3BhUghhi3xqCvV8gkG2RKM6qO xTWe1v7Egs0yVX1wZ0ub2au9mrbkTewn94LcZsJRf0vFC9tHlf7eYVmh7Zk5RbJgxLOw VZ/4TdbGxLkx4oJftoVYKC4EloLnmabreJhzb2wkL9EzZir7QZwKJhcJjSV5q8unyKG1 FsvQ== X-Forwarded-Encrypted: i=1; AJvYcCXU5DsMxeZLOneOphkNp7HDZtS9MwDW2HpgU1cKW1drw8m7IO+VpkFJKp6974exZqIv8J8nEg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwhKEF6TCV6IOHFLQ3dyEX7L160mGY7+3ONja3/14rCgOmriEIK lidA01HDWe519g5Rm0a+xizgU4jqsPIC2axKDimWZvMzFwJGUK1YEiYO2gto X-Gm-Gg: ASbGncsY7t7uN+LTsl5jjDCn/FN/tM7x+jLsKyP4tzDJqHFEbBZM8BSfcmyRnoQZBZp YOQGliPhS9QW4Ibzta3VjgXfQ9Z4DV8Gxi3KQmMPvpxXSmk0yfyCWZPTq7VlxEJrqXi/NNvCa3d JwHlFeiJ0E6//XXtG1EigKTf2y6H0vgyyU4EHD+D0d/jxIzJcnt0mlNH1mzwc2Qi6/kc0cPh3bX s8EeqLL9pKstsVQxiAkW8KOPiRh13H7J4BC4FVOvmAWhPZvo+OjqfRwukUYW5CuczzCJpcs7AWv eUX+90pltFDS X-Google-Smtp-Source: AGHT+IGb90x/0DmaiWESAOhGes3UjJ3cStUP3fCEWN8s1KorWI+IiFU3aWiEgLbE7RYaQmFksnjrwQ== X-Received: by 2002:a05:6830:2701:b0:72b:843c:ecf with SMTP id 46e09a7af769-72bfae4c265mr250910a34.20.1742323858524; Tue, 18 Mar 2025 11:50:58 -0700 (PDT) Received: from fedora ([2806:10ae:e:622a::3]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2c6712e43besm2748225fac.38.2025.03.18.11.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 11:50:58 -0700 (PDT) From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= In-Reply-To: <86plier0kz.fsf@gnu.org> References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> Date: Tue, 18 Mar 2025 12:50:56 -0600 Message-ID: <87iko6yxyn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Elijah Gabe P=C3=A9rez >> Date: Mon, 17 Mar 2025 14:37:04 -0600 >> When Emacs was compiled with compress-install, using submit-emacs-patch = gives an error because it >> search for maintainer address in file.el instead file.el.gz.=20 > Thanks, but this lacks details, IMO. AFAIU, submit-emacs-patch gleans > source file names from the patch file you are about to submit, and it > expands each file name in the patch against source-directory, before > looking them up for their maintainers. In the source tree (if you > still have it around) the files are not compressed. OTOH, if your > patch names files by their absolute file name (in which case > source-directory is not used), and the files are compressed in the > installation tree, then how did you produce the patch from compressed > files in the first place in a way that names the files without the .gz > extensions? My emacs-git directory (where i use to contribute) doesn't have the lisp files compressed, it seems that submit-emacs-patch search in source-directory (which i have it pointing to /usr/share/emacs/31.0.50/) for lisp.el, however my installed emacs was built with compress-install which i have lisp.el.gz instead. > IOW, please show an example of a patch that could be used to reproduce > this issue and the recipe to reproduce, Sure, here is: Steps to reproduce: 1. emacs -Q 2. eval: (setq source-directory "/usr/share/emacs/31.0.50/") 3. M-x submit-emacs-patch RET /path/to/test.patch RET RET and should display mail/message buffer with this #+begin_example To: bug-gnu-emacs@gnu.org Subject:=20 From: X-Debbugs-Cc: --text follows this line-- #+end_example and give an error: #+begin_example Opening input file: The file or directory does not exist, /usr/share/emac= s/31.0.50/lisp/simple.el #+end_example > and please tell whether you do or don't have the Emacs source tree > pointed to by source-directory. I have source-directory pointing to /usr/share/emacs/31.0.50/, changing it to my emacs-git directory path fix this. However I haven't found any documentation about this variable and changing its value, so I see it very dangerous do it. > Or maybe I'm missing something obvious, in which case please point out > what I missed. You didn't miss anything, I think I've explained enough. --==-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Eli Zaretskii <eliz@gnu.org> writes:

From: Elijah Gabe P=C3=A9rez <eg642616@gmail.com>
Date: Mon, 17 Mar 2025 14:37:04 -0600

When Emacs was compiled with compress-install, using submit-emacs-patc= h gives an error because it
search for maintainer address in file.el instead file.el.gz.

Thanks, but this lacks details, IMO. AFAIU, submit-emacs-patch gleans=
source file names from the patch file you are about to submit, and it
expands each file name in the patch against source-directory, before
looking them up for their maintainers. In the source tree (if you
still have it around) the files are not compressed. OTOH, if your
patch names files by their absolute file name (in which case
source-directory is not used), and the files are compressed in the
installation tree, then how did you produce the patch from compressed
files in the first place in a way that names the files without the .gz
extensions?

My emacs-git directory (where i use to contribute) doesn't have the lisp files compressed, it seems that submit-emacs-patch search in
source-directory (which i have it pointing to usr/share/emacs/31.0.50)
for lisp.el, however my installed emacs was built with compress-install
which i have lisp.el.gz instead.

IOW, please show an example of a patch that could be used to reproduce=
this issue and the recipe to reproduce,

Sure, here is:

Steps to reproduce:

  1. emacs -Q
  2. eval: (setq source-directory "usr/share/emacs/31.0.50")
  3. M-x submit-emacs-patch RET /path/to/test.patch RET RET

and should display mail/message buffer with this

To: bug-gnu-emacs@gnu.org
Subject:=20
From:
X-Debbugs-Cc: --text follows this line--

and give an error:

Opening input file: The file or directory does not exist, /usr/share/emacs/=
31.0.50/lisp/simple.el

and please tell whether you do or don't have the Emacs source tree
pointed to by source-directory.

I have source-directory pointing to usr/share/emacs/31.0.50, changin= g
it to my emacs-git directory path fix this.

However I haven't found any documentation about this variable and
changing its value, so I see it very dangerous do it.

Or maybe I'm missing something obvious, in which case please point out=
what I missed.

You didn't miss anything, I think I've explained enough.

--==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=test.patch diff --git a/lisp/simple.el b/lisp/simple.el index 579b9ee9118..5e15958033e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -54,6 +54,7 @@ amalgamating-undo-limit the maximum number of changes considered is when amalgamating. A value of 1 means that nothing is amalgamated.") + (defgroup killing nil "Killing and yanking commands." :group 'editing) --=-=-= Content-Type: text/plain -- - E.G via GNU Emacs and Org. --=-=-=-- From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Mar 2025 20:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Cc: philipk@posteo.net, 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174233119110611 (code B ref 77083); Tue, 18 Mar 2025 20:54:05 +0000 Received: (at 77083) by debbugs.gnu.org; 18 Mar 2025 20:53:11 +0000 Received: from localhost ([127.0.0.1]:43518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tudvz-0002l4-0B for submit@debbugs.gnu.org; Tue, 18 Mar 2025 16:53:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46830) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tudvu-0002jK-Ag for 77083@debbugs.gnu.org; Tue, 18 Mar 2025 16:53:08 -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 ) id 1tudvo-0004II-SZ; Tue, 18 Mar 2025 16:53:00 -0400 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=Vsx0So+KMZ3AkOL/epMVV5wwHYsB/EqQ8txCPaha06Q=; b=TLsOUW+8Hi/ymV2Z+6CK eSur4F4aFf1XvjjV+3eH6E6KhsFskfrIxNerxmTUnchW+KWHQEfjF9hDpAotboFhb9djUAdQJ3hmj 56AII9ICA5kIAvfbCbYqRDFNbeRXlHw2NLLr21CEL+hUInkX2OKiGhSyE4N5imPaaeW3bewGIu6Pv DgfCIWp9Sc2rBcM5ZObEqb+BANwb1tNzjEs2lKT2ewDMz/tMzX27GyBSTNZjtFozvKBBW+WJQFT2m eIYxk7hWWsKbgF7Fhb8qoIOd3OLfGV58C7qeTFxAp7F7sypA3wO9CNNZOH9zWaWyxwR3UhTJT6GVb z9fh0DdYwu7Orw==; Date: Tue, 18 Mar 2025 22:52:57 +0200 Message-Id: <86zfhioyc6.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87iko6yxyn.fsf@gmail.com> (message from Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= on Tue, 18 Mar 2025 12:50:56 -0600) References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> <87iko6yxyn.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Elijah Gabe Pérez > Cc: Philip Kaludercic , 77083@debbugs.gnu.org > Date: Tue, 18 Mar 2025 12:50:56 -0600 > > Eli Zaretskii writes: > > From: Elijah Gabe Pérez > Date: Mon, 17 Mar 2025 14:37:04 -0600 > > When Emacs was compiled with compress-install, using submit-emacs-patch gives an error because it > search for maintainer address in file.el instead file.el.gz. > > Thanks, but this lacks details, IMO. AFAIU, submit-emacs-patch gleans > source file names from the patch file you are about to submit, and it > expands each file name in the patch against source-directory, before > looking them up for their maintainers. In the source tree (if you > still have it around) the files are not compressed. OTOH, if your > patch names files by their absolute file name (in which case > source-directory is not used), and the files are compressed in the > installation tree, then how did you produce the patch from compressed > files in the first place in a way that names the files without the .gz > extensions? > > My emacs-git directory (where i use to contribute) doesn't have the lisp > files compressed, it seems that submit-emacs-patch search in > source-directory (which i have it pointing to usr/share/emacs/31.0.50) > for lisp.el, however my installed emacs was built with compress-install > which i have lisp.el.gz instead. > > IOW, please show an example of a patch that could be used to reproduce > this issue and the recipe to reproduce, > > Sure, here is: > > Steps to reproduce: > > 1 emacs -Q > 2 eval: (setq source-directory "usr/share/emacs/31.0.50") > 3 M-x submit-emacs-patch RET /path/to/test.patch RET RET > > and should display mail/message buffer with this > > > To: bug-gnu-emacs@gnu.org > Subject: > From: > X-Debbugs-Cc: --text follows this line-- > > and give an error: > > > Opening input file: The file or directory does not exist, /usr/share/emacs/31.0.50/lisp/simple.el > > and please tell whether you do or don't have the Emacs source tree > pointed to by source-directory. > > I have source-directory pointing to usr/share/emacs/31.0.50, changing > it to my emacs-git directory path fix this. So the problem in your case is not that the files are compressed, the problem is that the source tree doesn't exist on that system? In that case, I believe the patch suggested by Philip up-thread will solve this. Can you try it? Thanks. From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Mar 2025 21:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: philipk@posteo.net, 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174233350830041 (code B ref 77083); Tue, 18 Mar 2025 21:32:03 +0000 Received: (at 77083) by debbugs.gnu.org; 18 Mar 2025 21:31:48 +0000 Received: from localhost ([127.0.0.1]:43623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tueXL-0007oS-Ns for submit@debbugs.gnu.org; Tue, 18 Mar 2025 17:31:48 -0400 Received: from mail-ot1-x341.google.com ([2607:f8b0:4864:20::341]:44498) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tueXH-0007mh-0B for 77083@debbugs.gnu.org; Tue, 18 Mar 2025 17:31:45 -0400 Received: by mail-ot1-x341.google.com with SMTP id 46e09a7af769-7271cc3d73eso3181867a34.1 for <77083@debbugs.gnu.org>; Tue, 18 Mar 2025 14:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742333496; x=1742938296; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=O98FYAkjdDhiNMVReJNzHwmaH6i+Q2kcaEY2oSE5TtY=; b=K4G+UJise+5V2dfijFEfn+MtX/HyY9Hk+sfJgfD7+W80h1OT6/GW+h2wGrk2+HFM1A 5TEUc3bVK268T4lcKsWfAC3lwr4LN1xB4Y0VdOpIu2ilzlFP9TQiGlPJUNVsq7DTDxe8 Pp3ESpvanqeehcfhRLTEItphIrUo6t7a0hnRHkmLtQs79l0CUys+bDTs0Zs+I8ZS2lZS DO8lizGycjU+m21b3TlYt9DGs0CrBYtJFoE7N6TJAONYzItNNNK2YOb5mtgyCvDsZYXo kR8/ohjH/6OZjwbfPRk6TRj+pX+snQ3Iv3GU7a1zdxd8xWPg2NpYaiPDudKAoKHW5Qgq MKpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742333496; x=1742938296; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=O98FYAkjdDhiNMVReJNzHwmaH6i+Q2kcaEY2oSE5TtY=; b=Hha1HnKJpyqRj5SUwwl0t65Dm3TlBdQBxmOCOKXEC2dguXlIhE8iYbZDicwcyAMrPT c+tdS6SSJ3a2HngMlMf+JexnCjg4eJJRbl9uffY+7KCEwjRW39bz51e72AE6kBDVJHYN 4bwV2hVSULPFrkTeFZjeAy0kARgvm/wHiOFJRG1h7vVU4pj1QKsfj6sCFEQBpV2lLlG+ jIKIP+uekL9uJsTvNQK4prl/f7/49clTg+P/VOsNyJ9g1USAaj4NZF5nbthdvu47CHb7 PuxpqmJ+dSXawmQBC187hO/cNJi0uqcccwjM+ScJKaHWXVFci5F0qPyGS46GucL2I7z8 Yp1A== X-Forwarded-Encrypted: i=1; AJvYcCWRtH0dobWrthZ7SqBsWZYmg/KpW/YTrLcYfHuuNhzr5H8l7IbWcqrb2/HLzQeENfEXrL374A==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw8f6RrwqeZn7L41C06NnG7dq5gn2epmhlWSUPqA7Hm8HqU8sJT j2O8EXCtxgbhOMh3xLjEB9QEREcg/phaKE0nfjPjMrldE6HDGyHwyyRiHKFs X-Gm-Gg: ASbGncub3lyuUH3yPFRelp9V46r6wsGr0pTVSfmpmD3U2uAGUTLqAmrsmdMmE/2j6oH MDOP2swXx9w6Tm9Pwc49tggDlphhtorag2YCNbAhqRlnTjfi5Uyq56vyCykqhhQreUk/5kS+6th Lg6XmvdwEIRn9O86Jp/BXl8a1KCa0ebPWX6AxdHmSK6xDBaztdzqkF28AN4cZS4SAUY+DVcKkIU 2osK2jrKmpeDBekwz9Lg1evjTQx0NddIZsoEJWdjk9kpBbaOZ4KwVN1NjeOQ8VF7SOrd/Nl7JCz 6vh7Sp63vuHP X-Google-Smtp-Source: AGHT+IHhFS7Ei4ldafUigI3HKWKnE877pKDwLXx3s3x87GuJcIkq5w83LFRXMgzXJmmDcpJdt1FOrg== X-Received: by 2002:a05:6830:2715:b0:72a:1ec6:d47b with SMTP id 46e09a7af769-72bfbe536camr233451a34.22.1742333494996; Tue, 18 Mar 2025 14:31:34 -0700 (PDT) Received: from fedora ([2806:10ae:e:622a::3]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-72bf911b5d7sm153863a34.5.2025.03.18.14.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 14:31:34 -0700 (PDT) From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= In-Reply-To: <86zfhioyc6.fsf@gnu.org> References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> <87iko6yxyn.fsf@gmail.com> <86zfhioyc6.fsf@gnu.org> Date: Tue, 18 Mar 2025 15:31:31 -0600 Message-ID: <87msdixbyk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Eli Zaretskii writes: > So the problem in your case is not that the files are compressed, the > problem is that the source tree doesn't exist on that system? In that > case, I believe the patch suggested by Philip up-thread will solve > this. Can you try it? Yeah, I've tried it and it solves this issue. However, maintainer address is not inserted in X-Debbugs-Cc:. Maybe Should i set source-directory to my emacs-git path in my config? Or there should be a defcustom instead using source-directory? Something like this? #+begin_src emacs-lisp (defcustom submit-emacs-patch-src-path source-directory "Path to Emacs source directory for submit patch." :type 'string) #+end_src --==-=-= Content-Type: text/html

Eli Zaretskii <eliz@gnu.org> writes:

So the problem in your case is not that the files are compressed, the
problem is that the source tree doesn't exist on that system? In that
case, I believe the patch suggested by Philip up-thread will solve
this. Can you try it?

Yeah, I've tried it and it solves this issue.
However, maintainer address is not inserted in X-Debbugs-Cc:.

Maybe Should i set source-directory to my emacs-git path in my config?

Or there should be a defcustom instead using source-directory?

Something like this?

(defcustom submit-emacs-patch-src-path source-directory
  "Path to Emacs source directory for submit patch."
  :type 'string)
--==-=-=-- --=-=-= Content-Type: text/plain -- - E.G via GNU Emacs and Org. --=-=-=-- From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Mar 2025 12:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Cc: philipk@posteo.net, 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.17423868955347 (code B ref 77083); Wed, 19 Mar 2025 12:22:01 +0000 Received: (at 77083) by debbugs.gnu.org; 19 Mar 2025 12:21:35 +0000 Received: from localhost ([127.0.0.1]:49221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tusQR-0001OA-66 for submit@debbugs.gnu.org; Wed, 19 Mar 2025 08:21:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47584) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tusQO-0001Mf-3g for 77083@debbugs.gnu.org; Wed, 19 Mar 2025 08:21:33 -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 ) id 1tusQI-0003Hu-Bo; Wed, 19 Mar 2025 08:21:26 -0400 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=y0zKkwiTIeEbwzobYHQCGJLkwYQs8uav5NA2oSX9rVs=; b=REjZNII97Xry1Ozi1Fgv bmZ1LkGe8xJZlBmclo0b4mO2xCCD9rXhmECxh8k6v1uazZR1HtPP/ldiecxmaPBMydGxwOpDZwrHq +Sad652b1BsPjp3e21H2P77xTeQCIAgZwHhbxTCxIS9uxlZ9uR6bYPVUrdSZimftqo64MT9JG0X2S ytNivmdjHt+5Ve25fMx6UfKcKPmu9hbN/nn4KuU7w1l9WrFqL2s4nZRefPVZMUuaBNmP4+cYZ/3ou lc74kfTJSeZru6pa8067yJVeDwvCmzJngcvzTgT5YCNZpsdSKBOMmLW+jdIwBt3L4OOLFjK3hJXZM ULlbHqiydJyAtw==; Date: Wed, 19 Mar 2025 14:20:56 +0200 Message-Id: <86sen9p5xz.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87msdixbyk.fsf@gmail.com> (message from Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= on Tue, 18 Mar 2025 15:31:31 -0600) References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> <87iko6yxyn.fsf@gmail.com> <86zfhioyc6.fsf@gnu.org> <87msdixbyk.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Elijah Gabe Pérez > Cc: philipk@posteo.net, 77083@debbugs.gnu.org > Date: Tue, 18 Mar 2025 15:31:31 -0600 > > Eli Zaretskii writes: > > So the problem in your case is not that the files are compressed, the > problem is that the source tree doesn't exist on that system? In that > case, I believe the patch suggested by Philip up-thread will solve > this. Can you try it? > > Yeah, I've tried it and it solves this issue. Then I think Philip should install that change. > However, maintainer address is not inserted in X-Debbugs-Cc:. If you don't have the source tree with the file which you are patching, how do you expect Emacs to find the maintainer? > Maybe Should i set source-directory to my emacs-git path in my config? You can set it to any directory where you have the Emacs source tree. > Or there should be a defcustom instead using source-directory? I don't think we want a defcustom in this case, no. The doc string of source-directory already says not to rely on its being there. From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Mar 2025 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: philipk@posteo.net, 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174240472824963 (code B ref 77083); Wed, 19 Mar 2025 17:19:01 +0000 Received: (at 77083) by debbugs.gnu.org; 19 Mar 2025 17:18:48 +0000 Received: from localhost ([127.0.0.1]:52942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tux44-0006UX-4O for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:18:48 -0400 Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]:48430) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tux40-0006UE-Fv for 77083@debbugs.gnu.org; Wed, 19 Mar 2025 13:18:46 -0400 Received: by mail-oi1-x241.google.com with SMTP id 5614622812f47-3fa6c54cc1aso4316470b6e.1 for <77083@debbugs.gnu.org>; Wed, 19 Mar 2025 10:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742404718; x=1743009518; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Teu4+OoQD2DxYt+afMK2HEoiCxcFvRD84Lc+aOb05sE=; b=NEXIhqdFi9bEI3NE9ejVD8nr8zfntOm9gp74e+b/av6moMHRQ/RhNyz3yMqyrVBEua jhxfKMEh7jEQc7Fo0cQ4UiDuSoFRCdx/GC3O+kq6weC2iauimQD56EvLXIQLV8U/1G7K Nc2AZFmGAUhd3EJMKBblR+xb+xWszd11dD6klM5QuytVoXohOQZj2g10sq8XxoWBdY8b 52B9LihV85WGJKentYBhcFI83lnP0Umg0gfG8nwb1uF2Xwba8mwyC3Q2PBmbOg6Mo3zy tm+whOcc1zb4s4WcZU4M5MdiuUlw+syMhWO8na48szjKSfnoUKVNofop/T+bsxK+PgJi Y5uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742404718; x=1743009518; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Teu4+OoQD2DxYt+afMK2HEoiCxcFvRD84Lc+aOb05sE=; b=jAhqRybrjx0quDXL14KM6cprhI68xwFGbP/yIw8S12xfJUxzlfpM/Zi9GjoDInuszP nHHorJyckKyju9NgLIjgtoHl7WWn1TmxFOinuLFJK7oq26CC2Racls9QgldCqm4KU6mQ /UxZ6xeL9KrQPhNQdkWup2HvbUYH97XL1nNKQV5tnO2pKR4zjBqUqqxl1foFTOdQh4yp RjDvmbyu0qHIor3uIRhIrmi/j/ysihUH7ytlNgiNMiGZIfmtMS8WpP+O1cApps0WGg4E +HuEYDFA9TEYYZ4ck6qG/7GUC9LHrq2yBllAH/FYYf8/1LVd+dV92O2MhqcntWhCw9KO Xtww== X-Forwarded-Encrypted: i=1; AJvYcCUpfv18wPX6mHH8lY3heXryRlu4yK9U/CpkYhM9P09NW5t9muyqiAnLbCUCanQLTOaLdBCdyg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzQ4UtknC5GE9EQNuDgxUOJUgIppd5zO2ccsEDoJrcnqWlCAdVl z/nm/Zn2W5D0iopFR3knPT6IZUTBrdxqnzfGD30zd8R4NGsxVcvTUDpjOpfM X-Gm-Gg: ASbGncuv5kOb9Eoc7yapWmEO6GhI+j5Jx3S2GbbN8ZW9gZtS/PnZemmgadWHjyokh38 YejOmnctJQS97m+GLGM7c8F3REWXCY1+bLPOj93xp5Nel12kgs2DGReKoIR2vOWXejm85ulF/Jf U7YG+6341PJ02OHvetMjiCbOoBHoZAF/uzhjUdsfrEDZvEVQyGjyTSNueZPx1G+18Z1Y88kG4Cb aeATcyzBdRJZXYWIQA3O9pOBsao1LogxQWEN/mGDVr8jcAs2Sh90P562D/MxpqAJCMPYldhSQek zPkT1lI+6DHr X-Google-Smtp-Source: AGHT+IFs5XPYH4QNY+MqKR474QK/3akPiVJKWIAz4WShFYGN0wCqGJtV3B/chY9yeo/bKQUOsDaHrQ== X-Received: by 2002:a05:6808:1a23:b0:3f4:1b67:f074 with SMTP id 5614622812f47-3fead57e0cemr3111313b6e.7.1742404717589; Wed, 19 Mar 2025 10:18:37 -0700 (PDT) Received: from fedora ([2806:10ae:e:622a::3]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3fcd60e744dsm2651014b6e.47.2025.03.19.10.18.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:18:37 -0700 (PDT) From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= In-Reply-To: <86sen9p5xz.fsf@gnu.org> References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> <87iko6yxyn.fsf@gmail.com> <86zfhioyc6.fsf@gnu.org> <87msdixbyk.fsf@gmail.com> <86sen9p5xz.fsf@gnu.org> Date: Wed, 19 Mar 2025 11:18:35 -0600 Message-ID: <878qp1aqhg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Elijah Gabe P=C3=A9rez >> Cc: philipk@posteo.net, 77083@debbugs.gnu.org >> Date: Tue, 18 Mar 2025 15:31:31 -0600 >> Eli Zaretskii writes: >> Maybe Should i set source-directory to my emacs-git path in my config? > You can set it to any directory where you have the Emacs source tree. Ok, then this can be closed. Thanks. --==-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Eli Zaretskii <eliz@gnu.org> writes:

From: Elijah Gabe P=C3=A9rez <eg642616@gmail.com>
Cc: philipk@posteo.net, 77083@debbugs.gnu.org
Date: Tue, 18 Mar 2025 15:31:31 -0600

Eli Zaretskii <eliz@gnu.org> writes:

Maybe Should i set source-directory to my emacs-git path in my config?=

You can set it to any directory where you have the Emacs source tree.<= br />

Ok, then this can be closed.
Thanks.

--==-=-=-- --=-=-= Content-Type: text/plain -- - E.G via GNU Emacs and Org. --=-=-=-- From unknown Thu Jun 19 14:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Mar 2025 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Cc: philipk@posteo.net, 77083@debbugs.gnu.org Received: via spool by 77083-submit@debbugs.gnu.org id=B77083.174240483025543 (code B ref 77083); Wed, 19 Mar 2025 17:21:01 +0000 Received: (at 77083) by debbugs.gnu.org; 19 Mar 2025 17:20:30 +0000 Received: from localhost ([127.0.0.1]:52955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tux5h-0006dv-KK for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:20:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36088) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tux5f-0006dj-WE for 77083@debbugs.gnu.org; Wed, 19 Mar 2025 13:20:28 -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 ) id 1tux5a-0006ey-CQ; Wed, 19 Mar 2025 13:20:22 -0400 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=GagmTzkk7YZOVdTxWrliIe0NFCqUM/cbkdjPQ4qSmgk=; b=bNPHwmkwjJNHkWASrluH 1BX83DYcbZXoDVJquFC/U6PRCGfcRQto7ysQffelw32rBOzZ13unqf641D5PTv+jxK2VcFsvTUZzT sFkJqnldGd13OvKQjg9lDT7RjEnzwS8Rya4ojdgw07zmpsMdpc0k+SWmhO+1G69TouiOg6Pe0zUir zEYEeGC3L6sB5e9fuYylRiFb7/SSjRhOCQ+5IkC/Yt9iRc0YiP3CU1iVTBgSSL9G/Uj3MsJiZuv9Z fkkPqGvdW+ZelqVYXPDLYlF6P+O1WO3GmrNaAByym8FxqOBZIN31Ae6hzMalnr6svvPzKNjvpXFJK sDfWavJSJyIikA==; Date: Wed, 19 Mar 2025 19:20:14 +0200 Message-Id: <86wmclndip.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <878qp1aqhg.fsf@gmail.com> (message from Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= on Wed, 19 Mar 2025 11:18:35 -0600) References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> <87iko6yxyn.fsf@gmail.com> <86zfhioyc6.fsf@gnu.org> <87msdixbyk.fsf@gmail.com> <86sen9p5xz.fsf@gnu.org> <878qp1aqhg.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Elijah Gabe Pérez > Cc: philipk@posteo.net, 77083@debbugs.gnu.org > Date: Wed, 19 Mar 2025 11:18:35 -0600 > > Eli Zaretskii writes: > > From: Elijah Gabe Pérez > Cc: philipk@posteo.net, 77083@debbugs.gnu.org > Date: Tue, 18 Mar 2025 15:31:31 -0600 > > Eli Zaretskii writes: > > Maybe Should i set source-directory to my emacs-git path in my config? > > You can set it to any directory where you have the Emacs source tree. > > Ok, then this can be closed. After Philip installs his patch, sure. From unknown Thu Jun 19 14:05:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= Subject: bug#77083: closed (Re: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files) Message-ID: References: <87jz8kgbyb.fsf@posteo.net> <87ldt39yxb.fsf@gmail.com> X-Gnu-PR-Message: they-closed 77083 X-Gnu-PR-Package: emacs Reply-To: 77083@debbugs.gnu.org Date: Wed, 19 Mar 2025 17:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1742405822-28615-1" This is a multi-part message in MIME format... ------------=_1742405822-28615-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77083@debbugs.gnu.org. --=20 77083: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77083 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1742405822-28615-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77083-done) by debbugs.gnu.org; 19 Mar 2025 17:36:09 +0000 Received: from localhost ([127.0.0.1]:52985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuxKr-0007Q7-4i for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:36:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60801) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuxKl-0007PR-Uh for 77083-done@debbugs.gnu.org; Wed, 19 Mar 2025 13:36:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 801CE240104 for <77083-done@debbugs.gnu.org>; Wed, 19 Mar 2025 18:35:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1742405757; bh=U0MtJAkLVAP+Tfsz7vH+oIQbWzml/ojp2zVKvqq2tHs=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=BZT7RPZhz7aRqPCOQwO8HcQOPmERuQv7LY4pprGs1sudmyqvf0SnBjtXRE/FxgOYL y1vef7+1dzlKgJVr6U/JCUcA8gm8ux6/4pLh5REqWsQ60N8FS6REsYbiuUSAf/cRLG Duiypm1WnI7g3dYRusKJ2xEHu1zw1XGmayRpqAZ8MadneSg8xAiWcoyVa6rB/sbgba 0vq7Vw0GjlJhyC4xiko2u8OXbxFJcfkQjWJLnrobHMV4KXFr8rOo5sPps+0Z/il5TB uOsw5YBJsXnOtvX8p3k8e9p3wmW+GIoT7joJvX2k4Mh83jRRPYvWyIID5SEAvfQXGR wQU/H2quLSe9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZHwq06h1qz9rxG; Wed, 19 Mar 2025 18:35:56 +0100 (CET) From: Philip Kaludercic To: Eli Zaretskii Subject: Re: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files In-Reply-To: <86wmclndip.fsf@gnu.org> References: <87ldt39yxb.fsf@gmail.com> <86plier0kz.fsf@gnu.org> <87iko6yxyn.fsf@gmail.com> <86zfhioyc6.fsf@gnu.org> <87msdixbyk.fsf@gmail.com> <86sen9p5xz.fsf@gnu.org> <878qp1aqhg.fsf@gmail.com> <86wmclndip.fsf@gnu.org> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Date: Wed, 19 Mar 2025 17:35:56 +0000 Message-ID: <87jz8kgbyb.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77083-done Cc: Elijah Gabe =?utf-8?Q?P=C3=A9rez?= , 77083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> From: Elijah Gabe P=C3=A9rez >> Cc: philipk@posteo.net, 77083@debbugs.gnu.org >> Date: Wed, 19 Mar 2025 11:18:35 -0600 >>=20 >> Eli Zaretskii writes: >>=20 >> From: Elijah Gabe P=C3=A9rez >> Cc: philipk@posteo.net, 77083@debbugs.gnu.org >> Date: Tue, 18 Mar 2025 15:31:31 -0600 >>=20 >> Eli Zaretskii writes: >>=20 >> Maybe Should i set source-directory to my emacs-git path in my config? >>=20 >> You can set it to any directory where you have the Emacs source tree. >>=20 >> Ok, then this can be closed. > > After Philip installs his patch, sure. Done :) Thanks for the report Elijah, and your help in testing the patch! ------------=_1742405822-28615-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Mar 2025 20:37:23 +0000 Received: from localhost ([127.0.0.1]:32948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuHD9-0004YO-2q for submit@debbugs.gnu.org; Mon, 17 Mar 2025 16:37:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39942) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuHD5-0004XU-Nu for submit@debbugs.gnu.org; Mon, 17 Mar 2025 16:37:20 -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 ) id 1tuHCw-0004G2-KY for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2025 16:37:12 -0400 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tuHCu-0006L2-CN for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2025 16:37:09 -0400 Received: by mail-oi1-x244.google.com with SMTP id 5614622812f47-3f8ae3ed8adso2552472b6e.3 for ; Mon, 17 Mar 2025 13:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742243827; x=1742848627; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=CI0eQon35s2Gu6tOeXiNkCP6CsQLpusBs+HCbesUxug=; b=TbfQsPAGjO9YQCiCZZL3tbOHHAc8ELtui89QdnGp0KxVXdACXZ+YwGFeXC23FKNZZr BycJPftib2uKP0pZINPlVQSDhdz5Cuia9k+6i1wEac4Zar/PYx/bGMcj0khwdX6NZW3f /itsYBKMSA4XoZvXH5GPe1D1YSa3bIKLY1e7HwNEY0+EqArZjz1qinM8zWoF2sfafy/6 BPOZ0WnR9ae0qGjK6gtaMeYMVzydKaBI59TL9pY6ErbM8Ci/4MSYb9Dlihc0P1aODkqu DzR33irHpkRsvygmS871hmfcUAt1OmW2opxpkZry24p4ADR2m5L8ywaD19qwASE7HQBk 1/Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742243827; x=1742848627; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CI0eQon35s2Gu6tOeXiNkCP6CsQLpusBs+HCbesUxug=; b=GyDccYCrmlyZ4pu/x3QZhZU9WVlAe1TgylioFr33hmr4qrPYCIv0z3o5Oy8AnLNsAx RrjGOdGFOL4Uoib3zHJfQ10VVKwPt6QlEcN4qBNnX78hAvIdWXcZsrcftyR4+zBIQt6H +U7hYb61Owk6u7zZNtJDle5W2dMRAoQq8F1QTt3mTW72/uCEezPM6BPVE3vftVguyS8a SajmbpoC/fZwjaVCf9rJ3mlrL3Q9hDS+xoY/iLW/q7Xss9KqmEfIXGk5JmduLJ3EsrJ4 koI/HR8UTMgUZxu357YVRI70evvFKYv0lsdRvQat+7SN+U+YGxu8X6U/at8ri+z4y1qq k4UA== X-Gm-Message-State: AOJu0YyjJk060aEXIGF8jBaG30OhEQAY9w2NE73QT47EdkzKzAxyRiZP z6y/H1+Xx27tqGUA7/Pl4Z0FTRmfFauEk9sYxGowiOmximwZRzI68+u15qoK X-Gm-Gg: ASbGncuTyrmY8EpJ4bK/PxhUltGbmKtCc6t2UP7GLAVfltlmbuQhjqMHlClkygQ4imO 1leNHhXVjIo5/otzGH5ca6h4ZSulWtXw/O/+RuWs8ZjLy0OOEOGcdvNnXROsZ1+AB1Deczf/ARA eyrxWu2f3Z5xvdio6uVSGrBPvFGdbkaGFDDKT5iJzirF0yi+kq9TB5qXx4JG5EN8iFl5hfKka2T Zclzlm/wXOqc4/zNlhf0D/8vJStCvie3m/cAO+HQdwRW0GiAh2bjRumdIopG8SDzjedX+/9cy4/ 2TLJuFULPf02 X-Google-Smtp-Source: AGHT+IHb1RZLcd1Cb2gHKqgRb01NV7xmp8me1uqLjvNy493fZ7uTSib+pCpvcD44nEzWnwS2SwS7VA== X-Received: by 2002:a05:6808:138d:b0:3f9:1fee:8040 with SMTP id 5614622812f47-3fdee27912dmr7746777b6e.5.1742243826644; Mon, 17 Mar 2025 13:37:06 -0700 (PDT) Received: from fedora ([2806:10ae:e:622a::3]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3fcd403b065sm1898469b6e.4.2025.03.17.13.37.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 13:37:06 -0700 (PDT) From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= To: bug-gnu-emacs@gnu.org Subject: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files X-Debbugs-Cc: Date: Mon, 17 Mar 2025 14:37:04 -0600 Message-ID: <87ldt39yxb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::244; envelope-from=eg642616@gmail.com; helo=mail-oi1-x244.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, 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-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When Emacs was compiled with compress-install, using =submit-emacs-patch= gives an error because it search for maintainer address in =file.el= instead =file.el.gz=. In GNU Emacs 31.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-03-16 built on bd673d7b71834db996f6e93e913b9ec3 System Description: Fedora Linux 41 (Worksta [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (eg642616[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (eg642616[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 HTML_OBFUSCATE_05_10 BODY: Message is 5% to 10% HTML obfuscation X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain When Emacs was compiled with compress-install, using =submit-emacs-patch= gives an error because it search for maintainer address in =file.el= instead =file.el.gz=. In GNU Emacs 31.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-03-16 built on bd673d7b71834db996f6e93e913b9ec3 System Description: Fedora Linux 41 (Workstation Edition) --==-=-= Content-Type: text/html

When Emacs was compiled with compress-install, using submit-emacs-patch gives an error because it search for maintainer address in file.el instead file.el.gz.

In GNU Emacs 31.0.50 (build 1, x8664-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-03-16 built on bd673d7b71834db996f6e93e913b9ec3 System Description: Fedora Linux 41 (Workstation Edition)

--==-=-=-- --=-=-= Content-Type: text/plain -- - E.G via GNU Emacs and Org. --=-=-=-- ------------=_1742405822-28615-1--