GNU bug report logs - #51196
29.0.50; python.el eldoc problems

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita2 <at> gmail.com>

Date: Wed, 13 Oct 2021 23:44:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Carlos Pita <carlosjosepita2 <at> gmail.com>
Cc: 51196 <at> debbugs.gnu.org
Subject: bug#51196: 29.0.50; python.el eldoc problems
Date: Fri, 15 Oct 2021 22:22:29 +0200
On Wed, 13 Oct 2021 at 20:42, Carlos Pita <carlosjosepita2 <at> gmail.com> wrote:

> I've expressed this opinion before regarding the autocompletion
> mechanism, which shows similar shortcomings, I believe that the best
> options are:
>
> - Have a sane, solid and simple python.el with good syntax highlighting,
>   movements commands, folding, etc. and leave the cleverness to elpy,
>   lsp-mode, eglot, emacs-jupyter or whatever.

But the problematic Eldoc functionality is disabled by default, right?
So leaving it there doesn't hurt anyone --- except for the unwitting
user who doesn't know that this feature is kind of broken.

>
> - If we still want some basic autocompletion and documentation features
>   in this module, then let's do it right and open a thread in the
>   underlying process and talk to it, avoiding the flaky and dangerous
>   mechanism of pretending that emacs is the user typing.

Personally I have zero motivation to implement this, because it would
still require evaluating code before one can get completion or
docstrings.  Nowadays there are decent static analyzers for Python out
there.




This bug report was last modified 3 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.