all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: PJ Weisberg <pjweisberg@gmail.com>
To: "Florian v. Savigny" <florian@fsavigny.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacsclient, -a emacs, and --eval (rephrased)
Date: Sun, 3 Mar 2013 08:53:18 -0800	[thread overview]
Message-ID: <CAJsNXTkLV8tBCnbXu0kRrbrbcO4UO7Qnfga7JAvq6OyazkkYRQ@mail.gmail.com> (raw)
In-Reply-To: <E1UB8BP-00027Z-BG@eggs.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

On Feb 28, 2013 10:26 AM, "Florian v. Savigny" <florian@fsavigny.de> wrote:
>
>
> Encouraged by Ronaldos post, I thought I might rephrase one aspect of
> my problem, hoping this might lead to the (or some) solution:
>
> When I call
>
> emacsclient -a emacs --eval "(rmail)"
>
> Emacs will start up and run rmail if it is started as emacsclient
> (i.e. if emacs and its server are already running). But when started
> as emacs, it starts by opening a new file called "(rmail)".
>
> This is confusing to me, as the --eval option is documented for both
> emacsclient and emacs, leading me to think both should interpret it in
> the same way.
>
> This seems basic enough - can anybody explain to me what I am missing
> here?
>
> Thanks so much in advance!

Not an answer to your question, but it might be helpful to know that if
your alternate editor is "" , then emacsclient will start the emacs server
and try again to run your original command.

[-- Attachment #2: Type: text/html, Size: 1211 bytes --]

  parent reply	other threads:[~2013-03-03 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-23 14:09 emacsclient: Different --eval for emacs as alternate editor? Florian v. Savigny
2013-02-28  8:36 ` ronaldo.mercado
2013-02-28 18:15   ` Florian v. Savigny
2013-02-28 18:26   ` emacsclient, -a emacs, and --eval (rephrased) Florian v. Savigny
2013-02-28 18:33     ` "Jérôme M. Berger"
2013-03-03 16:53     ` PJ Weisberg [this message]
2013-03-04 22:43       ` Ludwig, Mark

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=CAJsNXTkLV8tBCnbXu0kRrbrbcO4UO7Qnfga7JAvq6OyazkkYRQ@mail.gmail.com \
    --to=pjweisberg@gmail.com \
    --cc=florian@fsavigny.de \
    --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.