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 diary-insert-block-entry
in the calendar mode, got the same error.
Can anyone help?
1 Answer
The doc-string for diary-insert-block-entry
is insufficient (even for an intermediate Emacs user such as myself) and I needed to actually visit the code with M-x find-function
to see what was going on. I initially tried selecting a region with shift-arrow, but that didn't work. Then, I tried selecting a region with a mouse in all different shapes and forms, and none of those worked. Finally, I came up with this three-step approach:
Place the cursor on the beginning date and press
C-SPC
to set the mark.With the arrow key, move to the ending date.
Press:
i b
i b
is for "Add a block diary entry for the current region(diary-insert-block-entry)
." Did you select a region beforehand?