[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: erase-buffer
From: |
Juri Linkov |
Subject: |
Re: erase-buffer |
Date: |
Tue, 11 May 2004 17:44:14 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> So my question is: why is erase-buffer a command?
> I didn't know it was a command until 5 days ago, it is not bound to any
> key, and I can't think of any circumstance where a user might want to say
> M-x erase-buffer RET. Actually the only case I can think of is when the
> user knows what he's doing; and allowing the M-x erase-buffer to work in
> Custom buffers would then still make perfect sense (even if we don't fix
> the lingering overlays).
I never used erase-buffer as a command, but as I can see erase-buffer
is a disabled command with `disable' property put on its symbol. So as
a command it is already safe not to be executed thoughtlessly.
PS: I also think that it should remove the current buffer completely
with all its overlays.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], (continued)
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], Kenichi Handa, 2004/05/06
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], Richard Stallman, 2004/05/07
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], Kenichi Handa, 2004/05/10
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], Stefan Monnier, 2004/05/10
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], Richard Stallman, 2004/05/11
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], David Kastrup, 2004/05/11
- Re: with-output-to-temp-buffer [Re: reverting CJK input methods], Richard Stallman, 2004/05/12
- erase-buffer (was: with-output-to-temp-buffer), Stefan Monnier, 2004/05/11
- Re: erase-buffer,
Juri Linkov <=
- Re: erase-buffer, Juri Linkov, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), David Kastrup, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Juanma Barranquero, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Kevin Rodgers, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Stefan Monnier, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Kevin Rodgers, 2004/05/12
- Re: erase-buffer (was: with-output-to-temp-buffer), Juanma Barranquero, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Kenichi Handa, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Miles Bader, 2004/05/11
- Re: erase-buffer (was: with-output-to-temp-buffer), Richard Stallman, 2004/05/12