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

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

Re: Automatic versioning


From: Joel J. Adamson
Subject: Re: Automatic versioning
Date: Thu, 03 Apr 2008 10:18:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







reply via email to

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