From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Johansson Subject: Bug? Changed behaviour makes tags in headlines without a title parsed as the title Date: Wed, 08 Apr 2015 15:44:14 +0200 Message-ID: <552530AE.7030301@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfqHU-00005q-Nc for emacs-orgmode@gnu.org; Wed, 08 Apr 2015 09:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfqHF-0002el-HT for emacs-orgmode@gnu.org; Wed, 08 Apr 2015 09:44:36 -0400 Received: from smtp-out1.uu.se ([130.238.7.172]:49346 helo=cursor.its.uu.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfqHF-0002dT-6b for emacs-orgmode@gnu.org; Wed, 08 Apr 2015 09:44:21 -0400 Received: from e-mailfilter02.sunet.se (e-mailfilter02.sunet.se [192.36.171.202]) by cursor.its.uu.se (Postfix) with ESMTP id 78565759 for ; Wed, 8 Apr 2015 15:44:19 +0200 (CEST) Received: from velox.its.uu.se (velox.its.uu.se [130.238.7.74]) by e-mailfilter02.sunet.se (8.14.4/8.14.4/Debian-4) with ESMTP id t38DiJfr017550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Apr 2015 15:44:19 +0200 Received: from [130.238.77.156] (pc156.kvk.uu.se [130.238.77.156]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by velox.its.uu.se (Postfix) with ESMTPSA id 0AD7F34C51 for ; Wed, 8 Apr 2015 15:44:40 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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:]_@#%:]+:\\)[ \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,