From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Sat, 02 May 2020 07:27:07 +0800 Message-ID: <87k11v1bjo.fsf@yahoo.com> References: <83o8raziis.fsf@gnu.org> <877dxy1smz.fsf@yahoo.com> <87o8rae0ao.fsf@randomsample> <83lfmexmfp.fsf@gnu.org> <20200429171619.GB20842@tuxteam.de> <83imhixkva.fsf@gnu.org> <20200429185128.GA27164@tuxteam.de> <83ees6xggr.fsf@gnu.org> <20200429190854.GC27164@tuxteam.de> <83a72uxffz.fsf@gnu.org> <20200429195930.GA29703@tuxteam.de> <87zhat1js9.fsf@yahoo.com> <83y2qdw01y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="64826"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: tomas@tuxteam.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 01:28:05 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 1jUf4e-000Gjo-Tp for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 01:28:04 +0200 Original-Received: from localhost ([::1]:41122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUf4d-0006KR-Vd for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 19:28:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUf3u-0005Ua-Oh for emacs-devel@gnu.org; Fri, 01 May 2020 19:27:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUf3t-0007OA-0s for emacs-devel@gnu.org; Fri, 01 May 2020 19:27:18 -0400 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:41782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUf3s-0007B1-Hk for emacs-devel@gnu.org; Fri, 01 May 2020 19:27:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1588375634; bh=ITmIlJLwY33JtZtwqZW9glTE8gZvdeVQJfMcHaJxr5w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=ouLQyj3UI4xBRI8U0vdRSNdiVAG5nA7DbVoYC3FRdSGhhaodxIbPEHk5G4he9peuO19lD9vU6a3hHhRiIOQwUW9HDTGNBN6vpt9SnGo1EOLsjSpo1Bt7mjlWfBlLbra5R+9NZHNxW+H9+DrSvP9tGpyWBAtqzOYQ0opvyQOqqRqMZNHVnlr6hpf85a73q2iKesALVDWQ/Qw9DESApaKXIGf/cFDOLOzrs3tWW5gt9XAl4/nJqkKJwbyWEWWSUEeh16lIXqqJQtYTX71pIVrJGXpeS0UCbIQN29SxaLbtPyQoxyoJYmX1SiLQc6GK6pqWSJH3IRhU96eJDCk+j71HRg== X-YMail-OSG: 0fc4l.4VM1mQxXMLSFXm7vPY2iqnxJKhI.H_WlbOBg1HflnYgxz5wEyPCn22RbN oGo64vFZ8Qo50BbnK8Zzhn2KCQpfDFaFAUDDhFTk5TXdHWzCKRNv3E9NoRYDQBDUEu83mws1T7cC CaMTxfTK_o4fsIfs6c1pXmECWDKSyupcZUqnA5nPgknKqlKlfXchvTqDU_b2jX2oX5gMS6DvLVtE e7Hnf4Wxl.5.rPEAdDxe01coQBvonAX2vmgapQjjtWm3RNlFbHtBb6XInvQWCYTapte4cn4Vmq.1 2i7Lo2NWujSvr8O2u.e9qTs_7ChRLnAm3Tgnv7qB7uWi61ogv3F9SvhTK.6_Ulf8VppLgkBEmRJp 2tvBU1Av7yD8Uf50n6SdV9OHrueOk7TbBMPL5QonT_eI0_J_wWzuRKvLLbo7NyDxIgP7nQdurier nMEE9mjq1CZzm7_XojfK.5cn_6Nv16AL7HYxFBaMA18yGsZeXdaFOczcKTqaZe1AGIEF6R1Q3Q.l nats4d0MGdzW2XizbK4aqj1v24R7VNsXvy_HSztnizf5WnsSOkjuGomTaipTGUvJa3ljmb57AFun 1dtckPRjBwBLwzIJUt1YEIB2szOU0I.5yO1v7mCNXnlaAYVv12LWQTz5NN3S3gkK1xsF7zisAaEC FnVSWAJxRMBAG_25xwYG1mDY2b3VdnS307jBczWzifFqRe_vTAGPm3To93imdsazzUOu85ximfFP ERkbsemMdS648KTK6X2x1VZpQ4dmR6VYdAXQLIomYzNtWENgETzqsnJMqXsaOJK29ozkQfzN7u6O v4FBqXzgs1R5pSyyWWJayA3RQEyKZNftKGHbJSSs2P Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Fri, 1 May 2020 23:27:14 +0000 Original-Received: by smtp422.mail.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6429b429c45e456805130af490003c74; Fri, 01 May 2020 23:27:09 +0000 (UTC) In-Reply-To: <83y2qdw01y.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Apr 2020 16:55:05 +0300") X-Mailer: WebService/1.1.15756 hermes Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) Received-SPF: pass client-ip=66.163.190.147; envelope-from=luangruo@yahoo.com; helo=sonic315-21.consmr.mail.ne1.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/01 17:59:14 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Received-From: 66.163.190.147 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:248355 Archived-At: Eli Zaretskii writes: > I think the information needs to be recorded in the glyph structure > that represents a canvas. I have a canvas field inside `struct glyph' that points to the canvas object. What I'm trying to do right now is track the position of the canvases on-screen, so I can draw them separately from redisplay. I'd appreciate some suggestions, thanks.