GNU bug report logs - #21417
Subject: 25.0.50; Paragraph movement in Eshell

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Fri, 4 Sep 2015 19:43:02 UTC

Severity: minor

Tags: moreinfo

Done: simenheg <at> gmail.com

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21417 in the body.
You can then email your comments to 21417 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21417; Package emacs. (Fri, 04 Sep 2015 19:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Heggestøyl <simenheg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 04 Sep 2015 19:43:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Subject: 25.0.50; Paragraph movement in Eshell
Date: Fri, 04 Sep 2015 21:42:01 +0200
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21417; Package emacs. (Wed, 06 Nov 2019 01:37:01 GMT) Full text and rfc822 format available.

Message #8 received at 21417 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 21417 <at> debbugs.gnu.org
Subject: Re: bug#21417: Subject: 25.0.50; Paragraph movement in Eshell
Date: Wed, 06 Nov 2019 02:36:34 +0100
Simen Heggestøyl <simenheg <at> gmail.com> 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




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 06 Nov 2019 01:37:02 GMT) Full text and rfc822 format available.

Reply sent to simenheg <at> gmail.com:
You have taken responsibility. (Wed, 06 Nov 2019 12:46:02 GMT) Full text and rfc822 format available.

Notification sent to Simen Heggestøyl <simenheg <at> gmail.com>:
bug acknowledged by developer. (Wed, 06 Nov 2019 12:46:02 GMT) Full text and rfc822 format available.

Message #15 received at 21417-done <at> debbugs.gnu.org (full text, mbox):

From: simenheg <at> gmail.com
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 21417-done <at> debbugs.gnu.org
Subject: Re: bug#21417: Subject: 25.0.50; Paragraph movement in Eshell
Date: Wed, 06 Nov 2019 13:45:23 +0100
Stefan Kangas <stefan <at> marxist.se> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.