From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: how to track down "invalid face attribute" errors? Date: Wed, 28 Sep 2022 17:04:12 +0200 Message-ID: <87ill7czgz.fsf@gmail.com> References: <87k05rr79k.fsf@ucl.ac.uk> <87czbjpq1c.fsf@dataswamp.org> Mime-Version: 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="14524"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 28 18:52:50 2022 Return-path: Envelope-to: geh-help-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 1odaIk-0003c3-ME for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 18:52:50 +0200 Original-Received: from localhost ([::1]:40740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odaIj-0006CO-Kx for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 12:52:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odYbh-0003k3-KF for help-gnu-emacs@gnu.org; Wed, 28 Sep 2022 11:04:17 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:40686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odYbf-0003Y1-Vv for help-gnu-emacs@gnu.org; Wed, 28 Sep 2022 11:04:17 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id x18so20250341wrm.7 for ; Wed, 28 Sep 2022 08:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date; bh=pUTSeLE7ru5K3a3SiBpdGhmr8WwrgrTaHCQx1R8oAPc=; b=Zwfm6+ytv2qEQC+3ALj7gHybzwzFjNgEyvVGugx1lHZrFX4qtL2PMcym5MFWEkdHvG t8nKp199c+azPi4zyCYRVS00YnquO+CUo28OqrfwxAWdpdsEHubYvyf/tZg4Y65meOWR c4LquDfmPnq0XPE2IpEW0cAvaiWikrC6npG08ihdp7tFXs+whYO6+D2RlS5bopjtXMMq Yp0sRSokJHcKAndJZWQFoNBiJGFi/HSi3YF74usU3reGjWvOcmiIL5JJx/XAWWAXROin yUwlbQHliynW6EeRba1nFEgWNtEoA6LESJlI7DYYMAduS0LH/Y4EIHup/q4PF4F2W82W Oq9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=pUTSeLE7ru5K3a3SiBpdGhmr8WwrgrTaHCQx1R8oAPc=; b=0eLfPwaDytNZp97Q0wdHQdy1JH3IWB93UnuqXm+TbMUs1p3479qdLK/Es6RMaonUXv 7jvWEzEsaGs8XNddRR2ni4NvoIjyU+Iaz8Xvfp+Mq68gYLAfY9iJ3VbwXLlPTaliHi7V ZmtWbF9lsNZ05DLAdtT0UoeMJxF5hYa7TjwWWRkA+k5rJkIifymdkJ05gVKFO3vZ3n2a e0IKJytucUoHB2ZXF51DLFHssEM+5YMBzuiqO58Lb2PgwxkuEIK0rKm7uQgtkgoNL7xz VQaQs302CE7s3lKBaAr7aWyMllm+KKYXqd7YgKz1NrZBxEj+XjLeXQFltMYgYuwhyZwf BVYg== X-Gm-Message-State: ACrzQf0gU6p5bFqgsChOIej5aQNU1nVwsZRFFr1PSNlSpGKXNQQSfQsE vRU/EvcmbMY4pTpx1MMmf3E= X-Google-Smtp-Source: AMsMyM7T9V0GGLqjHsUjOLn//Xbiuqj4MfcRxyWHvMdlcaUtqV35Yjp1qHBFHCxLfbbvXIdCn4pz/A== X-Received: by 2002:a05:6000:2c9:b0:22a:f261:a81e with SMTP id o9-20020a05600002c900b0022af261a81emr21140006wry.458.1664377453439; Wed, 28 Sep 2022 08:04:13 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:c58f:2b69:6813:6c0]) by smtp.gmail.com with ESMTPSA id j6-20020a05600c1c0600b003b483000583sm2186168wms.48.2022.09.28.08.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:04:12 -0700 (PDT) In-Reply-To: (Stefan Monnier via Users list for the's message of "Wed, 28 Sep 2022 07:41:38 -0400") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42a.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139666 Archived-At: >>>>> On Wed, 28 Sep 2022 07:41:38 -0400, Stefan Monnier via Users list for= the GNU Emacs text editor said: Stefan> Emanuel Berg [2022-09-25 15:00:31] wrote: >> Sounds like that error message should be changed to include >> what face causes trouble, if possible? Stefan> IIUC this message comes when the face is not a symbol but a pli= st of Stefan> properties, so there's a good chance that printing the face wil= l just Stefan> say (:foreground nil) and thus won't help you. A better option= might be Stefan> to include the position of the problem, so you can then go and Stefan> investigate the text properties and overlays at that position. Yes, (:foreground nil) is what you get. And by the time the log is produced in `merge_face_ref', there=CA=BCs no trace left of the position we=CA=BCre looking at. Robert --=20