emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: dlc <dlc@coateconnection.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org Properties and tab completion issues
Date: Thu, 12 Jul 2012 08:36:18 -0500	[thread overview]
Message-ID: <D0FB8AEC-36C3-4AF6-8AF4-361E0F315467@coateconnection.com> (raw)
In-Reply-To: <87k3y91k2o.fsf@gnu.org>

>
>
>> Problems:
>> 1. If the property is not yet used on an entry, tab completion only
>> shows "property_ALL" instead of "property", and of course there is no
>> completion on possible values.
>
> There was a small bug here -- please pull from git and test.
> Thanks for reporting this.
>
>> 2. inherited properties - Where is the GENRES property and the
>> inheritance?
>
> I don't understand.

The manual gives an example of an inherited property (GENRES in the  
discography example) but (org-entry-properties) does not return it.   
Is there a different function for this? From the function description:

"(org-entry-properties &optional POM WHICH SPECIFIC)

Get all properties of the entry at point-or-marker POM.
This includes the TODO keyword, the tags, time strings for deadline,
scheduled, and clocking, and any additional properties defined in the
entry.  The return value is an alist, keys may occur multiple times
if the property key was used several times.
POM may also be nil, in which case the current entry is used.
If WHICH is nil or `all', get all properties.  If WHICH is
`special' or `standard', only get that subclass.  If WHICH
is a string only get exactly this property.  SPECIFIC can be a string,  
the
specific property we are interested in.  Specifying it can speed
things up because then unnecessary parsing is avoided. "

By the way, how is WHICH different from SPECIFIC?

>
>> 3. Is there a way to display only some of the STANDARD properties
>> along with my custom properties in the completion buffer?
>
> Nope.  I think completion is handy enough like this, but perhaps I
> misunderstand the request.
>

There are about 28 STANDARD properties, if I add 30 custom properties,  
the completion list becomes overwhelming.  Is there a way to to  
hardcode the completion list to just the properties I want it to offer?

> HTH,
>
> -- 
> Bastien
>

Thanks Bastien!!

      reply	other threads:[~2012-07-12 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08 23:35 Org Properties and tab completion issues dlc
2012-07-12  8:04 ` Bastien
2012-07-12 13:36   ` dlc [this message]

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=D0FB8AEC-36C3-4AF6-8AF4-361E0F315467@coateconnection.com \
    --to=dlc@coateconnection.com \
    --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).