From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: PEDRO ANDRES ARANDA GUTIERREZ Newsgroups: gmane.emacs.bugs Subject: bug#46687: 28.0.50; Emacs freezes when disabling toolbar Date: Tue, 23 Feb 2021 08:59:22 +0100 Message-ID: References: <7B2D8739-1C6C-40BF-A568-A60728C38489@it.uc3m.es> <3059BAFC-9DBA-48B2-8885-90FEF94020F5@it.uc3m.es> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008bf7d505bbfc4c78" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36266"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , PEDRO ANDRES ARANDA GUTIERREZ , 46687@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 23 09:00:37 2021 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 1lEScW-0009Hl-HF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 09:00:36 +0100 Original-Received: from localhost ([::1]:34584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEScV-0000Za-Ge for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 03:00:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lESbz-0000Yj-4j for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 03:00:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lESby-0006Uw-Bw for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 03:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lESby-0001Y1-8Y for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 03:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: PEDRO ANDRES ARANDA GUTIERREZ Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2021 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46687 X-GNU-PR-Package: emacs Original-Received: via spool by 46687-submit@debbugs.gnu.org id=B46687.16140671855900 (code B ref 46687); Tue, 23 Feb 2021 08:00:02 +0000 Original-Received: (at 46687) by debbugs.gnu.org; 23 Feb 2021 07:59:45 +0000 Original-Received: from localhost ([127.0.0.1]:58207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lESbf-0001X4-D7 for submit@debbugs.gnu.org; Tue, 23 Feb 2021 02:59:45 -0500 Original-Received: from mail-lj1-f181.google.com ([209.85.208.181]:34450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lESbc-0001Wn-8R for 46687@debbugs.gnu.org; Tue, 23 Feb 2021 02:59:42 -0500 Original-Received: by mail-lj1-f181.google.com with SMTP id r23so62061702ljh.1 for <46687@debbugs.gnu.org>; Mon, 22 Feb 2021 23:59:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=it.uc3m.es; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=edn9V59C5btkKx5pHwZ9JlSvqptKL7prDS2Ire7bpac=; b=T6rkZk8QUaIyocnXx66ZxpYeEbHdKQFkcNYCA97/waoMDe2QOTb1YHs29MiALzdBHG v7Qn9rLvCBn8E45Q4QXyhlElsyEBGVneaEmQtL0pef0pqxzvVz8S99CD2PXxcEKRlAAY ii3/qDt+elVpN2pvW4XEUmZ4znqbOcYRpmdX2CP66XhlLF8J4d6LCoYa4i1XYSKjfw3f L84uUEFtQ0SV3LD+8Gyzaf5Z86eaVyYUidJYa7zYD0ZqMAUVcFlTnlvZJRoM37635NAY SPeRLjVVDt/y2m0+LFQ4suXmGMRHxC0LY0X/Qm4K8HRIh43Y2EEtNyqaVvHV70sVeThr A9JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=edn9V59C5btkKx5pHwZ9JlSvqptKL7prDS2Ire7bpac=; b=Iq+VglcXtiUEvViJMMXYk6Vmi9cXRJjMDkTOyJzlZharmuoqC4I7OYmgbj24V7+2rD wU5nyTzwrf6ViqjwKcRscixuBXnCJbOtk/Ga/jNTVSXe/l+bbM8+nhZAFZ0VVHhkCpYN YaMVkBLFwIgEHedLR0HhBvxH5Gx1CtxugRBPEgwWfG+fDv58Bza3VMo5b6rwMtX31Ob7 4vxBvZfxl8pyA+P6n/J/XYyb64G9WNtNrcypbETkzUdSdt9B5ve007ZxtZ91XHVyhLMy Hjp72hWCYNOIICpYzsZOvmR2h93fa8atebPgyBuLbHHg0DRRfZDlfrNGnq9/+k7e5P3W w3Jw== X-Gm-Message-State: AOAM531KQ9wUptNOjFfi3yLVbZr4WglgD7PqTyRYC/U5sYElxgvXg109 YVv8WSzlkRovGalu1ZDD03SPBGARlAPQPe23GL4UJw== X-Google-Smtp-Source: ABdhPJyXwZX3RD4BvjsmNmxM9pppo8v5886lXTriE8eW1REwiQbG0MntFFOUJxXCSNJsDHNrUD35t1z6uTfp5/Fin9c= X-Received: by 2002:a2e:2a85:: with SMTP id q127mr15840425ljq.379.1614067173939; Mon, 22 Feb 2021 23:59:33 -0800 (PST) In-Reply-To: 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:200644 Archived-At: --0000000000008bf7d505bbfc4c78 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Alan, answers inline El lun, 22 feb 2021 a las 19:24, Alan Third () escribi=C3= =B3: > On Mon, Feb 22, 2021 at 12:45:13PM +0100, PEDRO ANDRES ARANDA GUTIERREZ > wrote: > > PS: interestingly, it happens both on My MacBook Pro (10.13) and my > Macbook Air (10.15)=E2=80=A6 My configure is: > > > > ./autogen.sh > > ./configure --without-x --with-ns --with-modules \ > > --with-xpm --with-jpeg \ > > --enable-silent-rules \ > > PKG_CONFIG_PATH=3D/usr/local/lib/pkgconfig \ > > LDFLAGS=3D"-L/usr/local/lib" CPPFLAGS=3D"-I/usr/local/include" \ > > CC=3Dclang OBJC=3Dclang CFLAGS=3D"-g -O2=E2=80=9D > > > > From a clean git clone. I use macholib to create the standalone. > > Does it make any difference if you just do > > ./configure > > without all the rest? Tested that and the answer is no. > (Do you use Homebrew?) > I use my fork of RUDIX (https://github.com/paaguti/rudix) mainly for GNUTLS in the case of Emacs > Can you please comment out the call to redisplay in nsterm.m at around > line 8502 and try again? I expect this will completely fix it. > Did that and it fixes the freeze. However, when you start with tool-bar-mode enabled, the window isn't drawn correctly. If you start with (tool-bar-mode -1) and keep it like that, that seems to be a sort of temporary fix. --=20 > Alan Third > Let me know if you need more tests... Thx, /PA --=20 --- PEDRO ANDRES ARANDA GUTIERREZ Universidad Carlos III de Madrid "Fragen sind nicht da um beantwortet zu werden. Fragen sind da, um gestellt zu werden" Georg Kreisler --0000000000008bf7d505bbfc4c78 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Alan,

answers inline
El lu= n, 22 feb 2021 a las 19:24, Alan Third (<alan@idiocy.org>) escribi=C3=B3:
On Mon, Feb 22, 2021 at 12:45:13PM +0100, PEDRO= ANDRES ARANDA GUTIERREZ wrote:
> PS: interestingly, it happens both on My MacBook Pro (10.13) and my Ma= cbook Air (10.15)=E2=80=A6 My configure is:
>
> ./autogen.sh
> ./configure --without-x --with-ns --with-modules \
>=C2=A0 --with-xpm --with-jpeg \
>=C2=A0 --enable-silent-rules \
>=C2=A0 PKG_CONFIG_PATH=3D/usr/local/lib/pkgconfig \
>=C2=A0 LDFLAGS=3D"-L/usr/local/lib" CPPFLAGS=3D"-I/usr/l= ocal/include" \
>=C2=A0 CC=3Dclang OBJC=3Dclang CFLAGS=3D"-g -O2=E2=80=9D
>
> From a clean git clone. I use macholib to create the standalone.

Does it make any difference if you just do

=C2=A0 =C2=A0 ./configure

without all the rest?

Tested that and the = answer is no.
=C2=A0
(Do you use Homebrew?)

I use= my fork of RUDIX (https://git= hub.com/paaguti/rudix) mainly for GNUTLS in the case of Emacs=C2=A0
=C2=A0
Can you please comment out the call to redisplay in nsterm.m at around
line 8502 and try again? I expect this will completely fix it.

Did that and it fixes the freeze. However, when you= start with tool-bar-mode enabled, the window isn't drawn correctly. If= you start with (tool-bar-mode -1) and keep it like that, that seems to be = a sort of temporary fix.=C2=A0

--
Alan Third

Let me know if you need more tests..= .
Thx, /PA

--
---
PEDR= O ANDRES ARANDA GUTIERREZ
Universidad Carlos III de Madrid
"Fragen sind nicht da um beantwortet zu werden.
= Fragen sind da, um gestellt zu werden" Georg Kreisler
--0000000000008bf7d505bbfc4c78--