From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Mouse-hovering over 'mouse-face' overlays/regions on a TTY Emacs Date: Mon, 30 Nov 2020 16:25:37 +0000 Message-ID: References: <838sajle0s.fsf@gnu.org> <83v9dmker4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24535"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Jared Finder , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 30 17:26:52 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 1kjm0p-0006EP-Ux for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 17:26:51 +0100 Original-Received: from localhost ([::1]:37054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjm0o-0000ao-WC for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 11:26:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjlzp-00006H-QX for emacs-devel@gnu.org; Mon, 30 Nov 2020 11:25:49 -0500 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:43149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjlzm-0000W1-U9; Mon, 30 Nov 2020 11:25:49 -0500 Original-Received: by mail-wr1-x42d.google.com with SMTP id s8so16966304wrw.10; Mon, 30 Nov 2020 08:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=VMtU4W12qNbGOTKkOEoZAtLEKBBEn+DfA6WqvjSCKNw=; b=SS5n4bqMOIpmyn3/9Lk8EQtZss17rWKVWUQDXUm8zZ7HWleFcyjbSKzfoflQpTHDC9 2DYgUKL2SN6lraSBDeH/Q/5PgsFIzUXEotZVbMa+Gz1HdGenbXXjggL8ftfbw2pT1OuW e+9aaORoPI7MsOE1AYQL2dESeGM4ZJSQgSMFnxBRkuM6FSiwJswomW0egzw0QK44CgNX Nk6fstyEP0HAyox3scD/omqHhlsWwSB8Utr3YCsC2b7YE40ztFtIdyzbWT2EKU0TL25e QmLs1Wb7Ka9mH9k8SD5vONwFjNlcrgo++j3RvJ1JGookH2BNAaLfUQ+RrRjzxtGm/yc5 4xgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=VMtU4W12qNbGOTKkOEoZAtLEKBBEn+DfA6WqvjSCKNw=; b=JO83MWkHHq0RDTLqURMsAf4rL4vx8HuKYM5gsiwgSEtswVw2c/2jdBeDa7KM7u1rAW a8O1YY8vr3n6a9FLzSeUma3+Lf2cDHKTix1hM8xKT+UFd06N8uvClROCmGW+ZglhKzY1 Kd6qfeJZfSP/I03+CA1cAexTwPVI6S4VhVHPA1dAc95+Ux9fh8Wco9Z6Jgm5N17++DwF dV4Lk71N6MK/askwR8Xy9Pd70L7bg1uP6roqIgmX1yHx15Mr5KWSKPEau7fPf5DOOi4n IS57YA1Hb/SkZhTNZPPhd/hMGikzvDJXCP/ow9epwE+S0pPlIY2pOmZRyEfqaTOmaQgc nLIA== X-Gm-Message-State: AOAM530Z/3X/l284loDV4bgf8UfIJ94q5E9NaNri79Qkp9sFsrw03Avg Wt3OB8zKDiCYmQn0kaKYat8ReIQ3l64= X-Google-Smtp-Source: ABdhPJxLZULUGv0UoMVf1LR9dLpDqt69J1Wg5bnkceBnHbVq3HdKNJSta6IhrQau+tdAnMQ59VEBmA== X-Received: by 2002:a5d:4591:: with SMTP id p17mr30085804wrq.361.1606753540412; Mon, 30 Nov 2020 08:25:40 -0800 (PST) Original-Received: from Joaos-MacBook-Pro.local ([89.180.154.202]) by smtp.gmail.com with ESMTPSA id q12sm27112958wrx.86.2020.11.30.08.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 08:25:39 -0800 (PST) In-Reply-To: <83v9dmker4.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Nov 2020 18:09:51 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:260074 Archived-At: Eli Zaretskii writes: > I'm not sure. Is this Emacs 28? if not, try the master code, as > xt-mouse got several improvements lately. It is master. > If you are already using a recent master branch, maybe this is > something else xt-mouse should learn to support? Jared, can you chime > in, please? In the meantime, I've been doing some printf debugging with xdisp.c and found that hovering over the text does call note_mouse_highlight() and mouse_face_from_buffer_pos() in xdisp.c. Per the docstring of display--update-for-mouse-movement, both mouse-face and help-echo seem to be reasonably independent from the remaining mouse-tracking stuff. note_mouse_highlight() seems to be the entry point for this, and it seems to be mostly doing its job provided I enter xterm-mouse-mode. So I would dare say that the problem is not in xt-mouse.el. To recap, help-echo works fine, but mouse-face is somehow missing (on TTY only). Thanks, Jo=C3=A3o