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


Message #7 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: ZharMeny <zharmeny <at> protonmail.com>
Cc: info <at> protesilaos.com, 72580 <at> debbugs.gnu.org
Subject: Re: bug#72580: 29.4; Viper does not handle changing cursor colour well
Date: Sun, 11 Aug 2024 18:29:44 +0300
merge 72580 72579
thanks

> Cc: "info <at> protesilaos.com" <info <at> protesilaos.com>
> Date: Sun, 11 Aug 2024 14:09:30 +0000
> From:  ZharMeny via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 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 is the exact duplicate of bug#72579 that you filed just a few
minutes ago.  Merging.




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.