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


thanks Günther

G. Milde schrieb:
Have a look at the help for TAB and untab. Use e.g. with

define python_mode_hook ()
{
   # convert existing TABs to spaces
     ^ I think this has to be a %
   untab();
here I get a "no region defined", after selecting the whole buffer it works.
   # tabs are never used to produce whitespace.
   TAB = 0;
# continue with python customization, e.g. # comments with comment.sl
   set_comment_info ("python" , "# "   , ""    , 2|4);
   # 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 ?

# my private packages putenv("PYTHONPATH=/home/milde/.python/packages");
   # map äöü to []{}\
   set_programming_keys();
please sent set_programming_keys

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

--
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163


--------------------------
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]