From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#55970: 29.0.50; Emacs crashes when dragging the scroll bar with "--with-pgtk" and "--without-toolkit-scroll-bars" configure flags Date: Wed, 15 Jun 2022 15:50:43 +0200 Message-ID: <875yl2yr0s.fsf@gmail.com> References: <83v8t3rvh7.fsf@gnu.org> <83sfo7rtc4.fsf@gnu.org> <83o7yvrshd.fsf@gnu.org> <87h74m91xz.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55970@debbugs.gnu.org, Eli Zaretskii , =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 15 15:51:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1TQM-0000LV-Eh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Jun 2022 15:51:10 +0200 Original-Received: from localhost ([::1]:46964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1TQK-0004zp-VA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Jun 2022 09:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1TQF-0004ze-13 for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2022 09:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1TQE-0004o1-Ax for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2022 09:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1TQE-00063p-7o for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2022 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Jun 2022 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55970 X-GNU-PR-Package: emacs Original-Received: via spool by 55970-submit@debbugs.gnu.org id=B55970.165530105623282 (code B ref 55970); Wed, 15 Jun 2022 13:51:02 +0000 Original-Received: (at 55970) by debbugs.gnu.org; 15 Jun 2022 13:50:56 +0000 Original-Received: from localhost ([127.0.0.1]:36969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1TQ8-00063S-7p for submit@debbugs.gnu.org; Wed, 15 Jun 2022 09:50:56 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:34721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1TQ3-000639-8x for 55970@debbugs.gnu.org; Wed, 15 Jun 2022 09:50:54 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id p6-20020a05600c1d8600b0039c630b8d96so2096983wms.1 for <55970@debbugs.gnu.org>; Wed, 15 Jun 2022 06:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=FQUQ3qqjsVmyTaSQS2KnzbJ3FPda4+AihOl0ceIyQO0=; b=C2KEcBXSRe1AgmU346ZekGWv7uY0ueNm1BVjj+Wl02fKG7yPkjcK75gd1GjfLqw1rz NLgid6L99+BYkNtKwI/xNbk/jN3dr5zlPkn0KfyKkyNigUSFqDSvlg4gfpL5AcWhN+qW bwzCtymB7UCIUkfQ/sXLLdfxxSayMQVm1MCD6tWbNjdiIR0vMiz+w7U81tFr42quwDes dIuWu7IDYPXNTlt8DIv63qCLZ83XmlEDXf4LasvSg4rb21ZTwIjcd+UFJ+qokhNN3YQ6 oXz5YFTETOXJF8eHp8IoCrZ8Cib4DUP+zbX6JLggZZHM2SV5rYSvZfgWVD3bw7eiFCnd p6iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=FQUQ3qqjsVmyTaSQS2KnzbJ3FPda4+AihOl0ceIyQO0=; b=uZsFxk0x2AVej4I+gxyAXqdt4ZDO1seOHRRLE4uPPguoM/xyHervY0FaXfg5BctIBO U5aikDxz5200tPbxjCmZwv8KQElGwI9snqjzx5Ze77YxOAjuLP7E2LUHt1SatkKhs0hQ FxwT72Bz9xU2topXjghwixcEQ+MUI7APsDtmGmqDtnc31oYNOb2fUfNEPdRlDst9ULRi 3l3S//YAanowZdH2KwLfateVHPanTZ0c+p6+7QrycwtSvoYgfCSlMOCk41nlIXnH2QuD Pi5f730U6hFl/w2XkNRI3wlXqiJA0G/8BR/ujEC2XCku1oImWGGXsuhZBt/q2l+8H7JO DlyA== X-Gm-Message-State: AOAM531x3N+B6cbapO5W6QYEBrAD7kgV8N0gxzojNzM86yGaWRF8UUCe XQso7e6QCS895zAhsnFQMrg= X-Google-Smtp-Source: ABdhPJylkoJu3DjKvfczoFHvSQ8W5uf13lj7Wn/OjL+K6AquaIETE4EOCdYRB38mThzY7v8MO/qifg== X-Received: by 2002:a7b:c205:0:b0:39c:506d:e294 with SMTP id x5-20020a7bc205000000b0039c506de294mr10055635wmi.159.1655301045187; Wed, 15 Jun 2022 06:50:45 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:d98:f501:96ca:7200]) by smtp.gmail.com with ESMTPSA id t2-20020a1c4602000000b0039db60fa340sm2474885wma.33.2022.06.15.06.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 06:50:44 -0700 (PDT) In-Reply-To: <87h74m91xz.fsf@yahoo.com> (Po Lu's message of "Wed, 15 Jun 2022 08:59:20 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234584 Archived-At: >>>>> On Wed, 15 Jun 2022 08:59:20 +0800, Po Lu said: Po> Eli Zaretskii writes: >> Thanks for testing, I will let it to Po Lu to decide whether that's >> the proper fix in this case. Po> Non-toolkit scroll bars use different kinds of events compared to Po> toolkit scroll bars. PGTK only implements the latter kind, so turning Po> toolkit scroll bars off should trigger this piece of configure.ac: Po> elif test "${window_system}" != "x11" && "${window_system}" != "none"; then Po> AC_MSG_ERROR(Non-toolkit scroll bars are not implemented for your system) Po> fi Po> Perhaps Sameer's configure script is out of date and needs to be Po> regenerated. 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 --