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

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

Re: emacs changed file's own user and file permission


From: Xah Lee
Subject: Re: emacs changed file's own user and file permission
Date: Tue, 11 Dec 2007 12:49:36 -0800 (PST)
User-agent: G2/1.0

Peter Dyballa wrote:

<<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.
>>

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
\xAD\xF4 http://xahlee.org/

On Dec 11, 1:23 am, Peter Dyballa <Peter_Dyba...@Web.DE> 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



reply via email to

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