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#54491: 27.2; left-margin variable breaks autoload generation Date: Mon, 21 Mar 2022 14:43:18 +0200 Message-ID: <83v8w7eas9.fsf@gnu.org> References: <87a6djhgjv.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32257"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54491@debbugs.gnu.org To: Will Tower Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 13:44:28 2022 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 1nWHOb-00083v-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 13:44:26 +0100 Original-Received: from localhost ([::1]:48464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWHOa-0006Xc-FW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 08:44:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWHOE-0006UR-1s for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWHOD-0006zH-PH for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWHOD-00081Q-LO for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:44: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: Mon, 21 Mar 2022 12:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54491 X-GNU-PR-Package: emacs Original-Received: via spool by 54491-submit@debbugs.gnu.org id=B54491.164786662130800 (code B ref 54491); Mon, 21 Mar 2022 12:44:01 +0000 Original-Received: (at 54491) by debbugs.gnu.org; 21 Mar 2022 12:43:41 +0000 Original-Received: from localhost ([127.0.0.1]:36105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWHNs-00080i-Tb for submit@debbugs.gnu.org; Mon, 21 Mar 2022 08:43:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWHNr-00080W-Hj for 54491@debbugs.gnu.org; Mon, 21 Mar 2022 08:43:39 -0400 Original-Received: from [2001:470:142:3::e] (port=41426 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWHNl-0006vo-OK; Mon, 21 Mar 2022 08:43:34 -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=ylfKsbExdmb3gUzOnC1/cm0B8FgNMWfx632vcQWVGA0=; b=EkxwyVoePN4h vFvGhoaHXycN5I8I8CTmsViYXBWwjDmCPFGxUzz//3JxJMFNrO79on5M/iiGAO3SJNf6KV3DyMG+k /NpRJAsAmZNV3cwwvBqd4weLGGG03brseDWqPrS3u+OixyAnBvNLSMoTRoQAUZxJK7CeBLm2edLG8 a+4nkmS8vU6P1RWC35+QuxEXBHoNp39wS6XRDQ9RGDnBExO6VxUAzERkKyoizjajlQIghi4QsPGnX yAs+PbZ3O9op0IDX82LBL5xGhD+sJ32Q9hPvao/x8vXg0KdjkwJSHMz5f+4ohGnwxHd+KnTXEp9sd pDABVR/u4K34bDiQH+nEQQ==; Original-Received: from [87.69.77.57] (port=4757 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 1nWHNl-0004Uy-8B; Mon, 21 Mar 2022 08:43:33 -0400 In-Reply-To: <87a6djhgjv.fsf@gmail.com> (message from Will Tower on Mon, 21 Mar 2022 04:05:52 -0400) 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:228662 Archived-At: > From: Will Tower > Date: Mon, 21 Mar 2022 04:05:52 -0400 > > Steps to reproduce (arch linux, GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.4) of 2022-03-11) > 1. Delete all installed versions of magit (our test package) > a. for me this looks like calling M-x package-delete return magit until I can't delete anything else > 2. from command line, emacs -Q > 3. yank reproduction config file into a scratch buffer of clean emacs instance: > > (custom-set-variables > '(left-margin 8) > ) > (setq byte-compile-warnings '(cl-functions)) > > ;;Initialize package sources > (require 'package) > (setq package-archives > '( > ("melpa" . "https://melpa.org/packages/") > ("org" . "https://orgmode.org/elpa/") > ("elpa" . "https://elpa.gnu.org/packages/") > ) > ) > > 4. M-x eval-buffer return > 5. M-x package-install return magit > 6. Notice a bunch of a compiler warnings and errors, I usually receive something about autoloads 105 > 7. Examine magit-autoloads.el file > 8. Notice that some of the generated autoloads have mismatched delimiters, (" appearing on the second line of an autoload, in a region that is supposed to be a comment is fairly common, like I have hard time imagining how display margins, which are purely a display feature, could ever affect the results of byte compilation or any other processing of Lisp programs. Could you perhaps show a simpler reproduction recipe, one that wouldn't require installing 3rd-part packages from the various ELPAs? We use autoloading in many Lisp files in the core, so if the problem is real and general enough, any Lisp file that uses autoloading should do, right? Thanks.