From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boyan Penkov Subject: Re: Remove filename from agenda view? Date: Fri, 4 Jan 2013 08:52:44 -0500 Message-ID: <5226E697-474E-4052-93AF-E9334F566444@gmail.com> References: <4DB6EC82-B0E3-42E2-A37D-C952CADC9450@gmail.com> <15755.1357277294@alphaville> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr7hX-0007L9-3h for emacs-orgmode@gnu.org; Fri, 04 Jan 2013 08:52:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr7hW-0006By-11 for emacs-orgmode@gnu.org; Fri, 04 Jan 2013 08:52:47 -0500 Received: from mail-qa0-f42.google.com ([209.85.216.42]:38063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr7hV-0006BV-SY for emacs-orgmode@gnu.org; Fri, 04 Jan 2013 08:52:45 -0500 Received: by mail-qa0-f42.google.com with SMTP id hg5so13231073qab.8 for ; Fri, 04 Jan 2013 05:52:45 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org -- Boyan Penkov On Jan 4, 2013, at 2:02 AM, Carsten Dominik = wrote: >=20 > On 4.1.2013, at 06:28, Nick Dokos wrote: >=20 >> Boyan Penkov wrote: >>=20 >>> Hello, >>>=20 >>> 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. >>>=20 >>=20 >> 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: >>=20 >> (info "(org) Categories") >>=20 >>> Can anyone point me in the right direction with a .emacs file = snippet? >>>=20 >>=20 >> AFAIK, you cannot eliminate it in any simple way. >=20 > 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. >=20 > (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! >=20 >=20 > - Carsten >=20