Bug 100% cpu charge

Bug #290364 reported by toddoon
2
Affects Status Importance Assigned to Milestone
nXhtml
Fix Released
High
lborgman

Bug Description

Hello,

When i open a php file witch contains php and html i have the cpu rate that increase to 100%.

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

Hi toddoon,

Can you please send an example file? What version of nXhtml are you using? Does this happen when you start from "emacs -Q"?

Revision history for this message
toddoon (guillaume-sorbier) wrote :

When i run emacs -Q i have not the nxhtml-mode.
I send you an example of php file.

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

Thanks for the file.

My bad, I should have said that you from within Emacs should do

  M-x emacs-Q-nxhtml

This will open a new Emacs where only nXhtml have been loaded (in addition to default Emacs).

Revision history for this message
toddoon (guillaume-sorbier) wrote :

I have an error see in *Messages* file

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

I can confirm the bug starting from "M-x emacs-Q-nxhtml".

There are actually two bugs:

1) The file is complicated for MuMaMo. It can't find the chunks.

2) Because of these MuMaMo loops.

I will look into it.

Revision history for this message
toddoon (guillaume-sorbier) wrote :

Ok perhaps it is a minor bug, because i don't still see this problem, or only on some particularly files. Why your modes isn't in ubuntu packages ? :-)

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

I consider it a major bug, but I do not have time to fix it right now. A rather complicated change to the code is needed.

I think someone else has suggested that it should be in the ubuntu package, but I do not know more about that.

Changed in nxhtml:
assignee: nobody → lennart-borgman
importance: Undecided → High
status: New → In Progress
Revision history for this message
lborgman (lennart-borgman) wrote :

toddon, could you please try the latest beta here:

  http://ourcomments.org/Emacs/DL/elisp/nxhtml/beta/

Changed in nxhtml:
status: In Progress → Fix Committed
Changed in nxhtml:
status: Fix Committed → Fix Released
Revision history for this message
toddoon (guillaume-sorbier) wrote : Mumamo

hi,

I would know if you can give me some help for using mumamo.el
I would like just to have in my buffer a php-mode and a html-mode and
perhaps a javascript-mode.
What is the easiest way to add these mode to mumamo. I have search a
little in nxhtml but it seems to be difficult for me. Perhaps does it
exist a documentation on mumamo, i don't find it.

Regards
Guillaume Sorbier

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.