From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Yuan Fu <casouri@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Propose to add setup-wizard.el to ELPA
Date: Sat, 1 Jan 2022 19:02:20 -0800
Message-ID: <5D13C3C0-C4EB-4769-9685-25122DC9B8DC@gmail.com>
References: <897ED591-43BC-4029-912A-917E5E9F6930@gmail.com>
 <87czlarhff.fsf@yahoo.com>
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\))
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="40252"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Emacs developers <emacs-devel@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 02 04:03:21 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1n3r9V-000AHm-6V
	for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jan 2022 04:03:21 +0100
Original-Received: from localhost ([::1]:55954 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1n3r9S-0003ZT-Va
	for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Jan 2022 22:03:18 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:36154)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <casouri@gmail.com>) id 1n3r8b-0002tY-7J
 for emacs-devel@gnu.org; Sat, 01 Jan 2022 22:02:25 -0500
Original-Received: from [2607:f8b0:4864:20::62a] (port=36617
 helo=mail-pl1-x62a.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <casouri@gmail.com>) id 1n3r8Y-0004Oz-Tl
 for emacs-devel@gnu.org; Sat, 01 Jan 2022 22:02:24 -0500
Original-Received: by mail-pl1-x62a.google.com with SMTP id p14so22699310plf.3
 for <emacs-devel@gnu.org>; Sat, 01 Jan 2022 19:02:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=8EoFBtfTXBL1EiINLAmSUVPo+DFjr8P5Awa/ywGGfu8=;
 b=Aq+cPUkHbekz/Xsa+clhT+Haj4ZCjcAKnPLIUBnW6aI2x/p1mHMB9pEinpBzOxzOdc
 mYKl/BuoxA+7VssIldjrEh9YjcHdWvDJ8VZa15xPezcKbiYmdTVIoIr8vded7ZkFtaei
 aIMtNlW29dJEjt1/rizaSQYzSuysc+pV9eB2rw50j9knYeAqAaXdUZl+40RS5BhyxL3R
 B9vSTAOSXgOCYbgdGw6tDKzUVx8yZQFE7osIyYL4ZHKN1DDWvchCTO9qfw+eUQ+ZUzV6
 LnbrVoQ0vjsvX598HI5Xzvwk4fb39aWSQtPfszJGK/gRd6WYMBZmaGnag0za3eu4wcqP
 nqgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=8EoFBtfTXBL1EiINLAmSUVPo+DFjr8P5Awa/ywGGfu8=;
 b=tUANtDafIPmAvnFyXYwYe8aGtxTTQIe8JB4uyNZvRDwD2vbjln4lEsWyWP3NceLv9j
 5u+VZPyTu961AwErDtloNFp0SPyIo4fLNxnuyqwW8xS7l7Fc5SCnHvdFgVuDOHShYsxD
 oYI08xCE9vNGoWi/YgxVzwJHliJAmuVpy//GpGwoy5l2X3jT3wZi3aEw/fX/vENBSBle
 bwH8jLGrNmEjZts0CTVHcNUBQa6CAFWilHKVSxU9B77DXEhKFRuuBfsR5r2sWOqkEA98
 gbsfVkAGCv38QCacjcZnH4FEukucARIW4WGZVzRcOj/oHPJ9rEFoKMU6lYgt7zNuJcnf
 RwBQ==
X-Gm-Message-State: AOAM532B8G3Xgshbb0DogsixJFxWVnPy/am+G4IMazNUNfbEcqd+DlFE
 cf/JqDYQCGBbK1UgKXF+UPb88Ex8ALU=
X-Google-Smtp-Source: ABdhPJxY1/S1uS7J2Ch7bG100UaK9xOxnGLECxeQtp5kwM/sCTL4z1Yq6dJ/cI4s5HXiOzkcTkovWg==
X-Received: by 2002:a17:903:2346:b0:148:cf56:9b61 with SMTP id
 c6-20020a170903234600b00148cf569b61mr40400227plh.49.1641092541330; 
 Sat, 01 Jan 2022 19:02:21 -0800 (PST)
Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:a095:5ec2:29e1:ba48])
 by smtp.gmail.com with ESMTPSA id y65sm28237696pgd.79.2022.01.01.19.02.20
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 01 Jan 2022 19:02:21 -0800 (PST)
In-Reply-To: <87czlarhff.fsf@yahoo.com>
X-Mailer: Apple Mail (2.3693.40.0.1.81)
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62a
 (failed)
Received-SPF: pass client-ip=2607:f8b0:4864:20::62a;
 envelope-from=casouri@gmail.com; helo=mail-pl1-x62a.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,
 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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:283845
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/283845>



> On Jan 1, 2022, at 6:37 PM, Po Lu <luangruo@yahoo.com> wrote:
>=20
> Yuan Fu <casouri@gmail.com> writes:
>=20
>> A while ago I wrote a package that helps a new user to configure
>> Emacs: it takes a user through some interactive pages, where changes
>> takes effect immediately; and in the end it generates some code that
>> can be copied to init.el.
>>=20
>> Demo for the original package: https://youtu.be/0qMskTAR2aw
>>=20
>> I made some improvements to that package and renamed it
>> setup-wizard. Do you think we could add it to ELPA? Maybe the name is
>> too =E2=80=9Cofficial=E2=80=9D, in that case I can rename it to =
yuan=E2=80=99s-setup-wizard or
>> something.
>=20
> I like the concept in general, but I have a few questions:
>=20
> - Whatever is appended to init.el should IMO utilize custom.

I think copy and pasting code would be more straightforward. Using =
custom, whether by defining a custom theme or directly using customize =
are more complicated. Plus I don=E2=80=99t know how to use custom for =
key bindings.

>=20
> - Does it, out of the blue, ask people to download software from the
>   internet?  If so, it should say something to that effect.

Yes. I can add that.

>=20
>> I don=E2=80=99t know how useful could it be, since nowadays every =
body
>> (understandably) starts with some community distribution rather than
>> vanilla Emacs, but surely it is better than not having a wizard.
>=20
> That's untrue.

Not sure which part do you mean, but I won=E2=80=99t argue :-)

>=20
>>   "=F0=9F=A7=99: Here are some packages that I always install:\n\n")
>>  ;; Ivy.
>=20
> Is it really okay to encourage all users to install a set of packages?
> If they are really so useful, they should be part of Emacs itself.

As I said, if the package seems to be =E2=80=9Cofficial=E2=80=9D, I can =
name it yuan=E2=80=99s-setup-wizard instead. And I have no intention to =
come up with an official setup wizard and make everyone agree on the =
provided options. Those are my recommendation, not Emacs=E2=80=99. =
(Maybe I can add some text that make it clear that the recommendations =
are personal.)

I really want to add ivy because personally I can=E2=80=99t use Emacs =
comfortably without a =E2=80=9Cmodern=E2=80=9D completion package, be it =
ivy, helm, selectrum, or whatever.

> Also, I don't think the Emoji are necessary (or desirable): some users
> do not have fonts installed, or terminals available that capable of
> displaying them.

They are automatically replaced by text if Emacs can=E2=80=99t display =
them.

Yuan=