From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: a simple convenience function Date: Tue, 16 Nov 2004 18:14:27 +0100 Message-ID: <86is8567ik.fsf@ketchup.de.uu.net> References: <200411142336.00131.pogonyshev@gmx.net> <86pt2fo3yb.fsf@ketchup.de.uu.net> <873bza7lih.fsf@confusibombus.emacswiki.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100625738 18354 80.91.229.6 (16 Nov 2004 17:22:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 17:22:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 16 18:22:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CU71u-0001Pw-00 for ; Tue, 16 Nov 2004 18:22:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU7Af-0003ED-N1 for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2004 12:31:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CU7A3-00033Y-N4 for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:30:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CU7A2-00032w-Ci for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:30:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU7A2-00032r-2W for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:30:34 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CU71B-0006M4-RF for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:21:26 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CU71B-0005bT-00 for ; Tue, 16 Nov 2004 18:21:25 +0100 Original-Received: from ketchup.de.uu.net ([139.4.38.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 18:21:25 +0100 Original-Received: from kai by ketchup.de.uu.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 18:21:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ketchup.de.uu.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Gh5mkHrPCuGR3xs1KENVS1jsjqI= 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: main.gmane.org gmane.emacs.devel:29939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29939 Alex Schroeder writes: > Kai Grossjohann writes: > >> What do others think about the tradeoff between the "never move right" >> and the "make behavior predictable without looking at text" >> constraints? > > I really like your predictable behavior. I never thought about it > that way, but now that you put it this way, I think "dwim" in this > situation should be independent of where point is in the text. It > should depend on what the user did, instead. The only problem is that if you always move to the beginning of the text on the first press, then C-a might move right. And that is very strange in left-to-right languages. Gnus has dwimish C-a in message-mode: It goes to the beginning of the header text, or to the beginning of the line, when in a message header. The Gnus behavior is also to move right in some circumstances. It's strange. Kai