unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: florian@fsavigny.de (Florian v. Savigny)
To: help-gnu-emacs@gnu.org
Subject: emacsclient, -a emacs, and --eval (rephrased)
Date: Thu, 28 Feb 2013 13:26:24 -0500	[thread overview]
Message-ID: <E1UB8BP-00027Z-BG@eggs.gnu.org> (raw)
In-Reply-To: <3D65E04168FA09429B823CA3FE25C4473BCF664B@EXCHMBX01.fed.cclrc.ac.uk> (ronaldo.mercado@diamond.ac.uk)


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!

Florian




  parent reply	other threads:[~2013-02-28 18:26 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   ` Florian v. Savigny [this message]
2013-02-28 18:33     ` emacsclient, -a emacs, and --eval (rephrased) "Jérôme M. Berger"
2013-03-03 16:53     ` PJ Weisberg
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1UB8BP-00027Z-BG@eggs.gnu.org \
    --to=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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).