jed-users mailing list

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

Re: Folding & Perl Mode


> martin@xxxxxxxxxxx <martin@xxxxxxxxxxx> wrote:
>>>>define global_mode_hook (mode_hook)
>>>>{
>>>>   switch (mode_hook)
>>>>     {
>>>>      case "sh_mode_hook":
>>>>        mode_set_mode_info ("SH", "fold_info", "# {{{\r# }}}\r\r");
>>>>      case "perl_mode_hook":
>>>>        mode_set_mode_info ("PERL", "fold_info", "# {{{\r# }}}\r\r");
>>>
>>>   Instead of "PERL", trying using "perl".  Does that make a
>>> difference?
>
> It works for me.  What version of jed are you using and do you have a
> perl_mode_hook?
>
> Thanks,
> --John
>

I took this code out of jedrc and made the tweak in lib/perl.sl -- now
everyting works perfectly, and my indentation works normally.  I prefer
this to be a global change anyways.

I didn't have a perl_mode_hook in my jedrc, but there was one in perl.sl. 
I'm running 0.99.16 (unpatched)


Martin






--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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