From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cezar Halmagean Newsgroups: gmane.emacs.help Subject: Re: nXhtml and RoR Date: Thu, 10 Jul 2008 15:44:46 -0700 Message-ID: <7753.48769170723$1215729987@news.gmane.org> References: <48768582.5040601@gmail.com> <49696.083556819$1215728098@news.gmane.org> <48768FD6.6000405@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215729934 21470 80.91.229.12 (10 Jul 2008 22:45:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 22:45:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 00:46:21 2008 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 1KH4tu-0003rP-Tw for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 00:46:11 +0200 Original-Received: from localhost ([127.0.0.1]:59157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH4t3-0000Hg-Bs for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jul 2008 18:45:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KH4sl-0000Fd-IB for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 18:44:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KH4sl-0000FE-74 for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 18:44:59 -0400 Original-Received: from [199.232.76.173] (port=34891 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH4sk-0000Ex-V4 for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 18:44:58 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:60592 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KH4sk-0005mb-5T for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 18:44:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KH4sg-00055L-9m for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 22:44:54 +0000 Original-Received: from 208.71.158.250 ([208.71.158.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jul 2008 22:44:54 +0000 Original-Received: from cezar by 208.71.158.250 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jul 2008 22:44:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 208.71.158.250 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (darwin) Cancel-Lock: sha1:hOYvuiohwcjv62z50C4zVVWKEUk= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:55402 Archived-At: "Lennart Borgman (gmail)" writes: > Cezar Halmagean wrote: >> Cezar Halmagean writes: >> >>> "Lennart Borgman (gmail)" writes: >>> >>>> Could you try replacing rng-valid.el with the one I have attached? You >>>> need to byte compile it (otherwise the old version will be loaded). >>> Still *broken*. See this screenshot: >>> http://mixandgo.com/screen-capture.png >>> >>> Cezar >> >> Additoinal info: >> >> I am using GNU Emacs 23.0.60.1 (i386-apple-darwin9.2.2, *Step 9.0rc3) of >> 2008-05-27 and I have been testing with emacs -Q also and i get the same >> thing. > > > Thanks. It might be we are hitting an Emacs bug here, I do not know. > > I just tested with CVS Emacs from 2008-05-29. When I open the file it > is opened in nxhtml-mode. This is wrong, it should be opened in multi > major mode nxhtml-mumamo. > > If I do > > M-x nxhtml-mumamo > > then however the fontification works ok. > > So I do not get the error that you get (that is shown in the screen > shot). Could you please show the *Messages* buffer? I hope there is > more information. The file opens with syntax highlighting intact but as soon as I change something in the CSS code, the syntax gets messy again and doesn't come back. (Try removing the ";" from "color: white;") Using vacuous schema (benchmark 1 '(mumamo-find-chunks)) Elapsed time: 0.004841s Using schema ~/.elisp/nxml/nxml-mode-20041004/schema/xhtml.rnc Internal nXML mode error in nxml-after-change (Wrong type argument: number-or-marker-p, nil), degrading Cezar