Subject: bug#9305: emacsclient -n -c path/to/file # opens *scratch*

From: Chong Yidong <[email-masked]>
Date: Sat, 08 Dec 2012 10:40:05 +0800

Stefan Klinger <[email-masked]> writes:

>     killall -9 emacs
>     rm -rf ~/.emacs.d/
>
>     emacsclient -n -a '' -c ~/.bashrc  # first call
>     emacsclient -n -a '' -c ~/.bashrc  # second call
>
> The first call starts emacs showing ~/.bashrc.  But the second call
> creates a new frame showing *scratch*, and then focuses the other frame
> showing ~/.bashrc.  Expected bahavior: Open new frame on current
> desktop, showing the buffer visiting ~/.bashrc.

Thanks, I can reproduce this in Emacs 23.4.  It is already fixed in
Emacs 24.  Thanks for the bug report.