From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Hl-line and visual-line Date: Mon, 24 May 2010 18:47:03 -0400 Message-ID: References: <45790724-63FC-4B80-A70D-8CD49A92FEE3@gmail.com> <83r5l2o7fx.fsf@gnu.org> <47101594-5A7C-4FF1-8C58-C77AF33F35F2@gmai0l.com> <83ljbanytd.fsf@gnu.org> <4D3EC595-2FF1-42BC-8DB3-26F3A91501D4@gmail.com> <83fx1hnp1u.fsf@gnu.org> <83aarpndk9.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274741253 28522 80.91.229.12 (24 May 2010 22:47:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 May 2010 22:47:33 +0000 (UTC) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 25 00:47:32 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 1OGgQj-00006G-Be for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 00:47:29 +0200 Original-Received: from localhost ([127.0.0.1]:48434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGgQi-00014u-Q4 for ged-emacs-devel@m.gmane.org; Mon, 24 May 2010 18:47:28 -0400 Original-Received: from [140.186.70.92] (port=42410 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGgQY-00011S-0H for emacs-devel@gnu.org; Mon, 24 May 2010 18:47:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGgQT-0002Xi-8F for emacs-devel@gnu.org; Mon, 24 May 2010 18:47:17 -0400 Original-Received: from mail-qy0-f187.google.com ([209.85.221.187]:37807) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGgQN-0002XM-7U; Mon, 24 May 2010 18:47:07 -0400 Original-Received: by qyk17 with SMTP id 17so5437099qyk.12 for ; Mon, 24 May 2010 15:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=8pehWHR6Xf9FGmrGAYh7YzzJzWqJdv5y0BbDWMgWS8Y=; b=fCH5fsYHhrNzk/WiL5+OkfgoV3vEMXXFd7KI7zgSP07kys7r0XeXerGPzUJW3b196+ D3SATrlJFVBjqonmcxNJoMENefaOK0/09vppBW7lzwSeVOe2jLf5wG0/smIRQovoP1lE LgqLRLqRC5rM5ijy3QxUn52icn0OeSQtGG/2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=UbeYpTFmB0bJ2WOQaWIBFlPl4pv4oxuXf2Mlovzz9Ncz/xQRlgPcmP4HHi07AexTZi KhOKFYpG9Eb9syKw6B5J7pnC1KMt2vhYXAvnaah7ChtnV2Tr/Ut9hDNEFQNuc/aLQ1zX WsEAGPONZliq3ZBgX75pKt0zaENA4w+nl6fug= Original-Received: by 10.224.79.22 with SMTP id n22mr3442677qak.258.1274741225928; Mon, 24 May 2010 15:47:05 -0700 (PDT) Original-Received: from [192.168.1.17] (pool-96-235-7-98.pitbpa.east.verizon.net [96.235.7.98]) by mx.google.com with ESMTPS id 23sm2848240qyk.7.2010.05.24.15.47.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 May 2010 15:47:05 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1078) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:125217 Archived-At: On May 24, 2010, at 6:37 PM, Lennart Borgman wrote: >>=20 >> is your definition of `bovl' and `eovl'. >=20 > I mean the same difference as between beginning-of-line and > line-beginning-position (point-at-bol). (I prefer the shorter versions > here. They are easier to read and easy to understand.) >=20 > The first one moves point, but the second does not. (save-excursion (beginning-of-visual-line) (point)) The presence of such functions may reinforce the impression that they = could be used as "beg" and "end" parameters to any other function that = will process the text between "beg" and "end", in order to make it = operate on the visual line. This works for L2R or even R2L text, but as this thread has made clear, = not in the bidirectional case.=20 So one would want a warning in their DOC strings, if those functions are = needed.