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: Drawing UI elements behind text Date: Sun, 10 Nov 2024 20:44:00 +0200 Message-ID: <86a5e7kjyn.fsf@gnu.org> References: <641230ac-2dbc-42ac-a57e-acda77fe9296@imayhem.com> <51478cef-3d2b-07bc-797d-ae80ab6e20d2@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27406"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpardo@imayhem.com, emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 10 19:45:32 2024 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 1tACwF-0006z7-El for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Nov 2024 19:45:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tACvO-00037s-Rn; Sun, 10 Nov 2024 13:44:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tACvK-00036S-PK for emacs-devel@gnu.org; Sun, 10 Nov 2024 13:44:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tACvK-0008Dx-Dw; Sun, 10 Nov 2024 13:44:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=AHsGzqEiG0wfsM7/Ubof7Rw7KyWz9iVNrarekygU91g=; b=SnJowc0LyTJz W2Ec2wxnAZnpVK/KcRSkP/8EwGnfKSRqTW6Pj/mqIa2gTGftOcQPdq6yltPazA4FPKVNGZyeWVcEF +x+HiC4PKBaVCxZLFpaiGw7lzMJQgCDY+WQ52k4FJYM8LAyeyd9TlwbdxZ6q+aNMueGSh2gs2cpHz QyE00SzY/dAFCVM4xZT26ZUiyvmlk9PX+nYF0fL7607tuhAodSLUSLIgIGgfSvTW0GIlbSvrDDWym URCfSibC/8qPAnwI5o7Hc8vcOB9ILHpbhneSrAcyxC2Qohg0maRwUbJSCJ2AwQnJAud7MqOdxGlZ0 As0BzGphgO91ZGGZ5DsEpg==; In-Reply-To: <51478cef-3d2b-07bc-797d-ae80ab6e20d2@gmail.com> (message from Jim Porter on Sun, 10 Nov 2024 10:09:04 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325383 Archived-At: > Date: Sun, 10 Nov 2024 10:09:04 -0800 > From: Jim Porter > > On 11/10/2024 8:39 AM, Cecilio Pardo wrote: > > Is there any other feature that could be implemented like this? Not just > > by segments, but by any graphics drawn behind the text, vectors or > > bitmap. > > It's not "behind" text, but with some work on setting per-line fill > widths, you could perhaps use this in EWW to display images alongside > text (like with the "float: right" CSS rule). Given the right Lisp API (which is not easy to come up with, AFAIR), this can be done today, because Emacs already knows how to show only a part of an image on a screen line. So we need a way to tell Emacs "split this image's display between these N lines".