function edit() { local editor printf -v editor "emacsclient -a=\"\" \"\$@\"" echo $editor eval "${editor}" } function editc() { local editor printf -v editor "emacsclient -c -a=\"\" \"\$@\"" echo $editor eval "${editor}" } function editn() { local editor printf -v editor "emacsclient -n -a=\"\" \"\$@\"" echo $editor eval "${editor}" } function editcn() { local editor printf -v editor "emacsclient -cn -a=\"\" \"\$@\"" echo $editor eval "${editor}" }