GNU bug report logs - #6933
24.0.50; fringe-mode value of `half' is broken

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 28 Aug 2010 00:18:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 6933 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken
Date: Sat, 04 Sep 2010 14:34:47 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

> This happens because fringe.el has this customization form for "half"
> in the defcustom for fringe-mode:
>
> 		 (const :tag "Half width" (5 . 5))
>
> And the doc string for fringe-mode says this, among the rest:
>
>                                This command may round up the left and
>     right width specifications to ensure that their sum is a multiple
>     of the character width of a frame.
>
> So 5 is rounded up to 8, and the rest is history.
>
> I don't know why the values are 5 instead of 4.  The default fringe
> width is 8 on all GUI displays, so half of that should have been 4,
> not 5.  Maybe I'm missing some subtlety here.
>
> Can someone please check on X whether (fringe-mode '(4 . 4)) does TRT?
> If it does, I think we should use 4 instead of 5 in the above
> defcustom.

(4 . 4) seems to work fine for me on X.




This bug report was last modified 14 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.