From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bind commands that change buffer contents to `undefined' when read-only? Date: Tue, 25 Sep 2007 10:15:51 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190729781 4475 80.91.229.12 (25 Sep 2007 14:16:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2007 14:16:21 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 25 16:16:16 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IaBCi-0007NG-V7 for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2007 16:16:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaBCg-0007Bo-01 for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2007 10:15:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaBCc-0007Bi-JD for emacs-devel@gnu.org; Tue, 25 Sep 2007 10:15:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaBCb-0007B8-NH for emacs-devel@gnu.org; Tue, 25 Sep 2007 10:15:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaBCb-0007B0-Ia for emacs-devel@gnu.org; Tue, 25 Sep 2007 10:15:53 -0400 Original-Received: from vpn-132-204-232-38.acd.umontreal.ca ([132.204.232.38] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaBCa-0007Q1-Hj; Tue, 25 Sep 2007 10:15:52 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id EAC9DB4134; Tue, 25 Sep 2007 10:15:51 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Mon\, 24 Sep 2007 14\:19\:17 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79802 Archived-At: > So maybe a better direction is to change the toplevel so that using > a command with a "*" (or a call to barf-if-buffer-read-only) in its > interactive spec when the buffer is read-only will signal "undefined" > rather than signalling the error. > That is clean and simple, but I think it is a change for the worse. As a matter of fact, I agree ;-) > Sorry, but no thanks. Thanks, Stefan