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
7
votes
1answer
2k views

Programmatically add birthdays/holidays to agenda view in org-mode

org-mode offers a few built-in options to add birthdays/holidays to the agenda view in org-mode; however, there is no built-in support to add those dates entirely programmatically -- without manually ...
1
vote
3answers
188 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 ...
4
votes
1answer
449 views

How can I find the date ten business days into the past from today?

I'm open to suggestions relating to: org-mode calendar calc I recently learned that the calculator seems to have a basic way of doing it with a list of excluded days (by default Saturday and Sunday),...
2
votes
0answers
305 views

How to parse calendar date or timestamp at cursor from elisp?

Is there a function to parse the text around the cursor and return the date if found? E.g., if I'm in a buffer with the cursor in the middle of this text: 2015-12-01 First day of new exercise ...
2
votes
1answer
66 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?
0
votes
1answer
130 views

how to detect selection in date mode?

I want to write a mode for ledger. The first thing I want to do is to be able to insert date stamps. There is a very nice mode in Emacs called calendar. I want to be able to select a date within it. ...