help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Using javac with Emacs


From: Merciadri Luca
Subject: Re: Using javac with Emacs
Date: Fri, 18 Sep 2009 21:16:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anselm Helbig <anselm.helbig+news2009@googlemail.com> writes:

> At Fri, 18 Sep 2009 14:59:51 +0200,
> Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> wrote:
>> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Anselm Helbig <anselm.helbig+news2009@googlemail.com> 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-variable<RET>exec-path<RET> 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 <RET> exec-path <RET> ?
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 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkqz3IMACgkQM0LLzLt8Mhx35gCeM7SAwS4De5NLMOwjWo+S8JvG
CGgAn13fOFertsp31g77gQQ6trfEhxba
=QJNO
-----END PGP SIGNATURE-----


reply via email to

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