Package: python-mode
Version: 1:1.0-1
Severity: wishlist
Since debian ships multiple versions of python as
/usr/bin/python2.{1,2,3,4} it would be nice if the emacsen-startup added
those to the interpreter-mode-alist so that when you open a file with
#!/usr/bin/pthon2.4 at the top, it puts you into python-mode automatically.
Here's a patch:
--- python-mode-1.0.orig/debian/emacsen-startup 2006-03-11 17:48:22.000000000
-0500
+++ python-mode-1.0/debian/emacsen-startup 2006-03-11 17:47:40.000000000
-0500
@@ -25,4 +25,10 @@
auto-mode-alist))
(setq interpreter-mode-alist
- (cons '("python" . python-mode) interpreter-mode-alist))
+ (append
+ (list '("python" . python-mode)
+ '("python2.1" . python-mode)
+ '("python2.2" . python-mode)
+ '("python2.3" . python-mode )
+ '("python2.4" . python-mode ))
+ interpreter-mode-alist))
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages python-mode depends on:
ii emacs21 21.4a-3 The GNU Emacs editor
ii pymacs [pymacs-elisp] 0.22-4 interface between Emacs Lisp and P
python-mode recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]