Re: [O] Remove filename from agenda view?

2013-01-04 Thread Boyan Penkov

--
Boyan Penkov




On Jan 4, 2013, at 2:02 AM, Carsten Dominik carsten.domi...@gmail.com wrote:

 
 On 4.1.2013, at 06:28, Nick Dokos nicholas.do...@hp.com wrote:
 
 Boyan Penkov boyan.pen...@gmail.com wrote:
 
 Hello,
 
 In the default agenda view (C-c a), the leftmost column is the org-mode 
 file name from which the given item stems.  However, I use a single file 
 for all my actionables, and would like to eliminate this column, as it 
 wastes 12 or so characters worth of space on the left of the agenda.
 
 
 Not quite: it is the category of the item which, if absent, is
 defaulted to the filename. Check section 10.4.1, Categories, of
 the org manual for more information - evaluate the following:
 
  (info (org) Categories)
 
 Can anyone point me in the right direction with a .emacs file snippet?
 
 
 AFAIK, you cannot eliminate it in any simple way.
 
 Well, you can customize org-agenda-prefix-format and remove the %-12:c from 
 each of the strings where you do not want the category to be shown.  Note 
 that the two leading space characters in these formats are necessary IIRC, 
 for technical reasons.
 
 (setq org-agenda-prefix-format
  '((agenda .  %i %?-12t% s)
(timeline .   % s)
(todo .  %i )
(tags .  %i )
(search .  %i ))

I can confirm that this works pretty brilliantly.

Thanks, Carsten!

 
 
 - Carsten
 




Re: [O] Remove filename from agenda view?

2013-01-04 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote:

 
 On 4.1.2013, at 06:28, Nick Dokos nicholas.do...@hp.com wrote:
 
  Boyan Penkov boyan.pen...@gmail.com wrote:
  ...
  Can anyone point me in the right direction with a .emacs file snippet?
  
  AFAIK, you cannot eliminate it in any simple way.
 
 Well, you can customize org-agenda-prefix-format and remove the %-12:c from 
 each of the strings where you do not want the category to be shown.  Note 
 that the two leading space characters in these formats are necessary IIRC, 
 for technical reasons.
 
 (setq org-agenda-prefix-format
   '((agenda .  %i %?-12t% s)
 (timeline .   % s)
 (todo .  %i )
 (tags .  %i )
 (search .  %i ))
 
 

I should have known better - thanks!

Nick



[O] Remove filename from agenda view?

2013-01-03 Thread Boyan Penkov
Hello,

In the default agenda view (C-c a), the leftmost column is the org-mode file 
name from which the given item stems.  However, I use a single file for all my 
actionables, and would like to eliminate this column, as it wastes 12 or so 
characters worth of space on the left of the agenda.

Can anyone point me in the right direction with a .emacs file snippet?

Thanks!
--
Boyan Penkov







Re: [O] Remove filename from agenda view?

2013-01-03 Thread Nick Dokos
Boyan Penkov boyan.pen...@gmail.com wrote:

 Hello,
 
 In the default agenda view (C-c a), the leftmost column is the org-mode file 
 name from which the given item stems.  However, I use a single file for all 
 my actionables, and would like to eliminate this column, as it wastes 12 or 
 so characters worth of space on the left of the agenda.
 

Not quite: it is the category of the item which, if absent, is
defaulted to the filename. Check section 10.4.1, Categories, of
the org manual for more information - evaluate the following:

(info (org) Categories)

 Can anyone point me in the right direction with a .emacs file snippet?
 

AFAIK, you cannot eliminate it in any simple way.

Nick





Re: [O] Remove filename from agenda view?

2013-01-03 Thread Carsten Dominik

On 4.1.2013, at 06:28, Nick Dokos nicholas.do...@hp.com wrote:

 Boyan Penkov boyan.pen...@gmail.com wrote:
 
 Hello,
 
 In the default agenda view (C-c a), the leftmost column is the org-mode file 
 name from which the given item stems.  However, I use a single file for all 
 my actionables, and would like to eliminate this column, as it wastes 12 or 
 so characters worth of space on the left of the agenda.
 
 
 Not quite: it is the category of the item which, if absent, is
 defaulted to the filename. Check section 10.4.1, Categories, of
 the org manual for more information - evaluate the following:
 
   (info (org) Categories)
 
 Can anyone point me in the right direction with a .emacs file snippet?
 
 
 AFAIK, you cannot eliminate it in any simple way.

Well, you can customize org-agenda-prefix-format and remove the %-12:c from 
each of the strings where you do not want the category to be shown.  Note that 
the two leading space characters in these formats are necessary IIRC, for 
technical reasons.

(setq org-agenda-prefix-format
  '((agenda .  %i %?-12t% s)
(timeline .   % s)
(todo .  %i )
(tags .  %i )
(search .  %i ))


- Carsten