[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in post-command-hook (completion-in-region--postch): (wrong-ty

From: Thien-Thi Nguyen
Subject: Re: Error in post-command-hook (completion-in-region--postch): (wrong-type-argument stringp nil)
Date: Fri, 24 Aug 2012 11:44:38 +0200
User-agent: 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)))
         (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 ...........

Attachment: pgpkZ1UEXoGx1.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]