all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz@dogan.se>
To: help-gnu-emacs@gnu.org
Subject: Re: subword-mode for underscores?
Date: Thu, 14 Jul 2011 15:12:27 +0200	[thread overview]
Message-ID: <4E1EEB3B.5020005@dogan.se> (raw)
In-Reply-To: <20110713222928.GB27549@chocholous.lan>

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	other threads:[~2011-07-14 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 22:29 subword-mode for underscores? Martin
2011-07-14 13:12 ` Deniz Dogan [this message]
2011-07-14 19:20   ` Martin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E1EEB3B.5020005@dogan.se \
    --to=deniz@dogan.se \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.