From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Merciadri Luca Newsgroups: gmane.emacs.help Subject: Re: Using javac with Emacs Date: Fri, 18 Sep 2009 15:02:50 +0200 Organization: ULg Message-ID: <87ws3w1k3p.fsf@merciadriluca-station.MERCIADRILUCA> References: <878wgcjyjk.fsf@student.ulg.ac.be> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253282242 2113 80.91.229.12 (18 Sep 2009 13:57:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 13:57:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 15:57:15 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Modxb-0002zG-2f for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 15:57:15 +0200 Original-Received: from localhost ([127.0.0.1]:51440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Modxa-0001P3-Hb for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 09:57:14 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!uio.no!hist.no!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:zexHTRHgSd2aoQEYJHD0Ft8wWjA= Original-Lines: 33 Original-NNTP-Posting-Host: 62.197.101.238 Original-X-Trace: news.sunsite.dk DXC=9[\88m8n[@?=M\fUi`VZV List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68268 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Dyballa writes: > It seems as if your "terminal" runs a login shell while GNU Emacs > does not (in which interactive buffer, shell, eshell, term are you > invoking javac?). Using M-x then typing "javac nameofmyfile". That's the same way as I habitually do "make -B *.c", for example. > You could compare the value of the environment > variable PATH in both environments. M-x then "echo" is not a recognized command. I think that M-x aims at executing a limited set of (Emacs-)predefined commands. Am I right? > > So what you need to do is to change your shell setup to have in a > "normal" shell at least the same value for PATH as in a login shell. Using ESC-!, I can type any shell command, but the output of echo $PATH is still the same as in a real terminal (but that is normal). - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 iEYEARECAAYFAkqzhPoACgkQM0LLzLt8Mhx8VQCfcdjLvkADOAQO+wDaNsCH8QNf YXkAnjVBNGSP++G+ylnE1lQyRVdA4OdJ =eeLw -----END PGP SIGNATURE-----