From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "boris" Newsgroups: gmane.emacs.help Subject: Re: How to toggle to column operations instead of line operation? Date: Fri, 16 May 2003 17:40:30 +0800 Organization: Intel Corporation Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053079981 16318 80.91.224.249 (16 May 2003 10:13:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 10:13:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 12:13:00 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 19GcBv-0004Ab-00 for ; Fri, 16 May 2003 12:11:55 +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 19Gc62-0008WQ-00 for gnu-help-gnu-emacs@m.gmane.org; Fri, 16 May 2003 06:05:50 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-NNTP-Posting-Host: jhu9-mobl.sh.intel.com Original-X-Trace: news01.intel.com 1053078032 24503 172.16.211.65 (16 May 2003 09:40:32 GMT) Original-X-Complaints-To: usenet@news01.intel.com Original-NNTP-Posting-Date: Fri, 16 May 2003 09:40:32 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news-out.nuthinbutnews.com!propagator2-sterling!in.nntp.be!vienna7.his.com!attws1!ip.att.net!news01.intel.com!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:113305 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:9801 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9801 thanks a lot :) boris "Sergei Pokrovsky" wrote in message news:uusmrfgzin.fsf@nbsp.nsk.su... > >>>>> "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