unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: Understanding Word Boundaries
Date: Thu, 17 Jun 2010 11:43:16 +0100	[thread overview]
Message-ID: <hvcu88$l99$1@north.jnrs.ja.net> (raw)
In-Reply-To: <mailman.1.1276717938.15244.help-gnu-emacs@gnu.org>

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


  parent reply	other threads:[~2010-06-17 10:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1276717938.15244.help-gnu-emacs@gnu.org>
2010-06-17  2:20 ` Understanding Word Boundaries Stefan Monnier
2010-06-18  7:24   ` Uday S Reddy
2010-06-17 10:43 ` Uday S Reddy [this message]
2010-06-17 20:16 ` Elena
2010-06-18  5:30 ` Xah Lee
2010-06-18  7:06   ` Xah Lee
2010-06-16 10:44 Paul Drummond
2010-06-16 20:07 ` Karan Bathla
2010-06-17 13:37   ` Deniz Dogan
2010-06-23  9:02 ` Gary
2010-06-26 10:46   ` Paul Drummond
2010-06-26 10:53     ` Paul Drummond
2010-06-26 11:22       ` Thien-Thi Nguyen
2010-06-26 23:49       ` ken
2010-06-27  3:05         ` Deniz Dogan
     [not found]         ` <mailman.7.1277607983.30403.help-gnu-emacs@gnu.org>
2010-06-27 15:02           ` Xah Lee
2012-12-11  2:11       ` Samuel Wales
     [not found]     ` <mailman.2.1277549613.3306.help-gnu-emacs@gnu.org>
2010-06-27 14:58       ` Xah Lee
2010-06-25 10:33 ` andreas.roehler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hvcu88$l99$1@north.jnrs.ja.net' \
    --to=udotsdotreddy@cs.bham.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).