emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: [more absurd] (was: org-table-sort-lines (numerically) leaves 0 separated)
Date: Sun, 03 Jul 2022 20:26:18 +0200	[thread overview]
Message-ID: <87o7y6aw8l.fsf@mat.ucm.es> (raw)
In-Reply-To: 87zghtv1o1.fsf@mat.ucm.es

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi

> I have the following table
> | name  | marks |
> |-------+-------|
> | Auser |   0.5 |
> | Buser |     2 |
> | Cuser |     0 |
> | Duser |     2 |
> | Euser |     0 |
> | Fuser |     3 |
> | Guser |       |
> | Huser |     0 |
> | Iuser |       |
> | Juser |     6 |

Consider 

| 2 |
| 1 |
| 1 |
| 0 |
|   |
|   |

(org-table-sort-lines nil nil nil nil t) (numerically 'n' gives)


| 0 |
|   |
|   |
| 1 |
| 1 |
| 2 |


But 
(org-table-sort-lines nil nil nil nil t) (numerically 'N') 

gives

| 2 |
| 1 |
| 1 |
| 0 |
|   |
|   |

So no empty lines, what the hell is going on here?

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2022-07-03 18:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-01  5:31 org-table-sort-lines (numerically) leaves 0 separated Uwe Brauer
2022-07-03 18:26 ` Uwe Brauer [this message]
2022-07-03 19:11   ` [more absurd] (was: org-table-sort-lines (numerically) leaves 0 separated) Bruno Barbier
2022-07-03 19:29     ` [more absurd] Uwe Brauer
2022-07-03 19:44       ` Bruno Barbier
2022-07-03 19:58         ` Uwe Brauer
2022-07-03 20:14           ` Bruno Barbier
2022-07-03 20:24             ` Uwe Brauer
2022-07-04  4:31               ` tomas
2022-07-04  5:10                 ` Uwe Brauer
2022-07-04  6:23                   ` tomas
2022-07-04  6:46                     ` Martin Steffen
2022-07-04  7:42                       ` Uwe Brauer
2022-07-04 12:16                         ` tomas
2022-07-04 13:59                           ` Uwe Brauer
2022-07-04 12:12                       ` tomas
2022-07-04 13:18                         ` Martin Steffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7y6aw8l.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).