[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: shell-mode: cursor Point loses on long prompts:]
From: |
Chong Yidong |
Subject: |
Re: address@hidden: shell-mode: cursor Point loses on long prompts:] |
Date: |
Tue, 24 Oct 2006 15:51:46 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> [I sent this message twice but did not get a response.]
I fixed this about two weeks ago.
> It sounds like this is a bug in the field handling of line-move.
> Would someone please investigate, then respond with the diagnosis?
>
> I am not sure whether it is better to fix this or leave it alone,
> but we should figure out what's wrong before deciding that.
>
> From: "T. V. Raman" <address@hidden>
> Subject: shell-mode: cursor Point loses on long prompts:
> To: address@hidden
>
> I admit this is somewhat pathological --- but I've hit it a
> couple of times when in directories that have long names (with
> lots of white space chars in the dir name).
> (you end up running into more and more of these as you rip CDs to
> MP3)
>
> If you have bash showing the working directory, for instance my
> PS1 is
>
> \t \h \W $
>
>
> then after executing commands like ls in such a directory, c-p no
> longer moves point past the recently displayed prompt.
>
> Here is a test case, comprised the lines pasted from the shell
> buffer, interspersed with comments:
>
> #cd to /tmp and make a bogus directory there:
> mkdir 'a directory with a very long file name '
> 18:27:21 labrador tmp $ cd a\ \ \ \ \ directory\ \ \ \ \ \ \ \ \ with\ \ \ \
> \ a\ \ \ \ \ very\ \ \ \ \ long\ \ \ \ \ file\ name\ /
> 18:27:28 labrador a directory with a very long file
> name $ ls
> 18:27:39 labrador a directory with a very long
> file name $
>
> #execute ls, after the next prompt is displayed, pressing c-p
> leaves point trapped after the prompt. Hitting C-c C-p moves
> prompt correctly to the line where ls was executed.
>
> - --
> Best Regards,
> - --raman
>
>
> Email: address@hidden
> WWW: http://emacspeak.sf.net/raman/
> AIM: emacspeak GTalk: address@hidden
> PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
> Google: tv+raman
> IRC: irc://irc.freenode.net/#emacs
>
>
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel
> ----------
>
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel