emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-lint error
@ 2015-09-14 18:58 Thomas S. Dye
  2015-09-15  4:56 ` Thomas S. Dye
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas S. Dye @ 2015-09-14 18:58 UTC (permalink / raw)
  To: emacs-orgmode

Aloha all,

In the process of tracking down misbehavior during export, I ran
org-lint, which failed with this error:

Debugger entered--Lisp error: (wrong-number-of-arguments max 0)
  max()
  apply(max nil)

The backtrace appears to include my entire Org mode file, so I won't
attach it.  However, here is the part near the bottom, in case it is
helpful.

  org-lint--generate-reports(#<buffer anth_464_syllabus.org> ([cl-struct-org-lint-checker duplicate-custom-id "Report duplicates CUSTOM_ID properties" (link) high] [cl-struct-org-lint-checker duplicate-name "Report duplicate NAME values" (babel link) high] [cl-struct-org-lint-checker duplicate-target "Report duplicate targets" (link) high] [cl-struct-org-lint-checker duplicate-footnote-definition "Report duplicate footnote definitions" (footnote) high] [cl-struct-org-lint-checker orphaned-affiliated-keywords "Report orphaned affiliated keywords" (default) low] [cl-struct-org-lint-checker obsolete-affiliated-keywords "Report obsolete affiliated keywords" (obsolete) high] [cl-struct-org-lint-checker deprecated-header-syntax "Report deprecated Babel header syntax" (babel obsolete) low] [cl-struct-org-lint-checker missing-language-in-src-block "Report missing language in src blocks" (babel) high] [cl-struct-org-lint-checker invalid-babel-call-block "Report invalid Babel call blocks" (babel) high] [cl-struct-org-lint-checker colon-in-name "Report NAME values with a colon" (babel) high] [cl-struct-org-lint-checker wrong-header-argument "Report wrong babel headers" (babel) high] [cl-struct-org-lint-checker wrong-header-value "Report invalid value in babel headers" (babel) low] [cl-struct-org-lint-checker deprecated-category-setup "Report misuse of CATEGORY keyword" (obsolete) high] [cl-struct-org-lint-checker invalid-coderef-link "Report \"coderef\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-custom-id-link "Report \"custom-id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-fuzzy-link "Report \"fuzzy\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-id-link "Report \"id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker link-to-local-file "Report links to non-existent local files" (link) low] [cl-struct-org-lint-checker non-existent-setupfile-parameter "Report SETUPFILE keywords with non-existent file parameter" (default) low] [cl-struct-org-lint-checker wrong-include-link-parameter "Report INCLUDE keywords with misleading link parameter" (export) low] [cl-struct-org-lint-checker unknown-options-item "Report unknown items in OPTIONS keyword" (export) low] [cl-struct-org-lint-checker invalid-macro-argument-and-template "Report spurious macro arguments or invalid macro templates" (export) low] [cl-struct-org-lint-checker special-property-in-properties-drawer "Report special properties in properties drawers" (properties) high] [cl-struct-org-lint-checker obsolete-properties-drawer "Report obsolete syntax for properties drawers" (obsolete properties) high] [cl-struct-org-lint-checker undefined-footnote-reference "Report missing definition for footnote references" (footnote) high] [cl-struct-org-lint-checker unreferenced-footnote-definition "Report missing reference for footnote definitions" (footnote) high] [cl-struct-org-lint-checker extraneous-element-in-footnote-section "Report non-footnote definitions in footnote section" (footnote) high] [cl-struct-org-lint-checker invalid-keyword-syntax "Report probable invalid keywords" (default) low] [cl-struct-org-lint-checker invalid-block "Report invalid blocks" (default) low] [cl-struct-org-lint-checker misplaced-planning-info "Report misplaced planning info line" (default) low] [cl-struct-org-lint-checker incomplete-drawer "Report probable incomplete drawers" (default) low] [cl-struct-org-lint-checker indented-diary-sexp "Report probable indented diary-sexps" (default) low] [cl-struct-org-lint-checker quote-section "Report obsolete QUOTE section" (obsolete) low]))
  org-lint--refresh-reports()
  org-lint--display-reports(#<buffer anth_464_syllabus.org> ([cl-struct-org-lint-checker duplicate-custom-id "Report duplicates CUSTOM_ID properties" (link) high] [cl-struct-org-lint-checker duplicate-name "Report duplicate NAME values" (babel link) high] [cl-struct-org-lint-checker duplicate-target "Report duplicate targets" (link) high] [cl-struct-org-lint-checker duplicate-footnote-definition "Report duplicate footnote definitions" (footnote) high] [cl-struct-org-lint-checker orphaned-affiliated-keywords "Report orphaned affiliated keywords" (default) low] [cl-struct-org-lint-checker obsolete-affiliated-keywords "Report obsolete affiliated keywords" (obsolete) high] [cl-struct-org-lint-checker deprecated-header-syntax "Report deprecated Babel header syntax" (babel obsolete) low] [cl-struct-org-lint-checker missing-language-in-src-block "Report missing language in src blocks" (babel) high] [cl-struct-org-lint-checker invalid-babel-call-block "Report invalid Babel call blocks" (babel) high] [cl-struct-org-lint-checker colon-in-name "Report NAME values with a colon" (babel) high] [cl-struct-org-lint-checker wrong-header-argument "Report wrong babel headers" (babel) high] [cl-struct-org-lint-checker wrong-header-value "Report invalid value in babel headers" (babel) low] [cl-struct-org-lint-checker deprecated-category-setup "Report misuse of CATEGORY keyword" (obsolete) high] [cl-struct-org-lint-checker invalid-coderef-link "Report \"coderef\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-custom-id-link "Report \"custom-id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-fuzzy-link "Report \"fuzzy\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-id-link "Report \"id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker link-to-local-file "Report links to non-existent local files" (link) low] [cl-struct-org-lint-checker non-existent-setupfile-parameter "Report SETUPFILE keywords with non-existent file parameter" (default) low] [cl-struct-org-lint-checker wrong-include-link-parameter "Report INCLUDE keywords with misleading link parameter" (export) low] [cl-struct-org-lint-checker unknown-options-item "Report unknown items in OPTIONS keyword" (export) low] [cl-struct-org-lint-checker invalid-macro-argument-and-template "Report spurious macro arguments or invalid macro templates" (export) low] [cl-struct-org-lint-checker special-property-in-properties-drawer "Report special properties in properties drawers" (properties) high] [cl-struct-org-lint-checker obsolete-properties-drawer "Report obsolete syntax for properties drawers" (obsolete properties) high] [cl-struct-org-lint-checker undefined-footnote-reference "Report missing definition for footnote references" (footnote) high] [cl-struct-org-lint-checker unreferenced-footnote-definition "Report missing reference for footnote definitions" (footnote) high] [cl-struct-org-lint-checker extraneous-element-in-footnote-section "Report non-footnote definitions in footnote section" (footnote) high] [cl-struct-org-lint-checker invalid-keyword-syntax "Report probable invalid keywords" (default) low] [cl-struct-org-lint-checker invalid-block "Report invalid blocks" (default) low] [cl-struct-org-lint-checker misplaced-planning-info "Report misplaced planning info line" (default) low] [cl-struct-org-lint-checker incomplete-drawer "Report probable incomplete drawers" (default) low] [cl-struct-org-lint-checker indented-diary-sexp "Report probable indented diary-sexps" (default) low] [cl-struct-org-lint-checker quote-section "Report obsolete QUOTE section" (obsolete) low]))
  org-lint(nil)
  call-interactively(org-lint record nil)
  command-execute(org-lint record)
  helm-M-x(nil "org-lint")
  call-interactively(helm-M-x nil nil)
  command-execute(helm-M-x)


I suspect I have some error in my Org mode file that is causing abundant confusion.

All the best,
Tom


-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Org-lint error
  2015-09-14 18:58 Org-lint error Thomas S. Dye
@ 2015-09-15  4:56 ` Thomas S. Dye
  2015-09-16 12:37   ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas S. Dye @ 2015-09-15  4:56 UTC (permalink / raw)
  To: emacs-orgmode

Aloha all,

Answering myself here.

Thomas S. Dye <tsd@tsdye.com> writes:

> Aloha all,
>
> In the process of tracking down misbehavior during export, I ran
> org-lint, which failed with this error:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments max 0)
>   max()
>   apply(max nil)
>
> I suspect I have some error in my Org mode file that is causing abundant confusion.

This macro definition appears to flummox org-lint:

#+MACRO: compactdesc #+attr_latex: :environment compactdesc

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Org-lint error
  2015-09-15  4:56 ` Thomas S. Dye
@ 2015-09-16 12:37   ` Nicolas Goaziou
  2015-09-16 16:20     ` Thomas S. Dye
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-09-16 12:37 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode

Hello,

Thomas S. Dye <tsd@tsdye.com> writes:

>> In the process of tracking down misbehavior during export, I ran
>> org-lint, which failed with this error:
>>
>> Debugger entered--Lisp error: (wrong-number-of-arguments max 0)
>>   max()
>>   apply(max nil)
>>
>> I suspect I have some error in my Org mode file that is causing abundant confusion.
>
> This macro definition appears to flummox org-lint:
>
> #+MACRO: compactdesc #+attr_latex: :environment compactdesc

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: Org-lint error
  2015-09-16 12:37   ` Nicolas Goaziou
@ 2015-09-16 16:20     ` Thomas S. Dye
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas S. Dye @ 2015-09-16 16:20 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode


Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Thomas S. Dye <tsd@tsdye.com> writes:
>
>>> In the process of tracking down misbehavior during export, I ran
>>> org-lint, which failed with this error:
>>>
>>> Debugger entered--Lisp error: (wrong-number-of-arguments max 0)
>>>   max()
>>>   apply(max nil)
>>>
>>> I suspect I have some error in my Org mode file that is causing abundant confusion.
>>
>> This macro definition appears to flummox org-lint:
>>
>> #+MACRO: compactdesc #+attr_latex: :environment compactdesc
>
> Fixed. Thank you.

Thank you.  Org-lint works like a charm here now.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

end of thread, other threads:[~2015-09-16 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 18:58 Org-lint error Thomas S. Dye
2015-09-15  4:56 ` Thomas S. Dye
2015-09-16 12:37   ` Nicolas Goaziou
2015-09-16 16:20     ` Thomas S. Dye

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