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>
Subject: Re: Re: is there a hook to save a remember buffer?
Date: Tue, 29 Sep 2009 11:37:36 +0200	[thread overview]
Message-ID: <EC79650B-4778-4BE8-B480-904F49FF038A@gmail.com> (raw)
In-Reply-To: <7bef1f890909091317o776a1080s1cc95fe9b8fdc767@mail.gmail.com>

Hi Allen,

saving remember buffers is hackish and complex as it is, so I am not  
going to add this option.

I think the workflow has to be this:

Create a remember buffer and more-or-less immediately file it.

If you need to work on the content for a longer time, work on it at  
the target location:  Simply exit remember with C-u C-c C-c.  The  
buffer will be filed and the target location will be visited  
immediately.  So now you can work there as long as you want, and start  
another remember process when you need one.

HTH

- Carsten

On Sep 9, 2009, at 10:17 PM, Alan E. Davis wrote:

> 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 <lngndvs@gmail.com>  
> 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
>
>
> _______________________________________________
> 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-09-29  9:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09  5:42 is there a hook to save a remember buffer? Alan E. Davis
2009-09-09 20:17 ` Alan E. Davis
2009-09-29  9:37   ` Carsten Dominik [this message]

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=EC79650B-4778-4BE8-B480-904F49FF038A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --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).