From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#63480: 30.0.50; [BUG] unimplemented logic regarding read-symbol-shorthands Date: Wed, 6 Sep 2023 04:03:58 -0700 Message-ID: References: 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="26928"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63480@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Ruijie Yu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 13:05:19 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 1qdqLW-0006nC-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 13:05:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdqLH-00045e-NP; Wed, 06 Sep 2023 07:05:03 -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 1qdqLF-00045L-MA for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:05:01 -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 1qdqLF-0002aW-B0 for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:05:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdqLF-0003ew-Ri for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 11:05:01 +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.169399825114003 (code B ref 63480); Wed, 06 Sep 2023 11:05:01 +0000 Original-Received: (at 63480) by debbugs.gnu.org; 6 Sep 2023 11:04:11 +0000 Original-Received: from localhost ([127.0.0.1]:33086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqKR-0003dn-Gt for submit@debbugs.gnu.org; Wed, 06 Sep 2023 07:04:11 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:54308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqKM-0003dE-DM for 63480@debbugs.gnu.org; Wed, 06 Sep 2023 07:04:10 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5009d4a4897so5948449e87.0 for <63480@debbugs.gnu.org>; Wed, 06 Sep 2023 04:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693998239; x=1694603039; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=vkdMlZWIZ87J/HiDbnTH52L1hjUpnVsvx2tJbndX7mk=; b=f9lDQMm0e/cRVPgnqPqYXHr89a/1NwrLqh/5GVT6hqeHpcY3qqfMt/UiJEKXOZzS+L iifgUpwdjIrRAGmr2ruueJxfMwZwwd3E3wVf1qYVtuJiD8plEuPE9AzQSy+hclhhuu/e FAHd9Tec2nhHoZqrh6aU2yh7VR4jpTX1T2sxzL+A1znRweCLvw3qQElv1mu27NY6s2SO KTmfEhCt2XHKFXXMfQOd4bF9a9L1P5Tl2ZJd3HQdd+sfTcie3ArsrwBt4Gdf+Xh3DlhH KctS07sLu5Yxrk1Y4PVpLneuxWZEyr7r5X26999z+a2sErFtTw3pHwCG91F7R1sGpe0p asXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693998239; x=1694603039; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=vkdMlZWIZ87J/HiDbnTH52L1hjUpnVsvx2tJbndX7mk=; b=QuDdw894kno4FxTMPikly1vdEzqfdvk4v4lfYhvhW7Z+ZCn2PXSzXFh3gUUMvMCEqM mM0Kjws0BNcGqxXt2nv3VzUhH7a2X5kSwbEVMrrIaeh7lluYDwuvOYHtkvwazPfHGPLf VDHYewT1Pdy6URuyqekQHyoi4h5J5D2EoAY5Am81nZViKavJHzyqq902MzolB/LJDvlb dKezsBpaIyUDbKoyjNPoZZOQfVxj2t4cgrQdDMkegykDh+0YpEd/MSvSf3NmmmOg+5+0 3k9K1Cjf+eFqvmYkd/zgSGTW7YVu2WfbLOREsua7uSIPEBBWAtw3UDr9AGO8xOhdsxkl FtdQ== X-Gm-Message-State: AOJu0YwysRg4QT/EI2HvbIpHysNMrRng0wFLR9gx0ZxPUMjc8HibeHNa Gan4XrNg7RJz4HNgmle2eoeT4UvKHQP4/ArIkf1WWol25KE= X-Google-Smtp-Source: AGHT+IH7YTsawPP0tL3ERXqjtdHQ/Up0+VgDSzyQN0ySi1G8txfx8Xlov0YgXdUfnQe3tGKf0GIR+u4fK66v/fL2rvo= X-Received: by 2002:ac2:455b:0:b0:4f9:570c:7b28 with SMTP id j27-20020ac2455b000000b004f9570c7b28mr1767508lfm.32.1693998238922; Wed, 06 Sep 2023 04:03:58 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 6 Sep 2023 04:03:58 -0700 In-Reply-To: (Ruijie Yu's message of "Sat, 13 May 2023 13:27:06 +0800") 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:269505 Archived-At: 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. Ruijie Yu writes: > In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.37, cairo version 1.17.8) of 2023-05-06 built on ruijie > Repository revision: f261226d9be4630572df322b2c4f48713c9c2fce > Repository branch: makepkg > System Description: Arch Linux > > > Hello, > > While trying out Jo=C3=A3o's breadcrumb package, I noticed a few issues > regarding `read-symbol-shorthands'. Searching this variable on debbugs > yields zero results, so I figured maybe I should at least let the > bugtracker know about them. > > First, docstrings do not resolve shorthands at the moment. [Not the > main point of this thread. If we are interested in changing that > behavior, we can discuss it in a new thread.] > > Second, autoload generation, at least the portion responsible for > `package-vc-install', does not seem to translate the shorthands. > > What I did: > > ;; ~15-days-old master > $ emacs -Q -nw > > M-x load-lib package-vc RET > > M-: (package-vc-install '(breadcrumb > :url "https://github.com/joaotavora/breadcrumb" > :rev "e508856a59d18a0d006e215497b5190b3b517791")) RET > > M-x find-lib breadcrumb-autoloads.el RET > > Note these portions in breadcrumb.el: > > ;;;###autoload > (defun bc-imenu-crumbs () > "Describe point inside the Imenu tree of current file." > ...) > > ... > > ;; Local Variables: > ;; read-symbol-shorthands: (("bc-" . "breadcrumb-")) > ;; End: > > > What I noticed from the generated autoloads file, > breadcrumb-autoloads.el: > > ;;; Generated autoloads from breadcrumb.el > > (autoload 'bc-imenu-crumbs "breadcrumb" "\ > Describe point inside the Imenu tree of current file.") > ... > > The first argument to `autoload' here should probably be translated to > the full name `breadcrumb-imenu-crumbs', and likewise elsewhere.