unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 19665@debbugs.gnu.org
Cc: Fabian Ezequiel Gallina <galli.87@gmail.com>
Subject: bug#19665: 25.0.50; python.el: mark defun bug when point is in class statement
Date: Fri, 23 Jan 2015 13:12:14 -0300	[thread overview]
Message-ID: <CAELgYhdvG1mU8TuVVOsL8dqG6S0TKOZDUAZYd4_ydFO6_Wkn9A@mail.gmail.com> (raw)

Specifically, try the example below:

```
class A: pass


class B:

    def __init__(self): pass

    def fun(self): pass

class C: pass
```

1) If point is in the line immediately after "class B:", then C-M-h will
select the entire class B definition, as expected.

2) If point is in the line "class B:", then C-M-h will select just the
definition of the fun method, which is entirely unexpected!

Cheers
--
Carlos





             reply	other threads:[~2015-01-23 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 16:12 Carlos Pita [this message]
2015-01-23 21:17 ` bug#19665: Carlos Pita
2015-02-02 19:33 ` bug#19665: Carlos Pita
2015-02-09 16:46 ` bug#19665: 25.0.50; python.el: mark defun bug when point is in class statement Carlos Pita
2015-02-09 17:36 ` Carlos Pita
2015-02-11 15:52 ` Carlos Pita
2015-07-06  4:05 ` Fabián Ezequiel Gallina

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAELgYhdvG1mU8TuVVOsL8dqG6S0TKOZDUAZYd4_ydFO6_Wkn9A@mail.gmail.com \
    --to=carlosjosepita@gmail.com \
    --cc=19665@debbugs.gnu.org \
    --cc=galli.87@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).