unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* daemon mode breakage
@ 2010-10-20 12:34 Neal Becker
  2010-10-20 14:07 ` Dan Nicolaescu
  0 siblings, 1 reply; 11+ messages in thread
From: Neal Becker @ 2010-10-20 12:34 UTC (permalink / raw)
  To: emacs-devel

emacs-23.2.1 fedora 13 x86_64

I start emacs --daemon on a remote

If I connect with emacsclient -c , and then cleanly disconnect, (e.g., C-x 
C-c), I can subsequently re-connect with emacsclient -c.

But if the connection is rudely dropped, then when I attempt to re-connect
I get a blank window.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 12:34 daemon mode breakage Neal Becker
@ 2010-10-20 14:07 ` Dan Nicolaescu
  2010-10-20 14:58   ` Scot Becker
  2010-10-20 16:19   ` Chong Yidong
  0 siblings, 2 replies; 11+ messages in thread
From: Dan Nicolaescu @ 2010-10-20 14:07 UTC (permalink / raw)
  To: Neal Becker; +Cc: emacs-devel

Neal Becker <ndbecker2@gmail.com> writes:

> emacs-23.2.1 fedora 13 x86_64
>
> I start emacs --daemon on a remote
>
> If I connect with emacsclient -c , and then cleanly disconnect, (e.g., C-x 
> C-c), I can subsequently re-connect with emacsclient -c.
>
> But if the connection is rudely dropped, then when I attempt to re-connect
> I get a blank window.

This is a bug in Gtk+.
http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
has a note about this too).
If you intend to use the daemon mode, it's better to compile emacs
using the lucid toolkit.
It doesn't look like the Gtk+ bug will ever be fixed so...




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 14:07 ` Dan Nicolaescu
@ 2010-10-20 14:58   ` Scot Becker
  2010-10-20 15:27     ` Dan Nicolaescu
  2010-10-20 15:32     ` Jan Djärv
  2010-10-20 16:19   ` Chong Yidong
  1 sibling, 2 replies; 11+ messages in thread
From: Scot Becker @ 2010-10-20 14:58 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Neal Becker, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

Out of curiosity (I experience this bug too) what do you have to give up if
you compile with Lucid?   I assume that anti-aliased fonts would go. Do you
loose the ability to use proportional fonts as well or is that handled by
Emacs itself?



On Wed, Oct 20, 2010 at 3:07 PM, Dan Nicolaescu <dann@gnu.org> wrote:

> Neal Becker <ndbecker2@gmail.com> writes:
>
> > emacs-23.2.1 fedora 13 x86_64
> >
> > I start emacs --daemon on a remote
> >
> > If I connect with emacsclient -c , and then cleanly disconnect, (e.g.,
> C-x
> > C-c), I can subsequently re-connect with emacsclient -c.
> >
> > But if the connection is rudely dropped, then when I attempt to
> re-connect
> > I get a blank window.
>
> This is a bug in Gtk+.
> http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
> has a note about this too).
> If you intend to use the daemon mode, it's better to compile emacs
> using the lucid toolkit.
> It doesn't look like the Gtk+ bug will ever be fixed so...
>
>
>

[-- Attachment #2: Type: text/html, Size: 1512 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 14:58   ` Scot Becker
@ 2010-10-20 15:27     ` Dan Nicolaescu
  2010-10-20 15:32     ` Jan Djärv
  1 sibling, 0 replies; 11+ messages in thread
From: Dan Nicolaescu @ 2010-10-20 15:27 UTC (permalink / raw)
  To: Scot Becker; +Cc: Neal Becker, emacs-devel

Scot Becker <scot.becker@gmail.com> writes:

> Out of curiosity (I experience this bug too) what do you have to give up if you
> compile with Lucid?

The toolbar, scroll bar, dialogs and the menus use different widgets,
so they don't look as spiffy, but no core functionality is lost.


> I assume that anti-aliased fonts would go. 

No.

> Do you loose the ability to use proportional fonts as well

No.


>
>
>
> On Wed, Oct 20, 2010 at 3:07 PM, Dan Nicolaescu <dann@gnu.org> wrote:
>
>     Neal Becker <ndbecker2@gmail.com> writes:
>
>     > emacs-23.2.1 fedora 13 x86_64
>     >
>     > I start emacs --daemon on a remote
>     >
>     > If I connect with emacsclient -c , and then cleanly disconnect, (e.g.,
>     C-x
>     > C-c), I can subsequently re-connect with emacsclient -c.
>     >
>     > But if the connection is rudely dropped, then when I attempt to
>     re-connect
>     > I get a blank window.
>
>     This is a bug in Gtk+.
>     http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
>     has a note about this too).
>     If you intend to use the daemon mode, it's better to compile emacs
>     using the lucid toolkit.
>     It doesn't look like the Gtk+ bug will ever be fixed so...



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 14:58   ` Scot Becker
  2010-10-20 15:27     ` Dan Nicolaescu
@ 2010-10-20 15:32     ` Jan Djärv
  2010-10-20 16:13       ` Scot Becker
  1 sibling, 1 reply; 11+ messages in thread
From: Jan Djärv @ 2010-10-20 15:32 UTC (permalink / raw)
  To: Scot Becker; +Cc: Neal Becker, Dan Nicolaescu, emacs-devel

2010-10-20 16:58, Scot Becker skrev:
> Out of curiosity (I experience this bug too) what do you have to give up if
> you compile with Lucid?   I assume that anti-aliased fonts would go.

They won't.

> Do you
> loose the ability to use proportional fonts as well or is that handled by
> Emacs itself?

Everything in the edit portion is the same.  You only loose the Gtk+ look in 
the tool-, scroll- and menubar.

	Jan D.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 15:32     ` Jan Djärv
@ 2010-10-20 16:13       ` Scot Becker
  0 siblings, 0 replies; 11+ messages in thread
From: Scot Becker @ 2010-10-20 16:13 UTC (permalink / raw)
  To: Jan Djärv; +Cc: Neal Becker, Dan Nicolaescu, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

Dan and Jan,

Thanks.  I think I could live with that.



On Wed, Oct 20, 2010 at 4:32 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:

> 2010-10-20 16:58, Scot Becker skrev:
>
>  Out of curiosity (I experience this bug too) what do you have to give up
>> if
>> you compile with Lucid?   I assume that anti-aliased fonts would go.
>>
>
> They won't.
>
>
>  Do you
>> loose the ability to use proportional fonts as well or is that handled by
>> Emacs itself?
>>
>
> Everything in the edit portion is the same.  You only loose the Gtk+ look
> in the tool-, scroll- and menubar.
>
>        Jan D.
>

[-- Attachment #2: Type: text/html, Size: 1226 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 14:07 ` Dan Nicolaescu
  2010-10-20 14:58   ` Scot Becker
@ 2010-10-20 16:19   ` Chong Yidong
  2010-10-20 20:19     ` Dan Nicolaescu
  2010-10-20 20:56     ` Jan Djärv
  1 sibling, 2 replies; 11+ messages in thread
From: Chong Yidong @ 2010-10-20 16:19 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Neal Becker, emacs-devel

Dan Nicolaescu <dann@gnu.org> writes:

>> But if the connection is rudely dropped, then when I attempt to re-connect
>> I get a blank window.
>
> This is a bug in Gtk+.
> http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
> has a note about this too).
> If you intend to use the daemon mode, it's better to compile emacs
> using the lucid toolkit.
> It doesn't look like the Gtk+ bug will ever be fixed so...

Is there any way for us to detect when this happens?  If so, we could
make Emacs print an error message with the bugzilla.gnome.org bug url.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 16:19   ` Chong Yidong
@ 2010-10-20 20:19     ` Dan Nicolaescu
  2010-10-20 20:56     ` Jan Djärv
  1 sibling, 0 replies; 11+ messages in thread
From: Dan Nicolaescu @ 2010-10-20 20:19 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Neal Becker, emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

> Dan Nicolaescu <dann@gnu.org> writes:
>
>>> But if the connection is rudely dropped, then when I attempt to re-connect
>>> I get a blank window.
>>
>> This is a bug in Gtk+.
>> http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
>> has a note about this too).
>> If you intend to use the daemon mode, it's better to compile emacs
>> using the lucid toolkit.
>> It doesn't look like the Gtk+ bug will ever be fixed so...
>
> Is there any way for us to detect when this happens?  

Don't know.

> If so, we could make Emacs print an error message with the
> bugzilla.gnome.org bug url.

We should print a warning when a Gtk+ emacs is started in daemon mode.
Hopefully users will help lobby the Gtk+ maintainers to fix the bug if
the warnings is prominently displayed all the time, and the warning
would reduce the number of times this bug gets blamed on emacs.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 16:19   ` Chong Yidong
  2010-10-20 20:19     ` Dan Nicolaescu
@ 2010-10-20 20:56     ` Jan Djärv
  2010-10-20 21:01       ` Óscar Fuentes
  2010-10-20 23:21       ` Sebastian Rose
  1 sibling, 2 replies; 11+ messages in thread
From: Jan Djärv @ 2010-10-20 20:56 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Neal Becker, Dan Nicolaescu, emacs-devel



Chong Yidong skrev 2010-10-20 18.19:
> Dan Nicolaescu<dann@gnu.org>  writes:
>
>>> But if the connection is rudely dropped, then when I attempt to re-connect
>>> I get a blank window.
>>
>> This is a bug in Gtk+.
>> http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
>> has a note about this too).
>> If you intend to use the daemon mode, it's better to compile emacs
>> using the lucid toolkit.
>> It doesn't look like the Gtk+ bug will ever be fixed so...
>
> Is there any way for us to detect when this happens?  If so, we could
> make Emacs print an error message with the bugzilla.gnome.org bug url.

I haven't looked into it much, but as Emacs is in daemon mode, chances are 
that nobody will see the output.

	Jan D.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 20:56     ` Jan Djärv
@ 2010-10-20 21:01       ` Óscar Fuentes
  2010-10-20 23:21       ` Sebastian Rose
  1 sibling, 0 replies; 11+ messages in thread
From: Óscar Fuentes @ 2010-10-20 21:01 UTC (permalink / raw)
  To: emacs-devel; +Cc: Jan Djärv

Jan Djärv <jan.h.d@swipnet.se> writes:

> Chong Yidong skrev 2010-10-20 18.19:
>> Dan Nicolaescu<dann@gnu.org>  writes:
>>
>>>> But if the connection is rudely dropped, then when I attempt to re-connect
>>>> I get a blank window.
>>>
>>> This is a bug in Gtk+.
>>> http://bugzilla.gnome.org/show_bug.cgi?id=85715.  (emacs/etc/PROBLEMS
>>> has a note about this too).
>>> If you intend to use the daemon mode, it's better to compile emacs
>>> using the lucid toolkit.
>>> It doesn't look like the Gtk+ bug will ever be fixed so...
>>
>> Is there any way for us to detect when this happens?  If so, we could
>> make Emacs print an error message with the bugzilla.gnome.org bug url.
>
> I haven't looked into it much, but as Emacs is in daemon mode, chances
> are that nobody will see the output.

IIRC, creating the first frame works fine. It is when closing the frame
or creating a new one when the problem pops out.

Yes, I came to the list with that same problem a few years ago.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: daemon mode breakage
  2010-10-20 20:56     ` Jan Djärv
  2010-10-20 21:01       ` Óscar Fuentes
@ 2010-10-20 23:21       ` Sebastian Rose
  1 sibling, 0 replies; 11+ messages in thread
From: Sebastian Rose @ 2010-10-20 23:21 UTC (permalink / raw)
  To: Jan Djärv; +Cc: Neal Becker, Dan Nicolaescu, Chong Yidong, emacs-devel


>> Is there any way for us to detect when this happens?  If so, we could
>> make Emacs print an error message with the bugzilla.gnome.org bug url.
>
> I haven't looked into it much, but as Emacs is in daemon mode, chances are that
> nobody will see the output.


Funny.  I came about that problem just a few hours ago.  And, guess what
I did: I started `emacs --daemon' in a terminal window.  I always do
that if I try something new.  Or if a program does something
unexpected...


   Sebstian



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-20 23:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 12:34 daemon mode breakage Neal Becker
2010-10-20 14:07 ` Dan Nicolaescu
2010-10-20 14:58   ` Scot Becker
2010-10-20 15:27     ` Dan Nicolaescu
2010-10-20 15:32     ` Jan Djärv
2010-10-20 16:13       ` Scot Becker
2010-10-20 16:19   ` Chong Yidong
2010-10-20 20:19     ` Dan Nicolaescu
2010-10-20 20:56     ` Jan Djärv
2010-10-20 21:01       ` Óscar Fuentes
2010-10-20 23:21       ` Sebastian Rose

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).