home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2913 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.5 KB  |  44 lines

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!olivea!sgigate!odin!sgi.com!scotth
  2. From: scotth@hoshi.corp.sgi.com (Scott Henry)
  3. Newsgroups: comp.emacs
  4. Subject: Re: How do I send file~ to the wastebasket directory?
  5. Message-ID: <SCOTTH.92Aug20162111@hoshi.corp.sgi.com>
  6. Date: 20 Aug 92 21:21:11 GMT
  7. References: <1992Aug20.192848.4860@fzi.de>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Followup-To: comp.emacs
  10. Organization: Silicon Graphics Inc, Mountain View, CA
  11. Lines: 29
  12. In-Reply-To: schreib@fzi.de's message of Thu, 20 Aug 1992 19: 28:48 GMT
  13. Nntp-Posting-Host: hoshi.corp.sgi.com
  14.  
  15.  
  16. >>>>> In article <1992Aug20.192848.4860@fzi.de>, schreib@fzi.de (Hartmut Schreiber) writes:
  17.  
  18. schreib> Can I tell emacs to maintain more than two versions of a file, like
  19. schreib> VMS does?
  20.  
  21. I have the following in my .emacs
  22.  
  23.   (setq version-control t)
  24.   (setq kept-new-versions 2)
  25.   (setq kept-old-versions 2)
  26.  
  27. This uses numerical save versions (bleh.~21~ and so forth). It will
  28. leave the two oldest (smallest numbered) versions alone, and
  29. prompt-to-delete excess new versions, keeping 2 before prompting.
  30.  
  31. as a hook in some modes (like vm), I have the following line
  32.  
  33.      (make-variable-buffer-local 'trim-versions-without-asking)
  34.      (setq trim-versions-without-asking t)
  35.  
  36.  
  37. Hope this helps.
  38.  
  39. =-=-=-=-=
  40. --
  41.  Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
  42.  Networking Services,        / Help! My disclaimer is missing!
  43.  Silicon Graphics, Inc      / GIGO *really* means: Garbage in, Gospel Out
  44.