emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] cosmetic of begin/end lines
@ 2025-01-21 12:56 Phil Estival
  0 siblings, 0 replies; only message in thread
From: Phil Estival @ 2025-01-21 12:56 UTC (permalink / raw)
  To: Org Mode List

[-- 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-21 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-21 12:56 [PATCH] cosmetic of begin/end lines Phil Estival

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).