jed-users mailing list

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

Re: [Jed-users-l] Adding modern Perl words


El 12/02/14 07:29, Manfred Hanke escribió:
> On 02/12/14 00:20, gamo wrote:
>> So, I copy & paste this in perl.sl or .jedrc?
> Your personal ~/.jedrc is enough.

Works perfect. I also add the keyword "default"

Thank you



>> El 12/02/14 00:08, jed@xxxxxxxxxxx escribió:
>>> You can create a mode-specific hook and add them there.  For perl you
>>> would do something like:
>>>
>>>      define perl_mode_hook ()
>>>      {
>>>         variable table = what_syntax_table ();
>>>         if (table != NULL)
>>>           {
>>> 	   variable keyword;
>>> 	   foreach keyword (["say", "state", "given", "when"])
>>> 	     add_keyword (table, keyword);
>>>           }
>>>      }
> Cheers,
>
> Manfred
> _______________________________________________
> Jed-users-l mailing list
> Jed-users-l@xxxxxxxx
> http://mailman.jtan.com/mailman/listinfo/jed-users-l

-- 
http://www.telecable.es/personales/gamo/

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

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