emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: org-lint does not agree with ox-latex and org-element-at-point
@ 2022-11-04 18:04 gerard.vermeulen
  2022-11-05  3:34 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: gerard.vermeulen @ 2022-11-04 18:04 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

== begin of "include-myself.org" file 
========================================
#+caption: BUG: org-lint does not agree with ox-latex and 
org-element-at-point
#+name: make-me-float
#+include: "include-myself.org" src org :lines "1-3"
== end of "include-myself.org" file 
==========================================

Writing the three lines between the == ... == markers to new file named
"include-myself.org" and opening+exporting this file to LaTeX does
what I expect: it produces a float listing the first 2 lines with a 
caption.

The result of execution M-: org-element-at point RET with point on
any of those lines looks also OK to me.

However, org-lint complains that in line 3 there is a
"Non-existent file argument in INCLUDE keyword".

Best regards -- Gerard

Package: Org mode version 9.6-pre ( @ 
/Users/vermeulen/.emacs.d/elpa/org-9.6pre0.20221104.24838/)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* BUG: org-lint does not agree with ox-latex and org-element-at-point
@ 2022-11-04 18:08 gerard.vermeulen
  2022-11-05  3:35 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: gerard.vermeulen @ 2022-11-04 18:08 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

== begin of "include-myself.org" file 
========================================
#+caption: BUG: org-lint does not agree with ox-latex and 
org-element-at-point
#+name: make-me-float
#+include: "include-myself.org" src org :lines "1-3"
== end of "include-myself.org" file 
==========================================

Writing the three lines between the == ... == markers to new file named
"include-myself.org" and opening+exporting this file to LaTeX does
what I expect: it produces a float listing the first 2 lines with a 
caption.

The result of execution M-: org-element-at point RET with point on
any of those lines looks also OK to me.

However, org-lint complains that in line 3 there is a
"Non-existent file argument in INCLUDE keyword".

Best regards -- Gerard

Package: Org mode version 9.6-pre ( @ 
/Users/vermeulen/.emacs.d/elpa/org-9.6pre0.20221104.24838/)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG: org-lint does not agree with ox-latex and org-element-at-point
  2022-11-04 18:04 gerard.vermeulen
@ 2022-11-05  3:34 ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2022-11-05  3:34 UTC (permalink / raw)
  To: gerard.vermeulen; +Cc: emacs-orgmode

gerard.vermeulen@posteo.net writes:


> == begin of "include-myself.org" file 
> ...
> However, org-lint complains that in line 3 there is a
> "Non-existent file argument in INCLUDE keyword".

Thanks for reporting!
Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a3b9bb8faabb79b9461e6edffd1ea1d6068b0b61

-- 
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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG: org-lint does not agree with ox-latex and org-element-at-point
  2022-11-04 18:08 BUG: org-lint does not agree with ox-latex and org-element-at-point gerard.vermeulen
@ 2022-11-05  3:35 ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2022-11-05  3:35 UTC (permalink / raw)
  To: gerard.vermeulen; +Cc: emacs-orgmode

gerard.vermeulen@posteo.net writes:

> Hello,
>
> == begin of "include-myself.org" file 
> ========================================
> #+caption: BUG: org-lint does not agree with ox-latex and 
> org-element-at-point
> #+name: make-me-float
> #+include: "include-myself.org" src org :lines "1-3"
> == end of "include-myself.org" file 
> ==========================================

Duplicate of https://orgmode.org/list/ceef41267fcb44cdcbd7986f599bf332@posteo.net

-- 
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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-05  3:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 18:08 BUG: org-lint does not agree with ox-latex and org-element-at-point gerard.vermeulen
2022-11-05  3:35 ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2022-11-04 18:04 gerard.vermeulen
2022-11-05  3:34 ` Ihor Radchenko

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).