() Tassilo Horn () Fri, 24 Aug 2012 10:25:37 +0200 (defun nrepl-complete-at-point () (interactive) (let ((sap (symbol-at-point))) (when (and sap (not (in-string-p))) (nrepl-send-string [...]) [...] ))) I'm happy for any pointers! Many times, the value of a variable depends on the current buffer. (This is the beauty and curse of Emacs.) Does ‘nrepl-send-string’ change the current buffer? If so, does it change it back? If not, what does it assume about the current buffer? The same questions could apply to any of the functions involved. To find out, i would add some calls to ‘message’, not trusting builtin debug, Edebug (or, more to the point, my fumblings w/ these facilities) to not distort the state under study. -- Thien-Thi Nguyen ..................................... GPG key: 4C807502 . NB: ttn at glug dot org is not me . . (and has not been since 2007 or so) . . ACCEPT NO SUBSTITUTES . ........... please send technical questions to mailing lists ...........