all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Width of fringes
@ 2020-03-21 11:18 Lele Gaifax
  2020-03-21 12:35 ` tomas
  0 siblings, 1 reply; 6+ messages in thread
From: Lele Gaifax @ 2020-03-21 11:18 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

a bit of context first: just to learn something new I'm playing with the
fringe, writing my own custom minor mode to show the test coverage of each
line in a buffer; I used three different fringe symbols 'filled-rectangle,
'hollow-rectangle and 'question-mark to show respectively "executed", "missed"
and "excluded" lines of code.

Everything is going smooth, but I have a "visual glitch" that I was not able
to understand: while with standard settings (ie "emacs -Q") all three symbols
appear "complete", using my own configuration they appear "truncated" on the
left, in other words for example the 'hollow-rectangle comes out as

  xxxxxx.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  .....x.
  xxxxxx.

Looking closely, I see that the right fringe is actually a tiny bit wider that
the left one, and indeed if I put those symbols in the right fringe they come
out "complete".

I obviously checked my configuration, but nothing in it explicitly changes the
fringe-styles or whatever, and the global fringe-mode is nil, and both
left-fringe-width and right-fringe-width are nil too.

Does anybody have an hint on what could cause the different width of the two
fringes?

FWIW, I'm using Emacs master, compiled a couple of days ago, on a Debian sid.

Thanks in advance,
stay safe, ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-21 14:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21 11:18 Width of fringes Lele Gaifax
2020-03-21 12:35 ` tomas
2020-03-21 13:36   ` Lele Gaifax
2020-03-21 13:39     ` Eli Zaretskii
2020-03-21 13:43       ` Lele Gaifax
2020-03-21 14:22     ` tomas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.