1

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?

2
  • The manual gnu.org/software/emacs/manual/html_node/emacs/… 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 3, 2017 at 12:42
  • @lawlist How can i select a region inside of calendar?
    – user12021
    Aug 3, 2017 at 16:56

1 Answer 1

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:

  1. Place the cursor on the beginning date and press C-SPC to set the mark.

  2. With the arrow key, move to the ending date.

  3. Press: i b

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy