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 #8 received at 71227 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gaëtan Gilbert <gaetan.gilbert <at> skyskimmer.net>
Cc: 71227 <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: Mon, 27 May 2024 20:59:55 +0300
> 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.




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.