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#59622: 29.0.50; [PATCH] Regression in Eshell's handling of escaped newlines Date: Wed, 07 Dec 2022 15:34:36 +0200 Message-ID: <83v8mn49sj.fsf@gnu.org> References: <90faf628-390d-1094-2fcb-e6a23ac46da8@gmail.com> <83v8mrbpf7.fsf@gnu.org> <3d78b158-5fde-d4c0-0e9a-cb05e09bed6e@gmail.com> <83359u9g9h.fsf@gnu.org> <9b18ac1f-04b3-63c9-56c0-84233f849d5d@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8491"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59622@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 14:35:36 2022 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 1p2uaF-0001yD-Nq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 14:35:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2uZu-0000su-8O; Wed, 07 Dec 2022 08:35:14 -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 1p2uZi-0000sA-Sp for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 08:35:03 -0500 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 1p2uZi-0005rU-Kd for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 08:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2uZi-0000tf-7p for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 08:35: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: Wed, 07 Dec 2022 13:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59622-submit@debbugs.gnu.org id=B59622.16704200993438 (code B ref 59622); Wed, 07 Dec 2022 13:35:02 +0000 Original-Received: (at 59622) by debbugs.gnu.org; 7 Dec 2022 13:34:59 +0000 Original-Received: from localhost ([127.0.0.1]:50391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2uZe-0000tO-Id for submit@debbugs.gnu.org; Wed, 07 Dec 2022 08:34:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2uZa-0000tE-Ga for 59622@debbugs.gnu.org; Wed, 07 Dec 2022 08:34:57 -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 1p2uZV-0005pb-8J; Wed, 07 Dec 2022 08:34:49 -0500 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=mpNsuQV0XZN9hpGw4vX20JHHhCf7S8b/BP2NIZ/0zXc=; b=koKuxTnJUFXQ TJoGUCB82W1m4vECF7M9Fp/Zr0QGJi5smnJs2N/YYVScigB6fCVmIQNhDmZ9oZJwtC9AuJm59Dz3h vKY30WXRl7XmN0In5UWDlhj9L6F9WDxZOzqqGZKqK6ZxA9JgUxc2fsNJIpXQAxKAhGI/H46c5o65e vdSm/h2vQp/bjX1Sw7UA+VIWmOc3vNUDCphSbEwazK5Kfikb5r5bMynvL+kVkHSPz1CRF9XaeFEju aLwMq53GxYVFfaAx5VAujY3qn8OoUfETuderNjQ6ANBiiFbajBI3sV0wWinkw4hfotTwdOeHHiXrk aeJT17PG8KsDwodeDe7pxQ==; 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 1p2uZU-0000HQ-9f; Wed, 07 Dec 2022 08:34:48 -0500 In-Reply-To: <9b18ac1f-04b3-63c9-56c0-84233f849d5d@gmail.com> (message from Jim Porter on Tue, 6 Dec 2022 20:18:30 -0800) 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:250189 Archived-At: > Date: Tue, 6 Dec 2022 20:18:30 -0800 > Cc: 59622@debbugs.gnu.org > From: Jim Porter > > > The last sentence is very unclear, please try saying what you need in a > > clearer way, and/or maybe add a couple of examples. > > Ok, I expanded that part of the manual and added a few more examples. > How does this look? Much better, thanks. > I also split the patch in two: the first patch for the 29 branch (which > makes the least code changes I could manage), and the second as an > additional small cleanup patch for master only. Since which Emacs version do we have this regression? If it's a very old regression, I'd prefer not to fix it on the emacs-29 branch. > @subsection Quoting and escaping > As with other shells, you can escape special characters and spaces > -with by prefixing the character with a backslash (@code{\}), or by > -surrounding the string with apostrophes (@code{''}) or double quotes > -(@code{""}). This is needed especially for file names with special > -characters like pipe (@code{|}), which could be part of remote file > +with by prefixing the character with a backslash (@samp{\}), or by "with by prefixing" is a typo; probably "with" should be dropped.