unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Boruch Baum <boruch_baum@gmx.com>
Cc: 35076@debbugs.gnu.org
Subject: bug#35076: [26.1] delete-face [FEATURE REQUEST]
Date: Tue, 02 Apr 2019 17:33:18 +0300	[thread overview]
Message-ID: <8336n0h3yp.fsf@gnu.org> (raw)
In-Reply-To: <20190402000403.rb3cb4b6tzqys4vy@E15-2016.optimum.net> (message from Boruch Baum on Mon, 1 Apr 2019 20:04:03 -0400)

> Date: Mon, 1 Apr 2019 20:04:03 -0400
> From: Boruch Baum <boruch_baum@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.





  parent reply	other threads:[~2019-04-02 14:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02  0:04 bug#35076: [26.1] delete-face [FEATURE REQUEST] Boruch Baum
2019-04-02  0:15 ` Basil L. Contovounesios
2019-04-02  0:38   ` Boruch Baum
2019-04-02 15:10     ` Eli Zaretskii
2019-04-02 14:33 ` Eli Zaretskii [this message]
2020-08-21  2:09   ` Stefan Kangas
2020-08-21  3:35     ` Boruch Baum
2020-08-21  6:33       ` Eli Zaretskii
2020-08-21  8:17         ` Boruch Baum
     [not found] <<20190402000403.rb3cb4b6tzqys4vy@E15-2016.optimum.net>
     [not found] ` <<8336n0h3yp.fsf@gnu.org>
2019-04-02 15:03   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8336n0h3yp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35076@debbugs.gnu.org \
    --cc=boruch_baum@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).