From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Hl-line and visual-line Date: Sun, 23 May 2010 20:26:42 +0300 Message-ID: <83r5l2o7fx.fsf@gnu.org> References: <45790724-63FC-4B80-A70D-8CD49A92FEE3@gmail.com> <8339xmqob9.fsf@gnu.org> <94F28B33-A04E-4511-B93D-E5471EE4D0DE@gmail.com> <201005210834.28589.tassilo@member.fsf.org> <83wruxpt2z.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1274635618 9471 80.91.229.12 (23 May 2010 17:26:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 17:26:58 +0000 (UTC) Cc: tassilo@member.fsf.org, emacs-devel@gnu.org To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 23 19:26:56 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OGEwy-0004ov-7Y for ged-emacs-devel@m.gmane.org; Sun, 23 May 2010 19:26:56 +0200 Original-Received: from localhost ([127.0.0.1]:60020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGEwx-0000Ag-I0 for ged-emacs-devel@m.gmane.org; Sun, 23 May 2010 13:26:55 -0400 Original-Received: from [140.186.70.92] (port=53961 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGEwr-0000AO-Al for emacs-devel@gnu.org; Sun, 23 May 2010 13:26:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGEwp-0005FY-Og for emacs-devel@gnu.org; Sun, 23 May 2010 13:26:49 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:54260) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGEwp-0005FF-Hp for emacs-devel@gnu.org; Sun, 23 May 2010 13:26:47 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L2V00G00UCBGU00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 23 May 2010 20:26:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.45.48]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L2V00GTSV4FUB00@a-mtaout21.012.net.il>; Sun, 23 May 2010 20:26:40 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:125140 Archived-At: > From: David Reitter > Date: Fri, 21 May 2010 10:22:22 -0400 > Cc: Tassilo Horn , > emacs-devel@gnu.org > > So yes, let's either fix beginning/end-of-visual-line, or provide a function that does the right thing, and base hl-line on that (in visual-line-mode). No one objected, so I guess this is a GO. I have one request, though: could you (or someone else) please post requirements for what these functions should do? That is, of course, trivial with unidirectional text, but what about reordered text? Let's say we have buffer text abcde ABCDE FGHIJ xyz which will be displayed under Visual Line mode as abcde JIHGF EDCBA xyz Where should beginning/end-of-visual-line put point in each one of these two screen lines? (When you answer this question, please think about the possible uses of these functions: we need to come up with an answer that is useful in their various use-cases.) Thanks.