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: Mon, 15 Jan 2024 22:25:05 +0200 Message-ID: <83mst6cpjy.fsf@gnu.org> References: <83y1d7zy8s.fsf@gnu.org> <3592E8C5-35FF-44FF-88ED-B458303BF15A@gmail.com> <83ply2cptb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 15 21:25:58 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 1rPTWv-0002v3-NV for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Jan 2024 21:25:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPTWS-0004oU-RY; Mon, 15 Jan 2024 15:25:29 -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 1rPTWN-0004lq-Su for emacs-devel@gnu.org; Mon, 15 Jan 2024 15:25:24 -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 1rPTWN-0001Vf-8k; Mon, 15 Jan 2024 15:25:23 -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=TozNgggocxZYe7zzpZpsWchvC6CG2tOdsZltnuQP91E=; b=KHxXpLv2dkTx 8/xtzmTU4otDOxHPgIWf4W12EtMNVnbXTec+E8VbjTk18Kuce1gU2c0opyqQtA657zHs8J0kChOVM Aji/uP+D30pf07IbiS18aE0oaohJ9VYEu4okCQWHIxhlwQDbma+TMyU4dOZvvGhL1YSEQ+hSwSl7z YVbBkiL9PPlR5QL9ifUYKU0OygoIjOXd8XuyMvbTWtYOMSbfVuGdgH/NheqH3oq/d2QHPnbFTDglf 5qP+tfGC3b6TCyL2hq5kZ4nPWu1krg3QqqKljRM4CIK20szRHNIXMcj0t261vfi8jRohZl9BwVFdg DHrxPJLcHO50sUtbymdYzw==; In-Reply-To: <83ply2cptb.fsf@gnu.org> (message from Eli Zaretskii on Mon, 15 Jan 2024 22:19:28 +0200) 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:314996 Archived-At: > Date: Mon, 15 Jan 2024 22:19:28 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > With such a functionality, your request would be satisfied with a simple > > overlay with a single `face` property. > > But only if the effect is to transform all the faces in the region in > the same way. My understanding is that the request is not necessarily > limited to that. And another, IMO more serious issue: an overlay like that over a region will change all the faces in the region, including the default face, whereas the request was to change only a particular set of faces, and I very much doubt that the default face was one of them.