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
0 answers
25 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
12 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
74 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,300
3 votes
1 answer
42 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
143 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
60 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
151 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
65 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
139 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
46 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
  • 990
0 votes
1 answer
67 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
42 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,134
0 votes
1 answer
184 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
  • 762
0 votes
1 answer
81 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,177
0 votes
0 answers
51 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
60 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
188 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
321 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
268 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
96 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,241
0 votes
1 answer
178 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,241
4 votes
1 answer
452 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,241
0 votes
2 answers
68 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,241
1 vote
0 answers
439 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,609
0 votes
1 answer
52 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
813 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
  • 682
0 votes
1 answer
181 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
1k 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
199 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,241
2 votes
1 answer
198 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
  • 290
0 votes
1 answer
444 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,177
2 votes
0 answers
45 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,501
3 votes
2 answers
213 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
  • 577
10 votes
1 answer
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
166 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
332 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
155 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
  • 179
0 votes
1 answer
95 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
119 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
525 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
  • 647
2 votes
2 answers
127 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
254 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
  • 275
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,007
2 votes
1 answer
271 views

How to retrieve the date under the cursor in emacs calendar as the format day.month.year like 15.07.2018

Is there a way to retrieve the date under the cursor in emacs calendar as the format day.month.year like 05.07.2018 as a clipboard content?
Name's user avatar
  • 7,749
0 votes
2 answers
522 views

What is the purpose of calendar diary block entries?

What are calendar diary block entries about? I've been looking around the web and I can't figure out why I would use that particular format, or how to use it, aside from assigning a starting and ...
M. Minor's user avatar
2 votes
0 answers
68 views

recurring event on weekend day or bank holiday, change to next working day

If there is a recurring event on weekend day or bank holiday, if there a way to change it to next working day?
James's user avatar
  • 21