[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Remove filename from agenda view?
From: |
Boyan Penkov |
Subject: |
Re: [O] Remove filename from agenda view? |
Date: |
Fri, 4 Jan 2013 08:52:44 -0500 |
--
Boyan Penkov
On Jan 4, 2013, at 2:02 AM, Carsten Dominik <address@hidden> wrote:
>
> On 4.1.2013, at 06:28, Nick Dokos <address@hidden> wrote:
>
>> Boyan Penkov <address@hidden> 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
>