[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54115: [External] : Re: bug#54115: 27.2; `face-remap-set-base' bug w
From: |
Eli Zaretskii |
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 |
> 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.