unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: a simple convenience function
Date: Tue, 16 Nov 2004 18:14:27 +0100	[thread overview]
Message-ID: <86is8567ik.fsf@ketchup.de.uu.net> (raw)
In-Reply-To: 873bza7lih.fsf@confusibombus.emacswiki.org

Alex Schroeder <alex@emacswiki.org> writes:

> Kai Grossjohann <kai@emptydomain.de> 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

  parent reply	other threads:[~2004-11-16 17:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 21:36 a simple convenience function Paul Pogonyshev
2004-11-14 23:34 ` Miles Bader
2004-11-15  0:22   ` Lennart Borgman
2004-11-15  1:49     ` Paul Pogonyshev
2004-11-15  5:01       ` Dhruva Krishnamurthy
2004-11-15  7:28       ` Lennart Borgman
2004-11-15  1:50   ` Paul Pogonyshev
2004-11-15  6:45 ` Thien-Thi Nguyen
2004-11-15  9:29 ` Kai Grossjohann
2004-11-15 23:14   ` Alex Schroeder
2004-11-15 23:27     ` Lennart Borgman
2004-11-16 17:11     ` Kai Grossjohann
2004-11-16 17:14     ` Kai Grossjohann [this message]
2004-11-16 17:20     ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86is8567ik.fsf@ketchup.de.uu.net \
    --to=kai@emptydomain.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).