From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Sat, 2 May 2020 10:06:40 +0200 Message-ID: References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <837dxyz83p.fsf@gnu.org> <978f970b-b5c2-bd83-39da-f632d069d7d5@yandex.ru> <98ab19cf-680b-9cd2-7c42-89dd0b2f470a@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b0ac0c05a4a5c805" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28653"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jonas Bernoulli , Emacs developers , Stefan Monnier , Dmitry Gutov , Adam Porter , Eli Zaretskii , Kyle Meyer To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 10:09:00 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 1jUnCm-0007Jw-6Q for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 10:09:00 +0200 Original-Received: from localhost ([::1]:50528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUnCl-0008Nc-6R for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 04:08:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUnC4-0007wu-J3 for emacs-devel@gnu.org; Sat, 02 May 2020 04:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUnC4-0003MN-3r for emacs-devel@gnu.org; Sat, 02 May 2020 04:08:16 -0400 Original-Received: from mail-lj1-f173.google.com ([209.85.208.173]:42249) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUnC0-0003H6-OH; Sat, 02 May 2020 04:08:12 -0400 Original-Received: by mail-lj1-f173.google.com with SMTP id a21so4642557ljb.9; Sat, 02 May 2020 01:08:11 -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=Kk0xD45ZsTG/2OBq/A0zCp3t5adalkgd4UBu15zeo4I=; b=fEu2+KX6EqsufwoBJDvUAGvqeuYnMJ+Owu5h0UlQoYSuLX8mgv/IL3vEZHRzUh8DJy CHjtK+sLX0EKluIF5fCbPyiwGvroY7GA/zg50hHDdz+f96iq4Odt4TbxM1PaF9HjMuI/ rJ+M63ONX2iROGSY057jruZoRIqMwkrnIvhvpOA7XVPofiyMdAQHV3jgCLlF+PBuXxxY XcCxBSNRtrHn6b6FszJq9cdpSSJiqnsLgPjKjS8KTSy3qtPhEKzpY6AF6cJChhInY6BI Ag6VQvVpJM4FHoAmNjmP1Qm6gLWkUkkm0JDHA5OZ54wKf9/hHxETHK5AIucsqWnguhdF CntQ== 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=Kk0xD45ZsTG/2OBq/A0zCp3t5adalkgd4UBu15zeo4I=; b=sGfqa8D8P2SxcuUgK6l7uNQF1rmhcYrOEkUR4midvJLpsS4wffhQw5WhQzL7kVLi8z VkW/kWrGKSgLo07ihMFg69Eo9p/fix+yM/aeKbOvlfU4JwWSZopWfuQRv8ZHH/ZJXYoI ptNh3D1UC+G0PIhcrsJ6ox8WBuyx/yQXD7BSlPR1ljd6Hpc6VDQsAOBszW19Vc2GH2Qx ZMQClPX2+S/f73+K+FyT3ccXXLJcOmalX/0EbcQVmVn9yYS7Qs+v97P9Rf9TV9iJHmVk aVhj11BmthWt/1RVZBDS2xUS5Q5wC1ezd/M/7T+CBDU7+7mX6AAQeZyDUcRcl0Hc5e8k yO8A== X-Gm-Message-State: AGi0PuYeDiDBIBbComS8aeMo8JjOxMFwrV7DfJyo8yu0CHC9Nx3dFjdH o6MJ/kVaqpxSt11Mni0zjtXfNBjp+BfC9gv5l6xjKEJaaZI= X-Google-Smtp-Source: APiQypIpog9UBtIw3u0sgZYBuyMYuP0WXp036espDjqKp86aK6jXG5R304GyK9adz6/I05wGQlmr0eJg6f1dqguyXFQ= X-Received: by 2002:a2e:9e97:: with SMTP id f23mr4442321ljk.228.1588406827131; Sat, 02 May 2020 01:07:07 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.208.173; envelope-from=philippe.vaucher@gmail.com; helo=mail-lj1-f173.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 04:08:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.208.173 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:248384 Archived-At: --000000000000b0ac0c05a4a5c805 Content-Type: text/plain; charset="UTF-8" > > > If we decide the answer is yes (as advised by the coding conventions) > we > > could start by simply aliasing the existing API that does not follow > this > > convention. That'd mean `copy-alist` would be aliased as `alist-copy`, > do > > you think people would be strongly against this? > > I think there is no need to rigidly put the crucial word 'alist' > at the start of the name. Just having 'alist' in the function name > makes it easy enough to find that function. This prevents me from searching for `^alist` and have the curated list of all alist related functions. With alist, searching for `.*alist.*` is not so bad, but with `file-name` the problem shows more clearly: you have a lot of results that you'd like to ignore (functions from tramp, etc). --000000000000b0ac0c05a4a5c805 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 > If we decide the answer is yes (as advised b= y the coding conventions) we
=C2=A0 > could start by simply aliasing the existing API that does not f= ollow this
=C2=A0 > convention. That'd mean `copy-alist` would be aliased as `a= list-copy`, do
=C2=A0 > you think people would be strongly against this?

I think there is no need to rigidly put the crucial word 'alist' at the start of the name.=C2=A0 Just having 'alist' in the function= name
makes it easy enough to find that function.

This prevents me from searching for `^alist` and have the curated list of = all alist related functions.

With alist, searching= for `.*alist.*`=C2=A0 is not so bad, but with `file-name` the problem show= s more clearly: you have a lot of results that you'd like to ignore (fu= nctions from tramp, etc).=C2=A0
--000000000000b0ac0c05a4a5c805--