Questions tagged [calendar]

is for the desk calendar in Emacs, which also provides a diary for events that can be used for managing projects and appointments. `M-x calendar` displays an interactive calendar for picking dates in a `calendar-mode` buffer.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

How can I create reminders based on (list-holidays)?

I'd like to create reminders in advance of holidays, (list-holidays), 30 and 90 days in advance. Is there any utility that could help?
cashpw's user avatar
  • 23
0 votes
0 answers
40 views

Org mode org-schedule command

How do I change the date when org brings up the Emacs calendar? For example C-c C-s (org-schedule) Emacs calendar shows but the calendar motion commands C-f, C-b do not work. Motion is in the ...
tkf's user avatar
  • 113
0 votes
1 answer
75 views

calendar: March 31st in 2024 not a holiday, even when marked ("Checking holidays...done")

I found this issue in Emacs of SLES 12 SP5 (emacs-x11-24.3-25.12.1.x86_64): I opened the calendar (M-x calendar), marked the holidays (x), then moved to the holidays, pressing h to find out which ...
U. Windl's user avatar
  • 215
1 vote
0 answers
65 views

Any free form input methods for any calendars in Emacs?

Is there anything like the Quick Add Google Calendar feature from here, for Emacs-based or other free calendars? Basically, I would like a small program to parse unstructured English, like this: 14 ...
TachyonicBytes's user avatar
0 votes
0 answers
34 views

capture day in calfw calendar and pass it to org-agenda

I am trying to capture from the calfw calendar and have the entry appear in the agenda buffer, in the same way that the emacs calendar does. with bind c for capture it tells me that there is no cfw:...
Levo's user avatar
  • 47
0 votes
0 answers
101 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
2 votes
1 answer
44 views

How can I run `calendar-redraw` automatically end of each day?

I keep calender remain open. End of the day calendar-today does not update itself, hance I have to run manually calendar-redraw usually I forget to run it. End of each day or hourly if calendar is ...
alper's user avatar
  • 1,370
3 votes
1 answer
50 views

Extending calendar's compatible range

org-time-stamp-inactive RET 1969-05-02 inserts [1970-05-02 Sat] in the active buffer, and generates this message: "year was forced into compatible range (1970-2037)". Thus this question: can ...
user avatar
0 votes
2 answers
187 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
0 answers
64 views

Headline colors not diplayed correctly, emacs-calfw

In emacs-calfw some headlines are not displayed correctly (wrong color) as shown in the screenshot below. I created an issue where I described the problem in more detail and also explained how to ...
kafu16's user avatar
  • 1
0 votes
0 answers
171 views

emacs 28.1 'parse-time-weekdays' - weekdays configuration doesn't working

Before Emacs 28.1 (Linux) I used: (eval-after-load 'parse-time '(progn (setq parse-time-weekdays (nconc parse-time-weekdays '(("so" . 0) ("mo" . 1) ("di" . 2)...
user195844's user avatar
0 votes
1 answer
80 views

Emacs calendar: how to reset column alignment

On my Agenda view (C-u C-c .) I have a "strange" effect. Line and column are not aligned: How can I reset it?
RenatoP's user avatar
  • 121
0 votes
1 answer
163 views

How to disable holiday display in Calendar

I'd like to completely disable the holiday feature in Calendar, and only show events from my only "diary" file. How can I do this?
felix's user avatar
  • 153
0 votes
1 answer
62 views

How to use calendar-compare-date?

I want to compare today's date with a saved date to see if the saved date is today's or before it. calendar-date-compare seems to be the function I need. The documentation C-h f calendar-date-compare ...
scribe's user avatar
  • 1,035
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
2 votes
1 answer
47 views

date to time for french

I want to convert a lot of french dates in date to time (date-to-time "june 7 2021 12:00:00" ) => (24765 60960) (date-to-time "7 juin 2021 12:00:00" ) => Debugger entered--...
gigiair's user avatar
  • 2,176
0 votes
1 answer
203 views

Calendar holidays errors

After updating all the packages and switched to Emacs HEAD the holidays config I used to use now generate errors on Emacs start. Config: (setq general-holidays '((holiday-fixed 1 1 "New ...
Navidot's user avatar
  • 772
0 votes
1 answer
89 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,207
0 votes
0 answers
57 views

Insert TODOs and SCHEDULE items in calendar view

We can do this with 'k' in agenda. How to insert / capture tasks at Calendar in Emacs? It would be very useful. Thanks!
Emmanuel Goldstein's user avatar
0 votes
0 answers
68 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
3 votes
1 answer
1k views

Color calendar day according to number of event in org-agenda

I would like to color the background of each day in calendar according to the number of events in my org-agenda. The idea is to have a quick and visual idea of what are the busiest days. The code from ...
Nicolas Rougier's user avatar
0 votes
1 answer
232 views

showing lunar and solar ephemerides in Emacs agenda

Is there a way to show the calendar functions for phases of the moon? I know it's an inbuilt function of Emacs, but I have never seen it pop up in my agenda. Thank you, EG
Emmanuel Goldstein's user avatar
2 votes
0 answers
351 views

How to debug org-caldav-sync?

I'm trying to sync Google Calendar over OAuth2 using org-caldav. However, when I execute M-x org-caldav-sync, the following error occurs: *Messages*: Contacting host: www.googleapis.com:443 json-...
Bas Peeters's user avatar
1 vote
1 answer
295 views

Schedule to "now" (current time) in date/time prompt (calendar)

I would like to be able to insert the current time with a shortcut when I schedule a task. There is the "." for jumping to the current day (today), but I have not been able to figure out a shortcut ...
breathe_in_breathe_out's user avatar
0 votes
1 answer
100 views

Designate a speficied day of 20 days later

Strike "C-u C-c ." to insert the current datetime, <2020-03-25 Wed 09:56> How could I designate a accurate day of 20 days later, Currently, I invoke "Shift+ right-arrow" step-move the ...
Wizard's user avatar
  • 1,251
0 votes
1 answer
194 views

Invoke a agenda-view integrated with a calendar

Usually, I check the agenda-view with a calendar as: 1. M-x org-agenda 2. invoke calendar by strike "c" at this moment, the focus stay on the calendar How could combine the two process? If C-c a a ...
Wizard's user avatar
  • 1,251
4 votes
1 answer
512 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
1 vote
2 answers
81 views

Check agenda of a particular day from calendar

In calendar-mode to invoke d on a specified day, it will prompt the activitiesof the day from file ~/diary. Is it possible to invoke an agenda view of a particular day from calendar?
Wizard's user avatar
  • 1,251
1 vote
0 answers
447 views

Create a google calendar event from natural text

I receive many emails that have some events in them which I currently have to enter manually into my Google calendar. It would be great if I can automate this process as much as possible using some ...
Tohiko's user avatar
  • 1,649
0 votes
1 answer
57 views

How to get date+interval? (revisited)

I have a deadline that is some date in the past(such as 12/26/2019) + interval (e.g. 15d). How would I get it in Emacs? In a previous post under the same title I posted an example with interval = the ...
user avatar
2 votes
1 answer
1k views

Yearly calendar view of agenda (with colored background)

I would like to have a yearly calendar view of my agenda. The code from https://stackoverflow.com/questions/9547912/emacs-calendar-show-more-than-3-months shows how to display a calendar for the whole ...
Nicolas Rougier's user avatar
2 votes
0 answers
71 views

How to get date+interval?

I have a deadline that is 12/12/2019+15d+1m. How would I get it in Emacs? This should be straightforward but have not found it. The right answer is 01/27. UPDATE: The question is not about combining ...
user avatar
3 votes
2 answers
857 views

Modify emacs calendar starting week number

I want to change emacs default calendar week number so that it starts at a manually preset date. Normally the year is broken into 52 weeks and week 1 is the one that contains the 1st of January. I'd ...
Ajned's user avatar
  • 734
0 votes
1 answer
231 views

Help with basic diary/calendar features

I have created two diary entries, I can't see them in the week agenda. Why is that? Also I would have expected 11/15 to be highlighted, or something like that, to indicate an event was planned that ...
user avatar
9 votes
3 answers
2k views

How to schedule exclusively with the keyboard?

If you look a the screenshot the cursor is locked in the echo area. If want to select the date, I have to click on one with the mouse. Do I, or there is a way to do with the keyboard? EDIT: Also the ...
user avatar
1 vote
1 answer
214 views

Display all the months from M-x calendar

M-x calendar would display a three-month calendar and C-u M-x calendar could select the center of the three month. How could display an arbitrary numbers of months, for instance view all the month in ...
Wizard's user avatar
  • 1,251
2 votes
1 answer
208 views

Avoid scheduling tasks in vacation in orgmode

I recently started using orgmode and I wonder if there is any way to avoid scheduling (or deadlineing) tasks during my week of vacation. I already found a way to highlight regional holidays (followed ...
loki's user avatar
  • 300
0 votes
1 answer
464 views

Hiding items in org-agenda view and calendar

When I still used Emacs Diary as my default organizer I valued its ability to mark items on the calendar. One could also make an entry that was NOT so marked by placing an ampersand before the entry. ...
Edman's user avatar
  • 1,207
2 votes
0 answers
46 views

mark a second type of holidays in calendar

Emacs calendar can show holidays, so I know when I'm required to stay at home. ;) (lets say: these are marked with red background, and this feature is already working) But what if I'm a teacher ...
jue's user avatar
  • 4,576
3 votes
2 answers
232 views

Is there a natural language date parser in Elisp/Emacs?

I use Emacs (Spacemacs) for email, and one of the most common tasks I have is converting an email containing a date and time to an item in my schedule. I noticed that calendar mode can convert certain ...
Jonathan's user avatar
  • 597
10 votes
2 answers
10k views

Outlook Calendar in org agenda

I would like to integrate the calendar from my outlook into my orgmode agenda. I am looking for a solution with the following features Should be implemented in elisp only, so that I can run this on ...
bombadil's user avatar
  • 547
0 votes
1 answer
174 views

In org-mode, what variable controls the placement of the calendar view when called from a capture template?

I have a question related to this one: when I am in a capture template (for writing a TODO task, for example) and I want to open the calendar with C-c C-s (bound to org-schedule, so that I can set a ...
Daniel's user avatar
  • 99
1 vote
1 answer
350 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
0 votes
1 answer
162 views

Can I copy a date from M-x calendar into kill ring or buffer

I would like to be able to run M-x calendar, navigate to a date, press some keystroke which would do one of the following: place the selected date onto the kill ring or close the calendar and ...
killdash9's user avatar
  • 189
0 votes
1 answer
98 views

How to add event to google calendar?

I would like to have a function to add an event to my google calendar, and I don't want to sync or download the calendar. What's the most simple solution to that?
AhLeung's user avatar
  • 1,083
2 votes
0 answers
126 views

Twilight times in addition to sunrise/sunset?

The sunrise-sunset function from solar.el computes sunrise and sunset. I would also like to have a function that computes the end/beginning of civil twilight (center of sun 6 deg below horizon) ...
Niclas Börlin's user avatar
3 votes
1 answer
538 views

Calfw - How to integrate with Google calendar?

From the man page I read to insert theese statements into init.el (require 'calfw-ical) (cfw:open-ical-calendar "http://www.google.com/calendar/ical/.../basic.ics") What I don't undertand is what I ...
Daniele's user avatar
  • 657
2 votes
2 answers
128 views

how to disable trailing spaces in emacs calender buffer

how to remove the red area that i think related to trailing spaces
kkpodf's user avatar
  • 21
0 votes
1 answer
267 views

execute cfw:command means?

I've installed calfw to have a better calendar view in org mode https://github.com/kiwanami/emacs-calfw Following instructions I arrived to: the command `cfw:open-calendar-buffer', switch to the ...
Forge's user avatar
  • 285
2 votes
3 answers
1k views

Insert date using a calendar

How can I do the following in emacs: Suppose the cursor is at position A in my text. Then open a calendar chooses the date by clicking with the mouse or navigating with the keyboard insert the ...
student's user avatar
  • 1,109