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#63480: 30.0.50; [BUG] unimplemented logic regarding read-symbol-shorthands Date: Wed, 6 Sep 2023 15:02:31 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000864ffc0604b13244" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33422"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ruijie Yu , 63480@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 16:03:25 2023 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 1qdt7t-0008Uw-Qe for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 16:03:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdt7g-0000w3-7f; Wed, 06 Sep 2023 10:03:12 -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 1qdt7X-0000vQ-3C for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 10:03:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdt7V-0007xh-Dz for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 10:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdt7W-0003Ah-FZ for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 10: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: Wed, 06 Sep 2023 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63480 X-GNU-PR-Package: emacs Original-Received: via spool by 63480-submit@debbugs.gnu.org id=B63480.169400897412177 (code B ref 63480); Wed, 06 Sep 2023 14:03:02 +0000 Original-Received: (at 63480) by debbugs.gnu.org; 6 Sep 2023 14:02:54 +0000 Original-Received: from localhost ([127.0.0.1]:37048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdt7N-0003AL-Al for submit@debbugs.gnu.org; Wed, 06 Sep 2023 10:02:53 -0400 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:51358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdt7L-0003A5-Ci for 63480@debbugs.gnu.org; Wed, 06 Sep 2023 10:02:52 -0400 Original-Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bcc846fed0so58226141fa.2 for <63480@debbugs.gnu.org>; Wed, 06 Sep 2023 07:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694008964; x=1694613764; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OVxx+HSS5XUYbfg0f1+Ng98SVRRB6TKQSfwi/4A2WlI=; b=cq5t0ILfFkZvi1eWHmfYPU4rGVkdQ5AHNTUkA9L5H2tWLC7KQ4MrwzjMsIKmZEWMZv tJexoDBryYgjr2YB4qQb8ATLj7A56TjmoAZZLGidz01/k1PeL8sLKXGQm66AzT3vRcFT 0Oe8+UknQsL9sG3mM21MHMvQQQ6G9NPqx+nTaOnZtcwu7VqEpiiIyvbMCACb8KBOd3ay YR13/ktp4CNZ0JyNBCiOA00KPyDXRvhw3aJ2i7k9C0VxG28NlASVWTdyvGB3ti1vVGws 039TiE5XREBgBCzGm3Oy5G4mldJ+EIYH/BNlNzUC6JpxiqEsP2w9uU/SEiLJX/XSdldi HTJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694008964; x=1694613764; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OVxx+HSS5XUYbfg0f1+Ng98SVRRB6TKQSfwi/4A2WlI=; b=eoGiJsNLsgvPfvvkOpO3cTDI+ks6Vb6y/qdQl7CBT/B/kMjhKi4QKfsJq33F1+93Pr uBTtoAnliM6MEft8D9TpJjU1O8cCXQ62G5HVmZB5pAfiV+n977tBvnNp+nwvvbcF0Cpi yTZMAb5Mm1lV0/lZDxB1Z2p7jGX4eXXWIrB23mMnFBnPEfO7xkin6k1r3JtUYgC3sPha 3MdqMvnPFb3l31Mx78bbvubPvrL6yYbwWdR/GYEJGZFmBVBezMzx9171B3Vu1L1cMZza Evn9uiPsFkF9I8g5RyOiEMaU0zBwlfRKlFFm1PPmwuthxvZxiYVc1C1txqwAY7ReMhnf 0aHQ== X-Gm-Message-State: AOJu0YyXhRlmTucl5Gk4Xdy5UfVdbdOJGh4+cIn+LceL1bPIgEMuR2qa ePvihXEOT8lYRoZTgNCt0scqHw9XzltcsiGJS+2R4qLsQVlJjg== X-Google-Smtp-Source: AGHT+IGicjr68wouboqCV0FultIpxna/JbCmAfZ4GHqMhXlWc4rVJW9svb7USCZ3TvA/ZPsXeISvvt8wIFDQtGbLtJo= X-Received: by 2002:a2e:9a8f:0:b0:2bc:b54b:c03f with SMTP id p15-20020a2e9a8f000000b002bcb54bc03fmr2291933lji.5.1694008963638; Wed, 06 Sep 2023 07:02:43 -0700 (PDT) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269545 Archived-At: --000000000000864ffc0604b13244 Content-Type: multipart/alternative; boundary="000000000000864ffa0604b13242" --000000000000864ffa0604b13242 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Sep 6, 2023, 12:03 Stefan Kangas wrote: > Jo=C3=A3o, could you take a look at the below bug? > > It seems to be related to the shorthands feature, and your package > breadcrumb. > The bug report for breadcrumb in itself is no longer relevant since that code isn't there anymore. This is a duplicate of https://github.com/joaotavora/breadcrumb/issues/3 which has already been solved. I updated the autoloads to use longhand versions already a couple of months ago. I'll leave it to you if this issue can be closed or not. Anyway, the problem with shorthands and autoloads remains. The GitHub user 'dickmao' proposed a patch there, which I didn't test, but I attach here. My idea for an alternative patch would be for the "autoload extractor" (which I'm not familiar with) to see the shorthand autoload but place it in longhand form in the generated autoloads file. I don't have a patch for that idea, unfortunately. Jo=C3=A3o --000000000000864ffa0604b13242 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Sep 6, 2023, 12:03 Stefan Kan= gas <stefank= angas@gmail.com> wrote:
Jo= =C3=A3o, could you take a look at the below bug?

It seems to be related to the shorthands feature, and your package
breadcrumb.

The bug report for breadcrumb in itself is no longer relevant si= nce that=C2=A0
code isn't there anymore.=C2=A0 T= his is a duplicate of


which has already been solved.=C2=A0=C2=A0I updated the autoloads to use= =C2=A0
longhand versions already a couple of=C2=A0months ago.

I'll leave it to you if t= his issue can be closed or not.

Anyway, the= problem with shorthands and autoloads remains.
The GitHub user 'dickmao' pro= posed a patch there, which I
didn't test, but I attach=C2=A0here.

My idea for an alterna= tive patch would be for the "autoload=C2=A0
extractor" (which I'= m not familiar with) to see the shorthand
autoload but place it in longhand fo= rm in the generated
autoloads file.=C2=A0 I don't have a patch for that id= ea,=C2=A0
unfortunately.

Jo=C3=A3o


--000000000000864ffa0604b13242-- --000000000000864ffc0604b13244 Content-Type: text/plain; charset="US-ASCII"; name="patch (1).txt" Content-Disposition: attachment; filename="patch (1).txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lm7t4ef80 RnJvbSA4YTUyNzVhZmE1NzE2MGY3YjdhOWQ3MWFmMjM0MmMwNmUwYzBkNjUyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBkaWNrbWFvIDxub25lPgpEYXRlOiBGcmksIDEyIE1heSAyMDIz IDIxOjQ0OjQ3IC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gcHJvcGFnYXRlIHNob3J0aGFuZHMgdG8g YXV0b2xvYWRzCgotLS0KIGxpc3AvZW1hY3MtbGlzcC9nZW5lcmF0ZS1saXNwLWZpbGUuZWwgfCAg NyArKysrKy0tCiBsaXNwL2VtYWNzLWxpc3AvbG9hZGRlZnMtZ2VuLmVsICAgICAgIHwgMTUgKysr KysrKysrKy0tLS0tCiAyIGZpbGVzIGNoYW5nZWQsIDE1IGluc2VydGlvbnMoKyksIDcgZGVsZXRp b25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9lbWFjcy1saXNwL2dlbmVyYXRlLWxpc3AtZmlsZS5l bCBiL2xpc3AvZW1hY3MtbGlzcC9nZW5lcmF0ZS1saXNwLWZpbGUuZWwKaW5kZXggYzYxNDgwMDNh NWUuL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ICAgICAg KGJ1ZmZlci1zdHJpbmcpKSkpCiAKIDs7OyMjI2F1dG9sb2FkCkBAIC01NjUsNyArNTY2LDcgQEAg bG9hZGRlZnMtZ2VuZXJhdGUKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgdCBmaWxlcy1yZSkpCiAJCQkgICAgICAgKGlmIChjb25zcCBkaXIpIGRpciAo bGlzdCBkaXIpKSkpKQogICAgICAgICAgKHVwZGF0aW5nIChhbmQgKGZpbGUtZXhpc3RzLXAgb3V0 cHV0LWZpbGUpIChub3QgZ2VuZXJhdGUtZnVsbCkpKQotICAgICAgICAgKGRlZnMgbmlsKSkKKyAg ICAgICAgIGRlZnMgc2hvcnRoYW5kcykKIAogICAgIDs7IEFsbG93IHRoZSBleGNsdWRlZCBmaWxl cyB0byBiZSByZWxhdGl2ZS4KICAgICAoc2V0cSBleGNsdWRlZC1maWxlcwpAQCAtNTk0LDcgKzU5 NSwxMSBAQCBsb2FkZGVmcy1nZW5lcmF0ZQogICAgICAgICAgICAgKHdoZW4gKG9yIHBhY2thZ2Ut ZGF0YSAobm90IGV4Y2x1ZGVkKSkKICAgICAgICAgICAgICAgKHNldHEgZGVmcyAobmNvbmMgKGxv YWRkZWZzLWdlbmVyYXRlLS1wYXJzZS1maWxlCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBmaWxlIG91dHB1dC1maWxlIHBhY2thZ2UtZGF0YSkKLSAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgZGVmcykpKSkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBk ZWZzKQorICAgICAgICAgICAgICAgICAgICBzaG9ydGhhbmRzIChuY29uYyAod2l0aC10ZW1wLWJ1 ZmZlcgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzYXZlLWV4Y3Vy c2lvbiAoaW5zZXJ0LWZpbGUtY29udGVudHMgZmlsZSkpCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgKGhhY2stcmVhZC1zeW1ib2wtc2hvcnRoYW5kcykpCisgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNob3J0aGFuZHMpKSkpKSkKICAgICAgIChw cm9ncmVzcy1yZXBvcnRlci1kb25lIHByb2dyZXNzKSkKIAogICAgIDs7IEZpcnN0IGdyb3VwIHBl ciBvdXRwdXQgZmlsZS4KQEAgLTYwNiw3ICs2MTEsNyBAQCBsb2FkZGVmcy1nZW5lcmF0ZQogICAg ICAgICAgIChpZiAoYW5kIHVwZGF0aW5nIChmaWxlLWV4aXN0cy1wIGxvYWRkZWZzLWZpbGUpKQog ICAgICAgICAgICAgICAoaW5zZXJ0LWZpbGUtY29udGVudHMgbG9hZGRlZnMtZmlsZSkKICAgICAg ICAgICAgIChpbnNlcnQgKGxvYWRkZWZzLWdlbmVyYXRlLS1ydWJyaWMKLSAgICAgICAgICAgICAg ICAgICAgIGxvYWRkZWZzLWZpbGUgbmlsIHQgaW5jbHVkZS1wYWNrYWdlLXZlcnNpb24pKQorICAg ICAgICAgICAgICAgICAgICAgbG9hZGRlZnMtZmlsZSBuaWwgdCBpbmNsdWRlLXBhY2thZ2UtdmVy c2lvbiBzaG9ydGhhbmRzKSkKICAgICAgICAgICAgIChzZWFyY2gtYmFja3dhcmQgIlxmIikKICAg ICAgICAgICAgICh3aGVuIGV4dHJhLWRhdGEKICAgICAgICAgICAgICAgKGluc2VydCBleHRyYS1k YXRhKQotLSAKMi4zOC4xCgo= --000000000000864ffc0604b13244--