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: Default custom file was: Re: Propose to add setup-wizard.el to ELPA Date: Tue, 4 Jan 2022 16:54:44 +0100 Message-ID: References: <740A136F-8710-4F4C-BFC1-A3DB418447F4@gmail.com> <87zgoc7u6k.fsf@gmail.com> <83iluzbqcr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000732eec05d4c3a9b2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Robert Pluim , emacs-devel To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 04 16:59:00 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 1n4mDE-00077m-I7 for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 16:59:00 +0100 Original-Received: from localhost ([::1]:48368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4mDD-00066o-Ik for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 10:58:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4m9Z-0001Tr-Th for emacs-devel@gnu.org; Tue, 04 Jan 2022 10:55:13 -0500 Original-Received: from [2a00:1450:4864:20::52f] (port=45777 helo=mail-ed1-x52f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4m9Y-0003gP-1u; Tue, 04 Jan 2022 10:55:13 -0500 Original-Received: by mail-ed1-x52f.google.com with SMTP id j6so150118469edw.12; Tue, 04 Jan 2022 07:55:11 -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=0/OA1PJChmCTQJTExX8sM+elYB+dnx32V2AIvtBN8B4=; b=dQs8x6ERLOH9NpM5QhTKpAkgY7baxD8rn33faCXx9oVDKcF0PesU1IIVkF3jgKaVRf MNNkyYtOJ0cCF2g77tVHQwuJBOBElmeMaYEANY1ToX2aWxIjC/5wfwItA7krkbjHqsSs Sa6sZJpRnlUqgg2+Bn0TDYnZ9dxkr5/jBGWD4ibekW2OPtrRaay4DPuRfDs3p/TlQM5b kHtwsnCrloRLZM3I17ApGYRbqiQeeByy9qtImht776sdZrGWacGdybbATSHD6dvUlpXd Y4HDsJleVfFWwVFGXpRl43KAC1wqhJI0pGhRaqW7roZdcZv7ykiQYeBkBb7ThRjyu2Jp f+ig== 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=0/OA1PJChmCTQJTExX8sM+elYB+dnx32V2AIvtBN8B4=; b=0YqQItBeWkcyGRN8TqprlautctyaxyH7U1nSXneRKll4jqlARDW1WkOwpe4Hq0+7Jt LXBP95ThJypYprX5lC15W+LQpo1Gk5g+7usBPictP4+5HqLGIrVZBODmxlmM375XSJfd Kh92MF4JKr8o6cZ6hK04HWPqBCV4iNbHSXQi5lYNWv4JcCnZALb/wIJmHxV4yRqP9qmf wb70oQzKUWVRsTVz6I44PPnenk1/LYk8j7MX261XAVh+tbsVqTNcFYox+PJSfAwudfR3 Nb4bU2WvdH0DquNCUS3upcgzPNvEcbPGA0xBhHipGi3Fg3EWJh67qeZFufUgpVQNY33U ogeA== X-Gm-Message-State: AOAM530UGAwo0rnDhJxklsWKRMDlTZfXILVVKRZTY1dEedXaPP3NEizD fPRSWtCDy2wNC/0bkF0MVQrmoYHTAdafUFak7hz0Uvaz X-Google-Smtp-Source: ABdhPJy7qOtCRejZVaxrDSOVHDtclKGELEYazUPJo6mnAcbTVNgCvRLigNxgd5Cpt/bqmIo7mOR8NDbdhJMILvRSlLc= X-Received: by 2002:a17:907:1c92:: with SMTP id nb18mr39103711ejc.157.1641311710160; Tue, 04 Jan 2022 07:55:10 -0800 (PST) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) 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:284163 Archived-At: --000000000000732eec05d4c3a9b2 Content-Type: text/plain; charset="UTF-8" It's a really good question... I started on an HP700, it created the .emacs file and I was always confused about what I had written myself and what emacs was doing. Then I started on an Sun Workstation and there they had installed XEmacs. It was there where i stumbled across the .emacs.d/custom.el file and I found the idea cool. I investigated a bit and adopted loading the custom file. I never investigated how customisation where added to .emacs I don't know how common my way of working is but I try out things using Custom and then, if I adopt them, they become a part of my permanent config. Maybe Custom wlll need to check and eventually remove customisations from .emacs if custom-file is defined... would that be feasible? IT isn't something you do 10 times a second, right? Best, /PA On Tue, 4 Jan 2022 at 16:17, Stefan Kangas wrote: > Eli Zaretskii writes: > > > What would that mean for users that currently save their > > customizations through Custom in .emacs? Would it mean that the next > > time they save customizations, they will be written to another file > > and removed from .emacs? > > Good question. > > I imagine that we would just leave things in place for such users. It > would be slightly jarring to have things moved around behind the users > back. > > But maybe it would be a good idea to provide a migration command to > conveniently move things. > > Or we could prompt the user about moving it. To avoid being annoying, > we could record the answer, and not prompt again if the question was > already asked. > -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler --000000000000732eec05d4c3a9b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's a really good question...
I s= tarted on an HP700, it created the .emacs file and I was always confused ab= out what I had written myself and what emacs was doing. Then I started on a= n Sun Workstation and there they had installed XEmacs. It was there where i= stumbled across the .emacs.d/custom.el file and I found the idea cool. I i= nvestigated a bit and adopted loading the custom file. <mea culpa>I n= ever investigated how customisation where added to .emacs </mea culpa>= ;
I don't know how common my way of working is but I try= out things using Custom and then, if I adopt them, they become a part of m= y permanent config.
Maybe Custom wlll need to check and even= tually remove customisations from .emacs if custom-file is defined... would= that be feasible? IT isn't something you do 10 times a second, right?<= /div>

Best, /PA

On Tue, 4 Jan 2022 at 16:17, St= efan Kangas <stefankangas@gmai= l.com> wrote:
Eli Zaretskii <el= iz@gnu.org> writes:

> What would that mean for users that currently save their
> customizations through Custom in .emacs?=C2=A0 Would it mean that the = next
> time they save customizations, they will be written to another file > and removed from .emacs?

Good question.

I imagine that we would just leave things in place for such users.=C2=A0 It=
would be slightly jarring to have things moved around behind the users
back.

But maybe it would be a good idea to provide a migration command to
conveniently move things.

Or we could prompt the user about moving it.=C2=A0 To avoid being annoying,=
we could record the answer, and not prompt again if the question was
already asked.


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