[Top][All Lists]

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

Re: comint-previous-prompt in *shell* fooled just too often

From: Kai Großjohann
Subject: Re: comint-previous-prompt in *shell* fooled just too often
Date: 23 Feb 2001 19:47:56 +0100
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.99

On 23 Feb 2001, Dan Jacobson wrote:

> How about having it at least take a look around first before I hit
> return [or after previous return] to see what its current prompt is,
> or maybe remember a list of previous spots in the buffer... all
> better that relying on a regexp?

Don't make it too smart.  Users won't understand it anymore.

Suppose your .bashrc does "echo -n foo" at the end, then the shell
would think your prompt is "foo$ ".  Not good.

Just my two cents.

Be indiscrete.  Do it continuously.

reply via email to

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