[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Edebug corrupting point in buffers.
From: |
Eli Zaretskii |
Subject: |
Re: Edebug corrupting point in buffers. |
Date: |
Fri, 04 Nov 2022 08:34:24 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: acm@muc.de, emacs-devel@gnu.org
> Date: Thu, 03 Nov 2022 16:39:23 -0400
>
> > 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.
>
> If we follow the model or "traditional debuggers" which run in
> a separate process, then it would make a lot of sense for Edebug to
> save&restore points in all the buffers that it (Edebug) touches, so as
> to better preserve the behavior we get when Edebug is not invoked.
>
> For that Edebug doesn't need to know which buffers are affected by the
> program being debugged, it just needs to know the buffers that it
> (itself) affects, which doesn't sound impractically difficult.
What do you mean by "the buffers that Edebug touches", exactly?
"Touches" or "affects" in what sense?
The next question is "how would Edebug know which buffers it touches?"
And the next one after that would be "what about buffers Edebug
touches that are displayed in more than one window?"
- Re: Edebug corrupting point in buffers., (continued)
- Re: Edebug corrupting point in buffers., Alan Mackenzie, 2022/11/03
- Re: Edebug corrupting point in buffers., Eli Zaretskii, 2022/11/03
- Re: Edebug corrupting point in buffers., Alan Mackenzie, 2022/11/03
- Re: Edebug corrupting point in buffers., Eli Zaretskii, 2022/11/05
- Re: Edebug corrupting point in buffers., Alan Mackenzie, 2022/11/05
- Re: Edebug corrupting point in buffers., Eli Zaretskii, 2022/11/06
- Re: Edebug corrupting point in buffers., Alan Mackenzie, 2022/11/06
- Re: Edebug corrupting point in buffers., Stefan Monnier, 2022/11/03
- Re: Edebug corrupting point in buffers., Eli Zaretskii, 2022/11/03
- Re: Edebug corrupting point in buffers., Stefan Monnier, 2022/11/03
- Re: Edebug corrupting point in buffers.,
Eli Zaretskii <=
- Re: Edebug corrupting point in buffers., Eli Zaretskii, 2022/11/04
- Re: Edebug corrupting point in buffers., Alan Mackenzie, 2022/11/03
- Re: Edebug corrupting point in buffers., Stefan Monnier, 2022/11/03
Re: Edebug corrupting point in buffers; we need buffer-point and set-buffer-point, perhaps., Eli Zaretskii, 2022/11/01