help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comint-previous-input mangles current line


From: Joe Riel
Subject: Re: comint-previous-input mangles current line
Date: Tue, 18 Aug 2015 09:30:44 -0700

On Tue, 18 Aug 2015 08:32:56 -0700
Joe Riel <address@hidden> wrote:

> Is there a simple fix for the following problem.
> I'm running shell.  I then use C-up (comint-previous-input)
> to scroll through the history of inputs.  This
> mangles the input on the screen.  For example,
> if I had
> 
> src $ echo nonsense
> nonsense
> src $ [type C-up]
> 
> The last line becomes
> 
> echo nonsensesrc $ 
> 
> That is, the previous command is displayed before the prompt.
> 
> Sometimes, when starting emacs this works fine.
> Sometimes it does not.  When not, it never works
> properly.  
> 

Figured it out, need to set the regexp for the prompt.

-- 
Joe Riel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]