From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Slow redisplay Date: Sun, 25 Aug 2019 12:32:51 +0200 Message-ID: <20190825103251.osstrlohmzp6bmvr@Ergus> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="56540"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 25 12:34:06 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1pqY-000Ean-8n for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 12:34:06 +0200 Original-Received: from localhost ([::1]:41716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1pqW-0002YL-JI for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 06:34:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51105) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1ppW-0002Y8-IG for help-gnu-emacs@gnu.org; Sun, 25 Aug 2019 06:33:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1ppV-00026E-5s for help-gnu-emacs@gnu.org; Sun, 25 Aug 2019 06:33:02 -0400 Original-Received: from sonic301-21.consmr.mail.ir2.yahoo.com ([77.238.176.98]:42732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1ppU-00023l-HG for help-gnu-emacs@gnu.org; Sun, 25 Aug 2019 06:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1566729179; bh=b3zP9B7pfdqwtEk6lfcDnVxZDGjOGTe080F4isKnpEw=; h=Date:From:To:Cc:Subject:From:Subject; b=l2qvD9dsAmsxgF0tP+hUrSYNfc0rfhggDP1O2ojwRA6uGjQ/ogRW7lLZBKrIEJFy2hBm03eTkOqo2unKoAJweUYiAbt6zJsUBaK3H6pIgLD3lued3b/vR052ocHE70HaJqLRDS9cJx1t6SwVI8022xXlB9Dw23PRU0Vv2hU8RaLFN1IvfuIONjNfzzS6y4Hns65nH2kCoLxfyOhNAeb53AmPLmUzHJylgdpmWrQP10SJX9ev0QOwKvQ8NC5sNifOSJJVDFWxHcP+MO5YebRk3qYt3haMip62eB5RqaFmEi/nSRlX4/jaDD9/fLvh9InC6gwtH4OEeqp8rmOrZhNt7A== X-YMail-OSG: FG2bSCIVM1krk65Zn.bUbwNp2CdGkBmukv029b3RHI5_YV47v.f2X2uEAexGBJ6 AEsp3fWWRjDsoTqLCynNLgLwqZc0PgGuSSRSnWXqeMdaFf9df7GKN8sb1UZGGVsn4XXdL3JZoODh IZUvhlIUt9w7RdlWde9r5FofqTc1FJbghYNoW4V_7j0MzIVAgd7RQ0hOUw5uYjJujC72g6UjhJTQ WxbLpcl3LhnqG6AgcFNZydJxnJYZiOghyKdj7KvJQ8R2AnmLaqoNnEQ7OWT62vjBrGURHgDgp5px QT24n.Ee3QPp5Yn1n7ZYaFaUKhv7s4pg02zwy.T4ruvL8hHcBsoD4hpwUYqs.H.JArpsn.ecEMPa NNwIeH1ByFBhZ5BZHaUA6NEog3pJHDa_fj2eU9.Fm4.qUAH3q1lXS3wT9VtBaNH5MFAt0uzW0Zu2 3vONTDzfUISHsB4dBT.QQX7CDgxrEHoNuO8HyjSNAvsn6p.SjSnxMQQFbimMvEsqgiYYKwM7pzAi utSPofz1Nl4fNM5nI2uMO7IaH7htLSItg09mt.jagBLMHLLdgpyZC.uNF.8b3_6TR1zZcmIu55oS J6AT4etMb7pc8ttYTVRArTL8TYFVf3pHh_DkyXpLMX9AjqW.VZsyIb5DcwlIOk437OM2ppEb_IBe Ha6S8z36OmbWT9sqpDxuaUY1KmS5DHRy882NgT_ZpNtaodjgOefzfwnZQG2WK5XVs0.adA1.DwHB nX_QRbslUmyhqejizvyZ4QPFXi.xzrOzC5y5Vsswl1srIRkyKnCuo4pV8gVRgM.FYPzcWjDLhUSi VRzaGHstoXfkft952EKBG1QjcGojwXLBcTjZapqyOw Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Sun, 25 Aug 2019 10:32:59 +0000 Original-Received: by smtp422.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ea8ed7f41a72faa2f25f1a99b7d3e59f; Sun, 25 Aug 2019 10:32:57 +0000 (UTC) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.176.98 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121383 Archived-At: Hi: With the actual master branch I am observing a very important lagging in redisplay after being using emacs for 3-4 of hours. The rediplay happens like in stop motion speed, I can see the redisplay line being updated slowly and it takes sometimes like 1 seconds (from the top to the bottom of the screen) in my best laptop. (I only use emacs in tui) So the only solution after a while is to close emacs and reopen again. I used to have these lines: (defun my/minibuffer-setup-hook () (setq gc-cons-threshold most-positive-fixnum)) (defun my/minibuffer-exit-hook () (setq gc-cons-threshold 800000)) (add-hook 'minibuffer-setup-hook #'my/minibuffer-setup-hook) (add-hook 'minibuffer-exit-hook #'my/minibuffer-exit-hook) In my config, but after removing them (because someone suggested that the redisplay lagging could be related with the gc) the problem is still there (less critical, but still there after some hours). Any suggestion to find where is the issue comming from? Or what should I see to make a better report? In-Reply-To: <20190824213001.GC17256@protected.rcdrun.com> On Sat, Aug 24, 2019 at 11:30:01PM +0200, Jean Louis wrote: >* Eli Zaretskii [2019-08-24 21:04]: >> > Date: Sat, 24 Aug 2019 20:50:46 +0200 >> > From: Jean Louis >> > Cc: help-gnu-emacs@gnu.org >> > >> > * Eli Zaretskii [2019-08-24 20:26]: >> > > > Date: Sat, 24 Aug 2019 19:37:11 +0200 >> > > > From: Jean Louis >> > > > Cc: GNU Emacs Help >> > > > >> > > > - use simple editing of buffer with kill-buffer-hook, if I can come >> > > > back to initial program execution, as program execution must be wait >> > > > for editing to finish, I do not know how >> > > >> > > A command such as "M-x loop-continue" (possibly bound globally to some >> > > key sequence) should be enough to resolve the "come back to initial >> > > program execution" part. >> > >> > I do not have loop-continue, is it in some package? >> >> That's a command you need to write. It is supposed to go to the next >> field and generate a buffer for the user to edit that field. > >I know what you mean. But command that handles next fields is in >the depth 0, I just need to return to senior function, or find >way how to wait on find-file > >Jean >