From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: meedstrom--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50675: pcomplete capf fails inside strings Date: Sun, 19 Sep 2021 14:18:11 +0000 Message-ID: Reply-To: meedstrom@teknik.io Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19809"; mail-complaints-to="usenet@ciao.gmane.io" To: 50675@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 16:19:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mRxez-0004v0-DO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 16:19:13 +0200 Original-Received: from localhost ([::1]:57686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRxex-0004Xg-UY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 10:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRxep-0004XK-6W for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 10:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRxeo-0006o9-Ks for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRxeo-0003C3-ET for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 10:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: meedstrom@teknik.io Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2021 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50675 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163206110712230 (code B ref -1); Sun, 19 Sep 2021 14:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Sep 2021 14:18:27 +0000 Original-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 Original-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 Original-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 Original-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== Original-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 X-Mailer: RainLoop/1.11.3 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214714 Archived-At: 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))