GNU bug report logs - #19736
python.el: native completion breaks ipython magic completion

Previous Next

Package: emacs;

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

Date: Fri, 30 Jan 2015 22:31:01 UTC

Severity: normal

Tags: patch

Found in version 24.4

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19736: closed (python.el: native completion breaks ipython
 magic completion)
Date: Thu, 09 Apr 2015 03:58:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 09 Apr 2015 00:57:18 -0300
with message-id <87vbh6nech.fsf <at> gnu.org>
and subject line python.el: native completion breaks ipython magic completion
has caused the debbugs.gnu.org bug report #19736,
regarding python.el: native completion breaks ipython magic completion
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
19736: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19736
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Carlos Pita <carlosjosepita <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: fabi.87 <at> gmail.com
Subject: 24.4; python.el: native completion breaks ipython magic completion
Date: Fri, 30 Jan 2015 19:29:41 -0300
Hi Fabian,

I think you should be using [1] as the ipython completer. In a sense,
when you inherit from rlcompleter.Completer and replace the current
completer you're somehow going against the goal of native completion,
aren't you? Wouldn't it be better to just monkey patch the completer
returned by readline.get_completer() with your _callable_postfix in case
the completer indeed defines a _callable_postfix (it seems ipython
completer don't do that)?

Cheers
--
Carlos

[1] http://ipython.org/ipython-doc/dev/api/generated/IPython.core.completer.html


[Message part 3 (message/rfc822, inline)]
From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 19736-done <at> debbugs.gnu.org
Subject: python.el: native completion breaks ipython magic completion
Date: Thu, 09 Apr 2015 00:57:18 -0300
Revno ab9252a <at> master fixes this.


Cheers,
Fabián.


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

Previous Next


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