protesilaos / spacious-padding

Increase the padding/spacing of GNU Emacs frames and windows.
GNU General Public License v3.0
63 stars 3 forks source link

Usage with doom emacs #17

Open pbaille opened 3 months ago

pbaille commented 3 months ago

Hello,

I encountered an issue using spacious-padding along doom emacs.

I was trying the following use-package declaration:

(use-package spacious-padding
  :config
  (setq spacious-padding-widths
        '(:internal-border-width 15
          :header-line-width 4
          :mode-line-width 6
          :tab-width 4
          :right-divider-width 15
          :scroll-bar-width 8
          :fringe-width 8))
  (spacious-padding-mode)

But when starting doom, the paddings where not visible. I had to M-x spacious-padding-mode again for them to display as expected.

The thing that I finally understood is that there is a hook that mess with spacious-padding.

I had to add the following expression to my use-package declaration: (remove-hook 'doom-init-ui-hook #'window-divider-mode)

With this it works as expected.

I am documenting this just in case someone else encounter the same behavior.

protesilaos commented 3 months ago

From: Pierre Baille @.***> Date: Fri, 21 Jun 2024 04:57:17 -0700

Hello,

Hello Pierre,

I encountered an issue using spacious-padding along doom emacs.

[... 22 lines elided]

I had to add the following expression to my use-package declaration: (remove-hook 'doom-init-ui-hook #'window-divider-mode)

Good to know! I will take a look at the window-divider-mode. Maybe we can do something in spacious-padding to handle it.

-- Protesilaos Stavrou https://protesilaos.com

pbaille commented 3 months ago

Perfect, thank you :)