help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic versioning


From: Kevin Rodgers
Subject: Re: Automatic versioning
Date: Fri, 04 Apr 2008 06:28:02 -0600
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Joel J. Adamson wrote:
Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

Timothy "I am a top-poster" Hobbs wrote:
No, I mean that I wish to have all files versioned, period.  I don't care to
have to remember to version them when I edit them.  But I really can't think of
a type of file that I edit that I don't want versioned.  Even email drafts
should have versioning in my opinion.  Maybe I'll make some way to synchronise
check ins with check offs in planner :D
(defadvice save-buffer (before version activate)
  "I wish to have all files versioned, period."
  (ad-set-arg 0 '(64)))

Perhaps you want a save-buffer-hook also.

There is before-save-hook and after-save-hook, but I don't know what you
could do there to get the requested behavior -- set version-control,
kept-old-versions, kept-new-versions, etc?

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]