[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70796: 30.0.50; bug-reference-mode leading to constant GCing
From: |
Gerd Möllmann |
Subject: |
bug#70796: 30.0.50; bug-reference-mode leading to constant GCing |
Date: |
Fri, 24 May 2024 22:19:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Tassilo Horn <tsdh@gnu.org> writes:
> Eli Zaretskii <eliz@gnu.org> 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)
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/06
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Eli Zaretskii, 2024/05/06
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/06
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Eli Zaretskii, 2024/05/06
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/06
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/07
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/18
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Eli Zaretskii, 2024/05/18
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Tassilo Horn, 2024/05/18
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Tassilo Horn, 2024/05/24
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing,
Gerd Möllmann <=
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Ihor Radchenko, 2024/05/24
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/25
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Tassilo Horn, 2024/05/24
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/25
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Tassilo Horn, 2024/05/25
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Gerd Möllmann, 2024/05/25
- bug#70796: 30.0.50; bug-reference-mode leading to constant GCing, Tassilo Horn, 2024/05/25