[ESS] ess-indent-exp follow OWN style?

Paul Burkander paul at burkander.com
Fri Jun 3 23:56:17 CEST 2011


just as an update, it seems to happen if any character is typed after
the curly brace.  I guess the ess-electric-brace function can't handle
the character.

On Fri, Jun 3, 2011 at 5:08 PM, Paul Burkander <paul at burkander.com> wrote:
> The convention where I'm working is to use the semicolon.  I would
> drop it if I could.
>
> Do you think there's any hope for a solution?
>
> On Fri, Jun 3, 2011 at 4:28 PM, Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk> wrote:
>>> It might be the semi-colons that are causing this strange behavior.
>>> If I delete them from the end of each line of the incomplete
>>> expression (e.g., foreach...{) then it seems to work just fine.
>>>
>>> Could the semi-colon be the issue, and if so, how might I get around
>>> this?
>>
>> sorry, we need another stata user here to help!  Having those semicolons
>> just after the brace does look unconventional (for most other
>> programming modes), so maybe Emacs is treating them specially... does
>> your code work without them after the open brace?
>>
>> S
>>
>>
>



More information about the ESS-help mailing list