emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: org-table-sort-lines returns error [9.3.7 (release_9.3.7-705-ge


From: Charles Millar
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]