Crosstips.org

My fun Crossword solver project. Crosstips.org & Krysstips.se

Kung Fu

Fujian White Crane Kung Fu

Fry-IT

Fry-IT is the company I work for

Photos

Photoalbum, both old and new.

Zope

What I have and am doing with Zope

Receptsamlingen

In Swedish only. About my "Collection of Recipes" website.

Contact me

My contact details and how to contact me.

 

KungFuPeople.com
Do you train Kung Fu?
Or know someone who does?
Then check out KungFuPeople.com


Mobile version of this page Mobile version of this page


 

Jed looking like Emacs

http://ruptured-duck.com/jed-users/msg00933.html

28th of September 2005

Thanks to the author himself of Jed (my favourite programming editor) I can now make my Jed look like a colour theme very common on Emacs

The end result, so far, looks like the thumbnail right here. I've taken John's good start and fine-tuned it a bit myself to make it suit me even more. Unfortunately I don't yet know how to get my console to take up these colours so I've had to add the following hack to my .jedrc because colours are defined differently in X as they are in xterm/konsole/Eterm:

 #ifdef XWINDOWS
 set_color_scheme ("peter-emacs");
 #else
 set_color_scheme ("black3");
 #endif

(if you're a Windows user, replace #ifdef XWINDOWS with #ifdef XWINDOWS MSWINDOWS) The console I use is Eterm and I'm sure it's going to be possible to set it up to use these colours even over SSH.

What is cool about John's advise is that he wrote a script in 30 lines that creates a histogram of the screenshot I provided and from that he was able to tell what all the colours were. I'm stunned!

I'll keep working on this now and to get it working in jed (not only Xjed) and upload updates either here on the jedmodes site. If you want to try it, download peter-emacs.sl and place it in your /usr/share/jed/lib/colors directory.



Comment

 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.