I think this is using the same formatting as strftime.  So, 'man
strftime' will show you all the options.

The short day name is '%a', and the full day name is '%A'.

Dave



Markus Heller <helle...@gmail.com> writes:

> On 5/17/2010 4:23 AM, Sébastien Vauban wrote:
>> Hi Eric and Carsten,
>>
>> Eric S Fraga wrote:
>>> On Thu, 13 May 2010 20:27:27 +0200, Carsten 
>>> Dominik<carsten.domi...@gmail.com>  wrote:
>>>>
>>>> Take a look at the variable org-agenda-format-date.
>>>> Or you can write your own function to do something fancier, maybe based on
>>>> `org-agenda-format-date-aligned'.
>>>
>>> Thanks Carsten. This did the job. I modified your function to add a 120 long
>>> blank string at the end of the date [...] and I have a clear date separator!
>>> Underline would work as well, of course.
>>
>> Another version, I guess, from what you wrote. No length hard-coded, except
>> for the 10 characters of the ISO date and 1 space after.
>>
>> --8<---------------cut here---------------start------------->8---
>>      (setq org-agenda-format-date
>>            (concat "%Y-%m-%d "
>>                    (make-string (- (window-width) 11) (string-to-char "_"))))
>> --8<---------------cut here---------------end--------------->8---
>>
>> The agenda view is much, much clearer now...
>>
>
> That's a nice piece of lisp, thanks for sharing.
>
> Just curious, how can I get the day of the week in there as a string?
>
> Thanks
> Markus
>
>
> _______________________________________________
> 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


_______________________________________________
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

Reply via email to