From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Gambier Newsgroups: gmane.emacs.help Subject: sh-script.el : don't colorize $(( 4 << 2 )) as here-document Date: Thu, 19 Nov 2009 18:18:01 +0100 Message-ID: <4B057DC9.4090702@sdesigns.eu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258816081 16416 80.91.229.12 (21 Nov 2009 15:08:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2009 15:08:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 21 16:07:54 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBrZ3-0000iD-Oi for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Nov 2009 16:07:54 +0100 Original-Received: from localhost ([127.0.0.1]:45396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBrZ3-0004mS-BS for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Nov 2009 10:07:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBAe6-0006HG-I2 for help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 12:18:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBAe5-0006Eu-8Q for help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 12:18:14 -0500 Original-Received: from [199.232.76.173] (port=47478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBAe5-0006Ee-33 for help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 12:18:13 -0500 Original-Received: from a.mx.sdesigns.eu ([78.31.43.6]:34950) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NBAe4-00017K-Gd for help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 12:18:12 -0500 Original-Received: from [172.27.0.188] (murgen.france.sdesigns.com [172.27.0.188]) by mailhost.france.sdesigns.com (Postfix) with ESMTP id 2C669100019 for ; Thu, 19 Nov 2009 18:18:02 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Sat, 21 Nov 2009 10:04:05 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69994 Archived-At: Hello, 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 (http://lists.gnu.org/archive/html/help-gnu-emacs/2003-06/msg00158.html). 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.