From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: is there a hook to save a remember buffer? Date: Tue, 29 Sep 2009 11:37:36 +0200 Message-ID: References: <7bef1f890909082242s54f61dc1n6fd18a6bc12466ee@mail.gmail.com> <7bef1f890909091317o776a1080s1cc95fe9b8fdc767@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsZ9V-0005t5-6y for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 05:37:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsZ9Q-0005pS-Ci for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 05:37:44 -0400 Received: from [199.232.76.173] (port=51721 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsZ9P-0005pE-U1 for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 05:37:40 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:35622) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MsZ9P-0006X4-CT for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 05:37:39 -0400 Received: by ewy4 with SMTP id 4so3288682ewy.31 for ; Tue, 29 Sep 2009 02:37:38 -0700 (PDT) In-Reply-To: <7bef1f890909091317o776a1080s1cc95fe9b8fdc767@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Alan E. Davis" Cc: org-mode 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 > 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