Re: [PATCH] Fix test-org-element/cache

2021-05-15 Thread Bastien
Ihor Radchenko writes: > Bastien writes: >> Applied in maint, thanks! > > The patch also revealed an idea for another test. The new test is > revealing existing bug on master. Attached is the patch adding the test > with ":expected-result :failed". Applied in master, thanks. -- Bastien

Re: [PATCH] Fix test-org-element/cache

2021-05-15 Thread Ihor Radchenko
> The patch asserted that org-element-at-point still returned a table row. * The old test

Re: [PATCH] Fix test-org-element/cache

2021-05-15 Thread Ihor Radchenko
Bastien writes: > Applied in maint, thanks! The patch also revealed an idea for another test. The new test is revealing existing bug on master. Attached is the patch adding the test with ":expected-result :failed". >From d3a5a606c64ed1da0d1880f503c2461839dbfec9 Mon Sep 17 00:00:00 2001

Re: [PATCH] Fix test-org-element/cache

2021-05-15 Thread Ihor Radchenko
Nicolas Goaziou writes: > I'm not sure to understand your report, but `org-element-at-point' > should return a `table' element at the very beginning of a table (here > at the beginning of the first row), not a `table-row'. Sorry, I was probably not very clear. The test does the following: 1.

Re: [PATCH] Fix test-org-element/cache

2021-05-15 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > I encountered a bug in test-org-element/cache. The test creates the > following Org file with table and runs (org-element-at-point) at the > beginning of the second line. The expectation in the test is that we are > at the table row, while in reality these are

Re: [PATCH] Fix test-org-element/cache

2021-05-15 Thread Bastien
Ihor Radchenko writes: > I encountered a bug in test-org-element/cache. Applied in maint, thanks! -- Bastien

[PATCH] Fix test-org-element/cache

2021-05-15 Thread Ihor Radchenko
lves other features, and needs to be discussed carefully. So, I am only submitting the patch for the test for now. Best, Ihor >From b9da1e2c4faeb5545fb43641209dd6eca80f5d51 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Sat, 15 May 2021 19:19:09 +0800 Subject: [PATCH] Fix test-