unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19665: 25.0.50; python.el: mark defun bug when point is in class statement
@ 2015-01-23 16:12 Carlos Pita
  2015-01-23 21:17 ` bug#19665: Carlos Pita
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Carlos Pita @ 2015-01-23 16:12 UTC (permalink / raw)
  To: 19665; +Cc: Fabian Ezequiel Gallina

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-06  4:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-23 16:12 bug#19665: 25.0.50; python.el: mark defun bug when point is in class statement Carlos Pita
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

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).