Subject: bug#77240: 30.1; Native-comp causing large memory leak

From: martin rudalics <[email-masked]>
Date: Tue, 25 Mar 2025 10:34:00 +0100

>> Does the problem also happen when you do not modify
 >> 'display-buffer-alist'?
 > It does not, it just generates the eln files and shows three errors

In the echo area?

 > "⛔ Warning (native-compiler): smartparens-config.el:96:24: Warning:
 > the function ‘org-element-property’ is not known to be defined."
 > just with different functions, which would imply that it's not
 > native-comp but the interaction between the warning buffer and what
 > I've added to 'display-buffer-alist'?

Maybe.  What happens when you do not select the window in

(defun +select-buffer-in-side-window (buffer alist)
   (let ((window (display-buffer-in-side-window buffer alist)))
     (select-window window)))

here?  Whatever it is, the bug seems to happen in 'display-warning' so I
added Juri to the discussion.

martin