From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +MLmDaLNm2UjBAAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 11:25:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4B4gCaLNm2XfxgAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 11:25:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tecosaur.net header.s=fm2 header.b=eN8lVYL3; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="1 os+DEj"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704709538; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=a3Oc6nspyauP2QllLDWVg92ghCWOiWwdnArzuQ0U6vA=; b=FPIJDWjsXcc5GCFbYu9Df7Zvgfcfy9OKhRhCHOBYNdFNM04WL3LcP4CbFpnoUXjiP95/G2 6S8WEWdJCiMiXaGaCEBB0w2SigGbcQglqqazMZ3p8cO8VUPYZMpqeFU/hePmr0nXXqnwZv cHd5688n+1USYQl9g/tWe1wvezwKXVR8UAYEuarJjVxu7oAzXgZV/tTCmw2LwuRlrU4VLf 2BUwp6vRxG8QwrgqJFt7AMT9YL1FRGv+KP9cwBRQqva5QStYRgjg3ixpbbRea58nHxCGon LylD+MQEHxr7RliJvyLFTxz9M19DTFpQ6qI9viccO47Nr4KB3otqt70M+aOACQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704709538; a=rsa-sha256; cv=none; b=o7vRyzGDqPN2LhiT4J86yt2vfWXrbQB5PVgWoeCgUESOq/17G9aEdx7x1IDCE7S+GJZ53w EH82loH9AHqFn6NEJolX+SpycUUaQ+N1orp4sL4tupXKtlBDnxaz+tqt0BN7ZscgGEpb8o /wofm0gdzOpL8KPYju6QleG6vxHhMbScHoyoyEsk2Fc5WJbz3UrDAM4bL+KMntnAw6p2mO FOEucEElbgzys9mCcIdQGk67mDZKGfnlJ0JexmyeCP7tNYViBW2pz0Q+W3qeKxgQwYIZ+Y BmOcb3x/FkyBxwjhkXfgi9WPvF0+4apNGMdDzM5bDcSS3vZn5+9F2UgmG0TIrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tecosaur.net header.s=fm2 header.b=eN8lVYL3; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="1 os+DEj"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none 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 4662D206F2 for ; Mon, 8 Jan 2024 11:25:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMmoT-0007cb-EV; Mon, 08 Jan 2024 05:24:57 -0500 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 1rMmoR-0007cN-HZ for emacs-orgmode@gnu.org; Mon, 08 Jan 2024 05:24:55 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMmoP-0000mW-1j for emacs-orgmode@gnu.org; Mon, 08 Jan 2024 05:24:55 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 14A375C1595; Mon, 8 Jan 2024 05:24:51 -0500 (EST) Received: from imap42 ([10.202.2.92]) by compute6.internal (MEProxy); Mon, 08 Jan 2024 05:24:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1704709491; x=1704795891; bh=a3Oc6nspyauP2QllLDWVg92ghCWOiWwdnArzuQ0U6vA=; b= eN8lVYL3ixtFQFZt5rGNtcLbtMSEc3fAmAnEtAb1+5kaoQhVvBQuttjA9JyQ8DlD pUZ5oniNq3JBkWXAGB7zLNZ+Gf2kowkxClpCGLP0/LF0wmEXJ2lf4zUwLMpcXkhJ YPZFG1GRZl4icBcBYKOdFJB6+UGgM7BTclZlNFbeSt5+6vJzhLGaM1cs1iVYj4gO nVN0uBo3BsqXN0gXNhZniT20bIdTY1RzXhjAxJVE9JSn8Rbr7ZLWf8cELcW+WVxD VkgH1Xd73AQyoDwmvRWHoQDu8RGjWuSjPWI6cV57xzscPwUecEzKPZfVYRaBwdoR wVXYkwZfzA60MnnhBmmrOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704709491; x= 1704795891; bh=a3Oc6nspyauP2QllLDWVg92ghCWOiWwdnArzuQ0U6vA=; b=1 os+DEjHLAoRpswr7msLqw0jEAGdmn2/xzzK4FWhJMkR3f04nc3t65C1TH5dLNrRT nYOm4Xoq5kYQTJgO8C+VnhZnG+ZI/Jnoi4rSvrsyFbvU0/2Q/SlnLNrAHx08kz21 klIi7tfE7YLjpwLFjFia06YD4rXm3IDmu5kgpgWwM2hgo6bnZ/OEG23FLTdOZrGy u0WDryKoyM6SQqRybJQe5RuelU3oOtUwBeWavvEbOWRQKZ/PwfxuTx07LlVVnksE qbKc2P42DGMLg2cetbmB8ZJo5n5eD9tz9d1/nAM8JaxV41x1nP8foG9Wb2uDZPDi fhwF62wfdmA3+wQme/zSA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehjedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepvfhi mhhothhhhicuoehorhhgmhhouggvsehtvggtrdhtvggtohhsrghurhdrnhgvtheqnecugg ftrfgrthhtvghrnhepgeeufeetveeivdffleeliefgkeduhfdvtdefudekffegjeehieei veeigfdvgfdunecuffhomhgrihhnpehtvggtohhsrghurhdrnhgvthdpohhrghhmohguvg drohhrghdplhhisggvrhgrphgrhidrtghomhenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehorhhgmhhouggvsehtvggtrdhtvggtohhsrghurh drnhgvth X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id DE094BC007D; Mon, 8 Jan 2024 05:24:50 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 MIME-Version: 1.0 Message-Id: In-Reply-To: References: <20230829060145.45738-3-roshan.shariff@gmail.com> <20230829171523.56558-2-roshan.shariff@gmail.com> <87wmsl38n1.fsf@tec.tecosaur.net> Date: Mon, 08 Jan 2024 18:24:21 +0800 From: Timothy To: "Roshan Shariff" Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH v2] Fix background color of latex previews Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=66.111.4.27; envelope-from=orgmode@tec.tecosaur.net; helo=out3-smtp.messagingengine.com X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4662D206F2 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.22 X-Spam-Score: -7.22 X-TUID: x/VjSg2va2Mz Hi Roshin, > Thanks again for your work on this exciting feature! I tried out your > new code and it does indeed fix the problem on Emacs 29. But then I > remembered that I originally encountered the issue on Emacs 28, and > sure enough the issue persists there. > > To summarize, to get it to look right on Emacs 28, you need to append > the face spec '(:inherit default :extend t) to the list of faces, > rather than just 'default. Otherwise, when an equation overlay wraps > to the next line in visual-line-mode, you'll see the background color > of the org-block face leak through after the end-of-line. Emacs 29 > appears to behave more sensibly: if the overlay wraps to the next > line, its face is not applied to the end of the current line. Thanks for this info and the patch! I've had a look at both, and I'm hop= eful that https://git.tecosaur.net/tec/org-mode/commit/3b3d48d3bf0 might= solve the problem? Do let me know what your think =F0=9F=99=82 All the best, Timothy --=20 Timothy (=E2=80=98tecosaur=E2=80=99/=E2=80=98TEC=E2=80=99), Org mode con= tributor. Learn more about Org mode at . Support Org development at , or support my work at .