jed-users mailing list

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

Re: [jed-users] JED - coding in S-lang


Duke Normandin <dukeofpurl@xxxxxxx> wrote:
> Learning S-lang using Jed as my editor.
>
> Having problems with Jed rendering { .. } brackets.
> I want to write the following:
>
> variable data = {{1}, 2, {{3,4}, 5}, {{{}}}, {{{6}}}, 7, 8, {}}
>
> But Jed insists that the very first bracket is starting a block o
> What I want is to write a list.
> Is there a solution to this formatting issue? TIA

What version of jed are using using?  I highly recommend that you use
a recent version.  My logs show the that in 2010, version
pre0.99.20-4 included this change:

    4. src/cmode.sl: insert_bra(): do not indent if the previous character
       is one of: ',', '=', '['.

(Note that slang-mode shares the c-mode indentation rules)

So I suspect that you are using an older version.  You can get an
updated version from <https://www.jedsoft.org/snapshots/>.  I also
recently made the code available from <https://github.com/jedsoft/jed>.

I hope this helps.
Thanks,
--John

> --
> Duke
> ** Text only please. Bottom post is best. **
> _______________________________________________
> For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
>
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


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