From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 15:42:20 2015 Received: (at submit) by debbugs.gnu.org; 4 Sep 2015 19:42:20 +0000 Received: from localhost ([127.0.0.1]:49016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXwsO-00081v-1B for submit@debbugs.gnu.org; Fri, 04 Sep 2015 15:42:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43443) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXwsK-00081l-0n for submit@debbugs.gnu.org; Fri, 04 Sep 2015 15:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwsI-0006QK-O6 for submit@debbugs.gnu.org; Fri, 04 Sep 2015 15:42:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwsI-0006QG-Jn for submit@debbugs.gnu.org; Fri, 04 Sep 2015 15:42:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwsH-0005oN-9k for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwsE-0006Ox-3w for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:42:13 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:33975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwsD-0006O3-Ou for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:42:09 -0400 Received: by lbbmp1 with SMTP id mp1so16827470lbb.1 for ; Fri, 04 Sep 2015 12:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:message-id:mime-version:content-type; bh=icuwt846abazdIXlqKnxaMupt6+/Xlk8gZQiJYEGZ0A=; b=EjVBbX1I8UzUoBhyH3TImdYs4oisQ2634UMj9gEK+aMsDLhi1HNCBk66nXUXbTEg5I yaUiInAcR/Zgb3BlkQ0sIZ//j4Z1vbl5McmTaPtPI47ELUapHhdWBaVztVldRacqJBt6 axjtiFlfvqBa8d8A612hQtO9HgDshU4koeO1Vk3GxONhLW/qu3Z/CNoGLXvM/488xU1s Ny5pamPtVMa4TAOgDTy5JA8pFwqMNzHq3gLLPhdx13j3HHE8fj6y7Ybtyn95ZBNgvbrQ 6yOj3CD5Fno0bEyVSlhXKhCCd7+2knq1cIJ95j/OkjDpRy1jSLrmLLgKXCRfG3Psj/eO TDfQ== X-Received: by 10.152.29.131 with SMTP id k3mr5016735lah.85.1441395728274; Fri, 04 Sep 2015 12:42:08 -0700 (PDT) Received: from [192.168.1.10] (69-134-11.connect.netcom.no. [176.11.134.69]) by smtp.gmail.com with ESMTPSA id 10sm803724lar.32.2015.09.04.12.42.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 12:42:07 -0700 (PDT) Date: Fri, 04 Sep 2015 21:42:01 +0200 From: Simen =?iso-8859-1?q?Heggest=F8yl?= Subject: Subject: 25.0.50; Paragraph movement in Eshell To: bug-gnu-emacs@gnu.org Message-Id: <1441395721.2458.0@smtp.gmail.com> X-Mailer: geary/0.10.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-F977kJfMOIaK0Goq0wU+" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) --=-F977kJfMOIaK0Goq0wU+ Content-Type: text/plain; charset=utf-8; format=flowed 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. -- Simen In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-04 Repository revision: 09c15856a926eb80106a5c42571660601c2167d6 Windowing system distributor 'The X.Org Foundation', version 11.0.11702000 System Description: Debian GNU/Linux testing (stretch) Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: EShell --=-F977kJfMOIaK0Goq0wU+ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
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-pro= mpt', 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 t= he
default "[ =0C]*$" solves the problem, though I'm uncertain wh= at it
should be set to.

-- Simen


In GNU Emacs 25.0.50.1 (x86_64-unknown-lin= ux-gnu, GTK+ Version 3.16.6)
 of 2015-09-04
Reposi= tory revision: 09c15856a926eb80106a5c42571660601c2167d6
Windowing= system distributor 'The X.Org Foundation', version 11.0.11702000
System Description: Debian GNU/Linux testing (stretch)

Confi= gured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY= LIBXML2 FREETYPE XFT
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: en_US.= UTF-8
  locale-coding-system: utf-8-unix

Major mode: EShell
= --=-F977kJfMOIaK0Goq0wU+-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 05 20:36:45 2019 Received: (at 21417) by debbugs.gnu.org; 6 Nov 2019 01:36:45 +0000 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 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=; 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 From: Stefan Kangas To: Simen =?utf-8?Q?Heggest=C3=B8yl?= Subject: Re: bug#21417: Subject: 25.0.50; Paragraph movement in Eshell In-Reply-To: <1441395721.2458.0@smtp.gmail.com> ("Simen =?utf-8?Q?Heggest?= =?utf-8?Q?=C3=B8yl=22's?= message of "Fri, 04 Sep 2015 21:42:01 +0200") References: <1441395721.2458.0@smtp.gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Wed, 06 Nov 2019 02:36:34 +0100 Message-ID: <87tv7h4wgt.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21417 Cc: 21417@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: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 05 20:36:51 2019 Received: (at control) by debbugs.gnu.org; 6 Nov 2019 01:36:51 +0000 Received: from localhost ([127.0.0.1]:39345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSAFf-0004dk-0I for submit@debbugs.gnu.org; Tue, 05 Nov 2019 20:36:51 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:58220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSAFd-0004dL-6q for control@debbugs.gnu.org; Tue, 05 Nov 2019 20:36:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=W28xkhuHi3fQgbfJnKjdOI6zI50ZbYOZBAQSc0AI2zA=; b=gUy6HK1zdZ13TYy07MbWX/uCuv LznbGEO/fzvYB+k8m0wnXSXTiJgozc5tNwaMy1aMK4UpKI8eP18Et0SE/82qttT09+7RifT8gObWO KgZdyk9EQ91OlpRWKYoj49anLWWYDS4vt+EqW4c9R85nXl4ahex/91oD8sisdUwPM7h8=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:50930 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSAFW-0001Dj-Nn for control@debbugs.gnu.org; Tue, 05 Nov 2019 19:36:43 -0600 Date: Wed, 06 Nov 2019 02:36:41 +0100 To: control@debbugs.gnu.org From: Stefan Kangas Subject: control message for bug #21417 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-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control 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" Message-Id: X-Spam-Score: -1.0 (-) tags 21417 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 07:45:33 2019 Received: (at 21417-done) by debbugs.gnu.org; 6 Nov 2019 12:45:33 +0000 Received: from localhost ([127.0.0.1]:39549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSKgn-0002p1-0S for submit@debbugs.gnu.org; Wed, 06 Nov 2019 07:45:33 -0500 Received: from mail-lj1-f178.google.com ([209.85.208.178]:38389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSKgl-0002op-8t for 21417-done@debbugs.gnu.org; Wed, 06 Nov 2019 07:45:31 -0500 Received: by mail-lj1-f178.google.com with SMTP id v8so10284977ljh.5 for <21417-done@debbugs.gnu.org>; Wed, 06 Nov 2019 04:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=N9qUHOxaxLpv5rKGrWa7wD8GrEQoLToLYSGN1BXt1BM=; b=mAoAnTeI9CqYr37kMrgzhVXqsm4VPgYfaNMBaaz1IDzcLLQxNJpRG0f2AUsZgIb3fz Vgn5bI+Q/67+og3jTWU6pZfIu5nKSSC/I0uNFmQw+sNY8bCa2u5EWsruiya2mz61YZXK e3tEFm1A7GXbBMtkhKEY5v+lPqkFckXRVYHnYu/V+7jcp1DEItst3SCNdVGQjE1upnDf yZHurzuqweK7gZLHH4nBoSkKYYaHCBIM4hTx+ukQ9kMTwbgn5Hr6n8eD6f5PO4Uu5lQn g4RWp18/w5GsiDJp6Pep75NRwYmgojvCQ8eXkrXEd6axvzKDKRyyLR5BYRRTw4GfHTRx H0/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=N9qUHOxaxLpv5rKGrWa7wD8GrEQoLToLYSGN1BXt1BM=; b=UWYroiDfGhV82aWuPgXg6X90faAO7C4d1LmGsC5LaZeFtVv/Ae8IYwRdtF4bhDTmJP uyIc1kLG0v8eucBHtFA33qj6ixL2/9Gpwwpytsw8lv7CNYt/kchYmLp6ks0TJWYtEZDd uX6Hnx9f7WgdLDgALOMKRHMTTcXPjFsmUdZlNVZX//hkVzUr1BBZuaF0kSzjGIrTBWQE aQhO9kggXuvyeN+n/AKBQ8Kys7GoQYjNopQI6jDd2EFprhWaxRtErU+ZqCFcxUuzr4EM 5CtlZnmhtyWmbpBHAH7mUeVsAsJMXgkZ50FEonetFtrlVB39xCIkUEthqkryMV+YdjOV sjfw== X-Gm-Message-State: APjAAAUIDG/nf+wU3zKlz5WRca6uJfRH7uHyqzqw3r/rjlBbHJU/HfHq Nway4pUD+t5UL83sFhl3jDSZ3gcS X-Google-Smtp-Source: APXvYqxJhnETFYU5cx2X+/1+h5qVPNKH6RvskGJrKCxu3tlZXpryf5oXO5dwmHt+xXJlFnRBNJ8AFQ== X-Received: by 2002:a2e:547:: with SMTP id 68mr1830682ljf.150.1573044324969; Wed, 06 Nov 2019 04:45:24 -0800 (PST) Received: from bubbles (bubbles.netfonds.se. [80.91.225.81]) by smtp.gmail.com with ESMTPSA id k19sm12617263ljg.18.2019.11.06.04.45.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 04:45:24 -0800 (PST) From: simenheg@gmail.com To: Stefan Kangas Subject: Re: bug#21417: Subject: 25.0.50; Paragraph movement in Eshell References: <1441395721.2458.0@smtp.gmail.com> <87tv7h4wgt.fsf@marxist.se> Date: Wed, 06 Nov 2019 13:45:23 +0100 In-Reply-To: <87tv7h4wgt.fsf@marxist.se> (Stefan Kangas's message of "Wed, 06 Nov 2019 02:36:34 +0100") Message-ID: <80lfstuqak.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21417-done Cc: 21417-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: -1.0 (-) Stefan Kangas writes: > I'm unable to reproduce this on current master. Bisecting showed that it was fixed by Noam Postavsky in 7a0ca227af1081ca7ada2e82a87b1a575ef04759 in response to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27405. Nice. I'm closing this. Thanks for checking up on it. -- Simen From unknown Sun Jun 22 22:45:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Dec 2019 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator