Support python.el by fgallina

Ivan Andrus avatarIvan Andrus created an issue

Since fgallina's python.el is going to be in GNU Emacs fairly soon we have to support it. While most regressions from the current python.el are going to be treated as bugs, I suspect there will be some places we have to change.

It would be great if we had some automated tests that we could run to ensure there are no regressions in sage-mode.

Comments (9)

  1. Ivan Andrus

    I worked on this some and made some progress, but there are still a ton of byte-compiler warnings in sage-mode.el about obsolete variables. Apart from that, the following files have problems that will definitely need to be fixed. I have not done any testing yet.

    sage-test.el gives

    In end of data:
    sage-test.el:310:1:Warning: the following functions are not known to be defined:
        python-in-string/comment, python-beginning-of-string

    pyrex-mode.el gives

    In end of data:
    pyrex-mode.el:209:1:Warning: the following functions are not known to be defined:
        python-beginning-of-statement, python-comment-line-p,
        python-in-string/comment, python-open-block-statement-p,
        python-beginning-of-block, python-beginning-of-defun,
  2. Ivan Andrus

    I added sage-in-string/comment, sage-beginning-of-string fixing the problems in sage-test and now have (with minimal testing) inferior sage mode working. pyrex-mode is still completely broken.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.