From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Line-wrapping of 80 character long lines Date: 17 Jan 2004 00:30:34 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3DABAFF2-060B-11D7-99B1-0003936BB676@henrikholm.com> <84d6ok1i2i.fsf@lucy.cs.uni-dortmund.de> <5xadjo6ros.fsf@kfs2.cua.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1074292331 25510 80.91.224.253 (16 Jan 2004 22:32:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2004 22:32:11 +0000 (UTC) Cc: Henrik Holm , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jan 16 23:32:03 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AhcVX-0007dM-00 for ; Fri, 16 Jan 2004 23:32:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AhcVX-0002S8-00 for ; Fri, 16 Jan 2004 23:32:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhcUv-0003LI-9E for emacs-devel@quimby.gnus.org; Fri, 16 Jan 2004 17:31:25 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AhcUp-0003Ij-Kx for emacs-devel@gnu.org; Fri, 16 Jan 2004 17:31:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AhcUF-0002qk-Ht for emacs-devel@gnu.org; Fri, 16 Jan 2004 17:31:15 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhcUE-0002qN-RQ for emacs-devel@gnu.org; Fri, 16 Jan 2004 17:30:42 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 9BCB35EE200; Fri, 16 Jan 2004 23:30:39 +0100 (CET) Original-To: kai.grossjohann@uni-duisburg.de (=?utf-8?b?S2FpIEdyb8Ofam9oYW5u?=) In-Reply-To: <5xadjo6ros.fsf@kfs2.cua.dk> Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19208 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19208 storm@cua.dk (Kim F. Storm) writes: > kai.grossjohann@uni-duisburg.de (Kai Gro=C3=9Fjohann) writes: >=20 > > Henrik Holm writes: > >=20 > > > I really like the feature of Emacs 21 and higher, that the fringes are > > > used instead of the \ character to indicate when a line has been > > > wrapped. > > > > > > However, there is one part of this behavior that I find a bit > > > misleading: If a line is exactly 80 characters, it gets "wrapped" > > > -- even if it is not needed. (This applies of course when my Emacs > > > window is 80 characters. If the Emacs window is narrrower, for > > > instance 20 cols as in the example below, the behavior will be > > > similar.) > >=20 > > The problem is where to put the cursor. When point is at the end of > > the line, where do you display the cursor? > >=20 > > One solution is to be able to display the cursor in the right > > fringe. Another possibility might be to display the cursor as a > > narrow vertical bar to the right of the last character. I just installed patches to CVS emacs to let an "exact width" line flow into the right fringe, and put the cursor there when point is at the end of such a line. > Also, there's no guarantee that there is a right fringe, or whether it > has sufficient width to show a cursor. But for most uses, I think it > makes good sense to display the cursor in the fringe. It works only if there is a non-zero width fringe on the right. Otherwise it reverts to breaking the line as it used to. --=20 Kim F. Storm http://www.cua.dk