From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sergei Pokrovsky Newsgroups: gmane.emacs.help Subject: Re: How to toggle to column operations instead of line operation? Date: 16 May 2003 13:46:08 +0700 Organization: Magistral Telecom JV. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053067917 4495 80.91.224.249 (16 May 2003 06:51:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 06:51:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 08:51:56 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19GZ3K-00016E-00 for ; Fri, 16 May 2003 08:50:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GZ34-0004g0-07 for gnu-help-gnu-emacs@m.gmane.org; Fri, 16 May 2003 02:50:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.sovam.com!news.siberia.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: ns.nbsp.nsk.su Original-X-Trace: news.siberia.net 1053067661 416 212.17.10.98 (16 May 2003 06:47:41 GMT) Original-X-Complaints-To: usenet@news.siberia.net Original-NNTP-Posting-Date: Fri, 16 May 2003 06:47:41 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Xref: shelby.stanford.edu gnu.emacs.help:113299 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9795 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9795 >>>>> "boris" == boris 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