From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Show weekday in daily agenda view Date: Thu, 16 May 2019 13:33:24 -0400 Message-ID: <87a7fmxq1n.fsf@alphaville.usersys.redhat.com> References: <871s10df9r.fsf@th-koeln.de> <87v9ycrb3l.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRKG6-0006nS-8p for emacs-orgmode@gnu.org; Thu, 16 May 2019 13:33:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRKG5-0000ri-4e for emacs-orgmode@gnu.org; Thu, 16 May 2019 13:33:34 -0400 Received: from [195.159.176.226] (port=41542 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRKG4-0000r9-Tz for emacs-orgmode@gnu.org; Thu, 16 May 2019 13:33:33 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hRKG3-0005Yu-7F for emacs-orgmode@gnu.org; Thu, 16 May 2019 19:33:31 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org dboyd@attentigroup.com (J. David Boyd) writes: > Nick Dokos 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 | .... `---- 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