[ESS] change font-lock-string-face for back ticks

Munawar Cheema mcheema at btinternet.com
Mon Feb 17 19:22:18 CET 2014


On 17/02/2014 18:08, Vitalie Spinu wrote:
>   >>> Munawar Cheema on Mon, 17 Feb 2014 15:35:59 +0000 wrote:
>
> [...]
>
>   > In my emacs statements such as:
>   > `%weirdly-named-function` <- function(){}
>   > `var-name` <- "djsf"
>
>   > The face of the function is the string-face and not the face for
>   > functions and similarly for the var-name face.
>
> For me the function is highlighted with
> font-lock-function-name-face. The `var-name` is indeed highlighted as a
> string. It kind of makes sense for it not to be.
>
>    Vitalie
>
>
>

Vitalie,
I just tried again without my customizations and you are right the 
function does indeed get the font-lock-function-name-face.
I tried to figure out where Emacs sets the delimiters for strings but my 
Emacs lisp foo fails me.  There must be a way to tell it not to use back 
ticks for strings in ESS-mode.


-- 
*Munawar Cheema *



More information about the ESS-help mailing list