From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Boyan Penkov <boyan.penkov@gmail.com>
Subject: Re: Remove filename from agenda view?
Date: Fri, 4 Jan 2013 08:02:45 +0100 [thread overview]
Message-ID: <AD6120AB-AC5A-43FD-909A-C2C2F1131D13@gmail.com> (raw)
In-Reply-To: <15755.1357277294@alphaville>
On 4.1.2013, at 06:28, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Boyan Penkov <boyan.penkov@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
next prev parent reply other threads:[~2013-01-04 7:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-04 3:23 Remove filename from agenda view? Boyan Penkov
2013-01-04 5:28 ` Nick Dokos
2013-01-04 7:02 ` Carsten Dominik [this message]
2013-01-04 13:52 ` Boyan Penkov
2013-01-04 15:27 ` Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AD6120AB-AC5A-43FD-909A-C2C2F1131D13@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=boyan.penkov@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).