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: Juri Linkov
Subject: Re: Edebug corrupting point in buffers.
Date: Wed, 02 Nov 2022 20:36:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> (with-temp-buffer
>>   (save-excursion (insert "a\nb\nc\nd\n"))
>>   (dotimes (i 4)
>>     (forward-line)))
>> 
>> 2. 'C-u C-M-x' on it
>> 3. step once with SPC
>> 4. M-x pop-to-buffer RET  *temp* RET
>> 5. 'W' (edebug-toggle-save-windows)
>> 6. then stepping thru the code doesn't move point in another window
>
> So where's the bug here, may I ask?  This is normal Edebug behavior,
> AFAIR.  If you want to see point move, you need to switch to that
> buffer, not just display it.

I don't understand how to step through the code after switching to
*temp* buffer while allowing point to move.



reply via email to

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