From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#21417: Subject: 25.0.50; Paragraph movement in Eshell Date: Fri, 04 Sep 2015 21:42:01 +0200 Message-ID: <1441395721.2458.0@smtp.gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-F977kJfMOIaK0Goq0wU+" X-Trace: ger.gmane.org 1441395803 32199 80.91.229.3 (4 Sep 2015 19:43:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 19:43:23 +0000 (UTC) To: 21417@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 04 21:43:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXwtC-00041G-VB for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Sep 2015 21:43:11 +0200 Original-Received: from localhost ([::1]:34695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwtC-0006s3-JE for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Sep 2015 15:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwt8-0006rp-Ir for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwt5-0006Xj-Ay for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:43:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwt5-0006XR-6S for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXwt4-00082u-Rq for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2015 19:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21417 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144139574030875 (code B ref -1); Fri, 04 Sep 2015 19:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Sep 2015 19:42:20 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) X-Mailer: geary/0.10.0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106155 Archived-At: --=-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+--