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: library/package filename prefixes Date: Sat, 2 May 2020 14:35:53 -0400 Message-ID: References: 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="19292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 20:37: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 1jUx0W-0004u9-Tn for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 20:37:00 +0200 Original-Received: from localhost ([::1]:41282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUx0W-000101-02 for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 14:37:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUwzX-0000I4-7G for emacs-devel@gnu.org; Sat, 02 May 2020 14:35:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUwzW-0006yx-0N for emacs-devel@gnu.org; Sat, 02 May 2020 14:35:58 -0400 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:35664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUwzV-0006yK-HQ for emacs-devel@gnu.org; Sat, 02 May 2020 14:35:57 -0400 Original-Received: by mail-qt1-x834.google.com with SMTP id s30so10633925qth.2 for ; Sat, 02 May 2020 11:35:57 -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=lMetJEcie5U1ImGDVLWRvIkwFzUHbn0hJH76d4mSd44=; b=MLif2hKE+pBFkLgiQrBFrUbFEwXhDOSMGWnTZqYV7RALDzOPt65SJzEyOKXqB4YtZn sttw7n0m9nqTu0HnszHHb9cNR8aKQ/6de8L5gW0NEU2XCzmwFYD+3Zib4pDqJr1sgvLn 4yGMXpzW7nzlW2l7hMGYX02ZUo+6oBOYycohOh+cvBrlnOSuW2QyOBVntgi669kNhskw DaBOmFbK/cwBuL1xqzRc0OGbe1aUU/jGoomE2agNnj55e1vJlPnWBzIn/+lEPPpNnNvh sceq7I9iiZbJS0UK0KuswIqFjkM97/3pYltPboZzn+pGNI8LWH2pHgR6wbPjhWPQqVma +eBA== 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=lMetJEcie5U1ImGDVLWRvIkwFzUHbn0hJH76d4mSd44=; b=Ql8Ov/IP5fNm3pOO3ysogbN7ZTsytmtqtkOWA1iNXK2o6tZw+O6nwLOZn6DoUngK2P MLREFSfWtfP2Za3fiAaC2OGLvvUl9LLTUcszGV3KLiU4bYMhyHf8ZcRJ0yPqijZ+FZDN yd4NSVZj/dqqj0AGCqZ0QnFGuelMUwcA9AC7lRS4vTzfAH3Xj9SwUJdfvvCWQF9xe3ih kvksaPbB4k3bn9PFJMoV16cnTqm43HEvIrLVWLJuA1Tw0uCqHcn/2budcnU/48GOkEYE Ap05uVm44ZQjS/a4caJAqj3jU+EYz1RXhyv9d5gRLtCMKs8PHFJBZFwFL5742/ZWfRQ/ jQWw== X-Gm-Message-State: AGi0PuZRKIG2hcB4m/BkpCHrag3KM2+BS6dacn/6r91IHzJ9tfezF9Fl x8HGJu649190BgnRYnDjOwg= X-Google-Smtp-Source: APiQypJmMj9Mq8XPQb5BOge7D0DISWn/KdyVJEM0F1PcbOQRFm6JxcnpiITMETerJHwp/D8alIT/cA== X-Received: by 2002:ac8:7ca2:: with SMTP id z2mr9637200qtv.122.1588444555074; Sat, 02 May 2020 11:35:55 -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 b68sm5794713qkc.132.2020.05.02.11.35.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 May 2020 11:35:54 -0700 (PDT) X-Priority: 3 In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=casouri@gmail.com; helo=mail-qt1-x834.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::834 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:248530 Archived-At: > On May 1, 2020, at 5:07 PM, Drew Adams wrote: >=20 > FWIW - >=20 > I think the "Emacs Lisp Coding Conventions" node > of the Elisp manual should be amended to say that > a library/package prefix should be at least 2 > chars followed by a hyphen (`-'). And even add > that 3 or more is preferable. >=20 I agree > = https://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Conventio= ns.html >=20 > (Should we also say that the first char should > not be a hyphen, or that not all prefix chars > should be hyphens, or ...?) >=20 > I think it's misguided, short-sighted, and even > perhaps a bit self-centered for people to have > named libraries `-.el', `s.el', etc. and used > function and variable names with prefix `-', > `s-', etc. >=20 That might be too strong, but indeed that lacks some consideration. Yuan