From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Remember integration Date: Sun, 7 Sep 2008 09:17:43 +0200 Message-ID: References: <20080808072351.GC29275@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 (Apple Message framework v926) 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 1KcEWu-0007S1-4A for emacs-orgmode@gnu.org; Sun, 07 Sep 2008 03:17:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcEWs-0007Os-P4 for emacs-orgmode@gnu.org; Sun, 07 Sep 2008 03:17:51 -0400 Received: from [199.232.76.173] (port=42536 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcEWs-0007OU-KK for emacs-orgmode@gnu.org; Sun, 07 Sep 2008 03:17:50 -0400 Received: from mx20.gnu.org ([199.232.41.8]:2359) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcEWs-0002gw-1U for emacs-orgmode@gnu.org; Sun, 07 Sep 2008 03:17:50 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcEWq-0004kI-JX for emacs-orgmode@gnu.org; Sun, 07 Sep 2008 03:17:49 -0400 Received: by ey-out-1920.google.com with SMTP id 4so487314eyg.24 for ; Sun, 07 Sep 2008 00:17:47 -0700 (PDT) In-Reply-To: <20080808072351.GC29275@thinkpad.adamsinfoserv.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: Russell Adams Cc: Org Mode List Hi Russel, remember-handler-functions is a hook that can contain several functions. The first function that returns non-nil is assumed to have done the work, so the other ons are not called. You can do (setq remember-handler-functions '(my-ledger-function org-remember- handler)) and let the first function do the work for ledger entries. It needs to have a way to identify the corresponding buffer - if that is non- trivial, then your template can leave some special text that will be removed by my-ledger-fuction before appending the content to a file. HTH - Carsten On Aug 8, 2008, at 9:23 AM, Russell Adams wrote: > Is there a way to override the 'remember files requires a headline' > requirement? > > I'd like to have a remember template that just appends the template to > a file. In this case I'm using a remember template to try and create a > ledger entry for expenses. It is not an org file. > > Using remember is the right place to do it (ie: in place fast data > entry for later), but the org integration is forcing file validation. > > Thanks. > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > _______________________________________________ > 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