unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 54115@debbugs.gnu.org
Subject: bug#54115: [External] : Re: bug#54115: 27.2; `face-remap-set-base' bug with only two args
Date: Tue, 22 Feb 2022 21:16:17 +0200	[thread overview]
Message-ID: <83bkyyu2ym.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR10MB5488810E3E3B477C0FD3922DF33B9@SJ0PR10MB5488.namprd10.prod.outlook.com> (message from Drew Adams on Tue, 22 Feb 2022 18:45:11 +0000)

> From: Drew Adams <drew.adams@oracle.com>
> CC: "54115@debbugs.gnu.org" <54115@debbugs.gnu.org>
> Date: Tue, 22 Feb 2022 18:45:11 +0000
> 
> > > (I see the same problem (same code) in an Emacs 28 pretest snapshot.)
> > >
> > > emacs -Q
> > >
> > > Eval the source-code defun of `face-remap-set-base'.
> > >
> > > M-x debug-on-entry face-remap-set-base
> > >
> > > Evaluate (face-remap-set-base 'variable-pitch 'default).
> > >
> > > Debugger entered--Lisp error: (wrong-type-argument listp default)
> > > * car(default)
> > > * (eq (car specs) face)
> > > * (and (eq (car specs) face) (null (cdr specs)))
> > 
> > How is this different from bug#46973?
> 
> 1. I'd forgotten about that bug filing.  Thx.
> 2. That's a doc bug.  This is a behavior bug.

Then how is it different from bug#45264?

> So far, there's been no improvement of the doc
> or correction of the behavior.

So which is it -- a doc bug or a behavior bug?

> And please let us know how to pass a single
> face for SPECS.

You can't.  A face spec doesn't allow single faces.  See defface.





  reply	other threads:[~2022-02-22 19:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 17:47 bug#54115: 27.2; `face-remap-set-base' bug with only two args Drew Adams
2022-02-22 18:22 ` Eli Zaretskii
2022-02-22 18:45   ` bug#54115: [External] : " Drew Adams
2022-02-22 19:16     ` Eli Zaretskii [this message]
2022-02-22 22:31       ` Drew Adams
2022-02-23 11:51 ` Lars Ingebrigtsen

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=83bkyyu2ym.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=54115@debbugs.gnu.org \
    --cc=drew.adams@oracle.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).