From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74090: 31.0.50; Problems with dabbrev-expand Date: Sat, 30 Nov 2024 19:51:38 +0200 Organization: LINKOV.NET Message-ID: <877c8kboet.fsf@mail.linkov.net> References: <878qu6j0tx.fsf@gmx.net> <86zfml4uay.fsf@gnu.org> <87cyjgwq1a.fsf@gmx.net> <87ttbq7eie.fsf@mail.linkov.net> <87h67q4gv6.fsf@mail.linkov.net> <87wmgm6oe4.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1523"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , 74090@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 19:19:18 2024 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 1tHS3p-0000CO-An for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 19:19:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHS3c-0001Kl-VX; Sat, 30 Nov 2024 13:19:04 -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 1tHS3a-0001Es-IN for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 13:19:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHS3a-0005wh-9L for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 13:19:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=eQTOA06Mq/ixf7wrvYNd9k/hLWGfim21n0CukXUfpHc=; b=g0uhzxYf9FGIot0yXDpo/tffh7FzPsbc72FK3h3RKhcGr5jRzGVIx3706Kd8GYtxUEwNrVrTmV4j1Bv8mIx3kzpLHG+u1fGkEpXqCSdXa4frPqEBQR2NXMQMM25TfJfHcn6cKaeSRkx77RKOZ2m25HwNkbmZjT6RmnBDhLOb37yj5h+lD1PRRa6w/lKKUmmm/5YyH6Sebsq4jHRWd+3KxLKITmjCUzPM3yk3gTXYTOFkjBvWyj9MRt4bj64+Qmv01F0qeKnvvK/Hh2Z70IUfnPEe+OI5ReJghZEALxaJ/VFRN6axzWR3Rn6ZaJhW38JYeGVPTRotgI0IsepkbkyxVA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHS3a-0000RJ-3S for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 13:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2024 18:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74090 X-GNU-PR-Package: emacs Original-Received: via spool by 74090-submit@debbugs.gnu.org id=B74090.17329907161635 (code B ref 74090); Sat, 30 Nov 2024 18:19:02 +0000 Original-Received: (at 74090) by debbugs.gnu.org; 30 Nov 2024 18:18:36 +0000 Original-Received: from localhost ([127.0.0.1]:48968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHS3A-0000QJ-0q for submit@debbugs.gnu.org; Sat, 30 Nov 2024 13:18:36 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHS35-0000PT-9l for 74090@debbugs.gnu.org; Sat, 30 Nov 2024 13:18:31 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id D55B1E0003; Sat, 30 Nov 2024 18:18:04 +0000 (UTC) In-Reply-To: <87wmgm6oe4.fsf@gmx.net> (Stephen Berman's message of "Fri, 29 Nov 2024 16:38:43 +0100") X-GND-Sasl: juri@linkov.net 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:296189 Archived-At: >>> 1. C-x b foo RET >>> 2. Type: abc SPC abd >>> 3. C-x b *scratch* RET >>> 4. Type: ab M-/ >>> 5. C-x k foo RET >>> 6. Type: SPC ab M-/ >> >> Sorry, I meant emacs-30, not emacs-29. > > Thanks, I can reproduce it. With the attached patch (against emacs-30) > I don't get the error; instead, at step 6 "ab" expands to "abc", which I > suppose is what's expected, and then typing `M-/' again shows the > message "No further dynamic expansion for ‘ab’ found", which also seems > as expected. And with the patch, all current dabbrev regression tests > pass with ert-run-tests-batch-and-exit. Does anyone see a problem with > the patch? Thanks, I confirm it works now. Would it be nice to have a new test that covers this case?