emacs-devel
[Top][All Lists]
Advanced

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

Re: master 6e5d79c048: Display show-paren-context-when-offscreen in chil


From: Po Lu
Subject: Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame
Date: Thu, 10 Feb 2022 09:58:30 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Tassilo Horn <tsdh@gnu.org> writes:

> Tassilo Horn <tsdh@gnu.org> writes:
>
>>> BTW, if I press C-g while the overlay is displayed, it flickers but
>>> doesn't disappear.
>>
>> Hm, indeed, but it's the same for child-frame and also for "print in
>> the echo area".  C-g-ing will also run `post-command-hook' which
>> removes the frame/overlay or prints Quit, but after `show-paren-delay'
>> the `show-paren--idle-timer' will trigger `show-paren-function' again
>> resulting in another overlay/frame/message.
>>
>> I'm not sure if that can be considered a bug but I can see that one
>> wants to be able to C-g away the overlay/child-frame, though.  I guess
>> `show-paren-function' should track the current position of point and
>> not show context info if that has already been shown previously?
>
> I did that just now and it seems to work fine.  Give it a try.
>
> Bye,
> Tassilo

Thanks, it seems to work nicely.


reply via email to

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