ropemacs icon indicating copy to clipboard operation
ropemacs copied to clipboard

py3k support

Open mcepl opened this issue 11 years ago • 6 comments

mcepl avatar Dec 01 '13 22:12 mcepl

Is this repo left dying? Trying to have ropemode/emacs working with python3 (since there is rope_py3k) would be much appreciated. @mcepl: have you got some news from the repo owner? and btw, thanks for your work

arranger1044 avatar Jun 29 '14 11:06 arranger1044

I am the repo owner. Did you try this patch with Emacs and py3k? Does it work for you?

mcepl avatar Jun 29 '14 14:06 mcepl

I am sorry for being rude before. I've tried the PR6 branch of your repo but it seems that ropemode needs to be patched as well (it is not, thus pip tries to download rope instead of rope_py3k). I've manually done something similar with setup.py from ropemode but, I still have Pymacs crashing with some possible compatibility issue like: https://groups.google.com/forum/#!topic/rope-dev/XaJjlgKPv9U

arranger1044 avatar Jun 29 '14 14:06 arranger1044

I don’t use Emacs myself, so I don’t dare to merge this PR without confirmation from somebody who actually uses Emacs that this works.

Apparently, it doesn’t, so if you have any more patches to make it work (either to this PR, or to ropemode or wherever), let me know.

And no, neither ropemode nor rope works well with py3k as of now (although there are PRs for ropemode and https://github.com/mcepl/rope/tree/py3 in my personal clone of the rope itself. None of these is tested, and I have no clue how well it works. Problem with the py3 branch of rope is that it most likely is not compatible with py2k, so we have either one or another.

See for example https://groups.google.com/forum/#!topic/rope-dev/XaJjlgKPv9U for more (and couple of other discussions on the list).

We don’t have a good strategy how to make rope py3k compatible. Most likely some kind of partial action (like making ropemode, ropevim and ropemacs work with both py2k and py3k and make rope as a backend interchangeable) is the best possible strategy of attack, but I haven't made any effort on that front yet.

mcepl avatar Jun 29 '14 20:06 mcepl

I do not have a clue on how to solve the issue I linked before, if I come with a solution, I'll let you know

arranger1044 avatar Jun 29 '14 20:06 arranger1044

Probably also waiting on https://github.com/python-rope/rope/issues/57#issuecomment-56635546, right?

mcepl avatar Oct 03 '14 21:10 mcepl

I think whole ropemacs deserves to day and everybody should use pylsp with https://github.com/python-rope/pylsp-rope via their LSP client (I am certain Emacs has at least one). If anybody cares about this, suite yourself, I believe the patch will be still visible.

mcepl avatar Apr 29 '23 16:04 mcepl