From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org agenda extensions Date: Sat, 12 Jan 2013 10:25:46 +0100 Message-ID: <87k3riah2d.fsf@bzg.ath.cx> References: <87zk0f1yas.fsf@bzg.ath.cx> <86vcb3xx44.fsf@biostat.ku.dk> <87mwweeuaz.fsf@bzg.ath.cx> <86sj66c0cz.fsf@biostat.ku.dk> <87fw26u6z1.fsf@bzg.ath.cx> <86k3ribwnf.fsf@biostat.ku.dk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtxLc-0007iW-Rf for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:25:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtxLa-0006Eg-65 for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:25:52 -0500 Received: from mail-we0-f176.google.com ([74.125.82.176]:34878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtxLZ-0006Eb-Og for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:25:50 -0500 Received: by mail-we0-f176.google.com with SMTP id r5so1199905wey.7 for ; Sat, 12 Jan 2013 01:25:49 -0800 (PST) In-Reply-To: <86k3ribwnf.fsf@biostat.ku.dk> (Thomas Alexander Gerds's message of "Sat, 12 Jan 2013 10:03:48 +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: Thomas Alexander Gerds Cc: emacs-orgmode@gnu.org Hi Thomas, Thomas Alexander Gerds writes: > I feel that your proposal to first create the agenda using the standard > `org-agenda-format-item' function and then to replace all lines again, > by calling a suitable function added to `org-agenda-finalize-hook' is > not very efficient. Imagine you have a 10000 items agenda file, and you produce a 100 items agenda view. Your method would slow down checking 10000 items to display properties for 100 items, while my method would slow down the display of the 100 already available items. So its about 100x faster. Please check both methods and let us know what performance you observe. > but, since you agree that when `org-agenda-property-list' is nil no harm > is done, and if your objection mostly is about the name, then how about > > `org-agenda-overriding-format-item-function' My objection is about the method. > ps: I would volunteer to assist users who copy stuff from the web and of > course also deliver documentation and examples for > `org-agenda-property-list'. Thanks for this -- but as I said, there are performance issues and design issues (not introducing formatting properties within org-scan-tags.) Best, -- Bastien