emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: is there a hook to save a remember buffer?


From: Alan E. Davis
Subject: [Orgmode] Re: is there a hook to save a remember buffer?
Date: Thu, 10 Sep 2009 06:17:02 +1000

I've looked briefly into the org-remember.el.  A hook exists: remember-mode-hook.  Im not sure it can be successfully applied to the case I envision.

THere are tradeoffs to immediately saving a remember buffer to a file, and editing a note in the remember buffer, then saving with  remember-finalize.  I don't remember what they are, as they led me away from immediately saving quite a while ago. I was strongly encouraged by the establishment of a procedure to automatically save to a directory, any remember buffer that was not finallized.  I had some issues with it, including how clunky it was to recover, and it was broken at some point, when I was too busy to fix it.

One problem with editing in the Remember buffer, then saving later, is forgetting where I am.  I can rely on several remember templates, and too often have lost the remember buffer's contents, when I ran remember again. 

What I propose is the make it possible---optionally---to invoke a hook to save existing remember buffers when C-c C-r (X) is used to file a remember note while in the remember buffer already. 

I found a test "bufferp".  It does not seem to recognize the buffer name "Remember", nor "*Remember*". 

Is it possible to do this, or is remember going to defeat this?


Alan Davis

You can know the name of a bird in all the languages of the world,  but when you're finished, you'll know absolutely nothing whatever about the bird... So let's look at the bird and see what it's doing---that's what counts.

   ----Richard Feynman
       


On Wed, Sep 9, 2009 at 3:42 PM, Alan E. Davis <address@hidden> wrote:
Is there a hook to save the remember buffer when I type C-c C-r when I'm in an unsaved remember buffer?  That would be almost as good, perhaps better, than saving the remember buffer to a special file or directory. 


Alan 

You can know the name of a bird in all the languages of the world,  but when you're finished, you'll know absolutely nothing whatever about the bird... So let's look at the bird and see what it's doing---that's what counts.

   ----Richard Feynman
       


reply via email to

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