all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 7837@debbugs.gnu.org
Subject: bug#7837: 23.2.91; Logging out is confusing if Emacs has background processes running
Date: Tue, 1 Oct 2019 21:59:04 +0100	[thread overview]
Message-ID: <CAOnWdohh3j9aHnx=0E-PArfFdeEU-uVV0S1SHfDhSqsT-RwqBA@mail.gmail.com> (raw)
In-Reply-To: <87a7akw5i2.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

On Tue, 1 Oct 2019 at 21:55, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> > What is missing, therefore, is for Emacs to act as if I 19ve tried to
> quit
> > it when it is signalled by the X session manager. (This is what other
> > apps do: they immediately bring up the  1cYou have unsaved documents 1d
> > dialog, or equivalent.)
>
> How does the window manager communicate to the apps that it's closing
> down?  Is there a standard?
>

https://www.x.org/releases/X11R7.7/doc/libSM/xsmp.html

Emacs already implements this: see src/xsmfns.c. The problem is its
behaviour when there are background processes.

-- 
https://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 1578 bytes --]

  reply	other threads:[~2019-10-01 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 19:24 bug#7837: 23.2.91; Logging out is confusing if Emacs has background processes running Reuben Thomas
2019-10-01 20:55 ` Lars Ingebrigtsen
2019-10-01 20:59   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2019-10-03 15:33     ` Lars Ingebrigtsen

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='CAOnWdohh3j9aHnx=0E-PArfFdeEU-uVV0S1SHfDhSqsT-RwqBA@mail.gmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=7837@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=rrt@sc3d.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.