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.devel Subject: Re: Edebug corrupting point in buffers. Date: Thu, 03 Nov 2022 21:36:23 +0200 Message-ID: <834jvf7ruw.fsf@gnu.org> References: <83wn8fcgvd.fsf@gnu.org> <83iljydh7e.fsf@gnu.org> <838rkud9d5.fsf@gnu.org> <83v8nybnuk.fsf@gnu.org> <83pme6bls8.fsf@gnu.org> <83mt99a223.fsf@gnu.org> 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="33105"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 03 20:37:12 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oqg1V-0008Km-Mj for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Nov 2022 20:37:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqg10-0002yw-5s; Thu, 03 Nov 2022 15:36:38 -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 1oqg0w-0002yg-Td for emacs-devel@gnu.org; Thu, 03 Nov 2022 15:36:35 -0400 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 1oqg0v-0006vH-59; Thu, 03 Nov 2022 15:36:33 -0400 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=gJLEa+B0Q3NwmKYscXukHzE5skGtck2/vgvCqEzYUgs=; b=VufdDQViAObwBnh6WS8g 51uZXDbgcR4exZ/udurfLGsmjHxF5pbB9Sc6L+3hTdvnnq0+qPIUF8Vqx7ehUPi2cJT4XX0Ofw5e/ xmu2zQqM9j9ByqQBkjTOjXAFI1T+TEywlO7vRK900cxXu2YesY46g/3a9J9JwLY79ew5k42nxS0pC tMGk0zF00ug/U/eCtsMU/D2MoDsAvrpLvcQRnqST1lkaZPgvW1hNcu1NcG+UNepbijhTIKKsgRc20 LmVndfbJLVAhMdCzb5qva2cPDQLoKyN47mDQvN4x6qplvgVev+5yV8GlWRGu9anq9+TeI/thXkil7 RA24o7IlqqCyeg==; 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 1oqg0s-0006pL-U8; Thu, 03 Nov 2022 15:36:32 -0400 In-Reply-To: (message from Stefan Monnier on Thu, 03 Nov 2022 15:29:38 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299098 Archived-At: > From: Stefan Monnier > Cc: Alan Mackenzie , emacs-devel@gnu.org > Date: Thu, 03 Nov 2022 15:29:38 -0400 > > I wish Someoneā„¢ could dig into the problem further and find the source > of the problem and an actual fix, but indeed, this seems like a fair > workaround in the mean time. I think before digging into the reasons, we should decide what kind of behavior we would consider "correct" and/or "useful" in the relevant use cases with Edebug. The answer is not easy, because AFAIU Edebug cannot easily know which window(s) and which buffer(s) are affected by the program being debugged.