Subject: Re: bug#37173: 27.0.50; (blink-cursor-mode 0) in ~/.emacs has no effect

From: Sven Joachim <[email-masked]>
Date: Sat, 24 Aug 2019 15:32:56 +0200

On 2019-08-24 16:18 +0300, Eli Zaretskii wrote:

>> From: Sven Joachim <[email-masked]>
>> Date: Sat, 24 Aug 2019 15:10:17 +0200
>> Cc: Sven Joachim <[email-masked]>
>> 
>> I hate blinking cursors, and thus have
>> 
>> (blink-cursor-mode 0)
>> 
>> in my ~/.emacs since forever.
>
> That's a mistake; use this instead:
>
>   (blink-cursor-mode -1)

The docstring says

,----
| If called interactively, enable Blink-Cursor mode if ARG is positive, and
| disable it if ARG is zero or negative.  If called from Lisp,
| also enable the mode if ARG is omitted or nil, and toggle it
| if ARG is ‘toggle’; disable the mode otherwise.
`----

To me this suggests that (blink-cursor-mode 0) should disable the
blinking cursor.  Anyway, (blink-cursor-mode -1) makes no difference.

Cheers,
       Sven