I am using
rope-goto-definition to jump into a module's definition, link. But I cannot jump back to where I was.
Marker stack is empty. Is it possible to jump back after running
rope-goto-definition? Similiar behavior is done using
(require 'pymacs) (pymacs-load "ropemacs" "rope-") (setq ropemacs-enable-autoimport 't) (setq ropemacs-autoimport-modules '("os" "shutil")) (defun goto-def-or-jedi () "Go to definition of thing at point or do an rgrep in project if that fails" (interactive) (condition-case nil (rope-goto-definition) (error (rope-goto-definition (thing-at-point 'symbol)))))
Note: On there github its said that:
ropemacs is completely unmaintained and abandoned. link. So there is no hope to have support from developers. Maybe before jump, the location can be pushed into the stack?
init.eland comment out the lines 9..35 and 48 and add the following
(use-package python :ensure nil),save and install packages. Then open a python file, and
M-x lspto start lsp,
M-x lsp-find-definitonof a function and
M-x xref-pop-marker-stackto return to source file. Or use the already binded keys
s-l g gand
(use-package python :ensure nil),to line 9 ? including
,? How can I install it afterwards? like