From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Wed, 29 Apr 2020 10:17:50 -0400 Message-ID: <58CEF49D-6111-4CEC-BCEB-F46E87DE0146@gmail.com> References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="84435"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jonas Bernoulli , Emacs developers , Philippe Vaucher , Adam Porter , Eli Zaretskii , Kyle Meyer To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 16:20:36 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 1jTnZk-000Ltd-7F for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 16:20:36 +0200 Original-Received: from localhost ([::1]:44320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTnZj-0001gg-7e for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 10:20:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46350) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTnYU-0008MT-2x for emacs-devel@gnu.org; Wed, 29 Apr 2020 10:19:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTnXo-0001eL-8k for emacs-devel@gnu.org; Wed, 29 Apr 2020 10:19:17 -0400 Original-Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:41102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTnX8-0001MO-50; Wed, 29 Apr 2020 10:17:54 -0400 Original-Received: by mail-qv1-xf35.google.com with SMTP id h6so1185285qvz.8; Wed, 29 Apr 2020 07:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NSY2gHqG8VmRS1oG/mK878elhC/2+Ka/ptRnbNIqPbQ=; b=hnJQ+szGjcRF8sfJmi0LLvn2C4WBc++fWPCA9vStMUKWK2lvvVPgb9k8yiBWoO7S6D TNrjAGuoAUjhLfO2yR4UcBjSEtdWTfRuQVUB1i4wJTFut0c437Z2Xo4yxJY733pZA53V AyjA5b85mBhxsaaEX98vGOagvhNju2hr56KoHImKxsXOFF5SApP34GSIhrdDhxHfa/I8 1IyiT0EsuR4wqlIwU2potm3kskTt58AAiQJ+hpSo+kD8XeBwIVwiE7q8288j5/h0Xgp+ eAPJ8x2ZwAMMMKgLhmfgmM44ED6B2yGo9u5RvJKhd3ozC8GnnZzUsqsoYcI1vc5uzvRq y9RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NSY2gHqG8VmRS1oG/mK878elhC/2+Ka/ptRnbNIqPbQ=; b=jpGiLThGdeBdy1png/V5ZArUKy8/fkEh/ICAmdm3qZHlTp5tNlNn9Iu0FNYVE2lwN/ 36g3Ek4XbBGzDSGWgOaDKI7kLG7/rRKY8c78QXO9kAPLHxn8q18uocXP0lwhEAV0Fmbw 9hx+XYA9lUE9YT/6qQsyJ6P8899kkZpCJea3nIhgZ1yTcLMYKfz1rMcfvL5p8yt0V7SM FSm6H86BR+5n6gx4NS7ymqLZqHVxtNzSUypaZYUjT/BeVDOUbXtCpnNpUO3baf+V/9I+ AVWHG40qUp/ekkg9KS11xKMd5MT7Y91/z7XJQ1cKjqGI/3LhtQhF/ycoQRyewWVCioov RXFA== X-Gm-Message-State: AGi0PuZH+PZRVCm4iTLxFPJT3FftHktqgBwgAJhewwKDpXXfJiBzcrK1 RoQRxm7g+ss2DI7zXx3/TK8= X-Google-Smtp-Source: APiQypJom0clEgO4sDVTUS1LL22GjrkbHN/h1H/k62ZsKRokiRcW4y5oC1TMCArjQRkZmj/2R7H0YA== X-Received: by 2002:a0c:ba20:: with SMTP id w32mr32454585qvf.3.1588169872618; Wed, 29 Apr 2020 07:17:52 -0700 (PDT) Original-Received: from [192.168.1.5] (c-174-60-229-153.hsd1.pa.comcast.net. [174.60.229.153]) by smtp.gmail.com with ESMTPSA id u7sm15488429qkj.51.2020.04.29.07.17.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2020 07:17:52 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=casouri@gmail.com; helo=mail-qv1-xf35.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::f35 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:248142 Archived-At: > On Apr 29, 2020, at 9:32 AM, Stefan Monnier = wrote: >=20 > FWIW, I completely agree with this. > Emacs's own "core" library should follow the "prefix" convention. > The resulting "structuring" of the names would help discoverability >=20 > This was a major motivation for the `seq` and `map` packages, and = maybe > we should keep doing that with more things (e.g. add a `list` package > where all the list functions get a new name using the `list` prefix, = or > add a `process` package were all the process related primitives are > given a "process-"prefix, ...). >=20 >=20 > Stefan >=20 It would be nice to organize all the file-related functions better. = Currently all the file-xx, file-name-xx, directory-xx names are not the = easiest to find. I still could find them easily despite having used them = for many times.=20 It would be also nice if we can add some common shortcuts like (defun file-content (file) (with-temp-buffer (insert-file-contents file) (buffer-substring-no-properties))) That should prevents people from writing=20 (find-file file) (buffer-string) Yuan