From unknown Sat Sep 20 18:57:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50675 <50675@debbugs.gnu.org> To: bug#50675 <50675@debbugs.gnu.org> Subject: Status: pcomplete capf fails inside strings Reply-To: bug#50675 <50675@debbugs.gnu.org> Date: Sun, 21 Sep 2025 01:57:56 +0000 retitle 50675 pcomplete capf fails inside strings reassign 50675 emacs submitter 50675 meedstrom@teknik.io severity 50675 normal tag 50675 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 19 10:18:27 2021 Received: (at submit) by debbugs.gnu.org; 19 Sep 2021 14:18:27 +0000 Received: from localhost ([127.0.0.1]:39466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRxeF-0003BC-Di for submit@debbugs.gnu.org; Sun, 19 Sep 2021 10:18:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:32858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRxe4-0003Ap-Uv for submit@debbugs.gnu.org; Sun, 19 Sep 2021 10:18:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRxe4-0004Ve-Pg for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 10:18:16 -0400 Received: from mail.teknik.io ([5.79.72.163]:50138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRxe2-0006HF-R3 for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 10:18:16 -0400 dkim-signature: v=1; a=rsa-sha256; d=teknik.io; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=fvDBYilbClrAz7/HkjwB0b3ux6DMoRHxNnOUrdM+reo=; b=euXqUvJk7/CDaJlPfh9AwMg29RJeWRjXZ5Qzj7Oe4Zkbd8lh1u9ajPXR9KUIq4pP1FPIODj3D2r/LY1yANJMvHlmufVd494C9bMqwD/hvNmLzlXt/Eqpq4LmiAfNIL6p8pdDSusjGpMZ0mWN9PM+J2Kwfe8MTU5mtMg6WSa9H6kTdstjsWZJmJgfOYSbajAlIOYtQbLU5JIZqGwAGnWS4XPTEtXuw5AoTm0BUawqOycZun6m5Y/EtPVJc9 g9snC0i5s5Zbv4ZBafwpNPIlD8uyQ7n6b2DybRY9cdvaYptDaq0Oj0VD+rWPH5FTkot5+L7qR4nEkQRG/O0RHEk5dv6A== Received: from mail.teknik.io (TEKNIK-SERVER [5.79.72.163]) by mail.teknik.io with ESMTPSA (version=TLSv1.2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128) ; Sun, 19 Sep 2021 07:18:11 -0700 Mime-Version: 1.0 Date: Sun, 19 Sep 2021 14:18:11 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.11.3 From: meedstrom@teknik.io Message-ID: Subject: pcomplete capf fails inside strings To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=5.79.72.163; envelope-from=meedstrom@teknik.io; helo=mail.teknik.io X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Steps to reproduce:=0A=0A1. Launch emacs -Q=0A2. Type M-x eshell RET=0A3.= Type a quotation mark "=0A4. Type TAB=0A=0AResults in "Warning: pcomplet= e-completions-at-point failed to return valid completion data!" and a tab= character is inserted.=0A=0AMight be considered two separate bugs becaus= e when a CAPF fails, it should not insert a tab character? A consequence= of inserting one is that when a package like corfu in auto mode (https:/= /github.com/minad/corfu) tries to call a CAPF on nearly every keystroke, = I get lots of tab characters.=0A=0AMartin Edstr=C3=B6m=0A=0A=0AIn GNU Ema= cs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo ver= sion 1.16.0)=0AWindowing system distributor 'Configured using:=0A 'config= ure=0A CONFIG_SHELL=3D/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-mi= nimal-5.0.16/bin/bash=0A SHELL=3D/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfy= k72-bash-minimal-5.0.16/bin/bash=0A --prefix=3D/gnu/store/j1bci192j9n8bdr= 7m78asn71izfspmvw-emacs-pgtk-native-comp-28.0.50-206.7b62cfc=0A --enable-= fast-install --with-native-compilation --with-pgtk=0A --with-xwidgets --w= ith-modules --with-cairo --disable-build-details'=0A=0AConfigured feature= s:=0AACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ J= PEG=0AJSON LIBOTF LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY= =0APDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X= IM=0AXWIDGETS GTK3 ZLIB=0A=0AImportant settings:=0A value of $EMACSLOADP= ATH: /home/kept/guix-profiles/emacs/emacs/share/emacs/site-lisp:/gnu/stor= e/j1bci192j9n8bdr7m78asn71izfspmvw-emacs-pgtk-native-comp-28.0.50-206.7b6= 2cfc/share/emacs/28.0.50/lisp:/gnu/store/j1bci192j9n8bdr7m78asn71izfspmvw= -emacs-pgtk-native-comp-28.0.50-206.7b62cfc/share/emacs/28.0.50/lisp=0A = value of $LANG: en_DK.utf8=0A locale-coding-system: utf-8-unix=0A=0AMajo= r mode: Eshell=0A=0AMinor modes in effect:=0A shell-dirtrack-mode: t=0A = eshell-prompt-mode: t=0A eshell-hist-mode: t=0A eshell-pred-mode: t=0A= eshell-cmpl-mode: t=0A eshell-proc-mode: t=0A eshell-arg-mode: t=0A = tooltip-mode: t=0A global-eldoc-mode: t=0A electric-indent-mode: t=0A = mouse-wheel-mode: t=0A tool-bar-mode: t=0A menu-bar-mode: t=0A file-na= me-shadow-mode: t=0A global-font-lock-mode: t=0A font-lock-mode: t=0A = blink-cursor-mode: t=0A auto-composition-mode: t=0A auto-encryption-mod= e: t=0A auto-compression-mode: t=0A line-number-mode: t=0A indent-tabs= -mode: t=0A transient-mark-mode: t=0A=0ALoad-path shadows:=0ANone found.= =0A=0AFeatures:=0A(shadow sort mail-extr emacsbug message rmc puny dired = dired-loaddefs=0Arfc822 mml mml-sec epa derived epg rfc6068 epg-config gn= us-util rmail=0Armail-loaddefs auth-source cl-seq eieio eieio-core cl-mac= s=0Aeieio-loaddefs password-cache json map text-property-search time-date= =0Asubr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev=0Ag= mm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util=0Amail-pr= svr mail-utils em-unix em-term term disp-table shell ehelp=0Aem-script em= -prompt em-ls cl-loaddefs cl-lib em-hist em-pred em-glob=0Aem-cmpl em-dir= s esh-var pcomplete comint ansi-color ring em-basic=0Aem-banner em-alias = esh-mode eshell esh-cmd esh-ext esh-opt esh-proc=0Aesh-io esh-arg esh-mod= ule esh-groups esh-util seq byte-opt gv bytecomp=0Abyte-compile cconv iso= -transl tooltip eldoc electric uniquify ediff-hook=0Avc-hooks lisp-float-= type mwheel term/pgtk-win pgtk-win term/common-win=0Atool-bar dnd fontset= image regexp-opt fringe tabulated-list replace=0Anewcomment text-mode el= isp-mode lisp-mode prog-mode register page=0Atab-bar menu-bar rfn-eshadow= isearch easymenu timer select scroll-bar=0Amouse jit-lock font-lock synt= ax font-core term/tty-colors frame=0Aminibuffer cl-generic cham georgian = utf-8-lang misc-lang vietnamese=0Atibetan thai tai-viet lao korean japane= se eucjp-ms cp51932 hebrew greek=0Aromanian slovak czech european ethiopi= c indian cyrillic chinese=0Acomposite charscript charprop case-table epa-= hook jka-cmpr-hook help=0Asimple abbrev obarray cl-preloaded nadvice butt= on loaddefs faces=0Acus-face macroexp files window text-properties overla= y sha1 md5 base64=0Aformat env code-pages mule custom widget hashtable-pr= int-readable=0Abackquote threads xwidget-internal dbusbind inotify dynami= c-setting=0Asystem-font-setting font-render-setting cairo move-toolbar gt= k x-toolkit=0Apgtk multi-tty make-network-process native-compile emacs)= =0A=0AMemory information:=0A((conses 16 94111 7609)=0A (symbols 48 8410 0= )=0A (strings 32 25538 2114)=0A (string-bytes 1 947094)=0A (vectors 16 18= 049)=0A (vector-slots 8 364818 9944)=0A (floats 8 26 27)=0A (intervals 56= 233 0)=0A (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 29 07:33:19 2021 Received: (at control) by debbugs.gnu.org; 29 Sep 2021 11:33:19 +0000 Received: from localhost ([127.0.0.1]:47907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVXpu-00017z-Qa for submit@debbugs.gnu.org; Wed, 29 Sep 2021 07:33:18 -0400 Received: from mail-pj1-f48.google.com ([209.85.216.48]:52957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVXpp-00017O-D2 for control@debbugs.gnu.org; Wed, 29 Sep 2021 07:33:14 -0400 Received: by mail-pj1-f48.google.com with SMTP id v19so1440943pjh.2 for ; Wed, 29 Sep 2021 04:33:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=XEJdVBfAKjZj6m2AWyROzS576kjYEJTi9Mk/Bwc9ur8=; b=yE7OFvLs1xWdbc4G4akSiHmipEMkwj6/fhGrTMiCgZcLaxBaTow2kP66RtYYdW8iwa LADnoFBvfJmzbCMH6IUGlPFuezcJhz5c4CRu20X9DRlRkIcSrbhscC06JYQcY29G8ng8 3juiR2XNqkHoq2oNKyM6WaBE4dNuWSa2nf/L9JSWXueLwbR9RXoj/F4dK9m6VNAJQdsH jxuZ9KRaH9vwKBlCdkIjBnIr59rrTvOqudeiZzvIWarvzUnoZinugXEhpIJdRFuXJb53 QC+zbVrH4SSLCmzzxgyN4N1xjUIKLFXFTCYa5gPq//iuWpen0d8jdwy6X4dwKp95spc1 mZQg== X-Gm-Message-State: AOAM5338gcRNldd1Uw+MiGD4J2SGP63CL3kd2SDtYsNl2Ix0hdax0NiY j2c3FKXFvdQgFS1jCUT0jD3TQwI0olWmdJPcuKO9VsQj X-Google-Smtp-Source: ABdhPJzqTCu4fuq1Vlu3viJwsH2WBoUHGbPKZNNztQpCF49uA0YXRc1uX/9TCAUDD7TZfkgvTDX09H5lUiyxUqwkoqY= X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr5651823pji.133.1632915187766; Wed, 29 Sep 2021 04:33:07 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 29 Sep 2021 04:33:07 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 29 Sep 2021 04:33:07 -0700 Message-ID: Subject: control message for bug #50675 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) found 50675 27.1 found 50675 28.0.50 tags 50675 + confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 04:26:38 2022 Received: (at 50675) by debbugs.gnu.org; 8 May 2022 08:26:39 +0000 Received: from localhost ([127.0.0.1]:53377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nncFS-000694-M1 for submit@debbugs.gnu.org; Sun, 08 May 2022 04:26:38 -0400 Received: from mail.teknik.io ([5.79.72.163]:56403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nncFR-00068o-6C for 50675@debbugs.gnu.org; Sun, 08 May 2022 04:26:37 -0400 dkim-signature: v=1; a=rsa-sha256; d=teknik.io; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type; bh=ewM3HPmMSZSnRJpqQAWY/jeiI4NSOnwqi+o5W2pbbg0=; b=cspkGypB0QqSevaOM34K951PedtdDxp6HzzYSXAP4dJPthHqY2j3+mvsovSltWeqhm8wqJGjLqPbk+3DpSJ6hKQHZaT6MN5VZ/aSweaxL/qc1gXkl0FztfGwHNYCNXTVqDJuCWQ1gj+ozobOIQYCAdBr7cQyX2f16FuwcIFJ06QBBXn7edv9bGnnqBbWfe47Tmk1yTR0ajamEtzr+n4B6HxwOxTgPm9oz/P5HfBqKtgElLIF7yIPaE7zBA zYbpJdpCxaA6N7pNDkESuNjsX9wGDi3yT2qxZnDpFNmZ+X0KSBzew/RbdXdNl0Z5CI3f3N0tT59MK/eCvo9Dpw0hWrqA== Received: from mail.teknik.io (TEKNIK-SERVER [5.79.72.163]) by mail.teknik.io with ESMTPSA (version=TLSv1.2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128) ; Sun, 8 May 2022 01:26:30 -0700 MIME-Version: 1.0 Date: Sun, 08 May 2022 08:26:30 +0000 Content-Type: multipart/alternative; boundary="c5de6ad8-c45f-4242-b2be-c3c381865ea9-1" From: meedstrom@teknik.io Message-ID: Subject: more info To: 50675@debbugs.gnu.org X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50675 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --c5de6ad8-c45f-4242-b2be-c3c381865ea9-1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Okay, so the warning message "pcomplete-completions-at-point fails to ret= urn valid completion data" originates from completion-at-point in minibuf= fer.el. There's a comment in there that says if the CAPF returned t, it assumes c= ompletion already happened. It does seem that the CAPF returns t, at leas= t 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 --c5de6ad8-c45f-4242-b2be-c3c381865ea9-1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Okay, so the warning message= "pcomplete-completions-at-point fails to return valid completion data" o= riginates from completion-at-point in minibuffer.el.

=
There's a comment in there that says if the CAPF returned t, it assu= mes 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
<= div>2. M-x debug-on-entry RET pcomplete-completions-at-point RET3. type a quote mark in eshell and press TAB
--c5de6ad8-c45f-4242-b2be-c3c381865ea9-1-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 04 18:32:00 2022 Received: (at 50675) by debbugs.gnu.org; 4 Jun 2022 22:32:00 +0000 Received: from localhost ([127.0.0.1]:59754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxcJL-0006Jr-Sx for submit@debbugs.gnu.org; Sat, 04 Jun 2022 18:32:00 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:45995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxcJK-0006Jb-Ia for 50675@debbugs.gnu.org; Sat, 04 Jun 2022 18:31:58 -0400 Received: by mail-wm1-f43.google.com with SMTP id n124-20020a1c2782000000b003972dfca96cso6059067wmn.4 for <50675@debbugs.gnu.org>; Sat, 04 Jun 2022 15:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=qZUiCYFNXR/Bj9PcWojPmQYAtlpJKfJ4nBRHhrRhrWs=; b=L+j06O88u2iFl2bCZWiXYr8+4QNcBV40HYTpLvPEG46MX2Q9lpjDVPVyr02WxXSdU+ mRZWL/L5g5mTvowhkDI80Vg4y9wA4mnGo59d78xK7oesjgpCPSErlEo40D2ydcwUaaPH MyUtSZu8VW9TCzZmJhiZLpGuNrP8e/Y+6APaGPM6GU4OY1+rOaChvryJ5a/c+nvB3l60 o4cOjrr0hKvWOVBEZNpwzU/kTEZazDMc1AoURSFV/LBKbFr01rD7dt0fYpvntNzy6ELb 7g08SsBP91kxjWHapVHQEWsjoyohkBC5rxZOwnThBg1hlreY8K4IyoqJ4+mpUD6bMtUv Uf6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=qZUiCYFNXR/Bj9PcWojPmQYAtlpJKfJ4nBRHhrRhrWs=; b=Wd4e6sEPePDGVfgnVqwJLrPLjYMuAV+4v6u/ZbjRHZXUfnIO+eDsWzuko1BNIjaBJg Wt9wh2bS9CsuPpxivuWP/Mz7gCig0YF2AV+wINeqHNP6WyPnbHpfVqGZDb6dLOXLqQKM S5mVVD184y63vEQmEuiGogtSABH/mn/2LplOOr1ufF/fItA+jyEd4R7d1kk0zhRzQAl1 BGUVkxMOcb3uVP7XgXp7fRTkQPBAA7vgN7MlNhe4XqUtBJ63rP+ju2Kvx1MWRGDdFSTh CWsoH5XWtRzNij9ekXhTw9qGgvnaN6WKt+RyO5h9IxuRKs3jSRSo4pAJ2IqMZAgrDbhN TIPQ== X-Gm-Message-State: AOAM5304P+4IUJpcsfQ9YidPvf4gPNHKC9w6yb5mY7W1J9yf81570W/x ZN5Cyjhg/54PAjFZqZlRGc4= X-Google-Smtp-Source: ABdhPJyIl8gjZuWcU0GBoiDI6NyRHX/y3fT3JrtY+XjO/KFTK0opqQmLkq7BM+Q1s5bXT9ELA7+37w== X-Received: by 2002:a05:600c:5112:b0:397:53f5:e15b with SMTP id o18-20020a05600c511200b0039753f5e15bmr15435962wms.93.1654381912559; Sat, 04 Jun 2022 15:31:52 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id p18-20020adff212000000b002117f872f81sm10252722wro.113.2022.06.04.15.31.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 Jun 2022 15:31:52 -0700 (PDT) Message-ID: <0bd70ae6-a257-92c6-dbc2-6f29de8580e4@yandex.ru> Date: Sun, 5 Jun 2022 01:31:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: bug#50675: more info Content-Language: en-US To: meedstrom@teknik.io, 50675@debbugs.gnu.org References: From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 50675 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Hi! On 08.05.2022 11:26, meedstrom--- via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > 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 Sorry for the late reply. This bug seems like a duplicate of bug#50470, which we almost got fixed, but... then bug#55204 came around, patch merged, and the behavior doesn't seem to reproduce anymore. Check the latest master sometime, see if you can still trigger the problem. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 08:17:21 2022 Received: (at 50675) by debbugs.gnu.org; 26 Aug 2022 12:17:21 +0000 Received: from localhost ([127.0.0.1]:52557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRYH3-0003A5-GB for submit@debbugs.gnu.org; Fri, 26 Aug 2022 08:17:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRYH1-00039p-RZ for 50675@debbugs.gnu.org; Fri, 26 Aug 2022 08:17:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LSQj5ARl6JDKDl1Bskx/bxnWvtHJQ4z3mGui91RM1BY=; b=N2XngXGgHQWlkd3CMXoYX180Tp n5lRveInrc1ki0cHGVPi5p8Nz06kMdwZ4rKKDZfE6oXCbVwtkPNUvKMRxgke24I7xuN4aQkUbGYzz oQ2sibhQKUZ173cdVeNnYP9vnyGyI2TU2olNs7aRb3jSpqqzH2r0hYQo1cJUc+V99qRc=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRYGt-00016S-GA; Fri, 26 Aug 2022 14:17:13 +0200 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#50675: pcomplete capf fails inside strings In-Reply-To: <0bd70ae6-a257-92c6-dbc2-6f29de8580e4@yandex.ru> (Dmitry Gutov's message of "Sun, 5 Jun 2022 01:31:50 +0300") References: <0bd70ae6-a257-92c6-dbc2-6f29de8580e4@yandex.ru> X-Now-Playing: David Sylvian's _Dead Bees on a Cake_: "Wanderlust" Date: Fri, 26 Aug 2022 14:17:10 +0200 Message-ID: <87tu5zb3nd.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Gutov writes: > This bug seems like a duplicate of bug#50470, which we almost got > fixed, but... then bug#55204 came around, patch merged, and the > behavior doesn't seem to reproduce anymore. > > Check the latest [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50675 Cc: 50675@debbugs.gnu.org, meedstrom@teknik.io X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dmitry Gutov writes: > This bug seems like a duplicate of bug#50470, which we almost got > fixed, but... then bug#55204 came around, patch merged, and the > behavior doesn't seem to reproduce anymore. > > Check the latest master sometime, see if you can still trigger the problem. I can't reproduce the problem with the given recipe on the current trunk, so it looks like this has been fixed, and I'm therefore closing this bug report. If the problem still exists, please respond to the debbugs address and we'll reopen. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 08:17:27 2022 Received: (at control) by debbugs.gnu.org; 26 Aug 2022 12:17:27 +0000 Received: from localhost ([127.0.0.1]:52560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRYH8-0003AM-RA for submit@debbugs.gnu.org; Fri, 26 Aug 2022 08:17:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRYH7-00039w-AH for control@debbugs.gnu.org; Fri, 26 Aug 2022 08:17:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=p31KH3VrsKp4VPBJMSK3f1vE+d7VW8tKdVZkqpoM24c=; b=WgjVR0zjOv29y50vX04b9dIQBE 8drpS1Ue3hspuv9OtzZBxd6mA+sxOkg2e3iI+uBbWkjDvbHNb4oOR0vDJjCGKUE74nB2xFSUG8MLC TWh8zFo8GUQAWpb5S5iLOE6gWidfDpy30ZbyW5bbQpctx+isetfKihAUAO/RvCrifhj4=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRYGz-00016Z-FC for control@debbugs.gnu.org; Fri, 26 Aug 2022 14:17:19 +0200 Date: Fri, 26 Aug 2022 14:17:15 +0200 Message-Id: <87sfljb3n8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50675 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 50675 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 50675 quit From unknown Sat Sep 20 18:57:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Sep 2022 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator