From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.devel Subject: Re: displaying margins leads to Emacs hanging Date: Fri, 24 Feb 2023 21:41:59 +0100 Message-ID: References: <83edqen95b.fsf@gnu.org> <838rgmn6y4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000da935d05f57829f2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15438"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 24 21:43:23 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pVeuX-0003k5-Rh for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Feb 2023 21:43:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVetV-0005Bl-12; Fri, 24 Feb 2023 15:42:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVetT-00059S-Uj for emacs-devel@gnu.org; Fri, 24 Feb 2023 15:42:15 -0500 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVetS-0000Yz-3W; Fri, 24 Feb 2023 15:42:15 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id j2so372254wrh.9; Fri, 24 Feb 2023 12:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/wqVeRyPE7iamm0gZlq882wiqtsibBBEK+UFjY7bmIE=; b=AeUBT91sRe7lp6neU2Y3LhGlXrdlVQxBZ0ExsSi+JVDBE5cGAfax2h+cw/obwa1Vv2 UEjENVRA9kuZQiTO0gYe2QKMWqN+p0vzzRoEAHx9xgKPyericJ3svZKvhFvK5wne2SuN 7y7336N4j78l41so8ehg3n+9k+aqM9VJ3S1JHDSPopGWDZW11BdTW9Xh/Annn2ALdpej ndbAP6hE5NXsYbhDzPCeVyIWcM64B19bVrf53C9gQbZK/sNZkJrVFgkCdxw/oozX9s+E t1DPmZApv41DHXJgwlv7yQLXwoWhurT8jrPOggVwz2gCWqAslatQXdR4fAYT/PMx3X19 ht0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/wqVeRyPE7iamm0gZlq882wiqtsibBBEK+UFjY7bmIE=; b=2DgwBxMpRH/eihvrp4XK2IpM0J+IhpoPDIwyWXhfeeZ4FzSDyBYyV5xnL1KvkmhKPs OkEW21ryqSmr8m5ihT5AmxEJd0/X3/PEZWnsY2DOMl/9N2MdckeF4aV7AyDEuJ0NPXee ABk0DjgqtKlv/yNFVr54rcKuHpWj6NgLlFSnpARh3T86+23OxAQmQU5k87u9V3LrIOhH eHqLMIiJ9pGDmJhLNDM1jTo4VzbMR0aoxqdj25kiPnX//q9wmZzu2ZQ8sg5Z+60e/EYM DH1xP4BUOQw/l3kpQbS1uH3oHU7HhDzG3CTMV797aN3QOhyTiRbUcNY9IHKO0sERPeWk JOzQ== X-Gm-Message-State: AO0yUKUpH1puM4Vnekw43HOnVQMKdKyrgrQoWuE1RGnFvKgJn/GicgI7 pM1qinMxPY14nxbMKheq2tekEquCpDxR0CnbgbkCMEFqaq4= X-Google-Smtp-Source: AK7set+LwQ6FACeNd1t5nY4yiAn1Glpq2zUo5NRyXai/jPOJ6RSpkyMU3D9vl7vITrepKgR8Ymy7xn6rwEIgpDrU4Bc= X-Received: by 2002:a5d:664b:0:b0:2c3:be6a:7614 with SMTP id f11-20020a5d664b000000b002c3be6a7614mr1436414wrw.2.1677271330622; Fri, 24 Feb 2023 12:42:10 -0800 (PST) In-Reply-To: <838rgmn6y4.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=dalanicolai@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303766 Archived-At: --000000000000da935d05f57829f2 Content-Type: text/plain; charset="UTF-8" I hope you might have an idea what causes this behavior. And maybe you have a suggestion how to prevent it. Furthermore, I guess the behavior might be interesting for you to note/observe (but that is just a guess). On Fri, 24 Feb 2023 at 21:29, Eli Zaretskii wrote: > > From: dalanicolai > > Date: Fri, 24 Feb 2023 21:26:05 +0100 > > Cc: emacs-devel@gnu.org > > > > I have not really looked at it yet, but just as a quick thought: > > I am not sure if/why I should debug an infloop, because the functionality > > works perfectly fine when not showing the margins (i.e. when just > setting > > the window margins to nil). So it seems to me its not about an infinite > loop. > > > > I was saying 'more or less' because it does not really hang, it just > takes > > extremely long to update the buffer text. When waiting long enough, > > then it seems to continue. > > > > Of course, I don't want to waste your time, but I think my instructions > > for reproducing the error, are very clear and short this time (i.e. take > less > > than/about a minute). I think it would be most informative if you > reproduce the > > error there. > > What should I do after I reproduce it, though? What are your > expectations from me (or whoever else tries your recipe)? > --000000000000da935d05f57829f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I hope you might have an idea what causes this behavi= or. And maybe you
have a suggestion how to prevent it. Furthermor= e, I guess the behavior might
be interesting for you to note/obse= rve (but that is just a guess).

On Fri, 24 Feb 2023 at 21:29, Eli = Zaretskii <eliz@gnu.org> wrote:
> From: dalani= colai <dalani= colai@gmail.com>
> Date: Fri, 24 Feb 2023 21:26:05 +0100
> Cc: emacs-dev= el@gnu.org
>
> I have not really looked at it yet, but just as a quick thought:
> I am not sure if/why I should debug an infloop, because the functional= ity
> works perfectly fine when not showing the margins (i.e. when just sett= ing
> the window margins to nil). So it seems to me its not about an infinit= e loop.
>
> I was saying 'more or less' because it does not really hang, i= t just takes
> extremely long to update the buffer text. When waiting long enough, > then it seems to continue.
>
> Of course, I don't want to waste your time, but I think my instruc= tions
> for reproducing the error, are very clear and short this time (i.e. ta= ke less
> than/about a minute). I think it would be most informative if you repr= oduce the
> error there.

What should I do after I reproduce it, though?=C2=A0 What are your
expectations from me (or whoever else tries your recipe)?
--000000000000da935d05f57829f2--