You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In cython-mode, some of the mechanic is subcontracted to one of the existing python-mode's. I am not sure how all of those interact, but at least with the built-in python.el, there could be some improvement to parsing.
For example, currently, python-info-docstring-p fails to recognize that the point is in the docstring of a cdef or cpdef, which in turns means that formatting settings such as auto-filling fail.
I believe that cython-mode should provide a new value for python-nav-beginning-of-defun-regexp, for example:
Hello,
In
cython-mode
, some of the mechanic is subcontracted to one of the existingpython-mode
's. I am not sure how all of those interact, but at least with the built-inpython.el
, there could be some improvement to parsing.For example, currently,
python-info-docstring-p
fails to recognize that the point is in the docstring of acdef
orcpdef
, which in turns means that formatting settings such as auto-filling fail.I believe that
cython-mode
should provide a new value forpython-nav-beginning-of-defun-regexp
, for example:It seems to do the trick for me, but I'm probably using only a subset of cython's syntax.
The text was updated successfully, but these errors were encountered: