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: Namespaces - summary, conclusion Date: Mon, 4 May 2020 18:36:46 +0200 Message-ID: References: <83zhann3sw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="101307"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 04 18:38:26 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 1jVe6r-000QHc-U1 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 18:38:25 +0200 Original-Received: from localhost ([::1]:34590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVe6q-00079Q-T8 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 12:38:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVe5l-0005hX-Ix for emacs-devel@gnu.org; Mon, 04 May 2020 12:37:17 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:41824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVe5j-0008TJ-Tp; Mon, 04 May 2020 12:37:17 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id j3so10315676ljg.8; Mon, 04 May 2020 09:37:15 -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=mjshEN4lVmkIiLdUnz7wM7Nlhi06N/8xHp/JZO11ohY=; b=ZLbK0ZTe3yGcQ0JIYMYfsd3A4LiWX3rrba3UseVKG/KHC+znbuPSylxt5WzzNZEhhC wWy7j9O8RKC7ostO1NTdl9uNz8AjeS8B/dYLW7WHLp7lF/m0nXE6D11hDxfOLGr/RJEc +tYjYSupOJ2HRkqdfk+YIBvIZzKRqVBjqg/DytodfJSsO2slJ+mG0m3CuBwUHHo4eZ4l uFCIKz+TDzWyAmR3YJ1gXsQfVd8x4q1xInMTkg5yJPNJeNL1rbh1FXfdgozmbGm5oHzV +8DUCI7sN6KrIyHdNFs/ogVYKFQ7ozN3dA/pJvNYt/sUIXm0ZTQufI42Q/3Uhgpg9Nyv 6plA== 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=mjshEN4lVmkIiLdUnz7wM7Nlhi06N/8xHp/JZO11ohY=; b=aa2g1wIhl+08c0wX5UBB72CdT7UubZGiIraNWu2jDmYvjpG2sgTYBh4qwRuE1ig0db 46iTg1Ewp+6XTutsO4X3y85NbFGFy1yhbBk/nfLks+dCbjJWx4apu0lRXMFgbySsny8Y 2L4+Anv/ps3vTEkzS+6giIahr73mgazdNmWjx9LSxxTBdFO94ObRpVxKL/AgrUjJ1Ed+ 6Dg494rRIn4mXRFBIfQNuilevciJeaCxPaCbXP/VVOE2nevjnBcMtuXd0DIUJBVmDI8d klCtZasX5YmC1A0LTCBDXTdOC6P1dEIo8CQJ470HmG2yEZU/hTxoWANn71NKVeudU+HY oKHg== X-Gm-Message-State: AGi0PuaQHzrmqQJWorlobWyNF95lWI8qEOu2YbGIMYvRVig4ae5Z6qQP y4CGxpDlt383GKgzhzHNqS0QhsYr0Jh7+LbjMe7kFcxnZq8= X-Google-Smtp-Source: APiQypKWuTDVm0iL2mpJCDYcJKp8thkjFTHyG2DgnfRj2eMYFWC8c8QhAmH8lehO5WiVpxiGj+BGPl9Jz34MQXTvXA8= X-Received: by 2002:a05:651c:c8:: with SMTP id 8mr10241296ljr.182.1588610233036; Mon, 04 May 2020 09:37:13 -0700 (PDT) In-Reply-To: <83zhann3sw.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=philippe.vaucher@gmail.com; helo=mail-lj1-x229.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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:248865 Archived-At: > > rename-file -> file-rename > > delete-file -> file-delete > > copy-file -> file-copy > > expand-file-name -> file-expand-name > > These are different: in Emacs we have functions that work on _files_, > and we have functions that work on _file names_. The first 3 above > are of the former kind, the last one is of the second kind (there are > a lot more of that kind). We shouldn't mix them. What is commonly done in other languages for functions operating on paths only is to be prefixed with "path-". rename-file -> file-rename delete-file -> file-delete copy-file -> file-copy expand-file-name -> path-expand That does not solve the interesting point about the first 3 being interactive functions. Maybe interactive warrant english-looking conventions ("verb-object")? This complicate matters.