From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Help sought understanding shorthands wrt modules/packages Date: Thu, 10 Nov 2022 23:35:10 -0500 Message-ID: References: <25a8a3a6-81c8-3fbc-434d-fb1b24ae1d62@gmail.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38591"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Gerd =?iso-8859-1?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 11 05:36:30 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 1otLmI-0009r2-An for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Nov 2022 05:36:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otLl2-0005gf-Rl; Thu, 10 Nov 2022 23:35:12 -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 1otLl1-0005gF-4P for emacs-devel@gnu.org; Thu, 10 Nov 2022 23:35:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otLl0-0007Pt-Rv; Thu, 10 Nov 2022 23:35:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=F/RvPUTyQO4gJXTqYGyd91xo8T9wlYHLx4QCgOY6q+w=; b=n65QSkx0ApTa Wf/7NNC/5Yfsgdf9T+D4TEJ9xJF+2JWdzwv3YKIsfGFi46b4D/pm6qkMtmKqOe5yworUCinpT1RlW 2dHCpU8AtJXY1IWefZEfaIFMi1wUj4GSZAW26Qq4lfXdqATm6GgpUYcpbcB9yMLLWdaQAlEIio+ic Ui9mwpSU8abpqBjPEf2y6lhCIAl8hQpQIY53m4Lev0ei2rmXFOJLvKHIDVZKFzy2iJGxjBTMw3YXJ ZR4IzrdWrCbr2P1CxFdar01x1O0IAPMPQ7n5cv1H+Xuw/6IXFcl2jL0+k0BF76HhQr6EEege7C8+a pcMwCx0gpQcWrixW6io+6g==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1otLl0-0006yI-K8; Thu, 10 Nov 2022 23:35:10 -0500 In-Reply-To: (message from Gerd =?iso-8859-1?Q?M=C3=B6llmann?= on Mon, 31 Oct 2022 13:57:54 +0100) 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:299536 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Example from the Info manual > ;; read-symbol-shorthands: (("snu-" . "some-nice-string-utils-")) > The "snu-" definition is not recorded anywhere, nothing is preventing > someone else from also using "snu-", or warning about it. There is no need to prevent someone else from using it. Each file's shorthands are local: they do not conflict with other files. If you want to define `snu-' as a shorthand in your file, go ahead. You can't > find out that "snu-" was used to read it from looking at a symbol, Why does that matter? If what appears in the code is `some-nice-string-utils-concat', when is it crucial to find out whether a shorthand was used to enter it? Is this about the grep shortcoming? I don't think CL packages avoid that. or if > an abbreviation was used at all, which is in my eyes unlispy, because it > allows no introspection. I don't think we need to complicate Emacs Lisp to make all kinds of introspection possible at the s-expression level. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)