all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Philipp Schaefer <philipp.schaefer@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Default Date for Scheduling in Remember Buffer
Date: Tue, 22 Sep 2009 11:36:59 -0400	[thread overview]
Message-ID: <m27hvrf0tg.fsf@fastmail.fm> (raw)
In-Reply-To: <1253613510.3385.9.camel@gravor> (Philipp Schaefer's message of "Tue, 22 Sep 2009 11:58:30 +0200")

Philipp Schaefer <philipp.schaefer@gmail.com> writes:

> I just tried the functionality described in the manual in the section
> http://orgmode.org/org.html#Setting-up-Remember-for-Org , according to
> which the key combination 'k r' leads to timestamps defaulting to the
> day on which the pointer was when 'k r' was invoked. Now is it somehow
> possible to alter the behaviour of %t to not only be converted to a
> simple timestamp but instead to a deadline- or scheduled-timestamp?

Here's the simplest way to do it:

(setq org-remember-templates
  '((?s "* TODO %^{Title}\n SCHEDULED: %t\n %a\n %i")
    (?d "* TODO %^{Title}\n DEADLINE: %t\n %a\n %i")
    ;; ... other templates here
    ))

- Matt

  reply	other threads:[~2009-09-22 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22  9:58 Default Date for Scheduling in Remember Buffer Philipp Schaefer
2009-09-22 15:36 ` Matt Lundin [this message]
2009-09-22 17:11   ` Dave Täht

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27hvrf0tg.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=philipp.schaefer@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.