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:03:48 +0100 Message-ID: <86k3ribwnf.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> 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]:50705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttx0Q-0004oD-JS for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:04:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttx0L-0001AQ-K4 for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:03:58 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:43718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttx0L-0001AK-CA for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 04:03:53 -0500 Received: by mail-lb0-f169.google.com with SMTP id gk1so1871845lbb.0 for ; Sat, 12 Jan 2013 01:03:52 -0800 (PST) In-Reply-To: <87fw26u6z1.fsf@bzg.ath.cx> (Bastien's message of "Sat, 12 Jan 2013 09:43:30 +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 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. 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' Best, Thomas 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'. Bastien writes: > Hi Thomas, > > Thomas Alexander Gerds writes: > >> thanks for looking into this! I understand your general point of >> view. however, the proposed changes would only slow down agenda creating >> if org-agenda-property-list is set, right? > > Right. > >> also, it certainly requires some insights to write >> org-agenda-overriding-agenda-format which could display non-special > > (`org-agenda-overriding-agenda-format' is a confusing name IMHO.) > >> properties. hence only a user who knows what she/he is doing would run >> into this problem. > > Many users just copy stuff from the web, and some are not really > knowing what they do. > >> anyway, could you propose a different approach to get this >> extension? > > You can write a function for `org-agenda-finalize-hook' which would go > through the agenda lines, get the properties and display them. > > That's a far better approach. > >> ps: one limitation of org-agenda-columns seems to be that columns >> cannot be activated in two different agenda buffers simulaneously. > > Yes, we can work on this. > > 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