From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50968: 28.0.60; curly quote in lisp form in docstrings Date: Sun, 03 Oct 2021 14:01:00 +0300 Message-ID: <831r529xub.fsf@gnu.org> References: <87o886sb5e.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24711"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50968@debbugs.gnu.org, dfussner@googlemail.com To: Lars Ingebrigtsen , akrl@sdf.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 03 13:02:52 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWzGd-0006Co-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 13:02:51 +0200 Original-Received: from localhost ([::1]:40990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWzGc-0004Dw-03 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 07:02:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWzFr-0003d0-Jd for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 07:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWzFq-0002P5-Br for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 07:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWzFp-0001Qm-Sz for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 07:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Oct 2021 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50968 X-GNU-PR-Package: emacs Original-Received: via spool by 50968-submit@debbugs.gnu.org id=B50968.16332589005473 (code B ref 50968); Sun, 03 Oct 2021 11:02:01 +0000 Original-Received: (at 50968) by debbugs.gnu.org; 3 Oct 2021 11:01:40 +0000 Original-Received: from localhost ([127.0.0.1]:32948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWzFU-0001QC-8u for submit@debbugs.gnu.org; Sun, 03 Oct 2021 07:01:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWzFR-0001Pw-BQ for 50968@debbugs.gnu.org; Sun, 03 Oct 2021 07:01:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45340) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWzFI-0001sY-Ep; Sun, 03 Oct 2021 07:01:28 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2016 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWzF7-00066q-61; Sun, 03 Oct 2021 07:01:24 -0400 In-Reply-To: <87o886sb5e.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 03 Oct 2021 11:36:13 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216247 Archived-At: > From: Lars Ingebrigtsen > Date: Sun, 03 Oct 2021 11:36:13 +0200 > Cc: 50968@debbugs.gnu.org > > David Fussner writes: > > > To check whether the minor mode is enabled in the current buffer, > > evaluate ‘(default-value ’show-paren-mode)’. > > > > -- end quotation -- > > > > The straight quote inside the form has become curly (unless gmail has > > mangled it), preventing evaluation. This part of the docstring comes > > from a template in > > easy-mmode.el, so versions of it appear everywhere. > > Yup, this should now be fixed in Emacs 28 (but requires recompiling all > files that use easy-mmode). I 'touch'ed all the *.el files that use define-minor-mode, but then rebuilding Emacs with native-compilation fails with error messages that complain about frame-XXX.eln: ELC+ELN ../lisp/international/mule-cmds.elc emacs: can't find function "F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_41" in compilation unit d:\gnu\git\emacs\native-comp\src\../native-lisp/28.0.60-bc5f6bd2/preloaded/frame-b40fc590-734bdcac.eln Makefile:286: recipe for target `../lisp/international/mule-cmds.elc' failed I saw others report similar problems recently. I worked around this by removing emacs and bootstrap-emacs executables (and the corresponding pdmp files), which causes a re-dump. There were no such problems in the build without native-compilation. frame.el was one of the 'touch'ed files, so it was recompiled, and it sounds like the problem is with some discrepancy between the old frame-XXX.eln file with which emacs was dumped, and the new one? And it's somehow triggered by refreshing the preloaded *.eln files that were meanwhile recompiled? Andrea, what do these error messages mean, and how to avoid them in the future? Do we lack some cleanup or some prerequisites in our Makefile's?