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 20:09:50 +0200 Message-ID: <83cz6pti8h.fsf@gnu.org> References: <87o7q9y9oh.fsf@daniel-mendler.de> <83pmaptvt1.fsf@gnu.org> <83mt5ttlqu.fsf@gnu.org> <83fsbltko3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3043"; 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 19:10:19 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 1pOMzS-0000by-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Feb 2023 19:10:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOMzF-0002Fa-Az; Sat, 04 Feb 2023 13:10:05 -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 1pOMzD-0002F4-9v for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 13:10:03 -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 1pOMzD-0001Gz-1m for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 13:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOMzC-0001pv-H8 for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 13:10: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 18:10: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.16755341947041 (code B ref 61274); Sat, 04 Feb 2023 18:10:02 +0000 Original-Received: (at 61274) by debbugs.gnu.org; 4 Feb 2023 18:09:54 +0000 Original-Received: from localhost ([127.0.0.1]:43397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOMz4-0001pU-8B for submit@debbugs.gnu.org; Sat, 04 Feb 2023 13:09:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOMyz-0001pF-Ga for 61274@debbugs.gnu.org; Sat, 04 Feb 2023 13:09:53 -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 1pOMyt-0001DM-7O; Sat, 04 Feb 2023 13:09:43 -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=VNjQHKYiSeLk4fsYIpMkQF1xEcN3Q9Ky2jCJ+LmXVhs=; b=VGkNkwfJduqZ 1GbVUOie+1g+TxbuEK+QyFZkr0caWAQn+3rv3hwaqHu1kYuiFycpNRFPzD0sk/M2hA5Y3NiGqIGMa AvP+MTF56wYrYXm9jkDXGcozM3MmdvqYVJyC4tfDYPWgQvU8oGur/naCGStg86oaTqinQUPNZIpFv Q+NVRrPOfmW7r/r561HDHR5eN6k8sUnOo+7e9NXQFrhLO2RwhwoEZd+jHNbwFjquzSpIn2ykXaAYE 8OdPvvh67AD9/ZY0GZ876/7HGyuxDa99sBJDu6jDMMLAmhNYxVel1iA+H2LFGGDGS6PT1U0wvYy7S BqbHzrnP7dqyxMG0ufoJRA==; 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 1pOMys-0004z9-H3; Sat, 04 Feb 2023 13:09:42 -0500 In-Reply-To: (message from Daniel Mendler on Sat, 4 Feb 2023 18:30:41 +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:254789 Archived-At: > Date: Sat, 4 Feb 2023 18:30:41 +0100 > Cc: 61274@debbugs.gnu.org > From: Daniel Mendler > > > 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? > > You mean that the stringp type error does not occur? There is some code > in `dabbrev-completion' which sets up Dabbrev (resets variables etc), so > this is likely causing the difference. This is solved by my patch. I thought there was some difference in behavior even after that, but it looks like I cannot reproduce it now, so I will consider that my dream. > However the second issue still occurs even with `dabbrev-completion'. > When I execute `dabbrev-completion' in a buffer where no completions are > found, I get the message "dabbrev--abbrev-at-point: No possible > abbreviation preceding point", while the message should be the usual "No > match" from `completion-at-point'. I see a different message: completion--some: No dynamic expansion for "x" found in this-buffer Which IMO is completely reasonable.