From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63480: 30.0.50; [BUG] unimplemented logic regarding read-symbol-shorthands Date: Sat, 13 May 2023 13:27:06 +0800 Message-ID: Reply-To: Ruijie Yu 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="36721"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.3; emacs 30.0.50 To: 63480@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 13 07:28:23 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 1pxhnr-0009Md-6H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 May 2023 07:28:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxhnY-000494-2l; Sat, 13 May 2023 01:28:04 -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 1pxhnW-00048v-Ea for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxhnW-0007k4-6P for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxhnW-0007mO-1s for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2023 05:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63480 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168395567029882 (code B ref -1); Sat, 13 May 2023 05:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 May 2023 05:27:50 +0000 Original-Received: from localhost ([127.0.0.1]:35325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxhnJ-0007ls-Oq for submit@debbugs.gnu.org; Sat, 13 May 2023 01:27:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxhnH-0007lk-Vb for submit@debbugs.gnu.org; Sat, 13 May 2023 01:27: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 1pxhnH-00046t-NN for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:27:47 -0400 Original-Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxhnF-0007iC-PU for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:27:47 -0400 Original-Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 5a8ad600 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 13 May 2023 05:27:43 +0000 (UTC) Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:261656 Archived-At: --8<---------------cut here---------------start------------->8--- 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 --8<---------------cut here---------------end--------------->8--- 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: --8<---------------cut here---------------start------------->8--- ;;;###autoload (defun bc-imenu-crumbs () "Describe point inside the Imenu tree of current file." ...) ... ;; Local Variables: ;; read-symbol-shorthands: (("bc-" . "breadcrumb-")) ;; End: --8<---------------cut here---------------end--------------->8--- What I noticed from the generated autoloads file, breadcrumb-autoloads.el: --8<---------------cut here---------------start------------->8--- ;;; Generated autoloads from breadcrumb.el (autoload 'bc-imenu-crumbs "breadcrumb" "\ Describe point inside the Imenu tree of current file.") ... --8<---------------cut here---------------end--------------->8--- The first argument to `autoload' here should probably be translated to the full name `breadcrumb-imenu-crumbs', and likewise elsewhere. --=20 Best, RY