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: Dmitry Lazurkin
Subject: bug#24820: Imenu in `python-mode' does not display function name for async def
Date: Thu, 5 Jan 2017 13:14:31 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 01/05/2017 07:07 AM, address@hidden 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?






reply via email to

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