From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: agenda prefix - fixed/max width Date: Tue, 6 Oct 2009 12:05:16 +0200 Message-ID: <028295ED-8DBC-4281-A43D-5DD736010045@gmail.com> References: <938fae2d0910050727p1fea635fg5d0abfd25c95d991@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mv6vA-0007Pk-Py for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 06:05:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mv6v6-0007MN-O1 for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 06:05:28 -0400 Received: from [199.232.76.173] (port=56775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mv6v6-0007MB-42 for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 06:05:24 -0400 Received: from mail-ew0-f223.google.com ([209.85.219.223]:35130) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mv6v5-0003yZ-EW for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 06:05:23 -0400 Received: by ewy23 with SMTP id 23so3981453ewy.2 for ; Tue, 06 Oct 2009 03:05:21 -0700 (PDT) In-Reply-To: <938fae2d0910050727p1fea635fg5d0abfd25c95d991@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eraldo Helal Cc: Org-Mode Hi Eraldo Why do you define categories longer than 7 characters if you don'e want to display them? #+CATEGORY: evening or a similar property at the right place ill get you there. - Carsten P.S. After the next pull, you can also do this: (setq org-agenda-prefix-format " %-8.8:c ") This should haveworked before, but did not, due to an error I cannot figure out. The latest git contains a worg-around. On Oct 5, 2009, at 4:27 PM, Eraldo Helal wrote: > I have set org-agenda-prefix-format to: (org-agenda-prefix-format " > %-8:c ") > making the agenda look like so: > > home: [ ] brainstorm redesign home > evening school: [ ] chose DE spec. > evening school: [ ] ask Lea re: spec topics > evening school: [ ] brainstorm Learners Group > eraldo: [ ] brainstorm 4 perspectives > > If I change it to " %8:c " I get that: > > home: [ ] brainstorm redesign home > evening school: [ ] chose DE spec. > evening school: [ ] ask Lea re: spec topics > evening school: [ ] brainstorm Learners Group > eraldo: [ ] brainstorm 4 perspectives > > but what I want is this: ;; limiting prefix to 7 characters > > home: [ ] brainstorm redesign home > evening: [ ] chose DE spec. > evening: [ ] ask Lea re: spec topics > evening: [ ] brainstorm Learners Group > eraldo: [ ] brainstorm 4 perspectives > > In other words: having a fixed prefix length resulting in showing only > the set amount of characters. > Why? Because it lines up the check boxes "[ ]" which is handy and > looks nice for printing. > I have some long category names / file names ... making the prefix > verrry long no matter what setting I use at the moment. :( > > Any ideas how to fix that? > Would be awesome if someone could help me get there. =] > > Greetings from Austria, > Eraldo > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode