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: Juanma Barranquero
Subject: Re: Strange problem with (setq buffer-read-only t).
Date: Fri, 16 Jan 2009 02:16:51 +0100

On Fri, Jan 16, 2009 at 02:04, Andy Stewart <address@hidden> 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.

    Juanma




reply via email to

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