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#66902: 30.0.50; Recognize env -S/--split-string in shebangs Date: Sat, 18 Nov 2023 11:41:52 +0200 Message-ID: <83ttpjmm8v.fsf@gnu.org> References: <87ttq3lvpm.fsf@gmail.com> <871qcuuacb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66902@debbugs.gnu.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 18 10:43:23 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 1r4HrH-0006ce-E9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Nov 2023 10:43:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4Hqx-00011n-Dp; Sat, 18 Nov 2023 04:43:03 -0500 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 1r4Hqv-000115-QY for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 04:43:01 -0500 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 1r4Hqv-0001kM-IN for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 04:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4Hqw-00083o-8e for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 04:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Nov 2023 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66902 X-GNU-PR-Package: emacs Original-Received: via spool by 66902-submit@debbugs.gnu.org id=B66902.170030052330915 (code B ref 66902); Sat, 18 Nov 2023 09:43:02 +0000 Original-Received: (at 66902) by debbugs.gnu.org; 18 Nov 2023 09:42:03 +0000 Original-Received: from localhost ([127.0.0.1]:47818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Hpy-00082Z-Qt for submit@debbugs.gnu.org; Sat, 18 Nov 2023 04:42:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Hpw-000825-Hd for 66902@debbugs.gnu.org; Sat, 18 Nov 2023 04:42:01 -0500 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 1r4Hpq-0001aZ-G5; Sat, 18 Nov 2023 04:41:54 -0500 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=FgrXWSvJ3FM6WqdNRr0jX3XNGlc4wKHdg3joLDSX6ns=; b=BbjsMUwIPtWLgXo5Q49L /FOE1dOI9Ccjetw46Qa1qC3ZX2/balxN035Js5NWhLFkR/7J3aDyEOOpdyFdeqJBuwLCGB9yxN+Y9 y/YbpquuE+X1wRxyjpULNtQyxFUXq6un9hlzjHc2YvhIYzshCoeqy4NS40QAO3QGU3jC3suCCUDGO OszavfvyQ/wkgN6IhIFEmWjVMCRIaKfxB7UX/2NxYZ5LrPEl3PtzIevSXpluk7LLWGCzypFEKXpC5 FNIXfPaGp1kCdxXyj+dwoNxRFsWfOdb85KUPSF/p411jx+NhwTCCNIJTrwCBLJ9MDhJCcENNVmABE kIYunRVKxWrU+w==; In-Reply-To: <871qcuuacb.fsf@gmail.com> (message from =?UTF-8?Q?K=C3=A9vin?= Le Gouguec on Sun, 12 Nov 2023 18:53:40 +0100) 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:274543 Archived-At: > From: Kévin Le Gouguec > Date: Sun, 12 Nov 2023 18:53:40 +0100 > > > 3. Assuming we do want to amend that regexp, would it be possible to use > > rx here? OT1H guessing "no" because files.el is pre-reloaded, whereas > > rx.el is not; OTOH I see that files.el requires easy-mmode at > > compile-time, and that package does not show up in loadup.el, so… > > settling for "maybe?" > > Figured rx was similar to pcase in that regard: > > * They need to be required explicitly despite their macros being > "autoloaded", because files.el is loaded during bootstrap before > autoloading is set up. > > * Somehow that does not cause them to be preloaded? At least going by > emacs -Q, > * featurep returns nil, > * preloaded-file-list does not include them. I'd prefer not to have rx required in files.el, so could you please rewrite those parts of your patch and resubmit? Also, please add a NEWS entry about the change. I think otherwise your patch is ready to go in. Thanks.