[ESS-bugs] ess-mode 12.09 [rev. 5167 (2012-09-24)]; highlighting logical variables

Stefano Conti s.conti at gmx.co.uk
Mon Oct 1 17:03:33 CEST 2012


Hi Viatlie,

Thank you for your follow-up.

I had already apologised to Martin -- and now to you as well -- regarding my poor choice of wording, due to me being genuinely unsure how I shoul;d have described the problem.

I have not reported any other problem regarding TRUE / FALSE statements; these aren't highlighted at all.  Following your instructions on a FALSE statement I obtain no indication as to its face:

== START ==
  character: L (76, #o114, #x4c, U+004C)
    charset: ascii (ASCII (ISO646 IRV))
 code point: #x4C
     syntax: w which means: word
   category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x4C
  file code: #x4C (encoded by coding system undecided-unix)
    display: by this font (glyph code)
     -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1 (#x4C)

There are text properties here:
  fontified            t
== END ==

The only font setting command I have in my .emacs file is

(setq font-lock-maximum-decoration t)

which shouldn't interfere with the font locking issue I've notice; that is unless I'm mistaken.

Hope the above helps; thank you again, cheers,

--
Stefano


> ----- Original Message -----
> From: Vitalie Spinu
> Sent: 10/01/12 03:51 PM
> To: Stefano Conti
> Subject: Re: [ESS-bugs] ess-mode 12.09 [rev. 5167 (2012-09-24)]; highlighting logical variables
> 
> >> "Stefano Conti" <s.conti at gmx.co.uk>
>  >> on Mon, 01 Oct 2012 16:25:34 +0200 wrote:
> 
> [...]
> 
>  SC> I have just realised that the latest ESS also offers a flaky
>  SC> handling of syntax highlighting.
> 
> What do you mean by "flaky"? Is there any other problem except
> TRUE/FALSE which you have reported?
> 
>  SC> Specifically, logical statements (TRUE / FALSE) seem to no longer
>  SC> be highlighted in green (at least on both my work and home
>  SC> systems) font. 
> 
> It is not highlighted in green, but is it highlighted at all? Place the
> point on TRUE and do "C-u C-x =". Do you see:
> 
>  There are text properties here:
>  face font-lock-type-face
>  fontified t
> ?
> 
> If not look in ESS/Font-Lock menu and see if constants are selected.
> 
> Also check your .emacs if you interfere with font-lock yourself. If so,
> remove that. ESS font-lock internals have been changed.
> 
>  Vitalie



More information about the ESS-bugs mailing list