Make pydoc-info-python-symbol-at-point customisable
The problem of pydoc-info-python-symbol-at-point is that if the
symbol at point is not "full name" you need to type it by hand.
For example, if you do
path = os.path and the symbol at point
path.join, the default value for the look up will be
path.join, instead of
I am trying to solve this problem by using Python IDE library
called Jedi  and my elisp binding Jedi.el . Currently
I am using
defadvice to override the behavior of
(defadvice pydoc-info-python-symbol-at-point (around jedi:pydoc-info-python-symbol-at-point activate) "Use true \"full name\" to search for the symbol at point." (or (setq ad-return-value (jedi:get-full-name-sync)) ad-do-it))
But I think it would be nice to have a configuration variable to modify the behavior. Also, I think it will be friendly for python-mode.el users. What do you think?