[ESS] Symbol's value as variable is void, again
Tom Masterson
tnm717 at yahoo.com
Sat Sep 24 21:39:37 CEST 2005
Dear Martin,
Sorry about the lame info.
More details below:
--- Martin Maechler <maechler at stat.math.ethz.ch>
wrote:
> >>>>> "Tom" == Tom Masterson <tnm717 at yahoo.com>
> >>>>> on Fri, 23 Sep 2005 11:14:10 -0700 (PDT)
> writes:
>
> Tom> Here's the message I'm getting when I try
> to
> Tom> start up a Stata session in emacs:
>
> You don't say what exactly you are doing (which
> would be
> useful), but anyway: Do we have other Stata users on
> ESS-help
> who can tell about their successes or failures?
> [ It may well be that currently no ESS developers
> have easy
> access to a computer where both Stata and Emacs is
> installed. ]
What I'm actually typing is:
M-x stata
> Tom> font-lock-eval-keywords: Symbol's value as
> variable is
> Tom> void: inferior-ess-font-lock-keywords
>
> Tom> And the contents of the ESS buffer:
>
> Tom> (STA): ess-dialect=Stata ,
> buf=farmtransactions.do
> Tom> (inferior-ess 0): ess-start-args=TERM=emacs
> stata
> Tom> ess-setq-vars-default 0: ess-language=STA,
> Tom> -dialect=Stata, buf=nil,
> comint..echoes=nil,
> Tom> comint..sender=comint-simple-send
> Tom> ess-setq-vars-default 1: ess-language=STA,
> Tom> -dialect=Stata, buf=nil,
> comint..echoes=nil,
> Tom> comint..sender=comint-simple-send
> Tom> (inf-ess 1): lang=STA, dialect=Stata,
> Tom> tmp-dialect=Stata, buf=farmtransactions.do
> Tom> (inf-ess 1.1): procname=Stata
> temp-dialect=Stata,
> Tom> buf-name=*Stata*
> Tom> (inferior-ess) Method #3
> Tom>
>
start=/home/tnm/work/Dissertation/Analysis/03_LandMarkets/
> Tom> buf=*Stata*
> Tom> (ess-setq-vars-LOCAL): language=STA,
> dialect=Stata,
> Tom> buf=nil, comint..echoes=nil,
> Tom> comint..sender=comint-simple-send
> Tom> (inf-ess 2.1): ess-language=STA,
> ess-dialect=Stata
> Tom> buf=*Stata*
> Tom> (inf-ess 2.2): start args = TERM=emacs
> stata ,
> Tom> inf-ess-start-args=TERM=emacs stata
> Tom> (inf-ess finish [STA(Stata), env(nil,nil)]
> Tom> (ess-multi 0):
> inf-ess-start-args=TERM=emacs stata ,
> Tom> comint-..echoes=nil
> Tom> (i-ess 1): buf=*Stata*, lang=STA,
> comint..echo=nil,
> Tom> comint..sender=comint-simple-send,
> Tom> (i-ess 2): buf=*Stata*, lang=STA,
> comint..echo=t,
> Tom> comint..sender=inferior-ess-input-sender,
> Tom> (ess-setq-vars-LOCAL): language=STA,
> dialect=Stata,
> Tom> buf=nil, comint..echoes=t,
> Tom> comint..sender=inferior-ess-input-sender
> Tom> (i-ess 3): curr-buf=*Stata*,
> comint..echo=t,
> Tom> comint..sender=inferior-ess-input-sender,
>
> Tom> I tried altering essd-sta.el as was
> suggested on
> Tom> the list, but alas, no joy.
>
> {also here, it would be helpful if you gave a bit
> more context}
Here's what I tried adding to essd-sta.el
(from an April 2005 suggestion from Stephen
Eglen to Tamas Papp):
SE> (defvar STA-customize-alist
SE> (inferior-ess-font-lock-keywords . nil)
> Tom> Emacs Show Version:
> Tom> GNU Emacs 21.4.1 (i386-pc-linux-gnu, X
> toolkit,
> Tom> Xaw3d scroll bars) of 2005-03-17 on
> trouble,
> Tom> modified by Debian
>
> Tom> not sure how to get the ess version 8{],
>
> C-h v ess-version
>
> Tom> I guess whatever version is in the latest
> debian
> Tom> package...
>
> which used to be a bit outdated, I see it's 5.2.6
> for "debian
> stable". Current ESS is 5.2.10.
>
> But after quickly browsing "New features" and even
> lisp/Changelog
> it may well be that current ESS wouldn't help you.
Yeah, it's 5.2.6. Thing is, I ran stata on this
self-same box, with Fedora Core 2 (before I wearied
of crashing FC4 install CDs) this past fall. Doing
the same thing (M-x stata). It is the same
installation
of stata, could that be the problem?
thanks again!
tom
> Tom> Thanks for any help!
> Tom> tom
>
> Regards,
> Martin
>
More information about the ESS-help
mailing list