emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Benjamin McMillan <mcmillanbb@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]
Date: Sun, 10 Nov 2024 22:26:09 +0900	[thread overview]
Message-ID: <CALo8A5Vi=jgztdU8WuvZXL2xqgFQZN+=u6NuBZEG6S+7_QhtfQ@mail.gmail.com> (raw)
In-Reply-To: <874j4gfocp.fsf@localhost>

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

Yes, that fixes the java related errors, thanks! The test output now:
Ran 1243 tests, 1214 results as expected, 14 unexpected, 15 skipped
(2024-11-10 21:57:05+0900, 86.333090 sec)

The remaining unexpected fails are mostly maxima tests.
I do have some version of maxima installed, but never use it, so no idea if
it is integrated into emacs (and (featurep 'ob-maxima) returns nil).
I copy the output here in case useful:
   FAILED  ob-maxima/batch+verbatim  ((should (equal
(org-babel-execute-src-block) "(assume(z >
0),integrate(exp(-t)*t^z,t,0,inf))\n
gamma(z + 1)")) :form (equal "(linenum:0,\n(assume(z >
0),integrate(exp(-t)*t^z,t,0,inf))\n
gamma(z + 1)" "(assume(z > 0),integrate(exp(-t)*t^z,t,0,inf))\n
                    gamma(z + 1)") :value nil :explanation
(arrays-of-different-length 104 92 "(linenum:0,\n(assume(z >
0),integrate(exp(-t)*t^z,t,0,inf))\n
gamma(z + 1)" "(assume(z > 0),integrate(exp(-t)*t^z,t,0,inf))\n
                    gamma(z + 1)" first-mismatch-at 1))
   FAILED  ob-maxima/batch+verbatim+:lisp  ((should (equal
(org-babel-execute-src-block) "((%GAMMA SIMP) ((MPLUS SIMP) 1 $Z))")) :form
(equal "(%i1) (linenum:0,\n((%GAMMA SIMP) ((MPLUS SIMP) 1 $Z))" "((%GAMMA
SIMP) ((MPLUS SIMP) 1 $Z))") :value nil :explanation
(arrays-of-different-length 53 35 "(%i1) (linenum:0,\n((%GAMMA SIMP)
((MPLUS SIMP) 1 $Z))" "((%GAMMA SIMP) ((MPLUS SIMP) 1 $Z))"
first-mismatch-at 1))
   FAILED  ob-maxima/batch+verbatim+empty-string  ((should (equal
(org-babel-execute-src-block) "(%i1) \"\"\n(%o1) ")) :form (equal "(%i1)
(linenum:0,\n(%i1) \"\"\n(%o1) " "(%i1) \"\"\n(%o1) ") :value nil
:explanation (arrays-of-different-length 33 15 "(%i1) (linenum:0,\n(%i1)
\"\"\n(%o1) " "(%i1) \"\"\n(%o1) " first-mismatch-at 6))
   FAILED  ob-maxima/batch+verbatim+empty-string-vq  ((should (equal
(org-babel-execute-src-block) "\"\"\n ")) :form (equal "(linenum:0,\n\"\"\n
" "\"\"\n ") :value nil :explanation (arrays-of-different-length 16 4
"(linenum:0,\n\"\"\n " "\"\"\n " first-mismatch-at 0))
   FAILED  ob-maxima/batch+verbatim+quiet  ((should (equal
(org-babel-execute-src-block) "(%i1) (assume(z >
0),integrate(exp(-t)*t^z,t,0,inf))\n(%o1)
 gamma(z + 1)")) :form (equal "(%i1) (linenum:0,\n(%i1) (assume(z >
0),integrate(exp(-t)*t^z,t,0,inf))\n(%o1)
 gamma(z + 1)" "(%i1) (assume(z > 0),integrate(exp(-t)*t^z,t,0,inf))\n(%o1)
                           gamma(z + 1)") :value nil :explanation
(arrays-of-different-length 116 98 "(%i1) (linenum:0,\n(%i1) (assume(z >
0),integrate(exp(-t)*t^z,t,0,inf))\n(%o1)
 gamma(z + 1)" "(%i1) (assume(z > 0),integrate(exp(-t)*t^z,t,0,inf))\n(%o1)
                           gamma(z + 1)" first-mismatch-at 7))
   FAILED  ob-maxima/batch+verbatim+whitespace-string  ((should (equal
(org-babel-execute-src-block) "(%i1) \" \"\n(%o1)
        ")) :form (equal "(%i1) (linenum:0,\n(%i1) \" \"\n(%o1)
                      " "(%i1) \" \"\n(%o1)
  ") :value nil :explanation (arrays-of-different-length 68 50 "(%i1)
(linenum:0,\n(%i1) \" \"\n(%o1)                                   " "(%i1)
\" \"\n(%o1)                                   " first-mismatch-at 6))
   FAILED  ob-maxima/integer-input  ((should (equal 4
(org-babel-execute-src-block))) :form (equal 4 (("(linenum:0,") (4)))
:value nil :explanation (different-types 4 (("(linenum:0,") (4))))
   FAILED  ob-maxima/list-input  ((should (equal "[2, [2, 3], 4] "
(org-babel-execute-src-block))) :form (equal "[2, [2, 3], 4] "
"(linenum:0,\n[2, [2, 3], 4] ") :value nil :explanation
(arrays-of-different-length 15 27 "[2, [2, 3], 4] " "(linenum:0,\n[2, [2,
3], 4] " first-mismatch-at 0))
   FAILED  ob-maxima/matrix-output  ((should (equal '((1 2 3) (2 3 4) (3 4
5)) (org-babel-execute-src-block))) :form (equal ((1 2 3) (2 3 4) (3 4 5))
(("(linenum:0," "" "") (1 2 3) (2 3 4) (3 4 5))) :value nil :explanation
(proper-lists-of-different-length 3 4 ((1 2 3) (2 3 4) (3 4 5))
(("(linenum:0," "" "") (1 2 3) (2 3 4) (3 4 5)) first-mismatch-at 0))
   FAILED  ob-maxima/simple-list-input  ((should (equal "[1, 2, 3] "
(org-babel-execute-src-block))) :form (equal "[1, 2, 3] " "(linenum:0,\n[1,
2, 3] ") :value nil :explanation (arrays-of-different-length 10 22 "[1, 2,
3] " "(linenum:0,\n[1, 2, 3] " first-mismatch-at 0))
   FAILED  ob-maxima/string-input  ((should (equal "- sin(x)"
(org-babel-execute-src-block))) :form (equal "- sin(x)" (("(linenum:0," "")
("-" "sin(x)"))) :value nil :explanation (different-types "- sin(x)"
(("(linenum:0," "") ("-" "sin(x)"))))
   FAILED  ob-maxima/table-input1  ((should (equal "[[2.0], [3.0]] "
(org-babel-execute-src-block))) :form (equal "[[2.0], [3.0]] "
"(linenum:0,\n[[2.0], [3.0]] ") :value nil :explanation
(arrays-of-different-length 15 27 "[[2.0], [3.0]] " "(linenum:0,\n[[2.0],
[3.0]] " first-mismatch-at 0))
   FAILED  ob-maxima/table-input2  ((should (equal "[[2.0, 3.0]] "
(org-babel-execute-src-block))) :form (equal "[[2.0, 3.0]] "
"(linenum:0,\n[[2.0, 3.0]] ") :value nil :explanation
(arrays-of-different-length 13 25 "[[2.0, 3.0]] " "(linenum:0,\n[[2.0,
3.0]] " first-mismatch-at 0))
   FAILED  test-org-table/sort-lines  ((should (equal "| a | x |\n| B | 4
|\n| c | 3 |\n" (org-test-with-temp-text "| <point>a | x |\n| c | 3 |\n| B
| 4 |\n" (org-table-sort-lines nil 97) (buffer-string)))) :form (equal "| a
| x |\n| B | 4 |\n| c | 3 |\n" #("| B | 4 |\n| a | x |\n| c | 3 |\n" 0 9
(face org-table) 9 10 (face org-table-row) 10 19 (face org-table) 19 20
(face org-table-row) 20 29 (face org-table) 29 30 (face org-table-row)))
:value nil :explanation (array-elt 2 (different-atoms (97 "#x61" "?a") (66
"#x42" "?B"))))

On Sat, Nov 9, 2024 at 11:54 PM Ihor Radchenko <yantar92@posteo.net> wrote:

> Benjamin McMillan <mcmillanbb@gmail.com> writes:
>
> > Yes, that seems to work. It returns:
> > "The operation couldn’t be completed. Unable to locate a Java Runtime.
> > Please visit http://www.java.com for information on installing Java.
> >
> > no"
>
> I just updated main with a patch that should detect scenarios like
> yours and skip java tests.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cab233fb96
>
> May you try running "make test" on the latest main?
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>

[-- Attachment #2: Type: text/html, Size: 8897 bytes --]

  reply	other threads:[~2024-11-10 13:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01  4:35 [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)] Benjamin McMillan
2024-09-10 17:01 ` Ihor Radchenko
2024-09-16 14:27   ` Benjamin McMillan
2024-09-17 12:29     ` Benjamin McMillan
2024-09-17 18:44       ` Ihor Radchenko
     [not found]         ` <CALo8A5Vm-gik0qQC7KacNg7kN2VzL0Y1e8_LXxV8S7-we9CYSw@mail.gmail.com>
2024-09-22  9:53           ` Ihor Radchenko
2024-09-23 13:17             ` Benjamin McMillan
2024-11-03 18:00               ` Ihor Radchenko
2024-11-04 12:58                 ` Benjamin McMillan
2024-11-04 20:13                   ` Ihor Radchenko
2024-11-05  1:00                     ` Benjamin McMillan
2024-11-09 14:55                       ` Ihor Radchenko
2024-11-10 13:26                         ` Benjamin McMillan [this message]
2024-11-12 19:12                           ` Ihor Radchenko
2024-11-14  5:59                             ` Benjamin McMillan
2024-11-23 19:15                               ` Ihor Radchenko
2024-11-24  6:02                                 ` Benjamin McMillan
2024-12-08 12:24                                   ` [BUG] ob-maxima outputs linenum:0 in results on MacOS (was: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]) Ihor Radchenko
2024-12-09 15:11                                     ` [BUG] ob-maxima outputs linenum:0 in results on MacOS Leo Butler
2024-12-09 20:17                                       ` Leo Butler
2024-12-10  8:58                                         ` Benjamin McMillan
2024-12-10 18:02                                           ` Leo Butler
2024-12-12 20:27                                             ` Benjamin McMillan
2024-12-14 23:11                                               ` Leo Butler
2024-12-15  8:43                                                 ` Benjamin McMillan
2024-12-16  3:32                                                   ` Leo Butler
2024-12-16 17:44                                                     ` Ihor Radchenko
2024-12-17  3:13                                                       ` Leo Butler
2024-12-17 17:36                                                         ` Ihor Radchenko
2024-12-17 21:06                                                           ` Leo Butler
2024-12-19  8:47                                                             ` Benjamin McMillan
2024-12-20 20:40                                                               ` [PATCH] " Leo Butler
2024-12-22 17:06                                                                 ` Ihor Radchenko

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='CALo8A5Vi=jgztdU8WuvZXL2xqgFQZN+=u6NuBZEG6S+7_QhtfQ@mail.gmail.com' \
    --to=mcmillanbb@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).