From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: xenodasein--- via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: FW: [External] : Re: Propose to add setup-wizard.el to ELPA Date: Sun, 2 Jan 2022 20:07:27 +0100 (CET) Message-ID: References: <8735m6o349.fsf@yahoo.com> <87pmpamlon.fsf@yahoo.com> <834k6mdu7q.fsf@gnu.org> Reply-To: xenodasein@tutanota.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36636"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: drew.adams@oracle.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 02 20:11:13 2022 Return-path: Envelope-to: ged-emacs-devel@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 1n46G8-0009Ju-SS for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jan 2022 20:11:12 +0100 Original-Received: from localhost ([::1]:53088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n46G7-0000EN-JE for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jan 2022 14:11:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n46Cc-0006lN-6S for emacs-devel@gnu.org; Sun, 02 Jan 2022 14:07:34 -0500 Original-Received: from w4.tutanota.de ([81.3.6.165]:38168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n46CX-0007zQ-8F for emacs-devel@gnu.org; Sun, 02 Jan 2022 14:07:33 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id B19331060255; Sun, 2 Jan 2022 19:07:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641150447; s=s1; d=tutanota.de; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=ASBIzwL7sseWhROX+IjHVx51GqO+PSuAUxh9E6gF6ug=; b=G6QbCSKfcni95TYrM94bveLxppz1Ucg2J1rHyitJd9c3vG682atoOGsZV6I4PmEK smloLekxxkkBOmaPuZ3QsN3arf7CXRVsqyGxF3sldc+4ygdgexKfdGORAudtbwurzX2 gPbX/eJpfY8LAqm6mqxoIrZwztCiHgizQxHydpu8dQKKqSpTL2z97jceV6mNH7POfZp zWBPKb6aFaQCDUkwTY0SFKC5oPpgMBQahspMRI3LhRSgHHjgsO4GH2Vk7Klb+1HIR7O bJbJogTOIAsjyrkjhOXb+dP8RHNuB96i0d8l5YuwiEKsoyIGDy6kAxhb4Aph5csHUaP uFv0ilRWBg== In-Reply-To: Received-SPF: pass client-ip=81.3.6.165; envelope-from=xenodasein@tutanota.de; helo=w4.tutanota.de X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283960 Archived-At: Jan 2, 2022, 21:51 by drew.adams@oracle.com: >> Using customize-set-variable from Elisp is simply a hack, IIRC >> it has weird unwanted effects like when saving customizations >> from interface, it writes everything back into managed >> custom-set-variables. >> > > What you say there isn't too clear, to me. > `customize-set-variable' doesn't save... > Just what is the problem of saving option > and face settings to a particular place? > > Code written by code (when you say "save") > should be kept in its own place - separate > from code that users twiddle manually. > That's the purpose of variable `custom-file'. > When I used customize-set-variable to set some options, inside init.el, instead of setq, then used the interface to set some other options, and used the button saying "save for future sessions," not only options I set in the interface, but also the ones set before from init.el got written into the (custom-set-variables) form, effectively causing them to get duplicated and evaluated twice on the next start of Emacs.