[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Show weekday in daily agenda view
From: |
Nick Dokos |
Subject: |
Re: [O] Show weekday in daily agenda view |
Date: |
Thu, 16 May 2019 13:33:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
address@hidden (J. David Boyd) writes:
> Nick Dokos <address@hidden> writes:
>
>> address@hidden writes:
>>
>>> maybe I did not search the right way in google alias startpage. But I
>>> could not figure out how to write next to the date e.g. 2000-04-01 the
>>> weekday, i.e. the specific day of the week. It would come very handy to
>>> have the date displayed as 2019-05-14 Tu and 2019-05-15 We and so on. Or
>>> even have it spelled out as 2019-05-14 Tuesday.
>>>
>>
>> How do you generate that view?
>>
>> Doesn't your agenda view already show the day of the week? With the
>> recommended keybinding, I get a daily agenda with C-c a a d.
>>
>> Mine starts like this:
>>
>> ,----
>> | Day-agenda (W20):
>> | Tuesday 14 May 2019
>> | 8:00...... ----------------
>> | appts: 10:00-11:30 Tools Meeting
>> | 10:00...... ----------------
>> | 12:00...... ----------------
>> | 14:00...... ----------------
>> | 16:00...... ----------------
>> | 18:00...... ----------------
>> | 20:00...... ----------------
>> | work: Sched.Xx: TODO Review PR
>> | work: Sched.2x: TODO Add issue
>> | Weather: OpenWeatherMap: light rain, 3-8°C, 1010hpa, 90%, 3m/s
>> `----
>>
>> so it definitely shows the weekday, but perhaps you are doing something
>> different?
>
>
> How do you generate *that* view? How do you have it creating sub-groups? All
> I get is a straight-forward list of days and times, with all items in chrono
> order....
>
Not sure what you mean by "sub-groups". And I'm pretty sure I don't do
anything special to get this. The grid is the standard grid - I
believe that comes "free" with the default settings of
org-agenda-time-grid and org-agenda-use-time-grid.
The appts:, work: and Weather: thingies are "categories" - the first
two come from the name of the agenda file where the item originated:
I have a work.org file for work items and an appts.org file which contains just
reminders. It actually contains a bit more: there are top-level headlines
for Anniversaries, Weather and Appointments like this:
,----
| * Anniversaries
| :PROPERTIES:
| :CATEGORY: Anniv
| :ID: 409062f6-6cb1-467f-b192-2dfcb7b384ca
| :END:
| %%(org-bbdb-anniversaries)
|
| * Weather
| :PROPERTIES:
| :CATEGORY: Weather
| :END:
| %%(org-weather)
|
| * Appointments
| ** APPT Doctor appt <some date and time>
| ....
`----
Items in the Appoinments section don't have a defined Category
so they are labeled with the fill name ("appts"). Anniversaries
and Weather items have a CATEGORY property so they are labeled
by the explicit category.
I don't remember whether I do anything special to sort the items
(e.g. why the Weather item is always last). If you are interested
in that, I can dig a little more into my configuration.
Does that answer your question?
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler