How can I make the cursor in Emacs blink like a heartbeat. Like the LED on the front panel of laptop when the computer is suspended. There is variable

Looking forward a way to make cursor blinks like a heartbeat in Emacs

submited by
Style Pass
2021-07-21 16:30:10

How can I make the cursor in Emacs blink like a heartbeat. Like the LED on the front panel of laptop when the computer is suspended.

There is variable blink-cursor-alist that control the blink of cursor, but I do not know how to use it to satisfy my requirement.

You guess that the option has something to do with the word "blink". So you press C-h a (for apropos) and type "blink". On my emacs, I get two options: blink-cursor-mode and blink-matching-open. The first one looks right. The description says: "Toggle blinking cursor mode".

The shortcut on my emacs says: <menu-bar> <options> <blink-cursor-mode>. So I guess that the option is somewhere in the menu, maybe under "options". I open the Options menu, and there it is: "Blinking Cursor" with a tick box.

This also sounds like an option that can be customised. So I type M-x customize-option and then blink-cursor-mode. This allows me to toggle the value and also save it for future sessions.

Leave a Comment