emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edebug corrupting point in buffers.


From: Stefan Monnier
Subject: Re: Edebug corrupting point in buffers.
Date: Wed, 02 Nov 2022 08:53:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> > Why does set-window-configuration overwrite the buffer-points?  The
>> > window configuration does not contain them.  The code just assumes that
>> > the buffer-point should be set to the window point.  Of course, we have
>> > a race condition if a buffer is displayed in several windows.  So this
>> > would appear to be a bug, the root cause of the bug in this thread.
>> 
>> This suggests the patch below, right?
>
> I hope not.  We should not change behavior of set-window-configuration
> easily, certainly not due to this problem.  I'm against this patch,
> sorry.

I am against it as well.  I was mostly using it to ask confirm I had
correctly understood the piece of code we were talking about.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]