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 18:28:16 +0000 Message-ID: <87eekag0n3.fsf@gmail.com> References: <838sajle0s.fsf@gnu.org> <83v9dmker4.fsf@gnu.org> <83h7p6kd74.fsf@gnu.org> <837dq2k8ik.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="34036"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: jared@finder.org, 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 19:29:36 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 1kjnvc-0008kg-Cq for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 19:29:36 +0100 Original-Received: from localhost ([::1]:33410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjnvb-0003F3-B9 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 13:29:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjnuP-0001u2-VE for emacs-devel@gnu.org; Mon, 30 Nov 2020 13:28:21 -0500 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:55704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjnuO-0002QN-7m; Mon, 30 Nov 2020 13:28:21 -0500 Original-Received: by mail-wm1-x32d.google.com with SMTP id x22so197376wmc.5; Mon, 30 Nov 2020 10:28:19 -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=Xu6U3yanmgsE9NXQprdp8akGq8PdVqWHvjn514fdDHI=; b=kyYW4AQhAT/gNWb23FTsKO7aWHtgw7qd/hH1kQbES8vyHQtdkLN6GLeHlKbYKzr4YM WOflt/Cm+sBv0vKPduOKXUnXtDOiG9Yc9qSMUk3hnNIT/n4LX/Zf4ahWcsBK6rnxLmtJ GMKbcnosg6wS/tAtL68Mmqpb81msW1rRoe15MdUf7t3OuvZi1byUj4W8B0AVnJN7gBJ2 3p3CMG3bGbXcS5dtbhExPlbrZ8esgPi5KFJkfG/rE4Wv7fD2uYwr00b4jowSvXm1DU8o igQv1IRICYeA66zMOpmArwR5yva+yVCkfGj6oc6nASMksk3Njs7CoUUZBxmHBmVMNTjG 20VQ== 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=Xu6U3yanmgsE9NXQprdp8akGq8PdVqWHvjn514fdDHI=; b=pmedZhmjCUjgpERnh/fQmbwWRfzr9vNKUQUU1YPIYNBpgFaSrdC5UrqZOmz3h1ao9X /VA6a6Yd5GhmDFdfx7ggfUx0pmKIyfnSqz5d1L8OM02kTGhuNqEVgpig18DZkYsQOpbc YSJz1RXRc0TeZ6SBa4TCcEXk6BXNNZpkiDAL2myjoht1zs8PAgnfWjuB8ygSu3A1c02O wuoZsFXyuU/kjA9OJgY4kAMFySSCSDiqh04xeRLVp4RcLiXH396BgWEE11AhiuKYoQjx XhbmCSrHA85AR1/6xAcJVWZjqcwynZGmyS80pMreKOy79AF5VLnoUS40T559i5Puex2Q xYJw== X-Gm-Message-State: AOAM532ykCOk6p7h/IJfMndHRT7QnvFhWBeqkEGiJEZFW0vF5Divv1tk 4wE6QYy/AQH80H96SOeZyU9zWrbhtWE= X-Google-Smtp-Source: ABdhPJx+Cf00brO97orJFUgEiuOV4J3fjey2dq5euKGWvgPbVwoluvPsOZpV9czR7+ZFJBH3/xnMpg== X-Received: by 2002:a1c:2e48:: with SMTP id u69mr161517wmu.30.1606760897775; Mon, 30 Nov 2020 10:28:17 -0800 (PST) Original-Received: from krug ([89.180.149.21]) by smtp.gmail.com with ESMTPSA id j8sm29394207wrx.11.2020.11.30.10.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 10:28:16 -0800 (PST) In-Reply-To: <837dq2k8ik.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Nov 2020 20:24:35 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x32d.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:260088 Archived-At: Eli Zaretskii writes: >> I'm currently using Mac OS. Most of the TTY things work here, and I >> would expect drawing some face on a part of the screen to work too. I >> can certainly show and hide faces programatically. >>=20 >> I've tried uncommenting that, but it fails during linking. > > You need to implement tty_draw_row_with_mouse_face for macOS terminal. > Look at the other implementations, it should be easy. Thanks. In which file should I do that? I.e. how do I implement a C function for a specific terminal? Anyway, some good news: things are moving fast on master indeed. I just recompiled for GNU/Linux and the problem doesn't happen: I get the mouse-face highlighting as expected. Jo=C3=A3o