From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org
X-Spam-Level:
X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY
autolearn=ham autolearn_force=no version=3.4.4
Received: (qmail 19786 invoked from network); 19 Jul 2021 10:00:42 -0000
Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368)
by inbox.vuxu.org with ESMTPUTF8; 19 Jul 2021 10:00:42 -0000
ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1626688842;
b=n7LDoOLbCwck7MtsWn1NZCMcps0uqxD6d87r2yWuLuXm0VGvYZPy3a2FYOI0NcmA6dj7NE4FdK
la3AYqE0+LG5vC4pPT8y9uecgGnX3sClt2PUG/ynNOgDgIESMl81lEpqpBurc76Zp/w5sWXnDb
SK8Hj48smUS/4DosGkkzqTmPkD0CUHCY81G8VHQH7R/9y3Ss6kRrFNUxU733QCxVTe9aDQsvX0
voSIoxFb1nEv/xW8tqzXZ4Wux6Upe37eHTo8XX/j0GGNIj4jtmO9ECPARICZ96cnEqlwar+T22
Bh381HIzKKJCJwL4rK6ML8EmuLA73SXfANkLtDGkDk87Sg==;
ARC-Authentication-Results: i=1; zsh.org;
iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97;
dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256;
dmarc=pass header.from=ntlworld.com;
arc=none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1626688842;
bh=tUjinfDQdMeO/Wi1C4qoFUnZKjW1n1lnOimrHZzVvG8=;
h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help:
List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:
References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature:
DKIM-Signature;
b=OWOVc1lZfgaaS9fsaV4QtetpZQNY0LPtCvJcx2kHg+7duzsdWM4gMREKZ7Gftvdp1W4EpZxg8o
i0z7c9+NiOYpSoE4QXPgvtTfa4FFhGVaqPgzjWzRfdFwPUC8JFpqJVX+eHayq85FZ0xA1sT0Kw
1yT0qaxW6C9u4JeJx8YvPByZ43/zUfCfrLQ+KM3fdXZhIO2gG4wAC/6uS4MhdTDt+xdNQ/+57n
V8FIHKyA70sxXJ2rcLMNqiQ01YAN+8SVSweIIKwClmS5w8+uhem8f/fHgsfe/tJBkpbqTPdGWS
c6D54Y5fEx83+SxC/Hj+mGcaeb/fAWwFeEjt5TWpFqI7yA==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org;
s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:
List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding:
Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From:
Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID;
bh=aQMuZvK9mYsAhT8FgR3JB+6Y1Z9eni5pT18RfP7npag=; b=BaSF1XIM2Kr2Oc5WHr4Uo6x92f
RGk3Dv3KIRpSlFgJe2mm7F21qUh1YWxVapoWqRG5XWWPYdp8Dae2vATXJU+OQezFcxuao86NmtVpU
kDeye1dQTaABrucK5fThvb3C+IDWqIvBlQtMt/OkzxLvQxH5wK1cDLXxUsmfipTLygHK/f+zAX9qE
AdH7TQuL//hgHVXYARwI4kQ2sMkjFdATyR0AWKMfYRu8fQ/PHN7usDoLZrBA2VHTtVfSMRojkatAx
CMXtO4N0tLJmgpTa1j8xGTPKmM/9MlgxlW9HVnQ3dOYM8HTQzZfgOql+VDhcTan5xcdyVArPiv36A
wVYdLnjQ==;
Received: from authenticated user by zero.zsh.org with local
id 1m5Q4m-000J8R-Nn; Mon, 19 Jul 2021 10:00:40 +0000
Authentication-Results: zsh.org;
iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97;
dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256;
dmarc=pass header.from=ntlworld.com;
arc=none
Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:54074)
by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1m5Q4C-000IqJ-7g; Mon, 19 Jul 2021 10:00:05 +0000
Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net)
by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2)
(envelope-from
)
id 1m5Q4B-0003UB-I5
for zsh-workers@zsh.org; Mon, 19 Jul 2021 12:00:03 +0200
Received: from oxbe8.tb.ukmail.iss.as9143.net ([172.25.160.139])
by smtp1.tb.ukmail.iss.as9143.net with ESMTP
id 5Q4Bm8RYvhdxk5Q4Bmrhbo; Mon, 19 Jul 2021 12:00:03 +0200
X-Env-Mailfrom: p.w.stephenson@ntlworld.com
X-Env-Rcptto: zsh-workers@zsh.org
X-SourceIP: 172.25.160.139
X-CNFS-Analysis: v=2.4 cv=Ru2mkAqK c=1 sm=1 tr=0 ts=60f54d23 cx=a_exe
a=pgSR3NrKiwmx/6vnWRL19w==:117 a=sfM75MaK4YAA:10 a=IkcTkHD0fZMA:10
a=2y5beTJ5bSgA:10 a=HYshxDoSAAAA:8 a=pGLkceISAAAA:8 a=ZZWDWauqcm1BuGa_LvUA:9
a=QEXdDO2ut3YA:10 a=elyKgWIyZ5oA:10 a=Plg5eiIisSYA:10
a=na7qQM7zoEAPfvOk0o6d:22
X-Authenticated-Sender: p.w.stephenson@ntlworld.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com;
s=meg.feb2017; t=1626688803;
bh=tUjinfDQdMeO/Wi1C4qoFUnZKjW1n1lnOimrHZzVvG8=;
h=Date:From:To:In-Reply-To:References:Subject;
b=VlBMHC5ZWXHUEHz4nYUxZfC3fzW4dzdicN5BguqdH3ybIyqpGMRUKKaxrSsufy7MR
ZhkBZdiNJjBJQW5/TiVbSmKaKgDECw6W7N5aIvPPmQV4f9viPfb851QVjFU9qQSj8i
j46CUgUs0GAXi7GqXR1ka3M5p7Ndd+q9ocTjgKq1+2WCydXXptGvf3fIvvS1PvyYsC
rmtBJrA6Tfxgen1H6HudefY70X6c9jcZAGwzCgcuOFYtv1V4BMmypbZMssJ7sAN26X
q+UVuMCFljdZ7sVPKyYErRZyTY3TLy6EJLzhxih6pQv3Ds5RSVRzBaBXW45QH/6Ou/
ompxt7kv4YOcg==
Date: Mon, 19 Jul 2021 11:00:03 +0100 (BST)
From: Peter Stephenson
To: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= ,
zsh-workers@zsh.org
Message-ID: <1738413043.259738.1626688803466@mail2.virginmedia.com>
In-Reply-To:
References: <20210607172753.222432-1-epaulson10@gmail.com>
<823a57a39d8873ce30d2806d95a1c540cf0fe2f2.camel@ntlworld.com>
Subject: Re: [PATCH] Do not send duplicate signals when MONITOR is set
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.8.4-Rev72
X-Originating-IP: 165.225.81.118
X-Originating-Client: open-xchange-appsuite
X-CMAE-Envelope: MS4xfNWY42Z5CGc5fTjGdPaD5qo8qY/9YTXjNJqMwDsn0vbzCFP/dz+faCUckcIXMYQ8KP+RYw0nZPSJ3mqlp9xBeADpYuqxOtrAvN/PPz3OKTevgcg2xoeI
+8q3Xd0dq2U54C2v8BLcEurnXCS3n9jaO02o0/YtebqJ3FOalxk/ZuZdtSX6+pjrtYBVlH8Bc92+IlN/tlnIl5LJ+JUkeGuuQpurR4JV7h5NuBlxU8FKXSDN
bmCd2+f2gNKoiW/ZciDg6w==
X-Seq: 49179
Archived-At:
X-Loop: zsh-workers@zsh.org
Errors-To: zsh-workers-owner@zsh.org
Precedence: list
Precedence: bulk
Sender: zsh-workers-request@zsh.org
X-no-archive: yes
List-Id:
List-Help:
List-Subscribe:
List-Unsubscribe:
List-Post:
List-Owner:
List-Archive:
> On 18 July 2021 at 23:55 Lawrence Vel=C3=A1zquez wrote:
> On Mon, Jun 14, 2021, at 3:19 PM, Peter Stephenson wrote:
> > On Mon, 2021-06-07 at 11:45 -0700, Bart Schaefer wrote:
> > > On Mon, Jun 7, 2021 at 10:28 AM Erik Paulson w=
rote:
> > > >=20
> > > > I run emacs as a daemon and use the emacsclient program to connect =
to
> > > > it. I noticed that when I suspended the emacsclient program and
> > > > resumed it in zsh, the program would sporadically crash. After digg=
ing
> > > > into the code, I realized that emacsclient was receiving two SIGCON=
Ts,
> > > > which caused it to send a malformed command to the daemon.
> > > >=20
> > > > I found that this return used to be present, but was removed in
> > > > https://www.zsh.org/mla/workers/2018/msg01338.html while addressing
> > > > another emacs issue.
>...
> > I would hazard that as SIGCONT is probably the most difficult case ---
> > the only one where you specifically want the process to be running
> > afterwards --- if this patch improves things there, it's prohably not
> > doing a lot of harm in most cases.
>...
> Anything else on this?
Unless anyone can point to a fundamental error in my summary above, I
suggest we apply this and and see what happens. At the absolute least,
I'm pretty sure we're not going to get any further without trying it
out in earnest, and looking for remaining oddities.
pws