From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GCcjNDZQ8GWoHgEA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Mar 2024 13:53:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GCcjNDZQ8GWoHgEA62LTzQ (envelope-from ) for ; Tue, 12 Mar 2024 13:53:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Py1B04m7; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710247990; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PsecazeLXggD/8njqenIZt3pPhrYxbDtqgT9bRi438k=; b=YMcoXQFFWWWzPtjzRo2eYca8oSg1NCJLGwkD4a23bqfEbwJODQR+xJdfUXtZTqnaiRKSPL W/W89PO8Ru9t0igaez0tfqzH7svBr0J0jGFBa8NEk47/ONva7+kqPUdQnV/FYgs90dD7vp ZLw1GzBZfubJhT2jDhnUCfm8VN/tB12CQo9lpJqLTnkctnWbSIEV15P5NUcLfPVKQIMyAZ r8MV1uF4KFvLftFym5//8BWjFuVANo9b/cKDwWo6a5acNAkLYZbAuOLtgnF94FMv2MDg+U h+Fp0XbDDbyIoCfFNA4jv/hFbWni2aOoC4bbcEiApNgQQb1T3YbQ1yDtEvaLsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Py1B04m7; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710247990; a=rsa-sha256; cv=none; b=B8cwQFUFlgCkjkaed/xRp6TTN9oFcg+XToT6H4P7kaRZsYsBY37RRPLjutGHkPPhBHuWHi 0URw7zuFLyB3HWteZrfAfjWdf3KnzTN6PEAzApkSPvE+EpTdUIhoaOJgJzpVZJYf0+4h1M m+Kwyyouoyb/U8kdqaqGz14/576YrrvBadNZP/PdCcx7WyLnr1QVu2s/f45O0stffnXxaQ VRgfhO2r7QQrDue4Gdv7Jg2ko11YdJvaMvDvJDDDZChYSAYGL1f81gsthBr3SOZcV9bGC+ pf9yuKkyi2UmTxTYOt4ile4Git0YG9j0G/glDECZZWWnaIJU4j8l5I8GmJSkyQ== 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 6B0A730491 for ; Tue, 12 Mar 2024 13:53:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk1Ts-00027l-Jw; Tue, 12 Mar 2024 08:43:45 -0400 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 1rk1Tp-00026w-SR for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 08:43:42 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk1Tn-0008RE-EA for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 08:43:41 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D539A240101 for ; Tue, 12 Mar 2024 13:43:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710247414; bh=s7DlIsi3QrTwOMT9VNO3zc3L8KfYn8V8W629PUzgxYM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Py1B04m7wHVp6Qm2Z6GeJJzWmXXfBP5q9KZjM1kUfruyni5YXNiTaD6a1MNYL6hIi roqM4rp87iGRqP4hm/nT4PnHd+BnJH8TvYCtaGJkKaDesOgp0qf4ooDOWPlPNuTxk4 k22f0HVnuUrl+sWPd3TrmeznHzhz5Dwye0X1nZWKyqOhx5J1h3Tme6Ncy0+kP8czYa t64KK4JdG16AiBsnxzYS1N7xuII/EGi8t4Hw/guFJPyAEDkyXnTtVORcrQYLWAlYEt iWlbBzKdPWW7W8wx2WHjn/bavFAO5sD9TBxGXKES2KYKPzKGZZCr064UpGWkMEDbCu P4oK8C5W/oCUA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvCxL1Mzvz9rxM; Tue, 12 Mar 2024 13:43:33 +0100 (CET) From: Ihor Radchenko To: StrawberryTea Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-fold :extend face backgrounds break with trailing newlines [9.7-pre (release_9.6.20-1267-gb0c3c9 @ /home/st/.config/emacs/.local/straight/build-30.0.50/org/)] In-Reply-To: <877ciaiw0z.fsf@strawberrytea.xyz> References: <877ciaiw0z.fsf@strawberrytea.xyz> Date: Tue, 12 Mar 2024 12:47:46 +0000 Message-ID: <87y1and3bh.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.35 X-Spam-Score: -8.35 X-Migadu-Queue-Id: 6B0A730491 X-TUID: lzzkHfXLDXfH StrawberryTea writes: > I've noticed that when using the :extend face property with org-fold, > the background color of the headline face will sometimes be left behind > after unfolding a heading. I have finally determined that this is > happening when the heading has a trailing newline and the heading is > after the last non-whitespace character in the heading's body. > > Here is a minimal example to reproduce this issue from emacs -Q: Thanks for reporting, but I am unable to reproduce the problem on my side using the latest main. May you please provide more detailed instruction about what exactly do I need fold/unfold to see the problem? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at