unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kiwon Um <um.kiwon@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: forward/backward word with case sensitivity
Date: Tue, 28 Jul 2009 02:25:25 -0700 (PDT)	[thread overview]
Message-ID: <4b34e953-ff82-4ba7-bc05-b38ed59fbbc1@y10g2000prg.googlegroups.com> (raw)
In-Reply-To: 87tz0x8b6z.wl%anselm.helbig+news2009@googlemail.com

On 7월28일, 오후5시27분, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> Hi!
>
> > I'm wondering how to use the case sensitive buffer editing in buffer.
> > For example, in the kill-word function (M-d), how I can set it to kill
> > up to the final lower case, not space, comma, etc. as follows:
> > testFunction()
> > ^ (Here, M-d)
> > Function()
>
> I'm using c-subword-mode with ruby, to this end I've got this line in
> my .emacs:
>
>   (add-hook 'ruby-mode-hook (lambda () (c-subword-mode 1)))
>
> You can try it out yourself with M-x subword-mode. This doesn't only
> affect `kill-word' but changes emacs notion about what a word is in
> the current buffer, so `forward-word' and `backward-word' are affected
> as well.
>
> HTH,
>
> Anselm
>
> --
> Anselm Helbig
> mailto:anselm.helbig+news2...@googlemail.com

Great! This mode is really what I wanted. Thanks. :)


  parent reply	other threads:[~2009-07-28  9:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-28  7:16 forward/backward word with case sensitivity Kiwon Um
2009-07-28  7:37 ` Thierry Volpiatto
     [not found] ` <mailman.3306.1248767060.2239.help-gnu-emacs@gnu.org>
2009-07-28  8:01   ` Kiwon Um
2009-07-28  8:27 ` Anselm Helbig
2009-07-28  9:00   ` Thierry Volpiatto
2009-07-28  9:25   ` Kiwon Um [this message]
     [not found]   ` <mailman.3312.1248772055.2239.help-gnu-emacs@gnu.org>
2009-07-28  9:27     ` Kiwon Um
2009-07-28 10:21 ` Elena

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=4b34e953-ff82-4ba7-bc05-b38ed59fbbc1@y10g2000prg.googlegroups.com \
    --to=um.kiwon@gmail.com \
    --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).