From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: How to have a variable always set for emacs --debug-init Date: Mon, 28 Jun 2021 17:10:44 +0200 Message-ID: <87bl7q10uj.fsf@telefonica.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39839"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: "Y. E." Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 28 17:11:16 2021 Return-path: Envelope-to: geh-help-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 1lxsup-000AEv-TP for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Jun 2021 17:11:15 +0200 Original-Received: from localhost ([::1]:34818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxsuo-0005XG-Ot for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Jun 2021 11:11:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxsuU-0005X7-5q for help-gnu-emacs@gnu.org; Mon, 28 Jun 2021 11:10:54 -0400 Original-Received: from relayout03-redir.e.movistar.es ([86.109.101.203]:61165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxsuR-00066A-Kf for help-gnu-emacs@gnu.org; Mon, 28 Jun 2021 11:10:53 -0400 Original-Received: from sky (14.red-79-145-70.dynamicip.rima-tde.net [79.145.70.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 4GD9z91HyczMmRT; Mon, 28 Jun 2021 17:10:44 +0200 (CEST) In-Reply-To: (Y. E.'s message of "Mon, 28 Jun 2021 16:57:59 +0300") X-TnetOut-Country: IP: 79.145.70.14 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout03 X-TnetOut-MsgID: 4GD9z91HyczMmRT.A62D6 X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1625497845.98118@69gH1AZQ4jn/vwTKvpzyjw Received-SPF: softfail client-ip=86.109.101.203; envelope-from=ofv@wanadoo.es; helo=relayout03-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131336 Archived-At: "Y. E." writes: > I use Emacs 28.0.50 and have (setq bookmark-fontify nil) > in my init.el file. > When I load emacs with --debug-init option, that setting is, > of course, neglected. > How can I specify some setting(s) to be always force-set, > even on emacs --debug-init load? (other than changing the > variable(s) in the source.) > I hope there's some simple and usable approach. --debug-init should not affect the setting of variables on init.el or other initialization files, it is just a debug aid. Maybe you intended to say -q (or -Q). For -q, site-start.el is still loaded (see the info node "The Emacs initialization file" for details). For -Q, you are out of luck: other than dumping or building your own Emacs with the value of that variable changed, AFAIK it is not possible.