From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Wed, 29 Apr 2020 13:35:39 +0300 Message-ID: <83o8raziis.fsf@gnu.org> References: <875zdikdge.fsf.ref@yahoo.com> <875zdikdge.fsf@yahoo.com> <834kt21yyo.fsf@gnu.org> <87zhau1uog.fsf@yahoo.com> <83sggmzjp8.fsf@gnu.org> <87mu6u1tii.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="121434"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 12:36:32 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 1jTk4s-000VU0-RH for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 12:36:30 +0200 Original-Received: from localhost ([::1]:54256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTk4r-0002j0-Na for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 06:36:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41566) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTk4N-0002G3-6C for emacs-devel@gnu.org; Wed, 29 Apr 2020 06:35:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52262) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTk4M-00022W-FH; Wed, 29 Apr 2020 06:35:58 -0400 Original-Received: from [176.228.60.248] (port=4879 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTk4L-0002sm-NP; Wed, 29 Apr 2020 06:35:58 -0400 In-Reply-To: <87mu6u1tii.fsf@yahoo.com> (message from Po Lu on Wed, 29 Apr 2020 18:22:13 +0800) 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:248111 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Wed, 29 Apr 2020 18:22:13 +0800 > > Eli Zaretskii writes: > > > That's the technical description of the implementation. It doesn't > > explain when canvases can be useful and for what purposes. > > Canvases are useful for when I want to be able to control a portion of a > screen dynamically, in a fast way, from Lisp code. For instance, > displaying a constantly changing bar chart or graph inside Emacs. So this _is_ a way of putting images on the Emacs display, but in a way that creates the image dynamically from Lisp, instead of reading it from a file or producing the binary data for that image. Right? Incidentally, how does this compare with functions in svg.el?