473,769 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Folding in XEmacs with python mode.


Hi!
Does anyone here have a recipe or elisp code to fold classes or methods
in XEmacs while using python mode? The standard folding mode didn't
worked out of the box here...

--
Godoy. <go***@ieee.org >
Jul 18 '05 #1
0 1207

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

Similar topics

9
4323
by: Jay Davis | last post by:
I use xemacs and syntax highlighting for my IDE, but I'm not a big fan of the default syntax highlighting colors. For instance, in 'def fun():' both 'def' and 'fun' are the same color. I kind of like the vim colors, but what would be really useful is to find various examples of highlighting that people have used, to see which ones just look right. I looked through google groups but didn't find any source of highlighting examples. Is...
0
1050
by: Jay Davis | last post by:
What is the best way to run python in Xemacs (with C-c C-c) with real time standard output? Right now, the python output window fills up when the program is finished running, but if the program runs for hours it would be nice to see the output as it is written. I know that I can switch to a python interpreter window and paste the code in etc but I don't care about the interpreter, just about the (printed) output after C-c C-c.
1
3099
by: Nuff Said | last post by:
Question: Is there a way to unfold a Python class *without* unfolding all its methods etc. so that you can get a quick overview of the class? Details: I normally open a file either with 'fold.on.open=1' set in the user's options file resp. I use 'toggle all folds' from
0
1038
by: Skip Montanaro | last post by:
Stephen Turnbull had this to say to a correspondent on the xemacs-beta mailing list this morning. I think it would be just as accurate if you replaced "XEmacs" with "Python". Many of the things you request are prima facie reasonable, and we'll certainly consider them in the light of what they would cost to implement. But I rather suspect that your frustration level would drop considerably if you'd stop trying to Kung Fu XEmacs into...
0
1105
by: MarcoL | last post by:
Hi, I've tried to execute from the buffer (C-c C-c) this python script: s='' s=raw_input('Enter a string:') but I got this error: Enter a string:Traceback (most recent call last): File "<stdin>", line 2, in ?
0
1319
by: Terry Hancock | last post by:
My general attitude towards IDEs and editors has been extremely conservative, but today I decided to see what this "folding" business was all about. I see that vim (and gvim, which is what I actually use) has this feature, and it is fairly nice, but at present it's very manual --- and frankly it's hard for me to see the point if I have to manually mark folds every time I start up.
2
2103
by: Thomas Heller | last post by:
I'm trying to customize the python interpreter that is used to execute my scripts from within WinXP, XEmacs, python-mode version $Revision4.70$, but cannot get it to work. The only thing that works is M-x customize-group python, and change the value of 'Python Command'. However, this changes the interpreter for all buffers, but I want different buffers use different interpreters. Is that possible? What I tried so far:
14
1957
by: John Salerno | last post by:
Specifically, I'm using UltraEdit and perhaps there's no way perfect way to implement code folding with it, given how it uses its syntax highlighting file to do so (i.e., you have to specify an "Opening" and "Closing" character in which to enfold code, such as braces). But my question is more general: is it possible to implement code folding with Python given that it has no real block delimiters? Or is this still a matter of which...
0
9423
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10039
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9860
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6668
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5297
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3955
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
2
3560
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.