emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Agenda view > Day separator


From: Carsten Dominik
Subject: Re: [Orgmode] Agenda view > Day separator
Date: Thu, 13 May 2010 20:27:27 +0200

Hi Sebastian, hi Eric

take a look at the variable org-agenda-format-date. You can use a simple format string like

(setq org-agenda-format-date "%Y-%m-%d ===========================================")

Or use spaced instead of ============== so that they can be
fontified like you suggest.

Or you can write your own function to do something fancier, maybe based on
`org-agenda-format-date-aligned'.

HTH

- Carsten

On May 13, 2010, at 10:41 AM, Sébastien Vauban wrote:

Hi,

I would like to see more distinctively the separation between days in the
agenda view.

--8<---------------cut here---------------start------------->8---
Week-agenda (W19-W20):
Saturday   15 May 2010
Personal: 18:00-19:00 Mar :home::errands:
Sunday     16 May 2010
Personal: Mer avec Lolo :home::errands:
Monday     17 May 2010 W20
Personal: 17:15-17:20 Sarah! :home::errands:
Tuesday    18 May 2010
Personal: 17:15-17:20 Sarah! :home::errands:
Wednesday  19 May 2010
Personal: 17:15-17:20 Sarah! :home::errands:
 Diary:      Shavuot
Thursday   20 May 2010
Personal: 17:15-17: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 stand up:

--8<---------------cut here---------------start------------->8---
(org-agenda-date ((t (:background "LightSkyBlue"))))
(org-agenda-date-today ((t (:background "yellow" :slant normal :weight bold)))) (org-agenda-date-weekend ((t (:foreground "white" :background "blue4" :weight bold))))
--8<---------------cut here---------------end--------------->8---

But it's not yet as right as it should be (let me rephrase: as I 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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Personal: 18:00-19:00 Mar :home::errands: Sunday 16 May 2010 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Personal: Mer avec Lolo :home::errands: Monday 17 May 2010 W20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Personal: 17:15-17:20 Sarah! :home::errands: Tuesday 18 May 2010 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Personal: 17:15-17:20 Sarah! :home::errands: Wednesday 19 May 2010 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Personal: 17:15-17:20 Sarah! :home::errands:
 Diary:      Shavuot
Thursday 20 May 2010 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Personal: 17:15-17:20 Sarah! :home::errands: Friday 21 May 2010 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

--
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]