From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Package naming Date: Sat, 30 May 2020 18:42:02 -0400 Message-ID: References: <426aedc1-fd8d-5708-2164-03a10224a652@grinta.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75218"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Daniele Nicolodi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 31 00:42:55 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 1jfABq-000JNC-M3 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 May 2020 00:42:54 +0200 Original-Received: from localhost ([::1]:57046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfABp-00036p-OA for ged-emacs-devel@m.gmane-mx.org; Sat, 30 May 2020 18:42:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfAB5-0002gq-PL for emacs-devel@gnu.org; Sat, 30 May 2020 18:42:07 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfAB4-0002VR-Cy for emacs-devel@gnu.org; Sat, 30 May 2020 18:42:06 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 32798441137; Sat, 30 May 2020 18:42:05 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0D2E1441132; Sat, 30 May 2020 18:42:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1590878524; bh=ajR0hc+Goa+JMc8c8nmKwZWnDGjr4lj+F0mfgdRghzA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SO9D6ue1aYBBklnnsU9GacHXjFLA8O24WxREmJDhJR97jg5XxIHjzsdnH+3A0n1xm yDkXfZJrWpA4miQa4W3ZQQcsl8eAQatD77V8oVKGPCljaI7zcwWtHer8W66jlzvHfq J7OatBmQLYD4IU7MPgOyEr/IEhCaP75KbYf+5tXcUeV10C+PsYQaQFi5/vivlGaAab p9ukHu2sYvig1Da7OZVy26i4PstX1j1vblBTRRb5sX5ArY2ylaDwm0gXNsAQSmw1T/ RMXXkJqyF4JP3tAYI0JYBotixE7t8a+WStDBakOOPe4wN/PrVFtsTycTRmDiDrp/q3 0Zzbb3/Fbc6Yg== Original-Received: from alfajor (76-10-137-254.dsl.teksavvy.com [76.10.137.254]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C9C37120312; Sat, 30 May 2020 18:42:03 -0400 (EDT) In-Reply-To: <426aedc1-fd8d-5708-2164-03a10224a652@grinta.net> (Daniele Nicolodi's message of "Sat, 30 May 2020 16:31:01 -0600") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 18:42:05 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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:251663 Archived-At: > what is the established convention for naming packages that mainly > provide a major mode? If I have a package that mainly provides > `foo-mode`, in the sense that all the "user facing" functionality is > enabled activating a major mode, should the package be named "foo" or > "foo-mode"? The convention is to obey the return value of M-: (if (zerop (mod (random) 2)) 'foo 'foo-mode) RET Not sure if we should try and fix those packages which don't follow the convention, tho. Stefan