From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Marijn Schouten (hkBst)" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: end-of-string not recognized in shell-script-mode Date: Wed, 15 Aug 2007 12:13:23 +0200 Message-ID: <46C2D1C3.6040509@gentoo.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187173356 18740 80.91.229.12 (15 Aug 2007 10:22:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 10:22:36 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 12:22:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILG1H-0000Vd-7u for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 12:22:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILG1F-0004LK-Tz for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 06:22:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILFtQ-0005jB-0B for emacs-devel@gnu.org; Wed, 15 Aug 2007 06:14:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILFtN-0005f5-FB for emacs-devel@gnu.org; Wed, 15 Aug 2007 06:14:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILFtN-0005ec-7g for emacs-devel@gnu.org; Wed, 15 Aug 2007 06:14:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILFtN-0000rN-0l for emacs-devel@gnu.org; Wed, 15 Aug 2007 06:14:21 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILFwp-0002Lm-1f for emacs-pretest-bug@gnu.org; Wed, 15 Aug 2007 06:17:55 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1ILFtK-0000qt-5T for emacs-pretest-bug@gnu.org; Wed, 15 Aug 2007 06:14:20 -0400 Original-Received: from pollux.sshunet.nl ([145.97.192.42]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILFtJ-0000qL-Ru for emacs-pretest-bug@gnu.org; Wed, 15 Aug 2007 06:14:18 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by pollux.sshunet.nl (Postfix) with ESMTP id 485AD58000E for ; Wed, 15 Aug 2007 12:14:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at pollux.warande.net Original-Received: from pollux.sshunet.nl ([127.0.0.1]) by localhost (pollux.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0MU5fhGVxw8B for ; Wed, 15 Aug 2007 12:14:15 +0200 (CEST) Original-Received: from [145.97.223.73] (73pc223.sshunet.nl [145.97.223.73]) by pollux.sshunet.nl (Postfix) with ESMTP for ; Wed, 15 Aug 2007 12:14:15 +0200 (CEST) User-Agent: Thunderbird 2.0.0.6 (X11/20070802) X-Enigmail-Version: 0.95.2 X-Detected-Kernel: Linux 2.6 (newer, 3) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 15 Aug 2007 06:22:26 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76561 gmane.emacs.pretest.bugs:19543 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, end-of-string is not always recognized in shell-script-mode. If you open the following in emacs 22.1.50.1: M="$(g 1)${t:$(e 2):1}" DESCRIPTION="string" then the last lines will be grey as if they are strings, and the string on line 5 will be black instead of grey. If you remove the quotes from line 1: M=$(g 1)${t:$(e 2):1} DESCRIPTION="string" then proper syntax highlighting is restored. Put the quotes back and it goes wrong again. - -- Marijn Schouten (hkBst), Gentoo Lisp project http://www.gentoo.org/proj/en/lisp/, #gentoo-lisp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGwtHDp/VmCx0OL2wRAgmxAJ9MRhuh3y6U0RokA6CkwI7y8UBZZgCeNea5 aQhJpI1XJdNhh/eFgjdz8k4= =fr7+ -----END PGP SIGNATURE-----