From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uday S Reddy Newsgroups: gmane.emacs.help Subject: Re: Understanding Word Boundaries Date: Thu, 17 Jun 2010 11:43:16 +0100 Organization: Janet Usenet Reading Service. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291836362 3283 80.91.229.12 (8 Dec 2010 19:26:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 19:26:02 +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 20:25:58 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 1PQPeG-0000gJ-D5 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:25:56 +0100 Original-Received: from localhost ([127.0.0.1]:39401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQPeF-0007kB-MC for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 14:25:55 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: gromit.cs.bham.ac.uk Original-X-Trace: north.jnrs.ja.net 1276771400 21801 147.188.193.16 (17 Jun 2010 10:43:20 GMT) Original-X-Complaints-To: usenet@north.jnrs.ja.net Original-NNTP-Posting-Date: Thu, 17 Jun 2010 10:43:20 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: Original-Xref: usenet.stanford.edu gnu.emacs.help:179053 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:75882 Archived-At: On 6/16/2010 11:44 AM, Paul Drummond wrote: > Again, vim does the right thing here - pressing 'b' takes the point to > the closing bracket of Page(this) so it doesn't recognise the semi-colon > as a bracket which is intuitive and what I would expect. This is really > the point I am trying to make. I have never taken the time to > understand the behaviour of word boundaries in Vim because *it just > works*. In Emacs I am forced to think about word boundaries because > Emacs keeps surprising me with its weird behaviour! I never thought about this issue actively. I do have a vague recollection of facing it when I first moved back from vi to Emacs. Separating words and word boundaries feels more semantic and less mechanical. And it seems that you can get more done with the same key binding than we currently can. Seems like a good idea to implement it: forward-word-or-boundary, kill-word-or-boundary, ... My example would be, say "apples, oranges and peaches". Now think of deleting "apples, ". Cheers, Uday