From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA Date: Fri, 7 Jan 2022 10:38:09 +0100 Message-ID: References: <740A136F-8710-4F4C-BFC1-A3DB418447F4@gmail.com> <83iluzbqcr.fsf@gnu.org> <87r19nxx7x.fsf@gmail.com> <878rvv9esx.fsf@yahoo.com> <87fsq28x4l.fsf@yahoo.com> <87bl0q8vfa.fsf@yahoo.com> <83pmp69vsu.fsf@gnu.org> <8735m17l8c.fsf@yahoo.com> <875yqx5nub.fsf@yahoo.com> <83lezt8cm6.fsf@gnu.org> <87fsq01ia7.fsf@yahoo.com> <87r19kyx5y.fsf@yahoo.com> <87r19k6imi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004637ed05d4fac0e0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19519"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Eli Zaretskii , "stefankangas@gmail.com" , Drew Adams , "emacs-devel@gnu.org" To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 07 10:41:52 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 1n5lkt-0004sW-SF for ged-emacs-devel@m.gmane-mx.org; Fri, 07 Jan 2022 10:41:51 +0100 Original-Received: from localhost ([::1]:41732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5lks-0001WK-N4 for ged-emacs-devel@m.gmane-mx.org; Fri, 07 Jan 2022 04:41:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5lhz-0006kk-OG for emacs-devel@gnu.org; Fri, 07 Jan 2022 04:38:51 -0500 Original-Received: from [2a00:1450:4864:20::531] (port=41899 helo=mail-ed1-x531.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5lhp-0001Jg-C6; Fri, 07 Jan 2022 04:38:50 -0500 Original-Received: by mail-ed1-x531.google.com with SMTP id b13so19854743edd.8; Fri, 07 Jan 2022 01:38:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c4xuEqDTG2FvfMtcy93ne3RuiIPylwzNJ4ftTtrCcFo=; b=mohE5nPfr0lGPLlYmAbiC7GGIarlwNjpfvOM9rNhz0otTFtK5ApwaCt3mjKfMP9pmJ b9ttonEGLYxeMxx5z5CDG3nwddHBw71Tlg6z7pFoV3Cm9YfwZNGCKOpnUxo/dgz7a1Xv TiaewF2ru+nLFmCTKdw+GPawHABMmQB0ndpgvjn64QRKBh439pD+WNoA0YwPIHI35ZVj 1xXKJxzYy0wvOK49/hY2YJnWrevjifwn7U89uz10VbAlqWbLP0OFw50WaO2/V0pyODHp snSgR1SJY+3hLtXw6m3Znubnj2s4n6a086zaqTn0MWrRmaWkypYvzMqsW3nnhr9nZzlc ixEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c4xuEqDTG2FvfMtcy93ne3RuiIPylwzNJ4ftTtrCcFo=; b=0yOnNq+rCAPVLkwoxWVljPYymktmxZL531uI6BUWVRL0a3QRqUxCK4dPW9+B1Eg4k2 xaJSWMBXoqROnkGQW+QONJDJfVxnwDSx6aMXFq7/0tr1zbKeoBURHkyvC8Oi4epIxc5A hzj6CiKx9ZuTO6qgf0AwvfXxkhvEdOUDkf5AsEm1FF0Kmf5HjjdNeUryQt85d6p6DTwj G6SPEjwurEmHkyMeo0yrtTdpPiwyaAsLGW2Fzeq71ZcyTFRVWk7nSqL1H1xNjyKQ6WP4 ABfh15y4uubcEH4OBmEf2a9EyNOPDsca5J6CCCxNRii1z90QcTlFczonQW4LrnXwXwkx hX5A== X-Gm-Message-State: AOAM533HpQ7aAZCzSyGcLLQbaX5O2qRGBuz9tQFOWhqf1B42XkKIcSTa 2Sxl+8ZUTRNTULspTDfUOCNtlXzhFmX7jRc5XxU= X-Google-Smtp-Source: ABdhPJyswKrwAk1l7oEnBUHKA9jSQtBb1gtqsTX9YHwZ9SCeBCjjdY0YPNNHBLejt7cowCsK9xQnlVFDHYrOyM+Zclk= X-Received: by 2002:a17:906:f1c1:: with SMTP id gx1mr51244336ejb.554.1641548316292; Fri, 07 Jan 2022 01:38:36 -0800 (PST) In-Reply-To: <87r19k6imi.fsf@gmail.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::531 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=paaguti@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:284391 Archived-At: --0000000000004637ed05d4fac0e0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > If you want to detect whether the user has custom-set-variables or > custom-set-faces in their init file, you=CA=BCre going to have to modify > their code. The issue is whether we=CA=BCd need to do it for *all* of th= ese > function. Personally I think that would be excessive. 1+ So the question is whether these calls in the init file come from users using them *intentionally* in their code or these calls being produced by Customize, right? /PA On Fri, 7 Jan 2022 at 09:43, Robert Pluim wrote: > >>>>> On Fri, 7 Jan 2022 07:38:49 +0100, Pedro Andres Aranda Gutierrez < > paaguti@gmail.com> said: > > >> My preference is for #3: we just bite the bullet and nudge > >> users helpfully toward using a separate file. > > Pedro> +1 > > >> It would work to make every one of these forms set a flag when the= y > are > Pedro> loaded. > > Pedro> Doesn't that go a bit too far? Other proposals don't depend on > modifying > Pedro> custom-* > > If you want to detect whether the user has custom-set-variables or > custom-set-faces in their init file, you=CA=BCre going to have to modify > their code. The issue is whether we=CA=BCd need to do it for *all* of the= se > function. Personally I think that would be excessive. > > Robert > -- > --=20 Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler --0000000000004637ed05d4fac0e0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> If you want to detect whether the user has custom-set= -variables or
> custom-set-faces in their init file, you=CA=BCre going to have to modi= fy
>=C2=A0 their code. The issue is whether we=CA=BCd need to do it for *al= l* of these
>=C2=A0 function. Personally I think that would be excessive.

1+

So the question is whether these calls in the init file come from users = using them *intentionally* in their code or these calls being produced by C= ustomize, right?

/PA

On Fri, 7 Jan 2022 a= t 09:43, Robert Pluim <rpluim@gmail.= com> wrote:
>>>>> On Fri, 7 Jan 2022 07:38:49 +0100, Pedro Andres Ara= nda Gutierrez <pa= aguti@gmail.com> said:

=C2=A0 =C2=A0 >> My preference is for #3: we just bite the bullet and= nudge
=C2=A0 =C2=A0 >> users helpfully toward using a separate file.

=C2=A0 =C2=A0 Pedro> +1

=C2=A0 =C2=A0 >> It would work to make every one of these forms set a= flag when they are
=C2=A0 =C2=A0 Pedro> loaded.

=C2=A0 =C2=A0 Pedro> Doesn't that go a bit too far? Other proposals = don't depend on modifying
=C2=A0 =C2=A0 Pedro> custom-*

If you want to detect whether the user has custom-set-variables or
custom-set-faces in their init file, you=CA=BCre going to have to modify their code. The issue is whether we=CA=BCd need to do it for *all* of these=
function. Personally I think that would be excessive.

Robert
--


--
Fragen sin= d nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu= werden
Georg Kreisler
--0000000000004637ed05d4fac0e0--