[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29170: 26.0.90; Emacs freezes when capturing an org-template
From: |
Grégoire Jadi |
Subject: |
bug#29170: 26.0.90; Emacs freezes when capturing an org-template |
Date: |
Fri, 13 Aug 2021 09:36:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Grégoire Jadi <gjadi@omecha.info> writes:
>
>> So we think it is safe to backport this change upstream.
>
> [...]
>
>> dnl SIGIO exists, but the feature doesn't work in the way Emacs needs.
>> - hpux* | nacl | openbsd | solaris | unixware )
>> + hpux* | nacl | solaris | unixware )
>
> Thanks; I've now applied this to Emacs 28.
Thanks !
>
>> Please note that the real issue is not fixed. The issue is in the
>> broken SIGIO code itself. I was able to reproduce the bug by enabling
>> emacs_broken_SIGIO on Ubuntu LTS 20.04. I didn't take the time to find
>> a fix though.
>
> The remaining operating systems that uses the broken_SIGIO code paths
> are pretty obscure -- I guess Solaris is still used to some degree.
>
> Hm, let's see... I guess the code paths that are exercised are the ones
> where USABLE_SIGIO is undefined? Do you have a simple test case for
> this (on Ubuntu, for instance)? I think it might make sense to open a
> new bug report for this.
Yes, the same snippet used to trigger the bug on OpenBSD can be used:
> (let ((value 'SECONDARY)
> (x-selection-timeout 2000))
> ;;; from org-get-x-clipboard in lisp/org-compat.el
> (gui-get-selection value 'UTF8_STRING)
> (gui-get-selection value 'COMPOUND_TEXT)
> (gui-get-selection value 'STRING)
> (gui-get-selection value 'TEXT))
Best regards,
--
gjadi
PGP : AF26 E9C2 A1C8 8D32 A868 4386 1373 5477 2B65 1894