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

[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: Lars Ingebrigtsen
Subject: bug#29170: 26.0.90; Emacs freezes when capturing an org-template
Date: Fri, 13 Aug 2021 13:50:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Grégoire Jadi <gjadi@omecha.info> writes:

>> 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))

I tried the following on this Debian/bullseye system.  I changed the
following in src/config.h:

/* Define to 1 if SIGIO is usable. */
#define USABLE_SIGIO 0

and then I build Emacs and ran the snippet -- and it didn't hang for
me.  Are there additional steps necessary?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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