unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 19736@debbugs.gnu.org
Cc: fabi.87@gmail.com
Subject: bug#19736: 24.4; python.el: native completion breaks ipython magic completion
Date: Fri, 30 Jan 2015 19:29:41 -0300	[thread overview]
Message-ID: <87y4ojhpgq.fsf@gmail.com> (raw)

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





             reply	other threads:[~2015-01-30 22:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30 22:29 Carlos Pita [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4ojhpgq.fsf@gmail.com \
    --to=carlosjosepita@gmail.com \
    --cc=19736@debbugs.gnu.org \
    --cc=fabi.87@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).