* lower case version of todo kw triggers refile bug
@ 2009-07-13 23:41 Samuel Wales
2009-07-13 23:47 ` Samuel Wales
2009-07-16 20:04 ` Bastien
0 siblings, 2 replies; 5+ messages in thread
From: Samuel Wales @ 2009-07-13 23:41 UTC (permalink / raw)
To: emacs-orgmode
When I have a lower case version of a todo kw as the first
word in a header, refile skips the header. Or so it seems.
I suspect that regexp matching for todo keywords in refile
code might be allowing lower case versions of those
keywords. There was a fix for a similar problem a while
back and that fix seems to work. So perhaps there is more than one
todo regexp? That would be strange, but if so, then perhaps they can
be refactored.
To reproduce, try refile with ido and full paths.
Thanks.
--
Myalgic encephalomyelitis causes death and severe suffering.
You can get it any time and never recover. Conflicts of
interest are destroying research. Do science and justice
matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: lower case version of todo kw triggers refile bug
2009-07-13 23:41 lower case version of todo kw triggers refile bug Samuel Wales
@ 2009-07-13 23:47 ` Samuel Wales
2009-07-16 20:04 ` Bastien
1 sibling, 0 replies; 5+ messages in thread
From: Samuel Wales @ 2009-07-13 23:47 UTC (permalink / raw)
To: emacs-orgmode
Clarification: ido does not present the header as a candidate.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: lower case version of todo kw triggers refile bug
2009-07-13 23:41 lower case version of todo kw triggers refile bug Samuel Wales
2009-07-13 23:47 ` Samuel Wales
@ 2009-07-16 20:04 ` Bastien
2009-07-16 22:28 ` Samuel Wales
1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2009-07-16 20:04 UTC (permalink / raw)
To: Samuel Wales; +Cc: emacs-orgmode
Samuel Wales <samologist@gmail.com> writes:
> When I have a lower case version of a todo kw as the first
> word in a header, refile skips the header. Or so it seems.
Sorry I can't reproduce this -- can you provide more details,
an example file and a minimal configuration?
Thanks,
PS: I can't see it anywhere in the manual but I assumed that
using uppercase for TODO keywords was a strong convention.
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: lower case version of todo kw triggers refile bug
2009-07-16 20:04 ` Bastien
@ 2009-07-16 22:28 ` Samuel Wales
2009-07-18 8:39 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2009-07-16 22:28 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
A lowercase version of an uppercase todo kw triggers the bug.
For example, if you have in org-todo-keywords "TODO", you can
reproduce by starting a header with "todo".
The lowercase version should not and does not act like a todo kw.
Except in refile, which is a bug.
Hope that clarifies.
--
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] 5+ messages in thread
* Re: lower case version of todo kw triggers refile bug
2009-07-16 22:28 ` Samuel Wales
@ 2009-07-18 8:39 ` Bastien
0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2009-07-18 8:39 UTC (permalink / raw)
To: Samuel Wales; +Cc: emacs-orgmode
I fixed this bug in the git repo, thanks.
Samuel Wales <samologist@gmail.com> writes:
> A lowercase version of an uppercase todo kw triggers the bug.
>
> For example, if you have in org-todo-keywords "TODO", you can
> reproduce by starting a header with "todo".
>
> The lowercase version should not and does not act like a todo kw.
>
> Except in refile, which is a bug.
>
> Hope that clarifies.
Yes, thanks for your patience.
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-18 8:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13 23:41 lower case version of todo kw triggers refile bug Samuel Wales
2009-07-13 23:47 ` Samuel Wales
2009-07-16 20:04 ` Bastien
2009-07-16 22:28 ` Samuel Wales
2009-07-18 8:39 ` Bastien
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).