GNU bug report logs - #35076
[26.1] delete-face [FEATURE REQUEST]

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Tue, 2 Apr 2019 00:06:01 UTC

Severity: wishlist

Tags: wontfix

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35076 in the body.
You can then email your comments to 35076 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Tue, 02 Apr 2019 00:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 02 Apr 2019 00:06:04 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: [26.1] delete-face [FEATURE REQUEST]
Date: Mon, 1 Apr 2019 20:04:03 -0400
I don't see any command or recommended method for deleting a face. Is
there one? Shouldn't there either be one, or a discussion about it in
the documentation?

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Tue, 02 Apr 2019 00:16:01 GMT) Full text and rfc822 format available.

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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 35076 <at> debbugs.gnu.org
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Tue, 02 Apr 2019 01:15:37 +0100
Boruch Baum <boruch_baum <at> gmx.com> writes:

> I don't see any command or recommended method for deleting a face. Is
> there one? Shouldn't there either be one, or a discussion about it in
> the documentation?

FWIW, this was recently discussed on the Emacs Stack Exchange forum:
https://emacs.stackexchange.com/q/48443/15748

-- 
Basil




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Tue, 02 Apr 2019 00:39:02 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 35076 <at> debbugs.gnu.org
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Mon, 1 Apr 2019 20:38:37 -0400
Thanks for the reference. It doesn't seem resolved there.

On 2019-04-02 01:15, Basil L. Contovounesios wrote:
> Boruch Baum <boruch_baum <at> gmx.com> writes:
>
> > I don't see any command or recommended method for deleting a face. Is
> > there one? Shouldn't there either be one, or a discussion about it in
> > the documentation?
>
> FWIW, this was recently discussed on the Emacs Stack Exchange forum:
> https://emacs.stackexchange.com/q/48443/15748
>

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Tue, 02 Apr 2019 14:34:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 35076 <at> debbugs.gnu.org
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Tue, 02 Apr 2019 17:33:18 +0300
> Date: Mon, 1 Apr 2019 20:04:03 -0400
> From: Boruch Baum <boruch_baum <at> gmx.com>
> 
> I don't see any command or recommended method for deleting a face. Is
> there one? Shouldn't there either be one, or a discussion about it in
> the documentation?

Maybe I'm missing something, but why would we need such a method?
What would be a practical use case where it's necessary to delete a
face (as opposed to simply leaving it alone and not using it)?

I'm asking because implementing this will not be trivial, what with
all the places where faces are recorded and cached, so we'd need a
good reason to do that.  OTOH, Emacs already knows how to replace a
face when it is redefined, so it isn't like we waste memory here.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Tue, 02 Apr 2019 15:07:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Boruch Baum <boruch_baum <at> gmx.com>
Cc: 35076 <at> debbugs.gnu.org
Subject: RE: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Tue, 2 Apr 2019 08:03:56 -0700 (PDT)
> > I don't see any command or recommended method for deleting a face. Is
> > there one? Shouldn't there either be one, or a discussion about it in
> > the documentation?
> 
> Maybe I'm missing something, but why would we need such a method?
> What would be a practical use case where it's necessary to delete a
> face (as opposed to simply leaving it alone and not using it)?
> 
> I'm asking because implementing this will not be trivial, what with
> all the places where faces are recorded and cached, so we'd need a
> good reason to do that.  OTOH, Emacs already knows how to replace a
> face when it is redefined, so it isn't like we waste memory here.

I almost posted the same question.  On reflection I
thought that it can be helpful to users (and programs)
not to have to have such "extra", unwanted, unused
faces laying about, remaining in a session.

How so?  Mainly UI considerations.  Useless choices for
`M-x customize face' and other uses of `read-face-*'.
Less noise in the output of `list-faces-display'.

If there are enough such dead-weight faces then it also
might affect performance slightly, depending on the use,
but this isn't what I'd worry about.

I can't speak for the OP, but the nuisance of having
such faces linger as UI noise is one reason, I think

Yes, users can redefine a face to just inherit from
`default', but the above considerations still apply.

I think it would be good if users could delete faces,
just like they undefine or unbind keys or unintern
symbols.  How costly it might be to implement this
feature is an counter consideration.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Tue, 02 Apr 2019 15:11:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: contovob <at> tcd.ie, 35076 <at> debbugs.gnu.org
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Tue, 02 Apr 2019 18:10:37 +0300
> Date: Mon, 1 Apr 2019 20:38:37 -0400
> From: Boruch Baum <boruch_baum <at> gmx.com>
> Cc: 35076 <at> debbugs.gnu.org
> 
> Thanks for the reference. It doesn't seem resolved there.

Neither does it explain why this is needed, FWIW.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Fri, 21 Aug 2020 02:10:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35076 <at> debbugs.gnu.org, Boruch Baum <boruch_baum <at> gmx.com>
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Thu, 20 Aug 2020 19:09:36 -0700
tags 35076 + wontfix
close 35076
thanks

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

>> Date: Mon, 1 Apr 2019 20:04:03 -0400
>> From: Boruch Baum <boruch_baum <at> gmx.com>
>>
>> I don't see any command or recommended method for deleting a face. Is
>> there one? Shouldn't there either be one, or a discussion about it in
>> the documentation?
>
> Maybe I'm missing something, but why would we need such a method?
> What would be a practical use case where it's necessary to delete a
> face (as opposed to simply leaving it alone and not using it)?
>
> I'm asking because implementing this will not be trivial, what with
> all the places where faces are recorded and cached, so we'd need a
> good reason to do that.  OTOH, Emacs already knows how to replace a
> face when it is redefined, so it isn't like we waste memory here.

The above quote by Eli makes it clear that we would need a very good
reason to do something like this.  It seems like we are missing that
here, and no further details have been given within over a year.

I'm therefore closing this bug report as wontfix.

Best regards,
Stefan Kangas




Added tag(s) wontfix. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 21 Aug 2020 02:10:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 35076 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 21 Aug 2020 02:10:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Fri, 21 Aug 2020 03:36:02 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 35076 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Thu, 20 Aug 2020 23:35:43 -0400
Suddenly Eli can't speak or act for himself? If within the GNU project
you're his manager or his superior, great then I see nothing wrong in
your intervention on his behalf. I just don't understand enough about
how the project is organized. From the limited e-mail traffic I receive,
it seems that Eli's task is mainly to remove bugs and deficiencies from
emacs by producing, and that your's is mainly to remove bugs and
deficiencies from emacs by just closing them.

On 2020-08-20 19:09, Stefan Kangas wrote:
> The above quote by Eli makes it clear that we would need a very good
> reason to do something like this.  It seems like we are missing that
> here, and no further details have been given within over a year.
>
> I'm therefore closing this bug report as wontfix.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Fri, 21 Aug 2020 06:34:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 35076 <at> debbugs.gnu.org, stefan <at> marxist.se
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Fri, 21 Aug 2020 09:33:01 +0300
> Date: Thu, 20 Aug 2020 23:35:43 -0400
> From: Boruch Baum <boruch_baum <at> gmx.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 35076 <at> debbugs.gnu.org
> 
> Suddenly Eli can't speak or act for himself? If within the GNU project
> you're his manager or his superior, great then I see nothing wrong in
> your intervention on his behalf. I just don't understand enough about
> how the project is organized. From the limited e-mail traffic I receive,
> it seems that Eli's task is mainly to remove bugs and deficiencies from
> emacs by producing, and that your's is mainly to remove bugs and
> deficiencies from emacs by just closing them.

That is incorrect and unkind.  Stefan does a very welcome job (as do
others) of cleaning up forgotten bug reports which received no
attention or whose discussion lapsed.  I personally don't always have
time to scan old bug reports and close them, after some initial
communication about it.  Stefan and others help by taking care of bug
reports which I failed to handle correctly or timely.  I'm infinitely
thankful to them for doing this mundane job, and I think we all should
be grateful.  They make the project more successful and our bug DB
cleaner.

As it happens in this case, Stefan interpreted what I meant correctly,
but in the few cases where he misunderstands, I can always speak up
and explain the misunderstanding.  And if that means a bug should be
reopened, it takes just one email to do so.

So if you have any objections to closing this bug report, please voice
them, and we will reconsider if necessary.

TIA




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35076; Package emacs. (Fri, 21 Aug 2020 08:18:02 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35076 <at> debbugs.gnu.org, stefan <at> marxist.se
Subject: Re: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Fri, 21 Aug 2020 04:17:23 -0400
On 2020-08-21 09:33, Eli Zaretskii wrote:
> > Date: Thu, 20 Aug 2020 23:35:43 -0400
> > From: Boruch Baum <boruch_baum <at> gmx.com>
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 35076 <at> debbugs.gnu.org
> >
> > Suddenly Eli can't speak or act for himself? If within the GNU project
> > you're his manager or his superior, great then I see nothing wrong in
> > your intervention on his behalf. I just don't understand enough
> > about how the project is organized. From the limited e-mail traffic I receive,
> > it seems that Eli's task is mainly to remove bugs and deficiencies from
> > emacs by producing, and that your's is mainly to remove bugs and
> > deficiencies from emacs by just closing them.
>
> That is incorrect

Good to know.

> and unkind.

Not my intent at all.

> ...

> I'm infinitely thankful to them for doing this mundane job, and I
> think we all should be grateful. They make the project more successful
> and our bug DB cleaner.

Like I wrote above, "I just don't understand enough about how the
project is organized".

> ...

> So if you have any objections to closing this bug report, please voice
> them, and we will reconsider if necessary.

For something like this, It's not my style to repeat myself. My argument
was rejected. Although I disagree, I accept that and move on.

And since you did write, this is a perfect opportunity to congratulate
you on and thank you for the release of version 27!

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Sep 2020 11:24:10 GMT) Full text and rfc822 format available.

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

Previous Next


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