From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Woody Newsgroups: gmane.emacs.help Subject: Edit jsp with tag library Date: Sat, 13 Dec 2003 16:31:49 +0800 Organization: LCZM Software Ltd, Zhuhai, China Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071308022 14328 80.91.224.253 (13 Dec 2003 09:33:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Dec 2003 09:33:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 13 10:33:35 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AV69X-0000BG-00 for ; Sat, 13 Dec 2003 10:33:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AV764-0001tn-Dz for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Dec 2003 05:34:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AV75s-0001ta-AK for help-gnu-emacs@gnu.org; Sat, 13 Dec 2003 05:33:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AV75M-0001jf-I5 for Help-gnu-emacs@gnu.org; Sat, 13 Dec 2003 05:33:51 -0500 Original-Received: from [61.142.80.115] (helo=mail.zsw.com) by monty-python.gnu.org with smtp (Exim 4.24) id 1AV75L-0001io-Na for Help-gnu-emacs@gnu.org; Sat, 13 Dec 2003 05:33:20 -0500 Original-Received: (qmail 26211 invoked by uid 0); 13 Dec 2003 09:31:51 -0000 Original-Received: from unknown (HELO STEVEN) (218.13.195.237) by ns.zhongshan-window.com.cn with SMTP; 13 Dec 2003 09:31:51 -0000 Original-To: Help-gnu-emacs@gnu.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15219 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15219 I've configured Emacs to edit/read jsp using psgml+html-mode+multi-mode. For normal jsp files, it seems working fine (do a correct indentation for me). But when I edit/read jsp with tag library, the indentation simply broke. for example, a jsp file with taglib should indented as below,

test

but, psgml+html-mode+multi-mode wrongly think the need a or
as closure. so it indent the above jsp this way,

test

this is not what I expected. Is there a way to fix it? -- Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Albert Einstein