Just how can I subdue unnecessary result from emacsclient?
I make use of emacs rather consistently and also am attempting to configure my system to make use of emacsclient when feasible. To do this I have actually done the adhering to:
EDITOR='emacsclient -ca emacs' VISUAL='emacsclient -ca emacs'
I after that additionally mounted a choice for/ usr/bin/editor that indicates/ usr/local/bin/ emacsclient.wrapper that has the adhering to:
#!/bin/sh #Start emacs client /usr/bin/emacsclient -ca emacs $1
Essentially this functions wonderful. Nonetheless, when emacsclient is released from the incurable, it usually gushes out message I do not require. Especially:
$ editor Waiting for Emacs... $
Or, when emacs isn't currently begun and also emacclient needs to drop back to beginning emacs itself:
emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start".
What can I do to surpress this result? I've attempted transforming my emacs wrapper to
#!/bin/sh #Start emacs client /usr/bin/emacsclient -ca emacs $1 &> /dev/null
yet this really did not aid. I really did not attempt editing and enhancing EDITOR or VISUAL given that I do not have any kind of suggestions apart from this typical redirection.