bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#31409: 25.3; Python.el: getting function signature with eldoc is not


From: Noam Postavsky
Subject: bug#31409: 25.3; Python.el: getting function signature with eldoc is not automatic
Date: Tue, 07 May 2019 22:18:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

address@hidden (S├ębastien Gendre) writes:

> In python-mode, to get a Python function signature in minibuffer, an
> user need to:
> - Start the Python shell (M-x run-python)

You can use C-c C-p.

> - Enable eldoc (M-x eldoc-mode)

This step is no longer needed, global-eldoc-mode is on by default.

> - Send function definition or import to the shell (C-M-x or M-x
> python-shell-send-defun)
>
> It's too much steps and less efficient than what we have for Emacs
> Lisp. :(

The last step (loading function) is needed for Emacs Lisp too.  So I
guess just auto-starting Python shell would be needed.

> It would be so nice if this can be automaticaly done. Just move the
> point on a symbole and Emacs show you its signature directly.
>
> PS: I would be okay to work on this.





reply via email to

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