# Escape from popup dialogs

**URL:** <https://swi-prolog.discourse.group/t/escape-from-popup-dialogs/9835>\
**Category:** Request For Comments\
**Created:** [September 24, 2026, 9:17am UTC](https://swi-prolog.discourse.group/t/escape-from-popup-dialogs/9835 "2026-09-24T09:17:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike.elston](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/mike.elston/32/3691_2.png) [@mike.elston](https://swi-prolog.discourse.group/u/mike.elston)\
**Post date:** [September 24, 2026, 9:17am UTC](https://swi-prolog.discourse.group/t/escape-from-popup-dialogs/9835/1 "2026-09-24T09:17:16Z")

</div>

This is in the “would be nice” rather than “essential” category but I think it would helpful if pop up dialogs in PceEmacs, specifically the Query replace dialogs, could be dismissed with the Esc key.

 ![Screenshot From 2026-09-24 21-11-44](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/2X/f/fb0d321e5063aa035413d69407708c9dbc349614.png)

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [September 24, 2026, 3:29pm UTC](https://swi-prolog.discourse.group/t/escape-from-popup-dialogs/9835/2 "2026-09-24T15:29:05Z")

</div>

> [@mike.elston](#):
>
> could be dismissed with the Esc key.

Added, though the Emacs abort (^G) already worked. It makes the editor a little nicer for non-emacs people though. Also added the Emacs screen split/join shortcuts to Epilog (^X2, ^X3 and ^X0).

---

<div class="post-metadata">

**Author:** ![mgondan1](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/mgondan1/32/803_2.png) [@mgondan1](https://swi-prolog.discourse.group/u/mgondan1)\
**Post date:** [September 24, 2026, 7:31pm UTC](https://swi-prolog.discourse.group/t/escape-from-popup-dialogs/9835/3 "2026-09-24T19:31:21Z")

</div>

Further support for mgondan’s tenth rule: Any sufficiently complicated piece of software contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of the Emacs editor.
