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: Mouse-hovering over 'mouse-face' overlays/regions on a TTY Emacs Date: Sun, 29 Nov 2020 21:33:25 +0000 Message-ID: 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="36608"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 29 22:34:55 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 1kjULO-0009Pn-It for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Nov 2020 22:34:54 +0100 Original-Received: from localhost ([::1]:35216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjULN-00087f-Kp for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Nov 2020 16:34:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjUK4-0007EM-91 for emacs-devel@gnu.org; Sun, 29 Nov 2020 16:33:32 -0500 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:35057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjUK2-0002Pe-Cb for emacs-devel@gnu.org; Sun, 29 Nov 2020 16:33:32 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id r3so12799562wrt.2 for ; Sun, 29 Nov 2020 13:33:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=n/J0s+1BkJbWedVkgTK6D03A9czmnLrk46kqgQsfcwQ=; b=SExemg8vqrw2p7bQaHT35QKPRAKwAUuseraWN4ARhxFV8rwwwO/VZNlEAdBQtmsVCl zp1d0I6lrKtw8vPyHeiN8Lnyab3gcXr1JFYLJcsqLFILIo6S1p5/dAkCQIjHK1sx6hed vJ94RBhKkjfRi04UES9mwYgqNwRhkqMhcTiy89qKKV+gYbsLMomdEtlFeqn008Q54JvH f2BjHQLYyhaAxg5Xc9mLC7O5jRWuKZxWmQyFXftP45JpjE/wqBAB//HuqbMTbJ6N/p/8 RFCyktTJMxyBPsJQ66KTHRgidnyLoX06eRS3zMCpIpW30PTEYESFkCbfhYbXUlp3GJf8 5UyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=n/J0s+1BkJbWedVkgTK6D03A9czmnLrk46kqgQsfcwQ=; b=QDxF0b5OdH9OaI1TYg/ug21xVAxB8Lk955iDX+isif0d8y1p58pxRB8id/aOpfQwSF ZF7ij867wANfL+t6ox4USvEA4s2qODgbfO8W4x45jNMdFjkSuMGsJBt2y6e4FXWnKeTN zcBx00kbryR5VsbmDW79TNjbnt2RCm9fhlDmJIgYAIgQJAufpVaGMqfTGeufa90dFGbq yXvvHXq6K7K8n4cdIeKdnTJwfRt6jbZjcQVEkXWwmyHiEK0qF40TW0zqpkcLnqS6NxFu CK7Lphia/Ve77Xu1XwVw6bMvjgkS9bRqavduh9RZAd5hcakDFPksl6VFIKVwbjUfZ9qt 27VA== X-Gm-Message-State: AOAM530+mLfAInQIn+qkP3SSUclNmE+uu+xhfMBpi8LbE6izdPzYBkjP 3bFd6H2/A4rcYbmGch3i36xz76rpR4w= X-Google-Smtp-Source: ABdhPJw+ACnnpWOkCOi1Cp4KbD9mTkXfjlVxDFJoy9S0YgZYoKcK7/O4A4WZyCvw89zaIMzOFEdT8A== X-Received: by 2002:a5d:4cca:: with SMTP id c10mr24113120wrt.176.1606685608063; Sun, 29 Nov 2020 13:33:28 -0800 (PST) Original-Received: from Joaos-MacBook-Pro.local ([89.180.145.229]) by smtp.gmail.com with ESMTPSA id s4sm24855087wru.56.2020.11.29.13.33.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2020 13:33:27 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x434.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:260037 Archived-At: Hi all, Lately I've become a fan of Emacs -nw (or TTY Emacs as some know it) [1] Recently, I've noticed that even mouse-triggered menus are supported and work surprisingly well when the mouse pointer enters the window of the terminal emulator which is running Emacs. Really great work! I've also noticed that the `help-echo` that I place in a overlay is also correctly triggered by hovering my mouse over that overlay. All of this happens out-of-the-box with little or no configuration (that I'm aware of), both in the urxvt terminal emulator on GNU/Linux and using iTerm2 or Terminal on Mac OS. The only thing that's now sorely missing is the temporary highlighting with 'mouse-face'. Doesn't it make sense to also support this? How would I go about adding this feature to Emacs master? Or is it somehow available already via a configuration switch that I'm not aware of? It'd really help in my new Emacs extension. Thanks in advance, Jo=C3=A3o [1] I've learned to live with the limitations in certain keybindings. Plus, the 'emacsclient' integration is really hard to beat, especially with a script that I've adapted from Phil Jackson's almost lost-in-the-internet Emacs hacks website: http://web.archive.org/web/20070703163718/http://www.shellarchive.co.uk/Ema= cs.html Ping me if you'd like to see my version.