Subject: Re: bug#71227: 29.2; show-paren-context-when-offscreen does not show previous line for OCaml "begin" opener

From: Stefan Kangas <[email-masked]>
Date: Fri, 28 Feb 2025 18:17:41 -0800

Eli Zaretskii <[email-masked]> writes:

>> Date: Mon, 27 May 2024 14:50:13 +0200
>> From: Gaëtan Gilbert <[email-masked]>
>>
>> eg if you make a file containing
>>
>>    let foo =
>>      begin
>>
>>      ()
>>
>>      end
>>
>> scroll so that the begin is hidden and highlight end,
>> show-paren-context-when-offscreen will only show the "begin" line but should also show the "let foo" line.
>>
>> I guess this is because "begin" is not a single character.
>>
>> Can be reproduced in emacs -Q after loading tuareg-opam.el, tuareg-compat.el and tuareg.el from https://github.com/ocaml/tuareg
>> by using tuareg-mode on the above example and setting show-paren-context-when-offscreen to your preferred non-nil value.
>
> Thanks, but shouldn't this problem be reported to the developers of
> these packages first?  Those packages are not part of Emacs and not on
> ELPA, AFAICT.

Yes, this is not a bug in Emacs.

I'm therefore closing this bug report.