[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: subword-mode for underscores?
From: |
Martin |
Subject: |
Re: subword-mode for underscores? |
Date: |
Thu, 14 Jul 2011 21:20:18 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
My mistake. I had my Emacs Python setup "under re-construction" and
obviously... err ... I did something wrong.
Sorry and thanks.
m.
On Thu, Jul 14, 2011 at 03:12:27PM +0200, Deniz Dogan wrote:
> On 2011-07-14 00:29, Martin wrote:
> >Hello,
> >
> >I have just learned about "subword-mode" for CamelCase and I am wondering,
> >if there is something simillar for underscores syntax (camel_case)?
> >
> >Most ideally have both variations in one buffer at a time -- as Python
> >coding conventions like to have classes in CamelCase and
> >other_things_with_underscore?
> >
> >Do you have any tips?
> >
>
> Hi
>
> In this example, I have enabled python-mode and subword-mode and it
> acts just as you would expect it to.
>
> class HelloThere:
> def hello_there():
> return 1
>
> Have I misunderstood the problem?
>
> Deniz
>