From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.help Subject: How to do this moving in emacs? Date: Tue, 15 Jul 2008 07:42:31 +0800 Message-ID: <871w1w2ftk.fsf@gentoo.hasee.cpu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216080162 22196 80.91.229.12 (15 Jul 2008 00:02:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2008 00:02:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 15 02:03:29 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIY0Z-0007Bq-RF for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jul 2008 02:03:08 +0200 Original-Received: from localhost ([127.0.0.1]:51839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIXzh-0006aw-Rs for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jul 2008 20:02:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIXyR-00066c-SB for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 20:00:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIXyQ-00065G-1R for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 20:00:55 -0400 Original-Received: from [199.232.76.173] (port=48978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIXyP-00064n-7E for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 20:00:53 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:33721 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIXyO-0000iI-Ip for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 20:00:52 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KIXyJ-0002x8-UN for help-gnu-emacs@gnu.org; Tue, 15 Jul 2008 00:00:48 +0000 Original-Received: from 116.253.21.104 ([116.253.21.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jul 2008 00:00:47 +0000 Original-Received: from anhnmncb by 116.253.21.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jul 2008 00:00:47 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.253.21.104 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:VTm2HSLVjj0f3hb0PElKTKZdRe8= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55579 Archived-At: 1) M-f/b is for forward/backward words which is separated by non-charactor. Say, -->|-->|--->|--->| foo-bar foo2-bar2 |<--|<--|<---|<--- How can I make a function to move forward/backward words which are separated by space? Say, ------>|-------->| foo-bar foo2-bar2 |<------|<-------- 2) M-f is to forward to a word's ending, M-b is to beginning. Now I want to bind M-F to forward to a word's beginning, M-B is for ending, how to achieve it? Say, ---->| foo bar |<---- -- Regards, anhnmncb gpg key: 44A31344