From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken Date: Sat, 04 Sep 2010 14:34:47 -0400 Message-ID: <87hbi59x2w.fsf@stupidchicken.com> References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> <83r5hjktvz.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1283625613 12262 80.91.229.12 (4 Sep 2010 18:40:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Sep 2010 18:40:13 +0000 (UTC) Cc: 6933@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 04 20:40: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 1Orxen-0008OW-44 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Sep 2010 20:40:05 +0200 Original-Received: from localhost ([127.0.0.1]:39813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Orxem-0007ke-H7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Sep 2010 14:40:04 -0400 Original-Received: from [140.186.70.92] (port=53614 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Orxef-0007jX-Pe for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 14:39:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Orxee-0008NV-L2 for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 14:39:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53910) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Orxee-0008NR-IB for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 14:39:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OrxXy-0002Ql-4r; Sat, 04 Sep 2010 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Sep 2010 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6933 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6933-submit@debbugs.gnu.org id=B6933.12836251809337 (code B ref 6933); Sat, 04 Sep 2010 18:33:02 +0000 Original-Received: (at 6933) by debbugs.gnu.org; 4 Sep 2010 18:33:00 +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 1OrxXw-0002QY-Ep for submit@debbugs.gnu.org; Sat, 04 Sep 2010 14:33:00 -0400 Original-Received: from pantheon-po15.its.yale.edu ([130.132.50.71]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrxXv-0002QQ-5c for 6933@debbugs.gnu.org; Sat, 04 Sep 2010 14:32:59 -0400 Original-Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po15.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o84IYleK021162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Sep 2010 14:34:48 -0400 Original-Received: by furry (Postfix, from userid 1000) id C7FB6C018; Sat, 4 Sep 2010 14:34:47 -0400 (EDT) In-Reply-To: <83r5hjktvz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Aug 2010 11:45:36 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Sep 2010 14:33: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:39962 Archived-At: 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.