emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-tags-column
@ 2009-06-20 19:48 Ross A. Laird
  2009-06-20 20:04 ` org-tags-column Ross A. Laird
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ross A. Laird @ 2009-06-20 19:48 UTC (permalink / raw)
  To: emacs-orgmode


One of the interesting things about org, from a non-programmer's point
of view, is that there are dozens (hundreds?) of settings that seem to
require some sort of programming knowledge. This is both challenging and
useful, from an educational perspective. Here's an example:

org-tags-column

It is referred to in the documentation, but without an example. And it
does not show up in a search of this list. So, how do I set this? I have
tried:

(setq org-tags-column 100)

in my emacs, but I have no idea if this is the correct way to do this
(or even if it works, actually).

As I said, this is one of the interesting things about org; always more
to discover and learn. Can someone give me a sense of how best to use
the above setting?

Thanks.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info

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

* Re: org-tags-column
  2009-06-20 19:48 org-tags-column Ross A. Laird
@ 2009-06-20 20:04 ` Ross A. Laird
  2009-06-20 20:15 ` org-tags-column Cameron Horsburgh
  2009-06-20 20:25 ` org-tags-column Mikael Fornius
  2 siblings, 0 replies; 7+ messages in thread
From: Ross A. Laird @ 2009-06-20 20:04 UTC (permalink / raw)
  To: emacs-orgmode

Well, turns out my heuristic method works:

(setq org-tags-column 100)

It required a restart of emacs (not just eval-buffer and org rfresh),
but it works perfectly. Now: how do I get the same setting in the agenda
views?

Ross
-- 
Ross A. Laird, PhD
www.rosslaird.info

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

* Re: org-tags-column
  2009-06-20 19:48 org-tags-column Ross A. Laird
  2009-06-20 20:04 ` org-tags-column Ross A. Laird
@ 2009-06-20 20:15 ` Cameron Horsburgh
  2009-06-20 20:25 ` org-tags-column Mikael Fornius
  2 siblings, 0 replies; 7+ messages in thread
From: Cameron Horsburgh @ 2009-06-20 20:15 UTC (permalink / raw)
  To: Ross A. Laird; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]

At Sat, 20 Jun 2009 12:48:23 -0700,
Ross A Laird wrote:
> 
> 
> One of the interesting things about org, from a non-programmer's point
> of view, is that there are dozens (hundreds?) of settings that seem to
> require some sort of programming knowledge. This is both challenging and
> useful, from an educational perspective. Here's an example:
> 
> org-tags-column
> 
> It is referred to in the documentation, but without an example. And it
> does not show up in a search of this list. So, how do I set this? I have
> tried:
> 
> (setq org-tags-column 100)
> 
> in my emacs, but I have no idea if this is the correct way to do this
> (or even if it works, actually).
> 
> As I said, this is one of the interesting things about org; always more
> to discover and learn. Can someone give me a sense of how best to use
> the above setting?


I'm not a programmer either, so I find myself in much the same
situation. However, in this case I recently found a very useful
keystroke: C-h v

This prompts you for a variable name. Tell it the name you want (if
the cursor is on the variable it will suggest it by default) and a
buffer will pop up explaining the variable.

In this case, we're told

,----
| org-tags-column is a variable defined in `org.el'.
| Its value is -77
| 
| Documentation:
| The column to which tags should be indented in a headline.
| If this number is positive, it specifies the column.  If it is negative,
| it means that the tags should be flushright to that column.  For example,
| -80 works well for a normal 80 character screen.
| 
| You can customize this variable.
`----

This tells me what it's setr to currently, what it does and it tells
me I can set it in the customize interface. Given that it's just a
simple variable, I would assume you could change it in .emacs with a
setq.

Hope this helps!


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

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/

[-- Attachment #3: 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] 7+ messages in thread

* Re: org-tags-column
  2009-06-20 19:48 org-tags-column Ross A. Laird
  2009-06-20 20:04 ` org-tags-column Ross A. Laird
  2009-06-20 20:15 ` org-tags-column Cameron Horsburgh
@ 2009-06-20 20:25 ` Mikael Fornius
  2009-06-22  9:19   ` org-tags-column Manish
  2 siblings, 1 reply; 7+ messages in thread
From: Mikael Fornius @ 2009-06-20 20:25 UTC (permalink / raw)
  To: Ross A. Laird; +Cc: emacs-orgmode

ross@rosslaird.info (Ross A. Laird) writes:

> So, how do I set this? I have tried:
>
> (setq org-tags-column 100)

This is correct. Put the line in your $HOME/.emacs file and it will be
set at startup.

Another way is to use the interactive emacs customize system. I think
this is the easiest and preferred way to do it.

In this case (also availible from the menu bar: Options->Customize
Emacs->...):

M-x customize-variable RET org-tags-column RET

will take you to a interactive buffer with documentation about the
variable and buttons to take actions like save or reset settings.

All possible settings are in groups use the interactive functions
customize and customize-group to edit specific parts. 

Org mode has its own function to browse all settings:

M-x org-customize RET

For more information look att info page:

(info "(emacs) Customization")


I hope this helps!

-- 
Mikael Fornius

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

* Re: org-tags-column
  2009-06-20 20:25 ` org-tags-column Mikael Fornius
@ 2009-06-22  9:19   ` Manish
  2009-06-22  9:28     ` org-tags-column Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Manish @ 2009-06-22  9:19 UTC (permalink / raw)
  To: Mikael Fornius; +Cc: emacs-orgmode, Ross A. Laird

  On Sun, Jun 21, 2009 at 1:55 AM, Mikael Fornius wrote:
  [snip: customizing emacs variable (23 lines)]
  > Org mode has its own function to browse all settings:
  >
  > M-x org-customize RET

This is neat!  Never knew abouot this one.  Thanks!

-- 
Manish

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

* Re: org-tags-column
  2009-06-22  9:19   ` org-tags-column Manish
@ 2009-06-22  9:28     ` Carsten Dominik
  2009-06-22  9:51       ` org-tags-column Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-06-22  9:28 UTC (permalink / raw)
  To: Manish; +Cc: emacs-orgmode, Ross A. Laird


On Jun 22, 2009, at 11:19 AM, Manish wrote:

>  On Sun, Jun 21, 2009 at 1:55 AM, Mikael Fornius wrote:
>  [snip: customizing emacs variable (23 lines)]
>> Org mode has its own function to browse all settings:
>>
>> M-x org-customize RET
>
> This is neat!  Never knew abouot this one.  Thanks!

See also

http://orgmode.org/worg/org-tutorials/org-customize.php

- Carsten

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

* Re: org-tags-column
  2009-06-22  9:28     ` org-tags-column Carsten Dominik
@ 2009-06-22  9:51       ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2009-06-22  9:51 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, Ross A. Laird

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Jun 22, 2009, at 11:19 AM, Manish wrote:
>
>>  On Sun, Jun 21, 2009 at 1:55 AM, Mikael Fornius wrote:
>>  [snip: customizing emacs variable (23 lines)]
>>> Org mode has its own function to browse all settings:
>>>
>>> M-x org-customize RET
>>
>> This is neat!  Never knew abouot this one.  Thanks!
>
> See also
>
> http://orgmode.org/worg/org-tutorials/org-customize.php

I've added a FAQ: "How can I quickly browse all Org options?"

-- 
 Bastien

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

end of thread, other threads:[~2009-06-22  9:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-20 19:48 org-tags-column Ross A. Laird
2009-06-20 20:04 ` org-tags-column Ross A. Laird
2009-06-20 20:15 ` org-tags-column Cameron Horsburgh
2009-06-20 20:25 ` org-tags-column Mikael Fornius
2009-06-22  9:19   ` org-tags-column Manish
2009-06-22  9:28     ` org-tags-column Carsten Dominik
2009-06-22  9:51       ` org-tags-column Bastien

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).