From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74090: 31.0.50; Problems with dabbrev-expand Date: Tue, 03 Dec 2024 10:39:28 +0100 Message-ID: <87y10xcdgv.fsf@gmx.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> <877c8kboet.fsf@mail.linkov.net> <865xo47af4.fsf@gnu.org> <87jzcke4n6.fsf@gmx.net> <87ttbmim48.fsf@mail.linkov.net> <87ttbmxov8.fsf@gmx.net> <87o71tb4ot.fsf@mail.linkov.net> Reply-To: Stephen Berman Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19109"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 74090@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 03 10:40:21 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 1tIPOH-0004oi-9R for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Dec 2024 10:40:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIPO0-0000jU-Ls; Tue, 03 Dec 2024 04:40: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 1tIPNy-0000j4-PR for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2024 04:40: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 1tIPNy-0004fq-G3 for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2024 04:40: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=lWQ4Z2k2v8zFxcFslryZPbx65KkZu2SgPi/4uWf3p80=; b=mPoRo/STPHogIjn4fIFhidDS6dN5iZZ4h3uT1fxHQfkS6gED8sbUA3RBW0++AwW4w5UVeYFO2b/XnGdFMzbgp2gnOCK92zOG2eN0ZSV9q82eB2Nw9ijcLcaaLN3odidDBEbpeIxZEr7gO/oFzRPR1GvNNEHAY9smxJVQd6atcF4jgin1DJjAPQgyyYrCABJkxhQy6MPrXtrmbn6NpDaCNWHnbAcW0O+wWwPTT88LUeel6n0xl65jDRuVu3n7VqKpSph7vekzXM5Elnl84zc6GuTGrMYwER1zwg8VWoYAw6z0Yg81kKtg5S1WR2fmeslCAF/uAQpJwoDKa9d0S7f30g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIPNy-0003cf-3R for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2024 04:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Dec 2024 09:40: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.173321878013881 (code B ref 74090); Tue, 03 Dec 2024 09:40:02 +0000 Original-Received: (at 74090) by debbugs.gnu.org; 3 Dec 2024 09:39:40 +0000 Original-Received: from localhost ([127.0.0.1]:58294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIPNc-0003bp-0E for submit@debbugs.gnu.org; Tue, 03 Dec 2024 04:39:40 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:46965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIPNZ-0003bZ-JG for 74090@debbugs.gnu.org; Tue, 03 Dec 2024 04:39:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1733218771; x=1733823571; i=stephen.berman@gmx.net; bh=lWQ4Z2k2v8zFxcFslryZPbx65KkZu2SgPi/4uWf3p80=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=QHAM+eXybJPiNsIxFNb3AeXwCXAjBXZGh0FhXigfKljVZd+lTNENcnt5RETtWxUX /cEZV1U4DngDtDkcWwWY4kZ1tRKh1alx/Pjdt49tU1vCMTWSNRI5EsXFNcsJHsbvX tW30ou+N45mqgvmqHQ6Sffy/oricG4Xwo0WiCbcLcS37MAZdqR9cIcQTJWvDfKTl5 6Oq1c5xbFXdvoOf7azGme44nkA4IxEHDFXF5e1PBpfpX78D4f0QLXpHJ26aHSrTWu 7Oz+77pwlEqPBljbMr740IbaGjSKUN7KZhQdrB6mvgnVRhKgwGgx0VWyPmoMfL34G qTEgI/pqM/gkbeD26w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([94.134.95.212]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N49lJ-1tiuME02ef-00uenh; Tue, 03 Dec 2024 10:39:31 +0100 In-Reply-To: <87o71tb4ot.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 03 Dec 2024 09:35:30 +0200") X-Provags-ID: V03:K1:jW8OpnkyMFxVxGs3VONzg9dvuFwZ/FQqqf/c7BFRu9v2IUrQtgY 1SVhRc8vJEHe0L2A8pp9H5d8mC7/7viY2OGnLnPeEBUCWQiNybjPc5uCZGYj6A30zCwlEOJ MYXwtwdTONiooMgBkJppsStI8foqhiNsmQ1cCu30ps97riiR9c++WROQ6ex/4822mESxSDt kv6ptQu7eSIvzYfeHOH6A== UI-OutboundReport: notjunk:1;M01:P0:xDS+RrFy0wM=;s+a5MyxcKOZgOpBRotmAdagD7ql KC3gmNx44j5WpyZWiP9BNlGhJPS1JUsBKT5BaW/17WzSCQE1WG7EJFzUx59DpO54GQP0U92u8 rHMVJhJPiGKYg4oE5qzJNPeZJVk18pB48xJ7SYftqZIdMZKEeANaQdbwAoxH6r+z/QBVZ//pS W9QbrkE/WOuY2YHs/Nu2gAgRg6MFu9bx1O+wzibFKm6aNCPHURNt7dK/WajkCWUsg/p+TQryT zYr8KuyHzQ4eTjezlfJQXc6VIHBAc8e/HFrD9l74dWwlEhHweRaT2tp45PLUwxqav6uFyQlDn dJCWWn6nXmwJshP3LA1lyQmyqU689AOmTUkw8D/QVcRa4hRYPnyoUffQJm3MWBMZBu8ampVnZ JDkmXsbUrp2rPO9k2KTNactRdtxK/ek2DUw6eQ7+5vC8cOE2TvcA7AIT8Zcyv6zFIVyVBSe39 fuf/Z+dHJMF3mmB3vh9FyB94hZ7P/mC7orL0mItTUCHzyj6i3EIsDDg01vE6+xzGEUFlewhKV 3YGtKAxOtTNsPgElhzJGVbV/QF+J0fAnGoyWh65BYukel/swqp8z1GLqMjd9+OEgTi4jE3SjW GEXm4MqzGeIuG+M8ALAI97XaKURJq+bewui7ZhLP5JueI3TZl34G8gEYYa3bFK0oBqQ7VHK1P 0rPzFQIyJ9j4fdDd7YFElNFTaGMmfg2OTx4+2C5RD1FtDrNOeNT7EqkWbOBkTOWu4iwAoCm86 I0mIJnfwnfHWZiOCNlbVkC3PxDnSrFSBXKOddUhomlJAuPu2dzPeoCEcXu6d8ziU6yiCZx/S 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:296360 Archived-At: On Tue, 03 Dec 2024 09:35:30 +0200 Juri Linkov wrote: >> With these changes the test succeeds in batch runs and I think now better >> reflects the user experience with manual input, so I went ahead and >> pushed the fix (commit 6bca138d60e to emacs-30). If you agree, feel >> free to close the bug again (assuming it needs to be reclosed, since you >> unarchived it); otherwise, if you see other problems with the test, >> please let me know. > > I see the same test failures that were reported on emacs-devel. > > One of them is clear because of quotes mismatch: > > (string=3D "No further dynamic expansion for `ab' found" > "No further dynamic expansion for =E2=80=98ab=E2=80=99 found") Thanks, I've (hopefully) fixed this problem now (or rather avoided it, since the change is just a workaround) with commit 7b8d12e95de to emacs-30. > But why 4 lines with should-error affect two other tests > is not clear. Maybe other tests expect the initial contents > in the scratch buffer? Or the same buffer list? Those other tests are two of the four dabbrev-expand-other-buffer* tests that also fail when manually running ert in the test buffer. I couldn't figure out why but since these tests succeed in batch runs and with `make check', I haven't investigated further, but I'll try to do that. > Generally, this is deficiency of the test-suite design > that tests are not isolated. The macro `with-dabbrev-test' is supposed to ensure that, but maybe it's failing somehow. Steve Berman