From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Word wrapping and long lines Date: Fri, 19 Sep 2008 04:37:49 +0200 Message-ID: <48D3107D.80002@gmail.com> References: <48D2D293.1050409@gmail.com> <87vdwt3uck.fsf@cyd.mit.edu> <48D2EB33.7000104@gmail.com> <877i99kkg0.fsf@cyd.mit.edu> <48D30073.10108@gmail.com> <87y71ogblz.fsf@catnip.gol.com> <48D3086E.9070902@gmail.com> <48D30923.1030800@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221791909 29486 80.91.229.12 (19 Sep 2008 02:38:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 02:38:29 +0000 (UTC) Cc: Chong Yidong , Emacs Devel To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 19 04:39:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KgVtu-0002PK-S5 for ged-emacs-devel@m.gmane.org; Fri, 19 Sep 2008 04:39:19 +0200 Original-Received: from localhost ([127.0.0.1]:37849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgVss-00076S-HI for ged-emacs-devel@m.gmane.org; Thu, 18 Sep 2008 22:38:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgVsn-000763-QK for emacs-devel@gnu.org; Thu, 18 Sep 2008 22:38:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgVsm-00075r-82 for emacs-devel@gnu.org; Thu, 18 Sep 2008 22:38:09 -0400 Original-Received: from [199.232.76.173] (port=37832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgVsm-00075n-2J for emacs-devel@gnu.org; Thu, 18 Sep 2008 22:38:08 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:48189) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgVse-0001dy-Tq; Thu, 18 Sep 2008 22:38:01 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64565 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KgVsZ-0003P9-4K; Fri, 19 Sep 2008 04:37:55 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080918-0, 2008-09-18), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KgVsZ-0003P9-4K. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KgVsZ-0003P9-4K 8c95aba921800b552c8f8bc66a1b4bc7 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103957 Archived-At: Miles Bader wrote: > "Lennart Borgman (gmail)" writes: >>>> (2) Having the margin be on the other side of the fringe is kind of >>>> annoying; personally, when I want a bunch of whitespace on the right, I >>>> want it to be whitespace, without the "barrier" the fringe represents. >>> I do not know what to do about the barrier, but this takes care of the >>> left margin. >> But ... - why do you car about the barrier? I mean there is no new line >> characters involved. The text is "floating". > > It's visually distracting. I want the fringe to be exactly that -- a > fringe, on the edge of the display, not in the middle of my window. > > I think the essential problem is that putting the margin areas on the > opposite side of the fringe from the text was just kind of stupid in the > first place. I dunno why that was done... > > Given that almost no code seems to use the margins, I think it might be > reasonable to change their locations without bothering about backward > compatibility. Yes, I can see what you mean. I found another small problem. There is a confusion between buffer and window margins here. The doc says that left-margin-width and dito right may be nil. However they seem to be 0 by default, but when displaying a buffer in a window then window-margins returns (nil). This prevents using the buffer values in a meaningful way in code like that I sent here.