From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Edgington Subject: Arbitrary lisp functions in column-attributes Date: Mon, 28 Oct 2013 13:00:48 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e4d3274080d04e9d00c29 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaqC0-0002r8-1H for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 13:01:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaqBs-0007CG-3C for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 13:01:27 -0400 Received: from mail-oa0-x229.google.com ([2607:f8b0:4003:c02::229]:48348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaqBr-0007C7-Ty for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 13:01:20 -0400 Received: by mail-oa0-f41.google.com with SMTP id o9so3917347oag.14 for ; Mon, 28 Oct 2013 10:01:18 -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 --047d7b2e4d3274080d04e9d00c29 Content-Type: text/plain; charset=ISO-8859-1 Hello all, I would really appreciate it if it were possible to specify an arbitrary lisp function to process node-properties when creating a column view. For example, you can currently 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} %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 it would be good if one could also 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. Regards, Mark --047d7b2e4d3274080d04e9d00c29 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello all,

I would r= eally appreciate it if it were possible to specify an arbitrary lisp functi= on to process node-properties when creating a column view.=A0 For example, = you can currently 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} %TAGS %PRIORITY %TODO= which would pass the ITEM property's value as a single argument to the = process_item function.=A0 The returned value/string of the function would b= e what appears in the column view.

Of course it would be good if one could also use a lambda express= ion in place of the function name.

Does this sound like someth= ing worth working on?=A0 I would certainly have various uses for such funct= ionality, so I imagine it would be useful to others as well.

Regards,

Mark
--047d7b2e4d3274080d04e9d00c29--