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: Mon, 30 Nov 2020 20:58:22 +0200 Message-ID: <83zh2yisdt.fsf@gnu.org> References: <838sajle0s.fsf@gnu.org> <83v9dmker4.fsf@gnu.org> <83h7p6kd74.fsf@gnu.org> <837dq2k8ik.fsf@gnu.org> <87eekag0n3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9861"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jared@finder.org, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 30 19:59:31 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 1kjoOW-0002Ql-V8 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 19:59:28 +0100 Original-Received: from localhost ([::1]:43054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjoOV-0003vC-Rc for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 13:59:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjoNa-0003BZ-Nu for emacs-devel@gnu.org; Mon, 30 Nov 2020 13:58:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34638) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjoNa-0006Q7-6k; Mon, 30 Nov 2020 13:58:30 -0500 Original-Received: from [176.228.60.248] (port=4730 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjoNZ-00036h-4G; Mon, 30 Nov 2020 13:58:29 -0500 In-Reply-To: <87eekag0n3.fsf@gmail.com> (message from =?utf-8?B?Sm/Do28g?= =?utf-8?B?VMOhdm9yYQ==?= on Mon, 30 Nov 2020 18:28:16 +0000) 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:260091 Archived-At: > From: João Távora > Cc: jared@finder.org, emacs-devel@gnu.org > Date: Mon, 30 Nov 2020 18:28:16 +0000 > > > 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? I guess nsterm.m is the right place? Maybe wait for Alan to chime in. An alternative is to make the function in term.c be compiled on macOS, I think the code there is fairly generic. Maybe this is the best way. Assuming term.c gets compiled on macOS, that is.