unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Handling non-interactive use with faces
Date: Thu, 11 Aug 2022 19:08:06 +0300	[thread overview]
Message-ID: <83bksqpxuh.fsf@gnu.org> (raw)
In-Reply-To: <N9Cbjnb--3-2@tutanota.com> (message from carlmarcos--- via Users list for the GNU Emacs text editor on Thu, 11 Aug 2022 17:56:23 +0200 (CEST))

> Date: Thu, 11 Aug 2022 17:56:23 +0200 (CEST)
> Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
> From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> 
> > You need to add a pcase alternative for a face or face name, and then
> > you call your function with that face as a single argument.
> 
> I am struggling to figure out what kind of `pcase' I should use for the scheme you suggest.

I guess use stringp for face names and facep for faces?



  reply	other threads:[~2022-08-11 16:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10 17:23 Handling non-interactive use with faces carlmarcos--- via Users list for the GNU Emacs text editor
2022-08-10 17:36 ` Eli Zaretskii
     [not found] ` <N97m-43--3-2@tutanota.com-N97nByi--3-2>
2022-08-11 15:56   ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-08-11 16:08     ` Eli Zaretskii [this message]
2022-08-11 18:32       ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-08-11 18:42         ` Eli Zaretskii
2022-08-11 19:47           ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-08-12  4:29             ` Michael Heerdegen
2022-08-12  4:34               ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-08-12 21:43                 ` Michael Heerdegen
2022-08-12 21:47                   ` uzibalqa
2022-08-12 23:17                     ` Michael Heerdegen
2022-08-12 23:57                       ` uzibalqa
2022-08-13  5:00                     ` tomas

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=83bksqpxuh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).