Visit Our UNIX and Linux User Community


GNU Emacs Help


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications GNU Emacs Help
# 1  
Old 05-21-2008
Question GNU Emacs Help

Hey everybody!

Not sure if this goes here, but I think it's the best fit.

I was just wondering, how do I use a compiler from Emacs?

Also, how do I turn syntax highlighting on?

Thanks in advance!
# 2  
Old 05-21-2008
M-x compile will offer to run make for you; you can change it to some other command if you like, obviously.

The syntax highlighting depends a bit on which version of Emacs you are using. Probably the simplest way to find the right variable and mode is to run M-x customize and look for "faces" options, specifically "global font lock". Or simply try M-x global-font-lock-mode if you just want to try it once.
# 3  
Old 05-21-2008
Hammer & Screwdriver Nevermind

Thanks for the help, but I've decided to go to Vim now, and join the Dark Side.

Now, can anyone help me with compiling/syntax highlighting for that?
# 4  
Old 05-21-2008
Quote:
Originally Posted by led3234
Thanks for the help, but I've decided to go to Vim now, and join the Dark Side.

Now, can anyone help me with compiling/syntax highlighting for that?
Well, specifically, I mean a Common Lisp compiler, a C++ compiler, and a Fortran 95 compiler (not immediately, but in the future).

Last edited by led3234; 05-21-2008 at 06:40 PM..
# 5  
Old 05-21-2008
Probably better to post a separate thread about that -- not many vim users will read this particular topic.
# 6  
Old 05-21-2008
Bug

Quote:
Originally Posted by era
Probably better to post a separate thread about that -- not many vim users will read this particular topic.
Hmmm, you're right. Thanks again!

Previous Thread | Next Thread
Test Your Knowledge in Computers #843
Difficulty: Medium
HTTP cannot directly support file transfer.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

Emacs on AIX 7.2

After I had successfully installed bash I wanted to install emacs. I downloaded the packages from IBM (emacs, emacs-nox, and emacs-X11), but I could not install emacs-X11. It needs libjpeg and libtiff, but I couldn't install both libs. Error messages: file /opt/freeware/64 from install of... (2 Replies)
Discussion started by: BuSchu
2 Replies

2. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

3. UNIX for Dummies Questions & Answers

Trying to compile in Emacs

I'm trying to compile two files in Emacs (guess.cpp and yesno.cpp). So I open up Emacs (the text version) and give the command M-x and then I try to type in "g++ -o asst guess.cpp yesno.cpp". But everytime after I type "g++" and try to do a space after that, it says and wont let me type a space? ... (1 Reply)
Discussion started by: blackvelvet
1 Replies

4. UNIX and Linux Applications

Help configuring emacs

Hi, I am using emacs now after some months with vim (nothing agains vim, in fact I love it, but everyone around me is using emacs and xemacs) and I need some configuration help. How may I configure emacs to look like code examples in this page which is good for my eye. Thanks in advance, ... (0 Replies)
Discussion started by: faizlo
0 Replies

5. UNIX for Dummies Questions & Answers

characters in emacs

How do you change characters in emacs? for example, I would like my files to appear written in "Arial" or "Thaoma".. (1 Reply)
Discussion started by: vero_81
1 Replies

6. UNIX for Dummies Questions & Answers

Emacs

could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies

7. UNIX for Dummies Questions & Answers

accent in emacs

Hello, I try to insert charcheters with accent with emacs. It doesn't work. How can I do ? Thank you in advance (2 Replies)
Discussion started by: annemar
2 Replies

8. UNIX for Dummies Questions & Answers

Help on EMACS

Any one has a good documentation on How To Use EMACs editor?? Thanks Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies

9. UNIX for Dummies Questions & Answers

Xemacs and emacs

Hi guys What is the difference between Xemacs and emacs. I assumed Xemacs runs only in X11. What about in Linux on KDE? Am I running Xemacs or emacs. Well it says emacs though. What is the advantage of one over other? What can I run on OS X ? SS (5 Replies)
Discussion started by: saurya_s
5 Replies

Featured Tech Videos