emacs-devel
[Top][All Lists]
Advanced

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

Re: Compile Mode and "host" Emacs


From: David Engster
Subject: Re: Compile Mode and "host" Emacs
Date: Tue, 29 Oct 2013 16:59:45 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Sebastian Wiesner writes:
> 2013/10/29 Andreas Schwab <address@hidden>:
>> That's what emacsclient is for.
>
> That makes no difference, it just shifts the problem from finding the
> right Emacs to finding the right "emacsclient".  You can't (easily)
> use a v22 "emacsclient" to talk to a v24 Emacs,

> [...]

While emacsclient from 22.1 cannot open a new frame, you can still use
it to evaluate lisp (yes, I actually tried). You can retrieve the the
invoked emacs binary from the running server by calling

 emacsclient -e '(expand-file-name invocation-name invocation-directory)'

You just have to be aware that an older emacsclient will prefix the
output with '-print'.

-David



reply via email to

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