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: region-based face-remapping Date: Wed, 10 Jan 2024 14:36:14 +0200 Message-ID: <83frz5nz5t.fsf@gnu.org> References: <83o7dupskh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15594"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: JD Smith Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 10 13:36:55 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 1rNXpF-0003pC-JV for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Jan 2024 13:36:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNXp2-0008Iz-DR; Wed, 10 Jan 2024 07:36:40 -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 1rNXp0-0008H5-He for emacs-devel@gnu.org; Wed, 10 Jan 2024 07:36:38 -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 1rNXox-0004cI-AM; Wed, 10 Jan 2024 07:36:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ugFAHMDvHtAQk78uw0tIV/k5DnxQLjWmUGaaBXEwMUE=; b=gdqRGSMstNrDhHpMLmE3 SfUT9q/xdACnhDp3dsev0O3T08770SO7RITDXKCkA8+419eEHcxD+pRQqRiV1dS6J5CJDaJPPaTnR JHBvxgcnSoJx+cmzAkcq8w+RRiJ/h+F6qE/a31KtIvoQDwlz2ymXH5/ilZ1pdZr0qWt4yOUaJcaG4 V5d+w5LtokZTUvACf8qYxdD6lkQV1jUpXOq9A9Q56NGUr/kWD83E8MXPzWzUgMVpkeWb7FlqXu0sQ mz3GAwm9DES0ilKvvJp4hA5X7iUJ1EfigkeADz2SxuggWm+3GGx9Lgmh5f9VdvFN4MhScnEUcr2wO ok0I/W5vf1gKwg==; In-Reply-To: (message from JD Smith on Tue, 9 Jan 2024 15:20:53 -0500) 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:314811 Archived-At: > From: JD Smith > Date: Tue, 9 Jan 2024 15:20:53 -0500 > Cc: Eli Zaretskii , > emacs-devel@gnu.org > > > IIUC you're discussing features where the appearance of parts of the > > buffer depends on the position of point. The main design issue with it > > is what to do when the buffer is displayed in several windows (so there > > are several points). Depending on this, the implementation strategy may > > need to be very different. > > That’s a very good point that I had not considered. In my case, the selected widow would take precedence, and other windows just get what they get. If you use overlays, they can be defined specific to a window.