all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: EmacsClient: using both --eval and --alternate-editor, possible?
Date: Sat, 13 Nov 2010 14:25:45 +0100	[thread overview]
Message-ID: <ibm3kp$gbb$1@quimby.gnus.org> (raw)
In-Reply-To: 877hgiwdsc.fsf@kuiper.lan.informatimago.com

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	other threads:[~2010-11-13 13:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <56b87357-849d-4189-9c3e-abf96ae4064e@t7g2000vbj.googlegroups.com>
2010-11-12 19:19 ` EmacsClient: using both --eval and --alternate-editor, possible? Pascal J. Bourguignon
2010-11-13 13:25   ` Richard Riley [this message]
2010-11-13 13:36     ` Pascal J. Bourguignon
2010-11-13 14:21   ` Elena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ibm3kp$gbb$1@quimby.gnus.org' \
    --to=rileyrg@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.