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

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

Field motion


From: Johan Bockgård
Subject: Field motion
Date: Thu, 28 Apr 2005 20:49:47 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

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?


Evaluate the following

(progn
  (dotimes (n 3)
    (insert "nnn"
            (propertize "FFF" 'field 'foo)))
  (insert "nnn"))

to insert this text (where F's have a field property and n's do not):

nnnFFFnnnFFFnnnFFFnnn
          ^               Starting from this point,
                          the different commands, when repeated, stop:
^     ^  ^                beginning-of-line here,
^     ^                   move-beginning-of-line here,
            ^        ^    end-of-line here, and
                     ^    move-end-of-line here, respectively.


In GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, X toolkit)
 of 2005-04-07 on linus011.dd.chalmers.se
configured using `configure '--prefix=/users/dd/bojohan/arch/p4''

-- 
Johan Bockgård




reply via email to

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