[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two tables with same data but different sorting
From: |
Axel Kielhorn |
Subject: |
Re: Two tables with same data but different sorting |
Date: |
Mon, 5 Oct 2020 11:21:24 +0200 |
> Am 05.10.2020 um 10:32 schrieb Robert Pluim <rpluim@gmail.com>:
>
>>>>>> On Mon, 5 Oct 2020 10:08:08 +0200, Axel Kielhorn
>>>>>> <org-mode@axelkielhorn.de> said:
>
> From the docstring:
>>> Return the last link of LIST. Its car is the last element.
>
> Axel> But I get:
> Axel> Wrong type argument: stringp, ("30 $“)
>
> You need to do (car (last …))
So =first= returns an element, but =last= returns a list.
I get it.
> If N is non-nil, return the Nth-to-last link of LIST.
I was interpreting link as element and didn’t look at the docstring.
> and you'll want some calls to 'string-to-number', since
>
> (string< "30 $" "127 $")
> => nil
Yes, I know. But I wanted to keep the change as minimal as possible.
Thanks for you help, my example is working now.
Greetings Axel
- Two tables with same data but different sorting, Axel Kielhorn, 2020/10/01
- Re: Two tables with same data but different sorting, John Kitchin, 2020/10/01
- Re: Two tables with same data but different sorting, Axel Kielhorn, 2020/10/01
- Re: Two tables with same data but different sorting, John Kitchin, 2020/10/01
- Re: Two tables with same data but different sorting, Axel Kielhorn, 2020/10/02
- Re: Two tables with same data but different sorting, Robert Pluim, 2020/10/02
- Re: Two tables with same data but different sorting, Axel Kielhorn, 2020/10/05
- Re: Two tables with same data but different sorting, Robert Pluim, 2020/10/05
- Re: Two tables with same data but different sorting,
Axel Kielhorn <=
- Re: Two tables with same data but different sorting, Robert Pluim, 2020/10/05
- Re: Two tables with same data but different sorting, John Kitchin, 2020/10/02