From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#54491: 27.2; left-margin variable breaks autoload generation Date: Mon, 21 Mar 2022 16:19:20 +0100 Message-ID: <87r16vmiyv.fsf@gnus.org> References: <87a6djhgjv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7964"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) 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 16:24:42 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 1nWJti-0001rM-Cg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 16:24:42 +0100 Original-Received: from localhost ([::1]:57994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWJtf-00018m-DL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 11:24:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWJpD-0004L9-4l for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 11:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWJpC-0004Tx-QE for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 11:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWJpC-0002FN-CY for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2022 15:20:02 +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.16478759718582 (code B ref 54491); Mon, 21 Mar 2022 15:20:02 +0000 Original-Received: (at 54491) by debbugs.gnu.org; 21 Mar 2022 15:19:31 +0000 Original-Received: from localhost ([127.0.0.1]:37880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWJog-0002EL-Ok for submit@debbugs.gnu.org; Mon, 21 Mar 2022 11:19:30 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:51318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWJof-0002E8-Lm for 54491@debbugs.gnu.org; Mon, 21 Mar 2022 11:19:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=p0cB6xLmmJrvq+bro7Dwm9cGjO2D7SKyLxIEczw3aUk=; b=a/1bPmUVI7EmLeTktSMHxz24mm HOulMI7HDgDaB18GsDZkhjV5nK7ft5G1PYzjVMuugxTjXu9KdyBQJxNYKWWvQxcm5oAYx7P2thz6y huh0pksNXPVVVr8pVhW9mL3DkHeT6Nnez+M6DmwXttU1uLJD/Q8Qy8EyeQJ0rVJ0lnBg=; Original-Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWJoX-0000KE-6J; Mon, 21 Mar 2022 16:19:23 +0100 In-Reply-To: <87a6djhgjv.fsf@gmail.com> (Will Tower's message of "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:228686 Archived-At: Will Tower writes: > Setting left-margin variable breaks many autoload files when > installing or updating packages. Easier reproduction (well, if you're in the development tree): diff --git a/src/buffer.c b/src/buffer.c index f8a7a4f510..e567a8e23c 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5334,7 +5334,7 @@ init_buffer_once (void) bset_enable_multibyte_characters (&buffer_defaults, Qt); bset_buffer_file_coding_system (&buffer_defaults, Qnil); XSETFASTINT (BVAR (&buffer_defaults, fill_column), 70); - XSETFASTINT (BVAR (&buffer_defaults, left_margin), 0); + XSETFASTINT (BVAR (&buffer_defaults, left_margin), 8); bset_cache_long_scans (&buffer_defaults, Qt); bset_file_truename (&buffer_defaults, Qnil); XSETFASTINT (BVAR (&buffer_defaults, display_count), 0); and then "make ldefs-boot.el", and observe that ldefs-boot.el is broken: (autoload 'allout-widgets-mode "allout-widgets" "\ ("Toggle Allout Widgets mode. This is a minor mode. If called interactively, toggle the `Allout-Widgets mode' mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode. instead of (autoload 'allout-mode "allout" "\ Toggle Allout outline mode. This is a minor mode. If called interactively, toggle the `Allout mode' mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode. (Although you may find it difficult to then actually build Emacs afterwards.) I haven't tried debugging further -- is it obvious to anybody else what's breaking here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no