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: Thu, 05 Jan 2017 20:19:15 -0500
Dmitry Lazurkin <dilaz03 <at> gmail.com> writes:

> On 01/05/2017 07:07 AM, npostavs <at> users.sourceforge.net wrote:
>>> (is formatting code ugly?)
>> I don't see any formatting problems in your code,
>
> Formatting of "async def":
> +        (list (concat (car split) " " (cadr split))
> +              (car (last split)))))))

Formatting looks fine here.  Since I'm staring at it anyway, it could be
optimized like so:

    (cons (concat (car split) " " (cadr split))
          (last split))

It's fine either way though.




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.