emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info-look for things other than elisp lookup


From: Eli Zaretskii
Subject: Re: info-look for things other than elisp lookup
Date: Sun, 16 Jan 2022 20:05:50 +0200

> From: Richard Kim <emacs18@gmail.com>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]