[ESS] Syntax Highlighting
Oliver Jones
ojones at wiwi.uni-bielefeld.de
Thu Jan 31 15:09:02 CET 2013
Am 31.01.2013 14:51, schrieb Rodney Sparapani:
> On 01/31/2013 07:01 AM, Oliver Jones wrote:
>> Hi everyone,
>>
>> I'm using ESS version 12.09-2 and emacs 24.2.1 and want to get lines
>> starting with an * to be recognized as comments in a Stata do-file.
>>
>> Best
>> Oliver
>
> That would be defined by the variable STA-syntax-table. You can
> see the original definition in ess-sta-l.el I am guessing that
> you want to do something like...
> (modify-syntax-entry ?* "<" STA-syntax-table)
>
Looking in too ess-sta-l.el I couldn't figure out where the symbols for indicating comments
are defined. Neither could I figure out where I can modify the variable STA-syntax-table (M-x
customize-variable RET STA-syntax-table RET give NO MATCH) or where I should include
(modify-syntax-entry ?* "<" STA-syntax-table)
Do I have to copy that line in my ~/.emacs.d/init.el ?
Since the "*" is one of the standard symbols indicating a comment in Stata, maybe it should be
included by default?
Best
Oliver
More information about the ESS-help
mailing list