Linux

  1. Home
  2. Computing & Technology
  3. Linux

Insert in Picture

Emacs Documentation

By Juergen Haas, About.com

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.

* Emacs Manual Index

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux
  4. Linux Software
  5. Editors
  6. Emacs
  7. Emacs Documentation - Insert in Picture

©2009 About.com, a part of The New York Times Company.

All rights reserved.