jdtsmith / indent-bars

Fast, configurable indentation guide-bars for Emacs
GNU General Public License v3.0
272 stars 7 forks source link

Doesn't look like expected on my setup: big dots #17

Closed neurolit closed 10 months ago

neurolit commented 10 months ago

Hi!

I installed indent-bars using default configuration on Emacs 29.1 (no PGTK, on Linux) :

(use-package indent-bars
  :elpaca (indent-bars :type git :host github :repo "jdtsmith/indent-bars")
  :hook ((python-mode yaml-mode) . indent-bars-mode))

It works, but not like expected: dots are very big! 2023-09-09_17-24

I don't see any problem when I test stipples: 2023-09-09_17-30

Do you know what could be causing it?

neurolit commented 10 months ago

In fact I'm not sure there is a problem. It doesn't look like default example, but it looks like the screenshot in the README.

jdtsmith commented 10 months ago

Looks reasonably close to the defaults, but everybody's font size is different. Did you try changing indent-bars-width-frac and indent-bars-pattern? BTW, what does M-: (frame-char-height) say?

neurolit commented 10 months ago

Evaluating frame-char-height says 30.

jdtsmith commented 10 months ago

OK, everything looks alright then. There are plenty of options to play around to dial it in the way you like; check the examples. I updated the figure to match the current defaults.

jdtsmith commented 10 months ago

I also renamed the example "Default" to "Old Default" to prevent similar confusion. Thanks for the report.