[ESS] Another indentation error

Rodney Sparapani rsparapa at mcw.edu
Tue Mar 26 19:45:42 CET 2013


On 03/26/2013 01:33 PM, Star Ying wrote:
> So I have another indentation error with ess and emacs that I have run into. For the example below:
>
> data example;
>       merge
>            lib.data lib.data2
>
>            %if val=ue %then %do;
>                 lib.data3
>            %end;
>            ;
> by var;
>
> The last line produces an error if I hit tab or if I try to indent that region. Emacs produces the error "invalid search bound (wrong side of point)". The code itself is valid and runs in sas proper. Is this just me or is this a reproducible error?

That's not surprising.  The indention style of SAS has been broken
for a while.  If I get a chance, I'll take a look at it before the
next release in April.  Thanks

-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the ESS-help mailing list