bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19079: 24.4; smie mis-highlights unmatchable keywords


From: Lars Ingebrigtsen
Subject: bug#19079: 24.4; smie mis-highlights unmatchable keywords
Date: Fri, 04 Dec 2020 11:26:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Josh Berdine <josh@berdine.net> writes:

> emacs -Q
> M-x load-file
> ~/.opam/4.02.1/share/tuareg/tuareg.el
> M-x tuareg-mode
> M-x show-paren-mode
> let f () =
>   let x = 0 in
>   ()
> C-u 17 C-b
>
> This starts a fresh emacs, loads the tuareg mode, enables
> show-paren-mode, enters some ocaml code, and puts the point on a 'let'
> keyword.  This 'let' is highlighted in 'show-paren-mismatch-face'.  As
> there is no way for this 'let' to be matched (as far as smie is
> concerned) this 'let' should not be highlighted.

(This bug report unfortunately got no response at the time.)

Stefan M says:

 > And sorry for overlooking the fact that "let" gets highlighted as unmatched; 
 > that's  
 > indeed an error. Could you report it via "M-x report-emacs-bug" since it's a 
 > bug in  
 > smie.el rather than in Tuareg?  

This was six years ago.  Is this still an issue in more recent versions
of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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