From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: emacs changed file's own user and file permission Date: Tue, 11 Dec 2007 12:49:36 -0800 (PST) Organization: http://groups.google.com Message-ID: <3cc756b9-6379-4395-b9a2-bbf8e3b2776d@a35g2000prf.googlegroups.com> References: <4ad823b9-4941-4883-8771-de43d50913de@e25g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197409360 27948 80.91.229.12 (11 Dec 2007 21:42:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2007 21:42:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 22:42:50 2007 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 1J2Cr0-0002v3-TP for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Dec 2007 22:41:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2Cqj-0004lb-4q for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Dec 2007 16:41:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a35g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-NNTP-Posting-Host: 69.236.67.2 Original-X-Trace: posting.google.com 1197406176 4500 127.0.0.1 (11 Dec 2007 20:49:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 11 Dec 2007 20:49:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a35g2000prf.googlegroups.com; posting-host=69.236.67.2; posting-account=qPxGtQkAAADb6PWdLGiWVucht1ZDR6fn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/523.12 (KHTML, like Gecko) Version/3.0.4 Safari/523.12, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154591 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:50019 Archived-At: Peter Dyballa wrote: <> you can easily write a restore-backup function in emacs (possibly bundled as default) that retores the file from emacs's backup. This way, the emacs backup system is completely transparent. When a user needs to retore from backup, she can just Alt-x restore-from-backup. (either on current buffer or prompt for file name...) for programers who likes to manually see and get the backup file for whatever reasons, she can do so easily, since the dir path info is kept intact. PS addendum to my previous suggestion about sperater dir for emacs backup: the default backup dir should be fixed by default such as ".emacs_backup". (as opposed to asking a user to set it.) User can still change it of course. The thing here is that having a standardized emacs backup dir location is good. Xah xah@xahlee.org $B-t(B http://xahlee.org/ On Dec 11, 1:23 am, Peter Dyballa wrote: > Am 11.12.2007 um 02:18 schriebXahLee: > > > and the alternative solution, which create all the dirs instead of the > > "!" and i think should be build in into emacs, is: > > Maybe I make backups for a different purpose than you: I would like > to be able to restore a changed or deleted file. And even more often > I want to have pluralism: the choice between a few former versions of > that file. > > Your function does not seem to work in this sense, hiding files in a > big and vast tree. > > -- > Greetings > > Pete > > One cannot live by television, video games, top ten CDs, and dumb > movies alone > - Amiri Baraka, 1999