From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Something is rotten with end-of-line and move-end-of-line Date: Mon, 28 Nov 2005 17:53:41 +0100 Message-ID: <85br04btnu.fsf@lola.goethe.zz> References: <85y83dleho.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1133197314 524 80.91.229.2 (28 Nov 2005 17:01:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 17:01:54 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 18:01:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgmGb-0007U9-UK for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2005 17:54:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgmGb-0006cQ-Cu for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2005 11:54:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgmG8-0006Wb-E1 for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:53:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgmG7-0006W3-88 for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:53:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgmG6-0006Vv-Pf for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:53:42 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EgmG7-0004eU-1K for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:53:43 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1EgmFy-0007R2-5n; Mon, 28 Nov 2005 11:53:34 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 15F0D1D5981E; Mon, 28 Nov 2005 17:53:41 +0100 (CET) Original-To: lorentey@elte.hu (=?utf-8?Q?L=C5=91rentey_K=C3=A1roly?=) In-Reply-To: (=?utf-8?Q?L=C5=91rentey_K=C3=A1roly's?= message of "Mon, 28 Nov 2005 17:13:51 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:46706 Archived-At: lorentey@elte.hu (L=C5=91rentey K=C3=A1roly) writes: > L=C5=91rentey K=C3=A1roly writes: >> The difference (a difference?) is inside fields: >> `{beginning,end}-of-line' moves to the beginning/end of the field, >> while `move-{beginning,end}-of-line' stops at the field boundaries: > > Sorry, I meant `move-{beginning,end}-of-line' goes to the actual line end= s. Both doc strings claim to merely go to the field boundaries: beginning-of-line is an interactive built-in function in `C source code'. (beginning-of-line &optional N) Move point to beginning of current line. With argument N not nil or 1, move forward N - 1 lines first. If point reaches the beginning or end of buffer, it stops there. This command does not move point across a field boundary unless doing so would move beyond there to a different line; If N is nil or 1, and point starts at a field boundary, point does not move. To ignore field boundaries, either bind `inhibit-field-text-motion' to t, or use the `forward-line' function instead. For instance, `(forward-line 0)' does the same thing as `(beginning-of-line)', except that it ignores field boundaries. [back] move-beginning-of-line is an interactive compiled Lisp function in `simple.= el'. It is bound to . (move-beginning-of-line ARG) Move point to beginning of current display line. With argument ARG not nil or 1, move forward ARG - 1 lines first. If point reaches the beginning or end of buffer, it stops there. To ignore intangibility, bind `inhibit-point-motion-hooks' to t. This command does not move point across a field boundary unless doing so would move beyond there to a different line; if ARG is nil or 1, and point starts at a field boundary, point does not move. To ignore field boundaries bind `inhibit-field-text-motion' to t. [back] --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum