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.devel Subject: Re: Docstring hack Date: Sat, 30 Jul 2022 18:44:41 +0300 Message-ID: <834jyy61w6.fsf@gnu.org> References: <83bkt6687a.fsf@gnu.org> <871qu2lo29.fsf@yahoo.com> <837d3u63ez.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17836"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Lynn Winebarger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 30 17:46:36 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oHofk-0004Ye-B6 for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jul 2022 17:46:36 +0200 Original-Received: from localhost ([::1]:40736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHofj-000204-7O for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jul 2022 11:46:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHoe5-0000YC-7I for emacs-devel@gnu.org; Sat, 30 Jul 2022 11:44:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHoe4-0006B0-U6; Sat, 30 Jul 2022 11:44:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ggXLIJ7ePIQZEzfJEMAYUUti2rm5WvmZwfH2r+uaGxQ=; b=Gw7RP0OoUjif aKL2iTxNYlIB5NW590vrsbBKMlzt9+mC3UaOMIp+67LniGnqt8tCbkl+YwNbkmTvwF8mPxT7toyoN Ois0HQxy+CXU3yOvnCjrL54eemVZ8Gpnimhm+KDoMtsjUPNbnrLgnuBlmi7pTNMaYUvSAWmdE2eXn zGic0RjnShb8b4Nkyt4duc4PejV2PhT73JIKLvSsPWiXzdTOBo0rRUOCu29nCdFFNKVCf4aSd2xZw os0eq40mIL9ZFzwCeLph0RcAOWwWeSCtioo8ZqAjkorfcJciMVqclOiXrGlCHLdFyZyObfPJcx4Da O+BW1Hvxh7QRv72Wzl/SXA==; Original-Received: from [87.69.77.57] (port=1813 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 1oHoe4-0001YB-IY; Sat, 30 Jul 2022 11:44:52 -0400 In-Reply-To: (message from Lynn Winebarger on Sat, 30 Jul 2022 11:38:13 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292881 Archived-At: > From: Lynn Winebarger > Date: Sat, 30 Jul 2022 11:38:13 -0400 > Cc: Po Lu , emacs-devel > > > (format args...) > > > > will result in (format 0 args...) during dumping. > > "Result" in what sense? > > As in, if you load emacs-lisp/eieio-core in site-load.el with dump-mode pdump without having byte-compiled > eieio-core first, the load cedet/semantic/loaddefs.el, you will get a cryptic error message stating stringp: 0 is > not a string. And upon investigation, the closure for def-eieio-autoload mysteriously has a "(format 0 > cname)" in the code, even though it's not 0 in the eieio-core source code. Does this happen with any package we actually preload via loadup.el?