all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: lorentey@elte.hu (Lőrentey Károly)
Cc: emacs-devel@gnu.org
Subject: Re: Something is rotten with end-of-line and move-end-of-line
Date: Tue, 29 Nov 2005 10:41:09 +0100	[thread overview]
Message-ID: <lorentey.g.e.devel.878xv7iyfe.elte@walrus.fnord.hu> (raw)
In-Reply-To: <E1Egvti-0004jj-AC@fencepost.gnu.org> (Richard M. Stallman's message of "Mon, 28 Nov 2005 22:11:14 -0500")

Richard Stallman <rms@gnu.org> writes:
>     `move-beginning-of-line' is similarly broken, but only if the field
>     property isn't front-sticky.  Otherwise both `beginning-of-line' and
>     `move-beginning-of-line' stop at the field boundary, and they stay
>     there if repeated.
>
> If move-beginning-of-line stops at a field beginning, I think that is
> a bug.  Would you like to investigate it?

Sure, we just need to remove the call to constrain-to-field in its
definition.  However, I would argue it's not a bug, but an important
feature: when I use an editable field, I have come to expect C-a to
jump back only to the beginning of the field, not all the way back to
the first column.  This is especially useful in a customize buffer.

Note that the original `beginning-of-line' also stops at field
boundaries.

(By symmetry, I also expect C-e to stop at the end of the field, but
despite the docstring of `move-end-of-line' that doesn't happen.)

-- 
Károly

  reply	other threads:[~2005-11-29  9:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25  1:09 Something is rotten with end-of-line and move-end-of-line David Kastrup
2005-11-28  4:46 ` Richard M. Stallman
2005-11-28 11:35   ` David Kastrup
2005-11-28 19:52     ` Eli Zaretskii
2005-11-28 21:01     ` Richard M. Stallman
2005-11-28 16:10   ` Lőrentey Károly
2005-11-28 16:13     ` Lőrentey Károly
2005-11-28 16:53       ` David Kastrup
2005-11-28 20:17         ` Lőrentey Károly
2005-11-28 21:46           ` David Kastrup
2005-11-28 22:39             ` Lőrentey Károly
2005-11-28 23:10               ` David Kastrup
2005-11-28 22:24           ` Lőrentey Károly
2005-11-29  3:11           ` Richard M. Stallman
2005-11-29  9:41             ` Lőrentey Károly [this message]
2005-11-29  3:11     ` Richard M. Stallman

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

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

  git send-email \
    --in-reply-to=lorentey.g.e.devel.878xv7iyfe.elte@walrus.fnord.hu \
    --to=lorentey@elte.hu \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.