From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Thu, 30 Apr 2020 21:41:31 +0300 Message-ID: <98ab19cf-680b-9cd2-7c42-89dd0b2f470a@yandex.ru> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: Jonas Bernoulli , Emacs developers , Stefan Monnier , Adam Porter , Eli Zaretskii , Kyle Meyer To: Philippe Vaucher Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 30 20:59:17 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 1jUEOz-000NUr-Mr for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Apr 2020 20:59:17 +0200 Original-Received: from localhost ([::1]:42664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUEOy-0002oE-Nf for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Apr 2020 14:59:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40046) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUE7u-0001VR-Q2 for emacs-devel@gnu.org; Thu, 30 Apr 2020 14:41:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUE7s-0000tm-Vt for emacs-devel@gnu.org; Thu, 30 Apr 2020 14:41:38 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUE7s-0000pB-H5; Thu, 30 Apr 2020 14:41:36 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id j1so8349371wrt.1; Thu, 30 Apr 2020 11:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0tdF7IK1VBICdHeebSZvT0M1bDIbPvYv522fB9YCUuw=; b=JZaWlaVxPB2BMOufCEK8mEXqaK7INyTFsCcw+YsF569enPuNrb4RLezNeyehvuS60r /Zv07AnjJzSEmeJPiPoFILf6RaijDBoLr63pxuxUhyhGinUqGhpOys92i8IekcTnD6XF vfRD6Txg6srPjBr2k4zJrF1TDtD71XiKIyWko2PcS/l7HZFgDygyaaZgmyvqGfPNsItd xdDy33U6iQ1hVn8shWEGlUEBQo4Ite7iZMVfd4UbuAbMVQjbnji/mXvEE6N7A7Q99bOA p1be02fss6u1aJFG3L+g0CgNF7Ts0UgcONS1LWZovbqZvG81IRyw8wVeM0A5FSCFxwMm CIhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0tdF7IK1VBICdHeebSZvT0M1bDIbPvYv522fB9YCUuw=; b=IN0YTGt1rSyVMEPH1RcyCrpFd/CzdNkK9YqZKQom2q/cP7jfQ+IN+pWnveTn5HliLq 8vW4A5uCAvpFl58bN1XsBvInJ/1IX4c73Q+8nn3InKpRJnrS8kFzvwRDQDiK41+jnVzN angoVvlFA2dJdqmPOAaf0hH7k6cFnjEala/sn/+qCtIedUgbGBxpT1wCP7bJYPuShgP9 ajcdy/ioakUGkufRptoujIhm1lPoGzwoYIpxmtQaY688ZOEAmUJ/BwAlS3hcj7NIREKc afRGZIoLrDPNyn8ltUoWgHedc8vNSA7hjX85XPeKBX0z0CFpaLxdXsrX0tycuxqIduK9 Mr7Q== X-Gm-Message-State: AGi0PuYehJqzv7hvZvnmbYws1NVJDLsNHv/Ap5y1Mxn4EVHzz14gAc5k ipyD8HMDo2j5NlSkYb+zDoUyj7abA4k= X-Google-Smtp-Source: APiQypK8B9kaep6QayssE4U6YBMeiSThhbITE5KCpcy+6hzuOsDbhBkvis2akhYctKlo0EQIimJZNQ== X-Received: by 2002:adf:ea02:: with SMTP id q2mr5259615wrm.31.1588272094255; Thu, 30 Apr 2020 11:41:34 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id k14sm815672wrp.53.2020.04.30.11.41.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Apr 2020 11:41:33 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=raaahh@gmail.com; helo=mail-wr1-x436.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: 2a00:1450:4864:20::436 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:248265 Archived-At: On 30.04.2020 21:19, Philippe Vaucher wrote: > https://github.com/magnars/s.el and https://github.com/rejeep/f.el are > good starting points, but as others mentionned process-* is probably a > good candidate as well. We should probably discuss specific proposals. I haven't used dash/s/f much, but from what I see they do try to bring a more "flat" style of APIs, following the style of Clojure. There are a lot of utility functions in there too (like extra abstractions on top of the basics that the authors found to be useful). So when you ask the core library to be more like f.el, you'll have to specify what exactly you'd like to see changed: rename existing functions dealing with files to start with file-* or to add new ones. Then we can work out some sort of policy to adopt (or not) such changes. Also, quite a bit of functions seem to be named with the purpose of keeping the names short, perhaps too short, like the author came over from Clojure, found out that you can't simply (require '[string-utils :as s]) so "properly namespaced" names will tend to be rather long, and decided to abbreviate them as much as possible. Examples: f-base, f-relative, f-ext. I'm not sure this will fly here.