all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xah@xahlee.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs changed file's own user and file permission
Date: Tue, 11 Dec 2007 12:49:36 -0800 (PST)	[thread overview]
Message-ID: <3cc756b9-6379-4395-b9a2-bbf8e3b2776d@a35g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.4861.1197365038.18990.help-gnu-emacs@gnu.org

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

  parent reply	other threads:[~2007-12-11 20:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10  2:11 emacs changed file's own user and file permission cire
2007-12-10  4:11 ` Eli Zaretskii
2007-12-10 18:42 ` Xah Lee
2007-12-10 23:07   ` Jason Rumney
2007-12-11  1:18     ` Xah Lee
2007-12-11  4:16       ` Eli Zaretskii
2007-12-11  9:23       ` Peter Dyballa
     [not found]       ` <mailman.4854.1197346566.18990.help-gnu-emacs@gnu.org>
2007-12-11 20:39         ` Xah Lee
2007-12-12  4:09           ` Eli Zaretskii
     [not found]           ` <mailman.4906.1197432601.18990.help-gnu-emacs@gnu.org>
2007-12-12  5:00             ` Xah Lee
     [not found]       ` <mailman.4861.1197365038.18990.help-gnu-emacs@gnu.org>
2007-12-11 20:49         ` Xah Lee [this message]
2007-12-11 23:03           ` Peter Dyballa
     [not found]           ` <mailman.4897.1197414209.18990.help-gnu-emacs@gnu.org>
2007-12-15  5:21             ` Xah Lee
2007-12-11 21:27   ` Giorgos Keramidas
2007-12-12  4:37   ` Kevin Rodgers
     [not found]   ` <mailman.4908.1197434250.18990.help-gnu-emacs@gnu.org>
2007-12-12  5:42     ` Xah Lee
2007-12-12 16:59       ` Joel J. Adamson
2007-12-12 18:26         ` Xah Lee
2007-12-14 14:44           ` Joel J. Adamson
2007-12-17  1:48             ` Sean Sieger
2007-12-12  5:43     ` Barry Margolin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3cc756b9-6379-4395-b9a2-bbf8e3b2776d@a35g2000prf.googlegroups.com \
    --to=xah@xahlee.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.