From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 06:58:30 2021 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 11:58:30 +0000 Received: from localhost ([127.0.0.1]:37378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l01Go-0007RL-87 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 06:58:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:52472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l01AU-0007HZ-CH for submit@debbugs.gnu.org; Thu, 14 Jan 2021 06:52:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l01AS-0005xI-RZ for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:51:57 -0500 Received: from smtp1.axis.com ([195.60.68.17]:61506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l01AO-0000TC-OS for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:51:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1610625112; x=1642161112; h=from:to:subject:date:message-id:mime-version; bh=bNtQz9Ya7q65adCMch1hYiH9OOFCCWgOpxJH17jn544=; b=ge5ppFcl8ZZGjR6XbMLBBpSDFYXd3Vj83FXiJfSIbjd/g8TcCFohyUox qaWejUXsqaMht5G1n6l5VGfHz8us6ktc3uIiIMoNvWaPcIfGN91M0+Tfk Fi2dXL70LFUzyUzwzcUo+ekosdSyVRu3CyLyhaBsffcazv+ieAQSRL4yH Dy/DlgJZGOgb+TW5jqiYtduqPt70TEW3mMB+RZyrGoM4Q9bvRKEWrWDKD /+L2Ya9b9zQN0WdWZ+gOz/djh9hQui+G8WBeP5NMh6g5NwhtSc/czkwLv wik7IxI6WCcd5eYUB7Bz8CH32+47ionNnaxd9KLJO5zHn0zxvfVfNXnIF Q==; From: Ola x Nilsson To: , Subject: 28.0.50; Not possible to set package-user-dir in early-init.el Date: Thu, 14 Jan 2021 12:51:46 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=195.60.68.17; envelope-from=Ola.x.Nilsson@axis.com; helo=smtp1.axis.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 14 Jan 2021 06:58:28 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Ola x Nilsson To: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca Subject: --text follows this line-- In 9973019764250ac1f4d77a6b426cdd9c241151c5 * lisp/emacs-lisp/package.el: Load package-quickstart without package.el the package-user-dir defcustom gets the custom-initialize-delay intializer. At least for me, this overrides any setting of package-user-dir that is done in early-init.el. As far as I can tell, the documentation still says it should be possible and even recommended to set package-user-dir in early-init.el. /Ola In GNU Emacs 28.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2021-01-14 built on lap5cg80647hz Repository revision: ebab8898cad35b07c703c62d62dcd2aebd51d637 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: sv_SE.UTF-8 value of $LC_NUMERIC: sv_SE.UTF-8 value of $LC_TIME: sv_SE.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: hes-mode: t desktop-save-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t which-function-mode: t show-paren-mode: t display-time-mode: t global-auto-revert-mode: t override-global-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Load-path shadows: /home/olani/emacs-packages/cov/cov hides /home/olani/.emacs.d/elpa-lap5cg80647hz-28.0.50/cov-20201214.550/cov /home/olani/.emacs.d/elpa-lap5cg80647hz-28.0.50/dpkg-dev-el-20190824.2314/debian-autoloads hides /home/olani/.emacs.d/elpa-lap5cg80647hz-28.0.50/debian-el-20201011.1543/debian-autoloads /home/olani/.emacs.d/sed-mode hides /home/olani/.emacs.d/elpa-lap5cg80647hz-28.0.50/sed-mode-1.0/sed-mode Features: (shadow sort mail-extr emacsbug sendmail coan conf-bitbake-mode checkdoc coan-elisp skeleton delete-trailing-whitespace-mode init highlight-escape-sequences org-jira org-jira-sdk jiralib soap-client rng-xsd xsd-regexp org-clock woman man dired-rainbow dired-hacks-utils autoinsert mmm-sample mmm-auto mmm-vars mmm-utils mmm-compat t32-auto coan-list midnight desktop frameset python tramp-sh flycheck-flawfinder flycheck-cstyle flycheck git-commit with-editor transient async-bytecomp async server magit-git magit-section magit-utils crm log-edit message dired dired-loaddefs rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader pcvs-util add-log matrix-client matrix-client-room-list derived matrix-client-frame matrix-client-images matrix-notifications notifications dbus matrix-client-room esxml-query ordered-buffer matrix-client-rainbow ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element org ob ob-tangle ob-ref ob-lob ob-table org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp org-table org-keys org-loaddefs avl-tree generator ol ob-exp ob-core org-compat ob-eval org-macs shr kinsoku svg dom matrix-client-faces matrix-api-r0.3.0 let-alist matrix-helpers matrix-macros url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny dns cal-menu calendar cal-loaddefs frame-purpose rainbow-identifiers color ht esxml pcase xml cl tracking shorten ov a request mail-utils f s dash-functional dash anaphora gitignore-mode conf-mode flymake-git-whitespace flymake-proc flymake compile text-property-search thingatpt vc-git diff-mode advice coan-28.0.50-autoloads autoload lisp-mnt whitespace which-func imenu cl-extra warnings paren time avoid autorevert filenotify jka-compr use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf coan-system docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec help-fns radix-tree cl-print dpkg-dev-el debian-el rx url-auth edmacro kmacro info 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 subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv early-init debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib iso-transl 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 button loaddefs faces cus-face macroexp files window 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 512895 22186) (symbols 48 36265 1) (strings 32 168891 4833) (string-bytes 1 5056307) (vectors 16 53977) (vector-slots 8 638348 28943) (floats 8 272 120) (intervals 56 346 0) (buffers 984 17)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 10:03:14 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 15:03:14 +0000 Received: from localhost ([127.0.0.1]:38912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l049a-00089R-H5 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 10:03:14 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l049Y-00089D-Ki for 45857@debbugs.gnu.org; Thu, 14 Jan 2021 10:03:13 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 17B3F8033C; Thu, 14 Jan 2021 10:03:07 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F0F9C8079B; Thu, 14 Jan 2021 10:03:05 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610636585; bh=QqY7gzGZ096PiSxdnYxROodMwVHXu0GCnnZ58QwGyWs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Mhp9//8esShSLOyHLf2FkpdLZsDRwvheXTN+0CA/noxCZ5lIJ9grfU1RUQfl/PrXx l2Zzpr/C0v6sZcbAH6VGtzYzgPzcRapCPvXEmwE3oEpmwbuWgdoLdjen/h0jRuReAf onXVje0RHoI+kw6+uFuY+Kjv3gcw/NIy1s1XfvPCFDdOYLCqoM+ipKmwkuqfssA2Cb jSWU3KID7vi/60v9lOe8VrS3zKRDZTZxJUfqrYGnPWbGklSEV7Aat1JnVyJEGPbN7b a4rl/g5d7ZJzkP99uOlbfwc25XvjOEVylS15yLjwM4YCex0gY78JYbrL5iicviRHIk nU2IVRIMz79pQ== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A43AE120402; Thu, 14 Jan 2021 10:03:05 -0500 (EST) From: Stefan Monnier To: Ola x Nilsson Subject: Re: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: Date: Thu, 14 Jan 2021 10:03:04 -0500 In-Reply-To: (Ola x. Nilsson's message of "Thu, 14 Jan 2021 12:51:46 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.079 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: 45857@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > the package-user-dir defcustom gets the custom-initialize-delay > intializer. At least for me, this overrides any setting of > package-user-dir that is done in early-init.el. Oh, I see you're right, and I think this issue is wider than `package-user-dir` since it affects all the other vars that use `custom-initialize-delay`. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 10:41:18 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 15:41:18 +0000 Received: from localhost ([127.0.0.1]:38935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l04kQ-0000bu-6P for submit@debbugs.gnu.org; Thu, 14 Jan 2021 10:41:18 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:50985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l04kM-0000bb-Ug; Thu, 14 Jan 2021 10:41:16 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 41A7D440F3E; Thu, 14 Jan 2021 10:41:09 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 07E9D440F48; Thu, 14 Jan 2021 10:41:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610638868; bh=Me46L0usA85WnWFXgxOWHvWJ/KwfqTaSyOwhdn5XYT0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=meTWWloEvSE0WVaXdjilCwC2NghcEH9GIeOyuTC/8sPEopu7ONuewNDkDgpW4KJuq LHZ6vPUfV/M9ygmhnICU9co1z0FlcuvjKXe7zENQ94U+fhFiTnovIZAWYVMqLrR9vY sRcIGwhq0++d+fCoxDgRVAvlLAnY222jdKUJ1sYb8OC2UGTFkk5np7wGl6hMB0A8h6 lnBm/79S/iD8X5mR1nSTKfncjL1l0eAya9PVHMM/wvQ402oljV2ku7pvdrkMOe4pOe z2FFfd3h2trviFvoIsCp0NUImVdyJDIyug0n1upB8hJluWB0WhsFYh/eyvW+9+SsHJ 1K3YGzZnTbWZw== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C889C1202BB; Thu, 14 Jan 2021 10:41:07 -0500 (EST) From: Stefan Monnier To: Ola x Nilsson Subject: Re: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: Date: Thu, 14 Jan 2021 10:41:07 -0500 In-Reply-To: (Stefan Monnier's message of "Thu, 14 Jan 2021 10:03:04 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.042 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: 45857@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 45857 30994 thanks >> the package-user-dir defcustom gets the custom-initialize-delay >> intializer. At least for me, this overrides any setting of >> package-user-dir that is done in early-init.el. > Oh, I see you're right, and I think this issue is wider than > `package-user-dir` since it affects all the other vars that use > `custom-initialize-delay`. And I see that this is actually a known problem: bug#30994 Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 11:54:09 2021 Received: (at control) by debbugs.gnu.org; 14 Jan 2021 16:54:09 +0000 Received: from localhost ([127.0.0.1]:39000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l05su-0004U6-Qf for submit@debbugs.gnu.org; Thu, 14 Jan 2021 11:54:09 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:28582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l05sq-0004TZ-UM for control@debbugs.gnu.org; Thu, 14 Jan 2021 11:54:06 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2EEF08081E; Thu, 14 Jan 2021 11:53:59 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DED2880722; Thu, 14 Jan 2021 11:53:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610643237; bh=TpZfsy0lLxQW/xwwNPSIH/bFneQDWYDYYmvmBRK2YPE=; h=From:To:Subject:References:Date:In-Reply-To:From; b=gV4nQoki2lVFSdDACH47qd+qOY2uC3FwEoK7khTVcfewOQGMDA0m2ICV5wkyHwuYn yrRgOxslMU9uwYB1PxYNObqrNXwTH5TEjf9XlZI0LXeCEMkMjSphOy6UgzeOY9B24I icW+ogo1bYaXHDV07yp/XrVI4+dXw3S9uqw5OkASkBaQqQFq/TGUrZWdBK8s/s06Fj tM/Ct3lrUzQbtI/whGMkOYsvokXLZSawN1uCDdEr4m+OC+IgWUrGjYwR41ILxlmTyG ncQH5r9NA/7haGSMp2wkYwc3lqCn4FgHO2s0vAV9MlcAqf1RSuAR5AfydVyOq6gYv0 S5ddjAXusqjFw== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B99A2120489; Thu, 14 Jan 2021 11:53:57 -0500 (EST) From: Stefan Monnier To: control@debbugs.gnu.org (GNU bug tracker automated control server) Subject: Re: Processed: Re: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: Date: Thu, 14 Jan 2021 11:53:56 -0500 In-Reply-To: (GNU bug tracker automated control server's message of "Thu, 14 Jan 2021 10:42:02 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.079 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unarchive 30994 forcemerge 45857 30994 thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 13:21:06 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 18:21:06 +0000 Received: from localhost ([127.0.0.1]:39145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07F4-0000IO-Gu for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:21:06 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:8489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07Ez-0000HS-Mx; Thu, 14 Jan 2021 13:21:05 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 387FF101AA5; Thu, 14 Jan 2021 13:20:56 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B8A70100250; Thu, 14 Jan 2021 13:20:54 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610648454; bh=N8kWsFEtlteaNrqYs6dAB581rPt5p26YaG2lB4AfchI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Oy5Qhz+F8eWF+qL4r7oxNdVJnZq40fTQB8bQG40qMTkTkPWHDBO/n0P18+rU4/jvl Clpo4YYb+QcaZC83mTJzJ/zVw4jIA43c2hACu1o+CqpTH49hFZjrpBPpWcLR5sJBsZ /2W0YyKHkIHgABAkuT/tmlTkJoAo6YX0qfTpuuaWKKZ3wjO9P3gRvXftufqldU2ryr 8cfmqkrjBBm/kT24ssGPLX7QfdPIoke7FT+zt9z4MtPJkX9jXIDNbXiHdOaTJoUKhu O5pzLoQLJvOYnftJ+lulYmJ5b0WoMmehY2b3xxhdK9q67bsnrCR60FoF+IrqY8FOK/ e0zfBsQvGdj7w== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6943212046B; Thu, 14 Jan 2021 13:20:54 -0500 (EST) From: Stefan Monnier To: Ola x Nilsson Subject: Re: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: Date: Thu, 14 Jan 2021 13:20:53 -0500 In-Reply-To: (Stefan Monnier's message of "Thu, 14 Jan 2021 10:41:07 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.061 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> the package-user-dir defcustom gets the custom-initialize-delay >> intializer. At least for me, this overrides any setting of >> package-user-dir that is done in early-init.el. > Oh, I see you're right, and I think this issue is wider than > `package-user-dir` since it affects all the other vars that use > `custom-initialize-delay`. Back in June 2018, Eli wrote: > I can see several ways out of this: > > . Move the call to custom-reevaluate-setting back where it was, and > instead call custom-reevaluate-setting in that earlier place only > for Info-default-directory-list, which was the original reason why > the call was moved; > . Add a call to custom-reevaluate-setting for blink-cursor-mode > where the window-system is already set up; > . Call custom-reevaluate-setting for all the delayed-init variables > twice: once where we do that now, and again where we did that > before the above commit; > . Introduce yet another variable similar to > custom-delayed-init-variables, but separate from it, and put on > it all the delayed-init variables that need the window-system to > be set up, leaving all the rest in custom-delayed-init-variables. We ended up going with the 3rd option, but this is the source of the problem here. I think we should change to option 2 for now and plan on fixing it for good by removing this exception, i.e. by making the default value of `blink-cursor-mode` be t. More concretely, I suggest the patch below, Stefan diff --git a/lisp/startup.el b/lisp/startup.el index 57fd87f20f..8c9ac4e30f 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1311,12 +1312,13 @@ command-line (startup--setup-quote-display) (setq internal--text-quoting-flag t)) - ;; Re-evaluate again the predefined variables whose initial value - ;; depends on the runtime context, in case some of them depend on - ;; the window-system features. Example: blink-cursor-mode. - (let (current-load-list) ; c-r-s may call defvar, and hence LOADHIST_ATTACH - (mapc 'custom-reevaluate-setting custom-delayed-init-variables) - (setq custom-delayed-init-variables nil)) + ;; Some vars's initialization need to be delayed yet further, until + ;; after we setup the real initial frame, because their initial + ;; value depends on the window-system features. + ;; Currently, the only such var is `blink-cursor-mode'. See bug#30994. + ;; FIXME: We should arrange for `blink-cursor-mode's default to be + ;; unconditionally `t' so as to finally eliminate this problem. + (custom-reevaluate-setting 'blink-cursor-mode) (normal-erase-is-backspace-setup-frame) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 13:41:02 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 18:41:02 +0000 Received: from localhost ([127.0.0.1]:39182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07YL-0000mq-S5 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:41:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07YJ-0000mG-7v; Thu, 14 Jan 2021 13:41:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56215) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l07YA-00030p-38; Thu, 14 Jan 2021 13:40:50 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3023 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l07Y5-0000Bf-Pq; Thu, 14 Jan 2021 13:40:50 -0500 Date: Thu, 14 Jan 2021 20:40:45 +0200 Message-Id: <83o8hrbbv6.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Thu, 14 Jan 2021 13:20:53 -0500) Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Date: Thu, 14 Jan 2021 13:20:53 -0500 > Cc: 45857@debbugs.gnu.org, 30994@debbugs.gnu.org > > >> the package-user-dir defcustom gets the custom-initialize-delay > >> intializer. At least for me, this overrides any setting of > >> package-user-dir that is done in early-init.el. > > Oh, I see you're right, and I think this issue is wider than > > `package-user-dir` since it affects all the other vars that use > > `custom-initialize-delay`. > > Back in June 2018, Eli wrote: > > I can see several ways out of this: > > > > . Move the call to custom-reevaluate-setting back where it was, and > > instead call custom-reevaluate-setting in that earlier place only > > for Info-default-directory-list, which was the original reason why > > the call was moved; > > . Add a call to custom-reevaluate-setting for blink-cursor-mode > > where the window-system is already set up; > > . Call custom-reevaluate-setting for all the delayed-init variables > > twice: once where we do that now, and again where we did that > > before the above commit; > > . Introduce yet another variable similar to > > custom-delayed-init-variables, but separate from it, and put on > > it all the delayed-init variables that need the window-system to > > be set up, leaving all the rest in custom-delayed-init-variables. > > We ended up going with the 3rd option, but this is the source of the > problem here. I think we should change to option 2 for now and plan on > fixing it for good by removing this exception, i.e. by making > the default value of `blink-cursor-mode` be t. > > More concretely, I suggest the patch below, Is there any place where all these complications are described, so that people (and we ourselves) could have a complete, comprehensive overview of this stuff and the various problems it needs to solve? If not, how about taking this opportunity to describe that? Because otherwise these incidents will keep happening. FWIW, I'm not sure I have a good understand how is this old issue related to the new one. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 14:32:26 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 19:32:26 +0000 Received: from localhost ([127.0.0.1]:39314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l08M6-0004P2-7V for submit@debbugs.gnu.org; Thu, 14 Jan 2021 14:32:26 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l08M1-0004Og-VM; Thu, 14 Jan 2021 14:32:23 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5EB0480880; Thu, 14 Jan 2021 14:32:16 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9836780722; Thu, 14 Jan 2021 14:32:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610652734; bh=5FxppJ3GkCI8vSDSI5Tpegi/4PddWJ2a7O15f1x+o7U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=NbXL03i8jj0gdrpuQLILF+8slMOp2p3yzFBOWmyBs6dmhy9YnuSqNmzlSsTn+HU1o nsbU3Z8+N0sghCp5vjvphrVUJgPgwfeCWNHXhNor72OPE4khgLcxeM+QPoIN7wUESs a8LtfiDc/DtgZzk0sqk3wcuPDKHhXXRGiy0UPDbR5k5msnwglHYzRbipHoV4xD/VYi iZvqRhdSRENU6bk/xy8020rpn5caDE1o3m/xJgDuSGu0EJ4sU98MvqX8orgcRwvzWE zjg05lDzaXqzo90MLli562x3FQZYiVqVvJ8jFsJNCjCKKWiTEOqst7r6SsLzq0vAUL HJ+3mx8ogPOOQ== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 10B05120352; Thu, 14 Jan 2021 14:32:14 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> Date: Thu, 14 Jan 2021 14:32:13 -0500 In-Reply-To: <83o8hrbbv6.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Jan 2021 20:40:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.078 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Is there any place where all these complications are described, so > that people (and we ourselves) could have a complete, comprehensive > overview of this stuff and the various problems it needs to solve? If > not, how about taking this opportunity to describe that? Because > otherwise these incidents will keep happening. Here's the story: We have a few variables which are predefined in the dumped Emacs but whose default value depends on information only available when Emacs is executed, such as the user's $HOME. We handle those using `custom-initialize-delayed`, so when the variable's `defcustom` is procesed the variable isn't initialized yet, and instead initialization happens in `startup.el` by calling `custom-reevaluate-setting` on each one of those delayed variables. In Emacs-26, we did that just before loading the `.emacs` file and everybody was happy. But the `early-init.el` file added to Emacs-27 introduced a difficulty there: - Those vars's values might be needed in `early-init.el` so we should call `custom-reevaluate-setting` before we load `early-init.el`. - The value of `blink-cursor-mode` depends on whether window-system is nil or not, which is only known after loading `early-init.el`, so we should call `custom-reevaluate-setting` after we load `early-init.el`. Currently we solve this by calling `custom-reevaluate-setting` twice for every one of those variables. But it means that we silently override any change made to those variables from `early-init.el`. As noted, the only var whose default value needs to be (re)computed after loading `early-init.el` is `blink-cursor-mode`. In theory there could be more, but I think we should aim to reduce rather than increase those cases. E.g. the current way `blink-cursor-mode` is defined means that if I start `emacs -Q -nw` and later create a GUI frame, that frame won't have a blinking cursor. I think this is a bug (tho I can see that some people may consider it a feature if they (like me) dislike blinking cursors ;-0) Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 15:41:37 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 20:41:37 +0000 Received: from localhost ([127.0.0.1]:39413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l09R2-0006Ah-UC for submit@debbugs.gnu.org; Thu, 14 Jan 2021 15:41:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l09Qz-0006AN-2c; Thu, 14 Jan 2021 15:41:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59164) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l09Qs-0004LD-Vk; Thu, 14 Jan 2021 15:41:26 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l09Qs-0000nu-5E; Thu, 14 Jan 2021 15:41:26 -0500 Date: Thu, 14 Jan 2021 22:41:22 +0200 Message-Id: <83h7njb6a5.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Thu, 14 Jan 2021 14:32:13 -0500) Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el References: <83o8hrbbv6.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org > Date: Thu, 14 Jan 2021 14:32:13 -0500 > > > Is there any place where all these complications are described, so > > that people (and we ourselves) could have a complete, comprehensive > > overview of this stuff and the various problems it needs to solve? If > > not, how about taking this opportunity to describe that? Because > > otherwise these incidents will keep happening. > > Here's the story: Thanks, I actually meant to have that in the sources in some prominent place. > Currently we solve this by calling `custom-reevaluate-setting` twice for > every one of those variables. But it means that we silently override > any change made to those variables from `early-init.el`. > > As noted, the only var whose default value needs to be (re)computed > after loading `early-init.el` is `blink-cursor-mode`. In theory there > could be more, but I think we should aim to reduce rather than increase > those cases. I think relying on a small number of such variables is not future-proof enough. This case is a living proof: we decided something 2 years ago, but changes we did since then require us now to change that decision, which means we risk bumping into issues which we wanted to avoid back then. That's a general problem with kludgey solutions. I think we need some new infrastructure that would support the two init files that are loaded in different stages of startup. Basically, some variables can only be usefully initialized after some part(s) of startup have happened already. One way of dealing with this is to have the variables record this information (e.g., in a plist of their symbol) that would allow us evaluate each variable only once, at the earliest opportunity where the prerequisites are fulfilled. > E.g. the current way `blink-cursor-mode` is defined means that if I > start `emacs -Q -nw` and later create a GUI frame, that frame won't > have a blinking cursor. I think this is a bug (tho I can see that > some people may consider it a feature if they (like me) dislike > blinking cursors ;-0) I think that's a separate issue. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 16:02:44 2021 Received: (at 45857) by debbugs.gnu.org; 14 Jan 2021 21:02:44 +0000 Received: from localhost ([127.0.0.1]:39434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l09lU-0006hr-5s for submit@debbugs.gnu.org; Thu, 14 Jan 2021 16:02:44 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l09lP-0006hX-BW; Thu, 14 Jan 2021 16:02:41 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C6DDB440F73; Thu, 14 Jan 2021 16:02:33 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id F26DE440F6E; Thu, 14 Jan 2021 16:02:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610658151; bh=vxr3jwmcEZ88hQNld0L4jPhTSyTfvSAU0v4oVh+te6I=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=n/4gD5cZoD6gLocTuEp5IcTY2vp8xr1IiiHzxG9dBIXp1eudtERRKSFNYv9iAKher GkWqzjz+FcbcK0jtbhxUDUZkJ1TmzK2irstcy2XjhH7yXbNwLTxs1TcVJHH6kllTLG GtWWb3ke6JZKL7felAd86NShOZMqK8CMCreUmgxeoxGaTsTcl9N8k3c9aj7RVLCwqP 1eN1FWSlb5teE3NaXTVc4hx7rI44M/v502HLEup4m+Q54HsedI5CApyoWsp6RMJ6ng PUJYsELnIrppa4Dtk7mc6QOxbBzM7PlIzedjLywf57nxG45lVjDvDwNxkphufvsMtN Z8ZgJ2mqtgmqQ== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AE3B61201CC; Thu, 14 Jan 2021 16:02:31 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> Date: Thu, 14 Jan 2021 16:02:30 -0500 In-Reply-To: <83h7njb6a5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Jan 2021 22:41:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.042 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Thanks, I actually meant to have that in the sources in some prominent > place. Ah, OK, I'll do that. >> Currently we solve this by calling `custom-reevaluate-setting` twice for >> every one of those variables. But it means that we silently override >> any change made to those variables from `early-init.el`. >> >> As noted, the only var whose default value needs to be (re)computed >> after loading `early-init.el` is `blink-cursor-mode`. In theory there >> could be more, but I think we should aim to reduce rather than increase >> those cases. > > I think relying on a small number of such variables is not > future-proof enough. This case is a living proof: we decided > something 2 years ago, but changes we did since then require us now to > change that decision, which means we risk bumping into issues which we > wanted to avoid back then. That's a general problem with kludgey > solutions. Indeed. Other than eliminate the `blink-cursor-mode` special case, I can't see how to make it less kludgey. > I think we need some new infrastructure that would support the two > init files that are loaded in different stages of startup. > > Basically, some variables can only be usefully initialized after some > part(s) of startup have happened already. One way of dealing with > this is to have the variables record this information (e.g., in a > plist of their symbol) that would allow us evaluate each variable only > once, at the earliest opportunity where the prerequisites are > fulfilled. In theory I would agree, but: - We don't have any such system to record dependencies, so we'd have to design and implement it. A minimal version would simply duplicate `customize-initialize-delayed` into two different options depending on the stage at which we should initialize it, but that'd still be pretty ad-hoc. - The only need for this complexity is `blink-cursor-mode` and it's only needed because we currently handle `blink-cursor-mode` incorrectly. So, I'd rather fix the bug and avoid the complexity. >> E.g. the current way `blink-cursor-mode` is defined means that if I >> start `emacs -Q -nw` and later create a GUI frame, that frame won't >> have a blinking cursor. I think this is a bug (tho I can see that >> some people may consider it a feature if they (like me) dislike >> blinking cursors ;-0) > I think that's a separate issue. Agreed, which is why the patch I propose keeps this for later. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 15 02:52:25 2021 Received: (at 45857) by debbugs.gnu.org; 15 Jan 2021 07:52:25 +0000 Received: from localhost ([127.0.0.1]:39827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0JuC-0005gS-LR for submit@debbugs.gnu.org; Fri, 15 Jan 2021 02:52:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0JuA-0005gA-Cv; Fri, 15 Jan 2021 02:52:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40713) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0Ju3-0004iE-2l; Fri, 15 Jan 2021 02:52:16 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4080 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l0Ju2-0001KG-Is; Fri, 15 Jan 2021 02:52:14 -0500 Date: Fri, 15 Jan 2021 09:52:12 +0200 Message-Id: <835z3ybpsj.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Thu, 14 Jan 2021 16:02:30 -0500) Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org > Date: Thu, 14 Jan 2021 16:02:30 -0500 > > > I think relying on a small number of such variables is not > > future-proof enough. This case is a living proof: we decided > > something 2 years ago, but changes we did since then require us now to > > change that decision, which means we risk bumping into issues which we > > wanted to avoid back then. That's a general problem with kludgey > > solutions. > > Indeed. Other than eliminate the `blink-cursor-mode` special case, > I can't see how to make it less kludgey. But that's still the same kludge: we will rely on the fact that there are currently no (i.e. zero, a.k.a. "a small number") of such variables. > > Basically, some variables can only be usefully initialized after some > > part(s) of startup have happened already. One way of dealing with > > this is to have the variables record this information (e.g., in a > > plist of their symbol) that would allow us evaluate each variable only > > once, at the earliest opportunity where the prerequisites are > > fulfilled. > > In theory I would agree, but: > - We don't have any such system to record dependencies, so we'd have to > design and implement it. A minimal version would simply duplicate > `customize-initialize-delayed` into two different options depending on > the stage at which we should initialize it, but that'd still be pretty > ad-hoc. It isn't ad-hoc, because the stages in the startup process and their effects are clearly defined and didn't change much for a long time. > - The only need for this complexity is `blink-cursor-mode` and it's only > needed because we currently handle `blink-cursor-mode` incorrectly. > So, I'd rather fix the bug and avoid the complexity. That'd probably work for another couple of years, and then break again. The early-init file introduction is letting a genie out of the bottle: we don't yet know what it will eventually require, but we already see some serious problems it causes that we need to adapt to. I say we should get ready for the future now. Introducing the infrastructure I mentioned is not a big deal. I don't want to argue further about this, so if you are still unconvinced, so be it. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 15 11:09:11 2021 Received: (at 45857) by debbugs.gnu.org; 15 Jan 2021 16:09:11 +0000 Received: from localhost ([127.0.0.1]:41539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0Rew-0005YW-OX for submit@debbugs.gnu.org; Fri, 15 Jan 2021 11:09:11 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0Reu-0005YF-TA; Fri, 15 Jan 2021 11:09:09 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 592D780611; Fri, 15 Jan 2021 11:09:03 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id BCAC78063C; Fri, 15 Jan 2021 11:09:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610726941; bh=1mHaLqVayr280HxFisojQRB8pnWaGWHHfxjX0QNvfJI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=jvPtH9oR34pNPDVUPZ8DPUUID/+G23Dt21F1TvcklU8jgZu3S39v0PTcIQfLw5Y/o 5eaCNJ/JVpygYEZewgxSmy7gOp78zp/zUJO3x5paKFWa+BSHIXhmnmmWQnQly8X84G EKrUj37+w/v3V8SFsXafeapu9uQs8stkrS4VMQT2JDGPFkaGKUetjKoA9aAMGL9qG6 2bkkwf0AkAISmP7w8nqyY0AQBPwM7u8PKIu05kTXiOf46u7nFSik86TwSmNlNpahIJ bMebFQ/EfhA5O5B4UXFZt8qaufZPq7RmO5MEUJjup0fbTza7kWnDaOqRrO87yBc76T jAwlPW1is89Hw== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 39D68120376; Fri, 15 Jan 2021 11:09:01 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> Date: Fri, 15 Jan 2021 11:08:52 -0500 In-Reply-To: <835z3ybpsj.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Jan 2021 09:52:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.077 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > But that's still the same kludge: we will rely on the fact that there > are currently no (i.e. zero, a.k.a. "a small number") of such > variables. I'm hoping that there's a good reason why the one exception we have suffers from a bug, and for that reason we should resist the temptation to add more such cases. >> > Basically, some variables can only be usefully initialized after some >> > part(s) of startup have happened already. One way of dealing with >> > this is to have the variables record this information (e.g., in a >> > plist of their symbol) that would allow us evaluate each variable only >> > once, at the earliest opportunity where the prerequisites are >> > fulfilled. [...] > I say we should get ready for the future now. Introducing the > infrastructure I mentioned is not a big deal. Hmm... maybe I misunderstood what you meant by that infrastructure, then. Could you outline more concretely what it would look like? Also, would it currently result in a behavior that's different from: - initialize all delayed vars before early-init - re-initialize blink-cursor-mode after early-init ? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 15 13:26:06 2021 Received: (at 45857) by debbugs.gnu.org; 15 Jan 2021 18:26:06 +0000 Received: from localhost ([127.0.0.1]:41731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0TnS-0002dJ-C0 for submit@debbugs.gnu.org; Fri, 15 Jan 2021 13:26:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0TnM-0002cd-C1; Fri, 15 Jan 2021 13:26:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35184) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0TnF-0007uW-A3; Fri, 15 Jan 2021 13:25:53 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3673 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l0TnC-0005Np-PB; Fri, 15 Jan 2021 13:25:51 -0500 Date: Fri, 15 Jan 2021 20:25:49 +0200 Message-Id: <83k0se9hw2.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Fri, 15 Jan 2021 11:08:52 -0500) Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org > Date: Fri, 15 Jan 2021 11:08:52 -0500 > > >> > Basically, some variables can only be usefully initialized after some > >> > part(s) of startup have happened already. One way of dealing with > >> > this is to have the variables record this information (e.g., in a > >> > plist of their symbol) that would allow us evaluate each variable only > >> > once, at the earliest opportunity where the prerequisites are > >> > fulfilled. > [...] > > I say we should get ready for the future now. Introducing the > > infrastructure I mentioned is not a big deal. > > Hmm... maybe I misunderstood what you meant by that infrastructure, then. > Could you outline more concretely what it would look like? In a nutshell: record the startup phase for each variable in a plits of its symbol. > Also, would it currently result in a behavior that's different from: > > - initialize all delayed vars before early-init > - re-initialize blink-cursor-mode after early-init > > ? With my proposal, blink-cursor-mode will not be mentioned by name in any of these places. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 15 17:19:44 2021 Received: (at 45857) by debbugs.gnu.org; 15 Jan 2021 22:19:44 +0000 Received: from localhost ([127.0.0.1]:41920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0XRY-0001yD-CH for submit@debbugs.gnu.org; Fri, 15 Jan 2021 17:19:44 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0XRV-0001xv-IB; Fri, 15 Jan 2021 17:19:42 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0588D102381; Fri, 15 Jan 2021 17:19:36 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 65204100250; Fri, 15 Jan 2021 17:19:34 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610749174; bh=tq85eMmbiAZLcSCVvyh8k94T57wuH2nB6M7RJgm/Ivs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LTPVSDlzK8jmQgGE6uTV+GL/q2RNl6SicVraGDBo33Wzy0t+uAEPRzuW0gdPHYXMH alMeIOgKbfnI7i6LIGHsCmtWO3bUkGLlZhR9s3bPyHvUTz/xzUVvg8ZfrUWoe2rumP UyfKDae/ySKNQkhBdBm7ds9H/S1cfNfK38iAYcLiHz6jDNYaRDlufE+WbVUp0zOqqf druGb5GyvC6C3D/rzgATOQHU5sY/uqrcQd91vojBAL/WS6dKbBcTAX8qValMr24nCX h8V0vpEp3IqIXT0eY78Xq9T3adhYflk8h3ihAf7Qnyb1ppFf5WSKRtIP8qBzOmeuLh FwU1kajbn/28g== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2711312046D; Fri, 15 Jan 2021 17:19:34 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> <83k0se9hw2.fsf@gnu.org> Date: Fri, 15 Jan 2021 17:19:33 -0500 In-Reply-To: <83k0se9hw2.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Jan 2021 20:25:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.061 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> >> > Basically, some variables can only be usefully initialized after some >> >> > part(s) of startup have happened already. One way of dealing with >> >> > this is to have the variables record this information (e.g., in a >> >> > plist of their symbol) that would allow us evaluate each variable only >> >> > once, at the earliest opportunity where the prerequisites are >> >> > fulfilled. >> [...] >> > I say we should get ready for the future now. Introducing the >> > infrastructure I mentioned is not a big deal. >> Hmm... maybe I misunderstood what you meant by that infrastructure, then. >> Could you outline more concretely what it would look like? > In a nutshell: record the startup phase for each variable in a plits > of its symbol. Ah, so instead of just :initialize #'custom-initialize-delay we'd have something like :initialize (custom-initialize-delay 'before-early-init) or :initialize (custom-initialize-delay 'after-early-init) Where `custom-initialize-delay` becomes something like (defun custom-initialize-delay (phase) (lambda (symbol) (push (cons symbol phase) custom-delayed-init-variables))) depending on when we want the initialization to take place? >> Also, would it currently result in a behavior that's different from: >> >> - initialize all delayed vars before early-init >> - re-initialize blink-cursor-mode after early-init >> >> ? > > With my proposal, blink-cursor-mode will not be mentioned by name in > any of these places. Yes, of course, but I'm asking whether the resulting *behavior* you're after is this one. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 15 23:52:42 2021 Received: (at 45857) by debbugs.gnu.org; 16 Jan 2021 04:52:42 +0000 Received: from localhost ([127.0.0.1]:42246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0dZp-0002yL-Kv for submit@debbugs.gnu.org; Fri, 15 Jan 2021 23:52:41 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0dZm-0002y2-Kl; Fri, 15 Jan 2021 23:52:40 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1091F10247E; Fri, 15 Jan 2021 23:52:33 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F0055102380; Fri, 15 Jan 2021 23:52:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610772751; bh=53PmadSLVUsVX+nKWKZQ1GFjtHsAnNroR9c/U57oiKM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hX0DLC1Td2cuzOjpEzqeDJzPACSQlNTqyLN5DcwbNjIPWkj2YeswmDOI0fbQ4rlv5 Pw+pW36Mj6/K81KVVs3MC4K48sX8ddxggn3w8L38svBjOxc1nv/cfNsorQ5AaaIMO1 j+Rg/OVaBMVu48knG199Q3NAj6w8ay+J0WKU2qTJkPexT3fFNFC0PEi1J0863jyct8 uLQX+uKeXufnANPiUhQgVDibo1PDc+j9FwlrCAdedmGIJZZMIYZ+vMXKrNAr88KHur +iqXc+c+4efFJMwdpG4QkX6RkQXOVpaNfyKs1u7hTzM8HDfYzehug7fwE1q7ONm3cU MofBmgwLB4H1g== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8F75912051C; Fri, 15 Jan 2021 23:52:30 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> <83k0se9hw2.fsf@gnu.org> Date: Fri, 15 Jan 2021 23:52:29 -0500 In-Reply-To: (Stefan Monnier's message of "Fri, 15 Jan 2021 17:19:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.060 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I looked at the issue of the default value of `blink-cursor-mode` and it's actually easy to make it be t unconditionally, so as to eliminate the need to re-evaluate variables after loading `early-init.el`. Maybe some time in the future this need will re-appear at which point we may want to introduce some fancier system to control which var is initialized when, but I think for now the patch below is a better solution. Stefan 2021-01-15 Stefan Monnier * lisp/startup.el: Fix bug#45857, bug#30994, and bug#45913. (command-line): Don't re-evaluate the `custom-delayed-init-variables` a second time after reading the `early-init.el` file. (x-apply-session-resources): Set `blink-cursor-mode` rather than `no-blinking-cursor`. * lisp/frame.el (blink-cursor-start): Turn `blink-cursor-mode` off if `blink-cursor-mode` was set to nil. (blink-cursor-mode): Default to it being enabled regardless of `window-system`. diff --git a/lisp/frame.el b/lisp/frame.el index e2d7f21a49..06aab269dd 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -2552,13 +2552,15 @@ blink-cursor-start This starts the timer `blink-cursor-timer', which makes the cursor blink if appropriate. It also arranges to cancel that timer when the next command starts, by installing a pre-command hook." - (when (null blink-cursor-timer) + (cond + ((null blink-cursor-mode) (blink-cursor-mode -1)) + ((null blink-cursor-timer) ;; Set up the timer first, so that if this signals an error, ;; blink-cursor-end is not added to pre-command-hook. (setq blink-cursor-blinks-done 1) (blink-cursor--start-timer) (add-hook 'pre-command-hook #'blink-cursor-end) - (internal-show-cursor nil nil))) + (internal-show-cursor nil nil)))) (defun blink-cursor-timer-function () "Timer function of timer `blink-cursor-timer'." @@ -2637,9 +2639,8 @@ blink-cursor-mode terminals, cursor blinking is controlled by the terminal." :init-value (not (or noninteractive no-blinking-cursor - (eq system-type 'ms-dos) - (not (display-blink-cursor-p)))) - :initialize 'custom-initialize-delay + (eq system-type 'ms-dos))) + :initialize #'custom-initialize-delay :group 'cursor :global t (blink-cursor-suspend) diff --git a/lisp/startup.el b/lisp/startup.el index 552802a38d..7011fbf458 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1172,6 +1172,7 @@ command-line ;; are dependencies between them. (nreverse custom-delayed-init-variables)) (mapc #'custom-reevaluate-setting custom-delayed-init-variables) + (setq custom-delayed-init-variables nil) ;; Warn for invalid user name. (when init-file-user @@ -1301,12 +1302,6 @@ command-line (startup--setup-quote-display) (setq internal--text-quoting-flag t)) - ;; Re-evaluate again the predefined variables whose initial value - ;; depends on the runtime context, in case some of them depend on - ;; the window-system features. Example: blink-cursor-mode. - (mapc #'custom-reevaluate-setting custom-delayed-init-variables) - (setq custom-delayed-init-variables nil) - (normal-erase-is-backspace-setup-frame) ;; Register default TTY colors for the case the terminal hasn't a @@ -1487,13 +1482,13 @@ x-apply-session-resources opens a graphical frame. This can set the values of `menu-bar-mode', `tool-bar-mode', -`tab-bar-mode', and `no-blinking-cursor', as well as the `cursor' face. +`tab-bar-mode', and `blink-cursor-mode', as well as the `cursor' face. Changed settings will be marked as \"CHANGED outside of Customize\"." (let ((no-vals '("no" "off" "false" "0")) (settings '(("menuBar" "MenuBar" menu-bar-mode nil) ("toolBar" "ToolBar" tool-bar-mode nil) ("scrollBar" "ScrollBar" scroll-bar-mode nil) - ("cursorBlink" "CursorBlink" no-blinking-cursor t)))) + ("cursorBlink" "CursorBlink" blink-cursor-mode nil)))) (dolist (x settings) (if (member (x-get-resource (nth 0 x) (nth 1 x)) no-vals) (set (nth 2 x) (nth 3 x))))) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 16 02:08:24 2021 Received: (at 45857) by debbugs.gnu.org; 16 Jan 2021 07:08:25 +0000 Received: from localhost ([127.0.0.1]:42310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0fhA-0006IM-Hd for submit@debbugs.gnu.org; Sat, 16 Jan 2021 02:08:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0fh5-0006I1-Uf; Sat, 16 Jan 2021 02:08:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50314) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0fgz-0003f9-Dp; Sat, 16 Jan 2021 02:08:13 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2764 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l0fgy-0005Ui-AU; Sat, 16 Jan 2021 02:08:12 -0500 Date: Sat, 16 Jan 2021 09:08:12 +0200 Message-Id: <83ft319x5v.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Fri, 15 Jan 2021 17:19:33 -0500) Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> <83k0se9hw2.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: ola.x.nilsson@axis.com, 45857@debbugs.gnu.org, 30994@debbugs.gnu.org > Date: Fri, 15 Jan 2021 17:19:33 -0500 > > > In a nutshell: record the startup phase for each variable in a plits > > of its symbol. > > Ah, so instead of just > > :initialize #'custom-initialize-delay > > we'd have something like > > :initialize (custom-initialize-delay 'before-early-init) > or > :initialize (custom-initialize-delay 'after-early-init) > > Where `custom-initialize-delay` becomes something like > > (defun custom-initialize-delay (phase) > (lambda (symbol) > (push (cons symbol phase) custom-delayed-init-variables))) > > depending on when we want the initialization to take place? Yes, something like that. Also 'after-init-file, 'after-term-setup, 'after-window-setup -- per the startup phases we already have. > >> Also, would it currently result in a behavior that's different from: > >> > >> - initialize all delayed vars before early-init > >> - re-initialize blink-cursor-mode after early-init > >> > >> ? > > > > With my proposal, blink-cursor-mode will not be mentioned by name in > > any of these places. > > Yes, of course, but I'm asking whether the resulting *behavior* you're > after is this one. The current result will be the same, yes. But I think it's more future-proof, the only thing that needs to be figured out is the earliest startup phase after which a given variable needs to be initialized. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 12:12:09 2021 Received: (at 45857-done) by debbugs.gnu.org; 19 Jan 2021 17:12:09 +0000 Received: from localhost ([127.0.0.1]:51458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1uY5-0001Cl-9U for submit@debbugs.gnu.org; Tue, 19 Jan 2021 12:12:09 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:25215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1uY1-0001C7-Qr; Tue, 19 Jan 2021 12:12:07 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 11A80809A7; Tue, 19 Jan 2021 12:12:00 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5353D805F4; Tue, 19 Jan 2021 12:11:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1611076318; bh=DWwzP8btQWt0C8JZSXZYfbeymIF19gh40k5BkTjxvRQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=o/SDHF8iQac1yqS895ibLr+JH756Wp0BCMA3UPpCsUfVWWfOAiBDOBTzPVWpk4rIv RkoWdmBnxO5EkMYHHQWZLyDIleHUEcWMSJOLXkVe7WT/bVv4jRG96nmbpqfty8zZku +xjX9fXyterFIsWPTD4ojnrnjJ3GOLuXnRTw+Sv1HBYnrQ29xTBpN/+/Cc1EcXq3Lt YcWHhQU7wFaMGOlz2+IdVfCW1U/yzQjspwl88xBZRlbIGP6cKuZMf+iDScaD58Ghso SPqL/msGOpsY8J8WWqEjRAKXI9Jx02DWbeKVoPQBeGaZIHF4FWqf9z8WVVdXGgE9Y3 1CKj1VvRS3s7g== Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0E344120177; Tue, 19 Jan 2021 12:11:58 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> <83k0se9hw2.fsf@gnu.org> Date: Tue, 19 Jan 2021 12:11:57 -0500 In-Reply-To: (Stefan Monnier's message of "Fri, 15 Jan 2021 23:52:29 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.071 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857-done Cc: ola.x.nilsson@axis.com, 45913-done@debbugs.gnu.org, 45857-done@debbugs.gnu.org, 30994-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Maybe some time in the future this need will re-appear at which point we > may want to introduce some fancier system to control which var is > initialized when, but I think for now the patch below is > a better solution. Pushed, Stefan > > Stefan > > > 2021-01-15 Stefan Monnier > > * lisp/startup.el: Fix bug#45857, bug#30994, and bug#45913. > > (command-line): Don't re-evaluate the `custom-delayed-init-variables` > a second time after reading the `early-init.el` file. > (x-apply-session-resources): Set `blink-cursor-mode` rather than > `no-blinking-cursor`. > > * lisp/frame.el (blink-cursor-start): Turn `blink-cursor-mode` off > if `blink-cursor-mode` was set to nil. > (blink-cursor-mode): Default to it being enabled regardless of > `window-system`. > > > diff --git a/lisp/frame.el b/lisp/frame.el > index e2d7f21a49..06aab269dd 100644 > --- a/lisp/frame.el > +++ b/lisp/frame.el > @@ -2552,13 +2552,15 @@ blink-cursor-start > This starts the timer `blink-cursor-timer', which makes the cursor blink > if appropriate. It also arranges to cancel that timer when the next > command starts, by installing a pre-command hook." > - (when (null blink-cursor-timer) > + (cond > + ((null blink-cursor-mode) (blink-cursor-mode -1)) > + ((null blink-cursor-timer) > ;; Set up the timer first, so that if this signals an error, > ;; blink-cursor-end is not added to pre-command-hook. > (setq blink-cursor-blinks-done 1) > (blink-cursor--start-timer) > (add-hook 'pre-command-hook #'blink-cursor-end) > - (internal-show-cursor nil nil))) > + (internal-show-cursor nil nil)))) > > (defun blink-cursor-timer-function () > "Timer function of timer `blink-cursor-timer'." > @@ -2637,9 +2639,8 @@ blink-cursor-mode > terminals, cursor blinking is controlled by the terminal." > :init-value (not (or noninteractive > no-blinking-cursor > - (eq system-type 'ms-dos) > - (not (display-blink-cursor-p)))) > - :initialize 'custom-initialize-delay > + (eq system-type 'ms-dos))) > + :initialize #'custom-initialize-delay > :group 'cursor > :global t > (blink-cursor-suspend) > diff --git a/lisp/startup.el b/lisp/startup.el > index 552802a38d..7011fbf458 100644 > --- a/lisp/startup.el > +++ b/lisp/startup.el > @@ -1172,6 +1172,7 @@ command-line > ;; are dependencies between them. > (nreverse custom-delayed-init-variables)) > (mapc #'custom-reevaluate-setting custom-delayed-init-variables) > + (setq custom-delayed-init-variables nil) > > ;; Warn for invalid user name. > (when init-file-user > @@ -1301,12 +1302,6 @@ command-line > (startup--setup-quote-display) > (setq internal--text-quoting-flag t)) > > - ;; Re-evaluate again the predefined variables whose initial value > - ;; depends on the runtime context, in case some of them depend on > - ;; the window-system features. Example: blink-cursor-mode. > - (mapc #'custom-reevaluate-setting custom-delayed-init-variables) > - (setq custom-delayed-init-variables nil) > - > (normal-erase-is-backspace-setup-frame) > > ;; Register default TTY colors for the case the terminal hasn't a > @@ -1487,13 +1482,13 @@ x-apply-session-resources > opens a graphical frame. > > This can set the values of `menu-bar-mode', `tool-bar-mode', > -`tab-bar-mode', and `no-blinking-cursor', as well as the `cursor' face. > +`tab-bar-mode', and `blink-cursor-mode', as well as the `cursor' face. > Changed settings will be marked as \"CHANGED outside of Customize\"." > (let ((no-vals '("no" "off" "false" "0")) > (settings '(("menuBar" "MenuBar" menu-bar-mode nil) > ("toolBar" "ToolBar" tool-bar-mode nil) > ("scrollBar" "ScrollBar" scroll-bar-mode nil) > - ("cursorBlink" "CursorBlink" no-blinking-cursor t)))) > + ("cursorBlink" "CursorBlink" blink-cursor-mode nil)))) > (dolist (x settings) > (if (member (x-get-resource (nth 0 x) (nth 1 x)) no-vals) > (set (nth 2 x) (nth 3 x))))) From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 11:44:25 2021 Received: (at 45857) by debbugs.gnu.org; 22 Jan 2021 16:44:25 +0000 Received: from localhost ([127.0.0.1]:32901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2zXs-0007ca-Tn for submit@debbugs.gnu.org; Fri, 22 Jan 2021 11:44:25 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2zXr-0007cL-LB for 45857@debbugs.gnu.org; Fri, 22 Jan 2021 11:44:24 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C208A10025D; Fri, 22 Jan 2021 11:44:17 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1A34A100040; Fri, 22 Jan 2021 11:44:16 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1611333856; bh=19VLm9giEXMwuxq/lGHKd+d9s87ra4ssJt8gLpIHWnk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=iqS2rwVdE8D8BGNCpJxLSRF1dZF/Gux2+ctbtfvizk4hZXVL2z3J2Q+HfCqQ3ca1I nEILIh37djw1R9nBTvt2YqtLIlySeKECN6Uh76kReuyZO37hazb7MYRQTPD9ugl3kS l2lCYfUj+Ab8mXP95EUBjQqzbatqLzkxIb0kgfWxufWWmvBJoPBInDxHJnnojeh6Ct L2znMbK+CMeN62sk60MpcSKDD4BxsZFW/WHQ++5+Bq91HLAyt9z5z1nEctWDPrwCvD a/tX8QHo1yhqRYe69mHtMOE6uo2O6OW5UObYjzFhoGtwyC4OuQUDwuTKot9OB5rm4j thtF44mN3q2ig== Received: from alfajor (65-110-220-188.cpe.pppoe.ca [65.110.220.188]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DF417120323; Fri, 22 Jan 2021 11:44:15 -0500 (EST) From: Stefan Monnier To: Phillip Lord Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el Message-ID: References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> <83k0se9hw2.fsf@gnu.org> <87k0s57y4k.fsf@russet.org.uk> Date: Fri, 22 Jan 2021 11:44:14 -0500 In-Reply-To: <87k0s57y4k.fsf@russet.org.uk> (Phillip Lord's message of "Fri, 22 Jan 2021 16:08:27 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.104 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45857 Cc: michael_heerdegen@web.de, 45857@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I am still getting start up package.el oddities. While I can reset > package-user-dir in early-init.el now and it is correct when init.el > starts up, my package-initialize is raising an error from auctex in my > case. > > Warning (initialization): An error occurred while loading =E2=80=98/h= ome/phillord/.emacs.d/init.el=E2=80=99: > > File is missing: Cannot open load file, No such file or directory, te= x-site > > > package-user-dir looks right > > package-user-dir is a variable defined in =E2=80=98package.el=E2=80= =99. > Its value is "~/.emacs.d/elpa/28.0" > Original value was "~/.emacs.d/elpa" > > but load-path is not correct, having been set up for the default > location of package-user-dir > > > load-path is a variable defined in =E2=80=98C source code=E2=80=99. > Its value is > ("/home/phillord/.emacs.d/elpa/auctex-13.0.3" > "/home/phillord/.emacs.d/elpa/cider-1.0.0" > "/home/phillord/.emacs.d/elpa/clojure-mode-5.12.0" Does /home/phillord/.emacs.d/elpa/auctex-13.0.3/ exist? How 'bout /home/phillord/.emacs.d/elpa/auctex-13.0.3/tex-site.el ? How 'bout /home/phillord/.emacs.d/elpa/28.0/auctex-13.0.3/ ? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 12:02:47 2021 Received: (at 45857) by debbugs.gnu.org; 22 Jan 2021 17:02:47 +0000 Received: from localhost ([127.0.0.1]:32929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2zpf-00086J-Cb for submit@debbugs.gnu.org; Fri, 22 Jan 2021 12:02:47 -0500 Received: from cloud103.planethippo.com ([78.129.138.110]:47900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2zpc-000869-Ja for 45857@debbugs.gnu.org; Fri, 22 Jan 2021 12:02:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender :Reply-To: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=E/RSQaeOAQ1eaBMTvTCdhPIiZKqpr4S0Q5TW4jwmblk=; b=wPFgGFSelK/FZ4bwS10bBMgUQv arNEEX00hqUx7uMxPPC4TwZOLytq5kGvIDUW7/A77O3K1hc2pZ3MvRY5wWFqqIGLnEWlHnZEqWTqK qXn+jsL3GIwnxsoVNtK2PS+/EnTV5cwUmC9R1a8nW+3aipnNbPBC+i6f1vm4q7/W4OJpBmBgCkGvt 8AYxRZBVT0jGQxuvziKCE6XhRs78O1duooGlLgHT35FJ8aSRnfWw57Id+UVp2O3eoFo9YXac/8K7f W4KgRc8V8MIo2c6ZLZaN72egrZthPzgmDKAlBRgDMcmCj9WTSRduHptJD018YXpo8OYr4FoHOwlgU wz0flEdg==; Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:48528 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l2zpb-0006S3-4t; Fri, 22 Jan 2021 17:02:43 +0000 From: Phillip Lord To: Stefan Monnier Subject: Re: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el References: <83o8hrbbv6.fsf@gnu.org> <83h7njb6a5.fsf@gnu.org> <835z3ybpsj.fsf@gnu.org> <83k0se9hw2.fsf@gnu.org> <87k0s57y4k.fsf@russet.org.uk> Date: Fri, 22 Jan 2021 17:02:42 +0000 In-Reply-To: (Stefan Monnier's message of "Fri, 22 Jan 2021 11:44:14 -0500") Message-ID: <87lfck52h9.fsf@russet.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45857 Cc: michael_heerdegen@web.de, 45857@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: >> load-path is a variable defined in =E2=80=98C source code=E2=80=99. >> Its value is >> ("/home/phillord/.emacs.d/elpa/auctex-13.0.3" >> "/home/phillord/.emacs.d/elpa/cider-1.0.0" >> "/home/phillord/.emacs.d/elpa/clojure-mode-5.12.0" > > Does /home/phillord/.emacs.d/elpa/auctex-13.0.3/ exist? > How 'bout /home/phillord/.emacs.d/elpa/auctex-13.0.3/tex-site.el ? > How 'bout /home/phillord/.emacs.d/elpa/28.0/auctex-13.0.3/ ? Ah, okay, got it. It was package-quickstart.el by the look of things. Apologies for the noise. Phil From unknown Mon Jun 23 22:05:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 Feb 2021 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator