From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Daniele Nicolodi Newsgroups: gmane.emacs.devel Subject: Re: Package naming Date: Sat, 30 May 2020 16:58:56 -0600 Message-ID: <98812914-321f-6666-9647-6dcc3f51d253@grinta.net> References: <426aedc1-fd8d-5708-2164-03a10224a652@grinta.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="11602"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 31 00:59:39 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 1jfAS1-0002tw-N7 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 May 2020 00:59:37 +0200 Original-Received: from localhost ([::1]:36944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfAS0-0008M7-Ny for ged-emacs-devel@m.gmane-mx.org; Sat, 30 May 2020 18:59:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfART-0007q5-AH for emacs-devel@gnu.org; Sat, 30 May 2020 18:59:03 -0400 Original-Received: from grinta.net ([109.74.203.128]:45084) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfARS-00060f-1Q for emacs-devel@gnu.org; Sat, 30 May 2020 18:59:02 -0400 Original-Received: from 688dnmac.campus.nist.gov (c-73-229-170-236.hsd1.co.comcast.net [73.229.170.236]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id D2663E0D1B; Sat, 30 May 2020 22:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1590879540; bh=3QAv/duEOKzqhKW/z2eVB1w+QwCfN/kjFuVGJ9vrkTo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jAsfUymLSkKoR8ZkZjyUEhKMbpUpZM4bzJebPb33BTMZZWTH66aVd2DlvQ17PhR5u fUNG8r2xQh4zxr6I6ZtMcZ/1uhZSSHGJKatsAZPIbO0pVCaWxsAcz6BBFYRufWSN+G EcISI6Yl5zcgrSh8YR3RhpwxVtRSpc4sWvxxVRic2zifNzcPGAdrvsRBnsvfa16lWL KEhW7oQjqrPbymq4H6gouPn15go3KTKqtSFNgECFl5HythdYXIVRpzOpXMdJh1haBB ZuvmiozYmEO/7bCSPyAsYYLGYPDpxFPHk221B6cIjHxAqwg6yhY2P3jdcYpgQEuJ/y ZIoCyE5gohNcQ== In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 18:31:13 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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, SPF_HELO_PASS=-0.001, 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:251664 Archived-At: On 30-05-2020 16:42, Stefan Monnier wrote: >> 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. I agree, it may be a never ending job. Cheers, Dan