GNU bug report logs - #15306
add python3 to interpreter-mode-alist

Previous Next

Package: emacs;

Reported by: Peter Eisentraut <peter_e <at> gmx.net>

Date: Sun, 8 Sep 2013 03:17:02 UTC

Severity: minor

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15306 in the body.
You can then email your comments to 15306 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15306; Package emacs. (Sun, 08 Sep 2013 03:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Eisentraut <peter_e <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 08 Sep 2013 03:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Eisentraut <peter_e <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: add python3 to interpreter-mode-alist
Date: Sat, 07 Sep 2013 23:15:49 -0400
Please add "python3" to interpreter-mode-alist by default, mapping to
python-mode.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15306; Package emacs. (Sun, 08 Sep 2013 23:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 15306 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Peter Eisentraut <peter_e <at> gmx.net>
Cc: 15306 <at> debbugs.gnu.org
Subject: Re: bug#15306: add python3 to interpreter-mode-alist
Date: Sun, 08 Sep 2013 19:58:42 -0400
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15306; Package emacs. (Tue, 10 Sep 2013 19:45:02 GMT) Full text and rfc822 format available.

Message #11 received at 15306 <at> debbugs.gnu.org (full text, mbox):

From: Peter Eisentraut <peter_e <at> gmx.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 15306 <at> debbugs.gnu.org
Subject: Re: bug#15306: add python3 to interpreter-mode-alist
Date: Tue, 10 Sep 2013 15:43:56 -0400
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 sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 10 Sep 2013 20:41:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Eisentraut <peter_e <at> gmx.net>:
bug acknowledged by developer. (Tue, 10 Sep 2013 20:41:02 GMT) Full text and rfc822 format available.

Message #16 received at 15306-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 15306-done <at> debbugs.gnu.org
Subject: Re: bug#15306: add python3 to interpreter-mode-alist
Date: Tue, 10 Sep 2013 16:40:21 -0400
Version: 24.4

Glenn Morris wrote:

> Seems to me like it would be nice if interpreter-mode-alist were treated
> as a list of _regexps_.

Done.
(I discovered it used to be documented as behaving that way anyway:

http://lists.gnu.org/archive/html/emacs-devel/2005-08/msg00472.html )




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Oct 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.