unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Strange problem with (setq buffer-read-only t).
@ 2009-01-15 18:03 Andy Stewart
  2009-01-15 18:22 ` Juanma Barranquero
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Stewart @ 2009-01-15 18:03 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I have develop irfc.el (interface for IETF RFC document) at:
http://www.emacswiki.org/emacs-en/irfc.el

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.
But everything is okay if i eval (setq buffer-read-only t) after i open
RFC document.

Why not effect in my code?

So strange....

Andy idea?

Thanks.

  -- Andy





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-16  1:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 18:03 Strange problem with (setq buffer-read-only t) Andy Stewart
2009-01-15 18:22 ` Juanma Barranquero
2009-01-16  1:04   ` Andy Stewart
2009-01-16  1:16     ` Juanma Barranquero
2009-01-16  1:29       ` Andy Stewart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).