[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CamelHump word movement in Emacs
From: |
Giuseppe Scrivano |
Subject: |
Re: CamelHump word movement in Emacs |
Date: |
Thu, 19 Nov 2009 09:57:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
have you considered "c-subword-mode"?
Cheers,
Giuseppe
Tassilo Horn <address@hidden> writes:
> Hi all,
>
> in many editors for "modern" programming languages like Java or C#, the
> normal word movement commands also stop on CamelHumps. This is very
> convenient, because nowadays the convention for identifiers names more
> and more turns to using camelCaseNaming.
>
> Here's an example:
>
> int foo_bar_baz() {}
>
> With the usual forward/backward-word commands, point always stops at the
> _ (when moving forward) or the first char of the component word (when
> moving backward). I really like that behavior.
>
> Unfortunately, it doesn't work if the function uses camelCase naming.
>
> int fooBarBaz() {}
>
> Here, forward/backward-word jump over the complete identifier. What I
> would really like to have, was that those commands move point to the
> capital letters (the 2 Bs), too.
>
> IMO, that would be the right thing to do, because camelCase is nearly
> never used for something else than separating words.
>
> What do you think?
>
> Bye,
> Tassilo
- CamelHump word movement in Emacs, Tassilo Horn, 2009/11/19
- Re: CamelHump word movement in Emacs,
Giuseppe Scrivano <=
- Re: CamelHump word movement in Emacs, Tassilo Horn, 2009/11/19
- Re: CamelHump word movement in Emacs, Stefan Monnier, 2009/11/19
- Re: CamelHump word movement in Emacs, Tassilo Horn, 2009/11/19
- Re: CamelHump word movement in Emacs, Stefan Monnier, 2009/11/19
- Re: CamelHump word movement in Emacs, Tassilo Horn, 2009/11/20
- Re: CamelHump word movement in Emacs, Eli Zaretskii, 2009/11/20
- Re: CamelHump word movement in Emacs, Tassilo Horn, 2009/11/20
- Re: CamelHump word movement in Emacs, Eli Zaretskii, 2009/11/20
- Re: CamelHump word movement in Emacs, Tassilo Horn, 2009/11/20
- Re: CamelHump word movement in Emacs, Stefan Monnier, 2009/11/20