[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile Mode and "host" Emacs
From: |
Nathan Trapuzzano |
Subject: |
Re: Compile Mode and "host" Emacs |
Date: |
Tue, 29 Oct 2013 08:38:08 -0400 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Your best bet is probably:
(concat (file-name-as-directory invocation-directory) invocation-name)
You can wrap that in (file-truename ...) if you want the true name.
Nathan
Sebastian Wiesner <address@hidden> writes:
> Hello,
>
> how can a compilation process obtain the path to the Emacs executable
> which started it?
>
> I know that Emacs sets $EMACS and $INSIDE_EMACS in the environment of
> compile processes, but the values of these variables aren't exactly
> helpful and I didn't see any other environment variables in the
> compile code. So apparently environment variables can't help me.
>
> Is there any way to find out the path to the "host" Emacs executable?
> Preferably with not too much trickery?
>
> Sincerely,
> Sebastian Wiesner
- Compile Mode and "host" Emacs, Sebastian Wiesner, 2013/10/29
- Re: Compile Mode and "host" Emacs,
Nathan Trapuzzano <=
- Re: Compile Mode and "host" Emacs, Sebastian Wiesner, 2013/10/29
- Re: Compile Mode and "host" Emacs, Andreas Schwab, 2013/10/29
- Re: Compile Mode and "host" Emacs, Sebastian Wiesner, 2013/10/29
- Re: Compile Mode and "host" Emacs, Andreas Schwab, 2013/10/29
- Re: Compile Mode and "host" Emacs, Sebastian Wiesner, 2013/10/29
- Re: Compile Mode and "host" Emacs, Andreas Schwab, 2013/10/29
- Re: Compile Mode and "host" Emacs, Sebastian Wiesner, 2013/10/29
- Re: Compile Mode and "host" Emacs, Michael Albinus, 2013/10/29
- Re: Compile Mode and "host" Emacs, Andreas Schwab, 2013/10/29
- Re: Compile Mode and "host" Emacs, Eli Zaretskii, 2013/10/29