[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda
From: |
Bastien |
Subject: |
Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda view |
Date: |
Thu, 28 Feb 2013 09:29:19 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Sébastien,
"Sebastien Vauban"
<address@hidden> writes:
> Though, one question: why did you change the spacing (and, in fact, the width)
> of the leaders?
>
> -(defcustom org-agenda-scheduled-leaders '("Scheduled: " "Sched.%2dx: ")
> +(defcustom org-agenda-scheduled-leaders '(" Scheduled: " "Sched.%3dx: ")
> "Text preceding scheduled items in the agenda view.
>
> (...)
>
> -(defcustom org-agenda-deadline-leaders '("Deadline: " "In %3d d.: ")
> +(defcustom org-agenda-deadline-leaders '(" Deadline: " " In %3d d.: " "%3d
> d. ago: ")
For the change in "Scheduled:" and "Deadline:" it's because I
think it's cleaner to align them on the right, like the "Sched."
and "In %3d.:" strings.
For the change in the width (from 11 to 12), it's because I
wanted to correctly display "%3d d. ago: ", not %2d d. ago: ",
so that now any string with a warning delay more than 100 will
be correctly displayed. Before, we allowed 100+ days for the
future deadlines, but not for past scheduled items (i.e. they
were not aligned properly.)
I feel the change is not too intrusive.
Best,
--
Bastien
- [O] [PATCH] Add a different prefix for past deadlines in the agenda view, Sebastien Vauban, 2013/02/04
- Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda view, Bastien, 2013/02/04
- Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda view, Bastien, 2013/02/28
- Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda view, Sebastien Vauban, 2013/02/28
- Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda view, Andreas Leha, 2013/02/28
- Re: [O] [PATCH] Add a different prefix for past deadlines in the agenda view, Sebastien Vauban, 2013/02/28