From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lorentey@elte.hu (=?utf-8?Q?L=C5=91rentey_K=C3=A1roly?=) Newsgroups: gmane.emacs.devel Subject: Re: Something is rotten with end-of-line and move-end-of-line Date: Mon, 28 Nov 2005 17:10:00 +0100 Message-ID: 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 1133194955 23360 80.91.229.2 (28 Nov 2005 16:22:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 16:22:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 17:22:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EglhR-00089L-JY for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2005 17:17:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EglhQ-0004tN-L6 for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2005 11:17:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EglZY-00021a-WD for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:09:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EglZW-00020p-Mt for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:09:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EglZW-00020g-Il for emacs-devel@gnu.org; Mon, 28 Nov 2005 11:09:42 -0500 Original-Received: from [212.92.23.158] (helo=ninsei.hu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EglZS-0007nT-Mh; Mon, 28 Nov 2005 11:09:39 -0500 Original-Received: from walrus (walrus.inf.elte.hu [157.181.166.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chatsubo.ninsei.hu (Postfix) with ESMTP id 22C0B1AC97; Mon, 28 Nov 2005 17:09:36 +0100 (CET) Original-Received: by walrus (Postfix, from userid 1000) id 8D16076A71; Mon, 28 Nov 2005 17:10:00 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Sun, 27 Nov 2005 23:46:39 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.52 (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:46704 Archived-At: Richard Stallman writes: > However this is supposed to be resolved: it does not appear to make > much sense to have both move-end-of-line as well as end-of-line do > exactly the same thing, one in Lisp, one in C. > > They are not the same; I wrote move-end-of-line because it needs to be > different. It was to fix a bug. > > Unfortunately, I don't remember what the difference is. 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: (let ((s "Test Field Test")) (put-text-property 5 10 'field 'foo s) (insert s)) Try pressing C-e and End inside "Field" to see the difference. --=20 K=C3=A1roly