From unknown Tue Jun 17 01:46:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16495: problems emacs emacs 24.3.50 with mumamo and nxhtml modes 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: To: 16495@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.139014773727508 (code B ref -1); Sun, 19 Jan 2014 16:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jan 2014 16:08:57 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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= 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) From: Jonathan Payne Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <131CEEF7-DDAD-4D6C-A0F3-917270D74778@payne-family.org> Date: Sun, 19 Jan 2014 16:08:30 +0000 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 From unknown Tue Jun 17 01:46:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16495: problems emacs emacs 24.3.50 with mumamo and nxhtml modes Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Dec 2020 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jonathan Payne Cc: 16495@debbugs.gnu.org Received: via spool by 16495-submit@debbugs.gnu.org id=B16495.16072671097200 (code B ref 16495); Sun, 06 Dec 2020 15:06:01 +0000 Received: (at 16495) by debbugs.gnu.org; 6 Dec 2020 15:05:09 +0000 Received: from localhost ([127.0.0.1]:50682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvb2-0001s4-Rr for submit@debbugs.gnu.org; Sun, 06 Dec 2020 10:05:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvay-0001rN-4v for 16495@debbugs.gnu.org; Sun, 06 Dec 2020 10:05:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hMq6srPlbGKQtO15lAeGgQ4FHk/gLHfdrNtjk0OeizI=; b=WYlnlT1WBJZEcd2b52AD3q96Od jFeB/bq5s79MXXlVkefri9mqynaIoka1L4XbOeNvYIuPjktY1UIurgsdvBkJ2drtc4D87xE/nDHFK fCF9jrdCNYyuQvyfCdAvuhbAz+CpHuYxic1ZTmCjJOhlvHgMdtaOfOXEscBFUZdsNoYo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klvap-0005L8-Bi; Sun, 06 Dec 2020 16:04:57 +0100 From: Lars Ingebrigtsen References: <131CEEF7-DDAD-4D6C-A0F3-917270D74778@payne-family.org> X-Now-Playing: Matmos's _Pres Rebooted_: "Presto" Date: Sun, 06 Dec 2020 16:04:54 +0100 In-Reply-To: <131CEEF7-DDAD-4D6C-A0F3-917270D74778@payne-family.org> (Jonathan Payne's message of "Sun, 19 Jan 2014 16:08:30 +0000") Message-ID: <87a6urasbt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jonathan Payne writes: > 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 except [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jonathan Payne writes: > 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] (This bug report unfortunately got no response at the time.) I'm guessing this is a problem with mumamo, and not in Emacs? So the bug report should probably go to the mumamo people. > 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 This also looks like a mumamo issue. Since this doesn't seem to be an Emacs bug, I'm closing this bug report. If that's wrong, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 10:05:11 2020 Received: (at control) by debbugs.gnu.org; 6 Dec 2020 15:05:11 +0000 Received: from localhost ([127.0.0.1]:50686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvb5-0001sJ-65 for submit@debbugs.gnu.org; Sun, 06 Dec 2020 10:05:11 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvb3-0001rp-45 for control@debbugs.gnu.org; Sun, 06 Dec 2020 10:05:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0S9ZkZXshehJ7u78cXU+h1ZsO8ASuS/yCFBQN8nrq1o=; b=LwlrUiU1Hqkd74OFxjCCk/2eAh z4EVaMeQyP4w+5C5CzGHXNYkASJPbKWN8kJdxPRyhXPAhUJ5BanxNPJRpWhE5yWcvVS9LVje2zVMY qVHFX011JBRuOJRpnQGVW7QxZTQvoVz4doJoAkWL6fNLOTXgUiU0xCLyHMB9HKk4QKtM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klvav-0005LF-GJ for control@debbugs.gnu.org; Sun, 06 Dec 2020 16:05:03 +0100 Date: Sun, 06 Dec 2020 16:05:00 +0100 Message-Id: <878sabasbn.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16495 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 16495 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 16495 quit