From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add caching to org-buffer-property-keys Date: Thu, 03 Mar 2016 12:19:16 +0100 Message-ID: <87k2ljq05n.fsf@nicolasgoaziou.fr> References: <2016-03-02T12-21-52@devnull.Karl-Voit.at> <56D73594.6090908@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abRFt-0001zm-Fu for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 06:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abRFo-0005PK-Gt for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 06:17:17 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abRFo-0005PG-AN for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 06:17:12 -0500 In-Reply-To: <56D73594.6090908@free.fr> (Thierry Banel's message of "Wed, 02 Mar 2016 19:48:52 +0100") 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: Thierry Banel Cc: emacs-orgmode@gnu.org Hello, Thierry Banel writes: > Maybe a rewrite of (org-read-property-name) calling > (org-entry-properties) could speed up things. > (org-entry-properties) returns an assoc list of the local header > properties. I agree. The OP should use `org-entry-properties' instead of `org-buffer-property-keys' in his function, so as to get local header properties. Regards, -- Nicolas Goaziou