From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31405: 25.3; Python.el doesn't provide infos to info-lookup-symbol Date: Thu, 12 Aug 2021 19:06:03 +0300 Message-ID: <83im0ad4wk.fsf@gnu.org> References: <8736yz4jp9.fsf@k-7.ch> <87k0kqkayt.fsf@gnus.org> <871r6yd7c1.fsf@tcd.ie> <87o8a2hend.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23328"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, stefan@marxist.se, npostavs@gmail.com, 31405@debbugs.gnu.org, seb@k-7.ch To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 12 18:07:20 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 1mEDEm-0005re-PC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Aug 2021 18:07:20 +0200 Original-Received: from localhost ([::1]:38660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEDEl-0003hu-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Aug 2021 12:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEDEV-0003hV-BP for bug-gnu-emacs@gnu.org; Thu, 12 Aug 2021 12:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEDEU-0007l5-BX for bug-gnu-emacs@gnu.org; Thu, 12 Aug 2021 12:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEDEU-0002J0-6c for bug-gnu-emacs@gnu.org; Thu, 12 Aug 2021 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Aug 2021 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31405 X-GNU-PR-Package: emacs Original-Received: via spool by 31405-submit@debbugs.gnu.org id=B31405.16287843988824 (code B ref 31405); Thu, 12 Aug 2021 16:07:02 +0000 Original-Received: (at 31405) by debbugs.gnu.org; 12 Aug 2021 16:06:38 +0000 Original-Received: from localhost ([127.0.0.1]:39807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEDE2-0002IA-BP for submit@debbugs.gnu.org; Thu, 12 Aug 2021 12:06:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEDDw-0002Hj-04 for 31405@debbugs.gnu.org; Thu, 12 Aug 2021 12:06:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42244) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEDDp-0007Jl-Py; Thu, 12 Aug 2021 12:06:21 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1795 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEDDp-0006h2-Ag; Thu, 12 Aug 2021 12:06:21 -0400 In-Reply-To: <87o8a2hend.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 12 Aug 2021 17:21:58 +0200) 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:211702 Archived-At: > From: Lars Ingebrigtsen > Date: Thu, 12 Aug 2021 17:21:58 +0200 > Cc: 31405@debbugs.gnu.org, Stefan Kangas , > Noam Postavsky , seb@k-7.ch > > "Basil L. Contovounesios" writes: > > > In my case I have to override it as > > > > (with-eval-after-load 'info-look > > (info-lookup-add-help > > :mode 'python-mode > > :doc-spec '(("(python3.9)Index")))) > > > > to match the name and version of the manual installed by Debian. > > I've now adjusted the code to look for the 3.9 manual If Debian is including the version in the file name, and we want to support that, I think we should have a defcustom for users to control which version they want Emacs to look for. Or maybe we should allow a list of file names there, and then we could mention all the known names for reasonably recent versions of Python. Again, the Info system is not designed to support that. For example, hyperlinks from other manuals won't work reliably, and you'd have trouble with the system-wide DIR file, if you ever dare updating it outside of Debian's control.