From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jared Finder via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Mouse-hovering over 'mouse-face' overlays/regions on a TTY Emacs Date: Mon, 30 Nov 2020 23:10:54 -0800 Message-ID: References: <838sajle0s.fsf@gnu.org> <83v9dmker4.fsf@gnu.org> <83h7p6kd74.fsf@gnu.org> <837dq2k8ik.fsf@gnu.org> <87eekag0n3.fsf@gmail.com> <83zh2yisdt.fsf@gnu.org> Reply-To: Jared Finder Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27184"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.3.15 Cc: Eli Zaretskii , emacs-devel@gnu.org To: =?UTF-8?Q?Jo=C3=A3o_T=C3=A1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 01 08:11:43 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kjzp9-0006zW-PI for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 08:11:43 +0100 Original-Received: from localhost ([::1]:33224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjzp8-0003vl-QI for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 02:11:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjzoS-0003V2-Kr for emacs-devel@gnu.org; Tue, 01 Dec 2020 02:11:00 -0500 Original-Received: from greenhill.hpalace.com ([2600:3c01::f03c:91ff:fe73:2daa]:52436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjzoQ-0008RL-RV; Tue, 01 Dec 2020 02:11:00 -0500 Original-Received: from mail.finder.org (greenhill.hpalace.com [IPv6:2600:3c01::f03c:91ff:fe73:2daa]) by greenhill.hpalace.com (Postfix) with ESMTPSA id B354E605; Tue, 1 Dec 2020 07:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=finder.org; s=2018; t=1606806654; bh=U3V+Q3FYtMbHnn+iDwCw7aQ5WowkFQKEnFKPjCzadjI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pk2RFt/blMLJRSaYM0WmDfLtQGviy6JnZA/1n/K5eF7CEsB2IvNJ7OVKEym7vm+cm MgxxFmKvBZEA0ydrU1mGUQWmbd2u3JBFBK97Rw/jQkCXmcfQ2rAdI3BOB2OrmHdlmZ uNXGAFKdcuOz1rV7yJH34YOwUhS9R9zaFFuoUoK7zrtQdexIBE59C8TEQdEm5bd1La 1XE7p6o35f+m7AEhdh5aTySs5qr0YzK3cvOFD9tXaELe8Wxo73xAyBt4e5nxTEBVNm /tmr/28SyZjh1MwcBtHcVXnKVkAvtsMuSb6nb4U036/X82VK+zi3K68yLiyi1B7w8H n7GjPC9PR3rPg== In-Reply-To: X-Sender: jared@finder.org Received-SPF: pass client-ip=2600:3c01::f03c:91ff:fe73:2daa; envelope-from=jared@finder.org; helo=greenhill.hpalace.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260106 Archived-At: On 2020-11-30 11:09 am, João Távora wrote: > [... email contents elided ...] This email chain makes me wonder if other code paths that are currently hidden behind HAVE_GPM that should now be enabled. I found the following two suspect lines that sound related, but it's unclear to me what they're for. Does anyone know what functionality they enable? (Note: I have some local changes, so my line numbers may be slightly off.) term.c:4253 tty->mouse_highlight.mouse_face_window = Qnil; xdisp.c:20783 gui_clear_window_mouse_face (w); Additionally, it looks like set-mouse-position and set-mouse-pixel-position in frame.c does not behave consistently on TTYs if Emacs is compiled with window system support vs without. I assume that should be fixed. -- MJF