GNU bug report logs -
#77859
[PATCH] Handle empty cancidates in python-shell-completion-at-point
Previous Next
Full log
View this message in rfc822 format
> From: Christian Sattler <sattler.christian <at> gmail.com>
> Date: Thu, 17 Apr 2025 11:04:16 +0200
>
> Fixes regression bug#77853.
>
> From bfd998ef21accf658e9938b53086925f50ec9ddf Mon Sep 17 00:00:00 2001
> From: Christian Sattler <sattler.christian <at> gmail.com>
> Date: Wed, 16 Apr 2025 22:03:46 +0200
> Subject: [PATCH] Handle empty cancidates in python-shell-completion-at-point.
>
> This fixes a regression (bug#77853) introduced by 0b9c714:
> 2024-02-08 "Respect the delimiter of completer in Python shell completion"
> ---
> lisp/progmodes/python.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
> index 6fbabe99cb0..ed87a67ad30 100644
> --- a/lisp/progmodes/python.el
> +++ b/lisp/progmodes/python.el
> @@ -4894,7 +4894,8 @@ python-shell-completion-at-point
> :annotation-function
> (lambda (c) (concat " " (nth 3 (assoc c cands))))
> :company-docsig
> - (lambda (c) (nth 4 (assoc c cands)))))))))
> + (lambda (c) (nth 4 (assoc c cands)))))
> + (t (list start end (cddr python-shell--capf-cache)))))))
>
> (define-obsolete-function-alias
> 'python-shell-completion-complete-at-point
> --
> 2.48.1
>
Should this be installed, or did the fix for bug#77853 fix this as
well?
This bug report was last modified 26 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.