From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#53636: 29.0.50; face-remapping broken on master Date: Mon, 07 Feb 2022 00:16:08 +0100 Message-ID: <87mtj34mdj.fsf@gnus.org> References: <87o83tib13.fsf@gnu.org> <871r0p9l4f.fsf@gnus.org> <83ee4p9izg.fsf@gnu.org> <87mtjd8485.fsf@gnus.org> <83a6fd9glm.fsf@gnu.org> <835yq19dk1.fsf@gnu.org> <87czk97yt6.fsf@gnus.org> <8335l49jwu.fsf@gnu.org> <835ypz8zbm.fsf@gnu.org> <87fsp2v0ky.fsf@gnus.org> <83leyu73i8.fsf@gnu.org> <87k0edrvxm.fsf@gnus.org> <83sft15egx.fsf@gnu.org> <871r0loxr9.fsf@gnus.org> <83mtj85tm1.fsf@gnu.org> <87wnibn48c.fsf@gnus.org> <8335kz4tgu.fsf@gnu.org> <87ee4hg7g6.fsf@gnus.org> <83y22p21na.fsf@gnu.org> <871r0haqzr.fsf@gnus.org> <8335kw1n9u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 53636@debbugs.gnu.org, tsdh@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 07 00:17:45 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nGqmu-0005YU-9O for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 00:17:44 +0100 Original-Received: from localhost ([::1]:43248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGqmq-0007rd-Lt for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 18:17:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGqmE-0007pg-Tl for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 18:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGqmE-0003Ac-Jj for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 18:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGqmE-0002ig-Gs for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 18:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 53636-submit@debbugs.gnu.org id=B53636.164418937910383 (code B ref 53636); Sun, 06 Feb 2022 23:17:02 +0000 Original-Received: (at 53636) by debbugs.gnu.org; 6 Feb 2022 23:16:19 +0000 Original-Received: from localhost ([127.0.0.1]:40217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqlX-0002hO-Hm for submit@debbugs.gnu.org; Sun, 06 Feb 2022 18:16:19 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:32972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqlV-0002hB-SB for 53636@debbugs.gnu.org; Sun, 06 Feb 2022 18:16:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7YGf5kwufdpZ+wj4kktWoY/J5K6AGCfUh5wS7ikq1D4=; b=duMxwpwfN/1mBT3BaGdypNjVdh 90vHH5dBNyqd4DIlKwoyjROJvPi9d4q9syYj2KFXhuzoeiYBKFo7Dx4CqiMRlRAoPqnoDFzfmxpRh kfD2yGjf9zauhfXbpmxwVQHsEngd65tkq0lJemrbiAwejWw2uHlacwTXwz7a63DvmvCI=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGqlM-0000tK-KU; Mon, 07 Feb 2022 00:16:11 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUQCgxdMDliTJNL PYLCWjejTiPejHr///+9aF0aAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YCBhcDLFP+1FYAAAGfSURB VDjLbZJNbsMgEIVxo2Rt2rBvSA4QixO4HVgHCfZNRbj/ETrDf9y8yLHMN+8Ng80YY3wQS5rzTQ46 s4nxSS3XAi5SftHf5YQmMb9/X9k0F0cC8rzwedkpOYCcJBWSs5TXbQ+pPpbdK6AUX5RSrx0IVAK/ Gwtp3jiUEj7p9gQUz6teuw4WTrWukAZOJcE/g5OvwRXAjb19slqtGTvqbEBwuLPacEW3a2Z0jGDf wOGnBrsVX9PUmmOULmQVOG+xJ4f2BXFbgS+gyvIOUB1wSBj3P9Mb1N0QdboR2N8Gh4tkoaNExwhM DLnA/gMpCw95bI7nHgugAXtzzh2CR3UgaHvCJBPq5FN6CZbGJlC7VweO5LRIQI8AZ3UxGAJQwZ6i OLe0SALoZ0VApEW6jKXmc57D8iPF06bArD4dSXJYDzkqAMS7qJPTV4EgRLwMxIfwUIAALMQ1EyEA 7RfyB5cMAePjFnhIQkTSOCs8A/yhhAate3MACgQNgZ7aWaFH47OmAvJ34HJ8hKIS5XMbU9pjRQeO YprBd5BdWOBci3qpPzUxBQ9waXW8AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTAyLTA2VDIzOjAz OjQ0KzAwOjAwwn/57gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wMi0wNlQyMzowMzo0NCswMDow MLMiQVIAAAAASUVORK5CYII= X-Now-Playing: Alice Coltrane's _Eternity_: "Los Caballos" In-Reply-To: <8335kw1n9u.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Feb 2022 09:12:45 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226187 Archived-At: Eli Zaretskii writes: > But which case is considered a bug? In the first case, the mode line > of *scratch* is affected in the second frame; in the second case the > remapping doesn't show in that buffer on _any_ frame, although > face-remapping-alist is updated. The bug I'm talking about here is that `face-remap-add-relative' is supposed to be buffer-local, but calling it, and then creating a new frame (with point in that buffer) will have the remapping take place in all buffer in the new frame. >> But after poking at the code for a couple minutes, I'm not sure where >> the computation for faces is done for new faces. Hm... is it >> `face-spec-recalc'? Hm... but that doesn't access >> `face-remapping-alist'... Is this done at a lower level? > > What is "this" and "the computation" which you are asking about here? The computation of the faces for the new frame. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no