GNU bug report logs - #21123
emacsclient silently eats keys on startup

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: William Hatch <willghatch@HIDDEN>; Done: Stefan Kangas <stefan@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 21123-done <at> debbugs.gnu.org:


Received: (at 21123-done) by debbugs.gnu.org; 29 Sep 2019 22:37:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 18:37:38 2019
Received: from localhost ([127.0.0.1]:56064 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEhow-00035h-KO
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 18:37:38 -0400
Received: from mail-pl1-f174.google.com ([209.85.214.174]:39550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1iEhov-00035L-5m
 for 21123-done <at> debbugs.gnu.org; Sun, 29 Sep 2019 18:37:38 -0400
Received: by mail-pl1-f174.google.com with SMTP id s17so3116658plp.6
 for <21123-done <at> debbugs.gnu.org>; Sun, 29 Sep 2019 15:37:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
 bh=7c9rQjhaf/I2iCu+nL/DV4GlFsvSmhhJ4wRkFx725cY=;
 b=l32vX8yDuuhUC02Qji07e1UqqMcdjsqfFRZI6S5RdjF8refqET4RfCQIR1URfyVxUi
 /9gorr/C5nAUOIbDpXGFf0g8XzCFsKr6girlQwBA9orDVSC2n+dDtCCLjAUpzqtRjNiq
 aEE+OiarUyfFHQMxm1w6f3dDXQRlrUioKJu7GIPGRetE5fd+PSKdWSjoHs1vG3o2naVD
 VE4IiEL5lFIsGWgRAWUbTNPAdsaLhzXvX+bd+YJpW2/Ub46oAKmB+NN2g4xZhtHg7T9h
 v71gjbgs/j2gGMHZ+Lmm1uGHiY8p6IIXu5eXpqnC+CsTcxnWtBuJnko3fnFOn0ni7NnC
 ZTvw==
X-Gm-Message-State: APjAAAWQUbrCNZJou5r32Rh4dnhxiyAS2rb8oU0i67ggV3wGRer4Y6hl
 GgJo7t7oI24DTHe+LI2ssFJKTvDE3b7IEhVlCIY=
X-Google-Smtp-Source: APXvYqyulrVs9gvk+JEpDVx6FPsL9tBj301wF7YtGTZ+bQTBPWqAf5fSvXthBG3S++YKyYwJIm0osxPIkNEYYgmgre0=
X-Received: by 2002:a17:902:326:: with SMTP id
 35mr17508075pld.128.1569796651511; 
 Sun, 29 Sep 2019 15:37:31 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Mon, 30 Sep 2019 00:37:20 +0200
Message-ID: <CADwFkmk0_D9esSZB8Sz95wgeUczv9wAQUvaUQSCCsM9zDEX2ug@HIDDEN>
Subject: Re: bug#21123: emacsclient silently eats keys on startup
To: Marcin Borkowski <mbork@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 21123-done
Cc: Andreas Schwab <schwab@HIDDEN>,
 William G Hatch <willghatch@HIDDEN>, 21123-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Marcin Borkowski <mbork@HIDDEN> writes:

> On 2015-07-24, at 09:17, William G Hatch <willghatch@HIDDEN> wrote:
>
>> On Fri, Jul 24, 2015 at 09:08:17AM +0200, Andreas Schwab wrote:
>>>William Hatch <willghatch@HIDDEN> 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?

More information was requested, but none was given within 3 years, so
I'm closing this bug report.  If this is still an issue, please reopen
this bug report.

Best regards,
Stefan Kangas




Notification sent to William Hatch <willghatch@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Stefan Kangas <stefan@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 21123 <at> debbugs.gnu.org:


Received: (at 21123) by debbugs.gnu.org; 30 Apr 2016 12:02:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 30 08:02:29 2016
Received: from localhost ([127.0.0.1]:56440 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1awTbR-0003NK-95
	for submit <at> debbugs.gnu.org; Sat, 30 Apr 2016 08:02:29 -0400
Received: from mail.mojserwer.eu ([195.110.48.8]:55305)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbork@HIDDEN>) id 1awTbP-0003NC-Ik
 for 21123 <at> debbugs.gnu.org; Sat, 30 Apr 2016 08:02:28 -0400
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
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)
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)
From: Marcin Borkowski <mbork@HIDDEN>
To: William G Hatch <willghatch@HIDDEN>
Subject: Re: bug#21123: emacsclient silently eats keys on startup
In-Reply-To: <20150724151725.GA21704@HIDDEN> (William
 G. Hatch's message of "Fri, 24 Jul 2015 09:17:25 -0600")
References: <CA+U1TeR1rfFbc7QK+QiYNMEQS-ntvx7e8-CBTFCbgGEmr=rtCQ@HIDDEN>
 <87615a58ym.fsf@HIDDEN>
 <20150724151725.GA21704@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Date: Sat, 30 Apr 2016 14:02:19 +0200
Message-ID: <8760uzuwxg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 21123
Cc: Andreas Schwab <schwab@HIDDEN>, 21123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 2015-07-24, at 09:17, William G Hatch <willghatch@HIDDEN> wrote:

> On Fri, Jul 24, 2015 at 09:08:17AM +0200, Andreas Schwab wrote:
>>William Hatch <willghatch@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21123; Package emacs. Full text available.

Message received at 21123 <at> debbugs.gnu.org:


Received: (at 21123) by debbugs.gnu.org; 24 Jul 2015 15:17:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 24 11:17:36 2015
Received: from localhost ([127.0.0.1]:58100 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZIej9-00067y-HX
	for submit <at> debbugs.gnu.org; Fri, 24 Jul 2015 11:17:35 -0400
Received: from mail-ie0-f180.google.com ([209.85.223.180]:34674)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <willghatch@HIDDEN>) id 1ZIej6-00067p-In
 for 21123 <at> debbugs.gnu.org; Fri, 24 Jul 2015 11:17:33 -0400
Received: by iecrl10 with SMTP id rl10so16999344iec.1
 for <21123 <at> 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)
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)
Date: Fri, 24 Jul 2015 09:17:25 -0600
From: William G Hatch <willghatch@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#21123: emacsclient silently eats keys on startup
Message-ID: <20150724151725.GA21704@HIDDEN>
References: <CA+U1TeR1rfFbc7QK+QiYNMEQS-ntvx7e8-CBTFCbgGEmr=rtCQ@HIDDEN>
 <87615a58ym.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <87615a58ym.fsf@HIDDEN>
User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 21123
Cc: 21123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Fri, Jul 24, 2015 at 09:08:17AM +0200, Andreas Schwab wrote:
>William Hatch <willghatch@HIDDEN> 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.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21123; Package emacs. Full text available.

Message received at 21123 <at> debbugs.gnu.org:


Received: (at 21123) by debbugs.gnu.org; 24 Jul 2015 07:08:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 24 03:08:22 2015
Received: from localhost ([127.0.0.1]:57742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZIX5h-0001Jd-Fp
	for submit <at> debbugs.gnu.org; Fri, 24 Jul 2015 03:08:21 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:53031)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <whitebox@HIDDEN>) id 1ZIX5f-0001JT-A4
 for 21123 <at> debbugs.gnu.org; Fri, 24 Jul 2015 03:08:20 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3md1pB2QKwz3hhdL;
 Fri, 24 Jul 2015 09:08:18 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3md1pB0MrPzvhLC;
 Fri, 24 Jul 2015 09:08:18 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id cte0qcrIpfPS; Fri, 24 Jul 2015 09:08:17 +0200 (CEST)
X-Auth-Info: dNBqmO7PE98xYSJflvF8QREo3sANmvoMM7QR0KCxCIyRQKohYCWupp5Et1orJYvP
Received: from igel.home (host-188-174-219-252.customer.m-online.net
 [188.174.219.252]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Fri, 24 Jul 2015 09:08:17 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 0A0462C3DF1; Fri, 24 Jul 2015 09:08:17 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: William Hatch <willghatch@HIDDEN>
Subject: Re: bug#21123: emacsclient silently eats keys on startup
References: <CA+U1TeR1rfFbc7QK+QiYNMEQS-ntvx7e8-CBTFCbgGEmr=rtCQ@HIDDEN>
X-Yow: When I met th'POPE back in '58, I scrubbed him with a MILD SOAP
 or DETERGENT for 15 minutes.  He seemed to enjoy it..
Date: Fri, 24 Jul 2015 09:08:17 +0200
In-Reply-To: <CA+U1TeR1rfFbc7QK+QiYNMEQS-ntvx7e8-CBTFCbgGEmr=rtCQ@HIDDEN>
 (William Hatch's message of "Thu, 23 Jul 2015 15:03:06 -0600")
Message-ID: <87615a58ym.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 21123
Cc: 21123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

William Hatch <willghatch@HIDDEN> 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.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21123; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Jul 2015 21:45:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 23 17:45:21 2015
Received: from localhost ([127.0.0.1]:57566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZIOIq-00019e-SZ
	for submit <at> debbugs.gnu.org; Thu, 23 Jul 2015 17:45:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51177)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <willghatch@HIDDEN>) id 1ZINe4-0000AO-JV
 for submit <at> debbugs.gnu.org; Thu, 23 Jul 2015 17:03:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <willghatch@HIDDEN>) id 1ZINe3-00089G-Ac
 for submit <at> debbugs.gnu.org; Thu, 23 Jul 2015 17:03:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:43312)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <willghatch@HIDDEN>) id 1ZINe3-00089C-8c
 for submit <at> debbugs.gnu.org; Thu, 23 Jul 2015 17:03:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36432)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <willghatch@HIDDEN>) id 1ZINe2-0000OT-5R
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jul 2015 17:03:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <willghatch@HIDDEN>) id 1ZINe0-00087u-FR
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jul 2015 17:03:10 -0400
Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:36790)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <willghatch@HIDDEN>) id 1ZINe0-000872-8o
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jul 2015 17:03:08 -0400
Received: by wicgb10 with SMTP id gb10so1600065wic.1
 for <bug-gnu-emacs@HIDDEN>; Thu, 23 Jul 2015 14:03:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=mhapzVSp/FRXEfYNOjo3cuZAfl6Drm0k17IcLGpdiGQ=;
 b=Nq5JjArbM2ngO+6coJTz5pm0q4U9xApIOuL73nL2W4RENK/xgyeLELkTUKlk7d1pq2
 OvFguNA89JcKleyCjZ+CPiufGyH/uCkZh2pJDD4kfnC28CtcGwd08F5D7WqdEBINU8OL
 CXsmSHp+LSdgyj/X85TJWscQrFNf8OQ/YRnbG2DvyQippaUlPChj0puJ4xyJPzKFims9
 m5yImLCBja48GMKIgabJr+4Z6pZak5/I7yYeM2j1wkCimyGZZp+sjoLwvTylqhBo6RPh
 Mhkdb3gAbuRmQnG1mkmhbCAU2CHYnxCZxg/dgGd30+K02UoN9xzWBgIuyUhveDps4sUu
 25Gw==
MIME-Version: 1.0
X-Received: by 10.194.121.131 with SMTP id lk3mr19027081wjb.77.1437685386715; 
 Thu, 23 Jul 2015 14:03:06 -0700 (PDT)
Received: by 10.180.184.233 with HTTP; Thu, 23 Jul 2015 14:03:06 -0700 (PDT)
Date: Thu, 23 Jul 2015 15:03:06 -0600
Message-ID: <CA+U1TeR1rfFbc7QK+QiYNMEQS-ntvx7e8-CBTFCbgGEmr=rtCQ@HIDDEN>
Subject: emacsclient silently eats keys on startup
From: William Hatch <willghatch@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=089e01227b8ac627cb051b913677
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 23 Jul 2015 17:45:19 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--089e01227b8ac627cb051b913677
Content-Type: text/plain; charset=UTF-8

When emacsclient is launched with -t (terminal mode), there is a short time
when I press keys and they have no effect.  Most commonly this happens when
I open a file knowing that I want to search for something, so I immediately
type backslash (bound to evil-search-forward), then the text I want to
search for.  When the slash and potentially some of the search term are
eaten, strange things happen when emacs suddenly starts interpreting the
middle of this key sequence as the start of it.

This doesn't happen when emacs is started normally in a terminal.  One of
my favorite things about using a terminal is that I can type ahead when I
know what I'm doing, and I don't have to wait for the GUI to catch up to
me.  Emacsclient breaks this, and it is especially noticeable over ssh.  I
have confirmed that this happens with no init file, so I'm sure it's not
just something in my configuration.

Confirmed in emacs versions 24.5.50.1 and 25.0.50.1.

Thanks (emacs is the best),
William

--089e01227b8ac627cb051b913677
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>When emacsclient is launched with -t (termi=
nal mode), there is a short time when I press keys and they have no effect.=
=C2=A0 Most commonly this happens when I open a file knowing that I want to=
 search for something, so I immediately type backslash (bound to evil-searc=
h-forward), then the text I want to search for.=C2=A0 When the slash and po=
tentially some of the search term are eaten, strange things happen when ema=
cs suddenly starts interpreting the middle of this key sequence as the star=
t of it.<br><br></div>This doesn&#39;t happen when emacs is started normall=
y in a terminal.=C2=A0 One of my favorite things about using a terminal is =
that I can type ahead when I know what I&#39;m doing, and I don&#39;t have =
to wait for the GUI to catch up to me.=C2=A0 Emacsclient breaks this, and i=
t is especially noticeable over ssh.=C2=A0 I have confirmed that this happe=
ns with no init file, so I&#39;m sure it&#39;s not just something in my con=
figuration.<br><br></div><div>Confirmed in emacs versions 24.5.50.1 and 25.=
0.50.1.<br></div><div><br></div>Thanks (emacs is the best),<br></div>Willia=
m<br></div>

--089e01227b8ac627cb051b913677--




Acknowledgement sent to William Hatch <willghatch@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#21123; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 29 Sep 2019 22:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.