From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: nXhtml and RoR Date: Fri, 11 Jul 2008 01:39:34 +0200 Message-ID: <48769DB6.4020803@gmail.com> 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215733212 29522 80.91.229.12 (10 Jul 2008 23:40:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 23:40:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Cezar Halmagean Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 01:40:58 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 1KH5ku-0001FN-RV for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 01:40:57 +0200 Original-Received: from localhost ([127.0.0.1]:58523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH5k2-0008To-EJ for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jul 2008 19:40:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KH5jk-0008Tj-T6 for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 19:39:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KH5ji-0008TS-HG for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 19:39:43 -0400 Original-Received: from [199.232.76.173] (port=38275 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH5ji-0008TP-BS for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 19:39:42 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:59327) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KH5jh-0006M9-PC for help-gnu-emacs@gnu.org; Thu, 10 Jul 2008 19:39:42 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:60783 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KH5je-0003N9-8W; Fri, 11 Jul 2008 01:39:40 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 080710-0, 2008-07-10), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1KH5je-0003N9-8W. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KH5je-0003N9-8W e850587c44ff7473f8179a5cf115d111 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:55403 Archived-At: Cezar Halmagean wrote: > "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;") This does not happen to me, unfortunately, but I think/hope I can guess what is going on. > 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 Can you please evaluate (symbol-plist 'after-change-functions)? > Cezar > > > >