emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Categories
Date: Mon, 15 Oct 2007 12:32:00 +0100	[thread overview]
Message-ID: <87abqkd367.fsf@bzg.ath.cx> (raw)
In-Reply-To: <77zlykith7.fsf@home.net> (Richard G. Riley's message of "Mon, 15 Oct 2007 12:04:52 +0200")

Richard G Riley <rileyrgdev@googlemail.com> writes:

>>> There is no "properties_alL" which determine which properties you can
>>> add.
>>
>> Not relevant here, because there is no reason why the user would like to
>> limit the set of available properties.
>
> Must disagree. Completion doesn't *limit* the choices. It only
> provides existing properties as a choice. You are still free to create
> a new one.

My first point here is that completion over existing properties in the
buffer is enough, no need for a meta-meta-property like PROPERTIES_ALL.

My other point is: when doing `C-c C-x p' to select/edit the value of a
property, it's useful to limit the set of available values -- only when
this set is defined in the corresponding PROPERTY_ALL.

_ALL means "no other value is allowed".  Then if you want the completion
to offer other values when there is such a *_ALL property, you will have
to add this other values to the property first.

(I guess the confusion comes from the fact that we started speaking
about completion for the CATEGORY property.  The CATEGORY property is
historically bound to the entire buffer, so you might expect completion
to be performed on all the values that you have in this buffer.  But if
someone is pervert enough to have a CATEGORY_ALL in a subtree, then the
completion should not offer values that are *not* in this limited set.
CATEGORY is now a property like any other, and it should behave like 
any other... how sad it might be.)

> I understand that. I was referring to the condition where there is no
> "ALL" value. Then it should be (and another email suggests that is how
> Carsten implemented it) a pick from all existing properties 

Agreed.  And this is the current behavior :)

Best,

NB: maybe you'd be interested in the suggestion I make here about having
a "_MULTI" suffix: 

  http://www.cognition.ens.fr/~guerry/org-features-suggestions.html#sec-3

-- 
Bastien

  parent reply	other threads:[~2007-10-15 10:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11 23:05 Categories Richard G Riley
2007-10-12  3:16 ` Categories Eddward DeVilla
2007-10-12  9:00   ` Categories Richard G Riley
2007-10-12 13:31     ` Categories Bastien
     [not found]       ` <fgy7e85vf3.fsf@home.net>
2007-10-12 14:56         ` Categories Bastien
2007-10-12 14:12           ` Categories Richard G Riley
2007-10-12 14:27             ` Categories Carsten Dominik
2007-10-12 15:04               ` Categories Richard G Riley
2007-10-12 17:00                 ` Categories Bastien
     [not found]                   ` <qfr6k0b8f8.fsf@home.net>
     [not found]                     ` <87bqb4uri3.fsf@bzg.ath.cx>
     [not found]                       ` <ml641cb5wj.fsf@home.net>
     [not found]                         ` <87r6k0tboe.fsf@bzg.ath.cx>
     [not found]                           ` <0sprzk9pcu.fsf@home.net>
     [not found]                             ` <87641cdniz.fsf@bzg.ath.cx>
     [not found]                               ` <uzk5prdwxm.fsf@home.net>
     [not found]                                 ` <87tzovjeer.fsf@bzg.ath.cx>
     [not found]                                   ` <13k5prcg2a.fsf@home.net>
     [not found]                                     ` <87bqb3jcsm.fsf@bzg.ath.cx>
     [not found]                                       ` <77zlykith7.fsf@home.net>
2007-10-15 11:32                                         ` Bastien [this message]
     [not found]                   ` <jnr6jwtk1o.fsf@home.net>
2007-10-15 17:54                     ` Categories Bastien
     [not found]                       ` <t1lka4thoz.fsf@home.net>
2007-10-15 18:38                         ` Categories Bastien
     [not found]                           ` <jbhcksjmnx.fsf@home.net>
2007-10-15 18:57                             ` Categories Bastien
     [not found]                               ` <2yd4vgdyxe.fsf@home.net>
2007-10-15 19:24                                 ` Categories Bastien
2007-10-12 17:07                 ` Categories Carsten Dominik
2007-10-12 17:20                   ` Categories Richard G Riley
2007-10-12 18:20                     ` Categories Carsten Dominik
2007-10-13 12:22                       ` Categories Richard G Riley
2007-10-14  6:14                         ` Categories Carsten Dominik

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=87abqkd367.fsf@bzg.ath.cx \
    --to=bzg@altern.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).