From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: visual line mode Date: Sat, 13 Oct 2012 09:36:59 +0200 Message-ID: <83d30m7rhg.fsf@gnu.org> References: <1350025008261-266925.post@n5.nabble.com> <838vbc85dy.fsf@gnu.org> <87a9vsjcsl.fsf@thinkpad.tsdh.de> <1350038115945-266940.post@n5.nabble.com> <7D26BCC2-3CEA-4109-878F-FEB13D2EED2B@Web.DE> <1350038885303-266943.post@n5.nabble.com> <395879E8-FD2F-4487-850D-0B2CECE37DF5@Web.DE> <83wqyv7rao.fsf@gnu.org> <78965E5B-44D5-45E7-9366-E7FEC4D0FA7A@Web.DE> <83ipaf7ivy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1350113840 7600 80.91.229.3 (13 Oct 2012 07:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2012 07:37:20 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 13 09:37:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TMwHn-00074c-TS for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Oct 2012 09:37:28 +0200 Original-Received: from localhost ([::1]:55933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMwHh-0004Iu-60 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Oct 2012 03:37:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMwHc-0004Im-25 for Help-gnu-emacs@gnu.org; Sat, 13 Oct 2012 03:37:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMwHa-0001xI-W9 for Help-gnu-emacs@gnu.org; Sat, 13 Oct 2012 03:37:15 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:33831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMwHa-0001wv-OW for Help-gnu-emacs@gnu.org; Sat, 13 Oct 2012 03:37:14 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MBT00900MG0IA00@a-mtaout22.012.net.il> for Help-gnu-emacs@gnu.org; Sat, 13 Oct 2012 09:36:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBT009OMMHKI100@a-mtaout22.012.net.il> for Help-gnu-emacs@gnu.org; Sat, 13 Oct 2012 09:36:56 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87226 Archived-At: > From: Peter Dyballa > Date: Fri, 12 Oct 2012 23:40:33 +0200 > Cc: Help-gnu-emacs@gnu.org > > Narrow the width of the window with text in Latin (left-to-right) script so that visual-line-mode puts long lines of text onto at least two lines. Now position the text cursor on the end of some line, say, at column 40 or 50, near an area where lines are broken onto at least two lines. Then start to move the text cursor into that area. On lines longer that those 40 or 50 columns it will stay in the starting column, on lines shorter it will reach the end of the line. Broken lines are visited more than once. > > I prefer that the cursor stays at the line endings or visits broken lines only once. But that's exactly what visual-line-mode is about: it treats every _screen_ line as if it were a physical line. IOW, this cursor motion is a major, perhaps the main, feature of visual-line-mode. That's how other applications behave, and that's why most users like visual-line-mode. As for the cursor not jumping to the end of line: Emacs cannot put the cursor where there's no text. This is a basic design of the cursor display in Emacs. The only exception I know of is picture-mode, and that only happens there because AFAIR Emacs adds spaces to prolong the line to the cursor position.