GNU bug report logs - #32426
27.0.50; Losing key bindings in threads

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Mon, 13 Aug 2018 08:41:01 UTC

Severity: normal

Merged with 25214

Found in versions 26.0.50, 27.0.50

Full log


Message #31 received at 32426 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32426 <at> debbugs.gnu.org
Subject: Re: bug#32426: 27.0.50; Loosing key bindings in threads
Date: Tue, 14 Aug 2018 17:48:22 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

>> Perhaps we need this also for other events, D-Bus and file notifications
>> come to mind.
>
> Possibly, but those seem like an easier nut to crack: AFAIU, each time
> we need to watch for D-Bus events, we register a file descriptor for
> that, and deregister it when we no longer need it, is that right?  If
> so, we could easily make these descriptors watched only by the thread
> that registered the watch, the infrastructure for that already exists.

We need a file descriptor per D-Bus bus (system and session). But
applications register for (asynchronous) method calls and signals on the
buses. This could happen in several threads, so we need a mechanism how
to distribute incoming events to those threads.

But I would postpone this discussion until after we have resolved the
keyboard issue.

Best regards, Michael.




This bug report was last modified 6 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.