문제

다른 명령에서 사용하려면 Ropemacs의 로프 코드 지원 ( "m- /"에 바인딩 된 "m- /"에서 바인딩 된 "완료 제안을 얻는 방법이 있습니다.

내가하려고하는 것은 다음과 같습니다 :

(defun rope-completions-in-ido ()
    (interactive)
    (insert
        (let ((mylist ROPE-GET-COMPLETIONS-LIST))
             (ido-completing-read "Suggested Completions: " mylist))))
(define-key py-mode-map (kbd "M-/") 'rope-completions-in-ido)
.

편집 : Python.el로 전환하고 마술 적으로 작업을 시작했으며 위의 해킹이 필요 없습니다.밧줄 코드 지원을 단순히 호출하기 만하면 IDO 방식으로 미니 푸푸르의 제안 사항을 가져옵니다.

도움이 되었습니까?

해결책

(As mentioned in edit) Switched to python.el, and it magically started working, no need for the above hack. Simply calling rope-code-assist now brings up the suggestions in the minibuffer in an ido way.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top