From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: william.emerson.tower@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#54490: 27.2; left-margin variable breaks autoload generation Date: Mon, 21 Mar 2022 03:56:21 -0400 Message-ID: <87ee2vhh7e.fsf@Gernn.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Setting left-margin variable breaks many autoload files when installing or updating packages. Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8452"; mail-complaints-to="usenet@ciao.gmane.io" To: 54490@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 11:35:24 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 1nWFNi-0001v8-T8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 11:35:22 +0100 Original-Received: from localhost ([::1]:51028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWFNg-0004gI-7s for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 06:35:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWFNP-0004bZ-Vd for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 06:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWFNP-0003v9-M4 for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 06:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWFNP-0002a0-IA for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 06:35:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: william.emerson.tower@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2022 10:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54490 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16478588569821 (code B ref -1); Mon, 21 Mar 2022 10:35:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Mar 2022 10:34:16 +0000 Original-Received: from localhost ([127.0.0.1]:35950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWFMd-0002YD-7o for submit@debbugs.gnu.org; Mon, 21 Mar 2022 06:34:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWCv8-0006kH-Ny for submit@debbugs.gnu.org; Mon, 21 Mar 2022 03:57:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWCv8-0003pk-FU for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 03:57:42 -0400 Original-Received: from [2607:f8b0:4864:20::f31] (port=42858 helo=mail-qv1-xf31.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWCv5-0007r9-5z for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 03:57:41 -0400 Original-Received: by mail-qv1-xf31.google.com with SMTP id e22so10903669qvf.9 for ; Mon, 21 Mar 2022 00:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:message-id:from:to:subject:mime-version; bh=XvXGuBAnIuAOzhNozRUi41/RdULnxUwLQLX3Fc3UBKI=; b=puvqoYKvsFJB4Sv08Bz28GV2io0bKdvT5KFydQ2lrwMABzSiKRiIf2BqUa1YFDITqy Z89R1I2MbbSit29Cty5Iket4sda58w/vv1DmPcE0/E4J6xRicxqD2s7QDZNyFLpXuJr5 o8mdnnnlReZZcg4wURuNXSdyPP3ok0Mf5JWlLy04xhBafEL6X2I5UQ5gebL4YMVDWoPR Mi+ReOP4LW034TALtdCiOWJdVP7FngFmkvIKJXxs/tA3lDsSWdWfDNIADDPJ5Dz0JyOI aahaSQ00qE85sBjmyEVZwFXpvuoUAEeIoQxPUtEVbUE6zccALaLx99jlKOpjpmf2/VNc GaUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:from:to:subject:mime-version; bh=XvXGuBAnIuAOzhNozRUi41/RdULnxUwLQLX3Fc3UBKI=; b=mLSWc2EAvW+Xl4r0bjRS9zHP3+ATRzvwRJ38EDPSvBtA9IWhRZh3f/uDUZKY3lsZst m3QJln4Xg9SAwv5b4vcTWWKbU8owBE3Gbi5M2k154tAZAbmny+7T0u9Yc+dvHlUJihsR EOk1Ob8GT4X1qPlZqep5Kuv7ehuVmsq3tdQBx6SLnqIjZU0d/npsHFuix4AVJAZTqasY 7TSjdBBf97zipN8DJuAf8txnNVTpJQSka1MX0WAUwvRWd5if+hwjlzI/ltg4n2EAh/J7 EVFEsApv1pXaI635A1E89c/WTaXSoJFaliRZSoS7zKJZD5DLL9zDl21vZsP9wXgqsigl 7paA== X-Gm-Message-State: AOAM533aaX7j4Gzk/8dh0Vm4850T8cXUAw8aDeYbBtm1cNorrpIMrT/w EP3U3uU1+Swvol09EreWOR2c+5QWBqU= X-Google-Smtp-Source: ABdhPJztTZMXF4+BiV/kyFaAbV8ZmplLueuAqsVfPSSoifGmxUbk4voKUC25UUl0S20juVf8b8NfOA== X-Received: by 2002:a05:6214:d4e:b0:441:18d8:8366 with SMTP id 14-20020a0562140d4e00b0044118d88366mr4918275qvr.46.1647849456600; Mon, 21 Mar 2022 00:57:36 -0700 (PDT) Original-Received: from Gernn (64-18-156-33.starry-inc.net. [64.18.156.33]) by smtp.gmail.com with ESMTPSA id y196-20020a3764cd000000b0067d51bbacdfsm7665177qkb.107.2022.03.21.00.57.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 00:57:35 -0700 (PDT) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f31 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f31; envelope-from=william.emerson.tower@gmail.com; helo=mail-qv1-xf31.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 21 Mar 2022 06:34:10 -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:228657 Archived-At: 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 (autoload 'magit-wip-before-change-mode "magit-wip" "\ ("Commit to work-in-progress refs before certain destructive changes. If called interactively, enable Magit-Wip-Before-Change mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. Before invoking a revert command or an \"apply variant\" command (apply, stage, unstage, discard, and reverse) commit the affected tracked files to the current wip refs. For each branch there may be two wip refs; one contains snapshots of the files as found in the worktree and the other contains snapshots of the entries in the index. Only changes to files which could potentially be affected by the command which is about to be called are committed. \(fn &optional ARG)" 69 70 (face default) 126 127 (face default) 185 186 (face default) 242 243 (face default) 300 301 (face default)) t nil) face default mismatched paren occurs sometimes (I've only reproduced that with my full init.el though). 9. This does not necessarily break the autoload it happens to, but it will tend to break all subsequent autoloads in the file, and it is fairly difficult for a user to understand why this would happen. 10. You can toggle this error on and off by following steps to reproduce and commenting or uncommenting the left-margin line. a. it is important you start with a fresh instance of emacs each time, setting left-margin, commenting the line, then reevaluting the buffer will leave left-margin still set, and the error will still occur 11. This happens for a bunch of packages! org-roam, lsp-mode, magit, valign, some ivy packages (all-the-icons), treemacs, company, etc. Date: Mon, 21 Mar 2022 03:55:59 -0400 Message-ID: <87fsnbhh80.fsf@Gernn.i-did-not-set--mail-host-address--so-tickle-me> --=-=-= Content-Type: text/plain In 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 built on arojas Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Arch Linux Recent messages: next-line: End of buffer [29 times] previous-line: Beginning of buffer [5 times] next-line: End of buffer [6 times] Quit previous-line: Beginning of buffer [11 times] C-' is undefined next-line: End of buffer [3 times] Mark set previous-line: Beginning of buffer [9 times] Saved text until "ff, treemacs, company, the list is long." Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: which-key-mode: t doom-modeline-mode: t openwith-mode: t rainbow-delimiters-mode: t shell-dirtrack-mode: t ivy-prescient-mode: t override-global-mode: t counsel-mode: t org-roam-db-autosync-mode: t ivy-rich-mode: t ivy-mode: t global-whitespace-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug face-remap which-key all-the-icons-dired dired-aux dired-hide-dotfiles doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path f s smtpmail sendmail openwith elfeed-goodies-logging elfeed-goodies-new-entry-hooks mm-url gnus nnheader elfeed-goodies-split-pane popwin elfeed-goodies-show-mode link-hint ffap goto-addr avy elfeed-goodies-search-mode powerline powerline-separators powerline-themes elfeed-goodies elfeed-show elfeed-search wid-edit vc-git diff-mode rainbow-delimiters bookmark message rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader shr text-property-search svg dom elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib thingatpt url-queue xml-query xml flyspell ispell org-roam-ui org-roam-dailies simple-httpd pp websocket bindat org-roam-protocol org-protocol org-tempo tempo ob-shell ob-R ob-makefile ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-latex ob-matlab ob-octave ob-sqlite ob-sql ob-python python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time iso8601 ls-lisp org-habit org-agenda visual-fill-column hydra lv ivy-prescient prescient doom-palenight-theme doom-themes doom-themes-base all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons server no-littering diary-lib diary-loaddefs auto-package-update use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core finder-inf counsel xdg xref project dired dired-loaddefs compile swiper cl-extra help-mode disp-table org-roam-migrate org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-capture org-element avl-tree generator org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs emacsql-sqlite url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap advice emacsql emacsql-compiler magit-section rx dash ivy-rich ivy delsel ring ivy-faces ivy-overlay colir color whitespace display-line-numbers cus-start cus-load info edmacro kmacro package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 500182 165828) (symbols 48 38330 1) (strings 32 158772 24996) (string-bytes 1 4768332) (vectors 16 52189) (vector-slots 8 728383 236036) (floats 8 1031 859) (intervals 56 1543 2656) (buffers 1000 13)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEiSbLQ+ckl/gKHXxrb5GFhP3P650FAmI4L6UACgkQb5GFhP3P 653aww/9Gy1Zq7xUfL9hI7iuBEfcSQb+KJM7Mnb6+zDL3OTBT0cdzQtGqkJQ4icH wKp/ioGdg8RpopzlSIPHyEMNrUWoaGpbmEuYsvaODH0ZIakTPO6NQqJnUI9lwHE3 LL4/x9xDlQb2wo1CgGLjxPtXnZpBUosReGWWVmzoJYaFBhjXFWCj10NWuVlcygs7 wTAljQls3O8wM0AoEn5bnEJoI514VnmQFAtrA8bFT2+Q3k8dxwxtFqbhalMO4+Rr NnEqVtHyYmZy+6Oa7zrSAZy1ejsJIfymSpaHjJ/Yc+vslGCfpNoUSU6n8uGUIyqf uTgaqBpRtuLL96/06zysEbv6VVowxmcTZccd/MnP3K0z0OE/jWUnx3oEm/mzDDJh DT/e0huPb3s5Gx6CpSgZoRu/XuOXZXpEzmNLwQOdrVck+GQMtWFr1H8jkvPlJ0dU GlbuKRx7LhbNgI3VJISzLfNUmDidRNes7gHDjswJ6x9alFKczV1zQKrE0YUIB6dt lH4yM7XwGAapEoKhhoNlWVrxU2zVZ0E0j+USUKCjYYapjDuseMuc0GjIlrHIJKmA MYk+3Yz9aL1tTt3GR/zRMLhv4NUoZmYER5u0+EwiagNecUaP2MQXQseWZsDq013w aUWIkSZphRzbCAOJiTS9/VR7D1gImCMZHA9hj26mbMjZlDfA+60= =Cp1E -----END PGP SIGNATURE----- --=-=-=--