www.delorie.com/gnu/docs/emacs/emacs_360.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Y.2 Controlling Motion after Insert

Since "self-inserting" characters in Picture mode overwrite and move point, there is no essential restriction on how point should be moved. Normally point moves right, but you can specify any of the eight orthogonal or diagonal directions for motion after a "self-inserting" character. This is useful for drawing lines in the buffer.

C-c <
Move left after insertion (picture-movement-left).
C-c >
Move right after insertion (picture-movement-right).
C-c ^
Move up after insertion (picture-movement-up).
C-c .
Move down after insertion (picture-movement-down).
C-c `
Move up and left ("northwest") after insertion (picture-movement-nw).
C-c '
Move up and right ("northeast") after insertion (picture-movement-ne).
C-c /
Move down and left ("southwest") after insertion
(picture-movement-sw).
C-c \
Move down and right ("southeast") after insertion
(picture-movement-se).

Two motion commands move based on the current Picture insertion direction. The command C-c C-f (picture-motion) moves in the same direction as motion after "insertion" currently does, while C-c C-b (picture-motion-reverse) moves in the opposite direction.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003