emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Hugo Schmitt" <hugows@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: FR: interactive todo creation with remember templates
Date: Fri, 25 Jan 2008 12:03:38 -0300	[thread overview]
Message-ID: <2f1c7d020801250703m398a0b0fmda7af34b00858dc6@mail.gmail.com> (raw)
In-Reply-To: <7DBD0865-2702-4A87-86FE-497037BD571E@science.uva.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1093 bytes --]

Perfect! Thanks
- Hugo

On Jan 25, 2008 10:58 AM, Carsten Dominik <dominik@science.uva.nl> wrote:

>
> On Jan 24, 2008, at 5:37 PM, Hugo Schmitt wrote:
>
> > I think my suggestion doesn't fit orgmode that well, but what if
> > 'org-remember' had 'template' as an optonal argument? (instead of
> > pulling from org-remember-template interactively).
> >
> > Then people could write their own menus/keymap/etc before calling
> > remember.
> > (Hmm, thinking about it, maybe i'll try that myself so i can call
> > remember from Anything)
>
> If you are wiling to  write lisp code, you can already do this, by
> putting
> a list with only one template temporarily into org-remember-templates,
> like this:
>
> (let ((org-remember-templates
>        ("Task" 116 "* TODO %?\n  %u" "~/org/gtd.org" "Tasks")))
>   (call-interactively 'org-remember))
>
> When there is only a single template in the list, Org-mode will actually
> skip the query for the template and execute it right away.
>
> So yes, you can write a function that does built a template on the fly.
>
> Hope this helps
>
> - Carsten
>
>

[-- Attachment #1.2: Type: text/html, Size: 1559 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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	other threads:[~2008-01-25 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22 14:55 FR: interactive todo creation with remember templates Austin Frank
2008-01-24 15:33 ` Carsten Dominik
2008-01-24 16:37   ` Hugo Schmitt
2008-01-25 13:58     ` Carsten Dominik
2008-01-25 15:03       ` Hugo Schmitt [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=2f1c7d020801250703m398a0b0fmda7af34b00858dc6@mail.gmail.com \
    --to=hugows@gmail.com \
    --cc=dominik@science.uva.nl \
    --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).