From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Semyonov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55447: 29.0.50; package-quickstart.el contains '#$', preventing Emacs from initializing correctly Date: Mon, 16 May 2022 13:30:13 +0300 Message-ID: <87tu9pahxm.fsf@dsemy.com> Reply-To: Daniel Semyonov Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30766"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 55447@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 16 12:31:16 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 1nqY0Q-0007lW-Db for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 12:31:14 +0200 Original-Received: from localhost ([::1]:60730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqY0P-0002J2-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 06:31:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqY0E-0002G6-EV for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 06:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqY0E-0004Gl-2J for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 06:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqY0D-0006UZ-Uc for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 06:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Semyonov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 May 2022 10:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55447 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.165269703224912 (code B ref -1); Mon, 16 May 2022 10:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 May 2022 10:30:32 +0000 Original-Received: from localhost ([127.0.0.1]:51825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqXzk-0006Tk-6N for submit@debbugs.gnu.org; Mon, 16 May 2022 06:30:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqXzc-0006TS-Pc for submit@debbugs.gnu.org; Mon, 16 May 2022 06:30:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqXzc-00021z-7m for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 06:30:24 -0400 Original-Received: from dsemy.com ([46.23.89.208]:19498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqXzY-0003vp-TN for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 06:30:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=dkim; bh=taojFK3ssV765 igeEch5p/Y331+eitPuvRoDOlHY0i8=; h=date:subject:to:from; d=dsemy.com; b=S/1O6nZBrFF5xPfdedzt+CogALrJn0sIfkAtlvG8qZ6kcsp9MY1sEc+cR6tO5aygJ9VW 9IoqKMrygXM18Vc2IojL/0hjUoksiN7LSL1jxmVFnLFelrz3RXcmM+FN9bC3phLv+PQKVt cMUan+wykYZgAlTBx5+18cBazZmumj4iC7ZaOWVuGdku0UxO1NqIP1KG7D37+dGnk5UPgu AMCF6e2jySgjtqUwGdXeJ5EL5Motf5/v2C0kqWw1I9+oEl78lLuvhP+hPx5CUaNk6F3aMi YkT+OlJRzAZrhyClhSuL9df9+4N8U+eoS874iGw4K3uNB0NlRjuL5EW1TBuPTPog== Original-Received: from coldharbour (bzq-79-183-62-6.red.bezeqint.net [79.183.62.6]) by dsemy.com (OpenSMTPD) with ESMTPSA id 692bc662 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Mon, 16 May 2022 12:30:13 +0200 (CEST) Original-Received: from localhost (coldharbour [local]) by coldharbour (OpenSMTPD) with ESMTPA id 8e891751 for ; Mon, 16 May 2022 10:30:13 +0000 (UTC) Received-SPF: pass client-ip=46.23.89.208; envelope-from=daniel@dsemy.com; helo=dsemy.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:232365 Archived-At: After invoking 'package-quickstart-refresh' (either manually or automatically), 'package-quickstart.el' contains the following sexp for each package: (add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) ^^ This produces the following error when trying to run Emacs graphically: $ emacs Wrong type argument: stringp, nil No frame is shown afterwards. When launching Emacs using 'emacs -nw' a frame is created, but the user init file isn't executed, and the following line appears at the start of the '*Messages*' buffer: byte-code: Wrong type argument: stringp, nil While I'm not sure what should be present instead of '#$', replacing each occurrence with 'load-true-file-name' and recompiling the file manually seems to fix the issue. Recipe (not sure how useful it is in this case honestly): 1. $ emacs -Q 2. M-x package-quickstart-refresh RET In GNU Emacs 29.0.50 (build 14, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-16 built on coldharbour Repository revision: 1f76f50a049bcbd43ff2c0dbe1e73b6fa5efc8b5 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-x-toolkit=gtk3 --with-xinput2 --with-native-compilation --with-xwidgets --prefix=/opt/Emacs' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_IL locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-topic-mode: t init-gnus-group-key-binding-mode: t gnus-undo-mode: t emms-mode-line-mode: t emms-playing-time-display-mode: t emms-playing-time-mode: t electric-pair-mode: t delete-selection-mode: t pixel-scroll-precision-mode: t repeat-mode: t vcomplete-mode: t display-time-mode: t swsw-mode: t global-auto-revert-mode: t minibuffer-electric-default-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (gnus-topic nndraft nnmh nnml nnfolder utf-7 epa-file init-gnus gnus-demon xref dabbrev vc vc-git diff-mode vc-dispatcher shadow emacsbug flow-fill sort smiley gnus-cite qp mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-ml gnus-msg disp-table nndoc gnus-cache gnus-dup gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range misearch multi-isearch mm-archive message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mailabbrev gmm-utils mailheader mail-utils gnutls network-stream url-cache crm debbugs-gnu add-log debbugs-compat debbugs soap-client mm-decode mm-bodies mm-encode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny rng-xsd rng-dt rng-util xsd-regexp comp comp-cstr rx noutline outline easy-mmode jka-compr find-func shortdoc package-x ffap cl-extra help-fns radix-tree cus-start time-date checkdoc lisp-mnt help-mode flymake-proc flymake project compile text-property-search comint ansi-color warnings thingatpt flyspell ispell display-line-numbers modus-operandi-theme cal-julian modus-themes solar cal-dst cal-menu calendar cal-loaddefs init-interfaces init-web init-volume init-emms emms-mode-line emms-player-mpv emms-playing-time emms-player-simple emms-info-opusinfo emms-info emms-later-do emms emms-compat init-battery battery dbus xml init-programs dired dired-loaddefs init-shell init-pass auth-source-pass init-programming elec-pair init-ui delsel pixel-scroll cua-base ring format-spec repeat vcomplete time swsw autorevert filenotify minibuf-eldef init-personal pcase init-base server finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv info cus-edit pp cus-load wid-edit cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 773902 108932) (symbols 48 27617 10) (strings 32 141862 12766) (string-bytes 1 5102638) (vectors 16 83777) (vector-slots 8 2043163 91780) (floats 8 3262 477) (intervals 56 2521 1188) (buffers 992 32))