From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61274: 29.0.60; dabbrev-capf signals errors Date: Sat, 04 Feb 2023 19:17:16 +0200 Message-ID: <83fsbltko3.fsf@gnu.org> References: <87o7q9y9oh.fsf@daniel-mendler.de> <83pmaptvt1.fsf@gnu.org> <83mt5ttlqu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37082"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@daniel-mendler.de, 61274@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 04 18:18:39 2023 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 1pOMBT-0009Te-K1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Feb 2023 18:18:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOMBL-0002sl-0v; Sat, 04 Feb 2023 12:18:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOMAs-0002kn-Tw for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:18:16 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOMAs-0001dS-M7 for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOMAs-0000U0-71 for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2023 17:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61274 X-GNU-PR-Package: emacs Original-Received: via spool by 61274-submit@debbugs.gnu.org id=B61274.16755310431799 (code B ref 61274); Sat, 04 Feb 2023 17:18:02 +0000 Original-Received: (at 61274) by debbugs.gnu.org; 4 Feb 2023 17:17:23 +0000 Original-Received: from localhost ([127.0.0.1]:43352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOMAF-0000Sx-2V for submit@debbugs.gnu.org; Sat, 04 Feb 2023 12:17:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOMAC-0000Sj-Ac for 61274@debbugs.gnu.org; Sat, 04 Feb 2023 12:17:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOMA6-0001WM-Dm; Sat, 04 Feb 2023 12:17:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=U01iOC720ggAR+gsCD48uz4lV6QcFxpRgcThDM+BBnI=; b=O2MmNuo1zgDx Dokomykj0BEUYBDDDbwXspiaw6NiMsQnvZVleO+GkbqGUI1q09o8WEbWlDpC8O1VEFJRtENmgYJzQ 8QkWLKHGQQQJFNsriV3bHZEP46/B2p9M/iAKKsGvMtCO7QUyGnjx+9XmUeLnETBc1LK9ckav/l11E +JTXbWdrgnW9IbbIcayL/k8J68VmLBurg46qHN0RItHLxJIoLX+gnkYPb+Rucy8GqILl9CEo1iCpV KaH+d1fLPykUXd7YgoyYGSf1VbOiZlpNQcuApkn5Tw74EnAqp1Pn27DyHfNTwNav6ivhbhjR347wx 7M+SHyGyidIT9v2LHBUTbQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOMA0-0006dP-G0; Sat, 04 Feb 2023 12:17:14 -0500 In-Reply-To: (message from Stefan Monnier on Sat, 04 Feb 2023 12:13:27 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254784 Archived-At: > From: Stefan Monnier > Cc: Daniel Mendler , 61274@debbugs.gnu.org > Date: Sat, 04 Feb 2023 12:13:27 -0500 > > > maybe dabbrev-capf is unsuitable to serve as the value of > > completion-at-point-functions? > > As the name implies, it's a function designed specifically for use on > `completion-at-point-functions`. Maybe dabbrev is not well adapted > for use within a normal completion UI, but `dabbrev-capf` should do its > best to obey the rules of `completion-at-point-functions`, so I think > the behavior Daniel suggests is indeed what `dabbrev-capf` should try > to do. Then there's something here that puzzles me: the recipe presented by Daniel is basically identical to what dabbrev-completion does. And yet dabbrev-completion produces different effects when invoked in the same buffer with the same text at point. What is responsible for the difference in behavior?