From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Payne Newsgroups: gmane.emacs.bugs Subject: bug#16495: problems emacs emacs 24.3.50 with mumamo and nxhtml modes Date: Sun, 19 Jan 2014 16:08:30 +0000 Message-ID: <131CEEF7-DDAD-4D6C-A0F3-917270D74778@payne-family.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390147756 1561 80.91.229.3 (19 Jan 2014 16:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jan 2014 16:09:16 +0000 (UTC) To: 16495@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 19 17:09:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W4uw4-0006tM-5H for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jan 2014 17:09:20 +0100 Original-Received: from localhost ([::1]:46738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4uw3-0000rB-Hl for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jan 2014 11:09:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4uvu-0000qz-7i for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:09:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4uvn-0007Ns-BW for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:09:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4uvn-0007Nm-8C for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4uvm-00079y-IO for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Payne Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jan 2014 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139014773727508 (code B ref -1); Sun, 19 Jan 2014 16:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jan 2014 16:08:57 +0000 Original-Received: from localhost ([127.0.0.1]:57223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4uvg-00079c-S0 for submit@debbugs.gnu.org; Sun, 19 Jan 2014 11:08:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4uve-00079R-Ly for submit@debbugs.gnu.org; Sun, 19 Jan 2014 11:08:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4uvX-0007Lr-EZ for submit@debbugs.gnu.org; Sun, 19 Jan 2014 11:08:54 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4uvX-0007Ln-BV for submit@debbugs.gnu.org; Sun, 19 Jan 2014 11:08:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4uvR-0000oH-6e for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:08:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4uvK-0007Jr-AJ for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:08:41 -0500 Original-Received: from caibbdcaacbi.dreamhost.com ([208.113.200.218]:51464 helo=homiemail-a69.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4uvJ-0007JY-VU for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2014 11:08:34 -0500 Original-Received: from homiemail-a69.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a69.g.dreamhost.com (Postfix) with ESMTP id D870940119A04 for ; Sun, 19 Jan 2014 08:08:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=payne-family.org; h=from :content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; s=payne-family.org; bh=owasA71rfXQms/ErEfbTW3F AnMA=; b=JgdKQCYDnw4ehwHod/gv/FKdfrKsqPDhCCZOwp5060RDo789H630nFb khtkAaVgfo5RKSIPVb0rvyI9teZIxaXyQ/QJylEv/PJEv48YvKX+31Hgfv+swwgm m9U2PtrQeJe0CZ7DNKt9H7Ql7lRRcfvYc0n+v5Imc0dV81AMOBks= Original-Received: from [10.0.1.92] (cpc7-camd15-2-0-cust712.20-2.cable.virginm.net [94.174.158.201]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jonathan@payne-family.org) by homiemail-a69.g.dreamhost.com (Postfix) with ESMTPSA id 522A640119A02 for ; Sun, 19 Jan 2014 08:08:31 -0800 (PST) X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83725 Archived-At: Here are some issues I have had editing Django templates using MuMaMo = nXhtml/django-nxhtml mode. This works fine in emacs 24.3.1. 1) When first loading a file a jit-lock issue causes an exception and we = end up NOT in html mode: > ad-handle-definition: `rng-validate-mode' got redefined > Loading nxhtml-mode...done > File mode specification error: (wrong-type-argument timerp [t nil nil = nil nil nil nil nil]) > Error running timer `jit-lock-stealth-fontify': (wrong-type-argument = timerp [t nil nil nil nil nil nil nil]) [4 times] if I revisit the same file I end up in "MuMaMo border/django-nxhtml" = mode, and the buffer is properly fontified. But I still get errors about = jit-lick-stealth-fontify. Also these are appearing in *Compile-Log* but = I am not sure why because I just loaded a file, not tried to compile = emacs lisp files: > Warning: `comment-use-global-state' is an obsolete variable (as of = 24.4); use > `comment-use-syntax' instead. 2) In the html file in a CSS section, I pressed C-o to do "open-line" = and the line was opened but the cursor moved down a line as though I had = pressed Return to insert a line. There's a new set of emacs errors that = occurred including one which might explain why open-line failed: > Error running timer `jit-lock-stealth-fontify': (wrong-type-argument = timerp [t nil nil nil nil nil nil nil]) [2 times] > ESC C-M-p is undefined > Beginning of buffer [7 times] > Mark set > Error running timer `jit-lock-stealth-fontify': (wrong-type-argument = timerp [t nil nil nil nil nil nil nil]) > Using vacuous schema > Using schema /Applications/My Applications/Emacs = (save).app/Contents/Resources/etc/schema/xhtml.rnc > Internal error in rng-validate-mode triggered at buffer position 165. = Symbol's function definition is void: rng-mark-xmltok-dependent-regions > self-insert-command: Wrong number of arguments: (2 . 2), 3 Meanwhile, performing "open-line" inside a bit of HTML section works as = expected. 3) Stepping *with Control-N" into a JavaScript section of the file = produced more jit-lock errors with timerp as described above. More of = these as well: > Internal error in rng-validate-mode triggered at buffer position 7417. = Symbol's function definition is void: rng-mark-xmltok-dependent-regions > self-insert-command: Wrong number of arguments: (2 . 2), 3 4) I had issues indenting code in JavaScript. It gets some things wrong = which it didn't used to get wrong. AND sometimes (but this is = intermittent which makes no sense to me) it displays an error when I try = to indent some lines. It's possible it was just the = jit-lock-stealth-fontify bug, which happens in the background = periodically ... but I think ... Wait - here it is. If I reload the file = and then go straight into some JavaScript code and press tab to indent I = get this: > Using schema /Applications/My Applications/Emacs = (save).app/Contents/Resources/etc/schema/xhtml.rnc > Internal error in rng-validate-mode triggered at buffer position 165. = Symbol's function definition is void: rng-mark-xmltok-dependent-regions > mumamo-indent-line-in-mirror: Wrong number of arguments: (2 . 2), 3