unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19736: 24.4; python.el: native completion breaks ipython magic completion
@ 2015-01-30 22:29 Carlos Pita
  2015-02-02 17:30 ` bug#19736: Carlos Pita
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Carlos Pita @ 2015-01-30 22:29 UTC (permalink / raw)
  To: 19736; +Cc: fabi.87

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-09  3:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30 22:29 bug#19736: 24.4; python.el: native completion breaks ipython magic completion Carlos Pita
2015-02-02 17:30 ` bug#19736: Carlos Pita
2015-02-02 17:38 ` bug#19736: Carlos Pita
2015-02-02 19:27 ` bug#19736: Carlos Pita
2015-04-09  3:57 ` bug#19736: python.el: native completion breaks ipython magic completion Fabián Ezequiel Gallina

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).