emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68559: closed ([PATCH] Improve Python shell completion)


From: GNU bug Tracking System
Subject: bug#68559: closed ([PATCH] Improve Python shell completion)
Date: Thu, 08 Feb 2024 16:44:01 +0000

Your message dated Thu, 08 Feb 2024 18:43:04 +0200
with message-id <86jznex5yf.fsf@gnu.org>
and subject line Re: bug#68559: [PATCH] Improve Python shell completion
has caused the debbugs.gnu.org bug report #68559,
regarding [PATCH] Improve Python shell completion
to be marked as done.

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


-- 
68559: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68559
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Improve Python shell completion Date: Thu, 18 Jan 2024 12:48:37 +0800
Hi,

Currently python-shell-completion-at-point doesn't respect the
delimiter setting of readline completer and always split the text,
resulting in poor completions when completers that don't need word
splitting, e.g. jedi[1], is used. This patch fixes the problem.

Meanwhile, this patch adds an option 'python-shell-readline-completer'
to make Python shell provide better completion experience (e.g.
completing function parameters, dictionary keys) by default if users
are using vanilla Python interpreter with jedi or using IPython, where
the completion support for IPython has been enhanced (e.g. showing
type annotations and function signatures).

BTW, I think it may make sense to move Python snippets to a separate
file to make them easier to be maintained.

Thanks.

Best,

[1] https://jedi.readthedocs.io/en/latest/docs/usage.html#repl-completion

Attachment: 0001-Improve-Python-shell-completion.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#68559: [PATCH] Improve Python shell completion Date: Thu, 08 Feb 2024 18:43:04 +0200
> From: Liu Hui <liuhui1610@gmail.com>
> Date: Thu, 8 Feb 2024 22:16:23 +0800
> Cc: kobarity@gmail.com, 68559@debbugs.gnu.org
> 
> On Thu, Feb 8, 2024 at 9:46 PM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > From: Liu Hui <liuhui1610@gmail.com>
> > > Date: Thu, 8 Feb 2024 21:33:10 +0800
> > > Cc: kobarity <kobarity@gmail.com>, 68559@debbugs.gnu.org
> > >
> > > On Thu, Feb 8, 2024 at 8:13 PM Eli Zaretskii <eliz@gnu.org> wrote:
> > >
> > > > What about the other patch, one you posted in
> > > >
> > > >   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68559#46
> > > >
> > > > Does that one need to be installed as well, or is it included in the
> > > > one I just installed?
> > >
> > > The installed one is complete. Thanks.
> >
> > Great, thanks.  Then this bug can be closed now, right?
> 
> Yes, please.

Thanks, closing.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]