From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Strange problem with (setq buffer-read-only t). Date: Thu, 15 Jan 2009 19:22:53 +0100 Message-ID: References: <87prioe9ay.fsf@debian.domain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232043877 10825 80.91.229.12 (15 Jan 2009 18:24:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2009 18:24:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Andy Stewart" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 15 19:25:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LNWu9-0003RT-Ts for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 19:25:24 +0100 Original-Received: from localhost ([127.0.0.1]:53201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNWss-0001Gl-2s for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 13:24:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNWrq-0000vC-LX for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 13:22:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNWrn-0000tW-N2 for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 13:22:56 -0500 Original-Received: from [199.232.76.173] (port=50161 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNWrn-0000tS-CJ for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 13:22:55 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.145]:1803) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNWrm-0006AS-W8 for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 13:22:55 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so135402eyg.24 for ; Thu, 15 Jan 2009 10:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WXcOGXtcshvN21CX0KJyS7YhTGF0qwmc5EA2MybZW40=; b=tGFmywj+Sv1GSPwKRn1uTBwD7AzeWPsdZkNQEmEO9vSQj817FmWCjcemlcjtCEWOFF OncwKCwVcEhJMgPMnUyad+Hej3AFwo6n3gyDcVxrTAW3FA2ZNgDirRwpTusdfzT/1zYp XxEudyYTUWLF0gBd8z2vHJTD4B2loSH0o4GLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=d816xNqHv6rXjpuzpT1MbK4xTTRUUs9knNHbKsz/p+7PK2OWosuQqjjRNflm73XlwQ 3WpGGeIwPXSY5ZGxAW8l++tVusti1dRz/SJY9+29KEWVNaVtYDxbtUM5mPTqEt0iZZIH 09tRMvEbj8lg/lFtDbZWWB9eCNAxabMVobn/w= Original-Received: by 10.210.120.7 with SMTP id s7mr1948359ebc.184.1232043774009; Thu, 15 Jan 2009 10:22:54 -0800 (PST) Original-Received: by 10.210.141.18 with HTTP; Thu, 15 Jan 2009 10:22:53 -0800 (PST) In-Reply-To: <87prioe9ay.fsf@debian.domain> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61370 Archived-At: On Thu, Jan 15, 2009 at 19:03, Andy Stewart wrote: > I use (setq buffer-read-only t) in function `irfc-mode' for make RFC > buffer read-only. > > And strange thing is, the (setq buffer-read-only t) that write in code looks > no effect. What do you mean with "no effect"? I just tried irfc.el and RFC buffers are indeed read-only. Which version of Emacs are you using? What steps should I follow to reproduce the bug? Juanma