GNU bug report logs - #54115
27.2; `face-remap-set-base' bug with only two args

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 22 Feb 2022 17:48:01 UTC

Severity: normal

Found in version 27.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 54115 <at> debbugs.gnu.org
Subject: Re: [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 <at> oracle.com>
> CC: "54115 <at> debbugs.gnu.org" <54115 <at> 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.




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

Previous Next


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