GNU bug report logs - #45428
27.1; (quote (quote (quote ...))) unexpectedly works as anonymous face

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Fri, 25 Dec 2020 12:41:02 UTC

Severity: minor

Tags: wontfix

Found in version 27.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Markus Triska <triska <at> metalevel.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Stefan Kangas <stefan <at> marxist.se>, 45428 <at> debbugs.gnu.org
Subject: bug#45428: 27.1; (quote (quote (quote ...))) unexpectedly works as anonymous face
Date: Sun, 27 Dec 2020 09:38:32 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> My 2c differ.  To me this is just a bug, and should be
> fixed.  The behavior should follow the doc.  More
> importantly, it should follow the general behavior of
> Lisp evaluation.  Why would we treat '''foo, '''''foo,
> etc. the same as 'foo?  The answer is that we wouldn't,
> generally, and we don't.

I agree with this. Is there any other place in Emacs where '''X is
treated the same as 'X? As far as I can tell, this seems quite specific
to faces. How is this happening? Is there special logic in Emacs that
enables this, and is it used for other parts too?

In my own configuration and Emacs Lisp programs, I would strongly prefer
to rely only on documented features of Emacs, and I would like Emacs to
at least warn me if my code starts to rely on features that are not
officially supported and hence may change more readily in the future.

All the best,
Markus




This bug report was last modified 4 years and 201 days ago.

Previous Next


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