home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / emacs / help / 4735 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.1 KB

  1. 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
  2. From: rudis+@cs.cmu.edu (Rujith S DeSilva)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: Read-Only Mode in Emacs
  5. Message-ID: <BxGH8y.LMA.1@cs.cmu.edu>
  6. Date: 9 Nov 92 15:48:30 GMT
  7. Article-I.D.: cs.BxGH8y.LMA.1
  8. References: <1992Nov9.104519.12975@fzi.de>
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: School of Computer Science, Carnegie Mellon
  11. Lines: 14
  12. Nntp-Posting-Host: gs71.sp.cs.cmu.edu
  13.  
  14. In article <1992Nov9.104519.12975@fzi.de> fzi.de writes:
  15. >could someone tell me if there is any option for Read-Only mode in Emacs like
  16. >the view editor. I couldn't find them in the manuel.
  17.  
  18. Two things that you may find useful:
  19.  
  20. (1) The view-mode, conveniently accessed by using view-file or view-buffer.
  21. (2) The variable buffer-read-only.  I use this via find-file-read-only.
  22.  
  23. I prefer (2), because the commands work as usual, but anything that would
  24. modify the buffer simply generates an error and a warning beep.
  25.  
  26. Rujith de Silva.
  27. Carnegie Mellon.
  28.