emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: org-mode create TODO from anywhere
Date: Thu, 27 Sep 2007 16:15:16 +0200	[thread overview]
Message-ID: <87myv8jitn.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20070927T111922-309@post.gmane.org> (RIchard's message of "Thu, 27 Sep 2007 11:22:24 +0000 (UTC)")

RIchard <rileyrgdev@gmail.com> writes:

> I also posted this to the mailing list - I hope this isn't a
> duplicate?

(No duplicate here.)

> Is there a function create a TODO item from any file - at the moment I
> call "remember" which has the necessary hooks into org mode, but
> remember and org-remember all insist on making a link.

What is the value of `org-remember-templates'?

If the template doesn't contain any "%a" or "%A" string, then it won't
insert a link to the buffer you're calling `org-remember' from.

Try this for example:

(setq org-remember-templates '((?n "* TODO %?\n  %i\n")))

> This doesn't work from a temprorary or non-linkable buffer. I'm sure
> there is a function to bind to a global key to create a non linked
> "task" but I can't see it. 

Works nice here: even with "%a" or "%A" in my template, if the buffer is
non-linkable, then the link will just be ignored.  

-- 
Bastien

  reply	other threads:[~2007-09-27 16:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 11:22 org-mode create TODO from anywhere RIchard
2007-09-27 14:15 ` Bastien [this message]
2007-09-27 22:31   ` John Wiegley

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=87myv8jitn.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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).