From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn 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:23:06 +0200 Message-ID: <87pq6gb6ol.fsf@thinkpad.tsdh.de> References: <87393cd7cu.fsf@thinkpad.tsdh.de> <87393c4oah.fsf@zigzag.favinet> <87txvsbkkm.fsf@thinkpad.tsdh.de> <87y5l430b9.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1345825399 3138 80.91.229.3 (24 Aug 2012 16:23:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 16:23:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 24 18:23:19 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 1T4wfD-0007yc-1p for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 18:23:15 +0200 Original-Received: from localhost ([::1]:60612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4wfB-0007dm-6L for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 12:23:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4wf8-0007db-VI for emacs-devel@gnu.org; Fri, 24 Aug 2012 12:23:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4wf7-00018R-69 for emacs-devel@gnu.org; Fri, 24 Aug 2012 12:23:10 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:38000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4wf7-00018D-0Q for emacs-devel@gnu.org; Fri, 24 Aug 2012 12:23:09 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id CF64ED2225; Fri, 24 Aug 2012 18:23:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pti0zuhfxGk6; Fri, 24 Aug 2012 18:23:07 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 34501D2223; Fri, 24 Aug 2012 18:23:07 +0200 (CEST) Mail-Followup-To: Thien-Thi Nguyen , emacs-devel@gnu.org In-Reply-To: <87y5l430b9.fsf@zigzag.favinet> (Thien-Thi Nguyen's message of "Fri, 24 Aug 2012 15:07:54 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 141.26.64.15 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:152809 Archived-At: Thien-Thi Nguyen writes: > Sorry, i was not clear. I would use =E2=80=98message=E2=80=99 in several= places, each > w/ a unique format string (to avoid Emacs combining them in > *Messages*), to trace the execution path. 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). Thanks a ton for the hints! Bye, Tassilo