From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Tue, 5 May 2020 15:22:39 +0100 Message-ID: References: <0c88192c-3c33-46ed-95cb-b4c6928016e3@default> <02922A76-29E2-46EA-9D99-83421BAC5E43@icloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58836"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Richard Stallman , Emacs developers , Stefan Monnier , Dmitry Gutov , Eli Zaretskii , Drew Adams To: =?UTF-8?B?7KGw7ISx67mI?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 05 16:23:53 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 1jVyUC-000FBd-O4 for ged-emacs-devel@m.gmane-mx.org; Tue, 05 May 2020 16:23:52 +0200 Original-Received: from localhost ([::1]:39414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVyUB-0001Jm-Qn for ged-emacs-devel@m.gmane-mx.org; Tue, 05 May 2020 10:23:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVyTG-00005W-Iw for emacs-devel@gnu.org; Tue, 05 May 2020 10:22:56 -0400 Original-Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]:39811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVyTF-0000m8-IS; Tue, 05 May 2020 10:22:54 -0400 Original-Received: by mail-il1-x12b.google.com with SMTP id r2so1343298ilo.6; Tue, 05 May 2020 07:22:52 -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:content-transfer-encoding; bh=CEQsTKM/79gO+6i1dBHiCk2dc9mihsriTgKN7qSlCTI=; b=E8S3wYg0cRlprON1Li9IozOunCfC3sIgYLCb/aGpvinUoTSrFFiWF8qynJgivEXuc3 1UTbPAspci/JRgLDpTW51KNGW4qfLrVbtNQYC6GpRkhlA4pspXBX8+wDlPTX7CqOpTpw D1+0Vwcjvkc3VG/MXUcKC8NkYPbHFyI8xVlacSlsTYILdX1EjrNx9HjtgmTGnultu2fk Da3QMsiVmAOu7f4OMZ1HEej+N0zF792XcbWHccxvs8L1G4A1ruOQ5t/2XLZZcONeeUHX q+oi6DXRh0qTBZ2mGPiNqTM6vhqachBeD+MOM6uMUaG6CZQi7DDns4p/xJgGhTd90SP/ T/LA== 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:content-transfer-encoding; bh=CEQsTKM/79gO+6i1dBHiCk2dc9mihsriTgKN7qSlCTI=; b=ThC5VB7VMwYfNbbi86vUJerDPGQ+5OqSZ/oXG+wZ1HhqXVlQoy1MgLjRjikfXY6oJ4 2IHodIr2g2IIu35eOpxJbMwmYYUs3Hu5QwlrcGkCuRzOoYNHtzo8O+O57lBJhi6pYlAj ldFbqoKvB2Q/GlCUWdYz3poOMqgu+684v8qOSpzrU7YaEuIk2xrnLWj6ca9qCuX+yJXx ATf0ktxUL4TZFsjMf+ELP2/3cr8SHx06byIVfipOVtdS18z6/PGWjgpKvGeWcn7SxzsF 967UlnBR+k2SCcq5yMlw4n4ERLHAO0Bw1ZBZnR1iP1GdeGLZQksoyb1capBb0zL/Pr4p 5AjQ== X-Gm-Message-State: AGi0PuYbPe0OYluACzTNgfom+wRVM98txwZD9SzWcdTsJokzFULv8Fdb HJsBs6SxjeZVOAJeKLLds9wWUo0VfjKskK+tphI= X-Google-Smtp-Source: APiQypL0bHRib1655zsEe7B8zOOENw74H8IUgTBby+m1ZrjLaShI7BxGZVrFiEFlwohNdsPyi1BCyr1FgYEu6uj1DbY= X-Received: by 2002:a92:858b:: with SMTP id f133mr3488263ilh.97.1588688571456; Tue, 05 May 2020 07:22:51 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::12b; envelope-from=joaotavora@gmail.com; helo=mail-il1-x12b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:248992 Archived-At: On Tue, May 5, 2020 at 2:55 PM =EC=A1=B0=EC=84=B1=EB=B9=88 wrote: > I=E2=80=99m not saying only about completion - I was thinking about thing= s > like how C-h f isn=E2=80=99t really useful for function finding and we > should use C-h a and C-h d. But I'm saying it _is_ useful. It IS useful to me. With flex. And your proposal will make it much less useful, and that's bad. > > I was answering Philippe, and he mentioned earlier that he's > > a big fan of "Convention over Configuration" a philosophy > > popularized in the 2000's by the RoR community. > I can=E2=80=99t see why CoC applies here - function names aren=E2=80=99t > =E2=80=98configuration=E2=80=99, right? No, but using `(setq completion-styles 'flex)` is. A pretty useful bit of it too. Maybe you try it for a while? It works with Company, completion-at-point and, theoretically, with a new version of Helm. You can also try M-x fido-mode. Anyway, CoC is what Phillipe brought up, not me. It's a RoR thing, and I was answering him. And Convention is pretty good, sure, when you're starting from scratch. So in your next new language, by all means, use the Best Convention (TM). > > Quite the contrary. I'm trying to convince you that it can > > work with closer to that if you work towards it without > > futzing up other people's, equally legitimate, ways of > > thinking about symbol names. > > Actually, IMO that ways of thinking symbol names should be > codified and be recommended - could you help in making some > emacs lisp API guidelines with that knowledge? For new domains, surely? Like washing-machines.el or little-green-men.el? Sure, I can do that. I have my own conventions on how to name things (and they've changed over the years, a lot, and they will probably change until I'm dead. I wouldn't recommend putting a lot of weight in them, though. You can check my latest packages, like eglot.el or jsonrpc.el to see how I name things. Jo=C3=A3o