From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William G Hatch Newsgroups: gmane.emacs.bugs Subject: bug#21123: emacsclient silently eats keys on startup Date: Fri, 24 Jul 2015 09:17:25 -0600 Message-ID: <20150724151725.GA21704@conspirator.williamhatch.net> References: <87615a58ym.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: ger.gmane.org 1437751108 21795 80.91.229.3 (24 Jul 2015 15:18:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jul 2015 15:18:28 +0000 (UTC) Cc: 21123@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 24 17:18:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZIejp-0001G5-Ly for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jul 2015 17:18:17 +0200 Original-Received: from localhost ([::1]:45635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIejo-0001H1-Up for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jul 2015 11:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIejf-0001Dz-ND for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 11:18:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIeja-0007Pk-Vn for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 11:18:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIeja-0007Pb-SZ for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 11:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZIeja-00068e-Dv for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 11:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: William G Hatch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jul 2015 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21123 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21123-submit@debbugs.gnu.org id=B21123.143775105623563 (code B ref 21123); Fri, 24 Jul 2015 15:18:02 +0000 Original-Received: (at 21123) by debbugs.gnu.org; 24 Jul 2015 15:17:36 +0000 Original-Received: from localhost ([127.0.0.1]:58100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIej9-00067y-HX for submit@debbugs.gnu.org; Fri, 24 Jul 2015 11:17:35 -0400 Original-Received: from mail-ie0-f180.google.com ([209.85.223.180]:34674) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIej6-00067p-In for 21123@debbugs.gnu.org; Fri, 24 Jul 2015 11:17:33 -0400 Original-Received: by iecrl10 with SMTP id rl10so16999344iec.1 for <21123@debbugs.gnu.org>; Fri, 24 Jul 2015 08:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=zKov6tZvqQSl570k2YqQ4AmwgRRTtvG6nDrNQcbQN8Y=; b=OuMIKiFBNWd7KLM4LNK3U+N678xbl17FRj0V4xMn/3Zh+XPIg9czkW5Lj37bQl7Fym oPleEQYhOPTUT/UlLSdvScT1Q0yzFWfT3+YcCDk5KssOz+IB4Ibyi+PqMtEf9bCpZQiY cRO/yuzF8SDFLPIvKZ9VZdnRdykvfevFV1vtKC1atDh78yN1E4Kkt57s+ePGkYqEDl5X Wl9p0AtNnwiQunQcerJKKkFhnVyDFj5oETAzLi6U4FdTkaMmMeKub9dQ6j2rm/FyesyA caoyFtkMEfgNrnarn3AdZsX0HTLZC5LQ7+uGeQQDmcjcJ4+Kiegy4x9xRobMcX9d3omW eKHw== X-Received: by 10.50.43.131 with SMTP id w3mr7807186igl.8.1437751051943; Fri, 24 Jul 2015 08:17:31 -0700 (PDT) Original-Received: from conspirator.williamhatch.net (c-174-52-207-168.hsd1.ut.comcast.net. [174.52.207.168]) by smtp.gmail.com with ESMTPSA id s5sm1727951igh.6.2015.07.24.08.17.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2015 08:17:31 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87615a58ym.fsf@igel.home> User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105109 Archived-At: On Fri, Jul 24, 2015 at 09:08:17AM +0200, Andreas Schwab wrote: >William Hatch writes: > >> When emacsclient is launched with -t (terminal mode), there is a short time >> when I press keys and they have no effect. > >How short is that time? I couldn't reproduce it when trying this: > >$ sleep 5; emacsclient -t > >and then starting to type ahead. Interestingly I can't reproduce it that way either... so maybe it has to be at the exact time emacs is starting up. On a new machine locally I have to be pretty quick to reproduce it, but it's still something I'll occasionally accidentally do, but it happens more often over ssh. It seems to happen during the time that emacsclient still shows the scratch buffer but before it opens up the file I tell it to open. But the keys don't go to the scratch buffer either, so I'm not sure what's going on. It's hard to get to work with an empty init file -- it happens more when there are mode hooks or something that run when emacsclient opens a file.