home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / emacs / 3614 < prev    next >
Encoding:
Text File  |  1992-11-24  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!haven.umd.edu!news.umbc.edu!venus.cs.umbc.edu!steibel
  3. From: steibel@venus.cs.umbc.edu (David M. Steibel)
  4. Subject: Re: Control Characters
  5. Message-ID: <1992Nov24.032228.11889@umbc3.umbc.edu>
  6. Sender: newspost@umbc3.umbc.edu (News posting account)
  7. Organization: University of Maryland Baltimore Campus
  8. References: <1992Nov21.073400.21087@news.columbia.edu> <HOLLEN.92Nov23115153@peg.megatek.UUCP>
  9. Date: Tue, 24 Nov 1992 03:22:28 GMT
  10. Lines: 31
  11.  
  12. hollen@megatek.UUCP (Dion Hollenbeck) writes:
  13. >> scs8@cunixb.cc.columbia.edu (Sebastian C Sears) said:
  14. >>
  15. >> I'm trying to find out how to insert control characters into
  16. >> emacs code. In other words, how would you insert a ^L into a
  17. >> file to make it pause when scrolling etc. etc.
  18. >
  19. > Use C-q (quoted-insert) and then type in whatever control character you
  20. > want.  After typing in 1 character, you be back in regular mode and if
  21. > you want to insert a second control character, you need to use C-q for
  22. > every one you insert.
  23.  
  24. Unfortunately, control-q is used for flow control on many computer
  25. systems.  Personally, as a work around, I have added the following
  26. line to my .emacs file.
  27.  
  28. (defun c-l () (insert "\C-l"))
  29.  
  30. Then I type escape-escape and the 5 characters "(c-l)".  I use this
  31. all the time to control paging.
  32.  
  33. --
  34. David M. Steibel;  Author of the Demacs FAQ;  Internet: steibel@cs.umbc.edu
  35.  
  36. The greatness of a nation and its moral progress can be measured by the way 
  37. in which its animals are treated. - Mahatma Gandhi.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.