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

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

Re: subword-mode for underscores?


From: Deniz Dogan
Subject: Re: subword-mode for underscores?
Date: Thu, 14 Jul 2011 15:12:27 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0

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



reply via email to

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