bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11102: 24.0.94; C-x C-c from a client frame sometimes kills the whol


From: Chong Yidong
Subject: bug#11102: 24.0.94; C-x C-c from a client frame sometimes kills the whole Emacs process
Date: Sat, 14 Apr 2012 21:18:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> The issue which Dani and Juanma were talking about is a separate one:
>> for a graphical Emacs on Windows, "emacsclient -c -n foo.txt" ought to
>> create a new frame with a `client' parameter, so that C-x C-c exits
>> Emacs instead of closing just that frame.
>
> Now I'm completely confused: didn't you say that "C-x C-c" should
> _not_ exit Emacs in this case?

Sorry, I miswrote.  Indeed, C-x C-c should _not_ exit Emacs in that
case.

> Why does it make sense to have "-c -n" behave differently from
> "-t -n"?

The "-t -n" case is an abberation; emacsclient could even signal an
error for that, because it is saying "open on this text terminal, but
don't wait", which is nonsensical.  The current behavior, of opening on
another text terminal, is a fudge---and one that doesn't work for the
Emacs daemon.  For that reason, the discrepancy you point out is not
important.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]