all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Michael Kleehammer <michael@kleehammer.com>
Cc: 25734@debbugs.gnu.org
Subject: bug#25734: Python - fix imenu regexp for async functions
Date: Tue, 14 Feb 2017 20:33:10 -0500	[thread overview]
Message-ID: <878tp8kzl5.fsf@users.sourceforge.net> (raw)
In-Reply-To: <53fdd849-4f99-48c0-bde7-7d07107984dc@Spark> (Michael Kleehammer's message of "Tue, 14 Feb 2017 15:01:28 -0600")

Michael Kleehammer <michael@kleehammer.com> writes:
>
> The patch below is a minor modification for a regular expression. The
> old one simply took the 2nd token on the line to be the name; the new
> one skips the optional “async” keyword.
>
> Please note the current imenu is unusable in a file with a lot of
> async functions - it would be nice if this rolled out with 25.2 if
> possible, which I believe adds the rest of async support.

There was a patch for a similar problem in #24820, but when looking at
the code touched there, it seems that the sub-groups of
python-nav-beginning-of-defun-regexp are not used
(python-imenu--put-parent uses "group 0").  Did I miss something?

I applied that patch to master (i.e., what will be 26.1), by the way.





  reply	other threads:[~2017-02-15  1:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14 21:01 bug#25734: Python - fix imenu regexp for async functions Michael Kleehammer
2017-02-15  1:33 ` npostavs [this message]
2017-02-18 14:22 ` npostavs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tp8kzl5.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=25734@debbugs.gnu.org \
    --cc=michael@kleehammer.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.