From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Feature Request] HEADLINE special property Date: Mon, 20 Oct 2014 15:16:59 +0200 Message-ID: <871tq22850.fsf@nicolasgoaziou.fr> References: <878ulbn0kx.fsf@nicolasgoaziou.fr> <87iojqkad8.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgCp4-0003IS-P5 for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 09:16:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgCoy-0007xg-AU for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 09:16:30 -0400 In-Reply-To: <87iojqkad8.fsf@bzg.ath.cx> (Bastien's message of "Sat, 11 Oct 2014 15:24:19 +0200") 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: Bastien Cc: Brett Witty , Org mailing list Hello, Bastien writes: > Nicolas Goaziou writes: > >> I think "ITEM" is expected return the headline without all the meta >> data. If no one objects, I'll change it so in master. > > Yes, thanks for this, Here is the current state: ITEM property includes stars, TODO keyword, priority, headline and tags, but only if they do not have already a dedicated column. So, in the following example #+COLUMNS: %25ITEM %TODO %PRIORITY %TAGS ITEM will contain only stars and headline. This cannot properly work in, e.g., a clock table, which doesn't know about columns. We can get rid of this "smart" behaviour and remove TODO keyword, priority and tags in all cases. However the situation is not so simple for the stars, since there is no LEVEL special property. IOW, if we remove the stars, it is actually not possible anymore to know the level of the headline. If we want to remove them, I suggest adding a new LEVEL special property. Note that in this case, user defined properties cannot be labelled "level" anymore. Another option, as the OP suggested, is to create a new special property, e.g., HEADLINE, which will contain only the title. WDYT? Regards, -- Nicolas Goaziou