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


Message #11 received at 24820 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Dmitry Lazurkin <dilaz03 <at> gmail.com>
Cc: 24820 <at> debbugs.gnu.org
Subject: Re: bug#24820: Any suggestions about patch?
Date: Mon, 26 Dec 2016 17:26:28 -0500
Dmitry Lazurkin <dilaz03 <at> gmail.com> writes:

> I have not quick navigation to async method without this patch. What i
> should do for merging this patch?

The patch looks good to me, except a minor formatting mistake in the
commit message.

  * test/automated/python-tests.el (python-imenu-create-index-1,
  python-imenu-create-flat-index-1): Add async def's.

should be

  * test/automated/python-tests.el (python-imenu-create-index-1):
  (python-imenu-create-flat-index-1): Add async def's.

Have you done copyright assignment for Emacs?

I think your current patch is a bit over the limit of what we can accept
without an assignment (unless we don't count lines added to tests?).
Though if you didn't refactor into the new function
python-imenu--get-defun-type-name it could probably squeeze in.

The form to start the assignment process is at
http://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/Copyright/request-assign.program




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.