unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to toggle to column operations instead of line operation?
@ 2003-05-16  6:04 boris
  2003-05-16  6:46 ` Sergei Pokrovsky
  0 siblings, 1 reply; 3+ messages in thread
From: boris @ 2003-05-16  6:04 UTC (permalink / raw)


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

any hints? thanks a lot.

boris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to toggle to column operations instead of line operation?
  2003-05-16  6:04 How to toggle to column operations instead of line operation? boris
@ 2003-05-16  6:46 ` Sergei Pokrovsky
  2003-05-16  9:40   ` boris
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Pokrovsky @ 2003-05-16  6:46 UTC (permalink / raw)


>>>>> "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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to toggle to column operations instead of line operation?
  2003-05-16  6:46 ` Sergei Pokrovsky
@ 2003-05-16  9:40   ` boris
  0 siblings, 0 replies; 3+ messages in thread
From: boris @ 2003-05-16  9:40 UTC (permalink / raw)


thanks a lot :)

boris

"Sergei Pokrovsky" <pok@none.nowhere.invalid> wrote in message
news:uusmrfgzin.fsf@nbsp.nsk.su...
> >>>>> "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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-16  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-16  6:04 How to toggle to column operations instead of line operation? boris
2003-05-16  6:46 ` Sergei Pokrovsky
2003-05-16  9:40   ` boris

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).