emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Bastien <bzg@gnu.org>
Cc: Brett Witty <brettwitty@brettwitty.net>,
	Org mailing list <emacs-orgmode@gnu.org>
Subject: Re: [Feature Request] HEADLINE special property
Date: Mon, 20 Oct 2014 15:16:59 +0200	[thread overview]
Message-ID: <871tq22850.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87iojqkad8.fsf@bzg.ath.cx> (Bastien's message of "Sat, 11 Oct 2014 15:24:19 +0200")

Hello,

Bastien <bzg@gnu.org> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> 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

  reply	other threads:[~2014-10-20 13:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 13:41 [Feature Request] HEADLINE special property Brett Witty
2014-09-22 15:20 ` Nicolas Goaziou
2014-10-11 13:24   ` Bastien
2014-10-20 13:16     ` Nicolas Goaziou [this message]
2014-10-20 22:20       ` Brett Witty
2014-11-10 15:54         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tq22850.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=brettwitty@brettwitty.net \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).