Rainer M Krug rai...@krugs.de writes:
something along the line of Link to non-existent local file ... in
the description part would make clear that it is ion the description of
a link.
Done. Thanks.
Regards,
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
OK - now I get it. The syntax implies that I want to display the image
located there as the descriptor.
Correct.
Would it be possible for org-lint to give a more direct warning that this
link is in the
Rainer M Krug rai...@krugs.de writes:
OK - now I get it. The syntax implies that I want to display the image
located there as the descriptor.
Correct.
Would it be possible for org-lint to give a more direct warning that this
link is in the description and not the link itself?
Could you
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
Here, Org Lint is correct. Link's description is really a link to
a file, ./__BOX__/Aerodynamic, followed by a space, and
resistances.docx text.
But it is in the description part - shouldn't this be
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
The link
,
| [[file:__BOX__/Aerodynamic%20resistances.docx][file:./__BOX__/Aerodynamic
resistances.docx]]
`
causes the following warnings:
,
| 9094 low Link to non-existent local
Rainer M Krug rai...@krugs.de writes:
Here, Org Lint is correct. Link's description is really a link to
a file, ./__BOX__/Aerodynamic, followed by a space, and
resistances.docx text.
But it is in the description part - shouldn't this be considered normal
text whatever it is?
I wish it
One more observation:
The link
,
| [[file:__BOX__/Aerodynamic%20resistances.docx][file:./__BOX__/Aerodynamic
resistances.docx]]
`
causes the following warnings:
,
| 9094 low Link to non-existent local file
__BOX__/Aerodynamic%20resistances.docx
| 9094 low Link to
Rainer M Krug rai...@krugs.de writes:
The link
,
| [[file:__BOX__/Aerodynamic%20resistances.docx][file:./__BOX__/Aerodynamic
resistances.docx]]
`
causes the following warnings:
,
| 9094 low Link to non-existent local file
__BOX__/Aerodynamic%20resistances.docx
Hello,
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
some more spurious warnings I get:
1. Captions with short version:
,
| 1105 low Possible missing colon in keyword #+caption[Data
`
2. header arguments from ob-latex:
,
|451 high Unknown header argument
Hi Nicolas,
some more spurious warnings I get:
1. Captions with short version:
,
| 1105 low Possible missing colon in keyword #+caption[Data
`
2. header arguments from ob-latex:
,
|451 high Unknown header argument packages
|451 high Unknown header argument
Rainer M Krug rai...@krugs.de writes:
Concerning ignoring: it would be nice to dynamically exclude certain
types of messages - i.e. hiding them from the results of the
linting. I don't think this is possible at
the moment?
I have literally about 100 names with a colon - so these messages
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
Concerning ignoring: it would be nice to dynamically exclude certain
types of messages - i.e. hiding them from the results of the
linting. I don't think this is possible at
the moment?
I have literally
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
1) not identifying header argument with +
,
| #+PROPERTY: header-args+ :tangle no
`
results in
,
| 87 high Unknown header argument
`
This should be fixed.
Thanks.
2) not
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
Well - now it does. The following produces the error:
#+PROPERTY: header-args :tangle-mode (identity #o444)
* Some code
#+begin_src R :results nons
#+end_src
The problem is the (identity #o444)
Rainer M Krug rai...@krugs.de writes:
1) not identifying header argument with +
,
| #+PROPERTY: header-args+ :tangle no
`
results in
,
| 87 high Unknown header argument
`
This should be fixed.
2) not knowing header argument file-ext from R
,
| #+begin_src R
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
There is an example where I get the error:
* Fitting the kernel to the data
The parameter which will be fitted can be found in Table [[tab:fitInitial]]
#+CAPTION: Variables used for the initial fit of the
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
Two more questions:
I get the following warnings:
,
| 10 low Unknown OPTIONS item @
| 11 low Unknown OPTIONS item skip
| 11 low Unknown OPTIONS item LaTeX
| 11 low Unknown
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
Two more questions:
I get the following warnings:
,
| 10 low Unknown OPTIONS item @
| 11 low Unknown OPTIONS item skip
| 11 low Unknown OPTIONS item LaTeX
| 11 low Unknown
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Rainer M Krug rai...@krugs.de writes:
Two more questions:
I get the following warnings:
,
| 10 low Unknown OPTIONS item @
| 11 low Unknown OPTIONS item skip
| 11 low Unknown OPTIONS item LaTeX
| 11 low Unknown
Rainer M Krug rai...@krugs.de writes:
Well - now it does. The following produces the error:
#+PROPERTY: header-args :tangle-mode (identity #o444)
* Some code
#+begin_src R :results nons
#+end_src
The problem is the (identity #o444) which is causing the problem.
Fixed. Thank you.
Rainer M Krug rai...@krugs.de writes:
Two more questions:
I get the following warnings:
,
| 10 low Unknown OPTIONS item @
| 11 low Unknown OPTIONS item skip
| 11 low Unknown OPTIONS item LaTeX
| 11 low Unknown OPTIONS item TeX
`
based on the following
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
The following library implements linting for Org
Rainer M Krug rai...@krugs.de writes:
There is an example where I get the error:
* Fitting the kernel to the data
The parameter which will be fitted can be found in Table [[tab:fitInitial]]
#+CAPTION: Variables used for the initial fit of the wind profile using the
function and the
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
Envoyé de mon iPhone
Le 20 mai 2015 à 22:42, Andreas Leha andreas.l...@med.uni-goettingen.de a
écrit :
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Andreas Leha andreas.l...@med.uni-goettingen.de
Rainer M Krug rai...@krugs.de writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
The following library implements linting for Org syntax. The sole public
function is
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Internally, the
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Internally, the library defines a new structure: `org-lint-checker',
with the following slots:
- NAME: Unique check
Hi Rainer,
Rainer M Krug rai...@krugs.de writes:
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Internally, the library defines a new structure: `org-lint-checker',
with the
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Hello,
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Internally, the library defines a new structure: `org-lint-checker',
with the following slots:
- NAME: Unique check
Hello,
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
I have finally made some time to test this. I get some
unexpected warnings:
79 low Unknown value myfile.R for header :tangle
192 low Unknown value none for header :results
Make sure you rebased the wip-lint branch on
Hi Nicolas,
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
I have finally made some time to test this. I get some
unexpected warnings:
79 low Unknown value myfile.R for header :tangle
192 low Unknown value none for header :results
Make sure you rebased the wip-lint branch on top
Rainer M Krug rai...@krugs.de writes:
This sounds very interesting and I would like to try it out. I
understand that it can't be put into master, but could it be put into a
branch?
It already lives in wip-lint branch.
Regards,
Hi Nicolas,
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
I just pulled and rebased again. The never-export issue is
gone, indeed. The others are still there. What am I missing
here?
Nothing. I overlooked a typo. It should be fixed
Hi Nicolas,
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
But I still get
191 low Unknown value none for header :results
Could you show an ECM? I cannot reproduce it.
Sure:
--8---cut
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
* Test code block names
#+name: test
#+begin_src R :results none
1:10
#+end_src
OK. It was a R-specific bug. It should now be fixed.
Thank you.
Regards,
Hi Nicolas,
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
* Test code block names
#+name: test
#+begin_src R :results none
1:10
#+end_src
OK. It was a R-specific bug. It should now be fixed.
Thank you! Fix confirmed. The last
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
But I still get
191 low Unknown value none for header :results
Could you show an ECM? I cannot reproduce it.
Regards,
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
I just pulled and rebased again. The never-export issue is
gone, indeed. The others are still there. What am I missing
here?
Nothing. I overlooked a typo. It should be fixed in wip-lint.
Thank you.
Regards,
-Original Message-
On
Behalf Of Nicolas Goaziou
Sent: Sunday, 2015 April 19 09:32
To: Org Mode List
Subject: [O] [RFC] Org linting library
Hello,
The following library implements linting for Org syntax. The sole
public
function is `org-lint', which see.
Nicolas Goaziou
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org
writes:
Could `org-lint' return a success/fail indication, so that we could
write something along in an export hook:
(if (org-lint)
... continue with export ...
... stop with message or display the lint buffer ...)
Nicolas Goaziou wrote:
Here's another update. I added a few more tests.
If there's no more bug report or feedback, I'll simply put it in
a wip-lint branch until Org 8.4 starts its development cycle.
Could `org-lint' return a success/fail indication, so that we could
write something along in
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Here's another update. I added a few more tests.
If there's no more bug report or feedback, I'll simply put it in
a wip-lint branch until Org 8.4 starts its development cycle.
This is handy! No bugs to report.
Here's another update. I added a few more tests.
If there's no more bug report or feedback, I'll simply put it in
a wip-lint branch until Org 8.4 starts its development cycle.
Regards,
org-lint.el
Description: application/emacs-lisp
Hello Nicolas,
Nicolas Goaziou wrote:
Here's another update. I added a few more tests.
If there's no more bug report or feedback, I'll simply put it in
a wip-lint branch until Org 8.4 starts its development cycle.
I'd like to enforce org-lint on all my Org docs, either in a find-file
hook or
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org
writes:
I'd like to enforce org-lint on all my Org docs, either in a find-file
hook or before export, for example.
Can't you put it in master as well?
No, I can't.
As explained in the original post, org-lint.el requires at
Charles C. Berry ccbe...@ucsd.edu writes:
- orphaned affiliated keywords
This generates an orphaned keyword warning, but seems innocuous and is
what babel renders.
#+NAME: abc
#+BEGIN_SRC emacs-lisp
nil #+END_SRC
#+RESULTS: abc
Indeed, it is innocuous. It is meant to catch, e.g.,
Marco Wahl marcowahls...@gmail.com writes:
I think it's too much that org-lint tries to follow ssh links.
It doesn't follow remote paths.
2278 low Link to non-existent local file
///ssh:root@127.0.0.1#:/etc/httpd/conf/httpd.conf
^ ^^^
Hello,
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Internally, the library defines a new structure: `org-lint-checker',
with the following slots:
- NAME: Unique check identifier, as a symbol. The check is done
calling the
Hi!
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Great, thanks a lot. Already found some issues with some org-files.
Results are displayed in a special *Org Lint* buffer with a
On Sun, 19 Apr 2015, Nicolas Goaziou wrote:
Hello,
The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.
Nice!
Comments below.
Internally, the library defines a new structure: `org-lint-checker',
with the following slots:
[snip]
Hi,
Nicolas Goaziou m...@nicolasgoaziou.fr writes:
Since it relies on lexical binding, `pcase' and `string-prefix-p', it
cannot be added to Org 8.3, but can make it into Org 8.4, if deemed
useful enough.
It looks like a great tool. Especially given the fact that the org format
still seems
Rasmus ras...@gmx.us writes:
It looks like a great tool. Especially given the fact that the org format
still seems to be developing.
Indeed. We can use it as another channel for syntax deprecation.
Anyway, some very premature notes:
One venue that may worth pursuing is better error
53 matches
Mail list logo