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

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

Re: EmacsClient: using both --eval and --alternate-editor, possible?


From: Richard Riley
Subject: Re: EmacsClient: using both --eval and --alternate-editor, possible?
Date: Wed, 08 Dec 2010 15:35:51 -0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

pjb@informatimago.com (Pascal J. Bourguignon) writes:

> Elena <egarrulo@gmail.com> writes:
>
>> Hello,
>>
>> I think there is a conflict between --eval and --alternate-editor
>> option in EmacsClient.  If Emacs is not running and thus --eval fails,
>> the EDITOR indicated with --alternate-editor is called instead.
>> However, such EDITOR gets an ELisp expression, which it can't handle.
>> Is there a way around this, other than wrapping EmacsClient into a
>> script?
>
> Obviously, you need to patch this other editor to make it understand
> elisp.  This is indeed an awful but that need immediate action.  Either
> you integrate elisp in that alternate editor, or you rm it.  

Or alternatively, and much more useful and helpful, if emacs uses the
alternative editor then it doesnt pass the eval statement to that other
editor since it knows the elisp eval statement is useless..



reply via email to

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