nXhtml fails to load js.el

Bug #831547 reported by Michael Lumish
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nXhtml
New
Undecided
Unassigned

Bug Description

When using django-nxhtml-mumamo-mode, any time I try to write javascript emacs tries to load /usr/share/emacs/23.2/lisp/progmodes/js.el and fails, which causes it to indent improperly and go very slowly. In my setup (clean installation besides nxhtml) the progmodes directory only contains *.elc files, including js.elc.

The error appears to be in the function find-function-search-for-symbol in the lines
(when (string-match "\\.el\\(c\\)\\'" library)
  (setq library (substring library 0 (match-beginning 1))))
This is described in this Stack Overflow answer: http://stackoverflow.com/questions/7112751/emacs-incorrectly-looking-for-el-instead-of-elc/7114472#7114472

Revision history for this message
kusut (kusut) wrote :

Im experiencing this too. Also happens in django-html-mumamo-mode

Revision history for this message
Sven Eriksson (a3403667) wrote :

Im having this problem aswell, i also have the js.elc file in the directory but it won't find it for the same reason i suppose.

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.