[ESS] symbol's value as variable is void
Tamas K Papp
tpapp at Princeton.EDU
Sat Apr 23 15:56:59 CEST 2005
On Sat, Apr 23, 2005 at 10:36:57AM +0100, Stephen Eglen wrote:
Content-Description: message body text
> These issues look fixable - is it just a case of adding the
> following into essd-sta.el?
>
> (defvar STA-customize-alist
> ...
> (comment-start . "*")
> (comment-end . "")
> (inferior-ess-font-lock-keywords . nil)
>
> Tamas: can you replace essd-sta.el with the one I attach here (and
> delete any essd-sta.elc) and try again?
>
> I don't have access to stata so can't really test it, but if I do:
>
> M-x shell
> M-x ess-remote RET stata RET
>
> and then hit M-; I get the "*" used as comment rather than /* */
>
> Please test and then I'll commit it if it works.
Stephen,
I replaced the file, deleted the elc files, did dpkg-reconfigure
emacs21 so they were regenerated. M-; now does indeed give * in the
stata buffer. But what I wanted is M-; generating * comments when I
am editing a .do file, that still doesn't work (I get /* */). Sorry,
maybe I was not clear.
I still get the
font-lock-eval-keywords: Symbol's value as variable is void: inferior-ess-font-lock-keywords
messages. In the scratch buffer,
(print STA-customize-alist)
((ess-local-customize-alist quote STA-customize-alist) (ess-language . "STA") (ess-dialect . STA-dialect-name) (ess-suffix . "ado") (ess-mode-editing-alist . STA-editing-alist) (ess-mode-syntax-table . STA-syntax-table) (ess-mode-edit quote STA-mode) (ess-help-sec-regex . ess-help-STA-sec-regex) (ess-help-sec-keys-alist . ess-help-STA-sec-keys-alist) (ess-loop-timeout . 500000) (ess-object-name-db-file . "ess-sta-namedb.el") (ess-retr-lastvalue-command . "
") (ess-save-lastvalue-command . "
") (inferior-ess-program . inferior-STA-program-name) (inferior-ess-objects-command . "description
") (inferior-ess-help-command . "set more off
help %s
") (inferior-ess-exit-command . "exit
") (inferior-ess-primary-prompt . "^.") (inferior-ess-secondary-prompt . "^.") (comint-use-prompt-regexp-instead-of-fields . t) (inferior-ess-start-file) (comment-start . "*") (comment-end . "") (inferior-ess-font-lock-keywords) (inferior-ess-start-args . ""))
((ess-local-customize-alist quote STA-customize-alist) (ess-language . "STA") (ess-dialect . STA-dialect-name) (ess-suffix . "ado") (ess-mode-editing-alist . STA-editing-alist) (ess-mode-syntax-table . STA-syntax-table) (ess-mode-edit quote STA-mode) (ess-help-sec-regex . ess-help-STA-sec-regex) (ess-help-sec-keys-alist . ess-help-STA-sec-keys-alist) (ess-loop-timeout . 500000) (ess-object-name-db-file . "ess-sta-namedb.el") (ess-retr-lastvalue-command . "
") ...)
Maybe this will help.
Tamas
More information about the ESS-help
mailing list