Subject: bug#18372: Bug#755351: blink-cursor-mode should respect GTK+ setting by default

From: Josh Triplett <[email-masked]>
Date: Mon, 1 Sep 2014 11:24:31 -0700

On Mon, Sep 01, 2014 at 08:21:58AM +0200, Jan D. wrote:
> Stefan Monnier skrev 2014-09-01 02:55:
> >>>In the GTK+ version of Emacs, the default setting for
> >>>blink-cursor-mode should respect the desktop setting of
> >>>org.gnome.desktop.interface.cursor-blink .  An explicit setting of
> >>>blink-cursor-mode in .emacs could still override it, but the default
> >>>setting should not.
> >
> >That would make a lot of sense, indeed.
> >
> 
> How do you distinguish between the default and
> 
> % emacs
> M-x blink-cursor-mode
> M-x blink-cursor-mode
> 
> ?

For the simplest possible implementation, determine the desktop setting
for whether the cursor should blink, and set blink-cursor-mode to that
at startup; any explicit setting would then override that.

- Josh Triplett