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

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

Re: Controling modifications and cuting invisible ?


From: Lute Kamstra
Subject: Re: Controling modifications and cuting invisible ?
Date: Thu, 22 May 2003 01:12:51 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

François Fleuret <francois.fleuret@noos.fr> writes:

[...]

> The first one is: how to control precisely how the buffer can be
> modified ? So far, the only way I found was to clear the keymap with
> make-sparse-keymap, and redefine any single key remaining that can
> change something (i.e. ^j ^d etc.). This seems pretty dumb to me. What
> would be the "stylish" way ?

Make the buffer read only?  

  (setq buffer-read-only t)

Lute.

-- 
(spook) => "smuggle anarchy NATO"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")


reply via email to

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