[Top][All Lists]

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

sh-script.el : don't colorize $(( 4 << 2 )) as here-document

From: Thomas Gambier
Subject: sh-script.el : don't colorize $(( 4 << 2 )) as here-document
Date: Thu, 19 Nov 2009 18:18:01 +0100
User-agent: Thunderbird (X11/20090817)


when I'm writing something like this in bash script value=$(( 4 << 2 )), Emacs keep thinking it's the beginning of here-document and will colorize in yellow all the code below this expression.

I've seen that a bug in sh-script.el was corrected so that << between "" won't be interpreted as a beginning of here-document ( Is there any solution to don't consider also << between $(( )) ? I looked into sh-script.el to try to correct it myself but I'm not very at ease with lisp and regular expression and I didn't find what to change. That's why I ask help here. If it's not possible, I will disable the feature as explained in the previous link.

Best regards.

Thomas Gambier.

reply via email to

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