XEmacs segfaults when trying to use window commands like "pos-visible-in-window-p" or "recenter" in batch mode: $ xemacs -batch -q -f pos-visible-in-window-p Segmentation fault $ xemacs -batch -q -f recenter Segmentation fault
Created attachment 917307 [details, diff] xemacs-21.5.35-batch-segfault.patch This is the upstream fix from https://foss.heptapod.net/xemacs/xemacs/-/commit/578daa839db83c84fc7ebbc4bf809ff66fd492f5 backported to XEmacs 21.5.35. (I had to fix one conflict in window.c.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fcbadfedce4432586e158dc810bf3a3d922d8c1 commit 1fcbadfedce4432586e158dc810bf3a3d922d8c1 Author: Mats Lidell <matsl@gentoo.org> AuthorDate: 2025-01-22 15:20:45 +0000 Commit: Mats Lidell <matsl@gentoo.org> CommitDate: 2025-01-22 15:56:32 +0000 app-editors/xemacs: Fix segfault calling center-to-window-pos Thanks to Ulrich Müller. Closes: https://bugs.gentoo.org/948535 Signed-off-by: Mats Lidell <matsl@gentoo.org> .../files/xemacs-21.5.35-batch-segfault.patch | 191 +++++++++++++++ app-editors/xemacs/xemacs-21.5.35-r7.ebuild | 264 +++++++++++++++++++++ 2 files changed, 455 insertions(+)