[Top][All Lists]

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

Re: erase-buffer (was: with-output-to-temp-buffer)

From: Kevin Rodgers
Subject: Re: erase-buffer (was: with-output-to-temp-buffer)
Date: Wed, 12 May 2004 15:10:13 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Stefan Monnier wrote:
> And do you expect/want it to fail in comint and custom buffers,
> or do you not care because you've never felt the desire to call it in such
> a buffer?

I use `M-x erase-buffer' the same way Juanma does, but mostly in a
*Text* buffer that I've created (instead of *scratch*).

Even though I don't use it in comint and custom buffers, I think it
should probably signal an error, because that's what `C-x h C-w' and
`C-x h M-x delete-region' would do.  But it would be nice if `C-u M-x
erase-buffer' would work in that context, by binding inhibit-read-only.

Kevin Rodgers

reply via email to

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