It's really handy to get stuff calculated in minibuffer using quick-calc (C-x * q) - I especially like that it automatically copies the result into buffer so it's just one C-y away.

Now the questions is - can I get all this goodness via emacsclient? Just printing out the results of calculating some string would be nice but having it in clipboard as well - even better.

  • 4
    What exactly do you want? Do you want a way to call quick-calc from the command line if Emacs isn't even open yet?
    – zck
    Oct 12, 2015 at 16:45
  • No, emacs is running in daemon mode. I want to call quick-calc with emacsclient and immediately exit after result is calculated.
    – god
    Oct 16, 2015 at 12:09

1 Answer 1


Well, it's not really an answer but it did solved the overall problem for me: instead of trying to reach Emacs' calc via emacsclient from shell I've flipped the problem upside-down and started using eshell as my main shell which allows me to use "calc-eval EXPR" directly :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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