From mboxrd@z Thu Jan 1 00:00:00 1970 From: dlc Subject: Org Properties and tab completion issues Date: Sun, 8 Jul 2012 18:35:28 -0500 Message-ID: Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/alternative; boundary="Apple-Mail=_46A55997-5FCC-4B9C-92D3-93AEAFEE61F0" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1So10o-0002aB-FU for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 19:35:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1So10l-0001iP-Ku for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 19:35:34 -0400 Received: from coateconnection.com ([69.56.251.74]:47806 helo=mail.coateconnection.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1So10l-0001hN-CE for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 19:35:31 -0400 Received: from server.gabllc.private (50-82-136-244.client.mchsi.com [50.82.136.244]) by mail.coateconnection.com (Postfix) with ESMTP id DCB2953F7F for ; Sun, 8 Jul 2012 19:35:28 -0400 (EDT) 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: emacs-orgmode@gnu.org --Apple-Mail=_46A55997-5FCC-4B9C-92D3-93AEAFEE61F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Using the example in the Org Manual doesn't seem to work although I am = new to emacs and org mode so maybe i'm not grasping the concept. I set org-use-inheritance to true, I saved the file and loaded it fresh = and tried C-c C-c on the #+PROPERTY line to refresh local setup. 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.=20 2. inherited properties - Where is the GENRES property and the = inheritance? 3. Is there a way to display only some of the STANDARD properties along = with my custom properties in the completion buffer? See sample org file below: Use case - i am trying to manage my contacts and want to predefine about = 30 properties and their allowed values before using them. I want to use = COLUMN view to look through 1,000's of contacts and possibly sort them = by different criteria depending on task at hand. I will use agenda to = manage TODOs and SCHEDULED. By setting a UUID for each top -level entry = (a person) then possibly write some functions (providing a database = -like functionality). I need this to work across Windows, Mac Leopard & = Lion, Centos, and OpenSuse, along with syncing some contact info to = iPhone & iPad, all whether I'm online or offline (in the field). I will = use svn or git to keep things current on the desktop/laptop platforms. =20= #+PROPERTY: NDisks_ALL 1 2 3 4 * CD collection :PROPERTIES: :Publisher_ALL: "Deutsche Grammophon" Philips EMI :END: ** Classic :PROPERTIES: :GENRES: Classic :END: *** Goldberg Variations :PROPERTIES: :Title: Goldberg Variations :Artist: Glen Gould :Composer: J.S. Bach :Publisher: Deutsche Grammophon :NDisks: 1 :GENRES+: Baroque :END: #+begin_src emacs-lisp :results output (print (version)) (print org-use-property-inheritance) (print (org-entry-properties nil )) #+end_src #+RESULTS: :=20 : "GNU Emacs 24.1.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32) : of 2012-06-15 on gamma.local" :=20 : t :=20 : (("FILE" . "/Users/davidcoate/gtd/temp.org") ("BLOCKED" . "") ("Title" = . "Goldberg Variations") ("Artist" . "Glen Gould") ("Composer" . "J.S. = Bach") ("Publisher" . "Deutsche Grammophon") ("NDisks" . "1") = ("CATEGORY" . "temp")) David Coate Broker Associate "Coate Connection" www.CoateConnection.com Re/Max Paradise www.AlabamaParadise.com Licensed in AL and FL 23525 Perdido Beach Blvd. Orange Beach, Al 36561 251-213-8811 cell 251-948-8888 fax 1-800-339-2836 direct toll free --Apple-Mail=_46A55997-5FCC-4B9C-92D3-93AEAFEE61F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Using the example in the Org Manual doesn't seem to work although I am = new to emacs and org mode so maybe i'm not grasping the concept.
I = set org-use-inheritance to true, I saved the file and loaded it fresh = and tried C-c C-c on the #+PROPERTY line to refresh local = setup.

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. 
2. inherited properties - Where is the GENRES = property and the inheritance?
3. Is there a way to display = only some of the STANDARD properties along with my custom properties in = the completion buffer?

See sample org file = below:

Use case - i am trying to manage my = contacts and want to predefine about 30 properties and their allowed = values before using them.  I want to use COLUMN view to look = through 1,000's of contacts and possibly sort them by different criteria = depending on task at hand.  I will use agenda to manage TODOs and = SCHEDULED.  By setting a UUID for each top -level entry (a person) = then possibly write some functions (providing a database -like = functionality).  I need this to work across Windows, Mac Leopard = & Lion, Centos, and OpenSuse, along with syncing some contact info = to iPhone & iPad, all whether I'm online or offline (in the field). =  I will use svn or git to keep things current on the desktop/laptop = platforms. =   


#+PROPERTY= : NDisks_ALL 1 2 3 4

* CD = collection
  :PROPERTIES:
  = :Publisher_ALL: "Deutsche Grammophon" Philips EMI
  = :END:
** Classic
  =  :PROPERTIES:
   :GENRES:   = Classic
   :END:
*** Goldberg = Variations
    :PROPERTIES:
    = :Title:    Goldberg Variations
    = :Artist:   Glen Gould
    :Composer: J.S. = Bach
    :Publisher: Deutsche = Grammophon
    :NDisks:   =  1
    :GENRES+: Baroque
  =   :END:

#+begin_src emacs-lisp :results = output
(print (version))
(print = org-use-property-inheritance)
(print (org-entry-properties nil = ))
#+end_src

#+RESULTS:
:&nbs= p;
: "GNU Emacs 24.1.1 (x86_64-apple-darwin11.3.0, NS = apple-appkit-1138.32)
:  of 2012-06-15 on = gamma.local"
: = t
: (("FILE" . = "/Users/davidcoate/gtd/temp.org") ("BLOCKED" . "") ("Title" . "Goldberg = Variations") ("Artist" . "Glen Gould") ("Composer" . "J.S. Bach") = ("Publisher" . "Deutsche Grammophon") ("NDisks" . "1") ("CATEGORY" . = "temp"))




=


David Coate
Broker Associate
"Coate = Connection"
www.CoateConnection.com
Re/Max = Paradise
www.AlabamaParadise.com
23525 Perdido Beach Blvd.
Orange Beach, Al 36561
251-213-8811 cell
1-800-339-2836 direct toll = free
= --Apple-Mail=_46A55997-5FCC-4B9C-92D3-93AEAFEE61F0--