emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Field motion


From: Miles Bader
Subject: Re: Field motion
Date: Sat, 30 Apr 2005 07:49:19 +0900

On 4/29/05, Johan Bockgård <address@hidden> wrote:
> What's the rationale behind how the commands beginning-of-line,
> end-of-line, move-beginning-of-line and move-end-of-line deal with
> fields?

To make fields seem like "fields" -- that is, a coherent "input
region" in the midst of non-input text.  It's a harder problem in
Emacs than in other UIs, because Emacs allows you to move the point
outside the input fields into the surrounding text, and so must deal
with some situations where the correct action isn't entirely obvious. 
There are also some problems due to the implementation.

However, note that an important part of making fields work right is to
set the input stickiness correctly:  the field property should be both
front- and rear-sticky.  Much of the weird behavior you noticed seems
to be because you didn't do this in your test case.

-Miles
-- 
Do not taunt Happy Fun Ball.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]