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                            [EMAIL PROTECTED]

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



_______________________________________________
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 via email to