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:47:27 +0000 Message-ID: References: <838sajle0s.fsf@gnu.org> <83v9dmker4.fsf@gnu.org> <83h7p6kd74.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000090dda405b555c428" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13222"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jared Finder , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 30 17:49:49 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 1kjmN3-0003Jn-1w for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 17:49:49 +0100 Original-Received: from localhost ([::1]:33630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjmN1-0003si-NP for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 11:49:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjmL0-0002j3-0r for emacs-devel@gnu.org; Mon, 30 Nov 2020 11:47:42 -0500 Original-Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]:43447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjmKy-0004CQ-1v; Mon, 30 Nov 2020 11:47:41 -0500 Original-Received: by mail-io1-xd36.google.com with SMTP id n14so7644156iom.10; Mon, 30 Nov 2020 08:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8Adj1jCi42XbHM6C+HsPYbkf375uKNQrdyo60Lss7oc=; b=XJK2CbvjooFy5LyYzfPGPWBH5f9NWvVsy775HOoNxwuU1OGmNl6eTJ5Ib6lbCXsF0/ h20giZh5NBGm8HgW2cCofMEM+PnfU3L1d5tw0FhoXA4QaksHRQZU/uBTZW8QbXglEGdY XQtF5aWrCi1EEr/FB9B+W2fd+eMVsnta0qVJnzYolgL1kNVz2nixyQQzeGUGn2dgAuRP tolO0bDiksYy1FfbI0qDy73yefe7nanEAfLWfMyZOL7kruJBv4dMUVTlOVi12i66yBDB rD8mUX1q/j6wAZnTMlaDmGKs2JZT+ssamJlGAmFzwvuJsPOvRz+YJACCASVyIA1Am7x8 jHJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8Adj1jCi42XbHM6C+HsPYbkf375uKNQrdyo60Lss7oc=; b=Ekg/g1+p14/g1pMmDx+GolAzAJuWaIa3k/KquuORen//2iW6Gs52bvvI5MWZ/wTLl/ v14glJ7HTG4BGlBQza4ENsdd9M4ue/xZL9LS794v5Pc5KZdvcxR3/UEvJL/UNibYTCQz wX4YFQQTAPQbm2nHAgPojHooxV3Z566ZEfp2vob8c1sMf0OiHnNcvi9c/JtZbcWSWmT0 MA/9VcODXiZpGOdxXa5DHjwtRZKPKTUf8b7/HvcKlwQYE++CGCcrOf4s2w4eNZWG8LWj tZqZwnlOJYp7OelMeIJ1spql+TUJZU2Ie5+DM8P0GGKglxBbiCjFR05MgUY1eaa3aFwf v5nw== X-Gm-Message-State: AOAM533S2QHwB/r+SoiWmYDrCtSQECpS9BOpNBYsg1fDVGo/7TCDS/kq zZS3iN61e4IcHQoefdJyKdVAHhzAp1W/KJOMsCj3x7pb X-Google-Smtp-Source: ABdhPJw41WjfECq3YRnY87Y/4g5WE6iEO73R7JoKfDNDiRcCKEGo0A5fPMDXDo7TGFnK6f9JLgf9JQBIoUmu/zGFpIs= X-Received: by 2002:a05:6602:22c2:: with SMTP id e2mr17038001ioe.156.1606754858226; Mon, 30 Nov 2020 08:47:38 -0800 (PST) In-Reply-To: <83h7p6kd74.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::d36; envelope-from=joaotavora@gmail.com; helo=mail-io1-xd36.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, HTML_MESSAGE=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:260077 Archived-At: --00000000000090dda405b555c428 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Nov 30, 2020 at 4:43 PM Eli Zaretskii wrote: > > > From: Jo=C3=A3o T=C3=A1vora > > Cc: Jared Finder , emacs-devel@gnu.org > > Date: Mon, 30 Nov 2020 16:25:37 +0000 > > > > To recap, help-echo works fine, but mouse-face is somehow missing (on > > TTY only). > > It works for me on the w32 TTY, so something else is at work here. > More debugging is needed, I think. Specifically, note_mouse_highlight > is supposed to redraw some of the glyphs with the mouse-face. If the > function is called, please step through it and try to figure out why > the redrawing doesn't happen -- what prevents that? Stepping is currently hard for me, but putting a silly fprintf(stderr is doable, so can you tell me exactly the code that you expect to really "draw it"? Then I can work back from there. Jo=C3=A3o --00000000000090dda405b555c428 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Nov 30, 2020 at 4:43 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > F= rom: Jo=C3=A3o T=C3=A1vora <joao= tavora@gmail.com>
> > Cc: Jared Finder <jared@finder.org>, =C2=A0emacs-devel@gnu.org
> > Date: Mon, 30 Nov 2020= 16:25:37 +0000
> >
> > To recap, help-echo works fine, b= ut mouse-face is somehow missing (on
> > TTY only).
>
>= ; It works for me on the w32 TTY, so something else is at work here.
>= ; More debugging is needed, I think.=C2=A0 Specifically, note_mouse_highlig= ht
> is supposed to redraw some of the glyphs with the mouse-face.=C2= =A0 If the
> function is called, please step through it and try to fi= gure out why
> the redrawing doesn't happen -- what prevents that= ?

Stepping is currently hard for me, but putting a silly fprintf(std= err
is doable, so can you tell me exactly the code that you expect
to= really "draw it"?=C2=A0 Then I can work back from there.

= Jo=C3=A3o
--00000000000090dda405b555c428--