* columns view, org-lint, and native compilation
@ 2021-08-02 12:15 Eric S Fraga
2021-08-05 15:14 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2021-08-02 12:15 UTC (permalink / raw)
To: Emacs Org mode mailing list
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]+: + *$")
#<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_9>((fixed-width [...]) "")
#f(compiled-function (datum) #<bytecode 0x146681f219129778>)((fixed-width [...]))
#f(compiled-function (--data) #<bytecode 0x1281a52c3b7209bc>)((fixed-width [...]))
[...]
org-element-map( [...] )
org-lint--collect-duplicates([...] )
org-lint-duplicate-name([...])
#f(compiled-function (c) #<bytecode -0x2b3bd7f9f1a63af>)(#s(org-lint-checker :name duplicate-name :description "Report duplicate NAME values" :categories (babel link) :trust high))
cl-mapcan(#f(compiled-function (c) #<bytecode -0x2b3bd7f9f1a63af>) [...])
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: columns view, org-lint, and native compilation
2021-08-02 12:15 columns view, org-lint, and native compilation Eric S Fraga
@ 2021-08-05 15:14 ` Ihor Radchenko
2021-08-09 13:13 ` Eric S Fraga
0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2021-08-05 15:14 UTC (permalink / raw)
To: Eric S Fraga; +Cc: Emacs Org mode mailing list
Eric S Fraga <e.fraga@ucl.ac.uk> 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) <RET>= 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: columns view, org-lint, and native compilation
2021-08-05 15:14 ` Ihor Radchenko
@ 2021-08-09 13:13 ` Eric S Fraga
0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2021-08-09 13:13 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Emacs Org mode mailing list
On Thursday, 5 Aug 2021 at 23:14, Ihor Radchenko wrote:
> I suggest to run =e (point) <RET>= 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-09 13:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-02 12:15 columns view, org-lint, and native compilation Eric S Fraga
2021-08-05 15:14 ` Ihor Radchenko
2021-08-09 13:13 ` Eric S Fraga
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).