From: mar@centrum.cz (Martin)
To: help-gnu-emacs@gnu.org
Subject: Re: subword-mode for underscores?
Date: Thu, 14 Jul 2011 21:20:18 +0200 [thread overview]
Message-ID: <20110714192018.GA31838@chocholous.lan> (raw)
In-Reply-To: <4E1EEB3B.5020005@dogan.se>
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
>
prev parent reply other threads:[~2011-07-14 19:20 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
2011-07-14 19:20 ` Martin [this message]
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=20110714192018.GA31838@chocholous.lan \
--to=mar@centrum.cz \
--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.