GNU bug report logs - #71227
29.2; show-paren-context-when-offscreen does not show previous line for OCaml "begin" opener

Previous Next

Package: emacs;

Reported by: Gaëtan Gilbert <gaetan.gilbert <at> skyskimmer.net>

Date: Mon, 27 May 2024 16:28:02 UTC

Severity: normal

Found in version 29.2

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 71227-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Gaëtan Gilbert <gaetan.gilbert <at> skyskimmer.net>,
 71227-done <at> debbugs.gnu.org
Subject: Re: bug#71227: 29.2; show-paren-context-when-offscreen does not show
 previous line for OCaml "begin" opener
Date: Fri, 28 Feb 2025 18:17:41 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Mon, 27 May 2024 14:50:13 +0200
>> From: Gaëtan Gilbert <gaetan.gilbert <at> skyskimmer.net>
>>
>> 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.




This bug report was last modified 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.