From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Edgington Subject: Re: Arbitrary lisp functions in column-attributes Date: Thu, 31 Oct 2013 12:41:13 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbvJZ-0004rB-QA for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 12:41:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbvJY-0006ZZ-Nx for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 12:41:45 -0400 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:59608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbvJY-0006ZL-Ie for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 12:41:44 -0400 Received: by mail-ob0-f182.google.com with SMTP id wn1so3343021obc.27 for ; Thu, 31 Oct 2013 09:41:43 -0700 (PDT) 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: emacs-orgmode Hello all, Since the formatting on my earlier post was bad, I'm re-posting this with a bit more information: I would really appreciate it if it were possible to specify an arbitrary lisp function to process node-properties when creating a column view. Currently it is possible to have something like: * Top node for columns view :PROPERTIES: :COLUMNS: %25ITEM %TAGS %PRIORITY %TODO :END: But I'd like to be able to do something like: :COLUMNS: %ITEM{fn:process_item}(My Column Heading Name) %TAGS %PRIORITY %TODO which would pass the ITEM property's value as a single argument to the process_item function. The returned value/string of the function would be what appears in the column view. Of course one should also be able to use a lambda expression in place of the function name. Does this sound like something worth working on? I would certainly have various uses for such functionality, so I imagine it would be useful to others as well. I understand that there is the org-collector module, but this isn't quite sufficient. Although it permits arbitrary lisp expressions, it doesn't allow one to customize what's printed for the column-headers, like a normal columnview block would allow. Regards, Mark