bug#81652: 32.0.50; cl-loop over intervals infloops in some cases
Philipp Stephani <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Am 18.08.2026 um 21:20 schrieb Philipp Stephani <[email protected]>: > > > This works as expected: > > $ emacs -Q -batch -l cl-lib -eval '(print (with-temp-buffer (insert (propertize "foo" (quote foo) 1) (propertize "bar" (quote foo) 2)) (cl-loop for i being the intervals collect i)))' > > ((1 . 4) (4 . 7)) > > This infloops: > > $ emacs -Q -batch -l cl-lib -eval '(print (with-temp-buffer (insert (propertize "foo" (quote foo) 1) (propertize "bar" (quote foo) 2)) (let ((buffer (current-buffer))) (with-temp-buffer (cl-loop for i being the intervals of buffer collect i)))))' > > I haven't investigated in detail yet, but my guess would be that some of > the set-marker calls in cl--map-intervals are missing BUFFER arguments. Fixed with commit ea6e7a01f978979cd2040b66c4f2868542f327f3.