emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
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 09:18:04 -0400	[thread overview]
Message-ID: <33cbee6d-25b9-c9f7-d416-e2d8fc047b56@verizon.net> (raw)
In-Reply-To: <87pn7ubvmk.fsf@mat.ucm.es>

On 8/13/20 8:03 AM, Uwe Brauer wrote:
>>>> "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
> 
Two or three days ago when I started emacs it did not load correctly. ,I 
commented out my org-ref setup and no problem loading emacs.

Current set up
GNU Emacs 28.0.50 (build 214, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, 
cairo version 1.16.0) of 2020-08-13
Org mode version 9.3.7 (release_9.3.7-708-g5417e3 @ 
/usr/local/share/org-mode/lisp/)

I uncommented my org-ref setup in my init file and upon restarting the 
following error was generated:

Debugger entered--Lisp error: (void-variable browse-url-mosaic-program)
 
byte-code("\306\300!\203\n\0\10\206\13\0\307\310B\11\311B\n\312B\13\313B\f\314B\15\315B\16\26\316B\16\27\317B\16\30\320B\16\31\321B\16\32\322B\16\33..." 
[w3m-command browse-url-firefox-program helm-browse-url-chromium-program 
helm-browse-url-conkeror-program helm-browse-url-opera-program 
helm-browse-url-uzbl-program boundp "/usr/bin/w3m" w3m-browse-url 
browse-url-firefox helm-browse-url-chromium helm-browse-url-conkeror 
helm-browse-url-opera helm-browse-url-uzbl browse-url-kde 
browse-url-gnome-moz browse-url-mozilla browse-url-galeon 
browse-url-netscape browse-url-mosaic browse-url-text-xterm (("emacs" . 
eww-browse-url)) browse-url-kde-program browse-url-gnome-moz-program 
browse-url-mozilla-program browse-url-galeon-program 
browse-url-netscape-program browse-url-mosaic-program 
browse-url-xterm-program] 14)
   (defvar helm-browse-url-default-browser-alist (byte-code 
"\306\300!\203\n\0\10\206\13\0\307\310B\11\311B\n\312B\13\313B\f\314B\15\315B\16\26\316B\16\27\317B\16\30\320B\16\31\321B\16\32\322B\16\33..." 
[w3m-command browse-url-firefox-program helm-browse-url-chromium-program 
helm-browse-url-conkeror-program helm-browse-url-opera-program 
helm-browse-url-uzbl-program boundp "/usr/bin/w3m" w3m-browse-url 
browse-url-firefox helm-browse-url-chromium helm-browse-url-conkeror 
helm-browse-url-opera helm-browse-url-uzbl browse-url-kde 
browse-url-gnome-moz browse-url-mozilla browse-url-galeon 
browse-url-netscape browse-url-mosaic browse-url-text-xterm (("emacs" . 
eww-browse-url)) browse-url-kde-program browse-url-gnome-moz-program 
browse-url-mozilla-program browse-url-galeon-program 
browse-url-netscape-program browse-url-mosaic-program 
browse-url-xterm-program] 14) ("/usr/local/share/helm/helm-net.elc" . 
-8165))
   require(helm-net)
   eval-buffer(#<buffer  *load*-647924> nil 
"/usr/local/share/helm-bibtex/helm-bibtex.el" nil t)  ; Reading at 
buffer position 3692
 
load-with-code-conversion("/usr/local/share/helm-bibtex/helm-bibtex.el" 
"/usr/local/share/helm-bibtex/helm-bibtex.el" nil t)
   require(helm-bibtex)
   eval-buffer(#<buffer  *load*-553207> nil 
"/usr/local/share/org-ref/org-ref-helm-bibtex.el" nil t)  ; Reading at 
buffer position 1482
 
load-with-code-conversion("/usr/local/share/org-ref/org-ref-helm-bibtex.el" 
"/usr/local/share/org-ref/org-ref-helm-bibtex.el" nil t)
   require(org-ref-helm-bibtex)
   eval-buffer(#<buffer  *load*-552694> nil 
"/usr/local/share/org-ref/org-ref.el" nil t)  ; Reading at buffer 
position 1635
   load-with-code-conversion("/usr/local/share/org-ref/org-ref.el" 
"/usr/local/share/org-ref/org-ref.el" nil t)
   require(org-ref)
   eval-buffer(#<buffer  *load*> nil "/home/charlie01/.emacs.d/init.el" 
nil t)  ; Reading at buffer position 42190
   load-with-code-conversion("/home/charlie01/.emacs.d/init.el" 
"/home/charlie01/.emacs.d/init.el" t t)
   load("/home/charlie01/.emacs.d/init" noerror nomessage)
   startup--load-user-init-file(#f(compiled-function () #<bytecode 
0xf897fb9a57133db>) #f(compiled-function () #<bytecode 
0x81a386fa1b157d3>) t)
   command-line()
   normal-top-level()

Charflie Millar


      reply	other threads:[~2020-08-13 13:18 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
2020-08-13 13:18     ` Charles Millar [this message]

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=33cbee6d-25b9-c9f7-d416-e2d8fc047b56@verizon.net \
    --to=millarc@verizon.net \
    --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).