Pregunta

¿Hay alguna forma de obtener las sugerencias de finalización de la asistencia del código de cuerda de Ropemacs (unida a "M- /" en ROPEMODE) para usarlo en otro comando?

Lo que estoy tratando de hacer es algo así:

(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)

Editar: Cambiado a Python.el, y comencó mágicamente a trabajar, no es necesario que el hacke anterior.Simplemente llamando al código de la cuerda: la asistencia ahora trae las sugerencias en el Minibuffer de una manera iDO.

¿Fue útil?

Solución

(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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top