emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug and two suggestions for org-remember
@ 2009-07-21  4:42 Samuel Wales
  0 siblings, 0 replies; only message in thread
From: Samuel Wales @ 2009-07-21  4:42 UTC (permalink / raw)
  To: emacs-orgmode

With templates like the following, I sometimes get things
refiled to a new heading at the end of the file, instead of
to an existing "mytarget" which is not at top level.

          ("test" ?t    "* %? %i -- %a\n" "/path/to/test.org" "mytarget")

What I expected is that the existing target would be used.

The difference appears to be that I added a todo kw on the
"mytarget" headline.  It appears as if org-remember expects
the target to have no todo kw.  I expected the todo kw to be
irrelevant to choosing the target,[fn:8] I think that most people
would probably expect the same.

My proposed fix is to make remember choose a target without
regard to its todo kw.

I also suggest that org-IDs be usable in place of a headline
string for "mytarget".  If the target does not exist, then
an error can be signaled.

Finally, perhaps the comments at the top of the remember
buffer can show the full olpath of the default target,
perhaps in a different face.

Thanks.

[fn:8] I haven't looked into whether choosing a headline
using a search link or agenda search pay attention to the
todo kw, but I would guess that they do not.  Refile appears to work
as I expect.

-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.  Again.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-21  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-21  4:42 bug and two suggestions for org-remember Samuel Wales

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).