From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken Date: Fri, 17 Sep 2010 23:14:36 +0200 Message-ID: <83vd64ysw3.fsf@gnu.org> References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> <83r5hjktvz.fsf@gnu.org> <87hbi59x2w.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1284759673 16425 80.91.229.12 (17 Sep 2010 21:41:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 21:41:13 +0000 (UTC) Cc: 6933-done@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 17 23:41:11 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Owig6-0007In-IM for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Sep 2010 23:41:06 +0200 Original-Received: from localhost ([127.0.0.1]:56165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owig5-0000GJ-T5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Sep 2010 17:41:05 -0400 Original-Received: from [140.186.70.92] (port=53526 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owify-0000Ef-Rs for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 17:40:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owift-0002tN-AG for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 17:40:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59675) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owift-0002tD-8w for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 17:40:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OwiEw-0006vI-E8 for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 17:13:02 -0400 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Sep 2010 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6933 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6933@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 6933-done@debbugs.gnu.org id=D6933.128475797126595 (code D ref 6933); Fri, 17 Sep 2010 21:13:02 +0000 Original-Received: (at 6933-done) by debbugs.gnu.org; 17 Sep 2010 21:12:51 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwiEk-0006uu-W3 for submit@debbugs.gnu.org; Fri, 17 Sep 2010 17:12:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwiEi-0006uh-K7 for 6933-done@debbugs.gnu.org; Fri, 17 Sep 2010 17:12:49 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L8W00D00TID0G00@a-mtaout22.012.net.il> for 6933-done@debbugs.gnu.org; Fri, 17 Sep 2010 23:14:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.210.149]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L8W00CLWTO6DXD0@a-mtaout22.012.net.il>; Fri, 17 Sep 2010 23:14:31 +0200 (IST) In-reply-to: <87hbi59x2w.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Sep 2010 17:13:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40273 Archived-At: > From: Chong Yidong > Cc: Drew Adams , 6933@debbugs.gnu.org > Date: Sat, 04 Sep 2010 14:34:47 -0400 > > Eli Zaretskii 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. I changed fringe.el to use (4 . 4). So this bug should be fixed now (revno 101464).