[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [more absurd]
From: |
Uwe Brauer |
Subject: |
Re: [more absurd] |
Date: |
Sun, 03 Jul 2022 21:29:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "BB" == Bruno Barbier <brubar.cs@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> Consider
>>
>> | 2 |
>> | 1 |
>> | 1 |
>> | 0 |
>> | |
>> | |
>>
>> (org-table-sort-lines nil nil nil nil t) (numerically 'n' gives)
> ...
>>
>> So no empty lines, what the hell is going on here?
> The reason is probably that the function 'string-to-number' return 0 for
> anything that cannot be converted to a number.
> Thus, as far as sorting is concerned, "not a number cells" and "cells
> containing zeros" are the same and can be put in any arbitrary order.
I am confused:
https://en.wikipedia.org/wiki/Natural_number
States that Some definitions, including the standard ISO 80000-2,[3][a] begin
the natural numbers with 0, so I thought this is standard emacs/org uses. This
seems not to be the case, am I right
the funny thing is if I chose
(org-table-sort-lines nil nil nil nil t) alphabetically
It does the right thing, bizarre.
Uwe
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
smime.p7s
Description: S/MIME cryptographic signature
- org-table-sort-lines (numerically) leaves 0 separated, Uwe Brauer, 2022/07/01
- [more absurd] (was: org-table-sort-lines (numerically) leaves 0 separated), Uwe Brauer, 2022/07/03
- Re: [more absurd] (was: org-table-sort-lines (numerically) leaves 0 separated), Bruno Barbier, 2022/07/03
- Re: [more absurd],
Uwe Brauer <=
- Re: [more absurd], Bruno Barbier, 2022/07/03
- Re: [more absurd], Uwe Brauer, 2022/07/03
- Re: [more absurd], Bruno Barbier, 2022/07/03
- Re: [more absurd], Uwe Brauer, 2022/07/03
- Re: [more absurd], tomas, 2022/07/04
- Re: [more absurd], Uwe Brauer, 2022/07/04
- Re: [more absurd], tomas, 2022/07/04
- Re: [more absurd], Martin Steffen, 2022/07/04
- Re: [more absurd], Uwe Brauer, 2022/07/04
- Re: [more absurd], tomas, 2022/07/04