[Bug 155681] Re: emacs22 and python-mode do not play together
** Changed in: python-mode (Debian) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/155681 Title: emacs22 and python-mode do not play together To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/emacs22/+bug/155681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
** Branch linked: lp:ubuntu/python-mode -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Same problem for me on hardy: ipython inside emacs does not work (as default python shell). Even using latest ipython (0.9.1). I had to revert to emacs21 to let it work. Any hint on how to use emacs22 together with ipython in hardy? -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
On hardy, python-mode works automatically for me on loading a .py file without having to install the python-mode packe, but I have found another related problem. I want to use ipython as my defaults emacs python shell. The normal way to do this is to put (require 'ipython) in .emacs, but ipython.el has (require 'python-mode) in a number of places which causes the load error. Therefore, there is still a bug somewhere. Either ipython.el in the ipython package needs to be fixed or python-mode integration with emacs22 needs to be fixed. Please instruct me as to which is the correct bug to fix and whether or not to file a separate bug report for this problem or request that this bug be reopened to address this second issue. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
sebek: Thankyou! It turns out I also had a '(autoload 'python-mode python-mode Python editing mode. t)' in my ~/.emacs, and removing it removed this mysterious problem. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 155681] Re: emacs22 and python-mode do not play together
Helge Stenström [EMAIL PROTECTED] writes: It seems to me that the python modes of emacs22-el (/usr/share/emacs/22.1/lisp/progmodes/python.el.gz) and of python-mode (/usr/share/emacs/site-lisp/python-mode/python-mode.el) are totally different. So, which one is this bug about? This bug is about the interaction of the two packages. Anyway, both bugtasks have been closed, so AFAIUI, there isn't anything more to do about this bug. Regarding using python-mode with emacs22, I'd suggest talking to emacs upstream and/or the python-mode developers. -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
era : Thank you for your answer. The python.el.gz was correctly installed. I found my problem, my .emacs contained : (autoload 'python-mode python-mode Python editing mode. t) It seems that once you tried to activate python mode at startup, it will never starts correctly. I just commented this line and it is working. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 155681] Re: emacs22 and python-mode do not play together
It seems to me that the python modes of emacs22-el (/usr/share/emacs/22.1/lisp/progmodes/python.el.gz) and of python-mode (/usr/share/emacs/site-lisp/python-mode/python-mode.el) are totally different. So, which one is this bug about? Is there two competing teams of python mode developers? I'm more used to the mode of the python-mode package, and would prefer that one. In particular, I like the list of classes and methods, that seems to be missing from the emacs22-el package. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
sebek: works for me on Gutsy (apart from the purging of the python-mode package -- I never installed it). Did you restart Emacs after installing emacs22-el? Can you verify that /usr/share/emacs/22.1/lisp/progmodes/python.el.gz exists on your system and that the path is on your load-path? -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
I believe the 134308 should be flagged as duplicate of this one I still can't understand the workaround given by Brad Crittenden on 2007-10-23: For python-mode in emacs22 you must have emacs22-el installed and python-mode not installed. I have removed and purged the python-mode package, and then installed emacs22-el package. How do I start python-mode then? M-x python-mode gives me a call-interactively: Cannot open load file: python-mode thanks -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Still having this problem on hardy that was updated from repos today. Tried purging python-mode, pyrex and pymacs, doesn't help. $ dpkg -l | awk '/emacs/{print $2,$3}' emacs 22.1-0ubuntu10 emacs22-bin-common 22.1-0ubuntu10 emacs22-common 22.1-0ubuntu10 emacs22-el 22.1-0ubuntu10 emacs22-gtk 22.1-0ubuntu10 emacsen-common 1.4.17 lyskom-elisp-client 0.48-10 Can I help someway? -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
I got this problem on my Gutsy Gibbons installation. The fix provided by Brad Crittenden made emacs22 load it's internal python-mode while python-mode was installed for emacs21 (I need to run both together). However, python-mode did not load in emacs21. The source of this problem was a missing symbolic link to site-lisp in the /usr/share/emacs/21.4 directory. In other words i ran ln -s ../../emacs21/site-lisp in the /usr/share/emacs/21.4 directory. This solved the problem, now I can run python-mode in both emacs22 and emacs21. I am a bit surprised that this is not fixed in the python-mode deb package yet. It is really a simple fix. The symbolic link issue should be solved in the emacs21 package I guess? -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Same problem, after installing pyrex-mode, which installed python-mode and pymacs. Purged the three and now I can use the emacs22 python mode. dpkg -l | awk '/emacs/{print $2,$3}' now gives me emacs 22.1-0ubuntu5.1 emacs-goodies-el 27.1-1 emacs22-bin-common 22.1-0ubuntu5.1 emacs22-common 22.1-0ubuntu5.1 emacs22-gtk 22.1-0ubuntu5.1 emacsen-common 1.4.17 It's a real pity though, I will have to switch to emacs-snapshot to use pyrex-mode and the original python-mode -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Removing python-mode is not enough to solve the issue, purge must be used to ensure that configuration files are also removed, as suggested by Brad Crittenden. The following worked for me: % sudo aptitude purge python-mode However, this also removes pyrex-mode, as it depends on python-mode, so it seems that pyrex-mode cannot be used with emacs22. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Can someone clarify the current recommended workaround? I installed gutsy (as an upgrade to feisty, where I had emacs21 and python-mode installed) on 10/29, after Reinhard Tartler's check-in, but I still hit this problem. So I tried quitting emacs then aptitude remove python-mode (which also took pymacs with it), but after restarting emacs, I still get the same error when I open a python script. Then I tried reinstalling python-mode (which brought pymacs back in) ... same error. This seems to work: cp /usr/share/emacs/site-lisp/python-mode/* ~/.emacs-lisp/ Is there a better way? -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
The problem lies with the file /etc/emacs/site-start.d/50python-mode.el Python-mode should only be loaded if the version of emacs is not emacs20 or emacs22. The current test is: (if (not (or (eq (symbol-name debian-emacs-flavor) emacs20) (eq (symbol-name debian-emacs-flavor) emacs22))) It should be: (if (not (or (string= (symbol-name debian-emacs-flavor) emacs20) (string= (symbol-name debian-emacs-flavor) emacs22))) -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
I did exactly this change by uploading python-mode (1:1.0-3.1ubuntu2) to hardy -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
nope. the correct fix is to make sure that python-mode doesn't install conffiles that break emacs22. having emacs22 conflicting python-mode would make it impossible to have both emacsen installed and python-mode for emacs21. ** Changed in: emacs22 (Ubuntu) Status: Incomplete = Invalid -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Reinhard is correct. I should have labeled my comment as a work-around. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
python-mode (1:1.0-3.1ubuntu2) hardy; urgency=low * really don't load for emacs22. LP: #155681 -- Reinhard Tartler [EMAIL PROTECTED] Wed, 24 Oct 2007 16:43:34 +0200 ** Changed in: python-mode (Ubuntu) Status: Incomplete = Fix Released -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
This works for me, too. I think that a fix for this bug would just be to make sure that the emacs22 package conflicts with python-mode. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
** Changed in: python-mode (Debian) Status: Unknown = New -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
Same versions and problem here. emacs-snapshot works with python-mode, which may help people who want a 22ish emacs. I have: emacs-snapshot 1:20070805-1ubuntu1 emacs-snapshot-bin-common 1:20070805-1ubuntu1 emacs-snapshot-common 1:20070805-1ubuntu1 emacs-snapshot-el 1:20070805-1ubuntu1 emacs-snapshot-gtk 1:20070805-1ubuntu1 -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 155681] Re: emacs22 and python-mode do not play together
This bug is related to bug 134308. The suggestion there to remove the python-mode package worked for me: % dpkg --purge python-mode For python-mode in emacs22 you must have emacs22-el installed and python-mode not installed. -- emacs22 and python-mode do not play together https://bugs.launchpad.net/bugs/155681 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs