emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Alan E. Davis" <lngndvs@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Re: is there a hook to save a remember buffer?
Date: Thu, 10 Sep 2009 06:17:02 +1000	[thread overview]
Message-ID: <7bef1f890909091317o776a1080s1cc95fe9b8fdc767@mail.gmail.com> (raw)
In-Reply-To: <7bef1f890909082242s54f61dc1n6fd18a6bc12466ee@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2093 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2583 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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-09 20:17 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 [this message]
2009-09-29  9:37   ` 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=7bef1f890909091317o776a1080s1cc95fe9b8fdc767@mail.gmail.com \
    --to=lngndvs@gmail.com \
    --cc=emacs-orgmode@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 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).