From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7204: html-mode do not match { } when there is a if with < Date: Tue, 12 Oct 2010 21:28:23 -0400 Message-ID: References: <4CB4CE49.6090008@ergoigl.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286934201 17377 80.91.229.12 (13 Oct 2010 01:43:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 01:43:21 +0000 (UTC) Cc: 7204@debbugs.gnu.org To: Guy Leblanc Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 03:43:20 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5qND-0004iP-2b for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 03:43:20 +0200 Original-Received: from localhost ([127.0.0.1]:43239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5qNC-0001Dw-4U for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Oct 2010 21:43:18 -0400 Original-Received: from [140.186.70.92] (port=55164 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5qN2-0001AH-PF for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2010 21:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5qM6-0001tP-B9 for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2010 21:42:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5qM6-0001sf-9X for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2010 21:42:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P5q5W-00069o-ER; Tue, 12 Oct 2010 21:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2010 01:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7204 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7204-submit@debbugs.gnu.org id=B7204.128693309823662 (code B ref 7204); Wed, 13 Oct 2010 01:25:02 +0000 Original-Received: (at 7204) by debbugs.gnu.org; 13 Oct 2010 01:24:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5q5R-00069b-R8 for submit@debbugs.gnu.org; Tue, 12 Oct 2010 21:24:57 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5q5P-00069W-FO for 7204@debbugs.gnu.org; Tue, 12 Oct 2010 21:24:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiIKAIentExLd/aq/2dsb2JhbACgVXxyv1KFSASSDQ X-IronPort-AV: E=Sophos; i="4.57,322,1283745600"; d="scan'208,217"; a="78752981" Original-Received: from 75-119-246-170.dsl.teksavvy.com (HELO ceviche.home) ([75.119.246.170]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 12 Oct 2010 21:28:23 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 71B06660F5; Tue, 12 Oct 2010 21:28:23 -0400 (EDT) In-Reply-To: <4CB4CE49.6090008@ergoigl.com> (Guy Leblanc's message of "Tue, 12 Oct 2010 17:08:25 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 12 Oct 2010 21:25:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40840 Archived-At: html-mode is not clever enough to know about scripts. So in html-mode, "<" is treated as a kind of open-paren, just like ( and { and that applies inside just like elsewhere. To fix this, you need support for "multiple major modes" or something similar. You may wan to check mmm-mode.el or nxhtml or multi-mode.el, ... Stefan