unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: port19 <port19@port19.xyz>
Cc: emacs-devel@gnu.org
Subject: Re: Emergency Escape and EXWM
Date: Fri, 06 Sep 2024 14:46:24 +0300	[thread overview]
Message-ID: <86cylh0zu7.fsf@gnu.org> (raw)
In-Reply-To: <mC7n7IKz4oNyGfS2HlhV7MAOVZ9qlqliIwMkYOytRH6Z3o2j6hVY7JR7a4taSNBOD_Y9oVW_ft7HhX63PoCHywkPPhWUzTvWxOUe7eu6xuM=@port19.xyz> (message from port19 on Fri, 06 Sep 2024 08:02:47 +0000)

> Date: Fri, 06 Sep 2024 08:02:47 +0000
> From: port19 <port19@port19.xyz>
> 
> while reading the emacs manual I stumbled across a little inaccuracy in
> (info "(emacs) Emergency Escape")
> 
> > Emergency escape is active only for text terminals.  On graphical
> > displays, you can use the mouse to kill Emacs or switch to another
> > program.
> 
> While this is true for the vast majority of graphical sessions, one major exception exists.
> On EXWM, not least due to the single threaded nature of emacs, the graphical session can indeed hang because of emacs.
> In this case it's not possible to kill emacs with a mouse or switch to another program.

There's always "kill -9", no?

> Should this be documented? 

Which part?

> Should emergency escape be available via a customization option to graphical sessions?

Is it even possible?  On a text terminal, we configure the terminal to
generate SIGINT when C-g is pressed, and that's why we can provide
this feature: if we see a nested SIGINT, we know the user pressed C-g
more than once without Emacs being able to handle it.  But in a GUI
session, this is impossible, AFAIK.



  reply	other threads:[~2024-09-06 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06  8:02 Emergency Escape and EXWM port19
2024-09-06 11:46 ` Eli Zaretskii [this message]
2024-09-06 12:46   ` port19

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=86cylh0zu7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=port19@port19.xyz \
    /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).