[ESS] ess using stata: Symbol's value as variable is void:, inferior-ess-font-lock-keywords

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Wed Oct 12 10:31:09 CEST 2005



Mmmm. inferior-ess-font-lock-keywords is set on a mode by mode basis,
and for  Stata, it seems to be locally set to nil.

First, please send a backtrace of the error.
----------------------------------------------------------------------
   If Emacs reports an error, backtraces can help us debug the problem.
Type "M-x set-variable RET debug-on-error RET t RET".  Then run the
command that causes the error and you should see a *Backtrace* buffer
containing debug information; send us that buffer.
----------------------------------------------------------------------
then send us the error you get after running M-x stata

Furthermore, as a guess, try adding the following 
(setq inferior-ess-font-lock-keywords nil)
in your .emacs file (before ESS loads) to see if that makes a
difference after you restart emacs.

Thanks, Ste[hen


renato corbetta writes:
 > Hello. I'm new to ESS and I'm having the same problem as Markus.
 > I get exactly the same error message.  The only difference
 > is that I cannot start a Stata process even after
 > starting an R process.  
 > 
 > I noticed on the Stata listserv that some people have been 
 > having the same problem, but there is no posted solution.
 > 
 > I have ESS 5.2.10 on GNU Emacs 21.3 on a Windows XP machine.
 > I followed the installation procedure step and by step, specifying
 > the PATH and modifying the _emacs file.  
 > 
 > I'm sorry for being so boneheaded, but can anyone help me out
 > with this?   
 > 
 > Thanks,
 > 
 > Renato
 > 
 > > Hello All: when I try to start Stata in ESS (both emacs and xemacs; see
 > > below) I get the error (from the Messages buffer):
 > >
 > > font-lock-eval-keywords: Symbol's value as variable is void:
 > > inferior-ess-font-lock-keywords
 > >
 > > However, if I first start an R process and then start Stata, the Stata
 > > process
 > > -- 
 > > Markus Jantti
 > > Abo Akademi University
 > > markus.jantti at iki.fi <https://stat.ethz.ch/mailman/listinfo/ess-help>
 > > http://www.iki.fi/~mjantti <http://www.iki.fi/%7Emjantti>
 > > starts as it should. 
 > >
 > > The workaround is of course obvious, but maybe this could be remedied.
 > >
 > > Am using ESS 5.2.6 on GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit,
 > > Xaw3d scroll bars) of 2005-03-17 on trouble, modified by Debian
 > > both installed on a Debian testing. The same behavior appears using
 > > Xemacs and the ess package distributed with Debian xemacs.
 > > 
 > > 
 > > -- 
 > > Markus Jantti
 > > Abo Akademi University
 > > markus.jantti at iki.fi <https://stat.ethz.ch/mailman/listinfo/ess-help>
 > > http://www.iki.fi/~mjantti <http://www.iki.fi/%7Emjantti>
 > 
 >  
 > *****************************************************************
 > Renato Corbetta, PhD                         Phone: 205-934-2336
 > 238A Ullman                                  Fax: 205-975-5712
 > Department of Government                       
 > The University of Alabama at Birmingham
 > 1212 University Blvd.
 > Birmingham, AL 35294-3050
 > 
 > ______________________________________________
 > ESS-help at stat.math.ethz.ch mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list