Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use emacsclient instead of emacs directly. Suppose I want to start a frame in emacsclient with the command "mu4e" (to run an excellent little email client). For emacs I would simply do emacs -f mu4e. But in emacsclient, if I try the seeming equivalent:

emacsclient -c --eval mu4e

I get this:

*ERROR*: Symbol's value as variable is void: mu4e

Clearly I need to evaluate a lisp expression to call the function mu4e, but I can't figure out how to do this. Google searches did not seem to produce anything helpful.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

mu4e is a function? Try this: emacsclient -c --eval "(mu4e)"

share|improve this answer
    
That did it, thanks! Couldn't find the syntax for calling a function when I looked around online... –  ShankarG Jun 6 '12 at 6:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.