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

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

Re: font-lock confused in sh-script-mode


From: Reiner Steib
Subject: Re: font-lock confused in sh-script-mode
Date: Wed, 26 Jul 2006 18:07:15 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Wed, Jul 26 2006, Stefan Monnier wrote:

>> The buffer is font-locked incorrectly, see the attached screen shot:
> [...]
>> It seems like the unbalanced backquote in the comment «# force `ro» in
>> combination with the two «echo "... \\"» confused font-lock.
>
> I don't see anything wrong in the screen shot.

Sorry, for some reason this screen shot didn't show the problem.
Here's a new one:

PNG image

Everything between \\" and \\" is displayed as a string
(`font-lock-string-face').  The string in «echo "#"» also is not
correct: «"#"» should be `font-lock-string-face', but the first «"» is
in default face and «#"» is in `font-lock-comment-face'.

After closing the backquote in the comment «# force `ro`», everything
is okay, AFAICS.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

reply via email to

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