home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!rudis
- From: rudis+@cs.cmu.edu (Rujith S DeSilva)
- Newsgroups: gnu.emacs.help
- Subject: Re: Read-Only Mode in Emacs
- Message-ID: <BxGH8y.LMA.1@cs.cmu.edu>
- Date: 9 Nov 92 15:48:30 GMT
- Article-I.D.: cs.BxGH8y.LMA.1
- References: <1992Nov9.104519.12975@fzi.de>
- Sender: news@cs.cmu.edu (Usenet News System)
- Organization: School of Computer Science, Carnegie Mellon
- Lines: 14
- Nntp-Posting-Host: gs71.sp.cs.cmu.edu
-
- In article <1992Nov9.104519.12975@fzi.de> fzi.de writes:
- >could someone tell me if there is any option for Read-Only mode in Emacs like
- >the view editor. I couldn't find them in the manuel.
-
- Two things that you may find useful:
-
- (1) The view-mode, conveniently accessed by using view-file or view-buffer.
- (2) The variable buffer-read-only. I use this via find-file-read-only.
-
- I prefer (2), because the commands work as usual, but anything that would
- modify the buffer simply generates an error and a warning beep.
-
- Rujith de Silva.
- Carnegie Mellon.
-