471,342 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,342 software developers and data experts.

Hide comments in emacs python mode?

Hi guys,

I'm playing with Python in emacs, with python mode.

I'd like to be able to press a key to toggle the code comments on and
off -- to switch between beautiful clean Python code, and the full
text that tells me what's going in in English.

Is this currently possible? I know there is a hide/show mode in
emacs, it would need to be set to hide (1) whole lines that start with
#, (2) parts of lines after the '#' for comments after code. Has
anyone already written this?

Oct 30 '07 #1
0 1190

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tom Locke | last post: by
6 posts views Thread by Christian Seberino | last post: by
5 posts views Thread by Tuxtrax | last post: by
12 posts views Thread by Rex Eastbourne | last post: by
1 post views Thread by Marcio Rosa da Silva | last post: by
12 posts views Thread by Thomas Bartkus | last post: by
4 posts views Thread by emin.shopper | last post: by
reply views Thread by rosydwin | last post: by

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.