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?
Asked
Active
Viewed 140 times
1
-
The manual https://www.gnu.org/software/emacs/manual/html_node/emacs/Special-Diary-Entries.html#Special-Diary-Entries says that `i b` is for "*Add a block diary entry for the current region `(diary-insert-block-entry)`.*" Did you select a region beforehand? – lawlist Aug 03 '17 at 12:42
-
@lawlist How can i select a region inside of calendar? – Aug 03 '17 at 16:56
1 Answers
1
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-SPCto set the mark.With the arrow key, move to the ending date.
Press:
i b
lawlist
- 18,826
- 5
- 37
- 118