From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#26310: 25.1; Emacsclient to emacs --daemon frame/connection error Date: Sat, 15 Apr 2017 10:29:34 -0400 Message-ID: <87wpalsq0h.fsf@users.sourceforge.net> References: <87wpb67s5r.fsf@aol.com> <87vaqq1bk0.fsf@users.sourceforge.net> <87lgrl7ukw.fsf@aol.com> <87pogw23d5.fsf@users.sourceforge.net> <87d1ce1hfb.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492266596 21806 195.159.176.226 (15 Apr 2017 14:29:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Apr 2017 14:29:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 26310@debbugs.gnu.org To: uLive System User Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 15 16:29:51 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czOhz-0005ZT-PP for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Apr 2017 16:29:51 +0200 Original-Received: from localhost ([::1]:57004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czOi5-0000Dj-NW for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Apr 2017 10:29:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czOhG-0008CN-0n for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 10:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czOhC-0000vQ-Nr for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 10:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czOhC-0000vC-Ie for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 10:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czOhC-0008Rh-8l for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2017 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Apr 2017 14:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26310-submit@debbugs.gnu.org id=B26310.149226649232393 (code B ref 26310); Sat, 15 Apr 2017 14:29:02 +0000 Original-Received: (at 26310) by debbugs.gnu.org; 15 Apr 2017 14:28:12 +0000 Original-Received: from localhost ([127.0.0.1]:49050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czOgO-0008QL-53 for submit@debbugs.gnu.org; Sat, 15 Apr 2017 10:28:12 -0400 Original-Received: from mail-it0-f66.google.com ([209.85.214.66]:36706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czOgM-0008Q0-Ms; Sat, 15 Apr 2017 10:28:10 -0400 Original-Received: by mail-it0-f66.google.com with SMTP id a140so1442620ita.3; Sat, 15 Apr 2017 07:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5fa2Dc329ZZ2VGxcV3ihv0HuPXQM6/7VPAXOD9cgO1U=; b=sHqbYMdVmaGhf3e3DFir3DceM/GNtgVD/5ZdHlp99PnvoIbPiX095urdCi3VwCe8mX bfrGCU/6dV+axt6+jJQLso4AA+wM3sGznxH72UzWQN44fpUYSviDouris5NtLB7omzMx JsJmA6jEPzF7UagWrGE3b2/zBQ0GU521V7A4ViDtOnXKLB2XvMoov+x7xwiOJrdZY0ha MQVBzTXXGkdEYyuCNKl2sm9nY7+WyptYEz0JjK3lORLFr9cSdU1Y6D/S7bDCHV7DUYSj w76Cqh655oz7G198v+MCc+25+/+JyVTULTU0q/gAJr+GJhrWghNvk8BLmiixWlUEWzBh Z/cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=5fa2Dc329ZZ2VGxcV3ihv0HuPXQM6/7VPAXOD9cgO1U=; b=PYxI6rX/8xSidsVf2CdIMs+qfUDvU9MWUYlFmb3TpX+0/Bobx8VaZdHC5DaksLq9ys O56yHz9clEOKo+jx/gri3BLpvPrzS+WS16sbekteftIEgdwZZbsdLNZ+08nueR6H0O76 EcZnqh9FsQmR7XOXHPcfL00mShTV80oOD4WC0WEtwAh6oMw7DuBMIgxOfc9fmR0RlwiS lhVh9biLA93Hpwt49PdAyLpe3l8o0ibuWO1Me4jNzo6JT/ng9ksjHQsRHK4VPMYBEbec rezhv7WgUQuZAYLv/un9Lgziqeue3CZhSSKKRziWZHLzluEq4p1aOPQrLWr+09WP/EZu 9xjg== X-Gm-Message-State: AN3rC/6agY5vkkzPyHYtSvC2qgI5Dfw/2/M0UYyCf5QVhznQkPzBCSu0 YDGXpQ0JnVB8IA== X-Received: by 10.36.57.86 with SMTP id l83mr3218988ita.55.1492266484990; Sat, 15 Apr 2017 07:28:04 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id w134sm2446233iod.14.2017.04.15.07.28.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 15 Apr 2017 07:28:04 -0700 (PDT) In-Reply-To: <87d1ce1hfb.fsf@aol.com> (uLive System User's message of "Fri, 14 Apr 2017 23:24:56 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131604 Archived-At: tags 26310 fixed close 26310 25.2 quit uLive System User writes: > npostavs@users.sourceforge.net writes: > >> Live System User writes: >>> >>> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >>> isearch-done(t) >>> isearch-cancel() >> >> Ah, that one. This should be fixed already in 25.2, since #21091 >> "`isearch-done' called before `isearch-update' raises wrong-type-arg >> error" was fixed. > > I eval'ed your patched version of isearch.el into my Emacs daemon > and "emacsclient " started working again, so thank you for > the fix. Thanks for confirming. >> >> Do you happen to know how you got into this state though? That >> isearch-cancel is being called at all might be a bug in itself, although >> I never found out how to reproduce it... > > I don't recall what I was doing specifically. I keep a long-running > Emacs daemon around and use emacsclient to connect to it regularly > to edit files and update my Gnu ELPA packages. Yeah, the problem is that you wouldn't notice the state change immediately, makes it pretty much impossible to catch this...