[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug? Changed behaviour makes tags in headlines without a title parse
From: |
Anders Johansson |
Subject: |
[O] Bug? Changed behaviour makes tags in headlines without a title parsed as the title |
Date: |
Wed, 08 Apr 2015 15:44:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Hi,
I have been using "degenerate" inlinetasks with empty titles but many
tags for implementing a kind of coding scheme for coding texts for
qualitative data analysis. Like this:
-----
Some text that I want to tag (The inlinetask in my scheme refers to the
paragraph above it)
*************** :tag1:tag2:tag3:
Other text (no inlinetask-END, mostly)
-----
Building org from the master branch, I recently noticed a changed
behaviour in that these tags as are not parsed as tags but instead as
the title, meaning my exports don't work as expected (and possibly other
things, but searching for tags etc.doesn't seem to be affected. Those
functions don't use org-element perhaps?).
As far as I could see, this comes from the changes in commit
98ee73: org-element: Avoid `org-element-parse-secondary-string',
where tags are matched with the regexp:
(org-re "[ \t]+\\(:[[:alnum:address@hidden:]+:\\)[ \t]*$")
which needs whitespace "after" the non-existent title.
I haven't checked all the different changes going on in org-element though.
I don't know if this changed behaviour is intended. Otherwise I guess
it's a bug.
Cheers,
- [O] Bug? Changed behaviour makes tags in headlines without a title parsed as the title,
Anders Johansson <=