From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#70796: 30.0.50; bug-reference-mode leading to constant GCing Date: Fri, 24 May 2024 22:19:11 +0200 Message-ID: References: <86ttjbb1pu.fsf@gnu.org> <86msp3avh1.fsf@gnu.org> <86bk53fsq1.fsf@gnu.org> <87sey7dlq7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13112"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 70796@debbugs.gnu.org, yantar92@posteo.net To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 24 22:21:13 2024 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 1sAbPd-0003Br-Ao for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 May 2024 22:21:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAbPN-0002oU-8z; Fri, 24 May 2024 16:20:57 -0400 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 1sAbPL-0002nu-BX for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 16:20:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAbPK-0000OA-Uy for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 16:20:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAbPR-0006Jr-P9 for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 16:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2024 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70796 X-GNU-PR-Package: emacs Original-Received: via spool by 70796-submit@debbugs.gnu.org id=B70796.171658204924278 (code B ref 70796); Fri, 24 May 2024 20:21:01 +0000 Original-Received: (at 70796) by debbugs.gnu.org; 24 May 2024 20:20:49 +0000 Original-Received: from localhost ([127.0.0.1]:38995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAbP8-0006JW-Mm for submit@debbugs.gnu.org; Fri, 24 May 2024 16:20:48 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:49305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAbOs-0006JM-Jv for 70796@debbugs.gnu.org; Fri, 24 May 2024 16:20:41 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4200ee47de7so69267415e9.2 for <70796@debbugs.gnu.org>; Fri, 24 May 2024 13:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716581953; x=1717186753; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ws2q0dtq7gWKvjAh44CPydy/LXhHhWIeS8VwC8Ie0Ww=; b=X9WtszY/D9ga/OnP9sQpB6GuL1eoodtQ1CudU+oBOvjyNW8H2aOXkqmv4ehxoEUWfp slt2/KYzUzPlZ2K+WsqJVRvzyEPF4y4oBi8iMQMnreJTByEyGpo/0AJuupBJHukb4O6D NOC8pPoalTUb/CMfqjHcXS+U1I1RkZO4gyDDecgemxGA0W/y5xiSca29q4yZy7jB2lq3 MNt75WBXKs9VZbkLqmo3FvJE0cI+ZcG4VTI60xc2b2/J9QnFuCjvAoc8V3spFSBhT7HP k9zRaAE+G4v5MUutVDAV3PfMQ8Oxlgkxi9v2YbOEeo4HOeydXPlOq1tAn0B3ORBfjmOp iOMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716581953; x=1717186753; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ws2q0dtq7gWKvjAh44CPydy/LXhHhWIeS8VwC8Ie0Ww=; b=fI8fSDJg5aVebD6IWwjVmmji99hQdXKmNET67ol6YHO6RHjVJeD47ydyQgSkCb5IvW 6IND7CapkYDUW1WSxD1kJcgbJ9SD1MI6h10byPxUgle1+lgc9+OkENEc2GtsYlSdGiDM l5ZxZudQ06RVhhzjMDRsZLN3ykbVVFzmRbzD0YvYjyv2A/VqJksmAHDW2HMmY80R1rv6 qwHNhfy9NAVxZzwMu5qtg+Ed18kLQgt0sLkLBUKo9/dm4fyWp+DYopakGTsfF0ov2lHs VeigJHu+iahi5F9oRz0xiCEBb5YlImrCKD0H5G57rQns0dE+XPZjh6N4g6HOLabA2kKz 3ufQ== X-Forwarded-Encrypted: i=1; AJvYcCVFaY++ZOF33soNNNWeRMPXwDL66Xu03qHkohwT0C03AHeKZZKZSAy228SCk20DWUt+3Ahj/7UR5m70aI/ITo1ZGPz7KKA= X-Gm-Message-State: AOJu0YzJi7jd+evhzQ9lmUjNgUyf9mFI6k84IBwq7mwNLZt36iiD6Z5S Ih7fyiiaQtBZ8hfUWr8u3IZfSMrsXh368+h98Q6b3X3fLneaPgobn5PE1g== X-Google-Smtp-Source: AGHT+IEDxY2Zw5fKlHR+C5kFUFMx9HOJaOxkElWx6pvE3E6PrLyir0j2vXLz64/g4cKiKoTjfxP3HQ== X-Received: by 2002:a05:600c:56cc:b0:41b:55b1:6cfc with SMTP id 5b1f17b1804b1-421089f135emr30979485e9.1.1716581953082; Fri, 24 May 2024 13:19:13 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a529.dip0.t-ipconnect.de. [79.227.165.41]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3557dcf06c4sm2294692f8f.104.2024.05.24.13.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 13:19:12 -0700 (PDT) In-Reply-To: <87sey7dlq7.fsf@gnu.org> (Tassilo Horn's message of "Fri, 24 May 2024 22:00:00 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285799 Archived-At: Tassilo Horn writes: > Eli Zaretskii writes: > > Hi all, > > I'm back and had a look at this issue. > >>> > Maybe bug-reference-fontify should return a list (jit-lock-bounds >>> > beg end)? > > Indeed, that's what I'm doing now. I'm not entirely sure if that fixes > the GC issue but it's certainly a good idea anyhow. > > Please report back if it helps. I'm afraid it didn't help yet. It's still GCing constantly, without doing anything. (I used your fix in a running Emacs, with the following change: modified lisp/progmodes/bug-reference.el @@ -196,10 +196,10 @@ bug-reference-fontify (funcall bug-reference-url-format))))))) ;; Delete remaining but unused overlays. (dolist (ov overlays) - (delete-overlay ov))) - ;; Signal the bounds we actually fontified to jit-lock to allow for - ;; optimizations (bug#70796). - `(jit-lock-bounds ,beg-line . ,end-line))) + (delete-overlay ov)) + ;; Signal the bounds we actually fontified to jit-lock to allow for + ;; optimizations (bug#70796). + `(jit-lock-bounds ,beg-line . ,end-line)))) ;; Taken from button.el. (defun bug-reference-push-button (&optional pos _use-mouse-action)