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: Fri, 04 Nov 2022 23:13:46 -0400 Message-ID: References: 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="31221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, 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 Sat Nov 05 04:14:17 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 1or9dO-0007qD-Ck for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Nov 2022 04:14:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or9cy-0007VY-ME; Fri, 04 Nov 2022 23:13:48 -0400 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 1or9cx-0007Uz-IA for emacs-devel@gnu.org; Fri, 04 Nov 2022 23:13:47 -0400 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 1or9cx-0004Zb-95; Fri, 04 Nov 2022 23:13:47 -0400 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=xVangzlqQeBVvcfFeaGVtEXSmBfbNqIW+iN+x8vaOkM=; b=A+9dXBr7YMgL GwFwXMoCh40/MnfqRRh+3QFRIkQURdn8UK4tVuhKUxHouWosmy+tzNraxu9tXpZPFKWMV2I5lU1D/ Kpfswl89SX/CBrmVfUdrv5wrJipRcy4vkGoxsJdA7kdsvyLCFyMpjdrbzyESsWHKF7KOIV07s3pYn 0TLpZ69on4+7WAkWAODYt3+b3TNt70aZDwcjuVMTawXyNkSDBP87eJubqXSYnNzaFRjNuxQ9luIlk f97IWHRlI8l4QTzJFEwI7N9ASjSyjCqM9x506IgTm4pByIxC4EV7tsONGHSjzoJ4RN/A2mRHYQfvv dB4otVtx+3+umBLjDCaT/g==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1or9cw-00073G-BB; Fri, 04 Nov 2022 23:13:46 -0400 In-Reply-To: (message from Gerd =?iso-8859-1?Q?M=C3=B6llmann?= on Thu, 03 Nov 2022 06:12:38 +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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299169 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. ]]] > > Hi Gerd, I'm there one who implemented shorthands in Emacs, and i sure > > don't think they are a substitute for CL packages. To ask whether something is a "substitute" for XYZ presumes that XYZ is a good thing and does something useful. If CL packages still have the misfeature of searching a list of packages for one that has a symbol 'foobar' in it, and deciding what `foobar' in your code means based on that, then they are inexcusable bad design and we must not implement them. If they no longer have that misfeature, maybe they are ok. If you want `foo', when it occurs in certain files, to refer to the symbol `hack:foo', the best way to do this is to use a shorthand. If CL doesn't have that search-list flaw, maybe it should be implemented using shorthands as the underlying mechanism. -- 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)