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, 29 Oct 2024 19:57:54 +0100 Message-ID: <874j4uivnx.fsf@gmx.net> References: <878qu6j0tx.fsf@gmx.net> <8634ke4vv5.fsf@mail.linkov.net> Reply-To: Stephen Berman Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="620"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 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 Oct 29 19:59:50 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 1t5rRW-000AXM-15 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Oct 2024 19:59:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5rQu-0008LX-4T; Tue, 29 Oct 2024 14:59:12 -0400 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 1t5rQl-0008Kh-BA for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:59:05 -0400 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 1t5rQk-0001JS-4M for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:59:02 -0400 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=FsTfkwL3qAy6npp8T8BVL6OSS84bAjzGhnPDQYSNrKI=; b=D1WHWq5uYQZ3miFebFFN8L7FDq7Y+lM4//lYgF9SgMHXWVporwig5w6R2GUlG0jY40Khrbf+bXeOdtmqvuUmW+7al7m6L+0TEE44Bmedaz1sURUxTITEmtEFpCD64lfaN4inWmt0AkksGt9ewrP664NwZ3Y/i3TrowqHCfh+o9v9bjGY/VphWYRoyM5l7X3s0joIAFZD9S/StXV01xC5i+cYfgV4OJM4eOrJmX9evQaEG/ogS9EVCzI2hwY2bdgPGt6TwBHl7nhFLVXRbekWDBAX3OQ87xvdqqjp2ADjNnp8zYaPFbmVjTGxpbmLcJ/fGJI1AeDX1MlBiGmx+/prLw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5rQj-0006h2-W4 for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2024 18:59:01 +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.173022828525704 (code B ref 74090); Tue, 29 Oct 2024 18:59:01 +0000 Original-Received: (at 74090) by debbugs.gnu.org; 29 Oct 2024 18:58:05 +0000 Original-Received: from localhost ([127.0.0.1]:58139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5rPo-0006gW-Oo for submit@debbugs.gnu.org; Tue, 29 Oct 2024 14:58:05 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:40757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5rPl-0006fi-TC for 74090@debbugs.gnu.org; Tue, 29 Oct 2024 14:58:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1730228275; x=1730833075; i=stephen.berman@gmx.net; bh=FsTfkwL3qAy6npp8T8BVL6OSS84bAjzGhnPDQYSNrKI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Jbn7NQNN7ocSZEcVYesyG/IhuErcnseAUeEBa9cyJQp3BYiZZ2t7y2+exzfJgn1O UA/WirOCjYI9SyEJLtzl25cbEjv6QoC1UTzx2WYYuW6NolVROcGMdgRpt5bV3U364 0sgNdbK3exhkXGrTCM7h6IZmjHlfljYnWCCULgMKJ0YzriGrfBoLTgCVn98Ce1MLp vk8HAlc87wjxyz+SXQEbp0Epjj2687QmfmXeWhNKKhrSLDf3be4997bEixr8Q9VyK ace/PN/HB8VZ+Oxhq7G+I66WIKfl+QzxrBk1u9DMdPy6NELf+r5OkU/MC/+MmgxPG AxOyo4C+LDHBfQ+7hQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([94.134.95.149]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHoNC-1t347A409e-005nkD; Tue, 29 Oct 2024 19:57:55 +0100 In-Reply-To: <8634ke4vv5.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 29 Oct 2024 20:17:18 +0200") X-Provags-ID: V03:K1:tmpC+GtDYE8tuQrmoz7ODFMCFVG/qpp13sTJZYArkuhKdgLdTOF sqbUrJIzqZV7a6AMvZqTC0gWedZoOvioLd5QPRcNOYgh3CxaTAt0OUJGyeZncFm9c0E3NaV 3qeWijYUEUdLC+jXLxMocfavKCVfUScH3jnJvlAYRoaxzv74hhE8PPiB+fVYqCM+ERHcYy7 r2wbxP32Y8kuggVw+17LA== UI-OutboundReport: notjunk:1;M01:P0:oPuVPex04fo=;Fvjgi0tdwexmrblKtCht4dxuFLd 7UCfYQtLZYaEcjmQL9qm3/r1svoMxZNZckDa34w89V0pGYrkykDrPd4m10skh6zchoZLLoZX7 sS9HgJtxADEaf70eVDM76pMalCYFtirjj3hyI3cu3ARHwYFujR7WvVAMM4bTcJRwkJdM0ryUH 9C6LfSyZwJ+5zQ83qrEp1PhXEjTf0WgkEwfRdH8DsOpRYO93RXO6/f3rMKgzSD7206I6UIAT3 GKBPEL2a+9/739hQ3BlccHiYUqilpyTVWoUMiREnDQEQYhkLYHr80iMh1Oexaa4bTTRfPcS2C tiwpjTWSjUtZyyZeKwlt2WpVLHYd9z7OLCjYp4yA3VDLwkKsyNmcmwG5pjXjfYnPVQYpV0SF/ O2EB8R0XXAVyrCNRNSgXDI9tqiys7aRamJPTI8T4+rfqwMvo1AOwcCqi1T/LsM5NoOxbeYB2W 97N4oncD3O+Suv1x3WSpy2kAvUtvX6YzSi0aJAwz/0PMq58JxjRZ7grhJ2weHRH0ORCVh+XId IPBGfJzj5BA4OojfUWYTMO73yTJIKanYtqfHdhodyU+2WgTDO44asPQm1T8x2t7C8IGPfA8UY ZFh/+GS1cMoxOK2xxag3dstA+iDijXYjnt/Gfz5bhPXSeneiRadAVApz9QjzKp3BgRmlayB2M lxKDELgT9tzNRJAwTg3Dgo4pWDrK/WIgZsMVojfu89pOK60kGRCWz4gtak/Am6r66utVLZ9yI NIHqOsn97/aVrzF6h/ZnQ8VxZeHQOKIy+fgtrWHZUFcVPNQScU+N3xf0NRBSxTPcdoH/43Fw 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:294524 Archived-At: On Tue, 29 Oct 2024 20:17:18 +0200 Juri Linkov wrote: >> The attached patch fixes these problems, according to my tests. > > Maybe your patch also fixes bug#36516 > where we failed to find a solution. > Or maybe these are separate cases. I was unaware of that bug, thanks for the pointer. But unfortunately, my patch does not fix it. My changes only affect cases where the buffer in which dabbrev-expand is called is different from the buffer where it finds the expected expansion (at least I only tried to fix such cases and not alter the behavior of the same buffer cases). I'll try taking a closer look at this case, but judging by the discussion in that bug thread, it doesn't look related, or easy to fix. But as was noted in that thread, at least you can get the expected expected by repeatedly typing `M-/', while in the cases I tried (hopefully successfully) to fix, without my patch either you cannot get the expected expansion or you get an error, so bug#36516 seems less serious. Steve Berman