From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Agenda view > Day separator Date: Thu, 13 May 2010 20:27:27 +0200 Message-ID: References: <87vdasfb1w.fsf@mundaneum.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=33832 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCd8A-00023E-Cy for emacs-orgmode@gnu.org; Thu, 13 May 2010 14:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCd88-0004BI-0c for emacs-orgmode@gnu.org; Thu, 13 May 2010 14:27:34 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:49495) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCd87-0004B3-N6 for emacs-orgmode@gnu.org; Thu, 13 May 2010 14:27:31 -0400 Received: by ewy8 with SMTP id 8so640143ewy.8 for ; Thu, 13 May 2010 11:27:30 -0700 (PDT) In-Reply-To: <87vdasfb1w.fsf@mundaneum.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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= , Eric S Fraga Cc: emacs-orgmode@gnu.org Hi Sebastian, hi Eric take a look at the variable org-agenda-format-date. You can use a =20 simple format string like (setq org-agenda-format-date "%Y-%m-%d =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D") Or use spaced instead of =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D so = that they can be fontified like you suggest. Or you can write your own function to do something fancier, maybe =20 based on `org-agenda-format-date-aligned'. HTH - Carsten On May 13, 2010, at 10:41 AM, S=E9bastien Vauban wrote: > Hi, > > I would like to see more distinctively the separation between days =20 > in the > agenda view. > > --8<---------------cut here---------------start------------->8--- > Week-agenda (W19-W20): > Saturday 15 May 2010 > Personal: 18:00-19:00 =20 > Mar :home::errands: > Sunday 16 May 2010 > Personal: Mer avec =20 > Lolo :home::errands: > Monday 17 May 2010 W20 > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Tuesday 18 May 2010 > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Wednesday 19 May 2010 > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Diary: Shavuot > Thursday 20 May 2010 > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Friday 21 May 2010 > --8<---------------cut here---------------end--------------->8--- > > I have used some sort of "inverse video" for the days, to make them =20= > stand up: > > --8<---------------cut here---------------start------------->8--- > (org-agenda-date ((t (:background "LightSkyBlue")))) > (org-agenda-date-today ((t (:background "yellow" :slant =20 > normal :weight bold)))) > (org-agenda-date-weekend ((t (:foreground "white" :background =20 > "blue4" :weight bold)))) > --8<---------------cut here---------------end--------------->8--- > > But it's not yet as right as it should be (let me rephrase: as I =20 > would like > it) because the face is only applied on the visible characters: the > "separator" does not expand up to the right of the screen. > > An improved version (re readability) of the agenda view would be: > > --8<---------------cut here---------------start------------->8--- > Week-agenda (W19-W20): > Saturday 15 May 2010 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Personal: 18:00-19:00 =20 > Mar :home::errands: > Sunday 16 May 2010 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Personal: Mer avec =20 > Lolo :home::errands: > Monday 17 May 2010 W20 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Tuesday 18 May 2010 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Wednesday 19 May 2010 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Diary: Shavuot > Thursday 20 May 2010 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Personal: 17:15-17:20 =20 > Sarah! :home::errands: > Friday 21 May 2010 =20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > --8<---------------cut here---------------end--------------->8--- > > where `xxx' is just some textual way to represent background color. > > Is there some way to do so? > > Best regards, > Seb > > --=20 > S=E9bastien Vauban > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten