From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: erase-buffer (was: with-output-to-temp-buffer) Date: 11 May 2004 09:39:22 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <877jvjnl4g.fsf-monnier+emacs@gnu.org> References: <20040429.150303.42778779.wl@gnu.org> <200404300142.KAA01027@etlken.m17n.org> <87u0z1puxa.fsf@mail.jurta.org> <200404301326.WAA02744@etlken.m17n.org> <8765bga5tt.fsf@mail.jurta.org> <200405020157.KAA07108@etlken.m17n.org> <200405060505.OAA21188@etlken.m17n.org> <200405061310.WAA22378@etlken.m17n.org> <200405101213.VAA04125@etlken.m17n.org> <87ekpsuzqa.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084289130 28735 80.91.224.253 (11 May 2004 15:25:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 May 2004 15:25:30 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, handa@m17n.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 11 17:25:20 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNZ8C-0006wc-00 for ; Tue, 11 May 2004 17:25:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNZ87-00074s-00 for ; Tue, 11 May 2004 17:25:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNZ4f-0000FF-1J for emacs-devel@quimby.gnus.org; Tue, 11 May 2004 11:21:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNYyj-0007eN-Bg for emacs-devel@gnu.org; Tue, 11 May 2004 11:15:33 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNXuy-00030C-Cr for emacs-devel@gnu.org; Tue, 11 May 2004 10:08:07 -0400 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNXTf-00079g-KI; Tue, 11 May 2004 09:39:23 -0400 Original-Received: from alfajor ([67.68.218.161]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040511133922.JCPE20937.tomts13-srv.bellnexxia.net@alfajor>; Tue, 11 May 2004 09:39:22 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id C842FD74EC; Tue, 11 May 2004 09:39:22 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23149 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23149 BTW, it seems the main problem has to do with a conflict between erase-buffer when called interactively and erase-buffer when called from packages. 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). Stefan