all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.