emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org, John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: Bug: org-table-sort-lines returns error [9.3.7 (release_9.3.7-705-gea9463 @ /home/oub/emacs/site-lisp/packages/org/)]
Date: Thu, 13 Aug 2020 14:03:47 +0200	[thread overview]
Message-ID: <87pn7ubvmk.fsf@mat.ucm.es> (raw)
In-Reply-To: 87sgcq9a2c.fsf@nicolasgoaziou.fr

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

>>> "NG" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
> Uwe Brauer <oub@mat.ucm.es> writes:

>> I am running emacs 28 master 84ec57fe06e187f41a3546131d5dae3b185c3511
>> 
>> Steps to reproduce 
>> 
>> #+TBLNAME: original
>> | Day       | Color | Level | Quantity |
>> 
>> |-----------+-------+-------+----------|
>> | Monday    | Red   |    30 |       11 |
>> | Monday    | Blue  |    25 |        3 |
>> | Tuesday   | Red   |    51 |       12 |
>> | Tuesday   | Red   |    45 |       15 |
>> | Tuesday   | Blue  |    33 |       18 |
>> | Wednesday | Red   |    27 |       23 |
>> | Wednesday | Blue  |    12 |       16 |
>> | Wednesday | Blue  |    15 |       15 |
>> | Thursday  | Red   |    39 |       24 |
>> | Thursday  | Red   |    41 |       29 |
>> | Thursday  | Red   |    49 |       30 |
>> | Friday    | Blue  |     7 |        5 |
>> | Friday    | Blue  |     6 |        8 |
>> | Friday    | Blue  |    11 |        9 |
>> 
>> Put curso on number 30 in the third column call the function and select
>> numercial sorting, a bug trace occurs which I attach. 

> I cannot reproduce it. I'm using neither Emacs 28 nor Org Ref, tho.

>> I run undo, widen and repeat the operation and then it works 
>               ^^^^^
>                ???

> You didn't say you were narrowing something.

> Anyway, for the time being the error may come from Org Ref (org-ref-delete-labels).


I run more tests.
I upgraded org-ref

Still the following table gives me problems


#+TBLNAME: original
| Day       | Color | Level | Quantity |
|-----------+-------+-------+----------|
| Tuesday   | Red   |    51 |       12 |
| Thursday  | Red   |    49 |       30 |
| Tuesday   | Red   |    45 |       15 |
| Thursday  | Red   |    41 |       29 |
| Thursday  | Red   |    39 |       24 |
| Tuesday   | Blue  |    33 |       18 |
| Monday    | Red   |    30 |       11 |
| Wednesday | Red   |    27 |       23 |
| Monday    | Blue  |    25 |        3 |
| Wednesday | Blue  |    15 |       15 |
| Wednesday | Blue  |    12 |       16 |
| Friday    | Blue  |    11 |        9 |
| Friday    | Blue  |     7 |        5 |
| Friday    | Blue  |     6 |        8 |


While  this table 



| Day       | Color | Level | Quantity |
|-----------+-------+-------+----------|
| Tuesday   | Red   |    51 |       12 |
| Thursday  | Red   |    49 |       30 |
| Tuesday   | Red   |    45 |       15 |
| Thursday  | Red   |    41 |       29 |
| Thursday  | Red   |    39 |       24 |
| Tuesday   | Blue  |    33 |       18 |
| Monday    | Red   |    30 |       11 |
| Wednesday | Red   |    27 |       23 |
| Monday    | Blue  |    25 |        3 |
| Wednesday | Blue  |    15 |       15 |
| Wednesday | Blue  |    12 |       16 |
| Friday    | Blue  |    11 |        9 |
| Friday    | Blue  |     7 |        5 |
| Friday    | Blue  |     6 |        8 |


Works fine. When I said it worked in the past I should also add, that I
usually did not use tablenames (labels)

@John I think this is your call?

Uwe 

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

  parent reply	other threads:[~2020-08-13 12:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 17:45 Bug: org-table-sort-lines returns error [9.3.7 (release_9.3.7-705-gea9463 @ /home/oub/emacs/site-lisp/packages/org/)] Uwe Brauer
2020-08-13  9:20 ` Nicolas Goaziou
2020-08-13 11:50   ` Uwe Brauer
2020-08-13 12:03   ` Uwe Brauer [this message]
2020-08-13 13:18     ` Charles Millar

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=87pn7ubvmk.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).