GNU bug report logs - #77945
[PATCH] Add optional inherit argument to 'face-all-attributes'

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Sun, 20 Apr 2025 17:16:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ship Mints <shipmints <at> gmail.com>
Cc: 77945 <at> debbugs.gnu.org
Subject: Re: bug#77945: [PATCH] Add optional inherit argument to
 'face-all-attributes'
Date: Mon, 21 Apr 2025 17:34:51 +0300
> From: Ship Mints <shipmints <at> gmail.com>
> Date: Mon, 21 Apr 2025 09:34:07 -0400
> Cc: 77945 <at> debbugs.gnu.org
> 
>  >  Doesn't describe-face already satisfy that need?
>  > 
>  > I wanted a programmatic API where I could "diff" output.
> 
>  Sorry, I don't understand.  describe-face produces a buffer that can
>  be diff'ed, right?
> 
> I meant "diff" (hence my use of quotes) in the compare two lists programmatically sense.

I still don't understand. Lists are not the only data types that can
be diff'ed.

> The output of
> 'describe-face' also seems not to have alternatives to enable/disable inheritance, not that it helps with
> programmatic comparisons.

If the 'inherit' attribute is non-nil, describe-face shows a link to
the inherited face, and you can follow it.




This bug report was last modified 36 days ago.

Previous Next


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