[Top][All Lists]

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

Re: comint read-only prompt

From: Richard Stallman
Subject: Re: comint read-only prompt
Date: Wed, 21 Aug 2002 19:57:36 -0600 (MDT)

    > It seems rather inconsistent to me to make the newest prompt read-only
    > and not the other prompts.

    People might want to trim the *shell* buffer, for example to
    eliminate spurious commands.  Then the modified *shell* buffer can be
    sent via email to illustrate some point.

Yes, I agree.  In some cases people might want to edit the last
prompt, too.  Yet there are also cases (as has been said) where they
would tend to do so by mistake and it would be useful to prevent them.

Perhaps instead of trying to distinguish these cases based on which
prompt is being edited, we should try to distinguish between different
commands.  For instance, maybe the case that should get an error
is when point is after the last prompt and you're deleting a region
that runs back into the last prompt.

reply via email to

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