GNU bug report logs - #50675
pcomplete capf fails inside strings

Previous Next

Package: emacs;

Reported by: meedstrom <at> teknik.io

Date: Sun, 19 Sep 2021 14:19:02 UTC

Severity: normal

Tags: confirmed

Found in versions 27.1, 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 50675 <at> debbugs.gnu.org (full text, mbox):

From: meedstrom <at> teknik.io
To: 50675 <at> debbugs.gnu.org
Subject: more info
Date: Sun, 08 May 2022 08:26:30 +0000
[Message part 1 (text/plain, inline)]
Okay, so the warning message "pcomplete-completions-at-point fails to return valid completion data" originates from completion-at-point in minibuffer.el.

There's a comment in there that says if the CAPF returned t, it assumes completion already happened. It does seem that the CAPF returns t, at least in eshell in a string. So that may be the root of the problem.

I'm not 100% sure I'm interpreting the debugger right. To do what I did,

1. emacs -Q

2. M-x debug-on-entry RET pcomplete-completions-at-point RET
3. type a quote mark in eshell and press TAB
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.