Hi! I've recently installed Red Hat Linux 9 on my PC, for software development purposes. I hear good things when it comes to Linux and programming.

I've tried using the emacs text editor that came with the linux distribution, but I just don't like it. I think it's just too compliated for what I want to do with it; code C programs.

Do any of you know of any other good editors for Linux when it comes to editing C programs? I'm not looking for anything complex. I just want some color highlighting (keywords, text, numbers, etc..) and automatic indenting, line numbers, maybe a find and replace option. Perhaps I didn't have the emacs setting correct, but it auto-indented to a programming style I didn't really like.. for example.

what I would do...
Code:
    for (x = 0; x < 10; X++)
    {
        printf("This is printing %d", x);
    }
and what emacs forced me to do...
Code:
    for (x = 0; x < 10; x++) /* had to press TAB here */
        {                               /* pressed TAB here.. went too far */
             printf("This is printing %d", x); /* had to press TAB */
        }
I would just rather use a different program for editing my code.

Anyone have any suggestions? I downloaded a few that I thought were OK, but I'd like to hear if anyone has an editor they would really reccomend. (GNU of course!)

Thanks for your time!