[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 16:12:08 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> If I do a command, and the result of this command is irrelevant, I
>> consider it an error.
>
> The result is not irrelevant because you may do C-x C-q afterwards.
> But maybe a little warning reminding the user that the buffer is not yet
> writable could be added. It doesn't seem tremendously useful, tho: she'll
> figure it out soon enough.
But the result will be the same whether or not overwrite-mode is
active. So there is no sense in connecting the warning with
overwrite-mode. And I don't see _any_ usefulness for this warning
since we'll get an error, anyway, once the readonly buffer is tried to
be written, without affecting the buffer. Of course, if the user has
made a definition
(defadvice beep (after wwiii) (launch-missiles))
he will be happy about any such warning before actually committing an
error. But other than that, Emacs' reaction to writing over readonly
text is perfectly harmless, and there is no reason to _warn_ people
that an error _might_ occur given certain behavior.
We also don't warn people one screen _before_ reaching the top of the
buffer "Further pressing of PgUp might lead to an error. Be careful
now".
--
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, Juanma Barranquero, 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, Andreas Schwab, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Juanma Barranquero, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Andreas Schwab, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Juanma Barranquero, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, David Kastrup, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Stefan Monnier, 2007/06/28
- Re: `*' interactive spec in some text-killing functions,
David Kastrup <=
- Re: `*' interactive spec in some text-killing functions, Juanma Barranquero, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, David Kastrup, 2007/06/28
- Re: `*' interactive spec in some text-killing functions, Vinicius Jose Latorre, 2007/06/28
- 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