From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Cursor drawing Date: Thu, 20 Dec 2018 14:58:57 -0500 Message-ID: References: <838t0kcmpj.fsf@gnu.org> <831s6cc8zy.fsf@gnu.org> <83zht0at4d.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545335824 18273 195.159.176.226 (20 Dec 2018 19:57:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2018 19:57:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 20 20:57:00 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga4RH-0004bn-Ql for ged-emacs-devel@m.gmane.org; Thu, 20 Dec 2018 20:57:00 +0100 Original-Received: from localhost ([::1]:39652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga4TO-000779-AF for ged-emacs-devel@m.gmane.org; Thu, 20 Dec 2018 14:59:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga4TH-00076v-0r for emacs-devel@gnu.org; Thu, 20 Dec 2018 14:59:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga4TD-0001P1-SH for emacs-devel@gnu.org; Thu, 20 Dec 2018 14:59:02 -0500 Original-Received: from alt32.smtp-out.videotron.ca ([24.53.0.21]:27153) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ga4TD-0001Nq-Md for emacs-devel@gnu.org; Thu, 20 Dec 2018 14:58:59 -0500 Original-Received: from fmsmemgm.homelinux.net ([23.233.195.134]) by Videotron with SMTP id a4TBgaVPWKAEAa4TCgtDkK; Thu, 20 Dec 2018 14:58:58 -0500 X-Authority-Analysis: v=2.3 cv=XYWnMrx5 c=1 sm=1 tr=0 a=xXJ578j8WyTliCxld3/pTA==:117 a=xXJ578j8WyTliCxld3/pTA==:17 a=2ur7OfE09M0A:10 a=kHC2u7704-Dha4VlgJsA:9 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 1AA43AE59B; Thu, 20 Dec 2018 14:58:57 -0500 (EST) In-Reply-To: <83zht0at4d.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Dec 2018 21:35:46 +0200") X-CMAE-Envelope: MS4wfF8OY/UtqULWpi7HZE+pL8PeawPU9hxhqB8jbK1acD3QV9NYxRv67Gcn6RruWMVL94dDN9IJ0VDd49mKnSU5Gpgr0al1KmnZ2vGMZdgcUokZyP3giz9F hk1K16ilzbEcsNnTXGVDKM/NM/nEYTYdyOZyoZ9Ou6Pp9QEBFdZOMHUJGx+pOkA5hqoC5MdxyHtc5h8j6biglYVVhyL+y0q+v8+uljGk40GPEjF6S5aB6ece DA3uw8eD1RE66G2NR0tkcQ== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 24.53.0.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231937 Archived-At: > Then this can be done today, without any changes in the architecture > of the display engine. That's the intention, yes. > The disadvantage of this is, of course, that the code that draw the > face cursors will be needed to be implemented 4 times, one each for > every terminal-specific backend we support. Indeed. Tho, we could try and use some existing "standard" drawing library so as to share most of the code for the GUIs (we'd likely still need to hand-code the non-GUI case). >> >> The advantage would be mostly that the overlay data structure could be >> >> designed completely differently from glyph-matrices >> > Like what, for example? >> Maybe more like an SVG canvas? > You got me here: I have no idea how that works. I don't either. I meant some kind of vector graphics. This might allow us to offer new features such as drawing arrows going from one buffer position to another. Stefan