GNU bug report logs - #55970
29.0.50; Emacs crashes when dragging the scroll bar with "--with-pgtk" and "--without-toolkit-scroll-bars" configure flags

Previous Next

Package: emacs;

Reported by: समीर सिंह Sameer Singh <lumarzeli30 <at> gmail.com>

Date: Tue, 14 Jun 2022 14:09:02 UTC

Severity: normal

Tags: fixed

Found in version 29.0.50

Fixed in version 29.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55970 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, समीर सिंह Sameer Singh <lumarzeli30 <at> gmail.com>
Subject: bug#55970: 29.0.50; Emacs crashes when dragging the scroll bar with "--with-pgtk" and "--without-toolkit-scroll-bars" configure flags
Date: Thu, 16 Jun 2022 09:39:13 +0200
tags 55970 fixed
close 55970 29.1
quit

>>>>> On Thu, 16 Jun 2022 08:53:38 +0800, Po Lu <luangruo <at> yahoo.com> said:

    Po> Robert Pluim <rpluim <at> gmail.com> writes:
    >> configure is written in sh, not in C, so you need
    >> 
    >> diff --git a/configure.ac b/configure.ac
    >> index 5b86e90925..c91b7de322 100644
    >> --- a/configure.ac
    >> +++ b/configure.ac
    >> @@ -3436,7 +3436,7 @@ AC_DEFUN
    >> AC_DEFINE(USE_TOOLKIT_SCROLL_BARS)
    >> USE_TOOLKIT_SCROLL_BARS=yes
    >> fi
    >> -elif test "${window_system}" != "x11" && "${window_system}" != "none"; then
    >> +elif test "${window_system}" != "x11" && test "${window_system}" != "none"; then
    >> AC_MSG_ERROR(Non-toolkit scroll bars are not implemented for your system)
    >> fi
    >> 
    >> 
    >> (or use -a to avoid repeating the 'test')
    >> 
    >> Robert

    Po> Ah, right, that should've been obvious.

The mix of sh, m4, C, make, awk etc in configure makes such things
decidedly non-obvious: too many language context switches

    Po> Feel free to install that change and close this bug.

Closing.
Committed as 1054d38bc7




This bug report was last modified 3 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.