From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62609: 29.0.60; [PATCH] src/comp.c: New variable `comp-el-to-eln-strip-prefix` for `comp-el-to-eln-rel-filename` Date: Mon, 03 Apr 2023 17:37:26 +0300 Message-ID: <83pm8luj4p.fsf@gnu.org> References: <835yadw3f7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14493"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62609-done@debbugs.gnu.org, sunlin7@yahoo.com To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 03 16:38:30 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 1pjLKI-0003Y2-6G for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Apr 2023 16:38:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjLJt-0008UD-CA; Mon, 03 Apr 2023 10:38:05 -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 1pjLJr-0008SK-HY for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 10:38:03 -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 1pjLJr-00087D-9u for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 10:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjLJr-0002vN-5z for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 10:38:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch wontfix Mail-Followup-To: 62609@debbugs.gnu.org, eliz@gnu.org, sunlin7@yahoo.com Original-Received: via spool by 62609-done@debbugs.gnu.org id=D62609.168053263211157 (code D ref 62609); Mon, 03 Apr 2023 14:38:02 +0000 Original-Received: (at 62609-done) by debbugs.gnu.org; 3 Apr 2023 14:37:12 +0000 Original-Received: from localhost ([127.0.0.1]:44959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjLJ1-0002tp-FT for submit@debbugs.gnu.org; Mon, 03 Apr 2023 10:37:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjLJ0-0002tZ-1p; Mon, 03 Apr 2023 10:37:10 -0400 Original-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 1pjLIu-00081I-KT; Mon, 03 Apr 2023 10:37:04 -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=YD6k9DHoW/+kCv1XYoG2vn9qlAWDnbfjskl/4eDemAw=; b=DLOXYmadcfoD 8KvPQcjNddI3NzTsT6QPYAGqpn8jwO8AdtPc9EcYhnPM2aWclmhgfAdo7Uj8v/ubss3lDweVrf3Je WqCqDSXALVyvEOm0DT3NoLdZPLVN8lv7kqqI3OHErH7Yy2zotwnUWP6xaTdNCeiwY/kHBDcRHkZDN zpLH2oz0Y764HkeL4BYsVxbyvwrMkYqQHs1wyUe2nLxfeP0uKnb7EUNPjPTpMRBd+0FDfv8Hnt+rP DeHucgR6RV7tX54n2hIVLWGELJG3A/tlpYoCoeLHgyWGNjB7DgIUDDwUm+ckmoXlneSK5BYaKnxL1 6YSuDBb2N2UdWnxyhScAnQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjLIt-0004Ed-NT; Mon, 03 Apr 2023 10:37:04 -0400 In-Reply-To: (message from Andrea Corallo on Mon, 03 Apr 2023 14:08:36 +0000) 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:259188 Archived-At: tags 62609 wontfix thanks > From: Andrea Corallo > Cc: lin Sun , 62609@debbugs.gnu.org > Date: Mon, 03 Apr 2023 14:08:36 +0000 > > Eli Zaretskii writes: > > >> From: lin Sun > >> Date: Mon, 3 Apr 2023 00:53:18 +0000 > >> > >> You're right, the patch will allow to relocate/copy an elisp source folder from > >> /home/userA/.emacs.d/epla/**.el to > >> /home/userB/.emacs.d/epla/**.el. > >> So the patch should be the > >> "0002-New-variable-comp-el-to-eln-strip-prefix-for-comp-el.patch" > >> attached in this email. > >> > >> And agree with you, it's dangerous when this variable is configured > >> with an arbitrary value. > >> So please feel free to close this ticket. Thanks > > > > I'd like to hear what Andrea thinks about this, before I decide > > whether to close. > > Hi all, > > I agree we should not add a new knob in order to move eln-cache without > moving the source *.el. The use-case sounds like a corner case and this > new variable would be IMO very sensitive to miss configurations. OK, so closing.