From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Help sought understanding shorthands wrt modules/packages Date: Fri, 11 Nov 2022 10:33:09 +0100 Message-ID: References: <25a8a3a6-81c8-3fbc-434d-fb1b24ae1d62@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="8913"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 11 10:34:12 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 1otQQO-0002Al-R2 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Nov 2022 10:34:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otQPj-0001pM-7e; Fri, 11 Nov 2022 04:33:31 -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 1otQPT-0001ns-Rc for emacs-devel@gnu.org; Fri, 11 Nov 2022 04:33:26 -0500 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otQPR-0003WX-BY; Fri, 11 Nov 2022 04:33:15 -0500 Original-Received: by mail-ed1-x535.google.com with SMTP id f7so6846615edc.6; Fri, 11 Nov 2022 01:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=oLmI3KiKxNdbD83pD4g/jTOa/frd4DjAYNsVZOPizJA=; b=ISr7rL5dskSfrxiTILr0S7qab+j4eYREfLrT76LE2/Z3qyOj8cfZ4Xrr/mp7ffBif1 uiLjXYr82sXNFqiEBVewQ9WfK9j/1JWiAC73qMd8JeAnVTHNCS+MSj2NolYi34oZcOOC OvlIwF58/xU0QRylTRV1bSntBnhWCGBK+prciuIo8uo9NfpGFhKgJeoAPnGG4+CBoSuR tJavdu2zHwxwcQUc31grJNEflGHO2PETB79R931OF/c43q4EDFw/yktLWBPj5kixt5b8 LJMs8p6JxY5bBOKbgrDnbRvyYYrLuB7dd/oOf0mArD7MKOSvfaDxjOr1ilwSAx7mspb4 K0OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oLmI3KiKxNdbD83pD4g/jTOa/frd4DjAYNsVZOPizJA=; b=zv8SKgMbtwS2VboF3QjBWlmsa4C6B9A+IOTeqNLzwuFoadrfDkBqIJT6DlqA2LKdAN 4kiUYC41ZFfYYy4DI5ZcEistJZVqNFMnBj+BAdzTiB4WiCexHHSN9KY5cEgIO5HgbfOy mR4f/gf2JJCBRsZmrTYDWtm4H6y3yi6woUEmZlefSFaQjd77ipygeQ6Bo4TSCGlY9njI acaBDktErk+i4uwyejzBgge98idK+G9Xko2xtnqSIDyzXvW7sd/gbg+RYrLUxJQ0UVMx RMoiPR1PP6gr0po9qQIPcwMgd+xK6bpAUDkzPxw0wgtXpjnN5irdm7cCzsYle1csrspC 54Bg== X-Gm-Message-State: ANoB5pmoOWSsURPjIsjGofUexBifXXkQ0VufJ9ITFgIL3BNDZjvs+ivE 0krgCtirUQayP7AxA7uoRfQ4iFhkyTI= X-Google-Smtp-Source: AA0mqf4AhZa+ewaAzu4KDlDhKdZjE/dn1y0tbhVdLsIyL8lDZ11uGrqcDNnhA7/cRQrUuzEZa7KuJg== X-Received: by 2002:aa7:d303:0:b0:461:891a:8162 with SMTP id p3-20020aa7d303000000b00461891a8162mr670724edq.398.1668159190714; Fri, 11 Nov 2022 01:33:10 -0800 (PST) Original-Received: from Mini.fritz.box (pd9e369e9.dip0.t-ipconnect.de. [217.227.105.233]) by smtp.gmail.com with ESMTPSA id b25-20020a17090630d900b0078d38cda2b1sm649429ejb.202.2022.11.11.01.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 01:33:09 -0800 (PST) In-Reply-To: (Richard Stallman's message of "Thu, 10 Nov 2022 23:35:10 -0500") Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x535.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:299555 Archived-At: Richard Stallman writes: > [[[ 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. There is no control over this, at least in the present implementation. Nothing makes sure or warns if you bind read-symbol-shorthands in whichever way you want. > > 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? It's the other way round: there is snu-concat in some buffer, and you want to get to some-nice-string-utils-concat. How do you get there? Or is the plan that one can find that out in source file, and not in *scratch*? And so on. > Is this about the grep shortcoming? I don't think CL packages avoid > that. No, that was a bad example of me.