From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10419: 23.3; byte-compile-file: Buffer is read-only: # Date: Fri, 06 Jan 2012 02:39:06 -0500 Message-ID: <8v62gpgu05.fsf@fencepost.gnu.org> References: <871urjgq6g.fsf@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1325835578 1728 80.91.229.12 (6 Jan 2012 07:39:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2012 07:39:38 +0000 (UTC) To: 10419-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 06 08:39:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj4Oj-0004dn-PK for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jan 2012 08:39:33 +0100 Original-Received: from localhost ([::1]:54552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj4Oj-00076e-BL for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jan 2012 02:39:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj4Og-00076U-6u for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 02:39:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj4Of-0005k1-2b for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 02:39:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj4Oe-0005jJ-Nj for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 02:39:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Rj4S6-0004LW-JS for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 02:43:02 -0500 Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jan 2012 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 10419 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 10419@debbugs.gnu.org, rgm@gnu.org Original-Received: via spool by 10419-done@debbugs.gnu.org id=D10419.132583576616682 (code D ref 10419); Fri, 06 Jan 2012 07:43:02 +0000 Original-Received: (at 10419-done) by debbugs.gnu.org; 6 Jan 2012 07:42:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj4Rp-0004L1-MU for submit@debbugs.gnu.org; Fri, 06 Jan 2012 02:42:46 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj4Rn-0004Kt-5F for 10419-done@debbugs.gnu.org; Fri, 06 Jan 2012 02:42:43 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rj4OJ-0003pD-6D; Fri, 06 Jan 2012 02:39:07 -0500 X-Spook: 9705 Samford Road Albright Etacs smuggle Legion of Doom X-Ran: Di*F-Xy}$(3len}1Si~5]a|BzyHb&<8FHG@SITtH@}+v34`5hO9'8*Q{tZ[0e9{O,n#'PF X-Hue: white X-Attribution: GM In-Reply-To: <871urjgq6g.fsf@web.de> (Michael Heerdegen's message of "Sun, 01 Jan 2012 20:48:07 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 06 Jan 2012 02:43:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55416 Archived-At: Version: 24.0.93 Michael Heerdegen wrote: > Background: I have a large Emacs init file. Because I often want to > have a look at function definitions in this file, I added a file local > variable binding of `buffer-read-only' to t. This way, e.g. links > from *Help* always open it read only. I have to explicitly toggle the > read-only flag if I want to modify the file. This works well. I don't know why you don't just make the file read-only on disk. Anyway, I made the compiler input buffer ignore any file setting of buffer-read-only.