From mboxrd@z Thu Jan 1 00:00:00 1970 From: egallego@babel.ls.fi.upm.es (Emilio =?utf-8?Q?Jes=C3=BAs?= Gallego Arias) Subject: Re: (org-entry-properties nil 'all) does not return inherited properties Date: Mon, 22 Mar 2010 21:07:43 +0100 Message-ID: <87vdcodss0.fsf@babel.ls.fi.upm.es> References: <20100322150100.GA21387@homac> <877hp48d4p.fsf@baal.ls.fi.upm.es> <20100322180630.GB26505@homac> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtnvF-00058R-MT for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 16:08:25 -0400 Received: from [140.186.70.92] (port=35503 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtnvE-00057R-FY for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 16:08:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtnvC-0003yN-SH for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 16:08:24 -0400 Received: from lo.gmane.org ([80.91.229.12]:39452) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtnvC-0003xA-LE for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 16:08:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NtnvA-0001Yr-JO for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 21:08:20 +0100 Received: from 150.red-88-14-25.dynamicip.rima-tde.net ([88.14.25.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Mar 2010 21:08:20 +0100 Received: from egallego by 150.red-88-14-25.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Mar 2010 21:08:20 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Holger Macht writes: > On Mo 22. Mär - 18:44:38, Emilio Jesús Gallego Arias wrote: >> Holger Macht writes: >> >> > (org-entry-properties nil 'all) does not return inherited properties >> > added with a file directive like that: >> > >> > #+PROPERTY: propkey propval >> > >> > Is this by intention? If so, is there a method to get all the properties >> > of an item, also inherited ones? >> > >> > Currently I was just able to find (org-entry-get), but this only returns >> > one specific property of which I need to know the name. >> >> See: >> >> ,----[ C-h v org-use-property-inheritance RET ] > > Have you tried? At least this doesn't have an effect on > (org-entry-properties in current git head. Sorry Holger I misunderstood your question. I guess you should modify org-entry-properties in order to include global properties like is done in the inheritance case. It could be something like: (when org-use-property-inheritance (setq props (append org-file-properties props) props (append org-global-properties props) props (append org-global-properties-fixed props))) I don't know what may this change break. Regards, Emilio