emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Couple of issues with org block meta lines faces


From: Sébastien Miquel
Subject: Couple of issues with org block meta lines faces
Date: Fri, 10 Jul 2020 11:23:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi,

If you start emacs as follows, making sure emacs picks up the latest org from org-plus-contrib, and with file.org being the content of this mail,

#+BEGIN_SRC sh :async
emacs -q \
      --eval "(defface org-block-begin-line '((t (:background \"blue\" :height 0.8))) \"\")" \
      --eval "(setq org-fontify-whole-block-delimiter-line t)" \
      file.org
#+END_SRC

You may observe the following issues:

 1) begin-line applies to both begin and end lines. This might be intended. If you define an org-block-end-line face, it gets applied instead.  2) org-fontify-whole-block-delimiter-line is ignored. I'm aware I can set the :extend t property to the face. If it does nothing, maybe this variable should be removed.
 3) The following block has no face applied.
    - This only happens when the line with # at the top is empty
    - The :height part of the face seems to be responsible
    - It also works fine with default org version
 4) If you go to the end of the fontified end_src line (first src block), then press enter a couple of times the buffer position has the org-block-begin-line face applied (move cursor to see it).

#
#+BEGIN_SRC elisp
auie
auriaest
#+END_SRC

Regards,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]