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 21:16:19 +0200 Organization: ULg Message-ID: <87r5u45aik.fsf@student.ulg.ac.be> References: <878wgcjyjk.fsf@student.ulg.ac.be> <873a6kcutx.wl%anselm.helbig+news2009@googlemail.com> <871vm42yt4.fsf@merciadriluca-station.MERCIADRILUCA> <871vm4crkf.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253303023 7372 80.91.229.12 (18 Sep 2009 19:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 19:43:43 +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 21:43:36 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 1MojMl-0004ik-SP for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 21:43:36 +0200 Original-Received: from localhost ([127.0.0.1]:37305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MojMl-00029n-CB for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 15:43:35 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.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:YPlA2SBzcbzP69Pf4geUvcSLMsE= Original-Lines: 61 Original-NNTP-Posting-Host: 62.197.101.238 Original-X-Trace: news.sunsite.dk DXC=aAbI\RVmV0Gk`8jVVeUFdJYSB=nbEKnkKW81EMTZWT8@B`G2cTG; MnALGVLjEY^2YH[=LHD=0P^YD9g\V1BeNHOI5Z@8`56Df9@U18aBF6b]?@n7QZK`Mm4<@ Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:173171 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:68292 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anselm Helbig writes: > At Fri, 18 Sep 2009 14:59:51 +0200, > Merciadri Luca wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Anselm Helbig writes: >> >> > What does M-: (executable-find "javac") give you? >> This command seems not to work on my (however standard) Emacs. > > What do you mean, it doesn't work? And what's a standard emacs, > anyway? GNU Emacs? What version? It show me "Trailing garbage following expression". It also does this when typing executable-find javac . Why? I am using GNU Emacs 22.2.1. Sorry for my imprecisions. > >> However, I can still do ESC ! to type a shell command, but it is >> tedious. >> > Compare the output >> > of M-x show-variableexec-path with echo $PATH in your >> > shell. >> $ echo $PATH >> /usr/local/bin:/usr/bin:/bin:/usr/games > > So what's the output of M-x show-variable exec-path ? I would like to be able to give it to you, but M-x show-variable returns "[No match]". > >> Shouldn't I add some lines to this? > > Not necessarily. What does > > which javac > > on the shell give you? Which is roughly equivalent to the > executable-find function I asked you to call before, btw. It gives /usr/bin/javac . > >> > Do you start emacs from your shell? >> Yes. > > Hm, strange. I know. - -- 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 iEYEARECAAYFAkqz3IMACgkQM0LLzLt8Mhx35gCeM7SAwS4De5NLMOwjWo+S8JvG CGgAn13fOFertsp31g77gQQ6trfEhxba =QJNO -----END PGP SIGNATURE-----