From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: A few simple questions Date: Sat, 10 May 2003 16:33:52 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84smrmooq7.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052577718 9620 80.91.224.249 (10 May 2003 14:41:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 10 May 2003 14:41:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 10 16:41:57 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 19EVXx-0002Uz-00 for ; Sat, 10 May 2003 16:41:57 +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 19EVWu-0003AH-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 10 May 2003 10:40:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!pd951fb3b.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: pd951fb3b.dip.t-dialin.net (217.81.251.59) Original-X-Trace: fu-berlin.de 1052577394 20817418 217.81.251.59 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:f9JufN/6geLCkHgcqLVYCQ1RqHk= Original-Xref: shelby.stanford.edu gnu.emacs.help:113024 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:9519 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9519 Wang Yin writes: > 1. How can I do something like f command in vi? When I'm looking at a > line, I want to move to a charater, say 'a'. How can I do something > like "fa" in Emacs, and how to I repeat this command to go to > following a's? People have mentioned C-s before. It's not the same as vi's f command, but maybe good enough. > 2. How do I move like "W" in vi. That is, move to the next white space > delimited "Word"? I think this doesn't exist in Emacs. Emacs has the equivalent of "w", but no equivalent of "W". Maybe C-M-f comes close: whereas M-f would stop at the dash in foo-bar, C-M-f would not. (M-f is the Emacs equivalent of vi's "w".) > 3. How do I change DOS lineend file into UNIX lineend file quickly? I > don't like to C-x RET c ....-unix C-x C-f...! Emacs automatically recognizes the EOL convention of files it reads. So, normally, C-x C-f is enough. After that, saving with C-x C-s preserves the EOL convention. -- file-error; Data: (Opening input file no such file or directory ~/.signature)