From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Faces for deadlines? Date: Tue, 04 May 2010 11:23:53 +0200 Message-ID: <87pr1c9g0m.fsf@mundaneum.com> References: <87aasm1ska.fsf@mundaneum.com> <877hnl5osh.fsf@mundaneum.com> <87sk692tyk.fsf@eee.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Mikael, Mikael Fornius wrote: > I have not tried it but I found this variable: > > org-agenda-deadline-faces > > "Faces for showing deadlines in the agenda." > > maybe it solves your problem? Excellent hint... I've customized it that way: --8<---------------cut here---------------start------------->8--- (setq org-agenda-deadline-faces '((1.1 . sva-org-deadline-yesterday) (1.0 . sva-org-deadline-today) (0.5 . sva-org-deadline-tomorrow) (0.0 . sva-org-deadline-later))) --8<---------------cut here---------------end--------------->8--- and have added the following colors in my theme: --8<---------------cut here---------------start------------->8--- (sva-org-deadline-yesterday ((t (:foreground "white" :background "rgb:= D8/00/00" :weight bold)))) (sva-org-deadline-today ((t (:foreground "white" :background "rgb:E9/A= 3/6A" :weight bold)))) (sva-org-deadline-tomorrow ((t (:foreground "black" :background "#B4F1= B3" :weight bold)))) (sva-org-deadline-later ((t (:foreground "black" :background "#AACAFC"= )))) --8<---------------cut here---------------end--------------->8--- And that quite works well following my needs. It's just a bit tricky to understand and correctly setup the "fractions" above, in the `org-agenda-deadline-faces'... It would be easy, and would ma= ke more sense, if we could directly enter "days specifications" there, instead= of fractions (for example, "0" for today, "-1" for yesterday, and so on). But it works. And I thank you for your help. Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode