~protesilaos/modus-themes

2 2

enabling org-indent-mode increases line spacing of headings

Details
Message ID
<CABjcPOwc+aRk36-h1x49G3o+09iFst541ujHM9MPm7W5oQhFmQ@mail.gmail.com>
DKIM signature
missing
Download raw message
Hello,

I'm encountering unexpected behavior in Emacs Org-Mode. When I
activate the org-indent-mode minor mode in org-mode files, the line
spacing between headings increases more than usual.

Steps to replicate the issue:

    emacs -Q
                -l .emacs.d/elpa/modus-themes-20231031.716/modus-themes.el
                --eval "(load-theme 'modus-vivendi t)" file.org

Observe the line spacing in org-mode

Interestingly, this behavior doesn't occur with just `emacs -Q`.

I'm using Emacs version 29.1.90 and Org-Mode version 9.6.11 . I
couldn’t find how to disable the increased spacing and am unsure if
this is intended behavior. Any suggestions or insights into this
issue?

Thanks,
John
Details
Message ID
<87h6lskerh.fsf@protesilaos.com>
In-Reply-To
<CABjcPOwc+aRk36-h1x49G3o+09iFst541ujHM9MPm7W5oQhFmQ@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
> From: John Wick <devicesfor@gmail.com>
> Date: Fri, 10 Nov 2023 19:54:15 -0500
>
> Hello,

Hello John,

> I'm encountering unexpected behavior in Emacs Org-Mode. When I
> activate the org-indent-mode minor mode in org-mode files, the line
> spacing between headings increases more than usual.
>
> Steps to replicate the issue:
>
>     emacs -Q
>                 -l .emacs.d/elpa/modus-themes-20231031.716/modus-themes.el
>                 --eval "(load-theme 'modus-vivendi t)" file.org
>
> Observe the line spacing in org-mode
>
> Interestingly, this behavior doesn't occur with just `emacs -Q`.
>
> I'm using Emacs version 29.1.90 and Org-Mode version 9.6.11 . I
> couldn’t find how to disable the increased spacing and am unsure if
> this is intended behavior. Any suggestions or insights into this
> issue?

I cannot reproduce this, nor is it intended behaviour. Maybe it has to
do with the font family of the 'fixed-pitch' face.

Do 'M-x describe-face' and search for 'fixed-pitch'. It will give you a
Help buffer with all the relevant attributes. Then try again with the
'default' face and compare the font families.

Also, what operating system is this one? I got a similar report from a
Windows user: <https://github.com/protesilaos/modus-themes/issues/91>

All the best,
Protesilaos (or simply "Prot")

-- 
Protesilaos Stavrou
https://protesilaos.com
Details
Message ID
<CABjcPOyqcxY33nY2nJ7OeqAe11F0etXP66FCaOHTEfMgLe6_dQ@mail.gmail.com>
In-Reply-To
<87h6lskerh.fsf@protesilaos.com> (view parent)
DKIM signature
missing
Download raw message
Yes, setting the font family of `fixed-pitch` to the same value of the
`default` face fixed the problem. This is on Linux.

I did check `fixed-pitch` before because I saw that the `org-indent`
face inherits from it but didn't see it as something that would cause
trouble(it defaulted to Monospace). That also explains why `emacs -q`
doesn't reproduce the issue, since there, `org-indent` doesn't inherit
`fixed-pitch`. My method of setting the font is just: ` (push '(font .
"Comic Code-12") default-frame-alist)`

The manual indeed does mentions this issue:
https://protesilaos.com/emacs/modus-themes#h:115e6c23-ee35-4a16-8cef-e2fcbb08e28b

So my bad and thanks!

About the windows user. While the gaps in space are much bigger than
mine in his case, it does sound like the same issue to me.

John
Reply to thread Export thread (mbox)