all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brett Witty <brettwitty@brettwitty.net>
To: Bastien <bzg@gnu.org>, Brett Witty <brettwitty@brettwitty.net>,
	Org mailing list <emacs-orgmode@gnu.org>
Subject: Re: [Feature Request] HEADLINE special property
Date: Tue, 21 Oct 2014 09:20:24 +1100	[thread overview]
Message-ID: <CANK_Tn-B2YAezfzLkP5rzME9tHKa3vL0i+qxmxK_aMoao3uFZg@mail.gmail.com> (raw)
In-Reply-To: <871tq22850.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]

Seems like a good solution. Although how about HEADLINE_LEVEL,
OUTLINE_LEVEL or some abbreviation to make it more unlikely to clash with
user defined properties?

BrettW

On Tue, Oct 21, 2014 at 12:16 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> 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
>

[-- Attachment #2: Type: text/html, Size: 2249 bytes --]

  reply	other threads:[~2014-10-20 22:21 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
2014-10-20 22:20       ` Brett Witty [this message]
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

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

  git send-email \
    --in-reply-to=CANK_Tn-B2YAezfzLkP5rzME9tHKa3vL0i+qxmxK_aMoao3uFZg@mail.gmail.com \
    --to=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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.