From mboxrd@z Thu Jan 1 00:00:00 1970 From: dlc Subject: Re: Org Properties and tab completion issues Date: Thu, 12 Jul 2012 08:36:18 -0500 Message-ID: References: <87k3y91k2o.fsf@gnu.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpJZN-0002CC-0a for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 09:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpJZH-0006f9-70 for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 09:36:36 -0400 In-Reply-To: <87k3y91k2o.fsf@gnu.org> 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: emacs-orgmode@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!!