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.devel Subject: Re: info-look for things other than elisp lookup Date: Sun, 16 Jan 2022 20:05:50 +0200 Message-ID: <83bl0by2rl.fsf@gnu.org> References: <87sftoql88.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: emacs18@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 16 19:07:19 2022 Return-path: Envelope-to: ged-emacs-devel@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 1n99vy-000AZe-TC for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 19:07:19 +0100 Original-Received: from localhost ([::1]:37322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n99vy-0001P4-0q for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 13:07:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n99uk-0000ET-VB for emacs-devel@gnu.org; Sun, 16 Jan 2022 13:06:02 -0500 Original-Received: from [2001:470:142:3::e] (port=51452 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n99uk-0004BQ-Lv; Sun, 16 Jan 2022 13:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=v6DHPqaCGf4Md0rJzFDrBlgqAKIip9r6Ov1+BXRMA9Q=; b=Lqly1qlg19Kx rjAg/Sm8DRgR4lOZbusrwRKsbRI03tTXF1PmKDhbhBoh/cm0Aw5tLk3/xJckdSyiGWqeVLSlbFvNa TDSAfYdR7IJg5zBckYHg/ybGWmVknq2O9xeUigIltdxaKwrTYQ5MU+j4hGCxXR76A4mUS6yOxT77Y X8ioT5WmnVdJNXZeMB5E+hDwqiBo1/j5KexGWIPwwnkGIuKwi5NXHYfrAghOF4jufTx5RPbSoD31f mHtQTtydwRbTwx95gS/cKGDxTzRe6gJobzfhSSIkMRxqehfVafJsUJhuoNuTJfRZEuh5bQTLKbOke ZdNcIh2u4ygbwLVlMkAfgg==; Original-Received: from [87.69.77.57] (port=1426 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 1n99uk-0002gG-P0; Sun, 16 Jan 2022 13:06:03 -0500 In-Reply-To: <87sftoql88.fsf@gmail.com> (message from Richard Kim on Sat, 15 Jan 2022 21:54:15 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:284843 Archived-At: > From: Richard Kim > Date: Sat, 15 Jan 2022 21:54:15 -0800 > > When ~C-h S~ key, bound to ~info-lookup-symbol~, is hit with the cursor over > "round" symbol, then it is reasonable to expect this to bring up Python info > document and put the cursor on the line that documents ~round()~ python function. > However we encounter this error: > > : Not documented as a symbol: round > > I believe this is due to the absence of "round" item in the menu at > ~(python)Index~ info node. Instead of item named "round" I see menu time named > "round() (built-in function)". I have ~python.info~ file installed via > https://github.com/Wilfred/python-info.git package. I thought that initially as well, but then I tried to manually type "round()" at the "C-h S"s prompt, and I still get "not documented". Then I stepped through the code, and saw that its completion candidate list is nil. So my current theory is that the data added by python-mode to the DB used by info-look.el is incorrect: it should be similar to what C Mode does. When it does so, it should also take into account the (bad) practice of the Python docs to follow the function names by "()" in the index. I believe this warrants a full bug report, with all the details. Thanks.