jed-users mailing list

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

Re: how to avoid tab in pythonmode


On Mon, Jun 28, 2004 at 04:20:44PM +0200, Joachim Schmitz wrote:
> >   # for use of list_routines with python ...
> >   custom_variable("python_list_routines_regexp", [%"^import[ \t]",
> >						   %"^from[ \t]",
> >						   "^class[ \t]",
> >						   "^def[ \t]"]);

> where are the list_routines ?

List_routines() is in tokenlist.sl - it's a function for listing
the routines in a buffer.  You can probably find versions on Dino's
and Marko's websites.  BTW you can do something similar with pcre.sl
on http://jedmodes.sf.net/mode/pcre: simply do a pcre-occur on
"^(import|from|class|def)[ \t]".  That requires JED 0.99-17.

> 
> by the way, I get a
> 
> Warning: readfile("http://jedmodes.sourceforge.net/mode/filelist";) - Bad 
> file descriptor in /home/groups/j/je/jedmodes/htdocs/last-index.php on 
> line 2
> 
> on several modes in jedmodes.sf.net

You should use the noframes version, the frames version is not
maintained.

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


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