From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Re: Drawing UI elements behind text Date: Wed, 27 Nov 2024 16:15:01 -0500 Message-ID: <60D305B8-1D67-4D68-AC48-0E6E34F65AB0@gmail.com> References: <86bjy0fqqu.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Cecilio Pardo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 27 22:16:23 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 1tGPOW-0005JX-El for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Nov 2024 22:16:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGPNl-00028b-0J; Wed, 27 Nov 2024 16:15:33 -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 1tGPNU-00024I-Nk for emacs-devel@gnu.org; Wed, 27 Nov 2024 16:15:17 -0500 Original-Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGPNT-0007pl-3e; Wed, 27 Nov 2024 16:15:16 -0500 Original-Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7b65d1c707aso11581685a.0; Wed, 27 Nov 2024 13:15:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732742113; x=1733346913; darn=gnu.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=jzy4npxXem0F0VYWNMflagyZamAppR3hQ9ObC/gk82M=; b=he/OABR+IuiZSdtGkErjtko4SVp5LOGrEa4D+fSLCwoTzYezennBj0pAlTaPu/qgLQ 6JBGgjtuVF/ylYuvJag8gzmNXc9PVv+8PtC2O7e22qc/NVJeQxX/1k8QlGY6db15aYGg pAmKwwe3TPM/5/JH//h084aDREURPtcy+g8R6+8Kf52fP+WPfOo4ZnLzBVLWD9Bscf1P zplOG7CZcDzAn1WBAbFB39LEj6JG1V45nO0q2jLj/neMA9WQLNWe/U1RdK3b9CPQOyj0 j5PWD8zcKEpBYDTQ68A7Msxd9N1w3NIsJRCHHHTKqmwBQBvuABJSS0LfIzYsha+prWV1 Kymg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732742113; x=1733346913; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jzy4npxXem0F0VYWNMflagyZamAppR3hQ9ObC/gk82M=; b=TNZAX6ONKEohy28G6V6c2tpi0TXLWiueGgP2nuSxYIoA7uxWGVd2gkQgN9PuOC/R8k 6s+QOtz/ZjBD7+cnI1jtlMrLxogedleO4yY0hJo79pfkwE54ndrjIU7hSzqMhPjNX1tO AtSPFrRjX3fitj1VrQduf2lEQG6cnj2++agt6QsajqybCgAFvyyHcyQR+6hOJei3izdd 1jQadNF4nIUOXRioIUyjEEecsB8u1yUbVC6ZcUv34GwQuPmLZcPIfuJvq3I4QdSi9ePk BVDBlkKHMSQMKNBWz1to4HBnJkx9O884kRRv53sjkMvZUI9MlPKeoHarvnOciWwZ9VA5 djng== X-Forwarded-Encrypted: i=1; AJvYcCUAOdBEBnyODF/UjX1gImQSyeQ3fV1CDwiuR4Qi/beKBIqoHG++gnuBA2U7HfVFjZcAi6qZb+3ZxO/4Xg==@gnu.org X-Gm-Message-State: AOJu0Yxd60aDAMt8OM5JOpKWevrAEJmkjL2lT5/bUyaesm/VQ9t+2fgH vpJbncc6Zw6elJFzSID2/WQQUFntfDC6uiAs1rjzo4951hAJb9Iwv1tZnQ== X-Gm-Gg: ASbGncvhuym24VyPJUvEqXVcSWvYKUGzQMbZA1LUGz7YSpgCMkQ2ef92zZXxgMETDFi OzlNa4Ms7sQuS/ZV3dBVvOcD7WGBaRXcvIZr/KMw1Q3rGXBgMTCHZ5jo2/f6HxB6wOdqPG0QUpl zTWnYzhWnVRSFReY89z45E4OW7XDl0J6UWrGJnSX9rQGPex7O3krqNWdRQ8XD0Zy5/Ez064URgs 1fGVevPdub4eozm8eIqu8eXHEpiaKnxN99aP4fsizxXhuuIafWPDIyTVN3koeNlTKyOFHQeedHI LKMlRhK1GyP8KjNlt/5TZwnGEpW06zoY5UnGjw== X-Google-Smtp-Source: AGHT+IFu/YqlEG1/uhwysszmlgW9SIQMDZE54HpZdIVs0VaXPNQ2us4fK/sb/jWOr3LHeEfSsdGUUA== X-Received: by 2002:a05:620a:29d5:b0:7ac:c348:6a55 with SMTP id af79cd13be357-7b67c440e93mr574818185a.38.1732742112917; Wed, 27 Nov 2024 13:15:12 -0800 (PST) Original-Received: from smtpclient.apple (d-204-195-179-171.mdde.cpe.atlanticbb.net. [204.195.179.171]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b6849aac31sm559885a.78.2024.11.27.13.15.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Nov 2024 13:15:12 -0800 (PST) In-Reply-To: <86bjy0fqqu.fsf@gnu.org> X-Mailer: iPhone Mail (22A3370) Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=jdtsmith@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:325790 Archived-At: > On Nov 27, 2024, at 1:58=E2=80=AFPM, Eli Zaretskii wrote: >=20 > They are anchored at locations on the buffer, specified by line/column. Would it make sense to attach the drawn elements to text rather than row/col= umn positions? Otherwise you may need to recompute and redraw the entire bu= ffer=E2=80=99s line content even after inserting a single character. For con= creteness, suppose you are drawing a fancy box around a paragraph.=20=