GNU bug report logs - #77224
[PATCH] New minor mode 'cursor-indicators-mode'

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sun, 23 Mar 2025 22:59:03 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77224 <at> debbugs.gnu.org, juri <at> linkov.net, dancol <at> dancol.org, mail <at> daniel-mendler.de
Subject: bug#77224: [PATCH] New minor mode 'cursor-indicators-mode'
Date: Mon, 31 Mar 2025 17:41:15 -0600
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> Let's please discuss your ideas before you implement them, to make
> sure you don't work on some ideas that we might object to.

Sure.

The code needs to run each time the cursor moves, (is there
a function/code that do this?) and each time user changes window
(because cursor color is not buffer-local).

I think that using variable watchers would be better and keep
this defcustom (it will only use variables):

#+begin_example
(defcustom cursor-indicators
  '((overwrite-mode . "red")
    (buffer-read-only "green" hollow)
    (current-input-method . "blue"))
    [...]
#+end_example

[Message part 2 (text/html, inline)]
[Message part 3 (text/plain, inline)]

-- 
                                          - E.G via GNU Emacs and Org.

This bug report was last modified 64 days ago.

Previous Next


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