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?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#50959: 28.0.50; Shorthand symbols are unknown to Emacs Date: Sat, 02 Oct 2021 12:02:30 +0100 Message-ID: <87v92f3d15.fsf@gmail.com> References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <831r59kyhf.fsf@gnu.org> <834ka4k15m.fsf@gnu.org> <83y27gijmz.fsf@gnu.org> <8335pmgnjy.fsf@gnu.org> <604da2cb10ac61f2b8b89a02c89056be@webmail.orcon.net.nz> <83a6jtff87.fsf@gnu.org> <5ac7a31cf2959c31c262a3377c736a5a@webmail.orcon.net.nz> <83ilygew7p.fsf@gnu.org> <83fstjdiwl.fsf@gnu.org> <837devdcz0.fsf@gnu.org> <93767e0236e7e85d27186293e38d3d25@webmail.orcon.net.nz> <8335pjd974.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8964"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Phil Sainty , 50959@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 13:22:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mWd5q-00026H-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 13:22:14 +0200 Original-Received: from localhost ([::1]:44000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWd5o-000783-VI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 07:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWcnH-0006kf-7k for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 07:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWcnG-0006st-W0 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 07:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWcnG-0004ik-BZ for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 07:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 11:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50959 X-GNU-PR-Package: emacs Original-Received: via spool by 50959-submit@debbugs.gnu.org id=B50959.163317255818115 (code B ref 50959); Sat, 02 Oct 2021 11:03:02 +0000 Original-Received: (at 50959) by debbugs.gnu.org; 2 Oct 2021 11:02:38 +0000 Original-Received: from localhost ([127.0.0.1]:58028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWcms-0004i7-7N for submit@debbugs.gnu.org; Sat, 02 Oct 2021 07:02:38 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:38474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWcmq-0004eA-5n for 50959@debbugs.gnu.org; Sat, 02 Oct 2021 07:02:36 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id g193-20020a1c20ca000000b0030d55f1d984so2059140wmg.3 for <50959@debbugs.gnu.org>; Sat, 02 Oct 2021 04:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=OrDTqihne1qW+jOyVbkuq2TCPeuRVg98F+OuuOu3dBQ=; b=RmCOSF713dCJA5CdoLw34gkgj8WZy9JEesHzqOVu8Dqupr4oS4WWF+L9m5Ob025lmy 6yPEr57uCDTZeryjKshSDNd3uwoO6mKkWhDO0Y28W1vWRZS9suRAwFn7rsjhTR/45AsA 9SG6AFUvvsnwzpt4OEkBhkQY/z+wheDbt4nrwVOB54bgUorLQKyz2mV+yNdAZnyg9DkL ebmNoOernllAvBPOG5Kr9PNzqwvBNpePnPh0yVNxpB0LThv8X86dIHjkOWoVW0wFL9k6 3M06QMvJCTsMsUUeW8dc+rRti/TwI0nXskfLciwSr+Fqxh/2vsj93wj4szSEZCLtW5ko 9Gxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=OrDTqihne1qW+jOyVbkuq2TCPeuRVg98F+OuuOu3dBQ=; b=trXgNKzjPY7SIF1/CVHThPgiooNJbt2NAbTHfseF4t2jWUtGw4WzoYtvNFn6UNJtRK +MOvzWxDpQG6q09z3GqmpsyDuNhYs29tg8xNcEs//bsKgs4TXZYMCoEqOyAxHqhteCpu bhekftHEsldz1veEUzF4LL5zw7dRJ0dIFveJ11PcP24sDh2+Kzd83Js13c+EnYfAYy5f 0b/3jxIq3Gk+yaqeDEqB1p2ydMdNdRp0OBzJ7QuWptScQJzA8WSQWlspSVrCdQcIobii dfUaIzVbKJKT6oXs0M+bLeqYTExaci1ZFiA89FUEoPHBqhdi1hhUXKDD/B4WRN2sBY44 ffNA== X-Gm-Message-State: AOAM533T5uY2pfLV4v/URxm30Y6GEdsl90YAWEO24kRC27PzzNjA5Tp1 BD1EfqwKCHSIzmirQ3tc67BZVJQ4keo= X-Google-Smtp-Source: ABdhPJxYhwoBEn5pY9VkNAbOOIbX4dizyomEhfTPV9so4Mmtm5RBb7G6CcrjqnSbbxcYDq3v8/Y5TQ== X-Received: by 2002:a05:600c:a08:: with SMTP id z8mr9050871wmp.52.1633172549344; Sat, 02 Oct 2021 04:02:29 -0700 (PDT) Original-Received: from krug ([87.196.156.235]) by smtp.gmail.com with ESMTPSA id s24sm8022503wmh.34.2021.10.02.04.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 04:02:28 -0700 (PDT) In-Reply-To: <8335pjd974.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 02 Oct 2021 13:15:11 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216127 Archived-At: Eli Zaretskii writes: >> Loading the new sl.el confirmed that Emacs didn't recognise the >> shorthand symbols generally. > > Jo=C3=A3o, if this problem still exists after your changes yesterday, cou= ld > you please look into it? TIA. It's not after my changes from yesterday, no. This is by design. Emacs doesn't recognize the shorthands symbols generally (if "generally" is to mean "globally") because shorthands _don't_ exist in the global obarray. They exist in the buffer. I'm going to type in the relevant part of my reply to Phil in emacs-devel, when complaining about C-h o not finding his shorthand. That's only when the user types that in the minibuffer and doesn't associate [it] in any way to the buffer where [the user] sets up that particular shorthand (remember, shorthands aren't global: that's the point). Much like if I type 'import foo as bar' in my Python of JavaScript program and then go search [globally, on the internet] for 'bar' I don't get the results for 'foo'. =20=20=20=20=20 But (have you seen the animated gif?) if you type 'C-h o' with point ON TOP OF 's-foo', then M-x describe-symbol will be prepolulated with string-library-foo, and need only type RET. In other words, Phil, if you wish me to do anything about this bug, you must explain exactly what you are doing and what you expect. What does it mean precisely for "Emacs to recognise the shorthand symbols generally". Currently it "recognizes" them when the buffer where they are setup is current. Jo=C3=A3o