From unknown Sun Jun 22 22:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2010 00:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6933 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6933@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.128295462910591 (code B ref -1); Sat, 28 Aug 2010 00:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2010 00:17:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op96b-0002km-3y for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:17:09 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op96Y-0002kN-L5 for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:17:08 -0400 Received: from lists.gnu.org ([199.232.76.165]:35938) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Op97w-00057W-Iu for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:18:32 -0400 Received: from [140.186.70.92] (port=57857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op97q-0007ih-8w for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op97h-0005XB-Nc for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:24 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:29116) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op97h-0005Wv-Im for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:17 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o7S0IFI2000344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 28 Aug 2010 00:18:16 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o7RLM7rO028482 for ; Sat, 28 Aug 2010 00:18:14 GMT Received: from abhmt014.oracle.com by acsmt355.oracle.com with ESMTP id 540291961282954583; Fri, 27 Aug 2010 17:16:23 -0700 Received: from dradamslap1 (/10.159.220.83) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 27 Aug 2010 17:16:23 -0700 From: "Drew Adams" Date: Fri, 27 Aug 2010 17:16:26 -0700 Message-ID: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActGRkEQa93fx+c6R7mkNjJ6R4EFFA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) emacs -Q M-x fringe-mode Enter `half'. The fringe values (both left and right) should each be 5, according to the code and comments. Instead, it is still 8, as shown by (frame-parameters). There is no difference in behavior between `half' and `default'. Dunno whether this is Windows-specific. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-16 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' From unknown Sun Jun 22 22:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2010 08:43:01 +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: To: Drew Adams Cc: 6933@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6933-submit@debbugs.gnu.org id=B6933.128298496825402 (code B ref 6933); Sat, 28 Aug 2010 08:43:01 +0000 Received: (at 6933) by debbugs.gnu.org; 28 Aug 2010 08:42:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpGzv-0006bf-Q0 for submit@debbugs.gnu.org; Sat, 28 Aug 2010 04:42:47 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpGzs-0006ba-LY for 6933@debbugs.gnu.org; Sat, 28 Aug 2010 04:42:46 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L7U00L00SK3EG00@a-mtaout20.012.net.il> for 6933@debbugs.gnu.org; Sat, 28 Aug 2010 11:43:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.93.239]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L7U00LRPTKL9G50@a-mtaout20.012.net.il>; Sat, 28 Aug 2010 11:43:34 +0300 (IDT) Date: Sat, 28 Aug 2010 11:45:36 +0300 From: Eli Zaretskii In-reply-to: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> X-012-Sender: halo1@inter.net.il Message-id: <83r5hjktvz.fsf@gnu.org> References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.8 (/) > From: "Drew Adams" > Date: Fri, 27 Aug 2010 17:16:26 -0700 > > emacs -Q > > M-x fringe-mode > Enter `half'. > > The fringe values (both left and right) should each be 5, according to > the code and comments. Instead, it is still 8, as shown by > (frame-parameters). There is no difference in behavior between `half' > and `default'. Dunno whether this is Windows-specific. 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. From unknown Sun Jun 22 22:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2010 15:15:03 +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: To: "'Eli Zaretskii'" Cc: 6933@debbugs.gnu.org Received: via spool by 6933-submit@debbugs.gnu.org id=B6933.12830084475386 (code B ref 6933); Sat, 28 Aug 2010 15:15:03 +0000 Received: (at 6933) by debbugs.gnu.org; 28 Aug 2010 15:14:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpN6c-0001Op-KI for submit@debbugs.gnu.org; Sat, 28 Aug 2010 11:14:06 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpN6b-0001OT-3O for 6933@debbugs.gnu.org; Sat, 28 Aug 2010 11:14:05 -0400 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o7SFFYpS022698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 Aug 2010 15:15:35 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o7SCF55b011506; Sat, 28 Aug 2010 15:15:34 GMT Received: from abhmt019.oracle.com by acsmt353.oracle.com with ESMTP id 541113101283008527; Sat, 28 Aug 2010 08:15:27 -0700 Received: from dradamslap1 (/10.159.221.84) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 28 Aug 2010 08:15:27 -0700 From: "Drew Adams" References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> <83r5hjktvz.fsf@gnu.org> Date: Sat, 28 Aug 2010 08:15:29 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83r5hjktvz.fsf@gnu.org> Thread-Index: ActGjTQuuGlpCwS7T76Ua+3ldsJ8pgANXAqw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) > > emacs -Q > > > > M-x fringe-mode > > Enter `half'. > > > > The fringe values (both left and right) should each be 5, > > according to the code and comments. Instead, it is still 8, > > as shown by (frame-parameters). There is no difference in behavior > > between `half' and `default'. Dunno whether this is Windows-specific. > > 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. Thanks. Default is 8; half is 5, which results in 8 (same as default); and minimal is 4. If we have 3 values (choices) and the default is 8, then the values should ideally give 3 different appearances (effects). Neither {8,8,4} and {8,4,4} is a good set. But since both minimal and half show both left and right fringes, and the sum must be a multiple of the frame char width (default 8), that doesn't leave a lot of choice. Presumably, for both minimal and half you want the left and right to be the same, and 8/2 = 4. So I guess there is no good solution. But perhaps this could be better explained in the doc. I'd suggest making half be 4, at least, since users expect it to be less than default (whole) in appearance. It is less disconcerting if users see no difference between half and minimal when using the default frame-char size: "minimal" does not imply less than half, but "half" implies less than whole (default). Also, "default" might not be the best term here. I don't have a great suggestion, however. Maybe "full", "whole", or "maximal", but each of those has its drawbacks too. From unknown Sun Jun 22 22:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6933: 24.0.50; fringe-mode value of `half' is broken 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: To: Eli Zaretskii Cc: 6933@debbugs.gnu.org, Drew Adams Received: via spool by 6933-submit@debbugs.gnu.org id=B6933.12836251809337 (code B ref 6933); Sat, 04 Sep 2010 18:33:02 +0000 Received: (at 6933) by debbugs.gnu.org; 4 Sep 2010 18:33:00 +0000 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 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 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 Received: by furry (Postfix, from userid 1000) id C7FB6C018; Sat, 4 Sep 2010 14:34:47 -0400 (EDT) From: Chong Yidong References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> <83r5hjktvz.fsf@gnu.org> Date: Sat, 04 Sep 2010 14:34:47 -0400 In-Reply-To: <83r5hjktvz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Aug 2010 11:45:36 +0300") Message-ID: <87hbi59x2w.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) 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. From unknown Sun Jun 22 22:44:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Drew Adams" Subject: bug#6933: closed (Re: bug#6933: 24.0.50; fringe-mode value of `half' is broken) Message-ID: References: <83vd64ysw3.fsf@gnu.org> <97A7C2F12C894D59986BE445D664437A@us.oracle.com> X-Gnu-PR-Message: they-closed 6933 X-Gnu-PR-Package: emacs Reply-To: 6933@debbugs.gnu.org Date: Fri, 17 Sep 2010 21:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1284757982-26612-1" This is a multi-part message in MIME format... ------------=_1284757982-26612-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6933: 24.0.50; fringe-mode value of `half' is broken which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6933@debbugs.gnu.org. --=20 6933: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6933 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1284757982-26612-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6933-done) by debbugs.gnu.org; 17 Sep 2010 21:12:51 +0000 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 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 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) 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) Date: Fri, 17 Sep 2010 23:14:36 +0200 From: Eli Zaretskii Subject: Re: bug#6933: 24.0.50; fringe-mode value of `half' is broken In-reply-to: <87hbi59x2w.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il To: Chong Yidong Message-id: <83vd64ysw3.fsf@gnu.org> References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> <83r5hjktvz.fsf@gnu.org> <87hbi59x2w.fsf@stupidchicken.com> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6933-done Cc: 6933-done@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > 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). ------------=_1284757982-26612-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Aug 2010 00:17:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op96b-0002km-3y for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:17:09 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op96Y-0002kN-L5 for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:17:08 -0400 Received: from lists.gnu.org ([199.232.76.165]:35938) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Op97w-00057W-Iu for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:18:32 -0400 Received: from [140.186.70.92] (port=57857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op97q-0007ih-8w for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op97h-0005XB-Nc for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:24 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:29116) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op97h-0005Wv-Im for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:17 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o7S0IFI2000344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 28 Aug 2010 00:18:16 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o7RLM7rO028482 for ; Sat, 28 Aug 2010 00:18:14 GMT Received: from abhmt014.oracle.com by acsmt355.oracle.com with ESMTP id 540291961282954583; Fri, 27 Aug 2010 17:16:23 -0700 Received: from dradamslap1 (/10.159.220.83) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 27 Aug 2010 17:16:23 -0700 From: "Drew Adams" To: Subject: 24.0.50; fringe-mode value of `half' is broken Date: Fri, 27 Aug 2010 17:16:26 -0700 Message-ID: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActGRkEQa93fx+c6R7mkNjJ6R4EFFA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) emacs -Q M-x fringe-mode Enter `half'. The fringe values (both left and right) should each be 5, according to the code and comments. Instead, it is still 8, as shown by (frame-parameters). There is no difference in behavior between `half' and `default'. Dunno whether this is Windows-specific. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-16 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' ------------=_1284757982-26612-1-- From unknown Sun Jun 22 22:44:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Drew Adams" Subject: bug#6933: closed (Re: bug#6933: 24.0.50; fringe-mode value of `half' is broken) Message-ID: References: <83iq23z8j3.fsf@gnu.org> <97A7C2F12C894D59986BE445D664437A@us.oracle.com> X-Gnu-PR-Message: they-closed 6933 X-Gnu-PR-Package: emacs Reply-To: 6933@debbugs.gnu.org Date: Sat, 18 Sep 2010 09:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1284803222-25509-1" This is a multi-part message in MIME format... ------------=_1284803222-25509-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6933: 24.0.50; fringe-mode value of `half' is broken which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6933@debbugs.gnu.org. --=20 6933: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6933 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1284803222-25509-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6933-done) by debbugs.gnu.org; 18 Sep 2010 09:46:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owu0J-0006dF-Dp for submit@debbugs.gnu.org; Sat, 18 Sep 2010 05:46:43 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owu0I-0006dA-Ap for 6933-done@debbugs.gnu.org; Sat, 18 Sep 2010 05:46:43 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L8X00B00SIB4F00@a-mtaout20.012.net.il> for 6933-done@debbugs.gnu.org; Sat, 18 Sep 2010 11:49:00 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.210.149]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L8X00ARPSLMTO60@a-mtaout20.012.net.il>; Sat, 18 Sep 2010 11:48:59 +0200 (IST) Date: Sat, 18 Sep 2010 11:49:04 +0200 From: Eli Zaretskii Subject: Re: bug#6933: 24.0.50; fringe-mode value of `half' is broken In-reply-to: <6CD1E6A595C84B3FA8C2AFE4EAC376BE@us.oracle.com> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83iq23z8j3.fsf@gnu.org> References: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> <83r5hjktvz.fsf@gnu.org> <87hbi59x2w.fsf@stupidchicken.com> <83vd64ysw3.fsf@gnu.org> <6CD1E6A595C84B3FA8C2AFE4EAC376BE@us.oracle.com> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6933-done Cc: 6933-done@debbugs.gnu.org, cyd@stupidchicken.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: "Drew Adams" > Cc: <6933-done@debbugs.gnu.org> > Date: Fri, 17 Sep 2010 15:25:59 -0700 > > > I changed fringe.el to use (4 . 4). So this bug should be fixed now > > (revno 101464). > > What about the confusing name `default' and the doc? The original bug report was only about the effect of `half'. Documentation is an unrelated issue. > The doc string for the function `fringe-mode' mentions the rounding, but the doc > string for the option (customization) does not mention it. I added to the doc string of the defcustom a note about rounding. > `default' probably should be renamed. It is not just a default: `half' > presumably takes its meaning from the meaning of `default'. I suggested "full", > "whole", or "maximal", but perhaps something even better can be found. The > clearest doc about the fringe is the Elisp manual, and that refers to this as > the "standard" width. That is better than `default'. I don't see a good reason for renaming the symbolic values. Doing so will surely cause back-compatibility issues, so IMO we need a really good reason for such a change. > "standard fringe width, which is the width needed to display the fringe bitmaps" > > That suggests that it is a function of the fringe bitmaps, not a constant width. They are constant for the time being, but may change in the future, e.g. if we lift the current restriction of the display engine that limits window width to an integral multiple of the canonical character size. > But as I say, if `default' and `half' are, in their effect, just hard-coded > numeric widths, then let's get rid of those value-menu and `interactive' spec > choices. There is no need for a value of nil unless it actually does let the > fringe be different in different contexts (e.g. bitmap size). I don't think it's right to fix the choices on specific numbers. Symbolic values allow us to change the underlying implementation in the future without hurting compatibility. The fact that some of the documentation describes the current implementation is not necessarily a good reason to remove future extensibility. > Can we settle this? Feel free to submit a separate bug report. I'm not going to do anything about this at this time, for the reasons stated above. ------------=_1284803222-25509-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Aug 2010 00:17:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op96b-0002km-3y for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:17:09 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op96Y-0002kN-L5 for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:17:08 -0400 Received: from lists.gnu.org ([199.232.76.165]:35938) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Op97w-00057W-Iu for submit@debbugs.gnu.org; Fri, 27 Aug 2010 20:18:32 -0400 Received: from [140.186.70.92] (port=57857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op97q-0007ih-8w for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op97h-0005XB-Nc for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:24 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:29116) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op97h-0005Wv-Im for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 20:18:17 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o7S0IFI2000344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 28 Aug 2010 00:18:16 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o7RLM7rO028482 for ; Sat, 28 Aug 2010 00:18:14 GMT Received: from abhmt014.oracle.com by acsmt355.oracle.com with ESMTP id 540291961282954583; Fri, 27 Aug 2010 17:16:23 -0700 Received: from dradamslap1 (/10.159.220.83) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 27 Aug 2010 17:16:23 -0700 From: "Drew Adams" To: Subject: 24.0.50; fringe-mode value of `half' is broken Date: Fri, 27 Aug 2010 17:16:26 -0700 Message-ID: <97A7C2F12C894D59986BE445D664437A@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActGRkEQa93fx+c6R7mkNjJ6R4EFFA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) emacs -Q M-x fringe-mode Enter `half'. The fringe values (both left and right) should each be 5, according to the code and comments. Instead, it is still 8, as shown by (frame-parameters). There is no difference in behavior between `half' and `default'. Dunno whether this is Windows-specific. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-16 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' ------------=_1284803222-25509-1--