emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Phil Estival <pe@7d.nz>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: [PATCH] cosmetic of begin/end lines
Date: Tue, 21 Jan 2025 13:56:55 +0100	[thread overview]
Message-ID: <e5e3e417-37df-4971-9a01-67de6996277d@7d.nz> (raw)

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

Hi,

Is there any reason to force the extension of the lines of begin/end
while the whole fontification of a block is on? I haven't seen any
since org 9 and this allows to under/overline only the text of
begin/end while setting the background color of the entire line.

Cheers,

Phil

[-- Attachment #2: 0001-org.el-whole-block-fontification-does-not-change-ext.patch --]
[-- Type: text/x-patch, Size: 956 bytes --]

From 61cf0a3cc65449f3382e0ffa4ff21b2d07e3cb14 Mon Sep 17 00:00:00 2001
From: Phil Estival <pe@7d.nz>
Date: Tue, 21 Jan 2025 12:25:08 +0100
Subject: [PATCH] org.el: whole block fontification does not change extension
 of lines

* lisp/org.el: block lines extension can be set in the customization
menu independently of the fontification of the entire block.
---
 lisp/org.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 2e82b6e18..1bf23cd23 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5152,8 +5152,6 @@ The following commands are available:
     (when foreground
       (set-face-foreground 'org-hide foreground)))
   ;; Set face extension as requested.
-  (org--set-faces-extend '(org-block-begin-line org-block-end-line)
-                         org-fontify-whole-block-delimiter-line)
   (org--set-faces-extend org-level-faces org-fontify-whole-heading-line)
   (setq-local org-mode-loading nil)
 
-- 
2.39.5


                 reply	other threads:[~2025-01-21 12:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5e3e417-37df-4971-9a01-67de6996277d@7d.nz \
    --to=pe@7d.nz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).