From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Quanyang Liu Newsgroups: gmane.emacs.help Subject: Re: How to build the C language environment in Emacs? Date: Sat, 03 Jan 2015 17:04:11 +0800 Message-ID: <86k314me0k.fsf@gmail.com> References: <54a773933fe5_@_imoxion.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1420275890 2114 80.91.229.3 (3 Jan 2015 09:04:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 09:04:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 10:04:42 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y7KdV-0000wR-IG for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 10:04:41 +0100 Original-Received: from localhost ([::1]:53831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7KdU-0007CN-IU for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 04:04:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7KdJ-0007Bj-Sk for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:04:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7KdG-0000xB-Mh for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:04:29 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7KdG-0000wn-Fe for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:04:26 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7KdE-0000s7-6L for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 10:04:24 +0100 Original-Received: from 111.186.3.60 ([111.186.3.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 10:04:24 +0100 Original-Received: from lqymgt by 111.186.3.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 10:04:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.186.3.60 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:FuiBNfnyJR9dmbYU+RC+Z3SjwAE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101858 Archived-At: 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 > PATH. > 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...