error loading nxhtml "void-variable web-vcs-investigate-ouput-mode"

Bug #696447 reported by Ali Asad Lotia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
Fix Committed
Medium
Unassigned

Bug Description

Mac OS 10.6.5

Emacs built from bzr trunk.
revno: 102735
revision-id: <email address hidden>

nxhtml branched from bzr launchpad
revno: 764 [merge]
revision-id: <email address hidden>

nxhtml loads fine before byte compilation. After byte compiling nxhtml, I get the following warning on emacs startup. nxhtml is loaded at startup by placing "(load (concat local-modules-dir "/nxhtml/autostart"))" in the init.el file. I have placed emacs output between <start emacs output> and <end emacs output> pseudo tags.

<start emacs output>
Warning (initialization): An error occurred while loading `/Users/lotia/.emacs.d/init.el':

Symbol's value as variable is void: web-vcs-investigate-output-mode

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
<end emacs output>

Starting Emacs with the "--debug-init" option yields the following output:
<start emacs output>
Debugger entered--Lisp error: (void-variable web-vcs-investigate-output-mode)
  byte-code("\302^HB^P\306\302!\204^O^@\307\302\310\"\210\311 \312\313\314\303!\210\n\211^S\314\3$
  require(web-vcs)
  (progn (require (quote web-vcs)))
  (eval-when-compile (require (quote web-vcs)))
  eval-buffer(#<buffer *load*<2>> nil "/Users/lotia/.emacs-stuff.d/nxhtml/nxhtml-loaddefs.el" nil $
  load-with-code-conversion("/Users/lotia/.emacs-stuff.d/nxhtml/nxhtml-loaddefs.el" "/Users/lotia/.$
  load("/Users/lotia/.emacs-stuff.d/nxhtml/nxhtml-loaddefs" nil)
  byte-code("^H\306W\203^V^@\307\310!\2040^@\311\312\313 \"!\210\2020^@\314\315!\314\316!^Z^$
  load("/Users/lotia/.emacs-stuff.d/nxhtml/autostart")
  eval-buffer(#<buffer *load*> nil "/Users/lotia/.emacs.d/init.el" nil t) ; Reading at buffer pos$
  load-with-code-conversion("/Users/lotia/.emacs.d/init.el" "/Users/lotia/.emacs.d/init.el" t t)
  load("/Users/lotia/.emacs.d/init" t t)
  #[nil "^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ \311=\2033^@\312\307\313\314#\203#^@\315\20$
  command-line()
  normal-top-level()
<end emacs output>

Please let me know if I can do anything to provide further assistance with this. I'm afraid my emacs lisp isn't good enough to already have provided a bugfix. But I may be able to provide more debug information with some guidance. I am not able to attach the output of M-x nxhtml-report-bug because that function isn't available due to the problem with loading nxhtml.

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

Hi Ali, thanks for the bug report. Could you please try again?

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Ali Asad Lotia (ali-asad-lotia) wrote :

Dear lborgman,
I did a bzr pull and currently HEAD is at:
revno: 766 [merge]
revision-id: <email address hidden>

The byte compiled version of nxhtml loads fine, and there are no issues after byte compilation.
Thank you for the very quick response and for the fix.

Best,
Ali

Changed in nxhtml:
status: In Progress → Fix Committed
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.