From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [jidanni@jidanni.org: diff-default-read-only doesn't] Date: Sat, 03 Jun 2006 22:24:10 -0400 Message-ID: References: <87wtbzgnbb.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1149387901 1800 80.91.229.2 (4 Jun 2006 02:25:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Jun 2006 02:25:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 04 04:25:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FmiIO-0000Gg-FT for ged-emacs-devel@m.gmane.org; Sun, 04 Jun 2006 04:24:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmiIO-0002Wx-6l for ged-emacs-devel@m.gmane.org; Sat, 03 Jun 2006 22:24:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FmiHl-0002Ak-41 for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:24:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FmiHj-0002A2-R7 for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:24:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmiHj-00029o-Hz for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:24:11 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FmiOY-0004Du-D5 for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:31:14 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FmiHi-0002B8-HQ; Sat, 03 Jun 2006 22:24:10 -0400 Original-To: Chong Yidong In-reply-to: <87wtbzgnbb.fsf@stupidchicken.com> (message from Chong Yidong on Fri, 02 Jun 2006 19:17:12 -0400) 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:55677 Archived-At: How about this patch? It makes `diff-mode' set buffer-read-only to t whenever diff-default-read-only is non-nil. It also adds (inhibit-read-only t) to several interactive commands in diff-mode and the `M-x diff' code in diff.el. Please do what you think is right.