From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iOnuA4i/NmAFWQAA0tVLHw (envelope-from ) for ; Wed, 24 Feb 2021 21:05:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iCFmO4e/NmAQCAAAB5/wlQ (envelope-from ) for ; Wed, 24 Feb 2021 21:05:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BD641A519 for ; Wed, 24 Feb 2021 22:05:11 +0100 (CET) Received: from localhost ([::1]:43480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lF1LJ-0000cY-ER for larch@yhetil.org; Wed, 24 Feb 2021 16:05:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lF1Kg-0000cD-9c for emacs-orgmode@gnu.org; Wed, 24 Feb 2021 16:04:30 -0500 Received: from mail-lj1-f175.google.com ([209.85.208.175]:35463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lF1Kd-00010E-Tq for emacs-orgmode@gnu.org; Wed, 24 Feb 2021 16:04:29 -0500 Received: by mail-lj1-f175.google.com with SMTP id a17so4080515ljq.2 for ; Wed, 24 Feb 2021 13:04:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xa8OqGM+XckU+0S0PjlgsGhLrtQTshtbDu5b2Y5RhAw=; b=dX1yXuCH7kVYMItda77Rlvz81HFNssDv5iAOAEO4tHzFoYtsoSNEmgDBY8CLz9diKI gx2jmpwAv6Hynbtq0gfsyeEb/InlJYsg9EF9wiElk7b9DADcWCWBZha5AltKLyG+bULR 9LT0qtEW+REk2I9ytFJx3lLMRkmfuIxUPNx44eRHhx32HcseK6Z0ULED5hFEXrJFObOi Vd2zVASUcdDVt574BVbDpsCDfiUJsQjKmkacTMFlnKKRAlvz9KOKnN1N86u5dmUnZztX 6zPDwT3Rvdll2RmljQxokh3NiFv8QPWKbgsQ6tcqs2PLeylqAKGRX6m6biLCYlWODbKl CM3g== X-Gm-Message-State: AOAM5335A8rz3bOonKf9CoN7ZyLrUjVb7hqKbvIzu0yPWiPWf1/tSu6v ERPpq9/EhyG1labp/prkdsdOgfrCFnZaTZHIrljr0qCi X-Google-Smtp-Source: ABdhPJwMVLRmNKM6EkzFTQl0eTT39+9t756h6Fr1TGWwkTMnW6AszCY/BvodQ/Ag3hMSUZLdvcghsCD2C9XkiYLkrw8= X-Received: by 2002:a2e:546:: with SMTP id 67mr14143339ljf.0.1614200664127; Wed, 24 Feb 2021 13:04:24 -0800 (PST) MIME-Version: 1.0 From: Yuri Lensky Date: Wed, 24 Feb 2021 13:04:13 -0800 Message-ID: Subject: [Patch] Update previews correctly with color changes To: "emacs-orgmode@gnu.org" Content-Type: multipart/mixed; boundary="0000000000002e980805bc1b6166" Received-SPF: pass client-ip=209.85.208.175; envelope-from=ydlensky@gmail.com; helo=mail-lj1-f175.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.37 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6BD641A519 X-Spam-Score: -2.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: hCCaWiuTDiGT --0000000000002e980805bc1b6166 Content-Type: multipart/alternative; boundary="0000000000002e980405bc1b6164" --0000000000002e980405bc1b6164 Content-Type: text/plain; charset="UTF-8" The hash computed for LaTeX previews did not actually take into account the true foreground/background text color, so org would not refresh previews when themes change. --0000000000002e980405bc1b6164 Content-Type: text/html; charset="UTF-8"
The hash computed for LaTeX previews did not actually take into account the true foreground/background text color, so org would not refresh previews when themes change.
--0000000000002e980405bc1b6164-- --0000000000002e980805bc1b6166 Content-Type: application/octet-stream; name="0001-lisp-org.el-Update-previews-correctly-when-color-chn.patch" Content-Disposition: attachment; filename="0001-lisp-org.el-Update-previews-correctly-when-color-chn.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kljxe0an0 RnJvbSBkYmVjZGJiNmYzY2M1ZjliNmQwOTQzMTBlY2RkNmM1YWVkZmU1NTA1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiAiWXVyaSBELiBMZW5za3kiIDx5ZGxAWXVyaXMtTWFjQm9vay1Q cm8ubG9jYWw+CkRhdGU6IFdlZCwgMjQgRmViIDIwMjEgMTI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mVyCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChjb25kCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo KGVxIGNvbG9yICdhdXRvKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmYWNl LWF0dHJpYnV0ZSBmYWNlIDpmb3JlZ3JvdW5kIG5pbCAnZGVmYXVsdCkpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAoKGVxIGNvbG9yICdkZWZhdWx0KQorICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIChmYWNlLWF0dHJpYnV0ZSAnZGVmYXVsdCA6Zm9yZWdyb3VuZCBu aWwpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHQgY29sb3IpKQorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgY29sb3IpKSkKIAkJCSAoYmcKIAkJCSAgKGxldCAoKGNv bG9yIChwbGlzdC1nZXQgb3JnLWZvcm1hdC1sYXRleC1vcHRpb25zCiAJCQkJCQkgIDpiYWNrZ3Jv dW5kKSkpCi0JCQkgICAgKGlmIChhbmQgZm9yYnVmZmVyIChlcSBjb2xvciAnYXV0bykpCi0JCQkJ KGZhY2UtYXR0cmlidXRlIGZhY2UgOmJhY2tncm91bmQgbmlsICdkZWZhdWx0KQotCQkJICAgICAg Y29sb3IpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAoaWYgZm9yYnVmZmVyCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb25kCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAoKGVxIGNvbG9yICdhdXRvKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIChmYWNlLWF0dHJpYnV0ZSBmYWNlIDpiYWNrZ3JvdW5kIG5pbCAnZGVmYXVsdCkpCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoKGVxIGNvbG9yICdkZWZhdWx0KQorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmYWNlLWF0dHJpYnV0ZSAnZGVmYXVsdCA6 YmFja2dyb3VuZCBuaWwpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHQgY29s b3IpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sb3IpKSkKIAkJCSAoaGFzaCAo c2hhMSAocHJpbjEtdG8tc3RyaW5nCiAJCQkJICAgICAgKGxpc3Qgb3JnLWZvcm1hdC1sYXRleC1o ZWFkZXIKIAkJCQkJICAgIG9yZy1sYXRleC1kZWZhdWx0LXBhY2thZ2VzLWFsaXN0Ci0tIAoyLjI0 LjMgKEFwcGxlIEdpdC0xMjgpCgo= --0000000000002e980805bc1b6166--