emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: gerard.vermeulen@posteo.net
To: emacs-orgmode@gnu.org
Subject: BUG: org-lint does not agree with ox-latex and org-element-at-point
Date: Fri, 04 Nov 2022 18:08:52 +0000	[thread overview]
Message-ID: <0e3c13717c721b2999b4a8915ad3fd8c@posteo.net> (raw)

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



             reply	other threads:[~2022-11-04 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 18:08 gerard.vermeulen [this message]
2022-11-05  3:35 ` BUG: org-lint does not agree with ox-latex and org-element-at-point 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

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=0e3c13717c721b2999b4a8915ad3fd8c@posteo.net \
    --to=gerard.vermeulen@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    /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).