From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Juri Linkov <juri@linkov.net>
Newsgroups: gmane.emacs.devel
Subject: Re: Edebug corrupting point in buffers.
Date: Thu, 03 Nov 2022 20:31:51 +0200
Organization: LINKOV.NET
Message-ID: <86wn8bsxd4.fsf@mail.linkov.net>
References: <Y2A9NINYSfByTztE@ACM> <83wn8fcgvd.fsf@gnu.org>
 <Y2EFztE/GgFF0P3x@ACM> <83iljydh7e.fsf@gnu.org> <Y2EiK32B9lxLSFms@ACM>
 <838rkud9d5.fsf@gnu.org> <Y2FSHvmj2H8a5AS6@ACM>
 <83v8nybnuk.fsf@gnu.org> <Y2FWSoSCQnnY9en1@ACM>
 <83pme6bls8.fsf@gnu.org> <Y2FtQMonpNeR1m1k@ACM>
 <867d0d1chj.fsf@mail.linkov.net> <837d0d9pra.fsf@gnu.org>
 <86bkppxkyv.fsf@mail.linkov.net> <834jvh9ok5.fsf@gnu.org>
 <86fsf0jbg5.fsf@mail.linkov.net> <83eduj7w0r.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="32024"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
Cc: acm@muc.de,  emacs-devel@gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 03 19:50:31 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1oqfIM-00087O-Ik
	for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Nov 2022 19:50:30 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces@gnu.org>)
	id 1oqfHL-0008Cv-AI; Thu, 03 Nov 2022 14:49:27 -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 <juri@linkov.net>) id 1oqfGd-00086N-Br
 for emacs-devel@gnu.org; Thu, 03 Nov 2022 14:49:12 -0400
Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <juri@linkov.net>)
 id 1oqfGW-0007t9-Jx; Thu, 03 Nov 2022 14:48:39 -0400
Original-Received: (Authenticated sender: juri@linkov.net)
 by mail.gandi.net (Postfix) with ESMTPSA id 43CA760008;
 Thu,  3 Nov 2022 18:48:29 +0000 (UTC)
In-Reply-To: <83eduj7w0r.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Nov
 2022 20:06:28 +0200")
Received-SPF: pass client-ip=217.70.183.195; envelope-from=juri@linkov.net;
 helo=relay3-d.mail.gandi.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Original-Sender: "Emacs-devel" <emacs-devel-bounces@gnu.org>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.devel:299094
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/299094>

>> >> I don't understand how to step through the code after switching to
>> >> *temp* buffer while allowing point to move.
>> >
>> > If you want to _see_ the cursor moving, you need to switch to the
>> > buffer each time point moves.
>>
>> Switching to the buffer doesn't help to move point.
>
> It does here: every time I switch to that buffer during forward-line
> calls, I see point moved to a new position.

I tried again in emacs -Q with edebug-save-windows enabled and disabled,
but point doesn't move after switching to *temp* buffer.