Questions tagged [diary]
28 questions
15
votes
1 answer
Make Org report: "Bob's 21st birthday" like imported diary entries do
When you have:
(setq org-agenda-include-diary t)
set, then an entry in the ~/diary file like this:
%%(org-anniversary 1950 02 14) Bob's %d%s birthday
displays as:
Diary: Bob's 65th birthday
in the Org agenda.
How do I get the same effect -…

Four Score
- 153
- 4
6
votes
1 answer
How to create calendar entry for last weekday of every month?
At the last weekday of the month I want to be reminded to prepare
invoice/expenses so I get them filed by the first. It's no use just
getting reminded on the last day of the month, if this is a Saturday
or Sunday. Nor do I want to be reminded…

Stig Brautaset
- 732
- 5
- 13
5
votes
1 answer
How to set proper smtp Gmail settings in Emacs in order to be able to work with `M-x diary-mail-entries`
I tried the following settings in order to work M-x diary-mail-entries but it fails. My question is how to put the correct settings in order to be able to work with M-x diary-mail-entries in Emacs.
(setq user-full-name "My name")
(setq…

Name
- 7,689
- 4
- 38
- 84
5
votes
1 answer
Change diary location?
The diary file is located by default at ~/diary. I'd rather it wasn't. I've looked quite a bit through the reference over the past couple of days, I haven't seen anything generated in the .emacs that sets it, and there are no SX questions about it.…

txru
- 53
- 5
4
votes
1 answer
Show tasks during orgmode scheduling
I am using OrgMode to schedule appointments and tasks. For a simple scheduled event like a phone call, I usually add a simple timestamp by CTRL+.. Then the cursor is moved to the minibuffer and a calendar pops up in which I can easily move with…

Andreas Schmidt
- 51
- 4
4
votes
1 answer
Dismiss diary appointment alert
I have set Emacs to alert me via a window 30 minutes before an appointment. This is working as expected. However, every three minutes thereafter, Emacs continues to alert me to the same appointment. How do I dismiss/acknowledge the reminder and…

SabreWolfy
- 1,378
- 1
- 13
- 26
3
votes
3 answers
Change local holiday calendar
Org-mode's agenda view can display local holidays after enabling it in org-agenda-include-diary. This however displays US holidays (such as President's Day). What is the simplest way to configure it to show Canadian holidays?
Per Emacs manual,
The…

Sridhar Ratnakumar
- 493
- 3
- 20
3
votes
1 answer
Display sunrise and sunset time from agenda view
I set the diary file as
(setq org-agenda-include-diary t)
(setq org-agenda-diary-file "~/Documents/OrgMode/ORG/src/standard-diary") ;;2020-03-02 10:47:06
(setq diary-file "~/Documents/OrgMode/ORG/src/standard-diary")
and the Day info in the…

AbstProcDo
- 1,231
- 5
- 15
3
votes
1 answer
Adding diary entries in chronological order rather than appending to the file
I am using the diary both to save my calendar appointments and to write notes. Consequently I always read and write my diary file (on the same window, which means I open the real diary file), and I appreciate to have the entries chronologically…

Giuseppe
- 455
- 2
- 14
1
vote
1 answer
Error using diary
Currently I try to use diary, but unfortunately there seems to be an error or bug in emacs.
Every time I try to create a note in diary through the calendar and then push key i (insert as described in the documentation), I get the following…

space_held
- 191
- 8
1
vote
1 answer
Ignore a repeated diary entry, just this once, in Org Agenda?
In a nutshell: I'm looking for a way to selectively hide one instance of a repeated diary entry so it doesn't show up in my org-agenda.
I have many repeating diary entries for things like weekly meetings, etc. using basic sexp syntax.
I've set up…

infinite-soup
- 45
- 3
1
vote
1 answer
european-calendar-style not working
I have the following in my init.el file:
(setq org-agenda-span 36)
(setq org-agenda-start-on-weekday 1)
(setq european-calendar-style t)
However, diary blocks are still interpreted as month first, then day, then year:
*** Urlaub!
<%%(diary-block…

Zelphir Kaltstahl
- 375
- 3
- 14
1
vote
1 answer
Can't insert diary block entries
I am having problem with inserting diary block entries into my calendar. In the homepage i read that i b starts a block entry, pressing i b on the calendar mode however i see No mark set in this buffer in the echo erea. I also tried M-x and then…
user12021
1
vote
0 answers
Conflict on the meaning of * when including Org mode files in a calendar diary
I want to include org-mode files into the default diary file of calendar mode, but there is a problem: the * symbol is used to match unspecific day. for example,
** 2nd heading
in the ~/diary file would generate "2nd heading" to appear each day.…

liuxunchen
- 11
- 1
0
votes
1 answer
How do I export org-anniversary dates to iCalender?
I have an org-file with entries of the form
* Abel's birthday party
<2023-11-13>
and with entries of the form
* Abel Jacobi
%%(org-anniversary 1978 11 11) Abel %d
When I export to ics (e.g. org-export-dispatch > [c] Export to icalendar > [f]…

Communicative Algebra
- 173
- 6