unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sergei Pokrovsky <pok@none.nowhere.invalid>
Subject: Re: How to toggle to column operations instead of line operation?
Date: 16 May 2003 13:46:08 +0700	[thread overview]
Message-ID: <uusmrfgzin.fsf@nbsp.nsk.su> (raw)
In-Reply-To: ba1v12$ire$1@news01.intel.com

>>>>> "boris" == boris  <boris.hu@intel.com> writes:

  boris> How to toggle to column operation in emacs? It means I could move the cursor
  boris> in one special column instead of in one line. I searched many documents and
  boris> tried many ways, but failed.

  boris> any hints? thanks a lot.

M-x picture mode
C-c .

,----
| picture-mode is an interactive compiled Lisp function in `picture'.
| (picture-mode)
| 
| Switch to Picture mode, in which a quarter-plane screen model is used.
| Printing characters replace instead of inserting themselves with motion
| afterwards settable by these commands:
|   C-c <	  Move left after insertion.
|   C-c >	  Move right after insertion.
|   C-c ^	  Move up after insertion.
|   C-c .	  Move down after insertion.
|   C-c `	  Move northwest (nw) after insertion.
|   C-c '	  Move northeast (ne) after insertion.
|   C-c /	  Move southwest (sw) after insertion.
|   C-c \   Move southeast (se) after insertion.
|   C-u C-c `  Move westnorthwest (wnw) after insertion.
|   C-u C-c '  Move eastnortheast (ene) after insertion.
|   C-u C-c /  Move westsouthwest (wsw) after insertion.
|   C-u C-c \  Move eastsoutheast (ese) after insertion.
| The current direction is displayed in the mode line.  The initial
| direction is right.  Whitespace is inserted and tabs are changed to
| spaces when required by movement.  You can move around in the buffer
| with these commands:
|   M-x picture-move-down	  Move vertically to SAME column in previous line.
|   M-x picture-move-up	  Move vertically to SAME column in next line.
|   M-x picture-end-of-line	  Move to column following last non-whitespace character.
|   M-x picture-forward-column	  Move right inserting spaces if required.
|   M-x picture-backward-column	  Move left changing tabs to spaces if required.
|   C-c C-f Move in direction of current picture motion.
|   C-c C-b Move in opposite direction of current picture motion.
|   Return  Move to beginning of next line.
`----

-- 
Sergei

  reply	other threads:[~2003-05-16  6:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16  6:04 How to toggle to column operations instead of line operation? boris
2003-05-16  6:46 ` Sergei Pokrovsky [this message]
2003-05-16  9:40   ` boris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uusmrfgzin.fsf@nbsp.nsk.su \
    --to=pok@none.nowhere.invalid \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).