help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forward/backward word with case sensitivity


From: Kiwon Um
Subject: Re: forward/backward word with case sensitivity
Date: Tue, 28 Jul 2009 02:25:25 -0700 (PDT)
User-agent: G2/1.0

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. :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]