From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#21417: Subject: 25.0.50; Paragraph movement in Eshell Date: Wed, 06 Nov 2019 02:36:34 +0100 Message-ID: <87tv7h4wgt.fsf@marxist.se> References: <1441395721.2458.0@smtp.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="143317"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 21417@debbugs.gnu.org To: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 02:37:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSAG0-000b7t-Pd for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2019 02:37:13 +0100 Original-Received: from localhost ([::1]:52236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSAFz-00051y-0f for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2019 20:37:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51972) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSAFq-00051o-ST for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 20:37:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSAFp-0007Te-Tv for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 20:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58757) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSAFp-0007Ta-Qm for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 20:37:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSAFp-0004eB-LP for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 20:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2019 01:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21417 X-GNU-PR-Package: emacs Original-Received: via spool by 21417-submit@debbugs.gnu.org id=B21417.157300420517821 (code B ref 21417); Wed, 06 Nov 2019 01:37:01 +0000 Original-Received: (at 21417) by debbugs.gnu.org; 6 Nov 2019 01:36:45 +0000 Original-Received: from localhost ([127.0.0.1]:39342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSAFY-0004dN-K4 for submit@debbugs.gnu.org; Tue, 05 Nov 2019 20:36:44 -0500 Original-Received: from host.gofardesign.uk ([208.79.239.190]:54650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSAFW-0004d4-WA for 21417@debbugs.gnu.org; Tue, 05 Nov 2019 20:36:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=sKUiqbtPXPjXDTve0FKNMzBpOFFEGN25cRPqYCLZGEw=; b=H1r8BZRt8rXNOYtJ60VEjOpO2f D2Ri8sggnSmfOuV+7XqHo7411kvQwNyefWpFJtevF25QIJCVZDofX4vSzZc1RRLApXXsRVB/RfE2A HRM1HFP5rjb+W8FXkn1i5uFpSi4Rb38wELhogSlmoHSgODO/QfwoeXZcvVSwodl4SO6s=; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:50926 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSAFQ-0001Cd-8L; Tue, 05 Nov 2019 19:36:37 -0600 In-Reply-To: <1441395721.2458.0@smtp.gmail.com> ("Simen =?UTF-8?Q?Heggest=C3=B8yl?="'s message of "Fri, 04 Sep 2015 21:42:01 +0200") X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171008 Archived-At: Simen Heggest=C3=B8yl writes: > Moving by paragraph in Eshell doesn't work when there's command output > containing newlines. Consider the following case: > > ~ $ foo > bar > > baz > ~ $ > > The user has entered the command "foo", which has put out > "bar\n\nbaz\n". Point is after the second "$". > > Now the user hits `C-c C-p' which runs `eshell-previous-prompt', and > point ends up at the blank line between "bar" and "baz", instead of > going back to the previous prompt. > > It seems that setting `paragraph-separate' to something else than the > default "[ ]*$" solves the problem, though I'm uncertain what it > should be set to. I'm unable to reproduce this on current master. I tried: 0. emacs -Q 1. M-x eshell 2. emacs --help 3. C-c C-p At the last command, point correctly moved to the previous prompt. Can you reproduce this on Emacs 27 or 26? If yes, could you please provide more details on how to reproduce it? Perhaps there is something in the output of the particular command you used that confused Eshell? That's just a wild guess, though. Best regards, Stefan Kangas