zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: "Lawrence Velázquez" <larryv@zsh.org>, zsh-workers@zsh.org
Subject: Re: [PATCH] Do not send duplicate signals when MONITOR is set
Date: Mon, 19 Jul 2021 11:00:03 +0100 (BST)	[thread overview]
Message-ID: <1738413043.259738.1626688803466@mail2.virginmedia.com> (raw)
In-Reply-To: <bbd7b9e7-81fa-4244-8bc1-de7dffcb839a@www.fastmail.com>

> On 18 July 2021 at 23:55 Lawrence Velázquez <larryv@zsh.org> 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 <epaulson10@gmail.com> wrote:
> > > > 
> > > > 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 digging
> > > > into the code, I realized that emacsclient was receiving two SIGCONTs,
> > > > which caused it to send a malformed command to the daemon.
> > > > 
> > > > 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


  reply	other threads:[~2021-07-19 10:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07 17:27 Erik Paulson
2021-06-07 18:45 ` Bart Schaefer
2021-06-14 19:19   ` Peter Stephenson
2021-07-18 22:55     ` Lawrence Velázquez
2021-07-19 10:00       ` Peter Stephenson [this message]
2021-07-23 20:11         ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1738413043.259738.1626688803466@mail2.virginmedia.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=larryv@zsh.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).