all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#72579: 29.4; Viper does not handle changing cursor colour well
@ 2024-08-11 14:05 ZharMeny via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: ZharMeny via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-08-11 14:05 UTC (permalink / raw)
  To: 72579; +Cc: info@protesilaos.com

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.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-11 14:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-11 14:05 bug#72579: 29.4; Viper does not handle changing cursor colour well ZharMeny via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.