[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25753: 25.2; Python mode shell interaction not working 100%
From: |
Live System User |
Subject: |
bug#25753: 25.2; Python mode shell interaction not working 100% |
Date: |
Tue, 21 Feb 2017 18:17:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
npostavs@users.sourceforge.net writes:
> Live System User <nyc4bos@aol.com> writes:
>
>> npostavs@users.sourceforge.net writes:
>>
>> [...]
>>>
>>> Can you try load the attached file in Emacs? Does it show similar
>>> output in the "*py native complete test*" buffer?
>>>
>>> emacs -Q -l py-native-completion.el
>>
>> Attached are my results.
>
> Hmm, that looks like it should be working. Wait, when you said
>
> I was already using that (wrapped in a "with-eval-after-load
> 'python") from:
>
> https://github.com/jorgenschaefer/elpy/issues/887#issuecomment-275175119
>
> to no avail.
>
> You meant the code from that exact comment? That's a broken solution,
> try this instead:
>
> (with-eval-after-load 'python
> (defun python-shell-completion-native-try ()
> "Return non-nil if can trigger native completion."
> (let ((python-shell-completion-native-enable t)
> (python-shell-completion-native-output-timeout
> python-shell-completion-native-try-output-timeout))
> (python-shell-completion-native-get-completions
> (get-buffer-process (current-buffer))
> nil "_"))))
Your version of the solution works for me.
Thanks for your effort!.
>
> If it's still not working, please post the contents of buffer " *Python
> completions redirect*" (note the leading space).
- bug#25753: 25.2; Python mode shell interaction not working 100%, (continued)
- bug#25753: 25.2; Python mode shell interaction not working 100%, Live System User, 2017/02/19
- bug#25753: 25.2; Python mode shell interaction not working 100%, Noam Postavsky, 2017/02/19
- bug#25753: 25.2; Python mode shell interaction not working 100%, Live System User, 2017/02/19
- bug#25753: 25.2; Python mode shell interaction not working 100%, Noam Postavsky, 2017/02/19
- bug#25753: 25.2; Python mode shell interaction not working 100%, Live System User, 2017/02/19
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/19
- bug#25753: 25.2; Python mode shell interaction not working 100%, Live System User, 2017/02/20
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/20
- bug#25753: 25.2; Python mode shell interaction not working 100%, Live System User, 2017/02/20
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/21
- bug#25753: 25.2; Python mode shell interaction not working 100%,
Live System User <=
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/21
- bug#25753: 25.2; Python mode shell interaction not working 100%, Charles A. Roelli, 2017/02/22
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/23
- bug#25753: 25.2; Python mode shell interaction not working 100%, Charles A. Roelli, 2017/02/24
- bug#25753: 25.2; Python mode shell interaction not working 100%, Charles A. Roelli, 2017/02/25
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/25
- bug#25753: 25.2; Python mode shell interaction not working 100%, Charles A. Roelli, 2017/02/25
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/26
- bug#25753: 25.2; Python mode shell interaction not working 100%, Charles A. Roelli, 2017/02/28
- bug#25753: 25.2; Python mode shell interaction not working 100%, npostavs, 2017/02/28