From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.help Subject: Width of fringes Date: Sat, 21 Mar 2020 12:18:28 +0100 Organization: Nautilus Entertainments Message-ID: <87fte2gdmj.fsf@metapensiero.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="100616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:zp/NDzCPaIG8jQcLoXXkA/Sfzxc= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 21 12:19:09 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jFc9k-000Q6G-OQ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 12:19:08 +0100 Original-Received: from localhost ([::1]:35184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFc9j-00016v-Qx for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 07:19:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59058) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFc9F-00012h-Bt for help-gnu-emacs@gnu.org; Sat, 21 Mar 2020 07:18:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFc9E-0002ui-77 for help-gnu-emacs@gnu.org; Sat, 21 Mar 2020 07:18:37 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:54026) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFc9E-0002uQ-1K for help-gnu-emacs@gnu.org; Sat, 21 Mar 2020 07:18:36 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jFc9C-000PXJ-PU for help-gnu-emacs@gnu.org; Sat, 21 Mar 2020 12:18:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122618 Archived-At: 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.