From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sH3AIGrBamMogQEAbAwnHQ (envelope-from ) for ; Tue, 08 Nov 2022 21:51:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kNy4IGrBamMAnQAAauVa8A (envelope-from ) for ; Tue, 08 Nov 2022 21:51:54 +0100 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 2DA082625A for ; Tue, 8 Nov 2022 21:51:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osVYq-0001ho-OP; Tue, 08 Nov 2022 15:51:08 -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 1osVYp-0001hE-UJ for emacs-orgmode@gnu.org; Tue, 08 Nov 2022 15:51:07 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osVYm-0007sN-5q for emacs-orgmode@gnu.org; Tue, 08 Nov 2022 15:51:07 -0500 Received: by mail-wr1-x430.google.com with SMTP id bk15so22815869wrb.13 for ; Tue, 08 Nov 2022 12:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=G+rmA4nR53ecjqKJ2miwm5mfz4P0CSE95UpjL2ati0o=; b=F5M8X1+toCda91Tb+1x3fDLX+k7QxcGdK/bmAV4u5NOgBZ/wSXVXPljAzRNZXHUt15 N4oXvi4eKd1DQJBz5lAifmbC+VRMq/ZutjhSCxIhelpSZ7fdPK/GixdRKIXTJFWbL24+ lfTuNcwarXQeIIxbry98looG/6M1AbDgPJP6BGJ54BUFR9isUTA6qURJxL1SpzjvUt65 QYUaWQ+tBpgYd83JKz7if98k+v9HOWtn3gXt0lMKdEZEIyupVBVV0KfS0WO1yyFOCjFm 2gqkQozpPnA/q5/dctoes5sjmdRWVO7g94kDpxp2CKqtmy8hciVq+fTL5cFR+45NTXQV lihw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=G+rmA4nR53ecjqKJ2miwm5mfz4P0CSE95UpjL2ati0o=; b=LaPB6LQ6ayM3zwsU5S4a56EjnMFmZf4k6oB/FtuNhw89QGvFa73fgCQC9Etz+Z2oUo Hp21wYJ1Plk2S8BGbDSxKQ3hbFzW2mBTN47gljlfLsZlIESSItAw8NycKlBlRkG4vlUA OnzuExLji0aaHQwmh0A/xjczvR7OeoFoP18rzhhBYZHhzrlhLYKX5wB9uM/uoPLh7awU /u26+IAf4LnyXiiPeVNb6666SoulIHjX11xK2GpoNTrpooJjrZZ9PTLE0ZbjIuI2CO5/ C1lSbCC9NWjwObh+J0/7jVyErmKTD1+JHxFGadavboBbFzN5AIj/uFEpso+4l1NvCQx8 qQOw== X-Gm-Message-State: ACrzQf2FamZoYRuvRGlBjnvXpB0F/1HkUafyVbpmNU4zK8a0xxTczqOx lr3LtFmiiCWs3u6uJ4HnEV8HD3FdK9KEwA== X-Google-Smtp-Source: AMsMyM5BQX0bAWPXcZoiMCnPx3Oi7VTQ0/xGBFZ6GHWIz6CWzRpUsqtSY72AzSXmhrhd4gTZ7YjGLw== X-Received: by 2002:adf:d20f:0:b0:236:5e77:91f0 with SMTP id j15-20020adfd20f000000b002365e7791f0mr36096352wrh.169.1667940660662; Tue, 08 Nov 2022 12:51:00 -0800 (PST) Received: from localhost (sgyl-45-b2-v4wan-165314-cust948.vm6.cable.virginm.net. [92.236.87.181]) by smtp.gmail.com with ESMTPSA id h2-20020a5d4302000000b0022ae0965a8asm11102305wrq.24.2022.11.08.12.51.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 12:51:00 -0800 (PST) From: Al Haji-Ali To: emacs-orgmode@gnu.org Subject: extended background on org-block-end-line Date: Tue, 08 Nov 2022 17:52:00 +0000 Message-ID: <871qqdxrjz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=abdo.haji.ali@gmail.com; helo=mail-wr1-x430.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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667940713; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=G+rmA4nR53ecjqKJ2miwm5mfz4P0CSE95UpjL2ati0o=; b=tQHnwVtwSvlTVv7TLpYCylDpKFGQ7QoKCPv+bSZZjry0DlN87zGGGvKeerk1q8S6cl0UTy vp9cmXzFrHPUfudEecpGZHJ6N+kLxIKd7xezhwqNnodDnYXRvv1IhCucJMwpbnpGCqSTWr qjf6cAWbJIcyYxDKF/eZtzT1Nz1tBMXMWGq0D4Mq+dP1wxpXK0TgGwsX0crj2G6LLiS/4/ iQnmHZhllSOgIHT4bZM+nGCCNqGrKPSZojOeit8YM8E7FpVnCwpnfIwQTqeyFlVOD4el6m QJfXivoVNHtec2025Yhd+tIG3pKcPzqz47TCrp2smShTq6px0hUhCHZ1sfiRxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667940713; a=rsa-sha256; cv=none; b=V7+ZMiWuwPHI2M5AbjtvAzqpKHwMmueJxDOM0usfZJuucVsCqZMzUsfTN2TD/rG2zb6PZf HWZ9w2Cjr1QZNOcAhROyRVlRbKRtzlpTJrHPfrmZ/J+s8kDHMs8LbeuJjaJt5QgKEU9eJQ hJsiMlwsDnp9KAvWP7cX4y8Y5VdvBGvbbUqRkiwpRuyxBtfCMqMZHgvnvXq2EOWejUUkMe kUx685Ff9OZozEOblszX/cswF25/JFtDGv4WgymOU3Rny5Kv8aEiyN5N2hG1GZONnJiSqm /RdHNCoiU2oebuxZwiY6XYtchzJcH4AKdqCptiYJ+pQKbt9dBACytkqDtgN0yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F5M8X1+t; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -7.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F5M8X1+t; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 2DA082625A X-Spam-Score: -7.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: X95rQP1qEXhT I'll admit this "bug" is not critical, but it is visually annoying (at least to me). When hiding an org entry, source blocks with extended backgrounds remain visible. To re-produce: 0. Run `emacs -Q` 1. Create a buffer with this content and ensure `org-mode` is on ------------------------------------------------------------ * One #+begin_src emacs-lisp #+end_src * Two #+begin_src emacs-lisp #+end_src ------------------------------------------------------------ 2. Change the face `org-block-end-line` to have an extended background on the end-line of the org-block (set-face-attribute 'org-block-end-line nil :extend t :background "#4e5079") 4. Go to "One" and press tab 5. Notice how the background colour now appears next to "One". Is there a way to fix this? Note that if the org-block is not the last line in the entry (for example if there's an empty line before "* Two") then the visual artefact is not present. -- Al