unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lucas Werkmeister <mail@lucaswerkmeister.de>
Cc: public@timruffing.de, 46022@debbugs.gnu.org
Subject: bug#46022: 27.1; kill-emacs should call sd_notify only in daemon mode
Date: Fri, 22 Jan 2021 13:45:53 +0200	[thread overview]
Message-ID: <83k0s55h5a.fsf@gnu.org> (raw)
In-Reply-To: <6b98486b-a5ff-72fd-5c9b-fe90858790ee@lucaswerkmeister.de> (message from Lucas Werkmeister on Fri, 22 Jan 2021 10:47:49 +0100)

> Cc: public@timruffing.de, 46022@debbugs.gnu.org
> From: Lucas Werkmeister <mail@lucaswerkmeister.de>
> Date: Fri, 22 Jan 2021 10:47:49 +0100
> 
> > -  daemon_type = -1;
> > +  daemon_type = -daemon_type;
> >  
> >  #else  /* WINDOWSNT */
> >    /* Signal the waiting emacsclient process.  */
> > 
> 
> That looks good to me. If daemon_type is 0, it will now stay at 0
> instead of being marked as invalid, but that should be okay, since
> daemon-initialized has no special code for daemon_type == 0.

Right.

Tim, does this work for you?  Can you perhaps test this on your
system?





  reply	other threads:[~2021-01-22 11:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 16:26 bug#46022: 27.1; kill-emacs should call sd_notify only in daemon mode Tim Ruffing
2021-01-21 19:29 ` Eli Zaretskii
2021-01-21 20:12   ` Lucas Werkmeister
2021-01-22  8:19     ` Eli Zaretskii
2021-01-22  9:47       ` Lucas Werkmeister
2021-01-22 11:45         ` Eli Zaretskii [this message]
2021-01-22 12:07           ` Tim Ruffing
2021-01-22 12:31             ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83k0s55h5a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=46022@debbugs.gnu.org \
    --cc=mail@lucaswerkmeister.de \
    --cc=public@timruffing.de \
    /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.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).