unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

  List information: https://www.gnu.org/software/emacs/

* 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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).