From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Stewart Newsgroups: gmane.emacs.help Subject: Re: Strange problem with (setq buffer-read-only t). Date: Fri, 16 Jan 2009 09:29:44 +0800 Message-ID: <8763kgdomv.fsf@debian.domain> References: <87prioe9ay.fsf@debian.domain> <87eiz4dptj.fsf@debian.domain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232069448 2005 80.91.229.12 (16 Jan 2009 01:30:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2009 01:30:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 16 02:32:00 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 1LNdYw-0006Ok-Ld for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2009 02:31:55 +0100 Original-Received: from localhost ([127.0.0.1]:46865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNdXf-0000fi-TE for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 20:30:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNdXK-0000eK-Lh for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 20:30:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNdXG-0000dX-TQ for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 20:30:14 -0500 Original-Received: from [199.232.76.173] (port=57654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNdXG-0000dU-Q2 for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 20:30:10 -0500 Original-Received: from ti-out-0910.google.com ([209.85.142.189]:61407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNdXG-0006by-5e for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 20:30:10 -0500 Original-Received: by ti-out-0910.google.com with SMTP id u5so813989tia.10 for ; Thu, 15 Jan 2009 17:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=SucxZsqw721vKGZwWIgPU73qGC8L4+/DFwUcnylKg4A=; b=qtcx9z7/yEzYBBXcu9a1TOLOSlicpRL4ZWsxGFapdJcx3Asgw/vVJX5+aVrngevM9u pevT+4+mkv6o2YphLBoVeOGH8YhDPYezf+P+230yt8PfkSrXWATEG9t/LhFQZQrEPzx5 aQv1YFxyqiSDmL3IhVKpc9gJkYHX+66081BDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=wgRiCjwHmmpeCFLZkyQmgKPy83tEcJvsQwQ2xejIrJnYdgFEIsHgT0jspvWn19vhX8 Cu+8RZB6BDu5CAOmuVkIjRV54eba0Tzlby5wQU5DIZ8xfU0rbP0KZXKiLSsq/Fvi9cTr 3v4gv+FwyeWNFFDtebPo2Z+om2o7omt2QORTI= Original-Received: by 10.110.16.9 with SMTP id 9mr1018119tip.38.1232069408156; Thu, 15 Jan 2009 17:30:08 -0800 (PST) Original-Received: from smtp.gmail.com ([222.212.143.51]) by mx.google.com with ESMTPS id d4sm1493109tib.31.2009.01.15.17.30.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 Jan 2009 17:30:07 -0800 (PST) In-Reply-To: (Juanma Barranquero's message of "Fri, 16 Jan 2009 02:16:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:61387 Archived-At: Juanma Barranquero writes: > On Fri, Jan 16, 2009 at 02:04, Andy Stewart wrote: > >> I use 23.0.60.1, i find if i association rfc[0-9]+\\.txt with >> 'irfc-mode', then buffer is not read-only when it open, even i write >> (setq buffer-read-only t) in source code. > > Please do a precise recipe, starting from emacs -Q. > > For example, I move to the directory containing the RFCs and I do: > > emacs -Q -l irfc.el rfc2866.txt > > and RFC2866 opens in read-only mode. Yep, buffer is read-only inneed. Strange, i think have something wrong with this.... Thank you very much! -- Andy > > Juanma