From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Error in post-command-hook (completion-in-region--postch): (wrong-type-argument stringp nil) Date: Fri, 24 Aug 2012 18:58:16 +0200 Message-ID: <87pq6g2pnb.fsf@zigzag.favinet> References: <87393cd7cu.fsf@thinkpad.tsdh.de> <87393c4oah.fsf@zigzag.favinet> <87txvsbkkm.fsf@thinkpad.tsdh.de> <87y5l430b9.fsf@zigzag.favinet> <87pq6gb6ol.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1345827505 21532 80.91.229.3 (24 Aug 2012 16:58:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 16:58:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 24 18:58:26 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4xDF-0001Pb-Ps for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 18:58:25 +0200 Original-Received: from localhost ([::1]:45083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4xDE-0007Ua-7d for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 12:58:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4xDB-0007UV-SR for emacs-devel@gnu.org; Fri, 24 Aug 2012 12:58:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4xDA-0003Lp-JL for emacs-devel@gnu.org; Fri, 24 Aug 2012 12:58:21 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:46550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4xDA-0003Lk-9O for emacs-devel@gnu.org; Fri, 24 Aug 2012 12:58:20 -0400 Original-Received: from zigzag.favinet (87.5.65.210) by smtp208.alice.it (8.6.023.02) id 500F3F94055E8EA6 for emacs-devel@gnu.org; Fri, 24 Aug 2012 18:58:18 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1T4xDF-0001L2-A0 for emacs-devel@gnu.org; Fri, 24 Aug 2012 18:58:25 +0200 In-Reply-To: <87pq6gb6ol.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 24 Aug 2012 18:23:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152810 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable () Tassilo Horn () Fri, 24 Aug 2012 18:23:06 +0200 Argh, I did that now and it revealed that my completion function got called after a successfull completion once again, and then the (read-from-string ...) read `nil' (what the nREPL server responds if there are no possible completions). Is that supposed to happen (being calling twice)? Thanks a ton for the hints! Behold the power of procrastination! :-D =2D-=20 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 ........... --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlA3sqsACgkQZwMiJEyAdQIkPQCggD28kHXeGgnwiFeZIOtgySTL 7ywAn1Fv6eUOsJM7IM+WHhep0JNpaL6Z =76on -----END PGP SIGNATURE----- --=-=-=--