From: Carsten Dominik <dominik@science.uva.nl>
To: Russell Adams <RLAdams@AdamsInfoServ.Com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Remember integration
Date: Sun, 7 Sep 2008 09:17:43 +0200 [thread overview]
Message-ID: <EF6AF6BC-2B41-47E3-A29D-9DE9E3FC52FB@uva.nl> (raw)
In-Reply-To: <20080808072351.GC29275@thinkpad.adamsinfoserv.com>
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
prev parent reply other threads:[~2008-09-07 7:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 7:23 Remember integration Russell Adams
2008-09-07 7:17 ` 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=EF6AF6BC-2B41-47E3-A29D-9DE9E3FC52FB@uva.nl \
--to=dominik@science.uva.nl \
--cc=RLAdams@AdamsInfoServ.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).