bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24820: Imenu in `python-mode' does not display function name for asy


From: npostavs
Subject: bug#24820: Imenu in `python-mode' does not display function name for async def
Date: Wed, 04 Jan 2017 23:07:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Dmitry Lazurkin <address@hidden> writes:

> Some fixes:
> - fix commit message
> - return imenu type "async def" for async def's

Thanks.  I'll push this to master in a week or so, unless there are
objections.

> (is formatting code ugly?)

I don't see any formatting problems in your code, but it looks like the
patch got word wrapped, I find sending as attachment generally avoids
such issues.

> -         (type)
> -         (name (when (and pos (looking-at
> python-nav-beginning-of-defun-regexp))
> -                 (let ((split (split-string
> (match-string-no-properties 0))))







reply via email to

[Prev in Thread] Current Thread [Next in Thread]