From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Stefan Kangas <stefankangas@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Propose to add setup-wizard.el to ELPA
Date: Sun, 2 Jan 2022 13:49:54 -0500
Message-ID: <CADwFkm=d--wdt_wSFm20tYQaE6_iWbf9fCY7mF1n=Z2ziDDrKw@mail.gmail.com>
References: <87k0fit5eo.fsf@polaris64.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="28268"; mail-complaints-to="usenet@ciao.gmane.io"
To: Simon Pugnet <simon@polaris64.net>, Emacs developers <emacs-devel@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 02 19:52:23 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 1n45xu-00078h-PW
	for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jan 2022 19:52:22 +0100
Original-Received: from localhost ([::1]:59282 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 1n45xt-00017I-Hx
	for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jan 2022 13:52:21 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:56972)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <stefankangas@gmail.com>)
 id 1n45va-0007Qo-4m
 for emacs-devel@gnu.org; Sun, 02 Jan 2022 13:49:58 -0500
Original-Received: from [2607:f8b0:4864:20::42f] (port=47039
 helo=mail-pf1-x42f.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <stefankangas@gmail.com>)
 id 1n45vY-0003XJ-Kd
 for emacs-devel@gnu.org; Sun, 02 Jan 2022 13:49:57 -0500
Original-Received: by mail-pf1-x42f.google.com with SMTP id t123so27716398pfc.13
 for <emacs-devel@gnu.org>; Sun, 02 Jan 2022 10:49:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:in-reply-to:references:mime-version:date:message-id:subject:to;
 bh=lXZp7GvjczOYlLET/3o3OGn25lytuWYKr/88QyPSxvA=;
 b=kIkXIP0Axa0t9sknR+MOAkxF03eFcZgyFmoi5Lo8LAxvQIWqQt8efdDFMhPMOCh4vR
 Yy4Oozf4bl9PK6bmyckAtqHutcK7ebNcu3lgrBTbbuXUIy7dJHeX/iy108JLlI1r9YVb
 AmpXTvuWG+JuQc0EcZaUHboqU1cB3YabmUVt3dvGUw3l3775etWgMwDK1vO4+s7+Gzlk
 wwMfBnJOwCnW/cUUZBKjidsvZF8hYwNSs797Y0KatI2UxxlcZ+i/F1kOpdhGl6VWU6fz
 gZjB+0P5+Ldkbsvo6acRYI8lwSSxXuVvjs3il9qQ6yI0MCUxhLDv1qgOKqRMSn8RtmXI
 pC7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to;
 bh=lXZp7GvjczOYlLET/3o3OGn25lytuWYKr/88QyPSxvA=;
 b=itSeDYxEaJYbtJSK79+btLC1rlQVhnQrPX1lATRKukDcAkuTIdYj6luxti1b6ZPgQf
 rrheEEayTZeStLpqyKMd2ra6AmrreQ9zJTupy4+ZNb7xGShMeU+MAlHnpvH19gWvRq0r
 Oh2qY/2K5qU1BsEF95HDiVaiGchZGaF5XTpX+pTzYtHOLGtwD+S2IHoUdFVJccedhNeO
 e5AVXJ6YKrcU3ZM/FSw0hQJwYTAI1rdjAFbTRPSL1Ob5Wp7C2xj/HtK0BHK8guSFTvtZ
 KrCaDw28A2MSRIn/F+v34YwlYjpNb/Z9H06Xfn3DnAFWeiq6o0B84jztJsHSwxyR0Kkt
 HOXA==
X-Gm-Message-State: AOAM531YY8oP24mU0B0PRt/J2m/5mFdjqUvh5u6a/COHJvwTx4WnEu8k
 m3GgG0CBS5wiE8btDxM9PMXZ6Pbbbj07r3HzZIw=
X-Google-Smtp-Source: ABdhPJzMa6ReT5mL4hwU9ICGTdnPsps0dZJE4GHJsxD8lkuqOv02KnRw0Q1fcMjeJ54iu2C2US970TbrCqHXdGchBvo=
X-Received: by 2002:aa7:9a0a:0:b0:4bc:79bb:dcd0 with SMTP id
 w10-20020aa79a0a000000b004bc79bbdcd0mr8745088pfj.70.1641149395205; Sun, 02
 Jan 2022 10:49:55 -0800 (PST)
Original-Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 2 Jan 2022 13:49:54 -0500
In-Reply-To: <87k0fit5eo.fsf@polaris64.net>
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42f
 (failed)
Received-SPF: pass client-ip=2607:f8b0:4864:20::42f;
 envelope-from=stefankangas@gmail.com; helo=mail-pf1-x42f.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:283952
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/283952>

Simon Pugnet <simon@polaris64.net> writes:

> If the wizard could provide a common interface (e.g. a "wizard-builder")
> that's easy to use and is presented using the same interface as the main
> wizard then I think that could be a very nice way of helping newcomers
> to certain packages.

We have discussed this in the past, and I can only very much agree.

> For example, as well as giving configuration instructions in the
> package's README, the package author could include their own wizard and
> say something like "For interactive configuration, just evaluate
> (invoke-wizard 'some-package) after loading the package."

Or you could run the wizard if you detect that the package has not
already been configured.  I guess this would be up to the package
developer to decide what will work best for their package.

> One could argue that this is pretty close to just launching
> customize-group for the package and limiting the options to only the
> most important. However Yuan's wizard provides a more newcomer-friendly
> and interactive interface (e.g. changing the theme immediately once it
> is selected) so I think it is worthwhile keeping the wizard UI and
> customize UI separate in this case.

Right.  The problem with customize-group is that it can easily be
overwhelming, as it shows all options with their full documentation,
instead of just asking a small set of highly specific questions like
"what's the address of your mail server".