GNU bug report logs - #44150
28.0.50; highlight-changes-rotate-faces does not loop

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Thu, 22 Oct 2020 17:56:01 UTC

Severity: minor

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: 44150 <at> debbugs.gnu.org
Subject: Re: bug#44150: 28.0.50; highlight-changes-rotate-faces does not loop
Date: Tue, 07 Jun 2022 12:21:04 +0200
Jean Louis <bugs <at> gnu.support> writes:

> The function M-x highlight-changes-rotate-faces
>
> should loop in my opinion, that is what I was expected, it just has few
> faces then it does not loop, I am expecting with the word rotate to go
> back to the first face, but it does not.

The name of the function is slightly confusing, but it's not about
rotating faces at all -- it's about changing the marking of changes that
are at age 1 to age 2 etc.  As the doc string says:

---
Current changes are displayed in the face described by the first element
of `highlight-changes-face-list', one level older changes are shown in
face described by the second element, and so on.  Very old changes remain
shown in the last face in the list.
---

I've now clarified the doc string even more in Emacs 29.  (I considered
renaming the command, but it's a command used in user hooks, so I think
that would be even more confusing.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 13 days ago.

Previous Next


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