On Fri, 4 Jan 2019 01:39:55 +0000 (UTC) J. Smith wrote:
forwarded 883689 https://debbugs.gnu.org/11033
I think https://debbugs.gnu.org/51374 "New options for emacsclient" is a
better variant. This patch added to v29.1
-r, --reuse-frame Create a new frame if none exists, otherwise
use the current Emacs frame
I have not noticed any effect from https://debbugs.gnu.org/11033
"emacsclient: create a new frame only if one doesn't exist". In bookworm
emacs-28.2 has this patch, but
emacsclient --display="$DISPLAY" -a "" /tmp/test.txt
opens the file in terminal while every invocation with -c creates a new
frame. (I added explicit --display to be on the safe side. It may matter
if emacs daemon has no GUI frames.)