home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / emacs / 4054 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!epstein
  3. From: epstein@cs.uiuc.edu (Milt Epstein)
  4. Subject: Re: GNU Emacs *global* fill-column?
  5. Message-ID: <C1BI1x.5w5@cs.uiuc.edu>
  6. Sender: news@cs.uiuc.edu
  7. Reply-To: epstein@cs.uiuc.edu
  8. Organization: University of Illinois at Urbana-Champaign
  9. References: <1993Jan23.115826.23695@hasler.ascom.ch> <1993Jan23.140711.24243@cognos.com>
  10. Date: Sat, 23 Jan 1993 17:32:20 GMT
  11. Lines: 21
  12.  
  13. In <1993Jan23.140711.24243@cognos.com> jimp@cognos.COM (Jim Patterson) writes:
  14.  
  15. >steinman@hslrswi.hasler.ascom.ch (Jan Steinman,- Bytesmiths -,Tel x3946) writes:
  16. >: Is there something I can put in .emacs to change the default fill-column?
  17. >
  18. >The usual command is set-default, e.g. in your .emacs put
  19. >
  20. >(set-default 'fill-column 80)
  21.  
  22. Interesting.  I was going to reply and say "shouldn't that be
  23. setq-default".  But then I checked `C-h f set-default' and found there
  24. is such a function (I suppose I should've realized it).  The
  25. difference of course is that with set-default, the symbol being set
  26. gets evaluated.  So, if you use setq-default, you can get rid of the
  27. quote before fill-column, i.e. (setq-default fill-column 80).
  28.  
  29. -- 
  30. Milt Epstein
  31. Department of Computer Science
  32. University of Illinois
  33. epstein@cs.uiuc.edu
  34.