* Client session not deletable anymore.
@ 2007-09-26 11:45 Johannes Weiner
2007-09-26 16:52 ` Dan Nicolaescu
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Weiner @ 2007-09-26 11:45 UTC (permalink / raw)
To: Emacs development discussions
[-- Attachment #1.1: Type: text/plain, Size: 591 bytes --]
Hi,
when I run emacsclient (the revoked version that does NOT open a new frame), I
am not able to delete the client session on the host Emacs anymore; instead I
get the following message when I run C-x #:
server-delete-client: Attempt to delete the sole active
display terminal
The behaviour I was used to is that the buffer is closed and emacsclient
returns.
When I hit C-x # again, I get:
No server editing buffers exist
I run 23.0.50.2, built from CVS HEAD on 2007-09-25.
Hannes
--
3BD8 AF56 11AF 205C 9DB6 B10F 76F1 0634 71A4 DCA0
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Client session not deletable anymore.
2007-09-26 11:45 Client session not deletable anymore Johannes Weiner
@ 2007-09-26 16:52 ` Dan Nicolaescu
2007-09-28 13:31 ` Johannes Weiner
0 siblings, 1 reply; 5+ messages in thread
From: Dan Nicolaescu @ 2007-09-26 16:52 UTC (permalink / raw)
To: Emacs development discussions
Johannes Weiner <hannes@saeurebad.de> writes:
> Hi,
>
> when I run emacsclient (the revoked version that does NOT open a new frame), I
> am not able to delete the client session on the host Emacs anymore; instead I
> get the following message when I run C-x #:
>
> server-delete-client: Attempt to delete the sole active
> display terminal
>
> The behaviour I was used to is that the buffer is closed and emacsclient
> returns.
> When I hit C-x # again, I get:
>
> No server editing buffers exist
>
> I run 23.0.50.2, built from CVS HEAD on 2007-09-25.
Can you please send an exact recipe on how you get into this situation
starting from emacs -Q ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Client session not deletable anymore.
2007-09-26 16:52 ` Dan Nicolaescu
@ 2007-09-28 13:31 ` Johannes Weiner
2007-09-28 13:39 ` Johannes Weiner
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Weiner @ 2007-09-28 13:31 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: Emacs development discussions
[-- Attachment #1.1: Type: text/plain, Size: 834 bytes --]
Hi,
On Wed, Sep 26, 2007 at 09:52:44AM -0700, Dan Nicolaescu wrote:
> Can you please send an exact recipe on how you get into this situation
> starting from emacs -Q ?
On this machine, I can not reproduce it under X, due to something really
strange:
1. Open XTerm
2. emacs -nw -Q
3. M-x server-start
4. Open another XTerm
5. emacsclient test.txt
After 5., a new Emacs X11(!) frame spawns and says:
Buffer `test.txt' still has clients; kill it? (yes or no)
When I do 5. like that:
5. emacsclient -c test.txt
it works as expected: creating a new X11 frame and visiting test.txt as
client, saying:
When done with a buffer, type C-x #
I will test this scenario on the machine it occured first when I have access
to it again.
Hannes
--
3BD8 AF56 11AF 205C 9DB6 B10F 76F1 0634 71A4 DCA0
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Client session not deletable anymore.
2007-09-28 13:31 ` Johannes Weiner
@ 2007-09-28 13:39 ` Johannes Weiner
2007-09-28 16:56 ` Dan Nicolaescu
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Weiner @ 2007-09-28 13:39 UTC (permalink / raw)
To: Dan Nicolaescu, Emacs development discussions
[-- Attachment #1.1: Type: text/plain, Size: 579 bytes --]
Hi,
okay, I can reproduce it when I am not under X. Steps:
0. Be on the linux console, no X started
1. emacs -Q
2. M-x server start
3. Switch to another (non-X!) console
4. emacsclient test.txt
-> test.txt opens in the emacs server frame as expected
5. Write, save test.txt
6. C-x #
Response after 6.:
server-delete-client: Attempt to delete the sole active
display terminal
Then again:
7. C-x #
No, emacs responds:
No server editing buffers exist
HTH
Hannes
--
3BD8 AF56 11AF 205C 9DB6 B10F 76F1 0634 71A4 DCA0
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Client session not deletable anymore.
2007-09-28 13:39 ` Johannes Weiner
@ 2007-09-28 16:56 ` Dan Nicolaescu
0 siblings, 0 replies; 5+ messages in thread
From: Dan Nicolaescu @ 2007-09-28 16:56 UTC (permalink / raw)
To: Emacs development discussions
Johannes Weiner <hannes@saeurebad.de> writes:
> Hi,
>
> okay, I can reproduce it when I am not under X. Steps:
>
> 0. Be on the linux console, no X started
> 1. emacs -Q
> 2. M-x server start
> 3. Switch to another (non-X!) console
> 4. emacsclient test.txt
> -> test.txt opens in the emacs server frame as expected
> 5. Write, save test.txt
> 6. C-x #
>
> Response after 6.:
>
> server-delete-client: Attempt to delete the sole active
> display terminal
Thanks. I checked in a patch that should fix this.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-28 16:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-26 11:45 Client session not deletable anymore Johannes Weiner
2007-09-26 16:52 ` Dan Nicolaescu
2007-09-28 13:31 ` Johannes Weiner
2007-09-28 13:39 ` Johannes Weiner
2007-09-28 16:56 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.