bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16297: 24.3; Maybe wrong regexp in python.el (24.3)


From: Glenn Morris
Subject: bug#16297: 24.3; Maybe wrong regexp in python.el (24.3)
Date: Sun, 29 Dec 2013 22:06:35 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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.






reply via email to

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