GNU bug report logs - #32766
Wrong syntax colors with backslash in a string (F90 mode)

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.g0 <at> libero.it>

Date: Tue, 18 Sep 2018 22:53:02 UTC

Severity: minor

Tags: fixed, moreinfo

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: Wrong syntax colors with backslash in a string (F90 mode)
Date: Mon, 8 Jul 2019 17:23:07 +0200 (CEST)
> Il 19 settembre 2018 alle 0.51 Angelo Graziosi <angelo.g0 <at> libero.it> ha scritto:
> 
> 
> This code
> 
>   program foo
>     integer, parameter :: FOO = ichar('\')
>     integer, parameter :: BAR = 10
>   end program foo
> 
> produces wrong color syntax from the comma in the second statement. After the first statement the indentation is lost and so the electric-pair-mode etc. Other programming modes could be affected.
> 
> Maybe we must live with this "issue", so I flag this just for the record...

This issue seems more serious than it appears. Many important features of Emacs are broken (automatic indentation) and the buffer have to be edited manually, more or less in a _Fundamental_ mode..

Notepad++ (Windows) and XED (GNU/Linux Mint) don't have this issue.




This bug report was last modified 4 years and 108 days ago.

Previous Next


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