- Subject: [jed-users] Re: #!/usr/bin/python3 does not trigger python mode
- From: Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 Dec 2022 15:12:48 +0100
On Wed 2022-12-07 (15:09), Morten Bo Johansen wrote:
> You could use
>
> if (re_looking_at("^#!.*python[0-9]")) python_mode();
>
> instead.
PERFECT! Thanks :-)
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<Y5CeoydzHbqM5s3V@xxxxxxxxxxxxxxxx>
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2022 date index]
[2022 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]