From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Making Emacs more friendly to newcomers Date: Wed, 22 Apr 2020 17:12:09 -0700 Message-ID: References: <863691n4xl.wl-me@enzu.ru> <87imhw431x.fsf@yahoo.com> <87mu78huhx.fsf_-_@yahoo.com> <87k12bdgx7.fsf@yahoo.com> <83zhb6grtq.fsf@gnu.org> <83ftcwgb07.fsf@gnu.org> <291bb5b2-92d5-85f1-57d8-895eed14ffc2@yandex.ru> <837dy7fyeg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003a02a705a3ea1aef" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="35824"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Dmitry Gutov , =?UTF-8?Q?S=C3=A9bastien_Gendr?= =?UTF-8?Q?e?= , EMACS development team To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 23 02:13:14 2020 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 1jRPUQ-0009Fr-Qx for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Apr 2020 02:13:14 +0200 Original-Received: from localhost ([::1]:59740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRPUP-000073-Vv for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Apr 2020 20:13:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60020) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRPTc-000829-Uv for emacs-devel@gnu.org; Wed, 22 Apr 2020 20:12:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRPTc-0005rw-Il for emacs-devel@gnu.org; Wed, 22 Apr 2020 20:12:24 -0400 Original-Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]:41038) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRPTb-0005kM-40; Wed, 22 Apr 2020 20:12:23 -0400 Original-Received: by mail-yb1-xb29.google.com with SMTP id a9so2182307ybc.8; Wed, 22 Apr 2020 17:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8+AUGss+gOqGY/91mTf9Uv1/fiVpOVHUgB+rtRDxO7g=; b=vP+GWWjsPIIJv/kB3tEFdyy8EZIbBWQbjiKtobBM9T9BkHuFYjR1qNo0F/Gce4Rgt1 +HiMH4cVHU0FVR7n9poKpCZcc3FfVC5hcMIa4jcSCVzYtwsfhcavej3xRK8JsZeFbf7x xJlca1Hdg4/7AGiTQfRoNRsBrEQNjMtTcZvg7NwqoFkORhwwRMXB7uDmqzbEFC8PiLcw vTeEfX1mSeBcRxlko1IVmx6S6/28Gnm68H9Ziet16hwtekCohMEkjgmukqBAivKhQVP9 kNGkj5abZFTWNHD3xMQE1FeYVh3VTp81L84rWHp6o2VymsDu1B24TporPyMeLxGfafa5 mrxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8+AUGss+gOqGY/91mTf9Uv1/fiVpOVHUgB+rtRDxO7g=; b=BZbaqS+My84iXDq594m2k2j5qREByCGjq2MDy3iC3zLWHEPtIA9oP6h6jhyRc5hpCf VJqh60KnsRyLXw1yIngZWves3yfhtT3q5BUD7XVKvp3rtBYjecd8lUyWAMgjclMtyI47 7cCpIYhDehy/VYbxKT+K4lq0jpEAUH/dpy8er23nN2+UqF+4SDQdqvvwnRmtzDnjGaY1 09VY1scijxbczT3g3u0ax3ivHhfrrmxJgYi1xHppFDPDIzApVOPmFROSJB5rJ/sVFtPb RiARcl4kgGD+Ii5B4Qt7fqPCND7ON/+18RqbZPFzDcT/BNuHamwocmTWOgVJTFLQKgIP Mwzw== X-Gm-Message-State: AGi0Pubtb0ExMk4N5lM4lG72S05wf7PrNuwNqXcyBAZZj5CYh6yQ9f9z EW+6TIo2I3BS3Dvdy74+JGccgO7u2u95B/nrV3Y= X-Google-Smtp-Source: APiQypIH0gdOB9B9I5sgrQiX7JS734uR9fSRa2KLoToE/8712dXDVhm2cuoDH5vaVr1FBbvSxezNGAdLRmOY7yPrUYo= X-Received: by 2002:a25:d616:: with SMTP id n22mr2441048ybg.295.1587600741235; Wed, 22 Apr 2020 17:12:21 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b29; envelope-from=yandros@gmail.com; helo=mail-yb1-xb29.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::b29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:247555 Archived-At: --0000000000003a02a705a3ea1aef Content-Type: text/plain; charset="UTF-8" On Wed, Apr 22, 2020 at 3:52 PM Yuan Fu wrote: > > Some ideas: > 3. It would be cool if Customize can customize mode hooks and > auto-mode-alist and other usual stuff. > It seems like most elisp packages could come with a standardized "Here's the normal setup for this mode/package; would you like to run it now, have it run on each startup, or see a new buffer where you can examine it now?", analogous to how customize-theme prompts to disallow/allow-once/allow-always code upon loading the theme. (Honestly, I assume this never happened because most emacs devs seem to prefer managing snippets of elisp over using customize.) Use-package gets part of the way there; seems like it could easily get the typical setup hooks for a package from the package itself. ~Chad --0000000000003a02a705a3ea1aef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Apr 22, 2020 at 3:52 PM Yuan Fu &= lt;casouri@gmail.com> wrote:

Some ideas:=C2=A0
3. = It would be cool if Customize can customize mode hooks and auto-mode-alist = and other usual stuff.

It seems= like most elisp packages could come with a standardized "Here's t= he normal setup for this mode/package; would you like to run it now, have i= t run on each startup, or see a new buffer=C2=A0where you can examine it no= w?", analogous to how customize-theme prompts to disallow/allow-once/a= llow-always code upon loading the theme. (Honestly, I assume this never hap= pened because most emacs devs seem to prefer managing=C2=A0snippets of elis= p over using customize.) Use-package gets part of the way there; seems like= it could easily get the typical setup hooks for a package from the package= itself.=C2=A0

~Chad
--0000000000003a02a705a3ea1aef--