GNU bug report logs - #24820
Imenu in `python-mode' does not display function name for async def

Previous Next

Package: emacs;

Reported by: Dmitry Lazurkin <dilaz03 <at> gmail.com>

Date: Sat, 29 Oct 2016 20:02:02 UTC

Severity: minor

Tags: fixed, patch

Merged with 25734

Found in version 25

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Dmitry Lazurkin <dilaz03 <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 24820 <at> debbugs.gnu.org
Subject: bug#24820: Imenu in `python-mode' does not display function name for async def
Date: Wed, 04 Jan 2017 23:07:53 -0500
Dmitry Lazurkin <dilaz03 <at> gmail.com> 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))))






This bug report was last modified 8 years and 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.