From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Timothy Hobbs Newsgroups: gmane.emacs.help Subject: Re: Automatic versioning Date: Fri, 04 Apr 2008 13:35:35 -0700 Message-ID: References: <0fadnf78Nt8kvHDanZ2dnUVZ_q7inZ2d@sysmatrix.net> <657buvF2ep4flU1@mid.individual.net> <89aaa431-b54b-4edd-9c55-adb87fb13afa@s19g2000prg.googlegroups.com> <87myof5mml.fsf@lion.rapttech.com.au> <8763v1mvro.fsf_-_@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207341383 22859 80.91.229.12 (4 Apr 2008 20:36:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 20:36:23 +0000 (UTC) To: EMACS list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 04 22:36:55 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JhseR-0005rn-Ph for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2008 22:36:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhsdp-0003YJ-6E for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2008 16:36:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhsdY-0003YA-B5 for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 16:35:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhsdW-0003XW-LB for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 16:35:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhsdW-0003XQ-GL for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 16:35:46 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhsdW-0007We-5p for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 16:35:46 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so185586wah.10 for ; Fri, 04 Apr 2008 13:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:references:from:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=CkxINhSlGsWsWHmmt58scO8JnJXJH5fN80Big+7j14s=; b=rQQZKHMtJLnhxaVFwNbL5kVjS989NFMD4OBJX4T5MEWsURuuWFKXa8Vc88APKPEPIhxCJVuYARHYAvhcplWSP+FD08Thij+xkQCdfEu5Q1QfWZfO/m0RF2NQccjpIrrWwPUs4KvnKHP1ZIcNXbLM0oh8c2NsWqndIlATVP1jUtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:references:from:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=bPXUXuE5qbG7YJfeQIJh7qtch2Unn6/EosG1zEbSK2cGYEmDhSD8qPritPaVW/AOhJAf6RJF7elDgC/+x96HvPRM1OB8yAMNg0UwzRG1YNIMm3vdbsfHBwtbEUAs+RQVtUfIUvopj957oNe83pmCMC+QyE/UW2fknByAHT4IDm0= Original-Received: by 10.114.26.18 with SMTP id 18mr2747155waz.130.1207341338620; Fri, 04 Apr 2008 13:35:38 -0700 (PDT) Original-Received: from localhost ( [71.112.111.114]) by mx.google.com with ESMTPS id m10sm12154960waf.35.2008.04.04.13.35.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Apr 2008 13:35:37 -0700 (PDT) In-Reply-To: (Kevin Rodgers's message of "Fri\, 04 Apr 2008 06\:24\:58 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53063 Archived-At: Kevin Rodgers writes: >>> (defadvice save-buffer (before version activate) >>> "I wish to have all files versioned, period." >>> (ad-set-arg 0 '(64))) >> >> What exactly does this do? > > It makes save-buffer behave as if it were invoked as > `C-u C-u C-u C-x C-s' (see "Prefixed with three C-u's" > below). > | Prefixed with three C-u's, marks this version > | to become a backup when the next save is done, > | and unconditionally makes the previous version into a backup file. That seems like a terribly inefficient way of doing things. Creating many many multiple backup copies. Especially because I save quite regularly. I could easily end up with hundreds or thousands of backup copies. Not what I want. It seems that there should be a system almost exactly like mediawiki's in which diffs are saved, and you can see a list of versions, compare them--even across ranges, revert them, spin through different versions with a next/previous button. ect. Timothy