emacs-devel
[Top][All Lists]
Advanced

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

Re: Killing a frame sometimes kills emacs


From: Paul Eggert
Subject: Re: Killing a frame sometimes kills emacs
Date: Thu, 17 Nov 2011 08:34:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 11/17/11 05:45, Tassilo Horn wrote:
> +#ifdef USE_GTK
> +    /* FIXME: Deleting the terminal crashes emacs because of a GTK
> +       bug.  See the thread starting with
> +       <address@hidden> on emacs-devel.  */
> +    if (terminal->type != output_x_window)
> +#endif /* USE_GTK */
> +      terminal->reference_count--;

Could you please use a URL rather than a Message-ID?  The latter
is hard for a random reader to follow.  Perhaps the URL
<http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00363.html>
is what is meant?  (Sorry, I can't easily tell.)

Also, this code would be easier to read:

    if (! (use_gtk && terminal->type == output_x_window))
      terminal->reference_count--;

with something like this near the start of the file:

   #ifdef USE_GTK
    enum { use_gtk = 1 };
   #else
    enum { use_gtk = 0 };
   #endif




reply via email to

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