emacs, server mode, and wayland
Peter Suetterlin via openSUSE Users <[email protected]> Tue, 30 Jun 2026 11:01:19 +0100
| Newsgroups | gmane.linux.suse.general |
|---|---|
| Message-ID | <akOT7wxf-RjjxuGa@speedy> |
Hi list. I'm using emacs for all my editing, and auto-start it in server mode (-f server-start), and use emacsclient as EDITOR where possible. So far, whenever some program spawns an edit this way, the emacs window got de-iconified automatically, and closed when ending the edit (with CRTL-X #). The latter works via a self-delared function added to server-done-hook. Recently I had a try to use Wayland instead of the Xorg I'm using so far(*). With that (I'm using KDE/Plasma on Tumbleweed) de-iconification no longer works :(( This is a major setback in usability. At least the server-done-hook does work.... Now I'm not sure where to look for the roots of this problem. Is it a wayland issue, an emacs issue, or something else? I tried adding another function to de-iconify to other server hooks, but none of them seems to work. Has anyone seen similar issues, and solved it? Hints highly welcome TIA (*) I had several tries before, but for my hardware it had not been stable for daily use. It seems to be better now.