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 18:54:01 +0200 Message-ID: <83mt5ttlqu.fsf@gnu.org> References: <87o7q9y9oh.fsf@daniel-mendler.de> <83pmaptvt1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4153"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61274@debbugs.gnu.org, monnier@iro.umontreal.ca To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 04 17:55:21 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 1pOLov-0000tv-Em for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Feb 2023 17:55:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOLoo-0000N9-4N; Sat, 04 Feb 2023 11:55:14 -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 1pOLoc-0000Km-FX for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 11:55:02 -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 1pOLoc-0005wK-7D for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 11:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOLob-0008Js-RO for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 11:55:01 -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 16:55:01 +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.167552964431890 (code B ref 61274); Sat, 04 Feb 2023 16:55:01 +0000 Original-Received: (at 61274) by debbugs.gnu.org; 4 Feb 2023 16:54:04 +0000 Original-Received: from localhost ([127.0.0.1]:43303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOLng-0008II-14 for submit@debbugs.gnu.org; Sat, 04 Feb 2023 11:54:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOLnc-0008Hk-Ku for 61274@debbugs.gnu.org; Sat, 04 Feb 2023 11:54:02 -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 1pOLnW-0005lu-HO; Sat, 04 Feb 2023 11:53:54 -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=yIBAL6rOkmbBeKPt6N4b5Ek3PlkjCYWOwzR1oo8AeDk=; b=L4IveInkVbUm JONO/QAEezJ6WUw+ZZBjpzAzqofxVWZp0PP/4xv0DK/bZ2U1pSSN9s1z9AMvFxCIbB8KN6A4oUWRI cWuWOX1vUk897+9JBVVNACnLGEHlbASVDoQZ3eeFbh3/+9Q9MQ6KqYGUs+Ey4Jew2K1TsILG32/xQ 918j5gFqNfIhE+v4Zp0PyBXChbt6cMaSYqV8J3d4aEtLN/PIuMTPsRKivnWlZ8lNcA7GiwmeJ6EzF Y5g7+kxV2Z63DLh418JeE7//v6zWUfCO9YSQ2UHpPW0aRzG/gFP8QEIW+Lz3ZzkoIpTAqEgiANc91 xMIRzISYnq2RWzfw8GyGig==; 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 1pOLnW-0006w3-1C; Sat, 04 Feb 2023 11:53:54 -0500 In-Reply-To: (message from Daniel Mendler on Sat, 4 Feb 2023 17:03:26 +0100) 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:254779 Archived-At: > Date: Sat, 4 Feb 2023 17:03:26 +0100 > Cc: 61274@debbugs.gnu.org, monnier@iro.umontreal.ca > From: Daniel Mendler > > On 2/4/23 14:16, Eli Zaretskii wrote: > > The patch below fixes the error. > > Thanks! Should I install it? > > Regarding "No dynamic expansion" error: what did you expect to happen > > instead and why? IOW, what is the expected result of having > > dabbrev-capf alone in completion-at-point-functions, and then typing > > "x M-TAB"? > > I would expect the completion UI to show a message, instead of an error > from the Capf. For example if you start emacs -Q, type "nonexistent > M-TAB" in the scratch buffer to access the normal Elisp completions. > Then you will see the message "No match" in the minibuffer. If > `dabbrev-capf' would not throw an error, we would get the same message. maybe dabbrev-capf is unsuitable to serve as the value of completion-at-point-functions? Stefan, any comments?