GNU bug report logs - #19755
python.el: native completion: more problems (and solutions)

Previous Next

Package: emacs;

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

Date: Tue, 3 Feb 2015 12:41:02 UTC

Severity: normal

Tags: patch

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

Full log


Message #11 received at 19755 <at> debbugs.gnu.org (full text, mbox):

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: 19755 <at> debbugs.gnu.org
Cc: fgallina <at> gnu.org
Subject: Re: bug#19755: python.el: native completion: more problems (and
 solutions)
Date: Thu, 5 Feb 2015 11:25:31 -0300
Ok, after a conversation with Fabian I understood which are the
shortcomings of the legacy mechanism:

1) While inside a block of code asking a completion to the shell makes
it believe that you're not inside the block anymore.

2) Spurious prompt number increments take place each time a completion
is requested to the shell.

So it's not just a matter of the completer being the preinstalled by
the shell or some other one that python.el instantiates itself during
the setup phase.

Another solution could be to open a simple python helper thread that
listens on a socket. This thread could provide documentation for eldoc
or for help buffers (I'm about to post a RFE for this feature),
besides the completions. Another adventage is that it will be possible
to unify the completion mechanisms again.

What do you think?

Cheers
--
Carlos




This bug report was last modified 10 years and 47 days ago.

Previous Next


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