From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.devel Subject: Re: Help sought understanding shorthands wrt modules/packages Date: Tue, 22 Nov 2022 10:01:33 -0800 Message-ID: <878rk2c1he.fsf@rfc20.org> References: <651bbe21-f179-730a-4f10-7dc6d27055ea@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32335"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rms@gnu.org, Gerd =?utf-8?B?TcODwrZsbG1hbm4=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 22 19:02:35 2022 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 1oxXbN-00088S-4V for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Nov 2022 19:02:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxXaj-0005ZX-Vc; Tue, 22 Nov 2022 13:01:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxXai-0005Z0-RC for emacs-devel@gnu.org; Tue, 22 Nov 2022 13:01:52 -0500 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxXaZ-0003X7-8J; Tue, 22 Nov 2022 13:01:52 -0500 Original-Received: (Authenticated sender: matt@rfc20.org) by mail.gandi.net (Postfix) with ESMTPSA id 32BF4C000D; Tue, 22 Nov 2022 18:01:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rfc20.org; s=gm1; t=1669140098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hYK0HQwsYer2+nwPYp/QwmRnSDs4d13j8De8KaYFmvs=; b=ioR8Os4PCHQiUYrWz0S08bjV6Ft8SSSuQFLWVb6o9ESaqgWbcqfd/vByWoNanpAx3u/ViG tX6pme9U4wBO0KG8e5Hlw616tcdDYLOfRiCDBouAtXZUZZyRG9WSfOn+RQo1eeCZSJ1ei5 GPp30mvN2WeDK0Q6rLtgFkXaab6u9KaqTiiABhBQkyq5HPYO22TQ5V48w5wwvRbQEBFu+B 8GN0jFLf+XdTaL8W65aMPLIkBDdDyYPs8oxe+TsqozmYJkIWWv8x6AEYSmkjq+USQqGaSk qocxXpc24f0Dka3cy4ntJUp1n9/N4osfsrn7/XSWZtb0ZgOobONHIMqknZrHOg== Original-Received: by mac-mini.lan (Postfix) with ESMTPS id 2A6FD3A92E; Tue, 22 Nov 2022 10:01:33 -0800 (PST) Original-Received: by naz.lan (Postfix, from userid 1000) id 0F52643BFBBC; Tue, 22 Nov 2022 10:01:33 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2001:4b98:dc4:8::226; envelope-from=matt@rfc20.org; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300342 Archived-At: Richard Stallman writes: > The only drawback of our current use of naming conventions is the need > to write long names in your code when referring to functions and > variables defined in other parts of Emacs. If your code refers to > many such entry points of a certain part of Emacs, maybe you want to > abbreviate those. I think there is another drawback of Emacs' prefix based namespace convention: that of longer local (private, non-public, unexported, etc.) names. In C, this is achieved with static functions and variables. In Common Lisp this is achieved by exporting only the public symbols.