Re: [O] Remove filename from agenda view?
Carsten Dominik wrote: > > On 4.1.2013, at 06:28, Nick Dokos wrote: > > > Boyan Penkov 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
Re: [O] Remove filename from agenda view?
-- Boyan Penkov On Jan 4, 2013, at 2:02 AM, Carsten Dominik wrote: > > On 4.1.2013, at 06:28, Nick Dokos wrote: > >> Boyan Penkov 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?
On 4.1.2013, at 06:28, Nick Dokos wrote: > Boyan Penkov 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
Re: [O] Remove filename from agenda view?
Boyan Penkov 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