* org-mode create TODO from anywhere
@ 2007-09-27 11:22 RIchard
2007-09-27 14:15 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: RIchard @ 2007-09-27 11:22 UTC (permalink / raw)
To: emacs-orgmode
I also posted this to the mailing list - I hope this isn't a duplicate?
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. 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. Thanks for any help.
Also, I have
(setq org-return-follows-link t)
but hitting return on a link in an org file in org-mode simply breaks the link.
Os there something else I need to set to make org-return follow a link?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-mode create TODO from anywhere
2007-09-27 11:22 org-mode create TODO from anywhere RIchard
@ 2007-09-27 14:15 ` Bastien
2007-09-27 22:31 ` John Wiegley
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2007-09-27 14:15 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-mode create TODO from anywhere
2007-09-27 14:15 ` Bastien
@ 2007-09-27 22:31 ` John Wiegley
0 siblings, 0 replies; 3+ messages in thread
From: John Wiegley @ 2007-09-27 22:31 UTC (permalink / raw)
To: emacs-orgmode
Bastien <bzg@altern.org> writes:
>> 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'?
Yes, do check there; my use of remember never creates links now!
John
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-27 22:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-27 11:22 org-mode create TODO from anywhere RIchard
2007-09-27 14:15 ` Bastien
2007-09-27 22:31 ` John Wiegley
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).