From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Leitner Subject: Multiple column views for one file Date: Thu, 31 Dec 2009 15:31:24 +0100 Message-ID: <20091231153124.63c14ad0@noeato> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQM3u-0001cs-D4 for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 09:31:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQM3p-0001Q6-PC for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 09:31:37 -0500 Received: from [199.232.76.173] (port=55506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQM3p-0001Pq-FY for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 09:31:33 -0500 Received: from mail.gmx.net ([213.165.64.20]:35173) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NQM3p-0001Qm-7j for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 09:31:33 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I don't know if org-mode supports having multiple column views for one file currently but I did not find a way to do the following. What I have is a journal file in org-mode in which I record, for example, films I have seen, books I have read and kilometres I have run. All of these entries have properties based on their type, for example, films have the properties Genre, Year and Director. Now I would like to get a sparse tree for all entries tagged with `film` and use a special column view for the films. However, when I define the #+COLUMNS variable at the top, this procedure only works for films, and not for books or other entry types which have different properties. Therefore it would be nice to be able to define several column views and the possibility to switch between them. It is currently possible to disable column view by pressing `q` when the cursor is on a head line in column view. It should probably be no problem to add another hotkey like `s` for switching to a different column view. The different column views could be defined like this: #+COLUMNS: films %70ITEM(Details) %TAGS(Context) %Genre %Year %Director #+COLUMNS: books %70ITEM(Details) %TAGS(Context) %Author %Year %Pages It seems that org-mode currently ignores the column view names ("films" and "books") so this would be backwards compatible. I'm still at the beginning of learning Elisp, so I'm not able to implement this myself and would like to know if others find this proposal useful and if it could be implemented? Best regards, Thomas