[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in post-command-hook (completion-in-region--postch): (wrong-ty
Re: Error in post-command-hook (completion-in-region--postch): (wrong-type-argument stringp nil)
Fri, 24 Aug 2012 11:44:38 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
() Tassilo Horn <address@hidden>
() Fri, 24 Aug 2012 10:25:37 +0200
(defun nrepl-complete-at-point ()
(let ((sap (symbol-at-point)))
(when (and sap (not (in-string-p)))
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 ...........
Description: PGP signature
Re: Error in post-command-hook (completion-in-region--postch): (wrong-type-argument stringp nil), Stefan Monnier, 2012/08/24