[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build the C language environment in Emacs?

From: Quanyang Liu
Subject: Re: How to build the C language environment in Emacs?
Date: Sat, 03 Jan 2015 17:04:11 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

On Sat, Jan 03 2015 at 12:34:59 +0800, Liu Shengyu wrote:
> Dear 
> I have learned Emacs for a few days by myself.
> And I have been read some books about simply uses of Emacs.
> But I have some questions about how to use it practically.
> My computer is not MAC, and my system is Windows 7.

well...IIRC, using Emacs in windows is terrible...

> 1.    I have been installed MinGW in my computer, and I have been
> checked in MSDOS, and also have been set envionment variables in
> But I still can't compile C file. 
> Emacs tells that gcc is not a internal or external command.
> I think maybe I need to write some commands in ~.emacs to combine GCC
> and Emacs, but i don't know to do it. 
> So can you help me about this question?

In fact, maybe you can try to use the full path to your compiler. If it
works, then you can make an alias.

> 2.    I wanna compile (+ #c(0 1.0) 2)
> But Emacs tells me that Debugger entered--Lisp error: (invalid-read-syntax 
> "#")
> Why this simply syntax # is not a built-in syntax in my Emacs.
> How to solve this kind of problem?

The built-in lisp in Emacs is elisp...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]