Aaron Madlon-Kay <aa...@madlon-kay.com> writes: > OK this was also wrong, because seq only matches a finite sequence. I couldn’t > find a way to match an arbitrary-length list with pcase, so here’s my final > attempt: > > ... > This seems to handle all cases correctly, but again of course I leave the > details to the devs (is seq-every-p allowed? is there actually a way to do it > with just pcase?).
`seq-every-p' is perfectly fine. I am now aware about a way to do it just with `pcase'. May you turn your code into a proper patch? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>