From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Multiple column views for one file Date: Tue, 5 Jan 2010 14:06:08 +0100 Message-ID: References: <20091231153124.63c14ad0@noeato> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NS97V-0002Om-Ka for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 08:06:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NS97D-0002A8-8j for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 08:06:44 -0500 Received: from [199.232.76.173] (port=58689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS97D-00029v-2J for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 08:06:27 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:60794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NS973-0002WJ-BX for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 08:06:26 -0500 Received: by ey-out-1920.google.com with SMTP id 4so2187140eyg.34 for ; Tue, 05 Jan 2010 05:06:10 -0800 (PST) In-Reply-To: <20091231153124.63c14ad0@noeato> 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: Thomas Leitner Cc: emacs-orgmode@gnu.org Hi Thomas, On Dec 31, 2009, at 3:31 PM, Thomas Leitner wrote: > 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 Not a bad idea, but pretty troublesome to implement, because column view allows you to change the columns format which then makes it harder to determine where to make the changes. For now, you can just put several lines into the buffer and change the order - but I do realize that this is not the most convenient solution. I am not implementing this - unless we find more people who can bring forward a good use case for this. - Carsten > > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten