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 sFn1LVO3a2MtLwEAbAwnHQ (envelope-from ) for ; Wed, 09 Nov 2022 15:21:07 +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 sNm2LVO3a2M+awEAauVa8A (envelope-from ) for ; Wed, 09 Nov 2022 15:21:07 +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 971DC20166 for ; Wed, 9 Nov 2022 15:21:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oslw2-00014P-C1; Wed, 09 Nov 2022 09:20:10 -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 1oslw0-00013y-7w for emacs-orgmode@gnu.org; Wed, 09 Nov 2022 09:20:08 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oslvy-0000XR-Cn for emacs-orgmode@gnu.org; Wed, 09 Nov 2022 09:20:07 -0500 Received: by mail-wr1-x42e.google.com with SMTP id o4so26007111wrq.6 for ; Wed, 09 Nov 2022 06:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=zLZAeYLstqgS1NpkGOk3hgX/1S+oqwIvYQR80i7PZHc=; b=S0iznF8XG46UrzugrFSQvnpoNAYQ1gTTmu8vLfGWCLfg0Q4zEwqnRTjS8+uFs/665M mfN8XfhAoqFKjnz7ZxvabG47fkFNOmTofZO6Yx1/3iZM0BVbCPWeRuTEww5yN2kY+gVA L1d+H5MPDGnFPEZi54Fa6/DsjImsbDBtbHplu87NYI2ZtubdN7IdEszSbmXDXl53zkMa mF6VWmn3KimNAQjfNQ5gxXH9L2S32s96TPxksNbuLmeys+EZ0vm28bFGS9wdl+xaLccU JKLDqVsn1uMzoX9tPINsgVbpP/FAPXoh/XFyXeFOTSfT3vdPvP2Az90ihLH6iAppV2lG XJKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zLZAeYLstqgS1NpkGOk3hgX/1S+oqwIvYQR80i7PZHc=; b=kp9EBAj6liqxoWhg4SRvVHmCSXF/eE2MZs4dvE8XHLHQZItfFoyVYyZPcnjTwmRcWq RozyPXQ84dnuA7xs6Ja35YMKQpT2D35UPC944LnXqdASq13F7ngPvZLD6JoSU08Df+Ef /YmSZDdOsK8ijtAcL6870V/gjM1VzjoPbbOtcg5qi3TFgWBfQoPd+yVD4crYmb61n2BX A26816IX6pNPf0Oghlmau91K0zrjf8Wj/XzmNg2kfMK7pQAzTXxfK//lNxmrv6gO3sKA jyRvVSjSxjO7glimNZ/DGYY77sWuFi2/xE9gMt+bABl0fsigkxVWs1S402jToRMQjAyf gjGQ== X-Gm-Message-State: ACrzQf30w9ORQhCfdng8y8Z3CVFqbOIOKo0wF/c7a7SRpT8QY2lD4Fsf YzpEmDbYxEeRdJdEfyjoyt0= X-Google-Smtp-Source: AMsMyM7Qly5KjzFBOp34Tp4PssUAEZunHxoLeKVljoXUVTU6zx+Rlf+ayd8Gy8o+6+zG4tY5H0exgw== X-Received: by 2002:adf:ce90:0:b0:236:ef9e:d7aa with SMTP id r16-20020adfce90000000b00236ef9ed7aamr25945381wrn.534.1668003604104; Wed, 09 Nov 2022 06:20:04 -0800 (PST) Received: from localhost ([137.195.26.27]) by smtp.gmail.com with ESMTPSA id h17-20020adff191000000b00236488f62d6sm13057074wro.79.2022.11.09.06.20.03 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Nov 2022 06:20:03 -0800 (PST) From: Abdul-Lateef Haji-Ali To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: extended background on org-block-end-line In-Reply-To: <87y1skc17h.fsf@localhost> References: <871qqdxrjz.fsf@gmail.com> <87y1skc17h.fsf@localhost> Date: Wed, 09 Nov 2022 14:14:15 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=abdo.haji.ali@gmail.com; helo=mail-wr1-x42e.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=1668003667; 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=zLZAeYLstqgS1NpkGOk3hgX/1S+oqwIvYQR80i7PZHc=; b=GQ3pPz4ckPaxXe2lJhKTqPDq5N6iNJOgpDy/KpwUwd215ALYUyuENQBlw2ndYs2EvbiEYC OhAw3El0zowLu+4lPm/SR+7N2GF5nH0z81ZyND8wz24PUpTrgjmcVGj45b93fHEpLJT0Py K2LgeTxXWhqRLLmR40FRG+HnhDmO2XlxFNTdhx8YHvHU6WeM2A8GO923oCXejRKkWGo3a0 qMVaCeBO+CIfwg9ZN5lGUnlH8LnCFwtkP0n2NXa70ckYNt1cCpBDnDwAQ085q8iy/R5Kjc Zs3eCOtVkMMs3TRM5IFjdisFLKLfahgstm+5UJIxsnqv0GifEiuXxfrLPaJP1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668003667; a=rsa-sha256; cv=none; b=PARf9dHDZVLUlBiX6UzIUFcFAo0UBZZsHo3Yp4VBFek5YlgskoLAcKQHDUownB5rYeZwWp 4qzD3UIidcGA58OdpZLFCkME1EqGkUwRFmgUcnHt/LUNyKFAcPId7x9/WbMu65oMgY+kbB 44tVUi4y2IsjzD9fnvDiLVNf4dGyHbaDR47fBE4SZng/LEn6VbIDL2Uko98D8RGAoWG0jB pDh2e+qZ4uHZN9+5hlaG5BvIHb7va1EtGboXI8xwOu9IEyh1N6F3VbVCbMgeUkQwgal1vD RvZCJOrf4hMVi76ofQJFxxB0sZjcED/ImMMjqigEuE1JU8w0XuLwN25l8QxChg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S0iznF8X; 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: -6.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S0iznF8X; 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: 971DC20166 X-Spam-Score: -6.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: fbUnw1WsWiWL Hello Ihor, On 09/11/2022, Ihor Radchenko wrote: > This is because Org keeps the last newline visible and Emacs apply > :extent t to that visible newline. I saw the bug report on Emacs, but I am not sure how to reply to a thread there without being subscribed to the mailing list, so I will reply here. I think a possible solution that can be implemented in org-mode side would be for the outline to include the new line character after `#+end_src` to hide the whole line (including the extended background). The final result can then be fixed by adding a newline character to the `...` glyph. Do you think that would work? -- Al