fgallina / python.el

Python's flying circus support for Emacs
GNU General Public License v3.0
267 stars 53 forks source link

I think it would be great if narrow-to-defun showed the function decorators too #159

Closed Sukonnik-Illia closed 8 months ago

Sukonnik-Illia commented 7 years ago

When I narrow-to-defun, decorators of function are hidden. I.e.:

print('narrow-example')

@my_decorator
def f():
    pass

print('end-of-narrow-example')

narrowed to:

def f():
    pass

But I think it should be:

@my_decorator
def f():
    pass
skangas commented 2 years ago

Hi!

This repository is no longer maintained, since python-mode.el is now distributed with Emacs itself. I suggest that you report this using the Emacs command:

M-x report-emacs-bug

fgallina commented 8 months ago

Closing as I'm marking this repository as read only. To report bugs, or to contribute fixes and improvements, use the built-in Emacs bug reporter (M-x report-emacs-bug) or send an email to bug-gnu-emacs@gnu.org.