From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: inhibit-read-only Date: Wed, 15 Feb 2006 11:10:41 +0100 Message-ID: <43F2FE21.5000903@gmx.at> References: <43F1B2E9.4000804@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140000738 1106 80.91.229.2 (15 Feb 2006 10:52:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2006 10:52:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 15 11:52:16 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 1F9KGW-0004d4-CF for ged-emacs-devel@m.gmane.org; Wed, 15 Feb 2006 11:52:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9KDw-0008VV-Ct for ged-emacs-devel@m.gmane.org; Wed, 15 Feb 2006 05:49:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9Jkk-0000xH-Ab for emacs-devel@gnu.org; Wed, 15 Feb 2006 05:19:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9Jkg-0000v4-Nm for emacs-devel@gnu.org; Wed, 15 Feb 2006 05:19:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9Jkf-0000uX-Mb for emacs-devel@gnu.org; Wed, 15 Feb 2006 05:19:13 -0500 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1F9JpX-0001fe-Ig for emacs-devel@gnu.org; Wed, 15 Feb 2006 05:24:15 -0500 Original-Received: (qmail invoked by alias); 15 Feb 2006 10:19:12 -0000 Original-Received: from N946P024.adsl.highway.telekom.at (EHLO [62.47.62.56]) [62.47.62.56] by mail.gmx.net (mp001) with SMTP; 15 Feb 2006 11:19:12 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: rms@gnu.org In-Reply-To: X-Y-GMX-Trusted: 0 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:50560 Archived-At: > The following makes everything writable: > > (let ((debug-on-error t) > (inhibit-read-only t)) > (error "?")) > > Could you be more precise than "makes everything writable"? Do you > mean that everything is writable while you are in the debugger? Yes. The problem is that `inhibit-read-only' is not buffer-local like `buffer-read-only'. Hence, entering the debugger has a rather global side-effect. I'm afraid there's nothing that could be done here.