Nick Dokos <ndo...@gmail.com> writes: > "tuma...@gmail.com" <tuma...@gmail.com> writes: > >> How can i convert (1 2 3 5 7 8 9 10 11 12 13) to >> ((1 2 3 ) (5) (7) (8 9) (10 11 12 13))? >> > > Two problems: > > Wrong list: try comp.lang.lisp instead. > Incomplete problem description: see "How to ask questions > the smart way" at http://www.catb.org/esr/faqs/smart-questions.html.
Well, not really *the* good answer, but Org has a function to easily get a sublist from a list: (org-sublist '(1 2 3 4 5 6) 2 4) => (2 3 4) So this might be handy in this case. -- Bastien