473,555 Members | 2,402 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Emacs users: feedback on diffs between python-mode.el and python.el?

If you're an Emacs user who has used both python-mode.el (the python mode
code distributed with Python and XEmacs) and python.el (the python mode code
distributed with GNU Emacs), I'd like to get your impressions on how they
compare and where you feel the bugs lie. I'm nominally one of the
python-mode.el maintainers (though not very active) but have never tried the
GNU python.el.

Thanks,

--
Skip Montanaro - sk**@pobox.com - http://www.webfast.com/~skip/
Oct 14 '08 #1
15 1586
Bruno Desthuilliers schrieb:
sk**@pobox.com a écrit :
>If you're an Emacs user who has used both python-mode.el (the python mode
code distributed with Python and XEmacs) and python.el (the python
mode code
distributed with GNU Emacs), I'd like to get your impressions on how they
compare and where you feel the bugs lie. I'm nominally one of the
python-mode.el maintainers (though not very active) but have never
tried the
GNU python.el.

Hi Skip.

I stumbled on python.el last year and very very *very* quickly replaced
it with my good old python-mode.el. The first and foremost reason being,
IIRC, the lack of proper support for working with the embedded
interactive interpreter (one killer-feature of python-mode). Honnestly,
I don't think I've used python.el more than five minutes (not having C-c
! and C-c C-c working as expected being a definitive show-stopper for
me), so I can't say much more about python.el.

wrt/ python-mode.el:
- the most annoying bug is syntax coloration of triple-quoted strings,
that doesn't correctly handles quotes within the triple-quoted part.
- a slightly less but still annoying problem (I wouldn't call it a bug)
is the handling of indentation for nested litteral dicts/lists/tuples.
I second these two points. On the python-mode.el-ML there was a patch
for the triple-quote problem, but I couldn't apply it due to rejected
hunks. Didn't investigate that.

Diez
Oct 14 '08 #2
sk**@pobox.com writes:
If you're an Emacs user who has used both python-mode.el (the python mode
code distributed with Python and XEmacs) and python.el (the python mode code
distributed with GNU Emacs), I'd like to get your impressions on how they
compare and where you feel the bugs lie.
I'm not sure which is which--there is one that I'm used to from older
systems, and one on newer systems (Ubuntu Hardy) that gratutiously
broke features that I'm used to. I haven't gotten around to
investigating but will try to do so. Main thing I know is that C-c !
used to make a new Python subwindow and now it doesn't, which is bad.
Oct 14 '08 #3

PaulMain thing I know is that C-c ! used to make a new Python
Paulsubwindow and now it doesn't, which is bad.

That's probably the newer FSF version, python.el. Someone else complained
that it didn't do Python interpreters.

Skip
Oct 14 '08 #4
In message <ma************ *************** ***********@pyt hon.org>,
sk**@pobox.com wrote:
If you're an Emacs user who has used both python-mode.el (the python mode
code distributed with Python and XEmacs) and python.el (the python mode
code distributed with GNU Emacs), I'd like to get your impressions on how
they compare ...
I find Emacs modes just too confusing. I do all my editing in fundamental
mode.
Oct 15 '08 #5
On Oct 14, 7:37*pm, s...@pobox.com wrote:
If you're an Emacs user who has used both python-mode.el (the python mode
code distributed with Python and XEmacs) and python.el (the python mode code
distributed with GNU Emacs), I'd like to get your impressions on how they
compare and where you feel the bugs lie. *I'm nominally one of the
python-mode.el maintainers (though not very active) but have never tried the
GNU python.el.

Thanks,

--
Skip Montanaro - s...@pobox.com -http://www.webfast.com/~skip/
I second Bruno's points, the older python-mode.el is much
better, also because of the included class browser, which
is missing in python.el. python.el seems to be integrated
with pymacs out of the box, but I do not use it so I cannot say for
sure if it works well or no.
Oct 16 '08 #6
On Oct 16, 8:37*am, Michele Simionato <michele.simion ...@gmail.com>
wrote:
On Oct 14, 7:37*pm, s...@pobox.com wrote:
If you're an Emacs user who has used both python-mode.el (the python mode
code distributed with Python and XEmacs) and python.el (the python modecode
distributed with GNU Emacs), I'd like to get your impressions on how they
compare and where you feel the bugs lie. *I'm nominally one of the
python-mode.el maintainers (though not very active) but have never tried the
GNU python.el.
Thanks,
--
Skip Montanaro - s...@pobox.com -http://www.webfast.com/~skip/

I second Bruno's points, the older python-mode.el is much
better, also because of the included class browser, which
is missing in python.el. python.el seems to be integrated
with pymacs out of the box, but I do not use it so I cannot say for
sure if it works well or no.

I am interested in knowing which mode supports better the use of pdb
inside emacs?

Is it python-mode?
Oct 16 '08 #7
On Oct 16, 12:54*am, Bruno Desthuilliers
<bdesth.quelque ch...@free.quel quepart.frwrote :
Lawrence D'Oliveiro a écrit :
I find Emacs modes just too confusing. I do all my editing in fundamental
mode.

Sounds like buying a cray supercomputer to end up doing computation by
hand...
Reminds me of a funny story about one of our university profs.
At a time when we used DOS and unix (on terminals) he got a very high
end SGI workstation.
And promptly shouted at the sysads because he could not see his
C:>
prompt.
Oct 16 '08 #8
In message
<79************ *************** *******@t18g200 0prt.googlegrou ps.com>, rustom
wrote:
Reminds me of a funny story about one of our university profs.
At a time when we used DOS and unix (on terminals) he got a very high
end SGI workstation.
And promptly shouted at the sysads because he could not see his
C:>
prompt.
The joke was on them, of course.

To be fair, SGI did try to oblige, with a short-lived, ill-fated foray into
Dimdows NT workstations.

Probably hastened their end...
Oct 16 '08 #9
Hello,
I second Bruno's points, the older python-mode.el is much
better,
I agree too. I can't really say what's missing from python.el, but I'm
much more comfortable with python-mode.el. The triple-quote highlight is
better in python.el, but I was successful in porting it to
python-mode.el as well. Unfortunately, I don't have a clean diff, as I
did some other tweaks...

Alberto
Oct 16 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
1809
by: Richard G. Riley | last post by:
I am looking for a way to integrate the C library documentation into emacs' C mode. Adding any linux library documentation would be a bonus. e.g hilite word, hotkey to library documentation. thanks for any help. -- Remove evomer to reply
331
14734
by: Xah Lee | last post by:
http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and most versatile text editor. And, besides text editing, it also serves as a
0
7621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7542
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7824
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8060
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7587
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7903
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5452
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2034
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1156
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.