From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#21123: emacsclient silently eats keys on startup Date: Sat, 30 Apr 2016 14:02:19 +0200 Message-ID: <8760uzuwxg.fsf@mbork.pl> References: <87615a58ym.fsf@igel.home> <20150724151725.GA21704@conspirator.williamhatch.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462017821 32413 80.91.229.3 (30 Apr 2016 12:03:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2016 12:03:41 +0000 (UTC) Cc: Andreas Schwab , 21123@debbugs.gnu.org To: William G Hatch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 14:03:31 2016 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 1awTcQ-00053J-87 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 14:03:30 +0200 Original-Received: from localhost ([::1]:58258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awTcM-0002x1-7y for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 08:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awTcD-0002mw-AG for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 08:03:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awTc1-0007Oh-L9 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 08:03:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awTc1-0007O7-H3 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 08:03:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awTby-0003O6-2c for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2016 12:03: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.146201774912982 (code B ref 21123); Sat, 30 Apr 2016 12:03:02 +0000 Original-Received: (at 21123) by debbugs.gnu.org; 30 Apr 2016 12:02:29 +0000 Original-Received: from localhost ([127.0.0.1]:56440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awTbR-0003NK-95 for submit@debbugs.gnu.org; Sat, 30 Apr 2016 08:02:29 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:55305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awTbP-0003NC-Ik for 21123@debbugs.gnu.org; Sat, 30 Apr 2016 08:02:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 15287B1E79D; Sat, 30 Apr 2016 14:02:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KE0jhVKzxqqr; Sat, 30 Apr 2016 14:02:23 +0200 (CEST) Original-Received: from localhost (98-171.echostar.pl [213.156.98.171]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 5ED6AB1E79C; Sat, 30 Apr 2016 14:02:23 +0200 (CEST) In-Reply-To: <20150724151725.GA21704@conspirator.williamhatch.net> (William G. Hatch's message of "Fri, 24 Jul 2015 09:17:25 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:117317 Archived-At: On 2015-07-24, at 09:17, William G Hatch wrote: > 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. Hi, just asking: does this persist? If yes, can you give a recipe for reproducing it, possibly starting with emacs -Q? Best, -- Marcin