Subject: Re: bug#24820: Imenu in `python-mode' does not display function name for async def

From: Dmitry Lazurkin <[email-masked]>
Date: Thu, 5 Jan 2017 13:14:31 +0300

On 01/05/2017 07:07 AM, [email-masked] wrote:
>> (is formatting code ugly?)
> I don't see any formatting problems in your code, but it looks like the
> patch got word wrapped, 

Formatting of "async def":
+        (list (concat (car split) " " (cadr split))
+              (car (last split)))))))

> 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))))
>
Is resending patch as attachment correct for debbugs.gnu.org?