emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Column mode a whole file
@ 2009-07-30  4:12 Ethan
  2009-07-30 11:31 ` Sebastian Rose
  0 siblings, 1 reply; 5+ messages in thread
From: Ethan @ 2009-07-30  4:12 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1270 bytes --]

Hi!

I've been playing with org-mode column view (org version 6.28trans, fresh
from git!) and working my way through the Org manual to try to understand
this tool and see what neat tricks I can pick up by using it. Today I have
been playing with column view.

Column view by default only shows a single subtree. In order to do column
mode over an entire buffer, you have to have text before the first headline,
and go there. It seems to me that the usefulness of showing a single subtree
is more limited than showing the whole buffer in column view. (This seems to
be confirmed by the fact that in Agenda mode, C-c C-x C-c brings up column
mode over the whole file.) But as far as I can tell, there's no way to force
a whole-buffer approach -- not by a special function, not by invoking with a
special argument, and as far as I can tell not by hacking up a simple
function (assuming there isn't text already before your first headline).

I guess what I'd like to know is: what am I missing? Do most users only do
column view over subtrees? Is column view really only used in agenda view?
Do all org users keep text at the top of their files to specify file
settings, and just use that? Is there a simple way to column-view a whole
file that I'm missing?

Thanks!

Ethan

[-- Attachment #1.2: Type: text/html, Size: 1339 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Column mode a whole file
  2009-07-30  4:12 Column mode a whole file Ethan
@ 2009-07-30 11:31 ` Sebastian Rose
  2009-07-30 23:55   ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Rose @ 2009-07-30 11:31 UTC (permalink / raw)
  To: Ethan; +Cc: emacs-orgmode

Ethan <ethan.glasser.camp@gmail.com> writes:

> Hi!
>
> I've been playing with org-mode column view (org version 6.28trans, fresh
> from git!) and working my way through the Org manual to try to understand
> this tool and see what neat tricks I can pick up by using it. Today I have
> been playing with column view.
>
> Column view by default only shows a single subtree. In order to do column
> mode over an entire buffer, you have to have text before the first headline,
> and go there.

An empty line is enough.


   Sebastian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Column mode a whole file
  2009-07-30 11:31 ` Sebastian Rose
@ 2009-07-30 23:55   ` Bastien
  2009-07-31  4:22     ` Ethan
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2009-07-30 23:55 UTC (permalink / raw)
  To: Ethan, Sebastian Rose; +Cc: emacs-orgmode

Sebastian Rose <sebastian_rose@gmx.de> writes:

>> Column view by default only shows a single subtree. In order to do column
>> mode over an entire buffer, you have to have text before the first headline,
>> and go there.

I would guess that having text before the first headline is quite a
common pattern.  Adding one is not that much work either.  Does this 
requirement is okay for you?  

> An empty line is enough.

As well, yes.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Column mode a whole file
  2009-07-30 23:55   ` Bastien
@ 2009-07-31  4:22     ` Ethan
  2009-08-03  4:38       ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Ethan @ 2009-07-31  4:22 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1643 bytes --]

On Thu, Jul 30, 2009 at 7:55 PM, Bastien <bastienguerry@googlemail.com>wrote:

> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
> >> Column view by default only shows a single subtree. In order to do
> column
> >> mode over an entire buffer, you have to have text before the first
> headline,
> >> and go there.
>
> I would guess that having text before the first headline is quite a
> common pattern.  Adding one is not that much work either.  Does this
> requirement is okay for you?
>

Yes, that's a fine answer. The only thing I would suggest is that maybe it
should go in the manual (in the section about outlines and headlines) that
most people put some text before the first headline.

Also, I think the documentation on column view could be improved. I think
you should start the section by saying how to activate it (go to beginning
of file and C-c C-x C-c). The summary given is currently:

C-c C-x C-c
    Create the column view for the local environment. This command searches
the hierarchy, up from point, for a :COLUMNS: property that defines a
format. When one is found, the column view table is established for the
entire tree, starting from the entry that contains the :COLUMNS: property.
If none is found, the format is taken from the #+COLUMNS line or from the
variable org-columns-default-format, and column view is established for the
current entry and its subtree.

I found this somewhat hard to understand (what is included by the "local
environment"? Which is the "entire tree"? Why did it only create a column
view for the headline I was on? Why is #+COLUMNS different from the
:COLUMNS: property?).

Thanks!

Ethan

[-- Attachment #1.2: Type: text/html, Size: 2104 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Column mode a whole file
  2009-07-31  4:22     ` Ethan
@ 2009-08-03  4:38       ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2009-08-03  4:38 UTC (permalink / raw)
  To: Ethan; +Cc: Bastien, emacs-orgmode


On Jul 31, 2009, at 6:22 AM, Ethan wrote:

> On Thu, Jul 30, 2009 at 7:55 PM, Bastien  
> <bastienguerry@googlemail.com> wrote:
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
> >> Column view by default only shows a single subtree. In order to  
> do column
> >> mode over an entire buffer, you have to have text before the  
> first headline,
> >> and go there.
>
> I would guess that having text before the first headline is quite a
> common pattern.  Adding one is not that much work either.  Does this
> requirement is okay for you?
>
> Yes, that's a fine answer. The only thing I would suggest is that  
> maybe it should go in the manual (in the section about outlines and  
> headlines) that most people put some text before the first headline.
>
> Also, I think the documentation on column view could be improved. I  
> think you should start the section by saying how to activate it (go  
> to beginning of file and C-c C-x C-c). The summary given is currently:
>
> C-c C-x C-c
>     Create the column view for the local environment. This command  
> searches the hierarchy, up from point, for a :COLUMNS: property that  
> defines a format. When one is found, the column view table is  
> established for the entire tree, starting from the entry that  
> contains the :COLUMNS: property. If none is found, the format is  
> taken from the #+COLUMNS line or from the variable org-columns- 
> default-format, and column view is established for the current entry  
> and its subtree.
>
> I found this somewhat hard to understand (what is included by the  
> "local environment"? Which is the "entire tree"? Why did it only  
> create a column view for the headline I was on? Why is #+COLUMNS  
> different from the :COLUMNS: property?).

I have improved the documentation of `C-c C-x C-c'.

Thanks.

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-03  4:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-30  4:12 Column mode a whole file Ethan
2009-07-30 11:31 ` Sebastian Rose
2009-07-30 23:55   ` Bastien
2009-07-31  4:22     ` Ethan
2009-08-03  4:38       ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).