help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange problem with (setq buffer-read-only t).


From: Andy Stewart
Subject: Re: Strange problem with (setq buffer-read-only t).
Date: Fri, 16 Jan 2009 09:29:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Juanma Barranquero <lekktu@gmail.com> writes:

> On Fri, Jan 16, 2009 at 02:04, Andy Stewart <lazycat.manatee@gmail.com> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]