From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Org-lint error Date: Mon, 14 Sep 2015 08:58:09 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbYxV-0000rw-DG for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 14:58:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbYxQ-0008KU-B6 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 14:58:33 -0400 Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:46867) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZbYxQ-0008KE-1L for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 14:58:28 -0400 Received: from [168.105.159.146] (port=52423 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZbYxD-0002Yu-4K for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 12:58:15 -0600 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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(# ([cl-struct-or= g-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-targe= t "Report duplicate targets" (link) high] [cl-struct-org-lint-checker dupli= cate-footnote-definition "Report duplicate footnote definitions" (footnote)= high] [cl-struct-org-lint-checker orphaned-affiliated-keywords "Report orp= haned affiliated keywords" (default) low] [cl-struct-org-lint-checker obsol= ete-affiliated-keywords "Report obsolete affiliated keywords" (obsolete) hi= gh] [cl-struct-org-lint-checker deprecated-header-syntax "Report deprecated= Babel header syntax" (babel obsolete) low] [cl-struct-org-lint-checker mis= sing-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-struc= t-org-lint-checker wrong-header-value "Report invalid value in babel header= s" (babel) low] [cl-struct-org-lint-checker deprecated-category-setup "Repo= rt 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 \"cu= stom-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\" l= inks with unknown destination" (link) high] [cl-struct-org-lint-checker lin= k-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-li= nt-checker wrong-include-link-parameter "Report INCLUDE keywords with misle= ading link parameter" (export) low] [cl-struct-org-lint-checker unknown-opt= ions-item "Report unknown items in OPTIONS keyword" (export) low] [cl-struc= t-org-lint-checker invalid-macro-argument-and-template "Report spurious mac= ro 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 obsolet= e-properties-drawer "Report obsolete syntax for properties drawers" (obsole= te properties) high] [cl-struct-org-lint-checker undefined-footnote-referen= ce "Report missing definition for footnote references" (footnote) high] [cl= -struct-org-lint-checker unreferenced-footnote-definition "Report missing r= eference for footnote definitions" (footnote) high] [cl-struct-org-lint-che= cker extraneous-element-in-footnote-section "Report non-footnote definition= s in footnote section" (footnote) high] [cl-struct-org-lint-checker invalid= -keyword-syntax "Report probable invalid keywords" (default) low] [cl-struc= t-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 "R= eport probable incomplete drawers" (default) low] [cl-struct-org-lint-check= er 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(# ([cl-struct-org= -lint-checker duplicate-custom-id "Report duplicates CUSTOM_ID properties" = (link) high] [cl-struct-org-lint-checker duplicate-name "Report duplicate N= AME values" (babel link) high] [cl-struct-org-lint-checker duplicate-target= "Report duplicate targets" (link) high] [cl-struct-org-lint-checker duplic= ate-footnote-definition "Report duplicate footnote definitions" (footnote) = high] [cl-struct-org-lint-checker orphaned-affiliated-keywords "Report orph= aned affiliated keywords" (default) low] [cl-struct-org-lint-checker obsole= te-affiliated-keywords "Report obsolete affiliated keywords" (obsolete) hig= h] [cl-struct-org-lint-checker deprecated-header-syntax "Report deprecated = Babel header syntax" (babel obsolete) low] [cl-struct-org-lint-checker miss= ing-language-in-src-block "Report missing language in src blocks" (babel) h= igh] [cl-struct-org-lint-checker invalid-babel-call-block "Report invalid B= abel 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 "Repor= t misuse of CATEGORY keyword" (obsolete) high] [cl-struct-org-lint-checker = invalid-coderef-link "Report \"coderef\" links with unknown destination" (l= ink) high] [cl-struct-org-lint-checker invalid-custom-id-link "Report \"cus= tom-id\" links with unknown destination" (link) high] [cl-struct-org-lint-c= hecker invalid-fuzzy-link "Report \"fuzzy\" links with unknown destination"= (link) high] [cl-struct-org-lint-checker invalid-id-link "Report \"id\" li= nks with unknown destination" (link) high] [cl-struct-org-lint-checker link= -to-local-file "Report links to non-existent local files" (link) low] [cl-s= truct-org-lint-checker non-existent-setupfile-parameter "Report SETUPFILE k= eywords with non-existent file parameter" (default) low] [cl-struct-org-lin= t-checker wrong-include-link-parameter "Report INCLUDE keywords with mislea= ding link parameter" (export) low] [cl-struct-org-lint-checker unknown-opti= ons-item "Report unknown items in OPTIONS keyword" (export) low] [cl-struct= -org-lint-checker invalid-macro-argument-and-template "Report spurious macr= o arguments or invalid macro templates" (export) low] [cl-struct-org-lint-c= hecker 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" (obsolet= e properties) high] [cl-struct-org-lint-checker undefined-footnote-referenc= e "Report missing definition for footnote references" (footnote) high] [cl-= struct-org-lint-checker unreferenced-footnote-definition "Report missing re= ference for footnote definitions" (footnote) high] [cl-struct-org-lint-chec= ker 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 "Re= port probable incomplete drawers" (default) low] [cl-struct-org-lint-checke= r 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 co= nfusion. All the best, Tom --=20 Thomas S. Dye http://www.tsdye.com