From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#57261: 29.0.50; X protocol error: XI_BadDevice (invalid Device parameter) on protocol request 131 Date: Wed, 17 Aug 2022 18:28:43 +0300 Message-ID: References: <87wnb76icx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22733"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: luangruo@yahoo.com, 57261@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 17:51:29 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOLKK-0005hR-Jn for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 17:51:28 +0200 Original-Received: from localhost ([::1]:41220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOLKJ-0001ZU-JN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 11:51:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOKzb-0007zG-H5 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 11:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOKzb-0004Vt-5X for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 11:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOKzb-0005i4-23 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 11:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2022 15:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57261 X-GNU-PR-Package: emacs Original-Received: via spool by 57261-submit@debbugs.gnu.org id=B57261.166075015121852 (code B ref 57261); Wed, 17 Aug 2022 15:30:02 +0000 Original-Received: (at 57261) by debbugs.gnu.org; 17 Aug 2022 15:29:11 +0000 Original-Received: from localhost ([127.0.0.1]:52865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOKyl-0005gO-7d for submit@debbugs.gnu.org; Wed, 17 Aug 2022 11:29:11 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:45887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOKyh-0005g0-DF for 57261@debbugs.gnu.org; Wed, 17 Aug 2022 11:29:07 -0400 Original-Received: from localhost ([::ffff:197.239.4.166]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B11.0000000062FD0941.00002AE0; Wed, 17 Aug 2022 08:29:05 -0700 Content-Disposition: inline In-Reply-To: <87wnb76icx.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240091 Archived-At: * Robert Pluim [2022-08-17 17:43]: > >>>>> On Wed, 17 Aug 2022 17:31:47 +0300, Jean Louis said: > > Jean> I could not start X version of Emacs at all. > Jean> I am on latest git version. > > Jean> What worked is `emacs -nw --bg-daemon': > > Jean> but Emacs is not starting on X now. > > Does this help: > > diff --git a/src/xterm.c b/src/xterm.c > index a40440e0da..a329ca59d0 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -27654,6 +27654,8 @@ xi_select_hierarchy_events (struct x_display_info *dpyinfo) > memset (m, 0, l); > mask.mask_len = l; > > + mask.deviceid = XIAllDevices; > + > XISetMask (m, XI_PropertyEvent); > XISetMask (m, XI_HierarchyChanged); > XISetMask (m, XI_DeviceChanged); I have tried that, and now I can get `emacs -Q' to work again under X. I hope this will be repaired. And it's good that I did not lose sense how to work in console. Pity that SUPER key does not work in XTerm. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/