jed-users mailing list

[2013 Date Index] [2013 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] S-Lang mode tab indent oddity?


J.B. Nicholson-Owens <jbn@xxxxxxxxxxxxxxx> wrote:
> Consider the following code:
>
> #v+
> define foo (n)
> {
>      switch (n)
>      { case (0):
>           do_something ();
>         do_another_thing ();
>         .
>         .
>      }
> }
> #v-
>
> When I hit tab to auto-indent do_something(); Jed indents to a different 
> place than Jed indents do_another_thing(); and all of the subsequent 
> lines in that case block (indicated by periods).
>
> Why is that?

I will look at the code later this evening to find out why this is
happening.

> What can I do to get uniform tab indentation here?

Try moving the 'case (0)' to the line below the '{'.  Perhaps this
weekend I will be able to push a fix into the git repo.

Thanks,
--John

_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2013 date index] [2013 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]