all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lele Gaifax <lele@metapensiero.it>
To: help-gnu-emacs@gnu.org
Subject: Width of fringes
Date: Sat, 21 Mar 2020 12:18:28 +0100	[thread overview]
Message-ID: <87fte2gdmj.fsf@metapensiero.it> (raw)

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.




             reply	other threads:[~2020-03-21 11:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-21 11:18 Lele Gaifax [this message]
2020-03-21 12:35 ` Width of fringes 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fte2gdmj.fsf@metapensiero.it \
    --to=lele@metapensiero.it \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.