emacs-devel
[Top][All Lists]
Advanced

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

Re: The issue with with-temp-buffer (or with-current-buffer)


From: OGAWA Hirofumi
Subject: Re: The issue with with-temp-buffer (or with-current-buffer)
Date: Sat, 16 Dec 2017 06:46:46 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> After some debugging, I noticed `with-current-buffer' that is
>> used in `with-temp-buffer' doesn't restore `point'.
>
> Please try the latest shr.el from the emacs-26 branch, I think you
> will find that this problem is solved there.
>
>> Well so, this behavior (doesn't restore point) of
>> `with-temp-buffer' (or `with-current-buffer') is intented or bug?
>
> It's intended.
>
>> And to fix this issue, we should change which one of
>> with-temp-buffer, with-current-buffer, shr-insert-document, or
>> user of shr-insert-document?
>
> I think shr.el was already fixed.

I've tested the following master and emacs-26 branches...

        master 5e6fb1e246b1e7f44ebba48e7e24f597a8eb92dd
        emacs-26 3003ac046900f9e7fdaa3161b99dbb1cc8f37b32

However result is still same (there is the described issue).

Thanks.
-- 
OGAWA Hirofumi <address@hidden>



reply via email to

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