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#74090: 31.0.50; Problems with dabbrev-expand Date: Sat, 30 Nov 2024 22:07:27 +0200 Message-ID: <865xo47af4.fsf@gnu.org> 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> <877c8kboet.fsf@mail.linkov.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="22390"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stephen.berman@gmx.net, 74090@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 21:08: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 1tHTlI-0005gU-VX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 21:08:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHTl6-0000Il-8V; Sat, 30 Nov 2024 15:08: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 1tHTl5-0000IW-74 for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 15:08:03 -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 1tHTl4-0003Ck-IZ for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 15:08: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:References:In-Reply-To:From:Date:To:Subject; bh=MRum6l5zgNZ4RcD0M5CN7iABr9rxP6GLrx3sBNzaxbQ=; b=hak4YSFPEaxYczgusQDXeXYbR3tdfATfUs/IOtNXHOVLjURYfYFtXq/Gn/x5nQ2mbT2qTJroRlbTkCEUkhzCKZX72H0GN4lVH0hUCHeONNXRJNZRCrqevFfaEHPAtAGub5oHSdhBLThGvu4C/tewXBvWniEvnqrwf+xzyHz5bowJq4oHlKLvvnINbtypskF47HnYK/QHsthh8Bp07wIhfdCSZs6U+eo3xn3DgBmGpI8i7V1LfI9pHiD+fbm2ZgsNw8uJr6GxxJHkgoq/UR05D9No9/xUdTL8kYiamT/isrvVPRg/EYO10JwVILPj+9CMW7W/XjP32qdOL3NET5FszA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHTl4-0006SG-Dc for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 15:08: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, 30 Nov 2024 20:08: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.173299725924770 (code B ref 74090); Sat, 30 Nov 2024 20:08:02 +0000 Original-Received: (at 74090) by debbugs.gnu.org; 30 Nov 2024 20:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:49222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHTkg-0006RS-UX for submit@debbugs.gnu.org; Sat, 30 Nov 2024 15:07:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHTkf-0006R9-FJ for 74090@debbugs.gnu.org; Sat, 30 Nov 2024 15:07:37 -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 1tHTkZ-00034t-7p; Sat, 30 Nov 2024 15:07:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=MRum6l5zgNZ4RcD0M5CN7iABr9rxP6GLrx3sBNzaxbQ=; b=IEnbz9d1xpY2M48rft30 DdBNu6dNpENHhlRrDbjAPvH8GfEYtcaSUOvBJ0F/lVjbOoaQ8mzSUSTf/kpf8dWxrkEhbUWSAZ3Yd Aa3x58oCTOyK8Sr/TJZ0P8zobBpwbuBfKg0LWwBV8jI+Jaq+Oj+83eZJQ5XC2HSWd2rpZx+Mc1BHu flWM2cvnfb73XUWX+7W4y76ajRkbPdmlRSc83XXzl+I3uxMotq748BchYjw/FKqQGqlb6/rNYYe4S LXfSEnN+Gi3ZsZtbaB7Xc2esedB17sV/3JipBZ2meVjx6BLWwrVqwEqbWRZhssrB8JhifCLinYeL7 aR1hoBKhyn8IBw==; In-Reply-To: <877c8kboet.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 30 Nov 2024 19:51:38 +0200) 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:296209 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , 74090@debbugs.gnu.org > Date: Sat, 30 Nov 2024 19:51:38 +0200 > > >>> 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. Thanks for testing. Stephen, you have green light for installing this on the emacs-30 branch. > Would it be nice to have a new test that covers this case? Definitely. But it is less urgent than fixing the bug itself.