From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Alexander Gerds Subject: Re: org agenda extensions Date: Sat, 12 Jan 2013 10:36:47 +0100 Message-ID: <86fw26bv4g.fsf@biostat.ku.dk> 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> <87k3riah2d.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtxhW-0001um-Rz for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:48:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtxWG-00083w-0Z for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:37:04 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:35430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtxWF-00083f-OY for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:36:51 -0500 Received: by mail-lb0-f178.google.com with SMTP id l5so1823056lbo.23 for ; Sat, 12 Jan 2013 01:36:50 -0800 (PST) In-Reply-To: <87k3riah2d.fsf@bzg.ath.cx> (Bastien's message of "Sat, 12 Jan 2013 10:25:46 +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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien ok. will investigate. thanks for now. Best Thomas Bastien writes: > 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.)=20=20 > > Best, -- Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics University of Copenhagen, =D8ster Farimagsgade 5, 1014 Copenhagen, Denmark Office: CSS-15.2.07 (Gamle Kommunehospital) tel: 35327914 (sec: 35327901)=20