From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: Understanding Word Boundaries Date: Fri, 18 Jun 2010 00:06:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <296085af-7772-47f1-a030-18c33f4435b1@a39g2000prb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1291843600 7325 80.91.229.12 (8 Dec 2010 21:26:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 21:26:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 22:26:33 2010 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.69) (envelope-from ) id 1PQRWz-00013u-2r for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:26:33 +0100 Original-Received: from localhost ([127.0.0.1]:34661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQRWy-0007Eh-7v for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 16:26:32 -0500 Original-Path: usenet.stanford.edu!ctu-gate!news.nctu.edu.tw!newsfeed.berkeley.edu!ucberkeley!feedme.ziplink.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!s4g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 29 Original-NNTP-Posting-Host: 67.180.85.8 Original-X-Trace: posting.google.com 1276844791 3177 127.0.0.1 (18 Jun 2010 07:06:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 18 Jun 2010 07:06:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s4g2000prh.googlegroups.com; posting-host=67.180.85.8; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:179086 comp.emacs:100089 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:76044 Archived-At: doesdid some more study on this. wrote up a cleaned up version here: http://xahlee.blogspot.com/2010/06/text-editors-cursor-movement-behavior.html here's a excerpt of the question: ------------------------- Now, create a file of this content for more test. something in the water does not compute something !! in @@ the ## water $$ does %% not ^^ compute something!!in@@the##water$$does%%not^^compute (defun insert-p-tag () "Insert

at cursor point." (interactive) (insert "

") (backward-char 4)) for (my $i = 0; $i < 9; $i++) { print "done!";} a b c d e Answer this: * Does the positions the cursor stop depends on whether you are moving left or right? * Does the word motion behavior change depending on what language mode you are in? * What is your editor? on what OS? Thanks. Xah