emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] a lisp question


From: Bastien
Subject: Re: [O] a lisp question
Date: Wed, 25 Sep 2013 14:31:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

> "address@hidden" <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]