emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Alan E. Davis" <lngndvs@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>,
	Carsten Dominik <dominik@science.uva.nl>
Subject: Re: a small remember suggestion
Date: Wed, 25 Mar 2009 09:22:40 +0100	[thread overview]
Message-ID: <E23DFD69-5EDF-49D4-BF59-E3DFBAA3A0F6@gmail.com> (raw)
In-Reply-To: <7bef1f890903240722u414bcc3fsfd09ea953e50ccc7@mail.gmail.com>

I did look at this possibility, but then found it better to tag
the backup files with dates.

- Carsten

On Mar 24, 2009, at 3:22 PM, Alan E. Davis wrote:

> Wasn't going to say anything but at risk of sticking my foot in my  
> mouth:
>
> I learned that the convention for naming backups in Emacs is they  
> end in ~.  Is it possible that if this is done, Emacs will  
> automatically use the mechanism that is available to keep a given  
> number of old versions and a given number of new versions?  For  
> example, I have this in my .emacs:
>
> (setq kept-old-versions 2)
> (setq kept-new-versions 4)
> (setq delete-old-versions t)
>
> Alan Davis
>
> "An inviscid theory of flow renders the screw useless, but the need  
> for one non-existent."                     ---Lord Raleigh (John  
> William Strutt), or else his son, who was also a scientist.
>
> It is undesirable to believe a proposition when
> there is no ground whatsoever for supposing it is true.
>     ---- Bertrand Russell
>
>
>
>
> On Tue, Mar 24, 2009 at 9:29 PM, Carsten Dominik <dominik@science.uva.nl 
> > wrote:
>
> On Mar 24, 2009, at 4:29 AM, Samuel Wales wrote:
>
> On Sun, Mar 22, 2009 at 08:16, Carsten Dominik  
> <dominik@science.uva.nl> wrote:
> I have now added a variable `org-remember-backup-directory'.
> Set this to a directory, and every remember buffer
> you create will end up in a separate file, with date
> and time in the file name, so that you can always recover.
>
> That is perfect.  Thank you.
>
> Note that, if you use remember frequently, you will create
> a lot of these files.  So maybe we need to think of an expiry
> mechanism?  Like, remove any files older than a few days?
>
> As one possibility, how about removing the file once the contents are
> successfully moved to their target locations?
>
> Of course!  I will do that.
>
>
>
> After that,
>
> (when (plusp number)
>  (message "you have %s saved remember files" number))
>
> Hmmm.   When should this happen?  Not after a
> successful remember process, I'd say.....
>
> - Carsten
>
>
>
> -- 
> Myalgic encephalomyelitis denialism is causing death (decades early;
> Jason et al. 2006) and severe suffering (worse than nearly all other
> diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
> science.  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-03-25  8:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21 19:28 a small remember suggestion Samuel Wales
     [not found] ` <7bef1f890903211425p1b1329ebxd42b3d7c1a3a77d7@mail.gmail.com>
2009-03-22  2:01   ` Alan E. Davis
2009-03-22 15:16     ` Carsten Dominik
2009-03-22 17:03       ` Richard Riley
2009-03-22 20:36       ` Alan E. Davis
2009-03-24  3:29       ` Samuel Wales
2009-03-24  3:42         ` Samuel Wales
2009-03-24 11:29           ` Carsten Dominik
2009-03-24 11:29         ` Carsten Dominik
2009-03-24 14:22           ` Alan E. Davis
2009-03-25  8:22             ` Carsten Dominik [this message]
2009-03-25  4:46           ` Samuel Wales
2009-03-25  6:24             ` Alan E. Davis
2009-03-25  8:23               ` Carsten Dominik

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=E23DFD69-5EDF-49D4-BF59-E3DFBAA3A0F6@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=lngndvs@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).