From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eraldo Helal <eraldo@eraldo.org>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: insert a remember template at point
Date: Tue, 1 Jun 2010 09:54:44 +0200 [thread overview]
Message-ID: <56248DEB-DDB7-4C9C-9D05-AB6D417F4212@gmail.com> (raw)
In-Reply-To: <87d3wes6uf.fsf@eraldo.org>
On May 30, 2010, at 12:04 AM, Eraldo Helal wrote:
> How can I insert a remember template at point?
>
> Until now I had identical remember templates and yasnippets.
> This is only a workaround and I would prefer to be able to insert a
> remember template at point since I have found it to have features I
> could not reproduce.
Hi Eraldo,
currently there is no easy way to do this.
One way to hack it would be to write a function that temporarily
modifies to make
all remember templates point to the current location.
So something like (untested)
(defun my-remember-here ()
(interactive)
(let ((file buffer-file-name)
(heading (org-get-heading 'no-tags))
(org-remember-templates
(mapcar (lambda (x) (list (nth 0 x) (nth 1 x) (nth 2 x) file heading))
org-remember-templates)))
(call-interatively 'org-remember)))
- Carsten
next prev parent reply other threads:[~2010-06-01 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-29 22:04 insert a remember template at point Eraldo Helal
2010-05-29 23:05 ` Shelagh Manton
2010-05-29 23:24 ` Shelagh Manton
2010-06-01 7:54 ` Carsten Dominik [this message]
2010-06-01 23:47 ` Eraldo Helal
2010-06-02 6:49 ` 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=56248DEB-DDB7-4C9C-9D05-AB6D417F4212@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=eraldo@eraldo.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).