Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [diary]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15 votes
1 answer
2k views

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 ...
Four Score's user avatar
6 votes
1 answer
1k views

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 ...
txru's user avatar
  • 63
6 votes
1 answer
697 views

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 ...
Stig Brautaset's user avatar
5 votes
1 answer
3k views

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. (...
Name's user avatar
  • 7,883
4 votes
1 answer
526 views

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/...
Wizard's user avatar
  • 1,251
4 votes
1 answer
255 views

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 ...
Andreas Schmidt's user avatar
4 votes
1 answer
257 views

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. ...
SabreWolfy's user avatar
  • 1,428
3 votes
3 answers
2k views

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 ...
Sridhar Ratnakumar's user avatar
3 votes
1 answer
310 views

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 ...
Giuseppe's user avatar
  • 455
1 vote
1 answer
352 views

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, ...
Zelphir Kaltstahl's user avatar
1 vote
1 answer
236 views

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 ...
space_held's user avatar
1 vote
1 answer
186 views

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 ...
infinite-soup's user avatar
1 vote
1 answer
157 views

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 ...
user avatar
1 vote
0 answers
76 views

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 ...
liuxunchen's user avatar
0 votes
1 answer
65 views

Diary specific date but displayed in every year

Reference to 31.10.1 The Diary File It provides example as April 15, 2020 Income tax due. M-x calendar to the date of Apr 15, 2020 and strike d, it prompts a buffer as 2020-04-15 Wednesday ==========...
Wizard's user avatar
  • 1,251
0 votes
3 answers
238 views

How can I see entries of more than one day in Emacs calendar?

I want to use the built in calender. In the Manual i found many key bindings for moving around in the calendar. But for showing the entries / dates in my calender i found only "d", which shows me the ...
tester's user avatar
  • 473
0 votes
2 answers
197 views

Why doesn't this "diary sexp" work?

I've inserted this entry: %%(diary-anniversary 01 27 1948) Arthur's birthday (%d years old) in an .org file (that Emacs evaluates when I press C-c a ato obtain the agenda view) but in the agenda, on ...
RenatoP's user avatar
  • 121
0 votes
1 answer
27 views

Diary appoinment variables is void:

Reference to 31.10.6 Diary Appointments If you have a diary entry for an appointment, and that diary entry begins with a recognizable time of day, Emacs can warn you in advance that an ...
Wizard's user avatar
  • 1,251
0 votes
1 answer
191 views

Appointments not working (not displaying at all)

Emacs 24.5. Here is init: ;; appointments (require 'appt) (appt-activate t) ; I have also tried (appt-activate 1) here as the appt.el documentation says to ; (setq appt-message-warning-time 1) I ...
Carl Roberts's user avatar
0 votes
1 answer
90 views

Exit Emacs Calendar without having to save the diary file

When I create appointments in Emacs diary via the calendar, I have to save changes to the diary file before being able to exit the calendar. I have tried to set up Emacs to automatically save the ...
Edman's user avatar
  • 1,229
0 votes
0 answers
77 views

Schedule repeating org-agenda TODO entry with diary sexp and time

I have repeating appointments for the next half year and want them to show up in my agenda. I managed to make them show on the correct dates like this: * TODO Example Event SCHEDULED: <%%(and(diary-...
Tscheb's user avatar
  • 1
0 votes
0 answers
105 views

What is the point of Org-agenda?

I'm very new to GNU Emacs. The first thing I need is to schedule deadlines for events. As far as I understand, Org is at the core an outliner, so why come up with an Org agenda rather than implement, ...
user41683's user avatar
0 votes
0 answers
22 views

Getting diary-mail-entries to work with mu4e in a script

I'm trying to start using the Emacs diary to remind me of birthdays and such using emails, but I've configured mu4e as my mail client, so I wrote an Emacs script using (diary-mail-entries) that I want ...
Alexander Praehauser's user avatar
0 votes
1 answer
52 views

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. ...
Communicative Algebra's user avatar
0 votes
0 answers
1k views

Convert diary entries to org-mode

Is it possible to convert an emacs diary file to an org-mode file? I know that I can use (setq org-agenda-include-diary t) to see the diary in org-agenda but I want to have the events in an org file, ...
Alexander Vorobiev's user avatar
0 votes
1 answer
81 views

Unexpected Error: (void-function check-calendar-holidays) in Calendar mode

I am trying to adapt this code from https://www.emacswiki.org/emacs/DiaryMode for use in Emacs with calendar and diary. (defun diary-schedule (m1 d1 y1 m2 d2 y2 dayname) "Entry applies if ...
PartialOrder's user avatar
0 votes
0 answers
130 views

Org mode diary intergration is showing a mashed up mess from Zoom invitations

I recently got excorporate working to pull in zoom meetings into org agenda. The result is less than appealing (personal details scribbed) Week-agenda (W18): Monday 3 May 2021 W18 tasks: ...
jds's user avatar
  • 177
0 votes
1 answer
64 views

multi-line diary event?

I'd like to have diary entries/events with multiple lines. The usual diary format interprets newlines as delimiting events: Monday event A every monday event B every monday event C every monday ...
Dan Drake's user avatar
  • 625
0 votes
0 answers
70 views

Calendar: symbols-function-definition is void: "appt-make-list"

When in the "calendar", typing "d", which runs (diary-view-entries), gives me an error Symbols-function-definition is void: "appt-make-list". It shows the (one) entry for ...
Gyro Gearloose's user avatar
0 votes
0 answers
55 views

Redirect diary to other directory

The Emacs diary is configured in ~/diary as the default. I want separate the configuration and my personal notes. How could redirect the system's diary to other directory?
Wizard's user avatar
  • 1,251
0 votes
2 answers
379 views

Bad sexp error on custom diary function

I've created a diary function to allow me to record cyclic events. So something like (diary-limited-cyclic-weekday 8 '(0 3 6) 01 01 2018) will create an event for every Sunday, Wednesday, and ...
Aquaactress's user avatar
  • 1,453