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 #29 received at 77945 <at> debbugs.gnu.org (full text, mbox):

From: Ship Mints <shipmints <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77945 <at> debbugs.gnu.org
Subject: Re: bug#77945: [PATCH] Add optional inherit argument to
 'face-all-attributes'
Date: Mon, 21 Apr 2025 10:45:22 -0400
[Message part 1 (text/plain, inline)]
On Mon, Apr 21, 2025 at 10:34 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > 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.
>

Yes, I understand.  I prefer to examine these using *scratch* and/or
programs vs. using the interactive customize-style UI.  face-attribute
already takes inherit, and it seems like a natural extension for
face-all-attributes to be in harmony, and with additional programmer
utility.
[Message part 2 (text/html, inline)]

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.