GNU bug report logs - #72579
29.4; Viper does not handle changing cursor colour well

Previous Next

Package: emacs;

Reported by: ZharMeny <zharmeny <at> protonmail.com>

Date: Sun, 11 Aug 2024 15:15:01 UTC

Severity: normal

Merged with 72580

Found in version 29.4

Full log


View this message in rfc822 format

From: ZharMeny <zharmeny <at> protonmail.com>
To: 72579 <at> debbugs.gnu.org
Cc: "info <at> protesilaos.com" <info <at> protesilaos.com>
Subject: bug#72579: 29.4; Viper does not handle changing cursor colour well
Date: Sun, 11 Aug 2024 14:05:44 +0000
If you change the cursor colour with viper-mode enabled, it will use the 'remembered' cursor colour from the previous theme, which makes cursor practically invisible if switching between dark and light themes.

Here's an `emacs -Q` reproduction:

  (load-theme 'modus-operandi)
  (viper-mode)
  (modus-themes-toggle)

The (internal) variable `viper-vi-state-cursor-color` seems to be the culprit, as it remembers the cursor color of the theme that is no longer active after the toggle.

This problem is not specific to modus-themes, any theme should work.




This bug report was last modified 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.