GNU bug report logs - #16297
24.3; Maybe wrong regexp in python.el (24.3)

Previous Next

Package: emacs;

Reported by: François Pinard <pinard <at> iro.umontreal.ca>

Date: Mon, 30 Dec 2013 02:08:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: François Pinard <pinard <at> iro.umontreal.ca>
Cc: 16297 <at> debbugs.gnu.org
Subject: Re: bug#16297: 24.3; Maybe wrong regexp in python.el (24.3)
Date: Sun, 29 Dec 2013 22:06:35 -0500
François Pinard wrote:

> Well, I was adapting some of my Emacs Lisp from python-mode.el to use
> Fabian Gallina's python.el instead. After loading python.el in Emacs
> 24.3, the value of python-nav-beginning-of-defun-regexp is:
>
> "^[[:space:]]*\\_<\\(?:class\\|def\\)\\_>[[:space:]]+\\([_[:alpha:]][_[:word:]]*\\)"
>
> Maybe I merely miss the meaning of "?:" in this regexp, if any. Yet,
> by removing "?:" from the above value solved my problem, so maybe the
> value as defined by Emacs has problem?

Please say what the actual problem is.





This bug report was last modified 11 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.