mumamo-fontify-region: Args out of range

Bug #975775 reported by Varun Vats
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
New
Undecided
Unassigned

Bug Description

Hi, I am trying to use nXhtml to edit a PHP file and when i enter the following

/*

to insert a comment, I get the following message in the echo area:

mumamo-fontify-region: Args out of range: 6, 1059.

I am not sure how to deal with this as I am a fairly new (few days old) Emacs user and have no prior Elisp programming experience. I tried googling the error message with the keyword nxhtml but nothing informative came up.

I am fairly certain my Emacs initialization (~/.emacs) is not interfering with nXhtml as I tried loading Emacs without it and then loading nXhml with the command:

M-x emacs-Q-nxhtml

as suggested by:

M-x nxhtml-report-bug

and was treated with the same error message on trying to insert '/*'.

My setup:
Os: Debian Squeeze (6.0.4)
Emacs: GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-12-11 on brahms, modified by Debian

Thanks for the help.

-- Varun Vats

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks for the bug report, Varun. Could you please attach an example file here so I can investigate this?

Revision history for this message
Happy McAngry (happymcangry) wrote :
Download full text (28.6 KiB)

I also have this same issue. I'm attaching a php page. I've removed the database connection information, but it doesn't matter. When typing in the page, I can type all of the *'s I want. However, as soon as I type a "/*", nxhtml crashes hard. I have to close the file.

Here's the stuff it spits out to me.

Debugger entered--Lisp error: (args-out-of-range 6 1865)
  parse-partial-sexp(6 1865)
  (setq ppss (parse-partial-sexp 6 (+ eol-pos 1)))
  (let ((here ...) eol-pos) (goto-char 1862) (setq eol-pos (line-end-position)) (goto-char here) (setq ppss (parse-partial-sexp 6 ...)) (unless (nth 4 ppss) (setq doesnt-ret t)))
  (if (nth 4 ppss) (let (... eol-pos) (goto-char 1862) (setq eol-pos ...) (goto-char here) (setq ppss ...) (unless ... ...)))
  (progn (setq doesnt-ret nil) (if (nth 4 ppss) (let ... ... ... ... ... ...)))
  (if (or (nth 3 ppss) (nth 4 ppss)) (progn (setq doesnt-ret nil) (if ... ...)) (setq doesnt-ret t))
  (let (ppss) (setq ppss (parse-partial-sexp 6 ...)) (if (or ... ...) (progn ... ...) (setq doesnt-ret t)))
  (progn (let (ppss) (setq ppss ...) (if ... ... ...)))
  eval((progn (let (ppss) (setq ppss ...) (if ... ... ...))))
  #[(body) "\306\307\310\311\312\313\314\306\315\316\317\211\315\211\320\306\321\322\306\211\211\323\306\315\211\324\325\306\326\306\211\327\330\331\332\333\334\335\336\306\211\315\211$
#^^[3 0 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... $
#^^[3 0 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... $
#^^[3 128 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..$
#^^[3 256 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..$
#^^[3 640 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..$
#^^[3 896 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..$
#^^[3 1408 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .$
#^^[3 3584 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .$
#^^[3 3712 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .$
#^^[3 3840 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ......

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.