[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `*' interactive spec in some text-killing functions
From: |
David Kastrup |
Subject: |
Re: `*' interactive spec in some text-killing functions |
Date: |
Thu, 28 Jun 2007 11:11:56 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) |
"Lennart Borgman (gmail)" <address@hidden> writes:
> Juanma Barranquero wrote:
>> On 6/28/07, David Kastrup <address@hidden> wrote:
>>
>>> But _why_ wouldn't it be "smart"? The command _is_ executed, it has
>>> the normal effect (which may become relevant if the buffer-read-only
>>> state changes), and it does _absolutely_ no harm to the buffer
>>> contents or anything else.
>>
>> Neither does any harm to PgUp at the beginning of a buffer. What is
>> the message for? To alert me that I cannot go up? Well, my overwrite
>> message is to alert me that I cannot overwrite even if I just changed
>> to overwrite, and that I shouldn't expect most normal keys to act
>> differently just because I changed to overwrite.
>
>
> I have often wanted colored messages for different levels of
> seriousity. I think that might make it easier to decide in some
> situations like this.
I don't see that we have a situation. We have a command that is
trivially executed without taking time or effort and has _no_ ill
consequences at all. Toggling overwrite-mode is completely orthogonal
to the buffer being read-only, and it is displayed in the mode line
what effects it had.
There is nothing, absolutely nothing to warn about here.
"Warning: command completed successfully, but you would need to do
other things before you would notice its effect." is just nonsense.
You could show such a "warning" for millions of cases.
--
David Kastrup
- Re: `*' interactive spec in some text-killing functions, (continued)
- Re: `*' interactive spec in some text-killing functions, David Kastrup, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Luc Teirlinck, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Juanma Barranquero, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Mathias Dahl, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, David Kastrup, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Juanma Barranquero, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Robert J. Chassell, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Davis Herring, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Juanma Barranquero, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Lennart Borgman (gmail), 2007/06/28
- Re: `*' interactive spec in some text-killing functions,
David Kastrup <=