From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Mouse-hovering over 'mouse-face' overlays/regions on a TTY Emacs Date: Tue, 01 Dec 2020 20:20:43 +0200 Message-ID: <83o8jdgzgk.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26606"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, emacs-devel@gnu.org To: Jared Finder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 01 19:21:42 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 1kkAHW-0006on-2g for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 19:21:42 +0100 Original-Received: from localhost ([::1]:51076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkAHV-0008Tt-10 for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 13:21:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkAGh-00083Q-R5 for emacs-devel@gnu.org; Tue, 01 Dec 2020 13:20:51 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60333) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkAGh-0002mw-50; Tue, 01 Dec 2020 13:20:51 -0500 Original-Received: from [176.228.60.248] (port=3489 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kkAGf-00089W-1o; Tue, 01 Dec 2020 13:20:49 -0500 In-Reply-To: (message from Jared Finder on Mon, 30 Nov 2020 23:10:54 -0800) 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:260156 Archived-At: > Date: Mon, 30 Nov 2020 23:10:54 -0800 > From: Jared Finder > Cc: Eli Zaretskii , emacs-devel@gnu.org > > 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); They are necessary parts of mouse-highlight implementation, and should be indeed enabled in all builds nowadays. > 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. You mean, if Emacs is compiled with X _and_ with GPM? Otherwise I don't think I see the issue.