emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Show weekday in daily agenda view
Date: Thu, 16 May 2019 13:33:24 -0400	[thread overview]
Message-ID: <87a7fmxq1n.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: dhwyimuablvn.fsf@attentigroup.com

dboyd@attentigroup.com (J. David Boyd) writes:

> Nick Dokos <ndokos@gmail.com> writes:
>
>> johanna.may@th-koeln.de 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

  reply	other threads:[~2019-05-16 17:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-14 19:09 Show weekday in daily agenda view johanna.may
2019-05-14 20:48 ` Richard Lawrence
2019-05-15  6:42   ` Prof. Dr. Johanna May
2019-05-15  9:14     ` Heinz Tuechler
2019-05-15  9:29     ` Richard Lawrence
2019-05-15 10:48       ` Prof. Dr. Johanna May
2019-05-15 10:40     ` Heinz Tuechler
2019-05-14 21:15 ` Nick Dokos
2019-05-16 12:54   ` J. David Boyd
2019-05-16 17:33     ` Nick Dokos [this message]
2019-05-17 12:53       ` J. David Boyd
2019-05-20 12:46         ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7fmxq1n.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).