[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using javac with Emacs
From: |
Anselm Helbig |
Subject: |
Re: Using javac with Emacs |
Date: |
Fri, 18 Sep 2009 15:28:12 +0200 |
At Fri, 18 Sep 2009 15:02:50 +0200,
Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Peter Dyballa <Peter_Dyballa@Web.DE> 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.
This can not work, because javac is not an emacs command. You have to
use M-! instead of M-x.
> > 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?
M-x is for calling emacs commands. I wouldn't call it limited, though,
there are some thousands.
M-! is for calling shell commands, M-: is for evaluation expressions
in emacs lisp.
> > 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).
HTH,
Anselm
--
Anselm Helbig
mailto:anselm.helbig+news2009@googlemail.com
- Re: Using javac with Emacs, (continued)
- Re: Using javac with Emacs, Peter Dyballa, 2009/09/18
- Message not available
- Re: Using javac with Emacs, Merciadri Luca, 2009/09/18
- Re: Using javac with Emacs, Pascal J. Bourguignon, 2009/09/18
- Re: Using javac with Emacs, Richard Riley, 2009/09/18
- Re: Using javac with Emacs, Merciadri Luca, 2009/09/18
- Re: Using javac with Emacs, Colin S. Miller, 2009/09/18
- Re: Using javac with Emacs, Merciadri Luca, 2009/09/18
- Re: Using javac with Emacs, Peter Dyballa, 2009/09/18
- Message not available
- Re: Using javac with Emacs, Merciadri Luca, 2009/09/18
- Re: Using javac with Emacs, Merciadri Luca, 2009/09/18
- Re: Using javac with Emacs,
Anselm Helbig <=
- Re: Using javac with Emacs, Merciadri Luca, 2009/09/18