emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Vicente <david.m.vicente@tecnico.ulisboa.pt>
To: emacs-orgmode@gnu.org
Subject: [BUG] Face attribute customization is ignored [9.5.5 (9.5.5-gbe2246 @ ~/.emacs.d/straight/build/org/)]
Date: Fri, 23 Sep 2022 16:48:25 +0100	[thread overview]
Message-ID: <4f61f926-9715-1ea3-cde5-4e6891ae99a3@tecnico.ulisboa.pt> (raw)

Starting with:
     $ emacs -Q


and evaluating

(require 'org)

(set-face-attribute 'org-block nil :extend nil :background "snow2")
(set-face-attribute 'org-block-begin-line nil :extend nil :background 
"snow2")
(set-face-attribute 'org-block-end-line nil :extend nil :background "snow2")

(org-mode)

If we now write something like:


#+BEGIN_SRC
(+ 1 2)
#+END_SRC

The attribute customization of org-block-begin-line and 
org-block-end-line is ignored, i.e, the :extend attribute gets 
overwritten when we start org-mode and ends up with value t.

After inspecting the source code I suspect that it might have something 
to do with org-fontify-whole-block-delimiter-line...

Thanks

Emacs  : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.17.6)
  of 2022-04-27
Package: Org mode version 9.5.5 (9.5.5-gbe2246 @ 
~/.emacs.d/straight/build/org/)



                 reply	other threads:[~2022-09-23 17:48 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=4f61f926-9715-1ea3-cde5-4e6891ae99a3@tecnico.ulisboa.pt \
    --to=david.m.vicente@tecnico.ulisboa.pt \
    --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).