Re: columns view, org-lint, and native compilation

2021-08-09 Thread Eric S Fraga
On Thursday,  5 Aug 2021 at 23:14, Ihor Radchenko wrote:
> I suggest to run =e (point) = while in backtrace and go to reveal
> point in the Org file where error happens. Then, you can manually check
> if the Org syntax is violated.

Thank you.  This was helpful.  Lot's of very bad org structure in that
file (which dates back quite a few years), mostly misplaced properties
drawers, e.g. appearing after logbook drawers.

Column view still not working as it should so investigation continues!

Thanks again,
eric


-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-617-g926dba
: Latest paper written in org: https://arxiv.org/abs/2106.05096



Re: columns view, org-lint, and native compilation

2021-08-05 Thread Ihor Radchenko
Eric S Fraga  writes:

> In starting to debug this, I decided to make sure the structure of my
> file was okay so I invoked =org-lint= which then fails with back trace:
>
> Debugger entered--Lisp error: (search-failed "^[ \11]*#\\+[A-Za-z]+: + *$")

This looks like some really badly parsed part of Org file. That search
is supposed to be called on an element with #+name: property. Error
means parser error.

I suggest to run =e (point) = while in backtrace and go to reveal
point in the Org file where error happens. Then, you can manually check
if the Org syntax is violated.

Hope it helps.

Best,
Ihor



columns view, org-lint, and native compilation

2021-08-02 Thread Eric S Fraga
Hello all,

TL;DR: org-lint fails, maybe due to native compilation

Longer version: columns view (=org-columns=) doesn't work properly for
me.  If point is in some hierarchy where a higher level heading has a
COLUMNS property, that higher level heading is highlighted and columns
shown for it but none of the subheadings has its columns shown.

In starting to debug this, I decided to make sure the structure of my
file was okay so I invoked =org-lint= which then fails with back trace:

Debugger entered--Lisp error: (search-failed "^[ \11]*#\\+[A-Za-z]+: + *$")
  #((fixed-width 
[...]) "")
  #f(compiled-function (datum) #)((fixed-width 
[...]))
  #f(compiled-function (--data) #)((fixed-width 
[...]))
  [...]
  org-element-map( [...] )
  org-lint--collect-duplicates([...] )
  org-lint-duplicate-name([...])
  #f(compiled-function (c) #)(#s(org-lint-checker 
:name duplicate-name :description "Report duplicate NAME values" :categories 
(babel link) :trust high))
  cl-mapcan(#f(compiled-function (c) #) [...])
  org-lint--generate-reports([...])
  org-lint--refresh-reports()
  org-lint--display-reports([...])
  org-lint(nil)

with a lot of text elided.

Before I post something to bugs @ Emacs, has anybody else had problems
with (a) org-columns and (b) org-lint, with or without native
compilation?

Thank you,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-607-g185706
: Latest paper written in org: https://arxiv.org/abs/2106.05096