bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15306: add python3 to interpreter-mode-alist


From: Peter Eisentraut
Subject: bug#15306: add python3 to interpreter-mode-alist
Date: Tue, 10 Sep 2013 15:43:56 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 9/8/13 7:58 PM, Glenn Morris wrote:
> Seems to me like it would be nice if interpreter-mode-alist were treated
> as a list of _regexps_. Eg on one system I seem to have python2,
> python2.6, python3, python3.3, python3.3m, python3m.

Yes, but those are not normally used in shebang lines.  The recommended
entry points for Python are "python", "python2" (only used on some
operating systems), and "python3".  (see
http://www.python.org/dev/peps/pep-0394/)  So short of a major redesign
of interpreter-mode-alist, I think adding "python3" and probably
"python2" is reasonable.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]